Elementary genlist: Added genlist mode feature.
[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-charwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_charwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=char 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_charwrap";
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_charwrap";
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_charwrap";
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-nowrap/default";
8469       parts {
8470          part { name: "elm.text";
8471             type: TEXTBLOCK;
8472             mouse_events: 1;
8473             scale: 1;
8474             entry_mode: EDITABLE;
8475             select_mode: EXPLICIT;
8476             multiline: 1;
8477             source: "elm/entry/selection/default"; // selection under
8478             source4: "elm/entry/cursor/default"; // cursorover
8479             source5: "elm/entry/anchor/default"; // anchor under
8480             description { state: "default" 0.0;
8481                text {
8482                   style: "entry_textblock_style";
8483                   min: 1 1;
8484                   align: 0.0 0.0;
8485                }
8486             }
8487             description { state: "disabled" 0.0;
8488                inherit: "default" 0.0;
8489                text {
8490                   style: "entry_textblock_disabled_style";
8491                   min: 0 1;
8492                }
8493             }
8494          }
8495 /*
8496          part { name: "sel";
8497             type: RECT;
8498             mouse_events: 0;
8499             description { state: "default" 0.0;
8500                align: 1.0 1.0;
8501                max: 16 16;
8502                aspect: 1.0 1.0;
8503                color: 255 0 0 0;
8504             }
8505             description { state: "visible" 0.0;
8506                inherit: "default" 0.0;
8507                color: 255 0 0 50;
8508             }
8509          }
8510  */
8511       }
8512       programs {
8513          program { name: "focus";
8514             signal: "load";
8515             source: "";
8516             action: FOCUS_SET;
8517             target: "elm.text";
8518          }
8519          program { name: "disable";
8520             signal: "elm,state,disabled";
8521             source: "elm";
8522             action: STATE_SET "disabled" 0.0;
8523             target: "elm.text";
8524          }
8525          program { name: "enable";
8526             signal: "elm,state,enabled";
8527             source: "elm";
8528             action: STATE_SET "default" 0.0;
8529             target: "elm.text";
8530          }
8531 /*
8532          program { name: "selmode0";
8533             signal: "elm,state,select,on";
8534             source: "elm";
8535             action: STATE_SET "visible" 0.0;
8536             target: "sel";
8537          }
8538          program { name: "selmode1";
8539             signal: "elm,state,select,off";
8540             source: "elm";
8541             action: STATE_SET "default" 0.0;
8542             target: "sel";
8543          }
8544  */
8545       }
8546    }
8547
8548    group { name: "elm/entry/base-single/default";
8549       styles
8550       {
8551          style { name: "entry_single_textblock_style";
8552             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8553             tag:  "br" "\n";
8554             tag:  "ps" "ps";
8555             tag:  "tab" "\t";
8556             tag:  "em" "+ font=Sans:style=Oblique";
8557             tag:  "b" "+ font=Sans:style=Bold";
8558             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8559             tag:  "hilight" "+ font=Sans:style=Bold";
8560          }
8561          style { name: "entry_single_textblock_disabled_style";
8562             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8563             tag:  "br" "\n";
8564             tag:  "ps" "ps";
8565             tag:  "tab" "\t";
8566             tag:  "em" "+ font=Sans:style=Oblique";
8567             tag:  "b" "+ font=Sans:style=Bold";
8568             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8569             tag:  "hilight" "+ font=Sans:style=Bold";
8570          }
8571       }
8572       parts {
8573          part { name: "elm.text";
8574             type: TEXTBLOCK;
8575             mouse_events: 1;
8576             scale: 1;
8577             entry_mode: EDITABLE;
8578             select_mode: EXPLICIT;
8579             multiline: 0;
8580             source: "elm/entry/selection/default"; // selection under
8581             source4: "elm/entry/cursor/default"; // cursorover
8582             source5: "elm/entry/anchor/default"; // anchor under
8583             description { state: "default" 0.0;
8584                text {
8585                   style: "entry_single_textblock_style";
8586                   min: 1 1;
8587                   max: 0 0;
8588                   align: 0.0 0.5;
8589                }
8590             }
8591             description { state: "disabled" 0.0;
8592                inherit: "default" 0.0;
8593                text {
8594                   style: "entry_single_textblock_disabled_style";
8595                }
8596             }
8597          }
8598       }
8599       programs {
8600          program { name: "focus";
8601             signal: "load";
8602             source: "";
8603             action: FOCUS_SET;
8604             target: "elm.text";
8605          }
8606          program { name: "disable";
8607             signal: "elm,state,disabled";
8608             source: "elm";
8609             action: STATE_SET "disabled" 0.0;
8610             target: "elm.text";
8611          }
8612          program { name: "enable";
8613             signal: "elm,state,enabled";
8614             source: "elm";
8615             action: STATE_SET "default" 0.0;
8616             target: "elm.text";
8617          }
8618       }
8619    }
8620
8621    group { name: "elm/entry/base-single-noedit/default";
8622       parts {
8623          part { name: "elm.text";
8624             type: TEXTBLOCK;
8625             mouse_events: 1;
8626             scale: 1;
8627             entry_mode: PLAIN;
8628             select_mode: EXPLICIT;
8629             multiline: 0;
8630             source: "elm/entry/selection/default"; // selection under
8631             source5: "elm/entry/anchor/default"; // anchor under
8632             description { state: "default" 0.0;
8633                text {
8634                   style: "entry_single_textblock_style";
8635                   min: 1 1;
8636                   max: 0 0;
8637                   align: 0.0 0.5;
8638                }
8639             }
8640             description { state: "disabled" 0.0;
8641                inherit: "default" 0.0;
8642                text {
8643                style: "entry_single_textblock_disabled_style";
8644                }
8645             }
8646          }
8647       }
8648       programs {
8649          program { name: "focus";
8650             signal: "load";
8651             source: "";
8652             action: FOCUS_SET;
8653             target: "elm.text";
8654          }
8655          program { name: "disable";
8656             signal: "elm,state,disabled";
8657             source: "elm";
8658             action: STATE_SET "disabled" 0.0;
8659             target: "elm.text";
8660          }
8661          program { name: "enable";
8662             signal: "elm,state,enabled";
8663             source: "elm";
8664             action: STATE_SET "default" 0.0;
8665             target: "elm.text";
8666          }
8667       }
8668    }
8669
8670    group { name: "elm/entry/base-noedit/default";
8671       parts {
8672          part { name: "elm.text";
8673             type: TEXTBLOCK;
8674             mouse_events: 1;
8675             scale: 1;
8676             entry_mode: PLAIN;
8677             select_mode: EXPLICIT;
8678             multiline: 1;
8679             source: "elm/entry/selection/default"; // selection under
8680             source5: "elm/entry/anchor/default"; // anchor under
8681             description { state: "default" 0.0;
8682                fixed: 1 0;
8683                text {
8684                   style: "entry_textblock_style";
8685                   min: 0 1;
8686                   align: 0.0 0.0;
8687                }
8688             }
8689             description { state: "disabled" 0.0;
8690                inherit: "default" 0.0;
8691                text {
8692                   style: "entry_textblock_disabled_style";
8693                }
8694             }
8695          }
8696       }
8697       programs {
8698          program { name: "focus";
8699             signal: "load";
8700             source: "";
8701             action: FOCUS_SET;
8702             target: "elm.text";
8703          }
8704          program { name: "disable";
8705             signal: "elm,state,disabled";
8706             source: "elm";
8707             action: STATE_SET "disabled" 0.0;
8708             target: "elm.text";
8709          }
8710          program { name: "enable";
8711             signal: "elm,state,enabled";
8712             source: "elm";
8713             action: STATE_SET "default" 0.0;
8714             target: "elm.text";
8715          }
8716       }
8717    }
8718
8719    group { name: "elm/entry/base-noedit-charwrap/default";
8720       parts {
8721          part { name: "elm.text";
8722             type: TEXTBLOCK;
8723             mouse_events: 1;
8724             scale: 1;
8725             entry_mode: PLAIN;
8726             select_mode: EXPLICIT;
8727             multiline: 1;
8728             source: "elm/entry/selection/default"; // selection under
8729             source5: "elm/entry/anchor/default"; // anchor under
8730             description { state: "default" 0.0;
8731                fixed: 1 0;
8732                text {
8733                   style: "entry_textblock_style_charwrap";
8734                   min: 0 1;
8735                   align: 0.0 0.0;
8736                }
8737             }
8738             description { state: "disabled" 0.0;
8739                inherit: "default" 0.0;
8740                text {
8741                   style: "entry_textblock_disabled_style_charwrap";
8742                }
8743             }
8744          }
8745       }
8746       programs {
8747          program { name: "focus";
8748             signal: "load";
8749             source: "";
8750             action: FOCUS_SET;
8751             target: "elm.text";
8752          }
8753          program { name: "disable";
8754             signal: "elm,state,disabled";
8755             source: "elm";
8756             action: STATE_SET "disabled" 0.0;
8757             target: "elm.text";
8758          }
8759          program { name: "enable";
8760             signal: "elm,state,enabled";
8761             source: "elm";
8762             action: STATE_SET "default" 0.0;
8763             target: "elm.text";
8764          }
8765       }
8766    }
8767
8768    group { name: "elm/entry/base-nowrap-noedit/default";
8769       parts {
8770          part { name: "elm.text";
8771             type: TEXTBLOCK;
8772             mouse_events: 1;
8773             scale: 1;
8774             entry_mode: PLAIN;
8775             select_mode: EXPLICIT;
8776             multiline: 1;
8777             source: "elm/entry/selection/default"; // selection under
8778             source5: "elm/entry/anchor/default"; // anchor under
8779             description { state: "default" 0.0;
8780                text {
8781                   style: "entry_textblock_style";
8782                   min: 1 1;
8783                   align: 0.0 0.0;
8784                }
8785             }
8786             description { state: "disabled" 0.0;
8787                inherit: "default" 0.0;
8788                text {
8789                   style: "entry_textblock_disabled_style";
8790                }
8791             }
8792          }
8793       }
8794       programs {
8795          program { name: "focus";
8796             signal: "load";
8797             source: "";
8798             action: FOCUS_SET;
8799             target: "elm.text";
8800          }
8801          program { name: "disable";
8802             signal: "elm,state,disabled";
8803             source: "elm";
8804             action: STATE_SET "disabled" 0.0;
8805             target: "elm.text";
8806          }
8807          program { name: "enable";
8808             signal: "elm,state,enabled";
8809             source: "elm";
8810             action: STATE_SET "default" 0.0;
8811             target: "elm.text";
8812          }
8813       }
8814    }
8815
8816    group { name: "elm/entry/base-password/default";
8817       parts {
8818          part { name: "elm.text";
8819             type: TEXTBLOCK;
8820             mouse_events: 1;
8821             scale: 1;
8822             entry_mode: PASSWORD;
8823             select_mode: EXPLICIT;
8824             multiline: 0;
8825             source: "elm/entry/selection/default"; // selection under
8826             source4: "elm/entry/cursor/default"; // cursorover
8827             source5: "elm/entry/anchor/default"; // anchor under
8828             description { state: "default" 0.0;
8829                text {
8830                   style: "entry_single_textblock_style";
8831                   repch: "*";
8832                   min: 1 1;
8833                   max: 0 0;
8834                   align: 0.0 0.5;
8835                }
8836             }
8837             description { state: "disabled" 0.0;
8838                inherit: "default" 0.0;
8839                text {
8840                   style: "entry_single_textblock_disabled_style";
8841                }
8842             }
8843          }
8844       }
8845       programs {
8846          program { name: "focus";
8847             signal: "load";
8848             source: "";
8849             action: FOCUS_SET;
8850             target: "elm.text";
8851          }
8852          program { name: "disable";
8853             signal: "elm,state,disabled";
8854             source: "elm";
8855             action: STATE_SET "disabled" 0.0;
8856             target: "elm.text";
8857          }
8858          program { name: "enable";
8859             signal: "elm,state,enabled";
8860             source: "elm";
8861             action: STATE_SET "default" 0.0;
8862             target: "elm.text";
8863          }
8864       }
8865    }
8866
8867    group { name: "elm/entry/cursor/default";
8868       images {
8869          image: "cur_box.png" COMP;
8870          image: "cur_hi.png" COMP;
8871          image: "cur_shad.png" COMP;
8872          image: "cur_shine.png" COMP;
8873          image: "cur_glow.png" COMP;
8874       }
8875       parts {
8876          part { name: "clip2";
8877             type: RECT;
8878             mouse_events: 0;
8879             description { state: "default" 0.0;
8880                rel1.to: "clip";
8881                rel2.to: "clip";
8882                visible: 0;
8883             }
8884             description { state: "focused" 0.0;
8885                inherit: "default" 0.0;
8886                visible: 1;
8887             }
8888          }
8889          part { name: "clip";
8890             type: RECT;
8891             mouse_events: 0;
8892             clip_to: "clip2";
8893             description { state: "default" 0.0;
8894                rel1.offset: -10 0;
8895                rel2.offset: 9 9;
8896             }
8897             description { state: "hidden" 0.0;
8898                inherit: "default" 0.0;
8899                visible: 0;
8900             }
8901          }
8902          part { name: "bg";
8903             mouse_events: 0;
8904             clip_to: "clip";
8905             description { state: "default" 0.0;
8906                rel1.to: "base";
8907                rel1.offset: -2 0;
8908                rel2.to: "base";
8909                rel2.offset: 1 1;
8910                image.border: 2 2 2 2;
8911                image.normal: "cur_shad.png";
8912             }
8913          }
8914          part { name: "base";
8915             mouse_events: 0;
8916             scale: 1;
8917             clip_to: "clip";
8918             description { state: "default" 0.0;
8919                min: 2 2;
8920                align: 0.5 1.0;
8921                rel1.relative: 0.0 1.0;
8922                rel1.offset: 0 -1;
8923                rel2.relative: 1.0 1.0;
8924                rel2.offset: -1 -1;
8925                image.normal: "cur_box.png";
8926             }
8927          }
8928          part { name: "hi";
8929             mouse_events: 0;
8930             clip_to: "clip";
8931             description { state: "default" 0.0;
8932                rel1.to: "base";
8933                rel2.to: "base";
8934                rel2.relative: 1.0 0.5;
8935                image.normal: "cur_hi.png";
8936             }
8937          }
8938          part { name: "shine";
8939             mouse_events: 0;
8940             clip_to: "clip";
8941             clip_to: "clip2";
8942             description { state: "default" 0.0;
8943                rel1.to: "base";
8944                rel2.to: "base";
8945                rel2.relative: 1.0 0.75;
8946                image.border: 2 2 1 0;
8947                image.normal: "cur_shine.png";
8948                fill.smooth: 0;
8949             }
8950          }
8951          part { name: "glow";
8952             mouse_events: 0;
8953             clip_to: "clip2";
8954             description { state: "default" 0.0;
8955                rel1.to: "base";
8956                rel1.relative: 0.0 -2.0;
8957                rel1.offset: -2 0;
8958                rel2.to: "base";
8959                rel2.relative: 1.0 0.0;
8960                rel2.offset: 1 1;
8961                image.border: 2 2 0 4;
8962                image.normal: "cur_glow.png";
8963                fill.smooth: 0;
8964             }
8965             description { state: "hidden" 0.0;
8966                inherit: "default" 0.0;
8967                color: 255 255 255 0;
8968             }
8969          }
8970       }
8971       programs {
8972          program { name: "show";
8973             signal: "show";
8974             source: "";
8975             action: STATE_SET "hidden" 0.0;
8976             in: 1.0 0.0;
8977             transition: DECELERATE 2.0;
8978             target: "glow";
8979             after: "show2";
8980          }
8981          program { name: "show2";
8982             action: STATE_SET "hidden" 0.0;
8983             in: 0.2 0.0;
8984             target: "clip";
8985             after: "show3";
8986          }
8987          program { name: "show3";
8988             action: STATE_SET "default" 0.0;
8989             in: 0.5 0.0;
8990             target: "clip";
8991             after: "show4";
8992          }
8993          program { name: "show4";
8994             action: STATE_SET "default" 0.0;
8995             in: 0.5 0.0;
8996             transition: DECELERATE 0.5;
8997             target: "glow";
8998             after: "show";
8999          }
9000          program { name: "focused";
9001             signal: "elm,action,focus";
9002             source: "elm";
9003             action: STATE_SET "focused" 0.0;
9004             target: "clip2";
9005          }
9006          program { name: "unfocused";
9007             signal: "elm,action,unfocus";
9008             source: "elm";
9009             action: STATE_SET "default" 0.0;
9010             target: "clip2";
9011          }
9012       }
9013    }
9014
9015    group { name: "elm/entry/selection/default";
9016       parts {
9017          part { name: "bg";
9018             type: RECT;
9019             mouse_events: 0;
9020             description { state: "default" 0.0;
9021                color: 128 128 128 128;
9022             }
9023          }
9024       }
9025    }
9026
9027    group { name: "elm/entry/anchor/default";
9028       parts {
9029          part { name: "bg";
9030             type: RECT;
9031             mouse_events: 0;
9032             description { state: "default" 0.0;
9033                color: 128 0 0 64;
9034             }
9035          }
9036       }
9037    }
9038
9039 ///////////////////////////////////////////////////////////////////////////////
9040   group { name: "elm/bubble/top_left/default";
9041     alias: "elm/bubble/base/default";
9042     images {
9043       image: "bubble_3.png" COMP;
9044       image: "bubble_4.png" COMP;
9045       image: "bubble_shine3.png" COMP;
9046       image: "bubble_shine4.png" COMP;
9047     }
9048     parts {
9049       part { name: "event";
9050          type: RECT;
9051          description {
9052             state: "default" 0.0;
9053             color: 0 0 0 0;
9054          }
9055       }
9056       part { name: "elm.swallow.icon";
9057         type: SWALLOW;
9058         description { state: "default" 0.0;
9059           fixed: 1 1;
9060           visible: 0;
9061           align: 0.0 0.0;
9062           aspect: 1.0 1.0;
9063           aspect_preference: VERTICAL;
9064           rel1 {
9065             relative: 0.0 0.0;
9066             offset: 4 4;
9067           }
9068           rel2 {
9069             to_y: "elm.text";
9070             relative: 0.0 1.0;
9071             offset: 4 -1;
9072           }
9073         }
9074         description { state: "visible" 0.0;
9075           inherit: "default" 0.0;
9076           visible: 1;
9077         }
9078       }
9079       part { name: "elm.text";
9080         type: TEXT;
9081         mouse_events:   0;
9082         scale: 1;
9083         description { state: "default" 0.0;
9084           align: 0.0 0.0;
9085           fixed: 0 1;
9086           rel1 {
9087             to_x: "elm.swallow.icon";
9088             relative: 1.0 0.0;
9089             offset: 4 4;
9090           }
9091           rel2 {
9092             to_x: "elm.info";
9093             relative: 0.0 0.0;
9094             offset: -5 4;
9095           }
9096           color: 0 0 0 255;
9097           text {
9098             font: "Sans:style=Bold,Edje-Vera-Bold";
9099             size: 10;
9100             min: 0 1;
9101             max: 0 1;
9102             align: 0.0 0.0;
9103           }
9104         }
9105       }
9106       part { name: "elm.info";
9107         type: TEXT;
9108         mouse_events:   0;
9109         scale: 1;
9110         description { state: "default" 0.0;
9111           align: 1.0 0.0;
9112           fixed: 1 1;
9113           rel1 {
9114             relative: 1.0 0.0;
9115             offset: -5 4;
9116           }
9117           rel2 {
9118             relative: 1.0 0.0;
9119             offset: -5 4;
9120           }
9121           color: 0 0 0 64;
9122           text {
9123             font: "Sans:style=Bold,Edje-Vera-Bold";
9124             size: 10;
9125             min: 1 1;
9126             max: 1 1;
9127             align: 1.0 0.0;
9128           }
9129         }
9130       }
9131       part { name: "base0";
9132         mouse_events:  0;
9133         description { state: "default" 0.0;
9134           rel1 {
9135             to_y: "elm.swallow.icon";
9136             relative: 0.0 1.0;
9137             offset: 0 0;
9138           }
9139           image {
9140             normal: "bubble_3.png";
9141             border: 36 11 18 9;
9142           }
9143           image.middle: SOLID;
9144           fill.smooth: 0;
9145         }
9146         description { state: "rtl" 0.0;
9147            inherit: "default" 0.0;
9148            image {
9149               normal: "bubble_4.png";
9150               border: 11 36 18 9;
9151            }
9152         }
9153       }
9154       part { name: "elm.swallow.content";
9155         type: SWALLOW;
9156         description { state: "default" 0.0;
9157           rel1 {
9158             to: "base0";
9159             offset: 9 16;
9160           }
9161           rel2 {
9162             to: "base0";
9163             offset: -10 -9;
9164           }
9165         }
9166       }
9167       part { name: "shine";
9168         mouse_events:  0;
9169         description { state:    "default" 0.0;
9170           rel1 {
9171             to: "base0";
9172             offset: 5 4;
9173           }
9174           rel2 {
9175             to: "base0";
9176             relative: 1.0 0.5;
9177             offset: -6 7;
9178           }
9179           image {
9180             normal: "bubble_shine3.png";
9181             border: 36 5 14 0;
9182           }
9183           fill.smooth: 0;
9184         }
9185         description { state: "rtl" 0.0;
9186            inherit: "default" 0.0;
9187            image {
9188               normal: "bubble_shine4.png";
9189               border: 5 36 14 0;
9190            }
9191         }
9192       }
9193     }
9194     programs {
9195       program {
9196         name: "icon_show";
9197         signal: "elm,state,icon,visible";
9198         source: "elm";
9199         action: STATE_SET "visible" 0.0;
9200         target: "elm.swallow.icon";
9201       }
9202       program {
9203         name: "icon_hide";
9204         signal: "elm,state,icon,hidden";
9205         source: "elm";
9206         action: STATE_SET "default" 0.0;
9207         target: "elm.swallow.icon";
9208       }
9209       program { name: "to_rtl";
9210          signal: "edje,state,rtl";
9211          source: "edje";
9212          action: STATE_SET "rtl" 0.0;
9213          target: "base0";
9214          target: "shine";
9215       }
9216       program { name: "to_ltr";
9217          signal: "edje,state,ltr";
9218          source: "edje";
9219          action: STATE_SET "default" 0.0;
9220          target: "base0";
9221          target: "shine";
9222       }
9223     }
9224   }
9225
9226   group { name: "elm/bubble/top_right/default";
9227     images {
9228       image: "bubble_3.png" COMP;
9229       image: "bubble_4.png" COMP;
9230       image: "bubble_shine3.png" COMP;
9231       image: "bubble_shine4.png" COMP;
9232     }
9233     parts {
9234       part { name: "event";
9235          type: RECT;
9236          description {
9237             state: "default" 0.0;
9238             color: 0 0 0 0;
9239          }
9240       }
9241       part { name: "elm.swallow.icon";
9242         type: SWALLOW;
9243         description { state: "default" 0.0;
9244           fixed: 1 1;
9245           visible: 0;
9246           align: 1.0 0.0;
9247           aspect: 1.0 1.0;
9248           aspect_preference: VERTICAL;
9249           rel1 {
9250             relative: 1.0 0.0;
9251             offset: -5 4;
9252           }
9253           rel2 {
9254             to_y: "elm.text";
9255             relative: 1.0 1.0;
9256             offset: -5 -1;
9257           }
9258         }
9259         description { state: "visible" 0.0;
9260           inherit: "default" 0.0;
9261           visible: 1;
9262         }
9263       }
9264       part { name: "elm.text";
9265         type: TEXT;
9266         mouse_events:   0;
9267         scale: 1;
9268         description { state: "default" 0.0;
9269           align: 0.0 0.0;
9270           fixed: 0 1;
9271           rel1 {
9272             relative: 0.0 0.0;
9273             offset: 4 4;
9274           }
9275           rel2 {
9276             to_x: "elm.info";
9277             relative: 0.0 0.0;
9278             offset: -5 4;
9279           }
9280           color: 0 0 0 255;
9281           text {
9282             font: "Sans:style=Bold,Edje-Vera-Bold";
9283             size: 10;
9284             min: 0 1;
9285             max: 0 1;
9286             align: 0.0 0.0;
9287           }
9288         }
9289       }
9290       part { name: "elm.info";
9291         type: TEXT;
9292         mouse_events:   0;
9293         scale: 1;
9294         description { state: "default" 0.0;
9295           align: 1.0 0.0;
9296           fixed: 1 1;
9297           rel1 {
9298             relative: 1.0 0.0;
9299             offset: -5 4;
9300           }
9301           rel2 {
9302             to_x: "elm.swallow.icon";
9303             relative: 0.0 0.0;
9304             offset: -5 4;
9305           }
9306           color: 0 0 0 64;
9307           text {
9308             font: "Sans:style=Bold,Edje-Vera-Bold";
9309             size: 10;
9310             min: 1 1;
9311             max: 1 1;
9312             align: 1.0 0.0;
9313           }
9314         }
9315       }
9316       part { name: "base0";
9317         mouse_events:  0;
9318         description { state: "default" 0.0;
9319           rel1 {
9320             to_y: "elm.swallow.icon";
9321             relative: 0.0 1.0;
9322             offset: 0 0;
9323           }
9324           image {
9325             normal: "bubble_4.png";
9326             border: 11 36 18 9;
9327           }
9328           image.middle: SOLID;
9329           fill.smooth: 0;
9330         }
9331         description { state: "rtl" 0.0;
9332            inherit: "default" 0.0;
9333            image {
9334               normal: "bubble_3.png";
9335               border: 36 11 18 9;
9336            }
9337         }
9338       }
9339       part { name: "elm.swallow.content";
9340         type: SWALLOW;
9341         description { state: "default" 0.0;
9342           rel1 {
9343             to: "base0";
9344             offset: 9 16;
9345           }
9346           rel2 {
9347             to: "base0";
9348             offset: -10 -9;
9349           }
9350         }
9351       }
9352       part { name: "shine";
9353         mouse_events:  0;
9354         description { state:    "default" 0.0;
9355           rel1 {
9356             to: "base0";
9357             offset: 5 4;
9358           }
9359           rel2 {
9360             to: "base0";
9361             relative: 1.0 0.5;
9362             offset: -6 7;
9363           }
9364           image {
9365             normal: "bubble_shine4.png";
9366             border: 5 36 14 0;
9367           }
9368           fill.smooth: 0;
9369         }
9370         description { state: "rtl" 0.0;
9371            inherit: "default" 0.0;
9372            image {
9373               normal: "bubble_shine3.png";
9374               border: 36 5 14 0;
9375            }
9376         }
9377       }
9378     }
9379     programs {
9380       program {
9381         name: "icon_show";
9382         signal: "elm,state,icon,visible";
9383         source: "elm";
9384         action: STATE_SET "visible" 0.0;
9385         target: "elm.swallow.icon";
9386       }
9387       program {
9388         name: "icon_hide";
9389         signal: "elm,state,icon,hidden";
9390         source: "elm";
9391         action: STATE_SET "default" 0.0;
9392         target: "elm.swallow.icon";
9393       }
9394       program { name: "to_rtl";
9395          signal: "edje,state,rtl";
9396          source: "edje";
9397          action: STATE_SET "rtl" 0.0;
9398          target: "base0";
9399          target: "shine";
9400       }
9401       program { name: "to_ltr";
9402          signal: "edje,state,ltr";
9403          source: "edje";
9404          action: STATE_SET "default" 0.0;
9405          target: "base0";
9406          target: "shine";
9407       }
9408     }
9409   }
9410
9411   group { name: "elm/bubble/bottom_left/default";
9412     images {
9413       image: "bubble_1.png" COMP;
9414       image: "bubble_2.png" COMP;
9415       image: "bubble_shine.png" COMP;
9416     }
9417     parts {
9418       part { name: "event";
9419          type: RECT;
9420          description {
9421             state: "default" 0.0;
9422             color: 0 0 0 0;
9423          }
9424       }
9425       part { name: "elm.swallow.icon";
9426         type: SWALLOW;
9427         description { state: "default" 0.0;
9428           fixed: 1 1;
9429           visible: 0;
9430           align: 0.0 1.0;
9431           aspect: 1.0 1.0;
9432           aspect_preference: VERTICAL;
9433           rel1 {
9434             to_y: "elm.text";
9435             relative: 0.0 0.0;
9436             offset: 4 0;
9437           }
9438           rel2 {
9439             relative: 0.0 1.0;
9440             offset: 4 -5;
9441           }
9442         }
9443         description { state: "visible" 0.0;
9444           inherit: "default" 0.0;
9445           visible: 1;
9446         }
9447       }
9448       part { name: "elm.text";
9449         type: TEXT;
9450         mouse_events:   0;
9451         scale: 1;
9452         description { state: "default" 0.0;
9453           align: 0.0 1.0;
9454           fixed: 0 1;
9455           rel1 {
9456             to_x: "elm.swallow.icon";
9457             relative: 1.0 1.0;
9458             offset: 4 -5;
9459           }
9460           rel2 {
9461             to_x: "elm.info";
9462             relative: 0.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 255;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 0 1;
9470             max: 0 1;
9471             align: 0.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "elm.info";
9476         type: TEXT;
9477         mouse_events:   0;
9478         scale: 1;
9479         description { state: "default" 0.0;
9480           align: 1.0 1.0;
9481           fixed: 1 1;
9482           rel1 {
9483             relative: 1.0 1.0;
9484             offset: -5 -5;
9485           }
9486           rel2 {
9487             relative: 1.0 1.0;
9488             offset: -5 -5;
9489           }
9490           color: 0 0 0 64;
9491           text {
9492             font: "Sans:style=Bold,Edje-Vera-Bold";
9493             size: 10;
9494             min: 1 1;
9495             max: 1 1;
9496             align: 1.0 1.0;
9497           }
9498         }
9499       }
9500       part { name: "base0";
9501         mouse_events:  0;
9502         description { state: "default" 0.0;
9503           rel2 {
9504             to_y: "elm.swallow.icon";
9505             relative: 1.0 0.0;
9506             offset: -1 -1;
9507           }
9508           image {
9509             normal: "bubble_1.png";
9510             border: 36 11 10 19;
9511           }
9512           image.middle: SOLID;
9513           fill.smooth: 0;
9514         }
9515         description { state: "rtl" 0.0;
9516            inherit: "default" 0.0;
9517            image {
9518               normal: "bubble_2.png";
9519               border: 11 36 10 19;
9520            }
9521         }
9522       }
9523       part { name: "elm.swallow.content";
9524         type: SWALLOW;
9525         description { state: "default" 0.0;
9526           rel1 {
9527             to: "base0";
9528             offset: 9 8;
9529           }
9530           rel2 {
9531             to: "base0";
9532             offset: -10 -17;
9533           }
9534         }
9535       }
9536       part { name: "shine";
9537         mouse_events:  0;
9538         description { state:    "default" 0.0;
9539           rel1 {
9540             to: "base0";
9541             offset: 5 4;
9542           }
9543           rel2 {
9544             to: "base0";
9545             relative: 1.0 0.5;
9546             offset: -6 -16;
9547           }
9548           image {
9549             normal: "bubble_shine.png";
9550             border: 5 5 5 0;
9551           }
9552           fill.smooth: 0;
9553         }
9554         description { state: "rtl" 0.0;
9555            inherit: "default" 0.0;
9556            image {
9557               normal: "bubble_shine4.png";
9558               border: 5 36 14 0;
9559            }
9560         }
9561       }
9562     }
9563     programs {
9564       program {
9565         name: "icon_show";
9566         signal: "elm,state,icon,visible";
9567         source: "elm";
9568         action: STATE_SET "visible" 0.0;
9569         target: "elm.swallow.icon";
9570       }
9571       program {
9572         name: "icon_hide";
9573         signal: "elm,state,icon,hidden";
9574         source: "elm";
9575         action: STATE_SET "default" 0.0;
9576         target: "elm.swallow.icon";
9577       }
9578       program { name: "to_rtl";
9579          signal: "edje,state,rtl";
9580          source: "edje";
9581          action: STATE_SET "rtl" 0.0;
9582          target: "base0";
9583       }
9584       program { name: "to_ltr";
9585          signal: "edje,state,ltr";
9586          source: "edje";
9587          action: STATE_SET "default" 0.0;
9588          target: "base0";
9589       }
9590     }
9591   }
9592
9593   group { name: "elm/bubble/bottom_right/default";
9594     images {
9595       image: "bubble_1.png" COMP;
9596       image: "bubble_2.png" COMP;
9597       image: "bubble_shine.png" COMP;
9598     }
9599     parts {
9600       part { name: "event";
9601          type: RECT;
9602          description {
9603             state: "default" 0.0;
9604             color: 0 0 0 0;
9605          }
9606       }
9607       part { name: "elm.swallow.icon";
9608         type: SWALLOW;
9609         description { state: "default" 0.0;
9610           fixed: 1 1;
9611           visible: 0.0;
9612           align: 1.0 1.0;
9613           aspect: 1.0 1.0;
9614           aspect_preference: VERTICAL;
9615           rel1 {
9616             to_y: "elm.text";
9617             relative: 1.0 0.0;
9618             offset: -5 0;
9619           }
9620           rel2 {
9621             relative: 1.0 1.0;
9622             offset: -5 -5;
9623           }
9624         }
9625         description { state: "visible" 0.0;
9626           inherit: "default" 0.0;
9627           visible: 1;
9628         }
9629       }
9630       part { name: "elm.text";
9631         type: TEXT;
9632         mouse_events:   0;
9633         scale: 1;
9634         description { state: "default" 0.0;
9635           align: 0.0 1.0;
9636           fixed: 0 1;
9637           rel1 {
9638             relative: 0.0 1.0;
9639             offset: 4 -5;
9640           }
9641           rel2 {
9642             to_x: "elm.info";
9643             relative: 0.0 1.0;
9644             offset: -5 -5;
9645           }
9646           color: 0 0 0 255;
9647           text {
9648             font: "Sans:style=Bold,Edje-Vera-Bold";
9649             size: 10;
9650             min: 0 1;
9651             max: 0 1;
9652             align: 0.0 1.0;
9653           }
9654         }
9655       }
9656       part { name: "elm.info";
9657         type: TEXT;
9658         mouse_events:   0;
9659         scale: 1;
9660         description { state: "default" 0.0;
9661           align: 1.0 1.0;
9662           fixed: 1 1;
9663           rel1 {
9664             relative: 1.0 1.0;
9665             offset: -5 -5;
9666           }
9667           rel2 {
9668             to_x: "elm.swallow.icon";
9669             relative: 0.0 1.0;
9670             offset: -5 -5;
9671           }
9672           color: 0 0 0 64;
9673           text {
9674             font: "Sans:style=Bold,Edje-Vera-Bold";
9675             size: 10;
9676             min: 1 1;
9677             max: 1 1;
9678             align: 1.0 1.0;
9679           }
9680         }
9681       }
9682       part { name: "base0";
9683         mouse_events:  0;
9684         description { state: "default" 0.0;
9685           rel2 {
9686             to_y: "elm.swallow.icon";
9687             relative: 1.0 0.0;
9688             offset: -1 -1;
9689           }
9690           image {
9691             normal: "bubble_2.png";
9692             border: 11 36 10 19;
9693           }
9694           image.middle: SOLID;
9695           fill.smooth: 0;
9696         }
9697         description { state: "rtl" 0.0;
9698            inherit: "default" 0.0;
9699            image {
9700               normal: "bubble_1.png";
9701               border: 36 11 10 19;
9702            }
9703         }
9704       }
9705       part { name: "elm.swallow.content";
9706         type: SWALLOW;
9707         description { state: "default" 0.0;
9708           rel1 {
9709             to: "base0";
9710             offset: 9 8;
9711           }
9712           rel2 {
9713             to: "base0";
9714             offset: -10 -17;
9715           }
9716         }
9717       }
9718       part { name: "shine";
9719         mouse_events:  0;
9720         description { state:    "default" 0.0;
9721           rel1 {
9722             to: "base0";
9723             offset: 5 4;
9724           }
9725           rel2 {
9726             to: "base0";
9727             relative: 1.0 0.5;
9728             offset: -6 -16;
9729           }
9730           image {
9731             normal: "bubble_shine.png";
9732             border: 5 5 5 0;
9733           }
9734           fill.smooth: 0;
9735         }
9736         description { state: "rtl" 0.0;
9737            inherit: "default" 0.0;
9738            image {
9739               normal: "bubble_shine3.png";
9740               border: 36 5 14 0;
9741            }
9742         }
9743       }
9744     }
9745     programs {
9746       program {
9747         name: "icon_show";
9748         signal: "elm,state,icon,visible";
9749         source: "elm";
9750         action: STATE_SET "visible" 0.0;
9751         target: "elm.swallow.icon";
9752       }
9753       program {
9754         name: "icon_hide";
9755         signal: "elm,state,icon,hidden";
9756         source: "elm";
9757         action: STATE_SET "default" 0.0;
9758         target: "elm.swallow.icon";
9759       }
9760       program { name: "to_rtl";
9761          signal: "edje,state,rtl";
9762          source: "edje";
9763          action: STATE_SET "rtl" 0.0;
9764          target: "base0";
9765       }
9766       program { name: "to_ltr";
9767          signal: "edje,state,ltr";
9768          source: "edje";
9769          action: STATE_SET "default" 0.0;
9770          target: "base0";
9771       }
9772     }
9773   }
9774
9775 ///////////////////////////////////////////////////////////////////////////////
9776    group { name: "elm/photo/base/default";
9777       images {
9778          image: "frame_1.png" COMP;
9779          image: "frame_2.png" COMP;
9780          image: "dia_grad.png" COMP;
9781          image: "head.png" COMP;
9782       }
9783       parts {
9784          part { name: "base0";
9785             mouse_events:  0;
9786             description { state: "default" 0.0;
9787                image.normal: "dia_grad.png";
9788                rel1.to: "over";
9789                rel2.to: "over";
9790                fill {
9791                   smooth: 0;
9792                   size {
9793                      relative: 0.0 1.0;
9794                      offset: 64 0;
9795                   }
9796                }
9797             }
9798          }
9799          part { name: "base";
9800             mouse_events:  0;
9801             description { state:    "default" 0.0;
9802                image {
9803                   normal: "frame_2.png";
9804                   border: 5 5 32 26;
9805                   middle: 0;
9806                }
9807                fill.smooth : 0;
9808             }
9809          }
9810          part { name: "head";
9811             mouse_events:  0;
9812             description { state:    "default" 0.0;
9813                rel1.offset: 4 4;
9814                rel2.offset: -5 -5;
9815                aspect: 1.0 1.0;
9816                aspect_preference: BOTH;
9817                image.normal: "head.png";
9818             }
9819          }
9820          part { name: "clip";
9821             mouse_events:  0;
9822             type: RECT;
9823             description { state:    "default" 0.0;
9824                rel1.offset: 4 4;
9825                rel2.offset: -5 -5;
9826                color: 255 255 255 255;
9827             }
9828          }
9829          part { name: "elm.swallow.content";
9830             type: SWALLOW;
9831             clip_to: "clip";
9832             description { state: "default" 0.0;
9833                rel1.offset: 4 4;
9834                rel2.offset: -5 -5;
9835             }
9836          }
9837          part { name: "over";
9838             mouse_events:  0;
9839             description { state:    "default" 0.0;
9840                rel1.offset: 4 4;
9841                rel2.offset: -5 -5;
9842                image {
9843                   normal: "frame_1.png";
9844                   border: 2 2 28 22;
9845                   middle: 0;
9846                }
9847                fill.smooth: 0;
9848             }
9849          }
9850      }
9851    }
9852
9853    group { name: "elm/photo/base/shadow";
9854               images {
9855                         image: "shadow.png" COMP;
9856                         image: "black.png" COMP;
9857               }
9858               script {
9859               public message(Msg_Type:type, id, ...) {
9860                 if( (type==MSG_INT_SET) && (id==0) )
9861                 {
9862                     new w;
9863                     new h;
9864
9865                     custom_state(PART:"size", "default", 0.0);
9866
9867                     w = getarg(2);
9868                     h = getarg(3);
9869                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9870                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9871                     set_state(PART:"size", "custom", 0.0);
9872                 }
9873             }
9874             }
9875               parts {
9876               part { name: "size";
9877                     type: SWALLOW;
9878                     description { state: "default" 0.0;
9879                             rel1.relative: 0.5 0.5;
9880                             rel2.relative: 0.5 0.5;
9881                     }
9882                  }
9883               part {
9884                 name: "shadow";
9885                 type: IMAGE;
9886                 repeat_events: 1;
9887                 description {
9888                     state: "default" 0.0;
9889                     rel1.to: "size";
9890                     rel2.to: "size";
9891                     rel1.relative: -0.06 -0.06;
9892                     rel2.relative: 1.07 1.07;
9893                     image.normal: "shadow.png";
9894                 }
9895             }
9896   
9897
9898                  part { name: "elm.swallow.content";
9899                     type: SWALLOW;
9900                     description { state: "default" 0.0;
9901                     rel1.offset: 3 3;
9902                     rel2.offset: -3 -3;
9903                             fixed: 1 1;
9904                     }
9905                  }
9906      
9907                  part {
9908                 name: "border";
9909                 type: IMAGE;
9910                 repeat_events: 1;
9911                 description {
9912                     state: "default" 0.0;
9913                     visible: 1;
9914                     color: 0 0 0 255;
9915                     rel1.to: "size";
9916                     rel2.to: "size";
9917                     image.normal: "black.png";
9918                     image.border: 1 1 1 1;
9919                     image.middle: 0;
9920                 }
9921             }
9922                  }
9923    }
9924
9925 ///////////////////////////////////////////////////////////////////////////////
9926    group { name: "elm/thumb/base/default";
9927       images {
9928          image: "frame_1.png" COMP;
9929          image: "frame_2.png" COMP;
9930          image: "dia_grad.png" COMP;
9931          image: "busy-1.png" COMP;
9932          image: "busy-2.png" COMP;
9933          image: "busy-3.png" COMP;
9934          image: "busy-4.png" COMP;
9935          image: "busy-5.png" COMP;
9936          image: "busy-6.png" COMP;
9937          image: "busy-7.png" COMP;
9938          image: "busy-8.png" COMP;
9939          image: "busy-9.png" COMP;
9940       }
9941       parts {
9942          part { name: "base0";
9943             mouse_events:  0;
9944             description { state:        "default" 0.0;
9945                image.normal: "dia_grad.png";
9946                rel1.to: "over";
9947                rel2.to: "over";
9948                fill {
9949                   smooth: 0;
9950                   size {
9951                      relative: 0.0 1.0;
9952                      offset: 64 0;
9953                   }
9954                }
9955             }
9956          }
9957          part { name: "base";
9958             mouse_events:  0;
9959             description { state:        "default" 0.0;
9960                image {
9961                   normal: "frame_2.png";
9962                   border: 5 5 32 26;
9963                   middle: 0;
9964                }
9965                fill.smooth : 0;
9966             }
9967          }
9968          part { name: "clip";
9969             mouse_events:  0;
9970             type: RECT;
9971             description { state:        "default" 0.0;
9972                rel1.offset: 4 4;
9973                rel2.offset: -5 -5;
9974                color: 255 255 255 255;
9975             }
9976          }
9977          part { name: "elm.swallow.content";
9978             type: SWALLOW;
9979             clip_to: "clip";
9980             description { state:        "default" 0.0;
9981                rel1.offset: 4 4;
9982                rel2.offset: -5 -5;
9983             }
9984          }
9985          part { name: "progress";
9986             mouse_events: 0;
9987
9988             clip_to: "clip";
9989             description { state:        "default" 0.0;
9990                min: 32 32;
9991                max: 32 32;
9992                visible: 0;
9993                aspect: 1.0 1.0;
9994                aspect_preference: BOTH;
9995             }
9996             description { state:        "pulse" 0.0;
9997                inherit: "default" 0.0;
9998                visible: 1;
9999                image {
10000                   normal: "busy-9.png";
10001                   tween:  "busy-1.png";
10002                   tween:  "busy-2.png";
10003                   tween:  "busy-3.png";
10004                   tween:  "busy-4.png";
10005                   tween:  "busy-5.png";
10006                   tween:  "busy-6.png";
10007                   tween:  "busy-7.png";
10008                   tween:  "busy-8.png";
10009                   border: 7 7 7 7;
10010                }
10011             }
10012          }
10013          part { name: "over";
10014             mouse_events:  0;
10015             description { state:        "default" 0.0;
10016                rel1.offset: 4 4;
10017                rel2.offset: -5 -5;
10018                image {
10019                   normal: "frame_1.png";
10020                   border: 2 2 28 22;
10021                   middle: 0;
10022                }
10023                fill.smooth: 0;
10024             }
10025          }
10026          programs {
10027             program { name: "start_pulse";
10028                signal: "elm,state,pulse,start";
10029                source: "elm";
10030                action: STATE_SET "pulse" 0.0;
10031                target: "progress";
10032                transition: LINEAR 0.5;
10033                after: "start_pulse";
10034             }
10035             program { name: "stop_pulse";
10036                signal: "elm,state,pulse,stop";
10037                source: "elm";
10038                action: STATE_SET "default" 0.0;
10039                target: "progress";
10040             }
10041          }
10042       }
10043    }
10044
10045    group { name: "elm/thumb/base/noframe";
10046       images {
10047          image: "busy-1.png" COMP;
10048          image: "busy-2.png" COMP;
10049          image: "busy-3.png" COMP;
10050          image: "busy-4.png" COMP;
10051          image: "busy-5.png" COMP;
10052          image: "busy-6.png" COMP;
10053          image: "busy-7.png" COMP;
10054          image: "busy-8.png" COMP;
10055          image: "busy-9.png" COMP;
10056       }
10057       parts {
10058          part { name: "elm.swallow.content";
10059             type: SWALLOW;
10060             description { state: "default" 0.0;
10061                rel1.offset: 4 4;
10062                rel2.offset: -5 -5;
10063             }
10064          }
10065          part { name: "progress";
10066             mouse_events: 0;
10067             description { state:        "default" 0.0;
10068                min: 32 32;
10069                max: 32 32;
10070                visible: 0;
10071                aspect: 1.0 1.0;
10072                aspect_preference: BOTH;
10073             }
10074             description { state:        "pulse" 0.0;
10075                inherit: "default" 0.0;
10076                visible: 1;
10077                image {
10078                   normal: "busy-9.png";
10079                   tween:  "busy-1.png";
10080                   tween:  "busy-2.png";
10081                   tween:  "busy-3.png";
10082                   tween:  "busy-4.png";
10083                   tween:  "busy-5.png";
10084                   tween:  "busy-6.png";
10085                   tween:  "busy-7.png";
10086                   tween:  "busy-8.png";
10087                   border: 7 7 7 7;
10088                }
10089             }
10090          }
10091          programs {
10092             program { name: "start_pulse";
10093                signal: "elm,state,pulse,start";
10094                source: "elm";
10095                action: STATE_SET "pulse" 0.0;
10096                target: "progress";
10097                transition: LINEAR 0.5;
10098                after: "start_pulse";
10099             }
10100             program { name: "stop_pulse";
10101                signal: "elm,state,pulse,stop";
10102                source: "elm";
10103                action: STATE_SET "default" 0.0;
10104                target: "progress";
10105             }
10106          }
10107       }
10108    }
10109
10110
10111 ///////////////////////////////////////////////////////////////////////////////
10112    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10113       images.image: "icon_home.png" COMP; parts { part { name: "base";
10114          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10115             image.normal: "icon_home.png"; } } } }
10116    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10117       images.image: "icon_close.png" COMP; parts { part { name: "base";
10118          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10119             image.normal: "icon_close.png"; } } } }
10120    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10121       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10122          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10123             image.normal: "icon_apps.png"; } } } }
10124    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10125       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10126          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10127             image.normal: "icon_arrow_up.png"; } } } }
10128    group { name: "elm/icon/arrow_down/default";
10129            alias: "elm/icon/toolbar/arrow_down/default";
10130            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10131       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10132          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10133             image.normal: "icon_arrow_down.png"; } } } }
10134    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10135       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10136          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10137             image.normal: "icon_arrow_left.png"; } } } }
10138    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10139       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10140          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10141             image.normal: "icon_arrow_right.png"; } } } }
10142    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10143       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10144          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10145             image.normal: "icon_chat.png"; } } } }
10146    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10147       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10148          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10149             image.normal: "icon_clock.png"; } } } }
10150    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10151       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10152          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10153             image.normal: "icon_delete.png"; } } } }
10154    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10155       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10156          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10157             image.normal: "icon_edit.png"; } } } }
10158    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10159       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10160          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10161             image.normal: "icon_refresh.png"; } } } }
10162    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10163       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_folder.png"; } } } }
10166    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10167       images.image: "icon_file.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_file.png"; } } } }
10170 ///////////////////////////////////////////////////////////////////////////////
10171    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10172       images.image: "icon_home.png" COMP; parts { part { name: "base";
10173          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10174             image.normal: "icon_home.png"; } } } }
10175    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10176       images.image: "icon_close.png" COMP; parts { part { name: "base";
10177          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10178             image.normal: "icon_close.png"; } } } }
10179    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10180       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10181          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10182             image.normal: "icon_apps.png"; } } } }
10183    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10184       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10185          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10186             image.normal: "icon_arrow_up.png"; } } } }
10187    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10188       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10189          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10190             image.normal: "icon_arrow_down.png"; } } } }
10191    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10192       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10193          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10194             image.normal: "icon_arrow_left.png"; } } } }
10195    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10196       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10197          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10198             image.normal: "icon_arrow_right.png"; } } } }
10199    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10200       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10201          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10202             image.normal: "icon_chat.png"; } } } }
10203    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10204       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10205          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10206             image.normal: "icon_clock.png"; } } } }
10207    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10208       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10209          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10210             image.normal: "icon_delete.png"; } } } }
10211    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10212       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10213          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10214             image.normal: "icon_edit.png"; } } } }
10215    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10216       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10217          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10218             image.normal: "icon_refresh.png"; } } } }
10219    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10220       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10221          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10222             image.normal: "icon_folder.png"; } } } }
10223    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10224       images.image: "icon_file.png" COMP; parts { part { name: "base";
10225          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10226             image.normal: "icon_file.png"; } } } }
10227
10228 ///////////////////////////////////////////////////////////////////////////////
10229    group { name: "elm/toolbar/base/default";
10230       images {
10231          image: "bt_dis_base.png" COMP;
10232          image: "bt_dis_hilight.png" COMP;
10233          image: "bt_dis_shine.png" COMP;
10234          image: "icon_left_arrow.png" COMP;
10235          image: "icon_right_arrow.png" COMP;
10236       }
10237       parts {
10238          part { name: "base";
10239             mouse_events: 1;
10240             description { state: "default" 0.0;
10241                rel1 {
10242                   relative: 0.0 0.0;
10243                   offset: 2 2;
10244                }
10245                rel2.offset: -3 -3;
10246                image {
10247                   normal: "bt_dis_base.png";
10248                   border: 4 4 4 4;
10249                }
10250                image.middle: SOLID;
10251             }
10252          }
10253          part { name: "clipper";
10254             type: RECT;
10255             mouse_events: 0;
10256             description {
10257                state: "default" 0.0;
10258                rel1 {
10259                   to: "base";
10260                   offset: 2 2;
10261                }
10262                rel2 {
10263                   to: "base";
10264                   offset: -3 -3;
10265                }
10266             }
10267          }
10268          part { name: "elm.swallow.content";
10269             clip_to: "clipper";
10270             type: SWALLOW;
10271             description {
10272                state: "default" 0.0;
10273                rel1.to: "clipper";
10274                rel2.to: "clipper";
10275             }
10276          }
10277          part { name: "over2";
10278             mouse_events: 0;
10279             description { state: "default" 0.0;
10280                rel1.to: "base";
10281                rel2.to: "base";
10282                image {
10283                   normal: "bt_dis_shine.png";
10284                   border: 4 4 4 4;
10285                }
10286             }
10287          }
10288          part { name: "over1";
10289             mouse_events: 0;
10290             description { state: "default" 0.0;
10291                rel1.to: "base";
10292                rel2.to: "base";
10293                rel2.relative: 1.0 0.5;
10294                image {
10295                   normal: "bt_dis_hilight.png";
10296                   border: 4 4 4 0;
10297                }
10298                color: 255 255 255 128;
10299             }
10300          }
10301          part { name: "left_arrow";
10302             mouse_events: 0;
10303             description { state: "default" 0.0;
10304                image.normal: "icon_left_arrow.png";
10305                aspect: 1.0 1.0;
10306                aspect_preference: VERTICAL;
10307                align: 0.0 0.5;
10308                min: 32 32;
10309                max: 32 32;
10310             }
10311             description { state: "hidden" 0.0;
10312                inherit: "default" 0.0;
10313                visible: 0;
10314                color: 255 255 255 0;
10315             }
10316          }
10317          part { name: "right_arrow";
10318             mouse_events: 0;
10319             description { state: "default" 0.0;
10320                image.normal: "icon_right_arrow.png";
10321                aspect: 1.0 1.0;
10322                aspect_preference: VERTICAL;
10323                align: 1.0 0.5;
10324                min: 32 32;
10325                max: 32 32;
10326             }
10327             description { state: "hidden" 0.0;
10328                inherit: "default" 0.0;
10329                visible: 0;
10330                color: 255 255 255 0;
10331             }
10332          }
10333          part { name: "event";
10334             type: RECT;
10335             mouse_events: 1;
10336             repeat_events: 1;
10337             description { state: "default" 0.0;
10338                color: 0 0 0 0;
10339             }
10340          }
10341       }
10342       programs {
10343          program { name: "sb_hbar_show";
10344             signal: "elm,action,show,hbar";
10345             source: "elm";
10346             action:  STATE_SET "default" 0.0;
10347             transition: LINEAR 0.5;
10348             target: "left_arrow";
10349             target: "right_arrow";
10350          }
10351          program { name: "sb_hbar_hide";
10352             signal: "elm,action,hide,hbar";
10353             source: "elm";
10354             action:  STATE_SET "hidden" 0.0;
10355             target: "left_arrow";
10356             target: "right_arrow";
10357             transition: LINEAR 0.5;
10358          }
10359       }
10360    }
10361
10362    group { name: "elm/toolbar/item/default";
10363        images {
10364            image: "toolbar_sel.png" COMP;
10365        }
10366        data.item: "transition_animation_on" "1";
10367        parts {
10368            part { name: "label2";
10369                type: TEXT;
10370                mouse_events:  0;
10371                scale: 1;
10372                clip_to: "elm.text.clipper";
10373                description { state: "default" 0.0;
10374                    align: 0.5 1.0;
10375                    fixed: 0 1;
10376                    rel1.to: "elm.text";
10377                    rel2.to: "elm.text";
10378                    color: 0 0 0 255;
10379                    text {
10380                        font: "Sans";
10381                        text_source: "elm.text";
10382                        size: 10;
10383                        min: 1 1;
10384                        align: 0.5 0.5;
10385                        text_class: "toolbar_item";
10386                    }
10387                }
10388                description { state: "selected" 0.0;
10389                    inherit: "default" 0.0;
10390                    visible: 0;
10391                }
10392                description { state: "disabled" 0.0;
10393                    inherit: "default" 0.0;
10394                    color: 0 0 0 128;
10395                    color3: 0 0 0 0;
10396                }
10397                description { state: "disabled_visible" 0.0;
10398                    inherit: "default" 0.0;
10399                    color: 0 0 0 128;
10400                    color3: 0 0 0 0;
10401                    visible: 1;
10402                    text.min: 1 1;
10403                }
10404            }
10405            part { name: "label2_new";
10406                type: TEXT;
10407                mouse_events:  0;
10408                scale: 1;
10409                clip_to: "elm.text_new.clipper";
10410                description { state: "default" 0.0;
10411                    align: 0.5 1.0;
10412                    fixed: 0 1;
10413                    rel1.to: "elm.text_new";
10414                    rel2.to: "elm.text_new";
10415                    color: 0 0 0 255;
10416                    text {
10417                        font: "Sans";
10418                        text_source: "elm.text_new";
10419                        size: 10;
10420                        min: 1 1;
10421                        align: 0.5 0.5;
10422                        text_class: "toolbar_item";
10423                    }
10424                }
10425                description { state: "selected" 0.0;
10426                    inherit: "default" 0.0;
10427                    visible: 0;
10428                }
10429                description { state: "disabled" 0.0;
10430                    inherit: "default" 0.0;
10431                    color: 0 0 0 128;
10432                    color3: 0 0 0 0;
10433                }
10434                description { state: "disabled_visible" 0.0;
10435                    inherit: "default" 0.0;
10436                    color: 0 0 0 128;
10437                    color3: 0 0 0 0;
10438                    visible: 1;
10439                    text.min: 1 1;
10440                }
10441            }
10442            part { name: "bg";
10443                mouse_events: 0;
10444                description { state: "default" 0.0;
10445                    visible: 0;
10446                    color: 255 255 255 0;
10447                    image {
10448                        normal: "toolbar_sel.png";
10449                        border: 3 3 0 0;
10450                    }
10451                    image.middle: SOLID;
10452                    fill.smooth: 0;
10453                }
10454                description { state: "selected" 0.0;
10455                    inherit: "default" 0.0;
10456                    visible: 1;
10457                    color: 255 255 255 255;
10458                }
10459                description { state: "disabled" 0.0;
10460                    inherit: "default" 0.0;
10461                    visible: 0;
10462                    color: 255 255 255 0;
10463                }
10464            }
10465            part { name: "elm.swallow.icon";
10466                type: SWALLOW;
10467                clip_to: "elm.icon.clipper";
10468                description { state: "default" 0.0;
10469                    align: 0.5 0.5;
10470                    fixed: 0 0;
10471                    rel1 {
10472                        relative: 0.0 0.0;
10473                        offset: 2 2;
10474                    }
10475                    rel2 {
10476                        to_y: "elm.text";
10477                        relative: 1.0 0.0;
10478                        offset: -3 -1;
10479                    }
10480                    color: 0 0 0 0;
10481                }
10482            }
10483            part { name: "elm.swallow.icon_new";
10484                type: SWALLOW;
10485                clip_to: "elm.icon_new.clipper";
10486                description { state: "default" 0.0;
10487                    align: 0.5 0.5;
10488                    fixed: 0 0;
10489                    rel1 {
10490                        relative: 0.0 0.0;
10491                        offset: 2 2;
10492                    }
10493                    rel2 {
10494                        to_y: "elm.text_new";
10495                        relative: 1.0 0.0;
10496                        offset: -3 -1;
10497                    }
10498                    color: 0 0 0 0;
10499                }
10500            }
10501            part { name: "elm.text";
10502                type: TEXT;
10503                effect: SOFT_SHADOW;
10504                mouse_events:  0;
10505                scale: 1;
10506                clip_to: "elm.text.clipper";
10507                description { state: "default" 0.0;
10508                    align: 0.5 1.0;
10509                    fixed: 0 1;
10510                    rel1 {
10511                        relative: 0.0 1.0;
10512                        offset:   0 -1;
10513                    }
10514                    rel2 {
10515                        relative: 1.0 1.0;
10516                        offset:   -1 -1;
10517                    }
10518                    visible: 0;
10519                    color: 224 224 224 255;
10520                    color3: 0 0 0 32;
10521                    text {
10522                        font: "Sans:style=Bold";
10523                        size: 10;
10524                        min: 1 1;
10525                        align: 0.5 0.5;
10526                        text_class: "toolbar_item";
10527                    }
10528                }
10529                description { state: "selected" 0.0;
10530                    inherit: "default" 0.0;
10531                    visible: 1;
10532                }
10533                description { state: "visible" 0.0;
10534                    inherit: "default" 0.0;
10535                    visible: 1;
10536                    text.min: 1 1;
10537                }
10538                description { state: "disabled" 0.0;
10539                    inherit: "default" 0.0;
10540                    color: 0 0 0 128;
10541                    color3: 0 0 0 0;
10542                }
10543                description { state: "disabled_visible" 0.0;
10544                    inherit: "default" 0.0;
10545                    color: 0 0 0 128;
10546                    color3: 0 0 0 0;
10547                    visible: 1;
10548                    text.min: 1 1;
10549                }
10550            }
10551            part { name: "elm.text_new";
10552                type: TEXT;
10553                effect: SOFT_SHADOW;
10554                mouse_events:  0;
10555                clip_to: "elm.text_new.clipper";
10556                scale: 1;
10557                description { state: "default" 0.0;
10558                    align: 0.5 1.0;
10559                    fixed: 0 1;
10560                    rel1 {
10561                        relative: 0.0 1.0;
10562                        offset:   0 -1;
10563                    }
10564                    rel2 {
10565                        relative: 1.0 1.0;
10566                        offset:   -1 -1;
10567                    }
10568                    visible: 0;
10569                    color: 224 224 224 255;
10570                    color3: 0 0 0 32;
10571                    text {
10572                        font: "Sans:style=Bold";
10573                        size: 10;
10574                        min: 1 1;
10575                        align: 0.5 0.5;
10576                        text_class: "toolbar_item";
10577                    }
10578                }
10579                description { state: "selected" 0.0;
10580                    inherit: "default" 0.0;
10581                    visible: 1;
10582                }
10583                description { state: "visible" 0.0;
10584                    inherit: "default" 0.0;
10585                    visible: 1;
10586                    text.min: 1 1;
10587                }
10588                description { state: "disabled" 0.0;
10589                    inherit: "default" 0.0;
10590                    color: 0 0 0 128;
10591                    color3: 0 0 0 0;
10592                }
10593                description { state: "disabled_visible" 0.0;
10594                    inherit: "default" 0.0;
10595                    color: 0 0 0 128;
10596                    color3: 0 0 0 0;
10597                    visible: 1;
10598                    text.min: 1 1;
10599                }
10600            }
10601            part { name: "elm.text.clipper";
10602                type: RECT;
10603                description { state: "default" 0.0;
10604                    color: 255 255 255 255;
10605                }
10606                description { state: "animation" 0.0;
10607                    color: 255 255 255 0;
10608                }
10609            }
10610            part { name: "elm.text_new.clipper";
10611                type: RECT;
10612                description { state: "default" 0.0;
10613                    color: 255 255 255 0;
10614                }
10615                description { state: "animation" 0.0;
10616                    color: 255 255 255 255;
10617                }
10618            }
10619            part { name: "elm.icon.clipper";
10620                type: RECT;
10621                description { state: "default" 0.0;
10622                    color: 255 255 255 255;
10623                }
10624                description { state: "animation" 0.0;
10625                    color: 255 255 255 0;
10626                }
10627            }
10628            part { name: "elm.icon_new.clipper";
10629                type: RECT;
10630                description { state: "default" 0.0;
10631                    color: 255 255 255 0;
10632                }
10633                description { state: "animation" 0.0;
10634                    color: 255 255 255 255;
10635                }
10636            }
10637            part { name: "event";
10638                type: RECT;
10639                mouse_events: 1;
10640                ignore_flags: ON_HOLD;
10641                description { state: "default" 0.0;
10642                    color: 0 0 0 0;
10643                }
10644            }
10645        }
10646        programs {
10647            program { name: "go_active";
10648                signal:  "elm,state,selected";
10649                source:  "elm";
10650                action:  STATE_SET "selected" 0.0;
10651                target:  "bg";
10652                target:  "elm.text";
10653                target:  "label2";
10654                target:  "elm.text_new";
10655                target:  "label2_new";
10656                transition: LINEAR 0.2;
10657            }
10658            program { name: "go_passive";
10659                signal:  "elm,state,unselected";
10660                source:  "elm";
10661                action:  STATE_SET "default" 0.0;
10662                target:  "bg";
10663                target:  "elm.text";
10664                target:  "label2";
10665                target:  "elm.text_new";
10666                target:  "label2_new";
10667                transition: LINEAR 0.1;
10668            }
10669            program { name: "go";
10670                signal:  "mouse,up,1";
10671                source:  "event";
10672                action:  SIGNAL_EMIT "elm,action,click" "elm";
10673            }
10674            program { name: "mouse,in";
10675               signal:  "mouse,in";
10676               source:  "event";
10677               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10678            }
10679            program { name: "mouse,out";
10680               signal:  "mouse,out";
10681               source:  "event";
10682               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10683            }
10684            program { name: "disable";
10685                signal: "elm,state,disabled";
10686                source: "elm";
10687                action: STATE_SET "disabled" 0.0;
10688                target: "label2";
10689                target: "label2_new";
10690                target: "bg";
10691                after: "disable_text";
10692            }
10693            program { name: "disable_text";
10694                script {
10695                    new st[31];
10696                    new Float:vl;
10697                    get_state(PART:"elm.text", st, 30, vl);
10698                    if (!strcmp(st, "visible"))
10699                    {
10700                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10701                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10702                    }
10703                    else
10704                    {
10705                       set_state(PART:"elm.text", "disabled", 0.0);
10706                       set_state(PART:"elm.text_new", "disabled", 0.0);
10707                    }
10708                }
10709            }
10710            program { name: "enable";
10711                signal: "elm,state,enabled";
10712                source: "elm";
10713                action: STATE_SET "default" 0.0;
10714                target: "label2";
10715                target: "label2_new";
10716                target: "bg";
10717                after: "enable_text";
10718            }
10719            program { name: "enable_text";
10720                script {
10721                    new st[31];
10722                    new Float:vl;
10723                    get_state(PART:"elm.text", st, 30, vl);
10724                    if (!strcmp(st, "disabled_visible"))
10725                    {
10726                       set_state(PART:"elm.text", "visible", 0.0);
10727                       set_state(PART:"elm.text_new", "visible", 0.0);
10728                    }
10729                    else
10730                    {
10731                       set_state(PART:"elm.text", "default", 0.0);
10732                       set_state(PART:"elm.text_new", "default", 0.0);
10733                    }
10734                }
10735            }
10736            program { name: "label_set,animation,forward";
10737               signal: "elm,state,label_set,forward";
10738               source: "elm";
10739               after: "label_set,animation";
10740            }
10741            program { name: "label_set,animation,backward";
10742               signal: "elm,state,label_set,backward";
10743               source: "elm";
10744               after: "label_set,animation";
10745            }
10746            program { name: "label_set,animation";
10747               signal: "elm,state,label_set";
10748               source: "elm";
10749               action: STATE_SET "animation" 0.0;
10750               target: "elm.text.clipper";
10751               target: "elm.text_new.clipper";
10752               transition: LINEAR 0.2;
10753               after: "label_set,animation,done";
10754            }
10755            program { name: "label_set,animation,done";
10756               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10757            }
10758            program { name: "label,reset";
10759               signal: "elm,state,label,reset";
10760               source: "elm";
10761               action: STATE_SET "default" 0.0;
10762               target: "elm.text.clipper";
10763               target: "elm.text_new.clipper";
10764            }
10765            program { name: "icon_set,animation,forward";
10766               signal: "elm,state,icon_set,forward";
10767               source: "elm";
10768               after: "icon_set,animation";
10769            }
10770            program { name: "icon_set,animation,backward";
10771               signal: "elm,state,icon_set,backward";
10772               source: "elm";
10773               after: "icon_set,animation";
10774            }
10775            program { name: "icon_set,animation";
10776               signal: "elm,state,icon_set";
10777               source: "elm";
10778               action: STATE_SET "animation" 0.0;
10779               target: "elm.icon.clipper";
10780               target: "elm.icon_new.clipper";
10781               transition: LINEAR 0.2;
10782               after: "icon_set,animation,done";
10783            }
10784            program { name: "icon_set,animation,done";
10785               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10786            }
10787            program { name: "icon,reset";
10788               signal: "elm,state,icon,reset";
10789               source: "elm";
10790               action: STATE_SET "default" 0.0;
10791               target: "elm.icon.clipper";
10792               target: "elm.icon_new.clipper";
10793            }
10794        }
10795    }
10796
10797    group { name: "elm/toolbar/separator/default";
10798       images {
10799          image: "toolbar_separator_v.png" COMP;
10800       }
10801       parts {
10802          part { name: "separator"; // separator group
10803             description { state: "default" 0.0;
10804                min: 2 2;
10805                max: 2 9999;
10806                rel1.offset: 4 4;
10807                rel2.offset: -5 -5;
10808                image {
10809                   normal: "toolbar_separator_v.png";
10810                }
10811                fill {
10812                   smooth: 0;
10813                }
10814             }
10815          }
10816       }
10817    }
10818
10819    ///////////////////////////////////////////////////////////////////////////////
10820    group { name: "elm/notify/block_events/default";
10821        parts {
10822            part { name: "block_events";
10823                type: RECT;
10824                description { state: "default" 0.0;
10825                    color: 0 0 0 64;
10826                    visible: 1;
10827                }
10828            }
10829        }
10830            programs {
10831                    program {
10832                                 name: "block_clicked";
10833                                 signal: "mouse,clicked,1";
10834                                 source: "block_events";
10835                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10836                    }
10837            }
10838    }
10839    group { name: "elm/notify/top/default";
10840        //this group is a design similar to the inwin group
10841        images {
10842            image: "shad_circ.png" COMP;
10843            image: "bt_dis_base.png" COMP;
10844            image: "bt_dis_hilight.png" COMP;
10845        }
10846        parts {
10847            part { name: "base";
10848                type: RECT;
10849                mouse_events: 0;
10850                repeat_events: 1;
10851                description { state: "default" 0.0;
10852                    color: 0 0 0 0;
10853                    rel1.offset: 10 10;
10854                    rel2.offset: -10 -10;
10855                    rel1.relative: 0.0 -1.0;
10856                    rel2.relative: 1.0 0.0;
10857                }
10858                description { state: "visible" 0.0;
10859                    inherit: "default" 0.0;
10860                    color: 0 0 0 64;
10861                    rel1.relative: 0.0 0.0;
10862                    rel2.relative: 1.0 1.0;
10863                }
10864            }
10865            part { name: "shad";
10866                mouse_events:  0;
10867                description { state: "default" 0.0;
10868                    image.normal: "shad_circ.png";
10869                    rel1.to: "elm.swallow.content";
10870                    rel1.offset: -64 -64;
10871                    rel2.to: "elm.swallow.content";
10872                    rel2.offset: 63 63;
10873                    fill.smooth: 0;
10874                }
10875            }
10876            part { name: "pop";
10877                mouse_events: 1;
10878                description { state: "default" 0.0;
10879                    rel1.to: "elm.swallow.content";
10880                    rel1.offset: -5 -5;
10881                    rel2.to: "elm.swallow.content";
10882                    rel2.offset: 4 4;
10883                    image {
10884                        normal: "bt_dis_base.png";
10885                        border: 4 4 4 4;
10886                    }
10887                    image.middle: SOLID;
10888                }
10889            }
10890            part { name: "popover";
10891                mouse_events: 0;
10892                description { state: "default" 0.0;
10893                    rel1.to: "pop";
10894                    rel2.to: "pop";
10895                    rel2.relative: 1.0 0.5;
10896                    image {
10897                        normal: "bt_dis_hilight.png";
10898                        border: 4 4 4 0;
10899                    }
10900                }
10901            }
10902            part { name: "elm.swallow.content";
10903                type: SWALLOW;
10904                description { state: "default" 0.0;
10905                    rel1.to: "base";
10906                    rel2.to: "base";
10907                }
10908            }
10909        }
10910        programs {
10911            program { name: "show";
10912                signal: "elm,action,show";
10913                source: "elm";
10914                action: STATE_SET "visible" 0.0;
10915                target: "base";
10916            }
10917            program { name: "show_2";
10918                 signal: "show";
10919                 action: STATE_SET "default" 0.0;
10920                 target: "base";
10921                 after: "show_3";
10922            }
10923            program { name: "show_3";
10924                 signal: "show";
10925                 action: STATE_SET "visible" 0.0;
10926                 target: "base";
10927                 transition: LINEAR 0.5;
10928            }
10929            program { name: "hide";
10930                signal: "elm,action,hide";
10931                source: "elm";
10932                action: STATE_SET "default" 0.0;
10933                target: "base";
10934            }
10935        }
10936    }
10937    group { name: "elm/notify/center/default";
10938        //this group is a design similar to the inwin group
10939        images {
10940            image: "bt_dis_base.png" COMP;
10941        }
10942        parts {
10943            part { name: "base";
10944                type: RECT;
10945                mouse_events: 0;
10946                repeat_events: 1;
10947                description { state: "default" 0.0;
10948                    color: 0 0 0 0;
10949                    rel1.relative: 0.0 0.0;
10950                    rel2.relative: 1.0 1.0;
10951                }
10952            }
10953            part { name: "pop";
10954                mouse_events: 1;
10955                description { state: "default" 0.0;
10956                    rel1.to: "elm.swallow.content";
10957                    rel1.offset: -5 -5;
10958                    rel2.to: "elm.swallow.content";
10959                    rel2.offset: 4 4;
10960                    image {
10961                        normal: "bt_dis_base.png";
10962                        border: 4 4 4 4;
10963                    }
10964                }
10965            }
10966            part { name: "elm.swallow.content";
10967                type: SWALLOW;
10968                description { state: "default" 0.0;
10969                    rel1.to: "base";
10970                    rel2.to: "base";
10971                }
10972            }
10973        }
10974        programs {
10975            program { name: "show";
10976                signal: "elm,action,show";
10977                source: "elm";
10978                action: STATE_SET "default" 0.0;
10979                target: "base";
10980            }
10981            program { name: "show_2";
10982                 signal: "show";
10983                 action: STATE_SET "default" 0.0;
10984                 target: "base";
10985            }
10986            program { name: "hide";
10987                signal: "elm,action,hide";
10988                source: "elm";
10989                action: STATE_SET "default" 0.0;
10990                target: "base";
10991            }
10992        }
10993    }
10994    group { name: "elm/notify/bottom/default";
10995        //this group is a design similar to the inwin group
10996        images {
10997            image: "shad_circ.png" COMP;
10998            image: "bt_dis_base.png" COMP;
10999            image: "bt_dis_hilight.png" COMP;
11000        }
11001        parts {
11002            part { name: "base";
11003                type: RECT;
11004                mouse_events: 0;
11005                repeat_events: 1;
11006                description { state: "default" 0.0;
11007                    color: 0 0 0 0;
11008                    rel1.offset: 10 10;
11009                    rel2.offset: -10 -10;
11010                    rel1.relative: 0.0 1.0;
11011                    rel2.relative: 1.0 2.0;
11012                }
11013                description { state: "visible" 0.0;
11014                    inherit: "default" 0.0;
11015                    color: 0 0 0 64;
11016                    rel1.relative: 0.0 0.0;
11017                    rel2.relative: 1.0 1.0;
11018                }
11019            }
11020            part { name: "shad";
11021                mouse_events:  0;
11022                description { state: "default" 0.0;
11023                    image.normal: "shad_circ.png";
11024                    rel1.to: "elm.swallow.content";
11025                    rel1.offset: -64 -64;
11026                    rel2.to: "elm.swallow.content";
11027                    rel2.offset: 63 63;
11028                    fill.smooth: 0;
11029                }
11030            }
11031            part { name: "pop";
11032                mouse_events: 1;
11033                description { state: "default" 0.0;
11034                    rel1.to: "elm.swallow.content";
11035                    rel1.offset: -5 -5;
11036                    rel2.to: "elm.swallow.content";
11037                    rel2.offset: 4 4;
11038                    image {
11039                        normal: "bt_dis_base.png";
11040                        border: 4 4 4 4;
11041                    }
11042                    image.middle: SOLID;
11043                }
11044            }
11045            part { name: "popover";
11046                mouse_events: 0;
11047                description { state: "default" 0.0;
11048                    rel1.to: "pop";
11049                    rel2.to: "pop";
11050                    rel2.relative: 1.0 0.5;
11051                    image {
11052                        normal: "bt_dis_hilight.png";
11053                        border: 4 4 4 0;
11054                    }
11055                }
11056            }
11057            part { name: "elm.swallow.content";
11058                type: SWALLOW;
11059                description { state: "default" 0.0;
11060                    rel1.to: "base";
11061                    rel2.to: "base";
11062                }
11063            }
11064        }
11065        programs {
11066            program { name: "show";
11067                signal: "elm,action,show";
11068                source: "elm";
11069                action: STATE_SET "visible" 0.0;
11070                target: "base";
11071            }
11072            program { name: "show_2";
11073                 signal: "show";
11074                 action: STATE_SET "default" 0.0;
11075                 target: "base";
11076                 after: "show_3";
11077            }
11078            program { name: "show_3";
11079                 signal: "show";
11080                 action: STATE_SET "visible" 0.0;
11081                 target: "base";
11082                 transition: LINEAR 0.5;
11083            }
11084            program { name: "hide";
11085                signal: "elm,action,hide";
11086                source: "elm";
11087                action: STATE_SET "default" 0.0;
11088                target: "base";
11089            }
11090        }
11091    }
11092    group { name: "elm/notify/left/default";
11093        //this group is a design similar to the inwin group
11094        images {
11095            image: "shad_circ.png" COMP;
11096            image: "bt_dis_base.png" COMP;
11097            image: "bt_dis_hilight.png" COMP;
11098        }
11099        parts {
11100            part { name: "base";
11101                type: RECT;
11102                mouse_events: 0;
11103                repeat_events: 1;
11104                description { state: "default" 0.0;
11105                    color: 0 0 0 0;
11106                    rel1.offset: 10 10;
11107                    rel2.offset: -10 -10;
11108                    rel1.relative: -1.0 0.0;
11109                    rel2.relative: 0.0 1.0;
11110                }
11111                description { state: "visible" 0.0;
11112                    inherit: "default" 0.0;
11113                    color: 0 0 0 64;
11114                    rel1.relative: 0.0 0.0;
11115                    rel2.relative: 1.0 1.0;
11116                }
11117            }
11118            part { name: "shad";
11119                mouse_events:  0;
11120                description { state: "default" 0.0;
11121                    image.normal: "shad_circ.png";
11122                    rel1.to: "elm.swallow.content";
11123                    rel1.offset: -64 -64;
11124                    rel2.to: "elm.swallow.content";
11125                    rel2.offset: 63 63;
11126                    fill.smooth: 0;
11127                }
11128            }
11129            part { name: "pop";
11130                mouse_events: 1;
11131                description { state: "default" 0.0;
11132                    rel1.to: "elm.swallow.content";
11133                    rel1.offset: -5 -5;
11134                    rel2.to: "elm.swallow.content";
11135                    rel2.offset: 4 4;
11136                    image {
11137                        normal: "bt_dis_base.png";
11138                        border: 4 4 4 4;
11139                    }
11140                    image.middle: SOLID;
11141                }
11142            }
11143            part { name: "popover";
11144                mouse_events: 0;
11145                description { state: "default" 0.0;
11146                    rel1.to: "pop";
11147                    rel2.to: "pop";
11148                    rel2.relative: 1.0 0.5;
11149                    image {
11150                        normal: "bt_dis_hilight.png";
11151                        border: 4 4 4 0;
11152                    }
11153                }
11154            }
11155            part { name: "elm.swallow.content";
11156                type: SWALLOW;
11157                description { state: "default" 0.0;
11158                    rel1.to: "base";
11159                    rel2.to: "base";
11160                }
11161            }
11162        }
11163        programs {
11164            program { name: "show";
11165                signal: "elm,action,show";
11166                source: "elm";
11167                action: STATE_SET "visible" 0.0;
11168                target: "base";
11169            }
11170            program { name: "show_2";
11171                signal: "show";
11172                action: STATE_SET "default" 0.0;
11173                target: "base";
11174                after: "show_3";
11175            }
11176            program { name: "show_3";
11177                signal: "show";
11178                action: STATE_SET "visible" 0.0;
11179                target: "base";
11180                transition: LINEAR 0.5;
11181            }
11182            program { name: "hide";
11183                signal: "elm,action,hide";
11184                source: "elm";
11185                action: STATE_SET "default" 0.0;
11186                target: "base";
11187            }
11188        }
11189    }
11190    group { name: "elm/notify/right/default";
11191        //this group is a design similar to the inwin group
11192        images {
11193            image: "shad_circ.png" COMP;
11194            image: "bt_dis_base.png" COMP;
11195            image: "bt_dis_hilight.png" COMP;
11196        }
11197        parts {
11198            part { name: "base";
11199                type: RECT;
11200                mouse_events: 0;
11201                repeat_events: 1;
11202                 description { state: "default" 0.0;
11203                    color: 0 0 0 0;
11204                    rel1.offset: 10 10;
11205                    rel2.offset: -10 -10;
11206                    rel1.relative: 1.0 0.0;
11207                    rel2.relative: 2.0 1.0;
11208                }
11209                description { state: "visible" 0.0;
11210                    inherit: "default" 0.0;
11211                    color: 0 0 0 64;
11212                    rel1.relative: 0.0 0.0;
11213                    rel2.relative: 1.0 1.0;
11214                }
11215            }
11216            part { name: "shad";
11217                mouse_events:  0;
11218                description { state: "default" 0.0;
11219                    image.normal: "shad_circ.png";
11220                    rel1.to: "elm.swallow.content";
11221                    rel1.offset: -64 -64;
11222                    rel2.to: "elm.swallow.content";
11223                    rel2.offset: 63 63;
11224                    fill.smooth: 0;
11225                }
11226            }
11227            part { name: "pop";
11228                mouse_events: 1;
11229                description { state: "default" 0.0;
11230                    rel1.to: "elm.swallow.content";
11231                    rel1.offset: -5 -5;
11232                    rel2.to: "elm.swallow.content";
11233                    rel2.offset: 4 4;
11234                    image {
11235                        normal: "bt_dis_base.png";
11236                        border: 4 4 4 4;
11237                    }
11238                    image.middle: SOLID;
11239                }
11240            }
11241            part { name: "popover";
11242                mouse_events: 0;
11243                description { state: "default" 0.0;
11244                    rel1.to: "pop";
11245                    rel2.to: "pop";
11246                    rel2.relative: 1.0 0.5;
11247                    image {
11248                        normal: "bt_dis_hilight.png";
11249                        border: 4 4 4 0;
11250                    }
11251                }
11252            }
11253            part { name: "elm.swallow.content";
11254                type: SWALLOW;
11255                description { state: "default" 0.0;
11256                    rel1.to: "base";
11257                    rel2.to: "base";
11258                }
11259            }
11260        }
11261        programs {
11262            program { name: "show";
11263                signal: "elm,action,show";
11264                source: "elm";
11265                action: STATE_SET "visible" 0.0;
11266                target: "base";
11267            }
11268            program { name: "show_2";
11269                signal: "show";
11270                action: STATE_SET "default" 0.0;
11271                target: "base";
11272                after: "show_3";
11273            }
11274            program { name: "show_3";
11275                signal: "show";
11276                action: STATE_SET "visible" 0.0;
11277                target: "base";
11278                transition: LINEAR 0.5;
11279            }
11280            program { name: "hide";
11281                signal: "elm,action,hide";
11282                source: "elm";
11283                action: STATE_SET "default" 0.0;
11284                target: "base";
11285            }
11286        }
11287    }
11288    group { name: "elm/notify/top_left/default";
11289        //this group is a design similar to the inwin group
11290        images {
11291            image: "shad_circ.png" COMP;
11292            image: "bt_dis_base.png" COMP;
11293            image: "bt_dis_hilight.png" COMP;
11294        }
11295        parts {
11296            part { name: "base";
11297                type: RECT;
11298                mouse_events: 0;
11299                repeat_events: 1;
11300                 description { state: "default" 0.0;
11301                    color: 0 0 0 0;
11302                    rel1.offset: 10 10;
11303                    rel2.offset: -10 -10;
11304                    rel1.relative: 0.0 -1.0;
11305                    rel2.relative: 1.0 0.0;
11306                }
11307                description { state: "visible" 0.0;
11308                    inherit: "default" 0.0;
11309                    color: 0 0 0 64;
11310                    rel1.relative: 0.0 0.0;
11311                    rel2.relative: 1.0 1.0;
11312                }
11313            }
11314            part { name: "shad";
11315                mouse_events:  0;
11316                description { state: "default" 0.0;
11317                    image.normal: "shad_circ.png";
11318                    rel1.to: "elm.swallow.content";
11319                    rel1.offset: -64 -64;
11320                    rel2.to: "elm.swallow.content";
11321                    rel2.offset: 63 63;
11322                    fill.smooth: 0;
11323                }
11324            }
11325            part { name: "pop";
11326                mouse_events: 1;
11327                description { state: "default" 0.0;
11328                    rel1.to: "elm.swallow.content";
11329                    rel1.offset: -5 -5;
11330                    rel2.to: "elm.swallow.content";
11331                    rel2.offset: 4 4;
11332                    image {
11333                        normal: "bt_dis_base.png";
11334                        border: 4 4 4 4;
11335                    }
11336                    image.middle: SOLID;
11337                }
11338            }
11339            part { name: "popover";
11340                mouse_events: 0;
11341                description { state: "default" 0.0;
11342                    rel1.to: "pop";
11343                    rel2.to: "pop";
11344                    rel2.relative: 1.0 0.5;
11345                    image {
11346                        normal: "bt_dis_hilight.png";
11347                        border: 4 4 4 0;
11348                    }
11349                }
11350            }
11351            part { name: "elm.swallow.content";
11352                type: SWALLOW;
11353                description { state: "default" 0.0;
11354                    rel1.to: "base";
11355                    rel2.to: "base";
11356                }
11357            }
11358        }
11359        programs {
11360            program { name: "show";
11361                signal: "elm,action,show";
11362                source: "elm";
11363                action: STATE_SET "visible" 0.0;
11364                target: "base";
11365            }
11366            program { name: "show_2";
11367                signal: "show";
11368                action: STATE_SET "default" 0.0;
11369                target: "base";
11370                after: "show_3";
11371            }
11372            program { name: "show_3";
11373                signal: "show";
11374                action: STATE_SET "visible" 0.0;
11375                target: "base";
11376                transition: LINEAR 0.5;
11377            }
11378            program { name: "hide";
11379                signal: "elm,action,hide";
11380                source: "elm";
11381                action: STATE_SET "default" 0.0;
11382                target: "base";
11383            }
11384        }
11385    }
11386    group { name: "elm/notify/top_right/default";
11387        //this group is a design similar to the inwin group
11388        images {
11389            image: "shad_circ.png" COMP;
11390            image: "bt_dis_base.png" COMP;
11391            image: "bt_dis_hilight.png" COMP;
11392        }
11393        parts {
11394            part { name: "base";
11395                type: RECT;
11396                mouse_events: 0;
11397                repeat_events: 1;
11398                description { state: "default" 0.0;
11399                    color: 0 0 0 0;
11400                    rel1.offset: 10 10;
11401                    rel2.offset: -10 -10;
11402                    rel1.relative: 0.0 -1.0;
11403                    rel2.relative: 1.0 0.0;
11404                }
11405                description { state: "visible" 0.0;
11406                    inherit: "default" 0.0;
11407                    color: 0 0 0 64;
11408                    rel1.relative: 0.0 0.0;
11409                    rel2.relative: 1.0 1.0;
11410                }
11411            }
11412            part { name: "shad";
11413                mouse_events:  0;
11414                description { state: "default" 0.0;
11415                    image.normal: "shad_circ.png";
11416                    rel1.to: "elm.swallow.content";
11417                    rel1.offset: -64 -64;
11418                    rel2.to: "elm.swallow.content";
11419                    rel2.offset: 63 63;
11420                    fill.smooth: 0;
11421                }
11422            }
11423            part { name: "pop";
11424                mouse_events: 1;
11425                description { state: "default" 0.0;
11426                    rel1.to: "elm.swallow.content";
11427                    rel1.offset: -5 -5;
11428                    rel2.to: "elm.swallow.content";
11429                    rel2.offset: 4 4;
11430                    image {
11431                        normal: "bt_dis_base.png";
11432                        border: 4 4 4 4;
11433                    }
11434                    image.middle: SOLID;
11435                }
11436            }
11437            part { name: "popover";
11438                mouse_events: 0;
11439                description { state: "default" 0.0;
11440                    rel1.to: "pop";
11441                    rel2.to: "pop";
11442                    rel2.relative: 1.0 0.5;
11443                    image {
11444                        normal: "bt_dis_hilight.png";
11445                        border: 4 4 4 0;
11446                    }
11447                }
11448            }
11449            part { name: "elm.swallow.content";
11450                type: SWALLOW;
11451                description { state: "default" 0.0;
11452                    rel1.to: "base";
11453                    rel2.to: "base";
11454                }
11455            }
11456        }
11457        programs {
11458            program { name: "show";
11459                signal: "elm,action,show";
11460                source: "elm";
11461                action: STATE_SET "visible" 0.0;
11462                target: "base";
11463            }
11464            program { name: "show_2";
11465                signal: "show";
11466                action: STATE_SET "default" 0.0;
11467                target: "base";
11468                after: "show_3";
11469            }
11470            program { name: "show_3";
11471                signal: "show";
11472                action: STATE_SET "visible" 0.0;
11473                target: "base";
11474                transition: LINEAR 0.5;
11475            }
11476            program { name: "hide";
11477                signal: "elm,action,hide";
11478                source: "elm";
11479                action: STATE_SET "default" 0.0;
11480                target: "base";
11481            }
11482        }
11483    }
11484    group { name: "elm/notify/bottom_left/default";
11485        //this group is a design similar to the inwin group
11486        images {
11487            image: "shad_circ.png" COMP;
11488            image: "bt_dis_base.png" COMP;
11489            image: "bt_dis_hilight.png" COMP;
11490        }
11491        parts {
11492            part { name: "base";
11493                type: RECT;
11494                mouse_events: 0;
11495                repeat_events: 1;
11496                description { state: "default" 0.0;
11497                    color: 0 0 0 0;
11498                    rel1.offset: 10 10;
11499                    rel2.offset: -10 -10;
11500                    rel1.relative: 0.0 1.0;
11501                    rel2.relative: 1.0 2.0;
11502                }
11503                description { state: "visible" 0.0;
11504                    inherit: "default" 0.0;
11505                    color: 0 0 0 64;
11506                    rel1.relative: 0.0 0.0;
11507                    rel2.relative: 1.0 1.0;
11508                }
11509            }
11510            part { name: "shad";
11511                mouse_events:  0;
11512                description { state: "default" 0.0;
11513                    image.normal: "shad_circ.png";
11514                    rel1.to: "elm.swallow.content";
11515                    rel1.offset: -64 -64;
11516                    rel2.to: "elm.swallow.content";
11517                    rel2.offset: 63 63;
11518                    fill.smooth: 0;
11519                }
11520            }
11521            part { name: "pop";
11522                mouse_events: 1;
11523                description { state: "default" 0.0;
11524                    rel1.to: "elm.swallow.content";
11525                    rel1.offset: -5 -5;
11526                    rel2.to: "elm.swallow.content";
11527                    rel2.offset: 4 4;
11528                    image {
11529                        normal: "bt_dis_base.png";
11530                        border: 4 4 4 4;
11531                    }
11532                    image.middle: SOLID;
11533                }
11534            }
11535            part { name: "popover";
11536                mouse_events: 0;
11537                description { state: "default" 0.0;
11538                    rel1.to: "pop";
11539                    rel2.to: "pop";
11540                    rel2.relative: 1.0 0.5;
11541                    image {
11542                        normal: "bt_dis_hilight.png";
11543                        border: 4 4 4 0;
11544                    }
11545                }
11546            }
11547            part { name: "elm.swallow.content";
11548                type: SWALLOW;
11549                description { state: "default" 0.0;
11550                    rel1.to: "base";
11551                    rel2.to: "base";
11552                }
11553            }
11554        }
11555        programs {
11556            program { name: "show";
11557                signal: "elm,action,show";
11558                source: "elm";
11559                action: STATE_SET "visible" 0.0;
11560                target: "base";
11561            }
11562            program { name: "show_2";
11563                signal: "show";
11564                action: STATE_SET "default" 0.0;
11565                target: "base";
11566                after: "show_3";
11567            }
11568            program { name: "show_3";
11569                signal: "show";
11570                action: STATE_SET "visible" 0.0;
11571                target: "base";
11572                transition: LINEAR 0.5;
11573            }
11574            program { name: "hide";
11575                signal: "elm,action,hide";
11576                source: "elm";
11577                action: STATE_SET "default" 0.0;
11578                target: "base";
11579            }
11580        }
11581    }
11582    group { name: "elm/notify/bottom_right/default";
11583        //this group is a design similar to the inwin group
11584        images {
11585            image: "shad_circ.png" COMP;
11586            image: "bt_dis_base.png" COMP;
11587            image: "bt_dis_hilight.png" COMP;
11588        }
11589        parts {
11590            part { name: "base";
11591                type: RECT;
11592                mouse_events: 0;
11593                repeat_events: 1;
11594               description { state: "default" 0.0;
11595                    color: 0 0 0 0;
11596                    rel1.offset: 10 10;
11597                    rel2.offset: -10 -10;
11598                    rel1.relative: 0.0 1.0;
11599                    rel2.relative: 1.0 2.0;
11600                }
11601                description { state: "visible" 0.0;
11602                    inherit: "default" 0.0;
11603                    color: 0 0 0 64;
11604                    rel1.relative: 0.0 0.0;
11605                    rel2.relative: 1.0 1.0;
11606                }
11607            }
11608            part { name: "shad";
11609                mouse_events:  0;
11610                description { state: "default" 0.0;
11611                    image.normal: "shad_circ.png";
11612                    rel1.to: "elm.swallow.content";
11613                    rel1.offset: -64 -64;
11614                    rel2.to: "elm.swallow.content";
11615                    rel2.offset: 63 63;
11616                    fill.smooth: 0;
11617                }
11618            }
11619            part { name: "pop";
11620                mouse_events: 1;
11621                description { state: "default" 0.0;
11622                    rel1.to: "elm.swallow.content";
11623                    rel1.offset: -5 -5;
11624                    rel2.to: "elm.swallow.content";
11625                    rel2.offset: 4 4;
11626                    image {
11627                        normal: "bt_dis_base.png";
11628                        border: 4 4 4 4;
11629                    }
11630                    image.middle: SOLID;
11631                }
11632            }
11633            part { name: "popover";
11634                mouse_events: 0;
11635                description { state: "default" 0.0;
11636                    rel1.to: "pop";
11637                    rel2.to: "pop";
11638                    rel2.relative: 1.0 0.5;
11639                    image {
11640                        normal: "bt_dis_hilight.png";
11641                        border: 4 4 4 0;
11642                    }
11643                }
11644            }
11645            part { name: "elm.swallow.content";
11646                type: SWALLOW;
11647                description { state: "default" 0.0;
11648                    rel1.to: "base";
11649                    rel2.to: "base";
11650                }
11651            }
11652        }
11653        programs {
11654            program { name: "show";
11655                signal: "elm,action,show";
11656                source: "elm";
11657                action: STATE_SET "visible" 0.0;
11658                target: "base";
11659            }
11660            program { name: "show_2";
11661                signal: "show";
11662                action: STATE_SET "default" 0.0;
11663                target: "base";
11664                after: "show_3";
11665            }
11666            program { name: "show_3";
11667                signal: "show";
11668                action: STATE_SET "visible" 0.0;
11669                target: "base";
11670                transition: LINEAR 0.5;
11671            }
11672            program { name: "hide";
11673                signal: "elm,action,hide";
11674                source: "elm";
11675                action: STATE_SET "default" 0.0;
11676                target: "base";
11677            }
11678        }
11679    }
11680
11681 ///////////////////////////////////////////////////////////////////////////////
11682    group { name: "elm/slideshow/base/default";
11683       data {
11684          item: transitions "fade black_fade horizontal vertical square";
11685          item: layouts "fullscreen not_fullscreen";
11686       }
11687       parts {
11688          part { name: "whole";
11689                  type: RECT;
11690             description {
11691                state: "default" 0.0;
11692                visible: 1;
11693                color: 20 20 20 255;
11694             }
11695          }
11696          part { name: "image_1_whole";
11697             description {
11698                state: "default" 0.0;
11699                color: 255 255 255 255;
11700             }
11701             description {
11702                state: "fade_prev_next" 0.0;
11703                inherit: "default" 0.0;
11704                color: 255 255 255 0;
11705             }
11706             description {
11707                state: "black_fade_prev_next_init" 0.0;
11708                inherit: "default" 0.0;
11709                color: 255 255 255 255;
11710             }
11711             description {
11712                state: "black_fade_prev_next" 0.0;
11713                inherit: "default" 0.0;
11714                color: 0 0 0 255;
11715             }
11716             description {
11717                state: "horizontal_next_init" 0.0;
11718                inherit: "default" 0.0;
11719             }
11720             description {
11721                state: "horizontal_next" 0.0;
11722                inherit: "default" 0.0;
11723                rel1.relative: -1.0 0.0;
11724                rel2.relative: 0.0 1.0;
11725             }
11726             description {
11727                state: "horizontal_prev_init" 0.0;
11728                inherit: "default" 0.0;
11729             }
11730             description {
11731                state: "horizontal_prev" 0.0;
11732                inherit: "default" 0.0;
11733                rel1.relative: 1.0 0.0;
11734                rel2.relative: 2.0 1.0;
11735             }
11736             description {
11737                state: "vertical_next_init" 0.0;
11738                inherit: "default" 0.0;
11739             }
11740             description {
11741                state: "vertical_next" 0.0;
11742                inherit: "default" 0.0;
11743                rel1.relative: 0.0 -1.0;
11744                rel2.relative: 1.0 0.0;
11745             }
11746             description {
11747                state: "vertical_prev_init" 0.0;
11748                inherit: "default" 0.0;
11749             }
11750             description {
11751                state: "vertical_prev" 0.0;
11752                inherit: "default" 0.0;
11753                rel1.relative: 0.0 1.0;
11754                rel2.relative: 1.0 2.0;
11755             }
11756             description {
11757                state: "square_prev_next" 0.0;
11758                inherit: "default" 0.0;
11759                color: 255 255 255 0;
11760             }
11761          }
11762          part { name: "image_2_whole";
11763             description {
11764                state: "default" 0.0;
11765                visible: 1;
11766                color: 255 255 255 0;
11767             }
11768             description {
11769                state: "fade_prev_next" 0.0;
11770                inherit: "default" 0.0;
11771                color: 255 255 255 255;
11772             }
11773             description {
11774                state: "black_fade_prev_next_init" 0.0;
11775                inherit: "default" 0.0;
11776                color: 0 0 0 0;
11777             }
11778             description {
11779                state: "black_fade_prev_next" 0.0;
11780                inherit: "default" 0.0;
11781                color: 255 255 255 255;
11782             }
11783             description {
11784                state: "horizontal_next_init" 0.0;
11785                inherit: "default" 0.0;
11786                rel1.relative: 1.0 0.0;
11787                rel2.relative: 2.0 1.0;
11788                color: 255 255 255 255;
11789             }
11790             description {
11791                state: "horizontal_next" 0.0;
11792                inherit: "default" 0.0;
11793                color: 255 255 255 255;
11794             }
11795             description {
11796                state: "horizontal_prev_init" 0.0;
11797                inherit: "default" 0.0;
11798                rel1.relative: -1.0 0.0;
11799                rel2.relative: 0.0 1.0;
11800                color: 255 255 255 255;
11801             }
11802             description {
11803                state: "horizontal_prev" 0.0;
11804                inherit: "default" 0.0;
11805                color: 255 255 255 255;
11806             }
11807             description {
11808                state: "vertical_next_init" 0.0;
11809                inherit: "default" 0.0;
11810                rel1.relative: 0.0 1.0;
11811                rel2.relative: 1.0 2.0;
11812                color: 255 255 255 255;
11813             }
11814             description {
11815                state: "vertical_next" 0.0;
11816                inherit: "default" 0.0;
11817                color: 255 255 255 255;
11818             }
11819             description {
11820                state: "vertical_prev_init" 0.0;
11821                inherit: "default" 0.0;
11822                rel1.relative: 0.0 -1.0;
11823                rel2.relative: 1.0 0.0;
11824                color: 255 255 255 255;
11825             }
11826             description {
11827                state: "vertical_prev" 0.0;
11828                inherit: "default" 0.0;
11829                color: 255 255 255 255;
11830             }
11831             description {
11832                state: "square_prev_next_init" 0.0;
11833                inherit: "default" 0.0;
11834                rel1.relative: 0.5 0.5;
11835                rel2.relative: 0.5 0.5;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "square_prev_next" 0.0;
11840                inherit: "default" 0.0;
11841                rel1.relative: 0.0 0.0;
11842                rel2.relative: 1.0 1.0;
11843                color: 255 255 255 255;
11844             }
11845          }
11846          part { name: "elm.swallow.1";
11847             type: SWALLOW;
11848             clip_to: "image_1_whole";
11849             description {
11850                state: "default" 0.0;
11851                rel1.to: "image_1_whole";
11852                rel2.to: "image_1_whole";
11853                color: 255 255 255 255;
11854             }
11855             description {
11856                state: "not_fullscreen" 0.0;
11857                rel1.relative: 0.1 0.1;
11858                rel1.to: "image_1_whole";
11859                rel2.relative: 0.9 0.9;
11860                rel2.to: "image_1_whole";
11861                color: 255 255 255 255;
11862             }
11863          }
11864          part { name: "elm.swallow.2";
11865             type: SWALLOW;
11866             clip_to: "image_2_whole";
11867             description {
11868                state: "default" 0.0;
11869                color: 255 255 255 255;
11870                rel1.to: "image_2_whole";
11871                rel2.to: "image_2_whole";
11872             }
11873             description {
11874                state: "not_fullscreen" 0.0;
11875                color: 255 255 255 255;
11876                rel1.relative: 0.1 0.1;
11877                rel1.to: "image_2_whole";
11878                rel2.relative: 0.9 0.9;
11879                rel2.to: "image_2_whole";
11880             }
11881          }
11882          part { name: "events_catcher";
11883             type: RECT;
11884             repeat_events: 1;
11885             description {
11886                state: "default" 0.0;
11887                visible: 1;
11888                color: 0 0 0 0;
11889             }
11890          }
11891       }
11892       programs {
11893               //Substyle
11894               program { name: "layout_fullscreen";
11895             signal: "layout,fullscreen";
11896             source: "slideshow";
11897             action: STATE_SET "default" 0.0;
11898             target: "elm.swallow.1";
11899             target: "elm.swallow.2";
11900             transition: SINUSOIDAL 1.0;
11901         }
11902         program { name: "layout_not_fullscreen";
11903             signal: "layout,not_fullscreen";
11904             source: "slideshow";
11905             action: STATE_SET "not_fullscreen" 0.0;
11906             target: "elm.swallow.1";
11907             target: "elm.swallow.2";
11908             transition: SINUSOIDAL 1.0;
11909          }
11910                //
11911          program { name: "fade_next";
11912             signal: "fade,next";
11913             source: "slideshow";
11914             action: STATE_SET "default" 0.0;
11915             target: "image_1_whole";
11916             target: "image_2_whole";
11917             after: "fade_next_2";
11918          }
11919          program { name: "fade_next_2";
11920             action: STATE_SET "fade_prev_next" 0.0;
11921             target: "image_1_whole";
11922             target: "image_2_whole";
11923             transition: SINUSOIDAL 1.5;
11924             after: "end";
11925          }
11926          program { name: "fade_previous";
11927             signal: "fade,previous";
11928             source: "slideshow";
11929             action: STATE_SET "default" 0.0;
11930             target: "image_1_whole";
11931             target: "image_2_whole";
11932             after: "fade_previous_2";
11933          }
11934          program { name: "fade_previous_2";
11935             action: STATE_SET "fade_prev_next" 0.0;
11936             target: "image_1_whole";
11937             target: "image_2_whole";
11938             transition: SINUSOIDAL 1.5;
11939             after: "end";
11940          }
11941          program { name: "black_fade_next";
11942             signal: "black_fade,next";
11943             source: "slideshow";
11944             action: STATE_SET "black_fade_prev_next_init" 0.0;
11945             target: "image_1_whole";
11946             target: "image_2_whole";
11947             after: "black_fade_next_2";
11948          }
11949          program { name: "black_fade_next_2";
11950             action: STATE_SET "black_fade_prev_next" 0.0;
11951             target: "image_1_whole";
11952             transition: SINUSOIDAL 0.75;
11953             after: "black_fade_next_3";
11954          }
11955          program { name: "black_fade_next_3";
11956             action: STATE_SET "black_fade_prev_next" 0.0;
11957             target: "image_2_whole";
11958             transition: SINUSOIDAL 0.75;
11959             after: "end";
11960          }
11961          program { name: "black_fade_previous";
11962             signal: "black_fade,previous";
11963             source: "slideshow";
11964             action: STATE_SET "black_fade_prev_next_init" 0.0;
11965             target: "image_1_whole";
11966             target: "image_2_whole";
11967             after: "black_fade_previous_2";
11968          }
11969          program { name: "black_fade_previous_2";
11970             action: STATE_SET "black_fade_prev_next" 0.0;
11971             target: "image_1_whole";
11972             transition: SINUSOIDAL 0.75;
11973             after: "black_fade_previous_3";
11974          }
11975          program { name: "black_fade_previous_3";
11976             action: STATE_SET "black_fade_prev_next" 0.0;
11977             target: "image_2_whole";
11978             transition: SINUSOIDAL 0.75;
11979             after: "end";
11980          }
11981          program { name: "horizontal_next";
11982             signal: "horizontal,next";
11983             source: "slideshow";
11984             action: STATE_SET "horizontal_next_init" 0.0;
11985             target: "image_1_whole";
11986             target: "image_2_whole";
11987             after: "horizontal_next_2";
11988          }
11989          program { name: "horizontal_next_2";
11990             action: STATE_SET "horizontal_next" 0.0;
11991             target: "image_1_whole";
11992             target: "image_2_whole";
11993             transition: SINUSOIDAL 1.5;
11994             after: "end";
11995          }
11996          program { name: "horizontal_previous";
11997             signal: "horizontal,previous";
11998             source: "slideshow";
11999             action: STATE_SET "horizontal_prev_init" 0.0;
12000             target: "image_1_whole";
12001             target: "image_2_whole";
12002             after: "horizontal_previous_2";
12003          }
12004          program { name: "horizontal_previous_2";
12005             action: STATE_SET "horizontal_prev" 0.0;
12006             target: "image_1_whole";
12007             target: "image_2_whole";
12008             transition: SINUSOIDAL 1.5;
12009             after: "end";
12010          }
12011          program { name: "vertical_next";
12012             signal: "vertical,next";
12013             source: "slideshow";
12014             action: STATE_SET "vertical_next_init" 0.0;
12015             target: "image_1_whole";
12016             target: "image_2_whole";
12017             after: "vertical_next_2";
12018          }
12019          program { name: "vertical_next_2";
12020             action: STATE_SET "vertical_next" 0.0;
12021             target: "image_1_whole";
12022             target: "image_2_whole";
12023             transition: SINUSOIDAL 1.5;
12024             after: "end";
12025          }
12026          program { name: "vertical_previous";
12027             signal: "vertical,previous";
12028             source: "slideshow";
12029             action: STATE_SET "vertical_prev_init" 0.0;
12030             target: "image_1_whole";
12031             target: "image_2_whole";
12032             after: "vertical_previous_2";
12033          }
12034          program { name: "vertical_previous_2";
12035             action: STATE_SET "vertical_prev" 0.0;
12036             target: "image_1_whole";
12037             target: "image_2_whole";
12038             transition: SINUSOIDAL 1.5;
12039             after: "end";
12040          }
12041          program { name: "square_next";
12042             signal: "square,next";
12043             source: "slideshow";
12044             action: STATE_SET "square_prev_next_init" 0.0;
12045             target: "image_2_whole";
12046             after: "square_next_2";
12047          }
12048          program { name: "square_next_2";
12049             action: STATE_SET "square_prev_next" 0.0;
12050             target: "image_2_whole";
12051             target: "image_1_whole";
12052             transition: SINUSOIDAL 1.5;
12053             after: "end";
12054          }
12055          program { name: "square_previous";
12056             signal: "square,previous";
12057             source: "slideshow";
12058             action: STATE_SET "square_prev_next_init" 0.0;
12059             target: "image_2_whole";
12060             after: "square_next_2";
12061          }
12062          program { name: "end";
12063             action: SIGNAL_EMIT "end" "slideshow";
12064          }
12065          program { name: "end_signal";
12066             signal: "anim,end";
12067             source: "slideshow";
12068             action: STATE_SET "default" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071          }
12072       }
12073    }
12074
12075 ///////////////////////////////////////////////////////////////////////////////
12076    group { name: "elm/win/inwin/default";
12077       images {
12078          image: "shad_circ.png" COMP;
12079          image: "bt_dis_base.png" COMP;
12080          image: "bt_dis_hilight.png" COMP;
12081       }
12082       parts {
12083          part { name: "base";
12084             type: RECT;
12085             mouse_events: 1;
12086             description { state: "default" 0.0;
12087                color: 0 0 0 0;
12088             }
12089             description { state: "visible" 0.0;
12090                inherit: "default" 1.0;
12091                color: 0 0 0 64;
12092             }
12093          }
12094          part { name: "shad";
12095             mouse_events:  0;
12096             description { state: "default" 0.0;
12097                image.normal: "shad_circ.png";
12098                rel1.to: "elm.swallow.content";
12099                rel1.offset: -64 -64;
12100                rel2.to: "elm.swallow.content";
12101                rel2.offset: 63 63;
12102                fill.smooth: 0;
12103             }
12104          }
12105          part { name: "pop";
12106             mouse_events: 1;
12107             description { state: "default" 0.0;
12108                rel1.to: "elm.swallow.content";
12109                rel1.offset: -5 -5;
12110                rel2.to: "elm.swallow.content";
12111                rel2.offset: 4 4;
12112                image {
12113                   normal: "bt_dis_base.png";
12114                   border: 4 4 4 4;
12115                }
12116                image.middle: SOLID;
12117             }
12118          }
12119          part { name: "popover";
12120             mouse_events: 0;
12121             description { state: "default" 0.0;
12122                rel1.to: "pop";
12123                rel2.to: "pop";
12124                rel2.relative: 1.0 0.5;
12125                image {
12126                   normal: "bt_dis_hilight.png";
12127                   border: 4 4 4 0;
12128                }
12129             }
12130          }
12131          part { name: "elm.swallow.content";
12132             type: SWALLOW;
12133             description { state: "default" 0.0;
12134                rel1.relative: 0.1 0.1;
12135                rel2.relative: 0.9 0.9;
12136             }
12137          }
12138       }
12139       programs {
12140          program { name: "show";
12141             signal: "elm,action,show";
12142             source: "elm";
12143             action: STATE_SET "visible" 0.0;
12144 //            transition: DECELERATE 0.5;
12145             target: "base";
12146          }
12147          program { name: "hide";
12148             signal: "elm,action,hide";
12149             source: "elm";
12150             action: STATE_SET "default" 0.0;
12151 //            transition: DECELERATE 0.5;
12152             target: "base";
12153          }
12154       }
12155    }
12156
12157    group { name: "elm/win/inwin/minimal";
12158       images {
12159          image: "shad_circ.png" COMP;
12160          image: "bt_dis_base.png" COMP;
12161          image: "bt_dis_hilight.png" COMP;
12162       }
12163       parts {
12164          part { name: "base";
12165             type: RECT;
12166             mouse_events: 1;
12167             description { state: "default" 0.0;
12168                color: 0 0 0 0;
12169             }
12170             description { state: "visible" 0.0;
12171                inherit: "default" 1.0;
12172                color: 0 0 0 64;
12173             }
12174          }
12175          part { name: "shad";
12176             mouse_events:  0;
12177             description { state: "default" 0.0;
12178                image.normal: "shad_circ.png";
12179                rel1.to: "elm.swallow.content";
12180                rel1.offset: -64 -64;
12181                rel2.to: "elm.swallow.content";
12182                rel2.offset: 63 63;
12183                fill.smooth: 0;
12184             }
12185          }
12186          part { name: "pop";
12187             mouse_events: 1;
12188             description { state: "default" 0.0;
12189                rel1.to: "elm.swallow.content";
12190                rel1.offset: -5 -5;
12191                rel2.to: "elm.swallow.content";
12192                rel2.offset: 4 4;
12193                image {
12194                   normal: "bt_dis_base.png";
12195                   border: 4 4 4 4;
12196                }
12197                image.middle: SOLID;
12198             }
12199          }
12200          part { name: "popover";
12201             mouse_events: 0;
12202             description { state: "default" 0.0;
12203                rel1.to: "pop";
12204                rel2.to: "pop";
12205                rel2.relative: 1.0 0.5;
12206                image {
12207                   normal: "bt_dis_hilight.png";
12208                   border: 4 4 4 0;
12209                }
12210             }
12211          }
12212          part { name: "elm.swallow.content";
12213             type: SWALLOW;
12214             description { state: "default" 0.0;
12215                fixed: 1 1;
12216                rel1.relative: 0.5 0.5;
12217                rel2.relative: 0.5 0.5;
12218             }
12219          }
12220       }
12221       programs {
12222          program { name: "show";
12223             signal: "elm,action,show";
12224             source: "elm";
12225             action: STATE_SET "visible" 0.0;
12226 //            transition: DECELERATE 0.5;
12227             target: "base";
12228          }
12229          program { name: "hide";
12230             signal: "elm,action,hide";
12231             source: "elm";
12232             action: STATE_SET "default" 0.0;
12233 //            transition: DECELERATE 0.5;
12234             target: "base";
12235          }
12236       }
12237    }
12238
12239    group { name: "elm/win/inwin/minimal_vertical";
12240       images {
12241          image: "shad_circ.png" COMP;
12242          image: "bt_dis_base.png" COMP;
12243          image: "bt_dis_hilight.png" COMP;
12244       }
12245       parts {
12246          part { name: "base";
12247             type: RECT;
12248             mouse_events: 1;
12249             description { state: "default" 0.0;
12250                color: 0 0 0 0;
12251             }
12252             description { state: "visible" 0.0;
12253                inherit: "default" 1.0;
12254                color: 0 0 0 64;
12255             }
12256          }
12257          part { name: "shad";
12258             mouse_events:  0;
12259             description { state: "default" 0.0;
12260                image.normal: "shad_circ.png";
12261                rel1.to: "elm.swallow.content";
12262                rel1.offset: -64 -64;
12263                rel2.to: "elm.swallow.content";
12264                rel2.offset: 63 63;
12265                fill.smooth: 0;
12266             }
12267          }
12268          part { name: "pop";
12269             mouse_events: 1;
12270             description { state: "default" 0.0;
12271                rel1.to: "elm.swallow.content";
12272                rel1.offset: -5 -5;
12273                rel2.to: "elm.swallow.content";
12274                rel2.offset: 4 4;
12275                image {
12276                   normal: "bt_dis_base.png";
12277                   border: 4 4 4 4;
12278                }
12279                image.middle: SOLID;
12280             }
12281          }
12282          part { name: "popover";
12283             mouse_events: 0;
12284             description { state: "default" 0.0;
12285                rel1.to: "pop";
12286                rel2.to: "pop";
12287                rel2.relative: 1.0 0.5;
12288                image {
12289                   normal: "bt_dis_hilight.png";
12290                   border: 4 4 4 0;
12291                }
12292             }
12293          }
12294          part { name: "elm.swallow.content";
12295             type: SWALLOW;
12296             description { state: "default" 0.0;
12297                fixed: 1 1;
12298                rel1.relative: 0.1 0.5;
12299                rel2.relative: 0.9 0.5;
12300             }
12301          }
12302       }
12303       programs {
12304          program { name: "show";
12305             signal: "elm,action,show";
12306             source: "elm";
12307             action: STATE_SET "visible" 0.0;
12308 //            transition: DECELERATE 0.5;
12309             target: "base";
12310          }
12311          program { name: "hide";
12312             signal: "elm,action,hide";
12313             source: "elm";
12314             action: STATE_SET "default" 0.0;
12315 //            transition: DECELERATE 0.5;
12316             target: "base";
12317          }
12318       }
12319    }
12320
12321 ///////////////////////////////////////////////////////////////////////////////
12322
12323 ///////////////////////////////////////////////////////////////////////////////
12324    group { name: "elm/list/item/default";
12325       data.item: "stacking" "above";
12326       images {
12327          image: "bt_sm_base1.png" COMP;
12328          image: "bt_sm_shine.png" COMP;
12329          image: "bt_sm_hilight.png" COMP;
12330          image: "ilist_1.png" COMP;
12331          image: "ilist_item_shadow.png" COMP;
12332       }
12333       parts {
12334          part {
12335             name:           "event";
12336             type:           RECT;
12337             repeat_events: 1;
12338             description {
12339                state: "default" 0.0;
12340                color: 0 0 0 0;
12341             }
12342          }
12343          part {
12344             name: "base_sh";
12345             mouse_events: 0;
12346             description {
12347                state: "default" 0.0;
12348                align: 0.0 0.0;
12349                min: 0 10;
12350                fixed: 1 1;
12351                rel1 {
12352                   to: "base";
12353                   relative: 0.0 1.0;
12354                   offset: 0 0;
12355                }
12356                rel2 {
12357                   to: "base";
12358                   relative: 1.0 1.0;
12359                   offset: -1 0;
12360                }
12361                image {
12362                   normal: "ilist_item_shadow.png";
12363                }
12364                fill.smooth: 0;
12365             }
12366          }
12367          part {
12368             name: "base";
12369             mouse_events: 0;
12370             description {
12371                state: "default" 0.0;
12372                image {
12373                   normal: "ilist_1.png";
12374                   border: 2 2 2 2;
12375                }
12376                fill.smooth: 0;
12377             }
12378          }
12379          part { name: "bg";
12380             mouse_events: 0;
12381             description { state: "default" 0.0;
12382                visible: 0;
12383                color: 255 255 255 0;
12384                rel1 {
12385                   relative: 0.0 0.0;
12386                   offset: -5 -5;
12387                }
12388                rel2 {
12389                   relative: 1.0 1.0;
12390                   offset: 4 4;
12391                }
12392                image {
12393                   normal: "bt_sm_base1.png";
12394                   border: 6 6 6 6;
12395                }
12396                image.middle: SOLID;
12397             }
12398             description { state: "selected" 0.0;
12399                inherit: "default" 0.0;
12400                visible: 1;
12401                color: 255 255 255 255;
12402                rel1 {
12403                   relative: 0.0 0.0;
12404                   offset: -2 -2;
12405                }
12406                rel2 {
12407                   relative: 1.0 1.0;
12408                   offset: 1 1;
12409                }
12410             }
12411          }
12412          part { name: "elm.swallow.icon";
12413             type: SWALLOW;
12414             description { state: "default" 0.0;
12415                fixed: 1 0;
12416                align: 0.0 0.5;
12417                rel1 {
12418                   relative: 0.0  0.0;
12419                   offset:   4    4;
12420                }
12421                rel2 {
12422                   relative: 0.0  1.0;
12423                   offset:   4   -5;
12424                }
12425             }
12426          }
12427          part { name: "elm.swallow.end";
12428             type: SWALLOW;
12429             description { state: "default" 0.0;
12430                fixed: 1 0;
12431                align: 1.0 0.5;
12432                rel1 {
12433                   relative: 1.0  0.0;
12434                   offset:   -5    4;
12435                }
12436                rel2 {
12437                   relative: 1.0  1.0;
12438                   offset:   -5   -5;
12439                }
12440             }
12441          }
12442          part { name: "elm.text";
12443             type:           TEXT;
12444             effect:         SOFT_SHADOW;
12445             mouse_events:   0;
12446             scale: 1;
12447             description {
12448                state: "default" 0.0;
12449 //               min: 16 16;
12450                rel1 {
12451                   to_x:     "elm.swallow.icon";
12452                   relative: 1.0  0.0;
12453                   offset:   4 4;
12454                }
12455                rel2 {
12456                   to_x:     "elm.swallow.end";
12457                   relative: 0.0  1.0;
12458                   offset:   -1 -5;
12459                }
12460                color: 0 0 0 255;
12461                color3: 0 0 0 0;
12462                text {
12463                   font: "Sans";
12464                   size: 10;
12465                   min: 1 1;
12466 //                  min: 0 1;
12467                   align: -1.0 0.5;
12468                   text_class: "list_item";
12469                }
12470             }
12471             description { state: "selected" 0.0;
12472                inherit: "default" 0.0;
12473                color: 224 224 224 255;
12474                color3: 0 0 0 64;
12475             }
12476          }
12477          part { name: "fg1";
12478             mouse_events: 0;
12479             description { state: "default" 0.0;
12480                visible: 0;
12481                color: 255 255 255 0;
12482                rel1.to: "bg";
12483                rel2.relative: 1.0 0.5;
12484                rel2.to: "bg";
12485                image {
12486                   normal: "bt_sm_hilight.png";
12487                   border: 6 6 6 0;
12488                }
12489             }
12490             description { state: "selected" 0.0;
12491                inherit: "default" 0.0;
12492                visible: 1;
12493                color: 255 255 255 255;
12494             }
12495          }
12496          part { name: "fg2";
12497             mouse_events: 0;
12498             description { state: "default" 0.0;
12499                visible: 0;
12500                color: 255 255 255 0;
12501                rel1.to: "bg";
12502                rel2.to: "bg";
12503                image {
12504                   normal: "bt_sm_shine.png";
12505                   border: 6 6 6 0;
12506                }
12507             }
12508             description { state: "selected" 0.0;
12509                inherit: "default" 0.0;
12510                visible: 1;
12511                color: 255 255 255 255;
12512             }
12513          }
12514       }
12515       programs {
12516          program {
12517             name:    "go_active";
12518             signal:  "elm,state,selected";
12519             source:  "elm";
12520             action:  STATE_SET "selected" 0.0;
12521             target:  "bg";
12522             target:  "fg1";
12523             target:  "fg2";
12524             target:  "elm.text";
12525          }
12526          program {
12527             name:    "go_passive";
12528             signal:  "elm,state,unselected";
12529             source:  "elm";
12530             action:  STATE_SET "default" 0.0;
12531             target:  "bg";
12532             target:  "fg1";
12533             target:  "fg2";
12534             target:  "elm.text";
12535             transition: LINEAR 0.1;
12536          }
12537       }
12538    }
12539    group { name: "elm/list/item_odd/default";
12540       data.item: "stacking" "below";
12541       data.item: "selectraise" "on";
12542       images {
12543          image: "bt_sm_base1.png" COMP;
12544          image: "bt_sm_shine.png" COMP;
12545          image: "bt_sm_hilight.png" COMP;
12546          image: "ilist_2.png" COMP;
12547       }
12548       parts {
12549          part {
12550             name:           "event";
12551             type:           RECT;
12552             repeat_events: 1;
12553             description {
12554                state: "default" 0.0;
12555                color: 0 0 0 0;
12556             }
12557          }
12558          part {
12559             name: "base";
12560             mouse_events: 0;
12561             description {
12562                state: "default" 0.0;
12563                image {
12564                   normal: "ilist_2.png";
12565                   border: 2 2 2 2;
12566                }
12567                fill.smooth: 0;
12568             }
12569          }
12570          part { name: "bg";
12571             mouse_events: 0;
12572             description { state: "default" 0.0;
12573                visible: 0;
12574                color: 255 255 255 0;
12575                rel1 {
12576                   relative: 0.0 0.0;
12577                   offset: -5 -5;
12578                }
12579                rel2 {
12580                   relative: 1.0 1.0;
12581                   offset: 4 4;
12582                }
12583                image {
12584                   normal: "bt_sm_base1.png";
12585                   border: 6 6 6 6;
12586                }
12587                image.middle: SOLID;
12588             }
12589             description { state: "selected" 0.0;
12590                inherit: "default" 0.0;
12591                visible: 1;
12592                color: 255 255 255 255;
12593                rel1 {
12594                   relative: 0.0 0.0;
12595                   offset: -2 -2;
12596                }
12597                rel2 {
12598                   relative: 1.0 1.0;
12599                   offset: 1 1;
12600                }
12601             }
12602          }
12603          part {
12604             name:          "elm.swallow.icon";
12605             type:          SWALLOW;
12606             description { state:    "default" 0.0;
12607                fixed: 1 0;
12608                align:    0.0 0.5;
12609                rel1 {
12610                   relative: 0.0  0.0;
12611                   offset:   4    4;
12612                }
12613                rel2 {
12614                   relative: 0.0  1.0;
12615                   offset:   4   -5;
12616                }
12617             }
12618          }
12619          part {
12620             name:          "elm.swallow.end";
12621             type:          SWALLOW;
12622             description { state:    "default" 0.0;
12623                fixed: 1 0;
12624                align: 1.0 0.5;
12625                rel1 {
12626                   relative: 1.0  0.0;
12627                   offset:   -5    4;
12628                }
12629                rel2 {
12630                   relative: 1.0  1.0;
12631                   offset:   -5   -5;
12632                }
12633             }
12634          }
12635          part {
12636             name:           "elm.text";
12637             type:           TEXT;
12638             effect:         SOFT_SHADOW;
12639             mouse_events:   0;
12640             scale: 1;
12641             description {
12642                state: "default" 0.0;
12643 //               min:      16 16;
12644                rel1 {
12645                   to_x:     "elm.swallow.icon";
12646                   relative: 1.0  0.0;
12647                   offset:   4 4;
12648                }
12649                rel2 {
12650                   to_x:     "elm.swallow.end";
12651                   relative: 0.0  1.0;
12652                   offset:   -1 -5;
12653                }
12654                color: 0 0 0 255;
12655                color3: 0 0 0 0;
12656                text {
12657                   font: "Sans";
12658                   size: 10;
12659                   min: 1 1;
12660 //                  min: 0 1;
12661                   align: -1.0 0.5;
12662                   text_class: "list_item";
12663                }
12664             }
12665             description { state: "selected" 0.0;
12666                inherit: "default" 0.0;
12667                color: 224 224 224 255;
12668                color3: 0 0 0 64;
12669             }
12670          }
12671          part { name: "fg1";
12672             mouse_events: 0;
12673             description { state: "default" 0.0;
12674                visible: 0;
12675                color: 255 255 255 0;
12676                rel1.to: "bg";
12677                rel2.relative: 1.0 0.5;
12678                rel2.to: "bg";
12679                image {
12680                   normal: "bt_sm_hilight.png";
12681                   border: 6 6 6 0;
12682                }
12683             }
12684             description { state: "selected" 0.0;
12685                inherit: "default" 0.0;
12686                visible: 1;
12687                color: 255 255 255 255;
12688             }
12689          }
12690          part { name: "fg2";
12691             mouse_events: 0;
12692             description { state: "default" 0.0;
12693                visible: 0;
12694                color: 255 255 255 0;
12695                rel1.to: "bg";
12696                rel2.to: "bg";
12697                image {
12698                   normal: "bt_sm_shine.png";
12699                   border: 6 6 6 0;
12700                }
12701             }
12702             description { state: "selected" 0.0;
12703                inherit: "default" 0.0;
12704                visible: 1;
12705                color: 255 255 255 255;
12706             }
12707          }
12708       }
12709       programs {
12710          program {
12711             name:    "go_active";
12712             signal:  "elm,state,selected";
12713             source:  "elm";
12714             action:  STATE_SET "selected" 0.0;
12715             target:  "bg";
12716             target:  "fg1";
12717             target:  "fg2";
12718             target:  "elm.text";
12719          }
12720          program {
12721             name:    "go_passive";
12722             signal:  "elm,state,unselected";
12723             source:  "elm";
12724             action:  STATE_SET "default" 0.0;
12725             target:  "bg";
12726             target:  "fg1";
12727             target:  "fg2";
12728             target:  "elm.text";
12729             transition: LINEAR 0.1;
12730          }
12731       }
12732    }
12733    group { name: "elm/list/item_compress/default";
12734       data.item: "stacking" "above";
12735       data.item: "selectraise" "on";
12736       images {
12737          image: "bt_sm_base1.png" COMP;
12738          image: "bt_sm_shine.png" COMP;
12739          image: "bt_sm_hilight.png" COMP;
12740          image: "ilist_1.png" COMP;
12741          image: "ilist_item_shadow.png" COMP;
12742       }
12743       parts {
12744          part {
12745             name:           "event";
12746             type:           RECT;
12747             repeat_events: 1;
12748             description {
12749                state: "default" 0.0;
12750                color: 0 0 0 0;
12751             }
12752          }
12753          part {
12754             name: "base_sh";
12755             mouse_events: 0;
12756             description { state: "default" 0.0;
12757                fixed: 1 1;
12758                align: 0.0 0.0;
12759                min: 0 10;
12760                rel1 {
12761                   to: "base";
12762                   relative: 0.0 1.0;
12763                   offset: 0 0;
12764                }
12765                rel2 {
12766                   to: "base";
12767                   relative: 1.0 1.0;
12768                   offset: -1 0;
12769                }
12770                image {
12771                   normal: "ilist_item_shadow.png";
12772                }
12773                fill.smooth: 0;
12774             }
12775          }
12776          part {
12777             name: "base";
12778             mouse_events: 0;
12779             description {
12780                state: "default" 0.0;
12781                image {
12782                   normal: "ilist_1.png";
12783                   border: 2 2 2 2;
12784                }
12785                fill.smooth: 0;
12786             }
12787          }
12788          part { name: "bg";
12789             mouse_events: 0;
12790             description { state: "default" 0.0;
12791                visible: 0;
12792                color: 255 255 255 0;
12793                rel1 {
12794                   relative: 0.0 0.0;
12795                   offset: -5 -5;
12796                }
12797                rel2 {
12798                   relative: 1.0 1.0;
12799                   offset: 4 4;
12800                }
12801                image {
12802                   normal: "bt_sm_base1.png";
12803                   border: 6 6 6 6;
12804                }
12805                image.middle: SOLID;
12806             }
12807             description { state: "selected" 0.0;
12808                inherit: "default" 0.0;
12809                visible: 1;
12810                color: 255 255 255 255;
12811                rel1 {
12812                   relative: 0.0 0.0;
12813                   offset: -2 -2;
12814                }
12815                rel2 {
12816                   relative: 1.0 1.0;
12817                   offset: 1 1;
12818                }
12819             }
12820          }
12821          part { name:          "elm.swallow.icon";
12822             type:          SWALLOW;
12823             description { state:    "default" 0.0;
12824                fixed: 1 0;
12825                align:    0.0 0.5;
12826                rel1 {
12827                   relative: 0.0  0.0;
12828                   offset:   4    4;
12829                }
12830                rel2 {
12831                   relative: 0.0  1.0;
12832                   offset:   4   -5;
12833                }
12834             }
12835          }
12836          part { name:          "elm.swallow.end";
12837             type:          SWALLOW;
12838             description { state:    "default" 0.0;
12839                fixed: 1 0;
12840                align:    1.0 0.5;
12841                rel1 {
12842                   relative: 1.0  0.0;
12843                   offset:   -5    4;
12844                }
12845                rel2 {
12846                   relative: 1.0  1.0;
12847                   offset:   -5   -5;
12848                }
12849             }
12850          }
12851          part {
12852             name:           "elm.text";
12853             type:           TEXT;
12854             effect:         SOFT_SHADOW;
12855             mouse_events:   0;
12856             scale: 1;
12857             description { state: "default" 0.0;
12858 //               min:      16 16;
12859                rel1 {
12860                   to_x:     "elm.swallow.icon";
12861                   relative: 1.0  0.0;
12862                   offset:   4 4;
12863                }
12864                rel2 {
12865                   to_x:     "elm.swallow.end";
12866                   relative: 0.0  1.0;
12867                   offset:   -1 -5;
12868                }
12869                color: 0 0 0 255;
12870                color3: 0 0 0 0;
12871                text {
12872                   font: "Sans";
12873                   size: 10;
12874 //                  min: 1 1;
12875                   min: 0 1;
12876                   align: 0.0 0.5;
12877                   text_class: "list_item";
12878                }
12879             }
12880             description { state: "selected" 0.0;
12881                inherit: "default" 0.0;
12882                color: 224 224 224 255;
12883                color3: 0 0 0 64;
12884             }
12885          }
12886          part { name: "fg1";
12887             mouse_events: 0;
12888             description { state: "default" 0.0;
12889                visible: 0;
12890                color: 255 255 255 0;
12891                rel1.to: "bg";
12892                rel2.relative: 1.0 0.5;
12893                rel2.to: "bg";
12894                image {
12895                   normal: "bt_sm_hilight.png";
12896                   border: 6 6 6 0;
12897                }
12898             }
12899             description { state: "selected" 0.0;
12900                inherit: "default" 0.0;
12901                visible: 1;
12902                color: 255 255 255 255;
12903             }
12904          }
12905          part { name: "fg2";
12906             mouse_events: 0;
12907             description { state: "default" 0.0;
12908                visible: 0;
12909                color: 255 255 255 0;
12910                rel1.to: "bg";
12911                rel2.to: "bg";
12912                image {
12913                   normal: "bt_sm_shine.png";
12914                   border: 6 6 6 0;
12915                }
12916             }
12917             description { state: "selected" 0.0;
12918                inherit: "default" 0.0;
12919                visible: 1;
12920                color: 255 255 255 255;
12921             }
12922          }
12923       }
12924       programs {
12925          program {
12926             name:    "go_active";
12927             signal:  "elm,state,selected";
12928             source:  "elm";
12929             action:  STATE_SET "selected" 0.0;
12930             target:  "bg";
12931             target:  "fg1";
12932             target:  "fg2";
12933             target:  "elm.text";
12934          }
12935          program {
12936             name:    "go_passive";
12937             signal:  "elm,state,unselected";
12938             source:  "elm";
12939             action:  STATE_SET "default" 0.0;
12940             target:  "bg";
12941             target:  "fg1";
12942             target:  "fg2";
12943             target:  "elm.text";
12944             transition: LINEAR 0.1;
12945          }
12946       }
12947    }
12948    group { name: "elm/list/item_compress_odd/default";
12949       data.item: "stacking" "below";
12950       data.item: "selectraise" "on";
12951       images {
12952          image: "bt_sm_base1.png" COMP;
12953          image: "bt_sm_shine.png" COMP;
12954          image: "bt_sm_hilight.png" COMP;
12955          image: "ilist_2.png" COMP;
12956       }
12957       parts {
12958          part {
12959             name:           "event";
12960             type:           RECT;
12961             repeat_events: 1;
12962             description {
12963                state: "default" 0.0;
12964                color: 0 0 0 0;
12965             }
12966          }
12967          part {
12968             name: "base";
12969             mouse_events: 0;
12970             description {
12971                state: "default" 0.0;
12972                image {
12973                   normal: "ilist_2.png";
12974                   border: 2 2 2 2;
12975                }
12976                fill.smooth: 0;
12977             }
12978          }
12979          part { name: "bg";
12980             mouse_events: 0;
12981             description { state: "default" 0.0;
12982                visible: 0;
12983                color: 255 255 255 0;
12984                rel1 {
12985                   relative: 0.0 0.0;
12986                   offset: -5 -5;
12987                }
12988                rel2 {
12989                   relative: 1.0 1.0;
12990                   offset: 4 4;
12991                }
12992                image {
12993                   normal: "bt_sm_base1.png";
12994                   border: 6 6 6 6;
12995                }
12996                image.middle: SOLID;
12997             }
12998             description { state: "selected" 0.0;
12999                inherit: "default" 0.0;
13000                visible: 1;
13001                color: 255 255 255 255;
13002                rel1 {
13003                   relative: 0.0 0.0;
13004                   offset: -2 -2;
13005                }
13006                rel2 {
13007                   relative: 1.0 1.0;
13008                   offset: 1 1;
13009                }
13010             }
13011          }
13012          part { name:          "elm.swallow.icon";
13013             type:          SWALLOW;
13014             description { state:    "default" 0.0;
13015                fixed: 1 0;
13016                align:    0.0 0.5;
13017                rel1 {
13018                   relative: 0.0  0.0;
13019                   offset:   4    4;
13020                }
13021                rel2 {
13022                   relative: 0.0  1.0;
13023                   offset:   4   -5;
13024                }
13025             }
13026          }
13027          part { name:          "elm.swallow.end";
13028             type:          SWALLOW;
13029             description { state:    "default" 0.0;
13030                fixed: 1 0;
13031                align:    1.0 0.5;
13032                rel1 {
13033                   relative: 1.0  0.0;
13034                   offset:   -5    4;
13035                }
13036                rel2 {
13037                   relative: 1.0  1.0;
13038                   offset:   -5   -5;
13039                }
13040             }
13041          }
13042          part {
13043             name:           "elm.text";
13044             type:           TEXT;
13045             effect:         SOFT_SHADOW;
13046             mouse_events:   0;
13047             scale: 1;
13048             description {
13049                state: "default" 0.0;
13050 //               min:      16 16;
13051                rel1 {
13052                   to_x:     "elm.swallow.icon";
13053                   relative: 1.0  0.0;
13054                   offset:   4 4;
13055                }
13056                rel2 {
13057                   to_x:     "elm.swallow.end";
13058                   relative: 0.0  1.0;
13059                   offset:   -1 -5;
13060                }
13061                color: 0 0 0 255;
13062                color3: 0 0 0 0;
13063                text {
13064                   font: "Sans";
13065                   size: 10;
13066 //                  min: 1 1;
13067                   min: 0 1;
13068                   align: 0.0 0.5;
13069                   text_class: "list_item";
13070                }
13071             }
13072             description { state: "selected" 0.0;
13073                inherit: "default" 0.0;
13074                color: 224 224 224 255;
13075                color3: 0 0 0 64;
13076             }
13077          }
13078          part { name: "fg1";
13079             mouse_events: 0;
13080             description { state: "default" 0.0;
13081                visible: 0;
13082                color: 255 255 255 0;
13083                rel1.to: "bg";
13084                rel2.relative: 1.0 0.5;
13085                rel2.to: "bg";
13086                image {
13087                   normal: "bt_sm_hilight.png";
13088                   border: 6 6 6 0;
13089                }
13090             }
13091             description { state: "selected" 0.0;
13092                inherit: "default" 0.0;
13093                visible: 1;
13094                color: 255 255 255 255;
13095             }
13096          }
13097          part { name: "fg2";
13098             mouse_events: 0;
13099             description { state: "default" 0.0;
13100                visible: 0;
13101                color: 255 255 255 0;
13102                rel1.to: "bg";
13103                rel2.to: "bg";
13104                image {
13105                   normal: "bt_sm_shine.png";
13106                   border: 6 6 6 0;
13107                }
13108             }
13109             description { state: "selected" 0.0;
13110                inherit: "default" 0.0;
13111                visible: 1;
13112                color: 255 255 255 255;
13113             }
13114          }
13115       }
13116       programs {
13117          program {
13118             name:    "go_active";
13119             signal:  "elm,state,selected";
13120             source:  "elm";
13121             action:  STATE_SET "selected" 0.0;
13122             target:  "bg";
13123             target:  "fg1";
13124             target:  "fg2";
13125             target:  "elm.text";
13126          }
13127          program {
13128             name:    "go_passive";
13129             signal:  "elm,state,unselected";
13130             source:  "elm";
13131             action:  STATE_SET "default" 0.0;
13132             target:  "bg";
13133             target:  "fg1";
13134             target:  "fg2";
13135             target:  "elm.text";
13136             transition: LINEAR 0.1;
13137          }
13138       }
13139    }
13140
13141 ///////////////////////////////////////////////////////////////////////////////
13142    group { name: "elm/list/h_item/default";
13143       data.item: "stacking" "above";
13144       images {
13145          image: "bt_sm_base1.png" COMP;
13146          image: "bt_sm_shine.png" COMP;
13147          image: "bt_sm_hilight.png" COMP;
13148          image: "ilist_1_h.png" COMP;
13149          image: "ilist_item_shadow_h.png" COMP;
13150       }
13151       parts {
13152          part {
13153             name: "event";
13154             type: RECT;
13155             repeat_events: 1;
13156             description {
13157                state: "default" 0.0;
13158                color: 0 0 0 0;
13159             }
13160          }
13161          part {
13162             name: "base_sh";
13163             mouse_events: 0;
13164             description {
13165                state: "default" 0.0;
13166                align: 0.0 0.0;
13167                min: 10 0;
13168                fixed: 1 1;
13169                rel1 {
13170                   to: "base";
13171                   relative: 1.0 0.0;
13172                   offset: 0 0;
13173                }
13174                rel2 {
13175                   to: "base";
13176                   relative: 1.0 1.0;
13177                   offset: 0 -1;
13178                }
13179                image {
13180                   normal: "ilist_item_shadow_h.png";
13181                }
13182                fill.smooth: 0;
13183             }
13184          }
13185          part {
13186             name: "base";
13187             mouse_events: 0;
13188             description {
13189                state: "default" 0.0;
13190                image {
13191                   normal: "ilist_1_h.png";
13192                   border: 2 2 2 2;
13193                }
13194                fill.smooth: 0;
13195             }
13196          }
13197          part { name: "bg";
13198             mouse_events: 0;
13199             description { state: "default" 0.0;
13200                visible: 0;
13201                color: 255 255 255 0;
13202                rel1 {
13203                   relative: 0.0 0.0;
13204                   offset: -5 -5;
13205                }
13206                rel2 {
13207                   relative: 1.0 1.0;
13208                   offset: 4 4;
13209                }
13210                image {
13211                   normal: "bt_sm_base1.png";
13212                   border: 6 6 6 6;
13213                }
13214                image.middle: SOLID;
13215             }
13216             description { state: "selected" 0.0;
13217                inherit: "default" 0.0;
13218                visible: 1;
13219                color: 255 255 255 255;
13220                rel1 {
13221                   relative: 0.0 0.0;
13222                   offset: -2 -2;
13223                }
13224                rel2 {
13225                   relative: 1.0 1.0;
13226                   offset: 1 1;
13227                }
13228             }
13229          }
13230          part { name: "elm.swallow.icon";
13231             type: SWALLOW;
13232             description { state: "default" 0.0;
13233                fixed: 0 1;
13234                align: 0.5 0.0;
13235                rel1 {
13236                   relative: 0.0 0.0;
13237                   offset: 4 4;
13238                }
13239                rel2 {
13240                   relative: 1.0 0.0;
13241                   offset: -5 4;
13242                }
13243             }
13244          }
13245          part { name: "elm.swallow.end";
13246             type: SWALLOW;
13247             description { state: "default" 0.0;
13248                fixed: 0 1;
13249                align: 0.5 1.0;
13250                rel1 {
13251                   relative: 0.0 1.0;
13252                   offset: 4 -5;
13253                }
13254                rel2 {
13255                   relative: 1.0 1.0;
13256                   offset: -5 -5;
13257                }
13258             }
13259          }
13260          part { name: "elm.text";
13261             type: TEXT;
13262             effect: SOFT_SHADOW;
13263             mouse_events: 0;
13264             scale: 1;
13265             description {
13266                state: "default" 0.0;
13267                fixed: 0 1;
13268                rel1 {
13269                   to_x: "elm.swallow.icon";
13270                   relative: 0.0 1.0;
13271                   offset: 4 4;
13272                }
13273                rel2 {
13274                   to_x: "elm.swallow.end";
13275                   relative: 1.0 0.0;
13276                   offset: -5 -1;
13277                }
13278                color: 0 0 0 255;
13279                color3: 0 0 0 0;
13280                text {
13281                   font: "Sans";
13282                   size: 10;
13283                   min: 1 1;
13284                   align: 0.5 0.5;
13285                   text_class: "list_item";
13286                }
13287             }
13288             description { state: "selected" 0.0;
13289                inherit: "default" 0.0;
13290                color: 224 224 224 255;
13291                color3: 0 0 0 64;
13292             }
13293          }
13294          part { name: "fg1";
13295             mouse_events: 0;
13296             description { state: "default" 0.0;
13297                visible: 0;
13298                color: 255 255 255 0;
13299                rel1.to: "bg";
13300                rel2.relative: 1.0 0.5;
13301                rel2.to: "bg";
13302                image {
13303                   normal: "bt_sm_hilight.png";
13304                   border: 6 6 6 0;
13305                }
13306             }
13307             description { state: "selected" 0.0;
13308                inherit: "default" 0.0;
13309                visible: 1;
13310                color: 255 255 255 255;
13311             }
13312          }
13313          part { name: "fg2";
13314             mouse_events: 0;
13315             description { state: "default" 0.0;
13316                visible: 0;
13317                color: 255 255 255 0;
13318                rel1.to: "bg";
13319                rel2.to: "bg";
13320                image {
13321                   normal: "bt_sm_shine.png";
13322                   border: 6 6 6 0;
13323                }
13324             }
13325             description { state: "selected" 0.0;
13326                inherit: "default" 0.0;
13327                visible: 1;
13328                color: 255 255 255 255;
13329             }
13330          }
13331       }
13332       programs {
13333          program {
13334             name: "go_active";
13335             signal: "elm,state,selected";
13336             source: "elm";
13337             action: STATE_SET "selected" 0.0;
13338             target: "bg";
13339             target: "fg1";
13340             target: "fg2";
13341             target: "elm.text";
13342          }
13343          program {
13344             name: "go_passive";
13345             signal: "elm,state,unselected";
13346             source: "elm";
13347             action: STATE_SET "default" 0.0;
13348             target: "bg";
13349             target: "fg1";
13350             target: "fg2";
13351             target: "elm.text";
13352             transition: LINEAR 0.1;
13353          }
13354       }
13355    }
13356    group { name: "elm/list/h_item_odd/default";
13357       data.item: "stacking" "below";
13358       data.item: "selectraise" "on";
13359       images {
13360          image: "bt_sm_base1.png" COMP;
13361          image: "bt_sm_shine.png" COMP;
13362          image: "bt_sm_hilight.png" COMP;
13363          image: "ilist_2_h.png" COMP;
13364       }
13365       parts {
13366          part {
13367             name: "event";
13368             type: RECT;
13369             repeat_events: 1;
13370             description {
13371                state: "default" 0.0;
13372                color: 0 0 0 0;
13373             }
13374          }
13375          part {
13376             name: "base";
13377             mouse_events: 0;
13378             description {
13379                state: "default" 0.0;
13380                image {
13381                   normal: "ilist_2_h.png";
13382                   border: 2 2 2 2;
13383                }
13384                fill.smooth: 0;
13385             }
13386          }
13387          part { name: "bg";
13388             mouse_events: 0;
13389             description { state: "default" 0.0;
13390                visible: 0;
13391                color: 255 255 255 0;
13392                rel1 {
13393                   relative: 0.0 0.0;
13394                   offset: -5 -5;
13395                }
13396                rel2 {
13397                   relative: 1.0 1.0;
13398                   offset: 4 4;
13399                }
13400                image {
13401                   normal: "bt_sm_base1.png";
13402                   border: 6 6 6 6;
13403                }
13404                image.middle: SOLID;
13405             }
13406             description { state: "selected" 0.0;
13407                inherit: "default" 0.0;
13408                visible: 1;
13409                color: 255 255 255 255;
13410                rel1 {
13411                   relative: 0.0 0.0;
13412                   offset: -2 -2;
13413                }
13414                rel2 {
13415                   relative: 1.0 1.0;
13416                   offset: 1 1;
13417                }
13418             }
13419          }
13420          part {
13421             name: "elm.swallow.icon";
13422             type: SWALLOW;
13423             description { state: "default" 0.0;
13424                fixed: 0 1;
13425                align: 0.5 0.0;
13426                rel1 {
13427                   relative: 0.0 0.0;
13428                   offset: 4 4;
13429                }
13430                rel2 {
13431                   relative: 1.0 0.0;
13432                   offset: -5 4;
13433                }
13434             }
13435          }
13436          part {
13437             name: "elm.swallow.end";
13438             type: SWALLOW;
13439             description { state: "default" 0.0;
13440                fixed: 0 1;
13441                align: 0.5 1.0;
13442                rel1 {
13443                   relative: 0.0 1.0;
13444                   offset: 4 -5;
13445                }
13446                rel2 {
13447                   relative: 1.0 1.0;
13448                   offset: -5 -5;
13449                }
13450             }
13451          }
13452          part { name: "elm.text";
13453             type: TEXT;
13454             effect: SOFT_SHADOW;
13455             mouse_events: 0;
13456             scale: 1;
13457             description {
13458                state: "default" 0.0;
13459                fixed: 1 1;
13460                rel1 {
13461                   to_x: "elm.swallow.icon";
13462                   relative: 0.0 1.0;
13463                   offset: 4 4;
13464                }
13465                rel2 {
13466                   to_x: "elm.swallow.end";
13467                   relative: 1.0 0.0;
13468                   offset: -5 -1;
13469                }
13470                color: 0 0 0 255;
13471                color3: 0 0 0 0;
13472                text {
13473                   font: "Sans";
13474                   size: 10;
13475                   min: 1 1;
13476                   align: 0.5 0.5;
13477                   text_class: "list_item";
13478                }
13479             }
13480             description { state: "selected" 0.0;
13481                inherit: "default" 0.0;
13482                color: 224 224 224 255;
13483                color3: 0 0 0 64;
13484             }
13485          }
13486          part { name: "fg1";
13487             mouse_events: 0;
13488             description { state: "default" 0.0;
13489                visible: 0;
13490                color: 255 255 255 0;
13491                rel1.to: "bg";
13492                rel2.relative: 1.0 0.5;
13493                rel2.to: "bg";
13494                image {
13495                   normal: "bt_sm_hilight.png";
13496                   border: 6 6 6 0;
13497                }
13498             }
13499             description { state: "selected" 0.0;
13500                inherit: "default" 0.0;
13501                visible: 1;
13502                color: 255 255 255 255;
13503             }
13504          }
13505          part { name: "fg2";
13506             mouse_events: 0;
13507             description { state: "default" 0.0;
13508                visible: 0;
13509                color: 255 255 255 0;
13510                rel1.to: "bg";
13511                rel2.to: "bg";
13512                image {
13513                   normal: "bt_sm_shine.png";
13514                   border: 6 6 6 0;
13515                }
13516             }
13517             description { state: "selected" 0.0;
13518                inherit: "default" 0.0;
13519                visible: 1;
13520                color: 255 255 255 255;
13521             }
13522          }
13523       }
13524       programs {
13525          program {
13526             name: "go_active";
13527             signal: "elm,state,selected";
13528             source: "elm";
13529             action: STATE_SET "selected" 0.0;
13530             target: "bg";
13531             target: "fg1";
13532             target: "fg2";
13533             target: "elm.text";
13534          }
13535          program {
13536             name: "go_passive";
13537             signal: "elm,state,unselected";
13538             source: "elm";
13539             action: STATE_SET "default" 0.0;
13540             target: "bg";
13541             target: "fg1";
13542             target: "fg2";
13543             target: "elm.text";
13544             transition: LINEAR 0.1;
13545          }
13546       }
13547    }
13548    group { name: "elm/list/h_item_compress/default";
13549       data.item: "stacking" "above";
13550       data.item: "selectraise" "on";
13551       images {
13552          image: "bt_sm_base1.png" COMP;
13553          image: "bt_sm_shine.png" COMP;
13554          image: "bt_sm_hilight.png" COMP;
13555          image: "ilist_1_h.png" COMP;
13556          image: "ilist_item_shadow_h.png" COMP;
13557       }
13558       parts {
13559          part {
13560             name: "event";
13561             type: RECT;
13562             repeat_events: 1;
13563             description {
13564                state: "default" 0.0;
13565                color: 0 0 0 0;
13566             }
13567          }
13568          part {
13569             name: "base_sh";
13570             mouse_events: 0;
13571             description { state: "default" 0.0;
13572                fixed: 1 1;
13573                align: 0.0 0.0;
13574                min: 10 0;
13575                rel1 {
13576                   to: "base";
13577                   relative: 1.0 0.0;
13578                   offset: 0 0;
13579                }
13580                rel2 {
13581                   to: "base";
13582                   relative: 1.0 1.0;
13583                   offset: 0 -1;
13584                }
13585                image {
13586                   normal: "ilist_item_shadow_h.png";
13587                }
13588                fill.smooth: 0;
13589             }
13590          }
13591          part {
13592             name: "base";
13593             mouse_events: 0;
13594             description {
13595                state: "default" 0.0;
13596                image {
13597                   normal: "ilist_1_h.png";
13598                   border: 2 2 2 2;
13599                }
13600                fill.smooth: 0;
13601             }
13602          }
13603          part { name: "bg";
13604             mouse_events: 0;
13605             description { state: "default" 0.0;
13606                visible: 0;
13607                color: 255 255 255 0;
13608                rel1 {
13609                   relative: 0.0 0.0;
13610                   offset: -5 -5;
13611                }
13612                rel2 {
13613                   relative: 1.0 1.0;
13614                   offset: 4 4;
13615                }
13616                image {
13617                   normal: "bt_sm_base1.png";
13618                   border: 6 6 6 6;
13619                }
13620                image.middle: SOLID;
13621             }
13622             description { state: "selected" 0.0;
13623                inherit: "default" 0.0;
13624                visible: 1;
13625                color: 255 255 255 255;
13626                rel1 {
13627                   relative: 0.0 0.0;
13628                   offset: -2 -2;
13629                }
13630                rel2 {
13631                   relative: 1.0 1.0;
13632                   offset: 1 1;
13633                }
13634             }
13635          }
13636          part { name: "elm.swallow.icon";
13637             type: SWALLOW;
13638             description { state: "default" 0.0;
13639                fixed: 0 1;
13640                align: 0.5 0.0;
13641                rel1 {
13642                   relative: 0.0 0.0;
13643                   offset: 4 4;
13644                }
13645                rel2 {
13646                   relative: 1.0 0.0;
13647                   offset: -5 4;
13648                }
13649             }
13650          }
13651          part { name: "elm.swallow.end";
13652             type: SWALLOW;
13653             description { state: "default" 0.0;
13654                fixed: 0 1;
13655                align: 0.5 1.0;
13656                rel1 {
13657                   relative: 0.0 1.0;
13658                   offset: 4 -5;
13659                }
13660                rel2 {
13661                   relative: 1.0 1.0;
13662                   offset: -5 -5;
13663                }
13664             }
13665          }
13666          part {
13667             name: "elm.text";
13668             type: TEXT;
13669             effect: SOFT_SHADOW;
13670             mouse_events: 0;
13671             scale: 1;
13672             description { state: "default" 0.0;
13673                fixed: 1 1;
13674                rel1 {
13675                   to_x: "elm.swallow.icon";
13676                   relative: 0.0 1.0;
13677                   offset: 4 4;
13678                }
13679                rel2 {
13680                   to_x: "elm.swallow.end";
13681                   relative: 1.0 0.0;
13682                   offset: -5 -1;
13683                }
13684                color: 0 0 0 255;
13685                color3: 0 0 0 0;
13686                text {
13687                   font: "Sans";
13688                   size: 10;
13689                   min: 1 1;
13690                   align: 0.5 0.5;
13691                   text_class: "list_item";
13692                }
13693             }
13694             description { state: "selected" 0.0;
13695                inherit: "default" 0.0;
13696                color: 224 224 224 255;
13697                color3: 0 0 0 64;
13698             }
13699          }
13700          part { name: "fg1";
13701             mouse_events: 0;
13702             description { state: "default" 0.0;
13703                visible: 0;
13704                color: 255 255 255 0;
13705                rel1.to: "bg";
13706                rel2.relative: 1.0 0.5;
13707                rel2.to: "bg";
13708                image {
13709                   normal: "bt_sm_hilight.png";
13710                   border: 6 6 6 0;
13711                }
13712             }
13713             description { state: "selected" 0.0;
13714                inherit: "default" 0.0;
13715                visible: 1;
13716                color: 255 255 255 255;
13717             }
13718          }
13719          part { name: "fg2";
13720             mouse_events: 0;
13721             description { state: "default" 0.0;
13722                visible: 0;
13723                color: 255 255 255 0;
13724                rel1.to: "bg";
13725                rel2.to: "bg";
13726                image {
13727                   normal: "bt_sm_shine.png";
13728                   border: 6 6 6 0;
13729                }
13730             }
13731             description { state: "selected" 0.0;
13732                inherit: "default" 0.0;
13733                visible: 1;
13734                color: 255 255 255 255;
13735             }
13736          }
13737       }
13738       programs {
13739          program {
13740             name: "go_active";
13741             signal: "elm,state,selected";
13742             source: "elm";
13743             action: STATE_SET "selected" 0.0;
13744             target: "bg";
13745             target: "fg1";
13746             target: "fg2";
13747             target: "elm.text";
13748          }
13749          program {
13750             name: "go_passive";
13751             signal: "elm,state,unselected";
13752             source: "elm";
13753             action: STATE_SET "default" 0.0;
13754             target: "bg";
13755             target: "fg1";
13756             target: "fg2";
13757             target: "elm.text";
13758             transition: LINEAR 0.1;
13759          }
13760       }
13761    }
13762    group { name: "elm/list/h_item_compress_odd/default";
13763       data.item: "stacking" "below";
13764       data.item: "selectraise" "on";
13765       images {
13766          image: "bt_sm_base1.png" COMP;
13767          image: "bt_sm_shine.png" COMP;
13768          image: "bt_sm_hilight.png" COMP;
13769          image: "ilist_2_h.png" COMP;
13770       }
13771       parts {
13772          part {
13773             name: "event";
13774             type: RECT;
13775             repeat_events: 1;
13776             description {
13777                state: "default" 0.0;
13778                color: 0 0 0 0;
13779             }
13780          }
13781          part {
13782             name: "base";
13783             mouse_events: 0;
13784             description {
13785                state: "default" 0.0;
13786                image {
13787                   normal: "ilist_2_h.png";
13788                   border: 2 2 2 2;
13789                }
13790                fill.smooth: 0;
13791             }
13792          }
13793          part { name: "bg";
13794             mouse_events: 0;
13795             description { state: "default" 0.0;
13796                visible: 0;
13797                color: 255 255 255 0;
13798                rel1 {
13799                   relative: 0.0 0.0;
13800                   offset: -5 -5;
13801                }
13802                rel2 {
13803                   relative: 1.0 1.0;
13804                   offset: 4 4;
13805                }
13806                image {
13807                   normal: "bt_sm_base1.png";
13808                   border: 6 6 6 6;
13809                }
13810                image.middle: SOLID;
13811             }
13812             description { state: "selected" 0.0;
13813                inherit: "default" 0.0;
13814                visible: 1;
13815                color: 255 255 255 255;
13816                rel1 {
13817                   relative: 0.0 0.0;
13818                   offset: -2 -2;
13819                }
13820                rel2 {
13821                   relative: 1.0 1.0;
13822                   offset: 1 1;
13823                }
13824             }
13825          }
13826          part { name: "elm.swallow.icon";
13827             type: SWALLOW;
13828             description { state: "default" 0.0;
13829                fixed: 0 1;
13830                align: 0.5 0.0;
13831                rel1 {
13832                   relative: 0.0 0.0;
13833                   offset: 4 4;
13834                }
13835                rel2 {
13836                   relative: 1.0 0.0;
13837                   offset: -5 4;
13838                }
13839             }
13840          }
13841          part { name: "elm.swallow.end";
13842             type: SWALLOW;
13843             description { state: "default" 0.0;
13844                fixed: 0 1;
13845                align: 0.5 1.0;
13846                rel1 {
13847                   relative: 0.0 1.0;
13848                   offset: 4 -5;
13849                }
13850                rel2 {
13851                   relative: 1.0 1.0;
13852                   offset: -5 -5;
13853                }
13854             }
13855          }
13856          part { name: "elm.text";
13857             type: TEXT;
13858             effect: SOFT_SHADOW;
13859             mouse_events: 0;
13860             scale: 1;
13861             description {
13862                state: "default" 0.0;
13863                fixed: 1 1;
13864                rel1 {
13865                   to_x: "elm.swallow.icon";
13866                   relative: 0.0 1.0;
13867                   offset: 4 4;
13868                }
13869                rel2 {
13870                   to_x: "elm.swallow.end";
13871                   relative: 1.0 0.0;
13872                   offset: -5 -1;
13873                }
13874                color: 0 0 0 255;
13875                color3: 0 0 0 0;
13876                text {
13877                   font: "Sans";
13878                   size: 10;
13879                   min: 1 1;
13880                   align: 0.5 0.5;
13881                   text_class: "list_item";
13882                }
13883             }
13884             description { state: "selected" 0.0;
13885                inherit: "default" 0.0;
13886                color: 224 224 224 255;
13887                color3: 0 0 0 64;
13888             }
13889          }
13890          part { name: "fg1";
13891             mouse_events: 0;
13892             description { state: "default" 0.0;
13893                visible: 0;
13894                color: 255 255 255 0;
13895                rel1.to: "bg";
13896                rel2.relative: 1.0 0.5;
13897                rel2.to: "bg";
13898                image {
13899                   normal: "bt_sm_hilight.png";
13900                   border: 6 6 6 0;
13901                }
13902             }
13903             description { state: "selected" 0.0;
13904                inherit: "default" 0.0;
13905                visible: 1;
13906                color: 255 255 255 255;
13907             }
13908          }
13909          part { name: "fg2";
13910             mouse_events: 0;
13911             description { state: "default" 0.0;
13912                visible: 0;
13913                color: 255 255 255 0;
13914                rel1.to: "bg";
13915                rel2.to: "bg";
13916                image {
13917                   normal: "bt_sm_shine.png";
13918                   border: 6 6 6 0;
13919                }
13920             }
13921             description { state: "selected" 0.0;
13922                inherit: "default" 0.0;
13923                visible: 1;
13924                color: 255 255 255 255;
13925             }
13926          }
13927       }
13928       programs {
13929          program {
13930             name: "go_active";
13931             signal: "elm,state,selected";
13932             source: "elm";
13933             action: STATE_SET "selected" 0.0;
13934             target: "bg";
13935             target: "fg1";
13936             target: "fg2";
13937             target: "elm.text";
13938          }
13939          program {
13940             name: "go_passive";
13941             signal: "elm,state,unselected";
13942             source: "elm";
13943             action: STATE_SET "default" 0.0;
13944             target: "bg";
13945             target: "fg1";
13946             target: "fg2";
13947             target: "elm.text";
13948             transition: LINEAR 0.1;
13949          }
13950       }
13951    }
13952
13953 ///////////////////////////////////////////////////////////////////////////////
13954    group { name: "elm/slider/horizontal/default";
13955            alias: "elm/slider/horizontal/disabled";
13956       images {
13957          image: "sl_bg.png" COMP;
13958          image: "sl_bg_over.png" COMP;
13959
13960          image: "sl_units.png" COMP;
13961       }
13962       parts {
13963          part { name: "base";
13964             mouse_events: 0;
13965             description { state: "default" 0.0;
13966                max: 99999 6;
13967                min: 0 6;
13968                rel1 { to: "bg";
13969                   offset: 1 0;
13970                }
13971                rel2 { to: "bg";
13972                   offset: -2 -1;
13973                }
13974                image.normal: "sl_bg.png";
13975                fill.smooth: 0;
13976             }
13977          }
13978          part { name: "level";
13979             type: RECT;
13980             mouse_events: 0;
13981             description { state: "default" 0.0;
13982                fixed: 1 1;
13983                rel1.to: "base";
13984                rel2 {
13985                   to_y: "base";
13986                   to_x: "elm.dragable.slider";
13987                   relative: 0.5 1.0;
13988                }
13989                color: 255 0 0 200;
13990             }
13991             description { state: "inverted" 0.0;
13992                inherit: "default" 0.0;
13993                visible: 0;
13994             }
13995             description { state: "disabled" 0.0;
13996                inherit: "default" 0.0;
13997                color: 255 0 0 100;
13998             }
13999             description { state: "disabled_inverted" 0.0;
14000                inherit: "default" 0.0;
14001                visible: 0;
14002             }
14003          }
14004          part { name: "level2";
14005             type: RECT;
14006             mouse_events: 0;
14007             description { state: "default" 0.0;
14008                fixed: 1 1;
14009                visible: 0;
14010                rel1 {
14011                   to_y: "base";
14012                   to_x: "elm.dragable.slider";
14013                   relative: 0.5 0.0;
14014                }
14015                rel2.to: "base";
14016                color: 255 0 0 200;
14017             }
14018             description { state: "inverted" 0.0;
14019                inherit: "default" 0.0;
14020                visible: 1;
14021             }
14022             description { state: "disabled" 0.0;
14023                inherit: "default" 0.0;
14024             }
14025             description { state: "disabled_inverted" 0.0;
14026                inherit: "default" 0.0;
14027                color: 255 0 0 100;
14028                visible: 1;
14029             }
14030          }
14031          part {
14032             name: "base_over";
14033             mouse_events: 0;
14034             description { state: "default" 0.0;
14035                rel1.to: "base";
14036                rel1.offset: -1 -1;
14037                rel2.to: "base";
14038                rel2.offset: 0 0;
14039                image {
14040                   normal: "sl_bg_over.png";
14041                   border: 3 3 3 3;
14042                }
14043                fill.smooth: 0;
14044             }
14045          }
14046          part { name: "bg";
14047             type: RECT;
14048             mouse_events: 0;
14049             scale: 1;
14050             description { state: "default" 0.0;
14051                visible: 0;
14052                rel1.to: "elm.swallow.bar";
14053                rel2.to: "elm.swallow.bar";
14054                color: 0 0 0 0;
14055             }
14056          }
14057          part { name: "elm.swallow.bar";
14058             type: SWALLOW;
14059             scale: 1;
14060             description { state: "default" 0.0;
14061                min: 48 24;
14062                max: 99999 24;
14063                align: 1.0 0.5;
14064                rel1 {
14065                   to_x: "elm.text";
14066                   relative: 1.0 0.0;
14067                   offset: 8 0;
14068                }
14069                rel2 {
14070                   to_x: "elm.units";
14071                   relative: 0.0 1.0;
14072                   offset: -10 -1;
14073                }
14074             }
14075          }
14076          part { name: "elm.swallow.icon";
14077             type: SWALLOW;
14078             description { state: "default" 0.0;
14079                visible: 0;
14080                align: 0.0 0.5;
14081                rel1 {
14082                   offset: 4 0;
14083                   to_y: "elm.swallow.bar";
14084                }
14085                rel2 {
14086                   offset: 3 -1;
14087                   relative: 0.0 1.0;
14088                   to_y: "elm.swallow.bar";
14089                }
14090             }
14091             description { state: "visible" 0.0;
14092                inherit: "default" 0.0;
14093                visible: 1;
14094                aspect: 1.0 1.0;
14095                aspect_preference: VERTICAL;
14096                rel2.offset: 4 -1;
14097             }
14098          }
14099          part { name: "elm.text";
14100             type: TEXT;
14101             mouse_events: 0;
14102             scale: 1;
14103             description { state: "default" 0.0;
14104                visible: 0;
14105                fixed: 1 1;
14106                align: 0.0 0.5;
14107                rel1.to_x: "elm.swallow.icon";
14108                rel1.relative: 1.0 0.0;
14109                rel1.offset: -1 4;
14110                rel2.to_x: "elm.swallow.icon";
14111                rel2.relative: 1.0 1.0;
14112                rel2.offset: -1 -5;
14113                color: 0 0 0 255;
14114                text {
14115                   font: "Sans,Edje-Vera";
14116                   size: 10;
14117                   min: 0 0;
14118                   align: 0.0 0.5;
14119                }
14120             }
14121             description { state: "visible" 0.0;
14122                inherit: "default" 0.0;
14123                visible: 1;
14124                text.min: 1 1;
14125                rel1.offset: 0 4;
14126                rel2.offset: 0 -5;
14127             }
14128             description { state: "disabled" 0.0;
14129                inherit: "default" 0.0;
14130                color: 255 128 128 128;
14131                visible: 0;
14132             }
14133             description { state: "disabled_visible" 0.0;
14134                inherit: "default" 0.0;
14135                color: 0 0 0 128;
14136                color3: 0 0 0 0;
14137                visible: 1;
14138                text.min: 1 1;
14139             }
14140          }
14141          part {
14142             name: "elm.swallow.end";
14143             type: SWALLOW;
14144             description {
14145                state: "default" 0.0;
14146                visible: 0;
14147                align: 1.0 0.5;
14148                rel1 {
14149                   offset: -4 0;
14150                   relative: 1.0 0.0;
14151                   to_y: "elm.swallow.bar";
14152                }
14153                rel2 {
14154                   offset: -3 -1;
14155                   to_y: "elm.swallow.bar";
14156                }
14157             }
14158             description { state: "visible" 0.0;
14159                inherit: "default" 0.0;
14160                visible: 1;
14161                aspect: 1.0 1.0;
14162                aspect_preference: VERTICAL;
14163                rel2.offset: -4 -1;
14164             }
14165          }
14166          part { name: "units";
14167             mouse_events: 0;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                rel1 {
14171                   to_x: "elm.units";
14172                   offset: 0 5;
14173                }
14174                rel2 {
14175                   to_x: "elm.units";
14176                   offset: 5 -3;
14177                }
14178                image {
14179                   normal: "sl_units.png";
14180                   border: 0 5 3 8;
14181                }
14182                fill.smooth: 0;
14183             }
14184             description { state: "visible" 0.0;
14185                inherit: "default" 0.0;
14186                visible: 1;
14187             }
14188          }
14189          part { name: "elm.units";
14190             type: TEXT;
14191             mouse_events: 0;
14192             scale: 1;
14193             description { state: "default" 0.0;
14194                visible: 0;
14195                fixed: 1 1;
14196                align: 1.0 0.5;
14197                rel1.to_x: "elm.swallow.end";
14198                rel1.relative: 0.0 0.0;
14199                rel1.offset: 0 8;
14200                rel2.to_x: "elm.swallow.end";
14201                rel2.relative: 0.0 1.0;
14202                rel2.offset: 0 -9;
14203                color: 0 0 0 255;
14204                text {
14205                   font: "Sans,Edje-Vera";
14206                   size: 10;
14207                   min: 0 0;
14208                   align: 0.0 0.5;
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                fixed: 1 1;
14214                visible: 1;
14215                text.min: 1 1;
14216                rel1.offset: -5 0;
14217                rel2.offset: -5 -1;
14218             }
14219             description { state: "disabled" 0.0;
14220                inherit: "default" 0.0;
14221                color: 255 128 128 128;
14222                visible: 0;
14223             }
14224             description { state: "disabled_visible" 0.0;
14225                inherit: "default" 0.0;
14226                color: 0 0 0 128;
14227                color3: 0 0 0 0;
14228                visible: 1;
14229                text.min: 1 1;
14230             }
14231          }
14232          part { name: "elm.dragable.slider";
14233             type: GROUP;
14234             source: "elm/slider/horizontal/indicator/default";
14235             mouse_events: 1;
14236             repeat_events: 1;
14237             scale: 1;
14238             dragable {
14239                x: 1 1 0;
14240                y: 0 0 0;
14241                confine: "bg";
14242             }
14243             description { state: "default" 0.0;
14244                min: 0 24;
14245                max: 0 24;
14246                fixed: 1 1;
14247                rel1 {
14248                   relative: 0.5 0.0;
14249                   to_x: "bg";
14250                }
14251                rel2 {
14252                   relative: 0.5 1.0;
14253                   to_x: "bg";
14254                }
14255                color: 255 0 0 100;
14256             }
14257          }
14258           part { name: "disabler";
14259             type: RECT;
14260             description { state: "default" 0.0;
14261                color: 0 0 0 0;
14262                visible: 0;
14263             }
14264             description { state: "disabled" 0.0;
14265                inherit: "default" 0.0;
14266                visible: 1;
14267             }
14268          }
14269       }
14270       programs {
14271          program { name: "text_show";
14272             signal: "elm,state,text,visible";
14273             source: "elm";
14274             action:  STATE_SET "visible" 0.0;
14275             target: "elm.text";
14276          }
14277          program { name: "text_hide";
14278             signal: "elm,state,text,hidden";
14279             source: "elm";
14280             action:  STATE_SET "default" 0.0;
14281             target: "elm.text";
14282          }
14283          program { name: "icon_show";
14284             signal: "elm,state,icon,visible";
14285             source: "elm";
14286             action:  STATE_SET "visible" 0.0;
14287             target: "elm.swallow.icon";
14288          }
14289          program { name: "icon_hide";
14290             signal: "elm,state,icon,hidden";
14291             source: "elm";
14292             action:  STATE_SET "default" 0.0;
14293             target: "elm.swallow.icon";
14294          }
14295           program { name: "end_show";
14296             signal: "elm,state,end,visible";
14297             source: "elm";
14298             action:  STATE_SET "visible" 0.0;
14299             target: "elm.swallow.end";
14300          }
14301          program { name: "end_hide";
14302             signal: "elm,state,end,hidden";
14303             source: "elm";
14304             action:  STATE_SET "default" 0.0;
14305             target: "elm.swallow.end";
14306          }
14307          program { name: "units_show";
14308             signal: "elm,state,units,visible";
14309             source: "elm";
14310             action:  STATE_SET "visible" 0.0;
14311             target: "elm.units";
14312             target: "units";
14313          }
14314          program { name: "units_hide";
14315             signal: "elm,state,units,hidden";
14316             source: "elm";
14317             action:  STATE_SET "default" 0.0;
14318             target: "elm.units";
14319             target: "units";
14320          }
14321          program { name: "invert_on";
14322             signal: "elm,state,inverted,on";
14323             source: "elm";
14324             action:  STATE_SET "inverted" 0.0;
14325             target: "level";
14326             target: "level2";
14327          }
14328          program { name: "invert_off";
14329             signal: "elm,state,inverted,off";
14330             source: "elm";
14331             action:  STATE_SET "default" 0.0;
14332             target: "level";
14333             target: "level2";
14334          }
14335          program {
14336             name:    "go_disabled";
14337             signal:  "elm,state,disabled";
14338             source:  "elm";
14339             action:  STATE_SET "disabled" 0.0;
14340 //            target: "button0";
14341             target: "disabler";
14342             after: "disable_text";
14343             after: "disable_ind";
14344          }
14345
14346          program { name: "disable_ind";
14347             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14348          }
14349          program { name: "disable_text";
14350             script {
14351                new st[31];
14352                new Float:vl;
14353                get_state(PART:"elm.text", st, 30, vl);
14354                if (!strcmp(st, "visible"))
14355                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14356                else
14357                   set_state(PART:"elm.text", "disabled", 0.0);
14358
14359                get_state(PART:"elm.units", st, 30, vl);
14360                if (!strcmp(st, "visible"))
14361                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14362                else
14363                   set_state(PART:"elm.units", "disabled", 0.0);
14364
14365                get_state(PART:"level2", st, 30, vl);
14366                if (!strcmp(st, "inverted"))
14367                {
14368                   set_state(PART:"level", "disabled_inverted", 0.0);
14369                   set_state(PART:"level2", "disabled_inverted", 0.0);
14370                }
14371                else
14372                {
14373                   set_state(PART:"level", "disabled", 0.0);
14374                   set_state(PART:"level2", "disabled", 0.0);
14375                }
14376             }
14377          }
14378          program { name: "enable";
14379             signal: "elm,state,enabled";
14380             source: "elm";
14381             action: STATE_SET "default" 0.0;
14382 //            target: "button0";
14383             target: "disabler";
14384             after: "enable_text";
14385             after: "enable_ind";
14386          }
14387
14388          program { name: "enable_ind";
14389             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14390          }
14391
14392          program { name: "enable_text";
14393             script {
14394                new st[31];
14395                new Float:vl;
14396                get_state(PART:"elm.text", st, 30, vl);
14397                if (!strcmp(st, "disabled_visible"))
14398                   set_state(PART:"elm.text", "visible", 0.0);
14399                else
14400                   set_state(PART:"elm.text", "default", 0.0);
14401
14402                get_state(PART:"elm.units", st, 30, vl);
14403                if (!strcmp(st, "disabled_visible"))
14404                   set_state(PART:"elm.units", "visible", 0.0);
14405                else
14406                   set_state(PART:"elm.units", "default", 0.0);
14407
14408                get_state(PART:"level2", st, 30, vl);
14409                if (!strcmp(st, "disabled_inverted"))
14410                {
14411                   set_state(PART:"level", "inverted", 0.0);
14412                   set_state(PART:"level2", "inverted", 0.0);
14413                }
14414                else
14415                {
14416                   set_state(PART:"level", "default", 0.0);
14417                   set_state(PART:"level2", "default", 0.0);
14418                }
14419             }
14420          }
14421       }
14422    }
14423
14424    group { name: "elm/slider/vertical/default";
14425       images {
14426          image: "slv_bg.png" COMP;
14427          image: "slv_bg_over.png" COMP;
14428
14429          image: "slv_units.png" COMP;
14430       }
14431       parts {
14432          part { name: "base";
14433             mouse_events: 0;
14434             description { state: "default" 0.0;
14435                max: 6 99999;
14436                min: 6 0;
14437                rel1 { to: "bg";
14438                   offset: 1 0;
14439                }
14440                rel2 { to: "bg";
14441                   offset: -2 -1;
14442                }
14443                image.normal: "slv_bg.png";
14444                fill.smooth: 0;
14445             }
14446          }
14447          part { name: "level";
14448             type: RECT;
14449             mouse_events: 0;
14450             description { state: "default" 0.0;
14451                fixed: 1 1;
14452                rel1.to: "base";
14453                rel2 {
14454                   to_x: "base";
14455                   to_y: "elm.dragable.slider";
14456                   relative: 1.0 0.5;
14457                }
14458                color: 255 0 0 200;
14459             }
14460             description { state: "inverted" 0.0;
14461                inherit: "default" 0.0;
14462                visible: 0;
14463             }
14464             description { state: "disabled" 0.0;
14465                inherit: "default" 0.0;
14466                color: 255 0 0 100;
14467             }
14468             description { state: "disabled_inverted" 0.0;
14469                inherit: "default" 0.0;
14470                visible: 0;
14471             }
14472          }
14473          part { name: "level2";
14474             type: RECT;
14475             mouse_events: 0;
14476             description { state: "default" 0.0;
14477                fixed: 1 1;
14478                visible: 0;
14479                rel1 {
14480                   to_x: "base";
14481                   to_y: "elm.dragable.slider";
14482                   relative: 0.0 0.5;
14483                }
14484                rel2.to: "base";
14485                color: 255 0 0 200;
14486             }
14487             description { state: "inverted" 0.0;
14488                inherit: "default" 0.0;
14489                visible: 1;
14490             }
14491             description { state: "disabled" 0.0;
14492                inherit: "default" 0.0;
14493                color: 255 0 0 100;
14494             }
14495             description { state: "disabled_inverted" 0.0;
14496                inherit: "default" 0.0;
14497                color: 255 0 0 100;
14498                visible: 1;
14499             }
14500          }
14501          part {
14502             name: "base_over";
14503             mouse_events: 0;
14504             description { state: "default" 0.0;
14505                rel1.to: "base";
14506                rel1.offset: -1 -1;
14507                rel2.to: "base";
14508                rel2.offset: 0 0;
14509                image {
14510                   normal: "slv_bg_over.png";
14511                   border: 3 3 3 3;
14512                }
14513                fill.smooth: 0;
14514             }
14515          }
14516          part { name: "bg";
14517             type: RECT;
14518             mouse_events: 0;
14519             scale: 1;
14520             description { state: "default" 0.0;
14521                visible: 0;
14522                rel1.to: "elm.swallow.bar";
14523                rel2.to: "elm.swallow.bar";
14524                color: 0 0 0 0;
14525             }
14526          }
14527          part { name: "elm.swallow.bar";
14528             type: SWALLOW;
14529             scale: 1;
14530             description { state: "default" 0.0;
14531                min: 24 48;
14532                max: 24 9999;
14533                align: 0.5 1.0;
14534                rel1 {
14535                   to_y: "elm.text";
14536                   relative: 0.0 1.0;
14537                   offset: 0 10;
14538                }
14539                rel2 {
14540                   to_y: "elm.units";
14541                   relative: 1.0 0.0;
14542                   offset: -1 -8;
14543                }
14544             }
14545          }
14546          part { name: "elm.swallow.icon";
14547             type: SWALLOW;
14548             description { state: "default" 0.0;
14549                visible: 0;
14550                align: 0.5 0.0;
14551                rel1 {
14552                   offset: 0 4;
14553                   to_x: "elm.swallow.bar";
14554                }
14555                rel2 {
14556                   offset: -1 3;
14557                   relative: 1.0 0.0;
14558                   to_x: "elm.swallow.bar";
14559                }
14560             }
14561             description { state: "visible" 0.0;
14562                inherit: "default" 0.0;
14563                visible: 1;
14564                aspect: 1.0 1.0;
14565                aspect_preference: HORIZONTAL;
14566                rel2.offset: -1 4;
14567             }
14568          }
14569          part { name: "elm.text";
14570             type: TEXT;
14571             mouse_events: 0;
14572             scale: 1;
14573             description { state: "default" 0.0;
14574                visible: 0;
14575                fixed: 0 1;
14576                align: 0.5 0.0;
14577                rel1.to_y: "elm.swallow.icon";
14578                rel1.relative: 0.0 1.0;
14579                rel1.offset: 0 -1;
14580                rel2.to_y: "elm.swallow.icon";
14581                rel2.relative: 1.0 1.0;
14582                rel2.offset: -1 -1;
14583                color: 0 0 0 255;
14584                text {
14585                   font: "Sans,Edje-Vera";
14586                   size: 10;
14587                   min: 0 0;
14588                   align: 0.5 0.0;
14589                }
14590             }
14591             description { state: "visible" 0.0;
14592                inherit: "default" 0.0;
14593                visible: 1;
14594                text.min: 1 1;
14595                rel1.offset: 4 0;
14596                rel2.offset: -5 0;
14597             }
14598             description { state: "disabled" 0.0;
14599                inherit: "default" 0.0;
14600                color: 255 128 128 128;
14601                visible: 0;
14602             }
14603             description { state: "disabled_visible" 0.0;
14604                inherit: "default" 0.0;
14605                color: 0 0 0 128;
14606                color3: 0 0 0 0;
14607                visible: 1;
14608                text.min: 1 1;
14609             }
14610          }
14611          part {
14612             name: "elm.swallow.end";
14613             type: SWALLOW;
14614             description {
14615                state: "default" 0.0;
14616                visible: 0;
14617                align: 0.5 1.0;
14618                rel1 {
14619                   offset: 0 -4;
14620                   relative: 0.0 1.0;
14621                   to_x: "elm.swallow.bar";
14622                }
14623                rel2 {
14624                   offset: -1 -3;
14625                   to_x: "elm.swallow.bar";
14626                }
14627             }
14628             description { state: "visible" 0.0;
14629                inherit: "default" 0.0;
14630                visible: 1;
14631                aspect: 1.0 1.0;
14632                aspect_preference: HORIZONTAL;
14633                rel2.offset: -1 -4;
14634             }
14635          }
14636          part { name: "units";
14637             mouse_events: 0;
14638             description { state: "default" 0.0;
14639                visible: 0;
14640                rel1 {
14641                   to: "elm.units";
14642                   offset: -8 0;
14643                }
14644                rel2 {
14645                   to: "elm.units";
14646                   offset: 7 8;
14647                }
14648                image {
14649                   normal: "slv_units.png";
14650                   border: 8 8 0 9;
14651                }
14652                fill.smooth: 0;
14653             }
14654             description { state: "visible" 0.0;
14655                inherit: "default" 0.0;
14656                visible: 1;
14657             }
14658          }
14659          part { name: "elm.units";
14660             type: TEXT;
14661             mouse_events: 0;
14662             scale: 1;
14663             description { state: "default" 0.0;
14664                visible: 0;
14665                fixed: 1 1;
14666                align: 0.5 1.0;
14667                rel1.relative: 0.0 0.0;
14668                rel1.to_y: "elm.swallow.end";
14669                rel1.offset: 8 0;
14670                rel2.relative: 1.0 0.0;
14671                rel2.to_y: "elm.swallow.end";
14672                rel2.offset: -9 0;
14673                color: 0 0 0 255;
14674                text {
14675                   font: "Sans,Edje-Vera";
14676                   size: 10;
14677                   min: 0 0;
14678                   align: 0.5 0.0;
14679                }
14680             }
14681             description { state: "visible" 0.0;
14682                inherit: "default" 0.0;
14683                fixed: 1 1;
14684                visible: 1;
14685                text.min: 1 1;
14686                rel1.offset: 8 -9;
14687                rel2.offset: -9 -9;
14688             }
14689             description { state: "disabled" 0.0;
14690                inherit: "default" 0.0;
14691                color:  0 0 0 128;
14692                color3: 0 0 0 0;
14693                visible: 0;
14694             }
14695             description { state: "disabled_visible" 0.0;
14696                inherit: "default" 0.0;
14697                fixed: 1 1;
14698                visible: 1;
14699                text.min: 1 1;
14700                rel1.offset: 8 -9;
14701                rel2.offset: -9 -9;
14702                color: 0 0 0 128;
14703                color3: 0 0 0 0;
14704             }
14705          }
14706          part { name: "elm.dragable.slider";
14707             type: GROUP;
14708             source: "elm/slider/vertical/indicator/default";
14709             mouse_events: 1;
14710             repeat_events: 1;
14711             scale: 1;
14712             dragable {
14713                x: 0 0 0;
14714                y: 1 1 0;
14715                confine: "bg";
14716             }
14717             description { state: "default" 0.0;
14718                min: 24 0;
14719                max: 24 0;
14720                fixed: 1 1;
14721                rel1 {
14722                   relative: 0.5  0.0;
14723                   to_y: "bg";
14724                }
14725                rel2 {
14726                   relative: 0.5  1.0;
14727                   to_y: "bg";
14728                }
14729                color: 0 0 0 0;
14730             }
14731          }
14732               part { name: "disabler";
14733                 type: RECT;
14734                 description { state: "default" 0.0;
14735                    color: 0 0 0 0;
14736                    visible: 0;
14737                 }
14738                 description { state: "disabled" 0.0;
14739                    inherit: "default" 0.0;
14740                    visible: 1;
14741                 }
14742              }
14743           }
14744
14745       programs {
14746          program { name: "text_show";
14747             signal: "elm,state,text,visible";
14748             source: "elm";
14749             action:  STATE_SET "visible" 0.0;
14750             target: "elm.text";
14751          }
14752          program { name: "text_hide";
14753             signal: "elm,state,text,hidden";
14754             source: "elm";
14755             action:  STATE_SET "default" 0.0;
14756             target: "elm.text";
14757          }
14758          program { name: "icon_show";
14759             signal: "elm,state,icon,visible";
14760             source: "elm";
14761             action:  STATE_SET "visible" 0.0;
14762             target: "elm.swallow.icon";
14763          }
14764          program { name: "icon_hide";
14765             signal: "elm,state,icon,hidden";
14766             source: "elm";
14767             action:  STATE_SET "default" 0.0;
14768             target: "elm.swallow.icon";
14769          }
14770          program { name: "end_show";
14771             signal: "elm,state,end,visible";
14772             source: "elm";
14773             action:  STATE_SET "visible" 0.0;
14774             target: "elm.swallow.end";
14775          }
14776          program { name: "end_hide";
14777             signal: "elm,state,end,hidden";
14778             source: "elm";
14779             action:  STATE_SET "default" 0.0;
14780             target: "elm.swallow.end";
14781          }
14782          program { name: "units_show";
14783             signal: "elm,state,units,visible";
14784             source: "elm";
14785             action:  STATE_SET "visible" 0.0;
14786             target: "elm.units";
14787             target: "units";
14788          }
14789          program { name: "units_hide";
14790             signal: "elm,state,units,hidden";
14791             source: "elm";
14792             action:  STATE_SET "default" 0.0;
14793             target: "elm.units";
14794             target: "units";
14795          }
14796          program { name: "invert_on";
14797             signal: "elm,state,inverted,on";
14798             source: "elm";
14799             action:  STATE_SET "inverted" 0.0;
14800             target: "level";
14801             target: "level2";
14802          }
14803          program { name: "invert_off";
14804             signal: "elm,state,inverted,off";
14805             source: "elm";
14806             action:  STATE_SET "default" 0.0;
14807             target: "level";
14808             target: "level2";
14809          }
14810          program {
14811             name:   "go_disabled";
14812             signal: "elm,state,disabled";
14813             source: "elm";
14814             action: STATE_SET "disabled" 0.0;
14815 //            target: "button0";
14816             target: "disabler";
14817             after: "disable_text";
14818             after: "disable_ind";
14819          }
14820
14821          program { name: "disable_ind";
14822             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14823          }
14824
14825          program { name: "disable_text";
14826             script {
14827             new st[31];
14828             new Float:vl;
14829                get_state(PART:"elm.text", st, 30, vl);
14830                if (!strcmp(st, "visible"))
14831                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14832                else
14833                   set_state(PART:"elm.text", "disabled", 0.0);
14834
14835                get_state(PART:"elm.units", st, 30, vl);
14836                if (!strcmp(st, "visible"))
14837                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14838                else
14839                   set_state(PART:"elm.units", "disabled", 0.0);
14840
14841                get_state(PART:"level2", st, 30, vl);
14842                if (!strcmp(st, "inverted"))
14843                {
14844                   set_state(PART:"level", "disabled_inverted", 0.0);
14845                   set_state(PART:"level2", "disabled_inverted", 0.0);
14846                }
14847                else
14848                {
14849                   set_state(PART:"level", "disabled", 0.0);
14850                   set_state(PART:"level2", "disabled", 0.0);
14851                }
14852             }
14853          }
14854
14855          program { name: "enable";
14856             signal: "elm,state,enabled";
14857             source: "elm";
14858             action: STATE_SET "default" 0.0;
14859 //            target: "button0";
14860             target: "disabler";
14861             after: "enable_text";
14862             after: "enable_ind";
14863          }
14864
14865          program { name: "enable_ind";
14866             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14867          }
14868          program { name: "enable_text";
14869             script {
14870                new st[31];
14871                new Float:vl;
14872                get_state(PART:"elm.text", st, 30, vl);
14873                if (!strcmp(st, "disabled_visible"))
14874                   set_state(PART:"elm.text", "visible", 0.0);
14875                else
14876                   set_state(PART:"elm.text", "default", 0.0);
14877
14878                get_state(PART:"elm.units", st, 30, vl);
14879                if (!strcmp(st, "disabled_visible"))
14880                   set_state(PART:"elm.units", "visible", 0.0);
14881                else
14882                   set_state(PART:"elm.units", "default", 0.0);
14883
14884                get_state(PART:"level2", st, 30, vl);
14885                if (!strcmp(st, "disabled_inverted"))
14886                {
14887                   set_state(PART:"level", "inverted", 0.0);
14888                   set_state(PART:"level2", "inverted", 0.0);
14889                }
14890                else
14891                {
14892                   set_state(PART:"level", "default", 0.0);
14893                   set_state(PART:"level2", "default", 0.0);
14894                }
14895             }
14896          }
14897       }
14898    }
14899    group { name: "elm/slider/horizontal/indicator/default";
14900            alias: "elm/slider/horizontal/indicator/disabled";
14901            alias: "elm/slider/vertical/indicator/default";
14902            alias: "elm/slider/vertical/indicator/disabled";
14903       images {
14904          image: "sl_bt_0.png" COMP;
14905          image: "sl_bt_1.png" COMP;
14906          image: "sl_bt_2.png" COMP;
14907          image: "sl_bt_3.png" COMP;
14908          image: "sl_bt2_0_0.png" COMP;
14909          image: "sl_bt2_0_1.png" COMP;
14910          image: "sl_bt2_0_2.png" COMP;
14911          image: "sl_bt2_1.png" COMP;
14912          image: "sl_bt2_2.png" COMP;
14913       }
14914       script {
14915          public value_hide = 0;
14916          public set_value_show() {
14917             set_int(value_hide, 0);
14918          }
14919          public set_value_hide() {
14920             set_int(value_hide, 1);
14921          }
14922          public thumb_down() {
14923             if (get_int(value_hide) == 1) {
14924                set_state(PART:"elm.indicator", "default", 0.0);
14925                set_state(PART:"button3", "default", 0.0);
14926                set_state(PART:"button4", "default", 0.0);
14927                set_state(PART:"button5", "default", 0.0);
14928                set_state(PART:"button6", "default", 0.0);
14929                set_state(PART:"button7", "default", 0.0);
14930             } else {
14931                set_state(PART:"elm.indicator", "visible", 0.0);
14932                set_state(PART:"button3", "visible", 0.0);
14933                set_state(PART:"button4", "visible", 0.0);
14934                set_state(PART:"button5", "visible", 0.0);
14935                set_state(PART:"button6", "visible", 0.0);
14936                set_state(PART:"button7", "visible", 0.0);
14937             }
14938          }
14939          public thumb_up() {
14940             set_state(PART:"elm.indicator", "default", 0.0);
14941             set_state(PART:"button3", "default", 0.0);
14942             set_state(PART:"button4", "default", 0.0);
14943             set_state(PART:"button5", "default", 0.0);
14944             set_state(PART:"button6", "default", 0.0);
14945             set_state(PART:"button7", "default", 0.0);
14946          }
14947       }
14948       parts {
14949          part { name: "button_events";
14950             type: RECT;
14951             mouse_events: 1;
14952             description { state: "default" 0.0;
14953                fixed: 1 1;
14954                min: 16 16;
14955                aspect: 1.0 1.0;
14956                aspect_preference: VERTICAL;
14957                color: 0 0 0 0;
14958             }
14959          }
14960          part { name: "button0";
14961             mouse_events: 0;
14962             description { state: "default" 0.0;
14963                fixed: 1 1;
14964                max: 17 999;
14965                min: 17 24;
14966                image {
14967                   normal: "sl_bt_0.png";
14968                   border: 5 5 5 10;
14969                }
14970                fill.smooth: 0;
14971             }
14972             description { state: "disabled" 0.0;
14973                inherit: "default" 0.0;
14974                image {
14975                   normal: "sl_bt_3.png";
14976                   border: 5 5 5 10;
14977                }
14978             }
14979          }
14980          part { name: "button1";
14981             mouse_events: 0;
14982             description { state: "default" 0.0;
14983                rel1.to: "button0";
14984                rel2 {
14985                   to: "button0";
14986                   relative: 1.0 0.5;
14987                   offset: -1 -5;
14988                }
14989                image {
14990                   normal: "sl_bt_1.png";
14991                   border: 5 5 5 0;
14992                }
14993             }
14994          }
14995          part { name: "button2";
14996             mouse_events: 0;
14997             description { state: "default" 0.0;
14998                rel1.to: "button0";
14999                rel2.to: "button0";
15000                image {
15001                   normal: "sl_bt_2.png";
15002                   border: 5 5 5 10;
15003                }
15004                fill.smooth: 0;
15005             }
15006          }
15007          part { name: "button3";
15008             mouse_events: 0;
15009             description { state: "default" 0.0;
15010                fixed: 1 1;
15011                visible: 0;
15012                min: 8 32;
15013                align: 1.0 0.5;
15014                rel1 {
15015                   to_x: "elm.indicator";
15016                   to_y: "button4";
15017                   relative: 0.0 0.0;
15018                   offset: -7 0;
15019                }
15020                rel2 {
15021                   to: "button4";
15022                   relative: 0.0 1.0;
15023                   offset: -1 -1;
15024                }
15025                image {
15026                   normal: "sl_bt2_0_0.png";
15027                   border: 6 0 6 12;
15028                }
15029                fill.smooth: 0;
15030             }
15031             description { state: "visible" 0.0;
15032                inherit: "default" 0.0;
15033                visible: 1;
15034             }
15035          }
15036          part { name: "button4";
15037             mouse_events: 0;
15038             description { state: "default" 0.0;
15039                visible: 0;
15040                max: 15 999;
15041                min: 15 32;
15042                rel1 {
15043                   to_x: "button0";
15044                   to_y: "elm.indicator";
15045                   offset: 0 0;
15046                }
15047                rel2.to: "button0";
15048                image {
15049                   normal: "sl_bt2_0_1.png";
15050                   border: 0 0 6 12;
15051                }
15052                fill.smooth: 0;
15053             }
15054             description { state: "visible" 0.0;
15055                inherit: "default" 0.0;
15056                visible: 1;
15057             }
15058          }
15059          part { name: "button5";
15060             mouse_events: 0;
15061             description { state: "default" 0.0;
15062                fixed: 1 1;
15063                visible: 0;
15064                min: 8 32;
15065                align: 0.0 0.5;
15066                rel1 {
15067                   to: "button4";
15068                   relative: 1.0 0.0;
15069                   offset: 0 0;
15070                }
15071                rel2 {
15072                   to_x: "elm.indicator";
15073                   to_y: "button4";
15074                   relative: 1.0 1.0;
15075                   offset: 6 -1;
15076                }
15077                image {
15078                   normal: "sl_bt2_0_2.png";
15079                   border: 0 6 6 12;
15080                }
15081                fill.smooth: 0;
15082             }
15083             description { state: "visible" 0.0;
15084                inherit: "default" 0.0;
15085                visible: 1;
15086             }
15087          }
15088          part { name: "elm.indicator";
15089             type: TEXT;
15090             mouse_events: 0;
15091             effect: SOFT_SHADOW;
15092             scale: 1;
15093             description { state: "default" 0.0;
15094                visible: 0;
15095                fixed: 1 1;
15096                align: 0.5 1.0;
15097                rel1 {
15098                   to: "button0";
15099                   relative: 0.0 -0.25;
15100                   offset: 0 0;
15101                }
15102                rel2 {
15103                   to_x: "button0";
15104                   relative: 1.0 -0.25;
15105                   offset: -1 0;
15106                }
15107                color: 224 224 224 255;
15108                color3: 0 0 0 64;
15109                text {
15110                   font:     "Sans,Edje-Vera";
15111                   size:     10;
15112                   min:      0 0;
15113                   align:    0.5 0.5;
15114                }
15115             }
15116             description { state: "visible" 0.0;
15117                inherit: "default" 0.0;
15118                visible: 1;
15119                text.min: 1 1;
15120                rel1.offset: 0 -1;
15121                rel2.offset: -1 -1;
15122             }
15123          }
15124          part { name: "button6";
15125             mouse_events: 0;
15126             description { state: "default" 0.0;
15127                visible: 0;
15128                rel1.to: "button3";
15129                rel2 {
15130                   to: "button5";
15131                   relative: 1.0 0.3;
15132                   offset: -1 -1;
15133                }
15134                image {
15135                   normal: "sl_bt2_1.png";
15136                   border: 5 5 5 0;
15137                }
15138                fill.smooth: 0;
15139             }
15140             description { state: "visible" 0.0;
15141                inherit: "default" 0.0;
15142                visible: 1;
15143             }
15144          }
15145          part { name: "button7";
15146             mouse_events: 0;
15147             description { state: "default" 0.0;
15148                visible: 0;
15149                rel1.to: "button3";
15150                rel2.to: "button5";
15151                image {
15152                   normal: "sl_bt2_2.png";
15153                   border: 5 5 5 0;
15154                   middle: 0;
15155                }
15156                fill.smooth: 0;
15157             }
15158             description { state: "visible" 0.0;
15159                inherit: "default" 0.0;
15160                visible: 1;
15161             }
15162          }
15163       }
15164       programs {
15165          program { name: "set_val_show";
15166             signal: "elm,state,val,show";
15167             source: "elm";
15168             script {
15169                set_value_show();
15170             }
15171          }
15172          program { name: "set_val_hide";
15173             signal: "elm,state,val,hide";
15174             source: "elm";
15175             script {
15176                set_value_hide();
15177             }
15178          }
15179          program { name: "val_show";
15180             signal: "mouse,down,*";
15181             source: "button_events";
15182             script {
15183                thumb_down();
15184             }
15185
15186          }
15187          program { name: "val_hide";
15188             signal: "mouse,up,*";
15189             source: "button_events";
15190             script {
15191                thumb_up();
15192             }
15193          }
15194          program {
15195             name:    "go_disabled";
15196             signal:  "elm,state,disabled";
15197             source:  "elm";
15198             action:  STATE_SET "disabled" 0.0;
15199             target:  "button0";
15200          }
15201          program {
15202             name:    "go_enabled";
15203             signal:  "elm,state,enabled";
15204             source:  "elm";
15205             action:  STATE_SET "default" 0.0;
15206             target:  "button0";
15207          }
15208       }
15209    }
15210
15211
15212 ////////////////////////////////////////////////////////////////////////////////
15213 // actionslider
15214 ////////////////////////////////////////////////////////////////////////////////
15215    group { name: "elm/actionslider/base/default";
15216
15217       images {
15218          image: "shelf_inset.png" COMP;
15219          image: "ilist_1.png" COMP;
15220          image: "bt_bases.png" COMP;
15221          image: "bt_basew.png" COMP;
15222          image: "bt_hilightw.png" COMP;
15223       }
15224
15225       parts {
15226          part {
15227             name: "base";
15228             mouse_events: 0;
15229             description {
15230                state: "default" 0.0;
15231                min: 75 25;
15232                rel1.offset: 1 1;
15233                rel2.offset: -2 -2;
15234                image {
15235                   normal: "ilist_1.png";
15236                   border: 2 2 2 2;
15237                }
15238                fill.smooth: 0;
15239             }
15240          }
15241          part { name: "conf_over";
15242             mouse_events:  0;
15243             description { state: "default" 0.0;
15244                rel1.to: "base";
15245                rel2.to: "base";
15246                image {
15247                   normal: "shelf_inset.png";
15248                   border: 7 7 7 7;
15249                   middle: 0;
15250                }
15251                fill.smooth : 0;
15252             }
15253          }
15254          part { name: "icon.dragable.area";
15255            type: RECT;
15256             mouse_events: 0;
15257             description { state: "default" 0.0;
15258                visible: 0;
15259                rel1.to: "base";
15260                rel2.to: "base";
15261             }
15262          }
15263          part { name: "elm.text.left";
15264             type: TEXT;
15265             mouse_events: 0;
15266             scale: 1;
15267             description { state: "default" 0.0;
15268                color: 0 0 0 255;
15269                text {
15270                   font: "Sans,Edje-Vera";
15271                   size: 10;
15272                   align: 0.05 0.5;
15273                   min: 1 1;
15274                }
15275             }
15276          }
15277          part { name: "elm.text.center";
15278             type: TEXT;
15279             mouse_events: 0;
15280             scale: 1;
15281             description { state: "default" 0.0;
15282                color: 0 0 0 255;
15283                text {
15284                   font: "Sans,Edje-Vera";
15285                   size: 10;
15286                   align: 0.5 0.5;
15287                   min: 1 1;
15288                }
15289             }
15290          }
15291          part { name: "elm.text.right";
15292             type: TEXT;
15293             mouse_events: 0;
15294             scale: 1;
15295             description { state: "default" 0.0;
15296                color: 0 0 0 255;
15297                text {
15298                   font: "Sans,Edje-Vera";
15299                   size: 10;
15300                   align: 0.95 0.5;
15301                   min: 1 1;
15302                }
15303             }
15304          }
15305          part { name: "elm.drag_button_base";
15306             type: SWALLOW;
15307             mouse_events: 0;
15308             scale: 1;
15309             description { state: "default" 0.0;
15310                fixed: 1 1;
15311                min: 50 25;
15312                align: 0.5 0.5;
15313                rel1.to: "icon.dragable.area";
15314                rel2 {
15315                   relative: 0.0 1.0;
15316                   to: "icon.dragable.area";
15317                }
15318             }
15319             dragable {
15320                confine: "icon.dragable.area";
15321                x: 1 1 0;
15322                y: 0 0 0;
15323             }
15324          }
15325          part { name: "elm.drag_button";
15326             type: RECT;
15327             mouse_events: 1;
15328             description { state: "default" 0.0;
15329                min: 50 25;
15330                color: 255 255 255 0;
15331                rel1.to_x: "elm.drag_button_base";
15332                rel1.to_y: "icon.dragable.area";
15333                rel2.to_x: "elm.drag_button_base";
15334                rel2.to_y: "icon.dragable.area";
15335             }
15336             dragable {
15337                events: "elm.drag_button_base";
15338             }
15339          }
15340          part { name: "button0";
15341             mouse_events: 0;
15342             description { state: "default" 0.0;
15343                rel1.to: "button2";
15344                rel1.offset: -4 -4;
15345                rel2.to: "button2";
15346                rel2.offset: 3 3;
15347                image {
15348                   normal: "bt_bases.png";
15349                   border: 11 11 11 11;
15350                   middle: SOLID;
15351                }
15352                color: 255 255 255 128;
15353             }
15354          }
15355          part { name: "button2";
15356             mouse_events: 0;
15357             description { state: "default" 0.0;
15358                rel1.to: "elm.drag_button";
15359                rel2.to: "elm.drag_button";
15360                image {
15361                   normal: "bt_basew.png";
15362                   border: 7 7 7 7;
15363                   middle: SOLID;
15364                }
15365                color: 255 255 255 210;
15366             }
15367          }
15368          part { name: "button3";
15369             mouse_events: 0;
15370             description { state: "default" 0.0;
15371                rel1.to: "button2";
15372                rel2.to: "button2";
15373                rel2.relative: 1.0 0.5;
15374                image {
15375                   normal: "bt_hilightw.png";
15376                   border: 4 4 4 0;
15377                }
15378                color: 255 255 255 190;
15379             }
15380          }
15381          part { name: "elm.text.indicator";
15382             type: TEXT;
15383             scale: 1;
15384             mouse_events: 0;
15385             description { state: "default" 0.0;
15386                rel1 {
15387                   to: "elm.drag_button";
15388                   offset: 5 0;
15389                }
15390                rel2 {
15391                   to: "elm.drag_button";
15392                   offset: -5 0;
15393                }
15394                color: 0 0 0 255;
15395                text {
15396                   font: "Sans,Edje-Vera";
15397                   size: 10;
15398                   align: 0.5 0.5;
15399                   min: 0 1;
15400                }
15401             }
15402          }
15403       }
15404       programs {
15405          program { name: "elm.drag_button,mouse,up";
15406             signal: "mouse,up,1";
15407             source: "elm.drag_button";
15408             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15409          }
15410          program { name: "elm.drag_button,mouse,down";
15411             signal: "mouse,down,1";
15412             source: "elm.drag_button";
15413             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15414          }
15415          program { name: "elm.drag_button,mouse,move";
15416             signal: "mouse,move";
15417             source: "elm.drag_button_base";
15418             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15419          }
15420       }
15421    }
15422
15423    group { name: "elm/actionslider/base/bar";
15424
15425       images {
15426          image: "shelf_inset.png" COMP;
15427          image: "ilist_1.png" COMP;
15428          image: "bt_bases.png" COMP;
15429          image: "bt_basew.png" COMP;
15430          image: "bt_hilightw.png" COMP;
15431       }
15432
15433       parts {
15434          part {
15435             name: "base";
15436             mouse_events: 0;
15437             description {
15438                state: "default" 0.0;
15439                min: 150 30;
15440                rel1.offset: 1 1;
15441                rel2.offset: -2 -2;
15442                image {
15443                   normal: "ilist_1.png";
15444                   border: 2 2 2 2;
15445                }
15446                fill.smooth: 0;
15447             }
15448          }
15449          part { name: "conf_over";
15450             mouse_events:  0;
15451             description { state: "default" 0.0;
15452                rel1.to: "base";
15453                rel2.to: "base";
15454                image {
15455                   normal: "shelf_inset.png";
15456                   border: 7 7 7 7;
15457                   middle: 0;
15458                }
15459                fill.smooth : 0;
15460             }
15461          }
15462          part { name: "icon.dragable.area";
15463            type: RECT;
15464             mouse_events: 0;
15465             description { state: "default" 0.0;
15466                visible: 0;
15467                rel1.to: "base";
15468                rel2.to: "base";
15469             }
15470          }
15471          part { name: "elm.text.left";
15472             type: TEXT;
15473             mouse_events: 0;
15474             scale: 1;
15475             description { state: "default" 0.0;
15476                color: 0 0 0 255;
15477                text {
15478                   font: "Sans,Edje-Vera";
15479                   size: 10;
15480                   align: 0.05 0.5;
15481                   min: 1 1;
15482                }
15483             }
15484          }
15485          part { name: "elm.text.center";
15486             type: TEXT;
15487             mouse_events: 0;
15488             scale: 1;
15489             description { state: "default" 0.0;
15490                color: 0 0 0 255;
15491                text {
15492                   font: "Sans,Edje-Vera";
15493                   size: 10;
15494                   align: 0.5 0.5;
15495                   min: 1 1;
15496                }
15497             }
15498          }
15499          part { name: "elm.text.right";
15500             type: TEXT;
15501             mouse_events: 0;
15502             scale: 1;
15503             description { state: "default" 0.0;
15504                color: 0 0 0 255;
15505                text {
15506                   font: "Sans,Edje-Vera";
15507                   size: 10;
15508                   align: 0.95 0.5;
15509                   min: 1 1;
15510                }
15511             }
15512          }
15513          part { name: "bar";
15514             type: RECT;
15515             mouse_events: 0;
15516             description { state: "default" 0.0;
15517                rel1.to: "base";
15518                rel1.offset: 0 2;
15519                rel2 {
15520                   relative: 0 1;
15521                   offset: 3 -3;
15522                   to_x: "elm.drag_button_base";
15523                   to_y: "base";
15524                }
15525                color: 0 0 0 180;
15526             }
15527          }
15528          part { name: "elm.drag_button_base";
15529             type: SWALLOW;
15530             mouse_events: 1;
15531             scale: 1;
15532             description { state: "default" 0.0;
15533                fixed: 1 1;
15534                min: 50 25;
15535                align: 0.5 0.5;
15536                rel1.to: "icon.dragable.area";
15537                rel2 {
15538                   relative: 0.0 1.0;
15539                   to: "icon.dragable.area";
15540                }
15541             }
15542             dragable {
15543                confine: "icon.dragable.area";
15544                x: 1 1 0;
15545                y: 0 0 0;
15546             }
15547          }
15548          part { name: "elm.drag_button";
15549             type: RECT;
15550             mouse_events: 1;
15551             description { state: "default" 0.0;
15552                min: 50 25;
15553                color: 255 255 255 0;
15554                rel1.to_x: "elm.drag_button_base";
15555                rel1.to_y: "icon.dragable.area";
15556                rel2.to_x: "elm.drag_button_base";
15557                rel2.to_y: "icon.dragable.area";
15558             }
15559             dragable {
15560                events: "elm.drag_button_base";
15561             }
15562          }
15563          part { name: "button0";
15564             mouse_events: 0;
15565             description { state: "default" 0.0;
15566                rel1.to: "button2";
15567                rel1.offset: -4 -4;
15568                rel2.to: "button2";
15569                rel2.offset: 3 3;
15570                image {
15571                   normal: "bt_bases.png";
15572                   border: 11 11 11 11;
15573                   middle: SOLID;
15574                }
15575                color: 255 255 255 128;
15576             }
15577          }
15578          part { name: "button2";
15579             mouse_events: 0;
15580             description { state: "default" 0.0;
15581                rel1.to: "elm.drag_button";
15582                rel2.to: "elm.drag_button";
15583                image {
15584                   normal: "bt_basew.png";
15585                   border: 7 7 7 7;
15586                   middle: SOLID;
15587                }
15588                color: 255 255 255 210;
15589             }
15590          }
15591          part { name: "button3";
15592             mouse_events: 0;
15593             description { state: "default" 0.0;
15594                rel1.to: "button2";
15595                rel2.to: "button2";
15596                rel2.relative: 1.0 0.5;
15597                image {
15598                   normal: "bt_hilightw.png";
15599                   border: 4 4 4 0;
15600                }
15601                color: 255 255 255 190;
15602             }
15603          }
15604          part { name: "elm.text.indicator";
15605             type: TEXT;
15606             scale: 1;
15607             mouse_events: 0;
15608             description { state: "default" 0.0;
15609                rel1 {
15610                   to: "elm.drag_button";
15611                   offset: 5 0;
15612                }
15613                rel2 {
15614                   to: "elm.drag_button";
15615                   offset: -5 0;
15616                }
15617                color: 0 0 0 255;
15618                text {
15619                   font: "Sans,Edje-Vera";
15620                   size: 10;
15621                   align: 0.5 0.5;
15622                   min: 0 1;
15623                }
15624             }
15625          }
15626       }
15627       programs {
15628          program { name: "elm.drag_button,mouse,up";
15629             signal: "mouse,up,1";
15630             source: "elm.drag_button";
15631             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15632          }
15633          program { name: "elm.drag_button,mouse,down";
15634             signal: "mouse,down,1";
15635             source: "elm.drag_button";
15636             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15637          }
15638          program { name: "elm.drag_button,mouse,move";
15639             signal: "mouse,move";
15640             source: "elm.drag_button_base";
15641             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15642          }
15643       }
15644    }
15645
15646 ///////////////////////////////////////////////////////////////////////////////
15647    group { name: "elm/genlist/item/default/default";
15648       data.item: "stacking" "above";
15649       data.item: "selectraise" "on";
15650       data.item: "labels" "elm.text";
15651       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15652       data.item: "treesize" "20";
15653 //      data.item: "states" "";
15654       images {
15655          image: "bt_sm_base1.png" COMP;
15656          image: "bt_sm_shine.png" COMP;
15657          image: "bt_sm_hilight.png" COMP;
15658          image: "ilist_1.png" COMP;
15659          image: "ilist_item_shadow.png" COMP;
15660       }
15661       parts {
15662          part {
15663             name:           "event";
15664             type:           RECT;
15665             repeat_events: 1;
15666             description {
15667                state: "default" 0.0;
15668                color: 0 0 0 0;
15669             }
15670          }
15671          part {
15672             name: "base_sh";
15673             mouse_events: 0;
15674             description {
15675                state: "default" 0.0;
15676                align: 0.0 0.0;
15677                min: 0 10;
15678                fixed: 1 1;
15679                rel1 {
15680                   to: "base";
15681                   relative: 0.0 1.0;
15682                   offset: 0 0;
15683                }
15684                rel2 {
15685                   to: "base";
15686                   relative: 1.0 1.0;
15687                   offset: -1 0;
15688                }
15689                image {
15690                   normal: "ilist_item_shadow.png";
15691                }
15692                fill.smooth: 0;
15693             }
15694          }
15695          part {
15696             name: "base";
15697             mouse_events: 0;
15698             description {
15699                state: "default" 0.0;
15700                image {
15701                   normal: "ilist_1.png";
15702                   border: 2 2 2 2;
15703                }
15704                fill.smooth: 0;
15705             }
15706          }
15707          part { name: "bg";
15708             clip_to: "disclip";
15709             mouse_events: 0;
15710             description { state: "default" 0.0;
15711                visible: 0;
15712                color: 255 255 255 0;
15713                rel1 {
15714                   relative: 0.0 0.0;
15715                   offset: -5 -5;
15716                }
15717                rel2 {
15718                   relative: 1.0 1.0;
15719                   offset: 4 4;
15720                }
15721                image {
15722                   normal: "bt_sm_base1.png";
15723                   border: 6 6 6 6;
15724                }
15725                image.middle: SOLID;
15726             }
15727             description { state: "selected" 0.0;
15728                inherit: "default" 0.0;
15729                visible: 1;
15730                color: 255 255 255 255;
15731                rel1 {
15732                   relative: 0.0 0.0;
15733                   offset: -2 -2;
15734                }
15735                rel2 {
15736                   relative: 1.0 1.0;
15737                   offset: 1 1;
15738                }
15739             }
15740          }
15741          part { name: "elm.swallow.pad";
15742             type: SWALLOW;
15743             description { state: "default" 0.0;
15744                fixed: 1 0;
15745                align: 0.0 0.5;
15746                rel1 {
15747                   relative: 0.0  0.0;
15748                   offset:   4    4;
15749                }
15750                rel2 {
15751                   relative: 0.0  1.0;
15752                   offset:   4   -5;
15753                }
15754             }
15755          }
15756          part { name: "elm.swallow.icon";
15757             clip_to: "disclip";
15758             type: SWALLOW;
15759             description { state: "default" 0.0;
15760                fixed: 1 0;
15761                align: 0.0 0.5;
15762                rel1 {
15763                   to_x: "elm.swallow.pad";
15764                   relative: 1.0  0.0;
15765                   offset:   -1    4;
15766                }
15767                rel2 {
15768                   to_x: "elm.swallow.pad";
15769                   relative: 1.0  1.0;
15770                   offset:   -1   -5;
15771                }
15772             }
15773          }
15774          part { name: "elm.swallow.end";
15775             clip_to: "disclip";
15776             type: SWALLOW;
15777             description { state: "default" 0.0;
15778                fixed: 1 0;
15779                align: 1.0 0.5;
15780                aspect: 1.0 1.0;
15781                aspect_preference: VERTICAL;
15782                rel1 {
15783                   relative: 1.0  0.0;
15784                   offset:   -5    4;
15785                }
15786                rel2 {
15787                   relative: 1.0  1.0;
15788                   offset:   -5   -5;
15789                }
15790             }
15791          }
15792          part { name: "elm.text";
15793             clip_to: "disclip";
15794             type:           TEXT;
15795             effect:         SOFT_SHADOW;
15796             mouse_events:   0;
15797             scale: 1;
15798             description {
15799                state: "default" 0.0;
15800 //               min: 16 16;
15801                rel1 {
15802                   to_x:     "elm.swallow.icon";
15803                   relative: 1.0  0.0;
15804                   offset:   0 4;
15805                }
15806                rel2 {
15807                   to_x:     "elm.swallow.end";
15808                   relative: 0.0  1.0;
15809                   offset:   -1 -5;
15810                }
15811                color: 0 0 0 255;
15812                color3: 0 0 0 0;
15813                text {
15814                   font: "Sans";
15815                   size: 10;
15816                   min: 1 1;
15817 //                  min: 0 1;
15818                   align: 0.0 0.5;
15819                   text_class: "list_item";
15820                }
15821             }
15822             description { state: "selected" 0.0;
15823                inherit: "default" 0.0;
15824                color: 224 224 224 255;
15825                color3: 0 0 0 64;
15826             }
15827          }
15828          part { name: "fg1";
15829             clip_to: "disclip";
15830             mouse_events: 0;
15831             description { state: "default" 0.0;
15832                visible: 0;
15833                color: 255 255 255 0;
15834                rel1.to: "bg";
15835                rel2.relative: 1.0 0.5;
15836                rel2.to: "bg";
15837                image {
15838                   normal: "bt_sm_hilight.png";
15839                   border: 6 6 6 0;
15840                }
15841             }
15842             description { state: "selected" 0.0;
15843                inherit: "default" 0.0;
15844                visible: 1;
15845                color: 255 255 255 255;
15846             }
15847          }
15848          part { name: "fg2";
15849             clip_to: "disclip";
15850             mouse_events: 0;
15851             description { state: "default" 0.0;
15852                visible: 0;
15853                color: 255 255 255 0;
15854                rel1.to: "bg";
15855                rel2.to: "bg";
15856                image {
15857                   normal: "bt_sm_shine.png";
15858                   border: 6 6 6 0;
15859                }
15860             }
15861             description { state: "selected" 0.0;
15862                inherit: "default" 0.0;
15863                visible: 1;
15864                color: 255 255 255 255;
15865             }
15866          }
15867          part { name: "disclip";
15868             type: RECT;
15869             description { state: "default" 0.0;
15870                rel1.to: "bg";
15871                rel2.to: "bg";
15872             }
15873             description { state: "disabled" 0.0;
15874                inherit: "default" 0.0;
15875                color: 255 255 255 64;
15876             }
15877          }
15878       }
15879       programs {
15880          // signal: elm,state,%s,active
15881          //   a "check" item named %s went active
15882          // signal: elm,state,%s,passive
15883          //   a "check" item named %s went passive
15884          // default is passive
15885          program {
15886             name:    "go_active";
15887             signal:  "elm,state,selected";
15888             source:  "elm";
15889             action:  STATE_SET "selected" 0.0;
15890             target:  "bg";
15891             target:  "fg1";
15892             target:  "fg2";
15893             target:  "elm.text";
15894          }
15895          program {
15896             name:    "go_passive";
15897             signal:  "elm,state,unselected";
15898             source:  "elm";
15899             action:  STATE_SET "default" 0.0;
15900             target:  "bg";
15901             target:  "fg1";
15902             target:  "fg2";
15903             target:  "elm.text";
15904             transition: LINEAR 0.1;
15905          }
15906          program {
15907             name:    "go_disabled";
15908             signal:  "elm,state,disabled";
15909             source:  "elm";
15910             action:  STATE_SET "disabled" 0.0;
15911             target:  "disclip";
15912          }
15913          program {
15914             name:    "go_enabled";
15915             signal:  "elm,state,enabled";
15916             source:  "elm";
15917             action:  STATE_SET "default" 0.0;
15918             target:  "disclip";
15919          }
15920       }
15921    }
15922    group { name: "elm/genlist/item/group_index/default";
15923       alias: "elm/genlist/item_odd/group_index/default";
15924       alias: "elm/genlist/item_compress/group_index/default";
15925       alias: "elm/genlist/item_compress_odd/group_index/default";
15926       data.item: "stacking" "above";
15927       data.item: "selectraise" "on";
15928       data.item: "labels" "elm.text";
15929       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15930       data.item: "treesize" "20";
15931 //      data.item: "states" "";
15932       images {
15933          image: "bt_sm_base1.png" COMP;
15934          image: "bt_sm_shine.png" COMP;
15935          image: "bt_sm_hilight.png" COMP;
15936          image: "ilist_item_shadow.png" COMP;
15937          image: "group_index.png" COMP;
15938       }
15939       parts {
15940          part {
15941             name: "event";
15942             type: RECT;
15943             repeat_events: 0;
15944             description {
15945                state: "default" 0.0;
15946                color: 0 0 0 0;
15947             }
15948          }
15949          part {
15950             name: "base_sh";
15951             mouse_events: 0;
15952             description {
15953                state: "default" 0.0;
15954                align: 0.0 0.0;
15955                min: 0 10;
15956                fixed: 1 1;
15957                rel1 {
15958                   to: "base";
15959                   relative: 0.0 1.0;
15960                   offset: 0 0;
15961                }
15962                rel2 {
15963                   to: "base";
15964                   relative: 1.0 1.0;
15965                   offset: -1 0;
15966                }
15967                image {
15968                   normal: "ilist_item_shadow.png";
15969                }
15970                fill.smooth: 0;
15971             }
15972          }
15973          part {
15974             name: "base";
15975             mouse_events: 0;
15976             description {
15977                state: "default" 0.0;
15978                image {
15979                   normal: "group_index.png";
15980                   border: 2 2 2 2;
15981                }
15982                fill.smooth: 0;
15983             }
15984          }
15985          part { name: "bg";
15986             clip_to: "disclip";
15987             mouse_events: 0;
15988             description { state: "default" 0.0;
15989                visible: 0;
15990                color: 255 255 255 0;
15991                rel1 {
15992                   relative: 0.0 0.0;
15993                   offset: -5 -5;
15994                }
15995                rel2 {
15996                   relative: 1.0 1.0;
15997                   offset: 4 4;
15998                }
15999                image {
16000                   normal: "bt_sm_base1.png";
16001                   border: 6 6 6 6;
16002                }
16003                image.middle: SOLID;
16004             }
16005             description { state: "selected" 0.0;
16006                inherit: "default" 0.0;
16007                visible: 1;
16008                color: 255 255 255 255;
16009                rel1 {
16010                   relative: 0.0 0.0;
16011                   offset: -2 -2;
16012                }
16013                rel2 {
16014                   relative: 1.0 1.0;
16015                   offset: 1 1;
16016                }
16017             }
16018          }
16019          part { name: "elm.swallow.pad";
16020             type: SWALLOW;
16021             description { state: "default" 0.0;
16022                fixed: 1 0;
16023                align: 0.0 0.5;
16024                rel1 {
16025                   relative: 0.0  0.0;
16026                   offset: 4 4;
16027                }
16028                rel2 {
16029                   relative: 0.0  1.0;
16030                   offset: 4 -5;
16031                }
16032             }
16033          }
16034          part { name: "elm.swallow.icon";
16035             clip_to: "disclip";
16036             type: SWALLOW;
16037             description { state: "default" 0.0;
16038                fixed: 1 0;
16039                align: 0.0 0.5;
16040                rel1 {
16041                   to_x: "elm.swallow.pad";
16042                   relative: 1.0 0.0;
16043                   offset: -1 4;
16044                }
16045                rel2 {
16046                   to_x: "elm.swallow.pad";
16047                   relative: 1.0 1.0;
16048                   offset: -1 -5;
16049                }
16050             }
16051          }
16052          part { name: "elm.swallow.end";
16053             clip_to: "disclip";
16054             type: SWALLOW;
16055             description { state: "default" 0.0;
16056                fixed: 1 0;
16057                align: 1.0 0.5;
16058                aspect: 1.0 1.0;
16059                aspect_preference: VERTICAL;
16060                rel1 {
16061                   relative: 1.0 0.0;
16062                   offset: -5 4;
16063                }
16064                rel2 {
16065                   relative: 1.0 1.0;
16066                   offset: -5 -5;
16067                }
16068             }
16069          }
16070          part { name: "elm.text";
16071             clip_to: "disclip";
16072             type: TEXT;
16073             effect: SOFT_SHADOW;
16074             mouse_events: 0;
16075             scale: 1;
16076             description {
16077                state: "default" 0.0;
16078 //               min: 16 16;
16079                rel1 {
16080                   to_x: "elm.swallow.icon";
16081                   relative: 1.0  0.0;
16082                   offset: 0 4;
16083                }
16084                rel2 {
16085                   to_x: "elm.swallow.end";
16086                   relative: 0.0  1.0;
16087                   offset: -1 -5;
16088                }
16089                color: 0 0 0 255;
16090                color3: 0 0 0 0;
16091                text {
16092                   font: "Sans";
16093                   size: 10;
16094                   min: 1 1;
16095 //                  min: 0 1;
16096                   align: -1.0 0.5;
16097                   text_class: "list_item";
16098                }
16099             }
16100             description { state: "selected" 0.0;
16101                inherit: "default" 0.0;
16102                color: 224 224 224 255;
16103                color3: 0 0 0 64;
16104             }
16105          }
16106          part { name: "fg1";
16107             clip_to: "disclip";
16108             mouse_events: 0;
16109             description { state: "default" 0.0;
16110                visible: 0;
16111                color: 255 255 255 0;
16112                rel1.to: "bg";
16113                rel2.relative: 1.0 0.5;
16114                rel2.to: "bg";
16115                image {
16116                   normal: "bt_sm_hilight.png";
16117                   border: 6 6 6 0;
16118                }
16119             }
16120             description { state: "selected" 0.0;
16121                inherit: "default" 0.0;
16122                visible: 1;
16123                color: 255 255 255 255;
16124             }
16125          }
16126          part { name: "fg2";
16127             clip_to: "disclip";
16128             mouse_events: 0;
16129             description { state: "default" 0.0;
16130                visible: 0;
16131                color: 255 255 255 0;
16132                rel1.to: "bg";
16133                rel2.to: "bg";
16134                image {
16135                   normal: "bt_sm_shine.png";
16136                   border: 6 6 6 0;
16137                }
16138             }
16139             description { state: "selected" 0.0;
16140                inherit: "default" 0.0;
16141                visible: 1;
16142                color: 255 255 255 255;
16143             }
16144          }
16145          part { name: "disclip";
16146             type: RECT;
16147             description { state: "default" 0.0;
16148                rel1.to: "bg";
16149                rel2.to: "bg";
16150             }
16151             description { state: "disabled" 0.0;
16152                inherit: "default" 0.0;
16153                color: 255 255 255 64;
16154             }
16155          }
16156       }
16157       programs {
16158          // signal: elm,state,%s,active
16159          //   a "check" item named %s went active
16160          // signal: elm,state,%s,passive
16161          //   a "check" item named %s went passive
16162          // default is passive
16163          program {
16164             name:    "go_active";
16165             signal:  "elm,state,selected";
16166             source:  "elm";
16167             action:  STATE_SET "selected" 0.0;
16168             target:  "bg";
16169             target:  "fg1";
16170             target:  "fg2";
16171             target:  "elm.text";
16172          }
16173          program {
16174             name:    "go_passive";
16175             signal:  "elm,state,unselected";
16176             source:  "elm";
16177             action:  STATE_SET "default" 0.0;
16178             target:  "bg";
16179             target:  "fg1";
16180             target:  "fg2";
16181             target:  "elm.text";
16182             transition: LINEAR 0.1;
16183          }
16184          program {
16185             name:    "go_disabled";
16186             signal:  "elm,state,disabled";
16187             source:  "elm";
16188             action:  STATE_SET "disabled" 0.0;
16189             target:  "disclip";
16190          }
16191          program {
16192             name:    "go_enabled";
16193             signal:  "elm,state,enabled";
16194             source:  "elm";
16195             action:  STATE_SET "default" 0.0;
16196             target:  "disclip";
16197          }
16198       }
16199    }
16200    group { name: "elm/genlist/item_compress/message/default";
16201       data.item: "stacking" "above";
16202       data.item: "selectraise" "on";
16203       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16204 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16205       data.item: "treesize" "20";
16206 //      data.item: "states" "";
16207       images {
16208          image: "bt_sm_base1.png" COMP;
16209          image: "bt_sm_shine.png" COMP;
16210          image: "bt_sm_hilight.png" COMP;
16211          image: "ilist_1.png" COMP;
16212          image: "ilist_item_shadow.png" COMP;
16213       }
16214       styles {
16215         style { name: "genlist_textblock_style";
16216           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16217           tag:  "br" "\n";
16218           tag:  "ps" "ps";
16219           tag:  "tab" "\t";
16220         }
16221         style { name: "genlist_textblock_style2";
16222           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16223           tag:  "br" "\n";
16224           tag:  "ps" "ps";
16225           tag:  "tab" "\t";
16226         }
16227       }
16228      parts {
16229          part {
16230             name:           "event";
16231             type:           RECT;
16232             repeat_events: 1;
16233             description {
16234                state: "default" 0.0;
16235                color: 0 0 0 0;
16236             }
16237          }
16238          part {
16239             name: "base_sh";
16240             mouse_events: 0;
16241             description {
16242                state: "default" 0.0;
16243                align: 0.0 0.0;
16244                min: 0 10;
16245                fixed: 1 1;
16246                rel1 {
16247                   to: "base";
16248                   relative: 0.0 1.0;
16249                   offset: 0 0;
16250                }
16251                rel2 {
16252                   to: "base";
16253                   relative: 1.0 1.0;
16254                   offset: -1 0;
16255                }
16256                image {
16257                   normal: "ilist_item_shadow.png";
16258                }
16259                fill.smooth: 0;
16260             }
16261          }
16262          part {
16263             name: "base";
16264             mouse_events: 0;
16265             description {
16266                state: "default" 0.0;
16267                image {
16268                   normal: "ilist_1.png";
16269                   border: 2 2 2 2;
16270                }
16271                fill.smooth: 0;
16272             }
16273          }
16274          part { name: "bg";
16275             clip_to: "disclip";
16276             mouse_events: 0;
16277             description { state: "default" 0.0;
16278                visible: 0;
16279                color: 255 255 255 0;
16280                rel1 {
16281                   relative: 0.0 0.0;
16282                   offset: -5 -5;
16283                }
16284                rel2 {
16285                   relative: 1.0 1.0;
16286                   offset: 4 4;
16287                }
16288                image {
16289                   normal: "bt_sm_base1.png";
16290                   border: 6 6 6 6;
16291                }
16292                image.middle: SOLID;
16293             }
16294             description { state: "selected" 0.0;
16295                inherit: "default" 0.0;
16296                visible: 1;
16297                color: 255 255 255 255;
16298                rel1 {
16299                   relative: 0.0 0.0;
16300                   offset: -2 -2;
16301                }
16302                rel2 {
16303                   relative: 1.0 1.0;
16304                   offset: 1 1;
16305                }
16306             }
16307          }
16308          part { name: "elm.title.1";
16309             clip_to: "disclip";
16310             type:           TEXT;
16311             effect:         SOFT_SHADOW;
16312             mouse_events:   0;
16313             scale: 1;
16314             description {
16315                state: "default" 0.0;
16316                fixed: 0 1;
16317 //               min: 16 16;
16318                rel1 {
16319                   relative: 0.0  0.0;
16320                   offset:   4 4;
16321                }
16322                rel2 {
16323                   relative: 1.0  0.0;
16324                   offset:   -5 4;
16325                }
16326                color: 0 0 0 255;
16327                color3: 0 0 0 0;
16328                align: 0.0 0.0;
16329                text {
16330                   font: "Sans";
16331                   size: 10;
16332                   min: 0 1;
16333 //                  min: 1 1;
16334                   align: 0.0 0.0;
16335                   text_class: "list_item";
16336                }
16337             }
16338             description { state: "selected" 0.0;
16339                inherit: "default" 0.0;
16340                color: 224 224 224 255;
16341                color3: 0 0 0 64;
16342             }
16343          }
16344          part { name: "elm.title.2";
16345             clip_to: "disclip";
16346             type:           TEXT;
16347             effect:         SOFT_SHADOW;
16348             mouse_events:   0;
16349             scale: 1;
16350             description {
16351                state: "default" 0.0;
16352                fixed: 0 1;
16353 //               min: 16 16;
16354                rel1 {
16355                   to_y:     "elm.title.1";
16356                   relative: 0.0  1.0;
16357                   offset:   4 0;
16358                }
16359                rel2 {
16360                   to_y:     "elm.title.1";
16361                   relative: 1.0  1.0;
16362                   offset:   -5 0;
16363                }
16364                color: 0 0 0 255;
16365                color3: 0 0 0 0;
16366                align: 0.0 0.0;
16367                text {
16368                   font: "Sans";
16369                   size: 10;
16370                   min: 0 1;
16371 //                  min: 1 1;
16372                   align: 0.0 0.0;
16373                   text_class: "list_item";
16374                }
16375             }
16376             description { state: "selected" 0.0;
16377                inherit: "default" 0.0;
16378                color: 224 224 224 255;
16379                color3: 0 0 0 64;
16380             }
16381          }
16382          part { name: "elm.text";
16383             clip_to: "disclip";
16384             type:           TEXTBLOCK;
16385             mouse_events:   0;
16386             scale: 1;
16387             description {
16388                state: "default" 0.0;
16389 //               fixed: 0 1;
16390 //               min: 16 16;
16391                rel1 {
16392                   to_y:     "elm.title.2";
16393                   relative: 0.0  1.0;
16394                   offset:   4 0;
16395                }
16396                rel2 {
16397                   relative: 1.0  1.0;
16398                   offset:   -5 -5;
16399                }
16400                align: 0.0 0.0;
16401                text {
16402                   style: "genlist_textblock_style";
16403                   min: 0 1;
16404 //                  min: 1 1;
16405                   align: 0.0 0.0;
16406                }
16407             }
16408             description { state: "selected" 0.0;
16409                inherit: "default" 0.0;
16410                text {
16411                   style: "genlist_textblock_style2";
16412                }
16413             }
16414          }
16415          part { name: "fg1";
16416             clip_to: "disclip";
16417             mouse_events: 0;
16418             description { state: "default" 0.0;
16419                visible: 0;
16420                color: 255 255 255 0;
16421                rel1.to: "bg";
16422                rel2.relative: 1.0 0.5;
16423                rel2.to: "bg";
16424                image {
16425                   normal: "bt_sm_hilight.png";
16426                   border: 6 6 6 0;
16427                }
16428             }
16429             description { state: "selected" 0.0;
16430                inherit: "default" 0.0;
16431                visible: 1;
16432                color: 255 255 255 255;
16433             }
16434          }
16435          part { name: "fg2";
16436             clip_to: "disclip";
16437             mouse_events: 0;
16438             description { state: "default" 0.0;
16439                visible: 0;
16440                color: 255 255 255 0;
16441                rel1.to: "bg";
16442                rel2.to: "bg";
16443                image {
16444                   normal: "bt_sm_shine.png";
16445                   border: 6 6 6 0;
16446                }
16447             }
16448             description { state: "selected" 0.0;
16449                inherit: "default" 0.0;
16450                visible: 1;
16451                color: 255 255 255 255;
16452             }
16453          }
16454          part { name: "disclip";
16455             type: RECT;
16456             description { state: "default" 0.0;
16457                rel1.to: "bg";
16458                rel2.to: "bg";
16459             }
16460             description { state: "disabled" 0.0;
16461                inherit: "default" 0.0;
16462                color: 255 255 255 64;
16463             }
16464          }
16465       }
16466       programs {
16467          // signal: elm,state,%s,active
16468          //   a "check" item named %s went active
16469          // signal: elm,state,%s,passive
16470          //   a "check" item named %s went passive
16471          // default is passive
16472          program {
16473             name:    "go_active";
16474             signal:  "elm,state,selected";
16475             source:  "elm";
16476             action:  STATE_SET "selected" 0.0;
16477             target:  "bg";
16478             target:  "fg1";
16479             target:  "fg2";
16480             target:  "elm.title.1";
16481             target:  "elm.title.2";
16482             target:  "elm.text";
16483          }
16484          program {
16485             name:    "go_passive";
16486             signal:  "elm,state,unselected";
16487             source:  "elm";
16488             action:  STATE_SET "default" 0.0;
16489             target:  "bg";
16490             target:  "fg1";
16491             target:  "fg2";
16492             target:  "elm.title.1";
16493             target:  "elm.title.2";
16494             target:  "elm.text";
16495             transition: LINEAR 0.1;
16496          }
16497          program {
16498             name:    "go_disabled";
16499             signal:  "elm,state,disabled";
16500             source:  "elm";
16501             action:  STATE_SET "disabled" 0.0;
16502             target:  "disclip";
16503          }
16504          program {
16505             name:    "go_enabled";
16506             signal:  "elm,state,enabled";
16507             source:  "elm";
16508             action:  STATE_SET "default" 0.0;
16509             target:  "disclip";
16510          }
16511       }
16512    }
16513    group { name: "elm/genlist/item_compress_odd/message/default";
16514       data.item: "stacking" "below";
16515       data.item: "selectraise" "on";
16516       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16517 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16518       data.item: "treesize" "20";
16519 //      data.item: "states" "";
16520       images {
16521          image: "bt_sm_base1.png" COMP;
16522          image: "bt_sm_shine.png" COMP;
16523          image: "bt_sm_hilight.png" COMP;
16524          image: "ilist_2.png" COMP;
16525       }
16526       parts {
16527          part { name: "event";
16528             type: RECT;
16529             repeat_events: 1;
16530             description {
16531                state: "default" 0.0;
16532                color: 0 0 0 0;
16533             }
16534          }
16535          part {
16536             name: "base";
16537             mouse_events: 0;
16538             description {
16539                state: "default" 0.0;
16540                image {
16541                   normal: "ilist_2.png";
16542                   border: 2 2 2 2;
16543                }
16544                fill.smooth: 0;
16545             }
16546          }
16547          part { name: "bg";
16548             clip_to: "disclip";
16549             mouse_events: 0;
16550             description { state: "default" 0.0;
16551                visible: 0;
16552                color: 255 255 255 0;
16553                rel1 {
16554                   relative: 0.0 0.0;
16555                   offset: -5 -5;
16556                }
16557                rel2 {
16558                   relative: 1.0 1.0;
16559                   offset: 4 4;
16560                }
16561                image {
16562                   normal: "bt_sm_base1.png";
16563                   border: 6 6 6 6;
16564                }
16565                image.middle: SOLID;
16566             }
16567             description { state: "selected" 0.0;
16568                inherit: "default" 0.0;
16569                visible: 1;
16570                color: 255 255 255 255;
16571                rel1 {
16572                   relative: 0.0 0.0;
16573                   offset: -2 -2;
16574                }
16575                rel2 {
16576                   relative: 1.0 1.0;
16577                   offset: 1 1;
16578                }
16579             }
16580          }
16581          part { name: "elm.title.1";
16582             clip_to: "disclip";
16583             type:           TEXT;
16584             effect:         SOFT_SHADOW;
16585             mouse_events:   0;
16586             scale: 1;
16587             description {
16588                state: "default" 0.0;
16589                fixed: 0 1;
16590 //               min: 16 16;
16591                rel1 {
16592                   relative: 0.0  0.0;
16593                   offset:   4 4;
16594                }
16595                rel2 {
16596                   relative: 1.0  0.0;
16597                   offset:   -5 4;
16598                }
16599                color: 0 0 0 255;
16600                color3: 0 0 0 0;
16601                align: 0.0 0.0;
16602                text {
16603                   font: "Sans";
16604                   size: 10;
16605                   min: 0 1;
16606 //                  min: 1 1;
16607                   align: 0.0 0.0;
16608                   text_class: "list_item";
16609                }
16610             }
16611             description { state: "selected" 0.0;
16612                inherit: "default" 0.0;
16613                color: 224 224 224 255;
16614                color3: 0 0 0 64;
16615             }
16616          }
16617          part { name: "elm.title.2";
16618             clip_to: "disclip";
16619             type:           TEXT;
16620             effect:         SOFT_SHADOW;
16621             mouse_events:   0;
16622             scale: 1;
16623             description {
16624                state: "default" 0.0;
16625                fixed: 0 1;
16626 //               min: 16 16;
16627                rel1 {
16628                   to_y:     "elm.title.1";
16629                   relative: 0.0  1.0;
16630                   offset:   4 0;
16631                }
16632                rel2 {
16633                   to_y:     "elm.title.1";
16634                   relative: 1.0  1.0;
16635                   offset:   -5 0;
16636                }
16637                color: 0 0 0 255;
16638                color3: 0 0 0 0;
16639                align: 0.0 0.0;
16640                text {
16641                   font: "Sans";
16642                   size: 10;
16643                   min: 0 1;
16644 //                  min: 1 1;
16645                   align: 0.0 0.0;
16646                   text_class: "list_item";
16647                }
16648             }
16649             description { state: "selected" 0.0;
16650                inherit: "default" 0.0;
16651                color: 224 224 224 255;
16652                color3: 0 0 0 64;
16653             }
16654          }
16655          part { name: "elm.text";
16656             clip_to: "disclip";
16657             type:           TEXTBLOCK;
16658             mouse_events:   0;
16659             scale: 1;
16660             description {
16661                state: "default" 0.0;
16662 //               fixed: 0 1;
16663 //               min: 16 16;
16664                rel1 {
16665                   to_y:     "elm.title.2";
16666                   relative: 0.0  1.0;
16667                   offset:   4 0;
16668                }
16669                rel2 {
16670                   relative: 1.0  1.0;
16671                   offset:   -5 -5;
16672                }
16673                align: 0.0 0.0;
16674                text {
16675                   style: "genlist_textblock_style";
16676                   min: 0 1;
16677 //                  min: 1 1;
16678                   align: 0.0 0.0;
16679                }
16680             }
16681             description { state: "selected" 0.0;
16682                inherit: "default" 0.0;
16683                text {
16684                   style: "genlist_textblock_style2";
16685                }
16686             }
16687          }
16688          part { name: "fg1";
16689             clip_to: "disclip";
16690             mouse_events: 0;
16691             description { state: "default" 0.0;
16692                visible: 0;
16693                color: 255 255 255 0;
16694                rel1.to: "bg";
16695                rel2.relative: 1.0 0.5;
16696                rel2.to: "bg";
16697                image {
16698                   normal: "bt_sm_hilight.png";
16699                   border: 6 6 6 0;
16700                }
16701             }
16702             description { state: "selected" 0.0;
16703                inherit: "default" 0.0;
16704                visible: 1;
16705                color: 255 255 255 255;
16706             }
16707          }
16708          part { name: "fg2";
16709             clip_to: "disclip";
16710             mouse_events: 0;
16711             description { state: "default" 0.0;
16712                visible: 0;
16713                color: 255 255 255 0;
16714                rel1.to: "bg";
16715                rel2.to: "bg";
16716                image {
16717                   normal: "bt_sm_shine.png";
16718                   border: 6 6 6 0;
16719                }
16720             }
16721             description { state: "selected" 0.0;
16722                inherit: "default" 0.0;
16723                visible: 1;
16724                color: 255 255 255 255;
16725             }
16726          }
16727          part { name: "disclip";
16728             type: RECT;
16729             description { state: "default" 0.0;
16730                rel1.to: "bg";
16731                rel2.to: "bg";
16732             }
16733             description { state: "disabled" 0.0;
16734                inherit: "default" 0.0;
16735                color: 255 255 255 64;
16736             }
16737          }
16738       }
16739       programs {
16740          // signal: elm,state,%s,active
16741          //   a "check" item named %s went active
16742          // signal: elm,state,%s,passive
16743          //   a "check" item named %s went passive
16744          // default is passive
16745          program {
16746             name:    "go_active";
16747             signal:  "elm,state,selected";
16748             source:  "elm";
16749             action:  STATE_SET "selected" 0.0;
16750             target:  "bg";
16751             target:  "fg1";
16752             target:  "fg2";
16753             target:  "elm.title.1";
16754             target:  "elm.title.2";
16755             target:  "elm.text";
16756          }
16757          program {
16758             name:    "go_passive";
16759             signal:  "elm,state,unselected";
16760             source:  "elm";
16761             action:  STATE_SET "default" 0.0;
16762             target:  "bg";
16763             target:  "fg1";
16764             target:  "fg2";
16765             target:  "elm.title.1";
16766             target:  "elm.title.2";
16767             target:  "elm.text";
16768             transition: LINEAR 0.1;
16769          }
16770          program {
16771             name:    "go_disabled";
16772             signal:  "elm,state,disabled";
16773             source:  "elm";
16774             action:  STATE_SET "disabled" 0.0;
16775             target:  "disclip";
16776          }
16777          program {
16778             name:    "go_enabled";
16779             signal:  "elm,state,enabled";
16780             source:  "elm";
16781             action:  STATE_SET "default" 0.0;
16782             target:  "disclip";
16783          }
16784       }
16785    }
16786    group { name: "elm/genlist/item_compress/default/default";
16787       data.item: "stacking" "above";
16788       data.item: "selectraise" "on";
16789       data.item: "labels" "elm.text";
16790       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16791       data.item: "treesize" "20";
16792 //      data.item: "states" "";
16793       images {
16794          image: "bt_sm_base1.png" COMP;
16795          image: "bt_sm_shine.png" COMP;
16796          image: "bt_sm_hilight.png" COMP;
16797          image: "ilist_1.png" COMP;
16798          image: "ilist_item_shadow.png" COMP;
16799       }
16800       parts {
16801          part {
16802             name:           "event";
16803             type:           RECT;
16804             repeat_events: 1;
16805             description {
16806                state: "default" 0.0;
16807                color: 0 0 0 0;
16808             }
16809          }
16810          part {
16811             name: "base_sh";
16812             mouse_events: 0;
16813             description {
16814                state: "default" 0.0;
16815                align: 0.0 0.0;
16816                min: 0 10;
16817                fixed: 1 1;
16818                rel1 {
16819                   to: "base";
16820                   relative: 0.0 1.0;
16821                   offset: 0 0;
16822                }
16823                rel2 {
16824                   to: "base";
16825                   relative: 1.0 1.0;
16826                   offset: -1 0;
16827                }
16828                image {
16829                   normal: "ilist_item_shadow.png";
16830                }
16831                fill.smooth: 0;
16832             }
16833          }
16834          part {
16835             name: "base";
16836             mouse_events: 0;
16837             description {
16838                state: "default" 0.0;
16839                image {
16840                   normal: "ilist_1.png";
16841                   border: 2 2 2 2;
16842                }
16843                fill.smooth: 0;
16844             }
16845          }
16846          part { name: "bg";
16847             clip_to: "disclip";
16848             mouse_events: 0;
16849             description { state: "default" 0.0;
16850                visible: 0;
16851                color: 255 255 255 0;
16852                rel1 {
16853                   relative: 0.0 0.0;
16854                   offset: -5 -5;
16855                }
16856                rel2 {
16857                   relative: 1.0 1.0;
16858                   offset: 4 4;
16859                }
16860                image {
16861                   normal: "bt_sm_base1.png";
16862                   border: 6 6 6 6;
16863                }
16864                image.middle: SOLID;
16865             }
16866             description { state: "selected" 0.0;
16867                inherit: "default" 0.0;
16868                visible: 1;
16869                color: 255 255 255 255;
16870                rel1 {
16871                   relative: 0.0 0.0;
16872                   offset: -2 -2;
16873                }
16874                rel2 {
16875                   relative: 1.0 1.0;
16876                   offset: 1 1;
16877                }
16878             }
16879          }
16880          part { name: "elm.swallow.pad";
16881             type: SWALLOW;
16882             description { state: "default" 0.0;
16883                fixed: 1 0;
16884                align: 0.0 0.5;
16885                rel1 {
16886                   relative: 0.0  0.0;
16887                   offset:   4    4;
16888                }
16889                rel2 {
16890                   relative: 0.0  1.0;
16891                   offset:   4   -5;
16892                }
16893             }
16894          }
16895          part { name: "elm.swallow.icon";
16896             clip_to: "disclip";
16897             type: SWALLOW;
16898             description { state: "default" 0.0;
16899                fixed: 1 0;
16900                align: 0.0 0.5;
16901                rel1 {
16902                   to_x: "elm.swallow.pad";
16903                   relative: 1.0  0.0;
16904                   offset:   -1    4;
16905                }
16906                rel2 {
16907                   to_x: "elm.swallow.pad";
16908                   relative: 1.0  1.0;
16909                   offset:   -1   -5;
16910                }
16911             }
16912          }
16913          part { name: "elm.swallow.end";
16914             clip_to: "disclip";
16915             type: SWALLOW;
16916             description { state: "default" 0.0;
16917                fixed: 1 0;
16918                align: 1.0 0.5;
16919                aspect: 1.0 1.0;
16920                aspect_preference: VERTICAL;
16921                rel1 {
16922                   relative: 1.0  0.0;
16923                   offset:   -5    4;
16924                }
16925                rel2 {
16926                   relative: 1.0  1.0;
16927                   offset:   -5   -5;
16928                }
16929             }
16930          }
16931          part { name: "elm.text";
16932             clip_to: "disclip";
16933             type:           TEXT;
16934             effect:         SOFT_SHADOW;
16935             mouse_events:   0;
16936             scale: 1;
16937             description {
16938                state: "default" 0.0;
16939 //               min: 16 16;
16940                rel1 {
16941                   to_x:     "elm.swallow.icon";
16942                   relative: 1.0  0.0;
16943                   offset:   0 4;
16944                }
16945                rel2 {
16946                   to_x:     "elm.swallow.end";
16947                   relative: 0.0  1.0;
16948                   offset:   -1 -5;
16949                }
16950                color: 0 0 0 255;
16951                color3: 0 0 0 0;
16952                text {
16953                   font: "Sans";
16954                   size: 10;
16955                   min: 0 1;
16956 //                  min: 1 1;
16957                   align: 0.0 0.5;
16958                   text_class: "list_item";
16959                }
16960             }
16961             description { state: "selected" 0.0;
16962                inherit: "default" 0.0;
16963                color: 224 224 224 255;
16964                color3: 0 0 0 64;
16965             }
16966          }
16967          part { name: "fg1";
16968             clip_to: "disclip";
16969             mouse_events: 0;
16970             description { state: "default" 0.0;
16971                visible: 0;
16972                color: 255 255 255 0;
16973                rel1.to: "bg";
16974                rel2.relative: 1.0 0.5;
16975                rel2.to: "bg";
16976                image {
16977                   normal: "bt_sm_hilight.png";
16978                   border: 6 6 6 0;
16979                }
16980             }
16981             description { state: "selected" 0.0;
16982                inherit: "default" 0.0;
16983                visible: 1;
16984                color: 255 255 255 255;
16985             }
16986          }
16987          part { name: "fg2";
16988             clip_to: "disclip";
16989             mouse_events: 0;
16990             description { state: "default" 0.0;
16991                visible: 0;
16992                color: 255 255 255 0;
16993                rel1.to: "bg";
16994                rel2.to: "bg";
16995                image {
16996                   normal: "bt_sm_shine.png";
16997                   border: 6 6 6 0;
16998                }
16999             }
17000             description { state: "selected" 0.0;
17001                inherit: "default" 0.0;
17002                visible: 1;
17003                color: 255 255 255 255;
17004             }
17005          }
17006          part { name: "disclip";
17007             type: RECT;
17008             description { state: "default" 0.0;
17009                rel1.to: "bg";
17010                rel2.to: "bg";
17011             }
17012             description { state: "disabled" 0.0;
17013                inherit: "default" 0.0;
17014                color: 255 255 255 64;
17015             }
17016          }
17017       }
17018       programs {
17019          // signal: elm,state,%s,active
17020          //   a "check" item named %s went active
17021          // signal: elm,state,%s,passive
17022          //   a "check" item named %s went passive
17023          // default is passive
17024          program {
17025             name:    "go_active";
17026             signal:  "elm,state,selected";
17027             source:  "elm";
17028             action:  STATE_SET "selected" 0.0;
17029             target:  "bg";
17030             target:  "fg1";
17031             target:  "fg2";
17032             target:  "elm.text";
17033          }
17034          program {
17035             name:    "go_passive";
17036             signal:  "elm,state,unselected";
17037             source:  "elm";
17038             action:  STATE_SET "default" 0.0;
17039             target:  "bg";
17040             target:  "fg1";
17041             target:  "fg2";
17042             target:  "elm.text";
17043             transition: LINEAR 0.1;
17044          }
17045          program {
17046             name:    "go_disabled";
17047             signal:  "elm,state,disabled";
17048             source:  "elm";
17049             action:  STATE_SET "disabled" 0.0;
17050             target:  "disclip";
17051          }
17052          program {
17053             name:    "go_enabled";
17054             signal:  "elm,state,enabled";
17055             source:  "elm";
17056             action:  STATE_SET "default" 0.0;
17057             target:  "disclip";
17058          }
17059       }
17060    }
17061    group { name: "elm/genlist/item_odd/default/default";
17062       data.item: "stacking" "below";
17063       data.item: "selectraise" "on";
17064       data.item: "labels" "elm.text";
17065       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17066       data.item: "treesize" "20";
17067 //      data.item: "states" "";
17068       images {
17069          image: "bt_sm_base1.png" COMP;
17070          image: "bt_sm_shine.png" COMP;
17071          image: "bt_sm_hilight.png" COMP;
17072          image: "ilist_2.png" COMP;
17073       }
17074       parts {
17075          part { name: "event";
17076             type: RECT;
17077             repeat_events: 1;
17078             description {
17079                state: "default" 0.0;
17080                color: 0 0 0 0;
17081             }
17082          }
17083          part {
17084             name: "base";
17085             mouse_events: 0;
17086             description {
17087                state: "default" 0.0;
17088                image {
17089                   normal: "ilist_2.png";
17090                   border: 2 2 2 2;
17091                }
17092                fill.smooth: 0;
17093             }
17094          }
17095          part { name: "bg";
17096             clip_to: "disclip";
17097             mouse_events: 0;
17098             description { state: "default" 0.0;
17099                visible: 0;
17100                color: 255 255 255 0;
17101                rel1 {
17102                   relative: 0.0 0.0;
17103                   offset: -5 -5;
17104                }
17105                rel2 {
17106                   relative: 1.0 1.0;
17107                   offset: 4 4;
17108                }
17109                image {
17110                   normal: "bt_sm_base1.png";
17111                   border: 6 6 6 6;
17112                }
17113                image.middle: SOLID;
17114             }
17115             description { state: "selected" 0.0;
17116                inherit: "default" 0.0;
17117                visible: 1;
17118                color: 255 255 255 255;
17119                rel1 {
17120                   relative: 0.0 0.0;
17121                   offset: -2 -2;
17122                }
17123                rel2 {
17124                   relative: 1.0 1.0;
17125                   offset: 1 1;
17126                }
17127             }
17128          }
17129          part { name: "elm.swallow.pad";
17130             type: SWALLOW;
17131             description { state: "default" 0.0;
17132                fixed: 1 0;
17133                align: 0.0 0.5;
17134                rel1 {
17135                   relative: 0.0  0.0;
17136                   offset:   4    4;
17137                }
17138                rel2 {
17139                   relative: 0.0  1.0;
17140                   offset:   4   -5;
17141                }
17142             }
17143          }
17144          part { name: "elm.swallow.icon";
17145             clip_to: "disclip";
17146             type: SWALLOW;
17147             description { state: "default" 0.0;
17148                fixed: 1 0;
17149                align: 0.0 0.5;
17150                rel1 {
17151                   to_x: "elm.swallow.pad";
17152                   relative: 1.0  0.0;
17153                   offset:   -1    4;
17154                }
17155                rel2 {
17156                   to_x: "elm.swallow.pad";
17157                   relative: 1.0  1.0;
17158                   offset:   -1   -5;
17159                }
17160             }
17161          }
17162          part { name: "elm.swallow.end";
17163             clip_to: "disclip";
17164             type:          SWALLOW;
17165             description { state:    "default" 0.0;
17166                fixed: 1 0;
17167                align:    1.0 0.5;
17168                aspect: 1.0 1.0;
17169                aspect_preference: VERTICAL;
17170                rel1 {
17171                   relative: 1.0  0.0;
17172                   offset:   -5    4;
17173                }
17174                rel2 {
17175                   relative: 1.0  1.0;
17176                   offset:   -5   -5;
17177                }
17178             }
17179          }
17180          part { name: "elm.text";
17181             clip_to: "disclip";
17182             type:           TEXT;
17183             effect:         SOFT_SHADOW;
17184             mouse_events:   0;
17185             scale: 1;
17186             description {
17187                state: "default" 0.0;
17188 //               min:      16 16;
17189                rel1 {
17190                   to_x:     "elm.swallow.icon";
17191                   relative: 1.0  0.0;
17192                   offset:   0 4;
17193                }
17194                rel2 {
17195                   to_x:     "elm.swallow.end";
17196                   relative: 0.0  1.0;
17197                   offset:   -1 -5;
17198                }
17199                color: 0 0 0 255;
17200                color3: 0 0 0 0;
17201                text {
17202                   font: "Sans";
17203                   size: 10;
17204                   min: 1 1;
17205 //                  min: 0 1;
17206                   align: -1.0 0.5;
17207                   text_class: "list_item";
17208                }
17209             }
17210             description { state: "selected" 0.0;
17211                inherit: "default" 0.0;
17212                color: 224 224 224 255;
17213                color3: 0 0 0 64;
17214             }
17215          }
17216          part { name: "fg1";
17217             clip_to: "disclip";
17218             mouse_events: 0;
17219             description { state: "default" 0.0;
17220                visible: 0;
17221                color: 255 255 255 0;
17222                rel1.to: "bg";
17223                rel2.relative: 1.0 0.5;
17224                rel2.to: "bg";
17225                image {
17226                   normal: "bt_sm_hilight.png";
17227                   border: 6 6 6 0;
17228                }
17229             }
17230             description { state: "selected" 0.0;
17231                inherit: "default" 0.0;
17232                visible: 1;
17233                color: 255 255 255 255;
17234             }
17235          }
17236          part { name: "fg2";
17237             clip_to: "disclip";
17238             mouse_events: 0;
17239             description { state: "default" 0.0;
17240                visible: 0;
17241                color: 255 255 255 0;
17242                rel1.to: "bg";
17243                rel2.to: "bg";
17244                image {
17245                   normal: "bt_sm_shine.png";
17246                   border: 6 6 6 0;
17247                }
17248             }
17249             description { state: "selected" 0.0;
17250                inherit: "default" 0.0;
17251                visible: 1;
17252                color: 255 255 255 255;
17253             }
17254          }
17255          part { name: "disclip";
17256             type: RECT;
17257             description { state: "default" 0.0;
17258                rel1.to: "bg";
17259                rel2.to: "bg";
17260             }
17261             description { state: "disabled" 0.0;
17262                inherit: "default" 0.0;
17263                color: 255 255 255 64;
17264             }
17265          }
17266       }
17267       programs {
17268          // signal: elm,state,%s,active
17269          //   a "check" item named %s went active
17270          // signal: elm,state,%s,passive
17271          //   a "check" item named %s went passive
17272          // default is passive
17273          program {
17274             name:    "go_active";
17275             signal:  "elm,state,selected";
17276             source:  "elm";
17277             action:  STATE_SET "selected" 0.0;
17278             target:  "bg";
17279             target:  "fg1";
17280             target:  "fg2";
17281             target:  "elm.text";
17282          }
17283          program {
17284             name:    "go_passive";
17285             signal:  "elm,state,unselected";
17286             source:  "elm";
17287             action:  STATE_SET "default" 0.0;
17288             target:  "bg";
17289             target:  "fg1";
17290             target:  "fg2";
17291             target:  "elm.text";
17292             transition: LINEAR 0.1;
17293          }
17294          program {
17295             name:    "go_disabled";
17296             signal:  "elm,state,disabled";
17297             source:  "elm";
17298             action:  STATE_SET "disabled" 0.0;
17299             target:  "disclip";
17300          }
17301          program {
17302             name:    "go_enabled";
17303             signal:  "elm,state,enabled";
17304             source:  "elm";
17305             action:  STATE_SET "default" 0.0;
17306             target:  "disclip";
17307          }
17308       }
17309    }
17310    group { name: "elm/genlist/item_compress_odd/default/default";
17311       data.item: "stacking" "below";
17312       data.item: "selectraise" "on";
17313       data.item: "labels" "elm.text";
17314       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17315       data.item: "treesize" "20";
17316 //      data.item: "states" "";
17317       images {
17318          image: "bt_sm_base1.png" COMP;
17319          image: "bt_sm_shine.png" COMP;
17320          image: "bt_sm_hilight.png" COMP;
17321          image: "ilist_2.png" COMP;
17322       }
17323       parts {
17324          part { name: "event";
17325             type: RECT;
17326             repeat_events: 1;
17327             description {
17328                state: "default" 0.0;
17329                color: 0 0 0 0;
17330             }
17331          }
17332          part {
17333             name: "base";
17334             mouse_events: 0;
17335             description {
17336                state: "default" 0.0;
17337                image {
17338                   normal: "ilist_2.png";
17339                   border: 2 2 2 2;
17340                }
17341                fill.smooth: 0;
17342             }
17343          }
17344          part { name: "bg";
17345             clip_to: "disclip";
17346             mouse_events: 0;
17347             description { state: "default" 0.0;
17348                visible: 0;
17349                color: 255 255 255 0;
17350                rel1 {
17351                   relative: 0.0 0.0;
17352                   offset: -5 -5;
17353                }
17354                rel2 {
17355                   relative: 1.0 1.0;
17356                   offset: 4 4;
17357                }
17358                image {
17359                   normal: "bt_sm_base1.png";
17360                   border: 6 6 6 6;
17361                }
17362                image.middle: SOLID;
17363             }
17364             description { state: "selected" 0.0;
17365                inherit: "default" 0.0;
17366                visible: 1;
17367                color: 255 255 255 255;
17368                rel1 {
17369                   relative: 0.0 0.0;
17370                   offset: -2 -2;
17371                }
17372                rel2 {
17373                   relative: 1.0 1.0;
17374                   offset: 1 1;
17375                }
17376             }
17377          }
17378          part { name: "elm.swallow.pad";
17379             type: SWALLOW;
17380             description { state: "default" 0.0;
17381                fixed: 1 0;
17382                align: 0.0 0.5;
17383                rel1 {
17384                   relative: 0.0  0.0;
17385                   offset:   4    4;
17386                }
17387                rel2 {
17388                   relative: 0.0  1.0;
17389                   offset:   4   -5;
17390                }
17391             }
17392          }
17393          part { name: "elm.swallow.icon";
17394             clip_to: "disclip";
17395             type: SWALLOW;
17396             description { state: "default" 0.0;
17397                fixed: 1 0;
17398                align: 0.0 0.5;
17399                rel1 {
17400                   to_x: "elm.swallow.pad";
17401                   relative: 1.0  0.0;
17402                   offset:   -1    4;
17403                }
17404                rel2 {
17405                   to_x: "elm.swallow.pad";
17406                   relative: 1.0  1.0;
17407                   offset:   -1   -5;
17408                }
17409             }
17410          }
17411          part { name: "elm.swallow.end";
17412             clip_to: "disclip";
17413             type:          SWALLOW;
17414             description { state:    "default" 0.0;
17415                fixed: 1 0;
17416                align:    1.0 0.5;
17417                aspect: 1.0 1.0;
17418                aspect_preference: VERTICAL;
17419                rel1 {
17420                   relative: 1.0  0.0;
17421                   offset:   -5    4;
17422                }
17423                rel2 {
17424                   relative: 1.0  1.0;
17425                   offset:   -5   -5;
17426                }
17427             }
17428          }
17429          part { name: "elm.text";
17430             clip_to: "disclip";
17431             type:           TEXT;
17432             effect:         SOFT_SHADOW;
17433             mouse_events:   0;
17434             scale: 1;
17435             description {
17436                state: "default" 0.0;
17437 //               min:      16 16;
17438                rel1 {
17439                   to_x:     "elm.swallow.icon";
17440                   relative: 1.0  0.0;
17441                   offset:   0 4;
17442                }
17443                rel2 {
17444                   to_x:     "elm.swallow.end";
17445                   relative: 0.0  1.0;
17446                   offset:   -1 -5;
17447                }
17448                color: 0 0 0 255;
17449                color3: 0 0 0 0;
17450                text {
17451                   font: "Sans";
17452                   size: 10;
17453                   min: 0 1;
17454 //                  min: 1 1;
17455                   align: 0.0 0.5;
17456                   text_class: "list_item";
17457                }
17458             }
17459             description { state: "selected" 0.0;
17460                inherit: "default" 0.0;
17461                color: 224 224 224 255;
17462                color3: 0 0 0 64;
17463             }
17464          }
17465          part { name: "fg1";
17466             clip_to: "disclip";
17467             mouse_events: 0;
17468             description { state: "default" 0.0;
17469                visible: 0;
17470                color: 255 255 255 0;
17471                rel1.to: "bg";
17472                rel2.relative: 1.0 0.5;
17473                rel2.to: "bg";
17474                image {
17475                   normal: "bt_sm_hilight.png";
17476                   border: 6 6 6 0;
17477                }
17478             }
17479             description { state: "selected" 0.0;
17480                inherit: "default" 0.0;
17481                visible: 1;
17482                color: 255 255 255 255;
17483             }
17484          }
17485          part { name: "fg2";
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.to: "bg";
17492                rel2.to: "bg";
17493                image {
17494                   normal: "bt_sm_shine.png";
17495                   border: 6 6 6 0;
17496                }
17497             }
17498             description { state: "selected" 0.0;
17499                inherit: "default" 0.0;
17500                visible: 1;
17501                color: 255 255 255 255;
17502             }
17503          }
17504          part { name: "disclip";
17505             type: RECT;
17506             description { state: "default" 0.0;
17507                rel1.to: "bg";
17508                rel2.to: "bg";
17509             }
17510             description { state: "disabled" 0.0;
17511                inherit: "default" 0.0;
17512                color: 255 255 255 64;
17513             }
17514          }
17515       }
17516       programs {
17517          // signal: elm,state,%s,active
17518          //   a "check" item named %s went active
17519          // signal: elm,state,%s,passive
17520          //   a "check" item named %s went passive
17521          // default is passive
17522          program {
17523             name:    "go_active";
17524             signal:  "elm,state,selected";
17525             source:  "elm";
17526             action:  STATE_SET "selected" 0.0;
17527             target:  "bg";
17528             target:  "fg1";
17529             target:  "fg2";
17530             target:  "elm.text";
17531          }
17532          program {
17533             name:    "go_passive";
17534             signal:  "elm,state,unselected";
17535             source:  "elm";
17536             action:  STATE_SET "default" 0.0;
17537             target:  "bg";
17538             target:  "fg1";
17539             target:  "fg2";
17540             target:  "elm.text";
17541             transition: LINEAR 0.1;
17542          }
17543          program {
17544             name:    "go_disabled";
17545             signal:  "elm,state,disabled";
17546             source:  "elm";
17547             action:  STATE_SET "disabled" 0.0;
17548             target:  "disclip";
17549          }
17550          program {
17551             name:    "go_enabled";
17552             signal:  "elm,state,enabled";
17553             source:  "elm";
17554             action:  STATE_SET "default" 0.0;
17555             target:  "disclip";
17556          }
17557       }
17558    }
17559
17560    group { name: "elm/genlist/tree/default/default";
17561       data.item: "stacking" "above";
17562       data.item: "selectraise" "on";
17563       data.item: "labels" "elm.text";
17564       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17565       data.item: "treesize" "20";
17566 //      data.item: "states" "";
17567       images {
17568          image: "bt_sm_base1.png" COMP;
17569          image: "bt_sm_shine.png" COMP;
17570          image: "bt_sm_hilight.png" COMP;
17571          image: "ilist_1.png" COMP;
17572          image: "ilist_item_shadow.png" COMP;
17573          image: "icon_arrow_left.png" COMP;
17574          image: "icon_arrow_right.png" COMP;
17575          image: "icon_arrow_down.png" COMP;
17576       }
17577       parts {
17578          part {
17579             name:           "event";
17580             type:           RECT;
17581             repeat_events: 1;
17582             description {
17583                state: "default" 0.0;
17584                color: 0 0 0 0;
17585             }
17586          }
17587          part {
17588             name: "base_sh";
17589             mouse_events: 0;
17590             description {
17591                state: "default" 0.0;
17592                align: 0.0 0.0;
17593                min: 0 10;
17594                fixed: 1 1;
17595                rel1 {
17596                   to: "base";
17597                   relative: 0.0 1.0;
17598                   offset: 0 0;
17599                }
17600                rel2 {
17601                   to: "base";
17602                   relative: 1.0 1.0;
17603                   offset: -1 0;
17604                }
17605                image {
17606                   normal: "ilist_item_shadow.png";
17607                }
17608                fill.smooth: 0;
17609             }
17610          }
17611          part {
17612             name: "base";
17613             mouse_events: 0;
17614             description {
17615                state: "default" 0.0;
17616                image {
17617                   normal: "ilist_1.png";
17618                   border: 2 2 2 2;
17619                }
17620                fill.smooth: 0;
17621             }
17622          }
17623          part { name: "bg";
17624             clip_to: "disclip";
17625             mouse_events: 0;
17626             description { state: "default" 0.0;
17627                visible: 0;
17628                color: 255 255 255 0;
17629                rel1 {
17630                   relative: 0.0 0.0;
17631                   offset: -5 -5;
17632                }
17633                rel2 {
17634                   relative: 1.0 1.0;
17635                   offset: 4 4;
17636                }
17637                image {
17638                   normal: "bt_sm_base1.png";
17639                   border: 6 6 6 6;
17640                }
17641                image.middle: SOLID;
17642             }
17643             description { state: "selected" 0.0;
17644                inherit: "default" 0.0;
17645                visible: 1;
17646                color: 255 255 255 255;
17647                rel1 {
17648                   relative: 0.0 0.0;
17649                   offset: -2 -2;
17650                }
17651                rel2 {
17652                   relative: 1.0 1.0;
17653                   offset: 1 1;
17654                }
17655             }
17656          }
17657          part { name: "elm.swallow.pad";
17658             type: SWALLOW;
17659             description { state: "default" 0.0;
17660                fixed: 1 0;
17661                align: 0.0 0.5;
17662                rel1 {
17663                   relative: 0.0  0.0;
17664                   offset:   4    4;
17665                }
17666                rel2 {
17667                   relative: 0.0  1.0;
17668                   offset:   4   -5;
17669                }
17670             }
17671          }
17672          part { name: "arrow";
17673             clip_to: "disclip";
17674             ignore_flags: ON_HOLD;
17675             description { state: "default" 0.0;
17676                fixed: 1 0;
17677                align: 0.0 0.5;
17678                aspect: 1.0 1.0;
17679                rel1 {
17680                   to_x: "elm.swallow.pad";
17681                   relative: 1.0  0.0;
17682                   offset:   -1    4;
17683                }
17684                rel2 {
17685                   to_x: "elm.swallow.pad";
17686                   relative: 1.0  1.0;
17687                   offset:   -1   -5;
17688                }
17689                image.normal: "icon_arrow_right.png";
17690             }
17691             description { state: "default" 0.1;
17692                inherit: "default" 0.0;
17693                image.normal: "icon_arrow_left.png";
17694             }
17695             description { state: "active" 0.0;
17696                inherit: "default" 0.0;
17697                image.normal: "icon_arrow_down.png";
17698             }
17699             description { state: "active" 0.1;
17700                inherit: "default" 0.0;
17701                image.normal: "icon_arrow_down.png";
17702             }
17703          }
17704          part { name: "elm.swallow.icon";
17705             clip_to: "disclip";
17706             type: SWALLOW;
17707             description { state: "default" 0.0;
17708                fixed: 1 0;
17709                align: 0.0 0.5;
17710                rel1 {
17711                   to_x: "arrow";
17712                   relative: 1.0  0.0;
17713                   offset:   4    4;
17714                }
17715                rel2 {
17716                   to_x: "arrow";
17717                   relative: 1.0  1.0;
17718                   offset:   4   -5;
17719                }
17720             }
17721          }
17722          part { name: "elm.swallow.end";
17723             clip_to: "disclip";
17724             type: SWALLOW;
17725             description { state: "default" 0.0;
17726                fixed: 1 0;
17727                align: 1.0 0.5;
17728                aspect: 1.0 1.0;
17729                aspect_preference: VERTICAL;
17730                rel1 {
17731                   relative: 1.0  0.0;
17732                   offset:   -5    4;
17733                }
17734                rel2 {
17735                   relative: 1.0  1.0;
17736                   offset:   -5   -5;
17737                }
17738             }
17739          }
17740          part { name: "elm.text";
17741             clip_to: "disclip";
17742             type:           TEXT;
17743             effect:         SOFT_SHADOW;
17744             mouse_events:   0;
17745             scale: 1;
17746             description {
17747                state: "default" 0.0;
17748 //               min: 16 16;
17749                rel1 {
17750                   to_x:     "elm.swallow.icon";
17751                   relative: 1.0  0.0;
17752                   offset:   0 4;
17753                }
17754                rel2 {
17755                   to_x:     "elm.swallow.end";
17756                   relative: 0.0  1.0;
17757                   offset:   -1 -5;
17758                }
17759                color: 0 0 0 255;
17760                color3: 0 0 0 0;
17761                text {
17762                   font: "Sans";
17763                   size: 10;
17764                   min: 1 1;
17765 //                  min: 0 1;
17766                   align: -1.0 0.5;
17767                   text_class: "list_item";
17768                }
17769             }
17770             description { state: "selected" 0.0;
17771                inherit: "default" 0.0;
17772                color: 224 224 224 255;
17773                color3: 0 0 0 64;
17774             }
17775          }
17776          part { name: "fg1";
17777             clip_to: "disclip";
17778             mouse_events: 0;
17779             description { state: "default" 0.0;
17780                visible: 0;
17781                color: 255 255 255 0;
17782                rel1.to: "bg";
17783                rel2.relative: 1.0 0.5;
17784                rel2.to: "bg";
17785                image {
17786                   normal: "bt_sm_hilight.png";
17787                   border: 6 6 6 0;
17788                }
17789             }
17790             description { state: "selected" 0.0;
17791                inherit: "default" 0.0;
17792                visible: 1;
17793                color: 255 255 255 255;
17794             }
17795          }
17796          part { name: "fg2";
17797             clip_to: "disclip";
17798             mouse_events: 0;
17799             description { state: "default" 0.0;
17800                visible: 0;
17801                color: 255 255 255 0;
17802                rel1.to: "bg";
17803                rel2.to: "bg";
17804                image {
17805                   normal: "bt_sm_shine.png";
17806                   border: 6 6 6 0;
17807                }
17808             }
17809             description { state: "selected" 0.0;
17810                inherit: "default" 0.0;
17811                visible: 1;
17812                color: 255 255 255 255;
17813             }
17814          }
17815          part { name: "disclip";
17816             type: RECT;
17817             description { state: "default" 0.0;
17818                rel1.to: "bg";
17819                rel2.to: "bg";
17820             }
17821             description { state: "disabled" 0.0;
17822                inherit: "default" 0.0;
17823                color: 255 255 255 64;
17824             }
17825          }
17826       }
17827       programs {
17828          // signal: elm,state,%s,active
17829          //   a "check" item named %s went active
17830          // signal: elm,state,%s,passive
17831          //   a "check" item named %s went passive
17832          // default is passive
17833          program {
17834             name:    "go_active";
17835             signal:  "elm,state,selected";
17836             source:  "elm";
17837             action:  STATE_SET "selected" 0.0;
17838             target:  "bg";
17839             target:  "fg1";
17840             target:  "fg2";
17841             target:  "elm.text";
17842          }
17843          program {
17844             name:    "go_passive";
17845             signal:  "elm,state,unselected";
17846             source:  "elm";
17847             action:  STATE_SET "default" 0.0;
17848             target:  "bg";
17849             target:  "fg1";
17850             target:  "fg2";
17851             target:  "elm.text";
17852             transition: LINEAR 0.1;
17853          }
17854          program {
17855             name:    "go_disabled";
17856             signal:  "elm,state,disabled";
17857             source:  "elm";
17858             action:  STATE_SET "disabled" 0.0;
17859             target:  "disclip";
17860          }
17861          program {
17862             name:    "go_enabled";
17863             signal:  "elm,state,enabled";
17864             source:  "elm";
17865             action:  STATE_SET "default" 0.0;
17866             target:  "disclip";
17867          }
17868          program {
17869             name:    "expand";
17870             signal:  "mouse,up,1";
17871             source:  "arrow";
17872             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17873          }
17874          program {
17875             name:    "go_expanded";
17876             signal:  "elm,state,expanded";
17877             source:  "elm";
17878             script {
17879                new st[31];
17880                new Float:vl;
17881                get_state(PART:"arrow", st, 30, vl);
17882                set_state(PART:"arrow", "active", vl);
17883             }
17884          }
17885          program {
17886             name:    "go_contracted";
17887             signal:  "elm,state,contracted";
17888             source:  "elm";
17889             script {
17890                new st[31];
17891                new Float:vl;
17892                get_state(PART:"arrow", st, 30, vl);
17893                set_state(PART:"arrow", "default", vl);
17894             }
17895          }
17896          program { name: "to_rtl";
17897             signal: "edje,state,rtl";
17898             source: "edje";
17899             script {
17900                new st[31];
17901                new Float:vl;
17902                get_state(PART:"arrow", st, 30, vl);
17903                if (vl == 0.0) {
17904                   set_state(PART:"arrow", st, 0.1);
17905                }
17906             }
17907          }
17908          program { name: "to_ltr";
17909             signal: "edje,state,ltr";
17910             source: "edje";
17911             script {
17912                new st[31];
17913                new Float:vl;
17914                get_state(PART:"arrow", st, 30, vl);
17915                if (vl == 0.1) {
17916                   set_state(PART:"arrow", st, 0.0);
17917                }
17918             }
17919          }
17920       }
17921    }
17922    group { name: "elm/genlist/tree_compress/default/default";
17923       data.item: "stacking" "above";
17924       data.item: "selectraise" "on";
17925       data.item: "labels" "elm.text";
17926       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17927       data.item: "treesize" "20";
17928 //      data.item: "states" "";
17929       images {
17930          image: "bt_sm_base1.png" COMP;
17931          image: "bt_sm_shine.png" COMP;
17932          image: "bt_sm_hilight.png" COMP;
17933          image: "ilist_1.png" COMP;
17934          image: "ilist_item_shadow.png" COMP;
17935          image: "icon_arrow_left.png" COMP;
17936          image: "icon_arrow_right.png" COMP;
17937          image: "icon_arrow_down.png" COMP;
17938       }
17939       parts {
17940          part {
17941             name:           "event";
17942             type:           RECT;
17943             repeat_events: 1;
17944             description {
17945                state: "default" 0.0;
17946                color: 0 0 0 0;
17947             }
17948          }
17949          part {
17950             name: "base_sh";
17951             mouse_events: 0;
17952             description {
17953                state: "default" 0.0;
17954                align: 0.0 0.0;
17955                min: 0 10;
17956                fixed: 1 1;
17957                rel1 {
17958                   to: "base";
17959                   relative: 0.0 1.0;
17960                   offset: 0 0;
17961                }
17962                rel2 {
17963                   to: "base";
17964                   relative: 1.0 1.0;
17965                   offset: -1 0;
17966                }
17967                image {
17968                   normal: "ilist_item_shadow.png";
17969                }
17970                fill.smooth: 0;
17971             }
17972          }
17973          part {
17974             name: "base";
17975             mouse_events: 0;
17976             description {
17977                state: "default" 0.0;
17978                image {
17979                   normal: "ilist_1.png";
17980                   border: 2 2 2 2;
17981                }
17982                fill.smooth: 0;
17983             }
17984          }
17985          part { name: "bg";
17986             clip_to: "disclip";
17987             mouse_events: 0;
17988             description { state: "default" 0.0;
17989                visible: 0;
17990                color: 255 255 255 0;
17991                rel1 {
17992                   relative: 0.0 0.0;
17993                   offset: -5 -5;
17994                }
17995                rel2 {
17996                   relative: 1.0 1.0;
17997                   offset: 4 4;
17998                }
17999                image {
18000                   normal: "bt_sm_base1.png";
18001                   border: 6 6 6 6;
18002                }
18003                image.middle: SOLID;
18004             }
18005             description { state: "selected" 0.0;
18006                inherit: "default" 0.0;
18007                visible: 1;
18008                color: 255 255 255 255;
18009                rel1 {
18010                   relative: 0.0 0.0;
18011                   offset: -2 -2;
18012                }
18013                rel2 {
18014                   relative: 1.0 1.0;
18015                   offset: 1 1;
18016                }
18017             }
18018          }
18019          part { name: "elm.swallow.pad";
18020             type: SWALLOW;
18021             description { state: "default" 0.0;
18022                fixed: 1 0;
18023                align: 0.0 0.5;
18024                rel1 {
18025                   relative: 0.0  0.0;
18026                   offset:   4    4;
18027                }
18028                rel2 {
18029                   relative: 0.0  1.0;
18030                   offset:   4   -5;
18031                }
18032             }
18033          }
18034          part { name: "arrow";
18035             clip_to: "disclip";
18036             ignore_flags: ON_HOLD;
18037             description { state: "default" 0.0;
18038                fixed: 1 0;
18039                align: 0.0 0.5;
18040                aspect: 1.0 1.0;
18041                rel1 {
18042                   to_x: "elm.swallow.pad";
18043                   relative: 1.0  0.0;
18044                   offset:   -1    4;
18045                }
18046                rel2 {
18047                   to_x: "elm.swallow.pad";
18048                   relative: 1.0  1.0;
18049                   offset:   -1   -5;
18050                }
18051                image.normal: "icon_arrow_right.png";
18052             }
18053             description { state: "default" 0.1;
18054                inherit: "default" 0.0;
18055                image.normal: "icon_arrow_left.png";
18056             }
18057             description { state: "active" 0.0;
18058                inherit: "default" 0.0;
18059                image.normal: "icon_arrow_down.png";
18060             }
18061             description { state: "active" 0.1;
18062                inherit: "default" 0.0;
18063                image.normal: "icon_arrow_down.png";
18064             }
18065          }
18066          part { name: "elm.swallow.icon";
18067             clip_to: "disclip";
18068             type: SWALLOW;
18069             description { state: "default" 0.0;
18070                fixed: 1 0;
18071                align: 0.0 0.5;
18072                rel1 {
18073                   to_x: "arrow";
18074                   relative: 1.0  0.0;
18075                   offset:   4    4;
18076                }
18077                rel2 {
18078                   to_x: "arrow";
18079                   relative: 1.0  1.0;
18080                   offset:   4   -5;
18081                }
18082             }
18083          }
18084          part { name: "elm.swallow.end";
18085             clip_to: "disclip";
18086             type: SWALLOW;
18087             description { state: "default" 0.0;
18088                fixed: 1 0;
18089                align: 1.0 0.5;
18090                aspect: 1.0 1.0;
18091                aspect_preference: VERTICAL;
18092                rel1 {
18093                   relative: 1.0  0.0;
18094                   offset:   -5    4;
18095                }
18096                rel2 {
18097                   relative: 1.0  1.0;
18098                   offset:   -5   -5;
18099                }
18100             }
18101          }
18102          part { name: "elm.text";
18103             clip_to: "disclip";
18104             type:           TEXT;
18105             effect:         SOFT_SHADOW;
18106             mouse_events:   0;
18107             scale: 1;
18108             description {
18109                state: "default" 0.0;
18110 //               min: 16 16;
18111                rel1 {
18112                   to_x:     "elm.swallow.icon";
18113                   relative: 1.0  0.0;
18114                   offset:   0 4;
18115                }
18116                rel2 {
18117                   to_x:     "elm.swallow.end";
18118                   relative: 0.0  1.0;
18119                   offset:   -1 -5;
18120                }
18121                color: 0 0 0 255;
18122                color3: 0 0 0 0;
18123                text {
18124                   font: "Sans";
18125                   size: 10;
18126 //                  min: 1 1;
18127                   min: 0 1;
18128                   align: 0.0 0.5;
18129                   text_class: "list_item";
18130                }
18131             }
18132             description { state: "selected" 0.0;
18133                inherit: "default" 0.0;
18134                color: 224 224 224 255;
18135                color3: 0 0 0 64;
18136             }
18137          }
18138          part { name: "fg1";
18139             clip_to: "disclip";
18140             mouse_events: 0;
18141             description { state: "default" 0.0;
18142                visible: 0;
18143                color: 255 255 255 0;
18144                rel1.to: "bg";
18145                rel2.relative: 1.0 0.5;
18146                rel2.to: "bg";
18147                image {
18148                   normal: "bt_sm_hilight.png";
18149                   border: 6 6 6 0;
18150                }
18151             }
18152             description { state: "selected" 0.0;
18153                inherit: "default" 0.0;
18154                visible: 1;
18155                color: 255 255 255 255;
18156             }
18157          }
18158          part { name: "fg2";
18159             clip_to: "disclip";
18160             mouse_events: 0;
18161             description { state: "default" 0.0;
18162                visible: 0;
18163                color: 255 255 255 0;
18164                rel1.to: "bg";
18165                rel2.to: "bg";
18166                image {
18167                   normal: "bt_sm_shine.png";
18168                   border: 6 6 6 0;
18169                }
18170             }
18171             description { state: "selected" 0.0;
18172                inherit: "default" 0.0;
18173                visible: 1;
18174                color: 255 255 255 255;
18175             }
18176          }
18177          part { name: "disclip";
18178             type: RECT;
18179             description { state: "default" 0.0;
18180                rel1.to: "bg";
18181                rel2.to: "bg";
18182             }
18183             description { state: "disabled" 0.0;
18184                inherit: "default" 0.0;
18185                color: 255 255 255 64;
18186             }
18187          }
18188       }
18189       programs {
18190          // signal: elm,state,%s,active
18191          //   a "check" item named %s went active
18192          // signal: elm,state,%s,passive
18193          //   a "check" item named %s went passive
18194          // default is passive
18195          program {
18196             name:    "go_active";
18197             signal:  "elm,state,selected";
18198             source:  "elm";
18199             action:  STATE_SET "selected" 0.0;
18200             target:  "bg";
18201             target:  "fg1";
18202             target:  "fg2";
18203             target:  "elm.text";
18204          }
18205          program {
18206             name:    "go_passive";
18207             signal:  "elm,state,unselected";
18208             source:  "elm";
18209             action:  STATE_SET "default" 0.0;
18210             target:  "bg";
18211             target:  "fg1";
18212             target:  "fg2";
18213             target:  "elm.text";
18214             transition: LINEAR 0.1;
18215          }
18216          program {
18217             name:    "go_disabled";
18218             signal:  "elm,state,disabled";
18219             source:  "elm";
18220             action:  STATE_SET "disabled" 0.0;
18221             target:  "disclip";
18222          }
18223          program {
18224             name:    "go_enabled";
18225             signal:  "elm,state,enabled";
18226             source:  "elm";
18227             action:  STATE_SET "default" 0.0;
18228             target:  "disclip";
18229          }
18230          program {
18231             name:    "expand";
18232             signal:  "mouse,up,1";
18233             source:  "arrow";
18234             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18235          }
18236          program {
18237             name:    "go_expanded";
18238             signal:  "elm,state,expanded";
18239             source:  "elm";
18240             script {
18241                new st[31];
18242                new Float:vl;
18243                get_state(PART:"arrow", st, 30, vl);
18244                set_state(PART:"arrow", "active", vl);
18245             }
18246          }
18247          program {
18248             name:    "go_contracted";
18249             signal:  "elm,state,contracted";
18250             source:  "elm";
18251             script {
18252                new st[31];
18253                new Float:vl;
18254                get_state(PART:"arrow", st, 30, vl);
18255                set_state(PART:"arrow", "default", vl);
18256             }
18257          }
18258          program { name: "to_rtl";
18259             signal: "edje,state,rtl";
18260             source: "edje";
18261             script {
18262                new st[31];
18263                new Float:vl;
18264                get_state(PART:"arrow", st, 30, vl);
18265                if (vl == 0.0) {
18266                   set_state(PART:"arrow", st, 0.1);
18267                }
18268             }
18269          }
18270          program { name: "to_ltr";
18271             signal: "edje,state,ltr";
18272             source: "edje";
18273             script {
18274                new st[31];
18275                new Float:vl;
18276                get_state(PART:"arrow", st, 30, vl);
18277                if (vl == 0.1) {
18278                   set_state(PART:"arrow", st, 0.0);
18279                }
18280             }
18281          }
18282       }
18283    }
18284    group { name: "elm/genlist/tree_odd/default/default";
18285       data.item: "stacking" "below";
18286       data.item: "selectraise" "on";
18287       data.item: "labels" "elm.text";
18288       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18289       data.item: "treesize" "20";
18290 //      data.item: "states" "";
18291       images {
18292          image: "bt_sm_base1.png" COMP;
18293          image: "bt_sm_shine.png" COMP;
18294          image: "bt_sm_hilight.png" COMP;
18295          image: "ilist_2.png" COMP;
18296          image: "icon_arrow_left.png" COMP;
18297          image: "icon_arrow_right.png" COMP;
18298          image: "icon_arrow_down.png" COMP;
18299       }
18300       parts {
18301          part {
18302             name:           "event";
18303             type:           RECT;
18304             repeat_events: 1;
18305             description {
18306                state: "default" 0.0;
18307                color: 0 0 0 0;
18308             }
18309          }
18310          part {
18311             name: "base";
18312             mouse_events: 0;
18313             description {
18314                state: "default" 0.0;
18315                image {
18316                   normal: "ilist_2.png";
18317                   border: 2 2 2 2;
18318                }
18319                fill.smooth: 0;
18320             }
18321          }
18322          part { name: "bg";
18323             clip_to: "disclip";
18324             mouse_events: 0;
18325             description { state: "default" 0.0;
18326                visible: 0;
18327                color: 255 255 255 0;
18328                rel1 {
18329                   relative: 0.0 0.0;
18330                   offset: -5 -5;
18331                }
18332                rel2 {
18333                   relative: 1.0 1.0;
18334                   offset: 4 4;
18335                }
18336                image {
18337                   normal: "bt_sm_base1.png";
18338                   border: 6 6 6 6;
18339                }
18340                image.middle: SOLID;
18341             }
18342             description { state: "selected" 0.0;
18343                inherit: "default" 0.0;
18344                visible: 1;
18345                color: 255 255 255 255;
18346                rel1 {
18347                   relative: 0.0 0.0;
18348                   offset: -2 -2;
18349                }
18350                rel2 {
18351                   relative: 1.0 1.0;
18352                   offset: 1 1;
18353                }
18354             }
18355          }
18356          part { name: "elm.swallow.pad";
18357             type: SWALLOW;
18358             description { state: "default" 0.0;
18359                fixed: 1 0;
18360                align: 0.0 0.5;
18361                rel1 {
18362                   relative: 0.0  0.0;
18363                   offset:   4    4;
18364                }
18365                rel2 {
18366                   relative: 0.0  1.0;
18367                   offset:   4   -5;
18368                }
18369             }
18370          }
18371          part { name: "arrow";
18372             clip_to: "disclip";
18373             ignore_flags: ON_HOLD;
18374             description { state: "default" 0.0;
18375                fixed: 1 0;
18376                align: 0.0 0.5;
18377                aspect: 1.0 1.0;
18378                rel1 {
18379                   to_x: "elm.swallow.pad";
18380                   relative: 1.0  0.0;
18381                   offset:   -1    4;
18382                }
18383                rel2 {
18384                   to_x: "elm.swallow.pad";
18385                   relative: 1.0  1.0;
18386                   offset:   -1   -5;
18387                }
18388                image.normal: "icon_arrow_right.png";
18389             }
18390             description { state: "default" 0.1;
18391                inherit: "default" 0.0;
18392                image.normal: "icon_arrow_left.png";
18393             }
18394             description { state: "active" 0.0;
18395                inherit: "default" 0.0;
18396                image.normal: "icon_arrow_down.png";
18397             }
18398             description { state: "active" 0.1;
18399                inherit: "default" 0.0;
18400                image.normal: "icon_arrow_down.png";
18401             }
18402          }
18403          part { name: "elm.swallow.icon";
18404             clip_to: "disclip";
18405             type: SWALLOW;
18406             description { state: "default" 0.0;
18407                fixed: 1 0;
18408                align: 0.0 0.5;
18409                rel1 {
18410                   to_x: "arrow";
18411                   relative: 1.0  0.0;
18412                   offset:   4    4;
18413                }
18414                rel2 {
18415                   to_x: "arrow";
18416                   relative: 1.0  1.0;
18417                   offset:   4   -5;
18418                }
18419             }
18420          }
18421          part { name: "elm.swallow.end";
18422             clip_to: "disclip";
18423             type: SWALLOW;
18424             description { state: "default" 0.0;
18425                fixed: 1 0;
18426                align: 1.0 0.5;
18427                aspect: 1.0 1.0;
18428                aspect_preference: VERTICAL;
18429                rel1 {
18430                   relative: 1.0  0.0;
18431                   offset:   -5    4;
18432                }
18433                rel2 {
18434                   relative: 1.0  1.0;
18435                   offset:   -5   -5;
18436                }
18437             }
18438          }
18439          part { name: "elm.text";
18440             clip_to: "disclip";
18441             type:           TEXT;
18442             effect:         SOFT_SHADOW;
18443             mouse_events:   0;
18444             scale: 1;
18445             description {
18446                state: "default" 0.0;
18447 //               min: 16 16;
18448                rel1 {
18449                   to_x:     "elm.swallow.icon";
18450                   relative: 1.0  0.0;
18451                   offset:   0 4;
18452                }
18453                rel2 {
18454                   to_x:     "elm.swallow.end";
18455                   relative: 0.0  1.0;
18456                   offset:   -1 -5;
18457                }
18458                color: 0 0 0 255;
18459                color3: 0 0 0 0;
18460                text {
18461                   font: "Sans";
18462                   size: 10;
18463                   min: 1 1;
18464 //                  min: 0 1;
18465                   align: -1.0 0.5;
18466                   text_class: "list_item";
18467                }
18468             }
18469             description { state: "selected" 0.0;
18470                inherit: "default" 0.0;
18471                color: 224 224 224 255;
18472                color3: 0 0 0 64;
18473             }
18474          }
18475          part { name: "fg1";
18476             clip_to: "disclip";
18477             mouse_events: 0;
18478             description { state: "default" 0.0;
18479                visible: 0;
18480                color: 255 255 255 0;
18481                rel1.to: "bg";
18482                rel2.relative: 1.0 0.5;
18483                rel2.to: "bg";
18484                image {
18485                   normal: "bt_sm_hilight.png";
18486                   border: 6 6 6 0;
18487                }
18488             }
18489             description { state: "selected" 0.0;
18490                inherit: "default" 0.0;
18491                visible: 1;
18492                color: 255 255 255 255;
18493             }
18494          }
18495          part { name: "fg2";
18496             clip_to: "disclip";
18497             mouse_events: 0;
18498             description { state: "default" 0.0;
18499                visible: 0;
18500                color: 255 255 255 0;
18501                rel1.to: "bg";
18502                rel2.to: "bg";
18503                image {
18504                   normal: "bt_sm_shine.png";
18505                   border: 6 6 6 0;
18506                }
18507             }
18508             description { state: "selected" 0.0;
18509                inherit: "default" 0.0;
18510                visible: 1;
18511                color: 255 255 255 255;
18512             }
18513          }
18514          part { name: "disclip";
18515             type: RECT;
18516             description { state: "default" 0.0;
18517                rel1.to: "bg";
18518                rel2.to: "bg";
18519             }
18520             description { state: "disabled" 0.0;
18521                inherit: "default" 0.0;
18522                color: 255 255 255 64;
18523             }
18524          }
18525       }
18526       programs {
18527          // signal: elm,state,%s,active
18528          //   a "check" item named %s went active
18529          // signal: elm,state,%s,passive
18530          //   a "check" item named %s went passive
18531          // default is passive
18532          program {
18533             name:    "go_active";
18534             signal:  "elm,state,selected";
18535             source:  "elm";
18536             action:  STATE_SET "selected" 0.0;
18537             target:  "bg";
18538             target:  "fg1";
18539             target:  "fg2";
18540             target:  "elm.text";
18541          }
18542          program {
18543             name:    "go_passive";
18544             signal:  "elm,state,unselected";
18545             source:  "elm";
18546             action:  STATE_SET "default" 0.0;
18547             target:  "bg";
18548             target:  "fg1";
18549             target:  "fg2";
18550             target:  "elm.text";
18551             transition: LINEAR 0.1;
18552          }
18553          program {
18554             name:    "go_disabled";
18555             signal:  "elm,state,disabled";
18556             source:  "elm";
18557             action:  STATE_SET "disabled" 0.0;
18558             target:  "disclip";
18559          }
18560          program {
18561             name:    "go_enabled";
18562             signal:  "elm,state,enabled";
18563             source:  "elm";
18564             action:  STATE_SET "default" 0.0;
18565             target:  "disclip";
18566          }
18567          program {
18568             name:    "expand";
18569             signal:  "mouse,up,1";
18570             source:  "arrow";
18571             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18572          }
18573          program {
18574             name:    "go_expanded";
18575             signal:  "elm,state,expanded";
18576             source:  "elm";
18577             script {
18578                new st[31];
18579                new Float:vl;
18580                get_state(PART:"arrow", st, 30, vl);
18581                set_state(PART:"arrow", "active", vl);
18582             }
18583          }
18584          program {
18585             name:    "go_contracted";
18586             signal:  "elm,state,contracted";
18587             source:  "elm";
18588             script {
18589                new st[31];
18590                new Float:vl;
18591                get_state(PART:"arrow", st, 30, vl);
18592                set_state(PART:"arrow", "default", vl);
18593             }
18594          }
18595          program { name: "to_rtl";
18596             signal: "edje,state,rtl";
18597             source: "edje";
18598             script {
18599                new st[31];
18600                new Float:vl;
18601                get_state(PART:"arrow", st, 30, vl);
18602                if (vl == 0.0) {
18603                   set_state(PART:"arrow", st, 0.1);
18604                }
18605             }
18606          }
18607          program { name: "to_ltr";
18608             signal: "edje,state,ltr";
18609             source: "edje";
18610             script {
18611                new st[31];
18612                new Float:vl;
18613                get_state(PART:"arrow", st, 30, vl);
18614                if (vl == 0.1) {
18615                   set_state(PART:"arrow", st, 0.0);
18616                }
18617             }
18618          }
18619       }
18620    }
18621    group { name: "elm/genlist/tree_compress_odd/default/default";
18622       data.item: "stacking" "below";
18623       data.item: "selectraise" "on";
18624       data.item: "labels" "elm.text";
18625       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18626       data.item: "treesize" "20";
18627 //      data.item: "states" "";
18628       images {
18629          image: "bt_sm_base1.png" COMP;
18630          image: "bt_sm_shine.png" COMP;
18631          image: "bt_sm_hilight.png" COMP;
18632          image: "ilist_2.png" COMP;
18633          image: "icon_arrow_left.png" COMP;
18634          image: "icon_arrow_right.png" COMP;
18635          image: "icon_arrow_down.png" COMP;
18636       }
18637       parts {
18638          part {
18639             name:           "event";
18640             type:           RECT;
18641             repeat_events: 1;
18642             description {
18643                state: "default" 0.0;
18644                color: 0 0 0 0;
18645             }
18646          }
18647          part {
18648             name: "base";
18649             mouse_events: 0;
18650             description {
18651                state: "default" 0.0;
18652                image {
18653                   normal: "ilist_2.png";
18654                   border: 2 2 2 2;
18655                }
18656                fill.smooth: 0;
18657             }
18658          }
18659          part { name: "bg";
18660             clip_to: "disclip";
18661             mouse_events: 0;
18662             description { state: "default" 0.0;
18663                visible: 0;
18664                color: 255 255 255 0;
18665                rel1 {
18666                   relative: 0.0 0.0;
18667                   offset: -5 -5;
18668                }
18669                rel2 {
18670                   relative: 1.0 1.0;
18671                   offset: 4 4;
18672                }
18673                image {
18674                   normal: "bt_sm_base1.png";
18675                   border: 6 6 6 6;
18676                }
18677                image.middle: SOLID;
18678             }
18679             description { state: "selected" 0.0;
18680                inherit: "default" 0.0;
18681                visible: 1;
18682                color: 255 255 255 255;
18683                rel1 {
18684                   relative: 0.0 0.0;
18685                   offset: -2 -2;
18686                }
18687                rel2 {
18688                   relative: 1.0 1.0;
18689                   offset: 1 1;
18690                }
18691             }
18692          }
18693          part { name: "elm.swallow.pad";
18694             type: SWALLOW;
18695             description { state: "default" 0.0;
18696                fixed: 1 0;
18697                align: 0.0 0.5;
18698                rel1 {
18699                   relative: 0.0  0.0;
18700                   offset:   4    4;
18701                }
18702                rel2 {
18703                   relative: 0.0  1.0;
18704                   offset:   4   -5;
18705                }
18706             }
18707          }
18708          part { name: "arrow";
18709             clip_to: "disclip";
18710             ignore_flags: ON_HOLD;
18711             description { state: "default" 0.0;
18712                fixed: 1 0;
18713                align: 0.0 0.5;
18714                aspect: 1.0 1.0;
18715                rel1 {
18716                   to_x: "elm.swallow.pad";
18717                   relative: 1.0  0.0;
18718                   offset:   -1    4;
18719                }
18720                rel2 {
18721                   to_x: "elm.swallow.pad";
18722                   relative: 1.0  1.0;
18723                   offset:   -1   -5;
18724                }
18725                image.normal: "icon_arrow_right.png";
18726             }
18727             description { state: "default" 0.1;
18728                inherit: "default" 0.0;
18729                image.normal: "icon_arrow_left.png";
18730             }
18731             description { state: "active" 0.0;
18732                inherit: "default" 0.0;
18733                image.normal: "icon_arrow_down.png";
18734             }
18735             description { state: "active" 0.1;
18736                inherit: "default" 0.0;
18737                image.normal: "icon_arrow_down.png";
18738             }
18739          }
18740          part { name: "elm.swallow.icon";
18741             clip_to: "disclip";
18742             type: SWALLOW;
18743             description { state: "default" 0.0;
18744                fixed: 1 0;
18745                align: 0.0 0.5;
18746                rel1 {
18747                   to_x: "arrow";
18748                   relative: 1.0  0.0;
18749                   offset:   4    4;
18750                }
18751                rel2 {
18752                   to_x: "arrow";
18753                   relative: 1.0  1.0;
18754                   offset:   4   -5;
18755                }
18756             }
18757          }
18758          part { name: "elm.swallow.end";
18759             clip_to: "disclip";
18760             type: SWALLOW;
18761             description { state: "default" 0.0;
18762                fixed: 1 0;
18763                align: 1.0 0.5;
18764                aspect: 1.0 1.0;
18765                aspect_preference: VERTICAL;
18766                rel1 {
18767                   relative: 1.0  0.0;
18768                   offset:   -5    4;
18769                }
18770                rel2 {
18771                   relative: 1.0  1.0;
18772                   offset:   -5   -5;
18773                }
18774             }
18775          }
18776          part { name: "elm.text";
18777             clip_to: "disclip";
18778             type:           TEXT;
18779             effect:         SOFT_SHADOW;
18780             mouse_events:   0;
18781             scale: 1;
18782             description {
18783                state: "default" 0.0;
18784 //               min: 16 16;
18785                rel1 {
18786                   to_x:     "elm.swallow.icon";
18787                   relative: 1.0  0.0;
18788                   offset:   0 4;
18789                }
18790                rel2 {
18791                   to_x:     "elm.swallow.end";
18792                   relative: 0.0  1.0;
18793                   offset:   -1 -5;
18794                }
18795                color: 0 0 0 255;
18796                color3: 0 0 0 0;
18797                text {
18798                   font: "Sans";
18799                   size: 10;
18800 //                  min: 1 1;
18801                   min: 0 1;
18802                   align: 0.0 0.5;
18803                   text_class: "list_item";
18804                }
18805             }
18806             description { state: "selected" 0.0;
18807                inherit: "default" 0.0;
18808                color: 224 224 224 255;
18809                color3: 0 0 0 64;
18810             }
18811          }
18812          part { name: "fg1";
18813             clip_to: "disclip";
18814             mouse_events: 0;
18815             description { state: "default" 0.0;
18816                visible: 0;
18817                color: 255 255 255 0;
18818                rel1.to: "bg";
18819                rel2.relative: 1.0 0.5;
18820                rel2.to: "bg";
18821                image {
18822                   normal: "bt_sm_hilight.png";
18823                   border: 6 6 6 0;
18824                }
18825             }
18826             description { state: "selected" 0.0;
18827                inherit: "default" 0.0;
18828                visible: 1;
18829                color: 255 255 255 255;
18830             }
18831          }
18832          part { name: "fg2";
18833             clip_to: "disclip";
18834             mouse_events: 0;
18835             description { state: "default" 0.0;
18836                visible: 0;
18837                color: 255 255 255 0;
18838                rel1.to: "bg";
18839                rel2.to: "bg";
18840                image {
18841                   normal: "bt_sm_shine.png";
18842                   border: 6 6 6 0;
18843                }
18844             }
18845             description { state: "selected" 0.0;
18846                inherit: "default" 0.0;
18847                visible: 1;
18848                color: 255 255 255 255;
18849             }
18850          }
18851          part { name: "disclip";
18852             type: RECT;
18853             description { state: "default" 0.0;
18854                rel1.to: "bg";
18855                rel2.to: "bg";
18856             }
18857             description { state: "disabled" 0.0;
18858                inherit: "default" 0.0;
18859                color: 255 255 255 64;
18860             }
18861          }
18862       }
18863       programs {
18864          // signal: elm,state,%s,active
18865          //   a "check" item named %s went active
18866          // signal: elm,state,%s,passive
18867          //   a "check" item named %s went passive
18868          // default is passive
18869          program {
18870             name:    "go_active";
18871             signal:  "elm,state,selected";
18872             source:  "elm";
18873             action:  STATE_SET "selected" 0.0;
18874             target:  "bg";
18875             target:  "fg1";
18876             target:  "fg2";
18877             target:  "elm.text";
18878          }
18879          program {
18880             name:    "go_passive";
18881             signal:  "elm,state,unselected";
18882             source:  "elm";
18883             action:  STATE_SET "default" 0.0;
18884             target:  "bg";
18885             target:  "fg1";
18886             target:  "fg2";
18887             target:  "elm.text";
18888             transition: LINEAR 0.1;
18889          }
18890          program {
18891             name:    "go_disabled";
18892             signal:  "elm,state,disabled";
18893             source:  "elm";
18894             action:  STATE_SET "disabled" 0.0;
18895             target:  "disclip";
18896          }
18897          program {
18898             name:    "go_enabled";
18899             signal:  "elm,state,enabled";
18900             source:  "elm";
18901             action:  STATE_SET "default" 0.0;
18902             target:  "disclip";
18903          }
18904          program {
18905             name:    "expand";
18906             signal:  "mouse,up,1";
18907             source:  "arrow";
18908             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18909          }
18910          program {
18911             name:    "go_expanded";
18912             signal:  "elm,state,expanded";
18913             source:  "elm";
18914             script {
18915                new st[31];
18916                new Float:vl;
18917                get_state(PART:"arrow", st, 30, vl);
18918                set_state(PART:"arrow", "active", vl);
18919             }
18920          }
18921          program {
18922             name:    "go_contracted";
18923             signal:  "elm,state,contracted";
18924             source:  "elm";
18925             script {
18926                new st[31];
18927                new Float:vl;
18928                get_state(PART:"arrow", st, 30, vl);
18929                set_state(PART:"arrow", "default", vl);
18930             }
18931          }
18932          program { name: "to_rtl";
18933             signal: "edje,state,rtl";
18934             source: "edje";
18935             script {
18936                new st[31];
18937                new Float:vl;
18938                get_state(PART:"arrow", st, 30, vl);
18939                if (vl == 0.0) {
18940                   set_state(PART:"arrow", st, 0.1);
18941                }
18942             }
18943          }
18944          program { name: "to_ltr";
18945             signal: "edje,state,ltr";
18946             source: "edje";
18947             script {
18948                new st[31];
18949                new Float:vl;
18950                get_state(PART:"arrow", st, 30, vl);
18951                if (vl == 0.1) {
18952                   set_state(PART:"arrow", st, 0.0);
18953                }
18954             }
18955          }
18956       }
18957    }
18958
18959    group { name: "elm/genlist/item/default_style/default";
18960        styles
18961        {
18962            style { name: "genlist_style";
18963                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18964                tag:  "br" "\n";
18965                tag:  "ps" "ps";
18966                tag:  "hilight" "+ font=Sans:style=Bold";
18967                tag:  "b" "+ font=Sans:style=Bold";
18968                tag:  "tab" "\t";
18969            }
18970            style { name: "genlist_selected_style";
18971                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18972                tag:  "br" "\n";
18973                tag:  "ps" "ps";
18974                tag:  "hilight" "+ font=Sans:style=Bold";
18975                tag:  "b" "+ font=Sans:style=Bold";
18976                tag:  "tab" "\t";
18977            }
18978        }
18979        data.item: "stacking" "above";
18980        data.item: "selectraise" "on";
18981        data.item: "labels" "elm.text";
18982        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18983        data.item: "treesize" "20";
18984        images {
18985            image: "bt_sm_base1.png" COMP;
18986            image: "bt_sm_shine.png" COMP;
18987            image: "bt_sm_hilight.png" COMP;
18988            image: "ilist_1.png" COMP;
18989            image: "ilist_item_shadow.png" COMP;
18990        }
18991        parts {
18992            part {
18993                name:           "event";
18994                type:           RECT;
18995                repeat_events: 1;
18996                description {
18997                    state: "default" 0.0;
18998                    color: 0 0 0 0;
18999                }
19000            }
19001            part {
19002                name: "base_sh";
19003                mouse_events: 0;
19004                description {
19005                    state: "default" 0.0;
19006                    align: 0.0 0.0;
19007                    min: 0 10;
19008                    fixed: 1 1;
19009                    rel1 {
19010                        to: "base";
19011                        relative: 0.0 1.0;
19012                        offset: 0 0;
19013                    }
19014                    rel2 {
19015                        to: "base";
19016                        relative: 1.0 1.0;
19017                        offset: -1 0;
19018                    }
19019                    image {
19020                        normal: "ilist_item_shadow.png";
19021                    }
19022                    fill.smooth: 0;
19023                }
19024            }
19025            part {
19026                name: "base";
19027                mouse_events: 0;
19028                description {
19029                    state: "default" 0.0;
19030                    min: 16 28;
19031                    image {
19032                        normal: "ilist_1.png";
19033                        border: 2 2 2 2;
19034                    }
19035                    fill.smooth: 0;
19036                }
19037            }
19038            part { name: "bg";
19039                clip_to: "disclip";
19040                mouse_events: 0;
19041                description { state: "default" 0.0;
19042                    visible: 0;
19043                    color: 255 255 255 0;
19044                    rel1 {
19045                        relative: 0.0 0.0;
19046                        offset: -5 -5;
19047                    }
19048                    rel2 {
19049                        relative: 1.0 1.0;
19050                        offset: 4 4;
19051                    }
19052                    image {
19053                        normal: "bt_sm_base1.png";
19054                        border: 6 6 6 6;
19055                    }
19056                    image.middle: SOLID;
19057                }
19058                description { state: "selected" 0.0;
19059                    inherit: "default" 0.0;
19060                    visible: 1;
19061                    color: 255 255 255 255;
19062                    rel1 {
19063                        relative: 0.0 0.0;
19064                        offset: -2 -2;
19065                    }
19066                    rel2 {
19067                        relative: 1.0 1.0;
19068                        offset: 1 1;
19069                    }
19070                }
19071            }
19072            part { name: "elm.swallow.pad";
19073                type: SWALLOW;
19074                description { state: "default" 0.0;
19075                    fixed: 1 0;
19076                    align: 0.0 0.5;
19077                    rel1 {
19078                        relative: 0.0  0.0;
19079                        offset:   4    4;
19080                    }
19081                    rel2 {
19082                        relative: 0.0  1.0;
19083                        offset:   4   -5;
19084                    }
19085                }
19086            }
19087            part { name: "elm.swallow.icon";
19088                clip_to: "disclip";
19089                type: SWALLOW;
19090                description { state: "default" 0.0;
19091                    fixed: 1 0;
19092                    align: 0.0 0.5;
19093                    rel1 {
19094                        to_x: "elm.swallow.pad";
19095                        relative: 1.0  0.0;
19096                        offset:   -1    4;
19097                    }
19098                    rel2 {
19099                        to_x: "elm.swallow.pad";
19100                        relative: 1.0  1.0;
19101                        offset:   -1   -5;
19102                    }
19103                }
19104            }
19105            part { name: "elm.swallow.end";
19106                clip_to: "disclip";
19107                type: SWALLOW;
19108                description { state: "default" 0.0;
19109                    fixed: 1 0;
19110                    align: 1.0 0.5;
19111                    aspect: 1.0 1.0;
19112                    aspect_preference: VERTICAL;
19113                    rel1 {
19114                        relative: 1.0  0.0;
19115                        offset:   -5    4;
19116                    }
19117                    rel2 {
19118                        relative: 1.0  1.0;
19119                        offset:   -5   -5;
19120                    }
19121                }
19122            }
19123            part { name: "elm.text";
19124                clip_to: "disclip";
19125                type: TEXTBLOCK;
19126                mouse_events: 0;
19127                scale: 1;
19128                description {
19129                    state: "default" 0.0;
19130                    align: 0.0 0.5;
19131                    fixed: 0 1;
19132                    rel1 {
19133                        to_x: "elm.swallow.icon";
19134                        to_y: "base";
19135                        relative: 1.0  0.5;
19136                        offset:   0 4;
19137                    }
19138                    rel2 {
19139                        to_x: "elm.swallow.end";
19140                        to_y: "base";
19141                        relative: 0.0  0.5;
19142                        offset:   -1 -5;
19143                    }
19144                    text {
19145                        style: "genlist_style";
19146                        min: 1 1;
19147                    }
19148                }
19149                description { state: "selected" 0.0;
19150                    inherit: "default" 0.0;
19151                    text {
19152                        style: "genlist_selected_style";
19153                    }
19154                }
19155            }
19156            part { name: "fg1";
19157                clip_to: "disclip";
19158                mouse_events: 0;
19159                description { state: "default" 0.0;
19160                    visible: 0;
19161                    color: 255 255 255 0;
19162                    rel1.to: "bg";
19163                    rel2.relative: 1.0 0.5;
19164                    rel2.to: "bg";
19165                    image {
19166                        normal: "bt_sm_hilight.png";
19167                        border: 6 6 6 0;
19168                    }
19169                }
19170                description { state: "selected" 0.0;
19171                    inherit: "default" 0.0;
19172                    visible: 1;
19173                    color: 255 255 255 255;
19174                }
19175            }
19176            part { name: "fg2";
19177                clip_to: "disclip";
19178                mouse_events: 0;
19179                description { state: "default" 0.0;
19180                    visible: 0;
19181                    color: 255 255 255 0;
19182                    rel1.to: "bg";
19183                    rel2.to: "bg";
19184                    image {
19185                        normal: "bt_sm_shine.png";
19186                        border: 6 6 6 0;
19187                    }
19188                }
19189                description { state: "selected" 0.0;
19190                    inherit: "default" 0.0;
19191                    visible: 1;
19192                    color: 255 255 255 255;
19193                }
19194            }
19195            part { name: "disclip";
19196                type: RECT;
19197                description { state: "default" 0.0;
19198                    rel1.to: "bg";
19199                    rel2.to: "bg";
19200                }
19201                description { state: "disabled" 0.0;
19202                    inherit: "default" 0.0;
19203                    color: 255 255 255 64;
19204                }
19205            }
19206        }
19207        programs {
19208            // signal: elm,state,%s,active
19209            //   a "check" item named %s went active
19210            // signal: elm,state,%s,passive
19211            //   a "check" item named %s went passive
19212            // default is passive
19213            program {
19214                name:    "go_active";
19215                signal:  "elm,state,selected";
19216                source:  "elm";
19217                action:  STATE_SET "selected" 0.0;
19218                target:  "bg";
19219                target:  "fg1";
19220                target:  "fg2";
19221                target:  "elm.text";
19222            }
19223            program {
19224                name:    "go_passive";
19225                signal:  "elm,state,unselected";
19226                source:  "elm";
19227                action:  STATE_SET "default" 0.0;
19228                target:  "bg";
19229                target:  "fg1";
19230                target:  "fg2";
19231                target:  "elm.text";
19232                transition: LINEAR 0.1;
19233            }
19234            program {
19235                name:    "go_disabled";
19236                signal:  "elm,state,disabled";
19237                source:  "elm";
19238                action:  STATE_SET "disabled" 0.0;
19239                target:  "disclip";
19240            }
19241            program {
19242                name:    "go_enabled";
19243                signal:  "elm,state,enabled";
19244                source:  "elm";
19245                action:  STATE_SET "default" 0.0;
19246                target:  "disclip";
19247            }
19248        }
19249    }
19250    group { name: "elm/genlist/item_odd/default_style/default";
19251        data.item: "stacking" "below";
19252        data.item: "selectraise" "on";
19253        data.item: "labels" "elm.text";
19254        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19255        data.item: "treesize" "20";
19256        images {
19257            image: "bt_sm_base1.png" COMP;
19258            image: "bt_sm_shine.png" COMP;
19259            image: "bt_sm_hilight.png" COMP;
19260            image: "ilist_2.png" COMP;
19261        }
19262        parts {
19263            part { name: "event";
19264                type: RECT;
19265                repeat_events: 1;
19266                description {
19267                    state: "default" 0.0;
19268                    color: 0 0 0 0;
19269                }
19270            }
19271            part {
19272                name: "base";
19273                mouse_events: 0;
19274                description {
19275                    state: "default" 0.0;
19276                    min: 16 28;
19277                    image {
19278                        normal: "ilist_2.png";
19279                        border: 2 2 2 2;
19280                    }
19281                    fill.smooth: 0;
19282                }
19283            }
19284            part { name: "bg";
19285                clip_to: "disclip";
19286                mouse_events: 0;
19287                description { state: "default" 0.0;
19288                    visible: 0;
19289                    color: 255 255 255 0;
19290                    rel1 {
19291                        relative: 0.0 0.0;
19292                        offset: -5 -5;
19293                    }
19294                    rel2 {
19295                        relative: 1.0 1.0;
19296                        offset: 4 4;
19297                    }
19298                    image {
19299                        normal: "bt_sm_base1.png";
19300                        border: 6 6 6 6;
19301                    }
19302                    image.middle: SOLID;
19303                }
19304                description { state: "selected" 0.0;
19305                    inherit: "default" 0.0;
19306                    visible: 1;
19307                    color: 255 255 255 255;
19308                    rel1 {
19309                        relative: 0.0 0.0;
19310                        offset: -2 -2;
19311                    }
19312                    rel2 {
19313                        relative: 1.0 1.0;
19314                        offset: 1 1;
19315                    }
19316                }
19317            }
19318            part { name: "elm.swallow.pad";
19319                type: SWALLOW;
19320                description { state: "default" 0.0;
19321                    fixed: 1 0;
19322                    align: 0.0 0.5;
19323                    rel1 {
19324                        relative: 0.0  0.0;
19325                        offset:   4    4;
19326                    }
19327                    rel2 {
19328                        relative: 0.0  1.0;
19329                        offset:   4   -5;
19330                    }
19331                }
19332            }
19333            part { name: "elm.swallow.icon";
19334                clip_to: "disclip";
19335                type: SWALLOW;
19336                description { state: "default" 0.0;
19337                    fixed: 1 0;
19338                    align: 0.0 0.5;
19339                    rel1 {
19340                        to_x: "elm.swallow.pad";
19341                        relative: 1.0  0.0;
19342                        offset:   -1    4;
19343                    }
19344                    rel2 {
19345                        to_x: "elm.swallow.pad";
19346                        relative: 1.0  1.0;
19347                        offset:   -1   -5;
19348                    }
19349                }
19350            }
19351            part { name: "elm.swallow.end";
19352                clip_to: "disclip";
19353                type:          SWALLOW;
19354                description { state:    "default" 0.0;
19355                    fixed: 1 0;
19356                    align:    1.0 0.5;
19357                    aspect: 1.0 1.0;
19358                    aspect_preference: VERTICAL;
19359                    rel1 {
19360                        relative: 1.0  0.0;
19361                        offset:   -5    4;
19362                    }
19363                    rel2 {
19364                        relative: 1.0  1.0;
19365                        offset:   -5   -5;
19366                    }
19367                }
19368            }
19369            part { name: "elm.text";
19370                clip_to: "disclip";
19371                type:           TEXTBLOCK;
19372                mouse_events:   0;
19373                scale: 1;
19374                description {
19375                    state: "default" 0.0;
19376                    align: 0.0 0.5;
19377                    fixed: 0 1;
19378                    rel1 {
19379                        to_x: "elm.swallow.icon";
19380                        to_y: "base";
19381                        relative: 1.0  0.5;
19382                        offset:   0 4;
19383                    }
19384                    rel2 {
19385                        to_x: "elm.swallow.end";
19386                        to_y: "base";
19387                        relative: 0.0  0.5;
19388                        offset:   -1 -5;
19389                    }
19390                    text {
19391                        style: "genlist_style";
19392                        min: 1 1;
19393                    }
19394                }
19395                description { state: "selected" 0.0;
19396                    inherit: "default" 0.0;
19397                    text {
19398                        style: "genlist_selected_style";
19399                    }
19400                }
19401            }
19402            part { name: "fg1";
19403                clip_to: "disclip";
19404                mouse_events: 0;
19405                description { state: "default" 0.0;
19406                    visible: 0;
19407                    color: 255 255 255 0;
19408                    rel1.to: "bg";
19409                    rel2.relative: 1.0 0.5;
19410                    rel2.to: "bg";
19411                    image {
19412                        normal: "bt_sm_hilight.png";
19413                        border: 6 6 6 0;
19414                    }
19415                }
19416                description { state: "selected" 0.0;
19417                    inherit: "default" 0.0;
19418                    visible: 1;
19419                    color: 255 255 255 255;
19420                }
19421            }
19422            part { name: "fg2";
19423                clip_to: "disclip";
19424                mouse_events: 0;
19425                description { state: "default" 0.0;
19426                    visible: 0;
19427                    color: 255 255 255 0;
19428                    rel1.to: "bg";
19429                    rel2.to: "bg";
19430                    image {
19431                        normal: "bt_sm_shine.png";
19432                        border: 6 6 6 0;
19433                    }
19434                }
19435                description { state: "selected" 0.0;
19436                    inherit: "default" 0.0;
19437                    visible: 1;
19438                    color: 255 255 255 255;
19439                }
19440            }
19441            part { name: "disclip";
19442                type: RECT;
19443                description { state: "default" 0.0;
19444                    rel1.to: "bg";
19445                    rel2.to: "bg";
19446                }
19447                description { state: "disabled" 0.0;
19448                    inherit: "default" 0.0;
19449                    color: 255 255 255 64;
19450                }
19451            }
19452        }
19453        programs {
19454            // signal: elm,state,%s,active
19455            //   a "check" item named %s went active
19456            // signal: elm,state,%s,passive
19457            //   a "check" item named %s went passive
19458            // default is passive
19459            program {
19460                name:    "go_active";
19461                signal:  "elm,state,selected";
19462                source:  "elm";
19463                action:  STATE_SET "selected" 0.0;
19464                target:  "bg";
19465                target:  "fg1";
19466                target:  "fg2";
19467                target:  "elm.text";
19468            }
19469            program {
19470                name:    "go_passive";
19471                signal:  "elm,state,unselected";
19472                source:  "elm";
19473                action:  STATE_SET "default" 0.0;
19474                target:  "bg";
19475                target:  "fg1";
19476                target:  "fg2";
19477                target:  "elm.text";
19478                transition: LINEAR 0.1;
19479            }
19480            program {
19481                name:    "go_disabled";
19482                signal:  "elm,state,disabled";
19483                source:  "elm";
19484                action:  STATE_SET "disabled" 0.0;
19485                target:  "disclip";
19486            }
19487            program {
19488                name:    "go_enabled";
19489                signal:  "elm,state,enabled";
19490                source:  "elm";
19491                action:  STATE_SET "default" 0.0;
19492                target:  "disclip";
19493            }
19494        }
19495    }
19496
19497    group { name: "elm/genlist/tree/default_style/default";
19498        data.item: "stacking" "above";
19499        data.item: "selectraise" "on";
19500        data.item: "labels" "elm.text";
19501        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19502        data.item: "treesize" "20";
19503        images {
19504            image: "bt_sm_base1.png" COMP;
19505            image: "bt_sm_shine.png" COMP;
19506            image: "bt_sm_hilight.png" COMP;
19507            image: "ilist_1.png" COMP;
19508            image: "ilist_item_shadow.png" COMP;
19509            image: "icon_arrow_right.png" COMP;
19510            image: "icon_arrow_down.png" COMP;
19511        }
19512        parts {
19513            part {
19514                name:           "event";
19515                type:           RECT;
19516                repeat_events: 1;
19517                description {
19518                    state: "default" 0.0;
19519                    color: 0 0 0 0;
19520                }
19521            }
19522            part {
19523                name: "base_sh";
19524                mouse_events: 0;
19525                description {
19526                    state: "default" 0.0;
19527                    align: 0.0 0.0;
19528                    min: 0 10;
19529                    fixed: 1 1;
19530                    rel1 {
19531                        to: "base";
19532                        relative: 0.0 1.0;
19533                        offset: 0 0;
19534                    }
19535                    rel2 {
19536                        to: "base";
19537                        relative: 1.0 1.0;
19538                        offset: -1 0;
19539                    }
19540                    image {
19541                        normal: "ilist_item_shadow.png";
19542                    }
19543                    fill.smooth: 0;
19544                }
19545            }
19546            part {
19547                name: "base";
19548                mouse_events: 0;
19549                description {
19550                    state: "default" 0.0;
19551                    min: 16 28;
19552                    image {
19553                        normal: "ilist_1.png";
19554                        border: 2 2 2 2;
19555                    }
19556                    fill.smooth: 0;
19557                }
19558            }
19559            part { name: "bg";
19560                clip_to: "disclip";
19561                mouse_events: 0;
19562                description { state: "default" 0.0;
19563                    visible: 0;
19564                    color: 255 255 255 0;
19565                    rel1 {
19566                        relative: 0.0 0.0;
19567                        offset: -5 -5;
19568                    }
19569                    rel2 {
19570                        relative: 1.0 1.0;
19571                        offset: 4 4;
19572                    }
19573                    image {
19574                        normal: "bt_sm_base1.png";
19575                        border: 6 6 6 6;
19576                    }
19577                    image.middle: SOLID;
19578                }
19579                description { state: "selected" 0.0;
19580                    inherit: "default" 0.0;
19581                    visible: 1;
19582                    color: 255 255 255 255;
19583                    rel1 {
19584                        relative: 0.0 0.0;
19585                        offset: -2 -2;
19586                    }
19587                    rel2 {
19588                        relative: 1.0 1.0;
19589                        offset: 1 1;
19590                    }
19591                }
19592            }
19593            part { name: "elm.swallow.pad";
19594                type: SWALLOW;
19595                description { state: "default" 0.0;
19596                    fixed: 1 0;
19597                    align: 0.0 0.5;
19598                    rel1 {
19599                        relative: 0.0  0.0;
19600                        offset:   4    4;
19601                    }
19602                    rel2 {
19603                        relative: 0.0  1.0;
19604                        offset:   4   -5;
19605                    }
19606                }
19607            }
19608            part { name: "arrow";
19609                clip_to: "disclip";
19610                ignore_flags: ON_HOLD;
19611                description { state: "default" 0.0;
19612                    fixed: 1 0;
19613                    align: 0.0 0.5;
19614                    aspect: 1.0 1.0;
19615                    rel1 {
19616                        to_x: "elm.swallow.pad";
19617                        relative: 1.0  0.0;
19618                        offset:   -1    4;
19619                    }
19620                    rel2 {
19621                        to_x: "elm.swallow.pad";
19622                        relative: 1.0  1.0;
19623                        offset:   -1   -5;
19624                    }
19625                    image.normal: "icon_arrow_right.png";
19626                }
19627                description { state: "active" 0.0;
19628                    inherit: "default" 0.0;
19629                    image.normal: "icon_arrow_down.png";
19630                }
19631            }
19632            part { name: "elm.swallow.icon";
19633                clip_to: "disclip";
19634                type: SWALLOW;
19635                description { state: "default" 0.0;
19636                    fixed: 1 0;
19637                    align: 0.0 0.5;
19638                    rel1 {
19639                        to_x: "arrow";
19640                        relative: 1.0  0.0;
19641                        offset:   4    4;
19642                    }
19643                    rel2 {
19644                        to_x: "arrow";
19645                        relative: 1.0  1.0;
19646                        offset:   4   -5;
19647                    }
19648                }
19649            }
19650            part { name: "elm.swallow.end";
19651                clip_to: "disclip";
19652                type: SWALLOW;
19653                description { state: "default" 0.0;
19654                    fixed: 1 0;
19655                    align: 1.0 0.5;
19656                    aspect: 1.0 1.0;
19657                    aspect_preference: VERTICAL;
19658                    rel1 {
19659                        relative: 1.0  0.0;
19660                        offset:   -5    4;
19661                    }
19662                    rel2 {
19663                        relative: 1.0  1.0;
19664                        offset:   -5   -5;
19665                    }
19666                }
19667            }
19668            part { name: "elm.text";
19669                clip_to: "disclip";
19670                type:           TEXTBLOCK;
19671                effect:         SOFT_SHADOW;
19672                mouse_events:   0;
19673                scale: 1;
19674                description {
19675                    state: "default" 0.0;
19676                    align: 0.0 0.5;
19677                    fixed: 0 1;
19678                    rel1 {
19679                        to_x:     "elm.swallow.icon";
19680                        to_y: "base";
19681                        relative: 1.0  0.5;
19682                        offset:   0 4;
19683                    }
19684                    rel2 {
19685                        to_x:     "elm.swallow.end";
19686                        to_y: "base";
19687                        relative: 0.0  0.5;
19688                        offset:   -1 -5;
19689                    }
19690                    text {
19691                        style: "genlist_style";
19692                        min: 1 1;
19693                    }
19694                }
19695                description { state: "selected" 0.0;
19696                    inherit: "default" 0.0;
19697                    text {
19698                        style: "genlist_selected_style";
19699                    }
19700                }
19701            }
19702            part { name: "fg1";
19703                clip_to: "disclip";
19704                mouse_events: 0;
19705                description { state: "default" 0.0;
19706                    visible: 0;
19707                    color: 255 255 255 0;
19708                    rel1.to: "bg";
19709                    rel2.relative: 1.0 0.5;
19710                    rel2.to: "bg";
19711                    image {
19712                        normal: "bt_sm_hilight.png";
19713                        border: 6 6 6 0;
19714                    }
19715                }
19716                description { state: "selected" 0.0;
19717                    inherit: "default" 0.0;
19718                    visible: 1;
19719                    color: 255 255 255 255;
19720                }
19721            }
19722            part { name: "fg2";
19723                clip_to: "disclip";
19724                mouse_events: 0;
19725                description { state: "default" 0.0;
19726                    visible: 0;
19727                    color: 255 255 255 0;
19728                    rel1.to: "bg";
19729                    rel2.to: "bg";
19730                    image {
19731                        normal: "bt_sm_shine.png";
19732                        border: 6 6 6 0;
19733                    }
19734                }
19735                description { state: "selected" 0.0;
19736                    inherit: "default" 0.0;
19737                    visible: 1;
19738                    color: 255 255 255 255;
19739                }
19740            }
19741            part { name: "disclip";
19742                type: RECT;
19743                description { state: "default" 0.0;
19744                    rel1.to: "bg";
19745                    rel2.to: "bg";
19746                }
19747                description { state: "disabled" 0.0;
19748                    inherit: "default" 0.0;
19749                    color: 255 255 255 64;
19750                }
19751            }
19752        }
19753        programs {
19754            // signal: elm,state,%s,active
19755            //   a "check" item named %s went active
19756            // signal: elm,state,%s,passive
19757            //   a "check" item named %s went passive
19758            // default is passive
19759            program {
19760                name:    "go_active";
19761                signal:  "elm,state,selected";
19762                source:  "elm";
19763                action:  STATE_SET "selected" 0.0;
19764                target:  "bg";
19765                target:  "fg1";
19766                target:  "fg2";
19767                target:  "elm.text";
19768            }
19769            program {
19770                name:    "go_passive";
19771                signal:  "elm,state,unselected";
19772                source:  "elm";
19773                action:  STATE_SET "default" 0.0;
19774                target:  "bg";
19775                target:  "fg1";
19776                target:  "fg2";
19777                target:  "elm.text";
19778                transition: LINEAR 0.1;
19779            }
19780            program {
19781                name:    "go_disabled";
19782                signal:  "elm,state,disabled";
19783                source:  "elm";
19784                action:  STATE_SET "disabled" 0.0;
19785                target:  "disclip";
19786            }
19787            program {
19788                name:    "go_enabled";
19789                signal:  "elm,state,enabled";
19790                source:  "elm";
19791                action:  STATE_SET "default" 0.0;
19792                target:  "disclip";
19793            }
19794            program {
19795                name:    "expand";
19796                signal:  "mouse,up,1";
19797                source:  "arrow";
19798                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19799            }
19800            program {
19801                name:    "go_expanded";
19802                signal:  "elm,state,expanded";
19803                source:  "elm";
19804                action:  STATE_SET "active" 0.0;
19805                target:  "arrow";
19806            }
19807            program {
19808                name:    "go_contracted";
19809                signal:  "elm,state,contracted";
19810                source:  "elm";
19811                action:  STATE_SET "default" 0.0;
19812                target:  "arrow";
19813            }
19814        }
19815    }
19816    group { name: "elm/genlist/tree_odd/default_style/default";
19817        data.item: "stacking" "below";
19818        data.item: "selectraise" "on";
19819        data.item: "labels" "elm.text";
19820        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19821        data.item: "treesize" "20";
19822        images {
19823            image: "bt_sm_base1.png" COMP;
19824            image: "bt_sm_shine.png" COMP;
19825            image: "bt_sm_hilight.png" COMP;
19826            image: "ilist_2.png" COMP;
19827            image: "icon_arrow_right.png" COMP;
19828            image: "icon_arrow_down.png" COMP;
19829        }
19830        parts {
19831            part {
19832                name:           "event";
19833                type:           RECT;
19834                repeat_events: 1;
19835                description {
19836                    state: "default" 0.0;
19837                    color: 0 0 0 0;
19838                }
19839            }
19840            part {
19841                name: "base";
19842                mouse_events: 0;
19843                description {
19844                    state: "default" 0.0;
19845                    min: 16 28;
19846                    image {
19847                        normal: "ilist_2.png";
19848                        border: 2 2 2 2;
19849                    }
19850                    fill.smooth: 0;
19851                }
19852            }
19853            part { name: "bg";
19854                clip_to: "disclip";
19855                mouse_events: 0;
19856                description { state: "default" 0.0;
19857                    visible: 0;
19858                    color: 255 255 255 0;
19859                    rel1 {
19860                        relative: 0.0 0.0;
19861                        offset: -5 -5;
19862                    }
19863                    rel2 {
19864                        relative: 1.0 1.0;
19865                        offset: 4 4;
19866                    }
19867                    image {
19868                        normal: "bt_sm_base1.png";
19869                        border: 6 6 6 6;
19870                    }
19871                    image.middle: SOLID;
19872                }
19873                description { state: "selected" 0.0;
19874                    inherit: "default" 0.0;
19875                    visible: 1;
19876                    color: 255 255 255 255;
19877                    rel1 {
19878                        relative: 0.0 0.0;
19879                        offset: -2 -2;
19880                    }
19881                    rel2 {
19882                        relative: 1.0 1.0;
19883                        offset: 1 1;
19884                    }
19885                }
19886            }
19887            part { name: "elm.swallow.pad";
19888                type: SWALLOW;
19889                description { state: "default" 0.0;
19890                    fixed: 1 0;
19891                    align: 0.0 0.5;
19892                    rel1 {
19893                        relative: 0.0  0.0;
19894                        offset:   4    4;
19895                    }
19896                    rel2 {
19897                        relative: 0.0  1.0;
19898                        offset:   4   -5;
19899                    }
19900                }
19901            }
19902            part { name: "arrow";
19903                clip_to: "disclip";
19904                ignore_flags: ON_HOLD;
19905                description { state: "default" 0.0;
19906                    fixed: 1 0;
19907                    align: 0.0 0.5;
19908                    aspect: 1.0 1.0;
19909                    rel1 {
19910                        to_x: "elm.swallow.pad";
19911                        relative: 1.0  0.0;
19912                        offset:   -1    4;
19913                    }
19914                    rel2 {
19915                        to_x: "elm.swallow.pad";
19916                        relative: 1.0  1.0;
19917                        offset:   -1   -5;
19918                    }
19919                    image.normal: "icon_arrow_right.png";
19920                }
19921                description { state: "active" 0.0;
19922                    inherit: "default" 0.0;
19923                    image.normal: "icon_arrow_down.png";
19924                }
19925            }
19926            part { name: "elm.swallow.icon";
19927                clip_to: "disclip";
19928                type: SWALLOW;
19929                description { state: "default" 0.0;
19930                    fixed: 1 0;
19931                    align: 0.0 0.5;
19932                    rel1 {
19933                        to_x: "arrow";
19934                        relative: 1.0  0.0;
19935                        offset:   4    4;
19936                    }
19937                    rel2 {
19938                        to_x: "arrow";
19939                        relative: 1.0  1.0;
19940                        offset:   4   -5;
19941                    }
19942                }
19943            }
19944            part { name: "elm.swallow.end";
19945                clip_to: "disclip";
19946                type: SWALLOW;
19947                description { state: "default" 0.0;
19948                    fixed: 1 0;
19949                    align: 1.0 0.5;
19950                    aspect: 1.0 1.0;
19951                    aspect_preference: VERTICAL;
19952                    rel1 {
19953                        relative: 1.0  0.0;
19954                        offset:   -5    4;
19955                    }
19956                    rel2 {
19957                        relative: 1.0  1.0;
19958                        offset:   -5   -5;
19959                    }
19960                }
19961            }
19962            part { name: "elm.text";
19963                clip_to: "disclip";
19964                type:           TEXTBLOCK;
19965                effect:         SOFT_SHADOW;
19966                mouse_events:   0;
19967                scale: 1;
19968                description {
19969                    state: "default" 0.0;
19970                    align: 0.0 0.5;
19971                    fixed: 0 1;
19972                    rel1 {
19973                        to_x:     "elm.swallow.icon";
19974                        to_y: "base";
19975                        relative: 1.0  0.5;
19976                        offset:   0 4;
19977                    }
19978                    rel2 {
19979                        to_x:     "elm.swallow.end";
19980                        to_y: "base";
19981                        relative: 0.0  0.5;
19982                        offset:   -1 -5;
19983                    }
19984                    text {
19985                        style: "genlist_style";
19986                        min: 1 1;
19987                    }
19988                }
19989                description { state: "selected" 0.0;
19990                    inherit: "default" 0.0;
19991                    text {
19992                        style: "genlist_selected_style";
19993                    }
19994                }
19995            }
19996            part { name: "fg1";
19997                clip_to: "disclip";
19998                mouse_events: 0;
19999                description { state: "default" 0.0;
20000                    visible: 0;
20001                    color: 255 255 255 0;
20002                    rel1.to: "bg";
20003                    rel2.relative: 1.0 0.5;
20004                    rel2.to: "bg";
20005                    image {
20006                        normal: "bt_sm_hilight.png";
20007                        border: 6 6 6 0;
20008                    }
20009                }
20010                description { state: "selected" 0.0;
20011                    inherit: "default" 0.0;
20012                    visible: 1;
20013                    color: 255 255 255 255;
20014                }
20015            }
20016            part { name: "fg2";
20017                clip_to: "disclip";
20018                mouse_events: 0;
20019                description { state: "default" 0.0;
20020                    visible: 0;
20021                    color: 255 255 255 0;
20022                    rel1.to: "bg";
20023                    rel2.to: "bg";
20024                    image {
20025                        normal: "bt_sm_shine.png";
20026                        border: 6 6 6 0;
20027                    }
20028                }
20029                description { state: "selected" 0.0;
20030                    inherit: "default" 0.0;
20031                    visible: 1;
20032                    color: 255 255 255 255;
20033                }
20034            }
20035            part { name: "disclip";
20036                type: RECT;
20037                description { state: "default" 0.0;
20038                    rel1.to: "bg";
20039                    rel2.to: "bg";
20040                }
20041                description { state: "disabled" 0.0;
20042                    inherit: "default" 0.0;
20043                    color: 255 255 255 64;
20044                }
20045            }
20046        }
20047        programs {
20048            // signal: elm,state,%s,active
20049            //   a "check" item named %s went active
20050            // signal: elm,state,%s,passive
20051            //   a "check" item named %s went passive
20052            // default is passive
20053            program {
20054                name:    "go_active";
20055                signal:  "elm,state,selected";
20056                source:  "elm";
20057                action:  STATE_SET "selected" 0.0;
20058                target:  "bg";
20059                target:  "fg1";
20060                target:  "fg2";
20061                target:  "elm.text";
20062            }
20063            program {
20064                name:    "go_passive";
20065                signal:  "elm,state,unselected";
20066                source:  "elm";
20067                action:  STATE_SET "default" 0.0;
20068                target:  "bg";
20069                target:  "fg1";
20070                target:  "fg2";
20071                target:  "elm.text";
20072                transition: LINEAR 0.1;
20073            }
20074            program {
20075                name:    "go_disabled";
20076                signal:  "elm,state,disabled";
20077                source:  "elm";
20078                action:  STATE_SET "disabled" 0.0;
20079                target:  "disclip";
20080            }
20081            program {
20082                name:    "go_enabled";
20083                signal:  "elm,state,enabled";
20084                source:  "elm";
20085                action:  STATE_SET "default" 0.0;
20086                target:  "disclip";
20087            }
20088            program {
20089                name:    "expand";
20090                signal:  "mouse,up,1";
20091                source:  "arrow";
20092                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20093            }
20094            program {
20095                name:    "go_expanded";
20096                signal:  "elm,state,expanded";
20097                source:  "elm";
20098                action:  STATE_SET "active" 0.0;
20099                target:  "arrow";
20100            }
20101            program {
20102                name:    "go_contracted";
20103                signal:  "elm,state,contracted";
20104                source:  "elm";
20105                action:  STATE_SET "default" 0.0;
20106                target:  "arrow";
20107            }
20108        }
20109    }
20110
20111
20112    group { name: "elm/genlist/item/double_label/default";
20113       data.item: "stacking" "above";
20114       data.item: "selectraise" "on";
20115       data.item: "labels" "elm.text elm.text.sub";
20116       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20117       data.item: "treesize" "20";
20118 //      data.item: "states" "";
20119       images {
20120          image: "bt_sm_base1.png" COMP;
20121          image: "bt_sm_shine.png" COMP;
20122          image: "bt_sm_hilight.png" COMP;
20123          image: "ilist_1.png" COMP;
20124          image: "ilist_item_shadow.png" COMP;
20125       }
20126       parts {
20127          part {
20128             name:           "event";
20129             type:           RECT;
20130             repeat_events: 1;
20131             description {
20132                state: "default" 0.0;
20133                color: 0 0 0 0;
20134             }
20135          }
20136          part {
20137             name: "base_sh";
20138             mouse_events: 0;
20139             description {
20140                state: "default" 0.0;
20141                align: 0.0 0.0;
20142                min: 0 10;
20143                fixed: 1 1;
20144                rel1 {
20145                   to: "base";
20146                   relative: 0.0 1.0;
20147                   offset: 0 0;
20148                }
20149                rel2 {
20150                   to: "base";
20151                   relative: 1.0 1.0;
20152                   offset: -1 0;
20153                }
20154                image {
20155                   normal: "ilist_item_shadow.png";
20156                }
20157                fill.smooth: 0;
20158             }
20159          }
20160          part {
20161             name: "base";
20162             mouse_events: 0;
20163             description {
20164                state: "default" 0.0;
20165                image {
20166                   normal: "ilist_1.png";
20167                   border: 2 2 2 2;
20168                }
20169                fill.smooth: 0;
20170             }
20171          }
20172          part { name: "bg";
20173             clip_to: "disclip";
20174             mouse_events: 0;
20175             description { state: "default" 0.0;
20176                visible: 0;
20177                color: 255 255 255 0;
20178                rel1 {
20179                   relative: 0.0 0.0;
20180                   offset: -5 -5;
20181                }
20182                rel2 {
20183                   relative: 1.0 1.0;
20184                   offset: 4 4;
20185                }
20186                image {
20187                   normal: "bt_sm_base1.png";
20188                   border: 6 6 6 6;
20189                }
20190                image.middle: SOLID;
20191             }
20192             description { state: "selected" 0.0;
20193                inherit: "default" 0.0;
20194                visible: 1;
20195                color: 255 255 255 255;
20196                rel1 {
20197                   relative: 0.0 0.0;
20198                   offset: -2 -2;
20199                }
20200                rel2 {
20201                   relative: 1.0 1.0;
20202                   offset: 1 1;
20203                }
20204             }
20205          }
20206          part { name: "elm.swallow.pad";
20207             type: SWALLOW;
20208             description { state: "default" 0.0;
20209                fixed: 1 0;
20210                align: 0.0 0.5;
20211                rel1 {
20212                   relative: 0.0  0.0;
20213                   offset:   4    4;
20214                }
20215                rel2 {
20216                   relative: 0.0  1.0;
20217                   offset:   4   -5;
20218                }
20219             }
20220          }
20221          part { name: "elm.swallow.icon";
20222             clip_to: "disclip";
20223             type: SWALLOW;
20224             description { state: "default" 0.0;
20225                fixed: 1 0;
20226                align: 0.0 0.5;
20227                rel1 {
20228                   to_x: "elm.swallow.pad";
20229                   relative: 1.0  0.0;
20230                   offset:   -1    4;
20231                }
20232                rel2 {
20233                   to_x: "elm.swallow.pad";
20234                   relative: 1.0  1.0;
20235                   offset:   -1   -5;
20236                }
20237             }
20238          }
20239          part { name: "elm.swallow.end";
20240             clip_to: "disclip";
20241             type: SWALLOW;
20242             description { state: "default" 0.0;
20243                fixed: 1 0;
20244                align: 1.0 0.5;
20245                aspect: 1.0 1.0;
20246                aspect_preference: VERTICAL;
20247                rel1 {
20248                   relative: 1.0  0.0;
20249                   offset:   -5    4;
20250                }
20251                rel2 {
20252                   relative: 1.0  1.0;
20253                   offset:   -5   -5;
20254                }
20255             }
20256          }
20257          part { name: "elm.text";
20258             clip_to: "disclip";
20259             type:           TEXT;
20260             effect:         SOFT_SHADOW;
20261             mouse_events:   0;
20262             scale: 1;
20263             description {
20264                state: "default" 0.0;
20265 //               min: 16 16;
20266                rel1 {
20267                   to_x:     "elm.swallow.icon";
20268                   relative: 1.0  0.0;
20269                   offset:   0 4;
20270                }
20271                rel2 {
20272                   to_x:     "elm.swallow.end";
20273                   relative: 0.0  0.5;
20274                   offset:   -1 -5;
20275                }
20276                color: 0 0 0 255;
20277                color3: 0 0 0 0;
20278                text {
20279                   font: "Sans";
20280                   size: 10;
20281                   min: 1 1;
20282 //                  min: 0 1;
20283                   align: 0.0 0.5;
20284                   text_class: "list_item";
20285                }
20286             }
20287             description { state: "selected" 0.0;
20288                inherit: "default" 0.0;
20289                color: 224 224 224 255;
20290                color3: 0 0 0 64;
20291             }
20292          }
20293          part { name: "elm.text.sub";
20294             clip_to: "disclip";
20295             type:           TEXT;
20296             mouse_events:   0;
20297             scale: 1;
20298             description {
20299                state: "default" 0.0;
20300 //               min: 16 16;
20301                rel1 {
20302                   to_x:     "elm.swallow.icon";
20303                   relative: 1.0  0.5;
20304                   offset:   0 4;
20305                }
20306                rel2 {
20307                   to_x:     "elm.swallow.end";
20308                   relative: 0.0  1.0;
20309                   offset:   -1 -5;
20310                }
20311                color: 0 0 0 128;
20312                color3: 0 0 0 0;
20313                text {
20314                   font: "Sans";
20315                   size: 8;
20316                   min: 1 1;
20317 //                  min: 0 1;
20318                   align: 0.0 0.5;
20319                   text_class: "list_item";
20320                }
20321             }
20322             description { state: "selected" 0.0;
20323                inherit: "default" 0.0;
20324                color: 128 128 128 255;
20325                color3: 0 0 0 32;
20326             }
20327          }
20328          part { name: "fg1";
20329             clip_to: "disclip";
20330             mouse_events: 0;
20331             description { state: "default" 0.0;
20332                visible: 0;
20333                color: 255 255 255 0;
20334                rel1.to: "bg";
20335                rel2.relative: 1.0 0.5;
20336                rel2.to: "bg";
20337                image {
20338                   normal: "bt_sm_hilight.png";
20339                   border: 6 6 6 0;
20340                }
20341             }
20342             description { state: "selected" 0.0;
20343                inherit: "default" 0.0;
20344                visible: 1;
20345                color: 255 255 255 255;
20346             }
20347          }
20348          part { name: "fg2";
20349             clip_to: "disclip";
20350             mouse_events: 0;
20351             description { state: "default" 0.0;
20352                visible: 0;
20353                color: 255 255 255 0;
20354                rel1.to: "bg";
20355                rel2.to: "bg";
20356                image {
20357                   normal: "bt_sm_shine.png";
20358                   border: 6 6 6 0;
20359                }
20360             }
20361             description { state: "selected" 0.0;
20362                inherit: "default" 0.0;
20363                visible: 1;
20364                color: 255 255 255 255;
20365             }
20366          }
20367          part { name: "disclip";
20368             type: RECT;
20369             description { state: "default" 0.0;
20370                rel1.to: "bg";
20371                rel2.to: "bg";
20372             }
20373             description { state: "disabled" 0.0;
20374                inherit: "default" 0.0;
20375                color: 255 255 255 64;
20376             }
20377          }
20378       }
20379       programs {
20380          // signal: elm,state,%s,active
20381          //   a "check" item named %s went active
20382          // signal: elm,state,%s,passive
20383          //   a "check" item named %s went passive
20384          // default is passive
20385          program {
20386             name:    "go_active";
20387             signal:  "elm,state,selected";
20388             source:  "elm";
20389             action:  STATE_SET "selected" 0.0;
20390             target:  "bg";
20391             target:  "fg1";
20392             target:  "fg2";
20393             target:  "elm.text";
20394             target:  "elm.text.sub";
20395          }
20396          program {
20397             name:    "go_passive";
20398             signal:  "elm,state,unselected";
20399             source:  "elm";
20400             action:  STATE_SET "default" 0.0;
20401             target:  "bg";
20402             target:  "fg1";
20403             target:  "fg2";
20404             target:  "elm.text";
20405             target:  "elm.text.sub";
20406             transition: LINEAR 0.1;
20407          }
20408          program {
20409             name:    "go_disabled";
20410             signal:  "elm,state,disabled";
20411             source:  "elm";
20412             action:  STATE_SET "disabled" 0.0;
20413             target:  "disclip";
20414          }
20415          program {
20416             name:    "go_enabled";
20417             signal:  "elm,state,enabled";
20418             source:  "elm";
20419             action:  STATE_SET "default" 0.0;
20420             target:  "disclip";
20421          }
20422       }
20423    }
20424    group { name: "elm/genlist/item_compress/double_label/default";
20425       data.item: "stacking" "above";
20426       data.item: "selectraise" "on";
20427       data.item: "labels" "elm.text elm.text.sub";
20428       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20429       data.item: "treesize" "20";
20430 //      data.item: "states" "";
20431       images {
20432          image: "bt_sm_base1.png" COMP;
20433          image: "bt_sm_shine.png" COMP;
20434          image: "bt_sm_hilight.png" COMP;
20435          image: "ilist_1.png" COMP;
20436          image: "ilist_item_shadow.png" COMP;
20437       }
20438       parts {
20439          part {
20440             name:           "event";
20441             type:           RECT;
20442             repeat_events: 1;
20443             description {
20444                state: "default" 0.0;
20445                color: 0 0 0 0;
20446             }
20447          }
20448          part {
20449             name: "base_sh";
20450             mouse_events: 0;
20451             description {
20452                state: "default" 0.0;
20453                align: 0.0 0.0;
20454                min: 0 10;
20455                fixed: 1 1;
20456                rel1 {
20457                   to: "base";
20458                   relative: 0.0 1.0;
20459                   offset: 0 0;
20460                }
20461                rel2 {
20462                   to: "base";
20463                   relative: 1.0 1.0;
20464                   offset: -1 0;
20465                }
20466                image {
20467                   normal: "ilist_item_shadow.png";
20468                }
20469                fill.smooth: 0;
20470             }
20471          }
20472          part {
20473             name: "base";
20474             mouse_events: 0;
20475             description {
20476                state: "default" 0.0;
20477                image {
20478                   normal: "ilist_1.png";
20479                   border: 2 2 2 2;
20480                }
20481                fill.smooth: 0;
20482             }
20483          }
20484          part { name: "bg";
20485             clip_to: "disclip";
20486             mouse_events: 0;
20487             description { state: "default" 0.0;
20488                visible: 0;
20489                color: 255 255 255 0;
20490                rel1 {
20491                   relative: 0.0 0.0;
20492                   offset: -5 -5;
20493                }
20494                rel2 {
20495                   relative: 1.0 1.0;
20496                   offset: 4 4;
20497                }
20498                image {
20499                   normal: "bt_sm_base1.png";
20500                   border: 6 6 6 6;
20501                }
20502                image.middle: SOLID;
20503             }
20504             description { state: "selected" 0.0;
20505                inherit: "default" 0.0;
20506                visible: 1;
20507                color: 255 255 255 255;
20508                rel1 {
20509                   relative: 0.0 0.0;
20510                   offset: -2 -2;
20511                }
20512                rel2 {
20513                   relative: 1.0 1.0;
20514                   offset: 1 1;
20515                }
20516             }
20517          }
20518          part { name: "elm.swallow.pad";
20519             type: SWALLOW;
20520             description { state: "default" 0.0;
20521                fixed: 1 0;
20522                align: 0.0 0.5;
20523                rel1 {
20524                   relative: 0.0  0.0;
20525                   offset:   4    4;
20526                }
20527                rel2 {
20528                   relative: 0.0  1.0;
20529                   offset:   4   -5;
20530                }
20531             }
20532          }
20533          part { name: "elm.swallow.icon";
20534             clip_to: "disclip";
20535             type: SWALLOW;
20536             description { state: "default" 0.0;
20537                fixed: 1 0;
20538                align: 0.0 0.5;
20539                rel1 {
20540                   to_x: "elm.swallow.pad";
20541                   relative: 1.0  0.0;
20542                   offset:   -1    4;
20543                }
20544                rel2 {
20545                   to_x: "elm.swallow.pad";
20546                   relative: 1.0  1.0;
20547                   offset:   -1   -5;
20548                }
20549             }
20550          }
20551          part { name: "elm.swallow.end";
20552             clip_to: "disclip";
20553             type: SWALLOW;
20554             description { state: "default" 0.0;
20555                fixed: 1 0;
20556                align: 1.0 0.5;
20557                aspect: 1.0 1.0;
20558                aspect_preference: VERTICAL;
20559                rel1 {
20560                   relative: 1.0  0.0;
20561                   offset:   -5    4;
20562                }
20563                rel2 {
20564                   relative: 1.0  1.0;
20565                   offset:   -5   -5;
20566                }
20567             }
20568          }
20569          part { name: "elm.text";
20570             clip_to: "disclip";
20571             type:           TEXT;
20572             effect:         SOFT_SHADOW;
20573             mouse_events:   0;
20574             scale: 1;
20575             description {
20576                state: "default" 0.0;
20577 //               min: 16 16;
20578                rel1 {
20579                   to_x:     "elm.swallow.icon";
20580                   relative: 1.0  0.0;
20581                   offset:   0 4;
20582                }
20583                rel2 {
20584                   to_x:     "elm.swallow.end";
20585                   relative: 0.0  0.5;
20586                   offset:   -1 -5;
20587                }
20588                color: 0 0 0 255;
20589                color3: 0 0 0 0;
20590                text {
20591                   font: "Sans";
20592                   size: 10;
20593 //                  min: 1 1;
20594                   min: 0 1;
20595                   align: 0.0 0.5;
20596                   text_class: "list_item";
20597                }
20598             }
20599             description { state: "selected" 0.0;
20600                inherit: "default" 0.0;
20601                color: 224 224 224 255;
20602                color3: 0 0 0 64;
20603             }
20604          }
20605          part { name: "elm.text.sub";
20606             clip_to: "disclip";
20607             type:           TEXT;
20608             mouse_events:   0;
20609             scale: 1;
20610             description {
20611                state: "default" 0.0;
20612 //               min: 16 16;
20613                rel1 {
20614                   to_x:     "elm.swallow.icon";
20615                   relative: 1.0  0.5;
20616                   offset:   0 4;
20617                }
20618                rel2 {
20619                   to_x:     "elm.swallow.end";
20620                   relative: 0.0  1.0;
20621                   offset:   -1 -5;
20622                }
20623                color: 0 0 0 128;
20624                color3: 0 0 0 0;
20625                text {
20626                   font: "Sans";
20627                   size: 8;
20628 //                  min: 1 1;
20629                   min: 0 1;
20630                   align: 0.0 0.5;
20631                   text_class: "list_item";
20632                }
20633             }
20634             description { state: "selected" 0.0;
20635                inherit: "default" 0.0;
20636                color: 128 128 128 255;
20637                color3: 0 0 0 32;
20638             }
20639          }
20640          part { name: "fg1";
20641             clip_to: "disclip";
20642             mouse_events: 0;
20643             description { state: "default" 0.0;
20644                visible: 0;
20645                color: 255 255 255 0;
20646                rel1.to: "bg";
20647                rel2.relative: 1.0 0.5;
20648                rel2.to: "bg";
20649                image {
20650                   normal: "bt_sm_hilight.png";
20651                   border: 6 6 6 0;
20652                }
20653             }
20654             description { state: "selected" 0.0;
20655                inherit: "default" 0.0;
20656                visible: 1;
20657                color: 255 255 255 255;
20658             }
20659          }
20660          part { name: "fg2";
20661             clip_to: "disclip";
20662             mouse_events: 0;
20663             description { state: "default" 0.0;
20664                visible: 0;
20665                color: 255 255 255 0;
20666                rel1.to: "bg";
20667                rel2.to: "bg";
20668                image {
20669                   normal: "bt_sm_shine.png";
20670                   border: 6 6 6 0;
20671                }
20672             }
20673             description { state: "selected" 0.0;
20674                inherit: "default" 0.0;
20675                visible: 1;
20676                color: 255 255 255 255;
20677             }
20678          }
20679          part { name: "disclip";
20680             type: RECT;
20681             description { state: "default" 0.0;
20682                rel1.to: "bg";
20683                rel2.to: "bg";
20684             }
20685             description { state: "disabled" 0.0;
20686                inherit: "default" 0.0;
20687                color: 255 255 255 64;
20688             }
20689          }
20690       }
20691       programs {
20692          // signal: elm,state,%s,active
20693          //   a "check" item named %s went active
20694          // signal: elm,state,%s,passive
20695          //   a "check" item named %s went passive
20696          // default is passive
20697          program {
20698             name:    "go_active";
20699             signal:  "elm,state,selected";
20700             source:  "elm";
20701             action:  STATE_SET "selected" 0.0;
20702             target:  "bg";
20703             target:  "fg1";
20704             target:  "fg2";
20705             target:  "elm.text";
20706             target:  "elm.text.sub";
20707          }
20708          program {
20709             name:    "go_passive";
20710             signal:  "elm,state,unselected";
20711             source:  "elm";
20712             action:  STATE_SET "default" 0.0;
20713             target:  "bg";
20714             target:  "fg1";
20715             target:  "fg2";
20716             target:  "elm.text";
20717             target:  "elm.text.sub";
20718             transition: LINEAR 0.1;
20719          }
20720          program {
20721             name:    "go_disabled";
20722             signal:  "elm,state,disabled";
20723             source:  "elm";
20724             action:  STATE_SET "disabled" 0.0;
20725             target:  "disclip";
20726          }
20727          program {
20728             name:    "go_enabled";
20729             signal:  "elm,state,enabled";
20730             source:  "elm";
20731             action:  STATE_SET "default" 0.0;
20732             target:  "disclip";
20733          }
20734       }
20735    }
20736    group { name: "elm/genlist/item_odd/double_label/default";
20737       data.item: "stacking" "below";
20738       data.item: "selectraise" "on";
20739       data.item: "labels" "elm.text elm.text.sub";
20740       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20741       data.item: "treesize" "20";
20742 //      data.item: "states" "";
20743       images {
20744          image: "bt_sm_base1.png" COMP;
20745          image: "bt_sm_shine.png" COMP;
20746          image: "bt_sm_hilight.png" COMP;
20747          image: "ilist_2.png" COMP;
20748       }
20749       parts {
20750          part { name: "event";
20751             type: RECT;
20752             repeat_events: 1;
20753             description {
20754                state: "default" 0.0;
20755                color: 0 0 0 0;
20756             }
20757          }
20758          part {
20759             name: "base";
20760             mouse_events: 0;
20761             description {
20762                state: "default" 0.0;
20763                image {
20764                   normal: "ilist_2.png";
20765                   border: 2 2 2 2;
20766                }
20767                fill.smooth: 0;
20768             }
20769          }
20770          part { name: "bg";
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 {
20777                   relative: 0.0 0.0;
20778                   offset: -5 -5;
20779                }
20780                rel2 {
20781                   relative: 1.0 1.0;
20782                   offset: 4 4;
20783                }
20784                image {
20785                   normal: "bt_sm_base1.png";
20786                   border: 6 6 6 6;
20787                }
20788                image.middle: SOLID;
20789             }
20790             description { state: "selected" 0.0;
20791                inherit: "default" 0.0;
20792                visible: 1;
20793                color: 255 255 255 255;
20794                rel1 {
20795                   relative: 0.0 0.0;
20796                   offset: -2 -2;
20797                }
20798                rel2 {
20799                   relative: 1.0 1.0;
20800                   offset: 1 1;
20801                }
20802             }
20803          }
20804          part { name: "elm.swallow.pad";
20805             type: SWALLOW;
20806             description { state: "default" 0.0;
20807                fixed: 1 0;
20808                align: 0.0 0.5;
20809                rel1 {
20810                   relative: 0.0  0.0;
20811                   offset:   4    4;
20812                }
20813                rel2 {
20814                   relative: 0.0  1.0;
20815                   offset:   4   -5;
20816                }
20817             }
20818          }
20819          part { name: "elm.swallow.icon";
20820             clip_to: "disclip";
20821             type: SWALLOW;
20822             description { state: "default" 0.0;
20823                fixed: 1 0;
20824                align: 0.0 0.5;
20825                rel1 {
20826                   to_x: "elm.swallow.pad";
20827                   relative: 1.0  0.0;
20828                   offset:   -1    4;
20829                }
20830                rel2 {
20831                   to_x: "elm.swallow.pad";
20832                   relative: 1.0  1.0;
20833                   offset:   -1   -5;
20834                }
20835             }
20836          }
20837          part { name: "elm.swallow.end";
20838             clip_to: "disclip";
20839             type:          SWALLOW;
20840             description { state:    "default" 0.0;
20841                fixed: 1 0;
20842                align:    1.0 0.5;
20843                aspect: 1.0 1.0;
20844                aspect_preference: VERTICAL;
20845                rel1 {
20846                   relative: 1.0  0.0;
20847                   offset:   -5    4;
20848                }
20849                rel2 {
20850                   relative: 1.0  1.0;
20851                   offset:   -5   -5;
20852                }
20853             }
20854          }
20855          part { name: "elm.text";
20856             clip_to: "disclip";
20857             type:           TEXT;
20858             effect:         SOFT_SHADOW;
20859             mouse_events:   0;
20860             scale: 1;
20861             description {
20862                state: "default" 0.0;
20863 //               min: 16 16;
20864                rel1 {
20865                   to_x:     "elm.swallow.icon";
20866                   relative: 1.0  0.0;
20867                   offset:   0 4;
20868                }
20869                rel2 {
20870                   to_x:     "elm.swallow.end";
20871                   relative: 0.0  0.5;
20872                   offset:   -1 -5;
20873                }
20874                color: 0 0 0 255;
20875                color3: 0 0 0 0;
20876                text {
20877                   font: "Sans";
20878                   size: 10;
20879                   min: 1 1;
20880 //                  min: 0 1;
20881                   align: 0.0 0.5;
20882                   text_class: "list_item";
20883                }
20884             }
20885             description { state: "selected" 0.0;
20886                inherit: "default" 0.0;
20887                color: 224 224 224 255;
20888                color3: 0 0 0 64;
20889             }
20890          }
20891          part { name: "elm.text.sub";
20892             clip_to: "disclip";
20893             type:           TEXT;
20894             mouse_events:   0;
20895             scale: 1;
20896             description {
20897                state: "default" 0.0;
20898 //               min: 16 16;
20899                rel1 {
20900                   to_x:     "elm.swallow.icon";
20901                   relative: 1.0  0.5;
20902                   offset:   0 4;
20903                }
20904                rel2 {
20905                   to_x:     "elm.swallow.end";
20906                   relative: 0.0  1.0;
20907                   offset:   -1 -5;
20908                }
20909                color: 0 0 0 128;
20910                color3: 0 0 0 0;
20911                text {
20912                   font: "Sans";
20913                   size: 8;
20914                   min: 1 1;
20915 //                  min: 0 1;
20916                   align: 0.0 0.5;
20917                   text_class: "list_item";
20918                }
20919             }
20920             description { state: "selected" 0.0;
20921                inherit: "default" 0.0;
20922                color: 128 128 128 255;
20923                color3: 0 0 0 32;
20924             }
20925          }
20926          part { name: "fg1";
20927             clip_to: "disclip";
20928             mouse_events: 0;
20929             description { state: "default" 0.0;
20930                visible: 0;
20931                color: 255 255 255 0;
20932                rel1.to: "bg";
20933                rel2.relative: 1.0 0.5;
20934                rel2.to: "bg";
20935                image {
20936                   normal: "bt_sm_hilight.png";
20937                   border: 6 6 6 0;
20938                }
20939             }
20940             description { state: "selected" 0.0;
20941                inherit: "default" 0.0;
20942                visible: 1;
20943                color: 255 255 255 255;
20944             }
20945          }
20946          part { name: "fg2";
20947             clip_to: "disclip";
20948             mouse_events: 0;
20949             description { state: "default" 0.0;
20950                visible: 0;
20951                color: 255 255 255 0;
20952                rel1.to: "bg";
20953                rel2.to: "bg";
20954                image {
20955                   normal: "bt_sm_shine.png";
20956                   border: 6 6 6 0;
20957                }
20958             }
20959             description { state: "selected" 0.0;
20960                inherit: "default" 0.0;
20961                visible: 1;
20962                color: 255 255 255 255;
20963             }
20964          }
20965          part { name: "disclip";
20966             type: RECT;
20967             description { state: "default" 0.0;
20968                rel1.to: "bg";
20969                rel2.to: "bg";
20970             }
20971             description { state: "disabled" 0.0;
20972                inherit: "default" 0.0;
20973                color: 255 255 255 64;
20974             }
20975          }
20976       }
20977       programs {
20978          // signal: elm,state,%s,active
20979          //   a "check" item named %s went active
20980          // signal: elm,state,%s,passive
20981          //   a "check" item named %s went passive
20982          // default is passive
20983          program {
20984             name:    "go_active";
20985             signal:  "elm,state,selected";
20986             source:  "elm";
20987             action:  STATE_SET "selected" 0.0;
20988             target:  "bg";
20989             target:  "fg1";
20990             target:  "fg2";
20991             target:  "elm.text";
20992             target:  "elm.text.sub";
20993          }
20994          program {
20995             name:    "go_passive";
20996             signal:  "elm,state,unselected";
20997             source:  "elm";
20998             action:  STATE_SET "default" 0.0;
20999             target:  "bg";
21000             target:  "fg1";
21001             target:  "fg2";
21002             target:  "elm.text";
21003             target:  "elm.text.sub";
21004             transition: LINEAR 0.1;
21005          }
21006          program {
21007             name:    "go_disabled";
21008             signal:  "elm,state,disabled";
21009             source:  "elm";
21010             action:  STATE_SET "disabled" 0.0;
21011             target:  "disclip";
21012          }
21013          program {
21014             name:    "go_enabled";
21015             signal:  "elm,state,enabled";
21016             source:  "elm";
21017             action:  STATE_SET "default" 0.0;
21018             target:  "disclip";
21019          }
21020       }
21021    }
21022    group { name: "elm/genlist/item_compress_odd/double_label/default";
21023       data.item: "stacking" "below";
21024       data.item: "selectraise" "on";
21025       data.item: "labels" "elm.text elm.text.sub";
21026       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21027       data.item: "treesize" "20";
21028 //      data.item: "states" "";
21029       images {
21030          image: "bt_sm_base1.png" COMP;
21031          image: "bt_sm_shine.png" COMP;
21032          image: "bt_sm_hilight.png" COMP;
21033          image: "ilist_2.png" COMP;
21034       }
21035       parts {
21036          part { name: "event";
21037             type: RECT;
21038             repeat_events: 1;
21039             description {
21040                state: "default" 0.0;
21041                color: 0 0 0 0;
21042             }
21043          }
21044          part {
21045             name: "base";
21046             mouse_events: 0;
21047             description {
21048                state: "default" 0.0;
21049                image {
21050                   normal: "ilist_2.png";
21051                   border: 2 2 2 2;
21052                }
21053                fill.smooth: 0;
21054             }
21055          }
21056          part { name: "bg";
21057             clip_to: "disclip";
21058             mouse_events: 0;
21059             description { state: "default" 0.0;
21060                visible: 0;
21061                color: 255 255 255 0;
21062                rel1 {
21063                   relative: 0.0 0.0;
21064                   offset: -5 -5;
21065                }
21066                rel2 {
21067                   relative: 1.0 1.0;
21068                   offset: 4 4;
21069                }
21070                image {
21071                   normal: "bt_sm_base1.png";
21072                   border: 6 6 6 6;
21073                }
21074                image.middle: SOLID;
21075             }
21076             description { state: "selected" 0.0;
21077                inherit: "default" 0.0;
21078                visible: 1;
21079                color: 255 255 255 255;
21080                rel1 {
21081                   relative: 0.0 0.0;
21082                   offset: -2 -2;
21083                }
21084                rel2 {
21085                   relative: 1.0 1.0;
21086                   offset: 1 1;
21087                }
21088             }
21089          }
21090          part { name: "elm.swallow.pad";
21091             type: SWALLOW;
21092             description { state: "default" 0.0;
21093                fixed: 1 0;
21094                align: 0.0 0.5;
21095                rel1 {
21096                   relative: 0.0  0.0;
21097                   offset:   4    4;
21098                }
21099                rel2 {
21100                   relative: 0.0  1.0;
21101                   offset:   4   -5;
21102                }
21103             }
21104          }
21105          part { name: "elm.swallow.icon";
21106             clip_to: "disclip";
21107             type: SWALLOW;
21108             description { state: "default" 0.0;
21109                fixed: 1 0;
21110                align: 0.0 0.5;
21111                rel1 {
21112                   to_x: "elm.swallow.pad";
21113                   relative: 1.0  0.0;
21114                   offset:   -1    4;
21115                }
21116                rel2 {
21117                   to_x: "elm.swallow.pad";
21118                   relative: 1.0  1.0;
21119                   offset:   -1   -5;
21120                }
21121             }
21122          }
21123          part { name: "elm.swallow.end";
21124             clip_to: "disclip";
21125             type:          SWALLOW;
21126             description { state:    "default" 0.0;
21127                fixed: 1 0;
21128                align:    1.0 0.5;
21129                aspect: 1.0 1.0;
21130                aspect_preference: VERTICAL;
21131                rel1 {
21132                   relative: 1.0  0.0;
21133                   offset:   -5    4;
21134                }
21135                rel2 {
21136                   relative: 1.0  1.0;
21137                   offset:   -5   -5;
21138                }
21139             }
21140          }
21141          part { name: "elm.text";
21142             clip_to: "disclip";
21143             type:           TEXT;
21144             effect:         SOFT_SHADOW;
21145             mouse_events:   0;
21146             scale: 1;
21147             description {
21148                state: "default" 0.0;
21149 //               min: 16 16;
21150                rel1 {
21151                   to_x:     "elm.swallow.icon";
21152                   relative: 1.0  0.0;
21153                   offset:   0 4;
21154                }
21155                rel2 {
21156                   to_x:     "elm.swallow.end";
21157                   relative: 0.0  0.5;
21158                   offset:   -1 -5;
21159                }
21160                color: 0 0 0 255;
21161                color3: 0 0 0 0;
21162                text {
21163                   font: "Sans";
21164                   size: 10;
21165 //                  min: 1 1;
21166                   min: 0 1;
21167                   align: 0.0 0.5;
21168                   text_class: "list_item";
21169                }
21170             }
21171             description { state: "selected" 0.0;
21172                inherit: "default" 0.0;
21173                color: 224 224 224 255;
21174                color3: 0 0 0 64;
21175             }
21176          }
21177          part { name: "elm.text.sub";
21178             clip_to: "disclip";
21179             type:           TEXT;
21180             mouse_events:   0;
21181             scale: 1;
21182             description {
21183                state: "default" 0.0;
21184 //               min: 16 16;
21185                rel1 {
21186                   to_x:     "elm.swallow.icon";
21187                   relative: 1.0  0.5;
21188                   offset:   0 4;
21189                }
21190                rel2 {
21191                   to_x:     "elm.swallow.end";
21192                   relative: 0.0  1.0;
21193                   offset:   -1 -5;
21194                }
21195                color: 0 0 0 128;
21196                color3: 0 0 0 0;
21197                text {
21198                   font: "Sans";
21199                   size: 8;
21200 //                  min: 1 1;
21201                   min: 0 1;
21202                   align: 0.0 0.5;
21203                   text_class: "list_item";
21204                }
21205             }
21206             description { state: "selected" 0.0;
21207                inherit: "default" 0.0;
21208                color: 128 128 128 255;
21209                color3: 0 0 0 32;
21210             }
21211          }
21212          part { name: "fg1";
21213             clip_to: "disclip";
21214             mouse_events: 0;
21215             description { state: "default" 0.0;
21216                visible: 0;
21217                color: 255 255 255 0;
21218                rel1.to: "bg";
21219                rel2.relative: 1.0 0.5;
21220                rel2.to: "bg";
21221                image {
21222                   normal: "bt_sm_hilight.png";
21223                   border: 6 6 6 0;
21224                }
21225             }
21226             description { state: "selected" 0.0;
21227                inherit: "default" 0.0;
21228                visible: 1;
21229                color: 255 255 255 255;
21230             }
21231          }
21232          part { name: "fg2";
21233             clip_to: "disclip";
21234             mouse_events: 0;
21235             description { state: "default" 0.0;
21236                visible: 0;
21237                color: 255 255 255 0;
21238                rel1.to: "bg";
21239                rel2.to: "bg";
21240                image {
21241                   normal: "bt_sm_shine.png";
21242                   border: 6 6 6 0;
21243                }
21244             }
21245             description { state: "selected" 0.0;
21246                inherit: "default" 0.0;
21247                visible: 1;
21248                color: 255 255 255 255;
21249             }
21250          }
21251          part { name: "disclip";
21252             type: RECT;
21253             description { state: "default" 0.0;
21254                rel1.to: "bg";
21255                rel2.to: "bg";
21256             }
21257             description { state: "disabled" 0.0;
21258                inherit: "default" 0.0;
21259                color: 255 255 255 64;
21260             }
21261          }
21262       }
21263       programs {
21264          // signal: elm,state,%s,active
21265          //   a "check" item named %s went active
21266          // signal: elm,state,%s,passive
21267          //   a "check" item named %s went passive
21268          // default is passive
21269          program {
21270             name:    "go_active";
21271             signal:  "elm,state,selected";
21272             source:  "elm";
21273             action:  STATE_SET "selected" 0.0;
21274             target:  "bg";
21275             target:  "fg1";
21276             target:  "fg2";
21277             target:  "elm.text";
21278             target:  "elm.text.sub";
21279          }
21280          program {
21281             name:    "go_passive";
21282             signal:  "elm,state,unselected";
21283             source:  "elm";
21284             action:  STATE_SET "default" 0.0;
21285             target:  "bg";
21286             target:  "fg1";
21287             target:  "fg2";
21288             target:  "elm.text";
21289             target:  "elm.text.sub";
21290             transition: LINEAR 0.1;
21291          }
21292          program {
21293             name:    "go_disabled";
21294             signal:  "elm,state,disabled";
21295             source:  "elm";
21296             action:  STATE_SET "disabled" 0.0;
21297             target:  "disclip";
21298          }
21299          program {
21300             name:    "go_enabled";
21301             signal:  "elm,state,enabled";
21302             source:  "elm";
21303             action:  STATE_SET "default" 0.0;
21304             target:  "disclip";
21305          }
21306       }
21307    }
21308
21309    group { name: "elm/genlist/tree/double_label/default";
21310       data.item: "stacking" "above";
21311       data.item: "selectraise" "on";
21312       data.item: "labels" "elm.text elm.text.sub";
21313       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21314       data.item: "treesize" "20";
21315 //      data.item: "states" "";
21316       images {
21317          image: "bt_sm_base1.png" COMP;
21318          image: "bt_sm_shine.png" COMP;
21319          image: "bt_sm_hilight.png" COMP;
21320          image: "ilist_1.png" COMP;
21321          image: "ilist_item_shadow.png" COMP;
21322          image: "icon_arrow_right.png" COMP;
21323          image: "icon_arrow_down.png" COMP;
21324       }
21325       parts {
21326          part {
21327             name:           "event";
21328             type:           RECT;
21329             repeat_events: 1;
21330             description {
21331                state: "default" 0.0;
21332                color: 0 0 0 0;
21333             }
21334          }
21335          part {
21336             name: "base_sh";
21337             mouse_events: 0;
21338             description {
21339                state: "default" 0.0;
21340                align: 0.0 0.0;
21341                min: 0 10;
21342                fixed: 1 1;
21343                rel1 {
21344                   to: "base";
21345                   relative: 0.0 1.0;
21346                   offset: 0 0;
21347                }
21348                rel2 {
21349                   to: "base";
21350                   relative: 1.0 1.0;
21351                   offset: -1 0;
21352                }
21353                image {
21354                   normal: "ilist_item_shadow.png";
21355                }
21356                fill.smooth: 0;
21357             }
21358          }
21359          part {
21360             name: "base";
21361             mouse_events: 0;
21362             description {
21363                state: "default" 0.0;
21364                image {
21365                   normal: "ilist_1.png";
21366                   border: 2 2 2 2;
21367                }
21368                fill.smooth: 0;
21369             }
21370          }
21371          part { name: "bg";
21372             clip_to: "disclip";
21373             mouse_events: 0;
21374             description { state: "default" 0.0;
21375                visible: 0;
21376                color: 255 255 255 0;
21377                rel1 {
21378                   relative: 0.0 0.0;
21379                   offset: -5 -5;
21380                }
21381                rel2 {
21382                   relative: 1.0 1.0;
21383                   offset: 4 4;
21384                }
21385                image {
21386                   normal: "bt_sm_base1.png";
21387                   border: 6 6 6 6;
21388                }
21389                image.middle: SOLID;
21390             }
21391             description { state: "selected" 0.0;
21392                inherit: "default" 0.0;
21393                visible: 1;
21394                color: 255 255 255 255;
21395                rel1 {
21396                   relative: 0.0 0.0;
21397                   offset: -2 -2;
21398                }
21399                rel2 {
21400                   relative: 1.0 1.0;
21401                   offset: 1 1;
21402                }
21403             }
21404          }
21405          part { name: "elm.swallow.pad";
21406             type: SWALLOW;
21407             description { state: "default" 0.0;
21408                fixed: 1 0;
21409                align: 0.0 0.5;
21410                rel1 {
21411                   relative: 0.0  0.0;
21412                   offset:   4    4;
21413                }
21414                rel2 {
21415                   relative: 0.0  1.0;
21416                   offset:   4   -5;
21417                }
21418             }
21419          }
21420          part { name: "arrow";
21421             clip_to: "disclip";
21422             ignore_flags: ON_HOLD;
21423             description { state: "default" 0.0;
21424                fixed: 1 0;
21425                align: 0.0 0.5;
21426                aspect: 1.0 1.0;
21427                rel1 {
21428                   to_x: "elm.swallow.pad";
21429                   relative: 1.0  0.0;
21430                   offset:   -1    4;
21431                }
21432                rel2 {
21433                   to_x: "elm.swallow.pad";
21434                   relative: 1.0  1.0;
21435                   offset:   -1   -5;
21436                }
21437                image.normal: "icon_arrow_right.png";
21438             }
21439             description { state: "active" 0.0;
21440                inherit: "default" 0.0;
21441                image.normal: "icon_arrow_down.png";
21442             }
21443          }
21444          part { name: "elm.swallow.icon";
21445             clip_to: "disclip";
21446             type: SWALLOW;
21447             description { state: "default" 0.0;
21448                fixed: 1 0;
21449                align: 0.0 0.5;
21450                rel1 {
21451                   to_x: "arrow";
21452                   relative: 1.0  0.0;
21453                   offset:   4    4;
21454                }
21455                rel2 {
21456                   to_x: "arrow";
21457                   relative: 1.0  1.0;
21458                   offset:   4   -5;
21459                }
21460             }
21461          }
21462          part { name: "elm.swallow.end";
21463             clip_to: "disclip";
21464             type: SWALLOW;
21465             description { state: "default" 0.0;
21466                fixed: 1 0;
21467                align: 1.0 0.5;
21468                aspect: 1.0 1.0;
21469                aspect_preference: VERTICAL;
21470                rel1 {
21471                   relative: 1.0  0.0;
21472                   offset:   -5    4;
21473                }
21474                rel2 {
21475                   relative: 1.0  1.0;
21476                   offset:   -5   -5;
21477                }
21478             }
21479          }
21480          part { name: "elm.text";
21481             clip_to: "disclip";
21482             type:           TEXT;
21483             effect:         SOFT_SHADOW;
21484             mouse_events:   0;
21485             scale: 1;
21486             description {
21487                state: "default" 0.0;
21488 //               min: 16 16;
21489                rel1 {
21490                   to_x:     "elm.swallow.icon";
21491                   relative: 1.0  0.0;
21492                   offset:   0 4;
21493                }
21494                rel2 {
21495                   to_x:     "elm.swallow.end";
21496                   relative: 0.0  0.5;
21497                   offset:   -1 -5;
21498                }
21499                color: 0 0 0 255;
21500                color3: 0 0 0 0;
21501                text {
21502                   font: "Sans";
21503                   size: 10;
21504                   min: 1 1;
21505 //                  min: 0 1;
21506                   align: 0.0 0.5;
21507                   text_class: "list_item";
21508                }
21509             }
21510             description { state: "selected" 0.0;
21511                inherit: "default" 0.0;
21512                color: 224 224 224 255;
21513                color3: 0 0 0 64;
21514             }
21515          }
21516          part { name: "elm.text.sub";
21517             clip_to: "disclip";
21518             type:           TEXT;
21519             mouse_events:   0;
21520             scale: 1;
21521             description {
21522                state: "default" 0.0;
21523 //               min: 16 16;
21524                rel1 {
21525                   to_x:     "elm.swallow.icon";
21526                   relative: 1.0  0.5;
21527                   offset:   0 4;
21528                }
21529                rel2 {
21530                   to_x:     "elm.swallow.end";
21531                   relative: 0.0  1.0;
21532                   offset:   -1 -5;
21533                }
21534                color: 0 0 0 128;
21535                color3: 0 0 0 0;
21536                text {
21537                   font: "Sans";
21538                   size: 8;
21539                   min: 1 1;
21540 //                  min: 0 1;
21541                   align: 0.0 0.5;
21542                   text_class: "list_item";
21543                }
21544             }
21545             description { state: "selected" 0.0;
21546                inherit: "default" 0.0;
21547                color: 128 128 128 255;
21548                color3: 0 0 0 32;
21549             }
21550          }
21551          part { name: "fg1";
21552             clip_to: "disclip";
21553             mouse_events: 0;
21554             description { state: "default" 0.0;
21555                visible: 0;
21556                color: 255 255 255 0;
21557                rel1.to: "bg";
21558                rel2.relative: 1.0 0.5;
21559                rel2.to: "bg";
21560                image {
21561                   normal: "bt_sm_hilight.png";
21562                   border: 6 6 6 0;
21563                }
21564             }
21565             description { state: "selected" 0.0;
21566                inherit: "default" 0.0;
21567                visible: 1;
21568                color: 255 255 255 255;
21569             }
21570          }
21571          part { name: "fg2";
21572             clip_to: "disclip";
21573             mouse_events: 0;
21574             description { state: "default" 0.0;
21575                visible: 0;
21576                color: 255 255 255 0;
21577                rel1.to: "bg";
21578                rel2.to: "bg";
21579                image {
21580                   normal: "bt_sm_shine.png";
21581                   border: 6 6 6 0;
21582                }
21583             }
21584             description { state: "selected" 0.0;
21585                inherit: "default" 0.0;
21586                visible: 1;
21587                color: 255 255 255 255;
21588             }
21589          }
21590          part { name: "disclip";
21591             type: RECT;
21592             description { state: "default" 0.0;
21593                rel1.to: "bg";
21594                rel2.to: "bg";
21595             }
21596             description { state: "disabled" 0.0;
21597                inherit: "default" 0.0;
21598                color: 255 255 255 64;
21599             }
21600          }
21601       }
21602       programs {
21603          // signal: elm,state,%s,active
21604          //   a "check" item named %s went active
21605          // signal: elm,state,%s,passive
21606          //   a "check" item named %s went passive
21607          // default is passive
21608          program {
21609             name:    "go_active";
21610             signal:  "elm,state,selected";
21611             source:  "elm";
21612             action:  STATE_SET "selected" 0.0;
21613             target:  "bg";
21614             target:  "fg1";
21615             target:  "fg2";
21616             target:  "elm.text";
21617             target:  "elm.text.sub";
21618          }
21619          program {
21620             name:    "go_passive";
21621             signal:  "elm,state,unselected";
21622             source:  "elm";
21623             action:  STATE_SET "default" 0.0;
21624             target:  "bg";
21625             target:  "fg1";
21626             target:  "fg2";
21627             target:  "elm.text";
21628             target:  "elm.text.sub";
21629             transition: LINEAR 0.1;
21630          }
21631          program {
21632             name:    "go_disabled";
21633             signal:  "elm,state,disabled";
21634             source:  "elm";
21635             action:  STATE_SET "disabled" 0.0;
21636             target:  "disclip";
21637          }
21638          program {
21639             name:    "go_enabled";
21640             signal:  "elm,state,enabled";
21641             source:  "elm";
21642             action:  STATE_SET "default" 0.0;
21643             target:  "disclip";
21644          }
21645          program {
21646             name:    "expand";
21647             signal:  "mouse,up,1";
21648             source:  "arrow";
21649             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21650          }
21651          program {
21652             name:    "go_expanded";
21653             signal:  "elm,state,expanded";
21654             source:  "elm";
21655             action:  STATE_SET "active" 0.0;
21656             target:  "arrow";
21657          }
21658          program {
21659             name:    "go_contracted";
21660             signal:  "elm,state,contracted";
21661             source:  "elm";
21662             action:  STATE_SET "default" 0.0;
21663             target:  "arrow";
21664          }
21665       }
21666    }
21667    group { name: "elm/genlist/tree_compress/double_label/default";
21668       data.item: "stacking" "above";
21669       data.item: "selectraise" "on";
21670       data.item: "labels" "elm.text elm.text.sub";
21671       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21672       data.item: "treesize" "20";
21673 //      data.item: "states" "";
21674       images {
21675          image: "bt_sm_base1.png" COMP;
21676          image: "bt_sm_shine.png" COMP;
21677          image: "bt_sm_hilight.png" COMP;
21678          image: "ilist_1.png" COMP;
21679          image: "ilist_item_shadow.png" COMP;
21680          image: "icon_arrow_right.png" COMP;
21681          image: "icon_arrow_down.png" COMP;
21682       }
21683       parts {
21684          part {
21685             name:           "event";
21686             type:           RECT;
21687             repeat_events: 1;
21688             description {
21689                state: "default" 0.0;
21690                color: 0 0 0 0;
21691             }
21692          }
21693          part {
21694             name: "base_sh";
21695             mouse_events: 0;
21696             description {
21697                state: "default" 0.0;
21698                align: 0.0 0.0;
21699                min: 0 10;
21700                fixed: 1 1;
21701                rel1 {
21702                   to: "base";
21703                   relative: 0.0 1.0;
21704                   offset: 0 0;
21705                }
21706                rel2 {
21707                   to: "base";
21708                   relative: 1.0 1.0;
21709                   offset: -1 0;
21710                }
21711                image {
21712                   normal: "ilist_item_shadow.png";
21713                }
21714                fill.smooth: 0;
21715             }
21716          }
21717          part {
21718             name: "base";
21719             mouse_events: 0;
21720             description {
21721                state: "default" 0.0;
21722                image {
21723                   normal: "ilist_1.png";
21724                   border: 2 2 2 2;
21725                }
21726                fill.smooth: 0;
21727             }
21728          }
21729          part { name: "bg";
21730             clip_to: "disclip";
21731             mouse_events: 0;
21732             description { state: "default" 0.0;
21733                visible: 0;
21734                color: 255 255 255 0;
21735                rel1 {
21736                   relative: 0.0 0.0;
21737                   offset: -5 -5;
21738                }
21739                rel2 {
21740                   relative: 1.0 1.0;
21741                   offset: 4 4;
21742                }
21743                image {
21744                   normal: "bt_sm_base1.png";
21745                   border: 6 6 6 6;
21746                }
21747                image.middle: SOLID;
21748             }
21749             description { state: "selected" 0.0;
21750                inherit: "default" 0.0;
21751                visible: 1;
21752                color: 255 255 255 255;
21753                rel1 {
21754                   relative: 0.0 0.0;
21755                   offset: -2 -2;
21756                }
21757                rel2 {
21758                   relative: 1.0 1.0;
21759                   offset: 1 1;
21760                }
21761             }
21762          }
21763          part { name: "elm.swallow.pad";
21764             type: SWALLOW;
21765             description { state: "default" 0.0;
21766                fixed: 1 0;
21767                align: 0.0 0.5;
21768                rel1 {
21769                   relative: 0.0  0.0;
21770                   offset:   4    4;
21771                }
21772                rel2 {
21773                   relative: 0.0  1.0;
21774                   offset:   4   -5;
21775                }
21776             }
21777          }
21778          part { name: "arrow";
21779             clip_to: "disclip";
21780             ignore_flags: ON_HOLD;
21781             description { state: "default" 0.0;
21782                fixed: 1 0;
21783                align: 0.0 0.5;
21784                aspect: 1.0 1.0;
21785                rel1 {
21786                   to_x: "elm.swallow.pad";
21787                   relative: 1.0  0.0;
21788                   offset:   -1    4;
21789                }
21790                rel2 {
21791                   to_x: "elm.swallow.pad";
21792                   relative: 1.0  1.0;
21793                   offset:   -1   -5;
21794                }
21795                image.normal: "icon_arrow_right.png";
21796             }
21797             description { state: "active" 0.0;
21798                inherit: "default" 0.0;
21799                image.normal: "icon_arrow_down.png";
21800             }
21801          }
21802          part { name: "elm.swallow.icon";
21803             clip_to: "disclip";
21804             type: SWALLOW;
21805             description { state: "default" 0.0;
21806                fixed: 1 0;
21807                align: 0.0 0.5;
21808                rel1 {
21809                   to_x: "arrow";
21810                   relative: 1.0  0.0;
21811                   offset:   4    4;
21812                }
21813                rel2 {
21814                   to_x: "arrow";
21815                   relative: 1.0  1.0;
21816                   offset:   4   -5;
21817                }
21818             }
21819          }
21820          part { name: "elm.swallow.end";
21821             clip_to: "disclip";
21822             type: SWALLOW;
21823             description { state: "default" 0.0;
21824                fixed: 1 0;
21825                align: 1.0 0.5;
21826                aspect: 1.0 1.0;
21827                aspect_preference: VERTICAL;
21828                rel1 {
21829                   relative: 1.0  0.0;
21830                   offset:   -5    4;
21831                }
21832                rel2 {
21833                   relative: 1.0  1.0;
21834                   offset:   -5   -5;
21835                }
21836             }
21837          }
21838          part { name: "elm.text";
21839             clip_to: "disclip";
21840             type:           TEXT;
21841             effect:         SOFT_SHADOW;
21842             mouse_events:   0;
21843             scale: 1;
21844             description {
21845                state: "default" 0.0;
21846 //               min: 16 16;
21847                rel1 {
21848                   to_x:     "elm.swallow.icon";
21849                   relative: 1.0  0.0;
21850                   offset:   0 4;
21851                }
21852                rel2 {
21853                   to_x:     "elm.swallow.end";
21854                   relative: 0.0  0.5;
21855                   offset:   -1 -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.0 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: "elm.text.sub";
21875             clip_to: "disclip";
21876             type:           TEXT;
21877             mouse_events:   0;
21878             scale: 1;
21879             description {
21880                state: "default" 0.0;
21881 //               min: 16 16;
21882                rel1 {
21883                   to_x:     "elm.swallow.icon";
21884                   relative: 1.0  0.5;
21885                   offset:   0 4;
21886                }
21887                rel2 {
21888                   to_x:     "elm.swallow.end";
21889                   relative: 0.0  1.0;
21890                   offset:   -1 -5;
21891                }
21892                color: 0 0 0 128;
21893                color3: 0 0 0 0;
21894                text {
21895                   font: "Sans";
21896                   size: 8;
21897 //                  min: 1 1;
21898                   min: 0 1;
21899                   align: 0.0 0.5;
21900                   text_class: "list_item";
21901                }
21902             }
21903             description { state: "selected" 0.0;
21904                inherit: "default" 0.0;
21905                color: 128 128 128 255;
21906                color3: 0 0 0 32;
21907             }
21908          }
21909          part { name: "fg1";
21910             clip_to: "disclip";
21911             mouse_events: 0;
21912             description { state: "default" 0.0;
21913                visible: 0;
21914                color: 255 255 255 0;
21915                rel1.to: "bg";
21916                rel2.relative: 1.0 0.5;
21917                rel2.to: "bg";
21918                image {
21919                   normal: "bt_sm_hilight.png";
21920                   border: 6 6 6 0;
21921                }
21922             }
21923             description { state: "selected" 0.0;
21924                inherit: "default" 0.0;
21925                visible: 1;
21926                color: 255 255 255 255;
21927             }
21928          }
21929          part { name: "fg2";
21930             clip_to: "disclip";
21931             mouse_events: 0;
21932             description { state: "default" 0.0;
21933                visible: 0;
21934                color: 255 255 255 0;
21935                rel1.to: "bg";
21936                rel2.to: "bg";
21937                image {
21938                   normal: "bt_sm_shine.png";
21939                   border: 6 6 6 0;
21940                }
21941             }
21942             description { state: "selected" 0.0;
21943                inherit: "default" 0.0;
21944                visible: 1;
21945                color: 255 255 255 255;
21946             }
21947          }
21948          part { name: "disclip";
21949             type: RECT;
21950             description { state: "default" 0.0;
21951                rel1.to: "bg";
21952                rel2.to: "bg";
21953             }
21954             description { state: "disabled" 0.0;
21955                inherit: "default" 0.0;
21956                color: 255 255 255 64;
21957             }
21958          }
21959       }
21960       programs {
21961          // signal: elm,state,%s,active
21962          //   a "check" item named %s went active
21963          // signal: elm,state,%s,passive
21964          //   a "check" item named %s went passive
21965          // default is passive
21966          program {
21967             name:    "go_active";
21968             signal:  "elm,state,selected";
21969             source:  "elm";
21970             action:  STATE_SET "selected" 0.0;
21971             target:  "bg";
21972             target:  "fg1";
21973             target:  "fg2";
21974             target:  "elm.text";
21975             target:  "elm.text.sub";
21976          }
21977          program {
21978             name:    "go_passive";
21979             signal:  "elm,state,unselected";
21980             source:  "elm";
21981             action:  STATE_SET "default" 0.0;
21982             target:  "bg";
21983             target:  "fg1";
21984             target:  "fg2";
21985             target:  "elm.text";
21986             target:  "elm.text.sub";
21987             transition: LINEAR 0.1;
21988          }
21989          program {
21990             name:    "go_disabled";
21991             signal:  "elm,state,disabled";
21992             source:  "elm";
21993             action:  STATE_SET "disabled" 0.0;
21994             target:  "disclip";
21995          }
21996          program {
21997             name:    "go_enabled";
21998             signal:  "elm,state,enabled";
21999             source:  "elm";
22000             action:  STATE_SET "default" 0.0;
22001             target:  "disclip";
22002          }
22003          program {
22004             name:    "expand";
22005             signal:  "mouse,up,1";
22006             source:  "arrow";
22007             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22008          }
22009          program {
22010             name:    "go_expanded";
22011             signal:  "elm,state,expanded";
22012             source:  "elm";
22013             action:  STATE_SET "active" 0.0;
22014             target:  "arrow";
22015          }
22016          program {
22017             name:    "go_contracted";
22018             signal:  "elm,state,contracted";
22019             source:  "elm";
22020             action:  STATE_SET "default" 0.0;
22021             target:  "arrow";
22022          }
22023       }
22024    }
22025    group { name: "elm/genlist/tree_odd/double_label/default";
22026       data.item: "stacking" "below";
22027       data.item: "selectraise" "on";
22028       data.item: "labels" "elm.text elm.text.sub";
22029       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22030       data.item: "treesize" "20";
22031 //      data.item: "states" "";
22032       images {
22033          image: "bt_sm_base1.png" COMP;
22034          image: "bt_sm_shine.png" COMP;
22035          image: "bt_sm_hilight.png" COMP;
22036          image: "ilist_2.png" COMP;
22037          image: "icon_arrow_right.png" COMP;
22038          image: "icon_arrow_down.png" COMP;
22039       }
22040       parts {
22041          part {
22042             name:           "event";
22043             type:           RECT;
22044             repeat_events: 1;
22045             description {
22046                state: "default" 0.0;
22047                color: 0 0 0 0;
22048             }
22049          }
22050          part {
22051             name: "base";
22052             mouse_events: 0;
22053             description {
22054                state: "default" 0.0;
22055                image {
22056                   normal: "ilist_2.png";
22057                   border: 2 2 2 2;
22058                }
22059                fill.smooth: 0;
22060             }
22061          }
22062          part { name: "bg";
22063             clip_to: "disclip";
22064             mouse_events: 0;
22065             description { state: "default" 0.0;
22066                visible: 0;
22067                color: 255 255 255 0;
22068                rel1 {
22069                   relative: 0.0 0.0;
22070                   offset: -5 -5;
22071                }
22072                rel2 {
22073                   relative: 1.0 1.0;
22074                   offset: 4 4;
22075                }
22076                image {
22077                   normal: "bt_sm_base1.png";
22078                   border: 6 6 6 6;
22079                }
22080                image.middle: SOLID;
22081             }
22082             description { state: "selected" 0.0;
22083                inherit: "default" 0.0;
22084                visible: 1;
22085                color: 255 255 255 255;
22086                rel1 {
22087                   relative: 0.0 0.0;
22088                   offset: -2 -2;
22089                }
22090                rel2 {
22091                   relative: 1.0 1.0;
22092                   offset: 1 1;
22093                }
22094             }
22095          }
22096          part { name: "elm.swallow.pad";
22097             type: SWALLOW;
22098             description { state: "default" 0.0;
22099                fixed: 1 0;
22100                align: 0.0 0.5;
22101                rel1 {
22102                   relative: 0.0  0.0;
22103                   offset:   4    4;
22104                }
22105                rel2 {
22106                   relative: 0.0  1.0;
22107                   offset:   4   -5;
22108                }
22109             }
22110          }
22111          part { name: "arrow";
22112             clip_to: "disclip";
22113             ignore_flags: ON_HOLD;
22114             description { state: "default" 0.0;
22115                fixed: 1 0;
22116                align: 0.0 0.5;
22117                aspect: 1.0 1.0;
22118                rel1 {
22119                   to_x: "elm.swallow.pad";
22120                   relative: 1.0  0.0;
22121                   offset:   -1    4;
22122                }
22123                rel2 {
22124                   to_x: "elm.swallow.pad";
22125                   relative: 1.0  1.0;
22126                   offset:   -1   -5;
22127                }
22128                image.normal: "icon_arrow_right.png";
22129             }
22130             description { state: "active" 0.0;
22131                inherit: "default" 0.0;
22132                image.normal: "icon_arrow_down.png";
22133             }
22134          }
22135          part { name: "elm.swallow.icon";
22136             clip_to: "disclip";
22137             type: SWALLOW;
22138             description { state: "default" 0.0;
22139                fixed: 1 0;
22140                align: 0.0 0.5;
22141                rel1 {
22142                   to_x: "arrow";
22143                   relative: 1.0  0.0;
22144                   offset:   4    4;
22145                }
22146                rel2 {
22147                   to_x: "arrow";
22148                   relative: 1.0  1.0;
22149                   offset:   4   -5;
22150                }
22151             }
22152          }
22153          part { name: "elm.swallow.end";
22154             clip_to: "disclip";
22155             type: SWALLOW;
22156             description { state: "default" 0.0;
22157                fixed: 1 0;
22158                align: 1.0 0.5;
22159                aspect: 1.0 1.0;
22160                aspect_preference: VERTICAL;
22161                rel1 {
22162                   relative: 1.0  0.0;
22163                   offset:   -5    4;
22164                }
22165                rel2 {
22166                   relative: 1.0  1.0;
22167                   offset:   -5   -5;
22168                }
22169             }
22170          }
22171          part { name: "elm.text";
22172             clip_to: "disclip";
22173             type:           TEXT;
22174             effect:         SOFT_SHADOW;
22175             mouse_events:   0;
22176             scale: 1;
22177             description {
22178                state: "default" 0.0;
22179 //               min: 16 16;
22180                rel1 {
22181                   to_x:     "elm.swallow.icon";
22182                   relative: 1.0  0.0;
22183                   offset:   0 4;
22184                }
22185                rel2 {
22186                   to_x:     "elm.swallow.end";
22187                   relative: 0.0  0.5;
22188                   offset:   -1 -5;
22189                }
22190                color: 0 0 0 255;
22191                color3: 0 0 0 0;
22192                text {
22193                   font: "Sans";
22194                   size: 10;
22195                   min: 1 1;
22196 //                  min: 0 1;
22197                   align: 0.0 0.5;
22198                   text_class: "list_item";
22199                }
22200             }
22201             description { state: "selected" 0.0;
22202                inherit: "default" 0.0;
22203                color: 224 224 224 255;
22204                color3: 0 0 0 64;
22205             }
22206          }
22207          part { name: "elm.text.sub";
22208             clip_to: "disclip";
22209             type:           TEXT;
22210             mouse_events:   0;
22211             scale: 1;
22212             description {
22213                state: "default" 0.0;
22214 //               min: 16 16;
22215                rel1 {
22216                   to_x:     "elm.swallow.icon";
22217                   relative: 1.0  0.5;
22218                   offset:   0 4;
22219                }
22220                rel2 {
22221                   to_x:     "elm.swallow.end";
22222                   relative: 0.0  1.0;
22223                   offset:   -1 -5;
22224                }
22225                color: 0 0 0 128;
22226                color3: 0 0 0 0;
22227                text {
22228                   font: "Sans";
22229                   size: 8;
22230                   min: 1 1;
22231 //                  min: 0 1;
22232                   align: 0.0 0.5;
22233                   text_class: "list_item";
22234                }
22235             }
22236             description { state: "selected" 0.0;
22237                inherit: "default" 0.0;
22238                color: 128 128 128 255;
22239                color3: 0 0 0 32;
22240             }
22241          }
22242          part { name: "fg1";
22243             clip_to: "disclip";
22244             mouse_events: 0;
22245             description { state: "default" 0.0;
22246                visible: 0;
22247                color: 255 255 255 0;
22248                rel1.to: "bg";
22249                rel2.relative: 1.0 0.5;
22250                rel2.to: "bg";
22251                image {
22252                   normal: "bt_sm_hilight.png";
22253                   border: 6 6 6 0;
22254                }
22255             }
22256             description { state: "selected" 0.0;
22257                inherit: "default" 0.0;
22258                visible: 1;
22259                color: 255 255 255 255;
22260             }
22261          }
22262          part { name: "fg2";
22263             clip_to: "disclip";
22264             mouse_events: 0;
22265             description { state: "default" 0.0;
22266                visible: 0;
22267                color: 255 255 255 0;
22268                rel1.to: "bg";
22269                rel2.to: "bg";
22270                image {
22271                   normal: "bt_sm_shine.png";
22272                   border: 6 6 6 0;
22273                }
22274             }
22275             description { state: "selected" 0.0;
22276                inherit: "default" 0.0;
22277                visible: 1;
22278                color: 255 255 255 255;
22279             }
22280          }
22281          part { name: "disclip";
22282             type: RECT;
22283             description { state: "default" 0.0;
22284                rel1.to: "bg";
22285                rel2.to: "bg";
22286             }
22287             description { state: "disabled" 0.0;
22288                inherit: "default" 0.0;
22289                color: 255 255 255 64;
22290             }
22291          }
22292       }
22293       programs {
22294          // signal: elm,state,%s,active
22295          //   a "check" item named %s went active
22296          // signal: elm,state,%s,passive
22297          //   a "check" item named %s went passive
22298          // default is passive
22299          program {
22300             name:    "go_active";
22301             signal:  "elm,state,selected";
22302             source:  "elm";
22303             action:  STATE_SET "selected" 0.0;
22304             target:  "bg";
22305             target:  "fg1";
22306             target:  "fg2";
22307             target:  "elm.text";
22308             target:  "elm.text.sub";
22309          }
22310          program {
22311             name:    "go_passive";
22312             signal:  "elm,state,unselected";
22313             source:  "elm";
22314             action:  STATE_SET "default" 0.0;
22315             target:  "bg";
22316             target:  "fg1";
22317             target:  "fg2";
22318             target:  "elm.text";
22319             target:  "elm.text.sub";
22320             transition: LINEAR 0.1;
22321          }
22322          program {
22323             name:    "go_disabled";
22324             signal:  "elm,state,disabled";
22325             source:  "elm";
22326             action:  STATE_SET "disabled" 0.0;
22327             target:  "disclip";
22328          }
22329          program {
22330             name:    "go_enabled";
22331             signal:  "elm,state,enabled";
22332             source:  "elm";
22333             action:  STATE_SET "default" 0.0;
22334             target:  "disclip";
22335          }
22336          program {
22337             name:    "expand";
22338             signal:  "mouse,up,1";
22339             source:  "arrow";
22340             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22341          }
22342          program {
22343             name:    "go_expanded";
22344             signal:  "elm,state,expanded";
22345             source:  "elm";
22346             action:  STATE_SET "active" 0.0;
22347             target:  "arrow";
22348          }
22349          program {
22350             name:    "go_contracted";
22351             signal:  "elm,state,contracted";
22352             source:  "elm";
22353             action:  STATE_SET "default" 0.0;
22354             target:  "arrow";
22355          }
22356       }
22357    }
22358
22359    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22360       data.item: "stacking" "above";
22361       data.item: "selectraise" "on";
22362       data.item: "labels" "elm.text";
22363       data.item: "icons" "elm.swallow.icon";
22364       data.item: "treesize" "20";
22365 //      data.item: "states" "";
22366       images {
22367          image: "bt_sm_base1.png" COMP;
22368          image: "bt_sm_shine.png" COMP;
22369          image: "bt_sm_hilight.png" COMP;
22370          image: "ilist_1.png" COMP;
22371          image: "ilist_item_shadow.png" COMP;
22372       }
22373       parts {
22374          part {
22375             name:           "event";
22376             type:           RECT;
22377             repeat_events: 1;
22378             description {
22379                state: "default" 0.0;
22380                color: 0 0 0 0;
22381             }
22382          }
22383          part {
22384             name: "base_sh";
22385             mouse_events: 0;
22386             description {
22387                state: "default" 0.0;
22388                align: 0.0 0.0;
22389                min: 0 10;
22390                fixed: 1 1;
22391                rel1 {
22392                   to: "base";
22393                   relative: 0.0 1.0;
22394                   offset: 0 0;
22395                }
22396                rel2 {
22397                   to: "base";
22398                   relative: 1.0 1.0;
22399                   offset: -1 0;
22400                }
22401                image {
22402                   normal: "ilist_item_shadow.png";
22403                }
22404                fill.smooth: 0;
22405             }
22406          }
22407          part {
22408             name: "base";
22409             mouse_events: 0;
22410             description {
22411                state: "default" 0.0;
22412                image {
22413                   normal: "ilist_1.png";
22414                   border: 2 2 2 2;
22415                }
22416                fill.smooth: 0;
22417             }
22418          }
22419          part { name: "bg";
22420             clip_to: "disclip";
22421             mouse_events: 0;
22422             description { state: "default" 0.0;
22423                visible: 0;
22424                color: 255 255 255 0;
22425                rel1 {
22426                   relative: 0.0 0.0;
22427                   offset: -5 -5;
22428                }
22429                rel2 {
22430                   relative: 1.0 1.0;
22431                   offset: 4 4;
22432                }
22433                image {
22434                   normal: "bt_sm_base1.png";
22435                   border: 6 6 6 6;
22436                }
22437                image.middle: SOLID;
22438             }
22439             description { state: "selected" 0.0;
22440                inherit: "default" 0.0;
22441                visible: 1;
22442                color: 255 255 255 255;
22443                rel1 {
22444                   relative: 0.0 0.0;
22445                   offset: -2 -2;
22446                }
22447                rel2 {
22448                   relative: 1.0 1.0;
22449                   offset: 1 1;
22450                }
22451             }
22452          }
22453          part { name: "elm.swallow.pad";
22454             type: SWALLOW;
22455             description { state: "default" 0.0;
22456                fixed: 1 0;
22457                align: 0.0 0.5;
22458                rel1 {
22459                   relative: 0.0  0.0;
22460                   offset:   4    4;
22461                }
22462                rel2 {
22463                   relative: 1.0  1.0;
22464                   offset:   -4   -5;
22465                }
22466             }
22467          }
22468          part { name: "elm.swallow.icon";
22469             clip_to: "disclip";
22470             type: SWALLOW;
22471             description { state: "default" 0.0;
22472                fixed: 1 0;
22473                align: 0.5 0.5;
22474                rel1 {
22475                   to_x: "elm.swallow.pad";
22476                   relative: 0.0  0.0;
22477                   offset:   -1    4;
22478                }
22479                rel2 {
22480                   to_x: "elm.swallow.pad";
22481                   relative: 1.0  1.0;
22482                   offset:   -1   -5;
22483                }
22484             }
22485          }
22486          part { name: "elm.text";
22487             clip_to: "disclip";
22488             type:           TEXT;
22489             effect:         SOFT_SHADOW;
22490             mouse_events:   0;
22491             scale: 1;
22492             description {
22493                state: "default" 0.0;
22494 //               min: 16 16;
22495                rel1 {
22496                   to_y:     "elm.swallow.icon";
22497                   relative: 0.0  1.0;
22498                   offset:   0 4;
22499                }
22500                rel2 {
22501                   relative: 1.0  1.0;
22502                   offset:   -5 -5;
22503                }
22504                color: 0 0 0 255;
22505                color3: 0 0 0 0;
22506                text {
22507                   font: "Sans";
22508                   size: 10;
22509                   min: 1 1;
22510 //                  min: 0 1;
22511                   align: 0.5 0.5;
22512                   text_class: "list_item";
22513                }
22514             }
22515             description { state: "selected" 0.0;
22516                inherit: "default" 0.0;
22517                color: 224 224 224 255;
22518                color3: 0 0 0 64;
22519             }
22520          }
22521          part { name: "fg1";
22522             clip_to: "disclip";
22523             mouse_events: 0;
22524             description { state: "default" 0.0;
22525                visible: 0;
22526                color: 255 255 255 0;
22527                rel1.to: "bg";
22528                rel2.relative: 1.0 0.5;
22529                rel2.to: "bg";
22530                image {
22531                   normal: "bt_sm_hilight.png";
22532                   border: 6 6 6 0;
22533                }
22534             }
22535             description { state: "selected" 0.0;
22536                inherit: "default" 0.0;
22537                visible: 1;
22538                color: 255 255 255 255;
22539             }
22540          }
22541          part { name: "fg2";
22542             clip_to: "disclip";
22543             mouse_events: 0;
22544             description { state: "default" 0.0;
22545                visible: 0;
22546                color: 255 255 255 0;
22547                rel1.to: "bg";
22548                rel2.to: "bg";
22549                image {
22550                   normal: "bt_sm_shine.png";
22551                   border: 6 6 6 0;
22552                }
22553             }
22554             description { state: "selected" 0.0;
22555                inherit: "default" 0.0;
22556                visible: 1;
22557                color: 255 255 255 255;
22558             }
22559          }
22560          part { name: "disclip";
22561             type: RECT;
22562             description { state: "default" 0.0;
22563                rel1.to: "bg";
22564                rel2.to: "bg";
22565             }
22566             description { state: "disabled" 0.0;
22567                inherit: "default" 0.0;
22568                color: 255 255 255 64;
22569             }
22570          }
22571       }
22572       programs {
22573          // signal: elm,state,%s,active
22574          //   a "check" item named %s went active
22575          // signal: elm,state,%s,passive
22576          //   a "check" item named %s went passive
22577          // default is passive
22578          program {
22579             name:    "go_active";
22580             signal:  "elm,state,selected";
22581             source:  "elm";
22582             action:  STATE_SET "selected" 0.0;
22583             target:  "bg";
22584             target:  "fg1";
22585             target:  "fg2";
22586             target:  "elm.text";
22587          }
22588          program {
22589             name:    "go_passive";
22590             signal:  "elm,state,unselected";
22591             source:  "elm";
22592             action:  STATE_SET "default" 0.0;
22593             target:  "bg";
22594             target:  "fg1";
22595             target:  "fg2";
22596             target:  "elm.text";
22597             transition: LINEAR 0.1;
22598          }
22599          program {
22600             name:    "go_disabled";
22601             signal:  "elm,state,disabled";
22602             source:  "elm";
22603             action:  STATE_SET "disabled" 0.0;
22604             target:  "disclip";
22605          }
22606          program {
22607             name:    "go_enabled";
22608             signal:  "elm,state,enabled";
22609             source:  "elm";
22610             action:  STATE_SET "default" 0.0;
22611             target:  "disclip";
22612          }
22613       }
22614    }
22615    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22616       data.item: "stacking" "below";
22617       data.item: "selectraise" "on";
22618       data.item: "labels" "elm.text";
22619       data.item: "icons" "elm.swallow.icon";
22620       data.item: "treesize" "20";
22621 //      data.item: "states" "";
22622       images {
22623          image: "bt_sm_base1.png" COMP;
22624          image: "bt_sm_shine.png" COMP;
22625          image: "bt_sm_hilight.png" COMP;
22626          image: "ilist_2.png" COMP;
22627       }
22628       parts {
22629          part { name: "event";
22630             type: RECT;
22631             repeat_events: 1;
22632             description {
22633                state: "default" 0.0;
22634                color: 0 0 0 0;
22635             }
22636          }
22637          part {
22638             name: "base";
22639             mouse_events: 0;
22640             description {
22641                state: "default" 0.0;
22642                image {
22643                   normal: "ilist_2.png";
22644                   border: 2 2 2 2;
22645                }
22646                fill.smooth: 0;
22647             }
22648          }
22649          part { name: "bg";
22650             clip_to: "disclip";
22651             mouse_events: 0;
22652             description { state: "default" 0.0;
22653                visible: 0;
22654                color: 255 255 255 0;
22655                rel1 {
22656                   relative: 0.0 0.0;
22657                   offset: -5 -5;
22658                }
22659                rel2 {
22660                   relative: 1.0 1.0;
22661                   offset: 4 4;
22662                }
22663                image {
22664                   normal: "bt_sm_base1.png";
22665                   border: 6 6 6 6;
22666                }
22667                image.middle: SOLID;
22668             }
22669             description { state: "selected" 0.0;
22670                inherit: "default" 0.0;
22671                visible: 1;
22672                color: 255 255 255 255;
22673                rel1 {
22674                   relative: 0.0 0.0;
22675                   offset: -2 -2;
22676                }
22677                rel2 {
22678                   relative: 1.0 1.0;
22679                   offset: 1 1;
22680                }
22681             }
22682          }
22683          part { name: "elm.swallow.pad";
22684             type: SWALLOW;
22685             description { state: "default" 0.0;
22686                fixed: 1 0;
22687                align: 0.0 0.5;
22688                rel1 {
22689                   relative: 0.0  0.0;
22690                   offset:   4    4;
22691                }
22692                rel2 {
22693                   relative: 1.0  1.0;
22694                   offset:   -4   -5;
22695                }
22696             }
22697          }
22698          part { name: "elm.swallow.icon";
22699             clip_to: "disclip";
22700             type: SWALLOW;
22701             description { state: "default" 0.0;
22702                fixed: 1 0;
22703                align: 0.5 0.5;
22704                rel1 {
22705                   to_x: "elm.swallow.pad";
22706                   relative: 0.0  0.0;
22707                   offset:   -1    4;
22708                }
22709                rel2 {
22710                   to_x: "elm.swallow.pad";
22711                   relative: 1.0  1.0;
22712                   offset:   -1   -5;
22713                }
22714             }
22715          }
22716          part { name: "elm.text";
22717             clip_to: "disclip";
22718             type:           TEXT;
22719             effect:         SOFT_SHADOW;
22720             mouse_events:   0;
22721             scale: 1;
22722             description {
22723                state: "default" 0.0;
22724 //               min:      16 16;
22725                rel1 {
22726                   to_y:     "elm.swallow.icon";
22727                   relative: 0.0  1.0;
22728                   offset:   0 4;
22729                }
22730                rel2 {
22731                   relative: 1.0  1.0;
22732                   offset:   -5 -5;
22733                }
22734                color: 0 0 0 255;
22735                color3: 0 0 0 0;
22736                text {
22737                   font: "Sans";
22738                   size: 10;
22739                   min: 1 1;
22740 //                  min: 0 1;
22741                   align: 0.5 0.5;
22742                   text_class: "list_item";
22743                }
22744             }
22745             description { state: "selected" 0.0;
22746                inherit: "default" 0.0;
22747                color: 224 224 224 255;
22748                color3: 0 0 0 64;
22749             }
22750          }
22751          part { name: "fg1";
22752             clip_to: "disclip";
22753             mouse_events: 0;
22754             description { state: "default" 0.0;
22755                visible: 0;
22756                color: 255 255 255 0;
22757                rel1.to: "bg";
22758                rel2.relative: 1.0 0.5;
22759                rel2.to: "bg";
22760                image {
22761                   normal: "bt_sm_hilight.png";
22762                   border: 6 6 6 0;
22763                }
22764             }
22765             description { state: "selected" 0.0;
22766                inherit: "default" 0.0;
22767                visible: 1;
22768                color: 255 255 255 255;
22769             }
22770          }
22771          part { name: "fg2";
22772             clip_to: "disclip";
22773             mouse_events: 0;
22774             description { state: "default" 0.0;
22775                visible: 0;
22776                color: 255 255 255 0;
22777                rel1.to: "bg";
22778                rel2.to: "bg";
22779                image {
22780                   normal: "bt_sm_shine.png";
22781                   border: 6 6 6 0;
22782                }
22783             }
22784             description { state: "selected" 0.0;
22785                inherit: "default" 0.0;
22786                visible: 1;
22787                color: 255 255 255 255;
22788             }
22789          }
22790          part { name: "disclip";
22791             type: RECT;
22792             description { state: "default" 0.0;
22793                rel1.to: "bg";
22794                rel2.to: "bg";
22795             }
22796             description { state: "disabled" 0.0;
22797                inherit: "default" 0.0;
22798                color: 255 255 255 64;
22799             }
22800          }
22801       }
22802       programs {
22803          // signal: elm,state,%s,active
22804          //   a "check" item named %s went active
22805          // signal: elm,state,%s,passive
22806          //   a "check" item named %s went passive
22807          // default is passive
22808          program {
22809             name:    "go_active";
22810             signal:  "elm,state,selected";
22811             source:  "elm";
22812             action:  STATE_SET "selected" 0.0;
22813             target:  "bg";
22814             target:  "fg1";
22815             target:  "fg2";
22816             target:  "elm.text";
22817          }
22818          program {
22819             name:    "go_passive";
22820             signal:  "elm,state,unselected";
22821             source:  "elm";
22822             action:  STATE_SET "default" 0.0;
22823             target:  "bg";
22824             target:  "fg1";
22825             target:  "fg2";
22826             target:  "elm.text";
22827             transition: LINEAR 0.1;
22828          }
22829          program {
22830             name:    "go_disabled";
22831             signal:  "elm,state,disabled";
22832             source:  "elm";
22833             action:  STATE_SET "disabled" 0.0;
22834             target:  "disclip";
22835          }
22836          program {
22837             name:    "go_enabled";
22838             signal:  "elm,state,enabled";
22839             source:  "elm";
22840             action:  STATE_SET "default" 0.0;
22841             target:  "disclip";
22842          }
22843       }
22844    }
22845
22846    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22847       data.item: "stacking" "above";
22848       data.item: "selectraise" "on";
22849       data.item: "labels" "elm.text";
22850       data.item: "icons" "elm.swallow.icon";
22851       data.item: "treesize" "20";
22852 //      data.item: "states" "";
22853       images {
22854          image: "bt_sm_base1.png" COMP;
22855          image: "bt_sm_shine.png" COMP;
22856          image: "bt_sm_hilight.png" COMP;
22857          image: "ilist_1.png" COMP;
22858          image: "ilist_item_shadow.png" COMP;
22859          image: "icon_arrow_right.png" COMP;
22860          image: "icon_arrow_down.png" COMP;
22861       }
22862       parts {
22863          part {
22864             name:           "event";
22865             type:           RECT;
22866             repeat_events: 1;
22867             description {
22868                state: "default" 0.0;
22869                color: 0 0 0 0;
22870             }
22871          }
22872          part {
22873             name: "base_sh";
22874             mouse_events: 0;
22875             description {
22876                state: "default" 0.0;
22877                align: 0.0 0.0;
22878                min: 0 10;
22879                fixed: 1 1;
22880                rel1 {
22881                   to: "base";
22882                   relative: 0.0 1.0;
22883                   offset: 0 0;
22884                }
22885                rel2 {
22886                   to: "base";
22887                   relative: 1.0 1.0;
22888                   offset: -1 0;
22889                }
22890                image {
22891                   normal: "ilist_item_shadow.png";
22892                }
22893                fill.smooth: 0;
22894             }
22895          }
22896          part {
22897             name: "base";
22898             mouse_events: 0;
22899             description {
22900                state: "default" 0.0;
22901                image {
22902                   normal: "ilist_1.png";
22903                   border: 2 2 2 2;
22904                }
22905                fill.smooth: 0;
22906             }
22907          }
22908          part { name: "bg";
22909             clip_to: "disclip";
22910             mouse_events: 0;
22911             description { state: "default" 0.0;
22912                visible: 0;
22913                color: 255 255 255 0;
22914                rel1 {
22915                   relative: 0.0 0.0;
22916                   offset: -5 -5;
22917                }
22918                rel2 {
22919                   relative: 1.0 1.0;
22920                   offset: 4 4;
22921                }
22922                image {
22923                   normal: "bt_sm_base1.png";
22924                   border: 6 6 6 6;
22925                }
22926                image.middle: SOLID;
22927             }
22928             description { state: "selected" 0.0;
22929                inherit: "default" 0.0;
22930                visible: 1;
22931                color: 255 255 255 255;
22932                rel1 {
22933                   relative: 0.0 0.0;
22934                   offset: -2 -2;
22935                }
22936                rel2 {
22937                   relative: 1.0 1.0;
22938                   offset: 1 1;
22939                }
22940             }
22941          }
22942          part { name: "elm.swallow.pad";
22943             type: SWALLOW;
22944             description { state: "default" 0.0;
22945                fixed: 1 0;
22946                align: 0.0 0.5;
22947                rel1 {
22948                   relative: 0.0  0.0;
22949                   offset:   4    4;
22950                }
22951                rel2 {
22952                   relative: 0.0  1.0;
22953                   offset:   4   -5;
22954                }
22955             }
22956          }
22957          part { name: "arrow";
22958             clip_to: "disclip";
22959             ignore_flags: ON_HOLD;
22960             description { state: "default" 0.0;
22961                fixed: 1 0;
22962                align: 0.0 0.5;
22963                aspect: 1.0 1.0;
22964                rel1 {
22965                   to_x: "elm.swallow.pad";
22966                   relative: 1.0  0.0;
22967                   offset:   -1    4;
22968                }
22969                rel2 {
22970                   to_x: "elm.swallow.pad";
22971                   relative: 1.0  1.0;
22972                   offset:   -1   -5;
22973                }
22974                image.normal: "icon_arrow_right.png";
22975             }
22976             description { state: "active" 0.0;
22977                inherit: "default" 0.0;
22978                image.normal: "icon_arrow_down.png";
22979             }
22980          }
22981          part { name: "elm.swallow.icon";
22982             clip_to: "disclip";
22983             type: SWALLOW;
22984             description { state: "default" 0.0;
22985                fixed: 1 0;
22986                align: 0.5 0.5;
22987                rel1 {
22988                   to_x: "arrow";
22989                   relative: 1.0  0.0;
22990                   offset:   4    4;
22991                }
22992                rel2 {
22993                   relative: 1.0  1.0;
22994                   offset:   -4   -5;
22995                }
22996             }
22997          }
22998          part { name: "elm.text";
22999             clip_to: "disclip";
23000             type:           TEXT;
23001             effect:         SOFT_SHADOW;
23002             mouse_events:   0;
23003             scale: 1;
23004             description {
23005                state: "default" 0.0;
23006 //               min: 16 16;
23007                rel1 {
23008                   to_y:     "elm.swallow.icon";
23009                   relative: 0.0  1.0;
23010                   offset:   0 4;
23011                }
23012                rel2 {
23013                   relative: 1.0  1.0;
23014                   offset:   -5 -5;
23015                }
23016                color: 0 0 0 255;
23017                color3: 0 0 0 0;
23018                text {
23019                   font: "Sans";
23020                   size: 10;
23021                   min: 1 1;
23022 //                  min: 0 1;
23023                   align: 0.5 0.5;
23024                   text_class: "list_item";
23025                }
23026             }
23027             description { state: "selected" 0.0;
23028                inherit: "default" 0.0;
23029                color: 224 224 224 255;
23030                color3: 0 0 0 64;
23031             }
23032          }
23033          part { name: "fg1";
23034             clip_to: "disclip";
23035             mouse_events: 0;
23036             description { state: "default" 0.0;
23037                visible: 0;
23038                color: 255 255 255 0;
23039                rel1.to: "bg";
23040                rel2.relative: 1.0 0.5;
23041                rel2.to: "bg";
23042                image {
23043                   normal: "bt_sm_hilight.png";
23044                   border: 6 6 6 0;
23045                }
23046             }
23047             description { state: "selected" 0.0;
23048                inherit: "default" 0.0;
23049                visible: 1;
23050                color: 255 255 255 255;
23051             }
23052          }
23053          part { name: "fg2";
23054             clip_to: "disclip";
23055             mouse_events: 0;
23056             description { state: "default" 0.0;
23057                visible: 0;
23058                color: 255 255 255 0;
23059                rel1.to: "bg";
23060                rel2.to: "bg";
23061                image {
23062                   normal: "bt_sm_shine.png";
23063                   border: 6 6 6 0;
23064                }
23065             }
23066             description { state: "selected" 0.0;
23067                inherit: "default" 0.0;
23068                visible: 1;
23069                color: 255 255 255 255;
23070             }
23071          }
23072          part { name: "disclip";
23073             type: RECT;
23074             description { state: "default" 0.0;
23075                rel1.to: "bg";
23076                rel2.to: "bg";
23077             }
23078             description { state: "disabled" 0.0;
23079                inherit: "default" 0.0;
23080                color: 255 255 255 64;
23081             }
23082          }
23083       }
23084       programs {
23085          // signal: elm,state,%s,active
23086          //   a "check" item named %s went active
23087          // signal: elm,state,%s,passive
23088          //   a "check" item named %s went passive
23089          // default is passive
23090          program {
23091             name:    "go_active";
23092             signal:  "elm,state,selected";
23093             source:  "elm";
23094             action:  STATE_SET "selected" 0.0;
23095             target:  "bg";
23096             target:  "fg1";
23097             target:  "fg2";
23098             target:  "elm.text";
23099          }
23100          program {
23101             name:    "go_passive";
23102             signal:  "elm,state,unselected";
23103             source:  "elm";
23104             action:  STATE_SET "default" 0.0;
23105             target:  "bg";
23106             target:  "fg1";
23107             target:  "fg2";
23108             target:  "elm.text";
23109             transition: LINEAR 0.1;
23110          }
23111          program {
23112             name:    "go_disabled";
23113             signal:  "elm,state,disabled";
23114             source:  "elm";
23115             action:  STATE_SET "disabled" 0.0;
23116             target:  "disclip";
23117          }
23118          program {
23119             name:    "go_enabled";
23120             signal:  "elm,state,enabled";
23121             source:  "elm";
23122             action:  STATE_SET "default" 0.0;
23123             target:  "disclip";
23124          }
23125          program {
23126             name:    "expand";
23127             signal:  "mouse,up,1";
23128             source:  "arrow";
23129             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23130          }
23131          program {
23132             name:    "go_expanded";
23133             signal:  "elm,state,expanded";
23134             source:  "elm";
23135             action:  STATE_SET "active" 0.0;
23136             target:  "arrow";
23137          }
23138          program {
23139             name:    "go_contracted";
23140             signal:  "elm,state,contracted";
23141             source:  "elm";
23142             action:  STATE_SET "default" 0.0;
23143             target:  "arrow";
23144          }
23145       }
23146    }
23147    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23148       data.item: "stacking" "below";
23149       data.item: "selectraise" "on";
23150       data.item: "labels" "elm.text";
23151       data.item: "icons" "elm.swallow.icon";
23152       data.item: "treesize" "20";
23153 //      data.item: "states" "";
23154       images {
23155          image: "bt_sm_base1.png" COMP;
23156          image: "bt_sm_shine.png" COMP;
23157          image: "bt_sm_hilight.png" COMP;
23158          image: "ilist_2.png" COMP;
23159          image: "icon_arrow_right.png" COMP;
23160          image: "icon_arrow_down.png" COMP;
23161       }
23162       parts {
23163          part {
23164             name:           "event";
23165             type:           RECT;
23166             repeat_events: 1;
23167             description {
23168                state: "default" 0.0;
23169                color: 0 0 0 0;
23170             }
23171          }
23172          part {
23173             name: "base";
23174             mouse_events: 0;
23175             description {
23176                state: "default" 0.0;
23177                image {
23178                   normal: "ilist_2.png";
23179                   border: 2 2 2 2;
23180                }
23181                fill.smooth: 0;
23182             }
23183          }
23184          part { name: "bg";
23185             clip_to: "disclip";
23186             mouse_events: 0;
23187             description { state: "default" 0.0;
23188                visible: 0;
23189                color: 255 255 255 0;
23190                rel1 {
23191                   relative: 0.0 0.0;
23192                   offset: -5 -5;
23193                }
23194                rel2 {
23195                   relative: 1.0 1.0;
23196                   offset: 4 4;
23197                }
23198                image {
23199                   normal: "bt_sm_base1.png";
23200                   border: 6 6 6 6;
23201                }
23202                image.middle: SOLID;
23203             }
23204             description { state: "selected" 0.0;
23205                inherit: "default" 0.0;
23206                visible: 1;
23207                color: 255 255 255 255;
23208                rel1 {
23209                   relative: 0.0 0.0;
23210                   offset: -2 -2;
23211                }
23212                rel2 {
23213                   relative: 1.0 1.0;
23214                   offset: 1 1;
23215                }
23216             }
23217          }
23218          part { name: "elm.swallow.pad";
23219             type: SWALLOW;
23220             description { state: "default" 0.0;
23221                fixed: 1 0;
23222                align: 0.0 0.5;
23223                rel1 {
23224                   relative: 0.0  0.0;
23225                   offset:   4    4;
23226                }
23227                rel2 {
23228                   relative: 0.0  1.0;
23229                   offset:   4   -5;
23230                }
23231             }
23232          }
23233          part { name: "arrow";
23234             clip_to: "disclip";
23235             ignore_flags: ON_HOLD;
23236             description { state: "default" 0.0;
23237                fixed: 1 0;
23238                align: 0.0 0.5;
23239                aspect: 1.0 1.0;
23240                rel1 {
23241                   to_x: "elm.swallow.pad";
23242                   relative: 1.0  0.0;
23243                   offset:   -1    4;
23244                }
23245                rel2 {
23246                   to_x: "elm.swallow.pad";
23247                   relative: 1.0  1.0;
23248                   offset:   -1   -5;
23249                }
23250                image.normal: "icon_arrow_right.png";
23251             }
23252             description { state: "active" 0.0;
23253                inherit: "default" 0.0;
23254                image.normal: "icon_arrow_down.png";
23255             }
23256          }
23257          part { name: "elm.swallow.icon";
23258             clip_to: "disclip";
23259             type: SWALLOW;
23260             description { state: "default" 0.0;
23261                fixed: 1 0;
23262                align: 0.5 0.5;
23263                rel1 {
23264                   to_x: "arrow";
23265                   relative: 1.0  0.0;
23266                   offset:   4    4;
23267                }
23268                rel2 {
23269                   relative: 1.0  1.0;
23270                   offset:   -4   -5;
23271                }
23272             }
23273          }
23274          part { name: "elm.text";
23275             clip_to: "disclip";
23276             type:           TEXT;
23277             effect:         SOFT_SHADOW;
23278             mouse_events:   0;
23279             scale: 1;
23280             description {
23281                state: "default" 0.0;
23282 //               min: 16 16;
23283                rel1 {
23284                   to_y:     "elm.swallow.icon";
23285                   relative: 0.0  1.0;
23286                   offset:   0 4;
23287                }
23288                rel2 {
23289                   relative: 1.0  1.0;
23290                   offset:   -5 -5;
23291                }
23292                color: 0 0 0 255;
23293                color3: 0 0 0 0;
23294                text {
23295                   font: "Sans";
23296                   size: 10;
23297                   min: 1 1;
23298 //                  min: 0 1;
23299                   align: 0.5 0.5;
23300                   text_class: "list_item";
23301                }
23302             }
23303             description { state: "selected" 0.0;
23304                inherit: "default" 0.0;
23305                color: 224 224 224 255;
23306                color3: 0 0 0 64;
23307             }
23308          }
23309          part { name: "fg1";
23310             clip_to: "disclip";
23311             mouse_events: 0;
23312             description { state: "default" 0.0;
23313                visible: 0;
23314                color: 255 255 255 0;
23315                rel1.to: "bg";
23316                rel2.relative: 1.0 0.5;
23317                rel2.to: "bg";
23318                image {
23319                   normal: "bt_sm_hilight.png";
23320                   border: 6 6 6 0;
23321                }
23322             }
23323             description { state: "selected" 0.0;
23324                inherit: "default" 0.0;
23325                visible: 1;
23326                color: 255 255 255 255;
23327             }
23328          }
23329          part { name: "fg2";
23330             clip_to: "disclip";
23331             mouse_events: 0;
23332             description { state: "default" 0.0;
23333                visible: 0;
23334                color: 255 255 255 0;
23335                rel1.to: "bg";
23336                rel2.to: "bg";
23337                image {
23338                   normal: "bt_sm_shine.png";
23339                   border: 6 6 6 0;
23340                }
23341             }
23342             description { state: "selected" 0.0;
23343                inherit: "default" 0.0;
23344                visible: 1;
23345                color: 255 255 255 255;
23346             }
23347          }
23348          part { name: "disclip";
23349             type: RECT;
23350             description { state: "default" 0.0;
23351                rel1.to: "bg";
23352                rel2.to: "bg";
23353             }
23354             description { state: "disabled" 0.0;
23355                inherit: "default" 0.0;
23356                color: 255 255 255 64;
23357             }
23358          }
23359       }
23360       programs {
23361          // signal: elm,state,%s,active
23362          //   a "check" item named %s went active
23363          // signal: elm,state,%s,passive
23364          //   a "check" item named %s went passive
23365          // default is passive
23366          program {
23367             name:    "go_active";
23368             signal:  "elm,state,selected";
23369             source:  "elm";
23370             action:  STATE_SET "selected" 0.0;
23371             target:  "bg";
23372             target:  "fg1";
23373             target:  "fg2";
23374             target:  "elm.text";
23375          }
23376          program {
23377             name:    "go_passive";
23378             signal:  "elm,state,unselected";
23379             source:  "elm";
23380             action:  STATE_SET "default" 0.0;
23381             target:  "bg";
23382             target:  "fg1";
23383             target:  "fg2";
23384             target:  "elm.text";
23385             transition: LINEAR 0.1;
23386          }
23387          program {
23388             name:    "go_disabled";
23389             signal:  "elm,state,disabled";
23390             source:  "elm";
23391             action:  STATE_SET "disabled" 0.0;
23392             target:  "disclip";
23393          }
23394          program {
23395             name:    "go_enabled";
23396             signal:  "elm,state,enabled";
23397             source:  "elm";
23398             action:  STATE_SET "default" 0.0;
23399             target:  "disclip";
23400          }
23401          program {
23402             name:    "expand";
23403             signal:  "mouse,up,1";
23404             source:  "arrow";
23405             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23406          }
23407          program {
23408             name:    "go_expanded";
23409             signal:  "elm,state,expanded";
23410             source:  "elm";
23411             action:  STATE_SET "active" 0.0;
23412             target:  "arrow";
23413          }
23414          program {
23415             name:    "go_contracted";
23416             signal:  "elm,state,contracted";
23417             source:  "elm";
23418             action:  STATE_SET "default" 0.0;
23419             target:  "arrow";
23420          }
23421       }
23422    }
23423
23424
23425 ///////////////////////////////////////////////////////////////////////////////
23426    group { name: "elm/check/base/default";
23427       images {
23428          image: "check_base.png" COMP;
23429          image: "check.png" COMP;
23430          image: "check2.png" COMP;
23431       }
23432       parts {
23433          part { name: "bg";
23434             mouse_events: 0;
23435             scale: 1;
23436             description { state: "default" 0.0;
23437                rel1.offset: 1 1;
23438                rel2.relative: 0.0 1.0;
23439                rel2.offset: 1 -2;
23440                align: 0.0 0.5;
23441                min: 16 16;
23442                max: 16 16;
23443                aspect: 1.0 1.0;
23444                aspect_preference: VERTICAL;
23445                image {
23446                   normal: "check_base.png";
23447                   border: 5 5 5 5;
23448                   middle: 0;
23449                }
23450                fill.smooth : 0;
23451             }
23452          }
23453          part { name: "check";
23454             mouse_events: 0;
23455             scale: 1;
23456             description { state: "default" 0.0;
23457                rel1 {
23458                   to: "bg";
23459                   offset: 1 1;
23460                }
23461                rel2 {
23462                   to: "bg";
23463                   offset: -2 -2;
23464                }
23465                visible: 0;
23466                color: 255 255 255 255;
23467                image.normal: "check.png";
23468             }
23469             description { state: "visible" 0.0;
23470                inherit: "default" 0.0;
23471                visible: 1;
23472             }
23473             description { state: "disabled" 0.0;
23474                inherit: "default" 0.0;
23475                visible: 0;
23476                color: 128 128 128 128;
23477             }
23478             description { state: "disabled_visible" 0.0;
23479                inherit: "default" 0.0;
23480                color: 128 128 128 128;
23481                visible: 1;
23482             }
23483          }
23484          part { name: "elm.swallow.content";
23485             type: SWALLOW;
23486             description { state: "default" 0.0;
23487                fixed: 1 0;
23488                visible: 0;
23489                align: 0.0 0.5;
23490           rel1.to_x: "bg";
23491                rel1.relative: 1.0 0.0;
23492                rel1.offset: 1 1;
23493           rel2.to_x: "bg";
23494                rel2.offset: 1 -2;
23495                rel2.relative: 1.0 1.0;
23496             }
23497             description { state: "visible" 0.0;
23498                inherit: "default" 0.0;
23499           fixed: 1 0;
23500                visible: 1;
23501                aspect: 1.0 1.0;
23502             }
23503             description { state: "disabled" 0.0;
23504                inherit: "default" 0.0;
23505                color: 128 128 128 128;
23506             }
23507             description { state: "disabled_visible" 0.0;
23508                inherit: "default" 0.0;
23509                color: 128 128 128 128;
23510           fixed: 1 0;
23511                visible: 1;
23512                aspect: 1.0 1.0;
23513             }
23514          }
23515          part { name: "elm.text";
23516             type: TEXT;
23517             mouse_events: 0;
23518             scale: 1;
23519             description { state: "default" 0.0;
23520                visible: 0;
23521                rel1.to_x: "elm.swallow.content";
23522                rel1.relative: 1.0 0.0;
23523                rel1.offset: 1 1;
23524                rel2.relative: 1.0 1.0;
23525                rel2.offset: -2 -2;
23526                color: 0 0 0 255;
23527                text {
23528                   font: "Sans,Edje-Vera";
23529                   size: 10;
23530                   min: 0 1;
23531                   align: 0.0 0.5;
23532                }
23533             }
23534             description { state: "visible" 0.0;
23535                inherit: "default" 0.0;
23536                visible: 1;
23537                text.min: 1 1;
23538             }
23539             description { state: "disabled" 0.0;
23540                inherit: "default" 0.0;
23541                color: 0 0 0 128;
23542                color3: 0 0 0 0;
23543             }
23544             description { state: "disabled_visible" 0.0;
23545                inherit: "default" 0.0;
23546                color: 0 0 0 128;
23547                color3: 0 0 0 0;
23548                visible: 1;
23549                text.min: 1 1;
23550             }
23551          }
23552          part { name: "events";
23553             type: RECT;
23554             ignore_flags: ON_HOLD;
23555             description { state: "default" 0.0;
23556                color: 0 0 0 0;
23557             }
23558          }
23559           part { name: "disabler";
23560             type: RECT;
23561             description { state: "default" 0.0;
23562                color: 0 0 0 0;
23563                visible: 0;
23564             }
23565             description { state: "disabled" 0.0;
23566                inherit: "default" 0.0;
23567                visible: 1;
23568             }
23569          }
23570       }
23571       programs {
23572          program { name: "click";
23573             signal: "mouse,up,1";
23574             source: "events";
23575             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23576          }
23577          program { name: "check_on";
23578             signal: "elm,state,check,on";
23579             source: "elm";
23580             action:  STATE_SET "visible" 0.0;
23581             target: "check";
23582          }
23583          program { name: "check_off";
23584             signal: "elm,state,check,off";
23585             source: "elm";
23586             action:  STATE_SET "default" 0.0;
23587             target: "check";
23588          }
23589          program { name: "text_show";
23590             signal: "elm,state,text,visible";
23591             source: "elm";
23592             action:  STATE_SET "visible" 0.0;
23593             target: "elm.text";
23594          }
23595          program { name: "text_hide";
23596             signal: "elm,state,text,hidden";
23597             source: "elm";
23598             action:  STATE_SET "default" 0.0;
23599             target: "elm.text";
23600          }
23601          program { name: "icon_show";
23602             signal: "elm,state,icon,visible";
23603             source: "elm";
23604             action:  STATE_SET "visible" 0.0;
23605             target: "elm.swallow.content";
23606          }
23607          program { name: "icon_hide";
23608             signal: "elm,state,icon,hidden";
23609             source: "elm";
23610             action:  STATE_SET "default" 0.0;
23611             target: "elm.swallow.content";
23612          }
23613          program { name: "disable";
23614             signal: "elm,state,disabled";
23615             source: "elm";
23616             action: STATE_SET "disabled" 0.0;
23617             target: "disabler";
23618             after: "disable_text";
23619          }
23620          program { name: "disable_text";
23621             script {
23622                new st[31];
23623                new Float:vl;
23624                get_state(PART:"elm.text", st, 30, vl);
23625                if (!strcmp(st, "visible"))
23626                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23627                else
23628                  set_state(PART:"elm.text", "disabled", 0.0);
23629
23630                get_state(PART:"elm.swallow.content", st, 30, vl);
23631                if (!strcmp(st, "visible"))
23632                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23633                else
23634                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23635
23636                get_state(PART:"check", st, 30, vl);
23637                if (!strcmp(st, "visible"))
23638                  set_state(PART:"check", "disabled_visible", 0.0);
23639                else
23640                  set_state(PART:"check", "disabled", 0.0);
23641             }
23642          }
23643          program { name: "enable";
23644             signal: "elm,state,enabled";
23645             source: "elm";
23646             action: STATE_SET "default" 0.0;
23647             target: "disabler";
23648             after: "enable_text";
23649          }
23650          program { name: "enable_text";
23651             script {
23652                new st[31];
23653                new Float:vl;
23654                get_state(PART:"elm.text", st, 30, vl);
23655                if (!strcmp(st, "disabled_visible"))
23656                  set_state(PART:"elm.text", "visible", 0.0);
23657                else
23658                  set_state(PART:"elm.text", "default", 0.0);
23659
23660                get_state(PART:"elm.swallow.content", st, 30, vl);
23661                if (!strcmp(st, "visible"))
23662                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23663                else
23664                  set_state(PART:"elm.swallow.content", "default", 0.0);
23665
23666                get_state(PART:"check", st, 30, vl);
23667                if (!strcmp(st, "visible"))
23668                  set_state(PART:"check", "visible", 0.0);
23669                else
23670                  set_state(PART:"check", "default", 0.0);
23671             }
23672          }
23673       }
23674    }
23675 ///////////////////////////////////////////////////////////////////////////////
23676    group { name: "elm/radio/base/default";
23677       images {
23678          image: "radio_base.png" COMP;
23679          image: "radio.png" COMP;
23680          image: "radio2.png" COMP;
23681       }
23682       parts {
23683          part { name: "bg";
23684             mouse_events: 0;
23685             scale: 1;
23686             description { state: "default" 0.0;
23687                rel1.offset: 1 1;
23688                rel2.relative: 0.0 1.0;
23689                rel2.offset: 1 -2;
23690                align: 0.0 0.5;
23691                min: 16 16;
23692                max: 16 16;
23693                aspect: 1.0 1.0;
23694                aspect_preference: VERTICAL;
23695                image.normal: "radio_base.png";
23696             }
23697          }
23698          part { name: "radio";
23699             mouse_events: 0;
23700             scale: 1;
23701             description { state: "default" 0.0;
23702                rel1.to: "bg";
23703                rel2.to: "bg";
23704                visible: 0;
23705                image.normal: "radio.png";
23706             }
23707             description { state: "visible" 0.0;
23708                inherit: "default" 0.0;
23709                visible: 1;
23710             }
23711          }
23712          part { name: "elm.swallow.content";
23713             type: SWALLOW;
23714             description { state: "default" 0.0;
23715                fixed: 1 0;
23716                visible: 0;
23717                align: 0.0 0.5;
23718                color: 0 0 0 0;
23719                rel1.to_x: "bg";
23720                rel1.relative: 1.0 0.0;
23721                rel1.offset: 1 1;
23722                rel2.to_x: "bg";
23723                rel2.relative: 1.0 1.0;
23724                rel2.offset: 2 -2;
23725             }
23726             description { state: "visible" 0.0;
23727                inherit: "default" 0.0;
23728                visible: 1;
23729                color: 255 255 255 255;
23730                aspect: 1.0 1.0;
23731             }
23732             description { state: "disabled" 0.0;
23733                inherit: "default" 0.0;
23734                color: 128 128 128 128;
23735             }
23736             description { state: "disabled_visible" 0.0;
23737                inherit: "default" 0.0;
23738                color: 128 128 128 128;
23739                visible: 1;
23740                aspect: 1.0 1.0;
23741             }
23742          }
23743          part { name: "elm.text";
23744             type: TEXT;
23745             mouse_events: 0;
23746             scale: 1;
23747             description { state: "default" 0.0;
23748                visible: 0;
23749                rel1.to_x: "elm.swallow.content";
23750                rel1.relative: 1.0 0.0;
23751                rel1.offset: 1 1;
23752                rel2.relative: 1.0 1.0;
23753                rel2.offset: -2 -2;
23754                color: 0 0 0 255;
23755                text {
23756                   font: "Sans,Edje-Vera";
23757                   size: 10;
23758                   min: 0 0;
23759                   align: 0.0 0.5;
23760                }
23761             }
23762             description { state: "visible" 0.0;
23763                inherit: "default" 0.0;
23764                visible: 1;
23765                text.min: 1 1;
23766             }
23767             description { state: "disabled" 0.0;
23768                inherit: "default" 0.0;
23769                color: 0 0 0 128;
23770                color3: 0 0 0 0;
23771             }
23772             description { state: "disabled_visible" 0.0;
23773                inherit: "default" 0.0;
23774                color: 0 0 0 128;
23775                color3: 0 0 0 0;
23776                visible: 1;
23777                text.min: 1 1;
23778             }
23779          }
23780          part { name: "events";
23781             type: RECT;
23782             ignore_flags: ON_HOLD;
23783             description { state: "default" 0.0;
23784                color: 0 0 0 0;
23785             }
23786          }
23787           part { name: "disabler";
23788             type: RECT;
23789             description { state: "default" 0.0;
23790                color: 0 0 0 0;
23791                visible: 0;
23792             }
23793             description { state: "disabled" 0.0;
23794                inherit: "default" 0.0;
23795                visible: 1;
23796             }
23797          }
23798       }
23799       programs {
23800          program { name: "click";
23801             signal: "mouse,up,1";
23802             source: "events";
23803             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23804          }
23805          program { name: "radio_on";
23806             signal: "elm,state,radio,on";
23807             source: "elm";
23808             action:  STATE_SET "visible" 0.0;
23809             target: "radio";
23810          }
23811          program { name: "radio_off";
23812             signal: "elm,state,radio,off";
23813             source: "elm";
23814             action:  STATE_SET "default" 0.0;
23815             target: "radio";
23816          }
23817          program { name: "text_show";
23818             signal: "elm,state,text,visible";
23819             source: "elm";
23820             action:  STATE_SET "visible" 0.0;
23821             target: "elm.text";
23822          }
23823          program { name: "text_hide";
23824             signal: "elm,state,text,hidden";
23825             source: "elm";
23826             action:  STATE_SET "default" 0.0;
23827             target: "elm.text";
23828          }
23829          program { name: "icon_show";
23830             signal: "elm,state,icon,visible";
23831             source: "elm";
23832             action:  STATE_SET "visible" 0.0;
23833             target: "elm.swallow.content";
23834          }
23835          program { name: "icon_hide";
23836             signal: "elm,state,icon,hidden";
23837             source: "elm";
23838             action:  STATE_SET "default" 0.0;
23839             target: "elm.swallow.content";
23840          }
23841          program { name: "disable";
23842             signal: "elm,state,disabled";
23843             source: "elm";
23844             action: STATE_SET "disabled" 0.0;
23845             target: "disabler";
23846             after: "disable_text";
23847          }
23848          program { name: "disable_text";
23849             script {
23850                new st[31];
23851                new Float:vl;
23852                get_state(PART:"elm.text", st, 30, vl);
23853                if (!strcmp(st, "visible"))
23854                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23855                else
23856                  set_state(PART:"elm.text", "disabled", 0.0);
23857
23858                get_state(PART:"elm.swallow.content", st, 30, vl);
23859                if (!strcmp(st, "visible"))
23860                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23861                else
23862                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23863             }
23864          }
23865          program { name: "enable";
23866             signal: "elm,state,enabled";
23867             source: "elm";
23868             action: STATE_SET "default" 0.0;
23869             target: "disabler";
23870             after: "enable_text";
23871          }
23872          program { name: "enable_text";
23873             script {
23874                new st[31];
23875                new Float:vl;
23876                get_state(PART:"elm.text", st, 30, vl);
23877                if (!strcmp(st, "disabled_visible"))
23878                  set_state(PART:"elm.text", "visible", 0.0);
23879                else
23880                  set_state(PART:"elm.text", "default", 0.0);
23881
23882                get_state(PART:"elm.swallow.content", st, 30, vl);
23883                if (!strcmp(st, "visible"))
23884                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23885                else
23886                  set_state(PART:"elm.swallow.content", "default", 0.0);
23887             }
23888          }
23889       }
23890    }
23891    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23892       data.item: "stacking" "below";
23893       data.item: "selectraise" "on";
23894       data.item: "labels" "elm.text elm.text.sub";
23895       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23896       data.item: "treesize" "20";
23897 //      data.item: "states" "";
23898       images {
23899          image: "bt_sm_base1.png" COMP;
23900          image: "bt_sm_shine.png" COMP;
23901          image: "bt_sm_hilight.png" COMP;
23902          image: "ilist_2.png" COMP;
23903          image: "icon_arrow_right.png" COMP;
23904          image: "icon_arrow_down.png" COMP;
23905       }
23906       parts {
23907          part {
23908             name:           "event";
23909             type:           RECT;
23910             repeat_events: 1;
23911             description {
23912                state: "default" 0.0;
23913                color: 0 0 0 0;
23914             }
23915          }
23916          part {
23917             name: "base";
23918             mouse_events: 0;
23919             description {
23920                state: "default" 0.0;
23921                image {
23922                   normal: "ilist_2.png";
23923                   border: 2 2 2 2;
23924                }
23925                fill.smooth: 0;
23926             }
23927          }
23928          part { name: "bg";
23929             clip_to: "disclip";
23930             mouse_events: 0;
23931             description { state: "default" 0.0;
23932                visible: 0;
23933                color: 255 255 255 0;
23934                rel1 {
23935                   relative: 0.0 0.0;
23936                   offset: -5 -5;
23937                }
23938                rel2 {
23939                   relative: 1.0 1.0;
23940                   offset: 4 4;
23941                }
23942                image {
23943                   normal: "bt_sm_base1.png";
23944                   border: 6 6 6 6;
23945                }
23946                image.middle: SOLID;
23947             }
23948             description { state: "selected" 0.0;
23949                inherit: "default" 0.0;
23950                visible: 1;
23951                color: 255 255 255 255;
23952                rel1 {
23953                   relative: 0.0 0.0;
23954                   offset: -2 -2;
23955                }
23956                rel2 {
23957                   relative: 1.0 1.0;
23958                   offset: 1 1;
23959                }
23960             }
23961          }
23962          part { name: "elm.swallow.pad";
23963             type: SWALLOW;
23964             description { state: "default" 0.0;
23965                fixed: 1 0;
23966                align: 0.0 0.5;
23967                rel1 {
23968                   relative: 0.0  0.0;
23969                   offset:   4    4;
23970                }
23971                rel2 {
23972                   relative: 0.0  1.0;
23973                   offset:   4   -5;
23974                }
23975             }
23976          }
23977          part { name: "arrow";
23978             clip_to: "disclip";
23979             ignore_flags: ON_HOLD;
23980             description { state: "default" 0.0;
23981                fixed: 1 0;
23982                align: 0.0 0.5;
23983                aspect: 1.0 1.0;
23984                rel1 {
23985                   to_x: "elm.swallow.pad";
23986                   relative: 1.0  0.0;
23987                   offset:   -1    4;
23988                }
23989                rel2 {
23990                   to_x: "elm.swallow.pad";
23991                   relative: 1.0  1.0;
23992                   offset:   -1   -5;
23993                }
23994                image.normal: "icon_arrow_right.png";
23995             }
23996             description { state: "active" 0.0;
23997                inherit: "default" 0.0;
23998                image.normal: "icon_arrow_down.png";
23999             }
24000          }
24001          part { name: "elm.swallow.icon";
24002             clip_to: "disclip";
24003             type: SWALLOW;
24004             description { state: "default" 0.0;
24005                fixed: 1 0;
24006                align: 0.0 0.5;
24007                rel1 {
24008                   to_x: "arrow";
24009                   relative: 1.0  0.0;
24010                   offset:   4    4;
24011                }
24012                rel2 {
24013                   to_x: "arrow";
24014                   relative: 1.0  1.0;
24015                   offset:   4   -5;
24016                }
24017             }
24018          }
24019          part { name: "elm.swallow.end";
24020             clip_to: "disclip";
24021             type: SWALLOW;
24022             description { state: "default" 0.0;
24023                fixed: 1 0;
24024                align: 1.0 0.5;
24025                aspect: 1.0 1.0;
24026                aspect_preference: VERTICAL;
24027                rel1 {
24028                   relative: 1.0  0.0;
24029                   offset:   -5    4;
24030                }
24031                rel2 {
24032                   relative: 1.0  1.0;
24033                   offset:   -5   -5;
24034                }
24035             }
24036          }
24037          part { name: "elm.text";
24038             clip_to: "disclip";
24039             type:           TEXT;
24040             effect:         SOFT_SHADOW;
24041             mouse_events:   0;
24042             scale: 1;
24043             description {
24044                state: "default" 0.0;
24045 //               min: 16 16;
24046                rel1 {
24047                   to_x:     "elm.swallow.icon";
24048                   relative: 1.0  0.0;
24049                   offset:   0 4;
24050                }
24051                rel2 {
24052                   to_x:     "elm.swallow.end";
24053                   relative: 0.0  0.5;
24054                   offset:   -1 -5;
24055                }
24056                color: 0 0 0 255;
24057                color3: 0 0 0 0;
24058                text {
24059                   font: "Sans";
24060                   size: 10;
24061 //                  min: 1 1;
24062                   min: 0 1;
24063                   align: 0.0 0.5;
24064                   text_class: "list_item";
24065                }
24066             }
24067             description { state: "selected" 0.0;
24068                inherit: "default" 0.0;
24069                color: 224 224 224 255;
24070                color3: 0 0 0 64;
24071             }
24072          }
24073          part { name: "elm.text.sub";
24074             clip_to: "disclip";
24075             type:           TEXT;
24076             mouse_events:   0;
24077             scale: 1;
24078             description {
24079                state: "default" 0.0;
24080 //               min: 16 16;
24081                rel1 {
24082                   to_x:     "elm.swallow.icon";
24083                   relative: 1.0  0.5;
24084                   offset:   0 4;
24085                }
24086                rel2 {
24087                   to_x:     "elm.swallow.end";
24088                   relative: 0.0  1.0;
24089                   offset:   -1 -5;
24090                }
24091                color: 0 0 0 128;
24092                color3: 0 0 0 0;
24093                text {
24094                   font: "Sans";
24095                   size: 8;
24096 //                  min: 1 1;
24097                   min: 0 1;
24098                   align: 0.0 0.5;
24099                   text_class: "list_item";
24100                }
24101             }
24102             description { state: "selected" 0.0;
24103                inherit: "default" 0.0;
24104                color: 128 128 128 255;
24105                color3: 0 0 0 32;
24106             }
24107          }
24108          part { name: "fg1";
24109             clip_to: "disclip";
24110             mouse_events: 0;
24111             description { state: "default" 0.0;
24112                visible: 0;
24113                color: 255 255 255 0;
24114                rel1.to: "bg";
24115                rel2.relative: 1.0 0.5;
24116                rel2.to: "bg";
24117                image {
24118                   normal: "bt_sm_hilight.png";
24119                   border: 6 6 6 0;
24120                }
24121             }
24122             description { state: "selected" 0.0;
24123                inherit: "default" 0.0;
24124                visible: 1;
24125                color: 255 255 255 255;
24126             }
24127          }
24128          part { name: "fg2";
24129             clip_to: "disclip";
24130             mouse_events: 0;
24131             description { state: "default" 0.0;
24132                visible: 0;
24133                color: 255 255 255 0;
24134                rel1.to: "bg";
24135                rel2.to: "bg";
24136                image {
24137                   normal: "bt_sm_shine.png";
24138                   border: 6 6 6 0;
24139                }
24140             }
24141             description { state: "selected" 0.0;
24142                inherit: "default" 0.0;
24143                visible: 1;
24144                color: 255 255 255 255;
24145             }
24146          }
24147          part { name: "disclip";
24148             type: RECT;
24149             description { state: "default" 0.0;
24150                rel1.to: "bg";
24151                rel2.to: "bg";
24152             }
24153             description { state: "disabled" 0.0;
24154                inherit: "default" 0.0;
24155                color: 255 255 255 64;
24156             }
24157          }
24158       }
24159       programs {
24160          // signal: elm,state,%s,active
24161          //   a "check" item named %s went active
24162          // signal: elm,state,%s,passive
24163          //   a "check" item named %s went passive
24164          // default is passive
24165          program {
24166             name:    "go_active";
24167             signal:  "elm,state,selected";
24168             source:  "elm";
24169             action:  STATE_SET "selected" 0.0;
24170             target:  "bg";
24171             target:  "fg1";
24172             target:  "fg2";
24173             target:  "elm.text";
24174             target:  "elm.text.sub";
24175          }
24176          program {
24177             name:    "go_passive";
24178             signal:  "elm,state,unselected";
24179             source:  "elm";
24180             action:  STATE_SET "default" 0.0;
24181             target:  "bg";
24182             target:  "fg1";
24183             target:  "fg2";
24184             target:  "elm.text";
24185             target:  "elm.text.sub";
24186             transition: LINEAR 0.1;
24187          }
24188          program {
24189             name:    "go_disabled";
24190             signal:  "elm,state,disabled";
24191             source:  "elm";
24192             action:  STATE_SET "disabled" 0.0;
24193             target:  "disclip";
24194          }
24195          program {
24196             name:    "go_enabled";
24197             signal:  "elm,state,enabled";
24198             source:  "elm";
24199             action:  STATE_SET "default" 0.0;
24200             target:  "disclip";
24201          }
24202          program {
24203             name:    "expand";
24204             signal:  "mouse,up,1";
24205             source:  "arrow";
24206             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24207          }
24208          program {
24209             name:    "go_expanded";
24210             signal:  "elm,state,expanded";
24211             source:  "elm";
24212             action:  STATE_SET "active" 0.0;
24213             target:  "arrow";
24214          }
24215          program {
24216             name:    "go_contracted";
24217             signal:  "elm,state,contracted";
24218             source:  "elm";
24219             action:  STATE_SET "default" 0.0;
24220             target:  "arrow";
24221          }
24222       }
24223    }
24224
24225    group { name: "elm/genlist/item_compress/media/default";
24226       data.item: "stacking" "above";
24227       data.item: "selectraise" "on";
24228       data.item: "labels" "elm.text.title elm.text.album-artist";
24229       data.item: "treesize" "20";
24230       images {
24231          image: "bt_sm_base1.png" COMP;
24232          image: "bt_sm_shine.png" COMP;
24233          image: "bt_sm_hilight.png" COMP;
24234          image: "ilist_1.png" COMP;
24235          image: "ilist_item_shadow.png" COMP;
24236       }
24237       parts {
24238          part {
24239             name:           "event";
24240             type:           RECT;
24241             repeat_events: 1;
24242             description {
24243                state: "default" 0.0;
24244                color: 0 0 0 0;
24245             }
24246          }
24247          part {
24248             name: "base_sh";
24249             mouse_events: 0;
24250             description {
24251                state: "default" 0.0;
24252                align: 0.0 0.0;
24253                min: 0 10;
24254                fixed: 1 1;
24255                rel1 {
24256                   to: "base";
24257                   relative: 0.0 1.0;
24258                   offset: 0 0;
24259                }
24260                rel2 {
24261                   to: "base";
24262                   relative: 1.0 1.0;
24263                   offset: -1 0;
24264                }
24265                image {
24266                   normal: "ilist_item_shadow.png";
24267                }
24268                fill.smooth: 0;
24269             }
24270          }
24271          part {
24272             name: "base";
24273             mouse_events: 0;
24274             description {
24275                state: "default" 0.0;
24276                image {
24277                   normal: "ilist_1.png";
24278                   border: 2 2 2 2;
24279                }
24280                fill.smooth: 0;
24281             }
24282          }
24283          part { name: "bg";
24284             clip_to: "disclip";
24285             mouse_events: 0;
24286             description { state: "default" 0.0;
24287                visible: 0;
24288                color: 255 255 255 0;
24289                rel1 {
24290                   relative: 0.0 0.0;
24291                   offset: -5 -5;
24292                }
24293                rel2 {
24294                   relative: 1.0 1.0;
24295                   offset: 4 4;
24296                }
24297                image {
24298                   normal: "bt_sm_base1.png";
24299                   border: 6 6 6 6;
24300                }
24301                image.middle: SOLID;
24302             }
24303             description { state: "selected" 0.0;
24304                inherit: "default" 0.0;
24305                visible: 1;
24306                color: 255 255 255 255;
24307                rel1 {
24308                   relative: 0.0 0.0;
24309                   offset: -2 -2;
24310                }
24311                rel2 {
24312                   relative: 1.0 1.0;
24313                   offset: 1 1;
24314                }
24315             }
24316          }
24317          part { name: "elm.swallow.pad";
24318             type: SWALLOW;
24319             description { state: "default" 0.0;
24320                fixed: 1 0;
24321                align: 0.0 0.5;
24322                rel1 {
24323                   relative: 0.0  0.0;
24324                   offset:   4    4;
24325                }
24326                rel2 {
24327                   relative: 0.0  1.0;
24328                   offset:   4   -5;
24329                }
24330             }
24331          }
24332          part { name: "elm.text.title";
24333             clip_to: "disclip";
24334             type:           TEXT;
24335             effect:         SOFT_SHADOW;
24336             mouse_events:   0;
24337             scale: 1;
24338             description {
24339                state: "default" 0.0;
24340                rel1 {
24341                   relative: 0.0  0.0;
24342                   offset:   4 4;
24343                }
24344                rel2 {
24345                   relative: 1.0  0.5;
24346                   offset:   -1 -5;
24347                }
24348                color: 0 0 0 255;
24349                color3: 0 0 0 0;
24350                text {
24351                   font: "Sans";
24352                   size: 10;
24353                   min: 0 1;
24354                   align: 0.0 0.5;
24355                }
24356             }
24357             description { state: "selected" 0.0;
24358                inherit: "default" 0.0;
24359                color: 224 224 224 255;
24360                color3: 0 0 0 64;
24361             }
24362          }
24363          part { name: "elm.text.album-artist";
24364             clip_to: "disclip";
24365             type:           TEXT;
24366             mouse_events:   0;
24367             scale: 1;
24368             description {
24369                state: "default" 0.0;
24370                rel1 {
24371                   relative: 0.0  0.5;
24372                   offset:   4 4;
24373                }
24374                rel2 {
24375                   relative: 1.0  1.0;
24376                   offset:   -1 -5;
24377                }
24378                color: 0 0 0 128;
24379                color3: 0 0 0 0;
24380                text {
24381                   font: "Sans";
24382                   size: 8;
24383                   min: 0 1;
24384                   align: 0.0 0.5;
24385                }
24386             }
24387             description { state: "selected" 0.0;
24388                inherit: "default" 0.0;
24389                color: 128 128 128 255;
24390                color3: 0 0 0 32;
24391             }
24392          }
24393          part { name: "fg1";
24394             clip_to: "disclip";
24395             mouse_events: 0;
24396             description { state: "default" 0.0;
24397                visible: 0;
24398                color: 255 255 255 0;
24399                rel1.to: "bg";
24400                rel2.relative: 1.0 0.5;
24401                rel2.to: "bg";
24402                image {
24403                   normal: "bt_sm_hilight.png";
24404                   border: 6 6 6 0;
24405                }
24406             }
24407             description { state: "selected" 0.0;
24408                inherit: "default" 0.0;
24409                visible: 1;
24410                color: 255 255 255 255;
24411             }
24412          }
24413          part { name: "fg2";
24414             clip_to: "disclip";
24415             mouse_events: 0;
24416             description { state: "default" 0.0;
24417                visible: 0;
24418                color: 255 255 255 0;
24419                rel1.to: "bg";
24420                rel2.to: "bg";
24421                image {
24422                   normal: "bt_sm_shine.png";
24423                   border: 6 6 6 0;
24424                }
24425             }
24426             description { state: "selected" 0.0;
24427                inherit: "default" 0.0;
24428                visible: 1;
24429                color: 255 255 255 255;
24430             }
24431          }
24432          part { name: "disclip";
24433             type: RECT;
24434             description { state: "default" 0.0;
24435                rel1.to: "bg";
24436                rel2.to: "bg";
24437             }
24438             description { state: "disabled" 0.0;
24439                inherit: "default" 0.0;
24440                color: 255 255 255 64;
24441             }
24442          }
24443       }
24444       programs {
24445          // signal: elm,state,%s,active
24446          //   a "check" item named %s went active
24447          // signal: elm,state,%s,passive
24448          //   a "check" item named %s went passive
24449          // default is passive
24450          program {
24451             name:    "go_active";
24452             signal:  "elm,state,selected";
24453             source:  "elm";
24454             action:  STATE_SET "selected" 0.0;
24455             target:  "bg";
24456             target:  "fg1";
24457             target:  "fg2";
24458             target:  "elm.text.title";
24459             target:  "elm.text.album-artist";
24460          }
24461          program {
24462             name:    "go_passive";
24463             signal:  "elm,state,unselected";
24464             source:  "elm";
24465             action:  STATE_SET "default" 0.0;
24466             target:  "bg";
24467             target:  "fg1";
24468             target:  "fg2";
24469             target:  "elm.text.title";
24470             target:  "elm.text.album-artist";
24471             transition: LINEAR 0.1;
24472          }
24473          program {
24474             name:    "go_disabled";
24475             signal:  "elm,state,disabled";
24476             source:  "elm";
24477             action:  STATE_SET "disabled" 0.0;
24478             target:  "disclip";
24479          }
24480          program {
24481             name:    "go_enabled";
24482             signal:  "elm,state,enabled";
24483             source:  "elm";
24484             action:  STATE_SET "default" 0.0;
24485             target:  "disclip";
24486          }
24487       }
24488    }
24489    group { name: "elm/genlist/item_compress_odd/media/default";
24490       data.item: "stacking" "below";
24491       data.item: "selectraise" "on";
24492       data.item: "labels" "elm.text.title elm.text.album-artist";
24493       data.item: "treesize" "20";
24494       images {
24495          image: "bt_sm_base1.png" COMP;
24496          image: "bt_sm_shine.png" COMP;
24497          image: "bt_sm_hilight.png" COMP;
24498          image: "ilist_2.png" COMP;
24499       }
24500       parts {
24501          part { name: "event";
24502             type: RECT;
24503             repeat_events: 1;
24504             description {
24505                state: "default" 0.0;
24506                color: 0 0 0 0;
24507             }
24508          }
24509          part {
24510             name: "base";
24511             mouse_events: 0;
24512             description {
24513                state: "default" 0.0;
24514                image {
24515                   normal: "ilist_2.png";
24516                   border: 2 2 2 2;
24517                }
24518                fill.smooth: 0;
24519             }
24520          }
24521          part { name: "bg";
24522             clip_to: "disclip";
24523             mouse_events: 0;
24524             description { state: "default" 0.0;
24525                visible: 0;
24526                color: 255 255 255 0;
24527                rel1 {
24528                   relative: 0.0 0.0;
24529                   offset: -5 -5;
24530                }
24531                rel2 {
24532                   relative: 1.0 1.0;
24533                   offset: 4 4;
24534                }
24535                image {
24536                   normal: "bt_sm_base1.png";
24537                   border: 6 6 6 6;
24538                }
24539                image.middle: SOLID;
24540             }
24541             description { state: "selected" 0.0;
24542                inherit: "default" 0.0;
24543                visible: 1;
24544                color: 255 255 255 255;
24545                rel1 {
24546                   relative: 0.0 0.0;
24547                   offset: -2 -2;
24548                }
24549                rel2 {
24550                   relative: 1.0 1.0;
24551                   offset: 1 1;
24552                }
24553             }
24554          }
24555          part { name: "elm.swallow.pad";
24556             type: SWALLOW;
24557             description { state: "default" 0.0;
24558                fixed: 1 0;
24559                align: 0.0 0.5;
24560                rel1 {
24561                   relative: 0.0  0.0;
24562                   offset:   4    4;
24563                }
24564                rel2 {
24565                   relative: 0.0  1.0;
24566                   offset:   4   -5;
24567                }
24568             }
24569          }
24570          part { name: "elm.text.title";
24571             clip_to: "disclip";
24572             type:           TEXT;
24573             effect:         SOFT_SHADOW;
24574             mouse_events:   0;
24575             scale: 1;
24576             description {
24577                state: "default" 0.0;
24578                rel1 {
24579                   relative: 0.0  0.0;
24580                   offset:   4 4;
24581                }
24582                rel2 {
24583                   relative: 1.0  0.5;
24584                   offset:   -1 -5;
24585                }
24586                color: 0 0 0 255;
24587                color3: 0 0 0 0;
24588                text {
24589                   font: "Sans";
24590                   size: 10;
24591                   min: 0 1;
24592                   align: 0.0 0.5;
24593                }
24594             }
24595             description { state: "selected" 0.0;
24596                inherit: "default" 0.0;
24597                color: 224 224 224 255;
24598                color3: 0 0 0 64;
24599             }
24600          }
24601          part { name: "elm.text.album-artist";
24602             clip_to: "disclip";
24603             type:           TEXT;
24604             mouse_events:   0;
24605             scale: 1;
24606             description {
24607                state: "default" 0.0;
24608                rel1 {
24609                   relative: 0.0  0.5;
24610                   offset:   4 4;
24611                }
24612                rel2 {
24613                   relative: 1.0  1.0;
24614                   offset:   -1 -5;
24615                }
24616                color: 0 0 0 128;
24617                color3: 0 0 0 0;
24618                text {
24619                   font: "Sans";
24620                   size: 8;
24621                   min: 0 1;
24622                   align: 0.0 0.5;
24623                }
24624             }
24625             description { state: "selected" 0.0;
24626                inherit: "default" 0.0;
24627                color: 128 128 128 255;
24628                color3: 0 0 0 32;
24629             }
24630          }
24631          part { name: "fg1";
24632             clip_to: "disclip";
24633             mouse_events: 0;
24634             description { state: "default" 0.0;
24635                visible: 0;
24636                color: 255 255 255 0;
24637                rel1.to: "bg";
24638                rel2.relative: 1.0 0.5;
24639                rel2.to: "bg";
24640                image {
24641                   normal: "bt_sm_hilight.png";
24642                   border: 6 6 6 0;
24643                }
24644             }
24645             description { state: "selected" 0.0;
24646                inherit: "default" 0.0;
24647                visible: 1;
24648                color: 255 255 255 255;
24649             }
24650          }
24651          part { name: "fg2";
24652             clip_to: "disclip";
24653             mouse_events: 0;
24654             description { state: "default" 0.0;
24655                visible: 0;
24656                color: 255 255 255 0;
24657                rel1.to: "bg";
24658                rel2.to: "bg";
24659                image {
24660                   normal: "bt_sm_shine.png";
24661                   border: 6 6 6 0;
24662                }
24663             }
24664             description { state: "selected" 0.0;
24665                inherit: "default" 0.0;
24666                visible: 1;
24667                color: 255 255 255 255;
24668             }
24669          }
24670          part { name: "disclip";
24671             type: RECT;
24672             description { state: "default" 0.0;
24673                rel1.to: "bg";
24674                rel2.to: "bg";
24675             }
24676             description { state: "disabled" 0.0;
24677                inherit: "default" 0.0;
24678                color: 255 255 255 64;
24679             }
24680          }
24681       }
24682       programs {
24683          // signal: elm,state,%s,active
24684          //   a "check" item named %s went active
24685          // signal: elm,state,%s,passive
24686          //   a "check" item named %s went passive
24687          // default is passive
24688          program {
24689             name:    "go_active";
24690             signal:  "elm,state,selected";
24691             source:  "elm";
24692             action:  STATE_SET "selected" 0.0;
24693             target:  "bg";
24694             target:  "fg1";
24695             target:  "fg2";
24696             target:  "elm.text.title";
24697             target:  "elm.text.album-artist";
24698          }
24699          program {
24700             name:    "go_passive";
24701             signal:  "elm,state,unselected";
24702             source:  "elm";
24703             action:  STATE_SET "default" 0.0;
24704             target:  "bg";
24705             target:  "fg1";
24706             target:  "fg2";
24707             target:  "elm.text.title";
24708             target:  "elm.text.album-artist";
24709             transition: LINEAR 0.1;
24710          }
24711          program {
24712             name:    "go_disabled";
24713             signal:  "elm,state,disabled";
24714             source:  "elm";
24715             action:  STATE_SET "disabled" 0.0;
24716             target:  "disclip";
24717          }
24718          program {
24719             name:    "go_enabled";
24720             signal:  "elm,state,enabled";
24721             source:  "elm";
24722             action:  STATE_SET "default" 0.0;
24723             target:  "disclip";
24724          }
24725       }
24726    }
24727
24728    group { name: "elm/genlist/item_compress/media-album/default";
24729       data.item: "stacking" "above";
24730       data.item: "selectraise" "on";
24731       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24732       data.item: "states" "elm.state.trackno";
24733       data.item: "treesize" "20";
24734       images {
24735          image: "bt_sm_base1.png" COMP;
24736          image: "bt_sm_shine.png" COMP;
24737          image: "bt_sm_hilight.png" COMP;
24738          image: "ilist_1.png" COMP;
24739          image: "ilist_item_shadow.png" COMP;
24740       }
24741       script {
24742          public dot_visible;
24743       }
24744       parts {
24745          part {
24746             name: "event";
24747             type: RECT;
24748             repeat_events: 1;
24749             description {
24750                state: "default" 0.0;
24751                color: 0 0 0 0;
24752             }
24753          }
24754          part {
24755             name: "base_sh";
24756             mouse_events: 0;
24757             description {
24758                state: "default" 0.0;
24759                align: 0.0 0.0;
24760                min: 0 10;
24761                fixed: 1 1;
24762                rel1 {
24763                   to: "base";
24764                   relative: 0.0 1.0;
24765                   offset: 0 0;
24766                }
24767                rel2 {
24768                   to: "base";
24769                   relative: 1.0 1.0;
24770                   offset: -1 0;
24771                }
24772                image {
24773                   normal: "ilist_item_shadow.png";
24774                }
24775                fill.smooth: 0;
24776             }
24777          }
24778          part {
24779             name: "base";
24780             mouse_events: 0;
24781             description {
24782                state: "default" 0.0;
24783                image {
24784                   normal: "ilist_1.png";
24785                   border: 2 2 2 2;
24786                }
24787                fill.smooth: 0;
24788             }
24789          }
24790          part { name: "bg";
24791             clip_to: "disclip";
24792             mouse_events: 0;
24793             description { state: "default" 0.0;
24794                visible: 0;
24795                color: 255 255 255 0;
24796                rel1 {
24797                   relative: 0.0 0.0;
24798                   offset: -5 -5;
24799                }
24800                rel2 {
24801                   relative: 1.0 1.0;
24802                   offset: 4 4;
24803                }
24804                image {
24805                   normal: "bt_sm_base1.png";
24806                   border: 6 6 6 6;
24807                }
24808                image.middle: SOLID;
24809             }
24810             description { state: "selected" 0.0;
24811                inherit: "default" 0.0;
24812                visible: 1;
24813                color: 255 255 255 255;
24814                rel1 {
24815                   relative: 0.0 0.0;
24816                   offset: -2 -2;
24817                }
24818                rel2 {
24819                   relative: 1.0 1.0;
24820                   offset: 1 1;
24821                }
24822             }
24823          }
24824          part { name: "elm.swallow.pad";
24825             type: SWALLOW;
24826             description { state: "default" 0.0;
24827                fixed: 1 0;
24828                align: 0.0 0.5;
24829                rel1 {
24830                   relative: 0.0  0.0;
24831                   offset:   4    4;
24832                }
24833                rel2 {
24834                   relative: 0.0  1.0;
24835                   offset:   4   -5;
24836                }
24837             }
24838          }
24839          part {
24840             name: "elm.text.trackno";
24841             type: TEXT;
24842             scale: 1;
24843             mouse_events: 0;
24844             description {
24845                state: "default" 0.0;
24846                color: 255 255 255 255;
24847                align: 0.0 0.0;
24848                fixed: 1 0;
24849                rel1 {
24850                   to_y: "elm.text.title";
24851                   relative: 0.0 0.0;
24852                   offset: 5 0;
24853                }
24854                rel2 {
24855                   to_y: "elm.text.title";
24856                   relative: 0.0 1.0;
24857                   offset: 20 0;
24858                }
24859                color: 0 0 0 255;
24860                color3: 0 0 0 0;
24861                text {
24862                   font: "Sans";
24863                   size: 10;
24864                   min: 1 1;
24865                   align: 1.0 0.5;
24866                }
24867             }
24868             description { state: "selected" 0.0;
24869                inherit: "default" 0.0;
24870                color: 224 224 224 255;
24871                color3: 0 0 0 64;
24872             }
24873          }
24874          part {
24875             name: "dot";
24876             type: TEXT;
24877             scale: 1;
24878             mouse_events: 0;
24879             description {
24880                state: "default" 0.0;
24881                color: 255 255 255 255;
24882                visible: 0;
24883                fixed: 1 1;
24884                align: 0.0 0.0;
24885                rel1 {
24886                   to_x: "elm.text.trackno";
24887                   to_y: "elm.text.title";
24888                   relative: 1.0 0.0;
24889                   offset: 1 0;
24890                }
24891                rel2 {
24892                   to_x: "elm.text.trackno";
24893                   to_y: "elm.text.title";
24894                   relative: 1.0 1.0;
24895                   offset: 1 0;
24896
24897                }
24898                color: 0 0 0 255;
24899                color3: 0 0 0 0;
24900                text {
24901                   font: "Sans";
24902                   size: 10;
24903                   min: 1 1;
24904                   align: 0.0 0.5;
24905                   text: ".";
24906                }
24907             }
24908             description {
24909                state: "visible" 0.0;
24910                inherit: "default" 0.0;
24911                visible: 1;
24912             }
24913             description { state: "selected" 0.0;
24914                inherit: "default" 0.0;
24915                color: 224 224 224 255;
24916                color3: 0 0 0 64;
24917                visible: 1;
24918             }
24919          }
24920          programs {
24921             program {
24922                signal: "elm,state,elm.state.trackno,active";
24923                source: "elm";
24924                script {
24925                   set_state(PART:"dot", "visible", 0.0);
24926                   set_int(dot_visible, 1);
24927                }
24928             }
24929          }
24930          part { name: "elm.text.title";
24931             clip_to: "disclip";
24932             type:           TEXT;
24933             effect:         SOFT_SHADOW;
24934             mouse_events:   0;
24935             scale: 1;
24936             description {
24937                state: "default" 0.0;
24938                rel1 {
24939                   to_x: "dot";
24940                   relative: 0.0  0.0;
24941                   offset:   4 4;
24942                }
24943                rel2 {
24944                   relative: 1.0  0.5;
24945                   offset:   -1 -5;
24946                }
24947                color: 0 0 0 255;
24948                color3: 0 0 0 0;
24949                text {
24950                   font: "Sans";
24951                   size: 10;
24952                   min: 0 1;
24953                   align: 0.0 0.5;
24954                }
24955             }
24956             description { state: "selected" 0.0;
24957                inherit: "default" 0.0;
24958                color: 224 224 224 255;
24959                color3: 0 0 0 64;
24960             }
24961          }
24962          part { name: "elm.text.length";
24963             clip_to: "disclip";
24964             type:           TEXT;
24965             mouse_events:   0;
24966             scale: 1;
24967             description {
24968                state: "default" 0.0;
24969                rel1 {
24970                   relative: 0.0  0.5;
24971                   offset:   4 4;
24972                }
24973                rel2 {
24974                   relative: 1.0  1.0;
24975                   offset:   -1 -5;
24976                }
24977                color: 0 0 0 128;
24978                color3: 0 0 0 0;
24979                text {
24980                   font: "Sans";
24981                   size: 8;
24982                   min: 0 1;
24983                   align: 0.0 0.5;
24984                }
24985             }
24986             description { state: "selected" 0.0;
24987                inherit: "default" 0.0;
24988                color: 128 128 128 255;
24989                color3: 0 0 0 32;
24990             }
24991          }
24992          part { name: "fg1";
24993             clip_to: "disclip";
24994             mouse_events: 0;
24995             description { state: "default" 0.0;
24996                visible: 0;
24997                color: 255 255 255 0;
24998                rel1.to: "bg";
24999                rel2.relative: 1.0 0.5;
25000                rel2.to: "bg";
25001                image {
25002                   normal: "bt_sm_hilight.png";
25003                   border: 6 6 6 0;
25004                }
25005             }
25006             description { state: "selected" 0.0;
25007                inherit: "default" 0.0;
25008                visible: 1;
25009                color: 255 255 255 255;
25010             }
25011          }
25012          part { name: "fg2";
25013             clip_to: "disclip";
25014             mouse_events: 0;
25015             description { state: "default" 0.0;
25016                visible: 0;
25017                color: 255 255 255 0;
25018                rel1.to: "bg";
25019                rel2.to: "bg";
25020                image {
25021                   normal: "bt_sm_shine.png";
25022                   border: 6 6 6 0;
25023                }
25024             }
25025             description { state: "selected" 0.0;
25026                inherit: "default" 0.0;
25027                visible: 1;
25028                color: 255 255 255 255;
25029             }
25030          }
25031          part { name: "disclip";
25032             type: RECT;
25033             description { state: "default" 0.0;
25034                rel1.to: "bg";
25035                rel2.to: "bg";
25036             }
25037             description { state: "disabled" 0.0;
25038                inherit: "default" 0.0;
25039                color: 255 255 255 64;
25040             }
25041          }
25042       }
25043       programs {
25044          // signal: elm,state,%s,active
25045          //   a "check" item named %s went active
25046          // signal: elm,state,%s,passive
25047          //   a "check" item named %s went passive
25048          // default is passive
25049          program {
25050             name:    "go_active";
25051             signal:  "elm,state,selected";
25052             source:  "elm";
25053             action:  STATE_SET "selected" 0.0;
25054             target:  "bg";
25055             target:  "fg1";
25056             target:  "fg2";
25057             target:  "elm.text.title";
25058             target:  "elm.text.trackno";
25059             target:  "elm.text.length";
25060             after:   "dot_active";
25061          }
25062          program {
25063             name: "dot_active";
25064             script {
25065                if (get_int(dot_visible) == 1)
25066                   set_state(PART:"dot", "selected", 0.0);
25067             }
25068          }
25069          program {
25070             name:    "go_passive";
25071             signal:  "elm,state,unselected";
25072             source:  "elm";
25073             action:  STATE_SET "default" 0.0;
25074             target:  "bg";
25075             target:  "fg1";
25076             target:  "fg2";
25077             target:  "elm.text.title";
25078             target:  "elm.text.length";
25079             target:  "elm.text.trackno";
25080             transition: LINEAR 0.1;
25081             after:   "dot_passive";
25082          }
25083          program {
25084             name: "dot_passive";
25085             script {
25086                if (get_int(dot_visible) == 1)
25087                   set_state(PART:"dot", "visible", 0.0);
25088             }
25089          }
25090          program {
25091             name:    "go_disabled";
25092             signal:  "elm,state,disabled";
25093             source:  "elm";
25094             action:  STATE_SET "disabled" 0.0;
25095             target:  "disclip";
25096          }
25097          program {
25098             name:    "go_enabled";
25099             signal:  "elm,state,enabled";
25100             source:  "elm";
25101             action:  STATE_SET "default" 0.0;
25102             target:  "disclip";
25103          }
25104       }
25105    }
25106    group { name: "elm/genlist/item_compress_odd/media-album/default";
25107       data.item: "stacking" "below";
25108       data.item: "selectraise" "on";
25109       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25110       data.item: "states" "elm.state.trackno";
25111       data.item: "treesize" "20";
25112       images {
25113          image: "bt_sm_base1.png" COMP;
25114          image: "bt_sm_shine.png" COMP;
25115          image: "bt_sm_hilight.png" COMP;
25116          image: "ilist_2.png" COMP;
25117       }
25118       script {
25119          public dot_visible;
25120       }
25121       parts {
25122          part { name: "event";
25123             type: RECT;
25124             repeat_events: 1;
25125             description {
25126                state: "default" 0.0;
25127                color: 0 0 0 0;
25128             }
25129          }
25130          part {
25131             name: "base";
25132             mouse_events: 0;
25133             description {
25134                state: "default" 0.0;
25135                image {
25136                   normal: "ilist_2.png";
25137                   border: 2 2 2 2;
25138                }
25139                fill.smooth: 0;
25140             }
25141          }
25142          part { name: "bg";
25143             clip_to: "disclip";
25144             mouse_events: 0;
25145             description { state: "default" 0.0;
25146                visible: 0;
25147                color: 255 255 255 0;
25148                rel1 {
25149                   relative: 0.0 0.0;
25150                   offset: -5 -5;
25151                }
25152                rel2 {
25153                   relative: 1.0 1.0;
25154                   offset: 4 4;
25155                }
25156                image {
25157                   normal: "bt_sm_base1.png";
25158                   border: 6 6 6 6;
25159                }
25160                image.middle: SOLID;
25161             }
25162             description { state: "selected" 0.0;
25163                inherit: "default" 0.0;
25164                visible: 1;
25165                color: 255 255 255 255;
25166                rel1 {
25167                   relative: 0.0 0.0;
25168                   offset: -2 -2;
25169                }
25170                rel2 {
25171                   relative: 1.0 1.0;
25172                   offset: 1 1;
25173                }
25174             }
25175          }
25176          part { name: "elm.swallow.pad";
25177             type: SWALLOW;
25178             description { state: "default" 0.0;
25179                fixed: 1 0;
25180                align: 0.0 0.5;
25181                rel1 {
25182                   relative: 0.0  0.0;
25183                   offset:   4    4;
25184                }
25185                rel2 {
25186                   relative: 0.0  1.0;
25187                   offset:   4   -5;
25188                }
25189             }
25190          }
25191          part {
25192             name: "elm.text.trackno";
25193             type: TEXT;
25194             scale: 1;
25195             mouse_events: 0;
25196             description {
25197                state: "default" 0.0;
25198                color: 255 255 255 255;
25199                align: 0.0 0.0;
25200                fixed: 1 0;
25201                rel1 {
25202                   to_y: "elm.text.title";
25203                   relative: 0.0 0.0;
25204                   offset: 5 0;
25205                }
25206                rel2 {
25207                   to_y: "elm.text.title";
25208                   relative: 0.0 1.0;
25209                   offset: 20 0;
25210                }
25211                color: 0 0 0 255;
25212                color3: 0 0 0 0;
25213                text {
25214                   font: "Sans";
25215                   size: 10;
25216                   min: 1 1;
25217                   align: 1.0 0.5;
25218                }
25219             }
25220             description { state: "selected" 0.0;
25221                inherit: "default" 0.0;
25222                color: 224 224 224 255;
25223                color3: 0 0 0 64;
25224             }
25225          }
25226          part {
25227             name: "dot";
25228             type: TEXT;
25229             scale: 1;
25230             mouse_events: 0;
25231             description {
25232                state: "default" 0.0;
25233                color: 255 255 255 255;
25234                visible: 0;
25235                fixed: 1 1;
25236                align: 0.0 0.0;
25237                rel1 {
25238                   to_x: "elm.text.trackno";
25239                   to_y: "elm.text.title";
25240                   relative: 1.0 0.0;
25241                   offset: 1 0;
25242                }
25243                rel2 {
25244                   to_x: "elm.text.trackno";
25245                   to_y: "elm.text.title";
25246                   relative: 1.0 1.0;
25247                   offset: 1 0;
25248
25249                }
25250                color: 0 0 0 255;
25251                color3: 0 0 0 0;
25252                text {
25253                   font: "Sans";
25254                   size: 10;
25255                   min: 1 1;
25256                   align: 0.0 0.5;
25257                   text: ".";
25258                }
25259             }
25260             description {
25261                state: "visible" 0.0;
25262                inherit: "default" 0.0;
25263                visible: 1;
25264             }
25265             description { state: "selected" 0.0;
25266                inherit: "default" 0.0;
25267                color: 224 224 224 255;
25268                color3: 0 0 0 64;
25269                visible: 1;
25270             }
25271          }
25272          programs {
25273             program {
25274                signal: "elm,state,elm.state.trackno,active";
25275                source: "elm";
25276                script {
25277                   set_state(PART:"dot", "visible", 0.0);
25278                   set_int(dot_visible, 1);
25279                }
25280             }
25281          }
25282          part { name: "elm.text.title";
25283             clip_to: "disclip";
25284             type:           TEXT;
25285             effect:         SOFT_SHADOW;
25286             mouse_events:   0;
25287             scale: 1;
25288             description {
25289                state: "default" 0.0;
25290                rel1 {
25291                   to_x: "dot";
25292                   relative: 1.0  0.0;
25293                   offset:   4 4;
25294                }
25295                rel2 {
25296                   relative: 1.0  0.5;
25297                   offset:   -1 -5;
25298                }
25299                color: 0 0 0 255;
25300                color3: 0 0 0 0;
25301                text {
25302                   font: "Sans";
25303                   size: 10;
25304                   min: 0 1;
25305                   align: 0.0 0.5;
25306                }
25307             }
25308             description { state: "selected" 0.0;
25309                inherit: "default" 0.0;
25310                color: 224 224 224 255;
25311                color3: 0 0 0 64;
25312             }
25313          }
25314          part { name: "elm.text.length";
25315             clip_to: "disclip";
25316             type:           TEXT;
25317             mouse_events:   0;
25318             scale: 1;
25319             description {
25320                state: "default" 0.0;
25321                rel1 {
25322                   relative: 0.0  0.5;
25323                   offset:   4 4;
25324                }
25325                rel2 {
25326                   relative: 1.0  1.0;
25327                   offset:   -1 -5;
25328                }
25329                color: 0 0 0 128;
25330                color3: 0 0 0 0;
25331                text {
25332                   font: "Sans";
25333                   size: 8;
25334                   min: 0 1;
25335                   align: 0.0 0.5;
25336                }
25337             }
25338             description { state: "selected" 0.0;
25339                inherit: "default" 0.0;
25340                color: 128 128 128 255;
25341                color3: 0 0 0 32;
25342             }
25343          }
25344          part { name: "fg1";
25345             clip_to: "disclip";
25346             mouse_events: 0;
25347             description { state: "default" 0.0;
25348                visible: 0;
25349                color: 255 255 255 0;
25350                rel1.to: "bg";
25351                rel2.relative: 1.0 0.5;
25352                rel2.to: "bg";
25353                image {
25354                   normal: "bt_sm_hilight.png";
25355                   border: 6 6 6 0;
25356                }
25357             }
25358             description { state: "selected" 0.0;
25359                inherit: "default" 0.0;
25360                visible: 1;
25361                color: 255 255 255 255;
25362             }
25363          }
25364          part { name: "fg2";
25365             clip_to: "disclip";
25366             mouse_events: 0;
25367             description { state: "default" 0.0;
25368                visible: 0;
25369                color: 255 255 255 0;
25370                rel1.to: "bg";
25371                rel2.to: "bg";
25372                image {
25373                   normal: "bt_sm_shine.png";
25374                   border: 6 6 6 0;
25375                }
25376             }
25377             description { state: "selected" 0.0;
25378                inherit: "default" 0.0;
25379                visible: 1;
25380                color: 255 255 255 255;
25381             }
25382          }
25383          part { name: "disclip";
25384             type: RECT;
25385             description { state: "default" 0.0;
25386                rel1.to: "bg";
25387                rel2.to: "bg";
25388             }
25389             description { state: "disabled" 0.0;
25390                inherit: "default" 0.0;
25391                color: 255 255 255 64;
25392             }
25393          }
25394       }
25395       programs {
25396          // signal: elm,state,%s,active
25397          //   a "check" item named %s went active
25398          // signal: elm,state,%s,passive
25399          //   a "check" item named %s went passive
25400          // default is passive
25401          program {
25402             name:    "go_active";
25403             signal:  "elm,state,selected";
25404             source:  "elm";
25405             action:  STATE_SET "selected" 0.0;
25406             target:  "bg";
25407             target:  "fg1";
25408             target:  "fg2";
25409             target:  "elm.text.title";
25410             target:  "elm.text.length";
25411             target:  "elm.text.trackno";
25412             after:   "dot_active";
25413          }
25414          program {
25415             name: "dot_active";
25416             script {
25417                if (get_int(dot_visible) == 1)
25418                   set_state(PART:"dot", "selected", 0.0);
25419             }
25420          }
25421          program {
25422             name:    "go_passive";
25423             signal:  "elm,state,unselected";
25424             source:  "elm";
25425             action:  STATE_SET "default" 0.0;
25426             target:  "bg";
25427             target:  "fg1";
25428             target:  "fg2";
25429             target:  "elm.text.title";
25430             target:  "elm.text.length";
25431             target:  "elm.text.trackno";
25432             transition: LINEAR 0.1;
25433             after:   "dot_passive";
25434          }
25435          program {
25436             name: "dot_passive";
25437             script {
25438                if (get_int(dot_visible) == 1)
25439                   set_state(PART:"dot", "visible", 0.0);
25440             }
25441          }
25442          program {
25443             name:    "go_disabled";
25444             signal:  "elm,state,disabled";
25445             source:  "elm";
25446             action:  STATE_SET "disabled" 0.0;
25447             target:  "disclip";
25448          }
25449          program {
25450             name:    "go_enabled";
25451             signal:  "elm,state,enabled";
25452             source:  "elm";
25453             action:  STATE_SET "default" 0.0;
25454             target:  "disclip";
25455          }
25456       }
25457    }
25458
25459    group { name: "elm/genlist/item_compress/media-preview/default";
25460       data.item: "stacking" "above";
25461       data.item: "selectraise" "on";
25462       data.item: "labels" "elm.text.title elm.text.artist";
25463       data.item: "icons" "elm.swallow.preview";
25464       data.item: "treesize" "20";
25465       images {
25466          image: "bt_sm_base1.png" COMP;
25467          image: "bt_sm_shine.png" COMP;
25468          image: "bt_sm_hilight.png" COMP;
25469          image: "ilist_1.png" COMP;
25470          image: "ilist_item_shadow.png" COMP;
25471       }
25472       parts {
25473          part {
25474             name: "event";
25475             type: RECT;
25476             repeat_events: 1;
25477             description {
25478                state: "default" 0.0;
25479                color: 0 0 0 0;
25480             }
25481          }
25482          part {
25483             name: "base_sh";
25484             mouse_events: 0;
25485             description {
25486                state: "default" 0.0;
25487                align: 0.0 0.0;
25488                min: 0 10;
25489                fixed: 1 1;
25490                rel1 {
25491                   to: "base";
25492                   relative: 0.0 1.0;
25493                   offset: 0 0;
25494                }
25495                rel2 {
25496                   to: "base";
25497                   relative: 1.0 1.0;
25498                   offset: -1 0;
25499                }
25500                image {
25501                   normal: "ilist_item_shadow.png";
25502                }
25503                fill.smooth: 0;
25504             }
25505          }
25506          part {
25507             name: "base";
25508             mouse_events: 0;
25509             description {
25510                state: "default" 0.0;
25511                image {
25512                   normal: "ilist_1.png";
25513                   border: 2 2 2 2;
25514                }
25515                fill.smooth: 0;
25516             }
25517          }
25518          part { name: "bg";
25519             clip_to: "disclip";
25520             mouse_events: 0;
25521             description { state: "default" 0.0;
25522                visible: 0;
25523                color: 255 255 255 0;
25524                rel1 {
25525                   relative: 0.0 0.0;
25526                   offset: -5 -5;
25527                }
25528                rel2 {
25529                   relative: 1.0 1.0;
25530                   offset: 4 4;
25531                }
25532                image {
25533                   normal: "bt_sm_base1.png";
25534                   border: 6 6 6 6;
25535                }
25536                image.middle: SOLID;
25537             }
25538             description { state: "selected" 0.0;
25539                inherit: "default" 0.0;
25540                visible: 1;
25541                color: 255 255 255 255;
25542                rel1 {
25543                   relative: 0.0 0.0;
25544                   offset: -2 -2;
25545                }
25546                rel2 {
25547                   relative: 1.0 1.0;
25548                   offset: 1 1;
25549                }
25550             }
25551          }
25552          part { name: "elm.swallow.pad";
25553             type: SWALLOW;
25554             description { state: "default" 0.0;
25555                fixed: 1 0;
25556                align: 0.0 0.5;
25557                rel1 {
25558                   relative: 0.0  0.0;
25559                   offset:   4    4;
25560                }
25561                rel2 {
25562                   relative: 0.0  1.0;
25563                   offset:   4   -5;
25564                }
25565             }
25566          }
25567          part { name: "elm.swallow.preview";
25568             clip_to: "disclip";
25569             type: SWALLOW;
25570             description { state: "default" 0.0;
25571                fixed: 1 0;
25572                align: 0.0 0.5;
25573                min: 68 68;
25574                max: 68 68;
25575                rel1 {
25576                   to_x: "elm.swallow.pad";
25577                   relative: 1.0  0.0;
25578                   offset:   -1    4;
25579                }
25580                rel2 {
25581                   to_x: "elm.swallow.pad";
25582                   relative: 1.0  1.0;
25583                   offset:   -1   -5;
25584                }
25585             }
25586          }
25587          part { name: "elm.text.title";
25588             clip_to: "disclip";
25589             type:           TEXT;
25590             effect:         SOFT_SHADOW;
25591             mouse_events:   0;
25592             scale: 1;
25593             description {
25594                state: "default" 0.0;
25595                rel1 {
25596                   to_x:     "elm.swallow.preview";
25597                   relative: 1.0  0.0;
25598                   offset:   4 4;
25599                }
25600                rel2 {
25601                   relative: 1.0  0.5;
25602                   offset:   -1 -5;
25603                }
25604                color: 0 0 0 255;
25605                color3: 0 0 0 0;
25606                text {
25607                   font: "Sans";
25608                   size: 10;
25609                   min: 0 1;
25610                   align: 0.0 0.5;
25611                }
25612             }
25613             description { state: "selected" 0.0;
25614                inherit: "default" 0.0;
25615                color: 224 224 224 255;
25616                color3: 0 0 0 64;
25617             }
25618          }
25619          part { name: "elm.text.artist";
25620             clip_to: "disclip";
25621             type:           TEXT;
25622             mouse_events:   0;
25623             scale: 1;
25624             description {
25625                state: "default" 0.0;
25626                rel1 {
25627                   to_x:     "elm.swallow.preview";
25628                   relative: 1.0  0.5;
25629                   offset:   4 4;
25630                }
25631                rel2 {
25632                   relative: 1.0  1.0;
25633                   offset:   -1 -5;
25634                }
25635                color: 0 0 0 128;
25636                color3: 0 0 0 0;
25637                text {
25638                   font: "Sans";
25639                   size: 8;
25640                   min: 0 1;
25641                   align: 0.0 0.5;
25642                }
25643             }
25644             description { state: "selected" 0.0;
25645                inherit: "default" 0.0;
25646                color: 128 128 128 255;
25647                color3: 0 0 0 32;
25648             }
25649          }
25650          part { name: "fg1";
25651             clip_to: "disclip";
25652             mouse_events: 0;
25653             description { state: "default" 0.0;
25654                visible: 0;
25655                color: 255 255 255 0;
25656                rel1.to: "bg";
25657                rel2.relative: 1.0 0.5;
25658                rel2.to: "bg";
25659                image {
25660                   normal: "bt_sm_hilight.png";
25661                   border: 6 6 6 0;
25662                }
25663             }
25664             description { state: "selected" 0.0;
25665                inherit: "default" 0.0;
25666                visible: 1;
25667                color: 255 255 255 255;
25668             }
25669          }
25670          part { name: "fg2";
25671             clip_to: "disclip";
25672             mouse_events: 0;
25673             description { state: "default" 0.0;
25674                visible: 0;
25675                color: 255 255 255 0;
25676                rel1.to: "bg";
25677                rel2.to: "bg";
25678                image {
25679                   normal: "bt_sm_shine.png";
25680                   border: 6 6 6 0;
25681                }
25682             }
25683             description { state: "selected" 0.0;
25684                inherit: "default" 0.0;
25685                visible: 1;
25686                color: 255 255 255 255;
25687             }
25688          }
25689          part { name: "disclip";
25690             type: RECT;
25691             description { state: "default" 0.0;
25692                rel1.to: "bg";
25693                rel2.to: "bg";
25694             }
25695             description { state: "disabled" 0.0;
25696                inherit: "default" 0.0;
25697                color: 255 255 255 64;
25698             }
25699          }
25700       }
25701       programs {
25702          // signal: elm,state,%s,active
25703          //   a "check" item named %s went active
25704          // signal: elm,state,%s,passive
25705          //   a "check" item named %s went passive
25706          // default is passive
25707          program {
25708             name:    "go_active";
25709             signal:  "elm,state,selected";
25710             source:  "elm";
25711             action:  STATE_SET "selected" 0.0;
25712             target:  "bg";
25713             target:  "fg1";
25714             target:  "fg2";
25715             target:  "elm.text.title";
25716             target:  "elm.text.artist";
25717          }
25718          program {
25719             name:    "go_passive";
25720             signal:  "elm,state,unselected";
25721             source:  "elm";
25722             action:  STATE_SET "default" 0.0;
25723             target:  "bg";
25724             target:  "fg1";
25725             target:  "fg2";
25726             target:  "elm.text.title";
25727             target:  "elm.text.artist";
25728             transition: LINEAR 0.1;
25729          }
25730          program {
25731             name:    "go_disabled";
25732             signal:  "elm,state,disabled";
25733             source:  "elm";
25734             action:  STATE_SET "disabled" 0.0;
25735             target:  "disclip";
25736          }
25737          program {
25738             name:    "go_enabled";
25739             signal:  "elm,state,enabled";
25740             source:  "elm";
25741             action:  STATE_SET "default" 0.0;
25742             target:  "disclip";
25743          }
25744       }
25745    }
25746    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25747       data.item: "stacking" "below";
25748       data.item: "selectraise" "on";
25749       data.item: "labels" "elm.text.title elm.text.artist";
25750       data.item: "icons" "elm.swallow.preview";
25751       data.item: "treesize" "20";
25752       images {
25753          image: "bt_sm_base1.png" COMP;
25754          image: "bt_sm_shine.png" COMP;
25755          image: "bt_sm_hilight.png" COMP;
25756          image: "ilist_2.png" COMP;
25757       }
25758       parts {
25759          part { name: "event";
25760             type: RECT;
25761             repeat_events: 1;
25762             description {
25763                state: "default" 0.0;
25764                color: 0 0 0 0;
25765             }
25766          }
25767          part {
25768             name: "base";
25769             mouse_events: 0;
25770             description {
25771                state: "default" 0.0;
25772                image {
25773                   normal: "ilist_2.png";
25774                   border: 2 2 2 2;
25775                }
25776                fill.smooth: 0;
25777             }
25778          }
25779          part { name: "bg";
25780             clip_to: "disclip";
25781             mouse_events: 0;
25782             description { state: "default" 0.0;
25783                visible: 0;
25784                color: 255 255 255 0;
25785                rel1 {
25786                   relative: 0.0 0.0;
25787                   offset: -5 -5;
25788                }
25789                rel2 {
25790                   relative: 1.0 1.0;
25791                   offset: 4 4;
25792                }
25793                image {
25794                   normal: "bt_sm_base1.png";
25795                   border: 6 6 6 6;
25796                }
25797                image.middle: SOLID;
25798             }
25799             description { state: "selected" 0.0;
25800                inherit: "default" 0.0;
25801                visible: 1;
25802                color: 255 255 255 255;
25803                rel1 {
25804                   relative: 0.0 0.0;
25805                   offset: -2 -2;
25806                }
25807                rel2 {
25808                   relative: 1.0 1.0;
25809                   offset: 1 1;
25810                }
25811             }
25812          }
25813          part { name: "elm.swallow.pad";
25814             type: SWALLOW;
25815             description { state: "default" 0.0;
25816                fixed: 1 0;
25817                align: 0.0 0.5;
25818                rel1 {
25819                   relative: 0.0  0.0;
25820                   offset:   4    4;
25821                }
25822                rel2 {
25823                   relative: 0.0  1.0;
25824                   offset:   4   -5;
25825                }
25826             }
25827          }
25828          part { name: "elm.swallow.preview";
25829             clip_to: "disclip";
25830             type: SWALLOW;
25831             description { state: "default" 0.0;
25832                fixed: 1 0;
25833                align: 0.0 0.5;
25834                min: 68 68;
25835                max: 68 68;
25836                rel1 {
25837                   to_x: "elm.swallow.pad";
25838                   relative: 1.0  0.0;
25839                   offset:   -1    4;
25840                }
25841                rel2 {
25842                   to_x: "elm.swallow.pad";
25843                   relative: 1.0  1.0;
25844                   offset:   -1   -5;
25845                }
25846             }
25847          }
25848          part { name: "elm.text.title";
25849             clip_to: "disclip";
25850             type:           TEXT;
25851             effect:         SOFT_SHADOW;
25852             mouse_events:   0;
25853             scale: 1;
25854             description {
25855                state: "default" 0.0;
25856                rel1 {
25857                   to_x:     "elm.swallow.preview";
25858                   relative: 1.0  0.0;
25859                   offset:   4 4;
25860                }
25861                rel2 {
25862                   relative: 1.0  0.5;
25863                   offset:   -1 -5;
25864                }
25865                color: 0 0 0 255;
25866                color3: 0 0 0 0;
25867                text {
25868                   font: "Sans";
25869                   size: 10;
25870                   min: 0 1;
25871                   align: 0.0 0.5;
25872                }
25873             }
25874             description { state: "selected" 0.0;
25875                inherit: "default" 0.0;
25876                color: 224 224 224 255;
25877                color3: 0 0 0 64;
25878             }
25879          }
25880          part { name: "elm.text.artist";
25881             clip_to: "disclip";
25882             type:           TEXT;
25883             mouse_events:   0;
25884             scale: 1;
25885             description {
25886                state: "default" 0.0;
25887                rel1 {
25888                   to_x:     "elm.swallow.preview";
25889                   relative: 1.0  0.5;
25890                   offset:   4 4;
25891                }
25892                rel2 {
25893                   relative: 1.0  1.0;
25894                   offset:   -1 -5;
25895                }
25896                color: 0 0 0 128;
25897                color3: 0 0 0 0;
25898                text {
25899                   font: "Sans";
25900                   size: 8;
25901                   min: 0 1;
25902                   align: 0.0 0.5;
25903                }
25904             }
25905             description { state: "selected" 0.0;
25906                inherit: "default" 0.0;
25907                color: 128 128 128 255;
25908                color3: 0 0 0 32;
25909             }
25910          }
25911          part { name: "fg1";
25912             clip_to: "disclip";
25913             mouse_events: 0;
25914             description { state: "default" 0.0;
25915                visible: 0;
25916                color: 255 255 255 0;
25917                rel1.to: "bg";
25918                rel2.relative: 1.0 0.5;
25919                rel2.to: "bg";
25920                image {
25921                   normal: "bt_sm_hilight.png";
25922                   border: 6 6 6 0;
25923                }
25924             }
25925             description { state: "selected" 0.0;
25926                inherit: "default" 0.0;
25927                visible: 1;
25928                color: 255 255 255 255;
25929             }
25930          }
25931          part { name: "fg2";
25932             clip_to: "disclip";
25933             mouse_events: 0;
25934             description { state: "default" 0.0;
25935                visible: 0;
25936                color: 255 255 255 0;
25937                rel1.to: "bg";
25938                rel2.to: "bg";
25939                image {
25940                   normal: "bt_sm_shine.png";
25941                   border: 6 6 6 0;
25942                }
25943             }
25944             description { state: "selected" 0.0;
25945                inherit: "default" 0.0;
25946                visible: 1;
25947                color: 255 255 255 255;
25948             }
25949          }
25950          part { name: "disclip";
25951             type: RECT;
25952             description { state: "default" 0.0;
25953                rel1.to: "bg";
25954                rel2.to: "bg";
25955             }
25956             description { state: "disabled" 0.0;
25957                inherit: "default" 0.0;
25958                color: 255 255 255 64;
25959             }
25960          }
25961       }
25962       programs {
25963          // signal: elm,state,%s,active
25964          //   a "check" item named %s went active
25965          // signal: elm,state,%s,passive
25966          //   a "check" item named %s went passive
25967          // default is passive
25968          program {
25969             name:    "go_active";
25970             signal:  "elm,state,selected";
25971             source:  "elm";
25972             action:  STATE_SET "selected" 0.0;
25973             target:  "bg";
25974             target:  "fg1";
25975             target:  "fg2";
25976             target:  "elm.text.title";
25977             target:  "elm.text.artist";
25978          }
25979          program {
25980             name:    "go_passive";
25981             signal:  "elm,state,unselected";
25982             source:  "elm";
25983             action:  STATE_SET "default" 0.0;
25984             target:  "bg";
25985             target:  "fg1";
25986             target:  "fg2";
25987             target:  "elm.text.title";
25988             target:  "elm.text.artist";
25989             transition: LINEAR 0.1;
25990          }
25991          program {
25992             name:    "go_disabled";
25993             signal:  "elm,state,disabled";
25994             source:  "elm";
25995             action:  STATE_SET "disabled" 0.0;
25996             target:  "disclip";
25997          }
25998          program {
25999             name:    "go_enabled";
26000             signal:  "elm,state,enabled";
26001             source:  "elm";
26002             action:  STATE_SET "default" 0.0;
26003             target:  "disclip";
26004          }
26005       }
26006    }
26007
26008    group { name: "elm/genlist/item/mode/default";
26009       data.item: "stacking" "above";
26010       data.item: "selectraise" "on";
26011       data.item: "labels" "elm.text.mode";
26012       data.item: "icons" "elm.swallow.mode";
26013       data.item: "mode_part" "elm.swallow.origin";
26014       data.item: "treesize" "20";
26015       images {
26016          image: "bt_sm_base1.png" COMP;
26017          image: "bt_sm_shine.png" COMP;
26018          image: "bt_sm_hilight.png" COMP;
26019          image: "ilist_1.png" COMP;
26020          image: "ilist_item_shadow.png" COMP;
26021       }
26022
26023       parts {
26024          part {
26025             name: "event";
26026             type: RECT;
26027             repeat_events: 1;
26028             description {
26029                state: "default" 0.0;
26030                color: 0 0 0 0;
26031             }
26032          }
26033          part {
26034             name: "base_sh";
26035             mouse_events: 0;
26036             description {
26037                state: "default" 0.0;
26038                align: 0.0 0.0;
26039                min: 0 10;
26040                fixed: 1 1;
26041                rel1 {
26042                   to: "base";
26043                   relative: 0.0 1.0;
26044                   offset: 0 0;
26045                }
26046                rel2 {
26047                   to: "base";
26048                   relative: 1.0 1.0;
26049                   offset: -1 0;
26050                }
26051                image {
26052                   normal: "ilist_item_shadow.png";
26053                }
26054                fill.smooth: 0;
26055             }
26056          }
26057          part {
26058             name: "base";
26059             mouse_events: 0;
26060             description {
26061                state: "default" 0.0;
26062                image {
26063                   normal: "ilist_1.png";
26064                   border: 2 2 2 2;
26065                }
26066                fill.smooth: 0;
26067             }
26068          }
26069          part { name: "bg";
26070             clip_to: "disclip";
26071             mouse_events: 0;
26072             description { state: "default" 0.0;
26073                visible: 0;
26074                color: 255 255 255 0;
26075                rel1 {
26076                   relative: 0.0 0.0;
26077                   offset: -5 -5;
26078                }
26079                rel2 {
26080                   relative: 1.0 1.0;
26081                   offset: 4 4;
26082                }
26083                image {
26084                   normal: "bt_sm_base1.png";
26085                   border: 6 6 6 6;
26086                }
26087                image.middle: SOLID;
26088             }
26089             description { state: "selected" 0.0;
26090                inherit: "default" 0.0;
26091                visible: 1;
26092                color: 255 255 255 255;
26093                rel1 {
26094                   relative: 0.0 0.0;
26095                   offset: -2 -2;
26096                }
26097                rel2 {
26098                   relative: 1.0 1.0;
26099                   offset: 1 1;
26100                }
26101             }
26102          }
26103          part { name: "elm.text.mode";
26104             clip_to: "disclip";
26105             type: TEXT;
26106             scale: 1;
26107             description { state: "default" 0.0;
26108                rel2.relative: 0.5 1.0;
26109                color: 0 0 0 255;
26110                text {
26111                   font: "Sans";
26112                   size: 10;
26113                   min: 1 1;
26114                   align: 0.5 0.5;
26115                   text_class: "list_item";
26116                }
26117             }
26118          }
26119         part { name: "elm.swallow.mode";
26120             clip_to: "disclip";
26121             type: SWALLOW;
26122             description { state: "default" 0.0;
26123                rel1.relative: 0.5 0.0;
26124             }
26125          }
26126          part { name: "fg1";
26127             clip_to: "disclip";
26128             mouse_events: 0;
26129             description { state: "default" 0.0;
26130                visible: 0;
26131                color: 255 255 255 0;
26132                rel1.to: "bg";
26133                rel2.relative: 1.0 0.5;
26134                rel2.to: "bg";
26135                image {
26136                   normal: "bt_sm_hilight.png";
26137                   border: 6 6 6 0;
26138                }
26139             }
26140             description { state: "selected" 0.0;
26141                inherit: "default" 0.0;
26142                visible: 1;
26143                color: 255 255 255 255;
26144             }
26145          }
26146          part { name: "fg2";
26147             clip_to: "disclip";
26148             mouse_events: 0;
26149             description { state: "default" 0.0;
26150                visible: 0;
26151                color: 255 255 255 0;
26152                rel1.to: "bg";
26153                rel2.to: "bg";
26154                image {
26155                   normal: "bt_sm_shine.png";
26156                   border: 6 6 6 0;
26157                }
26158             }
26159             description { state: "selected" 0.0;
26160                inherit: "default" 0.0;
26161                visible: 1;
26162                color: 255 255 255 255;
26163             }
26164          }
26165          // Transparent part between base parts and slidable parts
26166          part { name: "event_block_layer";
26167             type: RECT;
26168             clip_to: "disclip";
26169             mouse_events: 1;
26170             description { state: "default" 0.0;
26171                rel1.to: "base";
26172                rel2.to: "base";
26173                color: 0 0 0 0;
26174             }
26175             description { state: "repeat_events" 0.0;
26176                inherit: "default" 0.0;
26177                visible: 0;
26178             }
26179          }
26180          part { name: "pers";
26181             clip_to: "disclip";
26182             type: RECT;
26183             description { state: "default" 0.0;
26184                rel1.relative: 0.0 1.0;
26185             }
26186          }
26187          part { name: "elm.swallow.origin";
26188             clip_to: "disclip";
26189             type: SWALLOW;
26190             description { state: "default" 0.0;
26191                fixed: 1 0;
26192                align: 0.0 0.5;
26193             }
26194             description { state: "slide" 0.0;
26195                inherit: "default" 0.0;
26196                rel1.relative: 1 0;
26197                rel2.relative: 2 1;
26198             }
26199             description { state: "rotate" 0.0;
26200                inherit: "default" 0.0;
26201                map {
26202                   perspective: "pers";
26203                   on: 1;
26204                   smooth: 1;
26205                   perspective_on: 1;
26206                   backface_cull: 1;
26207                   rotation {
26208                      center: "pers";
26209                      x: 0.0;
26210                      y: 0.0;
26211                      z: 0.0;
26212                   }
26213                }
26214             }
26215             description { state: "rotate" 1.0;
26216                inherit: "default" 0.0;
26217                map {
26218                   perspective: "pers";
26219                   on: 1;
26220                   smooth: 1;
26221                   perspective_on: 1;
26222                   backface_cull: 1;
26223                   rotation {
26224                      center: "pers";
26225                      x: 90.0;
26226                      y: 0.0;
26227                      z: 0.0;
26228                   }
26229                }
26230             }
26231          }
26232          part { name: "disclip";
26233             type: RECT;
26234             description { state: "default" 0.0;
26235                rel1.to: "bg";
26236                rel2.to: "bg";
26237             }
26238             description { state: "disabled" 0.0;
26239                inherit: "default" 0.0;
26240                color: 255 255 255 64;
26241             }
26242          }
26243       }
26244       programs {
26245          program {
26246             name:    "go_active";
26247             signal:  "elm,state,selected";
26248             source:  "elm";
26249             action:  STATE_SET "selected" 0.0;
26250             target:  "bg";
26251             target:  "fg1";
26252             target:  "fg2";
26253          }
26254          program {
26255             name:    "go_passive";
26256             signal:  "elm,state,unselected";
26257             source:  "elm";
26258             action:  STATE_SET "default" 0.0;
26259             target:  "bg";
26260             target:  "fg1";
26261             target:  "fg2";
26262             transition: LINEAR 0.1;
26263          }
26264          program {
26265             name:    "go_disabled";
26266             signal:  "elm,state,disabled";
26267             source:  "elm";
26268             action:  STATE_SET "disabled" 0.0;
26269             target:  "disclip";
26270          }
26271          program {
26272             name:    "go_enabled";
26273             signal:  "elm,state,enabled";
26274             source:  "elm";
26275             action:  STATE_SET "default" 0.0;
26276             target:  "disclip";
26277          }
26278          program {
26279             name:    "slide_right";
26280             signal:  "elm,state,slide,active";
26281             source:  "elm";
26282             action:  STATE_SET "slide" 0.0;
26283             target:  "elm.swallow.origin";
26284             transition: ACCELERATE 0.5;
26285             after:   "unblock_event";
26286          }
26287          program {
26288             name:    "unblock_event";
26289             action:  STATE_SET "repeat_events" 0.0;
26290             target:  "event_block_layer";
26291          }
26292          program {
26293             name:    "slide_left";
26294             signal:  "elm,state,slide,passive";
26295             source:  "elm";
26296             action:  STATE_SET "default" 0.0;
26297             target:   "event_block_layer";
26298             after:   "slide_left2";
26299          }
26300          program {
26301             name:    "slide_left2";
26302             action:  STATE_SET "default" 0.0;
26303             target:  "elm.swallow.origin";
26304             transition: DECELERATE 0.5;
26305             after:   "slide_left_finished";
26306          }
26307          program {
26308             name:    "slide_left_finished";
26309             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
26310          }
26311          program {
26312             name:    "rotate_on";
26313             signal:  "elm,state,rotate,active";
26314             source:  "elm";
26315             action:  STATE_SET "rotate" 0.0;
26316             target:  "elm.swallow.origin";
26317             after:   "rotate_on2";
26318          }
26319          program {
26320             name:    "rotate_on2";
26321             action:  STATE_SET "rotate" 1.0;
26322             target:  "elm.swallow.origin";
26323             transition: LINEAR 0.5;
26324             after:   "unblock_event";
26325          }
26326          program {
26327             name:    "rotate_off";
26328             signal:  "elm,state,rotate,passive";
26329             source:  "elm";
26330             action:  STATE_SET "default" 0.0;
26331             target:  "event_block_layer";
26332             after:   "rotate_off2";
26333          }
26334          program {
26335             name:    "rotate_off2";
26336             action:  STATE_SET "rotate" 0.0;
26337             transition: LINEAR 0.5;
26338             target:  "elm.swallow.origin";
26339             after:   "rotate_off3";
26340          }
26341          program {
26342             name:    "rotate_off3";
26343             action:  STATE_SET "default" 0.0;
26344             target:  "elm.swallow.origin";
26345             after:   "rotate_off_finished";
26346          }
26347          program {
26348             name:    "rotate_off_finished";
26349             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
26350          }
26351       }
26352    }
26353
26354    group { name: "elm/genlist/item_odd/mode/default";
26355       data.item: "stacking" "below";
26356       data.item: "selectraise" "on";
26357       data.item: "labels" "elm.text.mode";
26358       data.item: "icons" "elm.swallow.mode";
26359       data.item: "mode_part" "elm.swallow.origin";
26360       data.item: "treesize" "20";
26361       images {
26362          image: "bt_sm_base1.png" COMP;
26363          image: "bt_sm_shine.png" COMP;
26364          image: "bt_sm_hilight.png" COMP;
26365          image: "ilist_2.png" COMP;
26366       }
26367
26368       parts {
26369          part {
26370             name: "event";
26371             type: RECT;
26372             repeat_events: 1;
26373             description {
26374                state: "default" 0.0;
26375                color: 0 0 0 0;
26376             }
26377          }
26378          part {
26379             name: "base";
26380             mouse_events: 0;
26381             description {
26382                state: "default" 0.0;
26383                image {
26384                   normal: "ilist_2.png";
26385                   border: 2 2 2 2;
26386                }
26387                fill.smooth: 0;
26388             }
26389          }
26390          part { name: "bg";
26391             clip_to: "disclip";
26392             mouse_events: 0;
26393             description { state: "default" 0.0;
26394                visible: 0;
26395                color: 255 255 255 0;
26396                rel1 {
26397                   relative: 0.0 0.0;
26398                   offset: -5 -5;
26399                }
26400                rel2 {
26401                   relative: 1.0 1.0;
26402                   offset: 4 4;
26403                }
26404                image {
26405                   normal: "bt_sm_base1.png";
26406                   border: 6 6 6 6;
26407                }
26408                image.middle: SOLID;
26409             }
26410             description { state: "selected" 0.0;
26411                inherit: "default" 0.0;
26412                visible: 1;
26413                color: 255 255 255 255;
26414                rel1 {
26415                   relative: 0.0 0.0;
26416                   offset: -2 -2;
26417                }
26418                rel2 {
26419                   relative: 1.0 1.0;
26420                   offset: 1 1;
26421                }
26422             }
26423          }
26424          part { name: "elm.text.mode";
26425             clip_to: "disclip";
26426             type: TEXT;
26427             scale: 1;
26428             description { state: "default" 0.0;
26429                rel2.relative: 0.5 1.0;
26430                color: 0 0 0 255;
26431                text {
26432                   font: "Sans";
26433                   size: 10;
26434                   min: 1 1;
26435                   align: 0.5 0.5;
26436                   text_class: "list_item";
26437                }
26438             }
26439          }
26440         part { name: "elm.swallow.mode";
26441             clip_to: "disclip";
26442             type: SWALLOW;
26443             description { state: "default" 0.0;
26444                rel1.relative: 0.5 0.0;
26445             }
26446          }
26447          part { name: "fg1";
26448             clip_to: "disclip";
26449             mouse_events: 0;
26450             description { state: "default" 0.0;
26451                visible: 0;
26452                color: 255 255 255 0;
26453                rel1.to: "bg";
26454                rel2.relative: 1.0 0.5;
26455                rel2.to: "bg";
26456                image {
26457                   normal: "bt_sm_hilight.png";
26458                   border: 6 6 6 0;
26459                }
26460             }
26461             description { state: "selected" 0.0;
26462                inherit: "default" 0.0;
26463                visible: 1;
26464                color: 255 255 255 255;
26465             }
26466          }
26467          part { name: "fg2";
26468             clip_to: "disclip";
26469             mouse_events: 0;
26470             description { state: "default" 0.0;
26471                visible: 0;
26472                color: 255 255 255 0;
26473                rel1.to: "bg";
26474                rel2.to: "bg";
26475                image {
26476                   normal: "bt_sm_shine.png";
26477                   border: 6 6 6 0;
26478                }
26479             }
26480             description { state: "selected" 0.0;
26481                inherit: "default" 0.0;
26482                visible: 1;
26483                color: 255 255 255 255;
26484             }
26485          }
26486          // Transparent part between base parts and slidable parts
26487          part { name: "event_block_layer";
26488             type: RECT;
26489             clip_to: "disclip";
26490             mouse_events: 1;
26491             description { state: "default" 0.0;
26492                rel1.to: "base";
26493                rel2.to: "base";
26494                color: 0 0 0 0;
26495             }
26496             description { state: "repeat_events" 0.0;
26497                inherit: "default" 0.0;
26498                visible: 0;
26499             }
26500          }
26501          part { name: "pers";
26502             clip_to: "disclip";
26503             type: RECT;
26504             description { state: "default" 0.0;
26505                rel1.relative: 0.0 1.0;
26506             }
26507          }
26508          part { name: "elm.swallow.origin";
26509             clip_to: "disclip";
26510             type: SWALLOW;
26511             description { state: "default" 0.0;
26512                fixed: 1 0;
26513                align: 0.0 0.5;
26514             }
26515             description { state: "slide" 0.0;
26516                inherit: "default" 0.0;
26517                rel1.relative: 1 0;
26518                rel2.relative: 2 1;
26519             }
26520             description { state: "rotate" 0.0;
26521                inherit: "default" 0.0;
26522                map {
26523                   perspective: "pers";
26524                   on: 1;
26525                   smooth: 1;
26526                   perspective_on: 1;
26527                   backface_cull: 1;
26528                   rotation {
26529                      center: "pers";
26530                      x: 0.0;
26531                      y: 0.0;
26532                      z: 0.0;
26533                   }
26534                }
26535             }
26536             description { state: "rotate" 1.0;
26537                inherit: "default" 0.0;
26538                map {
26539                   perspective: "pers";
26540                   on: 1;
26541                   smooth: 1;
26542                   perspective_on: 1;
26543                   backface_cull: 1;
26544                   rotation {
26545                      center: "pers";
26546                      x: 90.0;
26547                      y: 0.0;
26548                      z: 0.0;
26549                   }
26550                }
26551             }
26552          }
26553          part { name: "disclip";
26554             type: RECT;
26555             description { state: "default" 0.0;
26556                rel1.to: "bg";
26557                rel2.to: "bg";
26558             }
26559             description { state: "disabled" 0.0;
26560                inherit: "default" 0.0;
26561                color: 255 255 255 64;
26562             }
26563          }
26564       }
26565       programs {
26566          program {
26567             name:    "go_active";
26568             signal:  "elm,state,selected";
26569             source:  "elm";
26570             action:  STATE_SET "selected" 0.0;
26571             target:  "bg";
26572             target:  "fg1";
26573             target:  "fg2";
26574          }
26575          program {
26576             name:    "go_passive";
26577             signal:  "elm,state,unselected";
26578             source:  "elm";
26579             action:  STATE_SET "default" 0.0;
26580             target:  "bg";
26581             target:  "fg1";
26582             target:  "fg2";
26583             transition: LINEAR 0.1;
26584          }
26585          program {
26586             name:    "go_disabled";
26587             signal:  "elm,state,disabled";
26588             source:  "elm";
26589             action:  STATE_SET "disabled" 0.0;
26590             target:  "disclip";
26591          }
26592          program {
26593             name:    "go_enabled";
26594             signal:  "elm,state,enabled";
26595             source:  "elm";
26596             action:  STATE_SET "default" 0.0;
26597             target:  "disclip";
26598          }
26599          program {
26600             name:    "slide_right";
26601             signal:  "elm,state,slide,active";
26602             source:  "elm";
26603             action:  STATE_SET "slide" 0.0;
26604             target:  "elm.swallow.origin";
26605             transition: ACCELERATE 0.5;
26606             after:   "unblock_event";
26607          }
26608          program {
26609             name:    "unblock_event";
26610             action:  STATE_SET "repeat_events" 0.0;
26611             target:  "event_block_layer";
26612          }
26613          program {
26614             name:    "slide_left";
26615             signal:  "elm,state,slide,passive";
26616             source:  "elm";
26617             action:  STATE_SET "default" 0.0;
26618             target:   "event_block_layer";
26619             after:   "slide_left2";
26620          }
26621          program {
26622             name:    "slide_left2";
26623             action:  STATE_SET "default" 0.0;
26624             target:  "elm.swallow.origin";
26625             transition: DECELERATE 0.5;
26626             after:   "slide_left_finished";
26627          }
26628          program {
26629             name:    "slide_left_finished";
26630             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
26631          }
26632          program {
26633             name:    "rotate_on";
26634             signal:  "elm,state,rotate,active";
26635             source:  "elm";
26636             action:  STATE_SET "rotate" 0.0;
26637             target:  "elm.swallow.origin";
26638             after:   "rotate_on2";
26639          }
26640          program {
26641             name:    "rotate_on2";
26642             action:  STATE_SET "rotate" 1.0;
26643             target:  "elm.swallow.origin";
26644             transition: LINEAR 0.5;
26645             after:   "unblock_event";
26646          }
26647          program {
26648             name:    "rotate_off";
26649             signal:  "elm,state,rotate,passive";
26650             source:  "elm";
26651             action:  STATE_SET "default" 0.0;
26652             target:  "event_block_layer";
26653             after:   "rotate_off2";
26654          }
26655          program {
26656             name:    "rotate_off2";
26657             signal:  "elm,state,rotate,passive";
26658             source:  "elm";
26659             action:  STATE_SET "rotate" 0.0;
26660             transition: LINEAR 0.5;
26661             target:  "elm.swallow.origin";
26662             after:   "rotate_off3";
26663          }
26664          program {
26665             name:    "rotate_off3";
26666             action:  STATE_SET "default" 0.0;
26667             target:  "elm.swallow.origin";
26668             after:   "rotate_off_finished";
26669          }
26670          program {
26671             name:    "rotate_off_finished";
26672             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
26673          }
26674       }
26675    }
26676
26677 ///////////////////////////////////////////////////////////////////////////////
26678    group { name: "elm/pager/base/default";
26679       data.item: "onshow" "raise";
26680 // other options
26681 //      data.item: "onhide" "lower";
26682 //      data.item: "onshow" "lower";
26683       images {
26684          image: "frame_1.png" COMP;
26685          image: "frame_2.png" COMP;
26686          image: "dia_grad.png" COMP;
26687       }
26688       parts {
26689          part { name: "clip";
26690             type: RECT;
26691             mouse_events: 0;
26692             description { state: "default" 0.0;
26693                rel1 {
26694                   to: "base";
26695                   offset: -9999 -9999;
26696                }
26697                rel2 {
26698                   to: "base";
26699                   offset: 9999 9999;
26700                }
26701                color: 255 255 255 255;
26702             }
26703             description { state: "visible" 0.0;
26704                inherit: "default" 0.0;
26705             }
26706             description { state: "hidden" 0.0;
26707                inherit: "default" 0.0;
26708                color: 255 255 255 0;
26709                visible: 0;
26710             }
26711          }
26712          part { name: "base0";
26713             mouse_events:  0;
26714             clip_to: "clip";
26715             description { state: "default" 0.0;
26716                image.normal: "dia_grad.png";
26717                rel1.to: "over";
26718                rel2.to: "over";
26719                fill {
26720                   smooth: 0;
26721                   size {
26722                      relative: 0.0 1.0;
26723                      offset: 64 0;
26724                   }
26725                }
26726             }
26727          }
26728          part { name: "base";
26729             mouse_events:  0;
26730             clip_to: "clip";
26731             description { state: "default" 0.0;
26732                image {
26733                   normal: "frame_2.png";
26734                   border: 5 5 32 26;
26735                   middle: 0;
26736                }
26737                fill.smooth : 0;
26738             }
26739             description { state: "hidden" 0.0;
26740                inherit: "default" 0.0;
26741                rel1.relative: -1.0 0.0;
26742                rel2.relative: 0.0 1.0;
26743             }
26744             description { state: "visible" 0.0;
26745                inherit: "default" 0.0;
26746                rel1.relative: 0.0 0.0;
26747                rel2.relative: 1.0 1.0;
26748             }
26749          }
26750          part { name: "over";
26751             mouse_events:  0;
26752             clip_to: "clip";
26753             description { state:    "default" 0.0;
26754                rel1 {
26755                   to: "base";
26756                   offset: 4 4;
26757                }
26758                rel2 {
26759                   to: "base";
26760                   offset: -5 -5;
26761                }
26762                image {
26763                   normal: "frame_1.png";
26764                   border: 2 2 28 22;
26765                   middle: 0;
26766                }
26767                fill.smooth : 0;
26768             }
26769          }
26770          part { name: "elm.swallow.content";
26771             type: SWALLOW;
26772             clip_to: "clip";
26773             description { state: "default" 0.0;
26774                rel1 {
26775                   to: "base";
26776                   offset: 8 8;
26777                }
26778                rel2 {
26779                   to: "base";
26780                   offset: -9 -9;
26781                }
26782             }
26783          }
26784       }
26785       programs {
26786          program { name: "push_start";
26787             signal: "elm,action,push";
26788             source: "elm";
26789             action:  STATE_SET "hidden" 0.0;
26790             target: "base";
26791             target: "clip";
26792             after: "show_start2";
26793          }
26794          program { name: "show_start";
26795             signal: "elm,action,show";
26796             source: "elm";
26797             action:  STATE_SET "hidden" 0.0;
26798             target: "base";
26799             target: "clip";
26800             after: "show_start2";
26801          }
26802          program { name: "show_start2";
26803             action:  STATE_SET "visible" 0.0;
26804             transition: DECELERATE 0.5;
26805             target: "base";
26806             target: "clip";
26807             after: "show_end";
26808          }
26809          program { name: "show_end";
26810             action: SIGNAL_EMIT "elm,action,show,finished" "";
26811          }
26812          program { name: "pop_start";
26813             signal: "elm,action,pop";
26814             source: "elm";
26815             action:  STATE_SET "visible" 0.0;
26816             target: "base";
26817             target: "clip";
26818             after: "hide_start2";
26819          }
26820          program { name: "hide_start";
26821             signal: "elm,action,hide";
26822             source: "elm";
26823             action:  STATE_SET "visible" 0.0;
26824             target: "base";
26825             target: "clip";
26826             after: "hide_start2";
26827          }
26828          program { name: "hide_start2";
26829             action:  STATE_SET "hidden" 0.0;
26830             transition: DECELERATE 0.5;
26831             target: "base";
26832             target: "clip";
26833             after: "hide_end";
26834          }
26835          program { name: "hide_end";
26836             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26837          }
26838          program { name: "reset";
26839             signal: "elm,action,reset";
26840             source: "elm";
26841             action:  STATE_SET "default" 0.0;
26842             target: "base";
26843             target: "clip";
26844          }
26845       }
26846    }
26847
26848    group { name: "elm/pager/base/slide";
26849       images {
26850          image: "frame_1.png" COMP;
26851          image: "frame_2.png" COMP;
26852          image: "dia_grad.png" COMP;
26853       }
26854       parts {
26855          part { name: "clip";
26856             type: RECT;
26857             mouse_events: 0;
26858             description { state: "default" 0.0;
26859                rel1 {
26860                   to: "base";
26861                   offset: -9999 -9999;
26862                }
26863                rel2 {
26864                   to: "base";
26865                   offset: 9999 9999;
26866                }
26867                color: 255 255 255 255;
26868             }
26869             description { state: "visible" 0.0;
26870                inherit: "default" 0.0;
26871             }
26872             description { state: "hidden" 0.0;
26873                inherit: "default" 0.0;
26874                color: 255 255 255 0;
26875                visible: 0;
26876             }
26877             description { state: "hidden2" 0.0;
26878                inherit: "default" 0.0;
26879                color: 255 255 255 0;
26880                visible: 0;
26881             }
26882          }
26883          part { name: "base0";
26884             mouse_events:  0;
26885             clip_to: "clip";
26886             description { state: "default" 0.0;
26887                image.normal: "dia_grad.png";
26888                rel1.to: "over";
26889                rel2.to: "over";
26890                fill {
26891                   smooth: 0;
26892                   size {
26893                      relative: 0.0 1.0;
26894                      offset: 64 0;
26895                   }
26896                }
26897             }
26898          }
26899          part { name: "base";
26900             mouse_events:  0;
26901             clip_to: "clip";
26902             description { state: "default" 0.0;
26903                image {
26904                   normal: "frame_2.png";
26905                   border: 5 5 32 26;
26906                   middle: 0;
26907                }
26908                fill.smooth : 0;
26909             }
26910             description { state: "hidden" 0.0;
26911                inherit: "default" 0.0;
26912                rel1.relative: -1.0 0.0;
26913                rel2.relative: 0.0 1.0;
26914             }
26915             description { state: "hidden2" 0.0;
26916                inherit: "default" 0.0;
26917                rel1.relative: 1.0 0.0;
26918                rel2.relative: 2.0 1.0;
26919             }
26920             description { state: "visible" 0.0;
26921                inherit: "default" 0.0;
26922                rel1.relative: 0.0 0.0;
26923                rel2.relative: 1.0 1.0;
26924             }
26925          }
26926          part { name: "over";
26927             mouse_events:  0;
26928             clip_to: "clip";
26929             description { state:    "default" 0.0;
26930                rel1 {
26931                   to: "base";
26932                   offset: 4 4;
26933                }
26934                rel2 {
26935                   to: "base";
26936                   offset: -5 -5;
26937                }
26938                image {
26939                   normal: "frame_1.png";
26940                   border: 2 2 28 22;
26941                   middle: 0;
26942                }
26943                fill.smooth : 0;
26944             }
26945          }
26946          part { name: "elm.swallow.content";
26947             type: SWALLOW;
26948             clip_to: "clip";
26949             description { state: "default" 0.0;
26950                rel1 {
26951                   to: "base";
26952                   offset: 8 8;
26953                }
26954                rel2 {
26955                   to: "base";
26956                   offset: -9 -9;
26957                }
26958             }
26959          }
26960       }
26961       programs {
26962          program { name: "push_start";
26963             signal: "elm,action,push";
26964             source: "elm";
26965             action:  STATE_SET "hidden2" 0.0;
26966             target: "base";
26967             target: "clip";
26968             after: "show_start2";
26969          }
26970          program { name: "show_start";
26971             signal: "elm,action,show";
26972             source: "elm";
26973             action:  STATE_SET "hidden" 0.0;
26974             target: "base";
26975             target: "clip";
26976             after: "show_start2";
26977          }
26978          program { name: "show_start2";
26979             action:  STATE_SET "visible" 0.0;
26980             transition: DECELERATE 0.5;
26981             target: "base";
26982             target: "clip";
26983             after: "show_end";
26984          }
26985          program { name: "show_end";
26986             action: SIGNAL_EMIT "elm,action,show,finished" "";
26987          }
26988          program { name: "pop_start";
26989             signal: "elm,action,pop";
26990             source: "elm";
26991             action:  STATE_SET "visible" 0.0;
26992             target: "base";
26993             target: "clip";
26994             after: "pop_start2";
26995          }
26996          program { name: "pop_start2";
26997             action:  STATE_SET "hidden2" 0.0;
26998             transition: DECELERATE 0.5;
26999             target: "base";
27000             target: "clip";
27001             after: "hide_end";
27002          }
27003          program { name: "hide_start";
27004             signal: "elm,action,hide";
27005             source: "elm";
27006             action:  STATE_SET "visible" 0.0;
27007             target: "base";
27008             target: "clip";
27009             after: "hide_start2";
27010          }
27011          program { name: "hide_start2";
27012             action:  STATE_SET "hidden" 0.0;
27013             transition: DECELERATE 0.5;
27014             target: "base";
27015             target: "clip";
27016             after: "hide_end";
27017          }
27018          program { name: "hide_end";
27019             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27020          }
27021          program { name: "reset";
27022             signal: "elm,action,reset";
27023             source: "elm";
27024             action:  STATE_SET "default" 0.0;
27025             target: "base";
27026             target: "clip";
27027          }
27028       }
27029    }
27030    group { name: "elm/pager/base/slide_invisible";
27031       parts {
27032          part { name: "clip";
27033             type: RECT;
27034             mouse_events: 0;
27035             description { state: "default" 0.0;
27036                rel1 {
27037                   to: "base";
27038                   offset: -9999 -9999;
27039             }
27040                rel2 {
27041                   to: "base";
27042                   offset: 9999 9999;
27043                }
27044                color: 255 255 255 255;
27045             }
27046             description { state: "visible" 0.0;
27047                inherit: "default" 0.0;
27048             }
27049             description { state: "hidden" 0.0;
27050                inherit: "default" 0.0;
27051                color: 255 255 255 0;
27052                visible: 0;
27053             }
27054             description { state: "hidden2" 0.0;
27055                inherit: "default" 0.0;
27056                color: 255 255 255 0;
27057                visible: 0;
27058             }
27059          }
27060          part { name: "base";
27061             type: RECT;
27062             mouse_events:  0;
27063             clip_to: "clip";
27064             description { state: "default" 0.0;
27065                color: 0 0 0 0;
27066             }
27067             description { state: "hidden" 0.0;
27068                color: 0 0 0 0;
27069                rel1.relative: -1.0 0.0;
27070                rel2.relative: 0.0 1.0;
27071             }
27072             description { state: "hidden2" 0.0;
27073                color: 0 0 0 0;
27074                rel1.relative: 1.0 0.0;
27075                rel2.relative: 2.0 1.0;
27076             }
27077             description { state: "visible" 0.0;
27078                color: 0 0 0 0;
27079                rel1.relative: 0.0 0.0;
27080                rel2.relative: 1.0 1.0;
27081             }
27082          }
27083          part { name: "elm.swallow.content";
27084             type: SWALLOW;
27085             clip_to: "clip";
27086             description { state: "default" 0.0;
27087                rel1.to: "base";
27088                rel2.to: "base";
27089             }
27090          }
27091       }
27092       programs {
27093          program { name: "push_start";
27094             signal: "elm,action,push";
27095             source: "elm";
27096             action:  STATE_SET "hidden2" 0.0;
27097             target: "base";
27098             target: "clip";
27099             after: "show_start2";
27100          }
27101          program { name: "show_start";
27102             signal: "elm,action,show";
27103             source: "elm";
27104             action:  STATE_SET "hidden" 0.0;
27105             target: "base";
27106             target: "clip";
27107             after: "show_start2";
27108          }
27109          program { name: "show_start2";
27110             action:  STATE_SET "visible" 0.0;
27111             transition: DECELERATE 0.5;
27112             target: "base";
27113             target: "clip";
27114             after: "show_end";
27115          }
27116          program { name: "show_end";
27117             action: SIGNAL_EMIT "elm,action,show,finished" "";
27118          }
27119          program { name: "pop_start";
27120             signal: "elm,action,pop";
27121             source: "elm";
27122             action:  STATE_SET "visible" 0.0;
27123             target: "base";
27124             target: "clip";
27125             after: "pop_start2";
27126          }
27127          program { name: "pop_start2";
27128             action:  STATE_SET "hidden2" 0.0;
27129             transition: DECELERATE 0.5;
27130             target: "base";
27131             target: "clip";
27132             after: "hide_end";
27133          }
27134          program { name: "hide_start";
27135             signal: "elm,action,hide";
27136             source: "elm";
27137             action:  STATE_SET "visible" 0.0;
27138             target: "base";
27139             target: "clip";
27140             after: "hide_start2";
27141          }
27142          program { name: "hide_start2";
27143             action:  STATE_SET "hidden" 0.0;
27144             transition: DECELERATE 0.5;
27145             target: "base";
27146             target: "clip";
27147             after: "hide_end";
27148          }
27149          program { name: "hide_end";
27150             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27151          }
27152          program { name: "reset";
27153             signal: "elm,action,reset";
27154             source: "elm";
27155             action:  STATE_SET "default" 0.0;
27156             target: "base";
27157             target: "clip";
27158          }
27159       }
27160    }
27161
27162    group { name: "elm/pager/base/fade";
27163        data.item: "onshow" "raise";
27164        // other options
27165        //      data.item: "onhide" "lower";
27166        //      data.item: "onshow" "lower";
27167        images {
27168            image: "frame_1.png" COMP;
27169            image: "frame_2.png" COMP;
27170            image: "dia_grad.png" COMP;
27171        }
27172        parts {
27173            part { name: "clip_base";
27174                type: RECT;
27175                mouse_events: 0;
27176                description { state: "default" 0.0;
27177                    rel1 {
27178                        to: "base";
27179                        offset: -9999 -9999;
27180                    }
27181                    rel2 {
27182                        to: "base";
27183                        offset: 9999 9999;
27184                    }
27185                    color: 255 255 255 120;
27186                }
27187                description { state: "visible" 0.0;
27188                    inherit: "default" 0.0;
27189                }
27190                description { state: "hidden" 0.0;
27191                    inherit: "default" 0.0;
27192                    color: 255 255 255 0;
27193                    visible: 0;
27194                }
27195            }
27196            part { name: "clip";
27197                type: RECT;
27198                mouse_events: 0;
27199                description { state: "default" 0.0;
27200                    rel1 {
27201                        to: "base";
27202                        offset: -9999 -9999;
27203                    }
27204                    rel2 {
27205                        to: "base";
27206                        offset: 9999 9999;
27207                    }
27208                    color: 255 255 255 255;
27209                }
27210                description { state: "visible" 0.0;
27211                    inherit: "default" 0.0;
27212                }
27213                description { state: "hidden" 0.0;
27214                    inherit: "default" 0.0;
27215                    color: 255 255 255 0;
27216                    visible: 0;
27217                }
27218            }
27219            part { name: "base0";
27220                mouse_events:  0;
27221                clip_to: "clip_base";
27222                description { state: "default" 0.0;
27223                    image.normal: "dia_grad.png";
27224                    rel1.to: "over";
27225                    rel2.to: "over";
27226                    fill {
27227                        smooth: 0;
27228                        size {
27229                            relative: 0.0 1.0;
27230                            offset: 64 0;
27231                        }
27232                    }
27233                }
27234            }
27235            part { name: "base";
27236                mouse_events:  0;
27237                clip_to: "clip_base";
27238                description { state: "default" 0.0;
27239                    image {
27240                        normal: "frame_2.png";
27241                        border: 5 5 32 26;
27242                        middle: 0;
27243                    }
27244                    fill.smooth : 0;
27245                }
27246            }
27247            part { name: "over";
27248                mouse_events:  0;
27249                clip_to: "clip";
27250                description { state:    "default" 0.0;
27251                    rel1 {
27252                        to: "base";
27253                        offset: 4 4;
27254                    }
27255                    rel2 {
27256                        to: "base";
27257                        offset: -5 -5;
27258                    }
27259                    image {
27260                        normal: "frame_1.png";
27261                        border: 2 2 28 22;
27262                        middle: 0;
27263                    }
27264                    fill.smooth : 0;
27265                }
27266            }
27267            part { name: "elm.swallow.content";
27268                type: SWALLOW;
27269                clip_to: "clip";
27270                description { state: "default" 0.0;
27271                    rel1 {
27272                        to: "base";
27273                        offset: 8 8;
27274                    }
27275                    rel2 {
27276                        to: "base";
27277                        offset: -9 -9;
27278                    }
27279                }
27280            }
27281        }
27282        programs {
27283            program { name: "push_start";
27284                signal: "elm,action,push";
27285                source: "elm";
27286                action:  STATE_SET "hidden" 0.0;
27287                target: "clip";
27288                target: "clip_base";
27289                after: "show_start2";
27290            }
27291            program { name: "show_start";
27292                signal: "elm,action,show";
27293                source: "elm";
27294                action:  STATE_SET "hidden" 0.0;
27295                target: "clip";
27296                target: "clip_base";
27297                after: "show_start2";
27298            }
27299            program { name: "show_start2";
27300                action:  STATE_SET "visible" 0.0;
27301                transition: DECELERATE 0.5;
27302                target: "clip";
27303                target: "clip_base";
27304                after: "show_end";
27305            }
27306            program { name: "show_end";
27307                action: SIGNAL_EMIT "elm,action,show,finished" "";
27308            }
27309            program { name: "pop_start";
27310                signal: "elm,action,pop";
27311                source: "elm";
27312                action:  STATE_SET "visible" 0.0;
27313                target: "clip";
27314                target: "clip_base";
27315                after: "hide_start2";
27316            }
27317            program { name: "hide_start";
27318                signal: "elm,action,hide";
27319                source: "elm";
27320                action:  STATE_SET "visible" 0.0;
27321                target: "clip";
27322                target: "clip_base";
27323                after: "hide_start2";
27324            }
27325            program { name: "hide_start2";
27326                action:  STATE_SET "hidden" 0.0;
27327                transition: DECELERATE 0.5;
27328                target: "clip";
27329                target: "clip_base";
27330                after: "hide_end";
27331            }
27332            program { name: "hide_end";
27333                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27334            }
27335            program { name: "reset";
27336                signal: "elm,action,reset";
27337                source: "elm";
27338                action:  STATE_SET "default" 0.0;
27339                target: "clip_base";
27340                target: "clip";
27341            }
27342        }
27343    }
27344    group { name: "elm/pager/base/fade_translucide";
27345        data.item: "onshow" "raise";
27346        // other options
27347        //      data.item: "onhide" "lower";
27348        //      data.item: "onshow" "lower";
27349        images {
27350            image: "frame_1.png" COMP;
27351            image: "frame_2.png" COMP;
27352            image: "dia_grad.png" COMP;
27353        }
27354        parts {
27355            part { name: "clip_base";
27356                type: RECT;
27357                mouse_events: 0;
27358                description { state: "default" 0.0;
27359                    rel1 {
27360                        to: "base";
27361                        offset: -9999 -9999;
27362                    }
27363                    rel2 {
27364                        to: "base";
27365                        offset: 9999 9999;
27366                    }
27367                    color: 255 255 255 120;
27368                }
27369                description { state: "visible" 0.0;
27370                    inherit: "default" 0.0;
27371                }
27372                description { state: "hidden" 0.0;
27373                    inherit: "default" 0.0;
27374                    color: 255 255 255 0;
27375                    visible: 0;
27376                }
27377            }
27378            part { name: "clip";
27379                type: RECT;
27380                mouse_events: 0;
27381                description { state: "default" 0.0;
27382                    rel1 {
27383                        to: "base";
27384                        offset: -9999 -9999;
27385                    }
27386                    rel2 {
27387                        to: "base";
27388                        offset: 9999 9999;
27389                    }
27390                    color: 255 255 255 255;
27391                }
27392                description { state: "visible" 0.0;
27393                    inherit: "default" 0.0;
27394                }
27395                description { state: "hidden" 0.0;
27396                    inherit: "default" 0.0;
27397                    color: 255 255 255 0;
27398                    visible: 0;
27399                }
27400            }
27401            part { name: "base0";
27402                mouse_events:  0;
27403                clip_to: "clip_base";
27404                description { state: "default" 0.0;
27405                    image.normal: "dia_grad.png";
27406                    rel1.to: "over";
27407                    rel2.to: "over";
27408                    fill {
27409                        smooth: 0;
27410                        size {
27411                            relative: 0.0 1.0;
27412                            offset: 64 0;
27413                        }
27414                    }
27415                }
27416            }
27417            part { name: "base";
27418                mouse_events:  0;
27419                clip_to: "clip_base";
27420                description { state: "default" 0.0;
27421                    image {
27422                        normal: "frame_2.png";
27423                        border: 5 5 32 26;
27424                        middle: 0;
27425                    }
27426                    fill.smooth : 0;
27427                }
27428            }
27429            part { name: "over";
27430                mouse_events:  0;
27431                clip_to: "clip";
27432                description { state:    "default" 0.0;
27433                    rel1 {
27434                        to: "base";
27435                        offset: 4 4;
27436                    }
27437                    rel2 {
27438                        to: "base";
27439                        offset: -5 -5;
27440                    }
27441                    image {
27442                        normal: "frame_1.png";
27443                        border: 2 2 28 22;
27444                        middle: 0;
27445                    }
27446                    fill.smooth : 0;
27447                }
27448            }
27449            part { name: "elm.swallow.content";
27450                type: SWALLOW;
27451                clip_to: "clip";
27452                description { state: "default" 0.0;
27453                    rel1 {
27454                        to: "base";
27455                        offset: 8 8;
27456                    }
27457                    rel2 {
27458                        to: "base";
27459                        offset: -9 -9;
27460                    }
27461                }
27462            }
27463        }
27464        programs {
27465            program { name: "push_start";
27466                signal: "elm,action,push";
27467                source: "elm";
27468                action:  STATE_SET "hidden" 0.0;
27469                target: "clip";
27470                target: "clip_base";
27471                after: "show_start2";
27472            }
27473            program { name: "show_start";
27474                signal: "elm,action,show";
27475                source: "elm";
27476                action:  STATE_SET "hidden" 0.0;
27477                target: "clip";
27478                target: "clip_base";
27479                after: "show_start2";
27480            }
27481            program { name: "show_start2";
27482                action:  STATE_SET "visible" 0.0;
27483                transition: DECELERATE 0.5;
27484                target: "clip";
27485                target: "clip_base";
27486                after: "show_end";
27487            }
27488            program { name: "show_end";
27489                action: SIGNAL_EMIT "elm,action,show,finished" "";
27490            }
27491            program { name: "pop_start";
27492                signal: "elm,action,pop";
27493                source: "elm";
27494                action:  STATE_SET "visible" 0.0;
27495                target: "clip";
27496                target: "clip_base";
27497                after: "hide_start2";
27498            }
27499            program { name: "hide_start";
27500                signal: "elm,action,hide";
27501                source: "elm";
27502                action:  STATE_SET "visible" 0.0;
27503                target: "clip";
27504                target: "clip_base";
27505                after: "hide_start2";
27506            }
27507            program { name: "hide_start2";
27508                action:  STATE_SET "hidden" 0.0;
27509                transition: DECELERATE 0.5;
27510                target: "clip";
27511                target: "clip_base";
27512                after: "hide_end";
27513            }
27514            program { name: "hide_end";
27515                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27516            }
27517            program { name: "reset";
27518                signal: "elm,action,reset";
27519                source: "elm";
27520                action:  STATE_SET "default" 0.0;
27521                target: "clip_base";
27522                target: "clip";
27523            }
27524        }
27525    }
27526    group { name: "elm/pager/base/fade_invisible";
27527        data.item: "onshow" "raise";
27528        // other options
27529        //      data.item: "onhide" "lower";
27530        //      data.item: "onshow" "lower";
27531        parts {
27532            part { name: "clip";
27533                type: RECT;
27534                mouse_events: 0;
27535                description { state: "default" 0.0;
27536                    rel1 {
27537                        offset: -9999 -9999;
27538                    }
27539                    rel2 {
27540                        offset: 9999 9999;
27541                    }
27542                    color: 255 255 255 255;
27543                }
27544                description { state: "visible" 0.0;
27545                    inherit: "default" 0.0;
27546                }
27547                description { state: "hidden" 0.0;
27548                    inherit: "default" 0.0;
27549                    color: 255 255 255 0;
27550                    visible: 0;
27551                }
27552            }
27553            part { name: "elm.swallow.content";
27554                type: SWALLOW;
27555                clip_to: "clip";
27556                description { state: "default" 0.0;
27557                    rel1 {
27558                        offset: 8 8;
27559                    }
27560                    rel2 {
27561                        offset: -9 -9;
27562                    }
27563                }
27564            }
27565        }
27566        programs {
27567            program { name: "push_start";
27568                signal: "elm,action,push";
27569                source: "elm";
27570                action:  STATE_SET "hidden" 0.0;
27571                target: "clip";
27572                after: "show_start2";
27573            }
27574            program { name: "show_start";
27575                signal: "elm,action,show";
27576                source: "elm";
27577                action:  STATE_SET "hidden" 0.0;
27578                target: "clip";
27579                after: "show_start2";
27580            }
27581            program { name: "show_start2";
27582                action:  STATE_SET "visible" 0.0;
27583                transition: DECELERATE 0.5;
27584                target: "clip";
27585                after: "show_end";
27586            }
27587            program { name: "show_end";
27588                action: SIGNAL_EMIT "elm,action,show,finished" "";
27589            }
27590            program { name: "pop_start";
27591                signal: "elm,action,pop";
27592                source: "elm";
27593                action:  STATE_SET "visible" 0.0;
27594                target: "clip";
27595                after: "hide_start2";
27596            }
27597            program { name: "hide_start";
27598                signal: "elm,action,hide";
27599                source: "elm";
27600                action:  STATE_SET "visible" 0.0;
27601                target: "clip";
27602                after: "hide_start2";
27603            }
27604            program { name: "hide_start2";
27605                action:  STATE_SET "hidden" 0.0;
27606                transition: DECELERATE 0.5;
27607                target: "clip";
27608                after: "hide_end";
27609            }
27610            program { name: "hide_end";
27611                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27612            }
27613            program { name: "reset";
27614                signal: "elm,action,reset";
27615                source: "elm";
27616                action:  STATE_SET "default" 0.0;
27617                target: "clip";
27618            }
27619        }
27620    }
27621
27622    group { name: "elm/pager/base/flip";
27623       data.item: "onshow" "raise";
27624       images {
27625          image: "frame_1.png" COMP;
27626          image: "frame_2.png" COMP;
27627          image: "dia_grad.png" COMP;
27628       }
27629       parts {
27630          part { name: "elm.swallow.content";
27631             type: SWALLOW;
27632             description { state: "default" 0.0;
27633                map {
27634                   on: 1;
27635                   smooth: 1;
27636                   backface_cull: 1;
27637                   perspective_on: 1;
27638                }
27639                perspective {
27640                   zplane: 0;
27641                   focal: 1000;
27642                }
27643             }
27644             description { state: "hidden" 0.0;
27645                inherit: "default" 0.0;
27646                visible: 0;
27647                map.rotation.y: 90.0;
27648             }
27649             description { state: "before_hidden" 0.0;
27650                inherit: "default" 0.0;
27651                visible: 0;
27652                map.rotation.y: -90.0;
27653             }
27654          }
27655       }
27656       programs {
27657          program { name: "push_start";
27658             signal: "elm,action,push";
27659             source: "elm";
27660             after: "push1";
27661          }
27662          program { name: "push1";
27663             action:  STATE_SET "hidden" 0.0;
27664             target: "elm.swallow.content";
27665             after: "push2";
27666          }
27667          program { name: "push2";
27668             action:  STATE_SET "default" 0.0;
27669             in: 0.5 0.0;
27670             transition: LINEAR 0.5;
27671             target: "elm.swallow.content";
27672             after: "push3";
27673          }
27674          program { name: "push3";
27675             action: SIGNAL_EMIT "elm,action,show,finished" "";
27676          }
27677
27678          program { name: "show_start";
27679             signal: "elm,action,show";
27680             source: "elm";
27681             after: "show1";
27682          }
27683          program { name: "show1";
27684             action:  STATE_SET "before_hidden" 0.0;
27685             target: "elm.swallow.content";
27686             after: "show2";
27687          }
27688          program { name: "show2";
27689             action:  STATE_SET "default" 0.0;
27690             in: 0.5 0.0;
27691             transition: LINEAR 0.5;
27692             target: "elm.swallow.content";
27693             after: "show3";
27694          }
27695          program { name: "show3";
27696             action: SIGNAL_EMIT "elm,action,show,finished" "";
27697          }
27698
27699          program { name: "pop_start";
27700             signal: "elm,action,pop";
27701             source: "elm";
27702             after: "pop1";
27703          }
27704          program { name: "pop1";
27705             action:  STATE_SET "default" 0.0;
27706             target: "elm.swallow.content";
27707             after: "pop2";
27708          }
27709          program { name: "pop2";
27710             action:  STATE_SET "hidden" 0.0;
27711             transition: LINEAR 0.5;
27712             target: "elm.swallow.content";
27713             after: "pop3";
27714          }
27715          program { name: "pop3";
27716             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27717          }
27718
27719          program { name: "hide_start";
27720             signal: "elm,action,hide";
27721             source: "elm";
27722             after: "hide1";
27723          }
27724          program { name: "hide1";
27725             action:  STATE_SET "default" 0.0;
27726             target: "elm.swallow.content";
27727             after: "hide2";
27728          }
27729          program { name: "hide2";
27730             action:  STATE_SET "before_hidden" 0.0;
27731             transition: LINEAR 0.5;
27732             target: "elm.swallow.content";
27733             after: "hide3";
27734          }
27735          program { name: "hide3";
27736             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27737          }
27738
27739          program { name: "reset";
27740             signal: "elm,action,reset";
27741             source: "elm";
27742             action:  STATE_SET "default" 0.0;
27743             target: "elm.swallow.content";
27744          }
27745       }
27746    }
27747
27748
27749
27750 ///////////////////////////////////////////////////////////////////////////////
27751 // FIXME: this doesn't look too hot. need to fix it up
27752    group { name: "elm/progressbar/horizontal/default";
27753       images {
27754          image: "shelf_inset.png" COMP;
27755          image: "bt_sm_base2.png" COMP;
27756          image: "bt_sm_hilight.png" COMP;
27757          image: "bt_sm_shine.png" COMP;
27758       }
27759       parts {
27760          part { name: "elm.background.progressbar";
27761             mouse_events: 0;
27762             description {
27763                state: "default" 0.0;
27764                rel1 {
27765                   relative: 0.0 0.0;
27766                   offset: 0 0;
27767                }
27768                rel2 {
27769                   relative: 1.0 1.0;
27770                }
27771             }
27772          }
27773          part { name: "elm.swallow.bar";
27774             mouse_events: 0;
27775             type: SWALLOW;
27776             description {
27777                min: 48 28;
27778                max: 99999 28;
27779                state: "default" 0.0;
27780                rel1 {
27781                   to_x: "elm.text";
27782                   to_y: "elm.background.progressbar";
27783                   relative: 1.0 0.0;
27784                }
27785                rel2 {
27786                   to: "elm.background.progressbar";
27787                   relative: 1.0 1.0;
27788                }
27789             }
27790          }
27791          part { name: "elm.swallow.content";
27792             type: SWALLOW;
27793             description { state: "default" 0.0;
27794                visible: 0;
27795                align: 0.0 0.5;
27796                rel1 {
27797                   offset: 4 0;
27798                   to_y: "elm.background.progressbar";
27799                }
27800                rel2 {
27801                   offset: 3 -1;
27802                   relative: 0.0 1.0;
27803                   to_y: "elm.background.progressbar";
27804                }
27805             }
27806             description { state: "visible" 0.0;
27807                inherit: "default" 0.0;
27808                visible: 1;
27809                aspect: 1.0 1.0;
27810                aspect_preference: VERTICAL;
27811                rel2.offset: 4 -1;
27812             }
27813          }
27814          part { name: "elm.text";
27815             type: TEXT;
27816             mouse_events: 0;
27817             scale: 1;
27818             description { state: "default" 0.0;
27819                visible: 0;
27820                fixed: 1 1;
27821                align: 0.0 0.5;
27822                rel1.to_x: "elm.swallow.content";
27823                rel1.relative: 1.0 0.0;
27824                rel1.offset: -1 4;
27825                rel2.to_x: "elm.swallow.content";
27826                rel2.relative: 1.0 1.0;
27827                rel2.offset: -1 -5;
27828                color: 0 0 0 255;
27829                text {
27830                   font: "Sans,Edje-Vera";
27831                   size: 10;
27832                   min: 0 0;
27833                   align: 0.0 0.5;
27834                }
27835             }
27836             description { state: "visible" 0.0;
27837                inherit: "default" 0.0;
27838                visible: 1;
27839                text.min: 1 1;
27840                rel1.offset: 0 4;
27841                rel2.offset: 0 -5;
27842             }
27843          }
27844
27845          part { name: "background";
27846             mouse_events: 0;
27847             clip_to: "elm.background.progressbar";
27848             description {
27849                state: "default" 0.0;
27850                rel1 {
27851                   to: "elm.swallow.bar";
27852                   relative: 0.0 0.0;
27853                }
27854                rel2 {
27855                   to: "elm.swallow.bar";
27856                   relative: 1.0 1.0;
27857                   offset: -1 -1;
27858                }
27859                image {
27860                   normal: "shelf_inset.png";
27861                   border: 7 7 7 7;
27862                }
27863             }
27864          }
27865
27866          part { name: "elm.text.status";
27867             type: TEXT;
27868             mouse_events: 0;
27869             description { state: "default" 0.0;
27870                fixed: 1 1;
27871                visible: 1;
27872                rel1 {
27873                   to: "background";
27874                   relative: 0.5 0.5;
27875                }
27876                rel2 {
27877                   to: "background";
27878                   relative: 0.5 0.5;
27879                }
27880                text {
27881                   font: "Sans:style=Bold,Edje-Vera-Bold";
27882                   size: 10;
27883                   min: 1 1;
27884                   align: 0.5 0.0;
27885                }
27886                color: 0 0 0 255;
27887             }
27888             description { state: "hidden" 0.0;
27889                inherit: "default" 0.0;
27890                visible: 0;
27891                text.min: 0 0;
27892             }
27893          }
27894
27895          part { name: "elm.progress.progressbar";
27896             mouse_events: 0;
27897             clip_to: "elm.background.progressbar";
27898             description {
27899                state: "default" 0.0;
27900                min: 14 28;
27901                fixed: 1 1;
27902                rel1 {
27903                   to: "elm.swallow.bar";
27904                   relative: 0.0 0.0;
27905                }
27906                rel2 {
27907                   to_y: "elm.swallow.bar";
27908                   to_x: "elm.cur.progressbar";
27909                   offset: -1 -1;
27910                }
27911                image {
27912                   normal: "bt_sm_base2.png";
27913                   border: 6 6 6 6;
27914                }
27915             }
27916             description {
27917                state: "invert" 0.0;
27918                inherit: "default" 0.0;
27919                rel1 {
27920                   to_y: "elm.swallow.bar";
27921                   to_x: "elm.cur.progressbar";
27922                }
27923                rel2 {
27924                   to: "elm.swallow.bar";
27925                   relative: 1.0 1.0;
27926                }
27927             }
27928             description {
27929                state: "state_begin" 0.0;
27930                inherit: "default" 0.0;
27931                rel1 {
27932                   to: "elm.swallow.bar";
27933                   relative: 0.0 0.0;
27934                }
27935                rel2 {
27936                   to: "elm.swallow.bar";
27937                   relative: 0.1 1.0;
27938                }
27939             }
27940             description {
27941                state: "state_end" 0.0;
27942                inherit: "default" 0.0;
27943                rel1 {
27944                   to: "elm.swallow.bar";
27945                   relative: 0.9 0.0;
27946                }
27947                rel2 {
27948                   to: "elm.swallow.bar";
27949                   relative: 1.0 1.0;
27950                }
27951             }
27952          }
27953          part { name: "text-bar";
27954             type: TEXT;
27955             mouse_events: 0;
27956             clip_to: "progress-rect";
27957             effect: SOFT_SHADOW;
27958             scale: 1;
27959             description { state: "default" 0.0;
27960                align: 0.0 0.0;
27961                fixed: 1 1;
27962                visible: 1;
27963                rel1.to: "elm.text.status";
27964                rel1.offset: -1 -1;
27965                rel2.to: "elm.text.status";
27966                text {
27967                   text_source: "elm.text.status";
27968                   font: "Sans:style=Bold,Edje-Vera-Bold";
27969                   size: 10;
27970                   min: 1 1;
27971                   align: 0.0 0.0;
27972                }
27973                color: 224 224 224 255;
27974                color3: 0 0 0 64;
27975             }
27976             description { state: "hidden" 0.0;
27977                inherit: "default" 0.0;
27978                visible: 0;
27979                text.min: 0 0;
27980             }
27981          }
27982
27983          part { name: "over1";
27984             mouse_events: 0;
27985             description { state: "default" 0.0;
27986                rel1.to: "elm.progress.progressbar";
27987                rel2.to: "elm.progress.progressbar";
27988                rel2.relative: 1.0 0.5;
27989                image {
27990                   normal: "bt_sm_hilight.png";
27991                   border: 6 6 6 0;
27992                }
27993             }
27994          }
27995
27996          part { name: "over2";
27997             mouse_events: 1;
27998             repeat_events: 1;
27999             description { state: "default" 0.0;
28000                rel1.to: "elm.progress.progressbar";
28001                rel2.to: "elm.progress.progressbar";
28002                image {
28003                   normal: "bt_sm_shine.png";
28004                   border: 6 6 6 0;
28005                }
28006             }
28007          }
28008
28009          part { name: "elm.cur.progressbar";
28010             mouse_events: 0;
28011             dragable {
28012                confine: "background";
28013                x: 1 1 1;
28014                y: 0 0 0;
28015             }
28016             description { state: "default" 0.0;
28017                min: 14 28;
28018                fixed: 1 1;
28019                visible: 0;
28020                rel1 {
28021                   to: "background";
28022                   relative: 0 0;
28023                }
28024                rel2.to: "background";
28025            }
28026          }
28027          part { name: "progress-rect";
28028             mouse_events: 0;
28029             description {
28030                state: "default" 0.0;
28031                rel1.to: "elm.progress.progressbar";
28032                rel2.to: "elm.progress.progressbar";
28033             }
28034          }
28035       }
28036       programs {
28037          program { name: "label_show";
28038             signal: "elm,state,text,visible";
28039             source: "elm";
28040             action:  STATE_SET "visible" 0.0;
28041             target: "elm.text";
28042          }
28043          program { name: "label_hide";
28044             signal: "elm,state,text,hidden";
28045             source: "elm";
28046             action:  STATE_SET "default" 0.0;
28047             target: "elm.text";
28048          }
28049          program { name: "icon_show";
28050             signal: "elm,state,icon,visible";
28051             source: "elm";
28052             action:  STATE_SET "visible" 0.0;
28053             target: "elm.swallow.content";
28054          }
28055          program { name: "icon_hide";
28056             signal: "elm,state,icon,hidden";
28057             source: "elm";
28058             action:  STATE_SET "default" 0.0;
28059             target: "elm.swallow.content";
28060          }
28061          program { name: "units_show";
28062             signal: "elm,state,units,visible";
28063             source: "elm";
28064             action:  STATE_SET "default" 0.0;
28065             target: "text-bar";
28066             target: "elm.text.status";
28067          }
28068          program { name: "units_hide";
28069             signal: "elm,state,units,hidden";
28070             source: "elm";
28071             action:  STATE_SET "hidden" 0.0;
28072             target: "text-bar";
28073             target: "elm.text.status";
28074          }
28075          program { name: "slide_to_end";
28076             action:  STATE_SET "state_end" 0.0;
28077             transition: LINEAR 0.5;
28078             target: "elm.progress.progressbar";
28079             after: "slide_to_begin";
28080          }
28081          program { name: "slide_to_begin";
28082             signal: "elm,state,slide,begin";
28083             action: STATE_SET "state_begin" 0.0;
28084             target: "elm.progress.progressbar";
28085             transition: LINEAR 0.5;
28086             after: "slide_to_end";
28087          }
28088          program { name: "start_pulse";
28089             signal: "elm,state,pulse,start";
28090             source: "elm";
28091             after: "slide_to_end";
28092          }
28093          program { name: "stop_pulse";
28094             signal: "elm,state,pulse,stop";
28095             source: "elm";
28096             action: ACTION_STOP;
28097             target: "slide_to_begin";
28098             target: "slide_to_end";
28099             target: "start_pulse";
28100             after: "state_pulse";
28101          }
28102          program { name: "state_pulse";
28103             signal: "elm,state,pulse";
28104             source: "elm";
28105             action: STATE_SET "state_begin" 0.0;
28106             target: "elm.progress.progressbar";
28107             after: "units_hide";
28108          }
28109          program { name: "state_fraction";
28110             signal: "elm,state,fraction";
28111             source: "elm";
28112             action: ACTION_STOP;
28113             target: "slide_to_begin";
28114             target: "slide_to_end";
28115             target: "start_pulse";
28116             action: STATE_SET "default" 0.0;
28117             target: "elm.progress.progressbar";
28118          }
28119          program { name: "set_invert_on";
28120             signal: "elm,state,inverted,on";
28121             source: "elm";
28122             action:  STATE_SET "invert" 0.0;
28123             target: "elm.progress.progressbar";
28124          }
28125          program { name: "set_invert_off";
28126             signal: "elm,state,inverted,off";
28127             source: "elm";
28128             action:  STATE_SET "default" 0.0;
28129             target: "elm.progress.progressbar";
28130          }
28131       }
28132    }
28133
28134 ///////////////////////////////////////////////////////////////////////////////
28135    group { name: "elm/progressbar/vertical/default";
28136       images {
28137          image: "shelf_inset.png" COMP;
28138          image: "bt_sm_base2.png" COMP;
28139          image: "bt_sm_hilight.png" COMP;
28140          image: "bt_sm_shine.png" COMP;
28141       }
28142       parts {
28143          part { name: "elm.background.progressbar";
28144             type: RECT;
28145             mouse_events: 0;
28146             description {
28147                state: "default" 0.0;
28148                rel1 {
28149                   relative: 0.0 0.0;
28150                   offset: 0 0;
28151                }
28152                rel2 {
28153                   relative: 1.0 1.0;
28154                   offset: -1 -1;
28155                }
28156             }
28157          }
28158          part { name: "elm.swallow.bar";
28159             type: SWALLOW;
28160             scale: 1;
28161             description { state: "default" 0.0;
28162                min: 28 48;
28163                max: 28 9999;
28164                align: 0.5 1.0;
28165                rel1 {
28166                   to_y: "elm.text";
28167                   relative: 0.0 1.0;
28168                   offset: 0 2;
28169                }
28170                rel2 {
28171                   to_y: "elm.text.box";
28172                   relative: 1.0 0.0;
28173                   offset: -1 -3;
28174                }
28175             }
28176          }
28177          part { name: "elm.swallow.content";
28178             type: SWALLOW;
28179             description { state: "default" 0.0;
28180                visible: 0;
28181                align: 0.5 0.0;
28182                rel1 {
28183                   offset: 0 4;
28184                   to_x: "elm.swallow.bar";
28185                }
28186                rel2 {
28187                   offset: -1 3;
28188                   relative: 1.0 0.0;
28189                   to_x: "elm.swallow.bar";
28190                }
28191             }
28192             description { state: "visible" 0.0;
28193                inherit: "default" 0.0;
28194                visible: 1;
28195                aspect: 1.0 1.0;
28196                aspect_preference: HORIZONTAL;
28197                rel2.offset: -1 4;
28198             }
28199          }
28200          part { name: "elm.text";
28201             type: TEXT;
28202             mouse_events: 0;
28203             scale: 1;
28204             description { state: "default" 0.0;
28205                visible: 0;
28206                fixed: 1 1;
28207                align: 0.5 0.0;
28208                rel1.to_y: "elm.swallow.content";
28209                rel1.relative: 0.5 1.0;
28210                rel1.offset: 0 -1;
28211                rel2.to_y: "elm.swallow.content";
28212                rel2.relative: 0.5 1.0;
28213                rel2.offset: -1 -1;
28214                color: 0 0 0 255;
28215                text {
28216                   font: "Sans,Edje-Vera";
28217                   size: 10;
28218                   min: 0 0;
28219                   align: 0.5 0.0;
28220                }
28221             }
28222             description { state: "visible" 0.0;
28223                inherit: "default" 0.0;
28224                visible: 1;
28225                text.min: 1 1;
28226                rel1.offset: 4 0;
28227                rel2.offset: -5 0;
28228             }
28229          }
28230
28231          part { name: "background";
28232             mouse_events: 0;
28233             clip_to: "elm.background.progressbar";
28234             description {
28235                state: "default" 0.0;
28236                rel1 {
28237                   to: "elm.swallow.bar";
28238                   relative: 0.0 0.0;
28239                }
28240                rel2 {
28241                   to: "elm.swallow.bar";
28242                   relative: 1.0 1.0;
28243                   offset: -1 -1;
28244                }
28245                image {
28246                   normal: "shelf_inset.png";
28247                   border: 7 7 7 7;
28248                }
28249             }
28250          }
28251
28252          part { name: "elm.progress.progressbar";
28253             mouse_events: 0;
28254             clip_to: "elm.background.progressbar";
28255             description {
28256                state: "default" 0.0;
28257                min: 28 14;
28258                fixed: 1 1;
28259                rel1 {
28260                   to: "elm.swallow.bar";
28261                   relative: 0.0 0.0;
28262                }
28263                rel2 {
28264                   to_x: "elm.swallow.bar";
28265                   to_y: "elm.cur.progressbar";
28266                   offset: -1 -1;
28267                }
28268                image {
28269                   normal: "bt_sm_base2.png";
28270                   border: 6 6 6 6;
28271                }
28272             }
28273             description {
28274                state: "invert" 0.0;
28275                inherit: "default" 0.0;
28276                rel1 {
28277                   to_x: "elm.swallow.bar";
28278                   to_y: "elm.cur.progressbar";
28279                }
28280                rel2 {
28281                   to: "elm.swallow.bar";
28282                   relative: 1.0 1.0;
28283                }
28284             }
28285             description {
28286                state: "state_begin" 0.0;
28287                inherit: "default" 0.0;
28288                rel1 {
28289                   to: "elm.swallow.bar";
28290                   relative: 0.0 0.0;
28291                }
28292                rel2 {
28293                   to: "elm.swallow.bar";
28294                   relative: 1.0 0.1;
28295                }
28296             }
28297             description {
28298                state: "state_end" 0.0;
28299                inherit: "default" 0.0;
28300                rel1 {
28301                   to: "elm.swallow.bar";
28302                   relative: 0.0 0.9;
28303                }
28304                rel2 {
28305                   to: "elm.swallow.bar";
28306                   relative: 1.0 1.0;
28307                }
28308             }
28309          }
28310
28311          part { name: "over1";
28312             mouse_events: 0;
28313             description { state: "default" 0.0;
28314                rel1.to: "elm.progress.progressbar";
28315                rel2.to: "elm.progress.progressbar";
28316                rel2.relative: 1.0 0.5;
28317                image {
28318                   normal: "bt_sm_hilight.png";
28319                   border: 6 6 6 0;
28320                }
28321             }
28322          }
28323
28324          part { name: "over2";
28325             mouse_events: 1;
28326             repeat_events: 1;
28327             description { state: "default" 0.0;
28328                rel1.to: "elm.progress.progressbar";
28329                rel2.to: "elm.progress.progressbar";
28330                image {
28331                   normal: "bt_sm_shine.png";
28332                   border: 6 6 6 0;
28333                }
28334             }
28335          }
28336
28337          part { name: "elm.cur.progressbar";
28338             mouse_events: 0;
28339             dragable {
28340                confine: "background";
28341                x: 0 0 0;
28342                y: 1 1 1;
28343             }
28344             description { state: "default" 0.0;
28345                min: 28 14;
28346                fixed: 1 1;
28347                visible: 0;
28348                rel1 {
28349                   to: "background";
28350                   relative: 0 0;
28351                }
28352                rel2.to: "background";
28353            }
28354          }
28355
28356          part { name: "elm.text.box";
28357             mouse_events: 0;
28358             type: RECT;
28359             description { state: "default" 0.0;
28360                visible: 0;
28361                rel1 {
28362                   to: "elm.text.status";
28363                   offset: -2 -2;
28364                }
28365                rel2 {
28366                   to: "elm.text.status";
28367                   offset: 2 2;
28368                }
28369                color: 255 255 255 0;
28370             }
28371             description { state: "visible" 0.0;
28372                inherit: "default" 0.0;
28373                visible: 1;
28374             }
28375          }
28376          part { name: "elm.text.status";
28377             type: TEXT;
28378             mouse_events: 0;
28379             scale: 1;
28380             description { state: "default" 0.0;
28381                visible: 0;
28382                fixed: 1 1;
28383                align: 0.5 1.0;
28384                rel1.relative: 0.0 1.0;
28385                rel1.offset: 2 0;
28386                rel2.relative: 1.0 1.0;
28387                rel2.offset: -2 0;
28388                color: 0 0 0 255;
28389                text {
28390                   font: "Sans:style=Bold,Edje-Vera-Bold";
28391                   size: 10;
28392                   min: 0 0;
28393                   align: 0.5 0.0;
28394                }
28395             }
28396             description { state: "visible" 0.0;
28397                inherit: "default" 0.0;
28398                fixed: 1 1;
28399                visible: 1;
28400                text.min: 1 1;
28401                rel1.offset: 8 -9;
28402                rel2.offset: -9 -9;
28403             }
28404          }
28405       }
28406       programs {
28407          program { name: "label_show";
28408             signal: "elm,state,text,visible";
28409             source: "elm";
28410             action:  STATE_SET "visible" 0.0;
28411             target: "elm.text";
28412          }
28413          program { name: "label_hide";
28414             signal: "elm,state,text,hidden";
28415             source: "elm";
28416             action:  STATE_SET "default" 0.0;
28417             target: "elm.text";
28418          }
28419          program { name: "icon_show";
28420             signal: "elm,state,icon,visible";
28421             source: "elm";
28422             action:  STATE_SET "visible" 0.0;
28423             target: "elm.swallow.content";
28424          }
28425          program { name: "icon_hide";
28426             signal: "elm,state,icon,hidden";
28427             source: "elm";
28428             action:  STATE_SET "default" 0.0;
28429             target: "elm.swallow.content";
28430          }
28431          program { name: "units_show";
28432             signal: "elm,state,units,visible";
28433             source: "elm";
28434             action:  STATE_SET "visible" 0.0;
28435             target: "elm.text.status";
28436             target: "elm.text.box";
28437          }
28438          program { name: "units_hide";
28439             signal: "elm,state,units,hidden";
28440             source: "elm";
28441             action:  STATE_SET "default" 0.0;
28442             target: "elm.text.status";
28443             target: "elm.text.box";
28444          }
28445          program { name: "slide_to_end";
28446             action:  STATE_SET "state_end" 0.0;
28447             transition: LINEAR 0.5;
28448             target: "elm.progress.progressbar";
28449             after: "slide_to_begin";
28450          }
28451          program { name: "slide_to_begin";
28452             action:  STATE_SET "state_begin" 0.0;
28453             target: "elm.progress.progressbar";
28454             transition: LINEAR 0.5;
28455             after: "slide_to_end";
28456          }
28457          program { name: "start_pulse";
28458             signal: "elm,state,pulse,start";
28459             source: "elm";
28460             action: STATE_SET "state_begin" 0.0;
28461             target: "elm.progress.progressbar";
28462             after: "slide_to_end";
28463          }
28464          program { name: "stop_pulse";
28465             signal: "elm,state,pulse,stop";
28466             source: "elm";
28467             action: ACTION_STOP;
28468             target: "slide_to_begin";
28469             target: "slide_to_end";
28470             target: "start_pulse";
28471             after: "state_pulse";
28472          }
28473          program { name: "state_pulse";
28474             signal: "elm,state,pulse";
28475             source: "elm";
28476             action: STATE_SET "state_begin" 0.0;
28477             target: "elm.progress.progressbar";
28478             after: "units_hide";
28479          }
28480          program { name: "state_fraction";
28481             signal: "elm,state,fraction";
28482             source: "elm";
28483             action: ACTION_STOP;
28484             target: "slide_to_begin";
28485             target: "slide_to_end";
28486             target: "start_pulse";
28487             action: STATE_SET "default" 0.0;
28488             target: "elm.progress.progressbar";
28489          }
28490          program { name: "set_invert_on";
28491             signal: "elm,state,inverted,on";
28492             source: "elm";
28493             action:  STATE_SET "invert" 0.0;
28494             target: "elm.progress.progressbar";
28495             target: "elm.cur.progressbar";
28496          }
28497          program { name: "set_invert_off";
28498             signal: "elm,state,inverted,off";
28499             source: "elm";
28500             action:  STATE_SET "default" 0.0;
28501             target: "elm.progress.progressbar";
28502             target: "elm.cur.progressbar";
28503          }
28504       }
28505    }
28506
28507 ///////////////////////////////////////////////////////////////////////////////
28508    group { name: "elm/separator/horizontal/default";
28509        images {
28510            image: "separator_h.png" COMP;
28511        }
28512        parts {
28513            part { name: "separator"; // separator group
28514                description { state: "default" 0.0;
28515                    min: 2 2;
28516                    rel1.offset: 4 4;
28517                    rel2.offset: -5 -5;
28518                    image {
28519                        normal: "separator_h.png";
28520                    }
28521                    fill {
28522                        smooth: 0;
28523                    }
28524                }
28525            }
28526        }
28527    }
28528
28529    ///////////////////////////////////////////////////////////////////////////////
28530    group { name: "elm/separator/vertical/default";
28531        images {
28532            image: "separator_v.png" COMP;
28533        }
28534        parts {
28535            part { name: "separator"; // separator group
28536                description { state: "default" 0.0;
28537                    min: 2 2;
28538                    rel1.offset: 4 4;
28539                    rel2.offset: -5 -5;
28540                    image {
28541                        normal: "separator_v.png";
28542                    }
28543                    fill {
28544                        smooth: 0;
28545                    }
28546                }
28547            }
28548        }
28549    }
28550
28551    group { name: "elm/progressbar/horizontal/wheel";
28552        images {
28553            image: "busy-1.png" COMP;
28554            image: "busy-2.png" COMP;
28555            image: "busy-3.png" COMP;
28556            image: "busy-4.png" COMP;
28557            image: "busy-5.png" COMP;
28558            image: "busy-6.png" COMP;
28559            image: "busy-7.png" COMP;
28560            image: "busy-8.png" COMP;
28561            image: "busy-9.png" COMP;
28562        }
28563        parts {
28564            part { name: "elm.background.progressbar";
28565                mouse_events: 0;
28566                type: RECT;
28567                description {
28568                    state: "default" 0.0;
28569                }
28570            }
28571            part { name: "elm.swallow.bar";
28572                mouse_events: 0;
28573                type: SWALLOW;
28574                description { state: "default" 0.0;
28575                    min: 0 0;
28576                    max: 0 0;
28577                    visible: 0;
28578                }
28579            }
28580            part { name: "elm.swallow.content";
28581                type: SWALLOW;
28582                description { state: "default" 0.0;
28583                    min: 0 0;
28584                    max: 0 0;
28585                    visible: 0;
28586                }
28587            }
28588            part { name: "background";
28589                mouse_events: 0;
28590                clip_to: "elm.background.progressbar";
28591                description {
28592                    state: "default" 0.0;
28593                    min: 32 32;
28594                    max: 32 32;
28595                    visible: 1;
28596                    aspect: 1.0 1.0;
28597                    aspect_preference: BOTH;
28598                    image {
28599                        normal: "busy-9.png";
28600                        border: 7 7 7 7;
28601                    }
28602                }
28603                description {
28604                    state: "pulse" 0.0;
28605                    inherit: "default" 0.0;
28606                    image {
28607                        normal: "busy-9.png";
28608                        tween:  "busy-1.png";
28609                        tween:  "busy-2.png";
28610                        tween:  "busy-3.png";
28611                        tween:  "busy-4.png";
28612                        tween:  "busy-5.png";
28613                        tween:  "busy-6.png";
28614                        tween:  "busy-7.png";
28615                        tween:  "busy-8.png";
28616                        border: 7 7 7 7;
28617                    }
28618                }
28619            }
28620        }
28621        programs {
28622            program { name: "start_pulse";
28623                signal: "elm,state,pulse,start";
28624                source: "elm";
28625                action: STATE_SET "pulse" 0.0;
28626                target: "background";
28627                transition: LINEAR 0.5;
28628                after: "start_pulse";
28629            }
28630            program { name: "stop_pulse";
28631                signal: "elm,state,pulse,stop";
28632                source: "elm";
28633                action: STATE_SET "default" 0.0;
28634                target: "background";
28635            }
28636        }
28637    }
28638
28639
28640 ///////////////////////////////////////////////////////////////////////////////
28641    group { name: "elm/spinner/base/default";
28642        images {
28643            image: "shelf_inset.png" COMP;
28644            image: "bt_base1.png" COMP;
28645            image: "bt_hilight.png" COMP;
28646            image: "bt_shine.png" COMP;
28647            image: "bt_glow.png" COMP;
28648            image: "bt_dis_base.png" COMP;
28649            image: "bt_dis_hilight.png" COMP;
28650            image: "sp_bt_l.png" COMP;
28651            image: "sp_bt_r.png" COMP;
28652        }
28653        parts {
28654            part { name: "bg";
28655                type: RECT;
28656                description { state: "default" 0.0;
28657                    min: 0 30;
28658                    rel1.offset: 1 1;
28659                    rel2.offset: -2 -2;
28660                    color: 255 255 255 0;
28661                }
28662            }
28663            part { name: "conf_over";
28664                mouse_events:  0;
28665                description { state: "default" 0.0;
28666                    rel1.to: "bg";
28667                    rel2.to: "bg";
28668                    image {
28669                        normal: "shelf_inset.png";
28670                        border: 7 7 7 7;
28671                        middle: 0;
28672                    }
28673                    fill.smooth : 0;
28674                }
28675            }
28676            part { name: "left_bt";
28677                mouse_events:  1;
28678                description { state: "default" 0.0;
28679                    rel1 { to: "bg";
28680                        offset: 3 3;
28681                    }
28682                    rel2 { to: "bg";
28683                        offset: -4 -4;
28684                    }
28685                    align: 0.0 0.5;
28686                    min: 24 24;
28687                    aspect: 1.0 1.0;
28688                    aspect_preference: VERTICAL;
28689                    image {
28690                        normal: "bt_base1.png";
28691                        border: 6 6 6 6;
28692                    }
28693                    fill.smooth : 0;
28694                }
28695                description { state: "clicked" 0.0;
28696                    inherit: "default" 0.0;
28697                    image.normal: "bt_base1.png";
28698                    image.middle: SOLID;
28699                }
28700                description { state: "disabled" 0.0;
28701                    inherit:  "default" 0.0;
28702                    image {
28703                        normal: "bt_dis_base.png";
28704                        border: 4 4 4 4;
28705                    }
28706                }
28707            }
28708            part {          name: "left_over1";
28709                mouse_events: 0;
28710                description { state: "default" 0.0;
28711                    rel1.to: "left_bt";
28712                    rel2 { to: "left_bt";
28713                        relative: 1.0 0.5;
28714                    }
28715                    image {
28716                        normal: "bt_hilight.png";
28717                        border: 7 7 7 0;
28718                    }
28719                }
28720                description { state: "disabled" 0.0;
28721                    inherit:  "default" 0.0;
28722                    image {
28723                        normal: "bt_dis_hilight.png";
28724                        border: 4 4 4 0;
28725                    }
28726                }
28727            }
28728            part { name: "left_over2";
28729                mouse_events: 1;
28730                repeat_events: 1;
28731                ignore_flags: ON_HOLD;
28732                description { state: "default" 0.0;
28733                    rel1.to: "left_bt";
28734                    rel2.to: "left_bt";
28735                    image {
28736                        normal: "bt_shine.png";
28737                        border: 7 7 7 7;
28738                    }
28739                }
28740                description { state: "disabled" 0.0;
28741                    inherit:  "default" 0.0;
28742                    visible: 0;
28743                }
28744            }
28745            part { name: "left_over3";
28746                mouse_events: 1;
28747                repeat_events: 1;
28748                description { state: "default" 0.0;
28749                    color: 255 255 255 0;
28750                    rel1.to: "left_bt";
28751                    rel2.to: "left_bt";
28752                    image {
28753                        normal: "bt_glow.png";
28754                        border: 12 12 12 12;
28755                    }
28756                    fill.smooth : 0;
28757                }
28758                description { state: "clicked" 0.0;
28759                    inherit:  "default" 0.0;
28760                    visible: 1;
28761                    color: 255 255 255 255;
28762                }
28763            }
28764            part { name: "right_bt";
28765                mouse_events:  1;
28766                description { state: "default" 0.0;
28767                    rel1 { to: "bg";
28768                        offset: -26 3;
28769                    }
28770                    rel2 { to: "bg";
28771                        offset: -4 -4;
28772                    }
28773                    align: 1.0 0.5;
28774                    min: 24 24;
28775                    aspect: 1.0 1.0;
28776                    aspect_preference: VERTICAL;
28777                    image {
28778                        normal: "bt_base1.png";
28779                        border: 5 5 4 12;
28780                    }
28781                    fill.smooth : 0;
28782                }
28783                description { state: "clicked" 0.0;
28784                    inherit: "default" 0.0;
28785                    image.normal: "bt_base1.png";
28786                    image.middle: SOLID;
28787                }
28788                description { state: "disabled" 0.0;
28789                    inherit:  "default" 0.0;
28790                    image {
28791                        normal: "bt_dis_base.png";
28792                        border: 4 4 4 4;
28793                    }
28794                }
28795            }
28796            part { name: "right_over1";
28797                mouse_events: 0;
28798                description { state: "default" 0.0;
28799                    rel1.to: "right_bt";
28800                    rel2 { to: "right_bt";
28801                        relative: 1.0 0.5;
28802                    }
28803                    image {
28804                        normal: "bt_hilight.png";
28805                        border: 7 7 7 0;
28806                    }
28807                }
28808                description { state: "disabled" 0.0;
28809                    inherit:  "default" 0.0;
28810                    image {
28811                        normal: "bt_dis_hilight.png";
28812                        border: 4 4 4 0;
28813                    }
28814                }
28815            }
28816            part { name: "right_over2";
28817                mouse_events: 1;
28818                repeat_events: 1;
28819                ignore_flags: ON_HOLD;
28820                description { state: "default" 0.0;
28821                    rel1.to: "right_bt";
28822                    rel2.to: "right_bt";
28823                    image {
28824                        normal: "bt_shine.png";
28825                        border: 7 7 7 7;
28826                    }
28827                }
28828                description { state: "disabled" 0.0;
28829                    inherit:  "default" 0.0;
28830                    visible: 0;
28831                }
28832            }
28833            part { name: "right_over3";
28834                mouse_events: 1;
28835                repeat_events: 1;
28836                description { state: "default" 0.0;
28837                    color: 255 255 255 0;
28838                    rel1.to: "right_bt";
28839                    rel2.to: "right_bt";
28840                    image {
28841                        normal: "bt_glow.png";
28842                        border: 12 12 12 12;
28843                    }
28844                    fill.smooth : 0;
28845                }
28846                description { state: "clicked" 0.0;
28847                    inherit:  "default" 0.0;
28848                    visible: 1;
28849                    color: 255 255 255 255;
28850                }
28851            }
28852            part { name: "left_bt_icon";
28853                repeat_events: 1;
28854                description { state: "default" 0.0;
28855                    rel1.to: "left_bt";
28856                    rel1.offset: 4 4;
28857                    rel2.to: "left_bt";
28858                    rel2.offset: -5 -5;
28859                    align: 0.5 0.5;
28860                    min: 16 16;
28861                    aspect: 1.0 1.0;
28862                    aspect_preference: BOTH;
28863                    image.normal: "sp_bt_l.png";
28864                }
28865                description { state: "rtl" 0.0;
28866                    inherit: "default" 0.0;
28867                    image.normal: "sp_bt_r.png";
28868                }
28869            }
28870            part { name: "right_bt_icon";
28871                repeat_events: 1;
28872                description { state: "default" 0.0;
28873                    rel1.to: "right_bt";
28874                    rel1.offset: 4 4;
28875                    rel2.to: "right_bt";
28876                    rel2.offset: -5 -5;
28877                    align: 0.5 0.5;
28878                    min: 16 16;
28879                    aspect: 1.0 1.0;
28880                    aspect_preference: BOTH;
28881                    image.normal: "sp_bt_r.png";
28882                }
28883                description { state: "rtl" 0.0;
28884                    inherit: "default" 0.0;
28885                    image.normal: "sp_bt_l.png";
28886                }
28887            }
28888            part { name: "elm.text";
28889                type: TEXT;
28890                mouse_events: 0;
28891                scale: 1;
28892                description { state: "default" 0.0;
28893                    visible: 1;
28894                    align: 0.0 0.5;
28895                    rel1 { relative: 1.0 0.0;
28896                        offset: 3 2;
28897                        to_x: "left_bt";
28898                        to_y: "bg";
28899                    }
28900                    rel2 { relative: 0.0 1.0;
28901                        offset: -3 -2;
28902                        to_x: "right_bt";
28903                        to_y: "bg";
28904                    }
28905                    color: 0 0 0 255;
28906                    text {
28907                        font: "Sans,Edje-Vera";
28908                        size: 10;
28909                        min: 1 1;
28910                        align: 0.5 0.5;
28911                    }
28912                }
28913                description { state: "active" 0.0;
28914                    inherit: "default" 0.0;
28915                    visible: 0;
28916                }
28917                description { state: "disabled_active" 0.0;
28918                    inherit: "default" 0.0;
28919                    color: 0 0 0 128;
28920                    color3: 0 0 0 0;
28921                }
28922                description { state: "disabled" 0.0;
28923                    inherit: "default" 0.0;
28924                    color: 0 0 0 128;
28925                    color3: 0 0 0 0;
28926                }
28927            }
28928            part { name: "elm.dragable.slider";
28929                type: RECT;
28930                mouse_events: 0;
28931                scale: 1;
28932                dragable {
28933                    x: 1 1 0;
28934                    y: 0 0 0;
28935                }
28936                description { state: "default" 0.0;
28937                    rel1.to: "bg";
28938                    rel2.to: "bg";
28939                    fixed: 1 1;
28940                    color: 0 0 0 0;
28941                }
28942            }
28943            part { name: "button_events";
28944                type: RECT;
28945                dragable {
28946                    events: "elm.dragable.slider";
28947                }
28948                mouse_events: 1;
28949                description { state: "default" 0.0;
28950                    rel1.to: "elm.text";
28951                    rel2.to: "elm.text";
28952                    color: 0 0 0 0;
28953                }
28954            }
28955            part { name: "elm.swallow.entry";
28956                type: SWALLOW;
28957                description { state: "default" 0.0;
28958                    visible: 0;
28959                    align: 0.5 0.5;
28960                    rel1 { relative: 1.0 0.5;
28961                        offset: 3 2;
28962                        to_x: "left_bt";
28963                        to_y: "bg";
28964                    }
28965                    rel2 { relative: 0.0 0.5;
28966                        offset: -3 -2;
28967                        to_x: "right_bt";
28968                        to_y: "bg";
28969                    }
28970                    fixed: 1 1;
28971                    color: 0 0 0 0;
28972                }
28973                description { state: "active" 0.0;
28974                    inherit: "default" 0.0;
28975                    visible: 1;
28976                    color: 255 255 255 255;
28977                }
28978                description { state: "disabled_active" 0.0;
28979                    inherit: "default" 0.0;
28980                    visible: 0;
28981                }
28982                description { state: "disabled" 0.0;
28983                    inherit: "default" 0.0;
28984                    visible: 0;
28985                }
28986            }
28987            part { name: "disabler";
28988                type: RECT;
28989                description { state: "default" 0.0;
28990                    color: 0 0 0 0;
28991                    visible: 0;
28992                }
28993                description { state: "disabled" 0.0;
28994                    inherit: "default" 0.0;
28995                    visible: 1;
28996                }
28997            }
28998        }
28999        programs {
29000            program { name: "text_show";
29001                signal: "elm,state,text,visible";
29002                source: "elm";
29003                action:  STATE_SET "visible" 0.0;
29004                target: "elm.text";
29005            }
29006            program { name: "text_hide";
29007                signal: "elm,state,text,hidden";
29008                source: "elm";
29009                action:  STATE_SET "default" 0.0;
29010                target: "elm.text";
29011            }
29012            program { name: "dec";
29013                signal: "mouse,down,1";
29014                source: "left_bt";
29015                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29016            }
29017            program { name: "dec2";
29018                signal: "mouse,up,1";
29019                source: "left_bt";
29020                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29021            }
29022            program { name: "inc";
29023                signal: "mouse,down,1";
29024                source: "right_bt";
29025                action: SIGNAL_EMIT "elm,action,increment,start" "";
29026            }
29027            program { name: "inc2";
29028                signal: "mouse,up,1";
29029                source: "right_bt";
29030                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29031            }
29032            program {
29033                name:   "left_bt_click";
29034                signal: "mouse,down,1";
29035                source: "left_over2";
29036                action: STATE_SET "clicked" 0.0;
29037                target: "left_bt";
29038            }
29039            program {
29040                name:   "left_bt_unclick";
29041                signal: "mouse,up,1";
29042                source: "left_over2";
29043                action: STATE_SET "default" 0.0;
29044                target: "left_bt";
29045            }
29046            program {
29047                name:   "left_bt_click2";
29048                signal: "mouse,down,1";
29049                source: "left_over3";
29050                action: STATE_SET "clicked" 0.0;
29051                target: "left_over3";
29052            }
29053            program {
29054                name:   "left_bt_unclick2";
29055                signal: "mouse,up,1";
29056                source: "left_over3";
29057                action: STATE_SET "default" 0.0;
29058                transition: DECELERATE 0.5;
29059                target: "left_over3";
29060            }
29061            program {
29062                name:   "left_bt_unclick3";
29063                signal: "mouse,up,1";
29064                source: "left_over2";
29065                action: SIGNAL_EMIT "elm,action,click" "";
29066            }
29067            program {
29068                name:   "left_bt_pressed_anim";
29069                signal: "elm,left,anim,activate";
29070                source: "elm";
29071                action: STATE_SET "clicked" 0.0;
29072                target: "left_bt";
29073                target: "left_over3";
29074                after: "left_bt_unpressed_anim";
29075            }
29076            program {
29077                name:   "left_bt_unpressed_anim";
29078                action: STATE_SET "default" 0.0;
29079                transition: DECELERATE 0.5;
29080                target: "left_bt";
29081                target: "left_over3";
29082            }
29083
29084            program {
29085                name:   "right_bt_click";
29086                signal: "mouse,down,1";
29087                source: "right_over2";
29088                action: STATE_SET "clicked" 0.0;
29089                target: "right_bt";
29090            }
29091            program {
29092                name:   "right_bt_unclick";
29093                signal: "mouse,up,1";
29094                source: "right_over2";
29095                action: STATE_SET "default" 0.0;
29096                target: "right_bt";
29097            }
29098            program {
29099                name:   "right_bt_click2";
29100                signal: "mouse,down,1";
29101                source: "right_over3";
29102                action: STATE_SET "clicked" 0.0;
29103                target: "right_over3";
29104            }
29105            program {
29106                name:   "right_bt_unclick2";
29107                signal: "mouse,up,1";
29108                source: "right_over3";
29109                action: STATE_SET "default" 0.0;
29110                transition: DECELERATE 0.5;
29111                target: "right_over3";
29112            }
29113            program {
29114                name:   "right_bt_unclick3";
29115                signal: "mouse,up,1";
29116                source: "right_over2";
29117                action: SIGNAL_EMIT "elm,action,click" "";
29118            }
29119            program {
29120                name:   "right_bt_pressed_anim";
29121                signal: "elm,right,anim,activate";
29122                source: "elm";
29123                action: STATE_SET "clicked" 0.0;
29124                target: "right_bt";
29125                target: "right_over3";
29126                after: "right_bt_unpressed_anim";
29127            }
29128            program {
29129                name:   "right_bt_unpressed_anim";
29130                action: STATE_SET "default" 0.0;
29131                transition: DECELERATE 0.5;
29132                target: "right_bt";
29133                target: "right_over3";
29134            }
29135
29136            program { name: "disable";
29137                signal: "elm,state,disabled";
29138                source: "elm";
29139                action: STATE_SET "disabled" 0.0;
29140                target: "left_bt";
29141                target: "left_over1";
29142                target: "left_over2";
29143                target: "right_bt";
29144                target: "right_over1";
29145                target: "right_over2";
29146                target: "disabler";
29147                after: "disable_text";
29148            }
29149            program { name: "disable_text";
29150                script {
29151                    new st[31];
29152                    new Float:vl;
29153                    get_state(PART:"elm.text", st, 30, vl);
29154                    if (!strcmp(st, "active"))
29155                    set_state(PART:"elm.text", "disabled_active", 0.0);
29156                    else
29157                    set_state(PART:"elm.text", "disabled", 0.0);
29158
29159                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29160                    if (!strcmp(st, "active"))
29161                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29162                    else
29163                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29164                }
29165            }
29166            program { name: "enable";
29167                signal: "elm,state,enabled";
29168                source: "elm";
29169                action: STATE_SET "default" 0.0;
29170                target: "left_bt";
29171                target: "left_over1";
29172                target: "left_over2";
29173                target: "right_bt";
29174                target: "right_over1";
29175                target: "right_over2";
29176                target: "disabler";
29177                after: "enable_text";
29178            }
29179            program { name: "enable_text";
29180                script {
29181                    new st[31];
29182                    new Float:vl;
29183                    get_state(PART:"elm.text", st, 30, vl);
29184                    if (!strcmp(st, "disabled_active"))
29185                    set_state(PART:"elm.text", "active", 0.0);
29186                    else
29187                    set_state(PART:"elm.text", "default", 0.0);
29188
29189                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29190                    if (!strcmp(st, "disabled_active"))
29191                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29192                    else
29193                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29194                }
29195            }
29196            program { name: "active";
29197                signal: "elm,state,active";
29198                source: "elm";
29199                action: STATE_SET "active" 0.0;
29200                target: "elm.text";
29201                target: "elm.swallow.entry";
29202            }
29203            program { name: "inactive";
29204                signal: "elm,state,inactive";
29205                source: "elm";
29206                action: STATE_SET "default" 0.0;
29207                target: "elm.text";
29208                target: "elm.swallow.entry";
29209            }
29210            program { name: "toggle_text";
29211                signal: "mouse,up,1";
29212                source: "button_events";
29213                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29214            }
29215            program { name: "to_rtl";
29216                signal: "edje,state,rtl";
29217                source: "edje";
29218                action: STATE_SET "rtl" 0.0;
29219                target: "right_bt_icon";
29220                target: "left_bt_icon";
29221            }
29222            program { name: "to_ltr";
29223                signal: "edje,state,ltr";
29224                source: "edje";
29225                action: STATE_SET "default" 0.0;
29226                target: "right_bt_icon";
29227                target: "left_bt_icon";
29228            }
29229        }
29230    }
29231
29232 ///////////////////////////////////////////////////////////////////////////////
29233    group { name: "elm/spinner/base/vertical";
29234        images {
29235            image: "shelf_inset.png" COMP;
29236            image: "bt_hilight.png" COMP;
29237            image: "bt_shine.png" COMP;
29238            image: "bt_glow.png" COMP;
29239            image: "bt_dis_base.png" COMP;
29240            image: "bt_dis_hilight.png" COMP;
29241            image: "up.png" COMP;
29242            image: "down.png" COMP;
29243            image: "bt_spinner_up.png" COMP;
29244            image: "bt_spinner_down.png" COMP;
29245            image: "bt_spinner_hilight.png" COMP;
29246        }
29247        parts {
29248            part { name: "bg";
29249                type: RECT;
29250                description { state: "default" 0.0;
29251                    min: 0 30;
29252                    rel1.offset: 1 1;
29253                    rel2.offset: -2 -2;
29254                    color: 255 255 255 0;
29255                }
29256            }
29257            part { name: "conf_over";
29258                mouse_events:  0;
29259                description { state: "default" 0.0;
29260                    rel1 {
29261                      to: "bg";
29262                      relative: 0.0 0.0;
29263                    }
29264                    rel2 {
29265                       to: "bg";
29266                    }
29267                    image {
29268                        normal: "shelf_inset.png";
29269                        border: 7 7 7 7;
29270                        middle: 0;
29271                    }
29272                    fill.smooth : 0;
29273                }
29274            }
29275            part { name: "down_bt";
29276                mouse_events:  1;
29277                description { state: "default" 0.0;
29278                    fixed: 1 1;
29279                    rel1 {
29280                        to: "up_bt";
29281                        relative: 0 1;
29282                        offset: 0 1;
29283                    }
29284                    rel2 {
29285                        to_y: "bg";
29286                        to_x: "up_bt";
29287                        relative: 1 1;
29288                        offset: -1 -4;
29289                    }
29290                    align: 1.0 0.5;
29291                    min: 24 16;
29292                    image {
29293                        normal: "bt_spinner_down.png";
29294                        border: 6 6 6 6;
29295                    }
29296                    fill.smooth : 0;
29297                }
29298                description { state: "clicked" 0.0;
29299                    inherit: "default" 0.0;
29300                    image.normal: "bt_spinner_down.png";
29301                    image.middle: SOLID;
29302                }
29303                description { state: "disabled" 0.0;
29304                    inherit:  "default" 0.0;
29305                    image {
29306                        normal: "bt_dis_base.png";
29307                        border: 4 4 4 4;
29308                    }
29309                }
29310            }
29311            part { name: "down_over3";
29312                mouse_events: 1;
29313                repeat_events: 1;
29314                description { state: "default" 0.0;
29315                    color: 255 255 255 0;
29316                    rel1.to: "down_bt";
29317                    rel2.to: "down_bt";
29318                    image {
29319                        normal: "bt_glow.png";
29320                        border: 12 12 12 12;
29321                    }
29322                    fill.smooth : 0;
29323                }
29324                description { state: "clicked" 0.0;
29325                    inherit:  "default" 0.0;
29326                    visible: 1;
29327                    color: 255 255 255 255;
29328                }
29329            }
29330            part { name: "up_bt";
29331                mouse_events:  1;
29332                description { state: "default" 0.0;
29333                    fixed: 1 0;
29334                    rel1 { to: "bg";
29335                        relative: 0 0;
29336                        offset: 0 2;
29337                    }
29338                    rel2 { to: "bg";
29339                        relative: 1 0.5;
29340                        offset: -3 0;
29341                    }
29342                    align: 1.0 0.5;
29343                    min: 24 16;
29344                    aspect: 1.5 1.0;
29345                    aspect_preference: BOTH;
29346                    image {
29347                        normal: "bt_spinner_up.png";
29348                        border: 6 6 6 6;
29349                    }
29350                    fill.smooth : 0;
29351                }
29352                description { state: "clicked" 0.0;
29353                    inherit: "default" 0.0;
29354                    image.normal: "bt_spinner_up.png";
29355                    image.middle: SOLID;
29356                }
29357                description { state: "disabled" 0.0;
29358                    inherit:  "default" 0.0;
29359                    image {
29360                        normal: "bt_dis_base.png";
29361                        border: 4 4 4 4;
29362                    }
29363                }
29364            }
29365            part { name: "up_over1";
29366                mouse_events: 0;
29367                description { state: "default" 0.0;
29368                    rel1.to: "up_bt";
29369                    rel2 { to: "up_bt";
29370                        relative: 1.0 0.5;
29371                    }
29372                    image {
29373                        normal: "bt_spinner_hilight.png";
29374                        border: 7 7 7 0;
29375                    }
29376                }
29377                description { state: "disabled" 0.0;
29378                    inherit:  "default" 0.0;
29379                    image {
29380                        normal: "bt_dis_hilight.png";
29381                        border: 4 4 4 0;
29382                    }
29383                }
29384            }
29385            part { name: "up_over3";
29386                mouse_events: 1;
29387                repeat_events: 1;
29388                description { state: "default" 0.0;
29389                    color: 255 255 255 0;
29390                    rel1.to: "up_bt";
29391                    rel2.to: "up_bt";
29392                    image {
29393                        normal: "bt_glow.png";
29394                        border: 12 12 12 12;
29395                    }
29396                    fill.smooth : 0;
29397                }
29398                description { state: "clicked" 0.0;
29399                    inherit:  "default" 0.0;
29400                    visible: 1;
29401                    color: 255 255 255 255;
29402                }
29403            }
29404            part { name: "down_bt_icon";
29405                repeat_events: 1;
29406                description { state: "default" 0.0;
29407                    rel1.to: "down_bt";
29408                    rel1.offset: 5 3;
29409                    rel2.to: "down_bt";
29410                    rel2.offset: -6 -3;
29411                    align: 0.5 0.5;
29412                    image.normal: "down.png";
29413                }
29414            }
29415            part { name: "up_bt_icon";
29416                repeat_events: 1;
29417                description { state: "default" 0.0;
29418                    rel1.to: "up_bt";
29419                    rel1.offset: 5 3;
29420                    rel2.to: "up_bt";
29421                    rel2.offset: -6 -3;
29422                    align: 0.5 0.5;
29423                    image.normal: "up.png";
29424                }
29425            }
29426            part { name: "elm.text";
29427                type: TEXT;
29428                mouse_events: 0;
29429                scale: 1;
29430                description { state: "default" 0.0;
29431                    visible: 1;
29432                    align: 0.0 0.5;
29433                    rel1 { relative: 0.0 0.0;
29434                        offset: 3 2;
29435                        to_x: "bg";
29436                        to_y: "bg";
29437                    }
29438                    rel2 { relative: 0.0 1.0;
29439                        offset: -3 -2;
29440                        to_x: "down_bt";
29441                        to_y: "bg";
29442                    }
29443                    color: 0 0 0 255;
29444                    text {
29445                        font: "Sans,Edje-Vera";
29446                        size: 10;
29447                        min: 1 1;
29448                        align: 0.5 0.5;
29449                    }
29450                }
29451                description { state: "active" 0.0;
29452                    inherit: "default" 0.0;
29453                    visible: 0;
29454                }
29455                description { state: "disabled_active" 0.0;
29456                    inherit: "default" 0.0;
29457                    color: 0 0 0 128;
29458                    color3: 0 0 0 0;
29459                }
29460                description { state: "disabled" 0.0;
29461                    inherit: "default" 0.0;
29462                    color: 0 0 0 128;
29463                    color3: 0 0 0 0;
29464                }
29465            }
29466            part { name: "elm.dragable.slider";
29467                type: RECT;
29468                mouse_events: 0;
29469                scale: 1;
29470                dragable {
29471                    x: 1 1 0;
29472                    y: 0 0 0;
29473                }
29474                description { state: "default" 0.0;
29475                    rel1.to: "bg";
29476                    rel2.to: "bg";
29477                    fixed: 1 1;
29478                    color: 0 0 0 0;
29479                }
29480            }
29481            part { name: "button_events";
29482                type: RECT;
29483                dragable {
29484                    events: "elm.dragable.slider";
29485                }
29486                mouse_events: 1;
29487                description { state: "default" 0.0;
29488                    rel1.to: "elm.text";
29489                    rel2.to: "elm.text";
29490                    color: 0 0 0 0;
29491                }
29492            }
29493            part { name: "elm.swallow.entry";
29494                type: SWALLOW;
29495                description { state: "default" 0.0;
29496                    visible: 0;
29497                    align: 0.5 0.5;
29498                    rel1 { relative: 0.0 0.5;
29499                        offset: 3 2;
29500                        to: "bg";
29501                    }
29502                    rel2 { relative: 1.0 0.5;
29503                        offset: -3 -2;
29504                        to: "bg";
29505                    }
29506                    fixed: 1 1;
29507                    color: 0 0 0 0;
29508                }
29509                description { state: "active" 0.0;
29510                    inherit: "default" 0.0;
29511                    visible: 1;
29512                    color: 255 255 255 255;
29513                }
29514                description { state: "disabled_active" 0.0;
29515                    inherit: "default" 0.0;
29516                    visible: 0;
29517                }
29518                description { state: "disabled" 0.0;
29519                    inherit: "default" 0.0;
29520                    visible: 0;
29521                }
29522            }
29523            part { name: "disabler";
29524                type: RECT;
29525                description { state: "default" 0.0;
29526                    color: 0 0 0 0;
29527                    visible: 0;
29528                }
29529                description { state: "disabled" 0.0;
29530                    inherit: "default" 0.0;
29531                    visible: 1;
29532                }
29533            }
29534        }
29535        programs {
29536            program { name: "text_show";
29537                signal: "elm,state,text,visible";
29538                source: "elm";
29539                action:  STATE_SET "visible" 0.0;
29540                target: "elm.text";
29541            }
29542            program { name: "text_hide";
29543                signal: "elm,state,text,hidden";
29544                source: "elm";
29545                action:  STATE_SET "default" 0.0;
29546                target: "elm.text";
29547            }
29548            program { name: "dec";
29549                signal: "mouse,down,1";
29550                source: "down_bt";
29551                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29552            }
29553            program { name: "dec2";
29554                signal: "mouse,up,1";
29555                source: "down_bt";
29556                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29557            }
29558            program { name: "inc";
29559                signal: "mouse,down,1";
29560                source: "up_bt";
29561                action: SIGNAL_EMIT "elm,action,increment,start" "";
29562            }
29563            program { name: "inc2";
29564                signal: "mouse,up,1";
29565                source: "up_bt";
29566                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29567            }
29568            program {
29569                name:   "down_bt_click2";
29570                signal: "mouse,down,1";
29571                source: "down_over3";
29572                action: STATE_SET "clicked" 0.0;
29573                target: "down_over3";
29574            }
29575            program {
29576                name:   "down_bt_unclick2";
29577                signal: "mouse,up,1";
29578                source: "down_over3";
29579                action: STATE_SET "default" 0.0;
29580                transition: DECELERATE 0.5;
29581                target: "down_over3";
29582            }
29583            program {
29584                name:   "up_bt_click2";
29585                signal: "mouse,down,1";
29586                source: "up_over3";
29587                action: STATE_SET "clicked" 0.0;
29588                target: "up_over3";
29589            }
29590            program {
29591                name:   "up_bt_unclick2";
29592                signal: "mouse,up,1";
29593                source: "up_over3";
29594                action: STATE_SET "default" 0.0;
29595                transition: DECELERATE 0.5;
29596                target: "up_over3";
29597            }
29598            program { name: "disable";
29599                signal: "elm,state,disabled";
29600                source: "elm";
29601                action: STATE_SET "disabled" 0.0;
29602                target: "down_bt";
29603                target: "up_bt";
29604                target: "disabler";
29605                after: "disable_text";
29606            }
29607            program { name: "disable_text";
29608                script {
29609                    new st[31];
29610                    new Float:vl;
29611                    get_state(PART:"elm.text", st, 30, vl);
29612                    if (!strcmp(st, "active"))
29613                    set_state(PART:"elm.text", "disabled_active", 0.0);
29614                    else
29615                    set_state(PART:"elm.text", "disabled", 0.0);
29616
29617                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29618                    if (!strcmp(st, "active"))
29619                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29620                    else
29621                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29622                }
29623            }
29624            program { name: "enable";
29625                signal: "elm,state,enabled";
29626                source: "elm";
29627                action: STATE_SET "default" 0.0;
29628                target: "down_bt";
29629                target: "up_bt";
29630                target: "disabler";
29631                after: "enable_text";
29632            }
29633            program { name: "enable_text";
29634                script {
29635                    new st[31];
29636                    new Float:vl;
29637                    get_state(PART:"elm.text", st, 30, vl);
29638                    if (!strcmp(st, "disabled_active"))
29639                    set_state(PART:"elm.text", "active", 0.0);
29640                    else
29641                    set_state(PART:"elm.text", "default", 0.0);
29642
29643                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29644                    if (!strcmp(st, "disabled_active"))
29645                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29646                    else
29647                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29648                }
29649            }
29650            program { name: "active";
29651                signal: "elm,state,active";
29652                source: "elm";
29653                action: STATE_SET "active" 0.0;
29654                target: "elm.text";
29655                target: "elm.swallow.entry";
29656            }
29657            program { name: "inactive";
29658                signal: "elm,state,inactive";
29659                source: "elm";
29660                action: STATE_SET "default" 0.0;
29661                target: "elm.text";
29662                target: "elm.swallow.entry";
29663            }
29664            program { name: "toggle_text";
29665                signal: "mouse,up,1";
29666                source: "button_events";
29667                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29668            }
29669        }
29670    }
29671
29672
29673    ///////////////////////////////////////////////////////////////////////////////
29674    group { name: "elm/index/base/vertical/default";
29675        images {
29676            image: "bt_base1.png" COMP;
29677            image: "bt_base2.png" COMP;
29678            image: "bt_hilight.png" COMP;
29679            image: "bt_shine.png" COMP;
29680        }
29681        parts {
29682            part { name: "clip";
29683                type: RECT;
29684                mouse_events:  0;
29685                description { state: "default" 0.0;
29686                    visible:  0;
29687                    color: 255 255 255 0;
29688                }
29689                description { state: "active" 0.0;
29690                    visible:  1;
29691                    color: 255 255 255 255;
29692                }
29693            }
29694            part { name: "clip2";
29695                type: RECT;
29696                mouse_events:  0;
29697                clip_to: "clip";
29698                description { state: "default" 0.0;
29699                    visible: 0;
29700                    color: 255 255 255 0;
29701                }
29702                description { state: "active" 0.0;
29703                    visible:  1;
29704                    color: 255 255 255 255;
29705                }
29706            }
29707            part { name: "elm.swallow.index.0";
29708                type: SWALLOW;
29709                clip_to: "clip";
29710                description { state: "default" 0.0;
29711                    align: 1.0 0.5;
29712                    fixed: 1 1;
29713                    rel1 {
29714                        relative: 1.0 0.5;
29715                        offset: -1 5;
29716                    }
29717                    rel2 {
29718                        relative: 1.0 0.5;
29719                        offset: -1 -6;
29720                    }
29721                }
29722            }
29723            part { name: "button_image";
29724                mouse_events: 1;
29725                clip_to: "clip";
29726                description { state: "default" 0.0;
29727                    rel1 {
29728                        to: "elm.text.body";
29729                        offset: -5 -5;
29730                    }
29731                    rel2 {
29732                        to: "elm.text";
29733                        offset: 4 4;
29734                    }
29735                    image {
29736                        normal: "bt_base2.png";
29737                        border: 7 7 7 7;
29738                    }
29739                    image.middle: SOLID;
29740                }
29741            }
29742            part { name: "elm.text.body";
29743                type: TEXT;
29744                effect: SOFT_SHADOW;
29745                mouse_events: 0;
29746                scale: 1;
29747                clip_to: "clip";
29748                description { state: "default" 0.0;
29749                    align: 1.0 0.5;
29750                    fixed: 1 1;
29751                    rel1 {
29752                        to: "elm.text";
29753                        relative: 0.0 0.0;
29754                        offset: 5 0;
29755                    }
29756                    rel2 {
29757                        to: "elm.text";
29758                        relative: 0.0 1.0;
29759                        offset: 5 -1;
29760                    }
29761                    color: 224 224 224 255;
29762                    color3: 0 0 0 64;
29763                    text {
29764                        font:     "Sans,Edje-Vera";
29765                        size:     20;
29766                        min:      1 1;
29767                        align:    1.0 0.5;
29768                    }
29769                }
29770            }
29771            part { name: "elm.text";
29772                type: TEXT;
29773                effect: SOFT_SHADOW;
29774                mouse_events: 0;
29775                scale: 1;
29776                clip_to: "clip";
29777                description { state: "default" 0.0;
29778                    align: 1.0 0.5;
29779                    fixed: 1 1;
29780                    rel1 {
29781                        to_x: "elm.swallow.event.0";
29782                        to_y: "elm.dragable.pointer";
29783                        relative: 0.0 0.5;
29784                        offset: -16 0;
29785                    }
29786                    rel2 {
29787                        to_x: "elm.swallow.event.0";
29788                        to_y: "elm.dragable.pointer";
29789                        relative: 0.0 0.5;
29790                        offset: -16 -1;
29791                    }
29792                    color: 255 0 0 255;
29793                    color3: 0 0 0 64;
29794                    text {
29795                        font:     "Sans,Edje-Vera";
29796                        size:     20;
29797                        min:      1 1;
29798                        align:    1.0 0.5;
29799                    }
29800                }
29801            }
29802            part {        name: "over1";
29803                mouse_events: 0;
29804                clip_to: "clip";
29805                description { state: "default" 0.0;
29806                    rel1 {
29807                        to: "button_image";
29808                    }
29809                    rel2 {
29810                        to: "button_image";
29811                        relative: 1.0 0.5;
29812                    }
29813                    image {
29814                        normal: "bt_hilight.png";
29815                        border: 7 7 7 0;
29816                    }
29817                }
29818            }
29819            part { name: "over2";
29820                mouse_events: 1;
29821                repeat_events: 1;
29822                ignore_flags: ON_HOLD;
29823                clip_to: "clip";
29824                description { state: "default" 0.0;
29825                    rel1 {
29826                        to: "button_image";
29827                    }
29828                    rel2 {
29829                        to: "button_image";
29830                    }
29831                    image {
29832                        normal: "bt_shine.png";
29833                        border: 7 7 7 7;
29834                    }
29835                }
29836            }
29837            part { name: "elm.dragable.pointer";
29838                type: RECT;
29839                mouse_events: 0;
29840                dragable {
29841                    x: 1 1 0;
29842                    y: 1 1 0;
29843                }
29844                clip_to: "clip";
29845                description { state: "default" 0.0;
29846                    fixed: 1 1;
29847                    min: 8 8;
29848                    max: 8 8;
29849                    visible: 0;
29850                    rel1 {
29851                        relative: 0.0 0.0;
29852                        offset:   0 0;
29853                    }
29854                    rel2 {
29855                        relative: 0.0 0.0;
29856                        offset:   0 0;
29857                    }
29858                }
29859            }
29860            part { name: "elm.swallow.event.0";
29861                type: SWALLOW;
29862                description { state: "default" 0.0;
29863                    align: 1.0 0.5;
29864                    fixed: 1 1;
29865                    rel1 {
29866                        relative: 1.0 0.0;
29867                        offset: -1 0;
29868                    }
29869                    rel2 {
29870                        relative: 1.0 1.0;
29871                        offset: -1 -1;
29872                    }
29873                }
29874            }
29875        }
29876        programs {
29877            program { name: "active";
29878                signal: "elm,state,active";
29879                source: "elm";
29880                action: STATE_SET "active" 0.0;
29881                transition: DECELERATE 0.5;
29882                target: "clip";
29883            }
29884            program { name: "inactive";
29885                signal: "elm,state,inactive";
29886                source: "elm";
29887                action: STATE_SET "default" 0.0;
29888                transition: DECELERATE 0.5;
29889                target: "clip";
29890            }
29891        }
29892    }
29893
29894    group { name: "elm/index/item/vertical/default";
29895        data.item: "stacking" "above";
29896        data.item: "selectraise" "on";
29897        images {
29898            image: "ilist_1.png" COMP;
29899            image: "ilist_item_shadow.png" COMP;
29900        }
29901        parts {
29902            part {
29903                name: "base_sh";
29904                mouse_events: 0;
29905                description {
29906                    state: "default" 0.0;
29907                    align: 0.0 0.0;
29908                    min: 0 10;
29909                    fixed: 1 1;
29910                    rel1 {
29911                        to: "base";
29912                        relative: 0.0 1.0;
29913                        offset: 0 0;
29914                    }
29915                    rel2 {
29916                        to: "base";
29917                        relative: 1.0 1.0;
29918                        offset: -1 0;
29919                    }
29920                    image {
29921                        normal: "ilist_item_shadow.png";
29922                    }
29923                    fill.smooth: 0;
29924                }
29925            }
29926            part {
29927                name: "base";
29928                mouse_events: 0;
29929                description {
29930                    state: "default" 0.0;
29931                    image {
29932                        normal: "ilist_1.png";
29933                        border: 2 2 2 2;
29934                    }
29935                    fill.smooth: 0;
29936                }
29937                description { state: "active" 0.0;
29938                    inherit: "default" 0.0;
29939                    rel1 {
29940                        offset: -16 0;
29941                    }
29942                }
29943            }
29944            part { name: "elm.text";
29945                type:           TEXT;
29946                mouse_events:   0;
29947                scale: 1;
29948                description {
29949                    state: "default" 0.0;
29950                           //               min: 16 16;
29951                    rel1 {
29952                        to: "base";
29953                        relative: 0.0  0.0;
29954                        offset:   4 4;
29955                    }
29956                    rel2 {
29957                        to: "base";
29958                        relative: 0.5  1.0;
29959                        offset:   -1 -1;
29960                    }
29961                    color: 0 0 0 128;
29962                    text {
29963                        font: "Sans";
29964                        size: 10;
29965                        min: 1 1;
29966                             //                  min: 0 1;
29967                        align: 0.5 0.5;
29968                    }
29969                }
29970                description { state: "active" 0.0;
29971                    inherit: "default" 0.0;
29972                    color: 0 0 0 255;
29973                }
29974            }
29975        }
29976        programs {
29977            program { name: "active";
29978                signal: "elm,state,active";
29979                source: "elm";
29980                action: STATE_SET "active" 0.0;
29981                transition: DECELERATE 0.5;
29982                target: "elm.text";
29983                target: "base";
29984            }
29985            program { name: "inactive";
29986                signal: "elm,state,inactive";
29987                source: "elm";
29988                action: STATE_SET "default" 0.0;
29989                transition: DECELERATE 0.5;
29990                target: "elm.text";
29991                target: "base";
29992            }
29993        }
29994    }
29995
29996    group { name: "elm/index/item_odd/vertical/default";
29997        data.item: "stacking" "below";
29998        images {
29999            image: "ilist_2.png" COMP;
30000        }
30001        parts {
30002            part {
30003                name: "base";
30004                mouse_events: 0;
30005                description {
30006                    state: "default" 0.0;
30007                    image {
30008                        normal: "ilist_2.png";
30009                        border: 2 2 2 2;
30010                    }
30011                    fill.smooth: 0;
30012                }
30013                description { state: "active" 0.0;
30014                    inherit: "default" 0.0;
30015                    rel1 {
30016                        offset: -16 0;
30017                    }
30018                }
30019            }
30020            part { name: "elm.text";
30021                type:           TEXT;
30022                mouse_events:   0;
30023                scale: 1;
30024                description {
30025                    state: "default" 0.0;
30026                           //               min: 16 16;
30027                    rel1 {
30028                        to: "base";
30029                        relative: 0.0  0.0;
30030                        offset:   4 4;
30031                    }
30032                    rel2 {
30033                        to: "base";
30034                        relative: 0.5  1.0;
30035                        offset:   -1 -1;
30036                    }
30037                    color: 0 0 0 128;
30038                    text {
30039                        font: "Sans";
30040                        size: 10;
30041                        min: 1 1;
30042                             //                  min: 0 1;
30043                        align: 0.5 0.5;
30044                    }
30045                }
30046                description { state: "active" 0.0;
30047                    inherit: "default" 0.0;
30048                    color: 0 0 0 255;
30049                }
30050            }
30051        }
30052        programs {
30053            program { name: "active";
30054                signal: "elm,state,active";
30055                source: "elm";
30056                action: STATE_SET "active" 0.0;
30057                transition: DECELERATE 0.5;
30058                target: "elm.text";
30059                target: "base";
30060            }
30061            program { name: "inactive";
30062                signal: "elm,state,inactive";
30063                source: "elm";
30064                action: STATE_SET "default" 0.0;
30065                transition: DECELERATE 0.5;
30066                target: "elm.text";
30067                target: "base";
30068            }
30069        }
30070    }
30071
30072 ///////////////////////////////////////////////////////////////////////////////
30073    group { name: "elm/gengrid/item/default/default";
30074       data.item: "labels" "elm.text";
30075       data.item: "icons" "elm.swallow.icon elm.swallow.end";
30076       images {
30077          image: "bt_sm_base1.png" COMP;
30078          image: "bt_sm_shine.png" COMP;
30079          image: "bt_sm_hilight.png" COMP;
30080          image: "ilist_1.png" COMP;
30081          image: "ilist_item_shadow.png" COMP;
30082       }
30083       parts {
30084          part { name: "event";
30085             type: RECT;
30086             repeat_events: 1;
30087             description {
30088                state: "default" 0.0;
30089                color: 0 0 0 0;
30090             }
30091          }
30092          part { name: "base_sh";
30093             mouse_events: 0;
30094             description { state: "default" 0.0;
30095                align: 0.0 0.0;
30096                min: 0 10;
30097                fixed: 1 1;
30098                rel1 {
30099                   to: "base";
30100                   relative: 0.0 1.0;
30101                   offset: 0 0;
30102                }
30103                rel2 {
30104                   to: "base";
30105                   relative: 1.0 1.0;
30106                   offset: -1 0;
30107                }
30108                image {
30109                   normal: "ilist_item_shadow.png";
30110                }
30111                fill.smooth: 0;
30112             }
30113          }
30114          part { name: "base";
30115             mouse_events: 0;
30116             description { state: "default" 0.0;
30117                image {
30118                   normal: "ilist_1.png";
30119                   border: 2 2 2 2;
30120                }
30121                fill.smooth: 0;
30122             }
30123          }
30124          part { name: "bg";
30125             clip_to: "disclip";
30126             mouse_events: 0;
30127             description { state: "default" 0.0;
30128                visible: 0;
30129                color: 255 255 255 0;
30130                rel1 {
30131                   relative: 0.0 0.0;
30132                   offset: -5 -5;
30133                }
30134                rel2 {
30135                   relative: 1.0 1.0;
30136                   offset: 4 4;
30137                }
30138                image {
30139                   normal: "bt_sm_base1.png";
30140                   border: 6 6 6 6;
30141                }
30142                image.middle: SOLID;
30143             }
30144             description { state: "selected" 0.0;
30145                inherit: "default" 0.0;
30146                visible: 1;
30147                color: 255 255 255 255;
30148                rel1 {
30149                   relative: 0.0 0.0;
30150                   offset: -2 -2;
30151                }
30152                rel2 {
30153                   relative: 1.0 1.0;
30154                   offset: 1 1;
30155                }
30156             }
30157          }
30158          part { name: "elm.swallow.pad";
30159             type: SWALLOW;
30160             description { state: "default" 0.0;
30161                fixed: 1 0;
30162                align: 0.0 0.5;
30163                rel1 {
30164                   relative: 0.0  1.0;
30165                   offset:   0    -10;
30166                }
30167                rel2 {
30168                   to_y: "elm.text";
30169                   relative: 0.0  0.0;
30170                   offset:   -1   -1;
30171                }
30172             }
30173          }
30174          part { name: "elm.swallow.icon";
30175             clip_to: "disclip";
30176             type: SWALLOW;
30177             description { state: "default" 0.0;
30178                fixed: 1 0;
30179                align: 0.5 0.5;
30180                rel1 {
30181                   relative: 0.0  0.0;
30182                   offset:   -1    4;
30183                }
30184                rel2 {
30185                   to_y: "elm.swallow.pad";
30186                   relative: 1.0  0.0;
30187                   offset:   -1   -5;
30188                }
30189             }
30190          }
30191          part { name: "elm.swallow.end";
30192             clip_to: "disclip";
30193             type: SWALLOW;
30194             description { state: "default" 0.0;
30195                fixed: 1 0;
30196                align: 1.0 0.0;
30197                aspect: 1.0 1.0;
30198                aspect_preference: HORIZONTAL;
30199                rel1 {
30200                   relative: 1.0 0.0;
30201                   offset: -5 -5;
30202                }
30203                rel2 {
30204                   relative: 1.0 1.0;
30205                   offset: 5 5;
30206                }
30207             }
30208          }
30209          part { name: "elm.text";
30210             clip_to: "disclip";
30211             type: TEXT;
30212             effect: SOFT_SHADOW;
30213             mouse_events: 0;
30214             scale: 1;
30215             description { state: "default" 0.0;
30216                rel1 {
30217                   relative: 0.0  1.0;
30218                   offset: 0 0;
30219                }
30220                rel2 {
30221                   relative: 1.0  1.0;
30222                   offset: -5 -5;
30223                }
30224                color: 0 0 0 255;
30225                color3: 0 0 0 0;
30226                text {
30227                   font: "Sans";
30228                   size: 10;
30229                   min: 0 1;
30230                   align: 0.5 0.0;
30231                   text_class: "grid_item";
30232                }
30233             }
30234             description { state: "selected" 0.0;
30235                inherit: "default" 0.0;
30236                color: 224 224 224 255;
30237                color3: 0 0 0 64;
30238             }
30239          }
30240          part { name: "fg1";
30241             clip_to: "disclip";
30242             mouse_events: 0;
30243             description { state: "default" 0.0;
30244                visible: 0;
30245                color: 255 255 255 0;
30246                rel1.to: "bg";
30247                rel2.relative: 1.0 0.5;
30248                rel2.to: "bg";
30249                image {
30250                   normal: "bt_sm_hilight.png";
30251                   border: 6 6 6 0;
30252                }
30253             }
30254             description { state: "selected" 0.0;
30255                inherit: "default" 0.0;
30256                visible: 1;
30257                color: 255 255 255 255;
30258             }
30259          }
30260          part { name: "fg2";
30261             clip_to: "disclip";
30262             mouse_events: 0;
30263             description { state: "default" 0.0;
30264                visible: 0;
30265                color: 255 255 255 0;
30266                rel1.to: "bg";
30267                rel2.to: "bg";
30268                image {
30269                   normal: "bt_sm_shine.png";
30270                   border: 6 6 6 0;
30271                }
30272             }
30273             description { state: "selected" 0.0;
30274                inherit: "default" 0.0;
30275                visible: 1;
30276                color: 255 255 255 255;
30277             }
30278          }
30279          part { name: "disclip";
30280             type: RECT;
30281             description { state: "default" 0.0;
30282                rel1.to: "bg";
30283                rel2.to: "bg";
30284             }
30285             description { state: "disabled" 0.0;
30286                inherit: "default" 0.0;
30287                color: 255 255 255 64;
30288             }
30289          }
30290       }
30291       programs {
30292          // signal: elm,state,%s,active
30293          //   a "check" item named %s went active
30294          // signal: elm,state,%s,passive
30295          //   a "check" item named %s went passive
30296          // default is passive
30297          program { name:    "go_active";
30298             signal:  "elm,state,selected";
30299             source:  "elm";
30300             action:  STATE_SET "selected" 0.0;
30301             target:  "bg";
30302             target:  "fg1";
30303             target:  "fg2";
30304             target:  "elm.text";
30305          }
30306          program { name:    "go_passive";
30307             signal:  "elm,state,unselected";
30308             source:  "elm";
30309             action:  STATE_SET "default" 0.0;
30310             target:  "bg";
30311             target:  "fg1";
30312             target:  "fg2";
30313             target:  "elm.text";
30314             transition: LINEAR 0.1;
30315          }
30316          program { name:    "go_disabled";
30317             signal:  "elm,state,disabled";
30318             source:  "elm";
30319             action:  STATE_SET "disabled" 0.0;
30320             target:  "disclip";
30321          }
30322          program { name:    "go_enabled";
30323             signal:  "elm,state,enabled";
30324             source:  "elm";
30325             action:  STATE_SET "default" 0.0;
30326             target:  "disclip";
30327          }
30328       }
30329    }
30330    group { name: "elm/gengrid/item/default_style/default";
30331        styles
30332        {
30333            style { name: "gengrid_style";
30334                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
30335                tag:  "br" "\n";
30336                tag:  "ps" "ps";
30337                tag:  "hilight" "+ font=Sans:style=Bold";
30338                tag:  "b" "+ font=Sans:style=Bold";
30339                tag:  "tab" "\t";
30340            }
30341            style { name: "gengrid_selected_style";
30342                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
30343                tag:  "br" "\n";
30344                tag:  "ps" "ps";
30345                tag:  "hilight" "+ font=Sans:style=Bold";
30346                tag:  "b" "+ font=Sans:style=Bold";
30347                tag:  "tab" "\t";
30348            }
30349        }
30350        data.item: "labels" "elm.text";
30351        data.item: "icons" "elm.swallow.icon elm.swallow.end";
30352        images {
30353            image: "bt_sm_base1.png" COMP;
30354            image: "bt_sm_shine.png" COMP;
30355            image: "bt_sm_hilight.png" COMP;
30356            image: "ilist_1.png" COMP;
30357            image: "ilist_item_shadow.png" COMP;
30358        }
30359        parts {
30360            part { name: "event";
30361                type: RECT;
30362                repeat_events: 1;
30363                description { state: "default" 0.0;
30364                    color: 0 0 0 0;
30365                }
30366            }
30367            part { name: "base_sh";
30368                mouse_events: 0;
30369                description { state: "default" 0.0;
30370                    align: 0.0 0.0;
30371                    min: 0 10;
30372                    fixed: 1 1;
30373                    rel1 {
30374                        to: "base";
30375                        relative: 0.0 1.0;
30376                        offset: 0 0;
30377                    }
30378                    rel2 {
30379                        to: "base";
30380                        relative: 1.0 1.0;
30381                        offset: -1 0;
30382                    }
30383                    image {
30384                        normal: "ilist_item_shadow.png";
30385                    }
30386                    fill.smooth: 0;
30387                }
30388            }
30389            part { name: "base";
30390                mouse_events: 0;
30391                description { state: "default" 0.0;
30392                    min: 16 28;
30393                    image {
30394                        normal: "ilist_1.png";
30395                        border: 2 2 2 2;
30396                    }
30397                    fill.smooth: 0;
30398                }
30399            }
30400            part { name: "bg";
30401                clip_to: "disclip";
30402                mouse_events: 0;
30403                description { state: "default" 0.0;
30404                    visible: 0;
30405                    color: 255 255 255 0;
30406                    rel1 {
30407                        relative: 0.0 0.0;
30408                        offset: -5 -5;
30409                    }
30410                    rel2 {
30411                        relative: 1.0 1.0;
30412                        offset: 4 4;
30413                    }
30414                    image {
30415                        normal: "bt_sm_base1.png";
30416                        border: 6 6 6 6;
30417                    }
30418                    image.middle: SOLID;
30419                }
30420                description { state: "selected" 0.0;
30421                    inherit: "default" 0.0;
30422                    visible: 1;
30423                    color: 255 255 255 255;
30424                    rel1 {
30425                        relative: 0.0 0.0;
30426                        offset: -2 -2;
30427                    }
30428                    rel2 {
30429                        relative: 1.0 1.0;
30430                        offset: 1 1;
30431                    }
30432                }
30433            }
30434            part { name: "elm.swallow.pad";
30435                type: SWALLOW;
30436                description { state: "default" 0.0;
30437                    fixed: 1 0;
30438                    align: 0.0 0.5;
30439                    rel1 {
30440                        relative: 0.0  0.0;
30441                        offset:   4    4;
30442                    }
30443                    rel2 {
30444                        relative: 0.0  1.0;
30445                        offset:   4   -5;
30446                    }
30447                }
30448            }
30449            part { name: "elm.swallow.icon";
30450                clip_to: "disclip";
30451                type: SWALLOW;
30452                description { state: "default" 0.0;
30453                    fixed: 1 0;
30454                    align: 0.0 0.5;
30455                    rel1 {
30456                        to_x: "elm.swallow.pad";
30457                        relative: 1.0  0.0;
30458                        offset:   -1    4;
30459                    }
30460                    rel2 {
30461                        to_x: "elm.swallow.pad";
30462                        relative: 1.0  1.0;
30463                        offset:   -1   -5;
30464                    }
30465                }
30466            }
30467            part { name: "elm.swallow.end";
30468                clip_to: "disclip";
30469                type: SWALLOW;
30470                description { state: "default" 0.0;
30471                    fixed: 1 0;
30472                    align: 1.0 0.5;
30473                    aspect: 1.0 1.0;
30474                    aspect_preference: VERTICAL;
30475                    rel1 {
30476                        relative: 1.0  0.0;
30477                        offset:   -5    4;
30478                    }
30479                    rel2 {
30480                        relative: 1.0  1.0;
30481                        offset:   -5   -5;
30482                    }
30483                }
30484            }
30485            part { name: "elm.text";
30486                clip_to: "disclip";
30487                type: TEXTBLOCK;
30488                mouse_events: 0;
30489                scale: 1;
30490                description {
30491                    state: "default" 0.0;
30492                    align: 0.0 0.5;
30493                    fixed: 0 1;
30494                    rel1 {
30495                        to_x: "elm.swallow.icon";
30496                        to_y: "base";
30497                        relative: 1.0  0.5;
30498                        offset:   0 4;
30499                    }
30500                    rel2 {
30501                        to_x: "elm.swallow.end";
30502                        to_y: "base";
30503                        relative: 0.0  0.5;
30504                        offset:   -1 -5;
30505                    }
30506                    text {
30507                        style: "gengrid_style";
30508                        min: 1 1;
30509                    }
30510                }
30511                description { state: "selected" 0.0;
30512                    inherit: "default" 0.0;
30513                    text {
30514                        style: "gengrid_selected_style";
30515                    }
30516                }
30517            }
30518            part { name: "fg1";
30519                clip_to: "disclip";
30520                mouse_events: 0;
30521                description { state: "default" 0.0;
30522                    visible: 0;
30523                    color: 255 255 255 0;
30524                    rel1.to: "bg";
30525                    rel2.relative: 1.0 0.5;
30526                    rel2.to: "bg";
30527                    image {
30528                        normal: "bt_sm_hilight.png";
30529                        border: 6 6 6 0;
30530                    }
30531                }
30532                description { state: "selected" 0.0;
30533                    inherit: "default" 0.0;
30534                    visible: 1;
30535                    color: 255 255 255 255;
30536                }
30537            }
30538            part { name: "fg2";
30539                clip_to: "disclip";
30540                mouse_events: 0;
30541                description { state: "default" 0.0;
30542                    visible: 0;
30543                    color: 255 255 255 0;
30544                    rel1.to: "bg";
30545                    rel2.to: "bg";
30546                    image {
30547                        normal: "bt_sm_shine.png";
30548                        border: 6 6 6 0;
30549                    }
30550                }
30551                description { state: "selected" 0.0;
30552                    inherit: "default" 0.0;
30553                    visible: 1;
30554                    color: 255 255 255 255;
30555                }
30556            }
30557            part { name: "disclip";
30558                type: RECT;
30559                description { state: "default" 0.0;
30560                    rel1.to: "bg";
30561                    rel2.to: "bg";
30562                }
30563                description { state: "disabled" 0.0;
30564                    inherit: "default" 0.0;
30565                    color: 255 255 255 64;
30566                }
30567            }
30568        }
30569        programs {
30570            // signal: elm,state,%s,active
30571            //   a "check" item named %s went active
30572            // signal: elm,state,%s,passive
30573            //   a "check" item named %s went passive
30574            // default is passive
30575            program { name:    "go_active";
30576                signal:  "elm,state,selected";
30577                source:  "elm";
30578                action:  STATE_SET "selected" 0.0;
30579                target:  "bg";
30580                target:  "fg1";
30581                target:  "fg2";
30582                target:  "elm.text";
30583            }
30584            program { name:    "go_passive";
30585                signal:  "elm,state,unselected";
30586                source:  "elm";
30587                action:  STATE_SET "default" 0.0;
30588                target:  "bg";
30589                target:  "fg1";
30590                target:  "fg2";
30591                target:  "elm.text";
30592                transition: LINEAR 0.1;
30593            }
30594            program { name:    "go_disabled";
30595                signal:  "elm,state,disabled";
30596                source:  "elm";
30597                action:  STATE_SET "disabled" 0.0;
30598                target:  "disclip";
30599            }
30600            program { name:    "go_enabled";
30601                signal:  "elm,state,enabled";
30602                source:  "elm";
30603                action:  STATE_SET "default" 0.0;
30604                target:  "disclip";
30605            }
30606        }
30607    }
30608
30609    group { name: "elm/gengrid/item/up/default";
30610       data.item: "labels" "elm.text";
30611       images {
30612           image: "bt_sm_base1.png" COMP;
30613           image: "bt_sm_shine.png" COMP;
30614           image: "bt_sm_hilight.png" COMP;
30615           image: "arrow_up.png" COMP;
30616       }
30617       parts {
30618          part { name: "event";
30619             type: RECT;
30620             repeat_events: 1;
30621             description { state: "default" 0.0;
30622                color: 0 0 0 0;
30623             }
30624          }
30625          part { name: "bg";
30626             clip_to: "disclip";
30627             mouse_events: 0;
30628             description { state: "default" 0.0;
30629                visible: 0;
30630                color: 255 255 255 0;
30631                rel1.offset: -3 -3;
30632                rel2.offset: 2 2;
30633                image { normal: "bt_sm_base1.png";
30634                   border: 6 6 6 6;
30635                   middle: SOLID;
30636                }
30637             }
30638             description { state: "selected" 0.0;
30639                inherit: "default" 0.0;
30640                visible: 1;
30641                color: 255 255 255 255;
30642             }
30643          }
30644          part { name: "image";
30645              type: IMAGE;
30646              mouse_events: 0;
30647              description { state: "default" 0.0;
30648                  aspect_preference: BOTH;
30649                  aspect: 1.0 1.0;
30650                  image.normal: "arrow_up.png";
30651                  rel2 {
30652                      to_y: "elm.text";
30653                      relative: 1.0 0.0;
30654                      offset: -1 -2;
30655                  }
30656              }
30657          }
30658          part { name: "elm.text";
30659             clip_to: "disclip";
30660             type: TEXT;
30661             effect: SOFT_SHADOW;
30662             mouse_events: 0;
30663             scale: 1;
30664             description { state: "default" 0.0;
30665                rel1 {
30666                   relative: 0.0  1.0;
30667                   offset: 20 -25;
30668                }
30669                rel2 {
30670                   relative: 1.0  1.0;
30671                   offset: -21 -3;
30672                }
30673                color: 0 0 0 255;
30674                color3: 0 0 0 0;
30675                text {
30676                   font: "Sans";
30677                   size: 10;
30678                   min: 0 1;
30679                   align: 0.5 0.0;
30680                   text_class: "grid_item";
30681                }
30682             }
30683             description { state: "selected" 0.0;
30684                inherit: "default" 0.0;
30685                color: 224 224 224 255;
30686                color3: 0 0 0 64;
30687             }
30688          }
30689          part { name: "fg1";
30690             clip_to: "disclip";
30691             mouse_events: 0;
30692             description { state: "default" 0.0;
30693                visible: 0;
30694                color: 255 255 255 0;
30695                rel1.offset: -3 -3;
30696                rel2 {
30697                    relative: 1.0 0.5;
30698                    offset: 2 -1;
30699                }
30700                image {
30701                   normal: "bt_sm_hilight.png";
30702                   border: 6 6 6 0;
30703                }
30704             }
30705             description { state: "selected" 0.0;
30706                inherit: "default" 0.0;
30707                visible: 1;
30708                color: 255 255 255 255;
30709             }
30710          }
30711          part { name: "fg2";
30712             clip_to: "disclip";
30713             mouse_events: 0;
30714             description { state: "default" 0.0;
30715                visible: 0;
30716                color: 255 255 255 0;
30717                rel1.offset: -3 -3;
30718                rel2.offset: 2 2;
30719                image {
30720                   normal: "bt_sm_shine.png";
30721                   border: 6 6 6 0;
30722                }
30723             }
30724             description { state: "selected" 0.0;
30725                inherit: "default" 0.0;
30726                visible: 1;
30727                color: 255 255 255 255;
30728             }
30729          }
30730          part { name: "disclip";
30731             type: RECT;
30732             description { state: "default" 0.0;
30733                rel1.to: "bg";
30734                rel2.to: "bg";
30735             }
30736             description { state: "disabled" 0.0;
30737                inherit: "default" 0.0;
30738                color: 255 255 255 64;
30739             }
30740          }
30741       }
30742       programs {
30743          program { name:    "go_active";
30744             signal:  "elm,state,selected";
30745             source:  "elm";
30746             action:  STATE_SET "selected" 0.0;
30747             target:  "bg";
30748             target:  "fg1";
30749             target:  "fg2";
30750             target:  "elm.text";
30751          }
30752          program { name:    "go_passive";
30753             signal:  "elm,state,unselected";
30754             source:  "elm";
30755             action:  STATE_SET "default" 0.0;
30756             target:  "bg";
30757             target:  "fg1";
30758             target:  "fg2";
30759             target:  "elm.text";
30760             transition: LINEAR 0.1;
30761          }
30762          program { name:    "go_disabled";
30763             signal:  "elm,state,disabled";
30764             source:  "elm";
30765             action:  STATE_SET "disabled" 0.0;
30766             target:  "disclip";
30767          }
30768          program { name:    "go_enabled";
30769             signal:  "elm,state,enabled";
30770             source:  "elm";
30771             action:  STATE_SET "default" 0.0;
30772             target:  "disclip";
30773          }
30774       }
30775    }
30776
30777    group { name: "elm/gengrid/item/album-preview/default";
30778       data.item: "labels" "elm.text";
30779       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30780       data.item: "states" "have_files";
30781       images {
30782          image: "bt_sm_base1.png" COMP;
30783          image: "bt_sm_shine.png" COMP;
30784          image: "bt_sm_hilight.png" COMP;
30785          image: "icon_folder.png" COMP;
30786       }
30787       parts {
30788          part { name: "event";
30789             type: RECT;
30790             repeat_events: 1;
30791             description { state: "default" 0.0;
30792                color: 0 0 0 0;
30793             }
30794          }
30795          part { name: "bg";
30796             clip_to: "disclip";
30797             mouse_events: 0;
30798             description { state: "default" 0.0;
30799                visible: 0;
30800                color: 255 255 255 0;
30801                rel1.offset: -3 -3;
30802                rel2.offset: 2 2;
30803                image {
30804                   normal: "bt_sm_base1.png";
30805                   border: 6 6 6 6;
30806                   middle: SOLID;
30807                }
30808             }
30809             description { state: "selected" 0.0;
30810                inherit: "default" 0.0;
30811                visible: 1;
30812                color: 255 255 255 255;
30813             }
30814          }
30815          part { name: "image";
30816              type: IMAGE;
30817              mouse_events: 0;
30818              description { state: "default" 0.0;
30819                  aspect_preference: BOTH;
30820                  aspect: 1.0 1.0;
30821                  image.normal: "icon_folder.png";
30822                  rel2 {
30823                      to_y: "elm.text";
30824                      relative: 1.0 0.0;
30825                      offset: -1 -2;
30826                  }
30827              }
30828          }
30829          part { name: "have-files-clipper";
30830              type: RECT;
30831              description { state: "default" 0.0;
30832                  color: 255 255 255 0;
30833                  visible: 0;
30834              }
30835              description { state: "visible" 0.0;
30836                  inherit: "default" 0.0;
30837                  color: 255 255 255 255;
30838                  visible: 1;
30839              }
30840          }
30841          part { name: "icon_box_margin";
30842              type: RECT;
30843              mouse_events: 0;
30844              clip_to: "have-files-clipper";
30845              description { state: "default" 0.0;
30846                  color: 0 0 0 255;
30847                  rel1 {
30848                      to: "icon_box";
30849                      offset: -1 -1;
30850                  }
30851                  rel2 {
30852                      to: "icon_box";
30853                      offset: 0 0;
30854                  }
30855              }
30856          }
30857          part { name: "icon_box";
30858              type: RECT;
30859              mouse_events: 0;
30860              clip_to: "have-files-clipper";
30861              description { state: "default" 0.0;
30862                  color: 255 255 255 255;
30863                  align: 1.0 1.0;
30864                  min: 32 32;
30865                  rel1 {
30866                      relative: 0.25 0.25;
30867                      offset: 0 0;
30868                  }
30869                  rel2 {
30870                      relative: 1.0 0.0;
30871                      offset: -11 -4;
30872                      to_y: "elm.text";
30873                  }
30874              }
30875          }
30876          part { name: "elm.swallow.icon.1";
30877              type: SWALLOW;
30878              mouse_events: 0;
30879              clip_to: "have-files-clipper";
30880              description { state: "default" 0.0;
30881                rel1 {
30882                   relative: 0.0  0.0;
30883                   to: "icon_box";
30884                }
30885                rel2 {
30886                   relative: 0.5  0.5;
30887                   offset: -1 -1;
30888                   to: "icon_box";
30889                }
30890             }
30891          }
30892          part { name: "elm.swallow.icon.2";
30893              type: SWALLOW;
30894              mouse_events: 0;
30895              clip_to: "have-files-clipper";
30896              description { state: "default" 0.0;
30897                rel1 {
30898                   relative: 0.5  0.0;
30899                   to: "icon_box";
30900                }
30901                rel2 {
30902                   relative: 1.0  0.5;
30903                   offset: -1 -1;
30904                   to: "icon_box";
30905                }
30906             }
30907          }
30908          part { name: "elm.swallow.icon.3";
30909              type: SWALLOW;
30910              mouse_events: 0;
30911              clip_to: "have-files-clipper";
30912              description { state: "default" 0.0;
30913                rel1 {
30914                   relative: 0.0  0.5;
30915                   to: "icon_box";
30916                }
30917                rel2 {
30918                   relative: 0.5  1.0;
30919                   offset: -1 -1;
30920                   to: "icon_box";
30921                }
30922             }
30923          }
30924          part { name: "elm.swallow.icon.4";
30925              type: SWALLOW;
30926              mouse_events: 0;
30927              clip_to: "have-files-clipper";
30928              description { state: "default" 0.0;
30929                rel1 {
30930                   relative: 0.5  0.5;
30931                   to: "icon_box";
30932                }
30933                rel2 {
30934                   relative: 1.0  1.0;
30935                   offset: -1 -1;
30936                   to: "icon_box";
30937                }
30938             }
30939          }
30940          part { name: "elm.text";
30941             clip_to: "disclip";
30942             type: TEXT;
30943             effect: SOFT_SHADOW;
30944             mouse_events: 0;
30945             scale: 1;
30946             description { state: "default" 0.0;
30947                rel1 {
30948                   relative: 0.0  1.0;
30949                   offset: 20 -30;
30950                }
30951                rel2 {
30952                   relative: 1.0  1.0;
30953                   offset: -21 -15;
30954                }
30955                color: 0 0 0 255;
30956                color3: 0 0 0 0;
30957                text {
30958                   font: "Sans";
30959                   size: 10;
30960                   min: 0 1;
30961                   align: 0.5 0.0;
30962                   text_class: "grid_item";
30963                }
30964             }
30965             description { state: "selected" 0.0;
30966                 inherit: "default" 0.0;
30967                 color: 255 255 255 255;
30968             }
30969          }
30970          part { name: "fg1";
30971             clip_to: "disclip";
30972             mouse_events: 0;
30973             description { state: "default" 0.0;
30974                visible: 0;
30975                color: 255 255 255 0;
30976                rel1.offset: -3 -3;
30977                rel2 {
30978                    relative: 1.0 0.5;
30979                    offset: 2 -1;
30980                }
30981                image {
30982                   normal: "bt_sm_hilight.png";
30983                   border: 6 6 6 0;
30984                }
30985             }
30986             description { state: "selected" 0.0;
30987                inherit: "default" 0.0;
30988                visible: 1;
30989                color: 255 255 255 255;
30990             }
30991          }
30992          part { name: "fg2";
30993             clip_to: "disclip";
30994             mouse_events: 0;
30995             description { state: "default" 0.0;
30996                visible: 0;
30997                color: 255 255 255 0;
30998                rel1.offset: -3 -3;
30999                rel2.offset: 2 2;
31000                image {
31001                   normal: "bt_sm_shine.png";
31002                   border: 6 6 6 0;
31003                }
31004             }
31005             description { state: "selected" 0.0;
31006                inherit: "default" 0.0;
31007                visible: 1;
31008                color: 255 255 255 255;
31009             }
31010          }
31011          part { name: "disclip";
31012             type: RECT;
31013             description { state: "default" 0.0;
31014                rel1.to: "bg";
31015                rel2.to: "bg";
31016             }
31017             description { state: "disabled" 0.0;
31018                inherit: "default" 0.0;
31019                color: 255 255 255 64;
31020             }
31021          }
31022       }
31023       programs {
31024          program { name:    "go_active";
31025             signal:  "elm,state,selected";
31026             source:  "elm";
31027             action:  STATE_SET "selected" 0.0;
31028             target:  "bg";
31029             target:  "fg1";
31030             target:  "fg2";
31031             target:  "elm.text";
31032          }
31033          program { name:    "go_passive";
31034             signal:  "elm,state,unselected";
31035             source:  "elm";
31036             action:  STATE_SET "default" 0.0;
31037             target:  "bg";
31038             target:  "fg1";
31039             target:  "fg2";
31040             target:  "elm.text";
31041             transition: LINEAR 0.1;
31042          }
31043          program { name:    "go_disabled";
31044             signal:  "elm,state,disabled";
31045             source:  "elm";
31046             action:  STATE_SET "disabled" 0.0;
31047             target:  "disclip";
31048          }
31049          program { name:    "go_enabled";
31050             signal:  "elm,state,enabled";
31051             source:  "elm";
31052             action:  STATE_SET "default" 0.0;
31053             target:  "disclip";
31054          }
31055          program {
31056              signal: "elm,state,have_files,active";
31057              source: "elm";
31058              action: STATE_SET "visible" 0.0;
31059              target: "have-files-clipper";
31060          }
31061       }
31062    }
31063
31064    group { name: "elm/gengrid/item/thumb/default";
31065        data {
31066            item: "icons" "elm.swallow.icon";
31067            item: "labels" "elm.text";
31068        }
31069        images {
31070            image: "bt_sm_base1.png" COMP;
31071            image: "bt_sm_shine.png" COMP;
31072            image: "bt_sm_hilight.png" COMP;
31073            image: "thumb_shadow.png" COMP;
31074        }
31075        parts {
31076            part { name: "event";
31077                type: RECT;
31078                repeat_events: 1;
31079                description { state: "default" 0.0;
31080                    color: 0 0 0 0;
31081                }
31082            }
31083            part { name: "bg";
31084                mouse_events: 0;
31085                description { state: "default" 0.0;
31086                    visible: 0;
31087                    color: 255 255 255 0;
31088                    rel1.offset: -3 -3;
31089                    rel2.offset: 2 2;
31090                    image {
31091                        normal: "bt_sm_base1.png";
31092                        border: 6 6 6 6;
31093                        middle: SOLID;
31094                    }
31095                }
31096                description { state: "selected" 0.0;
31097                    inherit: "default" 0.0;
31098                    visible: 1;
31099                    color: 255 255 255 255;
31100                }
31101            }
31102            part { name: "border-shadow";
31103                type: IMAGE;
31104                mouse_events: 0;
31105                description { state: "default" 0.0;
31106                    rel1 {
31107                        to: "elm.swallow.icon";
31108                        offset: -18 -18;
31109                    }
31110                    rel2 {
31111                        to_x: "elm.swallow.icon";
31112                        to_y: "elm.text";
31113                        offset: 17 17;
31114                    }
31115                    image {
31116                        normal: "thumb_shadow.png";
31117                        border: 17 17 17 17;
31118                        middle: NONE;
31119                    }
31120                }
31121            }
31122            part { name: "border";
31123                type: RECT;
31124                mouse_events: 0;
31125                description { state: "default" 0.0;
31126                    rel1 {
31127                        to: "border-shadow";
31128                        offset: 16 16;
31129                    }
31130                    rel2 {
31131                        to: "border-shadow";
31132                        offset: -15 -15;
31133                    }
31134                }
31135            }
31136            part { name: "elm.swallow.icon";
31137                type: SWALLOW;
31138                mouse_events: 0;
31139                description { state: "default" 0.0;
31140                    aspect_preference: BOTH;
31141                    aspect: 1.0 1.0;
31142                    rel1.offset: 0 8;
31143                    rel2 {
31144                        to_y: "elm.text";
31145                        relative: 1.0 0.0;
31146                        offset: -1 -2;
31147                    }
31148                }
31149            }
31150            part { name: "elm.text";
31151                type: TEXT;
31152                effect: SOFT_SHADOW;
31153                mouse_events: 0;
31154                scale: 1;
31155                description { state: "default" 0.0;
31156                    color: 0 0 0 255;
31157                    color3: 0 0 0 0;
31158                    align: 0.5 1.0;
31159                    rel1 {
31160                        relative: 0.0 1.0;
31161                        offset: 20 -30;
31162                    }
31163                    rel2 {
31164                        relative: 1.0 1.0;
31165                        offset: -21 -15;
31166                    }
31167                    text {
31168                        font: "Sans";
31169                        size: 10;
31170                        min: 0 1;
31171                        align: 0.5 0.0;
31172                        text_class: "grid_item";
31173                    }
31174                }
31175            }
31176            part { name: "fg1";
31177                mouse_events: 0;
31178                description { state: "default" 0.0;
31179                    visible: 0;
31180                    color: 255 255 255 0;
31181                    rel1.offset: -3 -3;
31182                    rel2 {
31183                        relative: 1.0 0.5;
31184                        offset: 2 -1;
31185                    }
31186                    image {
31187                        normal: "bt_sm_hilight.png";
31188                        border: 6 6 6 0;
31189                    }
31190                }
31191                description { state: "selected" 0.0;
31192                    inherit: "default" 0.0;
31193                    visible: 1;
31194                    color: 255 255 255 255;
31195                }
31196            }
31197            part { name: "fg2";
31198                mouse_events: 0;
31199                description { state: "default" 0.0;
31200                    visible: 0;
31201                    color: 255 255 255 0;
31202                    rel1.offset: -3 -3;
31203                    rel2.offset: 2 2;
31204                    image {
31205                        image: "bt_sm_shine.png";
31206                        border: 6 6 6 0;
31207                    }
31208                }
31209                description { state: "selected" 0.0;
31210                    inherit: "default" 0.0;
31211                    visible: 1;
31212                    color: 255 255 255 255;
31213                }
31214            }
31215        }
31216        programs {
31217            program {
31218                signal: "elm,state,selected";
31219                source: "elm";
31220                action: STATE_SET "selected" 0.0;
31221                target: "bg";
31222                target: "fg1";
31223                target: "fg2";
31224            }
31225            program {
31226                signal: "elm,state,unselected";
31227                source: "elm";
31228                action:  STATE_SET "default" 0.0;
31229                target: "bg";
31230                target: "fg1";
31231                target: "fg2";
31232                transition: LINEAR 0.1;
31233            }
31234        }
31235    }
31236
31237 ///////////////////////////////////////////////////////////////////////////////
31238    group { name: "elm/photocam/base/default";
31239        script {
31240            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31241            public timer0(val) {
31242                new v;
31243                v = get_int(sbvis_v);
31244                if (v) {
31245                    v = get_int(sbalways_v);
31246                    if (!v) {
31247                        emit("do-hide-vbar", "");
31248                        set_int(sbvis_v, 0);
31249                    }
31250                }
31251                v = get_int(sbvis_h);
31252                if (v) {
31253                    v = get_int(sbalways_h);
31254                    if (!v) {
31255                        emit("do-hide-hbar", "");
31256                        set_int(sbvis_h, 0);
31257                    }
31258                }
31259                set_int(sbvis_timer, 0);
31260                return 0;
31261            }
31262        }
31263        images {
31264            image: "shelf_inset.png" COMP;
31265            image: "bt_sm_base2.png" COMP;
31266            image: "bt_sm_shine.png" COMP;
31267            image: "bt_sm_hilight.png" COMP;
31268            image: "busy-1.png" COMP;
31269            image: "busy-2.png" COMP;
31270            image: "busy-3.png" COMP;
31271            image: "busy-4.png" COMP;
31272            image: "busy-5.png" COMP;
31273            image: "busy-6.png" COMP;
31274            image: "busy-7.png" COMP;
31275            image: "busy-8.png" COMP;
31276            image: "busy-9.png" COMP;
31277        }
31278        parts {
31279            part { name: "bg";
31280                type: RECT;
31281                description { state: "default" 0.0;
31282                    rel1.offset: 1 1;
31283                    rel2.offset: -2 -2;
31284                    color: 255 255 255 0;
31285                }
31286            }
31287            part { name: "clipper";
31288                type: RECT;
31289                mouse_events: 0;
31290                description { state: "default" 0.0;
31291                    rel1.to: "bg";
31292                    rel2.to: "bg";
31293                }
31294            }
31295            part { name: "elm.swallow.content";
31296                clip_to: "clipper";
31297                type: SWALLOW;
31298                description { state: "default" 0.0;
31299                    rel1.offset: 1 1;
31300                    rel2.offset: -2 -2;
31301                }
31302            }
31303            part { name: "busy_clip";
31304                type: RECT;
31305                mouse_events: 0;
31306                description { state: "default" 0.0;
31307                    visible: 0;
31308                    color: 255 255 255 0;
31309                }
31310                description { state: "active" 0.0;
31311                    visible: 1;
31312                    color: 255 255 255 255;
31313                }
31314            }
31315            part { name: "busy";
31316                clip_to: "busy_clip";
31317                mouse_events: 0;
31318                description { state: "default" 0.0;
31319                    fixed: 1 1;
31320                    min: 32 32;
31321                    aspect: 1.0 1.0;
31322                    align: 1.0 1.0;
31323                    aspect_preference: BOTH;
31324                    rel1 {
31325                        relative: 0.9 0.9;
31326                        offset:   -9 -9;
31327                    }
31328                    rel2 {
31329                        relative: 0.9 0.9;
31330                        offset:   -9 -9;
31331                    }
31332                    image {
31333                        normal: "busy-9.png";
31334                        tween:  "busy-1.png";
31335                        tween:  "busy-2.png";
31336                        tween:  "busy-3.png";
31337                        tween:  "busy-4.png";
31338                        tween:  "busy-5.png";
31339                        tween:  "busy-6.png";
31340                        tween:  "busy-7.png";
31341                        tween:  "busy-8.png";
31342                    }
31343                }
31344            }
31345            part { name: "conf_over";
31346                mouse_events:  0;
31347                description { state: "default" 0.0;
31348                    rel1.offset: 0 0;
31349                    rel2.offset: -1 -1;
31350                    image {
31351                        normal: "shelf_inset.png";
31352                        border: 7 7 7 7;
31353                        middle: 0;
31354                    }
31355                    fill.smooth : 0;
31356                }
31357            }
31358            part { name: "sb_vbar_clip_master";
31359                type: RECT;
31360                mouse_events: 0;
31361                description { state: "default" 0.0;
31362                }
31363                description { state: "hidden" 0.0;
31364                    visible: 0;
31365                    color: 255 255 255 0;
31366                }
31367            }
31368            part { name: "sb_vbar_clip";
31369                clip_to: "sb_vbar_clip_master";
31370                type: RECT;
31371                mouse_events: 0;
31372                description { state: "default" 0.0;
31373                }
31374                description { state: "hidden" 0.0;
31375                    visible: 0;
31376                    color: 255 255 255 0;
31377                }
31378            }
31379            part { name: "sb_vbar";
31380                type: RECT;
31381                mouse_events: 0;
31382                description { state: "default" 0.0;
31383                    fixed: 1 1;
31384                    visible: 0;
31385                    min: 10 17;
31386                    align: 1.0 0.0;
31387                    rel1 {
31388                        relative: 1.0 0.0;
31389                        offset:   -2 0;
31390                    }
31391                    rel2 {
31392                        relative: 1.0 0.0;
31393                        offset:   -2 -1;
31394                        to_y:     "sb_hbar";
31395                    }
31396                }
31397            }
31398            part { name: "elm.dragable.vbar";
31399                clip_to: "sb_vbar_clip";
31400                mouse_events: 0;
31401                dragable {
31402                    x: 0 0 0;
31403                    y: 1 1 0;
31404                    confine: "sb_vbar";
31405                }
31406                description { state: "default" 0.0;
31407                    fixed: 1 1;
31408                    min: 10 17;
31409                    max: 10 99999;
31410                    rel1 {
31411                        relative: 0.5  0.5;
31412                        offset:   0    0;
31413                        to: "sb_vbar";
31414                    }
31415                    rel2 {
31416                        relative: 0.5  0.5;
31417                        offset:   0    0;
31418                        to: "sb_vbar";
31419                    }
31420                    image {
31421                        normal: "bt_sm_base2.png";
31422                        border: 6 6 6 6;
31423                        middle: SOLID;
31424                    }
31425                }
31426            }
31427            part { name: "sb_vbar_over1";
31428                clip_to: "sb_vbar_clip";
31429                mouse_events: 0;
31430                description { state: "default" 0.0;
31431                    rel1.to: "elm.dragable.vbar";
31432                    rel2.relative: 1.0 0.5;
31433                    rel2.to: "elm.dragable.vbar";
31434                    image {
31435                        normal: "bt_sm_hilight.png";
31436                        border: 6 6 6 0;
31437                    }
31438                }
31439            }
31440            part { name: "sb_vbar_over2";
31441                clip_to: "sb_vbar_clip";
31442                mouse_events: 0;
31443                description { state: "default" 0.0;
31444                    rel1.to: "elm.dragable.vbar";
31445                    rel2.to: "elm.dragable.vbar";
31446                    image {
31447                        normal: "bt_sm_shine.png";
31448                        border: 6 6 6 0;
31449                    }
31450                }
31451            }
31452
31453            part { name: "sb_hbar_clip_master";
31454                type: RECT;
31455                mouse_events: 0;
31456                description { state: "default" 0.0;
31457                }
31458                description { state: "hidden" 0.0;
31459                    visible: 0;
31460                    color: 255 255 255 0;
31461                }
31462            }
31463            part { name: "sb_hbar_clip";
31464                clip_to: "sb_hbar_clip_master";
31465                type: RECT;
31466                mouse_events: 0;
31467                description { state: "default" 0.0;
31468                }
31469                description { state: "hidden" 0.0;
31470                    visible: 0;
31471                    color: 255 255 255 0;
31472                }
31473            }
31474            part { name: "sb_hbar";
31475                type: RECT;
31476                mouse_events: 0;
31477                description { state: "default" 0.0;
31478                    fixed: 1 1;
31479                    visible: 0;
31480                    min: 17 10;
31481                    align: 0.0 1.0;
31482                    rel1 {
31483                        relative: 0.0 1.0;
31484                        offset:   0 -2;
31485                    }
31486                    rel2 {
31487                        relative: 0.0 1.0;
31488                        offset:   -1 -2;
31489                        to_x:     "sb_vbar";
31490                    }
31491                }
31492            }
31493            part { name: "elm.dragable.hbar";
31494                clip_to: "sb_hbar_clip";
31495                mouse_events: 0;
31496                dragable {
31497                    x: 1 1 0;
31498                    y: 0 0 0;
31499                    confine: "sb_hbar";
31500                }
31501                description { state: "default" 0.0;
31502                    fixed: 1 1;
31503                    min: 17 10;
31504                    max: 99999 10;
31505                    rel1 {
31506                        relative: 0.5  0.5;
31507                        offset:   0    0;
31508                        to: "sb_hbar";
31509                    }
31510                    rel2 {
31511                        relative: 0.5  0.5;
31512                        offset:   0    0;
31513                        to: "sb_hbar";
31514                    }
31515                    image {
31516                        normal: "bt_sm_base2.png";
31517                        border: 4 4 4 4;
31518                        middle: SOLID;
31519                    }
31520                }
31521            }
31522            part { name: "sb_hbar_over1";
31523                clip_to: "sb_hbar_clip";
31524                mouse_events: 0;
31525                description { state: "default" 0.0;
31526                    rel1.to: "elm.dragable.hbar";
31527                    rel2.relative: 1.0 0.5;
31528                    rel2.to: "elm.dragable.hbar";
31529                    image {
31530                        normal: "bt_sm_hilight.png";
31531                        border: 4 4 4 0;
31532                    }
31533                }
31534            }
31535            part { name: "sb_hbar_over2";
31536                clip_to: "sb_hbar_clip";
31537                mouse_events: 0;
31538                description { state: "default" 0.0;
31539                    rel1.to: "elm.dragable.hbar";
31540                    rel2.to: "elm.dragable.hbar";
31541                    image {
31542                        normal: "bt_sm_shine.png";
31543                        border: 4 4 4 0;
31544                    }
31545                }
31546            }
31547        }
31548        programs {
31549            program { name: "load";
31550                signal: "load";
31551                source: "";
31552                script {
31553                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31554                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31555                    set_int(sbvis_h, 0);
31556                    set_int(sbvis_v, 0);
31557                    set_int(sbalways_v, 0);
31558                    set_int(sbalways_h, 0);
31559                    set_int(sbvis_timer, 0);
31560                }
31561            }
31562
31563            program { name: "vbar_show";
31564                signal: "elm,action,show,vbar";
31565                source: "elm";
31566                action:  STATE_SET "default" 0.0;
31567                target: "sb_vbar_clip_master";
31568            }
31569            program { name: "vbar_hide";
31570                signal: "elm,action,hide,vbar";
31571                source: "elm";
31572                action:  STATE_SET "hidden" 0.0;
31573                target: "sb_vbar_clip_master";
31574            }
31575            program { name: "vbar_show_always";
31576                signal: "elm,action,show_always,vbar";
31577                source: "elm";
31578                script {
31579                    new v;
31580                    v = get_int(sbvis_v);
31581                    v |= get_int(sbalways_v);
31582                    if (!v) {
31583                        set_int(sbalways_v, 1);
31584                        emit("do-show-vbar", "");
31585                        set_int(sbvis_v, 1);
31586                    }
31587                }
31588            }
31589            program { name: "vbar_show_notalways";
31590                signal: "elm,action,show_notalways,vbar";
31591                source: "elm";
31592                script {
31593                    new v;
31594                    v = get_int(sbalways_v);
31595                    if (v) {
31596                        set_int(sbalways_v, 0);
31597                        v = get_int(sbvis_v);
31598                        if (!v) {
31599                            emit("do-hide-vbar", "");
31600                            set_int(sbvis_v, 0);
31601                        }
31602                    }
31603                }
31604            }
31605            program { name: "sb_vbar_show";
31606                signal: "do-show-vbar";
31607                source: "";
31608                action:  STATE_SET "default" 0.0;
31609                transition: LINEAR 0.5;
31610                target: "sb_vbar_clip";
31611            }
31612            program { name: "sb_vbar_hide";
31613                signal: "do-hide-vbar";
31614                source: "";
31615                action:  STATE_SET "hidden" 0.0;
31616                transition: LINEAR 0.5;
31617                target: "sb_vbar_clip";
31618            }
31619
31620            program { name: "hbar_show";
31621                signal: "elm,action,show,hbar";
31622                source: "elm";
31623                action:  STATE_SET "default" 0.0;
31624                target: "sb_hbar_clip_master";
31625            }
31626            program { name: "hbar_hide";
31627                signal: "elm,action,hide,hbar";
31628                source: "elm";
31629                action:  STATE_SET "hidden" 0.0;
31630                target: "sb_hbar_clip_master";
31631            }
31632            program { name: "hbar_show_always";
31633                signal: "elm,action,show_always,hbar";
31634                source: "elm";
31635                script {
31636                    new v;
31637                    v = get_int(sbvis_h);
31638                    v |= get_int(sbalways_h);
31639                    if (!v) {
31640                        set_int(sbalways_h, 1);
31641                        emit("do-show-hbar", "");
31642                        set_int(sbvis_h, 1);
31643                    }
31644                }
31645            }
31646            program { name: "hbar_show_notalways";
31647                signal: "elm,action,show_notalways,hbar";
31648                source: "elm";
31649                script {
31650                    new v;
31651                    v = get_int(sbalways_h);
31652                    if (v) {
31653                        set_int(sbalways_h, 0);
31654                        v = get_int(sbvis_h);
31655                        if (!v) {
31656                            emit("do-hide-hbar", "");
31657                            set_int(sbvis_h, 0);
31658                        }
31659                    }
31660                }
31661            }
31662            program { name: "sb_hbar_show";
31663                signal: "do-show-hbar";
31664                source: "";
31665                action:  STATE_SET "default" 0.0;
31666                transition: LINEAR 0.5;
31667                target: "sb_hbar_clip";
31668            }
31669            program { name: "sb_hbar_hide";
31670                signal: "do-hide-hbar";
31671                source: "";
31672                action:  STATE_SET "hidden" 0.0;
31673                transition: LINEAR 0.5;
31674                target: "sb_hbar_clip";
31675            }
31676
31677            program { name: "scroll";
31678                signal: "elm,action,scroll";
31679                source: "elm";
31680                script {
31681                    new v;
31682                    v = get_int(sbvis_v);
31683                    v |= get_int(sbalways_v);
31684                    if (!v) {
31685                        emit("do-show-vbar", "");
31686                        set_int(sbvis_v, 1);
31687                    }
31688                    v = get_int(sbvis_h);
31689                    v |= get_int(sbalways_h);
31690                    if (!v) {
31691                        emit("do-show-hbar", "");
31692                        set_int(sbvis_h, 1);
31693                    }
31694                    v = get_int(sbvis_timer);
31695                    if (v > 0) cancel_timer(v);
31696                    v = timer(1.0, "timer0", 0);
31697                    set_int(sbvis_timer, v);
31698                }
31699            }
31700            program { name: "go1";
31701                signal: "elm,state,busy,start";
31702                source: "elm";
31703                action: STATE_SET "active" 0.0;
31704                transition: SINUSOIDAL 1.0;
31705                target:  "busy_clip";
31706            }
31707            program { name: "go2";
31708                signal: "elm,state,busy,start";
31709                source: "elm";
31710                action: STATE_SET "default" 0.0;
31711                transition: LINEAR 0.5;
31712                target: "busy";
31713                after:  "go2";
31714            }
31715            program { name: "stop1";
31716                signal: "elm,state,busy,stop";
31717                source: "elm";
31718                action: STATE_SET "default" 0.0;
31719                transition: SINUSOIDAL 1.0;
31720                target: "busy_clip";
31721                after: "stop2";
31722            }
31723          program { name: "stop2";
31724             action: ACTION_STOP;
31725             target: "go2";
31726          }
31727       }
31728    }
31729
31730    ///////////////////////////////////////////////////////////////////////////////
31731    group { name: "elm/map/base/default";
31732        script {
31733            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31734            public timer0(val) {
31735                new v;
31736                v = get_int(sbvis_v);
31737                if (v) {
31738                    v = get_int(sbalways_v);
31739                    if (!v) {
31740                        emit("do-hide-vbar", "");
31741                        set_int(sbvis_v, 0);
31742                    }
31743                }
31744                v = get_int(sbvis_h);
31745                if (v) {
31746                    v = get_int(sbalways_h);
31747                    if (!v) {
31748                        emit("do-hide-hbar", "");
31749                        set_int(sbvis_h, 0);
31750                    }
31751                }
31752                set_int(sbvis_timer, 0);
31753                return 0;
31754            }
31755        }
31756        images {
31757            image: "shelf_inset.png" COMP;
31758            image: "bt_sm_base2.png" COMP;
31759            image: "bt_sm_shine.png" COMP;
31760            image: "bt_sm_hilight.png" COMP;
31761            image: "busy-1.png" COMP;
31762            image: "busy-2.png" COMP;
31763            image: "busy-3.png" COMP;
31764            image: "busy-4.png" COMP;
31765            image: "busy-5.png" COMP;
31766            image: "busy-6.png" COMP;
31767            image: "busy-7.png" COMP;
31768            image: "busy-8.png" COMP;
31769            image: "busy-9.png" COMP;
31770        }
31771        parts {
31772            part { name: "bg";
31773                type: RECT;
31774                description { state: "default" 0.0;
31775                    rel1.offset: 1 1;
31776                    rel2.offset: -2 -2;
31777                    color: 255 255 255 0;
31778                }
31779            }
31780            part { name: "clipper";
31781                type: RECT;
31782                mouse_events: 0;
31783                description { state: "default" 0.0;
31784                    rel1.to: "bg";
31785                    rel2.to: "bg";
31786                }
31787            }
31788            part { name: "elm.swallow.content";
31789                clip_to: "clipper";
31790                type: SWALLOW;
31791                description { state: "default" 0.0;
31792                    rel1.offset: 1 1;
31793                    rel2.offset: -2 -2;
31794                }
31795            }
31796            part { name: "busy_clip";
31797                type: RECT;
31798                mouse_events: 0;
31799                description { state: "default" 0.0;
31800                    visible: 0;
31801                    color: 255 255 255 0;
31802                }
31803                description { state: "active" 0.0;
31804                    visible: 1;
31805                    color: 255 255 255 255;
31806                }
31807            }
31808            part { name: "busy";
31809                clip_to: "busy_clip";
31810                mouse_events: 0;
31811                description { state: "default" 0.0;
31812                    fixed: 1 1;
31813                    min: 32 32;
31814                    aspect: 1.0 1.0;
31815                    align: 1.0 1.0;
31816                    aspect_preference: BOTH;
31817                    rel1 {
31818                        relative: 0.9 0.9;
31819                        offset:   -9 -9;
31820                    }
31821                    rel2 {
31822                        relative: 0.9 0.9;
31823                        offset:   -9 -9;
31824                    }
31825                    image {
31826                        normal: "busy-9.png";
31827                        tween:  "busy-1.png";
31828                        tween:  "busy-2.png";
31829                        tween:  "busy-3.png";
31830                        tween:  "busy-4.png";
31831                        tween:  "busy-5.png";
31832                        tween:  "busy-6.png";
31833                        tween:  "busy-7.png";
31834                        tween:  "busy-8.png";
31835                    }
31836                }
31837            }
31838            part { name: "conf_over";
31839                mouse_events:  0;
31840                description { state: "default" 0.0;
31841                    rel1.offset: 0 0;
31842                    rel2.offset: -1 -1;
31843                    image {
31844                        normal: "shelf_inset.png";
31845                        border: 7 7 7 7;
31846                        middle: 0;
31847                    }
31848                    fill.smooth : 0;
31849                }
31850            }
31851            part { name: "sb_vbar_clip_master";
31852                type: RECT;
31853                mouse_events: 0;
31854                description { state: "default" 0.0;
31855                }
31856                description { state: "hidden" 0.0;
31857                    visible: 0;
31858                    color: 255 255 255 0;
31859                }
31860            }
31861            part { name: "sb_vbar_clip";
31862                clip_to: "sb_vbar_clip_master";
31863                type: RECT;
31864                mouse_events: 0;
31865                description { state: "default" 0.0;
31866                }
31867                description { state: "hidden" 0.0;
31868                    visible: 0;
31869                    color: 255 255 255 0;
31870                }
31871            }
31872            part { name: "sb_vbar";
31873                type: RECT;
31874                mouse_events: 0;
31875                description { state: "default" 0.0;
31876                    fixed: 1 1;
31877                    visible: 0;
31878                    min: 10 17;
31879                    align: 1.0 0.0;
31880                    rel1 {
31881                        relative: 1.0 0.0;
31882                        offset:   -2 0;
31883                    }
31884                    rel2 {
31885                        relative: 1.0 0.0;
31886                        offset:   -2 -1;
31887                        to_y:     "sb_hbar";
31888                    }
31889                }
31890            }
31891            part { name: "elm.dragable.vbar";
31892                clip_to: "sb_vbar_clip";
31893                mouse_events: 0;
31894                dragable {
31895                    x: 0 0 0;
31896                    y: 1 1 0;
31897                    confine: "sb_vbar";
31898                }
31899                description { state: "default" 0.0;
31900                    fixed: 1 1;
31901                    min: 10 17;
31902                    max: 10 99999;
31903                    rel1 {
31904                        relative: 0.5  0.5;
31905                        offset:   0    0;
31906                        to: "sb_vbar";
31907                    }
31908                    rel2 {
31909                        relative: 0.5  0.5;
31910                        offset:   0    0;
31911                        to: "sb_vbar";
31912                    }
31913                    image {
31914                        normal: "bt_sm_base2.png";
31915                        border: 6 6 6 6;
31916                        middle: SOLID;
31917                    }
31918                }
31919            }
31920            part { name: "sb_vbar_over1";
31921                clip_to: "sb_vbar_clip";
31922                mouse_events: 0;
31923                description { state: "default" 0.0;
31924                    rel1.to: "elm.dragable.vbar";
31925                    rel2.relative: 1.0 0.5;
31926                    rel2.to: "elm.dragable.vbar";
31927                    image {
31928                        normal: "bt_sm_hilight.png";
31929                        border: 6 6 6 0;
31930                    }
31931                }
31932            }
31933            part { name: "sb_vbar_over2";
31934                clip_to: "sb_vbar_clip";
31935                mouse_events: 0;
31936                description { state: "default" 0.0;
31937                    rel1.to: "elm.dragable.vbar";
31938                    rel2.to: "elm.dragable.vbar";
31939                    image {
31940                        normal: "bt_sm_shine.png";
31941                        border: 6 6 6 0;
31942                    }
31943                }
31944            }
31945
31946            part { name: "sb_hbar_clip_master";
31947                type: RECT;
31948                mouse_events: 0;
31949                description { state: "default" 0.0;
31950                }
31951                description { state: "hidden" 0.0;
31952                    visible: 0;
31953                    color: 255 255 255 0;
31954                }
31955            }
31956            part { name: "sb_hbar_clip";
31957                clip_to: "sb_hbar_clip_master";
31958                type: RECT;
31959                mouse_events: 0;
31960                description { state: "default" 0.0;
31961                }
31962                description { state: "hidden" 0.0;
31963                    visible: 0;
31964                    color: 255 255 255 0;
31965                }
31966            }
31967            part { name: "sb_hbar";
31968                type: RECT;
31969                mouse_events: 0;
31970                description { state: "default" 0.0;
31971                    fixed: 1 1;
31972                    visible: 0;
31973                    min: 17 10;
31974                    align: 0.0 1.0;
31975                    rel1 {
31976                        relative: 0.0 1.0;
31977                        offset:   0 -2;
31978                    }
31979                    rel2 {
31980                        relative: 0.0 1.0;
31981                        offset:   -1 -2;
31982                        to_x:     "sb_vbar";
31983                    }
31984                }
31985            }
31986            part { name: "elm.dragable.hbar";
31987                clip_to: "sb_hbar_clip";
31988                mouse_events: 0;
31989                dragable {
31990                    x: 1 1 0;
31991                    y: 0 0 0;
31992                    confine: "sb_hbar";
31993                }
31994                description { state: "default" 0.0;
31995                    fixed: 1 1;
31996                    min: 17 10;
31997                    max: 99999 10;
31998                    rel1 {
31999                        relative: 0.5  0.5;
32000                        offset:   0    0;
32001                        to: "sb_hbar";
32002                    }
32003                    rel2 {
32004                        relative: 0.5  0.5;
32005                        offset:   0    0;
32006                        to: "sb_hbar";
32007                    }
32008                    image {
32009                        normal: "bt_sm_base2.png";
32010                        border: 4 4 4 4;
32011                        middle: SOLID;
32012                    }
32013                }
32014            }
32015            part { name: "sb_hbar_over1";
32016                clip_to: "sb_hbar_clip";
32017                mouse_events: 0;
32018                description { state: "default" 0.0;
32019                    rel1.to: "elm.dragable.hbar";
32020                    rel2.relative: 1.0 0.5;
32021                    rel2.to: "elm.dragable.hbar";
32022                    image {
32023                        normal: "bt_sm_hilight.png";
32024                        border: 4 4 4 0;
32025                    }
32026                }
32027            }
32028            part { name: "sb_hbar_over2";
32029                clip_to: "sb_hbar_clip";
32030                mouse_events: 0;
32031                description { state: "default" 0.0;
32032                    rel1.to: "elm.dragable.hbar";
32033                    rel2.to: "elm.dragable.hbar";
32034                    image {
32035                        normal: "bt_sm_shine.png";
32036                        border: 4 4 4 0;
32037                    }
32038                }
32039            }
32040        }
32041        programs {
32042            program { name: "load";
32043                signal: "load";
32044                source: "";
32045                script {
32046                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
32047                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
32048                    set_int(sbvis_h, 0);
32049                    set_int(sbvis_v, 0);
32050                    set_int(sbalways_v, 0);
32051                    set_int(sbalways_h, 0);
32052                    set_int(sbvis_timer, 0);
32053                }
32054            }
32055
32056            program { name: "vbar_show";
32057                signal: "elm,action,show,vbar";
32058                source: "elm";
32059                action:  STATE_SET "default" 0.0;
32060                target: "sb_vbar_clip_master";
32061            }
32062            program { name: "vbar_hide";
32063                signal: "elm,action,hide,vbar";
32064                source: "elm";
32065                action:  STATE_SET "hidden" 0.0;
32066                target: "sb_vbar_clip_master";
32067            }
32068            program { name: "vbar_show_always";
32069                signal: "elm,action,show_always,vbar";
32070                source: "elm";
32071                script {
32072                    new v;
32073                    v = get_int(sbvis_v);
32074                    v |= get_int(sbalways_v);
32075                    if (!v) {
32076                        set_int(sbalways_v, 1);
32077                        emit("do-show-vbar", "");
32078                        set_int(sbvis_v, 1);
32079                    }
32080                }
32081            }
32082            program { name: "vbar_show_notalways";
32083                signal: "elm,action,show_notalways,vbar";
32084                source: "elm";
32085                script {
32086                    new v;
32087                    v = get_int(sbalways_v);
32088                    if (v) {
32089                        set_int(sbalways_v, 0);
32090                        v = get_int(sbvis_v);
32091                        if (!v) {
32092                            emit("do-hide-vbar", "");
32093                            set_int(sbvis_v, 0);
32094                        }
32095                    }
32096                }
32097            }
32098            program { name: "sb_vbar_show";
32099                signal: "do-show-vbar";
32100                source: "";
32101                action:  STATE_SET "default" 0.0;
32102                transition: LINEAR 0.5;
32103                target: "sb_vbar_clip";
32104            }
32105            program { name: "sb_vbar_hide";
32106                signal: "do-hide-vbar";
32107                source: "";
32108                action:  STATE_SET "hidden" 0.0;
32109                transition: LINEAR 0.5;
32110                target: "sb_vbar_clip";
32111            }
32112
32113            program { name: "hbar_show";
32114                signal: "elm,action,show,hbar";
32115                source: "elm";
32116                action:  STATE_SET "default" 0.0;
32117                target: "sb_hbar_clip_master";
32118            }
32119            program { name: "hbar_hide";
32120                signal: "elm,action,hide,hbar";
32121                source: "elm";
32122                action:  STATE_SET "hidden" 0.0;
32123                target: "sb_hbar_clip_master";
32124            }
32125            program { name: "hbar_show_always";
32126                signal: "elm,action,show_always,hbar";
32127                source: "elm";
32128                script {
32129                    new v;
32130                    v = get_int(sbvis_h);
32131                    v |= get_int(sbalways_h);
32132                    if (!v) {
32133                        set_int(sbalways_h, 1);
32134                        emit("do-show-hbar", "");
32135                        set_int(sbvis_h, 1);
32136                    }
32137                }
32138            }
32139            program { name: "hbar_show_notalways";
32140                signal: "elm,action,show_notalways,hbar";
32141                source: "elm";
32142                script {
32143                    new v;
32144                    v = get_int(sbalways_h);
32145                    if (v) {
32146                        set_int(sbalways_h, 0);
32147                        v = get_int(sbvis_h);
32148                        if (!v) {
32149                            emit("do-hide-hbar", "");
32150                            set_int(sbvis_h, 0);
32151                        }
32152                    }
32153                }
32154            }
32155            program { name: "sb_hbar_show";
32156                signal: "do-show-hbar";
32157                source: "";
32158                action:  STATE_SET "default" 0.0;
32159                transition: LINEAR 0.5;
32160                target: "sb_hbar_clip";
32161            }
32162            program { name: "sb_hbar_hide";
32163                signal: "do-hide-hbar";
32164                source: "";
32165                action:  STATE_SET "hidden" 0.0;
32166                transition: LINEAR 0.5;
32167                target: "sb_hbar_clip";
32168            }
32169
32170            program { name: "scroll";
32171                signal: "elm,action,scroll";
32172                source: "elm";
32173                script {
32174                    new v;
32175                    v = get_int(sbvis_v);
32176                    v |= get_int(sbalways_v);
32177                    if (!v) {
32178                        emit("do-show-vbar", "");
32179                        set_int(sbvis_v, 1);
32180                    }
32181                    v = get_int(sbvis_h);
32182                    v |= get_int(sbalways_h);
32183                    if (!v) {
32184                        emit("do-show-hbar", "");
32185                        set_int(sbvis_h, 1);
32186                    }
32187                    v = get_int(sbvis_timer);
32188                    if (v > 0) cancel_timer(v);
32189                    v = timer(1.0, "timer0", 0);
32190                    set_int(sbvis_timer, v);
32191                }
32192            }
32193            program { name: "go1";
32194                signal: "elm,state,busy,start";
32195                source: "elm";
32196                action: STATE_SET "active" 0.0;
32197                transition: SINUSOIDAL 1.0;
32198                target:  "busy_clip";
32199            }
32200            program { name: "go2";
32201                signal: "elm,state,busy,start";
32202                source: "elm";
32203                action: STATE_SET "default" 0.0;
32204                transition: LINEAR 0.5;
32205                target: "busy";
32206                after:  "go2";
32207            }
32208            program { name: "stop1";
32209                signal: "elm,state,busy,stop";
32210                source: "elm";
32211                action: STATE_SET "default" 0.0;
32212                transition: SINUSOIDAL 1.0;
32213                target: "busy_clip";
32214                after: "stop2";
32215            }
32216          program { name: "stop2";
32217             action: ACTION_STOP;
32218             target: "go2";
32219          }
32220       }
32221    }
32222    group { name: "elm/map/marker/radio/default";
32223         data {
32224             item: size_w 24;
32225             item: size_h 24;
32226             item: size_max_w 58;
32227             item: size_max_h 58;
32228         }
32229         images {
32230                 image: "map_item.png" COMP;
32231         }
32232         parts {
32233             part { name: "whole";
32234                 description { state: "default" 0.0;
32235                 }
32236             }
32237             part { name: "base";
32238                 ignore_flags: ON_HOLD;
32239                 description { state: "default" 0.0;
32240                     image.normal: "map_item.png";
32241                 }
32242             }
32243             part { name: "elm.icon";
32244                 type: SWALLOW;
32245                 clip_to: "whole";
32246                 mouse_events:  0;
32247                 description { state: "default" 0.0;
32248                     rel1.relative: 0.27 0.27;
32249                     rel2.relative: 0.73 0.73;
32250                 }
32251             }
32252             part { name: "elm.text";
32253                 type:          TEXT;
32254                 effect:        SOFT_SHADOW;
32255                 mouse_events:  0;
32256                 scale: 1;
32257                 description { state: "default" 0.0;
32258                     align:    0.5 0.5;
32259                     color: 224 224 224 255;
32260                     color3: 0 0 0 64;
32261                     rel1.relative: 0.28 0.25;
32262                     rel2.relative: 0.75 0.75;
32263                     text {
32264                         font:     "Sans,Edje-Vera";
32265                         size:     10;
32266                         min:      0 0;
32267                         align:    0.5 0.5;
32268                     }
32269                 }
32270             }
32271        }
32272        programs {
32273             program { name: "open";
32274                 signal: "mouse,clicked,1";
32275                 source: "base";
32276                 action: SIGNAL_EMIT "open" "elm";
32277             }
32278             program { name: "bringin";
32279                 signal: "mouse,down,1,double";
32280                 source: "base";
32281                 action: SIGNAL_EMIT "bringin" "elm";
32282             }
32283        }
32284    }
32285    group { name: "elm/map/marker/radio2/default";
32286         data {
32287             item: size_w 24;
32288             item: size_h 24;
32289             item: size_max_w 58;
32290             item: size_max_h 58;
32291         }
32292         images {
32293                 image: "map_item_2.png" COMP;
32294         }
32295         parts {
32296             part { name: "base";
32297                 ignore_flags: ON_HOLD;
32298                 description { state: "default" 0.0;
32299                     image.normal: "map_item_2.png";
32300                 }
32301             }
32302             part { name: "elm.text";
32303                 type:          TEXT;
32304                 effect:        SOFT_SHADOW;
32305                 mouse_events:  0;
32306                 scale: 1;
32307                 description { state: "default" 0.0;
32308                     align:    0.5 0.5;
32309                     color: 224 224 224 255;
32310                     color3: 0 0 0 64;
32311                     rel1.relative: 0.28 0.25;
32312                     rel2.relative: 0.75 0.75;
32313                     text {
32314                         font:     "Sans,Edje-Vera";
32315                         size:     10;
32316                         min:      0 0;
32317                         align:    0.5 0.5;
32318                     }
32319                 }
32320             }
32321        }
32322        programs {
32323             program { name: "open";
32324                 signal: "mouse,clicked,1";
32325                 source: "base";
32326                 action: SIGNAL_EMIT "open" "elm";
32327             }
32328             program { name: "bringin";
32329                 signal: "mouse,down,1,double";
32330                 source: "base";
32331                 action: SIGNAL_EMIT "bringin" "elm";
32332             }
32333        }
32334    }
32335    group { name: "elm/map/marker/empty/default";
32336         data {
32337             item: size_w 22;
32338             item: size_h 22;
32339             item: size_max_w 64;
32340             item: size_max_h 64;
32341         }
32342         parts {
32343             part { name: "whole";
32344                 description { state: "default" 0.0;
32345                 }
32346             }
32347             part { name: "base";
32348                 ignore_flags: ON_HOLD;
32349                 description { state: "default" 0.0;
32350                 }
32351             }
32352             part { name: "elm.icon";
32353                 type: SWALLOW;
32354                 clip_to: "whole";
32355                 mouse_events:  0;
32356                 description { state: "default" 0.0;
32357                 }
32358             }
32359             part { name: "elm.text";
32360                 type:          TEXT;
32361                 effect:        SOFT_SHADOW;
32362                 mouse_events:  0;
32363                 scale: 1;
32364                 description { state: "default" 0.0;
32365                     align:    0.5 0.5;
32366                     color: 224 224 224 255;
32367                     color3: 0 0 0 64;
32368                     rel1.relative: 0.28 0.25;
32369                     rel2.relative: 0.75 0.75;
32370                     text {
32371                         font:     "Sans,Edje-Vera";
32372                         size:     10;
32373                         min:      0 0;
32374                         align:    0.5 0.5;
32375                     }
32376                 }
32377             }
32378        }
32379        programs {
32380             program { name: "open";
32381                 signal: "mouse,clicked,1";
32382                 source: "base";
32383                 action: SIGNAL_EMIT "open" "elm";
32384             }
32385             program { name: "bringin";
32386                 signal: "mouse,down,1,double";
32387                 source: "base";
32388                 action: SIGNAL_EMIT "bringin" "elm";
32389             }
32390        }
32391    }
32392    group { name: "elm/map/marker_bubble/default";
32393     images {
32394       image: "bubble.png" COMP;
32395       image: "bubble_shine.png" COMP;
32396     }
32397     data {
32398             item: size_w 400;
32399             item: size_h 100;
32400         }
32401     parts {
32402     part { name: "clipper";
32403         mouse_events:  1;
32404         description { state: "default" 0.0;
32405           color: 255 255 255 0;
32406         }
32407         description { state: "show" 0.0;
32408             inherit: "default" 0.0;
32409             color: 255 255 255 255;
32410         }
32411       }
32412      part { name: "base0";
32413         mouse_events:  0;
32414         clip_to: "clipper";
32415         description { state: "default" 0.0;
32416           image {
32417             normal: "bubble.png";
32418             border: 11 36 10 19;
32419           }
32420           image.middle: SOLID;
32421           fill.smooth: 0;
32422         }
32423         description { state: "rtl" 0.0;
32424            inherit: "default" 0.0;
32425            image {
32426               normal: "bubble_4.png";
32427               border: 11 36 18 9;
32428            }
32429         }
32430       }
32431       part { name: "elm.swallow.content";
32432         type: SWALLOW;
32433         clip_to: "clipper";
32434         description { state: "default" 0.0;
32435             align: 0.5 0.5;
32436           rel1 {
32437             offset: 9 8;
32438           }
32439           rel2 {
32440             offset: -10 -17;
32441           }
32442         }
32443       }
32444       part { name: "shine";
32445         mouse_events:  0;
32446         clip_to: "clipper";
32447         description { state:    "default" 0.0;
32448           rel1 {
32449             to: "base0";
32450           }
32451           rel2 {
32452             to: "base0";
32453             relative: 1.0 0.5;
32454           }
32455           image {
32456             normal: "bubble_shine.png";
32457             border: 5 5 5 0;
32458           }
32459           fill.smooth: 0;
32460         }
32461         }
32462     }
32463     programs {
32464         program { name: "show";
32465             signal: "show";
32466             action: STATE_SET "show" 0.0;
32467             target: "clipper";
32468             transition: ACCELERATE 0.5;
32469         }
32470     }
32471   }
32472
32473 /////////////////////////////////////////////////////////////////////////////
32474 // PANES
32475 /////////////////////////////////////////////////////////////////////////////
32476   group {
32477      name: "elm/panes/vertical/default";
32478       images {
32479          image: "bt_base1.png" COMP;
32480          image: "bt_base2.png" COMP;
32481          image: "bt_hilight.png" COMP;
32482          image: "bt_shine.png" COMP;
32483          image: "bt_glow.png" COMP;
32484          image: "bt_dis_base.png" COMP;
32485          image: "bt_dis_hilight.png" COMP;
32486          image: "arrow_right.png" COMP;
32487          image: "arrow_left.png" COMP;
32488       }
32489      parts
32490        {
32491           part
32492             {
32493                name: "whole";
32494                type: RECT;
32495                mouse_events: 0;
32496                description
32497                  {
32498                     state: "default" 0.0;
32499                     visible: 0;
32500                  }
32501             }
32502
32503          //2 contents
32504           part
32505             {
32506                name: "whole_left";
32507                type: RECT;
32508                mouse_events: 0;
32509                description
32510                  {
32511                     state: "default" 0.0;
32512                     rel2.to_x: "elm.bar";
32513                     rel2.relative: 0.0 1.0;
32514                     visible: 1;
32515                  }
32516             }
32517           part
32518             {
32519                name: "elm.swallow.left";
32520                type: SWALLOW;
32521                clip_to: "whole_left";
32522                description
32523                  {
32524                     state: "default" 0.0;
32525                     rel1.to: "whole_left";
32526                     rel2.to: "whole_left";
32527                  }
32528             }
32529
32530             part
32531             {
32532                name: "whole_right";
32533                type: RECT;
32534                mouse_events: 0;
32535                description
32536                  {
32537                     state: "default" 0.0;
32538                     rel1.to_x: "elm.bar";
32539                     rel1.relative: 1.0 0.0;
32540                     visible: 1;
32541                  }
32542             }
32543           part
32544             {
32545                name: "elm.swallow.right";
32546                type: SWALLOW;
32547                clip_to: "whole_right";
32548                description
32549                  {
32550                     state: "default" 0.0;
32551                     rel1.to: "whole_right";
32552                     rel2.to: "whole_right";
32553                  }
32554             }
32555          //BAR
32556          part { name: "elm.bar";
32557             mouse_events: 1;
32558             dragable {
32559                confine: "whole";
32560                x: 1 1 1;
32561                y: 0 0 0;
32562             }
32563             description { state: "default" 0.0;
32564                max: 15 9999;
32565                min: 15 100;
32566                rel1.relative: 0.0 0.5;
32567                rel2.relative: 1.0 0.5;
32568                image {
32569                   normal: "bt_base2.png";
32570                   border: 7 7 7 7;
32571                }
32572                image.middle: SOLID;
32573             }
32574             description { state: "clicked" 0.0;
32575                inherit: "default" 0.0;
32576                image.normal: "bt_base1.png";
32577                image.middle: SOLID;
32578             }
32579             description { state: "disabled" 0.0;
32580                inherit:  "default" 0.0;
32581                image {
32582                   normal: "bt_dis_base.png";
32583                   border: 4 4 4 4;
32584                }
32585             }
32586          }
32587          part {          name: "over1";
32588             mouse_events: 0;
32589             description { state: "default" 0.0;
32590             rel1.to: "elm.bar";
32591             rel2.to: "elm.bar";
32592                rel2.relative: 1.0 0.5;
32593                image {
32594                   normal: "bt_hilight.png";
32595                   border: 7 7 7 0;
32596                }
32597             }
32598             description { state: "disabled" 0.0;
32599                inherit:  "default" 0.0;
32600                image {
32601                   normal: "bt_dis_hilight.png";
32602                   border: 4 4 4 0;
32603                }
32604             }
32605          }
32606          part { name: "over2";
32607             mouse_events: 1;
32608             repeat_events: 1;
32609             ignore_flags: ON_HOLD;
32610             description { state: "default" 0.0;
32611             rel1.to: "elm.bar";
32612             rel2.to: "elm.bar";
32613                image {
32614                   normal: "bt_shine.png";
32615                   border: 7 7 7 7;
32616                }
32617             }
32618             description { state: "disabled" 0.0;
32619                inherit:  "default" 0.0;
32620                visible: 0;
32621             }
32622          }
32623          part { name: "over3";
32624             mouse_events: 1;
32625             repeat_events: 1;
32626             description { state: "default" 0.0;
32627                color: 255 255 255 0;
32628             rel1.to: "elm.bar";
32629             rel2.to: "elm.bar";
32630                image {
32631                   normal: "bt_glow.png";
32632                   border: 12 12 12 12;
32633                }
32634                fill.smooth : 0;
32635             }
32636             description { state: "clicked" 0.0;
32637                inherit:  "default" 0.0;
32638                visible: 1;
32639                color: 255 255 255 255;
32640             }
32641          }
32642
32643          //Arrow
32644          part {
32645             name: "arrow_right";
32646             repeat_events: 1;
32647             description { state: "default" 0.0;
32648                 min: 45 45;
32649                 max: 45 45;
32650                 color: 255 255 255 0;
32651
32652                 rel1.relative: 1.0 0.5;
32653                 rel1.to_x: "elm.bar";
32654                 rel1.offset: 45/2 -45/2;
32655
32656                 rel2.relative: 1.0 0.5;
32657                 rel2.to_x: "elm.bar";
32658                 rel2.offset: 45/2 45/2;
32659
32660                 image.normal: "arrow_right.png";
32661
32662                 fixed: 1 1;
32663             }
32664             description { state: "default" 0.1;
32665                 inherit: "default" 0.0;
32666                 image.normal: "arrow_left.png";
32667             }
32668             description { state: "anim_1" 0.0;
32669                 inherit: "default" 0.0;
32670                 color: 255 255 255 200;
32671                 rel1.offset: (45/2 + 10) -45/2;
32672                 rel2.offset: (45/2 +10) 45/2;
32673             }
32674             description { state: "anim_1" 0.1;
32675                 inherit: "default" 0.0;
32676                 image.normal: "arrow_left.png";
32677                 color: 255 255 255 200;
32678                 rel1.offset: (45/2 + 10) -45/2;
32679                 rel2.offset: (45/2 +10) 45/2;
32680             }
32681             description { state: "anim_2" 0.0;
32682                 inherit: "default" 0.0;
32683                 color: 255 255 255 0;
32684                 rel1.offset: (45/2 + 20) -45/2;
32685                 rel2.offset: (45/2 + 20) 45/2;
32686             }
32687             description { state: "anim_2" 0.1;
32688                 inherit: "default" 0.0;
32689                 image.normal: "arrow_left.png";
32690                 color: 255 255 255 0;
32691                 rel1.offset: (45/2 + 20) -45/2;
32692                 rel2.offset: (45/2 + 20) 45/2;
32693             }
32694          }
32695         part {
32696             name: "arrow_left";
32697             repeat_events: 1;
32698             description { state: "default" 0.0;
32699                 min: 45 45;
32700                 max: 45 45;
32701                 color: 255 255 255 0;
32702
32703                 rel1.relative: 0.0 0.5;
32704                 rel1.to_x: "elm.bar";
32705                 rel1.offset: -45/2 -45/2;
32706
32707                 rel2.relative: 0.0 0.5;
32708                 rel2.to_x: "elm.bar";
32709                 rel2.offset: -45/2 45/2;
32710
32711                 image.normal: "arrow_left.png";
32712
32713                 fixed: 1 1;
32714             }
32715             description { state: "default" 0.1;
32716                 inherit: "default" 0.0;
32717                 image.normal: "arrow_right.png";
32718             }
32719             description { state: "anim_1" 0.0;
32720                 inherit: "default" 0.0;
32721                 color: 255 255 255 200;
32722                 rel1.offset: (-45/2 - 10) -45/2;
32723                 rel2.offset: (-45/2 - 10) 45/2;
32724             }
32725             description { state: "anim_1" 0.1;
32726                 inherit: "default" 0.0;
32727                 image.normal: "arrow_right.png";
32728                 color: 255 255 255 200;
32729                 rel1.offset: (-45/2 - 10) -45/2;
32730                 rel2.offset: (-45/2 - 10) 45/2;
32731             }
32732             description { state: "anim_2" 0.0;
32733                 inherit: "default" 0.0;
32734                 color: 255 255 255 0;
32735                 rel1.offset: (-45/2 - 20) -45/2;
32736                 rel2.offset: (-45/2 - 20) 45/2;
32737             }
32738             description { state: "anim_2" 0.1;
32739                 inherit: "default" 0.0;
32740                 image.normal: "arrow_right.png";
32741                 color: 255 255 255 0;
32742                 rel1.offset: (-45/2 - 20) -45/2;
32743                 rel2.offset: (-45/2 - 20) 45/2;
32744             }
32745          }
32746
32747        }
32748         programs {
32749          program {
32750             name:   "button_click";
32751             signal: "mouse,down,1";
32752             source: "over2";
32753             action: SIGNAL_EMIT "elm,action,press" "";
32754             after: "button_click_anim";
32755             after: "arrow_anim_start";
32756          }
32757          program {
32758             name:   "button_click_anim";
32759             action: STATE_SET "clicked" 0.0;
32760             target: "elm.bar";
32761          }
32762          program {
32763             name:   "button_unclick";
32764             signal: "mouse,up,1";
32765             source: "over2";
32766             action: SIGNAL_EMIT "elm,action,unpress" "";
32767             after: "button_unclick_anim";
32768             after: "arrow_anim_stop";
32769          }
32770          program {
32771             name:   "button_unclick_anim";
32772             action: STATE_SET "default" 0.0;
32773             target: "elm.bar";
32774          }
32775          program {
32776             name:   "button_click2";
32777             signal: "mouse,down,1";
32778             source: "over3";
32779             action: STATE_SET "clicked" 0.0;
32780             target: "over3";
32781          }
32782          program {
32783             name:   "button_unclick2";
32784             signal: "mouse,up,1";
32785             source: "over3";
32786             action: STATE_SET "default" 0.0;
32787             transition: DECELERATE 0.5;
32788             target: "over3";
32789          }
32790          program {
32791             name:   "button_unclick3";
32792             signal: "mouse,up,1";
32793             source: "over2";
32794             action: SIGNAL_EMIT "elm,action,click" "";
32795          }
32796          program {
32797             name:   "button_down_double";
32798             signal: "mouse,down,1,double";
32799             source: "over3";
32800             action: SIGNAL_EMIT "elm,action,click,double" "";
32801          }
32802
32803          //arrows animation
32804          program {
32805             name: "arrow_anim_start";
32806             script {
32807                new st[31];
32808                new Float:vl;
32809                get_state(PART:"arrow_left", st, 30, vl);
32810                if (vl == 0.0) {
32811                   run_program(PROGRAM:"arrow_anim_start_ltr");
32812                }
32813                else {
32814                   run_program(PROGRAM:"arrow_anim_start_rtl");
32815                }
32816             }
32817          }
32818          program {
32819             name: "arrow_anim_stop";
32820             script {
32821                new st[31];
32822                new Float:vl;
32823                get_state(PART:"arrow_left", st, 30, vl);
32824                if (vl == 0.0) {
32825                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32826                }
32827                else {
32828                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32829                }
32830             }
32831          }
32832
32833          program {
32834             name: "arrow_anim_start_ltr";
32835             action: STATE_SET "anim_1" 0.0;
32836             target: "arrow_right";
32837             target: "arrow_left";
32838             transition: LINEAR 0.6;
32839             after: "arrow_anim_1_ltr";
32840          }
32841          program {
32842             name: "arrow_anim_1_ltr";
32843             action: STATE_SET "anim_2" 0.0;
32844             target: "arrow_right";
32845             target: "arrow_left";
32846             transition: LINEAR 0.6;
32847             after: "arrow_anim_2_ltr";
32848          }
32849          program {
32850             name: "arrow_anim_2_ltr";
32851             action: STATE_SET "default" 0.0;
32852             target: "arrow_right";
32853             target: "arrow_left";
32854             after: "arrow_anim_start_ltr";
32855          }
32856          program {
32857             name: "arrow_anim_stop_ltr";
32858             action: ACTION_STOP;
32859             target: "arrow_anim_start_ltr";
32860             target: "arrow_anim_1_ltr";
32861             target: "arrow_anim_2_ltr";
32862             after: "arrow_anim_stop_1_ltr";
32863          }
32864          program {
32865             name: "arrow_anim_stop_1_ltr";
32866             action: STATE_SET "default" 0.0;
32867             target: "arrow_right";
32868             target: "arrow_left";
32869             transition: DECELERATE 0.4;
32870         }
32871          program {
32872             name: "arrow_anim_start_rtl";
32873             action: STATE_SET "anim_1" 0.1;
32874             target: "arrow_right";
32875             target: "arrow_left";
32876             transition: LINEAR 0.6;
32877             after: "arrow_anim_1_rtl";
32878          }
32879          program {
32880             name: "arrow_anim_1_rtl";
32881             action: STATE_SET "anim_2" 0.1;
32882             target: "arrow_right";
32883             target: "arrow_left";
32884             transition: LINEAR 0.6;
32885             after: "arrow_anim_2_rtl";
32886          }
32887          program {
32888             name: "arrow_anim_2_rtl";
32889             action: STATE_SET "default" 0.1;
32890             target: "arrow_right";
32891             target: "arrow_left";
32892             after: "arrow_anim_start_rtl";
32893          }
32894          program {
32895             name: "arrow_anim_stop_rtl";
32896             action: ACTION_STOP;
32897             target: "arrow_anim_start_rtl";
32898             target: "arrow_anim_1_rtl";
32899             target: "arrow_anim_2_rtl";
32900             after: "arrow_anim_stop_1_rtl";
32901          }
32902          program {
32903             name: "arrow_anim_stop_1_rtl";
32904             action: STATE_SET "default" 0.1;
32905             target: "arrow_right";
32906             target: "arrow_left";
32907             transition: DECELERATE 0.4;
32908         }
32909          program { name: "to_rtl";
32910             signal: "edje,state,rtl";
32911             source: "edje";
32912             script {
32913                new st[31];
32914                new Float:vl;
32915                get_state(PART:"arrow_left", st, 30, vl);
32916                if (vl == 0.0) {
32917                   set_state(PART:"arrow_left", st, 0.1);
32918                }
32919                get_state(PART:"arrow_right", st, 30, vl);
32920                if (vl == 0.0) {
32921                   set_state(PART:"arrow_right", st, 0.1);
32922                }
32923             }
32924          }
32925          program { name: "to_ltr";
32926             signal: "edje,state,ltr";
32927             source: "edje";
32928             script {
32929                new st[31];
32930                new Float:vl;
32931                get_state(PART:"arrow_left", st, 30, vl);
32932                if (vl == 0.1) {
32933                   set_state(PART:"arrow_left", st, 0.0);
32934                }
32935                get_state(PART:"arrow_right", st, 30, vl);
32936                if (vl == 0.1) {
32937                   set_state(PART:"arrow_right", st, 0.0);
32938                }
32939             }
32940          }
32941       }
32942   }
32943
32944   group {
32945      name: "elm/panes/horizontal/default";
32946       images {
32947          image: "bt_base1.png" COMP;
32948          image: "bt_base2.png" COMP;
32949          image: "bt_hilight.png" COMP;
32950          image: "bt_shine.png" COMP;
32951          image: "bt_glow.png" COMP;
32952          image: "bt_dis_base.png" COMP;
32953          image: "bt_dis_hilight.png" COMP;
32954          image: "arrow_up.png" COMP;
32955          image: "arrow_down.png" COMP;
32956       }
32957      parts
32958        {
32959           part
32960             {
32961                name: "whole";
32962                type: RECT;
32963                mouse_events: 0;
32964                description
32965                  {
32966                     state: "default" 0.0;
32967                     visible: 0;
32968                  }
32969             }
32970
32971          //2 contents
32972           part
32973             {
32974                name: "whole_left";
32975                type: RECT;
32976                mouse_events: 0;
32977                description
32978                  {
32979                     state: "default" 0.0;
32980                     rel2.to_y: "elm.bar";
32981                     rel2.relative: 1.0 0.0;
32982                     visible: 1;
32983                  }
32984             }
32985           part
32986             {
32987                name: "elm.swallow.left";
32988                type: SWALLOW;
32989                clip_to: "whole_left";
32990                description
32991                  {
32992                     state: "default" 0.0;
32993                     rel1.to: "whole_left";
32994                     rel2.to: "whole_left";
32995                  }
32996             }
32997
32998             part
32999             {
33000                name: "whole_right";
33001                type: RECT;
33002                mouse_events: 0;
33003                description
33004                  {
33005                     state: "default" 0.0;
33006                     rel1.to_y: "elm.bar";
33007                     rel1.relative: 0.0 1.0;
33008                     visible: 1;
33009                  }
33010             }
33011           part
33012             {
33013                name: "elm.swallow.right";
33014                type: SWALLOW;
33015                clip_to: "whole_right";
33016                description
33017                  {
33018                     state: "default" 0.0;
33019                     rel1.to: "whole_right";
33020                     rel2.to: "whole_right";
33021                  }
33022             }
33023          //BAR
33024          part { name: "elm.bar";
33025             mouse_events: 1;
33026             dragable {
33027                confine: "whole";
33028                x: 0 0 0;
33029                y: 1 1 1;
33030             }
33031             description { state: "default" 0.0;
33032                max: 999 15;
33033                min: 100 15;
33034                rel1.relative: 0.5 0.0;
33035                rel2.relative: 0.5 1.0;
33036                image {
33037                   normal: "bt_base2.png";
33038                   border: 7 7 7 7;
33039                }
33040                image.middle: SOLID;
33041             }
33042             description { state: "clicked" 0.0;
33043                inherit: "default" 0.0;
33044                image.normal: "bt_base1.png";
33045                image.middle: SOLID;
33046             }
33047             description { state: "disabled" 0.0;
33048                inherit:  "default" 0.0;
33049                image {
33050                   normal: "bt_dis_base.png";
33051                   border: 4 4 4 4;
33052                }
33053             }
33054          }
33055          part {          name: "over1";
33056             mouse_events: 0;
33057             description { state: "default" 0.0;
33058             rel1.to: "elm.bar";
33059             rel2.to: "elm.bar";
33060                rel2.relative: 1.0 0.5;
33061                image {
33062                   normal: "bt_hilight.png";
33063                   border: 7 7 7 0;
33064                }
33065             }
33066             description { state: "disabled" 0.0;
33067                inherit:  "default" 0.0;
33068                image {
33069                   normal: "bt_dis_hilight.png";
33070                   border: 4 4 4 0;
33071                }
33072             }
33073          }
33074          part { name: "over2";
33075             mouse_events: 1;
33076             repeat_events: 1;
33077             ignore_flags: ON_HOLD;
33078             description { state: "default" 0.0;
33079             rel1.to: "elm.bar";
33080             rel2.to: "elm.bar";
33081                image {
33082                   normal: "bt_shine.png";
33083                   border: 7 7 7 7;
33084                }
33085             }
33086             description { state: "disabled" 0.0;
33087                inherit:  "default" 0.0;
33088                visible: 0;
33089             }
33090          }
33091          part { name: "over3";
33092             mouse_events: 1;
33093             repeat_events: 1;
33094             description { state: "default" 0.0;
33095                color: 255 255 255 0;
33096             rel1.to: "elm.bar";
33097             rel2.to: "elm.bar";
33098                image {
33099                   normal: "bt_glow.png";
33100                   border: 12 12 12 12;
33101                }
33102                fill.smooth : 0;
33103             }
33104             description { state: "clicked" 0.0;
33105                inherit:  "default" 0.0;
33106                visible: 1;
33107                color: 255 255 255 255;
33108             }
33109          }
33110
33111          //Arrow
33112          part {
33113             name: "arrow_right";
33114             repeat_events: 1;
33115             description { state: "default" 0.0;
33116                 min: 45 45;
33117                 max: 45 45;
33118                 color: 255 255 255 0;
33119
33120                 rel1.relative: 0.5 1.0;
33121                 rel1.to_y: "elm.bar";
33122                 rel1.offset: -45/2 45/2;
33123
33124                 rel2.relative: 0.5 1.0;
33125                 rel2.to_y: "elm.bar";
33126                 rel2.offset: 45/2 45/2;
33127
33128                 image.normal: "arrow_down.png";
33129
33130                 fixed: 1 1;
33131             }
33132             description { state: "anim_1" 0.0;
33133                 inherit: "default" 0.0;
33134                 color: 255 255 255 200;
33135                 rel1.offset: -45/2 (45/2 +10);
33136                 rel2.offset: 45/2 (45/2 +10);
33137             }
33138             description { state: "anim_2" 0.0;
33139                 inherit: "default" 0.0;
33140                 color: 255 255 255 0;
33141                 rel1.offset: -45/2 (45/2 + 20);
33142                 rel2.offset: 45/2 (45/2 + 20);
33143             }
33144          }
33145         part {
33146             name: "arrow_left";
33147             repeat_events: 1;
33148             description { state: "default" 0.0;
33149                 min: 45 45;
33150                 max: 45 45;
33151                 color: 255 255 255 0;
33152
33153                 rel1.relative: 0.5 0.0;
33154                 rel1.to_y: "elm.bar";
33155                 rel1.offset: -45/2 -45/2;
33156
33157                 rel2.relative: 0.5 0.0;
33158                 rel2.to_y: "elm.bar";
33159                 rel2.offset: 45/2 -45/2;
33160
33161                 image.normal: "arrow_up.png";
33162
33163                 fixed: 1 1;
33164             }
33165             description { state: "anim_1" 0.0;
33166                 inherit: "default" 0.0;
33167                 color: 255 255 255 200;
33168                 rel1.offset: -45/2 (-45/2 - 10);
33169                 rel2.offset: 45/2 (-45/2 - 10);
33170             }
33171             description { state: "anim_2" 0.0;
33172                 inherit: "default" 0.0;
33173                 color: 255 255 255 0;
33174                 rel1.offset: -45/2 (-45/2 - 20);
33175                 rel2.offset: 45/2 (-45/2 - 20);
33176             }
33177          }
33178
33179        }
33180         programs {
33181          program {
33182             name:   "button_click";
33183             signal: "mouse,down,1";
33184             source: "over2";
33185             action: SIGNAL_EMIT "elm,action,press" "";
33186             after: "button_click_anim";
33187             after: "arrow_anim_start";
33188          }
33189          program {
33190             name:   "button_click_anim";
33191             action: STATE_SET "clicked" 0.0;
33192             target: "elm.bar";
33193          }
33194          program {
33195             name:   "button_unclick";
33196             signal: "mouse,up,1";
33197             source: "over2";
33198             action: SIGNAL_EMIT "elm,action,unpress" "";
33199             after: "button_unclick_anim";
33200             after: "arrow_anim_stop";
33201          }
33202          program {
33203             name:   "button_unclick_anim";
33204             action: STATE_SET "default" 0.0;
33205             target: "elm.bar";
33206          }
33207          program {
33208             name:   "button_click2";
33209             signal: "mouse,down,1";
33210             source: "over3";
33211             action: STATE_SET "clicked" 0.0;
33212             target: "over3";
33213          }
33214          program {
33215             name:   "button_unclick2";
33216             signal: "mouse,up,1";
33217             source: "over3";
33218             action: STATE_SET "default" 0.0;
33219             transition: DECELERATE 0.5;
33220             target: "over3";
33221          }
33222          program {
33223             name:   "button_unclick3";
33224             signal: "mouse,up,1";
33225             source: "over2";
33226             action: SIGNAL_EMIT "elm,action,click" "";
33227          }
33228          program {
33229             name:   "button_down_double";
33230             signal: "mouse,down,1,double";
33231             source: "over3";
33232             action: SIGNAL_EMIT "elm,action,click,double" "";
33233          }
33234
33235          //arrows animation
33236          program {
33237             name: "arrow_anim_start";
33238             action: STATE_SET "anim_1" 0.0;
33239             target: "arrow_right";
33240             target: "arrow_left";
33241             transition: LINEAR 0.6;
33242             after: "arrow_anim_1";
33243          }
33244          program {
33245             name: "arrow_anim_1";
33246             action: STATE_SET "anim_2" 0.0;
33247             target: "arrow_right";
33248             target: "arrow_left";
33249             transition: LINEAR 0.6;
33250             after: "arrow_anim_2";
33251          }
33252          program {
33253             name: "arrow_anim_2";
33254             action: STATE_SET "default" 0.0;
33255             target: "arrow_right";
33256             target: "arrow_left";
33257             after: "arrow_anim_start";
33258          }
33259          program {
33260             name: "arrow_anim_stop";
33261             action: ACTION_STOP;
33262             target: "arrow_anim_start";
33263             target: "arrow_anim_1";
33264             target: "arrow_anim_2";
33265             after: "arrow_anim_stop_1";
33266          }
33267          program {
33268             name: "arrow_anim_stop_1";
33269             action: STATE_SET "default" 0.0;
33270             target: "arrow_right";
33271             target: "arrow_left";
33272             transition: DECELERATE 0.4;
33273         }
33274       }
33275   }
33276
33277
33278
33279 /////////////////////////////////////////////////////////////////////////////
33280 // PANEL
33281 /////////////////////////////////////////////////////////////////////////////
33282   group {
33283      name: "elm/panel/base/left";
33284      alias: "elm/panel/base/top";
33285      images
33286        {
33287           image: "bt_base1.png" COMP;
33288           image: "bt_hilight.png" COMP;
33289           image: "bt_shine.png" COMP;
33290           image: "bt_glow.png" COMP;
33291           image: "bt_dis_base.png" COMP;
33292           image: "icon_arrow_left.png" COMP;
33293           image: "icon_arrow_right.png" COMP;
33294        }
33295        data {
33296           item: "focus_highlight" "on";
33297        }
33298      parts
33299        {
33300             part { name: "focus_highlight";
33301                description { state: "default" 0.0;
33302                   visible: 0;
33303                   color: 255 255 255 0;
33304                   rel1 {
33305                      to: "btn";
33306                      offset: -8 -8;
33307                   }
33308                   rel2 {
33309                      to: "btn";
33310                      offset: 7 7;
33311                   }
33312                   image {
33313                      normal: "frame_2.png";
33314                      border: 5 5 32 26;
33315                      middle: 0;
33316                   }
33317                }
33318                description { state: "enabled" 0.0;
33319                   inherit: "default" 0.0;
33320                   visible: 1;
33321                   color: 255 255 255 255;
33322                }
33323             }
33324           part
33325             {
33326                name: "bg";
33327                type: RECT;
33328                mouse_events: 0;
33329                description
33330                  {
33331                     state: "default" 0.0;
33332                     color: 255 255 255 0;
33333                     rel1.relative: 0.0 0.0;
33334                     rel1.offset: 0 0;
33335                     rel2.relative: 1.0 1.0;
33336                     rel2.offset: -1 -1;
33337                  }
33338                description
33339                  {
33340                     state: "hidden" 0.0;
33341                     inherit: "default" 0.0;
33342                     rel1.relative: -1.0 0.0;
33343                     rel1.offset: 21 0;
33344                     rel2.relative: 0.0 1.0;
33345                     rel2.offset: 20 -1;
33346                  }
33347             }
33348           part
33349             {
33350                name: "base";
33351                type: IMAGE;
33352                mouse_events: 0;
33353                description
33354                  {
33355                     state: "default" 0.0;
33356                     rel1.to: "bg";
33357                     rel2.to: "bg";
33358                     rel2.offset: -20 -1;
33359                     image
33360                       {
33361                          normal: "bt_dis_base.png";
33362                          border: 4 4 4 4;
33363                       }
33364                  }
33365             }
33366           part
33367             {
33368                name: "clipper";
33369                type: RECT;
33370                mouse_events: 0;
33371                description
33372                  {
33373                     state: "default" 0.0;
33374                     rel1
33375                       {
33376                          offset: 4 4;
33377                          to: "base";
33378                       }
33379                     rel2
33380                       {
33381                          offset: -5 -5;
33382                          to: "base";
33383                       }
33384                  }
33385             }
33386           part
33387             {
33388                name: "elm.swallow.content";
33389                type: SWALLOW;
33390                clip_to: "clipper";
33391                description
33392                  {
33393                     state: "default" 0.0;
33394                     rel1.to: "clipper";
33395                     rel2.to: "clipper";
33396                  }
33397             }
33398           part
33399             {
33400                name: "btn";
33401                type: IMAGE;
33402                mouse_events: 1;
33403                description
33404                  {
33405                     state: "default" 0.0;
33406                     max: 32 48;
33407                     fixed: 1 1;
33408                     align: 0.0 0.5;
33409                     rel1
33410                       {
33411                          relative: 1.0 0.0;
33412                          offset: -3 0;
33413                          to_x: "base";
33414                       }
33415                     rel2.to_x: "bg";
33416                     image
33417                       {
33418                          normal: "bt_base1.png";
33419                          border: 0 5 4 12;
33420                       }
33421                     fill.smooth: 0;
33422                  }
33423                description
33424                  {
33425                     state: "clicked" 0.0;
33426                     inherit: "default" 0.0;
33427                  }
33428             }
33429           part
33430             {
33431                name: "btn_over";
33432                type: IMAGE;
33433                mouse_events: 0;
33434                description
33435                  {
33436                     state: "default" 0.0;
33437                     rel1.to: "btn";
33438                     rel2
33439                       {
33440                          relative: 1.0 0.5;
33441                          to: "btn";
33442                       }
33443                     image
33444                       {
33445                          normal: "bt_hilight.png";
33446                          border: 0 7 7 0;
33447                       }
33448                  }
33449             }
33450           part
33451             {
33452                name: "btn_over2";
33453                type: IMAGE;
33454                mouse_events: 1;
33455                repeat_events: 1;
33456                ignore_flags: ON_HOLD;
33457                description
33458                  {
33459                     state: "default" 0.0;
33460                     rel1.to: "btn";
33461                     rel2.to: "btn";
33462                     image
33463                       {
33464                          normal: "bt_shine.png";
33465                          border: 0 7 7 7;
33466                     }
33467                  }
33468             }
33469           part
33470             {
33471                name: "btn_over3";
33472                type: IMAGE;
33473                mouse_events: 1;
33474                repeat_events: 1;
33475                description
33476                  {
33477                     state: "default" 0.0;
33478                     color: 255 255 255 0;
33479                     rel1.to: "btn";
33480                     rel2.to: "btn";
33481                     image
33482                       {
33483                        normal: "bt_glow.png";
33484                        border: 12 12 12 12;
33485                     }
33486                   fill.smooth: 0;
33487                }
33488              description
33489                {
33490                   state: "clicked" 0.0;
33491                   inherit: "default" 0.0;
33492                   visible: 1;
33493                   color: 255 255 255 255;
33494                }
33495             }
33496           part
33497             {
33498                name: "btn_icon";
33499                type: IMAGE;
33500                repeat_events: 1;
33501                description
33502                  {
33503                     state: "default" 0.0;
33504                     rel1.to: "btn";
33505                     rel2.to: "btn";
33506                     align: 0.5 0.5;
33507                     min: 16 16;
33508                     max: 16 16;
33509                     image.normal: "icon_arrow_left.png";
33510                  }
33511                description
33512                  {
33513                     state: "hidden" 0.0;
33514                     inherit: "default" 0.0;
33515                     image.normal: "icon_arrow_right.png";
33516                  }
33517             }
33518        }
33519      programs
33520        {
33521           program
33522             {
33523                name: "show";
33524                signal: "elm,action,show";
33525                source: "elm";
33526                action: STATE_SET "default" 0.0;
33527                target: "bg";
33528                target: "btn_icon";
33529                transition: LINEAR 0.5;
33530             }
33531           program
33532             {
33533                name: "hide";
33534                signal: "elm,action,hide";
33535                source: "elm";
33536                action: STATE_SET "hidden" 0.0;
33537                target: "bg";
33538                target: "btn_icon";
33539                transition: LINEAR 0.5;
33540             }
33541           program
33542             {
33543                name: "btn_click";
33544                signal: "mouse,down,1";
33545                source: "btn_over2";
33546                action: STATE_SET "clicked" 0.0;
33547                target: "btn";
33548             }
33549           program
33550             {
33551                name: "btn_unclick";
33552                signal: "mouse,up,1";
33553                source: "btn_over2";
33554                action: STATE_SET "default" 0.0;
33555                target: "btn";
33556             }
33557           program
33558             {
33559                name: "btn_click2";
33560                signal: "mouse,down,1";
33561                source: "btn_over3";
33562                action: STATE_SET "clicked" 0.0;
33563                target: "btn_over3";
33564             }
33565           program
33566             {
33567                name: "btn_unclick2";
33568                signal: "mouse,up,1";
33569                source: "btn_over3";
33570                action: STATE_SET "default" 0.0;
33571                transition: DECELERATE 0.5;
33572                target: "btn_over3";
33573             }
33574           program
33575             {
33576                name: "btn_unclick3";
33577                signal: "mouse,clicked,1";
33578                source: "btn_over2";
33579                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33580             }
33581          program { name: "highlight_show";
33582             signal: "elm,action,focus_highlight,show";
33583             source: "elm";
33584             action: STATE_SET "enabled" 0.0;
33585             transition: ACCELERATE 0.3;
33586             target: "focus_highlight";
33587          }
33588          program { name: "highlight_hide";
33589             signal: "elm,action,focus_highlight,hide";
33590             source: "elm";
33591             action: STATE_SET "default" 0.0;
33592             transition: DECELERATE 0.3;
33593             target: "focus_highlight";
33594          }
33595        }
33596   }
33597
33598   group {
33599      name: "elm/panel/base/right";
33600      alias: "elm/panel/base/bottom";
33601      images
33602        {
33603           image: "bt_base1.png" COMP;
33604           image: "bt_hilight.png" COMP;
33605           image: "bt_shine.png" COMP;
33606           image: "bt_glow.png" COMP;
33607           image: "bt_dis_base.png" COMP;
33608           image: "icon_arrow_left.png" COMP;
33609           image: "icon_arrow_right.png" COMP;
33610        }
33611      parts
33612        {
33613             part { name: "focus_highlight";
33614                description { state: "default" 0.0;
33615                   visible: 0;
33616                   color: 255 255 255 0;
33617                   rel1 {
33618                      to: "btn";
33619                      offset: -8 -8;
33620                   }
33621                   rel2 {
33622                      to: "btn";
33623                      offset: 7 7;
33624                   }
33625                   image {
33626                      normal: "frame_2.png";
33627                      border: 5 5 32 26;
33628                      middle: 0;
33629                   }
33630                }
33631                description { state: "enabled" 0.0;
33632                   inherit: "default" 0.0;
33633                   visible: 1;
33634                   color: 255 255 255 255;
33635                }
33636             }
33637           part
33638             {
33639                name: "bg";
33640                type: RECT;
33641                mouse_events: 0;
33642                description
33643                  {
33644                     state: "default" 0.0;
33645                     color: 255 255 255 0;
33646                     rel1.relative: 0.0 0.0;
33647                     rel1.offset: 0 0;
33648                     rel2.relative: 1.0 1.0;
33649                     rel2.offset: -1 -1;
33650                  }
33651                description
33652                  {
33653                     state: "hidden" 0.0;
33654                     inherit: "default" 0.0;
33655                     rel1.relative: 1.0 0.0;
33656                     rel1.offset: -22 0;
33657                     rel2.relative: 2.0 1.0;
33658                     rel2.offset: -23 -1;
33659                  }
33660             }
33661           part
33662             {
33663                name: "base";
33664                type: IMAGE;
33665                mouse_events: 0;
33666                description
33667                  {
33668                     state: "default" 0.0;
33669                     rel1.to: "bg";
33670                     rel1.offset: 20 0;
33671                     rel2.to: "bg";
33672                     image
33673                       {
33674                          normal: "bt_dis_base.png";
33675                          border: 4 4 4 4;
33676                       }
33677                  }
33678             }
33679           part
33680             {
33681                name: "clipper";
33682                type: RECT;
33683                mouse_events: 0;
33684                description
33685                  {
33686                     state: "default" 0.0;
33687                     rel1
33688                       {
33689                          offset: 4 4;
33690                          to: "base";
33691                       }
33692                     rel2
33693                       {
33694                          offset: -5 -5;
33695                          to: "base";
33696                       }
33697                  }
33698             }
33699           part
33700             {
33701                name: "elm.swallow.content";
33702                type: SWALLOW;
33703                clip_to: "clipper";
33704                description
33705                  {
33706                     state: "default" 0.0;
33707                     rel1.to: "clipper";
33708                     rel2.to: "clipper";
33709                  }
33710             }
33711           part
33712             {
33713                name: "btn";
33714                type: IMAGE;
33715                mouse_events: 1;
33716                description
33717                  {
33718                     state: "default" 0.0;
33719                     max: 32 48;
33720                     fixed: 1 1;
33721                     align: 1 0.5;
33722                     rel1
33723                       {
33724                          to_x: "bg";
33725                       }
33726                     rel2
33727                       {
33728                          offset: 2 0;
33729                          relative: 0.0 1;
33730                          to_x: "base";
33731                       }
33732                     image
33733                       {
33734                          normal: "bt_base1.png";
33735                          border: 5 0 4 12;
33736                       }
33737                     fill.smooth: 0;
33738                  }
33739                description
33740                  {
33741                     state: "clicked" 0.0;
33742                     inherit: "default" 0.0;
33743                  }
33744             }
33745           part
33746             {
33747                name: "btn_over";
33748                type: IMAGE;
33749                mouse_events: 0;
33750                description
33751                  {
33752                     state: "default" 0.0;
33753                     rel1.to: "btn";
33754                     rel2
33755                       {
33756                          relative: 1.0 0.5;
33757                          to: "btn";
33758                       }
33759                     image
33760                       {
33761                          normal: "bt_hilight.png";
33762                          border: 7 0 7 0;
33763                       }
33764                  }
33765             }
33766           part
33767             {
33768                name: "btn_over2";
33769                type: IMAGE;
33770                mouse_events: 1;
33771                repeat_events: 1;
33772                ignore_flags: ON_HOLD;
33773                description
33774                  {
33775                     state: "default" 0.0;
33776                     rel1.to: "btn";
33777                     rel2.to: "btn";
33778                     image
33779                       {
33780                          normal: "bt_shine.png";
33781                          border: 7 0 7 7;
33782                     }
33783                  }
33784             }
33785           part
33786             {
33787                name: "btn_over3";
33788                type: IMAGE;
33789                mouse_events: 1;
33790                repeat_events: 1;
33791                description
33792                  {
33793                     state: "default" 0.0;
33794                     color: 255 255 255 0;
33795                     rel1.to: "btn";
33796                     rel2.to: "btn";
33797                     image
33798                       {
33799                        normal: "bt_glow.png";
33800                        border: 12 12 12 12;
33801                     }
33802                   fill.smooth: 0;
33803                }
33804              description
33805                {
33806                   state: "clicked" 0.0;
33807                   inherit: "default" 0.0;
33808                   visible: 1;
33809                   color: 255 255 255 255;
33810                }
33811             }
33812           part
33813             {
33814                name: "btn_icon";
33815                type: IMAGE;
33816                repeat_events: 1;
33817                description
33818                  {
33819                     state: "default" 0.0;
33820                     rel1.to: "btn";
33821                     rel2.to: "btn";
33822                     align: 0.5 0.5;
33823                     min: 16 16;
33824                     max: 16 16;
33825                     image.normal: "icon_arrow_right.png";
33826                  }
33827                description
33828                  {
33829                     state: "hidden" 0.0;
33830                     inherit: "default" 0.0;
33831                     image.normal: "icon_arrow_left.png";
33832                  }
33833             }
33834        }
33835      programs
33836        {
33837           program
33838             {
33839                name: "show";
33840                signal: "elm,action,show";
33841                source: "elm";
33842                action: STATE_SET "default" 0.0;
33843                target: "bg";
33844                target: "btn_icon";
33845                transition: LINEAR 0.5;
33846             }
33847           program
33848             {
33849                name: "hide";
33850                signal: "elm,action,hide";
33851                source: "elm";
33852                action: STATE_SET "hidden" 0.0;
33853                target: "bg";
33854                target: "btn_icon";
33855                transition: LINEAR 0.5;
33856             }
33857           program
33858             {
33859                name: "btn_click";
33860                signal: "mouse,down,1";
33861                source: "btn_over2";
33862                action: STATE_SET "clicked" 0.0;
33863                target: "btn";
33864             }
33865           program
33866             {
33867                name: "btn_unclick";
33868                signal: "mouse,up,1";
33869                source: "btn_over2";
33870                action: STATE_SET "default" 0.0;
33871                target: "btn";
33872             }
33873           program
33874             {
33875                name: "btn_click2";
33876                signal: "mouse,down,1";
33877                source: "btn_over3";
33878                action: STATE_SET "clicked" 0.0;
33879                target: "btn_over3";
33880             }
33881           program
33882             {
33883                name: "btn_unclick2";
33884                signal: "mouse,up,1";
33885                source: "btn_over3";
33886                action: STATE_SET "default" 0.0;
33887                transition: DECELERATE 0.5;
33888                target: "btn_over3";
33889             }
33890           program
33891             {
33892                name: "btn_unclick3";
33893                signal: "mouse,up,1";
33894                source: "btn_over2";
33895                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33896             }
33897          program { name: "highlight_show";
33898             signal: "elm,action,focus";
33899             source: "elm";
33900             action: STATE_SET "enabled" 0.0;
33901             transition: ACCELERATE 0.3;
33902             target: "focus_highlight";
33903          }
33904          program { name: "highlight_hide";
33905             signal: "elm,action,unfocus";
33906             source: "elm";
33907             action: STATE_SET "default" 0.0;
33908             transition: DECELERATE 0.3;
33909             target: "focus_highlight";
33910          }
33911        }
33912   }
33913
33914 ///////////////////////////////////////////////////////////////////////////////
33915   group { name: "elm/conformant/base/default";
33916      parts {
33917         part { name: "elm.swallow.shelf";
33918            type: SWALLOW;
33919            description { state: "default" 0.0;
33920               fixed: 1 1;
33921               align: 0.0 0.0;
33922               rel2.relative: 1.0 0.0;
33923            }
33924         }
33925         part { name: "elm.swallow.content";
33926            type: SWALLOW;
33927            description { state: "default" 0.0;
33928               align: 0.5 0.5;
33929               rel1.relative: 0.0 1.0;
33930               rel1.to_y: "elm.swallow.shelf";
33931               rel2.relative: 1.0 0.0;
33932               rel2.to_y: "elm.swallow.panel";
33933            }
33934         }
33935         part { name: "elm.swallow.panel";
33936            type: SWALLOW;
33937            description { state: "default" 0.0;
33938               fixed: 1 1;
33939               align: 0.0 1.0;
33940               rel1.relative: 0.0 1.0;
33941            }
33942         }
33943      }
33944   }
33945
33946 /////////////////////////////////////////////////////////////////////////////
33947 // CALENDAR
33948 /////////////////////////////////////////////////////////////////////////////
33949 #define CH(_pos) \
33950          part { name: "ch_"#_pos".base"; \
33951             type: RECT; \
33952             description { state: "default" 0.0; \
33953                rel1 { \
33954                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33955                   to: "header"; \
33956                } \
33957                rel2 { \
33958                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33959                   to: "header"; \
33960                } \
33961                color: 0 0 0 0; \
33962                visible: 0; \
33963             } \
33964          } \
33965          part { name: "ch_"#_pos".text"; \
33966             type: TEXT; \
33967             effect: SOFT_SHADOW; \
33968             mouse_events: 0; \
33969             scale: 1; \
33970             clip_to: "ch_"#_pos".clipper"; \
33971             description { \
33972                state: "default" 0.0; \
33973                rel1.to: "ch_"#_pos".base"; \
33974                rel2.to: "ch_"#_pos".base"; \
33975                color: 0 0 0 255; \
33976                color3: 0 0 0 0; \
33977                text { \
33978                   font: "Sans"; \
33979                   size: 10; \
33980                   min: 1 1; \
33981                   align: 0.5 0.5; \
33982                } \
33983             } \
33984          } \
33985          part { name: "ch_"#_pos".clipper"; \
33986             type: RECT; \
33987             description { state: "default" 0.0; \
33988                rel1.to: "ch_"#_pos".base"; \
33989                rel2.to: "ch_"#_pos".base"; \
33990             } \
33991          }
33992
33993 #define CIT(_pos) \
33994          part { name: "cit_"#_pos".rect"; \
33995             type: RECT; \
33996             description { state: "default" 0.0; \
33997                rel1 { \
33998                   relative: (_pos % 7 * 7 / 8 / 6) \
33999                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
34000                   to: "base"; \
34001                } \
34002                rel2 { \
34003                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
34004                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
34005                   to: "base"; \
34006                } \
34007                color: 0 0 0 0; \
34008                visible: 0; \
34009             } \
34010          } \
34011          part { \
34012             name: "cit_"#_pos".event"; \
34013             type: RECT; \
34014             repeat_events: 1; \
34015             description { \
34016                rel1.to: "cit_"#_pos".rect"; \
34017                rel2.to: "cit_"#_pos".rect"; \
34018                state: "default" 0.0; \
34019                color: 0 0 0 0; \
34020             } \
34021          } \
34022          part { name: "cit_"#_pos".shelf"; \
34023             type: RECT; \
34024             mouse_events: 0; \
34025             description { state: "default" 0.0; \
34026                rel1 { \
34027                   to: "cit_"#_pos".bg"; \
34028                   offset: -1 -1; \
34029                } \
34030                rel2 { \
34031                   to: "cit_"#_pos".bg"; \
34032                } \
34033                color: 200 200 200 255; \
34034             } \
34035          } \
34036          part { name: "cit_"#_pos".hd"; \
34037             type: RECT; \
34038             mouse_events: 0; \
34039             description { state: "default" 0.0; \
34040                rel1 { \
34041                   to: "cit_"#_pos".bg"; \
34042                   offset: -1 -1; \
34043                } \
34044                rel2 { \
34045                   to: "cit_"#_pos".bg"; \
34046                } \
34047                visible: 0; \
34048                color: 160 0 0 255; \
34049             } \
34050             description { state: "visible" 0.0; \
34051                inherit: "default" 0.0; \
34052                visible: 1; \
34053             } \
34054          } \
34055          part { \
34056             name: "cit_"#_pos".base_sh"; \
34057             mouse_events: 0; \
34058             description { \
34059                state: "default" 0.0; \
34060                align: 0.0 0.0; \
34061                min: 0 1; \
34062                rel1 { \
34063                   to: "cit_"#_pos".base"; \
34064                   relative: 0.0 1.0; \
34065                   offset: 0 0; \
34066                } \
34067                rel2 { \
34068                   to: "cit_"#_pos".base"; \
34069                   relative: 1.0 1.05; \
34070                   offset: -1 0; \
34071                } \
34072                image { \
34073                   normal: "ilist_item_shadow.png"; \
34074                } \
34075                fill.smooth: 0; \
34076             } \
34077          } \
34078          part { \
34079             name: "cit_"#_pos".base"; \
34080             mouse_events: 0; \
34081             description { \
34082                state: "default" 0.0; \
34083                rel1.to: "cit_"#_pos".rect"; \
34084                rel2.to: "cit_"#_pos".rect"; \
34085                rel2.offset: -1 -1; \
34086                image { \
34087                   normal: "ilist_1.png"; \
34088                   border: 2 2 2 2; \
34089                } \
34090                fill.smooth: 0; \
34091             } \
34092             description { \
34093                state: "today" 0.0; \
34094                inherit: "default" 0.0; \
34095                image.normal: "ilist_2.png"; \
34096                color: 240 240 240 255; \
34097             } \
34098          } \
34099          part { name: "cit_"#_pos".bg"; \
34100             mouse_events: 0; \
34101             description { state: "default" 0.0; \
34102                visible: 0; \
34103                color: 255 255 255 0; \
34104                rel1 { \
34105                   to: "cit_"#_pos".rect"; \
34106                   relative: 0.0 0.0; \
34107                } \
34108                rel2 { \
34109                   to: "cit_"#_pos".rect"; \
34110                   relative: 1.0 1.0; \
34111                   offset: -1 -1; \
34112                } \
34113                image { \
34114                   normal: "bt_sm_base1.png"; \
34115                   border: 6 6 6 6; \
34116                } \
34117                image.middle: SOLID; \
34118             } \
34119             description { state: "selected" 0.0; \
34120                inherit: "default" 0.0; \
34121                visible: 1; \
34122                color: 255 255 255 255; \
34123             } \
34124          } \
34125          part { name: "cit_"#_pos".text"; \
34126             type: TEXT; \
34127             effect: SOFT_SHADOW; \
34128             mouse_events: 0; \
34129             scale: 1; \
34130             description { \
34131                state: "default" 0.0; \
34132                rel1.to: "cit_"#_pos".bg"; \
34133                rel2.to: "cit_"#_pos".bg"; \
34134                color: 0 0 0 255; \
34135                color3: 0 0 0 0; \
34136                text { \
34137                   font: "Sans"; \
34138                   size: 10; \
34139                   min: 1 1; \
34140                   align: 0.5 0.5; \
34141                } \
34142             } \
34143             description { state: "selected" 0.0; \
34144                inherit: "default" 0.0; \
34145                color: 224 224 224 255; \
34146                color3: 0 0 0 64; \
34147             } \
34148          } \
34149          part { name: "cit_"#_pos".fg1"; \
34150             mouse_events: 0; \
34151             description { state: "default" 0.0; \
34152                visible: 0; \
34153                color: 255 255 255 0; \
34154                rel1.to: "cit_"#_pos".bg"; \
34155                rel2.relative: 1.0 0.5; \
34156                rel2.to: "cit_"#_pos".bg"; \
34157                image { \
34158                   normal: "bt_sm_hilight.png"; \
34159                   border: 6 6 6 0; \
34160                } \
34161             } \
34162             description { state: "selected" 0.0; \
34163                inherit: "default" 0.0; \
34164                visible: 1; \
34165                color: 255 255 255 255; \
34166             } \
34167          } \
34168          part { name: "cit_"#_pos".fg2"; \
34169             mouse_events: 0; \
34170             description { state: "default" 0.0; \
34171                visible: 0; \
34172                color: 255 255 255 0; \
34173                rel1.to: "cit_"#_pos".bg"; \
34174                rel2.to: "cit_"#_pos".bg"; \
34175                image { \
34176                   normal: "bt_sm_shine.png"; \
34177                   border: 6 6 6 0; \
34178                } \
34179             } \
34180             description { state: "selected" 0.0; \
34181                inherit: "default" 0.0; \
34182                visible: 1; \
34183                color: 255 255 255 255; \
34184             } \
34185          } \
34186          part { name: "cit_"#_pos".check"; \
34187             mouse_events: 0; \
34188             description { state: "default" 0.0; \
34189                rel1 { \
34190                   to: "cit_"#_pos".bg"; \
34191                   relative: 0.7 0.6; \
34192                   offset: 1 1; \
34193                } \
34194                rel2 { \
34195                   to: "cit_"#_pos".bg"; \
34196                   relative: 1.1 1.2; \
34197                   offset: -2 -2; \
34198                } \
34199                aspect: 1 1; \
34200                visible: 0; \
34201                color: 255 0 0 255; \
34202                image.normal: "check.png"; \
34203             } \
34204             description { state: "visible" 0.0; \
34205                inherit: "default" 0.0; \
34206                visible: 1; \
34207             } \
34208          } \
34209       programs { \
34210          program { \
34211             name:    "cit_"#_pos".go_active"; \
34212             signal:  "cit_"#_pos",selected"; \
34213             source:  "elm"; \
34214             action:  STATE_SET "selected" 0.0; \
34215             target:  "cit_"#_pos".bg"; \
34216             target:  "cit_"#_pos".fg1"; \
34217             target:  "cit_"#_pos".fg2"; \
34218             target:  "cit_"#_pos".text"; \
34219          } \
34220          program { \
34221             name:    "cit_"#_pos".go_passive"; \
34222             signal:  "cit_"#_pos",unselected"; \
34223             source:  "elm"; \
34224             action:  STATE_SET "default" 0.0; \
34225             target:  "cit_"#_pos".bg"; \
34226             target:  "cit_"#_pos".fg1"; \
34227             target:  "cit_"#_pos".fg2"; \
34228             target:  "cit_"#_pos".text"; \
34229          } \
34230          program { \
34231             name:    "cit_"#_pos".is_today"; \
34232             signal:  "cit_"#_pos",today"; \
34233             source:  "elm"; \
34234             action:  STATE_SET "today" 0.0; \
34235             target: "cit_"#_pos".base"; \
34236          } \
34237          program { \
34238             name:    "cit_"#_pos".not_today"; \
34239             signal:  "cit_"#_pos",not_today"; \
34240             source:  "elm"; \
34241             action:  STATE_SET "default" 0.0; \
34242             target: "cit_"#_pos".base"; \
34243          } \
34244          program { \
34245             source: "cit_"#_pos".clicked"; \
34246             signal: "mouse,clicked,1"; \
34247             source: "cit_"#_pos".event"; \
34248             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
34249          } \
34250          program { \
34251             name:    "cit_"#_pos".clear"; \
34252             signal:  "cit_"#_pos",clear"; \
34253             source:  "elm"; \
34254             action:  STATE_SET "default" 0.0; \
34255             target: "cit_"#_pos".check"; \
34256             target: "cit_"#_pos".hd"; \
34257          } \
34258          program { \
34259             name:    "cit_"#_pos".checked"; \
34260             signal:  "cit_"#_pos",checked"; \
34261             source:  "elm"; \
34262             action:  STATE_SET "visible" 0.0; \
34263             target: "cit_"#_pos".check"; \
34264          } \
34265          program { \
34266             name:    "cit_"#_pos".holiday"; \
34267             signal:  "cit_"#_pos",holiday"; \
34268             source:  "elm"; \
34269             action:  STATE_SET "visible" 0.0; \
34270             target: "cit_"#_pos".hd"; \
34271          } \
34272       }
34273
34274    group { name: "elm/calendar/base/default";
34275        images {
34276            image: "shelf_inset.png" COMP;
34277            image: "bt_base1.png" COMP;
34278            image: "bt_hilight.png" COMP;
34279            image: "bt_shine.png" COMP;
34280            image: "bt_glow.png" COMP;
34281            image: "bt_dis_base.png" COMP;
34282            image: "bt_dis_hilight.png" COMP;
34283            image: "sp_bt_l.png" COMP;
34284            image: "sp_bt_r.png" COMP;
34285            image: "bt_sm_base1.png" COMP;
34286            image: "bt_sm_shine.png" COMP;
34287            image: "bt_sm_hilight.png" COMP;
34288            image: "ilist_1.png" COMP;
34289            image: "ilist_2.png" COMP;
34290            image: "ilist_item_shadow.png" COMP;
34291            image: "check.png" COMP;
34292        }
34293        parts {
34294            part { name: "bg";
34295                type: RECT;
34296                description { state: "default" 0.0;
34297                    min: 0 30;
34298                    rel1.offset: 1 1;
34299                    rel2.offset: -2 -2;
34300                    color: 255 255 255 0;
34301                    align: 0.0 0.5;
34302                }
34303            }
34304            part { name: "spinner-base";
34305                type: RECT;
34306                mouse_events: 0;
34307                description { state: "default" 0.0;
34308                    min: 24 24;
34309                    max: 999999 24;
34310                    rel1.to: "bg";
34311                    rel1.offset: 6 6;
34312                    rel2.to: "bg";
34313                    rel2.offset: -7 -7;
34314                    color: 255 255 255 0;
34315                    align: 0.0 0.0;
34316                }
34317            }
34318            part { name: "conf_over_spinner";
34319                mouse_events:  0;
34320                description { state: "default" 0.0;
34321                    rel1.to: "spinner-base";
34322                    rel1.offset: -3 -3;
34323                    rel2.to: "spinner-base";
34324                    rel2.offset: 2 2;
34325                    image {
34326                        normal: "shelf_inset.png";
34327                        border: 7 7 7 7;
34328                        middle: 0;
34329                    }
34330                    fill.smooth : 0;
34331                }
34332            }
34333            part { name: "table-base";
34334                type: RECT;
34335                mouse_events: 0;
34336                description { state: "default" 0.0;
34337                    min: 256 220;
34338                    rel1.to_x: "bg";
34339                    rel1.to_y: "spinner-base";
34340                    rel1.offset: 6 6;
34341                    rel1.relative: 0 1;
34342                    rel2.to: "bg";
34343                    rel2.offset: -7 -7;
34344                    color: 255 255 255 0;
34345                }
34346            }
34347            part { name: "conf_over_table";
34348                mouse_events:  0;
34349                description { state: "default" 0.0;
34350                    rel1.to: "table-base";
34351                    rel1.offset: -3 -3;
34352                    rel2.to: "table-base";
34353                    rel2.offset: 2 2;
34354                    image {
34355                        normal: "shelf_inset.png";
34356                        border: 7 7 7 7;
34357                        middle: 0;
34358                    }
34359                    fill.smooth : 0;
34360                }
34361            }
34362            part { name: "header";
34363                type: RECT;
34364                mouse_events: 0;
34365                description { state: "default" 0.0;
34366                    rel1.to: "table-base";
34367                    rel1.relative: 0 0;
34368                    rel2.to: "table-base";
34369                    rel2.relative: 1 0.1;
34370                    color: 255 255 255 0;
34371                }
34372            }
34373            part { name: "base";
34374                type: RECT;
34375                mouse_events: 0;
34376                description { state: "default" 0.0;
34377                    rel1.to_x: "table-base";
34378                    rel1.to_y: "header";
34379                    rel1.relative: 0 1;
34380                    rel1.offset: 3 0;
34381                    rel2.to: "table-base";
34382                    rel2.offset: -3 0;
34383                    color: 255 255 255 0;
34384                }
34385            }
34386            part { name: "left_bt";
34387                mouse_events:  1;
34388                description { state: "default" 0.0;
34389                    rel1 { to: "spinner-base";
34390                        offset: 2 2;
34391                    }
34392                    rel2 { to: "spinner-base";
34393                        offset: -3 -3;
34394                    }
34395                    align: 0.0 0.5;
34396                    min: 24 24;
34397                    max: 24 24;
34398                    fixed: 1 1;
34399                    image {
34400                        normal: "bt_base1.png";
34401                        border: 6 6 6 6;
34402                    }
34403                    fill.smooth : 0;
34404                }
34405                description { state: "clicked" 0.0;
34406                    inherit: "default" 0.0;
34407                    image.normal: "bt_base1.png";
34408                    image.middle: SOLID;
34409                }
34410            }
34411            part { name: "left_over1";
34412                mouse_events: 0;
34413                description { state: "default" 0.0;
34414                    rel1.to: "left_bt";
34415                    rel2 { to: "left_bt";
34416                        relative: 1.0 0.5;
34417                    }
34418                    image {
34419                        normal: "bt_hilight.png";
34420                        border: 7 7 7 0;
34421                    }
34422                }
34423            }
34424            part { name: "left_over2";
34425                mouse_events: 1;
34426                repeat_events: 1;
34427                description { state: "default" 0.0;
34428                    rel1.to: "left_bt";
34429                    rel2.to: "left_bt";
34430                    image {
34431                        normal: "bt_shine.png";
34432                        border: 7 7 7 7;
34433                    }
34434                }
34435            }
34436            part { name: "left_over3";
34437                mouse_events: 1;
34438                repeat_events: 1;
34439                description { state: "default" 0.0;
34440                    color: 255 255 255 0;
34441                    rel1.to: "left_bt";
34442                    rel2.to: "left_bt";
34443                    image {
34444                        normal: "bt_glow.png";
34445                        border: 12 12 12 12;
34446                    }
34447                    fill.smooth : 0;
34448                }
34449                description { state: "clicked" 0.0;
34450                    inherit:  "default" 0.0;
34451                    visible: 1;
34452                    color: 255 255 255 255;
34453                }
34454            }
34455            part { name: "right_bt";
34456                mouse_events:  1;
34457                description { state: "default" 0.0;
34458                    rel1 { to: "spinner-base";
34459                        offset: -27 3;
34460                    }
34461                    rel2 { to: "spinner-base";
34462                        offset: -3 -3;
34463                    }
34464                    align: 1.0 0.5;
34465                    min: 24 24;
34466                    max: 24 24;
34467                    fixed: 1 1;
34468                    image {
34469                        normal: "bt_base1.png";
34470                        border: 5 5 4 12;
34471                    }
34472                    fill.smooth : 0;
34473                }
34474                description { state: "clicked" 0.0;
34475                    inherit: "default" 0.0;
34476                    image.normal: "bt_base1.png";
34477                    image.middle: SOLID;
34478                }
34479            }
34480            part { name: "right_over1";
34481                mouse_events: 0;
34482                description { state: "default" 0.0;
34483                    rel1.to: "right_bt";
34484                    rel2 { to: "right_bt";
34485                        relative: 1.0 0.5;
34486                    }
34487                    image {
34488                        normal: "bt_hilight.png";
34489                        border: 7 7 7 0;
34490                    }
34491                }
34492            }
34493            part { name: "right_over2";
34494                mouse_events: 1;
34495                repeat_events: 1;
34496                description { state: "default" 0.0;
34497                    rel1.to: "right_bt";
34498                    rel2.to: "right_bt";
34499                    image {
34500                        normal: "bt_shine.png";
34501                        border: 7 7 7 7;
34502                    }
34503                }
34504            }
34505            part { name: "right_over3";
34506                mouse_events: 1;
34507                repeat_events: 1;
34508                description { state: "default" 0.0;
34509                    color: 255 255 255 0;
34510                    rel1.to: "right_bt";
34511                    rel2.to: "right_bt";
34512                    image {
34513                        normal: "bt_glow.png";
34514                        border: 12 12 12 12;
34515                    }
34516                    fill.smooth : 0;
34517                }
34518                description { state: "clicked" 0.0;
34519                    inherit:  "default" 0.0;
34520                    visible: 1;
34521                    color: 255 255 255 255;
34522                }
34523            }
34524            part { name: "left_bt_icon";
34525                repeat_events: 1;
34526                description { state: "default" 0.0;
34527                    rel1.to: "left_bt";
34528                    rel2.to: "left_bt";
34529                    align: 0.5 0.5;
34530                    min: 16 16;
34531                    max: 16 16;
34532                    image.normal: "sp_bt_l.png";
34533                }
34534                description { state: "rtl" 0.0;
34535                    inherit: "default" 0.0;
34536                    image.normal: "sp_bt_r.png";
34537                }
34538            }
34539            part { name: "right_bt_icon";
34540                repeat_events: 1;
34541                description { state: "default" 0.0;
34542                    rel1.to: "right_bt";
34543                    rel2.to: "right_bt";
34544                    align: 0.5 0.5;
34545                    min: 16 16;
34546                    max: 16 16;
34547                    image.normal: "sp_bt_r.png";
34548                }
34549                description { state: "rtl" 0.0;
34550                    inherit: "default" 0.0;
34551                    image.normal: "sp_bt_l.png";
34552                }
34553            }
34554            part { name: "month_text";
34555                type: TEXT;
34556                mouse_events: 0;
34557                scale: 1;
34558                description { state: "default" 0.0;
34559                    align: 0 0.5;
34560                    fixed: 1 1;
34561                    rel1 { relative: 1.0 0.0;
34562                        offset: 3 2;
34563                        to: "left_bt";
34564                        to_y: "spinner-base";
34565                    }
34566                    rel2 { relative: 0.0 1.0;
34567                        offset: -3 -2;
34568                        to_x: "right_bt";
34569                        to_y: "spinner-base";
34570                    }
34571                    color: 0 0 0 255;
34572                    text {
34573                        font: "Sans,Edje-Vera";
34574                        size: 12;
34575                        min: 1 1;
34576                        align: 0.5 0.5;
34577                    }
34578                }
34579            }
34580            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34581            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34582            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34583            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34584            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34585            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34586            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34587        }
34588        programs {
34589            program { name: "dec_start";
34590                signal: "mouse,down,1";
34591                source: "left_bt";
34592                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34593            }
34594            program { name: "dec_stop";
34595                signal: "mouse,up,1";
34596                source: "left_bt";
34597                action: SIGNAL_EMIT "elm,action,stop" "";
34598            }
34599            program { name: "inc_start";
34600                signal: "mouse,down,1";
34601                source: "right_bt";
34602                action: SIGNAL_EMIT "elm,action,increment,start" "";
34603            }
34604            program { name: "inc_stop";
34605                signal: "mouse,up,1";
34606                source: "right_bt";
34607                action: SIGNAL_EMIT "elm,action,stop" "";
34608            }
34609            program {
34610                name:   "left_bt_click";
34611                signal: "mouse,down,1";
34612                source: "left_over2";
34613                action: STATE_SET "clicked" 0.0;
34614                target: "left_bt";
34615            }
34616            program {
34617                name:   "left_bt_unclick";
34618                signal: "mouse,up,1";
34619                source: "left_over2";
34620                action: STATE_SET "default" 0.0;
34621                target: "left_bt";
34622            }
34623            program {
34624                name:   "left_bt_click2";
34625                signal: "mouse,down,1";
34626                source: "left_over3";
34627                action: STATE_SET "clicked" 0.0;
34628                target: "left_over3";
34629            }
34630            program {
34631                name:   "left_bt_unclick2";
34632                signal: "mouse,up,1";
34633                source: "left_over3";
34634                action: STATE_SET "default" 0.0;
34635                transition: DECELERATE 0.5;
34636                target: "left_over3";
34637            }
34638            program {
34639                name:   "right_bt_click";
34640                signal: "mouse,down,1";
34641                source: "right_over2";
34642                action: STATE_SET "clicked" 0.0;
34643                target: "right_bt";
34644            }
34645            program {
34646                name:   "right_bt_unclick";
34647                signal: "mouse,up,1";
34648                source: "right_over2";
34649                action: STATE_SET "default" 0.0;
34650                target: "right_bt";
34651            }
34652            program {
34653                name:   "right_bt_click2";
34654                signal: "mouse,down,1";
34655                source: "right_over3";
34656                action: STATE_SET "clicked" 0.0;
34657                target: "right_over3";
34658            }
34659            program {
34660                name:   "right_bt_unclick2";
34661                signal: "mouse,up,1";
34662                source: "right_over3";
34663                action: STATE_SET "default" 0.0;
34664                transition: DECELERATE 0.5;
34665                target: "right_over3";
34666            }
34667            program { name: "to_rtl";
34668                signal: "edje,state,rtl";
34669                source: "edje";
34670                action: STATE_SET "rtl" 0.0;
34671                target: "right_bt_icon";
34672                target: "left_bt_icon";
34673            }
34674            program { name: "to_ltr";
34675                signal: "edje,state,ltr";
34676                source: "edje";
34677                action: STATE_SET "default" 0.0;
34678                target: "right_bt_icon";
34679                target: "left_bt_icon";
34680            }
34681        }
34682    }
34683
34684 #undef CIT
34685 #undef CH
34686
34687 ////////////////////////////////////////////////////////////////////////////////
34688 // colorselector
34689 ////////////////////////////////////////////////////////////////////////////////
34690    group { name: "elm/colorselector/bg/default";
34691       parts {
34692          part { name: "elm.colorbar_0";
34693             type: SWALLOW;
34694             mouse_events: 1;
34695             description { state: "default" 0.0;
34696                min: 120 30;
34697                rel1.relative: 0.0 0.00653594771;
34698                rel2.relative: 1.0 0.254901961;
34699             }
34700          }
34701          part { name: "elm.colorbar_1";
34702             type: SWALLOW;
34703             mouse_events: 1;
34704             description { state: "default" 0.0;
34705                min: 120 30;
34706                rel1.relative: 0.0 0.254901961;
34707                rel2.relative: 1.0 0.503267974;
34708             }
34709          }
34710          part { name: "elm.colorbar_2";
34711             type: SWALLOW;
34712             mouse_events: 1;
34713             description { state: "default" 0.0;
34714                min: 120 30;
34715                rel1.relative: 0.0 0.503267974;
34716                rel2.relative: 1.0 0.751633987;
34717             }
34718          }
34719          part { name: "elm.colorbar_3";
34720             type: SWALLOW;
34721             mouse_events: 1;
34722             description { state: "default" 0.0;
34723                min: 120 30;
34724                rel1.relative: 0.0 0.751633987;
34725                rel2.relative: 1.0 1.0;
34726             }
34727          }
34728       }
34729    }
34730
34731    group { name: "elm/colorselector/base/default";
34732       parts {
34733          part { name: "elm.bar_bg";
34734             type: SWALLOW;
34735             mouse_events: 0;
34736             description { state: "default" 0.0;
34737                min: 60 22;
34738                rel1 {
34739                   relative: 0.0 0.8;
34740                   to_x: "elm.arrow_bg";
34741                   to_y: "elm.arrow_icon";
34742                   offset: 0 0;
34743                }
34744                rel2 {
34745                   relative: 1.0 0.83;
34746                   to_x: "elm.arrow_bg";
34747                   offset: 0 0;
34748                }
34749             }
34750          }
34751          part { name: "elm.bar";
34752             type: SWALLOW;
34753             mouse_events: 0;
34754             description { state: "default" 0.0;
34755                rel1.to: "elm.bar_bg";
34756                rel2.to: "elm.bar_bg";
34757             }
34758          }
34759          part { name: "elm.arrow_bg";
34760             type: SWALLOW;
34761             mouse_events: 1;
34762             description { state: "default" 0.0;
34763                rel1 {
34764                   relative: 1.0 0.17;
34765                   offset: 3 0;
34766                   to_x: "elm.l_button";
34767                }
34768                rel2 {
34769                   relative: 0.0 0.83;
34770                      offset: -4 0;
34771                   to_x: "elm.r_button";
34772                }
34773             }
34774          }
34775          part { name: "elm.arrow";
34776             type: RECT;
34777             mouse_events: 1;
34778             scale: 1;
34779             description { state: "default" 0.0;
34780                min: 1 1;
34781                fixed: 1 1;
34782                align: 0 0;
34783                rel1 {
34784                   to_x: "elm.arrow_bg";
34785                }
34786                rel2 {
34787                   relative: 0.0 0.17;
34788                   to_x: "elm.arrow_bg";
34789                }
34790                color: 0 0 0 0;
34791                visible: 0;
34792             }
34793             dragable {
34794                confine: "elm.arrow_bg";
34795                x: 1 1 0;
34796                y: 0 0 0;
34797             }
34798          }
34799          part { name: "elm.arrow_icon";
34800             type: SWALLOW;
34801             mouse_events: 0;
34802             description { state: "default" 0.0;
34803                min: 25 15;
34804                max: 25 15;
34805                fixed: 1 1;
34806                align: 0.5 0;
34807                rel1 {
34808                   to_x: "elm.arrow";
34809                }
34810                rel2 {
34811                   relative: 1.0 0.0;
34812                   offset: 0 10;
34813                   to_x: "elm.arrow";
34814                }
34815             }
34816          }
34817          part { name: "event";
34818             type: RECT;
34819             mouse_events: 1;
34820             description { state: "default" 0.0;
34821                rel1 {
34822                   to: "elm.arrow_icon";
34823                }
34824                rel2 {
34825                   to_x: "elm.arrow_icon";
34826                   to_y: "elm.arrow_bg";
34827                   offset: 0 0;
34828                }
34829                color: 0 0 0 0;
34830             }
34831             dragable {
34832                events: "elm.arrow";
34833             }
34834          }
34835          part { name: "elm.l_button";
34836             type: SWALLOW;
34837             mouse_events: 1;
34838             scale: 1;
34839             description { state: "default" 0.0;
34840                min: 24 24;
34841                fixed: 1 1;
34842                rel1 {
34843                   relative: 0.0 0.0;
34844                   to_y: "elm.bar_bg";
34845                }
34846                rel2 {
34847                   relative: 0.0 1.0;
34848                   to_y: "elm.bar_bg";
34849                }
34850                align: 0.0 0.5;
34851             }
34852          }
34853          part { name: "elm.r_button";
34854             type: SWALLOW;
34855             mouse_events: 1;
34856             scale: 1;
34857             description {
34858                state: "default" 0.0;
34859                min: 24 24;
34860                fixed: 1 1;
34861                rel1 {
34862                   relative: 1.0 0.0;
34863                   to_y: "elm.bar_bg";
34864                }
34865                rel2 {
34866                   relative: 1.0 1.0;
34867                   to_y: "elm.bar_bg";
34868                }
34869                align: 1.0 0.5;
34870             }
34871          }
34872       }
34873    }
34874
34875    group{ name: "elm/colorselector/image/colorbar_0";
34876       images {
34877          image: "color_picker_color.png" COMP;
34878       }
34879       parts {
34880          part { name: "colorbar_0_image";
34881             type: IMAGE;
34882             mouse_events: 1;
34883             description { state: "default" 0.0;
34884                rel2.offset: -1 -1;
34885                image.normal: "color_picker_color.png";
34886             }
34887          }
34888       }
34889    }
34890
34891    group { name: "elm/colorselector/image/colorbar_1";
34892       images {
34893          image: "color_picker_opacity.png" COMP;
34894       }
34895       parts {
34896          part { name: "colorbar_1_image";
34897             type: IMAGE;
34898             mouse_events: 1;
34899             description { state: "default" 0.0;
34900                rel2.offset: -1 -1;
34901                image.normal: "color_picker_opacity.png";
34902             }
34903          }
34904       }
34905    }
34906
34907    group { name: "elm/colorselector/image/colorbar_2";
34908       images {
34909          image: "color_picker_brightness.png" COMP;
34910       }
34911       parts {
34912          part { name: "colorbar_2_image";
34913             type: IMAGE;
34914             mouse_events: 1;
34915             description { state: "default" 0.0;
34916                rel2.offset: -1 -1;
34917                image.normal: "color_picker_brightness.png";
34918             }
34919          }
34920       }
34921    }
34922
34923    group { name: "elm/colorselector/image/colorbar_3";
34924       images {
34925          image: "color_picker_alpha.png" COMP;
34926       }
34927       parts {
34928          part { name: "colorbar_3_image";
34929             type: IMAGE;
34930             mouse_events: 1;
34931             description { state: "default" 0.0;
34932                rel2.offset: -1 -1;
34933                image.normal: "color_picker_alpha.png";
34934             }
34935          }
34936       }
34937    }
34938
34939    group { name: "elm/colorselector/bg_image/colorbar_3";
34940       images {
34941          image: "color_picker_alpha_bg.png" COMP;
34942       }
34943       parts {
34944          part { name: "colorbar_3_image";
34945             type: IMAGE;
34946             mouse_events: 1;
34947             description { state: "default" 0.0;
34948                rel2.offset: -1 -1;
34949                image.normal: "color_picker_alpha_bg.png";
34950             }
34951          }
34952       }
34953    }
34954
34955    group { name: "elm/colorselector/image/updown";
34956       images {
34957          image: "icon_arrow_down.png" COMP;
34958       }
34959       parts {
34960          part { name: "bg";
34961             type: RECT;
34962             mouse_events: 1;
34963             description { state: "default" 0.0;
34964                color: 0 0 0 0;
34965             }
34966          }
34967          part { name: "arrow_image";
34968             type: IMAGE;
34969             mouse_events: 1;
34970             description { state: "default" 0.0;
34971                image.normal: "icon_arrow_down.png";
34972             }
34973          }
34974       }
34975    }
34976
34977    group { name: "elm/colorselector/button/left";
34978       images {
34979          image: "bt_base1.png" COMP;
34980          image: "bt_shine.png" COMP;
34981          image: "sp_bt_l.png" COMP;
34982       }
34983       parts {
34984          part { name: "button_image";
34985             mouse_events: 1;
34986             description { state: "default" 0.0;
34987                image.normal: "bt_base1.png";
34988                image.border: 6 6 6 6;
34989                image.middle: SOLID;
34990             }
34991
34992             description { state: "clicked" 0.0;
34993                inherit: "default" 0.0;
34994                image.normal: "bt_shine.png";
34995                image.border: 6 6 6 6;
34996                image.middle: SOLID;
34997             }
34998          }
34999          part { name: "btn_over";
35000             type: IMAGE;
35001             mouse_events: 0;
35002             description { state: "default" 0.0;
35003                rel1.to: "button_image";
35004                rel2 {
35005                   relative: 1.0 0.5;
35006                   to: "button_image";
35007                }
35008                image {
35009                   normal: "bt_hilight.png";
35010                   border: 7 7 7 0;
35011                }
35012             }
35013          }
35014          part { name: "btn_over2";
35015             type: IMAGE;
35016             mouse_events: 1;
35017             repeat_events: 1;
35018             ignore_flags: ON_HOLD;
35019             description { state: "default" 0.0;
35020                rel1.to: "button_image";
35021                rel2.to: "button_image";
35022                image {
35023                   normal: "bt_shine.png";
35024                   border: 7 7 7 7;
35025                }
35026             }
35027          }
35028          part { name: "focus_image";
35029             type: IMAGE;
35030             description { state: "default" 0.0;
35031                color: 255 255 255 0;
35032                rel1.to: "button_image";
35033                rel2.to: "button_image";
35034                image {
35035                   normal: "bt_glow.png";
35036                   border: 12 12 12 12;
35037                }
35038                fill.smooth: 0;
35039
35040             }
35041             description { state: "clicked" 0.0;
35042                inherit: "default" 0.0;
35043                visible: 1;
35044                color: 255 255 255 255;
35045             }
35046          }
35047          part { name: "left_arrow";
35048             mouse_events: 1;
35049             description { state: "default" 0.0;
35050                min: 16 16;
35051                max: 16 16;
35052                image.normal: "sp_bt_l.png";
35053             }
35054          }
35055       }
35056
35057       programs {
35058          program {
35059             name:   "button_down";
35060             signal: "elm,state,left,button,down";
35061             source: "left_button";
35062             action: STATE_SET "clicked" 0.0;
35063             target: "button_image";
35064             target: "focus_image";
35065          }
35066          program {
35067             name:   "button_up";
35068             signal: "elm,state,left,button,up";
35069             source: "left_button";
35070             action: STATE_SET "default" 0.0;
35071             target: "button_image";
35072             target: "focus_image";
35073          }
35074       }
35075    }
35076
35077    group { name: "elm/colorselector/button/right";
35078       images {
35079          image: "bt_base1.png" COMP;
35080          image: "bt_shine.png" COMP;
35081          image: "sp_bt_r.png" COMP;
35082       }
35083       parts {
35084          part { name: "button_image";
35085             mouse_events: 1;
35086             description { state: "default" 0.0;
35087                image.normal: "bt_base1.png";
35088                image.border: 6 6 6 6;
35089                image.middle: SOLID;
35090             }
35091
35092             description { state: "clicked" 0.0;
35093                inherit: "default" 0.0;
35094                image.normal: "bt_shine.png";
35095                image.border: 6 6 6 6;
35096                image.middle: SOLID;
35097             }
35098          }
35099          part { name: "btn_over";
35100             type: IMAGE;
35101             mouse_events: 0;
35102             description { state: "default" 0.0;
35103                rel1.to: "button_image";
35104                rel2 {
35105                   relative: 1.0 0.5;
35106                   to: "button_image";
35107                }
35108                image {
35109                   normal: "bt_hilight.png";
35110                   border: 7 7 7 0;
35111                }
35112             }
35113          }
35114          part { name: "btn_over2";
35115             type: IMAGE;
35116             mouse_events: 1;
35117             repeat_events: 1;
35118             ignore_flags: ON_HOLD;
35119             description { state: "default" 0.0;
35120                rel1.to: "button_image";
35121                rel2.to: "button_image";
35122                image {
35123                   normal: "bt_shine.png";
35124                   border: 7 7 7 7;
35125                }
35126             }
35127          }
35128          part { name: "focus_image";
35129             type: IMAGE;
35130             description { state: "default" 0.0;
35131                color: 255 255 255 0;
35132                rel1.to: "button_image";
35133                rel2.to: "button_image";
35134                image {
35135                   normal: "bt_glow.png";
35136                   border: 12 12 12 12;
35137                }
35138                fill.smooth: 0;
35139
35140             }
35141             description { state: "clicked" 0.0;
35142                inherit: "default" 0.0;
35143                visible: 1;
35144                color: 255 255 255 255;
35145             }
35146          }
35147          part { name: "right_arrow";
35148             mouse_events: 1;
35149             description { state: "default" 0.0;
35150                min: 16 16;
35151                max: 16 16;
35152                image.normal: "sp_bt_r.png";
35153             }
35154          }
35155       }
35156
35157       programs {
35158          program {
35159             name:   "button_down";
35160             signal: "elm,state,right,button,down";
35161             source: "right_button";
35162             action: STATE_SET "clicked" 0.0;
35163             target: "button_image";
35164             target: "focus_image";
35165          }
35166          program {
35167             name:   "button_up";
35168             signal: "elm,state,right,button,up";
35169             source: "right_button";
35170             action: STATE_SET "default" 0.0;
35171             target: "button_image";
35172             target: "focus_image";
35173          }
35174       }
35175    }
35176
35177 ///////////////////////////////////////////////////////////////////////////////
35178 #define FLIP_PICKER_MAX_LEN (50)
35179 #define FLIP_PICKER_MAX_LEN_STR "50"
35180
35181    group { name: "elm/flipselector/base/default";
35182       images {
35183          image: "flip_base.png" COMP;
35184          image: "flip_base_shad.png" COMP;
35185          image: "flip_shad.png" COMP;
35186          image: "arrow_up.png" COMP;
35187          image: "arrow_down.png" COMP;
35188          image: "flip_t.png" COMP;
35189          image: "flip_b.png" COMP;
35190       }
35191
35192       data {
35193          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
35194       }
35195
35196       //FIXME: quick successive clicks on, say, up, lead to nastiness
35197       script {
35198          public cur, prev, next, lock;
35199
35200          public animator_bottom_down(val, Float:pos) {
35201             new tmp[FLIP_PICKER_MAX_LEN];
35202
35203             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
35204             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
35205                             0.0);
35206             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
35207                             0.0);
35208
35209             if (pos >= 1.0) {
35210                set_state(PART:"shadow", "default", 0.0);
35211                set_int(lock, 0);
35212
35213                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35214                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35215                   replace_str(next, 0, "");
35216                   message(MSG_STRING, 1, tmp);
35217                }
35218             }
35219          }
35220
35221          public animator_top_down(val, Float:pos) {
35222             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
35223             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
35224                             0.0);
35225             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
35226                             0.0);
35227
35228             if (pos >= 1.0)
35229                anim(0.2, "animator_bottom_down", val);
35230          }
35231
35232          public animator_bottom_up(val, Float:pos) {
35233             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
35234             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
35235                             0.0);
35236             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
35237                             0.0);
35238
35239             if (pos >= 1.0)
35240                anim(0.2, "animator_top_up", val);
35241          }
35242
35243          public animator_top_up(val, Float:pos) {
35244             new tmp[FLIP_PICKER_MAX_LEN];
35245
35246             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
35247             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
35248                             0.0);
35249             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
35250                             0.0);
35251
35252             if (pos >= 1.0) {
35253                set_state(PART:"shadow", "default", 0.0);
35254                set_int(lock, 0);
35255
35256                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35257                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35258                   replace_str(next, 0, "");
35259                   message(MSG_STRING, 2, tmp);
35260                }
35261             }
35262          }
35263
35264          public message(Msg_Type:type, id, ...) {
35265             /* flip down */
35266             if ((type == MSG_STRING) && (id == 1)) {
35267                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35268
35269                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35270
35271                if (get_int(lock) == 1) {
35272                   replace_str(next, 0, value);
35273                   return;
35274                }
35275
35276                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35277
35278                set_text(PART:"bottom_b", tmp);
35279
35280                set_state(PART:"top", "shrink", 0.0);
35281                set_text(PART:"top", tmp);
35282                set_state(PART:"top", "default", 0.0);
35283                set_text(PART:"top", tmp);
35284
35285                replace_str(prev, 0, tmp);
35286
35287                set_state(PART:"bottom", "default", 0.0);
35288                set_text(PART:"bottom", value);
35289                set_state(PART:"bottom", "shrink", 0.0);
35290                set_text(PART:"bottom", value);
35291
35292                set_text(PART:"top_b", value);
35293
35294                replace_str(cur, 0, value);
35295
35296                set_state(PART:"bottom_sheet", "shrink", 0.0);
35297                set_state(PART:"top_sheet", "default", 0.0);
35298
35299                set_int(lock, 1);
35300                set_state(PART:"shadow", "default", 0.0);
35301                anim(0.2, "animator_top_down", 1);
35302             }
35303
35304             /* flip up */
35305             if ((type == MSG_STRING) && (id == 2)) {
35306                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35307
35308                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35309
35310                if (get_int(lock) == 1) {
35311                   replace_str(next, 0, value);
35312                   return;
35313                }
35314
35315                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35316
35317                set_text(PART:"top_b", tmp);
35318
35319                set_state(PART:"bottom", "shrink", 0.0);
35320                set_text(PART:"bottom", tmp);
35321                set_state(PART:"bottom", "default", 0.0);
35322                set_text(PART:"bottom", tmp);
35323
35324                replace_str(prev, 0, tmp);
35325
35326                set_state(PART:"top", "default", 0.0);
35327                set_text(PART:"top", value);
35328                set_state(PART:"top", "shrink", 0.0);
35329                set_text(PART:"top", value);
35330
35331                set_text(PART:"bottom_b", value);
35332
35333                replace_str(cur, 0, value);
35334
35335                set_state(PART:"bottom_sheet", "default", 0.0);
35336                set_state(PART:"top_sheet", "shrink", 0.0);
35337
35338                set_int(lock, 1);
35339                set_state(PART:"shadow", "full", 0.0);
35340                anim(0.2, "animator_bottom_up", 1);
35341             }
35342          }
35343       }
35344
35345       parts {
35346          part { name: "shad";
35347             mouse_events: 0;
35348             description { state: "default" 0.0;
35349                rel1.offset: -4 -4;
35350                rel1.to: "base";
35351                rel2.offset: 3 3;
35352                rel2.to: "base";
35353                image {
35354                   normal: "flip_base_shad.png";
35355                   border: 8 8 8 8;
35356                }
35357             }
35358          }
35359
35360          part { name: "base";
35361             scale: 1;
35362             description { state: "default" 0.0;
35363                rel1.offset: 4 4;
35364                rel2.offset: -5 -5;
35365                min: 24 48;
35366                image.normal: "flip_base.png";
35367             }
35368          }
35369
35370          part { name: "b";
35371             type: RECT;
35372             mouse_events: 1;
35373             description { state: "default" 0.0;
35374                rel1.to: "base";
35375                rel1.relative: 0.0 0.5;
35376                rel2.to: "base";
35377                color: 0 0 0 0;
35378             }
35379             description { state: "hidden" 0.0;
35380                inherit: "default" 0.0;
35381                visible: 0;
35382             }
35383          }
35384
35385          part { name: "t";
35386             type: RECT;
35387             mouse_events: 1;
35388             description { state: "default" 0.0;
35389                rel1.to: "base";
35390                rel2.to: "base";
35391                rel2.relative: 1.0 0.5;
35392                color: 0 0 0 0;
35393             }
35394             description { state: "hidden" 0.0;
35395                inherit: "default" 0.0;
35396                visible: 0;
35397             }
35398          }
35399
35400          part { name: "bottom_sheet_static";
35401             mouse_events: 0;
35402             description { state: "default" 0.0;
35403                visible: 1;
35404                rel1.to: "b";
35405                rel2.to: "b";
35406                image.normal: "flip_b.png";
35407             }
35408          }
35409
35410          part { name: "bottom_b";
35411             mouse_events: 0;
35412             clip_to: "bottom_clipper";
35413             type: TEXT;
35414             scale: 1;
35415             description { state: "default" 0.0;
35416                rel1.to: "base";
35417                rel2.to: "base";
35418                color: 0 0 0 255;
35419                color2: 0 0 0 255;
35420                text {
35421                   font: "Sans:style=Bold,Edje-Vera-Bold";
35422                   size: 30;
35423                   min: 1 1;
35424                   align: 0.5 0.5;
35425                }
35426             }
35427          }
35428
35429          part { name: "shadow";
35430             mouse_events: 0;
35431             description { state: "default" 0.0;
35432                rel1.to: "b";
35433                rel2.to: "b";
35434                rel2.relative: 1.0 0.0;
35435                image.normal: "flip_shad.png";
35436             }
35437             description { state: "half" 0.0;
35438                inherit: "default" 0.0;
35439                rel2.relative: 1.0 0.5;
35440             }
35441             description { state: "full" 0.0;
35442                inherit: "default" 0.0;
35443                rel2.relative: 1.0 1.0;
35444             }
35445          }
35446
35447          part { name: "bottom_sheet";
35448             mouse_events: 0;
35449             description { state: "default" 0.0;
35450                visible: 1;
35451                rel1.to: "b";
35452                rel2.to: "b";
35453                image.normal: "flip_b.png";
35454             }
35455             description { state: "shrink" 0.0;
35456                inherit: "default" 0.0;
35457                visible: 0;
35458                rel2.relative: 1.0 0.0;
35459             }
35460          }
35461
35462          part { name: "bottom";
35463             mouse_events: 0;
35464             clip_to: "bottom_clipper";
35465             type: TEXT;
35466             scale: 1;
35467             description { state: "default" 0.0;
35468                rel1.to: "base";
35469                rel2.to: "base";
35470                color: 0 0 0 255;
35471                color2: 0 0 0 255;
35472                text {
35473                   font: "Sans:style=Bold,Edje-Vera-Bold";
35474                   size: 30;
35475                   min: 1 1;
35476                   align: 0.5 0.5;
35477                }
35478             }
35479             description { state: "shrink" 0.0;
35480                inherit: "default" 0.0;
35481                color: 128 128 128 255;
35482                visible: 0;
35483                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35484             }
35485          }
35486
35487          part { name: "top_sheet_static";
35488             mouse_events: 0;
35489             description { state: "default" 0.0;
35490                visible: 1;
35491                rel1.to: "t";
35492                rel2.to: "t";
35493                image.normal: "flip_t.png";
35494             }
35495          }
35496
35497          part { name: "top_b";
35498             mouse_events: 0;
35499             clip_to: "top_clipper";
35500             type: TEXT;
35501             scale: 1;
35502             description { state: "default" 0.0;
35503                rel1.to: "base";
35504                rel2.to: "base";
35505                color: 0 0 0 255;
35506                color2: 0 0 0 255;
35507                text {
35508                   font: "Sans:style=Bold,Edje-Vera-Bold";
35509                   size: 30;
35510                   min: 1 1;
35511                   align: 0.5 0.5;
35512                   source: "top";
35513                }
35514             }
35515          }
35516
35517          part { name: "top_sheet";
35518             mouse_events: 0;
35519             description { state: "default" 0.0;
35520                visible: 1;
35521                rel1.to: "t";
35522                rel2.to: "t";
35523                image.normal: "flip_t.png";
35524             }
35525             description { state: "shrink" 0.0;
35526                inherit: "default" 0.0;
35527                color: 128 128 128 255;
35528                visible: 0;
35529                rel1.relative: 0.0 1.0;
35530             }
35531          }
35532
35533          part { name: "top";
35534             mouse_events: 0;
35535             clip_to: "top_clipper";
35536             type: TEXT;
35537             scale: 1;
35538             description { state: "default" 0.0;
35539                rel1.to: "base";
35540                rel2.to: "base";
35541                color: 0 0 0 255;
35542                color2: 0 0 0 255;
35543                text {
35544                   font: "Sans:style=Bold,Edje-Vera-Bold";
35545                   size: 30;
35546                   min: 1 1;
35547                   align: 0.5 0.5;
35548                }
35549             }
35550             description { state: "shrink" 0.0;
35551                inherit: "default" 0.0;
35552                visible: 0;
35553                rel1.relative: 0.0 0.5;
35554             }
35555          }
35556
35557          part { name: "arrow_top";
35558             mouse_events: 0;
35559             scale: 1;
35560             description { state: "default" 0.0;
35561                min: 15 15;
35562                max: 15 15;
35563                align: 0.5 0.0;
35564                rel1.to: "t";
35565                rel2.to: "t";
35566                image.normal: "arrow_up.png";
35567             }
35568             description { state: "hidden" 0.0;
35569                inherit: "default" 0.0;
35570                visible: 0;
35571             }
35572          }
35573          part { name: "arrow_bottom";
35574             mouse_events: 0;
35575             scale: 1;
35576             description { state: "default" 0.0;
35577                min: 15 15;
35578                max: 15 15;
35579                align: 0.5 1.0;
35580                rel1.to: "b";
35581                rel2.to: "b";
35582                image.normal: "arrow_down.png";
35583             }
35584             description { state: "hidden" 0.0;
35585                inherit: "default" 0.0;
35586                visible: 0;
35587             }
35588          }
35589
35590          part {
35591             type: RECT;
35592             mouse_events: 0;
35593             name: "top_clipper";
35594             description {
35595                state: "default" 0.0;
35596                rel1.to: "t";
35597                rel2.to: "t";
35598                visible: 1;
35599             }
35600          }
35601
35602          part {
35603             type: RECT;
35604             mouse_events: 0;
35605             name: "bottom_clipper";
35606             description {
35607                state: "default" 0.0;
35608                rel1.to: "b";
35609                rel2.to: "b";
35610                visible: 1;
35611             }
35612          }
35613       }
35614
35615       programs {
35616          program { name: "load";
35617             signal: "load";
35618             source: "";
35619             script {
35620                append_str(cur, "");
35621                append_str(prev, "");
35622                append_str(next, "");
35623                set_int(lock, 0);
35624             }
35625          }
35626
35627          program { name: "hide_arrows";
35628             signal: "elm,state,button,hidden";
35629             source: "elm";
35630             action: STATE_SET "hidden" 0.0;
35631             target: "arrow_top";
35632             target: "arrow_bottom";
35633             target: "t";
35634             target: "b";
35635          }
35636
35637          program { name: "show_arrows";
35638             signal: "elm,state,button,visible";
35639             source: "elm";
35640             action: STATE_SET "default" 0.0;
35641             target: "arrow_top";
35642             target: "arrow_bottom";
35643             target: "t";
35644             target: "b";
35645          }
35646
35647          program { name: "up";
35648             signal: "mouse,down,1";
35649             source: "t";
35650             action: SIGNAL_EMIT "elm,action,up,start" "";
35651          }
35652          program { name: "up,stop";
35653             signal: "mouse,up,1";
35654             source: "t";
35655             action: SIGNAL_EMIT "elm,action,up,stop" "";
35656          }
35657          program { name: "down";
35658             signal: "mouse,down,1";
35659             source: "b";
35660             action: SIGNAL_EMIT "elm,action,down,start" "";
35661          }
35662          program { name: "down,stop";
35663             signal: "mouse,up,1";
35664             source: "b";
35665             action: SIGNAL_EMIT "elm,action,down,stop" "";
35666          }
35667       }
35668    }
35669
35670 ////////////////////////////////////////////////////////////////////////////////
35671 // diskselector
35672 ////////////////////////////////////////////////////////////////////////////////
35673    group { name: "elm/diskselector/base/default";
35674       images {
35675          image: "bar_shine.png" COMP;
35676       }
35677
35678       parts {
35679          part { name: "bg";
35680             type: RECT;
35681             mouse_events: 0;
35682             description { state: "default" 0.0;
35683                color: 0 0 0 255;
35684             }
35685          }
35686          part { name: "shine_left";
35687             mouse_events:  0;
35688             description { state: "default" 0.0;
35689                rel1.to: "bg";
35690                rel1.relative: -0.1 0;
35691                rel2.to: "bg";
35692                rel2.relative: 0.1 1;
35693                image.normal: "bar_shine.png";
35694                color: 255 255 255 120;
35695             }
35696          }
35697          part { name: "shine_center";
35698             mouse_events:  0;
35699             description { state: "default" 0.0;
35700                rel1.to: "bg";
35701                rel1.relative: 0.2 0;
35702                rel2.to: "bg";
35703                rel2.relative: 0.8 1;
35704                image.normal: "bar_shine.png";
35705                color: 255 255 255 180;
35706             }
35707          }
35708          part { name: "shine_right";
35709             mouse_events:  0;
35710             description { state: "default" 0.0;
35711                rel1.to: "bg";
35712                rel1.relative: 0.9 0;
35713                rel2.to: "bg";
35714                rel2.relative: 1.1 1;
35715                image.normal: "bar_shine.png";
35716                color: 255 255 255 120;
35717             }
35718          }
35719          part { name: "clipper";
35720             type: RECT;
35721             mouse_events: 0;
35722             description { state: "default" 0.0;
35723                rel1.to: "bg";
35724                rel2.to: "bg";
35725                rel1.offset: 2 2;
35726                rel2.offset: -3 -3;
35727             }
35728          }
35729          part { name: "elm.swallow.content";
35730             clip_to: "clipper";
35731             type: SWALLOW;
35732             description { state: "default" 0.0;
35733                rel1.to: "bg";
35734                rel2.to: "bg";
35735             }
35736          }
35737       }
35738    }
35739
35740    group { name: "elm/diskselector/item/default";
35741
35742       data {
35743          item: "len_threshold" "14";
35744          item: "display_item_num" "3";
35745          item: "min_height" "-1";
35746          item: "min_width" "-1";
35747       }
35748
35749       parts {
35750          part { name: "elm.swallow.icon";
35751             type: SWALLOW;
35752             description { state: "default" 0.0;
35753                fixed: 1 0;
35754                align: 0.0 0.5;
35755                rel1 {
35756                   relative: 0 0;
35757                   offset: 4 4;
35758                }
35759                rel2 {
35760                   relative: 0 1;
35761                   offset: 4 -5;
35762                }
35763             }
35764             description { state: "show" 0.0;
35765                inherit: "default" 0.0;
35766             }
35767             description { state: "default_small" 0.0;
35768                inherit: "default" 0.0;
35769                rel1.relative: 0 0.2;
35770                rel2.relative: 0 0.8;
35771             }
35772             description { state: "left_side" 0.0;
35773                inherit: "default" 0.0;
35774                rel1.relative: 0 0.2;
35775                rel2.relative: 0 0.8;
35776                color: 255 255 255 160;
35777             }
35778             description { state: "right_side" 0.0;
35779                inherit: "left_side" 0.0;
35780                rel1.relative: 0.4 0.2;
35781                rel2.relative: 0.4 0.8;
35782                color: 255 255 255 160;
35783             }
35784          }
35785          part { name: "elm.text";
35786             type: TEXT;
35787             mouse_events: 0;
35788             scale: 1;
35789             description { state: "default" 0.0;
35790                rel1.relative: 1 0.0;
35791                rel1.to_x: "elm.swallow.icon";
35792                rel2.relative: 1.0 1.0;
35793                color: 255 255 255 255;
35794                visible: 0;
35795                text {
35796                   font: "Sans,Edje-Vera";
35797                   size: 13;
35798                   align: 0.5 0.5;
35799                   min: 0 1;
35800                }
35801             }
35802             description { state: "show" 0.0;
35803                inherit: "default" 0.0;
35804                visible: 1;
35805             }
35806             description { state: "default_small" 0.0;
35807                inherit: "default" 0.0;
35808                visible: 1;
35809                text.size: 10;
35810             }
35811             description { state: "left_side" 0.0;
35812                inherit: "default" 0.0;
35813                color: 172 172 172 255;
35814                text.size: 10;
35815                visible: 1;
35816                text.align: 0.2 0.5;
35817             }
35818             description { state: "right_side" 0.0;
35819                inherit: "default" 0.0;
35820                color: 172 172 172 255;
35821                visible: 1;
35822                text.size: 10;
35823                text.align: 0.8 0.5;
35824             }
35825          }
35826       }
35827
35828       programs {
35829          program { name: "center_text";
35830             signal: "elm,state,center";
35831             source: "elm";
35832             action: STATE_SET "show" 0.0;
35833             target: "elm.text";
35834             target: "elm.swallow.icon";
35835          }
35836          program { name: "center_small_text";
35837             signal: "elm,state,center_small";
35838             source: "elm";
35839             action: STATE_SET "default_small" 0.0;
35840             target: "elm.text";
35841             target: "elm.swallow.icon";
35842          }
35843          program { name: "l_side_text";
35844             signal: "elm,state,left_side";
35845             source: "elm";
35846             action: STATE_SET "left_side" 0.0;
35847             target: "elm.text";
35848             target: "elm.swallow.icon";
35849          }
35850          program { name: "r_side_text";
35851             signal: "elm,state,right_side";
35852             source: "elm";
35853             action: STATE_SET "right_side" 0.0;
35854             target: "elm.text";
35855             target: "elm.swallow.icon";
35856          }
35857       }
35858    }
35859
35860    group { name: "elm/entry/path/separator/default";
35861       images.image: "arrow_right.png" COMP;
35862       parts {
35863          part { name: "icon";
35864             mouse_events: 0;
35865             description { state: "default" 0.0;
35866                image.normal: "arrow_right.png";
35867                max: 64 64;
35868                aspect: 1.0 1.0;
35869             }
35870          }
35871       }
35872    }
35873
35874    group { name: "elm/fileselector/base/default";
35875       data {
35876          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35877       }
35878       parts {
35879          part { name: "elm.swallow.up";
35880             type: SWALLOW;
35881             description { state: "default" 0.0;
35882                align: 0.0 0.0;
35883                min: 10 10;
35884                fixed: 1 1;
35885                rel2 {
35886                   relative: 0.0 0.0;
35887                   offset: 0 0;
35888                }
35889             }
35890          }
35891          part { name: "elm.swallow.home";
35892             type: SWALLOW;
35893             description { state: "default" 0.0;
35894                align: 0.0 0.0;
35895                min: 10 10;
35896                fixed: 1 1;
35897                rel1 {
35898                   to: "elm.swallow.up";
35899                   relative: 1.0 0.0;
35900                   offset: 5 0;
35901                }
35902                rel2 {
35903                   to: "elm.swallow.up";
35904                   relative: 1.0 1.0;
35905                   offset: 20 -1;
35906                }
35907             }
35908          }
35909          part { name: "elm.swallow.files";
35910             type: SWALLOW;
35911             description { state: "default" 0.0;
35912                align: 1.0 0.0;
35913                min: 10 10;
35914                fixed: 1 1;
35915                rel1 {
35916                   to_y: "elm.swallow.home";
35917                   relative: 0.0 1.0;
35918                   offset: 0 0;
35919                }
35920                rel2 {
35921                   to_y: "elm.swallow.path";
35922                   relative: 1.0 0.0;
35923                   offset: -1 -1;
35924                }
35925             }
35926          }
35927          part { name: "elm.swallow.path";
35928             type: SWALLOW;
35929             description { state: "default" 0.0;
35930                align: 0.5 1.0;
35931                fixed: 1 1;
35932                rel1 {
35933                   to_y: "elm.swallow.filename";
35934                   relative: 0.0 0.0;
35935                   offset: 0 -1;
35936                }
35937                rel2 {
35938                   to_y: "elm.swallow.filename";
35939                   relative: 1.0 0.0;
35940                   offset: -1 -1;
35941                }
35942             }
35943          }
35944          part { name: "elm.swallow.filename";
35945             type: SWALLOW;
35946             description { state: "default" 0.0;
35947                align: 0.5 1.0;
35948                fixed: 1 1;
35949                rel1 {
35950                   to_y: "elm.swallow.ok";
35951                   relative: 0.0 0.0;
35952                   offset: 0 -1;
35953                }
35954                rel2 {
35955                   to_y: "elm.swallow.ok";
35956                   relative: 1.0 0.0;
35957                   offset: -1 -1;
35958                }
35959             }
35960          }
35961          part { name: "elm.swallow.cancel";
35962             type: SWALLOW;
35963             description { state: "default" 0.0;
35964                align: 1.0 1.0;
35965                fixed: 1 1;
35966                rel1 {
35967                   to: "elm.swallow.ok";
35968                   relative: 0.0 0.0;
35969                   offset: -3 0;
35970                }
35971                rel2 {
35972                   to: "elm.swallow.ok";
35973                   relative: 0.0 1.0;
35974                   offset: -3 -1;
35975                }
35976             }
35977          }
35978          part { name: "elm.swallow.ok";
35979             type: SWALLOW;
35980             description { state: "default" 0.0;
35981                align: 1.0 1.0;
35982                fixed: 1 1;
35983                rel1 {
35984                   relative: 1.0 1.0;
35985                   offset: -1 -1;
35986                }
35987             }
35988          }
35989       }
35990    }
35991
35992    group { name: "elm/fileselector_entry/base/default";
35993       parts {
35994          part { name: "elm.swallow.entry";
35995             type: SWALLOW;
35996             description { state: "default" 0.0;
35997                align: 0.0 0.0;
35998                min: 50 10;
35999                rel2 { to_x: "elm.swallow.button";
36000                   relative: 0.0 1.0;
36001                   offset: -1 -1;
36002                }
36003             }
36004          }
36005          part { name: "elm.swallow.button";
36006             type: SWALLOW;
36007             description { state: "default" 0.0;
36008                align: 1.0 0.0;
36009                min: 10 10;
36010                fixed: 1 1;
36011                rel1 {
36012                   relative: 1.0 0.0;
36013                   offset: -21 0;
36014                }
36015             }
36016          }
36017       }
36018    }
36019
36020 ////////////////////////////////////////////////////////////////////////
36021 // Standard layouts to be used                                        //
36022 ////////////////////////////////////////////////////////////////////////
36023    /* application with toolbar and main content area */
36024    group { name: "elm/layout/application/toolbar-content";
36025       parts {
36026          part { name: "elm.swallow.content";
36027             type: SWALLOW;
36028             description { state: "default" 0.0;
36029                rel1 { to_y: "elm.external.toolbar";
36030                   relative: 0.0 1.0;
36031                   offset: -1 1;
36032                }
36033             }
36034          }
36035
36036          part { name: "elm.external.toolbar";
36037             type: EXTERNAL;
36038             source: "elm/toolbar";
36039             description { state: "default" 0.0;
36040                align: 0.5 0.0;
36041                fixed: 0 1;
36042                rel2 {
36043                   relative: 1.0 0.0;
36044                   offset: -1 47;
36045                }
36046             }
36047          }
36048       }
36049    }
36050
36051    /* application with toolbar and main content area with a back button and title area */
36052    group { name: "elm/layout/application/toolbar-content-back";
36053       parts {
36054          part { name: "elm.swallow.content";
36055             type: SWALLOW;
36056             description { state: "default" 0.0;
36057                rel1 { to_y: "title_clipper";
36058                   relative: 0.0 1.0;
36059                   offset: -1 1;
36060                }
36061             }
36062          }
36063
36064          part { name: "elm.external.toolbar";
36065             type: EXTERNAL;
36066             source: "elm/toolbar";
36067             description { state: "default" 0.0;
36068                fixed: 0 1;
36069                align: 0.5 0.0;
36070                rel2 {
36071                   relative: 1.0 0.0;
36072                   offset: -1 47;
36073                }
36074             }
36075          }
36076          part { name: "title_clipper";
36077             type: RECT;
36078             description { state: "default" 0.0;
36079                visible: 1;
36080                rel1 {
36081                   to_y: "back";
36082                }
36083                rel2 {
36084                   to_y: "back";
36085                }
36086             }
36087             description { state: "hidden" 0.0;
36088                inherit: "default" 0.0;
36089                visible: 0;
36090                rel2 {
36091                   relative: 1.0 0.0;
36092                }
36093             }
36094          }
36095          part { name: "back_clipper";
36096             type: RECT;
36097             clip_to: "title_clipper";
36098             description { state: "default" 0.0;
36099                visible: 1;
36100             }
36101             description { state: "hidden" 0.0;
36102                visible: 0;
36103             }
36104          }
36105          part { name: "back";
36106             type: EXTERNAL;
36107             source: "elm/button";
36108             clip_to: "back_clipper";
36109             description { state: "default" 0.0;
36110                align: 0.0 0.0;
36111                fixed: 1 1;
36112                rel1 { to_y: "elm.external.toolbar";
36113                   relative: 0.0 1.0;
36114                   offset: 0 1;
36115                }
36116                rel2 { to_y: "elm.external.toolbar";
36117                   relative: 0.0 1.0;
36118                   offset: 50 32;
36119                }
36120                params.string: "label" "Back";
36121             }
36122          }
36123          programs {
36124             program {
36125                signal: "clicked";
36126                source: "back";
36127                action: SIGNAL_EMIT "elm,action,back" "";
36128             }
36129             program {
36130                signal: "elm,back,hide";
36131                source: "elm";
36132                action: STATE_SET "hidden" 0.0;
36133                target: "back_clipper";
36134             }
36135             program {
36136                signal: "elm,back,show";
36137                source: "elm";
36138                action: STATE_SET "default" 0.0;
36139                target: "back_clipper";
36140             }
36141             program {
36142                signal: "elm,title,hide";
36143                source: "elm";
36144                action: STATE_SET "hidden" 0.0;
36145                transition: LINEAR 0.1;
36146                target: "title_clipper";
36147             }
36148             program {
36149                signal: "elm,title,show";
36150                source: "elm";
36151                action: STATE_SET "default" 0.0;
36152                target: "title_clipper";
36153             }
36154          }
36155
36156          part { name: "elm.swallow.end";
36157             type: SWALLOW;
36158             description { state: "default" 0.0;
36159                align: 1.0 0.0;
36160                fixed: 1 1;
36161                rel1 { to_y: "elm.external.toolbar";
36162                   relative: 1.0 1.0;
36163                   offset: -2 1;
36164                }
36165                rel2 { to_y: "elm.external.toolbar";
36166                   relative: 1.0 1.0;
36167                   offset: -1 32;
36168                }
36169             }
36170          }
36171
36172          part { name: "elm.text.title";
36173             type: TEXT;
36174             effect: SOFT_SHADOW;
36175             scale: 1;
36176             description { state: "default" 0.0;
36177                rel1 { to_y: "elm.external.toolbar";
36178                   to_x: "back";
36179                   relative: 1.0 1.0;
36180                   offset: 2 1;
36181                }
36182                rel2 { to_y: "back";
36183                   to_x: "elm.swallow.end";
36184                   relative: 0.0 1.0;
36185                   offset: -3 -1;
36186                }
36187                text {
36188                   font: "Sans:style=Bold";
36189                   size: 12;
36190                }
36191             }
36192          }
36193       }
36194    }
36195
36196    /* application with toolbar and main content area with a back and next buttons and title area */
36197    group { name: "elm/layout/application/toolbar-content-back-next";
36198       parts {
36199          part { name: "elm.swallow.content";
36200             type: SWALLOW;
36201             description { state: "default" 0.0;
36202                rel1 { to_y: "title_clipper";
36203                   relative: 0.0 1.0;
36204                   offset: -1 1;
36205                }
36206             }
36207          }
36208
36209          part { name: "elm.external.toolbar";
36210             type: EXTERNAL;
36211             source: "elm/toolbar";
36212             description { state: "default" 0.0;
36213                fixed: 0 1;
36214                align: 0.5 0.0;
36215                rel2 {
36216                   relative: 1.0 0.0;
36217                   offset: -1 47;
36218                }
36219             }
36220          }
36221          part { name: "title_clipper";
36222             type: RECT;
36223             description { state: "default" 0.0;
36224                visible: 1;
36225                rel1 {
36226                   to_y: "back";
36227                }
36228                rel2 {
36229                   to_y: "back";
36230                }
36231             }
36232             description { state: "hidden" 0.0;
36233                inherit: "default" 0.0;
36234                visible: 0;
36235                rel2 {
36236                   relative: 1.0 0.0;
36237                }
36238             }
36239          }
36240          part { name: "back";
36241             type: EXTERNAL;
36242             source: "elm/button";
36243             clip_to: "back_clipper";
36244             description { state: "default" 0.0;
36245                align: 0.0 0.0;
36246                fixed: 1 1;
36247                rel1 { to_y: "elm.external.toolbar";
36248                   relative: 0.0 1.0;
36249                   offset: 0 1;
36250                }
36251                rel2 { to_y: "elm.external.toolbar";
36252                   relative: 0.0 1.0;
36253                   offset: 50 32;
36254                }
36255                params.string: "label" "Back";
36256             }
36257          }
36258          part { name: "back_clipper";
36259             type: RECT;
36260             clip_to: "title_clipper";
36261             description { state: "default" 0.0;
36262                visible: 1;
36263             }
36264             description { state: "hidden" 0.0;
36265                visible: 0;
36266             }
36267          }
36268          part { name: "next";
36269             type: EXTERNAL;
36270             source: "elm/button";
36271             clip_to: "next_clipper";
36272             description { state: "default" 0.0;
36273                align: 1.0 0.0;
36274                fixed: 1 1;
36275                rel1 { to_y: "elm.external.toolbar";
36276                   relative: 1.0 1.0;
36277                   offset: -2 1;
36278                }
36279                rel2 { to_y: "elm.external.toolbar";
36280                   relative: 1.0 1.0;
36281                   offset: -1 32;
36282                }
36283                params.string: "label" "Next";
36284            }
36285          }
36286          part { name: "next_clipper";
36287             type: RECT;
36288             clip_to: "title_clipper";
36289             description { state: "default" 0.0;
36290                visible: 1;
36291             }
36292             description { state: "hidden" 0.0;
36293                visible: 0;
36294             }
36295          }
36296          programs {
36297             program {
36298                signal: "clicked";
36299                source: "back";
36300                action: SIGNAL_EMIT "elm,action,back" "";
36301             }
36302             program {
36303                signal: "elm,title,hide";
36304                source: "elm";
36305                action: STATE_SET "hidden" 0.0;
36306                transition: LINEAR 0.1;
36307                target: "title_clipper";
36308             }
36309             program {
36310                signal: "elm,title,show";
36311                source: "elm";
36312                action: STATE_SET "default" 0.0;
36313                target: "title_clipper";
36314             }
36315             program {
36316                signal: "elm,back,hide";
36317                source: "elm";
36318                action: STATE_SET "hidden" 0.0;
36319                target: "back_clipper";
36320             }
36321             program {
36322                signal: "elm,back,show";
36323                source: "elm";
36324                action: STATE_SET "default" 0.0;
36325                target: "back_clipper";
36326             }
36327             program {
36328                signal: "clicked";
36329                source: "next";
36330                action: SIGNAL_EMIT "elm,action,next" "";
36331             }
36332             program {
36333                signal: "elm,next,hide";
36334                source: "elm";
36335                action: STATE_SET "hidden" 0.0;
36336                target: "next_clipper";
36337             }
36338             program {
36339                signal: "elm,next,show";
36340                source: "elm";
36341                action: STATE_SET "default" 0.0;
36342                target: "next_clipper";
36343             }
36344          }
36345          part { name: "elm.text.title";
36346             type: TEXT;
36347             effect: SOFT_SHADOW;
36348             scale: 1;
36349             clip_to: "title_clipper";
36350             description { state: "default" 0.0;
36351                rel1 { to_y: "elm.external.toolbar";
36352                   to_x: "back";
36353                   relative: 1.0 1.0;
36354                   offset: 2 1;
36355                }
36356                rel2 { to_y: "back";
36357                   to_x: "next";
36358                   relative: 0.0 1.0;
36359                   offset: -3 -1;
36360                }
36361                text {
36362                   font: "Sans:style=Bold";
36363                   size: 12;
36364                }
36365             }
36366          }
36367       }
36368    }
36369    /* application with a main content area with a back button and title area */
36370    group { name: "elm/layout/application/content-back";
36371       parts {
36372          part { name: "elm.swallow.content";
36373             type: SWALLOW;
36374             description { state: "default" 0.0;
36375                rel1 { to_y: "title_clipper";
36376                   relative: 0.0 1.0;
36377                   offset: -1 1;
36378                }
36379             }
36380          }
36381          part { name: "title_clipper";
36382             type: RECT;
36383             description { state: "default" 0.0;
36384                visible: 1;
36385                rel1 {
36386                   to_y: "back";
36387                }
36388                rel2 {
36389                   to_y: "back";
36390                }
36391             }
36392             description { state: "hidden" 0.0;
36393                inherit: "default" 0.0;
36394                visible: 0;
36395                rel2 {
36396                   relative: 1.0 0.0;
36397                }
36398             }
36399          }
36400          part { name: "back_clipper";
36401             type: RECT;
36402             clip_to: "title_clipper";
36403             description { state: "default" 0.0;
36404                visible: 1;
36405             }
36406             description { state: "hidden" 0.0;
36407                visible: 0;
36408             }
36409          }
36410          part { name: "back";
36411             type: EXTERNAL;
36412             source: "elm/button";
36413             clip_to: "back_clipper";
36414             description { state: "default" 0.0;
36415                align: 0.0 0.0;
36416                fixed: 1 1;
36417                rel1 {
36418                   relative: 0.0 0.0;
36419                   offset: 0 1;
36420                }
36421                rel2 {
36422                   relative: 0.0 0.0;
36423                   offset: 50 32;
36424                }
36425                params.string: "label" "Back";
36426             }
36427          }
36428          programs {
36429             program {
36430                signal: "clicked";
36431                source: "back";
36432                action: SIGNAL_EMIT "elm,action,back" "";
36433             }
36434             program {
36435                signal: "elm,back,hide";
36436                source: "elm";
36437                action: STATE_SET "hidden" 0.0;
36438                target: "back_clipper";
36439             }
36440             program {
36441                signal: "elm,back,show";
36442                source: "elm";
36443                action: STATE_SET "default" 0.0;
36444                target: "back_clipper";
36445             }
36446             program {
36447                signal: "elm,title,hide";
36448                source: "elm";
36449                action: STATE_SET "hidden" 0.0;
36450                transition: LINEAR 0.1;
36451                target: "title_clipper";
36452             }
36453             program {
36454                signal: "elm,title,show";
36455                source: "elm";
36456                action: STATE_SET "default" 0.0;
36457                target: "title_clipper";
36458             }
36459          }
36460
36461          part { name: "elm.swallow.end";
36462             type: SWALLOW;
36463             description { state: "default" 0.0;
36464                align: 1.0 0.0;
36465                fixed: 1 1;
36466                rel1 {
36467                   relative: 1.0 0.0;
36468                   offset: -2 1;
36469                }
36470                rel2 {
36471                   relative: 1.0 1.0;
36472                   offset: -1 32;
36473                }
36474             }
36475          }
36476
36477          part { name: "elm.text.title";
36478             type: TEXT;
36479             effect: SOFT_SHADOW;
36480             scale: 1;
36481             description { state: "default" 0.0;
36482                rel1 {
36483                   to_x: "back";
36484                   relative: 1.0 0.0;
36485                   offset: 2 1;
36486                }
36487                rel2 { to_y: "back";
36488                   to_x: "elm.swallow.end";
36489                   relative: 0.0 1.0;
36490                   offset: -3 -1;
36491                }
36492                text {
36493                   font: "Sans:style=Bold";
36494                   size: 12;
36495                }
36496             }
36497          }
36498       }
36499    }
36500
36501    /* application with a main content area with a back and next buttons and title area */
36502    group { name: "elm/layout/application/content-back-next";
36503       parts {
36504          part { name: "elm.swallow.content";
36505             type: SWALLOW;
36506             description { state: "default" 0.0;
36507                rel1 { to_y: "title_clipper";
36508                   relative: 0.0 1.0;
36509                   offset: -1 1;
36510                }
36511             }
36512          }
36513
36514          part { name: "title_clipper";
36515             type: RECT;
36516             description { state: "default" 0.0;
36517                visible: 1;
36518                rel1 {
36519                   to_y: "back";
36520                }
36521                rel2 {
36522                   to_y: "back";
36523                }
36524             }
36525             description { state: "hidden" 0.0;
36526                inherit: "default" 0.0;
36527                visible: 0;
36528                rel2 {
36529                   relative: 1.0 0.0;
36530                }
36531             }
36532          }
36533          part { name: "back";
36534             type: EXTERNAL;
36535             source: "elm/button";
36536             clip_to: "back_clipper";
36537             description { state: "default" 0.0;
36538                align: 0.0 0.0;
36539                fixed: 1 1;
36540                rel1 {
36541                   relative: 0.0 0.0;
36542                   offset: 0 1;
36543                }
36544                rel2 {
36545                   relative: 0.0 0.0;
36546                   offset: 50 32;
36547                }
36548                params.string: "label" "Back";
36549             }
36550          }
36551          part { name: "back_clipper";
36552             type: RECT;
36553             clip_to: "title_clipper";
36554             description { state: "default" 0.0;
36555                visible: 1;
36556             }
36557             description { state: "hidden" 0.0;
36558                visible: 0;
36559             }
36560          }
36561          part { name: "next";
36562             type: EXTERNAL;
36563             source: "elm/button";
36564             clip_to: "next_clipper";
36565             description { state: "default" 0.0;
36566                align: 1.0 0.0;
36567                fixed: 1 1;
36568                rel1 {
36569                   relative: 1.0 0.0;
36570                   offset: -2 1;
36571                }
36572                rel2 {
36573                   relative: 1.0 0.0;
36574                   offset: -1 32;
36575                }
36576                params.string: "label" "Next";
36577            }
36578          }
36579          part { name: "next_clipper";
36580             type: RECT;
36581             clip_to: "title_clipper";
36582             description { state: "default" 0.0;
36583                visible: 1;
36584             }
36585             description { state: "hidden" 0.0;
36586                visible: 0;
36587             }
36588          }
36589          programs {
36590             program {
36591                signal: "clicked";
36592                source: "back";
36593                action: SIGNAL_EMIT "elm,action,back" "";
36594             }
36595             program {
36596                signal: "elm,title,hide";
36597                source: "elm";
36598                action: STATE_SET "hidden" 0.0;
36599                transition: LINEAR 0.1;
36600                target: "title_clipper";
36601             }
36602             program {
36603                signal: "elm,title,show";
36604                source: "elm";
36605                action: STATE_SET "default" 0.0;
36606                target: "title_clipper";
36607             }
36608             program {
36609                signal: "elm,back,hide";
36610                source: "elm";
36611                action: STATE_SET "hidden" 0.0;
36612                target: "back_clipper";
36613             }
36614             program {
36615                signal: "elm,back,show";
36616                source: "elm";
36617                action: STATE_SET "default" 0.0;
36618                target: "back_clipper";
36619             }
36620             program {
36621                signal: "clicked";
36622                source: "next";
36623                action: SIGNAL_EMIT "elm,action,next" "";
36624             }
36625             program {
36626                signal: "elm,next,hide";
36627                source: "elm";
36628                action: STATE_SET "hidden" 0.0;
36629                target: "next_clipper";
36630             }
36631             program {
36632                signal: "elm,next,show";
36633                source: "elm";
36634                action: STATE_SET "default" 0.0;
36635                target: "next_clipper";
36636             }
36637          }
36638          part { name: "elm.text.title";
36639             type: TEXT;
36640             effect: SOFT_SHADOW;
36641             scale: 1;
36642             clip_to: "title_clipper";
36643             description { state: "default" 0.0;
36644                rel1 {
36645                   to_x: "back";
36646                   relative: 1.0 0.0;
36647                   offset: 2 1;
36648                }
36649                rel2 { to_y: "back";
36650                   to_x: "next";
36651                   relative: 0.0 1.0;
36652                   offset: -3 -1;
36653                }
36654                text {
36655                   font: "Sans:style=Bold";
36656                   size: 12;
36657                }
36658             }
36659          }
36660       }
36661    }
36662
36663    /* application with toolbar and main content area as a vertical box */
36664    group { name: "elm/layout/application/toolbar-vbox";
36665       parts {
36666          part { name: "elm.box.content";
36667             type: BOX;
36668             description { state: "default" 0.0;
36669                rel1 { to_y: "elm.external.toolbar";
36670                   relative: 0.0 1.0;
36671                   offset: -1 1;
36672                }
36673                box.layout: "vertical";
36674             }
36675          }
36676
36677          part { name: "elm.external.toolbar";
36678             type: EXTERNAL;
36679             source: "elm/toolbar";
36680             description { state: "default" 0.0;
36681                align: 0.5 0.0;
36682                fixed: 0 1;
36683                rel2 {
36684                   relative: 1.0 0.0;
36685                   offset: -1 47;
36686                }
36687             }
36688          }
36689       }
36690    }
36691
36692    /* application with toolbar and main content area as a table */
36693    group { name: "elm/layout/application/toolbar-table";
36694       parts {
36695          part { name: "elm.table.content";
36696             type: TABLE;
36697             description { state: "default" 0.0;
36698                rel1 { to_y: "elm.external.toolbar";
36699                   relative: 0.0 1.0;
36700                   offset: -1 1;
36701                }
36702             }
36703          }
36704
36705          part { name: "elm.external.toolbar";
36706             type: EXTERNAL;
36707             source: "elm/toolbar";
36708             description { state: "default" 0.0;
36709                align: 0.5 0.0;
36710                fixed: 0 1;
36711                rel2 {
36712                   relative: 1.0 0.0;
36713                   offset: -1 47;
36714                }
36715             }
36716          }
36717       }
36718    }
36719
36720 ///////////////////////////////////////////////////////////////////////////////
36721    group { name: "elm/segment_control/base/default";
36722 #define SEGMENT_TYPE_SINGLE 1
36723 #define SEGMENT_TYPE_LEFT 2
36724 #define SEGMENT_TYPE_MIDDLE 3
36725 #define SEGMENT_TYPE_RIGHT 4
36726 #define SEGMENT_STATE_NORMAL 1
36727 #define SEGMENT_STATE_PRESSED 2
36728 #define SEGMENT_STATE_SELECTED 3
36729 #define SEGMENT_STATUS_ENABLED 0
36730 #define SEGMENT_STATUS_DISABLED 1
36731       parts {
36732          part { name: "bg";
36733             type: RECT;
36734             mouse_events: 0;
36735             scale: 1;
36736             description {
36737                state: "default" 0.0;
36738                color: 0 0 0 0;
36739                min: 100 40;
36740             }
36741          }
36742       }
36743    }
36744    group { name: "elm/segment_control/item/default";
36745       data.item: "label.wrap.part" "label.bg";
36746       styles {
36747          style { name: "seg_text_style_normal";
36748             base: "font=Sans font_size=16 style=shadow \
36749             shadow_color=#2924224d \
36750             align=center \
36751             color=#ffffffff wrap=char text_class=label";
36752             tag:  "br" "\n";
36753             tag:  "hilight" "+ font=Sans:style=Bold";
36754             tag:  "tab" "\t";
36755          }
36756          style { name: "seg_text_style_selected";
36757             base: "font=Sans:style=Bold font_size=16 style=shadow \
36758             shadow_color=#aaaaaa4d \
36759             align=center \
36760             color=#111111ff wrap=char text_class=label";
36761             tag:  "br" "\n";
36762             tag:  "hilight" "+ font=Sans:style=Bold";
36763             tag:  "b" "+ font=Sans:style=Bold";
36764             tag:  "tab" "\t";
36765          }
36766          style { name: "seg_text_style_disabled";
36767             base: "font=Sans:style=Medium font_size=16 style=shadow \
36768             shadow_color=#2924224d \
36769             align=center color=#2924224d \
36770             wrap=char text_class=label";
36771             tag:  "br" "\n";
36772             tag:  "hilight" "+ font=Sans:style=Bold";
36773             tag:  "b" "+ font=Sans:style=Bold";
36774             tag:  "tab" "\t";
36775          }
36776       }
36777       images {
36778          image: "seg_single_pressed.png" COMP;
36779          image: "seg_single_selected.png" COMP;
36780          image: "seg_single_normal.png" COMP;
36781
36782          image: "seg_left_pressed.png" COMP;
36783          image: "seg_left_selected.png" COMP;
36784          image: "seg_left_normal.png" COMP;
36785
36786          image: "seg_middle_pressed.png" COMP;
36787          image: "seg_middle_selected.png" COMP;
36788          image: "seg_middle_normal.png" COMP;
36789
36790          image: "seg_right_pressed.png" COMP;
36791          image: "seg_right_selected.png" COMP;
36792          image: "seg_right_normal.png" COMP;
36793       }
36794       parts {
36795          part { name: "segment";
36796             mouse_events: 1;
36797             scale: 1;
36798             description { state: "default" 0.0;
36799                min: 1 1;
36800                visible: 0;
36801                image {
36802                   normal: "seg_single_normal.png";
36803                   border: 7 7 7 7;
36804                   border_scale: 1;
36805                   middle: 1;
36806                }
36807             }
36808             description { state: "default_single" 0.0;
36809                inherit: "default" 0.0;
36810                visible: 1;
36811                image {
36812                   normal: "seg_single_normal.png";
36813                   border: 7 7 7 7;
36814                }
36815             }
36816             description { state: "default_left" 0.0;
36817                inherit: "default" 0.0;
36818                visible: 1;
36819                image {
36820                normal: "seg_left_normal.png";
36821                   border:  6 1 7 7;
36822                }
36823             }
36824             description { state: "default_right" 0.0;
36825                inherit: "default" 0.0;
36826                visible: 1;
36827                image {
36828                   normal: "seg_right_normal.png";
36829                   border: 1 6 7 7;
36830                }
36831             }
36832             description { state: "default_middle" 0.0;
36833                inherit: "default" 0.0;
36834                visible: 1;
36835                image {
36836                   normal: "seg_middle_normal.png";
36837                   border: 2 2 2 2;
36838                }
36839             }
36840             description { state: "pressed_single" 0.0;
36841                inherit: "default" 0.0;
36842                visible: 1;
36843                image {
36844                   normal: "seg_single_pressed.png";
36845                   border: 7 7 7 7;
36846                }
36847             }
36848             description { state: "pressed_left" 0.0;
36849                inherit: "default" 0.0;
36850                visible: 1;
36851                image {
36852                   normal: "seg_left_pressed.png";
36853                   border:  6 1 7 7;
36854                }
36855             }
36856             description { state: "pressed_right" 0.0;
36857                inherit: "default" 0.0;
36858                visible: 1;
36859                image {
36860                   normal: "seg_right_pressed.png";
36861                   border: 1 6 7 7;
36862                }
36863             }
36864             description { state: "pressed_middle" 0.0;
36865                inherit: "default" 0.0;
36866                visible: 1;
36867                image {
36868                   normal: "seg_middle_pressed.png";
36869                   border: 1 1 2 2;
36870                }
36871             }
36872             description { state: "selected_single" 0.0;
36873                inherit: "default" 0.0;
36874                visible: 1;
36875                image {
36876                   normal: "seg_single_selected.png";
36877                   border: 7 7 7 7;
36878                }
36879             }
36880             description { state: "selected_left" 0.0;
36881                inherit: "default" 0.0;
36882                visible: 1;
36883                image {
36884                   normal: "seg_left_selected.png";
36885                   border:  6 3 7 7;
36886                }
36887             }
36888             description { state: "selected_right" 0.0;
36889                inherit: "default" 0.0;
36890                visible: 1;
36891                image {
36892                   normal: "seg_right_selected.png";
36893                   border: 3 6 7 7;
36894                }
36895             }
36896             description { state: "selected_middle" 0.0;
36897                inherit: "default" 0.0;
36898                visible: 1;
36899                image {
36900                   normal: "seg_middle_selected.png";
36901                   border: 3 3 3 3;
36902                }
36903             }
36904          }
36905          part { name: "padding_left";
36906             type: RECT;
36907             scale: 1;
36908             mouse_events: 0;
36909             description { state: "default" 0.0;
36910                align: 0.0 0.0;
36911                rel1.relative: 0.0 0.0;
36912                rel2.relative: 0.0 1.0;
36913                min: 2 2;
36914                max: 2 2;
36915                fixed: 1 0;
36916                color: 0 0 0 0;
36917             }
36918          }
36919          part { name: "padding_right";
36920             type: RECT;
36921             scale: 1;
36922             mouse_events: 0;
36923             description { state: "default" 0.0;
36924                align: 1.0 0.0;
36925                rel1.relative: 1.0 0.0;
36926                rel2.relative: 1.0 1.0;
36927                min: 2 2;
36928                max: 2 2;
36929                fixed: 1 0;
36930                color: 0 0 0 0;
36931             }
36932          }
36933          part { name: "padding_top";
36934             type: RECT;
36935             scale: 1;
36936             mouse_events: 0;
36937             description { state: "default" 0.0;
36938                align: 0.0 0.0;
36939                rel1.relative: 0.0 0.0;
36940                rel2.relative: 1.0 0.0;
36941                min: 2 2;
36942                max: 2 2;
36943                fixed: 0 1;
36944                color: 0 0 0 0;
36945             }
36946          }
36947          part { name: "padding_bottom";
36948             type: RECT;
36949             scale: 1;
36950             mouse_events: 0;
36951             description { state: "default" 0.0;
36952                align: 1.0 1.0;
36953                rel1.relative: 0.0 1.0;
36954                rel2.relative: 1.0 1.0;
36955                min: 2 2;
36956                max: 2 2;
36957                fixed: 0 1;
36958                color: 0 0 0 0;
36959             }
36960          }
36961          part { name: "icon.bg";
36962             type: RECT;
36963             scale: 1;
36964             mouse_events: 0;
36965             description { state: "default" 0.0;
36966                visible: 1;
36967                fixed: 1 0;
36968                rel1 {
36969                   to_x: "padding_left";
36970                   to_y: "padding_top";
36971                   relative: 1.0 1.0;
36972                }
36973                rel2 {
36974                   to: "elm.swallow.icon";
36975                   relative: 1.0 1.0;
36976                }
36977                align: 0.0 0.5;
36978                color: 0 0 0 0;
36979             }
36980          }
36981          part { name: "padding_icon_text";
36982             type: RECT;
36983             scale: 1;
36984             mouse_events: 0;
36985             description { state: "default" 0.0; //when only icon or no icon is there
36986                align: 0.0 0.0;
36987                rel1 {
36988                   to: "icon.bg";
36989                   relative: 1.0 0.0;
36990                }
36991                rel2 {
36992                   to: "icon.bg";
36993                   relative: 1.0 1.0;
36994                }
36995                fixed: 1 0;
36996                min: 0 0;
36997                color: 0 0 0 0;
36998             }
36999             description { state: "icononly" 0.0;
37000                inherit: "default" 0.0;
37001             }
37002             description { state: "visible" 0.0; //when icon is visible
37003                inherit: "default" 0.0;
37004                min: 2 0;
37005             }
37006          }
37007          part { name: "elm.swallow.icon";
37008             type: SWALLOW;
37009             scale: 1;
37010             description { state: "default" 0.0;
37011                visible: 0;
37012                align: 0.0 0.5;
37013                rel1 {
37014                   to_x: "padding_left";
37015                   to_y: "padding_top";
37016                   relative: 1.0 1.0;
37017                }
37018                rel2 {
37019                   to_y: "padding_bottom";
37020                   relative: 0.0 0.0;
37021                }
37022                fixed: 1 0;
37023                aspect: 1.0 1.0;
37024                aspect_preference: BOTH;
37025             }
37026             description { state: "visible" 0.0;
37027                inherit: "default" 0.0;
37028                visible: 1;
37029                rel2 {
37030                   to_y: "padding_bottom";
37031                   relative: 0.3 0.0;
37032                }
37033             }
37034             description { state: "icononly" 0.0;
37035                inherit: "default" 0.0;
37036                visible: 1;
37037                rel2 {
37038                   to_x: "padding_right";
37039                   to_y: "padding_bottom";
37040                   relative: 0.0 0.0;
37041                }
37042                align: 0.5 0.5;
37043             }
37044          }
37045          part { name: "elm.text";
37046             type: TEXT;
37047             mouse_events: 0;
37048             scale: 1;
37049             description {
37050                state: "default" 0.0;
37051                visible: 0;
37052                fixed: 1 1;
37053                min: 1 1;
37054                rel1 {
37055                   to_x: "padding_icon_text";
37056                   relative: 1.0 1.0;
37057                }
37058                rel2 {
37059                   to_x: "padding_right";
37060                   relative: 0.0 0.0;
37061                }
37062                color: 224 224 224 255;
37063                color3: 0 0 0 64;
37064                text {
37065                   font: "Sans";
37066                   ellipsis: 0.0;
37067                   fit: 1 1;
37068                   size: 24;
37069                   size_range: 8 36;
37070                   min: 0 1;
37071                }
37072             }
37073             description { state: "normal" 0.0;
37074                inherit: "default" 0.0;
37075                visible: 1;
37076             }
37077             description { state: "pressed" 0.0;
37078                inherit: "default" 0.0;
37079                visible: 1;
37080                color: 0 0 0 255;
37081             }
37082             description { state: "selected" 0.0;
37083                inherit: "default" 0.0;
37084                visible: 1;
37085                color: 50 50 50 255;
37086             }
37087             description { state: "disabled" 0.0;
37088                inherit: "default" 0.0;
37089                visible: 1;
37090                color: 200 200 200 255;
37091             }
37092          }
37093          part { name: "disabler";
37094             repeat_events: 0;
37095             scale: 1;
37096             description { state: "default" 0.0;
37097                visible: 0;
37098                fixed: 1 1;
37099                min: 1 1;
37100                align: 0.0 0.5;
37101                rel1 { relative: 0.0 0.0; to: "segment";}
37102                rel2 { relative: 1.0 1.0; to: "segment";}
37103                color: 255 255 255 150;
37104             }
37105             description { state: "disabled_single" 0.0;
37106                inherit: "default" 0.0;
37107                visible: 1;
37108                image {
37109                   normal: "seg_single_normal.png";
37110                   border: 7 7 7 7;
37111                }
37112             }
37113             description { state: "disabled_left" 0.0;
37114                inherit: "default" 0.0;
37115                visible: 1;
37116                image {
37117                   normal: "seg_left_normal.png";
37118                   border:  6 1 7 7;
37119                }
37120             }
37121             description { state: "disabled_right" 0.0;
37122                inherit: "default" 0.0;
37123                visible: 1;
37124                image {
37125                   normal: "seg_right_normal.png";
37126                   border: 1 6 7 7;
37127                }
37128             }
37129             description { state: "disabled_middle" 0.0;
37130                inherit: "default" 0.0;
37131                visible: 1;
37132                image {
37133                   normal: "seg_middle_normal.png";
37134                   border: 2 2 2 2;
37135                }
37136             }
37137          }
37138       }
37139       programs {
37140          script {
37141             public seg_type; // Single, Left, Middle, Right.
37142             public seg_state; // Normal/Default, Pressed, Selected.
37143             public seg_status;// Enabled/Default, Disabled
37144
37145             public update_state() {
37146                new type, state, disabled;
37147                type = get_int(seg_type);
37148                state = get_int(seg_state);
37149                disabled = get_int(seg_status);
37150
37151                if(state == SEGMENT_STATE_NORMAL)
37152                  {
37153                     if(type == SEGMENT_TYPE_SINGLE)
37154                       set_state(PART:"segment", "default_single", 0.0);
37155                     else if(type == SEGMENT_TYPE_LEFT)
37156                       set_state(PART:"segment", "default_left", 0.0);
37157                     else if(type == SEGMENT_TYPE_MIDDLE)
37158                       set_state(PART:"segment", "default_middle", 0.0);
37159                     else if(type == SEGMENT_TYPE_RIGHT)
37160                       set_state(PART:"segment", "default_right", 0.0);
37161                     set_state(PART:"elm.text", "normal", 0.0);
37162                  }
37163                else if(state == SEGMENT_STATE_PRESSED)
37164                  {
37165                     if(type == SEGMENT_TYPE_SINGLE)
37166                       set_state(PART:"segment", "pressed_single", 0.0);
37167                     else if(type == SEGMENT_TYPE_LEFT)
37168                       set_state(PART:"segment", "pressed_left", 0.0);
37169                     else if(type == SEGMENT_TYPE_MIDDLE)
37170                       set_state(PART:"segment", "pressed_middle", 0.0);
37171                     else if(type == SEGMENT_TYPE_RIGHT)
37172                       set_state(PART:"segment", "pressed_right", 0.0);
37173                     set_state(PART:"elm.text", "pressed", 0.0);
37174                  }
37175                else if(state == SEGMENT_STATE_SELECTED)
37176                  {
37177                     if(type == SEGMENT_TYPE_SINGLE)
37178                       set_state(PART:"segment", "selected_single", 0.0);
37179                     else if(type == SEGMENT_TYPE_LEFT)
37180                       set_state(PART:"segment", "selected_left", 0.0);
37181                     else if(type == SEGMENT_TYPE_MIDDLE)
37182                       set_state(PART:"segment", "selected_middle", 0.0);
37183                     else if(type == SEGMENT_TYPE_RIGHT)
37184                       set_state(PART:"segment", "selected_right", 0.0);
37185                     set_state(PART:"elm.text", "selected", 0.0);
37186                  }
37187                if(disabled == SEGMENT_STATUS_DISABLED)
37188                  {
37189                     if(type == SEGMENT_TYPE_SINGLE)
37190                       set_state(PART:"disabler", "disabled_single", 0.0);
37191                     else if(type == SEGMENT_TYPE_LEFT)
37192                       set_state(PART:"disabler", "disabled_left", 0.0);
37193                     else if(type == SEGMENT_TYPE_MIDDLE)
37194                       set_state(PART:"disabler", "disabled_middle", 0.0);
37195                     else if(type == SEGMENT_TYPE_RIGHT)
37196                       set_state(PART:"disabler", "disabled_right", 0.0);
37197                     set_state(PART:"elm.text", "disabled", 0.0);
37198                  }
37199             }
37200          }
37201          program {
37202             name: "segment_type_s";
37203             signal: "elm,type,segment,single";
37204             source: "elm";
37205             script {
37206                set_int(seg_type, SEGMENT_TYPE_SINGLE);
37207                update_state();
37208             }
37209          }
37210          program {
37211             name: "segment_type_l";
37212             signal: "elm,type,segment,left";
37213             source: "elm";
37214             script {
37215                set_int(seg_type, SEGMENT_TYPE_LEFT);
37216                update_state();
37217             }
37218          }
37219          program {
37220             name: "segment_type_m";
37221             signal: "elm,type,segment,middle";
37222             source: "elm";
37223             script {
37224                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
37225                update_state();
37226             }
37227          }
37228          program {
37229             name: "segment_type_r";
37230             signal: "elm,type,segment,right";
37231             source: "elm";
37232             script {
37233                set_int(seg_type, SEGMENT_TYPE_RIGHT);
37234                update_state();
37235             }
37236          }
37237          program {
37238             name: "normal_segment";
37239             signal: "elm,state,segment,normal";
37240             source: "elm";
37241             script {
37242                set_int(seg_state, SEGMENT_STATE_NORMAL);
37243                update_state();
37244             }
37245          }
37246          program {
37247             name: "pressed_segment";
37248             signal: "elm,state,segment,pressed";
37249             source: "elm";
37250             script {
37251                set_int(seg_state, SEGMENT_STATE_PRESSED);
37252                update_state();
37253             }
37254          }
37255          program {
37256             name: "selected_segment";
37257             signal: "elm,state,segment,selected";
37258             source: "elm";
37259             script {
37260                set_int(seg_state, SEGMENT_STATE_SELECTED);
37261                update_state();
37262             }
37263          }
37264          program { name: "disable_segment";
37265             signal: "elm,state,disabled";
37266             source: "elm";
37267             script {
37268                set_int(seg_status, SEGMENT_STATUS_DISABLED);
37269                update_state();
37270             }
37271          }
37272          program { name: "enable_segment";
37273             signal: "elm,state,enabled";
37274             source: "elm";
37275             script {
37276                set_int(seg_status, SEGMENT_STATUS_ENABLED);
37277                update_state();
37278             }
37279          }
37280          program { name: "text_show";
37281             signal: "elm,state,text,visible";
37282             source: "elm";
37283             script {
37284                new st[31];
37285                new Float:vl;
37286                get_state(PART:"elm.swallow.icon", st, 30, vl);
37287                if (!strcmp(st, "icononly"))
37288                  {
37289                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37290                     set_state(PART:"padding_icon_text", "visible", 0.0);
37291                  }
37292                get_state(PART:"elm.text", st, 30, vl);
37293                if (!strcmp(st, "selected"))
37294                   set_state(PART:"elm.text", "selected", 0.0);
37295                else
37296                   set_state(PART:"elm.text", "normal", 0.0);
37297             }
37298          }
37299          program { name: "text_hide";
37300             signal: "elm,state,text,hidden";
37301             source: "elm";
37302             script {
37303                new st[31];
37304                new Float:vl;
37305                get_state(PART:"elm.swallow.icon", st, 30, vl);
37306                if (!strcmp(st, "visible"))
37307                  {
37308                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37309                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37310                  }
37311                set_state(PART:"elm.text", "default", 0.0);
37312             }
37313          }
37314          program { name: "icon_show";
37315             signal: "elm,state,icon,visible";
37316             source: "elm";
37317             script {
37318                new st[31];
37319                new Float:vl;
37320                get_state(PART:"elm.text", st, 30, vl);
37321                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
37322                  {
37323                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37324                     set_state(PART:"padding_icon_text", "visible", 0.0);
37325                  }
37326                else
37327                  {
37328                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37329                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37330                  }
37331             }
37332          }
37333          program { name: "icon_hide";
37334             signal: "elm,state,icon,hidden";
37335             source: "elm";
37336             action:  STATE_SET "default" 0.0;
37337             target: "elm.swallow.icon";
37338          }
37339       }
37340 #undef SEGMENT_TYPE_SINGLE
37341 #undef SEGMENT_TYPE_LEFT
37342 #undef SEGMENT_TYPE_MIDDLE
37343 #undef SEGMENT_TYPE_RIGHT
37344 #undef SEGMENT_STATE_NORMAL
37345 #undef SEGMENT_STATE_PRESSED
37346 #undef SEGMENT_STATE_SELECTED
37347 #undef SEGMENT_STATUS_ENABLED
37348 #undef SEGMENT_STATUS_DISABLED
37349    }
37350
37351    /* a simple title layout, with a label and two icons */
37352    group { name: "elm/layout/application/titlebar";
37353       images {
37354          image: "toolbar_sel.png" COMP;
37355       }
37356       parts {
37357          part { name: "base";
37358             mouse_events: 0;
37359             scale: 1;
37360             description { state: "default" 0.0;
37361                min: 0 33;
37362                max: 99999 33;
37363                align: 0.5 0.0;
37364                rel1.offset: -1 0;
37365                rel2.offset: 1 0;
37366                image {
37367                   normal: "toolbar_sel.png";
37368                   border: 3 3 0 0;
37369                }
37370             }
37371          }
37372          part { name: "elm.swallow.content";
37373             type: SWALLOW;
37374             description { state: "default" 0.0;
37375                visible: 1;
37376                rel1 {
37377                   to: "base";
37378                   relative: 0.0 1.0;
37379                }
37380             }
37381          }
37382          part { name: "elm.swallow.icon";
37383             type: SWALLOW;
37384             scale: 1;
37385             description { state: "default" 0.0;
37386                visible: 0;
37387                fixed: 1 1;
37388                align: 0.0 0.0;
37389                rel1 {
37390                   to: "base";
37391                   relative: 0.0 0.0;
37392                   offset: 4 0;
37393                }
37394                rel2 {
37395                   to: "base";
37396                   relative: 0.0 1.0;
37397                }
37398             }
37399             description { state: "visible" 0.0;
37400                inherit: "default" 0.0;
37401                visible: 1;
37402             }
37403          }
37404          part { name: "elm.swallow.end";
37405             type: SWALLOW;
37406             scale: 1;
37407             description { state: "default" 0.0;
37408                visible: 0;
37409                fixed: 1 1;
37410                align: 1.0 0.0;
37411                rel1 {
37412                   to: "base";
37413                   relative: 1.0 0.0;
37414                   offset: 0 0;
37415                }
37416                rel2 {
37417                   to: "base";
37418                   relative: 1.0 1.0;
37419                   offset: -5 -1;
37420                }
37421             }
37422             description { state: "visible" 0.0;
37423                inherit: "default" 0.0;
37424                visible: 1;
37425             }
37426          }
37427          part { name: "elm.text";
37428             type: TEXT;
37429             effect: SOFT_SHADOW;
37430             mouse_events: 0;
37431             scale: 1;
37432             description { state: "default" 0.0;
37433                fixed: 1 1;
37434                rel1 {
37435                   to_x: "elm.swallow.icon";
37436                   to_y: "base";
37437                   relative: 1.0 0.0;
37438                }
37439                rel2 {
37440                   to_x: "elm.swallow.end";
37441                   to_y: "base";
37442                   relative: 0.0 1.0;
37443                }
37444                text {
37445                   font: "Sans";
37446                   size: 12;
37447                   min: 0 0;
37448                   align: 0.5 0.5;
37449                   text_class: "title_bar";
37450                }
37451             }
37452          }
37453       }
37454       programs {
37455          program { name: "show_icon";
37456             signal: "elm,state,icon,visible";
37457             source: "elm";
37458             action: STATE_SET "visible" 0.0;
37459             target: "elm.swallow.icon";
37460          }
37461          program { name: "hide_icon";
37462             signal: "elm,state,icon,hidden";
37463             source: "elm";
37464             action: STATE_SET "default" 0.0;
37465             target: "elm.swallow.icon";
37466          }
37467          program { name: "show_end";
37468             signal: "elm,state,end,visible";
37469             source: "elm";
37470             action: STATE_SET "visible" 0.0;
37471             target: "elm.swallow.end";
37472          }
37473          program { name: "hide_end";
37474             signal: "elm,state,end,hidden";
37475             source: "elm";
37476             action: STATE_SET "default" 0.0;
37477             target: "elm.swallow.end";
37478          }
37479       }
37480    }
37481 }
37482
37483
37484
37485