Elementary index edc: Test rectangle is now invisible.
[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                image.middle: SOLID;
1975             }
1976             description { state: "disabled" 0.0;
1977                inherit:  "default" 0.0;
1978                image {
1979                   normal: "bt_dis_base.png";
1980                   border: 4 4 4 4;
1981                }
1982             }
1983          }
1984          part { name: "elm.swallow.content";
1985             type: SWALLOW;
1986             description { state: "default" 0.0;
1987                fixed: 1 0;
1988                visible: 0;
1989                align: 0.0 0.5;
1990                rel1.offset: 4 4;
1991                rel2.offset: 3 -5;
1992                rel2.relative: 0.0 1.0;
1993             }
1994             description { state: "visible" 0.0;
1995                inherit: "default" 0.0;
1996                fixed: 1 0;
1997                visible: 1;
1998                aspect: 1.0 1.0;
1999 //               aspect_preference: VERTICAL;
2000                rel2.offset: 4 -5;
2001             }
2002             description { state: "icononly" 0.0;
2003                inherit: "default" 0.0;
2004                fixed: 0 0;
2005                visible: 1;
2006                align: 0.5 0.5;
2007 //               aspect: 1.0 1.0;
2008                rel2.offset: -5 -5;
2009                rel2.relative: 1.0 1.0;
2010 //               aspect_preference: VERTICAL;
2011             }
2012          }
2013          part {
2014             name:          "elm.text";
2015             type:          TEXT;
2016             effect:        SOFT_SHADOW;
2017             mouse_events:  0;
2018             scale: 1;
2019             description { state: "default" 0.0;
2020                visible: 0;
2021                rel1.to_x: "elm.swallow.content";
2022                rel1.relative: 1.0 0.0;
2023                rel1.offset: 0 4;
2024                rel2.offset: -5 -5;
2025                color: 224 224 224 255;
2026                color3: 0 0 0 64;
2027                text {
2028                   font:     "Sans,Edje-Vera";
2029                   size:     10;
2030                   min:      0 0;
2031                   align:    0.5 0.5;
2032                   text_class: "button";
2033                }
2034             }
2035             description { state: "visible" 0.0;
2036                inherit: "default" 0.0;
2037                visible: 1;
2038                text.min: 1 1;
2039             }
2040             description { state: "disabled" 0.0;
2041                inherit: "default" 0.0;
2042                color: 0 0 0 128;
2043                color3: 0 0 0 0;
2044             }
2045             description { state: "disabled_visible" 0.0;
2046                inherit: "default" 0.0;
2047                color: 0 0 0 128;
2048                color3: 0 0 0 0;
2049                visible: 1;
2050                text.min: 1 1;
2051             }
2052          }
2053          part {          name: "over1";
2054             mouse_events: 0;
2055             description { state: "default" 0.0;
2056                rel2.relative: 1.0 0.5;
2057                image {
2058                   normal: "bt_hilight.png";
2059                   border: 7 7 7 0;
2060                }
2061             }
2062             description { state: "disabled" 0.0;
2063                inherit:  "default" 0.0;
2064                image {
2065                   normal: "bt_dis_hilight.png";
2066                   border: 4 4 4 0;
2067                }
2068             }
2069          }
2070          part { name: "over2";
2071             mouse_events: 1;
2072             repeat_events: 1;
2073             ignore_flags: ON_HOLD;
2074             description { state: "default" 0.0;
2075                image {
2076                   normal: "bt_shine.png";
2077                   border: 7 7 7 7;
2078                }
2079             }
2080             description { state: "disabled" 0.0;
2081                inherit:  "default" 0.0;
2082                visible: 0;
2083             }
2084          }
2085          part { name: "over3";
2086             mouse_events: 1;
2087             repeat_events: 1;
2088             description { state: "default" 0.0;
2089                color: 255 255 255 0;
2090                image {
2091                   normal: "bt_glow.png";
2092                   border: 12 12 12 12;
2093                }
2094                fill.smooth : 0;
2095             }
2096             description { state: "clicked" 0.0;
2097                inherit:  "default" 0.0;
2098                color: 255 255 255 255;
2099             }
2100          }
2101           part { name: "disabler";
2102             type: RECT;
2103             description { state: "default" 0.0;
2104                color: 0 0 0 0;
2105                visible: 0;
2106             }
2107             description { state: "disabled" 0.0;
2108                inherit: "default" 0.0;
2109                visible: 1;
2110             }
2111          }
2112       }
2113       programs {
2114          program {
2115             name:   "button_click";
2116             signal: "mouse,down,1";
2117             source: "over2";
2118             action: SIGNAL_EMIT "elm,action,press" "";
2119             after: "button_click_anim";
2120          }
2121          program {
2122             name:   "button_click_anim";
2123             action: STATE_SET "clicked" 0.0;
2124             target: "button_image";
2125          }
2126          program {
2127             name:   "button_unclick";
2128             signal: "mouse,up,1";
2129             source: "over3";
2130             action: SIGNAL_EMIT "elm,action,unpress" "";
2131             after: "button_unclick_anim";
2132          }
2133          program {
2134             name:   "button_pressed_anim";
2135             signal: "elm,anim,activate";
2136             source: "elm";
2137             action: STATE_SET "clicked" 0.0;
2138             target: "button_image";
2139             target: "over3";
2140             after: "button_unpressed_anim";
2141          }
2142          program {
2143             name:   "button_unpressed_anim";
2144             action: STATE_SET "default" 0.0;
2145             transition: DECELERATE 0.5;
2146             target: "button_image";
2147             target: "over3";
2148          }
2149          program {
2150             name:   "button_unclick_anim";
2151             action: STATE_SET "default" 0.0;
2152             target: "button_image";
2153          }
2154          program {
2155             name:   "button_click2";
2156             signal: "mouse,down,1";
2157             source: "over3";
2158             action: STATE_SET "clicked" 0.0;
2159             target: "over3";
2160          }
2161          program {
2162             name:   "button_unclick2";
2163             signal: "mouse,up,1";
2164             source: "over3";
2165             action: STATE_SET "default" 0.0;
2166             transition: DECELERATE 0.5;
2167             target: "over3";
2168          }
2169          program {
2170             name:   "button_unclick3";
2171             signal: "mouse,clicked,1";
2172             source: "over2";
2173             action: SIGNAL_EMIT "elm,action,click" "";
2174          }
2175          program { name: "text_show";
2176             signal: "elm,state,text,visible";
2177             source: "elm";
2178             script {
2179                new st[31];
2180                new Float:vl;
2181                get_state(PART:"elm.swallow.content", st, 30, vl);
2182                if (!strcmp(st, "icononly"))
2183                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2184                set_state(PART:"elm.text", "visible", 0.0);
2185             }
2186          }
2187          program { name: "text_hide";
2188             signal: "elm,state,text,hidden";
2189             source: "elm";
2190             script {
2191                new st[31];
2192                new Float:vl;
2193                get_state(PART:"elm.swallow.content", st, 30, vl);
2194                if (!strcmp(st, "visible"))
2195                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2196                set_state(PART:"elm.text", "default", 0.0);
2197             }
2198          }
2199          program { name: "icon_show";
2200             signal: "elm,state,icon,visible";
2201             source: "elm";
2202             script {
2203                new st[31];
2204                new Float:vl;
2205                get_state(PART:"elm.text", st, 30, vl);
2206                if (!strcmp(st, "visible"))
2207                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2208                else
2209                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2210             }
2211          }
2212          program { name: "icon_hide";
2213             signal: "elm,state,icon,hidden";
2214             source: "elm";
2215             action:  STATE_SET "default" 0.0;
2216             target: "elm.swallow.content";
2217          }
2218          program { name: "disable";
2219             signal: "elm,state,disabled";
2220             source: "elm";
2221             action: STATE_SET "disabled" 0.0;
2222             target: "button_image";
2223             target: "over1";
2224             target: "over2";
2225             target: "disabler";
2226             after: "disable_text";
2227          }
2228          program { name: "disable_text";
2229             script {
2230                new st[31];
2231                new Float:vl;
2232                get_state(PART:"elm.text", st, 30, vl);
2233                if (!strcmp(st, "visible"))
2234                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2235                else
2236                  set_state(PART:"elm.text", "disabled", 0.0);
2237             }
2238          }
2239          program { name: "enable";
2240             signal: "elm,state,enabled";
2241             source: "elm";
2242             action: STATE_SET "default" 0.0;
2243             target: "button_image";
2244             target: "over1";
2245             target: "over2";
2246             target: "disabler";
2247             after: "enable_text";
2248          }
2249          program { name: "enable_text";
2250             script {
2251                new st[31];
2252                new Float:vl;
2253                get_state(PART:"elm.text", st, 30, vl);
2254                if (!strcmp(st, "disabled_visible"))
2255                  set_state(PART:"elm.text", "visible", 0.0);
2256                else
2257                  set_state(PART:"elm.text", "default", 0.0);
2258             }
2259          }
2260       }
2261    }
2262
2263    group { name: "elm/button/base/hoversel_vertical/default";
2264       alias: "elm/button/base/hoversel_vertical/entry";
2265       alias: "elm/button/base/hoversel_horizontal/default";
2266       alias: "elm/button/base/hoversel_horizontal/entry";
2267       images {
2268          image: "bt_base1.png" COMP;
2269          image: "bt_base2.png" COMP;
2270          image: "bt_hilight.png" COMP;
2271          image: "bt_shine.png" COMP;
2272          image: "bt_glow.png" COMP;
2273          image: "updown.png" COMP;
2274          image: "bt_dis_base.png" COMP;
2275          image: "bt_dis_hilight.png" COMP;
2276       }
2277       parts {
2278          part { name: "button_image";
2279             mouse_events: 1;
2280             description { state: "default" 0.0;
2281                image {
2282                   normal: "bt_base2.png";
2283                   border: 7 7 7 7;
2284                }
2285                image.middle: SOLID;
2286             }
2287             description { state: "clicked" 0.0;
2288                inherit: "default" 0.0;
2289                image.normal: "bt_base1.png";
2290                image.middle: SOLID;
2291             }
2292             description { state: "disabled" 0.0;
2293                inherit:  "default" 0.0;
2294                image {
2295                   normal: "bt_dis_base.png";
2296                   border: 4 4 4 4;
2297                }
2298             }
2299          }
2300          part { name: "arrow";
2301             mouse_events: 0;
2302             description { state: "default" 0.0;
2303                image.normal: "updown.png";
2304                aspect: 0.6666666666 0.6666666666;
2305                aspect_preference: VERTICAL;
2306                rel1.offset: 6 7;
2307                rel2.offset: 6 -7;
2308                rel2.relative: 0.0 1.0;
2309                align: 0.0 0.5;
2310             }
2311          }
2312          part { name: "elm.swallow.content";
2313             type: SWALLOW;
2314             description { state: "default" 0.0;
2315                fixed: 1 0;
2316                visible: 0;
2317                align: 0.0 0.5;
2318                rel1 {
2319                   to_x: "arrow";
2320                   offset: 2 4;
2321                   relative: 1.0 0.0;
2322                }
2323                rel2 {
2324                   to_x: "arrow";
2325                   offset: 1 -5;
2326                   relative: 1.0 1.0;
2327                }
2328             }
2329             description { state: "visible" 0.0;
2330                inherit: "default" 0.0;
2331                fixed: 0 0;
2332                visible: 1;
2333                aspect: 1.0 1.0;
2334                aspect_preference: VERTICAL;
2335                rel2.offset: 2 -5;
2336             }
2337             description { state: "icononly" 0.0;
2338                inherit: "default" 0.0;
2339                fixed: 0 0;
2340                visible: 1;
2341                align: 0.5 0.5;
2342                aspect: 1.0 1.0;
2343                rel1 {
2344                   to_x: "button_image";
2345                   offset: -5 -5;
2346                   relative: 1.0 1.0;
2347                }
2348                aspect_preference: VERTICAL;
2349             }
2350          }
2351          part {
2352             name:          "elm.text";
2353             type:          TEXT;
2354             effect:        SOFT_SHADOW;
2355             mouse_events:  0;
2356             scale: 1;
2357             description { state: "default" 0.0;
2358                visible: 0;
2359                rel1.to_x: "elm.swallow.content";
2360                rel1.relative: 1.0 0.0;
2361                rel1.offset: 0 4;
2362                rel2.offset: -5 -5;
2363                color: 224 224 224 255;
2364                color3: 0 0 0 64;
2365                text {
2366                   font:     "Sans,Edje-Vera";
2367                   size:     10;
2368                   min:      0 0;
2369                   align:    0.5 0.5;
2370                   text_class: "button";
2371                }
2372             }
2373             description { state: "visible" 0.0;
2374                inherit: "default" 0.0;
2375                visible: 1;
2376                text.min: 1 1;
2377             }
2378             description { state: "disabled" 0.0;
2379                inherit: "default" 0.0;
2380                color: 0 0 0 128;
2381                color3: 0 0 0 0;
2382             }
2383             description { state: "disabled_visible" 0.0;
2384                inherit: "default" 0.0;
2385                color: 0 0 0 128;
2386                color3: 0 0 0 0;
2387                visible: 1;
2388                text.min: 1 1;
2389             }
2390          }
2391          part {          name: "over1";
2392             mouse_events: 0;
2393             description { state: "default" 0.0;
2394                rel2.relative: 1.0 0.5;
2395                image {
2396                   normal: "bt_hilight.png";
2397                   border: 7 7 7 0;
2398                }
2399             }
2400             description { state: "disabled" 0.0;
2401                inherit:  "default" 0.0;
2402                image {
2403                   normal: "bt_dis_hilight.png";
2404                   border: 4 4 4 0;
2405                }
2406             }
2407          }
2408          part { name: "over2";
2409             mouse_events: 1;
2410             repeat_events: 1;
2411             ignore_flags: ON_HOLD;
2412             description { state: "default" 0.0;
2413                image {
2414                   normal: "bt_shine.png";
2415                   border: 7 7 7 7;
2416                }
2417             }
2418             description { state: "disabled" 0.0;
2419                inherit:  "default" 0.0;
2420                visible: 0;
2421             }
2422          }
2423          part { name: "over3";
2424             mouse_events: 1;
2425             repeat_events: 1;
2426             description { state: "default" 0.0;
2427                color: 255 255 255 0;
2428                image {
2429                   normal: "bt_glow.png";
2430                   border: 12 12 12 12;
2431                }
2432                fill.smooth : 0;
2433             }
2434             description { state: "clicked" 0.0;
2435                inherit:  "default" 0.0;
2436                visible: 1;
2437                color: 255 255 255 255;
2438             }
2439          }
2440           part { name: "disabler";
2441             type: RECT;
2442             description { state: "default" 0.0;
2443                color: 0 0 0 0;
2444                visible: 0;
2445             }
2446             description { state: "disabled" 0.0;
2447                inherit: "default" 0.0;
2448                visible: 1;
2449             }
2450          }
2451       }
2452       programs {
2453          program {
2454             name:   "button_click";
2455             signal: "mouse,down,1";
2456             source: "over2";
2457             action: STATE_SET "clicked" 0.0;
2458             target: "button_image";
2459          }
2460          program {
2461             name:   "button_unclick";
2462             signal: "mouse,up,1";
2463             source: "over2";
2464             action: STATE_SET "default" 0.0;
2465             target: "button_image";
2466          }
2467          program {
2468             name:   "button_click2";
2469             signal: "mouse,down,1";
2470             source: "over3";
2471             action: STATE_SET "clicked" 0.0;
2472             target: "over3";
2473          }
2474          program {
2475             name:   "button_unclick2";
2476             signal: "mouse,up,1";
2477             source: "over3";
2478             action: STATE_SET "default" 0.0;
2479             transition: DECELERATE 0.5;
2480             target: "over3";
2481          }
2482          program {
2483             name:   "button_unclick3";
2484             signal: "mouse,up,1";
2485             source: "over2";
2486             action: SIGNAL_EMIT "elm,action,click" "";
2487          }
2488          program { name: "text_show";
2489             signal: "elm,state,text,visible";
2490             source: "elm";
2491             script {
2492                new st[31];
2493                new Float:vl;
2494                get_state(PART:"elm.swallow.content", st, 30, vl);
2495                if (!strcmp(st, "icononly"))
2496                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2497                set_state(PART:"elm.text", "visible", 0.0);
2498             }
2499          }
2500          program { name: "text_hide";
2501             signal: "elm,state,text,hidden";
2502             source: "elm";
2503             script {
2504                new st[31];
2505                new Float:vl;
2506                get_state(PART:"elm.swallow.content", st, 30, vl);
2507                if (!strcmp(st, "visible"))
2508                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2509                set_state(PART:"elm.text", "default", 0.0);
2510             }
2511          }
2512          program { name: "icon_show";
2513             signal: "elm,state,icon,visible";
2514             source: "elm";
2515             script {
2516                new st[31];
2517                new Float:vl;
2518                get_state(PART:"elm.text", st, 30, vl);
2519                if (!strcmp(st, "visible"))
2520                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2521                else
2522                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2523             }
2524          }
2525          program { name: "icon_hide";
2526             signal: "elm,state,icon,hidden";
2527             source: "elm";
2528             action:  STATE_SET "default" 0.0;
2529             target: "elm.swallow.content";
2530          }
2531          program { name: "disable";
2532             signal: "elm,state,disabled";
2533             source: "elm";
2534             action: STATE_SET "disabled" 0.0;
2535             target: "button_image";
2536             target: "over1";
2537             target: "over2";
2538             target: "disabler";
2539             after: "disable_text";
2540          }
2541          program { name: "disable_text";
2542             script {
2543                new st[31];
2544                new Float:vl;
2545                get_state(PART:"elm.text", st, 30, vl);
2546                if (!strcmp(st, "visible"))
2547                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2548                else
2549                  set_state(PART:"elm.text", "disabled", 0.0);
2550             }
2551          }
2552          program { name: "enable";
2553             signal: "elm,state,enabled";
2554             source: "elm";
2555             action: STATE_SET "default" 0.0;
2556             target: "button_image";
2557             target: "over1";
2558             target: "over2";
2559             target: "disabler";
2560             after: "enable_text";
2561          }
2562          program { name: "enable_text";
2563             script {
2564                new st[31];
2565                new Float:vl;
2566                get_state(PART:"elm.text", st, 30, vl);
2567                if (!strcmp(st, "disabled_visible"))
2568                  set_state(PART:"elm.text", "visible", 0.0);
2569                else
2570                  set_state(PART:"elm.text", "default", 0.0);
2571             }
2572          }
2573       }
2574    }
2575
2576    group { name: "elm/button/base/hoversel_vertical_entry/default";
2577       alias: "elm/button/base/hoversel_vertical_entry/entry";
2578       alias: "elm/button/base/hoversel_horizontal_entry/default";
2579       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2580       images {
2581          image: "hoversel_entry_bg.png" COMP;
2582       }
2583       parts {
2584          part { name: "button_image";
2585             mouse_events: 1;
2586             description { state: "default" 0.0;
2587                color: 255 255 255 0;
2588                image.normal: "hoversel_entry_bg.png";
2589                image.border: 0 0 2 2;
2590                fill.smooth: 0;
2591             }
2592             description { state: "clicked" 0.0;
2593                inherit: "default" 0.0;
2594                color: 255 255 255 255;
2595             }
2596          }
2597          part { name: "elm.swallow.content";
2598             type: SWALLOW;
2599             description { state: "default" 0.0;
2600                visible: 0;
2601                align: 0.0 0.5;
2602                rel1.offset: 4 4;
2603                rel2.offset: 3 -5;
2604                rel2.relative: 0.0 1.0;
2605             }
2606             description { state: "visible" 0.0;
2607                inherit: "default" 0.0;
2608                visible: 1;
2609                aspect: 1.0 1.0;
2610                aspect_preference: VERTICAL;
2611                rel2.offset: 4 -5;
2612             }
2613             description { state: "icononly" 0.0;
2614                inherit: "default" 0.0;
2615                visible: 1;
2616                align: 0.5 0.5;
2617                aspect: 1.0 1.0;
2618                rel2.offset: -5 -5;
2619                rel2.relative: 1.0 1.0;
2620                aspect_preference: VERTICAL;
2621             }
2622          }
2623          part { name: "textvis";
2624             type: RECT;
2625             mouse_events: 0;
2626             description { state: "default" 0.0;
2627                visible: 0;
2628             }
2629             description { state: "visible" 0.0;
2630                visible: 1;
2631             }
2632          }
2633          part {
2634             name:          "elm.text";
2635             type:          TEXT;
2636             effect:        SOFT_SHADOW;
2637             mouse_events:  0;
2638             scale: 1;
2639             clip_to:       "textvis";
2640             description { state: "default" 0.0;
2641                rel1.to_x: "elm.swallow.content";
2642                rel1.relative: 1.0 0.0;
2643                rel1.offset: 0 4;
2644                rel2.offset: -5 -5;
2645                color: 224 224 224 255;
2646                color3: 0 0 0 64;
2647                text {
2648                   font:     "Sans,Edje-Vera";
2649                   size:     10;
2650                   min:      0 0;
2651                   align:    0.5 0.5;
2652                   text_class: "button";
2653                }
2654             }
2655             description { state: "visible" 0.0;
2656                inherit: "default" 0.0;
2657                text.min: 1 1;
2658             }
2659             description { state: "clicked" 0.0;
2660                inherit: "default" 0.0;
2661                text.min: 1 1;
2662                color: 0 0 0 255;
2663                color3: 0 0 0 0;
2664             }
2665          }
2666          part { name: "over2";
2667             type: RECT;
2668             mouse_events: 1;
2669             description { state: "default" 0.0;
2670                color: 0 0 0 0;
2671             }
2672          }
2673       }
2674       programs {
2675          program {
2676             name:   "button_click";
2677             signal: "mouse,down,1";
2678             source: "over2";
2679             action: STATE_SET "clicked" 0.0;
2680             target: "button_image";
2681             target: "elm.text";
2682          }
2683          program {
2684             name:   "button_unclick";
2685             signal: "mouse,up,1";
2686             source: "over2";
2687             action: STATE_SET "default" 0.0;
2688             target: "button_image";
2689             target: "elm.text";
2690          }
2691          program {
2692             name:   "button_unclick3";
2693             signal: "mouse,up,1";
2694             source: "over2";
2695             action: SIGNAL_EMIT "elm,action,click" "";
2696          }
2697          program { name: "text_show";
2698             signal: "elm,state,text,visible";
2699             source: "elm";
2700             script {
2701                new st[31];
2702                new Float:vl;
2703                get_state(PART:"elm.swallow.content", st, 30, vl);
2704                if (!strcmp(st, "icononly"))
2705                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2706                set_state(PART:"textvis", "visible", 0.0);
2707                set_state(PART:"elm.text", "visible", 0.0);
2708             }
2709          }
2710          program { name: "text_hide";
2711             signal: "elm,state,text,hidden";
2712             source: "elm";
2713             script {
2714                new st[31];
2715                new Float:vl;
2716                get_state(PART:"elm.swallow.content", st, 30, vl);
2717                if (!strcmp(st, "visible"))
2718                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2719                set_state(PART:"textvis", "default", 0.0);
2720                set_state(PART:"elm.text", "default", 0.0);
2721             }
2722          }
2723          program { name: "icon_show";
2724             signal: "elm,state,icon,visible";
2725             source: "elm";
2726             script {
2727                new st[31];
2728                new Float:vl;
2729                get_state(PART:"textvis", st, 30, vl);
2730                if (!strcmp(st, "visible"))
2731                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2732                else
2733                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2734             }
2735          }
2736          program { name: "icon_hide";
2737             signal: "elm,state,icon,hidden";
2738             source: "elm";
2739             action:  STATE_SET "default" 0.0;
2740             target: "elm.swallow.content";
2741          }
2742       }
2743    }
2744
2745    group { name: "elm/button/base/anchor";
2746       images {
2747          image: "bt_base1.png" COMP;
2748          image: "bt_base2.png" COMP;
2749          image: "bt_hilight.png" COMP;
2750          image: "bt_shine.png" COMP;
2751          image: "bt_glow.png" COMP;
2752          image: "bt_dis_base.png" COMP;
2753          image: "bt_dis_hilight.png" COMP;
2754       }
2755       parts {
2756          part { name: "button_image";
2757             mouse_events: 1;
2758             description { state: "default" 0.0;
2759           min: 15 15;
2760            color: 255 255 255 0;
2761                image {
2762                   normal: "bt_base2.png";
2763                   border: 7 7 7 7;
2764                }
2765                image.middle: SOLID;
2766             }
2767        description { state: "visible" 0.0;
2768                inherit: "default" 0.0;
2769           color: 255 255 255 255;
2770             }
2771             description { state: "clicked" 0.0;
2772                inherit: "default" 0.0;
2773           inherit: "visible" 0.0;
2774                image.normal: "bt_base1.png";
2775                image.middle: SOLID;
2776             }
2777             description { state: "disabled" 0.0;
2778                inherit:  "default" 0.0;
2779           inherit: "visible" 0.0;
2780                image {
2781                   normal: "bt_dis_base.png";
2782                   border: 4 4 4 4;
2783                }
2784             }
2785          }
2786          part { name: "elm.swallow.content";
2787             type: SWALLOW;
2788             description { state: "default" 0.0;
2789                fixed: 1 0;
2790                visible: 0;
2791                align: 0.0 0.5;
2792                rel1.offset: 4 4;
2793                rel2.offset: 3 -5;
2794                rel2.relative: 0.0 1.0;
2795             }
2796             description { state: "visible" 0.0;
2797                inherit: "default" 0.0;
2798                fixed: 1 0;
2799                visible: 1;
2800                aspect: 1.0 1.0;
2801                aspect_preference: VERTICAL;
2802                rel2.offset: 4 -5;
2803             }
2804             description { state: "icononly" 0.0;
2805                inherit: "default" 0.0;
2806                fixed: 0 0;
2807                visible: 1;
2808                align: 0.5 0.5;
2809                aspect: 1.0 1.0;
2810                rel2.offset: -5 -5;
2811                rel2.relative: 1.0 1.0;
2812                aspect_preference: VERTICAL;
2813             }
2814          }
2815          part {
2816             name:          "elm.text";
2817             type:          TEXT;
2818             effect:        SOFT_SHADOW;
2819             mouse_events:  0;
2820             scale: 1;
2821             description { state: "default" 0.0;
2822                visible: 0;
2823                rel1.to_x: "elm.swallow.content";
2824                rel1.relative: 1.0 0.0;
2825                rel1.offset: 0 4;
2826                rel2.offset: -5 -5;
2827                color: 224 224 224 255;
2828                color3: 0 0 0 64;
2829                text {
2830                   font:     "Sans,Edje-Vera";
2831                   size:     10;
2832                   min:      0 0;
2833                   align:    0.5 0.5;
2834                   text_class: "button";
2835                }
2836             }
2837             description { state: "visible" 0.0;
2838                inherit: "default" 0.0;
2839                visible: 1;
2840                text.min: 1 1;
2841             }
2842             description { state: "disabled" 0.0;
2843                inherit: "default" 0.0;
2844                color: 0 0 0 128;
2845                color3: 0 0 0 0;
2846             }
2847             description { state: "disabled_visible" 0.0;
2848                inherit: "default" 0.0;
2849                color: 0 0 0 128;
2850                color3: 0 0 0 0;
2851                visible: 1;
2852                text.min: 1 1;
2853             }
2854          }
2855          part {          name: "over1";
2856             mouse_events: 0;
2857             description { state: "default" 0.0;
2858            color: 255 255 255 0;
2859                rel2.relative: 1.0 0.5;
2860                image {
2861                   normal: "bt_hilight.png";
2862                   border: 7 7 7 0;
2863                }
2864             }
2865        description { state: "visible" 0.0;
2866                inherit:  "default" 0.0;
2867           color: 255 255 255 255;
2868             }
2869             description { state: "disabled" 0.0;
2870                inherit:  "default" 0.0;
2871           inherit:  "visible" 0.0;
2872                image {
2873                   normal: "bt_dis_hilight.png";
2874                   border: 4 4 4 0;
2875                }
2876             }
2877          }
2878          part { name: "over2";
2879             mouse_events: 1;
2880             repeat_events: 1;
2881             ignore_flags: ON_HOLD;
2882             description { state: "default" 0.0;
2883                image {
2884                   normal: "bt_shine.png";
2885                   border: 7 7 7 7;
2886                }
2887             }
2888             description { state: "disabled" 0.0;
2889                inherit:  "default" 0.0;
2890                visible: 0;
2891             }
2892          }
2893          part { name: "over3";
2894             mouse_events: 1;
2895             repeat_events: 1;
2896             description { state: "default" 0.0;
2897                color: 255 255 255 0;
2898                image {
2899                   normal: "bt_glow.png";
2900                   border: 12 12 12 12;
2901                }
2902                fill.smooth : 0;
2903             }
2904             description { state: "clicked" 0.0;
2905                inherit:  "default" 0.0;
2906                visible: 1;
2907                color: 255 255 255 255;
2908             }
2909          }
2910           part { name: "disabler";
2911             type: RECT;
2912             description { state: "default" 0.0;
2913                color: 0 0 0 0;
2914                visible: 0;
2915             }
2916             description { state: "disabled" 0.0;
2917                inherit: "default" 0.0;
2918                visible: 1;
2919             }
2920          }
2921       }
2922       programs {
2923     program {
2924             name:   "button_mouse_in";
2925             signal: "mouse,in";
2926             source: "over2";
2927             action: STATE_SET "visible" 0.0;
2928             target: "button_image";
2929        target: "over1";
2930        transition: DECELERATE 0.5;
2931          }
2932          program {
2933             name:   "button_mouse_out";
2934             signal: "mouse,out";
2935             source: "over2";
2936             action: STATE_SET "default" 0.0;
2937             target: "button_image";
2938        target: "over1";
2939        transition: DECELERATE 0.5;
2940          }
2941          program {
2942             name:   "button_unclick";
2943             signal: "mouse,up,1";
2944             source: "over2";
2945             action: STATE_SET "visible" 0.0;
2946             target: "button_image";
2947          }
2948          program {
2949             name:   "button_click2";
2950             signal: "mouse,down,1";
2951             source: "over3";
2952             action: STATE_SET "clicked" 0.0;
2953             target: "over3";
2954          }
2955          program {
2956             name:   "button_unclick2";
2957             signal: "mouse,up,1";
2958             source: "over3";
2959             action: STATE_SET "default" 0.0;
2960             transition: DECELERATE 0.5;
2961             target: "over3";
2962          }
2963          program {
2964             name:   "button_unclick3";
2965             signal: "mouse,up,1";
2966             source: "over2";
2967             action: SIGNAL_EMIT "elm,action,click" "";
2968          }
2969          program { name: "text_show";
2970             signal: "elm,state,text,visible";
2971             source: "elm";
2972             script {
2973                new st[31];
2974                new Float:vl;
2975                get_state(PART:"elm.swallow.content", st, 30, vl);
2976                if (!strcmp(st, "icononly"))
2977                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2978                set_state(PART:"elm.text", "visible", 0.0);
2979             }
2980          }
2981          program { name: "text_hide";
2982             signal: "elm,state,text,hidden";
2983             source: "elm";
2984             script {
2985                new st[31];
2986                new Float:vl;
2987                get_state(PART:"elm.swallow.content", st, 30, vl);
2988                if (!strcmp(st, "visible"))
2989                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2990                set_state(PART:"elm.text", "default", 0.0);
2991             }
2992          }
2993          program { name: "icon_show";
2994             signal: "elm,state,icon,visible";
2995             source: "elm";
2996             script {
2997                new st[31];
2998                new Float:vl;
2999                get_state(PART:"elm.text", st, 30, vl);
3000                if (!strcmp(st, "visible"))
3001                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3002                else
3003                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3004             }
3005          }
3006          program { name: "icon_hide";
3007             signal: "elm,state,icon,hidden";
3008             source: "elm";
3009             action:  STATE_SET "default" 0.0;
3010             target: "elm.swallow.content";
3011          }
3012          program { name: "disable";
3013             signal: "elm,state,disabled";
3014             source: "elm";
3015             action: STATE_SET "disabled" 0.0;
3016             target: "button_image";
3017             target: "over1";
3018             target: "over2";
3019             target: "disabler";
3020             after: "disable_text";
3021          }
3022          program { name: "disable_text";
3023             script {
3024                new st[31];
3025                new Float:vl;
3026                get_state(PART:"elm.text", st, 30, vl);
3027                if (!strcmp(st, "visible"))
3028                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3029                else
3030                  set_state(PART:"elm.text", "disabled", 0.0);
3031             }
3032          }
3033          program { name: "enable";
3034             signal: "elm,state,enabled";
3035             source: "elm";
3036             action: STATE_SET "default" 0.0;
3037             target: "button_image";
3038             target: "over1";
3039             target: "over2";
3040             target: "disabler";
3041             after: "enable_text";
3042          }
3043          program { name: "enable_text";
3044             script {
3045                new st[31];
3046                new Float:vl;
3047                get_state(PART:"elm.text", st, 30, vl);
3048                if (!strcmp(st, "disabled_visible"))
3049                  set_state(PART:"elm.text", "visible", 0.0);
3050                else
3051                  set_state(PART:"elm.text", "default", 0.0);
3052             }
3053          }
3054       }
3055    }
3056
3057 ///////////////////////////////////////////////////////////////////////////////
3058    group { name: "elm/toggle/base/default";
3059       images {
3060          image: "shelf_inset.png" COMP;
3061          image: "bt_basew.png" COMP;
3062          image: "bt_bases.png" COMP;
3063          image: "bt_hilightw.png" COMP;
3064          image: "tog_base_on.png" COMP;
3065          image: "tog_base_off.png" COMP;
3066          image: "tog_dis_base_on.png" COMP;
3067          image: "tog_dis_base_off.png" COMP;
3068       }
3069       script {
3070          public is_rtl;
3071       }
3072       parts {
3073          part { name: "bg";
3074             type: RECT;
3075             mouse_events: 0;
3076             scale: 1;
3077             description { state: "default" 0.0;
3078                rel1.relative: 1.0 0.0;
3079                rel1.offset: -4 3;
3080                rel2.offset: -4 -4;
3081                align: 1.0 0.5;
3082                min: 96 16;
3083                max: 96 16;
3084                aspect: 4.0 4.0;
3085                aspect_preference: VERTICAL;
3086                color: 255 255 255 255;
3087             }
3088          }
3089          part { name: "clipper";
3090             type: RECT;
3091             mouse_events: 0;
3092             description { state: "default" 0.0;
3093                rel1.to: "bg";
3094                rel2.to: "bg";
3095                color: 255 255 255 255;
3096             }
3097          }
3098          part { name: "button";
3099             type: RECT;
3100             scale: 1;
3101             clip_to: "clipper";
3102             mouse_events: 1;
3103              dragable {
3104                x: 1 1 0;
3105                y: 0 0 0;
3106                confine: "bg";
3107             }
3108             description { state: "default" 0.0;
3109                fixed: 1 1;
3110                rel1.to: "bg";
3111                rel2.to: "bg";
3112                min: 16 16;
3113                max: 16 16;
3114                aspect: 1.0 1.0;
3115                aspect_preference: VERTICAL;
3116                color: 0 0 0 0;
3117             }
3118          }
3119          part { name: "button_events";
3120             type: RECT;
3121              dragable {
3122                events: "button";
3123             }
3124             description { state: "default" 0.0;
3125                rel1.to_x: "bg";
3126                rel1.offset: 0 0;
3127                rel1.relative: 0.0 0.0;
3128                rel2.to_x: "bg";
3129                rel2.offset: -1 -1;
3130                rel2.relative: 1.0 1.0;
3131                color: 0 0 0 0;
3132             }
3133          }
3134          part { name: "onrect";
3135             type: IMAGE;
3136             scale: 1;
3137             clip_to: "clipper";
3138             mouse_events: 0;
3139             description { state: "default" 0.0;
3140                rel1.to: "button";
3141                rel1.relative: -5.0 0.0;
3142                rel2.to: "button";
3143                rel2.relative: 0.5 1.0;
3144                image.normal: "tog_base_on.png";
3145             }
3146             description { state: "disabled" 0.0;
3147                inherit: "default" 0.0;
3148                image.normal: "tog_dis_base_on.png";
3149             }
3150          }
3151          part { name: "offrect";
3152             type: IMAGE;
3153             scale: 1;
3154             clip_to: "clipper";
3155             mouse_events: 0;
3156             description { state: "default" 0.0;
3157                rel1.to: "button";
3158                rel1.relative: 0.5 0.0;
3159                rel2.to: "button";
3160                rel2.relative: 6.0 1.0;
3161                image.normal: "tog_base_off.png";
3162             }
3163             description { state: "disabled" 0.0;
3164                inherit: "default" 0.0;
3165                image.normal: "tog_dis_base_off.png";
3166             }
3167          }
3168          part { name: "elm.offtext";
3169             type: TEXT;
3170             mouse_events:  0;
3171             scale: 1;
3172             clip_to: "clipper";
3173             description { state: "default" 0.0;
3174                fixed: 1 1;
3175                rel1.to_x: "button";
3176                rel1.relative: 1.0 0.0;
3177                rel2.to_x: "offrect";
3178                color: 0 0 0 255;
3179                text {
3180                   font:     "Sans,Edje-Vera";
3181                   size:     10;
3182                   min:      0 1;
3183                   align:    0.5 0.5;
3184                   text:     "OFF";
3185                }
3186             }
3187             description { state: "disabled" 0.0;
3188                inherit: "default" 0.0;
3189                color: 128 128 128 128;
3190             }
3191          }
3192          part { name: "elm.ontext";
3193             type: TEXT;
3194             effect: SOFT_SHADOW;
3195             mouse_events:  0;
3196             scale: 1;
3197             clip_to: "clipper";
3198             description { state: "default" 0.0;
3199                fixed: 1 1;
3200                rel1.to_x: "onrect";
3201                rel1.offset: 1 1;
3202                rel2.to_x: "button";
3203                rel2.offset: 0 0;
3204                rel2.relative: 0.0 1.0;
3205                color: 224 224 224 255;
3206                color3: 0 0 0 64;
3207                text {
3208                   font:     "Sans,Edje-Vera";
3209                   size:     10;
3210                   min:      0 1;
3211                   align:    0.5 0.5;
3212                   text:     "ON";
3213                }
3214             }
3215             description { state: "disabled" 0.0;
3216                inherit: "default" 0.0;
3217                color: 128 128 128 128;
3218                color3: 0 0 0 24;
3219             }
3220          }
3221          part { name: "conf_over";
3222             mouse_events:  0;
3223             description { state: "default" 0.0;
3224                rel1.offset: -1 -1;
3225                rel1.to: "bg";
3226                rel2.offset: 0 0;
3227                rel2.to: "bg";
3228                image {
3229                   normal: "shelf_inset.png";
3230                   border: 7 7 7 7;
3231                   middle: 0;
3232                }
3233                fill.smooth : 0;
3234             }
3235          }
3236          part { name: "button0";
3237             mouse_events:  0;
3238             clip_to: "clipper";
3239             description { state: "default" 0.0;
3240                rel1.to: "button2";
3241                rel1.offset: -4 -4;
3242                rel2.to: "button2";
3243                rel2.offset: 3 3;
3244                image {
3245                   normal: "bt_bases.png";
3246                   border: 11 11 11 11;
3247                }
3248                image.middle: SOLID;
3249                color: 255 255 255 128;
3250             }
3251          }
3252          part { name: "button2";
3253             mouse_events:  0;
3254             clip_to: "clipper";
3255             description { state: "default" 0.0;
3256                rel1.to: "button";
3257                rel1.offset: -2 -2;
3258                rel2.to: "button";
3259                rel2.offset: 1 1;
3260                image {
3261                   normal: "bt_basew.png";
3262                   border: 7 7 7 7;
3263                }
3264                image.middle: SOLID;
3265             }
3266          }
3267          part { name: "button3";
3268             mouse_events:  0;
3269             clip_to: "clipper";
3270             description { state: "default" 0.0;
3271                rel1.to: "button2";
3272                rel2.to: "button2";
3273                rel2.relative: 1.0 0.5;
3274                image {
3275                   normal: "bt_hilightw.png";
3276                   border: 4 4 4 0;
3277                }
3278             }
3279          }
3280          part { name: "elm.swallow.content";
3281             type: SWALLOW;
3282             description { state: "default" 0.0;
3283                fixed: 1 0;
3284                visible: 0;
3285                align: 0.0 0.5;
3286                rel1.offset: 4 4;
3287                rel2.relative: 0.0 1.0;
3288                rel2.offset: 3 -5;
3289             }
3290             description { state: "visible" 0.0;
3291                inherit: "default" 0.0;
3292                visible: 1;
3293                aspect: 1.0 1.0;
3294                rel2.offset: 4 -5;
3295             }
3296             description { state: "disabled" 0.0;
3297                inherit: "default" 0.0;
3298                color: 128 128 128 128;
3299             }
3300             description { state: "disabled_visible" 0.0;
3301                inherit: "default" 0.0;
3302                color: 128 128 128 128;
3303                visible: 1;
3304                aspect: 1.0 1.0;
3305             }
3306          }
3307          part { name: "elm.text";
3308             type: TEXT;
3309             mouse_events: 0;
3310             scale: 1;
3311             description { state: "default" 0.0;
3312                visible: 0;
3313                rel1.to_x: "elm.swallow.content";
3314                rel1.relative: 1.0 0.0;
3315                rel1.offset: 0 4;
3316                rel2.to_x: "bg";
3317                rel2.relative: 0.0 1.0;
3318                rel2.offset: -5 -5;
3319                color: 0 0 0 255;
3320                text {
3321                   font: "Sans,Edje-Vera";
3322                   size: 10;
3323                   min: 0 0;
3324                   align: 0.0 0.5;
3325                }
3326             }
3327             description { state: "visible" 0.0;
3328                inherit: "default" 0.0;
3329                visible: 1;
3330                text.min: 1 1;
3331             }
3332             description { state: "disabled" 0.0;
3333                inherit: "default" 0.0;
3334                color: 128 128 128 128;
3335             }
3336             description { state: "disabled_visible" 0.0;
3337                inherit: "default" 0.0;
3338                color: 128 128 128 128;
3339                visible: 1;
3340                text.min: 1 1;
3341             }
3342          }
3343           part { name: "disabler";
3344             type: RECT;
3345             description { state: "default" 0.0;
3346                color: 0 0 0 0;
3347                visible: 0;
3348             }
3349             description { state: "disabled" 0.0;
3350                inherit: "default" 0.0;
3351                visible: 1;
3352             }
3353          }
3354       }
3355       programs {
3356          program { name:   "drag_end";
3357             signal: "mouse,up,1";
3358             source: "button";
3359             script {
3360                new Float:dx, Float:dy;
3361                get_drag(PART:"button", dx, dy);
3362                if (dx > 0.5)
3363                  {
3364                     set_drag(PART:"button", 1.0, 0.0);
3365                  }
3366                else
3367                  {
3368                     set_drag(PART:"button", 0.0, 0.0);
3369                  }
3370                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3371                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3372                   emit("elm,action,toggle,on", "");
3373                }
3374                else {
3375                   emit("elm,action,toggle,off", "");
3376                }
3377        
3378             }
3379          }
3380          program { name: "toggle_on";
3381             signal: "elm,state,toggle,on";
3382             source: "elm";
3383             script {
3384                new Float:drag;
3385                if (get_int(is_rtl) == 0) {
3386                   drag = 100.0;
3387                }
3388                else {
3389                   drag = 0.0;
3390                }
3391                set_drag(PART:"button", drag, 0.0);
3392             }
3393          }
3394          program { name: "toggle_off";
3395             signal: "elm,state,toggle,off";
3396             source: "elm";
3397             script {
3398                new Float:drag;
3399                if (get_int(is_rtl) == 0) {
3400                   drag = 0.0;
3401                }
3402                else {
3403                   drag = 100.0;
3404                }
3405                set_drag(PART:"button", drag, 0.0);
3406             }
3407          }
3408          program { name: "text_show";
3409             signal: "elm,state,text,visible";
3410             source: "elm";
3411             action:  STATE_SET "visible" 0.0;
3412             target: "elm.text";
3413          }
3414          program { name: "text_hide";
3415             signal: "elm,state,text,hidden";
3416             source: "elm";
3417             action:  STATE_SET "default" 0.0;
3418             target: "elm.text";
3419          }
3420          program { name: "icon_show";
3421             signal: "elm,state,icon,visible";
3422             source: "elm";
3423             action:  STATE_SET "visible" 0.0;
3424             target: "elm.swallow.content";
3425          }
3426          program { name: "icon_hide";
3427             signal: "elm,state,icon,hidden";
3428             source: "elm";
3429             action:  STATE_SET "default" 0.0;
3430             target: "elm.swallow.content";
3431          }
3432          program { name: "disable";
3433             signal: "elm,state,disabled";
3434             source: "elm";
3435             action: STATE_SET "disabled" 0.0;
3436             target: "elm.offtext";
3437             target: "elm.ontext";
3438             target: "onrect";
3439             target: "offrect";
3440             target: "disabler";
3441             after: "disable_text";
3442          }
3443          program { name: "disable_text";
3444             script {
3445                new st[31];
3446                new Float:vl;
3447                get_state(PART:"elm.text", st, 30, vl);
3448                if (!strcmp(st, "visible"))
3449                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3450                else
3451                  set_state(PART:"elm.text", "disabled", 0.0);
3452
3453                get_state(PART:"elm.swallow.content", st, 30, vl);
3454                if (!strcmp(st, "visible"))
3455                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3456                else
3457                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3458             }
3459          }
3460          program { name: "enable";
3461             signal: "elm,state,enabled";
3462             source: "elm";
3463             action: STATE_SET "default" 0.0;
3464             target: "disabler";
3465             target: "onrect";
3466             target: "offrect";
3467             after: "enable_text";
3468          }
3469          program { name: "enable_text";
3470             script {
3471                new st[31];
3472                new Float:vl;
3473                get_state(PART:"elm.text", st, 30, vl);
3474                if (!strcmp(st, "disabled_visible"))
3475                  set_state(PART:"elm.text", "visible", 0.0);
3476                else
3477                  set_state(PART:"elm.text", "default", 0.0);
3478
3479                get_state(PART:"elm.swallow.content", st, 30, vl);
3480                if (!strcmp(st, "visible"))
3481                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3482                else
3483                  set_state(PART:"elm.swallow.content", "default", 0.0);
3484             }
3485          }
3486          program { name: "to_rtl";
3487             signal: "edje,state,rtl";
3488             source: "edje";
3489             script {
3490                set_int(is_rtl, 1);
3491             }
3492          }
3493          program { name: "to_ltr";
3494             signal: "edje,state,ltr";
3495             source: "edje";
3496             script {
3497                set_int(is_rtl, 0);
3498             }
3499          }
3500       }
3501    }
3502
3503 ///////////////////////////////////////////////////////////////////////////////
3504    group { name: "elm/clock/flipdigit/default";
3505       images {
3506          image: "flip_base.png" COMP;
3507          image: "flip_base_shad.png" COMP;
3508          image: "flip_shad.png" COMP;
3509          image: "flip_0t.png" COMP;
3510          image: "flip_0b.png" COMP;
3511          image: "flip_1t.png" COMP;
3512          image: "flip_1b.png" COMP;
3513          image: "flip_2t.png" COMP;
3514          image: "flip_2b.png" COMP;
3515          image: "flip_3t.png" COMP;
3516          image: "flip_3b.png" COMP;
3517          image: "flip_4t.png" COMP;
3518          image: "flip_4b.png" COMP;
3519          image: "flip_5t.png" COMP;
3520          image: "flip_5b.png" COMP;
3521          image: "flip_6t.png" COMP;
3522          image: "flip_6b.png" COMP;
3523          image: "flip_7t.png" COMP;
3524          image: "flip_7b.png" COMP;
3525          image: "flip_8t.png" COMP;
3526          image: "flip_8b.png" COMP;
3527          image: "flip_9t.png" COMP;
3528          image: "flip_9b.png" COMP;
3529          image: "arrow_up.png" COMP;
3530          image: "arrow_down.png" COMP;
3531       }
3532       script {
3533          public v0_cur, v0_pre, v0_lock, v0_next;
3534
3535        public animator2(val, Float:pos) {
3536           new st1[11], st2[11], v;
3537
3538           v = get_int(v0_cur);
3539           snprintf(st1, 10, "%ih", v);
3540           snprintf(st2, 10, "%i", v);
3541           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3542           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3543           if (pos >= 1.0) {
3544              set_state(PART:"sh", "default", 0.0);
3545              set_int(v0_lock, 0);
3546              v = get_int(v0_next);
3547              if (v >= 0) {
3548                 set_int(v0_next, -1);
3549                 message(MSG_INT, 1, v);
3550              }
3551           }
3552        }
3553        public animator1(val, Float:pos) {
3554           new st1[11], st2[11], v;
3555
3556           v = get_int(v0_pre);
3557           snprintf(st1, 10, "%i", v);
3558           snprintf(st2, 10, "%ih", v);
3559           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3560           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3561           if (pos >= 1.0) anim(0.2, "animator2", val);
3562        }
3563        public message(Msg_Type:type, id, ...) {
3564           if ((type == MSG_INT) && (id == 1)) {
3565              new value, v, buf[11];
3566
3567              value = getarg(2);
3568              if (get_int(v0_lock) == 1) {
3569                 set_int(v0_next, value);
3570                 return;
3571              }
3572              v = get_int(v0_cur);
3573              set_int(v0_pre, v);
3574              set_int(v0_cur, value);
3575              set_int(v0_lock, 1);
3576              snprintf(buf, 10, "%i", get_int(v0_pre));
3577              set_state(PART:"bot0", buf, 0.0);
3578              snprintf(buf, 10, "%ih", get_int(v0_cur));
3579              set_state(PART:"bot", buf, 0.0);
3580              snprintf(buf, 10, "%i", get_int(v0_cur));
3581              set_state(PART:"top0", buf, 0.0);
3582              snprintf(buf, 10, "%i", get_int(v0_pre));
3583              set_state(PART:"top", buf, 0.0);
3584              set_state(PART:"sh", "default", 0.0);
3585              anim(0.2, "animator1", 1);
3586           }
3587        }
3588       }
3589       parts {
3590          part { name: "shad";
3591             mouse_events: 0;
3592             description { state: "default" 0.0;
3593                rel1.offset: -4 -4;
3594                rel1.to: "base";
3595                rel2.offset: 3 3;
3596                rel2.to: "base";
3597                image {
3598                   normal: "flip_base_shad.png";
3599                   border: 8 8 8 8;
3600                }
3601             }
3602          }
3603          part { name: "base";
3604             scale: 1;
3605             description { state: "default" 0.0;
3606                rel1.offset: 4 4;
3607                rel2.offset: -5 -5;
3608                // FIXME 48x96 should be the native pixel design, right now
3609                // its 80x160. fix int he artwork later
3610                min: 24 48;
3611                aspect: 0.5 0.5;
3612 //               max: 24 48;
3613                image.normal: "flip_base.png";
3614             }
3615          }
3616          part { name: "b";
3617             type: RECT;
3618             mouse_events: 1;
3619             description { state: "default" 0.0;
3620                visible: 0;
3621                rel1.to: "base";
3622                rel1.relative: 0.0 0.5;
3623                rel2.to: "base";
3624                color: 0 0 0 0;
3625             }
3626             description { state: "visible" 0.0;
3627                inherit: "default" 0.0;
3628                visible: 1;
3629             }
3630          }
3631          part { name: "t";
3632             type: RECT;
3633             mouse_events: 1;
3634             description { state: "default" 0.0;
3635                visible: 0;
3636                rel1.to: "base";
3637                rel2.to: "base";
3638                rel2.relative: 1.0 0.5;
3639                color: 0 0 0 0;
3640             }
3641             description { state: "visible" 0.0;
3642                inherit: "default" 0.0;
3643                visible: 1;
3644             }
3645          }
3646          part { name: "bot0";
3647             mouse_events: 0;
3648             description { state: "default" 0.0;
3649                rel1.to: "b";
3650                rel2.to: "b";
3651                image.normal: "flip_0b.png";
3652             }
3653             description { state: "0" 0.0;
3654                inherit: "default" 0.0;
3655                image.normal: "flip_0b.png";
3656             }
3657             description { state: "1" 0.0;
3658                inherit: "default" 0.0;
3659                image.normal: "flip_1b.png";
3660             }
3661             description { state: "2" 0.0;
3662                inherit: "default" 0.0;
3663                image.normal: "flip_2b.png";
3664             }
3665             description { state: "3" 0.0;
3666                inherit: "default" 0.0;
3667                image.normal: "flip_3b.png";
3668             }
3669             description { state: "4" 0.0;
3670                inherit: "default" 0.0;
3671                image.normal: "flip_4b.png";
3672             }
3673             description { state: "5" 0.0;
3674                inherit: "default" 0.0;
3675                image.normal: "flip_5b.png";
3676             }
3677             description { state: "6" 0.0;
3678                inherit: "default" 0.0;
3679                image.normal: "flip_6b.png";
3680             }
3681             description { state: "7" 0.0;
3682                inherit: "default" 0.0;
3683                image.normal: "flip_7b.png";
3684             }
3685             description { state: "8" 0.0;
3686                inherit: "default" 0.0;
3687                image.normal: "flip_8b.png";
3688             }
3689             description { state: "9" 0.0;
3690                inherit: "default" 0.0;
3691                image.normal: "flip_9b.png";
3692             }
3693          }
3694          part { name: "sh";
3695             mouse_events: 0;
3696             description { state: "default" 0.0;
3697                rel1.to: "b";
3698                rel2.to: "b";
3699                rel2.relative: 1.0 0.0;
3700                image.normal: "flip_shad.png";
3701             }
3702             description { state: "half" 0.0;
3703                inherit: "default" 0.0;
3704                rel2.relative: 1.0 0.5;
3705             }
3706             description { state: "full" 0.0;
3707                inherit: "default" 0.0;
3708                rel2.relative: 1.0 1.0;
3709             }
3710          }
3711          part { name: "bot";
3712             mouse_events: 0;
3713             description { state: "default" 0.0;
3714                visible: 1;
3715                rel1.to: "b";
3716                rel2.to: "b";
3717                image.normal: "flip_0b.png";
3718             }
3719             description { state: "0" 0.0;
3720                inherit: "default" 0.0;
3721                visible: 1;
3722                rel2.relative: 1.0 1.0;
3723                image.normal: "flip_0b.png";
3724             }
3725             description { state: "0h" 0.0;
3726                inherit: "default" 0.0;
3727                visible: 0;
3728                rel2.relative: 1.0 0.0;
3729                image.normal: "flip_0b.png";
3730             }
3731             description { state: "1" 0.0;
3732                inherit: "default" 0.0;
3733                visible: 1;
3734                rel2.relative: 1.0 1.0;
3735                image.normal: "flip_1b.png";
3736             }
3737             description { state: "1h" 0.0;
3738                inherit: "default" 0.0;
3739                visible: 0;
3740                rel2.relative: 1.0 0.0;
3741                image.normal: "flip_1b.png";
3742             }
3743             description { state: "2" 0.0;
3744                inherit: "default" 0.0;
3745                visible: 1;
3746                rel2.relative: 1.0 1.0;
3747                image.normal: "flip_2b.png";
3748             }
3749             description { state: "2h" 0.0;
3750                inherit: "default" 0.0;
3751                visible: 0;
3752                rel2.relative: 1.0 0.0;
3753                image.normal: "flip_2b.png";
3754             }
3755             description { state: "3" 0.0;
3756                inherit: "default" 0.0;
3757                visible: 1;
3758                rel2.relative: 1.0 1.0;
3759                image.normal: "flip_3b.png";
3760             }
3761             description { state: "3h" 0.0;
3762                inherit: "default" 0.0;
3763                visible: 0;
3764                rel2.relative: 1.0 0.0;
3765                image.normal: "flip_3b.png";
3766             }
3767             description { state: "4" 0.0;
3768                inherit: "default" 0.0;
3769                visible: 1;
3770                rel2.relative: 1.0 1.0;
3771                image.normal: "flip_4b.png";
3772             }
3773             description { state: "4h" 0.0;
3774                inherit: "default" 0.0;
3775                visible: 0;
3776                rel2.relative: 1.0 0.0;
3777                image.normal: "flip_4b.png";
3778             }
3779             description { state: "5" 0.0;
3780                inherit: "default" 0.0;
3781                visible: 1;
3782                rel2.relative: 1.0 1.0;
3783                image.normal: "flip_5b.png";
3784             }
3785             description { state: "5h" 0.0;
3786                inherit: "default" 0.0;
3787                visible: 0;
3788                rel2.relative: 1.0 0.0;
3789                image.normal: "flip_5b.png";
3790             }
3791             description { state: "6" 0.0;
3792                inherit: "default" 0.0;
3793                visible: 1;
3794                rel2.relative: 1.0 1.0;
3795                image.normal: "flip_6b.png";
3796             }
3797             description { state: "6h" 0.0;
3798                inherit: "default" 0.0;
3799                visible: 0;
3800                rel2.relative: 1.0 0.0;
3801                image.normal: "flip_6b.png";
3802             }
3803             description { state: "7" 0.0;
3804                inherit: "default" 0.0;
3805                visible: 1;
3806                rel2.relative: 1.0 1.0;
3807                image.normal: "flip_7b.png";
3808             }
3809             description { state: "7h" 0.0;
3810                inherit: "default" 0.0;
3811                visible: 0;
3812                rel2.relative: 1.0 0.0;
3813                image.normal: "flip_7b.png";
3814             }
3815             description { state: "8" 0.0;
3816                inherit: "default" 0.0;
3817                visible: 1;
3818                rel2.relative: 1.0 1.0;
3819                image.normal: "flip_8b.png";
3820             }
3821             description { state: "8h" 0.0;
3822                inherit: "default" 0.0;
3823                visible: 0;
3824                rel2.relative: 1.0 0.0;
3825                image.normal: "flip_8b.png";
3826             }
3827             description { state: "9" 0.0;
3828                inherit: "default" 0.0;
3829                visible: 1;
3830                rel2.relative: 1.0 1.0;
3831                image.normal: "flip_9b.png";
3832             }
3833             description { state: "9h" 0.0;
3834                inherit: "default" 0.0;
3835                visible: 0;
3836                rel2.relative: 1.0 0.0;
3837                image.normal: "flip_9b.png";
3838             }
3839          }
3840          part { name: "top0";
3841             mouse_events: 0;
3842             description { state: "default" 0.0;
3843                rel1.to: "t";
3844                rel2.to: "t";
3845                image.normal: "flip_0t.png";
3846             }
3847             description { state: "0" 0.0;
3848                inherit: "default" 0.0;
3849                image.normal: "flip_0t.png";
3850             }
3851             description { state: "1" 0.0;
3852                inherit: "default" 0.0;
3853                image.normal: "flip_1t.png";
3854             }
3855             description { state: "2" 0.0;
3856                inherit: "default" 0.0;
3857                image.normal: "flip_2t.png";
3858             }
3859             description { state: "3" 0.0;
3860                inherit: "default" 0.0;
3861                image.normal: "flip_3t.png";
3862             }
3863             description { state: "4" 0.0;
3864                inherit: "default" 0.0;
3865                image.normal: "flip_4t.png";
3866             }
3867             description { state: "5" 0.0;
3868                inherit: "default" 0.0;
3869                image.normal: "flip_5t.png";
3870             }
3871             description { state: "6" 0.0;
3872                inherit: "default" 0.0;
3873                image.normal: "flip_6t.png";
3874             }
3875             description { state: "7" 0.0;
3876                inherit: "default" 0.0;
3877                image.normal: "flip_7t.png";
3878             }
3879             description { state: "8" 0.0;
3880                inherit: "default" 0.0;
3881                image.normal: "flip_8t.png";
3882             }
3883             description { state: "9" 0.0;
3884                inherit: "default" 0.0;
3885                image.normal: "flip_9t.png";
3886             }
3887          }
3888          part { name: "top";
3889             mouse_events: 0;
3890             description { state: "default" 0.0;
3891                visible: 1;
3892                rel1.to: "t";
3893                rel2.to: "t";
3894                image.normal: "flip_0t.png";
3895             }
3896             description { state: "0" 0.0;
3897                inherit: "default" 0.0;
3898                visible: 1;
3899                rel1.relative: 0.0 0.0;
3900                image.normal: "flip_0t.png";
3901             }
3902             description { state: "0h" 0.0;
3903                inherit: "default" 0.0;
3904                color: 128 128 128 255;
3905                visible: 0;
3906                rel1.relative: 0.0 1.0;
3907                image.normal: "flip_0t.png";
3908             }
3909             description { state: "1" 0.0;
3910                inherit: "default" 0.0;
3911                visible: 1;
3912                rel1.relative: 0.0 0.0;
3913                image.normal: "flip_1t.png";
3914             }
3915             description { state: "1h" 0.0;
3916                inherit: "default" 0.0;
3917                color: 128 128 128 255;
3918                visible: 0;
3919                rel1.relative: 0.0 1.0;
3920                image.normal: "flip_1t.png";
3921             }
3922             description { state: "2" 0.0;
3923                inherit: "default" 0.0;
3924                visible: 1;
3925                rel1.relative: 0.0 0.0;
3926                image.normal: "flip_2t.png";
3927             }
3928             description { state: "2h" 0.0;
3929                inherit: "default" 0.0;
3930                color: 128 128 128 255;
3931                visible: 0;
3932                rel1.relative: 0.0 1.0;
3933                image.normal: "flip_2t.png";
3934             }
3935             description { state: "3" 0.0;
3936                inherit: "default" 0.0;
3937                visible: 1;
3938                rel1.relative: 0.0 0.0;
3939                image.normal: "flip_3t.png";
3940             }
3941             description { state: "3h" 0.0;
3942                inherit: "default" 0.0;
3943                color: 128 128 128 255;
3944                visible: 0;
3945                rel1.relative: 0.0 1.0;
3946                image.normal: "flip_3t.png";
3947             }
3948             description { state: "4" 0.0;
3949                inherit: "default" 0.0;
3950                visible: 1;
3951                rel1.relative: 0.0 0.0;
3952                image.normal: "flip_4t.png";
3953             }
3954             description { state: "4h" 0.0;
3955                inherit: "default" 0.0;
3956                color: 128 128 128 255;
3957                visible: 0;
3958                rel1.relative: 0.0 1.0;
3959                image.normal: "flip_4t.png";
3960             }
3961             description { state: "5" 0.0;
3962                inherit: "default" 0.0;
3963                visible: 1;
3964                rel1.relative: 0.0 0.0;
3965                image.normal: "flip_5t.png";
3966             }
3967             description { state: "5h" 0.0;
3968                inherit: "default" 0.0;
3969                color: 128 128 128 255;
3970                visible: 0;
3971                rel1.relative: 0.0 1.0;
3972                image.normal: "flip_5t.png";
3973             }
3974             description { state: "6" 0.0;
3975                inherit: "default" 0.0;
3976                visible: 1;
3977                rel1.relative: 0.0 0.0;
3978                image.normal: "flip_6t.png";
3979             }
3980             description { state: "6h" 0.0;
3981                inherit: "default" 0.0;
3982                color: 128 128 128 255;
3983                visible: 0;
3984                rel1.relative: 0.0 1.0;
3985                image.normal: "flip_6t.png";
3986             }
3987             description { state: "7" 0.0;
3988                inherit: "default" 0.0;
3989                visible: 1;
3990                rel1.relative: 0.0 0.0;
3991                image.normal: "flip_7t.png";
3992             }
3993             description { state: "7h" 0.0;
3994                inherit: "default" 0.0;
3995                color: 128 128 128 255;
3996                visible: 0;
3997                rel1.relative: 0.0 1.0;
3998                image.normal: "flip_7t.png";
3999             }
4000             description { state: "8" 0.0;
4001                inherit: "default" 0.0;
4002                visible: 1;
4003                rel1.relative: 0.0 0.0;
4004                image.normal: "flip_8t.png";
4005             }
4006             description { state: "8h" 0.0;
4007                inherit: "default" 0.0;
4008                color: 128 128 128 255;
4009                visible: 0;
4010                rel1.relative: 0.0 1.0;
4011                image.normal: "flip_8t.png";
4012             }
4013             description { state: "9" 0.0;
4014                inherit: "default" 0.0;
4015                visible: 1;
4016                rel1.relative: 0.0 0.0;
4017                image.normal: "flip_9t.png";
4018             }
4019             description { state: "9h" 0.0;
4020                inherit: "default" 0.0;
4021                color: 128 128 128 255;
4022                visible: 0;
4023                rel1.relative: 0.0 1.0;
4024                image.normal: "flip_9t.png";
4025             }
4026          }
4027          part { name: "atop";
4028             mouse_events: 0;
4029             scale: 1;
4030             description { state: "default" 0.0;
4031                visible: 0;
4032                min: 15 15;
4033                max: 15 15;
4034                align: 0.5 0.0;
4035                rel1.to: "t";
4036                rel2.to: "t";
4037                image.normal: "arrow_up.png";
4038             }
4039             description { state: "visible" 0.0;
4040                inherit: "default" 0.0;
4041                visible: 1;
4042             }
4043          }
4044          part { name: "abot";
4045             mouse_events: 0;
4046             scale: 1;
4047             description { state: "default" 0.0;
4048                visible: 0;
4049                min: 15 15;
4050                max: 15 15;
4051                align: 0.5 1.0;
4052                rel1.to: "b";
4053                rel2.to: "b";
4054                image.normal: "arrow_down.png";
4055             }
4056             description { state: "visible" 0.0;
4057                inherit: "default" 0.0;
4058                visible: 1;
4059             }
4060          }
4061       }
4062       programs {
4063          program { name: "load";
4064             signal: "load";
4065             source: "";
4066             script {
4067                set_int(v0_cur, 0);
4068                set_int(v0_pre, 0);
4069                set_int(v0_lock, 0);
4070                set_int(v0_next, -1);
4071             }
4072          }
4073          program { name: "edit_on";
4074             signal: "elm,state,edit,on";
4075             source: "elm";
4076             action: STATE_SET "visible" 0.0;
4077             target: "atop";
4078             target: "abot";
4079             target: "t";
4080             target: "b";
4081          }
4082          program { name: "edit_off";
4083             signal: "elm,state,edit,off";
4084             source: "elm";
4085             action: STATE_SET "default" 0.0;
4086             target: "atop";
4087             target: "abot";
4088             target: "t";
4089             target: "b";
4090          }
4091          program { name: "up";
4092             signal: "mouse,down,1";
4093             source: "t";
4094             action: SIGNAL_EMIT "elm,action,up,start" "";
4095          }
4096          program { name: "up,stop";
4097             signal: "mouse,up,1";
4098             source: "t";
4099             action: SIGNAL_EMIT "elm,action,up,stop" "";
4100          }
4101          program { name: "down";
4102             signal: "mouse,down,1";
4103             source: "b";
4104             action: SIGNAL_EMIT "elm,action,down,start" "";
4105          }
4106          program { name: "down,stop";
4107             signal: "mouse,up,1";
4108             source: "b";
4109             action: SIGNAL_EMIT "elm,action,down,stop" "";
4110          }
4111       }
4112    }
4113
4114 ///////////////////////////////////////////////////////////////////////////////
4115    group { name: "elm/clock/flipampm/default";
4116       images {
4117          image: "flip_base.png" COMP;
4118          image: "flip_base_shad.png" COMP;
4119          image: "flip_shad.png" COMP;
4120          image: "flip_amt.png" COMP;
4121          image: "flip_amb.png" COMP;
4122          image: "flip_pmt.png" COMP;
4123          image: "flip_pmb.png" COMP;
4124          image: "arrow_up.png" COMP;
4125          image: "arrow_down.png" COMP;
4126       }
4127       script {
4128          public v0_cur, v0_pre, v0_lock, v0_next;
4129
4130        public animator2(val, Float:pos) {
4131           new st1[11], st2[11], v;
4132
4133           v = get_int(v0_cur);
4134           snprintf(st1, 10, "%ih", v);
4135           snprintf(st2, 10, "%i", v);
4136           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4137           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4138           if (pos >= 1.0) {
4139              set_state(PART:"sh", "default", 0.0);
4140              set_int(v0_lock, 0);
4141              v = get_int(v0_next);
4142              if (v >= 0) {
4143                 set_int(v0_next, -1);
4144                 message(MSG_INT, 1, v);
4145              }
4146           }
4147        }
4148        public animator1(val, Float:pos) {
4149           new st1[11], st2[11], v;
4150
4151           v = get_int(v0_pre);
4152           snprintf(st1, 10, "%i", v);
4153           snprintf(st2, 10, "%ih", v);
4154           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4155           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4156           if (pos >= 1.0) anim(0.2, "animator2", val);
4157        }
4158        public message(Msg_Type:type, id, ...) {
4159           if ((type == MSG_INT) && (id == 1)) {
4160              new value, v, buf[11];
4161
4162              value = getarg(2);
4163              if (get_int(v0_lock) == 1) {
4164                 set_int(v0_next, value);
4165                 return;
4166              }
4167              v = get_int(v0_cur);
4168              set_int(v0_pre, v);
4169              set_int(v0_cur, value);
4170              set_int(v0_lock, 1);
4171              snprintf(buf, 10, "%i", get_int(v0_pre));
4172              set_state(PART:"bot0", buf, 0.0);
4173              snprintf(buf, 10, "%ih", get_int(v0_cur));
4174              set_state(PART:"bot", buf, 0.0);
4175              snprintf(buf, 10, "%i", get_int(v0_cur));
4176              set_state(PART:"top0", buf, 0.0);
4177              snprintf(buf, 10, "%i", get_int(v0_pre));
4178              set_state(PART:"top", buf, 0.0);
4179              set_state(PART:"sh", "default", 0.0);
4180              anim(0.2, "animator1", 1);
4181           }
4182        }
4183       }
4184       parts {
4185          part { name: "shad";
4186             mouse_events: 0;
4187             description { state: "default" 0.0;
4188                rel1.offset: -4 -4;
4189                rel1.to: "base";
4190                rel2.offset: 3 3;
4191                rel2.to: "base";
4192                image {
4193                   normal: "flip_base_shad.png";
4194                   border: 8 8 8 8;
4195                }
4196             }
4197          }
4198          part { name: "base";
4199             mouse_events: 0;
4200             scale: 1;
4201             description { state: "default" 0.0;
4202                rel1.offset: 4 4;
4203                rel2.offset: -5 -5;
4204                // FIXME 48x96 should be the native pixel design, right now
4205                // its 80x160. fix int he artwork later
4206                aspect: 0.5 0.5;
4207                min: 24 48;
4208 //               max: 24 48;
4209                image.normal: "flip_base.png";
4210             }
4211          }
4212          part { name: "b";
4213             type: RECT;
4214             mouse_events: 1;
4215             description { state: "default" 0.0;
4216                rel1.to: "base";
4217                rel1.relative: 0.0 0.5;
4218                rel2.to: "base";
4219                color: 0 0 0 0;
4220             }
4221          }
4222          part { name: "t";
4223             type: RECT;
4224             mouse_events: 1;
4225             description { state: "default" 0.0;
4226                rel1.to: "base";
4227                rel2.to: "base";
4228                rel2.relative: 1.0 0.5;
4229                color: 0 0 0 0;
4230             }
4231          }
4232          part { name: "bot0";
4233             mouse_events: 0;
4234             description { state: "default" 0.0;
4235                rel1.to: "b";
4236                rel2.to: "b";
4237                image.normal: "flip_amb.png";
4238             }
4239             description { state: "0" 0.0;
4240                inherit: "default" 0.0;
4241                image.normal: "flip_amb.png";
4242             }
4243             description { state: "1" 0.0;
4244                inherit: "default" 0.0;
4245                image.normal: "flip_pmb.png";
4246             }
4247          }
4248          part { name: "sh";
4249             mouse_events: 0;
4250             description { state: "default" 0.0;
4251                rel1.to: "b";
4252                rel2.to: "b";
4253                rel2.relative: 1.0 0.0;
4254                image.normal: "flip_shad.png";
4255             }
4256             description { state: "half" 0.0;
4257                inherit: "default" 0.0;
4258                rel2.relative: 1.0 0.5;
4259             }
4260             description { state: "full" 0.0;
4261                inherit: "default" 0.0;
4262                rel2.relative: 1.0 1.0;
4263             }
4264          }
4265          part { name: "bot";
4266             mouse_events: 0;
4267             description { state: "default" 0.0;
4268                visible: 1;
4269                rel1.to: "b";
4270                rel2.to: "b";
4271                image.normal: "flip_amb.png";
4272             }
4273             description { state: "0" 0.0;
4274                inherit: "default" 0.0;
4275                visible: 1;
4276                rel2.relative: 1.0 1.0;
4277                image.normal: "flip_amb.png";
4278             }
4279             description { state: "0h" 0.0;
4280                inherit: "default" 0.0;
4281                visible: 0;
4282                rel2.relative: 1.0 0.0;
4283                image.normal: "flip_amb.png";
4284             }
4285             description { state: "1" 0.0;
4286                inherit: "default" 0.0;
4287                visible: 1;
4288                rel2.relative: 1.0 1.0;
4289                image.normal: "flip_pmb.png";
4290             }
4291             description { state: "1h" 0.0;
4292                inherit: "default" 0.0;
4293                visible: 0;
4294                rel2.relative: 1.0 0.0;
4295                image.normal: "flip_pmb.png";
4296             }
4297          }
4298          part { name: "top0";
4299             mouse_events: 0;
4300             description { state: "default" 0.0;
4301                rel1.to: "t";
4302                rel2.to: "t";
4303                image.normal: "flip_amt.png";
4304             }
4305             description { state: "0" 0.0;
4306                inherit: "default" 0.0;
4307                image.normal: "flip_amt.png";
4308             }
4309             description { state: "1" 0.0;
4310                inherit: "default" 0.0;
4311                image.normal: "flip_pmt.png";
4312             }
4313          }
4314          part { name: "top";
4315             mouse_events: 0;
4316             description { state: "default" 0.0;
4317                visible: 1;
4318                rel1.to: "t";
4319                rel2.to: "t";
4320                image.normal: "flip_amt.png";
4321             }
4322             description { state: "0" 0.0;
4323                inherit: "default" 0.0;
4324                visible: 1;
4325                rel1.relative: 0.0 0.0;
4326                image.normal: "flip_amt.png";
4327             }
4328             description { state: "0h" 0.0;
4329                inherit: "default" 0.0;
4330                color: 128 128 128 255;
4331                visible: 0;
4332                rel1.relative: 0.0 1.0;
4333                image.normal: "flip_amt.png";
4334             }
4335             description { state: "1" 0.0;
4336                inherit: "default" 0.0;
4337                visible: 1;
4338                rel1.relative: 0.0 0.0;
4339                image.normal: "flip_pmt.png";
4340             }
4341             description { state: "1h" 0.0;
4342                inherit: "default" 0.0;
4343                color: 128 128 128 255;
4344                visible: 0;
4345                rel1.relative: 0.0 1.0;
4346                image.normal: "flip_pmt.png";
4347             }
4348          }
4349          part { name: "atop";
4350             mouse_events: 0;
4351             scale: 1;
4352             description { state: "default" 0.0;
4353                visible: 0;
4354                min: 15 15;
4355                max: 15 15;
4356                align: 0.5 0.0;
4357                rel1.to: "t";
4358                rel2.to: "t";
4359                image.normal: "arrow_up.png";
4360             }
4361             description { state: "visible" 0.0;
4362                inherit: "default" 0.0;
4363                visible: 1;
4364             }
4365          }
4366          part { name: "abot";
4367             mouse_events: 0;
4368             scale: 1;
4369             description { state: "default" 0.0;
4370                visible: 0;
4371                min: 15 15;
4372                max: 15 15;
4373                align: 0.5 1.0;
4374                rel1.to: "b";
4375                rel2.to: "b";
4376                image.normal: "arrow_down.png";
4377             }
4378             description { state: "visible" 0.0;
4379                inherit: "default" 0.0;
4380                visible: 1;
4381             }
4382          }
4383       }
4384       programs {
4385          program { name: "load";
4386             signal: "load";
4387             source: "";
4388             script {
4389                set_int(v0_cur, 0);
4390                set_int(v0_pre, 0);
4391                set_int(v0_lock, 0);
4392                set_int(v0_next, -1);
4393             }
4394          }
4395          program { name: "edit_on";
4396             signal: "elm,state,edit,on";
4397             source: "elm";
4398             action: STATE_SET "visible" 0.0;
4399             target: "atop";
4400             target: "abot";
4401          }
4402 /*
4403          program { name: "edit_off";
4404             signal: "elm,state,edit,off";
4405             source: "elm";
4406             action: STATE_SET "default" 0.0;
4407             target: "atop";
4408             target: "abot";
4409          }
4410  */
4411          program { name: "up";
4412             signal: "mouse,down,1";
4413             source: "t";
4414             action: SIGNAL_EMIT "elm,action,up,start" "";
4415          }
4416          program { name: "up,stop";
4417             signal: "mouse,up,1";
4418             source: "t";
4419             action: SIGNAL_EMIT "elm,action,up,stop" "";
4420          }
4421          program { name: "down";
4422             signal: "mouse,down,1";
4423             source: "b";
4424             action: SIGNAL_EMIT "elm,action,down,start" "";
4425          }
4426          program { name: "down,stop";
4427             signal: "mouse,up,1";
4428             source: "b";
4429             action: SIGNAL_EMIT "elm,action,down,stop" "";
4430          }
4431       }
4432    }
4433
4434    ///////////////////////////////////////////////////////////////////////////////
4435    group { name: "elm/menu/item/default";
4436        images {
4437            image: "bt_base1.png" COMP;
4438            image: "bt_base2.png" COMP;
4439            image: "bt_hilight.png" COMP;
4440            image: "bt_shine.png" COMP;
4441            image: "bt_glow.png" COMP;
4442            image: "bt_dis_base.png" COMP;
4443            image: "bt_dis_hilight.png" COMP;
4444        }
4445        script {
4446             public menu_text_visible; //0:hide (default), 1:visible
4447             public menu_disable; //0:enable, 1:disable
4448        }
4449        parts {
4450            part { name: "item_image";
4451                mouse_events: 1;
4452                description { state: "default" 0.0;
4453                    color: 255 255 255 0;
4454                    image {
4455                        normal: "bt_base2.png";
4456                        border: 7 7 7 7;
4457                    }
4458                    image.middle: SOLID;
4459                }
4460                description { state: "visible" 0.0;
4461                    inherit: "default" 0.0;
4462                    color: 255 255 255 255;
4463                }
4464                description { state: "clicked" 0.0;
4465                    inherit: "default" 0.0;
4466                    inherit: "visible" 0.0;
4467                    image.normal: "bt_base1.png";
4468                    image.middle: SOLID;
4469                }
4470                description { state: "disabled" 0.0;
4471                    inherit:  "default" 0.0;
4472                }
4473            }
4474            part { name: "item_image_disabled";
4475                mouse_events: 1;
4476                description { state: "default" 0.0;
4477                    color: 255 255 255 0;
4478                    image {
4479                        normal: "bt_dis_base.png";
4480                        border: 4 4 4 4;
4481                    }
4482                    image.middle: SOLID;
4483                }
4484                description { state: "disabled" 0.0;
4485                    inherit:  "default" 0.0;
4486                    color: 255 255 255 255;
4487                }
4488            }
4489            part { name: "elm.swallow.content";
4490                type: SWALLOW;
4491                description { state: "default" 0.0;
4492                    fixed: 1 0;
4493                    visible: 1;
4494                    align: 0.0 0.5;
4495                    rel1.offset: 4 4;
4496                    rel2.offset: 3 -5;
4497                    rel2.relative: 0.0 1.0;
4498                    aspect: 1.0 1.0;
4499                    aspect_preference: VERTICAL;
4500                    rel2.offset: 4 -5;
4501                }
4502            }
4503            part {
4504                name:          "elm.text";
4505                type:          TEXT;
4506                mouse_events:  0;
4507                scale: 1;
4508                description { state: "default" 0.0;
4509                    visible: 0;
4510                    rel1.to_x: "elm.swallow.content";
4511                    rel1.relative: 1.0 0.0;
4512                    rel1.offset: 5 7;
4513                    rel2.offset: -10 -8;
4514                    color: 0 0 0 255;
4515                    text {
4516                        font:     "Sans,Edje-Vera";
4517                        size:     10;
4518                        min:      1 1;
4519                        align:    0.0 0.5;
4520                        text_class: "menu_item";
4521                    }
4522                }
4523                description { state: "visible" 0.0;
4524                    inherit: "default" 0.0;
4525                    visible: 1;
4526                    text.min: 1 1;
4527                }
4528                description { state: "selected" 0.0;
4529                    inherit: "default" 0.0;
4530                    inherit: "visible" 0.0;
4531                    color: 254 254 254 255;
4532                }
4533                description { state: "disabled" 0.0;
4534                    inherit: "default" 0.0;
4535                    color: 0 0 0 128;
4536                }
4537                description { state: "disabled_visible" 0.0;
4538                    inherit: "default" 0.0;
4539                    inherit: "visible" 0.0;
4540                    color: 0 0 0 128;
4541                }
4542            }
4543            part {          name: "over1";
4544                mouse_events: 0;
4545                description { state: "default" 0.0;
4546                    color: 255 255 255 0;
4547                    rel2.relative: 1.0 0.5;
4548                    image {
4549                        normal: "bt_hilight.png";
4550                        border: 7 7 7 0;
4551                    }
4552                }
4553                description { state: "visible" 0.0;
4554                    inherit:  "default" 0.0;
4555                    color: 255 255 255 255;
4556                }
4557                description { state: "disabled" 0.0;
4558                    inherit:  "default" 0.0;
4559                }
4560            }
4561            part {          name: "over_disabled";
4562                mouse_events: 0;
4563                description { state: "default" 0.0;
4564                    color: 255 255 255 0;
4565                    rel2.relative: 1.0 0.5;
4566                    image {
4567                        normal: "bt_dis_hilight.png";
4568                        border: 4 4 4 0;
4569                    }
4570                }
4571                description { state: "disabled" 0.0;
4572                    inherit:  "default" 0.0;
4573                    color: 255 255 255 255;
4574                }
4575            }
4576            part { name: "over2";
4577                mouse_events: 1;
4578                repeat_events: 1;
4579                ignore_flags: ON_HOLD;
4580                description { state: "default" 0.0;
4581                    image {
4582                        normal: "bt_shine.png";
4583                        border: 7 7 7 7;
4584                    }
4585                }
4586                description { state: "disabled" 0.0;
4587                    inherit:  "default" 0.0;
4588                    visible: 0;
4589                }
4590            }
4591            part { name: "over3";
4592                mouse_events: 1;
4593                repeat_events: 1;
4594                description { state: "default" 0.0;
4595                    color: 255 255 255 0;
4596                    image {
4597                        normal: "bt_glow.png";
4598                        border: 12 12 12 12;
4599                    }
4600                    fill.smooth : 0;
4601                }
4602                description { state: "clicked" 0.0;
4603                    inherit:  "default" 0.0;
4604                    visible: 1;
4605                    color: 255 255 255 255;
4606                }
4607            }
4608            part { name: "disabler";
4609                type: RECT;
4610                description { state: "default" 0.0;
4611                    color: 0 0 0 0;
4612                    visible: 0;
4613                }
4614                description { state: "disabled" 0.0;
4615                    inherit: "default" 0.0;
4616                    visible: 1;
4617                }
4618            }
4619        }
4620        programs {
4621           //
4622            program {
4623                name:   "item_mouse_in";
4624                signal: "mouse,in";
4625                source: "over2";
4626                action: SIGNAL_EMIT "elm,action,activate" "";
4627                after: "item_mouse_in_2";
4628                after: "item_mouse_in_3";
4629            }
4630            program {
4631                name:   "item_mouse_in_2";
4632                transition: DECELERATE 0.5;
4633                script {
4634                    new v, d;
4635                    v = get_int(menu_text_visible);
4636                    d = get_int(menu_disable);
4637
4638                    if (v==1 && d==0)
4639                         run_program(PROGRAM:"selected_text");
4640                }
4641            }
4642            program {
4643                name:   "item_mouse_in_3";
4644                action : STATE_SET "visible" 0.0;
4645                target: "item_image";
4646                target: "over1";
4647                transition: DECELERATE 0.5;
4648            }
4649            program {
4650                name:   "selected_text";
4651                action: STATE_SET "selected" 0.0;
4652                target: "elm.text";
4653                transition: DECELERATE 0.5;
4654            }
4655            //
4656
4657            //
4658            program {
4659                name:   "item_mouse_out";
4660                signal: "mouse,out";
4661                source: "over2";
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: "enable";
4760                signal: "elm,state,enabled";
4761                source: "elm";
4762                action: STATE_SET "default" 0.0;
4763                target: "item_image";
4764                target: "item_image_disabled";
4765                target: "over1";
4766                target: "over2";
4767                target: "over_disabled";
4768                target: "disabler";
4769                after: "enable_text";
4770            }
4771            program { name: "enable_text";
4772                script {
4773                    new v;
4774                    v = get_int(menu_text_visible);
4775                    if (v==1)
4776                     set_state(PART:"elm.text", "visible", 0.0);
4777                    else  if (v==0)
4778                     set_state(PART:"elm.text", "default", 0.0);
4779                    set_int(menu_disable, 0);
4780                }
4781            }
4782        }
4783    }
4784
4785    group { name: "elm/menu/item_with_submenu/default";
4786        images {
4787            image: "bt_base1.png" COMP;
4788            image: "bt_base2.png" COMP;
4789            image: "bt_hilight.png" COMP;
4790            image: "bt_shine.png" COMP;
4791            image: "bt_glow.png" COMP;
4792            image: "bt_dis_base.png" COMP;
4793            image: "bt_dis_hilight.png" COMP;
4794            image: "arrow_right.png" COMP;
4795            image: "arrow_left.png" COMP;
4796        }
4797        script {
4798             public menu_text_visible; //0:hide (default), 1:visible
4799             public menu_disable; //0:enable, 1:disable
4800        }
4801        parts {
4802            part { name: "item_image";
4803                mouse_events: 1;
4804                description { state: "default" 0.0;
4805                    color: 255 255 255 0;
4806                    image {
4807                        normal: "bt_base2.png";
4808                        border: 7 7 7 7;
4809                    }
4810                    image.middle: SOLID;
4811                }
4812                description { state: "visible" 0.0;
4813                    inherit: "default" 0.0;
4814                    color: 255 255 255 255;
4815                }
4816                description { state: "clicked" 0.0;
4817                    inherit: "default" 0.0;
4818                    inherit: "visible" 0.0;
4819                    image.normal: "bt_base1.png";
4820                    image.middle: SOLID;
4821                }
4822                description { state: "disabled" 0.0;
4823                    inherit:  "default" 0.0;
4824                }
4825            }
4826            part { name: "item_image_disabled";
4827                mouse_events: 1;
4828                description { state: "default" 0.0;
4829                    color: 255 255 255 0;
4830                    image {
4831                        normal: "bt_dis_base.png";
4832                        border: 4 4 4 4;
4833                    }
4834                    image.middle: SOLID;
4835                }
4836                description { state: "disabled" 0.0;
4837                    inherit:  "default" 0.0;
4838                    color: 255 255 255 255;
4839                }
4840            }
4841            part { name: "arrow";
4842                mouse_events: 1;
4843                description { state: "default" 0.0;
4844                    color: 255 255 255 255;
4845                    align: 1.0 0.5;
4846                    aspect: 1 1;
4847                    aspect_preference: BOTH;
4848                    image {
4849                        normal: "arrow_right.png";
4850                    }
4851                }
4852                description { state: "rtl" 0.0;
4853                   inherit: "default" 0.0;
4854                   image.normal: "arrow_left.png";
4855                }
4856            }
4857            part { name: "elm.swallow.content";
4858                type: SWALLOW;
4859                description { state: "default" 0.0;
4860                    fixed: 1 0;
4861                    visible: 1;
4862                    align: 0.0 0.5;
4863                    rel1.offset: 4 4;
4864                    rel2.offset: 3 -5;
4865                    rel2.relative: 0.0 1.0;
4866                    aspect: 1.0 1.0;
4867                    aspect_preference: VERTICAL;
4868                    rel2.offset: 4 -5;
4869                }
4870            }
4871            part {
4872                name:          "elm.text";
4873                type:          TEXT;
4874                mouse_events:  0;
4875                scale: 1;
4876                description { state: "default" 0.0;
4877                    visible: 0;
4878                    rel1.to_x: "elm.swallow.content";
4879                    rel1.relative: 1.0 0.0;
4880                    rel1.offset: 5 7;
4881                    rel2.offset: -10 -8;
4882                    color: 0 0 0 255;
4883                    text {
4884                        font:     "Sans,Edje-Vera";
4885                        size:     10;
4886                        min:      1 1;
4887                        align:    0.0 0.5;
4888                        text_class: "menu_item";
4889                    }
4890                }
4891                description { state: "visible" 0.0;
4892                    inherit: "default" 0.0;
4893                    visible: 1;
4894                    text.min: 1 1;
4895                }
4896                description { state: "selected" 0.0;
4897                    inherit: "default" 0.0;
4898                    inherit: "visible" 0.0;
4899                    color: 254 254 254 255;
4900                }
4901                description { state: "disabled" 0.0;
4902                    inherit: "default" 0.0;
4903                    color: 0 0 0 128;
4904                }
4905                description { state: "disabled_visible" 0.0;
4906                    inherit: "default" 0.0;
4907                    inherit: "visible" 0.0;
4908                    color: 0 0 0 128;
4909                }
4910            }
4911            part {          name: "over1";
4912                mouse_events: 0;
4913                description { state: "default" 0.0;
4914                    color: 255 255 255 0;
4915                    rel2.relative: 1.0 0.5;
4916                    image {
4917                        normal: "bt_hilight.png";
4918                        border: 7 7 7 0;
4919                    }
4920                }
4921                description { state: "visible" 0.0;
4922                    inherit:  "default" 0.0;
4923                    color: 255 255 255 255;
4924                }
4925                description { state: "disabled" 0.0;
4926                    inherit:  "default" 0.0;
4927                }
4928            }
4929            part { name: "over_disabled";
4930                mouse_events: 0;
4931                description { state: "default" 0.0;
4932                    color: 255 255 255 0;
4933                    rel2.relative: 1.0 0.5;
4934                    image {
4935                        normal: "bt_dis_hilight.png";
4936                        border: 4 4 4 0;
4937                    }
4938                }
4939                description { state: "disabled" 0.0;
4940                    inherit:  "default" 0.0;
4941                    color: 255 255 255 255;
4942                }
4943            }
4944            part { name: "over2";
4945                mouse_events: 1;
4946                repeat_events: 1;
4947                ignore_flags: ON_HOLD;
4948                description { state: "default" 0.0;
4949                    image {
4950                        normal: "bt_shine.png";
4951                        border: 7 7 7 7;
4952                    }
4953                }
4954                description { state: "disabled" 0.0;
4955                    inherit:  "default" 0.0;
4956                    visible: 0;
4957                }
4958            }
4959            part { name: "over3";
4960                mouse_events: 1;
4961                repeat_events: 1;
4962                description { state: "default" 0.0;
4963                    color: 255 255 255 0;
4964                    image {
4965                        normal: "bt_glow.png";
4966                        border: 12 12 12 12;
4967                    }
4968                    fill.smooth : 0;
4969                }
4970                description { state: "clicked" 0.0;
4971                    inherit:  "default" 0.0;
4972                    visible: 1;
4973                    color: 255 255 255 255;
4974                }
4975            }
4976            part { name: "disabler";
4977                type: RECT;
4978                description { state: "default" 0.0;
4979                    color: 0 0 0 0;
4980                    visible: 0;
4981                }
4982                description { state: "disabled" 0.0;
4983                    inherit: "default" 0.0;
4984                    visible: 1;
4985                }
4986            }
4987        }
4988        programs {
4989            //
4990            program {
4991                name:   "item_mouse_in";
4992                signal: "mouse,in";
4993                source: "over2";
4994                action: SIGNAL_EMIT "elm,action,activate" "";
4995                after: "item_mouse_in_2";
4996                after: "item_mouse_in_3";
4997            }
4998            program {
4999                name:   "item_mouse_in_2";
5000                transition: DECELERATE 0.5;
5001                script {
5002                    new v, d;
5003                    v = get_int(menu_text_visible);
5004                    d = get_int(menu_disable);
5005
5006                    if (v==1 && d==0)
5007                         run_program(PROGRAM:"selected_text");
5008                }
5009            }
5010            program {
5011                name:   "item_mouse_in_3";
5012                action : STATE_SET "visible" 0.0;
5013                target: "item_image";
5014                target: "over1";
5015                transition: DECELERATE 0.5;
5016            }
5017            program {
5018                name:   "selected_text";
5019                action: STATE_SET "selected" 0.0;
5020                target: "elm.text";
5021                transition: DECELERATE 0.5;
5022            }
5023            //
5024
5025            //
5026            program {
5027                name:   "item_mouse_out";
5028                signal: "mouse,out";
5029                source: "over2";
5030                after: "item_mouse_out_2";
5031                after: "item_mouse_out_3";
5032            }
5033            program {
5034                name:   "item_mouse_out_2";
5035                transition: DECELERATE 0.5;
5036                script {
5037                    new v, d;
5038                    v = get_int(menu_text_visible);
5039                    d = get_int(menu_disable);
5040
5041                    if (v==1 && d==0)
5042                         run_program(PROGRAM:"visible_text");
5043                }
5044            }
5045            program {
5046                name:   "item_mouse_out_3";
5047                action: STATE_SET "default" 0.0;
5048                target: "item_image";
5049                target: "over1";
5050                transition: DECELERATE 0.5;
5051            }
5052            program {
5053                name:   "visible_text";
5054                action: STATE_SET "visible" 0.0;
5055                target: "elm.text";
5056                transition: DECELERATE 0.5;
5057            }
5058            //
5059
5060            program {
5061                name:   "item_unclick";
5062                signal: "mouse,up,1";
5063                source: "over2";
5064                action: STATE_SET "visible" 0.0;
5065                target: "item_image";
5066            }
5067            program {
5068                name:   "item_click2";
5069                signal: "mouse,down,1";
5070                source: "over3";
5071                action: STATE_SET "clicked" 0.0;
5072                target: "over3";
5073            }
5074            program {
5075                name:   "item_unclick2";
5076                signal: "mouse,up,1";
5077                source: "over3";
5078                action: STATE_SET "default" 0.0;
5079                transition: DECELERATE 0.5;
5080                target: "over3";
5081            }
5082            program {
5083                name:   "item_unclick3";
5084                signal: "mouse,up,1";
5085                source: "over2";
5086                action: SIGNAL_EMIT "elm,action,click" "";
5087            }
5088            program {
5089                name:   "menu_open";
5090                signal: "mouse,in";
5091                source: "over2";
5092                action: SIGNAL_EMIT "elm,action,open" "";
5093            }
5094             program { name: "text_show";
5095                signal: "elm,state,text,visible";
5096                source: "elm";
5097                script {
5098                    set_int(menu_text_visible, 1);
5099                    set_state(PART:"elm.text", "visible", 0.0);
5100                }
5101            }
5102            program { name: "text_hide";
5103                signal: "elm,state,text,hidden";
5104                source: "elm";
5105                script {
5106                    set_int(menu_text_visible, 0);
5107                    set_state(PART:"elm.text", "default", 0.0);
5108                }
5109            }
5110            program { name: "disable";
5111                signal: "elm,state,disabled";
5112                source: "elm";
5113                action: STATE_SET "disabled" 0.0;
5114                target: "item_image";
5115                target: "item_image_disabled";
5116                target: "over1";
5117                target: "over2";
5118                target: "over_disabled";
5119                target: "disabler";
5120                after: "disable_text";
5121            }
5122            program { name: "disable_text";
5123                script {
5124                    new st[31];
5125                    new Float:vl;
5126                    get_state(PART:"elm.text", st, 30, vl);
5127                    if (!strcmp(st, "visible"))
5128                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5129                    else if (!strcmp(st, "default"))
5130                    set_state(PART:"elm.text", "disabled", 0.0);
5131                }
5132            }
5133            program { name: "enable";
5134                signal: "elm,state,enabled";
5135                source: "elm";
5136                action: STATE_SET "default" 0.0;
5137                target: "item_image";
5138                target: "item_image_disabled";
5139                target: "over1";
5140                target: "over2";
5141                target: "over_disabled";
5142                target: "disabler";
5143                after: "enable_text";
5144            }
5145            program { name: "enable_text";
5146                script {
5147                    new v;
5148                    v = get_int(menu_text_visible);
5149                    if (v==1)
5150                     set_state(PART:"elm.text", "visible", 0.0);
5151                    else  if (v==0)
5152                     set_state(PART:"elm.text", "default", 0.0);
5153                    set_int(menu_disable, 0);
5154                }
5155            }
5156            program { name: "to_rtl";
5157                signal: "edje,state,rtl";
5158                source: "edje";
5159                action: STATE_SET "rtl" 0.0;
5160                target: "arrow";
5161            }
5162            program { name: "to_ltr";
5163                signal: "edje,state,ltr";
5164                source: "edje";
5165                action: STATE_SET "default" 0.0;
5166                target: "arrow";
5167            }
5168        }
5169    }
5170
5171    group { name: "elm/menu/separator/default";
5172        images {
5173            image: "separator_h.png" COMP;
5174        }
5175        parts {
5176            part { name: "separator"; // separator group
5177                description { state: "default" 0.0;
5178                    min: 2 2;
5179                    rel1.offset: 4 4;
5180                    rel2.offset: -5 -5;
5181                    image {
5182                        normal: "separator_h.png";
5183                    }
5184                    fill {
5185                        smooth: 0;
5186                    }
5187                }
5188            }
5189        }
5190    }
5191 ///////////////////////////////////////////////////////////////////////////////
5192    group { name: "elm/clock/base-all/default";
5193       parts {
5194          part { name: "d0";
5195             type: SWALLOW;
5196             description { state: "default" 0.0;
5197                rel1.relative: 0.0000000 0.0;
5198                rel2.relative: 0.1250000 1.0;
5199             }
5200          }
5201          part { name: "d1";
5202             type: SWALLOW;
5203             description { state: "default" 0.0;
5204                rel1.relative: 0.1250000 0.0;
5205                rel2.relative: 0.2500000 1.0;
5206             }
5207          }
5208          part { name: "c0";
5209             type: SWALLOW;
5210             type: TEXT;
5211             mouse_events:  0;
5212             scale: 1;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.2500000 0.0;
5215                rel2.relative: 0.3125000 1.0;
5216                color: 0 0 0 255;
5217                text {
5218                   font:     "Sans,Edje-Vera";
5219                   text:     ":";
5220                   size:     10;
5221                   min:      1 1;
5222                   align:    0.5 0.5;
5223                }
5224             }
5225          }
5226          part { name: "d2";
5227             type: SWALLOW;
5228             description { state: "default" 0.0;
5229                rel1.relative: 0.3125000 0.0;
5230                rel2.relative: 0.4375000 1.0;
5231             }
5232          }
5233          part { name: "d3";
5234             type: SWALLOW;
5235             description { state: "default" 0.0;
5236                rel1.relative: 0.4375000 0.0;
5237                rel2.relative: 0.5625000 1.0;
5238             }
5239          }
5240          // (if seconds)
5241          part { name: "c1";
5242             type: SWALLOW;
5243             type: TEXT;
5244             mouse_events:  0;
5245             scale: 1;
5246             description { state: "default" 0.0;
5247                rel1.relative: 0.5625000 0.0;
5248                rel2.relative: 0.6250000 1.0;
5249                color: 0 0 0 255;
5250                text {
5251                   font:     "Sans,Edje-Vera";
5252                   text:     ":";
5253                   size:     10;
5254                   min:      1 1;
5255                   align:    0.5 0.5;
5256                }
5257             }
5258          }
5259          // (if seconds)
5260          part { name: "d4";
5261             type: SWALLOW;
5262             description { state: "default" 0.0;
5263                rel1.relative: 0.6250000 0.0;
5264                rel2.relative: 0.7500000 1.0;
5265             }
5266          }
5267          // (if seconds)
5268          part { name: "d5";
5269             type: SWALLOW;
5270             description { state: "default" 0.0;
5271                rel1.relative: 0.7500000 0.0;
5272                rel2.relative: 0.8750000 1.0;
5273             }
5274          }
5275          // (if am_pm)
5276          part { name: "ampm";
5277             type: SWALLOW;
5278             description { state: "default" 0.0;
5279                rel1.relative: 0.8750000 0.0;
5280                rel2.relative: 1.0 1.0;
5281             }
5282          }
5283       }
5284    }
5285
5286 ///////////////////////////////////////////////////////////////////////////////
5287    group { name: "elm/clock/base-seconds/default";
5288       parts {
5289          part { name: "d0";
5290             type: SWALLOW;
5291             description { state: "default" 0.0;
5292                rel1.relative: 0.000000000 0.0;
5293                rel2.relative: 0.142857143 1.0;
5294             }
5295          }
5296          part { name: "d1";
5297             type: SWALLOW;
5298             description { state: "default" 0.0;
5299                rel1.relative: 0.142857143 0.0;
5300                rel2.relative: 0.285714286 1.0;
5301             }
5302          }
5303          part { name: "c0";
5304             type: SWALLOW;
5305             type: TEXT;
5306             mouse_events:  0;
5307             scale: 1;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.285714286 0.0;
5310                rel2.relative: 0.357142857 1.0;
5311                color: 0 0 0 255;
5312                text {
5313                   font:     "Sans,Edje-Vera";
5314                   text:     ":";
5315                   size:     10;
5316                   min:      1 1;
5317                   align:    0.5 0.5;
5318                }
5319             }
5320          }
5321          part { name: "d2";
5322             type: SWALLOW;
5323             description { state: "default" 0.0;
5324                rel1.relative: 0.357142857 0.0;
5325                rel2.relative: 0.500000000 1.0;
5326             }
5327          }
5328          part { name: "d3";
5329             type: SWALLOW;
5330             description { state: "default" 0.0;
5331                rel1.relative: 0.500000000 0.0;
5332                rel2.relative: 0.642857143 1.0;
5333             }
5334          }
5335          // (if seconds)
5336          part { name: "c1";
5337             type: SWALLOW;
5338             type: TEXT;
5339             mouse_events:  0;
5340             scale: 1;
5341             description { state: "default" 0.0;
5342                rel1.relative: 0.642857143 0.0;
5343                rel2.relative: 0.714285714 1.0;
5344                color: 0 0 0 255;
5345                text {
5346                   font:     "Sans,Edje-Vera";
5347                   text:     ":";
5348                   size:     10;
5349                   min:      1 1;
5350                   align:    0.5 0.5;
5351                }
5352             }
5353          }
5354          // (if seconds)
5355          part { name: "d4";
5356             type: SWALLOW;
5357             description { state: "default" 0.0;
5358                rel1.relative: 0.714285714 0.0;
5359                rel2.relative: 0.857142857 1.0;
5360             }
5361          }
5362          // (if seconds)
5363          part { name: "d5";
5364             type: SWALLOW;
5365             description { state: "default" 0.0;
5366                rel1.relative: 0.857142857 0.0;
5367                rel2.relative: 1.000000000 1.0;
5368             }
5369          }
5370       }
5371    }
5372
5373 ///////////////////////////////////////////////////////////////////////////////
5374    group { name: "elm/clock/base-am_pm/default";
5375       parts {
5376          part { name: "d0";
5377             type: SWALLOW;
5378             description { state: "default" 0.0;
5379                rel1.relative: 0.000000000 0.0;
5380                rel2.relative: 0.181818182 1.0;
5381             }
5382          }
5383          part { name: "d1";
5384             type: SWALLOW;
5385             description { state: "default" 0.0;
5386                rel1.relative: 0.181818182 0.0;
5387                rel2.relative: 0.363636364 1.0;
5388             }
5389          }
5390          part { name: "c0";
5391             type: SWALLOW;
5392             type: TEXT;
5393             mouse_events:  0;
5394             scale: 1;
5395             description { state: "default" 0.0;
5396                rel1.relative: 0.363636364 0.0;
5397                rel2.relative: 0.454545455 1.0;
5398                color: 0 0 0 255;
5399                text {
5400                   font:     "Sans,Edje-Vera";
5401                   text:     ":";
5402                   size:     10;
5403                   min:      1 1;
5404                   align:    0.5 0.5;
5405                }
5406             }
5407          }
5408          part { name: "d2";
5409             type: SWALLOW;
5410             description { state: "default" 0.0;
5411                rel1.relative: 0.454545455 0.0;
5412                rel2.relative: 0.636363636 1.0;
5413             }
5414          }
5415          part { name: "d3";
5416             type: SWALLOW;
5417             description { state: "default" 0.0;
5418                rel1.relative: 0.636363636 0.0;
5419                rel2.relative: 0.818181818 1.0;
5420             }
5421          }
5422          // (if am_pm)
5423          part { name: "ampm";
5424             type: SWALLOW;
5425             description { state: "default" 0.0;
5426                rel1.relative: 0.818181818 0.0;
5427                rel2.relative: 1.0 1.0;
5428             }
5429          }
5430       }
5431    }
5432
5433 ///////////////////////////////////////////////////////////////////////////////
5434    group { name: "elm/clock/base/default";
5435       parts {
5436          part { name: "d0";
5437             type: SWALLOW;
5438             description { state: "default" 0.0;
5439                rel1.relative: 0.000000000 0.0;
5440                rel2.relative: 0.222222222 1.0;
5441             }
5442          }
5443          part { name: "d1";
5444             type: SWALLOW;
5445             description { state: "default" 0.0;
5446                rel1.relative: 0.222222222 0.0;
5447                rel2.relative: 0.444444444 1.0;
5448             }
5449          }
5450          part { name: "c0";
5451             type: SWALLOW;
5452             type: TEXT;
5453             mouse_events:  0;
5454             scale: 1;
5455             description { state: "default" 0.0;
5456                rel1.relative: 0.444444444 0.0;
5457                rel2.relative: 0.555555556 1.0;
5458                color: 0 0 0 255;
5459                text {
5460                   font:     "Sans,Edje-Vera";
5461                   text:     ":";
5462                   size:     10;
5463                   min:      1 1;
5464                   align:    0.5 0.5;
5465                }
5466             }
5467          }
5468          part { name: "d2";
5469             type: SWALLOW;
5470             description { state: "default" 0.0;
5471                rel1.relative: 0.555555556 0.0;
5472                rel2.relative: 0.777777778 1.0;
5473             }
5474          }
5475          part { name: "d3";
5476             type: SWALLOW;
5477             description { state: "default" 0.0;
5478                rel1.relative: 0.777777778 0.0;
5479                rel2.relative: 1.000000000 1.0;
5480             }
5481          }
5482       }
5483    }
5484
5485 ///////////////////////////////////////////////////////////////////////////////
5486    group { name: "elm/frame/base/default";
5487        images {
5488            image: "frame_1.png" COMP;
5489            image: "frame_2.png" COMP;
5490            image: "dia_grad.png" COMP;
5491        }
5492        parts {
5493            part { name: "base0";
5494                mouse_events:  0;
5495                description { state: "default" 0.0;
5496                    image.normal: "dia_grad.png";
5497                    rel1.to: "over";
5498                    rel2.to: "over";
5499                    fill {
5500                        smooth: 0;
5501                        size {
5502                            relative: 0.0 1.0;
5503                            offset: 64 0;
5504                        }
5505                    }
5506                }
5507            }
5508            part { name: "base";
5509                mouse_events:  0;
5510                description { state:    "default" 0.0;
5511                    rel2.to: "elm.swallow.content";
5512                    rel2.offset: 9 9;
5513                    image {
5514                        normal: "frame_2.png";
5515                        border: 5 5 32 26;
5516                        middle: 0;
5517                    }
5518                    fill.smooth : 0;
5519                }
5520            }
5521            part { name: "elm.text";
5522                type: TEXT;
5523                mouse_events:   0;
5524                scale: 1;
5525                description { state: "default" 0.0;
5526                    align: 0.0 0.0;
5527                    fixed: 0 1;
5528                    rel1 {
5529                        relative: 0.0 0.0;
5530                        offset: 6 6;
5531                    }
5532                    rel2 {
5533                        relative: 1.0 0.0;
5534                        offset: -7 6;
5535                    }
5536                    color: 0 0 0 64;
5537                    text {
5538                        font: "Sans:style=Bold,Edje-Vera-Bold";
5539                        size: 10;
5540                        min: 1 1;
5541                        max: 1 1;
5542                        align: 0.0 0.0;
5543                    }
5544                }
5545            }
5546            part { name: "over";
5547                mouse_events:  0;
5548                description { state:    "default" 0.0;
5549                    rel1.offset: 4 4;
5550                    rel2.to: "elm.swallow.content";
5551                    rel2.offset: 5 5;
5552                    image {
5553                        normal: "frame_1.png";
5554                        border: 2 2 28 22;
5555                        middle: 0;
5556                    }
5557                    fill.smooth : 0;
5558                }
5559            }
5560            part { name: "elm.swallow.content";
5561                type: SWALLOW;
5562                description { state: "default" 0.0;
5563                    align: 0.0 0.0;
5564                    rel1 {
5565                        to_y: "elm.text";
5566                        relative: 0.0 1.0;
5567                        offset: 8 2;
5568                    }
5569                    rel2.offset: -9 -9;
5570                }
5571            }
5572        }
5573    }
5574
5575    group { name: "elm/frame/base/pad_small";
5576        parts {
5577            part { name: "b0";
5578                mouse_events:  0;
5579                type: RECT;
5580                scale: 1;
5581                description { state: "default" 0.0;
5582                    visible: 0;
5583                    min: 4 4;
5584                    max: 4 4;
5585                    align: 0.0 0.0;
5586                }
5587            }
5588            part { name: "b1";
5589                mouse_events:  0;
5590                type: RECT;
5591                scale: 1;
5592                description { state: "default" 0.0;
5593                    visible: 0;
5594                    min: 4 4;
5595                    max: 4 4;
5596                    align: 1.0 1.0;
5597                }
5598            }
5599            part { name: "elm.swallow.content";
5600                type: SWALLOW;
5601                description { state: "default" 0.0;
5602                    rel1 {
5603                        to: "b0";
5604                        relative: 1.0 1.0;
5605                        offset: 0 0;
5606                    }
5607                    rel2 {
5608                        to: "b1";
5609                        relative: 0.0 0.0;
5610                        offset: -1 -1;
5611                    }
5612                }
5613            }
5614        }
5615    }
5616
5617    group { name: "elm/frame/base/pad_medium";
5618        parts {
5619            part { name: "b0";
5620                mouse_events:  0;
5621                type: RECT;
5622                scale: 1;
5623                description { state: "default" 0.0;
5624                    visible: 0;
5625                    min: 8 8;
5626                    max: 8 8;
5627                    align: 0.0 0.0;
5628                }
5629            }
5630            part { name: "b1";
5631                mouse_events:  0;
5632                type: RECT;
5633                scale: 1;
5634                description { state: "default" 0.0;
5635                    visible: 0;
5636                    min: 8 8;
5637                    max: 8 8;
5638                    align: 1.0 1.0;
5639                }
5640            }
5641            part { name: "elm.swallow.content";
5642                type: SWALLOW;
5643                description { state: "default" 0.0;
5644                    rel1 {
5645                        to: "b0";
5646                        relative: 1.0 1.0;
5647                        offset: 0 0;
5648                    }
5649                    rel2 {
5650                        to: "b1";
5651                        relative: 0.0 0.0;
5652                        offset: -1 -1;
5653                    }
5654                }
5655            }
5656        }
5657    }
5658
5659    group { name: "elm/frame/base/pad_large";
5660        parts {
5661            part { name: "b0";
5662                mouse_events:  0;
5663                type: RECT;
5664                scale: 1;
5665                description { state: "default" 0.0;
5666                    visible: 0;
5667                    min: 16 16;
5668                    max: 16 16;
5669                    align: 0.0 0.0;
5670                }
5671            }
5672            part { name: "b1";
5673                mouse_events:  0;
5674                type: RECT;
5675                scale: 1;
5676                description { state: "default" 0.0;
5677                    visible: 0;
5678                    min: 16 16;
5679                    max: 16 16;
5680                    align: 1.0 1.0;
5681                }
5682            }
5683            part { name: "elm.swallow.content";
5684                type: SWALLOW;
5685                description { state: "default" 0.0;
5686                    rel1 {
5687                        to: "b0";
5688                        relative: 1.0 1.0;
5689                        offset: 0 0;
5690                    }
5691                    rel2 {
5692                        to: "b1";
5693                        relative: 0.0 0.0;
5694                        offset: -1 -1;
5695                    }
5696                }
5697            }
5698        }
5699    }
5700
5701    group { name: "elm/frame/base/pad_huge";
5702        parts {
5703            part { name: "b0";
5704                mouse_events:  0;
5705                type: RECT;
5706                scale: 1;
5707                description { state: "default" 0.0;
5708                    visible: 0;
5709                    min: 32 32;
5710                    max: 32 32;
5711                    align: 0.0 0.0;
5712                }
5713            }
5714            part { name: "b1";
5715                mouse_events:  0;
5716                type: RECT;
5717                scale: 1;
5718                description { state: "default" 0.0;
5719                    visible: 0;
5720                    min: 32 32;
5721                    max: 32 32;
5722                    align: 1.0 1.0;
5723                }
5724            }
5725            part { name: "elm.swallow.content";
5726                type: SWALLOW;
5727                description { state: "default" 0.0;
5728                    rel1 {
5729                        to: "b0";
5730                        relative: 1.0 1.0;
5731                        offset: 0 0;
5732                    }
5733                    rel2 {
5734                        to: "b1";
5735                        relative: 0.0 0.0;
5736                        offset: -1 -1;
5737                    }
5738                }
5739            }
5740        }
5741    }
5742
5743    group { name: "elm/frame/base/outdent_top";
5744        images {
5745            image: "outdent-top.png" COMP;
5746        }
5747        parts {
5748            part { name: "base0";
5749                mouse_events:  0;
5750                description { state: "default" 0.0;
5751                    image.normal: "outdent-top.png";
5752                    image.border: 0 0 0 13;
5753                    fill.smooth: 0;
5754                }
5755            }
5756            part { name: "elm.swallow.content";
5757                type: SWALLOW;
5758                description { state: "default" 0.0;
5759                    rel1.offset: 2 2;
5760                    rel2.offset: -3 -13;
5761                }
5762            }
5763        }
5764    }
5765
5766    group { name: "elm/frame/base/outdent_bottom";
5767        images {
5768            image: "outdent-bottom.png" COMP;
5769        }
5770        parts {
5771            part { name: "base0";
5772                mouse_events:  0;
5773                description { state: "default" 0.0;
5774                    image.normal: "outdent-bottom.png";
5775                    image.border: 0 0 13 0;
5776                    fill.smooth: 0;
5777                }
5778            }
5779            part { name: "elm.swallow.content";
5780                type: SWALLOW;
5781                description { state: "default" 0.0;
5782                    rel1.offset: 2 12;
5783                    rel2.offset: -3 -3;
5784                }
5785            }
5786        }
5787    }
5788
5789 ///////////////////////////////////////////////////////////////////////////////
5790    group { name: "elm/label/base/tooltip";
5791       styles {
5792          style { name: "tooltip_style";
5793             base: "font=Sans font_size=8 color=#666 wrap=word";
5794             tag:  "br" "\n";
5795             tag:  "hilight" "+ font=Sans:style=Bold";
5796             tag:  "b" "+ font=Sans:style=Bold";
5797             tag:  "tab" "\t";
5798          }
5799       }
5800       parts {
5801          part { name: "elm.text";
5802             type: TEXTBLOCK;
5803             mouse_events: 0;
5804             scale: 1;
5805             description { state: "default" 0.0;
5806                text {
5807                   style: "tooltip_style";
5808                   min: 1 1;
5809                }
5810             }
5811          }
5812       }
5813    }
5814
5815    group { name: "elm/tooltip/base/default";
5816        min: 30 30;
5817        data {
5818            item: "pad_x" "20";
5819            item: "pad_y" "20";
5820            item: "pad_border_x" "10";
5821            item: "pad_border_y" "10";
5822            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5823        }
5824        images {
5825            image: "tooltip-base.png" COMP;
5826            image: "tooltip-corner-top-left-tip.png" COMP;
5827            image: "tooltip-corner-top-right-tip.png" COMP;
5828            image: "tooltip-corner-bottom-left-tip.png" COMP;
5829            image: "tooltip-corner-bottom-right-tip.png" COMP;
5830            image: "tooltip-edge-left-tip.png" COMP;
5831            image: "tooltip-edge-right-tip.png" COMP;
5832            image: "tooltip-edge-bottom-tip.png" COMP;
5833            image: "tooltip-edge-top-tip.png" COMP;
5834        }
5835        script {
5836           hide_corners() {
5837              set_state(PART:"corner-top-left", "default", 0.0);
5838              set_state(PART:"corner-top-right", "default", 0.0);
5839              set_state(PART:"corner-bottom-left", "default", 0.0);
5840              set_state(PART:"corner-bottom-right", "default", 0.0);
5841           }
5842           hide_edges() {
5843              set_state(PART:"clipper-edge-left", "default", 0.0);
5844              set_state(PART:"clipper-edge-right", "default", 0.0);
5845              set_state(PART:"clipper-edge-top", "default", 0.0);
5846              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5847           }
5848
5849           show_corner_top_left() {
5850              set_state(PART:"corner-top-left", "visible", 0.0);
5851
5852              set_state(PART:"corner-top-right", "default", 0.0);
5853              set_state(PART:"corner-bottom-left", "default", 0.0);
5854              set_state(PART:"corner-bottom-right", "default", 0.0);
5855              hide_edges();
5856           }
5857           show_corner_top_right() {
5858              set_state(PART:"corner-top-right", "visible", 0.0);
5859
5860              set_state(PART:"corner-top-left", "default", 0.0);
5861              set_state(PART:"corner-bottom-left", "default", 0.0);
5862              set_state(PART:"corner-bottom-right", "default", 0.0);
5863              hide_edges();
5864           }
5865
5866           show_corner_bottom_left() {
5867              set_state(PART:"corner-bottom-left", "visible", 0.0);
5868
5869              set_state(PART:"corner-bottom-right", "default", 0.0);
5870              set_state(PART:"corner-top-left", "default", 0.0);
5871              set_state(PART:"corner-top-right", "default", 0.0);
5872              hide_edges();
5873           }
5874           show_corner_bottom_right() {
5875              set_state(PART:"corner-bottom-right", "visible", 0.0);
5876
5877              set_state(PART:"corner-bottom-left", "default", 0.0);
5878              set_state(PART:"corner-top-left", "default", 0.0);
5879              set_state(PART:"corner-top-right", "default", 0.0);
5880              hide_edges();
5881           }
5882
5883           show_edge_left(Float:val) {
5884              set_state(PART:"clipper-edge-left", "visible", 0.0);
5885              set_drag(PART:"edge-drag-left", 0.0, val);
5886
5887              set_state(PART:"clipper-edge-right", "default", 0.0);
5888              set_state(PART:"clipper-edge-top", "default", 0.0);
5889              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5890              hide_corners();
5891           }
5892           show_edge_right(Float:val) {
5893              set_state(PART:"clipper-edge-right", "visible", 0.0);
5894              set_drag(PART:"edge-drag-right", 0.0, val);
5895
5896              set_state(PART:"clipper-edge-left", "default", 0.0);
5897              set_state(PART:"clipper-edge-top", "default", 0.0);
5898              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5899              hide_corners();
5900           }
5901
5902           show_edge_top(Float:val) {
5903              set_state(PART:"clipper-edge-top", "visible", 0.0);
5904              set_drag(PART:"edge-drag-top", val, 0.0);
5905
5906              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5907              set_state(PART:"clipper-edge-left", "default", 0.0);
5908              set_state(PART:"clipper-edge-right", "default", 0.0);
5909              hide_corners();
5910           }
5911           show_edge_bottom(Float:val) {
5912              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5913              set_drag(PART:"edge-drag-bottom", val, 0.0);
5914
5915              set_state(PART:"clipper-edge-top", "default", 0.0);
5916              set_state(PART:"clipper-edge-left", "default", 0.0);
5917              set_state(PART:"clipper-edge-right", "default", 0.0);
5918              hide_corners();
5919           }
5920
5921           public message(Msg_Type:type, id, ...) {
5922              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5923                 new Float:x, Float:y;
5924
5925                 x = getfarg(2);
5926                 y = getfarg(3);
5927
5928                 if (x < 0.0)
5929                   {
5930                      if (y < 0.0)      show_corner_top_left();
5931                      else if (y > 1.0) show_corner_bottom_left();
5932                      else              show_edge_left(y);
5933                   }
5934                 else if (x > 1.0)
5935                   {
5936                      if (y < 0.0)      show_corner_top_right();
5937                      else if (y > 1.0) show_corner_bottom_right();
5938                      else              show_edge_right(y);
5939                   }
5940                 else
5941                   {
5942                      if (y < 0.0)      show_edge_top(x);
5943                      else if (y > 1.0) show_edge_bottom(x);
5944                      else
5945                        {
5946                           hide_corners();
5947                           hide_edges();
5948                        }
5949                   }
5950              }
5951           }
5952        }
5953        parts {
5954            part { name: "clipper";
5955                type: RECT;
5956                description { state: "default" 0.0;
5957                    color: 255 255 255 0;
5958                    rel1.to: "elm.swallow.content";
5959                    rel1.offset: -64 -64;
5960                    rel2.to: "elm.swallow.content";
5961                    rel2.offset: 63 63;
5962                }
5963                description { state: "visible" 0.0;
5964                    inherit: "default" 0.0;
5965                    color: 255 255 255 255;
5966                }
5967            }
5968            part { name: "pop";
5969                mouse_events: 0;
5970                clip_to: "clipper";
5971                description { state: "default" 0.0;
5972                    min: 30 30;
5973                    rel1 {
5974                        to: "elm.swallow.content";
5975                        offset: -15 -15;
5976                    }
5977                    rel2 {
5978                        to: "elm.swallow.content";
5979                        offset: 14 14;
5980                    }
5981                    image {
5982                        normal: "tooltip-base.png";
5983                        border: 14 14 14 14;
5984                    }
5985                    image.middle: SOLID;
5986                }
5987            }
5988
5989 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5990            part { name: "corner-"name_;                                 \
5991               type: IMAGE;                                              \
5992               mouse_events: 0;                                          \
5993               clip_to: "clipper";                                       \
5994               description { state: "default" 0.0;                       \
5995                  color: 255 255 255 0;                                  \
5996                  visible: 0;                                            \
5997                  min: 14 14;                                            \
5998                  max: 14 14;                                            \
5999                  align: ax ay;                                          \
6000                  fixed: 1 1;                                            \
6001                  rel1 {                                                 \
6002                     relative: rx ry;                                    \
6003                     offset: ox oy;                                      \
6004                     to: "elm.swallow.content";                          \
6005                  }                                                      \
6006                  rel2 {                                                 \
6007                     relative: rx ry;                                    \
6008                     offset: ox oy;                                      \
6009                     to: "elm.swallow.content";                          \
6010                  }                                                      \
6011                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6012               }                                                         \
6013               description { state: "visible" 0.0;                       \
6014                  inherit: "default" 0.0;                                \
6015                  color: 255 255 255 255;                                \
6016                  visible: 1;                                            \
6017               }                                                         \
6018            }
6019            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6020            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6021            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6022            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6023 #undef TT_CORNER
6024
6025 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6026            part { name: "clipper-edge-"name_;                           \
6027               type: RECT;                                               \
6028               clip_to: "clipper";                                       \
6029               description { state: "default" 0.0;                       \
6030                  color: 255 255 255 0;                                  \
6031                  visible: 0;                                            \
6032                  min: 14 14;                                            \
6033                  align: ax 0.5;                                         \
6034                  fixed: 1 1;                                            \
6035                  rel1 {                                                 \
6036                     relative: rx 0.0;                                   \
6037                     offset: ox 0;                                       \
6038                     to: "elm.swallow.content";                          \
6039                  }                                                      \
6040                  rel2 {                                                 \
6041                     relative: rx 1.0;                                   \
6042                     offset: ox 0;                                       \
6043                     to: "elm.swallow.content";                          \
6044                  }                                                      \
6045               }                                                         \
6046               description { state: "visible" 0.0;                       \
6047                  inherit: "default" 0.0;                                \
6048                  color: 255 255 255 255;                                \
6049                  visible: 1;                                            \
6050               }                                                         \
6051            }                                                            \
6052            part { name: "edge-area-"name_;                              \
6053               type: RECT;                                               \
6054               mouse_events: 0;                                          \
6055               clip_to: "clipper-edge-"name_;                            \
6056               description { state: "default" 0.0;                       \
6057                  color: 0 0 0 0;                                        \
6058                  min: 14 14;                                            \
6059                  align: ax 0.5;                                         \
6060                  fixed: 1 1;                                            \
6061                  rel1 {                                                 \
6062                     relative: rx 0.0;                                   \
6063                     offset: ox 0;                                       \
6064                     to: "elm.swallow.content";                          \
6065                  }                                                      \
6066                  rel2 {                                                 \
6067                     relative: rx 1.0;                                   \
6068                     offset: ox 0;                                       \
6069                     to: "elm.swallow.content";                          \
6070                  }                                                      \
6071               }                                                         \
6072            }                                                            \
6073            part { name: "edge-drag-"name_;                              \
6074               type: RECT;                                               \
6075               mouse_events: 0;                                          \
6076               clip_to: "clipper-edge-"name_;                            \
6077               dragable {                                                \
6078                   x: 0 0 0;                                             \
6079                   y: 1 1 0;                                             \
6080                   confine: "edge-area-"name_;                           \
6081               }                                                         \
6082               description { state: "default" 0.0;                       \
6083                  color: 0 0 0 0;                                        \
6084                  min: 14 14;                                            \
6085                  rel1.to: "edge-area-"name_;                            \
6086                  rel2.to: "edge-area-"name_;                            \
6087               }                                                         \
6088            }                                                            \
6089            part { name: "edge-img-"name_;                               \
6090               type: IMAGE;                                              \
6091               mouse_events: 0;                                          \
6092               clip_to: "clipper-edge-"name_;                            \
6093               description { state: "default" 0.0;                       \
6094                  min: 14 14;                                            \
6095                  max: 14 14;                                            \
6096                  align: ax 0.5;                                         \
6097                  fixed: 1 1;                                            \
6098                  rel1.to: "edge-drag-"name_;                            \
6099                  rel2.to: "edge-drag-"name_;                            \
6100                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6101               }                                                         \
6102            }
6103            TT_EDGE_VERT("left", 0, 1, -2);
6104            TT_EDGE_VERT("right", 1, 0, 1);
6105 #undef TT_EDGE_VERT
6106
6107 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6108            part { name: "clipper-edge-"name_;                           \
6109               type: RECT;                                               \
6110               clip_to: "clipper";                                       \
6111               description { state: "default" 0.0;                       \
6112                  color: 255 255 255 0;                                  \
6113                  visible: 0;                                            \
6114                  min: 14 14;                                            \
6115                  align: 0.5 ay;                                         \
6116                  fixed: 1 1;                                            \
6117                  rel1 {                                                 \
6118                     relative: 0.0 ry;                                   \
6119                     offset: 0 oy;                                       \
6120                     to: "elm.swallow.content";                          \
6121                  }                                                      \
6122                  rel2 {                                                 \
6123                     relative: 1.0 ry;                                   \
6124                     offset: 0 oy;                                       \
6125                     to: "elm.swallow.content";                          \
6126                  }                                                      \
6127               }                                                         \
6128               description { state: "visible" 0.0;                       \
6129                  inherit: "default" 0.0;                                \
6130                  color: 255 255 255 255;                                \
6131                  visible: 1;                                            \
6132               }                                                         \
6133            }                                                            \
6134            part { name: "edge-area-"name_;                              \
6135               type: RECT;                                               \
6136               mouse_events: 0;                                          \
6137               clip_to: "clipper-edge-"name_;                            \
6138               description { state: "default" 0.0;                       \
6139                  color: 0 0 0 0;                                        \
6140                  min: 14 14;                                            \
6141                  align: 0.5 ay;                                         \
6142                  fixed: 1 1;                                            \
6143                  rel1 {                                                 \
6144                     relative: 0.0 ry;                                   \
6145                     offset: 0 oy;                                       \
6146                     to: "elm.swallow.content";                          \
6147                  }                                                      \
6148                  rel2 {                                                 \
6149                     relative: 1.0 ry;                                   \
6150                     offset: 0 oy;                                       \
6151                     to: "elm.swallow.content";                          \
6152                  }                                                      \
6153               }                                                         \
6154            }                                                            \
6155            part { name: "edge-drag-"name_;                              \
6156               type: RECT;                                               \
6157               mouse_events: 0;                                          \
6158               clip_to: "clipper-edge-"name_;                            \
6159               dragable {                                                \
6160                   x: 1 1 0;                                             \
6161                   y: 0 0 0;                                             \
6162                   confine: "edge-area-"name_;                           \
6163               }                                                         \
6164               description { state: "default" 0.0;                       \
6165                  color: 0 0 0 0;                                        \
6166                  min: 14 14;                                            \
6167                  rel1.to: "edge-area-"name_;                            \
6168                  rel2.to: "edge-area-"name_;                            \
6169               }                                                         \
6170            }                                                            \
6171            part { name: "edge-img-"name_;                               \
6172               type: IMAGE;                                              \
6173               mouse_events: 0;                                          \
6174               clip_to: "clipper-edge-"name_;                            \
6175               description { state: "default" 0.0;                       \
6176                  min: 14 14;                                            \
6177                  max: 14 14;                                            \
6178                  align: 0.5 ay;                                         \
6179                  fixed: 1 1;                                            \
6180                  rel1.to: "edge-drag-"name_;                            \
6181                  rel2.to: "edge-drag-"name_;                            \
6182                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6183               }                                                         \
6184            }
6185            TT_EDGE_HORIZ("top", 0, 1, -2);
6186            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6187 #undef TT_EDGE_HORIZ
6188
6189            part { name: "clipper_content";
6190                type: RECT;
6191                description { state: "default" 0.0;
6192                    color: 255 255 255 0;
6193                    rel1.to: "elm.swallow.content";
6194                    rel1.offset: -64 -64;
6195                    rel2.to: "elm.swallow.content";
6196                    rel2.offset: 63 63;
6197                }
6198                description { state: "visible" 0.0;
6199                    inherit: "default" 0.0;
6200                    color: 255 255 255 255;
6201                }
6202            }
6203            part { name: "elm.swallow.content";
6204                type: SWALLOW;
6205                clip_to: "clipper_content";
6206                description { state: "default" 0.0; }
6207            }
6208            programs {
6209                program {
6210                    name: "show0";
6211                    signal: "elm,action,show";
6212                    source: "elm";
6213                    action: ACTION_STOP;
6214                    target: "hide0";
6215                    target: "hide1";
6216                    target: "hide2";
6217                    target: "hide3";
6218                    after: "show1";
6219                    after: "show2";
6220                }
6221                program {
6222                    name: "show1";
6223                    action: STATE_SET "visible" 0.0;
6224                    transition: LINEAR 0.15;
6225                    target: "clipper";
6226                }
6227                program {
6228                    name: "show2";
6229                    in: 0.1 0.0;
6230                    action: STATE_SET "visible" 0.0;
6231                    transition: LINEAR 0.15;
6232                    target: "clipper_content";
6233                }
6234
6235                program {
6236                    name: "hide0";
6237                    signal: "elm,action,hide";
6238                    source: "elm";
6239                    action: ACTION_STOP;
6240                    target: "show0";
6241                    target: "show1";
6242                    target: "show2";
6243                    after: "hide1";
6244                    after: "hide2";
6245                    after: "hide3";
6246                }
6247                program {
6248                    name: "hide1";
6249                    script {
6250                       hide_corners();
6251                       hide_edges();
6252                    }
6253                }
6254                program {
6255                    name: "hide2";
6256                    action: STATE_SET "default" 0.0;
6257                    transition: LINEAR 0.1;
6258                    target: "clipper_content";
6259                }
6260                program {
6261                    name: "hide3";
6262                    in: 0.1 0.0;
6263                    action: STATE_SET "default" 0.0;
6264                    transition: LINEAR 0.1;
6265                    target: "clipper";
6266                }
6267            }
6268        }
6269    }
6270    group { name: "elm/tooltip/base/transparent";
6271       parts {
6272          part { name: "elm.swallow.content";
6273             type: SWALLOW;
6274             mouse_events:   0;
6275             scale: 1;
6276             description { state: "default" 0.0; }
6277          }
6278       }
6279    }
6280
6281 ///////////////////////////////////////////////////////////////////////////////
6282
6283    /* TODO: replicate diagonal swallow slots to the other hover styles */
6284    group { name: "elm/hover/base/default";
6285       images {
6286          image: "shad_circ.png" COMP;
6287       }
6288       parts {
6289          part { name: "elm.swallow.offset";
6290             type: SWALLOW;
6291             description { state: "default" 0.0;
6292                align: 0.0 0.0;
6293                rel1.relative: 0.0 0.0;
6294                rel2.relative: 0.0 0.0;
6295             }
6296          }
6297          part { name: "elm.swallow.size";
6298             type: SWALLOW;
6299             description { state: "default" 0.0;
6300                align: 0.0 0.0;
6301                rel1.to: "elm.swallow.offset";
6302                rel1.relative: 1.0 1.0;
6303                rel2.to: "elm.swallow.offset";
6304                rel2.relative: 1.0 1.0;
6305             }
6306          }
6307          part { name: "base";
6308             type: RECT;
6309             mouse_events: 1;
6310             description { state: "default" 0.0;
6311                color: 0 0 0 64;
6312             }
6313          }
6314          part { name: "shad";
6315             mouse_events:  0;
6316             description { state: "default" 0.0;
6317                image.normal: "shad_circ.png";
6318                rel1.to: "elm.swallow.size";
6319                rel1.offset: -32 -32;
6320                rel2.to: "elm.swallow.size";
6321                rel2.offset: 31 31;
6322                fill.smooth: 0;
6323             }
6324          }
6325          part { name: "box";
6326             type: RECT;
6327             mouse_events: 0;
6328             description { state: "default" 0.0;
6329                color: 0 0 0 0;
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -2 -2;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 1 1;
6334             }
6335          }
6336          part { name: "elm.swallow.slot.left";
6337             type: SWALLOW;
6338             description { state: "default" 0.0;
6339                align: 1.0 0.5;
6340                rel1.to: "elm.swallow.slot.middle";
6341                rel1.relative: 0.0 0.0;
6342                rel1.offset: -1 0;
6343                rel2.to: "elm.swallow.slot.middle";
6344                rel2.relative: 0.0 1.0;
6345                rel2.offset: -1 -1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.top-left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 1.0;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: 0 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 0.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 0.5 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 -1;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 1.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top-right";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.0 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 1.0 0.0;
6378                rel1.offset: 0 0;
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.right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 0.5;
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 1.0;
6393                rel2.offset: 0 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.bottom-right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.0;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 1.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: -1 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.5 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 0.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 0;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom-left";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 1.0 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: 0.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.middle";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                rel1.to: "elm.swallow.size";
6436                rel2.to: "elm.swallow.size";
6437             }
6438          }
6439       }
6440       programs {
6441          program { name: "end";
6442             signal: "mouse,up,1";
6443             source: "base";
6444             action: SIGNAL_EMIT "elm,action,dismiss" "";
6445          }
6446       }
6447    }
6448
6449    group { name: "elm/hover/base/popout";
6450       images {
6451          image: "shad_circ.png" COMP;
6452          image: "bt_dis_base.png" COMP;
6453          image: "bt_dis_hilight.png" COMP;
6454       }
6455       parts {
6456          part { name: "elm.swallow.offset";
6457             type: SWALLOW;
6458             description { state: "default" 0.0;
6459                align: 0.0 0.0;
6460                rel1.relative: 0.0 0.0;
6461                rel2.relative: 0.0 0.0;
6462             }
6463          }
6464          part { name: "elm.swallow.size";
6465             type: SWALLOW;
6466             description { state: "default" 0.0;
6467                align: 0.0 0.0;
6468                rel1.to: "elm.swallow.offset";
6469                rel1.relative: 1.0 1.0;
6470                rel2.to: "elm.swallow.offset";
6471                rel2.relative: 1.0 1.0;
6472             }
6473          }
6474          part { name: "base";
6475             type: RECT;
6476             mouse_events: 1;
6477             description { state: "default" 0.0;
6478                color: 0 0 0 0;
6479             }
6480             description { state: "visible" 0.0;
6481                inherit: "default" 1.0;
6482                color: 0 0 0 64;
6483             }
6484          }
6485          part { name: "leftclip";
6486             type: RECT;
6487             description { state: "default" 0.0;
6488                rel2.to_x: "pop";
6489                rel2.relative: 0.0 1.0;
6490                rel2.offset: 1 -1;
6491             }
6492          }
6493          part { name: "left";
6494             clip_to: "leftclip";
6495             description { state: "default" 0.0;
6496                visible: 0;
6497                rel1.to: "elm.swallow.slot.left";
6498                rel1.offset: -5 -5;
6499                rel2.to: "elm.swallow.slot.left";
6500                rel2.offset: 4 4;
6501                image {
6502                   normal: "bt_dis_base.png";
6503                   border: 4 4 4 4;
6504                }
6505                image.middle: SOLID;
6506             }
6507             description { state: "visible" 0.0;
6508                inherit: "default" 0.0;
6509                visible: 1;
6510             }
6511          }
6512          part { name: "elm.swallow.slot.left";
6513             type: SWALLOW;
6514             clip_to: "leftclip";
6515             description { state: "default" 0.0;
6516                align: 0.0 0.5;
6517                rel1.to: "elm.swallow.slot.middle";
6518                rel1.relative: 0.0 0.0;
6519                rel1.offset: -1 0;
6520                rel2.to: "elm.swallow.slot.middle";
6521                rel2.relative: 0.0 1.0;
6522                rel2.offset: -1 -1;
6523             }
6524             description { state: "visible" 0.0;
6525                inherit: "default" 0.0;
6526                rel1.offset: -7 0;
6527                rel2.offset: -7 -1;
6528                align: 1.0 0.5;
6529             }
6530          }
6531          part { name: "leftover";
6532             clip_to: "leftclip";
6533             mouse_events: 0;
6534             description { state: "default" 0.0;
6535                rel1.to: "left";
6536                rel2.to: "left";
6537                rel2.relative: 1.0 0.5;
6538                image {
6539                   normal: "bt_dis_hilight.png";
6540                   border: 4 4 4 0;
6541                }
6542             }
6543          }
6544          part { name: "rightclip";
6545             type: RECT;
6546             description { state: "default" 0.0;
6547                rel1.to_x: "pop";
6548                rel1.relative: 1.0 0.0;
6549                rel1.offset: -2 0;
6550             }
6551          }
6552          part { name: "right";
6553             clip_to: "rightclip";
6554             description { state: "default" 0.0;
6555                visible: 0;
6556                rel1.to: "elm.swallow.slot.right";
6557                rel1.offset: -5 -5;
6558                rel2.to: "elm.swallow.slot.right";
6559                rel2.offset: 4 4;
6560                image {
6561                   normal: "bt_dis_base.png";
6562                   border: 4 4 4 4;
6563                }
6564                image.middle: SOLID;
6565             }
6566             description { state: "visible" 0.0;
6567                inherit: "default" 0.0;
6568                visible: 1;
6569             }
6570          }
6571          part { name: "elm.swallow.slot.right";
6572             type: SWALLOW;
6573             clip_to: "rightclip";
6574             description { state: "default" 0.0;
6575                align: 1.0 0.5;
6576                rel1.to: "elm.swallow.slot.middle";
6577                rel1.relative: 1.0 0.0;
6578                rel1.offset: 0 0;
6579                rel2.to: "elm.swallow.slot.middle";
6580                rel2.relative: 1.0 1.0;
6581                rel2.offset: 0 -1;
6582             }
6583             description { state: "visible" 0.0;
6584                inherit: "default" 0.0;
6585                rel1.offset: 6 0;
6586                rel2.offset: 6 -1;
6587                align: 0.0 0.5;
6588             }
6589          }
6590          part { name: "rightover";
6591             clip_to: "rightclip";
6592             mouse_events: 0;
6593             description { state: "default" 0.0;
6594                rel1.to: "right";
6595                rel2.to: "right";
6596                rel2.relative: 1.0 0.5;
6597                image {
6598                   normal: "bt_dis_hilight.png";
6599                   border: 4 4 4 0;
6600                }
6601             }
6602          }
6603          part { name: "topclip";
6604             type: RECT;
6605             description { state: "default" 0.0;
6606                rel2.to_y: "pop";
6607                rel2.relative: 1.0 0.0;
6608                rel2.offset: -1 1;
6609             }
6610          }
6611          part { name: "top";
6612             clip_to: "topclip";
6613             description { state: "default" 0.0;
6614                visible: 0;
6615                rel1.to: "elm.swallow.slot.top";
6616                rel1.offset: -5 -5;
6617                rel2.to: "elm.swallow.slot.top";
6618                rel2.offset: 4 4;
6619                image {
6620                   normal: "bt_dis_base.png";
6621                   border: 4 4 4 4;
6622                }
6623                image.middle: SOLID;
6624             }
6625             description { state: "visible" 0.0;
6626                inherit: "default" 0.0;
6627                visible: 1;
6628             }
6629          }
6630          part { name: "elm.swallow.slot.top";
6631             type: SWALLOW;
6632             clip_to: "topclip";
6633             description { state: "default" 0.0;
6634                visible: 1;
6635                align: 0.5 0.0;
6636                rel1.to: "elm.swallow.slot.middle";
6637                rel1.relative: 0.0 0.0;
6638                rel1.offset: 0 -1;
6639                rel2.to: "elm.swallow.slot.middle";
6640                rel2.relative: 1.0 0.0;
6641                rel2.offset: -1 -1;
6642             }
6643             description { state: "visible" 0.0;
6644                inherit: "default" 0.0;
6645                rel1.offset: 0 -7;
6646                rel2.offset: -1 -7;
6647                align: 0.5 1.0;
6648             }
6649          }
6650          part { name: "topover";
6651             clip_to: "topclip";
6652             mouse_events: 0;
6653             description { state: "default" 0.0;
6654                rel1.to: "top";
6655                rel2.to: "top";
6656                rel2.relative: 1.0 0.5;
6657                image {
6658                   normal: "bt_dis_hilight.png";
6659                   border: 4 4 4 0;
6660                }
6661             }
6662          }
6663          part { name: "bottomclip";
6664             type: RECT;
6665             description { state: "default" 0.0;
6666                rel1.to_y: "pop";
6667                rel1.relative: 0.0 1.0;
6668                rel1.offset: -1 -2;
6669             }
6670          }
6671          part { name: "bottom";
6672             clip_to: "bottomclip";
6673             description { state: "default" 0.0;
6674                visible: 0;
6675                rel1.to: "elm.swallow.slot.bottom";
6676                rel1.offset: -5 -5;
6677                rel2.to: "elm.swallow.slot.bottom";
6678                rel2.offset: 4 4;
6679                image {
6680                   normal: "bt_dis_base.png";
6681                   border: 4 4 4 4;
6682                }
6683                image.middle: SOLID;
6684             }
6685             description { state: "visible" 0.0;
6686                inherit: "default" 0.0;
6687                visible: 1;
6688             }
6689          }
6690          part { name: "elm.swallow.slot.bottom";
6691             type: SWALLOW;
6692             clip_to: "bottomclip";
6693             description { state: "default" 0.0;
6694                align: 0.5 1.0;
6695                rel1.to: "elm.swallow.slot.middle";
6696                rel1.relative: 0.0 1.0;
6697                rel1.offset: 0 0;
6698                rel2.to: "elm.swallow.slot.middle";
6699                rel2.relative: 1.0 1.0;
6700                rel2.offset: -1 0;
6701             }
6702             description { state: "visible" 0.0;
6703                inherit: "default" 0.0;
6704                rel1.offset: 0 6;
6705                rel2.offset: -1 6;
6706                align: 0.5 0.0;
6707             }
6708          }
6709          part { name: "bottomover";
6710             clip_to: "bottomclip";
6711             mouse_events: 0;
6712             description { state: "default" 0.0;
6713                rel1.to: "bottom";
6714                rel2.to: "bottom";
6715                rel2.relative: 1.0 0.5;
6716                image {
6717                   normal: "bt_dis_hilight.png";
6718                   border: 4 4 4 0;
6719                }
6720             }
6721          }
6722          part { name: "shad";
6723             mouse_events:  0;
6724             description { state: "default" 0.0;
6725                image.normal: "shad_circ.png";
6726                rel1.to: "elm.swallow.size";
6727                rel1.offset: -64 -64;
6728                rel2.to: "elm.swallow.size";
6729                rel2.offset: 63 63;
6730                fill.smooth: 0;
6731             }
6732          }
6733          part { name: "pop";
6734             mouse_events: 1;
6735             description { state: "default" 0.0;
6736                rel1.to: "elm.swallow.slot.middle";
6737                rel1.offset: -5 -5;
6738                rel2.to: "elm.swallow.slot.middle";
6739                rel2.offset: 4 4;
6740                image {
6741                   normal: "bt_dis_base.png";
6742                   border: 4 4 4 4;
6743                }
6744                image.middle: SOLID;
6745             }
6746          }
6747          part { name: "elm.swallow.slot.middle";
6748             type: SWALLOW;
6749             description { state: "default" 0.0;
6750                rel1.to: "elm.swallow.size";
6751                rel2.to: "elm.swallow.size";
6752             }
6753          }
6754          part { name: "popover";
6755             mouse_events: 0;
6756             description { state: "default" 0.0;
6757                rel1.to: "pop";
6758                rel2.to: "pop";
6759                rel2.relative: 1.0 0.5;
6760                image {
6761                   normal: "bt_dis_hilight.png";
6762                   border: 4 4 4 0;
6763                }
6764             }
6765          }
6766       }
6767       programs {
6768          program { name: "end";
6769             signal: "mouse,up,1";
6770             source: "base";
6771             action: SIGNAL_EMIT "elm,action,dismiss" "";
6772          }
6773
6774          program { name: "show";
6775             signal: "elm,action,show";
6776             source: "elm";
6777             action: STATE_SET "visible" 0.0;
6778 //            transition: DECELERATE 0.5;
6779             target: "base";
6780          }
6781          program { name: "hide";
6782             signal: "elm,action,hide";
6783             source: "elm";
6784             action: STATE_SET "default" 0.0;
6785 //            transition: DECELERATE 0.5;
6786             target: "base";
6787          }
6788
6789          program { name: "leftshow";
6790             signal: "elm,action,slot,left,show";
6791             source: "elm";
6792             action: STATE_SET "visible" 0.0;
6793             transition: DECELERATE 0.5;
6794             target: "left";
6795             target: "elm.swallow.slot.left";
6796          }
6797          program { name: "lefthide";
6798             signal: "elm,action,slot,left,hide";
6799             source: "elm";
6800             action: STATE_SET "default" 0.0;
6801             transition: DECELERATE 0.5;
6802             target: "left";
6803             target: "elm.swallow.slot.left";
6804          }
6805          program { name: "rightshow";
6806             signal: "elm,action,slot,right,show";
6807             source: "elm";
6808             action: STATE_SET "visible" 0.0;
6809             transition: DECELERATE 0.5;
6810             target: "right";
6811             target: "elm.swallow.slot.right";
6812          }
6813          program { name: "righthide";
6814             signal: "elm,action,slot,right,hide";
6815             source: "elm";
6816             action: STATE_SET "default" 0.0;
6817             transition: DECELERATE 0.5;
6818             target: "right";
6819             target: "elm.swallow.slot.right";
6820          }
6821          program { name: "topshow";
6822             signal: "elm,action,slot,top,show";
6823             source: "elm";
6824             action: STATE_SET "visible" 0.0;
6825             transition: DECELERATE 0.5;
6826             target: "top";
6827             target: "elm.swallow.slot.top";
6828          }
6829          program { name: "tophide";
6830             signal: "elm,action,slot,top,hide";
6831             source: "elm";
6832             action: STATE_SET "default" 0.0;
6833             transition: DECELERATE 0.5;
6834             target: "top";
6835             target: "elm.swallow.slot.top";
6836          }
6837          program { name: "bottomshow";
6838             signal: "elm,action,slot,bottom,show";
6839             source: "elm";
6840             action: STATE_SET "visible" 0.0;
6841             transition: DECELERATE 0.5;
6842             target: "bottom";
6843             target: "elm.swallow.slot.bottom";
6844          }
6845          program { name: "bottomhide";
6846             signal: "elm,action,slot,bottom,hide";
6847             source: "elm";
6848             action: STATE_SET "default" 0.0;
6849             transition: DECELERATE 0.5;
6850             target: "bottom";
6851             target: "elm.swallow.slot.bottom";
6852          }
6853       }
6854    }
6855
6856    //In the hover used by the menu only the bottom part is used.
6857    group { name: "elm/hover/base/menu";
6858        images {
6859            image: "shad_circ.png" COMP;
6860            image: "bt_dis_base.png" COMP;
6861        }
6862        parts {
6863            part { name: "elm.swallow.offset";
6864                type: SWALLOW;
6865                description { state: "default" 0.0;
6866                    align: 0.0 0.0;
6867                    rel1.relative: 0.0 0.0;
6868                    rel2.relative: 0.0 0.0;
6869                }
6870            }
6871            part { name: "elm.swallow.size";
6872                type: SWALLOW;
6873                description { state: "default" 0.0;
6874                    align: 0.0 0.0;
6875                    rel1.to: "elm.swallow.offset";
6876                    rel1.relative: 1.0 1.0;
6877                    rel2.to: "elm.swallow.offset";
6878                    rel2.relative: 1.0 1.0;
6879                }
6880            }
6881            part { name: "base";
6882                type: RECT;
6883                mouse_events: 1;
6884                description { state: "default" 0.0;
6885                    color: 0 0 0 0;
6886                }
6887                description { state: "visible" 0.0;
6888                    inherit: "default" 1.0;
6889                    color: 0 0 0 64;
6890                }
6891            }
6892            part { name: "elm.swallow.slot.left";
6893                type: SWALLOW;
6894                description { state: "default" 0.0;
6895                }
6896            }
6897            part { name: "elm.swallow.slot.right";
6898                type: SWALLOW;
6899                description { state: "default" 0.0;
6900                }
6901            }
6902            part { name: "elm.swallow.slot.top";
6903                type: SWALLOW;
6904                description { state: "default" 0.0;
6905                }
6906                description { state: "visible" 0.0;
6907                    inherit: "default" 0.0;
6908                }
6909            }
6910            part { name: "bottomclip";
6911                type: RECT;
6912                description { state: "default" 0.0;
6913                    rel1.to_y: "pop";
6914                    rel1.relative: 0.0 1.0;
6915                    rel1.offset: -1 -2;
6916                }
6917            }
6918            part { name: "bottom";
6919                clip_to: "bottomclip";
6920                description { state: "default" 0.0;
6921                    visible: 0;
6922                    rel1.to: "elm.swallow.slot.bottom";
6923                    rel1.offset: -5 -5;
6924                    rel2.to: "elm.swallow.slot.bottom";
6925                    rel2.offset: 4 4;
6926                    image {
6927                        normal: "bt_dis_base.png";
6928                        border: 4 4 4 4;
6929                    }
6930                    image.middle: SOLID;
6931                }
6932                description { state: "visible" 0.0;
6933                    inherit: "default" 0.0;
6934                    visible: 1;
6935                }
6936            }
6937            part { name: "elm.swallow.slot.bottom";
6938                type: SWALLOW;
6939                clip_to: "bottomclip";
6940                description { state: "default" 0.0;
6941                    align: 0.5 1.0;
6942                    rel1.to: "elm.swallow.slot.middle";
6943                    rel1.relative: 0.0 1.0;
6944                    rel1.offset: 0 0;
6945                    rel2.to: "elm.swallow.slot.middle";
6946                    rel2.relative: 1.0 1.0;
6947                    rel2.offset: -1 0;
6948                }
6949                description { state: "visible" 0.0;
6950                    inherit: "default" 0.0;
6951                    rel1.offset: 0 6;
6952                    rel2.offset: -1 6;
6953                    align: 0.5 0.0;
6954                }
6955            }
6956            part { name: "pop";
6957                mouse_events: 1;
6958                repeat_events:1;
6959                description { state: "default" 0.0;
6960                    rel1.to: "elm.swallow.slot.middle";
6961                    rel1.offset: -5 -5;
6962                    rel2.to: "elm.swallow.slot.middle";
6963                    rel2.offset: 4 4;
6964                }
6965            }
6966            part { name: "elm.swallow.slot.middle";
6967                type: SWALLOW;
6968                repeat_events:1;
6969                description { state: "default" 0.0;
6970                    rel1.to: "elm.swallow.size";
6971                    rel2.to: "elm.swallow.size";
6972                }
6973            }
6974        }
6975        programs {
6976            program { name: "end";
6977                signal: "mouse,up,1";
6978                source: "base";
6979                action: SIGNAL_EMIT "elm,action,dismiss" "";
6980            }
6981            program { name: "show";
6982                signal: "elm,action,show";
6983                source: "elm";
6984                action: STATE_SET "visible" 0.0;
6985                        //            transition: DECELERATE 0.5;
6986                target: "base";
6987            }
6988            program { name: "hide";
6989                signal: "elm,action,hide";
6990                source: "elm";
6991                action: STATE_SET "default" 0.0;
6992                        //            transition: DECELERATE 0.5;
6993                target: "base";
6994            }
6995            program { name: "bottomshow";
6996                signal: "elm,action,slot,bottom,show";
6997                source: "elm";
6998                action: STATE_SET "visible" 0.0;
6999                transition: DECELERATE 0.3;
7000                target: "bottom";
7001                target: "elm.swallow.slot.bottom";
7002            }
7003            program { name: "bottomhide";
7004                signal: "elm,action,slot,bottom,hide";
7005                source: "elm";
7006                action: STATE_SET "default" 0.0;
7007                transition: DECELERATE 0.5;
7008                target: "bottom";
7009                target: "elm.swallow.slot.bottom";
7010            }
7011        }
7012    }
7013
7014    //In the hover used by the submenu only the bottom part is used
7015    //and no part should interact except the bottom area
7016    group { name: "elm/hover/base/submenu";
7017        images {
7018            image: "shad_circ.png" COMP;
7019            image: "bt_dis_base.png" COMP;
7020        }
7021        parts {
7022            part { name: "elm.swallow.offset";
7023                type: SWALLOW;
7024                repeat_events:1;
7025                description { state: "default" 0.0;
7026                    align: 0.0 0.0;
7027                    rel1.relative: 0.0 0.0;
7028                    rel2.relative: 0.0 0.0;
7029                }
7030            }
7031            part { name: "elm.swallow.size";
7032                type: SWALLOW;
7033                description { state: "default" 0.0;
7034                    align: 0.0 0.0;
7035                    rel1.to: "elm.swallow.offset";
7036                    rel1.relative: 1.0 1.0;
7037                    rel2.to: "elm.swallow.offset";
7038                    rel2.relative: 1.0 1.0;
7039                }
7040            }
7041            //here we do non catch events like the hover hover does
7042            part { name: "base";
7043                type: RECT;
7044                mouse_events: 1;
7045                description { state: "default" 0.0;
7046                    color: 0 0 0 0;
7047                    visible: 0;
7048                }
7049            }
7050            part { name: "elm.swallow.slot.left";
7051                type: SWALLOW;
7052                description { state: "default" 0.0;
7053                }
7054            }
7055            part { name: "elm.swallow.slot.right";
7056                type: SWALLOW;
7057                description { state: "default" 0.0;
7058                }
7059            }
7060            part { name: "elm.swallow.slot.top";
7061                type: SWALLOW;
7062                description { state: "default" 0.0;
7063                }
7064            }
7065            part { name: "bottomclip";
7066                type: RECT;
7067                description { state: "default" 0.0;
7068                    rel1.to_y: "pop";
7069                    rel1.relative: 0.0 1.0;
7070                    rel1.offset: -1 -2;
7071                }
7072            }
7073            part { name: "bottom";
7074                clip_to: "bottomclip";
7075                description { state: "default" 0.0;
7076                    visible: 0;
7077                    rel1.to: "elm.swallow.slot.bottom";
7078                    rel1.offset: -5 -5;
7079                    rel2.to: "elm.swallow.slot.bottom";
7080                    rel2.offset: 4 4;
7081                    image {
7082                        normal: "bt_dis_base.png";
7083                        border: 4 4 4 4;
7084                    }
7085                    image.middle: SOLID;
7086                }
7087                description { state: "visible" 0.0;
7088                    inherit: "default" 0.0;
7089                    visible: 1;
7090                }
7091            }
7092            part { name: "elm.swallow.slot.bottom";
7093                type: SWALLOW;
7094                clip_to: "bottomclip";
7095                description { state: "default" 0.0;
7096                    align: 0.5 1.0;
7097                    rel1.to: "elm.swallow.slot.middle";
7098                    rel1.relative: 0.0 1.0;
7099                    rel1.offset: 0 0;
7100                    rel2.to: "elm.swallow.slot.middle";
7101                    rel2.relative: 1.0 1.0;
7102                    rel2.offset: -1 0;
7103                }
7104                description { state: "visible" 0.0;
7105                    inherit: "default" 0.0;
7106                    rel1.offset: 0 6;
7107                    rel2.offset: -1 6;
7108                    align: 0.5 0.0;
7109                }
7110            }
7111            part { name: "pop";
7112                mouse_events: 1;
7113                repeat_events:1;
7114                description { state: "default" 0.0;
7115                    rel1.to: "elm.swallow.slot.middle";
7116                    rel1.offset: -5 -5;
7117                    rel2.to: "elm.swallow.slot.middle";
7118                    rel2.offset: 4 4;
7119                }
7120            }
7121            part { name: "elm.swallow.slot.middle";
7122                type: SWALLOW;
7123                repeat_events:1;
7124                description { state: "default" 0.0;
7125                    rel1.to: "elm.swallow.size";
7126                    rel2.to: "elm.swallow.size";
7127                }
7128            }
7129        }
7130        programs {
7131            program { name: "end";
7132                signal: "mouse,up,1";
7133                source: "base";
7134                action: SIGNAL_EMIT "elm,action,dismiss" "";
7135            }
7136            program { name: "show";
7137                signal: "elm,action,show";
7138                source: "elm";
7139                action: STATE_SET "visible" 0.0;
7140                        //            transition: DECELERATE 0.5;
7141                target: "base";
7142            }
7143            program { name: "hide";
7144                signal: "elm,action,hide";
7145                source: "elm";
7146                action: STATE_SET "default" 0.0;
7147                        //            transition: DECELERATE 0.5;
7148                target: "base";
7149            }
7150            program { name: "bottomshow";
7151                signal: "elm,action,slot,bottom,show";
7152                source: "elm";
7153                action: STATE_SET "visible" 0.0;
7154                transition: DECELERATE 0.3;
7155                target: "bottom";
7156                target: "elm.swallow.slot.bottom";
7157            }
7158            program { name: "bottomhide";
7159                signal: "elm,action,slot,bottom,hide";
7160                source: "elm";
7161                action: STATE_SET "default" 0.0;
7162                transition: DECELERATE 0.5;
7163                target: "bottom";
7164                target: "elm.swallow.slot.bottom";
7165            }
7166        }
7167    }
7168
7169    group { name: "elm/hover/base/hoversel_vertical/default";
7170       alias: "elm/hover/base/hoversel_vertical/entry";
7171       images {
7172 //         image: "shad_circ.png" COMP;
7173          image: "bt_base2.png" COMP;
7174          image: "bt_hilight.png" COMP;
7175          image: "bt_shine.png" COMP;
7176          image: "outdent-top.png" COMP;
7177          image: "outdent-bottom.png" COMP;
7178       }
7179       parts {
7180          part { name: "elm.swallow.offset";
7181             type: SWALLOW;
7182             description { state: "default" 0.0;
7183                align: 0.0 0.0;
7184                rel1.relative: 0.0 0.0;
7185                rel2.relative: 0.0 0.0;
7186             }
7187          }
7188          part { name: "elm.swallow.size";
7189             type: SWALLOW;
7190             description { state: "default" 0.0;
7191                align: 0.0 0.0;
7192                rel1.to: "elm.swallow.offset";
7193                rel1.relative: 1.0 1.0;
7194                rel2.to: "elm.swallow.offset";
7195                rel2.relative: 1.0 1.0;
7196             }
7197          }
7198 /*
7199         part { name: "shad";
7200             mouse_events:  0;
7201             description { state: "default" 0.0;
7202                image.normal: "shad_circ.png";
7203                rel1.to: "button_image";
7204                rel1.offset: -64 -64;
7205                rel2.to: "button_image";
7206                rel2.offset: 63 63;
7207                fill.smooth: 0;
7208             }
7209          }
7210  */
7211          part { name: "button_image";
7212             mouse_events: 1;
7213             description { state: "default" 0.0;
7214                rel1.to_x: "elm.swallow.slot.top";
7215                rel1.to_y: "elm.swallow.slot.top";
7216                rel1.offset: -2 -6;
7217                rel2.to_x: "elm.swallow.slot.top";
7218                rel2.to_y: "elm.swallow.slot.bottom";
7219                rel2.offset: 1 5;
7220                image {
7221                   normal: "bt_base2.png";
7222                   border: 7 7 7 7;
7223                }
7224                image.middle: SOLID;
7225             }
7226             description { state: "bottom" 0.0;
7227                rel1.to_x: "elm.swallow.slot.bottom";
7228                rel1.to_y: "elm.swallow.slot.top";
7229                rel1.offset: -2 -6;
7230                rel2.to_x: "elm.swallow.slot.bottom";
7231                rel2.to_y: "elm.swallow.slot.bottom";
7232                rel2.offset: 1 5;
7233                image {
7234                   normal: "bt_base2.png";
7235                   border: 7 7 7 7;
7236                }
7237                image.middle: SOLID;
7238             }
7239          }
7240
7241          part { name: "base";
7242             type: RECT;
7243             mouse_events: 1;
7244             description { state: "default" 0.0;
7245                color: 0 0 0 0;
7246             }
7247             description { state: "visible" 0.0;
7248                inherit: "default" 1.0;
7249                color: 0 0 0 64;
7250             }
7251          }
7252
7253          part { name: "topclip";
7254             type: RECT;
7255             description { state: "default" 0.0;
7256                rel2.to_y: "edge_top";
7257                rel2.relative: 1.0 0.0;
7258                rel2.offset: -1 7;
7259             }
7260          }
7261          part { name: "elm.swallow.slot.top";
7262             type: SWALLOW;
7263             clip_to: "topclip";
7264             description { state: "default" 0.0;
7265                visible: 1;
7266                align: 0.5 0.0;
7267                rel1.to: "elm.swallow.slot.middle";
7268                rel1.relative: 0.0 0.0;
7269                rel1.offset: 0 -1;
7270                rel2.to: "elm.swallow.slot.middle";
7271                rel2.relative: 1.0 0.0;
7272                rel2.offset: -1 -1;
7273             }
7274             description { state: "visible" 0.0;
7275                inherit: "default" 0.0;
7276                rel1.offset: 0 -7;
7277                rel2.offset: -1 -7;
7278                align: 0.5 1.0;
7279             }
7280          }
7281
7282          part { name: "bottomclip";
7283             type: RECT;
7284             description { state: "default" 0.0;
7285                rel1.to_y: "edge_bottom";
7286                rel1.relative: 0.0 1.0;
7287                rel1.offset: -1 -8;
7288             }
7289          }
7290          part { name: "elm.swallow.slot.bottom";
7291             type: SWALLOW;
7292             clip_to: "bottomclip";
7293             description { state: "default" 0.0;
7294                align: 0.5 1.0;
7295                rel1.to: "elm.swallow.slot.middle";
7296                rel1.relative: 0.0 1.0;
7297                rel1.offset: 0 0;
7298                rel2.to: "elm.swallow.slot.middle";
7299                rel2.relative: 1.0 1.0;
7300                rel2.offset: -1 0;
7301             }
7302             description { state: "visible" 0.0;
7303                inherit: "default" 0.0;
7304                rel1.offset: 0 6;
7305                rel2.offset: -1 6;
7306                align: 0.5 0.0;
7307             }
7308          }
7309
7310          part {          name: "over1";
7311             mouse_events: 0;
7312             description { state: "default" 0.0;
7313                rel1.to: "button_image";
7314                rel2.to: "button_image";
7315                rel2.relative: 1.0 0.5;
7316                image {
7317                   normal: "bt_hilight.png";
7318                   border: 7 7 7 0;
7319                }
7320             }
7321          }
7322          part { name: "over2";
7323             mouse_events: 1;
7324             repeat_events: 1;
7325             ignore_flags: ON_HOLD;
7326             description { state: "default" 0.0;
7327                rel1.to: "button_image";
7328                rel2.to: "button_image";
7329                image {
7330                   normal: "bt_shine.png";
7331                   border: 7 7 7 7;
7332                }
7333             }
7334          }
7335          part { name: "edge_top";
7336             mouse_events:  0;
7337             description { state: "default" 0.0;
7338                visible: 0;
7339                rel1 {
7340                   to: "elm.swallow.size";
7341                   offset: 0 -10;
7342                }
7343                rel2 {
7344                   to: "elm.swallow.size";
7345                }
7346                image.normal: "outdent-bottom.png";
7347                image.border: 0 0 13 0;
7348                fill.smooth: 0;
7349             }
7350             description { state: "visible" 0.0;
7351                inherit: "default" 0.0;
7352                visible: 1;
7353             }
7354          }
7355          part { name: "edge_bottom";
7356             mouse_events:  0;
7357             description { state: "default" 0.0;
7358                visible: 0;
7359                rel1 {
7360                   to: "elm.swallow.size";
7361                }
7362                rel2 {
7363                   to: "elm.swallow.size";
7364                   offset: -1 9;
7365                }
7366                image.normal: "outdent-top.png";
7367                image.border: 0 0 0 13;
7368                fill.smooth: 0;
7369             }
7370             description { state: "visible" 0.0;
7371                inherit: "default" 0.0;
7372                visible: 1;
7373             }
7374          }
7375          part { name: "elm.swallow.slot.middle";
7376             type: SWALLOW;
7377             description { state: "default" 0.0;
7378                rel1.to: "elm.swallow.size";
7379                rel2.to: "elm.swallow.size";
7380             }
7381          }
7382       }
7383       programs {
7384          program { name: "end";
7385             signal: "mouse,up,1";
7386             source: "base";
7387             action: SIGNAL_EMIT "elm,action,dismiss" "";
7388          }
7389
7390          program { name: "show";
7391             signal: "elm,action,show";
7392             source: "elm";
7393             action: STATE_SET "visible" 0.0;
7394 //            transition: DECELERATE 0.5;
7395             target: "base";
7396          }
7397          program { name: "hide";
7398             signal: "elm,action,hide";
7399             source: "elm";
7400             action: STATE_SET "default" 0.0;
7401 //            transition: DECELERATE 0.5;
7402             target: "base";
7403          }
7404          program { name: "topshow";
7405             signal: "elm,action,slot,top,show";
7406             source: "elm";
7407             action: STATE_SET "visible" 0.0;
7408             target: "edge_top";
7409             after: "topshow2";
7410          }
7411          program { name: "topshow2";
7412             action: STATE_SET "visible" 0.0;
7413             transition: DECELERATE 0.5;
7414             target: "elm.swallow.slot.top";
7415          }
7416          program { name: "topshow3";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "default" 0.0;
7420             target: "button_image";
7421          }
7422          program { name: "tophide";
7423             signal: "elm,action,slot,top,hide";
7424             source: "elm";
7425             action: STATE_SET "default" 0.0;
7426             transition: DECELERATE 0.5;
7427             target: "elm.swallow.slot.top";
7428             after: "tophide2";
7429          }
7430          program { name: "tophide2";
7431             action: STATE_SET "default" 0.0;
7432             target: "edge_top";
7433          }
7434          program { name: "bottomshow";
7435             signal: "elm,action,slot,bottom,show";
7436             source: "elm";
7437             action: STATE_SET "visible" 0.0;
7438             target: "edge_bottom";
7439             after: "bottomshow2";
7440          }
7441          program { name: "bottomshow2";
7442             action: STATE_SET "visible" 0.0;
7443             transition: DECELERATE 0.5;
7444             target: "elm.swallow.slot.bottom";
7445          }
7446          program { name: "bottomshow3";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "bottom" 0.0;
7450             target: "button_image";
7451          }
7452          program { name: "bottomhide";
7453             signal: "elm,action,slot,bottom,hide";
7454             source: "elm";
7455             action: STATE_SET "default" 0.0;
7456             transition: DECELERATE 0.5;
7457             target: "elm.swallow.slot.bottom";
7458             after: "bottomhide2";
7459          }
7460          program { name: "bottomhide2";
7461             action: STATE_SET "default" 0.0;
7462             target: "edge_bottom";
7463          }
7464       }
7465    }
7466 ///////////////////////////////////////////////////////////////////////////////
7467    group { name: "elm/scroller/base/ctxpopup";
7468       data {
7469          item: "focus_highlight" "on";
7470       }
7471       script {
7472          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7473          public timer0(val) {
7474             new v;
7475             v = get_int(sbvis_v);
7476             if (v) {
7477                v = get_int(sbalways_v);
7478                if(!v) {
7479                   emit("do-hide-vbar", "");
7480                   set_int(sbvis_v, 0);
7481                }
7482             }
7483             v = get_int(sbvis_h);
7484             if (v) {
7485                v = get_int(sbalways_h);
7486                if(!v) {
7487                   emit("do-hide-hbar", "");
7488                   set_int(sbvis_h, 0);
7489                }
7490             }
7491             set_int(sbvis_timer, 0);
7492             return 0;
7493          }
7494       }
7495       images {
7496          image: "bt_sm_base2.png" COMP;
7497          image: "bt_sm_shine.png" COMP;
7498          image: "bt_sm_hilight.png" COMP;
7499          image: "sl_bt2_2.png" COMP;
7500       }
7501       parts {
7502          part { name: "clipper";
7503             type: RECT;
7504             mouse_events: 0;
7505             scale: 1;
7506             description { state: "default" 0.0;
7507             }
7508          }
7509          part { name: "elm.swallow.content";
7510             clip_to: "clipper";
7511             type: SWALLOW;
7512             scale: 1;
7513             description { state: "default" 0.0;
7514                align: 0.5 0.5;
7515             }
7516          }
7517          part { name: "focus_highlight";
7518             mouse_events: 0;
7519             description { state: "default" 0.0;
7520                rel1.offset: -1 -1;
7521                rel2.offset: 0 0;
7522                image { normal: "sl_bt2_2.png";
7523                   border: 7 7 7 7;
7524                   middle: 0;
7525                }
7526                fill.smooth : 0;
7527                color: 200 155 0 0;
7528             }
7529             description { state: "enabled" 0.0;
7530                inherit: "default" 0.0;
7531                color: 200 155 0 255;
7532             }
7533          }
7534          part { name: "sb_vbar_clip_master";
7535             type: RECT;
7536             mouse_events: 0;
7537             description { state: "default" 0.0;
7538             }
7539             description { state: "hidden" 0.0;
7540                visible: 0;
7541                color: 255 255 255 0;
7542             }
7543          }
7544          part { name: "sb_vbar_clip";
7545             clip_to:"sb_vbar_clip_master";
7546             type: RECT;
7547             mouse_events: 0;
7548             scale: 1;
7549             description { state: "default" 0.0;
7550                align: 0.0 0.0;
7551                rel2{ to:"clipper"; relative: 1.0 1.0;}
7552             }
7553             description { state: "hidden" 0.0;
7554                visible: 0;
7555                color: 255 255 255 0;
7556             }
7557          }
7558          part { name: "sb_vbar";
7559             type: RECT;
7560             mouse_events: 0;
7561             scale: 1;
7562             description { state: "default" 0.0;
7563                fixed: 1 1;
7564                visible: 0;
7565                align: 1.0 0.0;
7566                rel1{ to:"clipper"; relative: 1.0 0.0; }
7567                rel2{ to:"clipper"; relative: 1.0 1.0; }
7568             }
7569          }
7570          part { name: "elm.dragable.vbar";
7571             clip_to: "sb_vbar_clip";
7572             mouse_events: 0;
7573             scale: 1;
7574             dragable {
7575                x: 0 0 0;
7576                y: 1 1 0;
7577                confine: "sb_vbar";
7578             }
7579             description { state: "default" 0.0;
7580                fixed: 1 1;
7581                min: 10 17;
7582                max: 10 99999;
7583                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7584                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7585                image { normal: "bt_sm_base2.png";
7586                   border: 6 6 6 6;
7587                   middle: SOLID;
7588                }
7589             }
7590          }
7591          part { name: "sb_vbar_over1";
7592             clip_to: "sb_vbar_clip";
7593             mouse_events: 0;
7594             description { state: "default" 0.0;
7595                rel1.to: "elm.dragable.vbar";
7596                rel2.relative: 1.0 0.5;
7597                rel2.to: "elm.dragable.vbar";
7598                image { normal: "bt_sm_hilight.png";
7599                   border: 6 6 6 0;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over2";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.to: "elm.dragable.vbar";
7609                image { normal: "bt_sm_shine.png";
7610                   border: 6 6 6 0;
7611                }
7612             }
7613          }
7614          part { name: "sb_hbar_clip_master";
7615             type: RECT;
7616             mouse_events: 0;
7617             description { state: "default" 0.0;
7618             }
7619             description { state: "hidden" 0.0;
7620                visible: 0;
7621                color: 255 255 255 0;
7622             }
7623          }
7624          part { name: "sb_hbar_clip";
7625             clip_to: "sb_hbar_clip_master";
7626             type: RECT;
7627             mouse_events: 0;
7628             scale: 1;
7629             description { state: "default" 0.0;
7630                align: 0.0 0.0;
7631                rel2{ to:"clipper"; relative: 1.0 1.0;}
7632             }
7633             description { state: "hidden" 0.0;
7634                visible: 0;
7635                color: 255 255 255 0;
7636             }
7637          }
7638          part { name: "sb_hbar";
7639             type: RECT;
7640             mouse_events: 0;
7641             scale: 1;
7642             description { state: "default" 0.0;
7643                fixed: 1 1;
7644                visible: 0;
7645                align: 0.0 1.0;
7646                rel1 { to:"clipper"; relative: 0.0 1.0; }
7647                rel2 { to:"clipper"; relative: 1.0 1.0; }
7648             }
7649          }
7650          part { name: "elm.dragable.hbar";
7651             clip_to: "sb_hbar_clip";
7652             mouse_events: 0;
7653             scale: 1;
7654             dragable {
7655                x: 1 1 0;
7656                y: 0 0 0;
7657                confine: "sb_hbar";
7658             }
7659             description { state: "default" 0.0;
7660                min: 17 10;
7661                max: 99999 10;
7662                fixed: 1 1;
7663                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7664                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7665                image { normal: "bt_sm_base2.png";
7666                   border: 4 4 4 4;
7667                   middle: SOLID;
7668                }
7669             }
7670          }
7671          part { name: "sb_hbar_over1";
7672             clip_to: "sb_hbar_clip";
7673             mouse_events: 0;
7674             description { state: "default" 0.0;
7675                rel1.to: "elm.dragable.hbar";
7676                rel2.relative: 1.0 0.5;
7677                rel2.to: "elm.dragable.hbar";
7678                image { normal: "bt_sm_hilight.png";
7679                   border: 6 6 6 0;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over2";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.to: "elm.dragable.hbar";
7689                image { normal: "bt_sm_shine.png";
7690                   border: 6 6 6 0;
7691                }
7692             }
7693          }
7694       }
7695       programs {
7696          program { name: "load";
7697             signal: "load";
7698             source: "";
7699             script {
7700                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7701                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7702                set_int(sbvis_v, 0);
7703                set_int(sbvis_h, 0);
7704                set_int(sbalways_v, 0);
7705                                    set_int(sbalways_h, 0);
7706                set_int(sbvis_timer, 0);
7707             }
7708          }
7709          program { name: "vbar_show";
7710             signal: "elm,action,show,vbar";
7711             source: "elm";
7712             action: STATE_SET "default" 0.0;
7713             target: "sb_vbar_clip_master";
7714          }
7715          program { name: "vbar_hide";
7716             signal: "elm,action,hide,vbar";
7717             source: "elm";
7718             action:  STATE_SET "hidden" 0.0;
7719             target: "sb_vbar_clip_master";
7720          }
7721          program { name: "vbar_show_always";
7722             signal: "elm,action,show_always,vbar";
7723             source: "elm";
7724             script {
7725                new v;
7726                v = get_int(sbvis_v);
7727                v |= get_int(sbalways_v);
7728                if (!v) {
7729                   set_int(sbalways_v, 1);
7730                   emit("do-show-vbar", "");
7731                   set_int(sbvis_v, 1);
7732                }
7733             }
7734          }
7735          program { name: "vbar_show_notalways";
7736             signal: "elm,action,show_notalways,vbar";
7737             source: "elm";
7738             script {
7739                new v;
7740                v = get_int(sbalways_v);
7741                if (v) {
7742                   set_int(sbalways_v, 0);
7743                   v = get_int(sbvis_v);
7744                   if (!v) {
7745                      emit("do-hide-vbar", "");
7746                      set_int(sbvis_v, 0);
7747                   }
7748                }
7749             }
7750          }
7751          program { name: "sb_vbar_show";
7752             signal: "do-show-vbar";
7753             source: "";
7754             action:  STATE_SET "default" 0.0;
7755             transition: LINEAR 1.0;
7756             target: "sb_vbar_clip";
7757          }
7758          program { name: "sb_vbar_hide";
7759             signal: "do-hide-vbar";
7760             source: "";
7761             action:  STATE_SET "hidden" 0.0;
7762             transition: LINEAR 1.0;
7763             target: "sb_vbar_clip";
7764          }
7765          program { name: "hbar_show";
7766             signal: "elm,action,show,hbar";
7767             source: "elm";
7768             action:  STATE_SET "default" 0.0;
7769             target: "sb_hbar_clip_master";
7770          }
7771          program { name: "hbar_hide";
7772             signal: "elm,action,hide,hbar";
7773             source: "elm";
7774             action:  STATE_SET "hidden" 0.0;
7775             target: "sb_hbar_clip_master";
7776          }
7777          program { name: "hbar_show_always";
7778             signal: "elm,action,show_always,hbar";
7779             source: "elm";
7780             script {
7781                new v;
7782                v = get_int(sbvis_h);
7783                v |= get_int(sbalways_h);
7784                if (!v) {
7785                   set_int(sbalways_h, 1);
7786                   emit("do-show-hbar", "");
7787                   set_int(sbvis_h, 1);
7788                }
7789             }
7790          }
7791          program { name: "hbar_show_notalways";
7792             signal: "elm,action,show_notalways,hbar";
7793             source: "elm";
7794             script {
7795                new v;
7796                v = get_int(sbalways_h);
7797                if (v) {
7798                   set_int(sbalways_h, 0);
7799                   v = get_int(sbvis_h);
7800                   if (!v) {
7801                      emit("do-hide-hbar", "");
7802                      set_int(sbvis_h, 0);
7803                   }
7804                }
7805             }
7806          }
7807          program { name: "sb_hbar_show";
7808             signal: "do-show-hbar";
7809             source: "";
7810             action:  STATE_SET "default" 0.0;
7811             transition: LINEAR 1.0;
7812             target: "sb_hbar_clip";
7813          }
7814          program { name: "sb_hbar_hide";
7815             signal: "do-hide-hbar";
7816             source: "";
7817             action:  STATE_SET "hidden" 0.0;
7818             transition: LINEAR 1.0;
7819             target: "sb_hbar_clip";
7820          }             
7821          program { name: "scroll";
7822             signal: "elm,action,scroll";
7823             source: "elm";
7824             script {
7825                new v;
7826                v = get_int(sbvis_v);
7827                v |= get_int(sbalways_v);
7828                if (!v) {
7829                   emit("do-show-vbar", "")
7830                   set_int(sbvis_v, 1);
7831                }
7832                v = get_int(sbvis_h);
7833                v |= get_int(sbalways_h);
7834                if (!v) {
7835                   emit("do-show-hbar", "");
7836                   set_int(sbvis_h, 1);
7837                }
7838                v = get_int(sbvis_timer);
7839                if (v > 0) cancel_timer(v);
7840                v = timer(1.0, "timer0", 0);
7841                set_int(sbvis_timer, v);
7842             }
7843          }
7844          program { name: "highlight_show";
7845             signal: "elm,action,focus_highlight,show";
7846             source: "elm";
7847             action: STATE_SET "enabled" 0.0;
7848             transition: ACCELERATE 0.3;
7849             target: "focus_highlight";
7850           }
7851          program { name: "highlight_hide";
7852             signal: "elm,action,focus_highlight,hide";
7853             source: "elm";
7854             action: STATE_SET "default" 0.0;
7855             transition: DECELERATE 0.3;
7856             target: "focus_highlight";
7857          }
7858       }
7859    }
7860 ///////////////////////////////////////////////////////////////////////////////
7861    group { name: "elm/ctxpopup/bg/default";
7862       parts {
7863          part { name: "ctxpopup_bg";
7864             type: RECT;
7865             mouse_events: 1;
7866             description { state: "default" 0.0;
7867                color: 0 0 0 0;
7868             }
7869             description { state: "visible" 0.0;
7870                inherit: "default" 0.0;
7871                color: 0 0 0 64;
7872             }
7873          }
7874       }
7875       programs {
7876          program { name: "clicked_event";
7877             signal: "mouse,clicked,1";
7878             source: "ctxpopup_bg";
7879             action: SIGNAL_EMIT "elm,action,click" "";
7880          }
7881          program { name: "show";
7882             signal: "elm,state,show";
7883             source: "elm";
7884             action: STATE_SET "visible" 0.0;
7885             target: "ctxpopup_bg";
7886          }
7887          program { name: "hide";
7888             signal: "elm,state,hide";
7889             source: "elm";
7890             action: STATE_SET "default" 0.0;
7891             target: "ctxpopup_bg";
7892          }
7893       }
7894    }
7895 ///////////////////////////////////////////////////////////////////////////////
7896    group { name: "elm/ctxpopup/base/default";
7897       images {
7898          image: "bt_base2.png" COMP;
7899          image: "bt_hilight.png" COMP;
7900          image: "bt_shine.png" COMP;
7901       }
7902       parts {
7903          part { name: "base";
7904             scale: 1;
7905             description { state: "default" 0.0;
7906                rel1.offset: -3 -3;
7907                rel2.offset: 3 3;
7908                image { normal: "bt_base2.png";
7909                   border: 7 7 7 7;
7910                }
7911             }
7912          }
7913          part { name: "over1";
7914             scale: 1;
7915             description { state: "default" 0.0;
7916                rel1.to: "base";
7917                rel2.to: "base";
7918                rel2.relative: 1.0 0.5;
7919                image { normal: "bt_hilight.png";
7920                   border: 7 7 7 0;
7921                }
7922             }
7923          }
7924          part { name: "over2";
7925             scale: 1;
7926             description { state: "default" 0.0;
7927                rel1.to: "base";
7928                rel2.to: "base";
7929                image { normal: "bt_shine.png";
7930                   border: 7 7 7 7;
7931                }
7932             }
7933          }
7934          part { name: "elm.swallow.content";
7935             type: SWALLOW;
7936             description { state: "default" 0.0;
7937                rel1 { to:"base"; offset: 4 4; };
7938                rel2 { to:"base"; offset: -5 -5; };
7939             }
7940          }          
7941       }
7942    }
7943 ///////////////////////////////////////////////////////////////////////////////
7944    group { name: "elm/ctxpopup/arrow/default";
7945       images {
7946          image: "icon_arrow_left.png" COMP;
7947          image: "icon_arrow_right.png" COMP;
7948          image: "icon_arrow_up.png" COMP;
7949          image: "icon_arrow_down.png" COMP;
7950       }
7951       parts {
7952                         part { name: "ctxpopup_arrow";
7953             type: IMAGE;
7954             scale: 1;
7955             description {
7956                state: "default" 0.0;
7957                min: 40 40;
7958                fixed: 1 1;
7959                visible: 0;
7960                align: 0.5 0.5;
7961             }
7962             description {
7963                state: "left" 0.0;
7964                min: 40 40;
7965                fixed: 1 1;
7966                align: 0.0 0.5;
7967                image { normal: "icon_arrow_left.png";
7968                }
7969             }
7970             description { state: "right" 0.0;
7971                min: 40 40;
7972                fixed: 1 1;
7973                align: 1.0 0.5;
7974                image { normal: "icon_arrow_right.png";    
7975                                         }
7976             }
7977             description { state: "top" 0.0;
7978                min: 40 40;
7979                fixed: 1 1;
7980                align: 0.5 0.0;
7981                image { normal: "icon_arrow_up.png";
7982                }
7983             }
7984             description { state: "bottom" 0.0;
7985                min: 40 40;
7986                fixed: 1 1;
7987                align: 0.5 1.0;
7988                image { normal: "icon_arrow_down.png";
7989                }
7990             }
7991          }
7992       }
7993       programs {
7994          program { name: "enable_left_arrow";
7995             signal: "elm,state,left";
7996             source: "elm";
7997             action: STATE_SET "left" 0.0;
7998             target: "ctxpopup_arrow";
7999          }
8000          program { name: "enable_right_arrow";
8001             signal: "elm,state,right";
8002             source: "elm";
8003             action: STATE_SET "right" 0.0;
8004             target: "ctxpopup_arrow";
8005          }
8006          program { name: "enable_top_arrow";
8007             signal: "elm,state,top";
8008             source: "elm";
8009             action: STATE_SET "top" 0.0;
8010             target: "ctxpopup_arrow";
8011          }
8012          program { name: "enable_bottom_arrow";
8013             signal: "elm,state,bottom";
8014             source: "elm";
8015             action: STATE_SET "bottom" 0.0;
8016             target: "ctxpopup_arrow";
8017          }
8018       }
8019    }
8020 ///////////////////////////////////////////////////////////////////////////////
8021    group {
8022       name: "elm/ctxpopup/icon_text_style_item/default";
8023            alias: "elm/ctxpopup/text_style_item/default";
8024            alias: "elm/ctxpopup/icon_style_item/default";
8025       images {
8026          image: "hoversel_entry_bg.png" COMP;
8027       }
8028       parts {
8029          part { name: "event";
8030             mouse_events: 1;
8031             description { state: "default" 0.0;
8032             }
8033          }
8034          part { name: "bg";
8035             mouse_events: 0;
8036             description { state: "default" 0.0;
8037                rel1.offset: 2 2;
8038                rel2.offset: -3 -3;
8039                image { normal:"hoversel_entry_bg.png";
8040                   border: 0 0 2 2;
8041                }
8042                fill.smooth: 0;
8043                color: 255 255 255 0;
8044             }
8045             description { state: "clicked" 0.0;
8046                inherit: "default" 0.0;
8047                color: 255 255 255 255;
8048             }
8049          }
8050          part { name: "elm.swallow.icon";
8051             type: SWALLOW;
8052             clip_to: "disclip";
8053             scale: 1;
8054             description { state: "default" 0.0;
8055                min: 25 25;
8056                max: 25 25;  
8057                align: 0 0.5;
8058                aspect: 1.0 1.0;
8059                rel1 { offset: 10 10; }  
8060                                         rel2 { offset: 0 -10; }
8061             }
8062          }
8063          part { name: "elm.text";
8064             type: TEXT;
8065             mouse_events: 0;
8066             clip_to: "disclip";
8067             scale: 1;
8068             description { state: "default" 0.0;
8069                min: 1 40;
8070                fixed: 0 1;
8071                align: 0.5 0.5;
8072                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8073                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8074                color: 255 255 255 255;
8075                text {
8076                   font: "Sans";
8077                   size: 10;
8078                   align: 0.0 0.5;
8079                   min: 1 1;
8080                }
8081             }
8082             description { state: "clicked" 0.0;
8083                inherit: "default" 0.0;
8084                color: 0 0 0 255;
8085             }
8086          }
8087                         part { name: "over1";
8088             mouse_events: 1;
8089             repeat_events: 1;
8090             ignore_flags: ON_HOLD;
8091             description { state: "default" 0.0;
8092                color: 255 255 255 0;
8093             }
8094             description { state: "clicked" 0.0;
8095                inherit: "default" 0.0;
8096                color: 255 255 255 255;
8097             }
8098          }
8099          part { name: "over2";
8100             mouse_events: 1;
8101             repeat_events: 1;
8102             description { state: "default" 0.0;
8103                color: 255 255 255 0;
8104             }
8105             description { state: "clicked" 0.0;
8106                inherit: "default" 0.0;
8107                color: 255 255 255 255;
8108             }
8109          }
8110          part { name: "disclip";
8111             type: RECT;
8112             description { state: "default" 0.0;
8113                color: 255 255 255 255;
8114             }
8115             description { state: "enabled" 0.0;
8116                color: 127 127 127 127;
8117             }
8118          }
8119          part { name: "blocker";
8120             description { state: "default" 0.0;
8121                visible: 0;
8122             }
8123             description { state: "enabled" 0.0;
8124                visible: 1;
8125                color: 0 0 0 0;
8126             }
8127          }
8128                 }
8129       programs {
8130          program {
8131             name: "item_unclick";
8132             signal: "mouse,up,1";
8133             source: "over1";
8134             action: SIGNAL_EMIT "elm,action,click" "";
8135          }
8136          program { name: "disable";
8137             signal: "elm,state,disabled";
8138             source: "elm";
8139             action: STATE_SET "enabled" 0.0;
8140             target: "disclip";
8141             target: "blocker";
8142          }
8143          program { name: "enable";
8144             signal: "elm,state,enabled";
8145             source: "elm";
8146             action: STATE_SET "default" 0.0;
8147             target: "disclip";
8148             target: "blocker";
8149          }
8150          program { name: "item_click2";
8151             signal: "mouse,down,1";
8152             source: "over2";
8153             script {
8154                set_state(PART:"elm.text", "clicked", 0.0);
8155                set_state(PART:"bg", "clicked", 0.0);
8156             }
8157          }
8158          program { name: "item_unclick2";
8159             signal: "mouse,up,1";
8160             source: "over2";
8161             script {
8162                                         set_state(PART:"elm.text", "default", 0.0);
8163                set_state(PART:"bg", "default", 0.0);
8164             }
8165          }
8166       }
8167    }
8168 ///////////////////////////////////////////////////////////////////////////////
8169 // emoticon images from:
8170 // Tanya - Latvia
8171 // http://lazycrazy.deviantart.com/
8172 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8173   group { name: "elm/entry/emoticon/angry/default"; images.image:
8174      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8175         "emo-angry.png"; } } } }
8176   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8177      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8178         "emo-angry-shout.png"; } } } }
8179   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8180      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8181         "emo-crazy-laugh.png"; } } } }
8182   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8183      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8184         "emo-evil-laugh.png"; } } } }
8185   group { name: "elm/entry/emoticon/evil/default"; images.image:
8186      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8187         "emo-evil.png"; } } } }
8188   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8189      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8190         "emo-goggle-smile.png"; } } } }
8191   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8192      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8193         "emo-grumpy.png"; } } } }
8194   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8195      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8196         "emo-grumpy-smile.png"; } } } }
8197   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8198      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8199         "emo-guilty.png"; } } } }
8200   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8201      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8202         "emo-guilty-smile.png"; } } } }
8203   group { name: "elm/entry/emoticon/haha/default"; images.image:
8204      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8205         "emo-haha.png"; } } } }
8206   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8207      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8208         "emo-half-smile.png"; } } } }
8209   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8210      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8211         "emo-happy-panting.png"; } } } }
8212   group { name: "elm/entry/emoticon/happy/default"; images.image:
8213      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8214         "emo-happy.png"; } } } }
8215   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8216      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8217         "emo-indifferent.png"; } } } }
8218   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8219      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8220         "emo-kiss.png"; } } } }
8221   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8222      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8223         "emo-knowing-grin.png"; } } } }
8224   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8225      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8226         "emo-laugh.png"; } } } }
8227   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8228      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8229         "emo-little-bit-sorry.png"; } } } }
8230   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8231      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8232         "emo-love-lots.png"; } } } }
8233   group { name: "elm/entry/emoticon/love/default"; images.image:
8234      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8235         "emo-love.png"; } } } }
8236   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8237      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8238         "emo-minimal-smile.png"; } } } }
8239   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8240      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8241         "emo-not-happy.png"; } } } }
8242   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8243      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8244         "emo-not-impressed.png"; } } } }
8245   group { name: "elm/entry/emoticon/omg/default"; images.image:
8246      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8247         "emo-omg.png"; } } } }
8248   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8249      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8250         "emo-opensmile.png"; } } } }
8251   group { name: "elm/entry/emoticon/smile/default"; images.image:
8252      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8253         "emo-smile.png"; } } } }
8254   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8255      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8256         "emo-sorry.png"; } } } }
8257   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8258      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8259         "emo-squint-laugh.png"; } } } }
8260   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8261      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8262         "emo-surprised.png"; } } } }
8263   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8264      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8265         "emo-suspicious.png"; } } } }
8266   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8267      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8268         "emo-tongue-dangling.png"; } } } }
8269   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8270      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8271         "emo-tongue-poke.png"; } } } }
8272   group { name: "elm/entry/emoticon/uh/default"; images.image:
8273      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8274         "emo-uh.png"; } } } }
8275   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8276      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8277         "emo-unhappy.png"; } } } }
8278   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8279      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8280         "emo-very-sorry.png"; } } } }
8281   group { name: "elm/entry/emoticon/what/default"; images.image:
8282      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8283         "emo-what.png"; } } } }
8284   group { name: "elm/entry/emoticon/wink/default"; images.image:
8285      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8286         "emo-wink.png"; } } } }
8287   group { name: "elm/entry/emoticon/worried/default"; images.image:
8288      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8289         "emo-worried.png"; } } } }
8290   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8291      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8292         "emo-wtf.png"; } } } }
8293 //------------------------------------------------------------
8294    group { name: "elm/entry/base/default";
8295       styles
8296       {
8297          style { name: "entry_textblock_style";
8298             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8299             tag:  "br" "\n";
8300             tag:  "ps" "ps";
8301             tag:  "tab" "\t";
8302             tag:  "em" "+ font=Sans:style=Oblique";
8303             tag:  "b" "+ font=Sans:style=Bold";
8304             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8305             tag:  "hilight" "+ font=Sans:style=Bold";
8306          }
8307          style { name: "entry_textblock_disabled_style";
8308             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8309             tag:  "br" "\n";
8310             tag:  "ps" "ps";
8311             tag:  "tab" "\t";
8312             tag:  "em" "+ font=Sans:style=Oblique";
8313             tag:  "b" "+ font=Sans:style=Bold";
8314             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8315             tag:  "hilight" "+ font=Sans:style=Bold";
8316          }
8317       }
8318       data {
8319 //         item: context_menu_orientation "horizontal";
8320       }
8321       parts {
8322          part { name: "elm.text";
8323             type: TEXTBLOCK;
8324             mouse_events: 1;
8325             scale: 1;
8326             entry_mode: EDITABLE;
8327             select_mode: EXPLICIT;
8328             multiline: 1;
8329             source: "elm/entry/selection/default"; // selection under
8330    //       source2: "X"; // selection over
8331    //       source3: "X"; // cursor under
8332             source4: "elm/entry/cursor/default"; // cursorover
8333             source5: "elm/entry/anchor/default"; // anchor under
8334    //       source6: "X"; // anchor over
8335             description { state: "default" 0.0;
8336                /* we gotta use 0 0 here, because of scrolled entries */
8337                fixed: 0 0;
8338                text {
8339                   style: "entry_textblock_style";
8340                   min: 0 1;
8341                }
8342             }
8343             description { state: "disabled" 0.0;
8344                inherit: "default" 0.0;
8345                text {
8346                   style: "entry_textblock_disabled_style";
8347                   min: 0 1;
8348                }
8349             }
8350          }
8351       }
8352       programs {
8353          program { name: "focus";
8354             signal: "load";
8355             source: "";
8356             action: FOCUS_SET;
8357             target: "elm.text";
8358          }
8359          program { name: "disable";
8360             signal: "elm,state,disabled";
8361             source: "elm";
8362             action: STATE_SET "disabled" 0.0;
8363             target: "elm.text";
8364          }
8365          program { name: "enable";
8366             signal: "elm,state,enabled";
8367             source: "elm";
8368             action: STATE_SET "default" 0.0;
8369             target: "elm.text";
8370          }
8371       }
8372    }
8373
8374    group { name: "elm/entry/base-charwrap/default";
8375       styles
8376       {
8377          style { name: "entry_textblock_style_charwrap";
8378             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8379             tag:  "br" "\n";
8380             tag:  "ps" "ps";
8381             tag:  "tab" "\t";
8382             tag:  "em" "+ font=Sans:style=Oblique";
8383             tag:  "b" "+ font=Sans:style=Bold";
8384             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8385             tag:  "hilight" "+ font=Sans:style=Bold";
8386          }
8387          style { name: "entry_textblock_disabled_style_charwrap";
8388             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8389             tag:  "br" "\n";
8390             tag:  "ps" "ps";
8391             tag:  "tab" "\t";
8392             tag:  "em" "+ font=Sans:style=Oblique";
8393             tag:  "b" "+ font=Sans:style=Bold";
8394             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8395             tag:  "hilight" "+ font=Sans:style=Bold";
8396          }
8397       }
8398       parts {
8399          part { name: "elm.text";
8400             type: TEXTBLOCK;
8401             mouse_events: 1;
8402             scale: 1;
8403             entry_mode: EDITABLE;
8404             select_mode: EXPLICIT;
8405             multiline: 1;
8406             source: "elm/entry/selection/default"; // selection under
8407 //          source2: "X"; // selection over
8408 //          source3: "X"; // cursor under
8409             source4: "elm/entry/cursor/default"; // cursorover
8410             source5: "elm/entry/anchor/default"; // anchor under
8411 //          source6: "X"; // anchor over
8412             description { state: "default" 0.0;
8413                fixed: 1 0;
8414                text {
8415                   style: "entry_textblock_style_charwrap";
8416                   min: 0 1;
8417                }
8418             }
8419             description { state: "disabled" 0.0;
8420                inherit: "default" 0.0;
8421                text {
8422                   style: "entry_textblock_disabled_style_charwrap";
8423                   min: 0 1;
8424                }
8425             }
8426          }
8427       }
8428       programs {
8429          program { name: "focus";
8430             signal: "load";
8431             source: "";
8432             action: FOCUS_SET;
8433             target: "elm.text";
8434          }
8435          program { name: "disable";
8436             signal: "elm,state,disabled";
8437             source: "elm";
8438             action: STATE_SET "disabled" 0.0;
8439             target: "elm.text";
8440          }
8441          program { name: "enable";
8442             signal: "elm,state,enabled";
8443             source: "elm";
8444             action: STATE_SET "default" 0.0;
8445             target: "elm.text";
8446          }
8447       }
8448    }
8449
8450    group { name: "elm/entry/base-nowrap/default";
8451       parts {
8452          part { name: "elm.text";
8453             type: TEXTBLOCK;
8454             mouse_events: 1;
8455             scale: 1;
8456             entry_mode: EDITABLE;
8457             select_mode: EXPLICIT;
8458             multiline: 1;
8459             source: "elm/entry/selection/default"; // selection under
8460             source4: "elm/entry/cursor/default"; // cursorover
8461             source5: "elm/entry/anchor/default"; // anchor under
8462             description { state: "default" 0.0;
8463                text {
8464                   style: "entry_textblock_style";
8465                   min: 1 1;
8466                }
8467             }
8468             description { state: "disabled" 0.0;
8469                inherit: "default" 0.0;
8470                text {
8471                   style: "entry_textblock_disabled_style";
8472                   min: 0 1;
8473                }
8474             }
8475          }
8476 /*
8477          part { name: "sel";
8478             type: RECT;
8479             mouse_events: 0;
8480             description { state: "default" 0.0;
8481                align: 1.0 1.0;
8482                max: 16 16;
8483                aspect: 1.0 1.0;
8484                color: 255 0 0 0;
8485             }
8486             description { state: "visible" 0.0;
8487                inherit: "default" 0.0;
8488                color: 255 0 0 50;
8489             }
8490          }
8491  */
8492       }
8493       programs {
8494          program { name: "focus";
8495             signal: "load";
8496             source: "";
8497             action: FOCUS_SET;
8498             target: "elm.text";
8499          }
8500          program { name: "disable";
8501             signal: "elm,state,disabled";
8502             source: "elm";
8503             action: STATE_SET "disabled" 0.0;
8504             target: "elm.text";
8505          }
8506          program { name: "enable";
8507             signal: "elm,state,enabled";
8508             source: "elm";
8509             action: STATE_SET "default" 0.0;
8510             target: "elm.text";
8511          }
8512 /*
8513          program { name: "selmode0";
8514             signal: "elm,state,select,on";
8515             source: "elm";
8516             action: STATE_SET "visible" 0.0;
8517             target: "sel";
8518          }
8519          program { name: "selmode1";
8520             signal: "elm,state,select,off";
8521             source: "elm";
8522             action: STATE_SET "default" 0.0;
8523             target: "sel";
8524          }
8525  */
8526       }
8527    }
8528
8529    group { name: "elm/entry/base-single/default";
8530       styles
8531       {
8532          style { name: "entry_single_textblock_style";
8533             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8534             tag:  "br" "\n";
8535             tag:  "ps" "ps";
8536             tag:  "tab" "\t";
8537             tag:  "em" "+ font=Sans:style=Oblique";
8538             tag:  "b" "+ font=Sans:style=Bold";
8539             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8540             tag:  "hilight" "+ font=Sans:style=Bold";
8541          }
8542          style { name: "entry_single_textblock_disabled_style";
8543             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8544             tag:  "br" "\n";
8545             tag:  "ps" "ps";
8546             tag:  "tab" "\t";
8547             tag:  "em" "+ font=Sans:style=Oblique";
8548             tag:  "b" "+ font=Sans:style=Bold";
8549             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8550             tag:  "hilight" "+ font=Sans:style=Bold";
8551          }
8552       }
8553       parts {
8554          part { name: "elm.text";
8555             type: TEXTBLOCK;
8556             mouse_events: 1;
8557             scale: 1;
8558             entry_mode: EDITABLE;
8559             select_mode: EXPLICIT;
8560             multiline: 0;
8561             source: "elm/entry/selection/default"; // selection under
8562             source4: "elm/entry/cursor/default"; // cursorover
8563             source5: "elm/entry/anchor/default"; // anchor under
8564             description { state: "default" 0.0;
8565                text {
8566                   style: "entry_single_textblock_style";
8567                   min: 1 1;
8568                   max: 0 1;
8569                }
8570             }
8571             description { state: "disabled" 0.0;
8572                inherit: "default" 0.0;
8573                text {
8574                   style: "entry_single_textblock_disabled_style";
8575                }
8576             }
8577          }
8578       }
8579       programs {
8580          program { name: "focus";
8581             signal: "load";
8582             source: "";
8583             action: FOCUS_SET;
8584             target: "elm.text";
8585          }
8586          program { name: "disable";
8587             signal: "elm,state,disabled";
8588             source: "elm";
8589             action: STATE_SET "disabled" 0.0;
8590             target: "elm.text";
8591          }
8592          program { name: "enable";
8593             signal: "elm,state,enabled";
8594             source: "elm";
8595             action: STATE_SET "default" 0.0;
8596             target: "elm.text";
8597          }
8598       }
8599    }
8600
8601    group { name: "elm/entry/base-single-noedit/default";
8602       parts {
8603          part { name: "elm.text";
8604             type: TEXTBLOCK;
8605             mouse_events: 1;
8606             scale: 1;
8607             entry_mode: PLAIN;
8608             select_mode: EXPLICIT;
8609             multiline: 0;
8610             source: "elm/entry/selection/default"; // selection under
8611             source5: "elm/entry/anchor/default"; // anchor under
8612             description { state: "default" 0.0;
8613                text {
8614                   style: "entry_single_textblock_style";
8615                   min: 1 1;
8616                   max: 0 1;
8617                }
8618             }
8619             description { state: "disabled" 0.0;
8620                inherit: "default" 0.0;
8621                text {
8622                style: "entry_single_textblock_disabled_style";
8623                }
8624             }
8625          }
8626       }
8627       programs {
8628          program { name: "focus";
8629             signal: "load";
8630             source: "";
8631             action: FOCUS_SET;
8632             target: "elm.text";
8633          }
8634          program { name: "disable";
8635             signal: "elm,state,disabled";
8636             source: "elm";
8637             action: STATE_SET "disabled" 0.0;
8638             target: "elm.text";
8639          }
8640          program { name: "enable";
8641             signal: "elm,state,enabled";
8642             source: "elm";
8643             action: STATE_SET "default" 0.0;
8644             target: "elm.text";
8645          }
8646       }
8647    }
8648
8649    group { name: "elm/entry/base-noedit/default";
8650       parts {
8651          part { name: "elm.text";
8652             type: TEXTBLOCK;
8653             mouse_events: 1;
8654             scale: 1;
8655             entry_mode: PLAIN;
8656             select_mode: EXPLICIT;
8657             multiline: 1;
8658             source: "elm/entry/selection/default"; // selection under
8659             source5: "elm/entry/anchor/default"; // anchor under
8660             description { state: "default" 0.0;
8661                fixed: 1 0;
8662                text {
8663                   style: "entry_textblock_style";
8664                   min: 0 1;
8665                }
8666             }
8667             description { state: "disabled" 0.0;
8668                inherit: "default" 0.0;
8669                text {
8670                   style: "entry_textblock_disabled_style";
8671                }
8672             }
8673          }
8674       }
8675       programs {
8676          program { name: "focus";
8677             signal: "load";
8678             source: "";
8679             action: FOCUS_SET;
8680             target: "elm.text";
8681          }
8682          program { name: "disable";
8683             signal: "elm,state,disabled";
8684             source: "elm";
8685             action: STATE_SET "disabled" 0.0;
8686             target: "elm.text";
8687          }
8688          program { name: "enable";
8689             signal: "elm,state,enabled";
8690             source: "elm";
8691             action: STATE_SET "default" 0.0;
8692             target: "elm.text";
8693          }
8694       }
8695    }
8696
8697    group { name: "elm/entry/base-noedit-charwrap/default";
8698       parts {
8699          part { name: "elm.text";
8700             type: TEXTBLOCK;
8701             mouse_events: 1;
8702             scale: 1;
8703             entry_mode: PLAIN;
8704             select_mode: EXPLICIT;
8705             multiline: 1;
8706             source: "elm/entry/selection/default"; // selection under
8707             source5: "elm/entry/anchor/default"; // anchor under
8708             description { state: "default" 0.0;
8709                fixed: 1 0;
8710                text {
8711                   style: "entry_textblock_style_charwrap";
8712                   min: 0 1;
8713                }
8714             }
8715             description { state: "disabled" 0.0;
8716                inherit: "default" 0.0;
8717                text {
8718                   style: "entry_textblock_disabled_style_charwrap";
8719                }
8720             }
8721          }
8722       }
8723       programs {
8724          program { name: "focus";
8725             signal: "load";
8726             source: "";
8727             action: FOCUS_SET;
8728             target: "elm.text";
8729          }
8730          program { name: "disable";
8731             signal: "elm,state,disabled";
8732             source: "elm";
8733             action: STATE_SET "disabled" 0.0;
8734             target: "elm.text";
8735          }
8736          program { name: "enable";
8737             signal: "elm,state,enabled";
8738             source: "elm";
8739             action: STATE_SET "default" 0.0;
8740             target: "elm.text";
8741          }
8742       }
8743    }
8744
8745    group { name: "elm/entry/base-nowrap-noedit/default";
8746       parts {
8747          part { name: "elm.text";
8748             type: TEXTBLOCK;
8749             mouse_events: 1;
8750             scale: 1;
8751             entry_mode: PLAIN;
8752             select_mode: EXPLICIT;
8753             multiline: 1;
8754             source: "elm/entry/selection/default"; // selection under
8755             source5: "elm/entry/anchor/default"; // anchor under
8756             description { state: "default" 0.0;
8757                text {
8758                   style: "entry_textblock_style";
8759                   min: 1 1;
8760                }
8761             }
8762             description { state: "disabled" 0.0;
8763                inherit: "default" 0.0;
8764                text {
8765                   style: "entry_textblock_disabled_style";
8766                }
8767             }
8768          }
8769       }
8770       programs {
8771          program { name: "focus";
8772             signal: "load";
8773             source: "";
8774             action: FOCUS_SET;
8775             target: "elm.text";
8776          }
8777          program { name: "disable";
8778             signal: "elm,state,disabled";
8779             source: "elm";
8780             action: STATE_SET "disabled" 0.0;
8781             target: "elm.text";
8782          }
8783          program { name: "enable";
8784             signal: "elm,state,enabled";
8785             source: "elm";
8786             action: STATE_SET "default" 0.0;
8787             target: "elm.text";
8788          }
8789       }
8790    }
8791
8792    group { name: "elm/entry/base-password/default";
8793       parts {
8794          part { name: "elm.text";
8795             type: TEXTBLOCK;
8796             mouse_events: 1;
8797             scale: 1;
8798             entry_mode: PASSWORD;
8799             select_mode: EXPLICIT;
8800             multiline: 0;
8801             source: "elm/entry/selection/default"; // selection under
8802             source4: "elm/entry/cursor/default"; // cursorover
8803             source5: "elm/entry/anchor/default"; // anchor under
8804             description { state: "default" 0.0;
8805                text {
8806                   style: "entry_single_textblock_style";
8807                   repch: "*";
8808                   min: 1 1;
8809                   max: 0 1;
8810                }
8811             }
8812             description { state: "disabled" 0.0;
8813                inherit: "default" 0.0;
8814                text {
8815                   style: "entry_single_textblock_disabled_style";
8816                }
8817             }
8818          }
8819       }
8820       programs {
8821          program { name: "focus";
8822             signal: "load";
8823             source: "";
8824             action: FOCUS_SET;
8825             target: "elm.text";
8826          }
8827          program { name: "disable";
8828             signal: "elm,state,disabled";
8829             source: "elm";
8830             action: STATE_SET "disabled" 0.0;
8831             target: "elm.text";
8832          }
8833          program { name: "enable";
8834             signal: "elm,state,enabled";
8835             source: "elm";
8836             action: STATE_SET "default" 0.0;
8837             target: "elm.text";
8838          }
8839       }
8840    }
8841
8842    group { name: "elm/entry/cursor/default";
8843       images {
8844          image: "cur_box.png" COMP;
8845          image: "cur_hi.png" COMP;
8846          image: "cur_shad.png" COMP;
8847          image: "cur_shine.png" COMP;
8848          image: "cur_glow.png" COMP;
8849       }
8850       parts {
8851          part { name: "clip2";
8852             type: RECT;
8853             mouse_events: 0;
8854             description { state: "default" 0.0;
8855                rel1.to: "clip";
8856                rel2.to: "clip";
8857                visible: 0;
8858             }
8859             description { state: "focused" 0.0;
8860                inherit: "default" 0.0;
8861                visible: 1;
8862             }
8863          }
8864          part { name: "clip";
8865             type: RECT;
8866             mouse_events: 0;
8867             clip_to: "clip2";
8868             description { state: "default" 0.0;
8869                rel1.offset: -10 0;
8870                rel2.offset: 9 9;
8871             }
8872             description { state: "hidden" 0.0;
8873                inherit: "default" 0.0;
8874                visible: 0;
8875             }
8876          }
8877          part { name: "bg";
8878             mouse_events: 0;
8879             clip_to: "clip";
8880             description { state: "default" 0.0;
8881                rel1.to: "base";
8882                rel1.offset: -2 0;
8883                rel2.to: "base";
8884                rel2.offset: 1 1;
8885                image.border: 2 2 2 2;
8886                image.normal: "cur_shad.png";
8887             }
8888          }
8889          part { name: "base";
8890             mouse_events: 0;
8891             scale: 1;
8892             clip_to: "clip";
8893             description { state: "default" 0.0;
8894                min: 2 2;
8895                align: 0.5 1.0;
8896                rel1.relative: 0.0 1.0;
8897                rel1.offset: 0 -1;
8898                rel2.relative: 1.0 1.0;
8899                rel2.offset: -1 -1;
8900                image.normal: "cur_box.png";
8901             }
8902          }
8903          part { name: "hi";
8904             mouse_events: 0;
8905             clip_to: "clip";
8906             description { state: "default" 0.0;
8907                rel1.to: "base";
8908                rel2.to: "base";
8909                rel2.relative: 1.0 0.5;
8910                image.normal: "cur_hi.png";
8911             }
8912          }
8913          part { name: "shine";
8914             mouse_events: 0;
8915             clip_to: "clip";
8916             clip_to: "clip2";
8917             description { state: "default" 0.0;
8918                rel1.to: "base";
8919                rel2.to: "base";
8920                rel2.relative: 1.0 0.75;
8921                image.border: 2 2 1 0;
8922                image.normal: "cur_shine.png";
8923                fill.smooth: 0;
8924             }
8925          }
8926          part { name: "glow";
8927             mouse_events: 0;
8928             clip_to: "clip2";
8929             description { state: "default" 0.0;
8930                rel1.to: "base";
8931                rel1.relative: 0.0 -2.0;
8932                rel1.offset: -2 0;
8933                rel2.to: "base";
8934                rel2.relative: 1.0 0.0;
8935                rel2.offset: 1 1;
8936                image.border: 2 2 0 4;
8937                image.normal: "cur_glow.png";
8938                fill.smooth: 0;
8939             }
8940             description { state: "hidden" 0.0;
8941                inherit: "default" 0.0;
8942                color: 255 255 255 0;
8943             }
8944          }
8945       }
8946       programs {
8947          program { name: "show";
8948             signal: "show";
8949             source: "";
8950             action: STATE_SET "hidden" 0.0;
8951             in: 1.0 0.0;
8952             transition: DECELERATE 2.0;
8953             target: "glow";
8954             after: "show2";
8955          }
8956          program { name: "show2";
8957             action: STATE_SET "hidden" 0.0;
8958             in: 0.2 0.0;
8959             target: "clip";
8960             after: "show3";
8961          }
8962          program { name: "show3";
8963             action: STATE_SET "default" 0.0;
8964             in: 0.5 0.0;
8965             target: "clip";
8966             after: "show4";
8967          }
8968          program { name: "show4";
8969             action: STATE_SET "default" 0.0;
8970             in: 0.5 0.0;
8971             transition: DECELERATE 0.5;
8972             target: "glow";
8973             after: "show";
8974          }
8975          program { name: "focused";
8976             signal: "elm,action,focus";
8977             source: "elm";
8978             action: STATE_SET "focused" 0.0;
8979             target: "clip2";
8980          }
8981          program { name: "unfocused";
8982             signal: "elm,action,unfocus";
8983             source: "elm";
8984             action: STATE_SET "default" 0.0;
8985             target: "clip2";
8986          }
8987       }
8988    }
8989
8990    group { name: "elm/entry/selection/default";
8991       parts {
8992          part { name: "bg";
8993             type: RECT;
8994             mouse_events: 0;
8995             description { state: "default" 0.0;
8996                color: 128 128 128 128;
8997             }
8998          }
8999       }
9000    }
9001
9002    group { name: "elm/entry/anchor/default";
9003       parts {
9004          part { name: "bg";
9005             type: RECT;
9006             mouse_events: 0;
9007             description { state: "default" 0.0;
9008                color: 128 0 0 64;
9009             }
9010          }
9011       }
9012    }
9013
9014 ///////////////////////////////////////////////////////////////////////////////
9015   group { name: "elm/bubble/top_left/default";
9016     alias: "elm/bubble/base/default";
9017     images {
9018       image: "bubble_3.png" COMP;
9019       image: "bubble_4.png" COMP;
9020       image: "bubble_shine3.png" COMP;
9021       image: "bubble_shine4.png" COMP;
9022     }
9023     parts {
9024       part { name: "event";
9025          type: RECT;
9026          description {
9027             state: "default" 0.0;
9028             color: 0 0 0 0;
9029          }
9030       }
9031       part { name: "elm.swallow.icon";
9032         type: SWALLOW;
9033         description { state: "default" 0.0;
9034           fixed: 1 1;
9035           visible: 0;
9036           align: 0.0 0.0;
9037           aspect: 1.0 1.0;
9038           aspect_preference: VERTICAL;
9039           rel1 {
9040             relative: 0.0 0.0;
9041             offset: 4 4;
9042           }
9043           rel2 {
9044             to_y: "elm.text";
9045             relative: 0.0 1.0;
9046             offset: 4 -1;
9047           }
9048         }
9049         description { state: "visible" 0.0;
9050           inherit: "default" 0.0;
9051           visible: 1;
9052         }
9053       }
9054       part { name: "elm.text";
9055         type: TEXT;
9056         mouse_events:   0;
9057         scale: 1;
9058         description { state: "default" 0.0;
9059           align: 0.0 0.0;
9060           fixed: 0 1;
9061           rel1 {
9062             to_x: "elm.swallow.icon";
9063             relative: 1.0 0.0;
9064             offset: 4 4;
9065           }
9066           rel2 {
9067             to_x: "elm.info";
9068             relative: 0.0 0.0;
9069             offset: -5 4;
9070           }
9071           color: 0 0 0 255;
9072           text {
9073             font: "Sans:style=Bold,Edje-Vera-Bold";
9074             size: 10;
9075             min: 0 1;
9076             max: 0 1;
9077             align: 0.0 0.0;
9078           }
9079         }
9080       }
9081       part { name: "elm.info";
9082         type: TEXT;
9083         mouse_events:   0;
9084         scale: 1;
9085         description { state: "default" 0.0;
9086           align: 1.0 0.0;
9087           fixed: 1 1;
9088           rel1 {
9089             relative: 1.0 0.0;
9090             offset: -5 4;
9091           }
9092           rel2 {
9093             relative: 1.0 0.0;
9094             offset: -5 4;
9095           }
9096           color: 0 0 0 64;
9097           text {
9098             font: "Sans:style=Bold,Edje-Vera-Bold";
9099             size: 10;
9100             min: 1 1;
9101             max: 1 1;
9102             align: 1.0 0.0;
9103           }
9104         }
9105       }
9106       part { name: "base0";
9107         mouse_events:  0;
9108         description { state: "default" 0.0;
9109           rel1 {
9110             to_y: "elm.swallow.icon";
9111             relative: 0.0 1.0;
9112             offset: 0 0;
9113           }
9114           image {
9115             normal: "bubble_3.png";
9116             border: 36 11 18 9;
9117           }
9118           image.middle: SOLID;
9119           fill.smooth: 0;
9120         }
9121         description { state: "rtl" 0.0;
9122            inherit: "default" 0.0;
9123            image {
9124               normal: "bubble_4.png";
9125               border: 11 36 18 9;
9126            }
9127         }
9128       }
9129       part { name: "elm.swallow.content";
9130         type: SWALLOW;
9131         description { state: "default" 0.0;
9132           rel1 {
9133             to: "base0";
9134             offset: 9 16;
9135           }
9136           rel2 {
9137             to: "base0";
9138             offset: -10 -9;
9139           }
9140         }
9141       }
9142       part { name: "shine";
9143         mouse_events:  0;
9144         description { state:    "default" 0.0;
9145           rel1 {
9146             to: "base0";
9147             offset: 5 4;
9148           }
9149           rel2 {
9150             to: "base0";
9151             relative: 1.0 0.5;
9152             offset: -6 7;
9153           }
9154           image {
9155             normal: "bubble_shine3.png";
9156             border: 36 5 14 0;
9157           }
9158           fill.smooth: 0;
9159         }
9160         description { state: "rtl" 0.0;
9161            inherit: "default" 0.0;
9162            image {
9163               normal: "bubble_shine4.png";
9164               border: 5 36 14 0;
9165            }
9166         }
9167       }
9168     }
9169     programs {
9170       program {
9171         name: "icon_show";
9172         signal: "elm,state,icon,visible";
9173         source: "elm";
9174         action: STATE_SET "visible" 0.0;
9175         target: "elm.swallow.icon";
9176       }
9177       program {
9178         name: "icon_hide";
9179         signal: "elm,state,icon,hidden";
9180         source: "elm";
9181         action: STATE_SET "default" 0.0;
9182         target: "elm.swallow.icon";
9183       }
9184       program { name: "to_rtl";
9185          signal: "edje,state,rtl";
9186          source: "edje";
9187          action: STATE_SET "rtl" 0.0;
9188          target: "base0";
9189          target: "shine";
9190       }
9191       program { name: "to_ltr";
9192          signal: "edje,state,ltr";
9193          source: "edje";
9194          action: STATE_SET "default" 0.0;
9195          target: "base0";
9196          target: "shine";
9197       }
9198     }
9199   }
9200
9201   group { name: "elm/bubble/top_right/default";
9202     images {
9203       image: "bubble_3.png" COMP;
9204       image: "bubble_4.png" COMP;
9205       image: "bubble_shine3.png" COMP;
9206       image: "bubble_shine4.png" COMP;
9207     }
9208     parts {
9209       part { name: "event";
9210          type: RECT;
9211          description {
9212             state: "default" 0.0;
9213             color: 0 0 0 0;
9214          }
9215       }
9216       part { name: "elm.swallow.icon";
9217         type: SWALLOW;
9218         description { state: "default" 0.0;
9219           fixed: 1 1;
9220           visible: 0;
9221           align: 1.0 0.0;
9222           aspect: 1.0 1.0;
9223           aspect_preference: VERTICAL;
9224           rel1 {
9225             relative: 1.0 0.0;
9226             offset: -5 4;
9227           }
9228           rel2 {
9229             to_y: "elm.text";
9230             relative: 1.0 1.0;
9231             offset: -5 -1;
9232           }
9233         }
9234         description { state: "visible" 0.0;
9235           inherit: "default" 0.0;
9236           visible: 1;
9237         }
9238       }
9239       part { name: "elm.text";
9240         type: TEXT;
9241         mouse_events:   0;
9242         scale: 1;
9243         description { state: "default" 0.0;
9244           align: 0.0 0.0;
9245           fixed: 0 1;
9246           rel1 {
9247             relative: 0.0 0.0;
9248             offset: 4 4;
9249           }
9250           rel2 {
9251             to_x: "elm.info";
9252             relative: 0.0 0.0;
9253             offset: -5 4;
9254           }
9255           color: 0 0 0 255;
9256           text {
9257             font: "Sans:style=Bold,Edje-Vera-Bold";
9258             size: 10;
9259             min: 0 1;
9260             max: 0 1;
9261             align: 0.0 0.0;
9262           }
9263         }
9264       }
9265       part { name: "elm.info";
9266         type: TEXT;
9267         mouse_events:   0;
9268         scale: 1;
9269         description { state: "default" 0.0;
9270           align: 1.0 0.0;
9271           fixed: 1 1;
9272           rel1 {
9273             relative: 1.0 0.0;
9274             offset: -5 4;
9275           }
9276           rel2 {
9277             to_x: "elm.swallow.icon";
9278             relative: 0.0 0.0;
9279             offset: -5 4;
9280           }
9281           color: 0 0 0 64;
9282           text {
9283             font: "Sans:style=Bold,Edje-Vera-Bold";
9284             size: 10;
9285             min: 1 1;
9286             max: 1 1;
9287             align: 1.0 0.0;
9288           }
9289         }
9290       }
9291       part { name: "base0";
9292         mouse_events:  0;
9293         description { state: "default" 0.0;
9294           rel1 {
9295             to_y: "elm.swallow.icon";
9296             relative: 0.0 1.0;
9297             offset: 0 0;
9298           }
9299           image {
9300             normal: "bubble_4.png";
9301             border: 11 36 18 9;
9302           }
9303           image.middle: SOLID;
9304           fill.smooth: 0;
9305         }
9306         description { state: "rtl" 0.0;
9307            inherit: "default" 0.0;
9308            image {
9309               normal: "bubble_3.png";
9310               border: 36 11 18 9;
9311            }
9312         }
9313       }
9314       part { name: "elm.swallow.content";
9315         type: SWALLOW;
9316         description { state: "default" 0.0;
9317           rel1 {
9318             to: "base0";
9319             offset: 9 16;
9320           }
9321           rel2 {
9322             to: "base0";
9323             offset: -10 -9;
9324           }
9325         }
9326       }
9327       part { name: "shine";
9328         mouse_events:  0;
9329         description { state:    "default" 0.0;
9330           rel1 {
9331             to: "base0";
9332             offset: 5 4;
9333           }
9334           rel2 {
9335             to: "base0";
9336             relative: 1.0 0.5;
9337             offset: -6 7;
9338           }
9339           image {
9340             normal: "bubble_shine4.png";
9341             border: 5 36 14 0;
9342           }
9343           fill.smooth: 0;
9344         }
9345         description { state: "rtl" 0.0;
9346            inherit: "default" 0.0;
9347            image {
9348               normal: "bubble_shine3.png";
9349               border: 36 5 14 0;
9350            }
9351         }
9352       }
9353     }
9354     programs {
9355       program {
9356         name: "icon_show";
9357         signal: "elm,state,icon,visible";
9358         source: "elm";
9359         action: STATE_SET "visible" 0.0;
9360         target: "elm.swallow.icon";
9361       }
9362       program {
9363         name: "icon_hide";
9364         signal: "elm,state,icon,hidden";
9365         source: "elm";
9366         action: STATE_SET "default" 0.0;
9367         target: "elm.swallow.icon";
9368       }
9369       program { name: "to_rtl";
9370          signal: "edje,state,rtl";
9371          source: "edje";
9372          action: STATE_SET "rtl" 0.0;
9373          target: "base0";
9374          target: "shine";
9375       }
9376       program { name: "to_ltr";
9377          signal: "edje,state,ltr";
9378          source: "edje";
9379          action: STATE_SET "default" 0.0;
9380          target: "base0";
9381          target: "shine";
9382       }
9383     }
9384   }
9385
9386   group { name: "elm/bubble/bottom_left/default";
9387     images {
9388       image: "bubble_1.png" COMP;
9389       image: "bubble_2.png" COMP;
9390       image: "bubble_shine.png" COMP;
9391     }
9392     parts {
9393       part { name: "event";
9394          type: RECT;
9395          description {
9396             state: "default" 0.0;
9397             color: 0 0 0 0;
9398          }
9399       }
9400       part { name: "elm.swallow.icon";
9401         type: SWALLOW;
9402         description { state: "default" 0.0;
9403           fixed: 1 1;
9404           visible: 0;
9405           align: 0.0 1.0;
9406           aspect: 1.0 1.0;
9407           aspect_preference: VERTICAL;
9408           rel1 {
9409             to_y: "elm.text";
9410             relative: 0.0 0.0;
9411             offset: 4 0;
9412           }
9413           rel2 {
9414             relative: 0.0 1.0;
9415             offset: 4 -5;
9416           }
9417         }
9418         description { state: "visible" 0.0;
9419           inherit: "default" 0.0;
9420           visible: 1;
9421         }
9422       }
9423       part { name: "elm.text";
9424         type: TEXT;
9425         mouse_events:   0;
9426         scale: 1;
9427         description { state: "default" 0.0;
9428           align: 0.0 1.0;
9429           fixed: 0 1;
9430           rel1 {
9431             to_x: "elm.swallow.icon";
9432             relative: 1.0 1.0;
9433             offset: 4 -5;
9434           }
9435           rel2 {
9436             to_x: "elm.info";
9437             relative: 0.0 1.0;
9438             offset: -5 -5;
9439           }
9440           color: 0 0 0 255;
9441           text {
9442             font: "Sans:style=Bold,Edje-Vera-Bold";
9443             size: 10;
9444             min: 0 1;
9445             max: 0 1;
9446             align: 0.0 1.0;
9447           }
9448         }
9449       }
9450       part { name: "elm.info";
9451         type: TEXT;
9452         mouse_events:   0;
9453         scale: 1;
9454         description { state: "default" 0.0;
9455           align: 1.0 1.0;
9456           fixed: 1 1;
9457           rel1 {
9458             relative: 1.0 1.0;
9459             offset: -5 -5;
9460           }
9461           rel2 {
9462             relative: 1.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 64;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 1 1;
9470             max: 1 1;
9471             align: 1.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "base0";
9476         mouse_events:  0;
9477         description { state: "default" 0.0;
9478           rel2 {
9479             to_y: "elm.swallow.icon";
9480             relative: 1.0 0.0;
9481             offset: -1 -1;
9482           }
9483           image {
9484             normal: "bubble_1.png";
9485             border: 36 11 10 19;
9486           }
9487           image.middle: SOLID;
9488           fill.smooth: 0;
9489         }
9490         description { state: "rtl" 0.0;
9491            inherit: "default" 0.0;
9492            image {
9493               normal: "bubble_2.png";
9494               border: 11 36 10 19;
9495            }
9496         }
9497       }
9498       part { name: "elm.swallow.content";
9499         type: SWALLOW;
9500         description { state: "default" 0.0;
9501           rel1 {
9502             to: "base0";
9503             offset: 9 8;
9504           }
9505           rel2 {
9506             to: "base0";
9507             offset: -10 -17;
9508           }
9509         }
9510       }
9511       part { name: "shine";
9512         mouse_events:  0;
9513         description { state:    "default" 0.0;
9514           rel1 {
9515             to: "base0";
9516             offset: 5 4;
9517           }
9518           rel2 {
9519             to: "base0";
9520             relative: 1.0 0.5;
9521             offset: -6 -16;
9522           }
9523           image {
9524             normal: "bubble_shine.png";
9525             border: 5 5 5 0;
9526           }
9527           fill.smooth: 0;
9528         }
9529         description { state: "rtl" 0.0;
9530            inherit: "default" 0.0;
9531            image {
9532               normal: "bubble_shine4.png";
9533               border: 5 36 14 0;
9534            }
9535         }
9536       }
9537     }
9538     programs {
9539       program {
9540         name: "icon_show";
9541         signal: "elm,state,icon,visible";
9542         source: "elm";
9543         action: STATE_SET "visible" 0.0;
9544         target: "elm.swallow.icon";
9545       }
9546       program {
9547         name: "icon_hide";
9548         signal: "elm,state,icon,hidden";
9549         source: "elm";
9550         action: STATE_SET "default" 0.0;
9551         target: "elm.swallow.icon";
9552       }
9553       program { name: "to_rtl";
9554          signal: "edje,state,rtl";
9555          source: "edje";
9556          action: STATE_SET "rtl" 0.0;
9557          target: "base0";
9558       }
9559       program { name: "to_ltr";
9560          signal: "edje,state,ltr";
9561          source: "edje";
9562          action: STATE_SET "default" 0.0;
9563          target: "base0";
9564       }
9565     }
9566   }
9567
9568   group { name: "elm/bubble/bottom_right/default";
9569     images {
9570       image: "bubble_1.png" COMP;
9571       image: "bubble_2.png" COMP;
9572       image: "bubble_shine.png" COMP;
9573     }
9574     parts {
9575       part { name: "event";
9576          type: RECT;
9577          description {
9578             state: "default" 0.0;
9579             color: 0 0 0 0;
9580          }
9581       }
9582       part { name: "elm.swallow.icon";
9583         type: SWALLOW;
9584         description { state: "default" 0.0;
9585           fixed: 1 1;
9586           visible: 0.0;
9587           align: 1.0 1.0;
9588           aspect: 1.0 1.0;
9589           aspect_preference: VERTICAL;
9590           rel1 {
9591             to_y: "elm.text";
9592             relative: 1.0 0.0;
9593             offset: -5 0;
9594           }
9595           rel2 {
9596             relative: 1.0 1.0;
9597             offset: -5 -5;
9598           }
9599         }
9600         description { state: "visible" 0.0;
9601           inherit: "default" 0.0;
9602           visible: 1;
9603         }
9604       }
9605       part { name: "elm.text";
9606         type: TEXT;
9607         mouse_events:   0;
9608         scale: 1;
9609         description { state: "default" 0.0;
9610           align: 0.0 1.0;
9611           fixed: 0 1;
9612           rel1 {
9613             relative: 0.0 1.0;
9614             offset: 4 -5;
9615           }
9616           rel2 {
9617             to_x: "elm.info";
9618             relative: 0.0 1.0;
9619             offset: -5 -5;
9620           }
9621           color: 0 0 0 255;
9622           text {
9623             font: "Sans:style=Bold,Edje-Vera-Bold";
9624             size: 10;
9625             min: 0 1;
9626             max: 0 1;
9627             align: 0.0 1.0;
9628           }
9629         }
9630       }
9631       part { name: "elm.info";
9632         type: TEXT;
9633         mouse_events:   0;
9634         scale: 1;
9635         description { state: "default" 0.0;
9636           align: 1.0 1.0;
9637           fixed: 1 1;
9638           rel1 {
9639             relative: 1.0 1.0;
9640             offset: -5 -5;
9641           }
9642           rel2 {
9643             to_x: "elm.swallow.icon";
9644             relative: 0.0 1.0;
9645             offset: -5 -5;
9646           }
9647           color: 0 0 0 64;
9648           text {
9649             font: "Sans:style=Bold,Edje-Vera-Bold";
9650             size: 10;
9651             min: 1 1;
9652             max: 1 1;
9653             align: 1.0 1.0;
9654           }
9655         }
9656       }
9657       part { name: "base0";
9658         mouse_events:  0;
9659         description { state: "default" 0.0;
9660           rel2 {
9661             to_y: "elm.swallow.icon";
9662             relative: 1.0 0.0;
9663             offset: -1 -1;
9664           }
9665           image {
9666             normal: "bubble_2.png";
9667             border: 11 36 10 19;
9668           }
9669           image.middle: SOLID;
9670           fill.smooth: 0;
9671         }
9672         description { state: "rtl" 0.0;
9673            inherit: "default" 0.0;
9674            image {
9675               normal: "bubble_1.png";
9676               border: 36 11 10 19;
9677            }
9678         }
9679       }
9680       part { name: "elm.swallow.content";
9681         type: SWALLOW;
9682         description { state: "default" 0.0;
9683           rel1 {
9684             to: "base0";
9685             offset: 9 8;
9686           }
9687           rel2 {
9688             to: "base0";
9689             offset: -10 -17;
9690           }
9691         }
9692       }
9693       part { name: "shine";
9694         mouse_events:  0;
9695         description { state:    "default" 0.0;
9696           rel1 {
9697             to: "base0";
9698             offset: 5 4;
9699           }
9700           rel2 {
9701             to: "base0";
9702             relative: 1.0 0.5;
9703             offset: -6 -16;
9704           }
9705           image {
9706             normal: "bubble_shine.png";
9707             border: 5 5 5 0;
9708           }
9709           fill.smooth: 0;
9710         }
9711         description { state: "rtl" 0.0;
9712            inherit: "default" 0.0;
9713            image {
9714               normal: "bubble_shine3.png";
9715               border: 36 5 14 0;
9716            }
9717         }
9718       }
9719     }
9720     programs {
9721       program {
9722         name: "icon_show";
9723         signal: "elm,state,icon,visible";
9724         source: "elm";
9725         action: STATE_SET "visible" 0.0;
9726         target: "elm.swallow.icon";
9727       }
9728       program {
9729         name: "icon_hide";
9730         signal: "elm,state,icon,hidden";
9731         source: "elm";
9732         action: STATE_SET "default" 0.0;
9733         target: "elm.swallow.icon";
9734       }
9735       program { name: "to_rtl";
9736          signal: "edje,state,rtl";
9737          source: "edje";
9738          action: STATE_SET "rtl" 0.0;
9739          target: "base0";
9740       }
9741       program { name: "to_ltr";
9742          signal: "edje,state,ltr";
9743          source: "edje";
9744          action: STATE_SET "default" 0.0;
9745          target: "base0";
9746       }
9747     }
9748   }
9749
9750 ///////////////////////////////////////////////////////////////////////////////
9751    group { name: "elm/photo/base/default";
9752       images {
9753          image: "frame_1.png" COMP;
9754          image: "frame_2.png" COMP;
9755          image: "dia_grad.png" COMP;
9756          image: "head.png" COMP;
9757       }
9758       parts {
9759          part { name: "base0";
9760             mouse_events:  0;
9761             description { state: "default" 0.0;
9762                image.normal: "dia_grad.png";
9763                rel1.to: "over";
9764                rel2.to: "over";
9765                fill {
9766                   smooth: 0;
9767                   size {
9768                      relative: 0.0 1.0;
9769                      offset: 64 0;
9770                   }
9771                }
9772             }
9773          }
9774          part { name: "base";
9775             mouse_events:  0;
9776             description { state:    "default" 0.0;
9777                image {
9778                   normal: "frame_2.png";
9779                   border: 5 5 32 26;
9780                   middle: 0;
9781                }
9782                fill.smooth : 0;
9783             }
9784          }
9785          part { name: "head";
9786             mouse_events:  0;
9787             description { state:    "default" 0.0;
9788                rel1.offset: 4 4;
9789                rel2.offset: -5 -5;
9790                aspect: 1.0 1.0;
9791                aspect_preference: BOTH;
9792                image.normal: "head.png";
9793             }
9794          }
9795          part { name: "clip";
9796             mouse_events:  0;
9797             type: RECT;
9798             description { state:    "default" 0.0;
9799                rel1.offset: 4 4;
9800                rel2.offset: -5 -5;
9801                color: 255 255 255 255;
9802             }
9803          }
9804          part { name: "elm.swallow.content";
9805             type: SWALLOW;
9806             clip_to: "clip";
9807             description { state: "default" 0.0;
9808                rel1.offset: 4 4;
9809                rel2.offset: -5 -5;
9810             }
9811          }
9812          part { name: "over";
9813             mouse_events:  0;
9814             description { state:    "default" 0.0;
9815                rel1.offset: 4 4;
9816                rel2.offset: -5 -5;
9817                image {
9818                   normal: "frame_1.png";
9819                   border: 2 2 28 22;
9820                   middle: 0;
9821                }
9822                fill.smooth: 0;
9823             }
9824          }
9825      }
9826    }
9827
9828    group { name: "elm/photo/base/shadow";
9829               images {
9830                         image: "shadow.png" COMP;
9831                         image: "black.png" COMP;
9832               }
9833               script {
9834               public message(Msg_Type:type, id, ...) {
9835                 if( (type==MSG_INT_SET) && (id==0) )
9836                 {
9837                     new w;
9838                     new h;
9839
9840                     custom_state(PART:"size", "default", 0.0);
9841
9842                     w = getarg(2);
9843                     h = getarg(3);
9844                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9845                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9846                     set_state(PART:"size", "custom", 0.0);
9847                 }
9848             }
9849             }
9850               parts {
9851               part { name: "size";
9852                     type: SWALLOW;
9853                     description { state: "default" 0.0;
9854                             rel1.relative: 0.5 0.5;
9855                             rel2.relative: 0.5 0.5;
9856                     }
9857                  }
9858               part {
9859                 name: "shadow";
9860                 type: IMAGE;
9861                 repeat_events: 1;
9862                 description {
9863                     state: "default" 0.0;
9864                     rel1.to: "size";
9865                     rel2.to: "size";
9866                     rel1.relative: -0.06 -0.06;
9867                     rel2.relative: 1.07 1.07;
9868                     image.normal: "shadow.png";
9869                 }
9870             }
9871   
9872
9873                  part { name: "elm.swallow.content";
9874                     type: SWALLOW;
9875                     description { state: "default" 0.0;
9876                     rel1.offset: 3 3;
9877                     rel2.offset: -3 -3;
9878                             fixed: 1 1;
9879                     }
9880                  }
9881      
9882                  part {
9883                 name: "border";
9884                 type: IMAGE;
9885                 repeat_events: 1;
9886                 description {
9887                     state: "default" 0.0;
9888                     visible: 1;
9889                     color: 0 0 0 255;
9890                     rel1.to: "size";
9891                     rel2.to: "size";
9892                     image.normal: "black.png";
9893                     image.border: 1 1 1 1;
9894                     image.middle: 0;
9895                 }
9896             }
9897                  }
9898    }
9899
9900 ///////////////////////////////////////////////////////////////////////////////
9901    group { name: "elm/thumb/base/default";
9902       images {
9903          image: "frame_1.png" COMP;
9904          image: "frame_2.png" COMP;
9905          image: "dia_grad.png" COMP;
9906          image: "busy-1.png" COMP;
9907          image: "busy-2.png" COMP;
9908          image: "busy-3.png" COMP;
9909          image: "busy-4.png" COMP;
9910          image: "busy-5.png" COMP;
9911          image: "busy-6.png" COMP;
9912          image: "busy-7.png" COMP;
9913          image: "busy-8.png" COMP;
9914          image: "busy-9.png" COMP;
9915       }
9916       parts {
9917          part { name: "base0";
9918             mouse_events:  0;
9919             description { state:        "default" 0.0;
9920                image.normal: "dia_grad.png";
9921                rel1.to: "over";
9922                rel2.to: "over";
9923                fill {
9924                   smooth: 0;
9925                   size {
9926                      relative: 0.0 1.0;
9927                      offset: 64 0;
9928                   }
9929                }
9930             }
9931          }
9932          part { name: "base";
9933             mouse_events:  0;
9934             description { state:        "default" 0.0;
9935                image {
9936                   normal: "frame_2.png";
9937                   border: 5 5 32 26;
9938                   middle: 0;
9939                }
9940                fill.smooth : 0;
9941             }
9942          }
9943          part { name: "clip";
9944             mouse_events:  0;
9945             type: RECT;
9946             description { state:        "default" 0.0;
9947                rel1.offset: 4 4;
9948                rel2.offset: -5 -5;
9949                color: 255 255 255 255;
9950             }
9951          }
9952          part { name: "elm.swallow.content";
9953             type: SWALLOW;
9954             clip_to: "clip";
9955             description { state:        "default" 0.0;
9956                rel1.offset: 4 4;
9957                rel2.offset: -5 -5;
9958             }
9959          }
9960          part { name: "progress";
9961             mouse_events: 0;
9962
9963             clip_to: "clip";
9964             description { state:        "default" 0.0;
9965                min: 32 32;
9966                max: 32 32;
9967                visible: 0;
9968                aspect: 1.0 1.0;
9969                aspect_preference: BOTH;
9970             }
9971             description { state:        "pulse" 0.0;
9972                inherit: "default" 0.0;
9973                visible: 1;
9974                image {
9975                   normal: "busy-9.png";
9976                   tween:  "busy-1.png";
9977                   tween:  "busy-2.png";
9978                   tween:  "busy-3.png";
9979                   tween:  "busy-4.png";
9980                   tween:  "busy-5.png";
9981                   tween:  "busy-6.png";
9982                   tween:  "busy-7.png";
9983                   tween:  "busy-8.png";
9984                   border: 7 7 7 7;
9985                }
9986             }
9987          }
9988          part { name: "over";
9989             mouse_events:  0;
9990             description { state:        "default" 0.0;
9991                rel1.offset: 4 4;
9992                rel2.offset: -5 -5;
9993                image {
9994                   normal: "frame_1.png";
9995                   border: 2 2 28 22;
9996                   middle: 0;
9997                }
9998                fill.smooth: 0;
9999             }
10000          }
10001          programs {
10002             program { name: "start_pulse";
10003                signal: "elm,state,pulse,start";
10004                source: "elm";
10005                action: STATE_SET "pulse" 0.0;
10006                target: "progress";
10007                transition: LINEAR 0.5;
10008                after: "start_pulse";
10009             }
10010             program { name: "stop_pulse";
10011                signal: "elm,state,pulse,stop";
10012                source: "elm";
10013                action: STATE_SET "default" 0.0;
10014                target: "progress";
10015             }
10016          }
10017       }
10018    }
10019
10020    group { name: "elm/thumb/base/noframe";
10021       images {
10022          image: "busy-1.png" COMP;
10023          image: "busy-2.png" COMP;
10024          image: "busy-3.png" COMP;
10025          image: "busy-4.png" COMP;
10026          image: "busy-5.png" COMP;
10027          image: "busy-6.png" COMP;
10028          image: "busy-7.png" COMP;
10029          image: "busy-8.png" COMP;
10030          image: "busy-9.png" COMP;
10031       }
10032       parts {
10033          part { name: "elm.swallow.content";
10034             type: SWALLOW;
10035             description { state: "default" 0.0;
10036                rel1.offset: 4 4;
10037                rel2.offset: -5 -5;
10038             }
10039          }
10040          part { name: "progress";
10041             mouse_events: 0;
10042             description { state:        "default" 0.0;
10043                min: 32 32;
10044                max: 32 32;
10045                visible: 0;
10046                aspect: 1.0 1.0;
10047                aspect_preference: BOTH;
10048             }
10049             description { state:        "pulse" 0.0;
10050                inherit: "default" 0.0;
10051                visible: 1;
10052                image {
10053                   normal: "busy-9.png";
10054                   tween:  "busy-1.png";
10055                   tween:  "busy-2.png";
10056                   tween:  "busy-3.png";
10057                   tween:  "busy-4.png";
10058                   tween:  "busy-5.png";
10059                   tween:  "busy-6.png";
10060                   tween:  "busy-7.png";
10061                   tween:  "busy-8.png";
10062                   border: 7 7 7 7;
10063                }
10064             }
10065          }
10066          programs {
10067             program { name: "start_pulse";
10068                signal: "elm,state,pulse,start";
10069                source: "elm";
10070                action: STATE_SET "pulse" 0.0;
10071                target: "progress";
10072                transition: LINEAR 0.5;
10073                after: "start_pulse";
10074             }
10075             program { name: "stop_pulse";
10076                signal: "elm,state,pulse,stop";
10077                source: "elm";
10078                action: STATE_SET "default" 0.0;
10079                target: "progress";
10080             }
10081          }
10082       }
10083    }
10084
10085
10086 ///////////////////////////////////////////////////////////////////////////////
10087    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10088       images.image: "icon_home.png" COMP; parts { part { name: "base";
10089          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10090             image.normal: "icon_home.png"; } } } }
10091    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10092       images.image: "icon_close.png" COMP; parts { part { name: "base";
10093          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10094             image.normal: "icon_close.png"; } } } }
10095    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10096       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10097          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10098             image.normal: "icon_apps.png"; } } } }
10099    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10100       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10101          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10102             image.normal: "icon_arrow_up.png"; } } } }
10103    group { name: "elm/icon/arrow_down/default";
10104            alias: "elm/icon/toolbar/arrow_down/default";
10105            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10106       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10107          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10108             image.normal: "icon_arrow_down.png"; } } } }
10109    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10110       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10111          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10112             image.normal: "icon_arrow_left.png"; } } } }
10113    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10114       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10115          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10116             image.normal: "icon_arrow_right.png"; } } } }
10117    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10118       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10119          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10120             image.normal: "icon_chat.png"; } } } }
10121    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10122       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10123          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10124             image.normal: "icon_clock.png"; } } } }
10125    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10126       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10127          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10128             image.normal: "icon_delete.png"; } } } }
10129    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10130       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10131          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10132             image.normal: "icon_edit.png"; } } } }
10133    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10134       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10135          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10136             image.normal: "icon_refresh.png"; } } } }
10137    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10138       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10139          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10140             image.normal: "icon_folder.png"; } } } }
10141    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10142       images.image: "icon_file.png" COMP; parts { part { name: "base";
10143          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10144             image.normal: "icon_file.png"; } } } }
10145 ///////////////////////////////////////////////////////////////////////////////
10146    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10147       images.image: "icon_home.png" COMP; parts { part { name: "base";
10148          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10149             image.normal: "icon_home.png"; } } } }
10150    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10151       images.image: "icon_close.png" COMP; parts { part { name: "base";
10152          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10153             image.normal: "icon_close.png"; } } } }
10154    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10155       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10156          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10157             image.normal: "icon_apps.png"; } } } }
10158    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10159       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10160          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10161             image.normal: "icon_arrow_up.png"; } } } }
10162    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10163       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_arrow_down.png"; } } } }
10166    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10167       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_arrow_left.png"; } } } }
10170    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10171       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10172          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10173             image.normal: "icon_arrow_right.png"; } } } }
10174    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10175       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10176          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10177             image.normal: "icon_chat.png"; } } } }
10178    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10179       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_clock.png"; } } } }
10182    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10183       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_delete.png"; } } } }
10186    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10187       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_edit.png"; } } } }
10190    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10191       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_refresh.png"; } } } }
10194    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10195       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_folder.png"; } } } }
10198    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10199       images.image: "icon_file.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_file.png"; } } } }
10202
10203 ///////////////////////////////////////////////////////////////////////////////
10204    group { name: "elm/toolbar/base/default";
10205       images {
10206          image: "bt_dis_base.png" COMP;
10207          image: "bt_dis_hilight.png" COMP;
10208          image: "bt_dis_shine.png" COMP;
10209          image: "icon_left_arrow.png" COMP;
10210          image: "icon_right_arrow.png" COMP;
10211       }
10212       parts {
10213          part { name: "base";
10214             mouse_events: 1;
10215             description { state: "default" 0.0;
10216                rel1 {
10217                   relative: 0.0 0.0;
10218                   offset: 2 2;
10219                }
10220                rel2.offset: -3 -3;
10221                image {
10222                   normal: "bt_dis_base.png";
10223                   border: 4 4 4 4;
10224                }
10225                image.middle: SOLID;
10226             }
10227          }
10228          part { name: "clipper";
10229             type: RECT;
10230             mouse_events: 0;
10231             description {
10232                state: "default" 0.0;
10233                rel1 {
10234                   to: "base";
10235                   offset: 2 2;
10236                }
10237                rel2 {
10238                   to: "base";
10239                   offset: -3 -3;
10240                }
10241             }
10242          }
10243          part { name: "elm.swallow.content";
10244             clip_to: "clipper";
10245             type: SWALLOW;
10246             description {
10247                state: "default" 0.0;
10248                rel1.to: "clipper";
10249                rel2.to: "clipper";
10250             }
10251          }
10252          part { name: "over2";
10253             mouse_events: 0;
10254             description { state: "default" 0.0;
10255                rel1.to: "base";
10256                rel2.to: "base";
10257                image {
10258                   normal: "bt_dis_shine.png";
10259                   border: 4 4 4 4;
10260                }
10261             }
10262          }
10263          part { name: "over1";
10264             mouse_events: 0;
10265             description { state: "default" 0.0;
10266                rel1.to: "base";
10267                rel2.to: "base";
10268                rel2.relative: 1.0 0.5;
10269                image {
10270                   normal: "bt_dis_hilight.png";
10271                   border: 4 4 4 0;
10272                }
10273                color: 255 255 255 128;
10274             }
10275          }
10276          part { name: "left_arrow";
10277             mouse_events: 0;
10278             description { state: "default" 0.0;
10279                image.normal: "icon_left_arrow.png";
10280                aspect: 1.0 1.0;
10281                aspect_preference: VERTICAL;
10282                align: 0.0 0.5;
10283                min: 32 32;
10284                max: 32 32;
10285             }
10286             description { state: "hidden" 0.0;
10287                inherit: "default" 0.0;
10288                visible: 0;
10289                color: 255 255 255 0;
10290             }
10291          }
10292          part { name: "right_arrow";
10293             mouse_events: 0;
10294             description { state: "default" 0.0;
10295                image.normal: "icon_right_arrow.png";
10296                aspect: 1.0 1.0;
10297                aspect_preference: VERTICAL;
10298                align: 1.0 0.5;
10299                min: 32 32;
10300                max: 32 32;
10301             }
10302             description { state: "hidden" 0.0;
10303                inherit: "default" 0.0;
10304                visible: 0;
10305                color: 255 255 255 0;
10306             }
10307          }
10308          part { name: "event";
10309             type: RECT;
10310             mouse_events: 1;
10311             repeat_events: 1;
10312             description { state: "default" 0.0;
10313                color: 0 0 0 0;
10314             }
10315          }
10316       }
10317       programs {
10318          program { name: "sb_hbar_show";
10319             signal: "elm,action,show,hbar";
10320             source: "elm";
10321             action:  STATE_SET "default" 0.0;
10322             transition: LINEAR 0.5;
10323             target: "left_arrow";
10324             target: "right_arrow";
10325          }
10326          program { name: "sb_hbar_hide";
10327             signal: "elm,action,hide,hbar";
10328             source: "elm";
10329             action:  STATE_SET "hidden" 0.0;
10330             target: "left_arrow";
10331             target: "right_arrow";
10332             transition: LINEAR 0.5;
10333          }
10334       }
10335    }
10336
10337    group { name: "elm/toolbar/item/default";
10338        images {
10339            image: "toolbar_sel.png" COMP;
10340        }
10341        data.item: "transition_animation_on" "1";
10342        parts {
10343            part { name: "label2";
10344                type: TEXT;
10345                mouse_events:  0;
10346                scale: 1;
10347                clip_to: "elm.text.clipper";
10348                description { state: "default" 0.0;
10349                    align: 0.5 1.0;
10350                    fixed: 0 1;
10351                    rel1.to: "elm.text";
10352                    rel2.to: "elm.text";
10353                    color: 0 0 0 255;
10354                    text {
10355                        font: "Sans";
10356                        text_source: "elm.text";
10357                        size: 10;
10358                        min: 1 1;
10359                        align: 0.5 0.5;
10360                        text_class: "toolbar_item";
10361                    }
10362                }
10363                description { state: "selected" 0.0;
10364                    inherit: "default" 0.0;
10365                    visible: 0;
10366                }
10367                description { state: "disabled" 0.0;
10368                    inherit: "default" 0.0;
10369                    color: 0 0 0 128;
10370                    color3: 0 0 0 0;
10371                }
10372                description { state: "disabled_visible" 0.0;
10373                    inherit: "default" 0.0;
10374                    color: 0 0 0 128;
10375                    color3: 0 0 0 0;
10376                    visible: 1;
10377                    text.min: 1 1;
10378                }
10379            }
10380            part { name: "label2_new";
10381                type: TEXT;
10382                mouse_events:  0;
10383                scale: 1;
10384                clip_to: "elm.text_new.clipper";
10385                description { state: "default" 0.0;
10386                    align: 0.5 1.0;
10387                    fixed: 0 1;
10388                    rel1.to: "elm.text_new";
10389                    rel2.to: "elm.text_new";
10390                    color: 0 0 0 255;
10391                    text {
10392                        font: "Sans";
10393                        text_source: "elm.text_new";
10394                        size: 10;
10395                        min: 1 1;
10396                        align: 0.5 0.5;
10397                        text_class: "toolbar_item";
10398                    }
10399                }
10400                description { state: "selected" 0.0;
10401                    inherit: "default" 0.0;
10402                    visible: 0;
10403                }
10404                description { state: "disabled" 0.0;
10405                    inherit: "default" 0.0;
10406                    color: 0 0 0 128;
10407                    color3: 0 0 0 0;
10408                }
10409                description { state: "disabled_visible" 0.0;
10410                    inherit: "default" 0.0;
10411                    color: 0 0 0 128;
10412                    color3: 0 0 0 0;
10413                    visible: 1;
10414                    text.min: 1 1;
10415                }
10416            }
10417            part { name: "bg";
10418                mouse_events: 0;
10419                description { state: "default" 0.0;
10420                    visible: 0;
10421                    color: 255 255 255 0;
10422                    image {
10423                        normal: "toolbar_sel.png";
10424                        border: 3 3 0 0;
10425                    }
10426                    image.middle: SOLID;
10427                    fill.smooth: 0;
10428                }
10429                description { state: "selected" 0.0;
10430                    inherit: "default" 0.0;
10431                    visible: 1;
10432                    color: 255 255 255 255;
10433                }
10434                description { state: "disabled" 0.0;
10435                    inherit: "default" 0.0;
10436                    visible: 0;
10437                    color: 255 255 255 0;
10438                }
10439            }
10440            part { name: "elm.swallow.icon";
10441                type: SWALLOW;
10442                clip_to: "elm.icon.clipper";
10443                description { state: "default" 0.0;
10444                    align: 0.5 0.5;
10445                    fixed: 0 0;
10446                    rel1 {
10447                        relative: 0.0 0.0;
10448                        offset: 2 2;
10449                    }
10450                    rel2 {
10451                        to_y: "elm.text";
10452                        relative: 1.0 0.0;
10453                        offset: -3 -1;
10454                    }
10455                    color: 0 0 0 0;
10456                }
10457            }
10458            part { name: "elm.swallow.icon_new";
10459                type: SWALLOW;
10460                clip_to: "elm.icon_new.clipper";
10461                description { state: "default" 0.0;
10462                    align: 0.5 0.5;
10463                    fixed: 0 0;
10464                    rel1 {
10465                        relative: 0.0 0.0;
10466                        offset: 2 2;
10467                    }
10468                    rel2 {
10469                        to_y: "elm.text_new";
10470                        relative: 1.0 0.0;
10471                        offset: -3 -1;
10472                    }
10473                    color: 0 0 0 0;
10474                }
10475            }
10476            part { name: "elm.text";
10477                type: TEXT;
10478                effect: SOFT_SHADOW;
10479                mouse_events:  0;
10480                scale: 1;
10481                clip_to: "elm.text.clipper";
10482                description { state: "default" 0.0;
10483                    align: 0.5 1.0;
10484                    fixed: 0 1;
10485                    rel1 {
10486                        relative: 0.0 1.0;
10487                        offset:   0 -1;
10488                    }
10489                    rel2 {
10490                        relative: 1.0 1.0;
10491                        offset:   -1 -1;
10492                    }
10493                    visible: 0;
10494                    color: 224 224 224 255;
10495                    color3: 0 0 0 32;
10496                    text {
10497                        font: "Sans:style=Bold";
10498                        size: 10;
10499                        min: 1 1;
10500                        align: 0.5 0.5;
10501                        text_class: "toolbar_item";
10502                    }
10503                }
10504                description { state: "selected" 0.0;
10505                    inherit: "default" 0.0;
10506                    visible: 1;
10507                }
10508                description { state: "visible" 0.0;
10509                    inherit: "default" 0.0;
10510                    visible: 1;
10511                    text.min: 1 1;
10512                }
10513                description { state: "disabled" 0.0;
10514                    inherit: "default" 0.0;
10515                    color: 0 0 0 128;
10516                    color3: 0 0 0 0;
10517                }
10518                description { state: "disabled_visible" 0.0;
10519                    inherit: "default" 0.0;
10520                    color: 0 0 0 128;
10521                    color3: 0 0 0 0;
10522                    visible: 1;
10523                    text.min: 1 1;
10524                }
10525            }
10526            part { name: "elm.text_new";
10527                type: TEXT;
10528                effect: SOFT_SHADOW;
10529                mouse_events:  0;
10530                clip_to: "elm.text_new.clipper";
10531                scale: 1;
10532                description { state: "default" 0.0;
10533                    align: 0.5 1.0;
10534                    fixed: 0 1;
10535                    rel1 {
10536                        relative: 0.0 1.0;
10537                        offset:   0 -1;
10538                    }
10539                    rel2 {
10540                        relative: 1.0 1.0;
10541                        offset:   -1 -1;
10542                    }
10543                    visible: 0;
10544                    color: 224 224 224 255;
10545                    color3: 0 0 0 32;
10546                    text {
10547                        font: "Sans:style=Bold";
10548                        size: 10;
10549                        min: 1 1;
10550                        align: 0.5 0.5;
10551                        text_class: "toolbar_item";
10552                    }
10553                }
10554                description { state: "selected" 0.0;
10555                    inherit: "default" 0.0;
10556                    visible: 1;
10557                }
10558                description { state: "visible" 0.0;
10559                    inherit: "default" 0.0;
10560                    visible: 1;
10561                    text.min: 1 1;
10562                }
10563                description { state: "disabled" 0.0;
10564                    inherit: "default" 0.0;
10565                    color: 0 0 0 128;
10566                    color3: 0 0 0 0;
10567                }
10568                description { state: "disabled_visible" 0.0;
10569                    inherit: "default" 0.0;
10570                    color: 0 0 0 128;
10571                    color3: 0 0 0 0;
10572                    visible: 1;
10573                    text.min: 1 1;
10574                }
10575            }
10576            part { name: "elm.text.clipper";
10577                type: RECT;
10578                description { state: "default" 0.0;
10579                    color: 255 255 255 255;
10580                }
10581                description { state: "animation" 0.0;
10582                    color: 255 255 255 0;
10583                }
10584            }
10585            part { name: "elm.text_new.clipper";
10586                type: RECT;
10587                description { state: "default" 0.0;
10588                    color: 255 255 255 0;
10589                }
10590                description { state: "animation" 0.0;
10591                    color: 255 255 255 255;
10592                }
10593            }
10594            part { name: "elm.icon.clipper";
10595                type: RECT;
10596                description { state: "default" 0.0;
10597                    color: 255 255 255 255;
10598                }
10599                description { state: "animation" 0.0;
10600                    color: 255 255 255 0;
10601                }
10602            }
10603            part { name: "elm.icon_new.clipper";
10604                type: RECT;
10605                description { state: "default" 0.0;
10606                    color: 255 255 255 0;
10607                }
10608                description { state: "animation" 0.0;
10609                    color: 255 255 255 255;
10610                }
10611            }
10612            part { name: "event";
10613                type: RECT;
10614                mouse_events: 1;
10615                ignore_flags: ON_HOLD;
10616                description { state: "default" 0.0;
10617                    color: 0 0 0 0;
10618                }
10619            }
10620        }
10621        programs {
10622            program { name: "go_active";
10623                signal:  "elm,state,selected";
10624                source:  "elm";
10625                action:  STATE_SET "selected" 0.0;
10626                target:  "bg";
10627                target:  "elm.text";
10628                target:  "label2";
10629                target:  "elm.text_new";
10630                target:  "label2_new";
10631                transition: LINEAR 0.2;
10632            }
10633            program { name: "go_passive";
10634                signal:  "elm,state,unselected";
10635                source:  "elm";
10636                action:  STATE_SET "default" 0.0;
10637                target:  "bg";
10638                target:  "elm.text";
10639                target:  "label2";
10640                target:  "elm.text_new";
10641                target:  "label2_new";
10642                transition: LINEAR 0.1;
10643            }
10644            program { name: "go";
10645                signal:  "mouse,up,1";
10646                source:  "event";
10647                action:  SIGNAL_EMIT "elm,action,click" "elm";
10648            }
10649            program { name: "mouse,in";
10650               signal:  "mouse,in";
10651               source:  "event";
10652               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10653            }
10654            program { name: "mouse,out";
10655               signal:  "mouse,out";
10656               source:  "event";
10657               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10658            }
10659            program { name: "disable";
10660                signal: "elm,state,disabled";
10661                source: "elm";
10662                action: STATE_SET "disabled" 0.0;
10663                target: "label2";
10664                target: "label2_new";
10665                target: "bg";
10666                after: "disable_text";
10667            }
10668            program { name: "disable_text";
10669                script {
10670                    new st[31];
10671                    new Float:vl;
10672                    get_state(PART:"elm.text", st, 30, vl);
10673                    if (!strcmp(st, "visible"))
10674                    {
10675                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10676                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10677                    }
10678                    else
10679                    {
10680                       set_state(PART:"elm.text", "disabled", 0.0);
10681                       set_state(PART:"elm.text_new", "disabled", 0.0);
10682                    }
10683                }
10684            }
10685            program { name: "enable";
10686                signal: "elm,state,enabled";
10687                source: "elm";
10688                action: STATE_SET "default" 0.0;
10689                target: "label2";
10690                target: "label2_new";
10691                target: "bg";
10692                after: "enable_text";
10693            }
10694            program { name: "enable_text";
10695                script {
10696                    new st[31];
10697                    new Float:vl;
10698                    get_state(PART:"elm.text", st, 30, vl);
10699                    if (!strcmp(st, "disabled_visible"))
10700                    {
10701                       set_state(PART:"elm.text", "visible", 0.0);
10702                       set_state(PART:"elm.text_new", "visible", 0.0);
10703                    }
10704                    else
10705                    {
10706                       set_state(PART:"elm.text", "default", 0.0);
10707                       set_state(PART:"elm.text_new", "default", 0.0);
10708                    }
10709                }
10710            }
10711            program { name: "label_set,animation,forward";
10712               signal: "elm,state,label_set,forward";
10713               source: "elm";
10714               after: "label_set,animation";
10715            }
10716            program { name: "label_set,animation,backward";
10717               signal: "elm,state,label_set,backward";
10718               source: "elm";
10719               after: "label_set,animation";
10720            }
10721            program { name: "label_set,animation";
10722               signal: "elm,state,label_set";
10723               source: "elm";
10724               action: STATE_SET "animation" 0.0;
10725               target: "elm.text.clipper";
10726               target: "elm.text_new.clipper";
10727               transition: LINEAR 0.2;
10728               after: "label_set,animation,done";
10729            }
10730            program { name: "label_set,animation,done";
10731               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10732            }
10733            program { name: "label,reset";
10734               signal: "elm,state,label,reset";
10735               source: "elm";
10736               action: STATE_SET "default" 0.0;
10737               target: "elm.text.clipper";
10738               target: "elm.text_new.clipper";
10739            }
10740            program { name: "icon_set,animation,forward";
10741               signal: "elm,state,icon_set,forward";
10742               source: "elm";
10743               after: "icon_set,animation";
10744            }
10745            program { name: "icon_set,animation,backward";
10746               signal: "elm,state,icon_set,backward";
10747               source: "elm";
10748               after: "icon_set,animation";
10749            }
10750            program { name: "icon_set,animation";
10751               signal: "elm,state,icon_set";
10752               source: "elm";
10753               action: STATE_SET "animation" 0.0;
10754               target: "elm.icon.clipper";
10755               target: "elm.icon_new.clipper";
10756               transition: LINEAR 0.2;
10757               after: "icon_set,animation,done";
10758            }
10759            program { name: "icon_set,animation,done";
10760               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10761            }
10762            program { name: "icon,reset";
10763               signal: "elm,state,icon,reset";
10764               source: "elm";
10765               action: STATE_SET "default" 0.0;
10766               target: "elm.icon.clipper";
10767               target: "elm.icon_new.clipper";
10768            }
10769        }
10770    }
10771
10772    group { name: "elm/toolbar/separator/default";
10773       images {
10774          image: "toolbar_separator_v.png" COMP;
10775       }
10776       parts {
10777          part { name: "separator"; // separator group
10778             description { state: "default" 0.0;
10779                min: 2 2;
10780                max: 2 9999;
10781                rel1.offset: 4 4;
10782                rel2.offset: -5 -5;
10783                image {
10784                   normal: "toolbar_separator_v.png";
10785                }
10786                fill {
10787                   smooth: 0;
10788                }
10789             }
10790          }
10791       }
10792    }
10793
10794    ///////////////////////////////////////////////////////////////////////////////
10795    group { name: "elm/notify/block_events/default";
10796        parts {
10797            part { name: "block_events";
10798                type: RECT;
10799                description { state: "default" 0.0;
10800                    color: 0 0 0 64;
10801                    visible: 1;
10802                }
10803            }
10804        }
10805            programs {
10806                    program {
10807                                 name: "block_clicked";
10808                                 signal: "mouse,clicked,1";
10809                                 source: "block_events";
10810                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10811                    }
10812            }
10813    }
10814    group { name: "elm/notify/top/default";
10815        //this group is a design similar to the inwin group
10816        images {
10817            image: "shad_circ.png" COMP;
10818            image: "bt_dis_base.png" COMP;
10819            image: "bt_dis_hilight.png" COMP;
10820        }
10821        parts {
10822            part { name: "base";
10823                type: RECT;
10824                mouse_events: 0;
10825                repeat_events: 1;
10826                description { state: "default" 0.0;
10827                    color: 0 0 0 0;
10828                    rel1.offset: 10 10;
10829                    rel2.offset: -10 -10;
10830                    rel1.relative: 0.0 -1.0;
10831                    rel2.relative: 1.0 0.0;
10832                }
10833                description { state: "visible" 0.0;
10834                    inherit: "default" 0.0;
10835                    color: 0 0 0 64;
10836                    rel1.relative: 0.0 0.0;
10837                    rel2.relative: 1.0 1.0;
10838                }
10839            }
10840            part { name: "shad";
10841                mouse_events:  0;
10842                description { state: "default" 0.0;
10843                    image.normal: "shad_circ.png";
10844                    rel1.to: "elm.swallow.content";
10845                    rel1.offset: -64 -64;
10846                    rel2.to: "elm.swallow.content";
10847                    rel2.offset: 63 63;
10848                    fill.smooth: 0;
10849                }
10850            }
10851            part { name: "pop";
10852                mouse_events: 1;
10853                description { state: "default" 0.0;
10854                    rel1.to: "elm.swallow.content";
10855                    rel1.offset: -5 -5;
10856                    rel2.to: "elm.swallow.content";
10857                    rel2.offset: 4 4;
10858                    image {
10859                        normal: "bt_dis_base.png";
10860                        border: 4 4 4 4;
10861                    }
10862                    image.middle: SOLID;
10863                }
10864            }
10865            part { name: "popover";
10866                mouse_events: 0;
10867                description { state: "default" 0.0;
10868                    rel1.to: "pop";
10869                    rel2.to: "pop";
10870                    rel2.relative: 1.0 0.5;
10871                    image {
10872                        normal: "bt_dis_hilight.png";
10873                        border: 4 4 4 0;
10874                    }
10875                }
10876            }
10877            part { name: "elm.swallow.content";
10878                type: SWALLOW;
10879                description { state: "default" 0.0;
10880                    rel1.to: "base";
10881                    rel2.to: "base";
10882                }
10883            }
10884        }
10885        programs {
10886            program { name: "show";
10887                signal: "elm,action,show";
10888                source: "elm";
10889                action: STATE_SET "visible" 0.0;
10890                target: "base";
10891            }
10892            program { name: "show_2";
10893                 signal: "show";
10894                 action: STATE_SET "default" 0.0;
10895                 target: "base";
10896                 after: "show_3";
10897            }
10898            program { name: "show_3";
10899                 signal: "show";
10900                 action: STATE_SET "visible" 0.0;
10901                 target: "base";
10902                 transition: LINEAR 0.5;
10903            }
10904            program { name: "hide";
10905                signal: "elm,action,hide";
10906                source: "elm";
10907                action: STATE_SET "default" 0.0;
10908                target: "base";
10909            }
10910        }
10911    }
10912    group { name: "elm/notify/center/default";
10913        //this group is a design similar to the inwin group
10914        images {
10915            image: "bt_dis_base.png" COMP;
10916        }
10917        parts {
10918            part { name: "base";
10919                type: RECT;
10920                mouse_events: 0;
10921                repeat_events: 1;
10922                description { state: "default" 0.0;
10923                    color: 0 0 0 0;
10924                    rel1.relative: 0.0 0.0;
10925                    rel2.relative: 1.0 1.0;
10926                }
10927            }
10928            part { name: "pop";
10929                mouse_events: 1;
10930                description { state: "default" 0.0;
10931                    rel1.to: "elm.swallow.content";
10932                    rel1.offset: -5 -5;
10933                    rel2.to: "elm.swallow.content";
10934                    rel2.offset: 4 4;
10935                    image {
10936                        normal: "bt_dis_base.png";
10937                        border: 4 4 4 4;
10938                    }
10939                }
10940            }
10941            part { name: "elm.swallow.content";
10942                type: SWALLOW;
10943                description { state: "default" 0.0;
10944                    rel1.to: "base";
10945                    rel2.to: "base";
10946                }
10947            }
10948        }
10949        programs {
10950            program { name: "show";
10951                signal: "elm,action,show";
10952                source: "elm";
10953                action: STATE_SET "default" 0.0;
10954                target: "base";
10955            }
10956            program { name: "show_2";
10957                 signal: "show";
10958                 action: STATE_SET "default" 0.0;
10959                 target: "base";
10960            }
10961            program { name: "hide";
10962                signal: "elm,action,hide";
10963                source: "elm";
10964                action: STATE_SET "default" 0.0;
10965                target: "base";
10966            }
10967        }
10968    }
10969    group { name: "elm/notify/bottom/default";
10970        //this group is a design similar to the inwin group
10971        images {
10972            image: "shad_circ.png" COMP;
10973            image: "bt_dis_base.png" COMP;
10974            image: "bt_dis_hilight.png" COMP;
10975        }
10976        parts {
10977            part { name: "base";
10978                type: RECT;
10979                mouse_events: 0;
10980                repeat_events: 1;
10981                description { state: "default" 0.0;
10982                    color: 0 0 0 0;
10983                    rel1.offset: 10 10;
10984                    rel2.offset: -10 -10;
10985                    rel1.relative: 0.0 1.0;
10986                    rel2.relative: 1.0 2.0;
10987                }
10988                description { state: "visible" 0.0;
10989                    inherit: "default" 0.0;
10990                    color: 0 0 0 64;
10991                    rel1.relative: 0.0 0.0;
10992                    rel2.relative: 1.0 1.0;
10993                }
10994            }
10995            part { name: "shad";
10996                mouse_events:  0;
10997                description { state: "default" 0.0;
10998                    image.normal: "shad_circ.png";
10999                    rel1.to: "elm.swallow.content";
11000                    rel1.offset: -64 -64;
11001                    rel2.to: "elm.swallow.content";
11002                    rel2.offset: 63 63;
11003                    fill.smooth: 0;
11004                }
11005            }
11006            part { name: "pop";
11007                mouse_events: 1;
11008                description { state: "default" 0.0;
11009                    rel1.to: "elm.swallow.content";
11010                    rel1.offset: -5 -5;
11011                    rel2.to: "elm.swallow.content";
11012                    rel2.offset: 4 4;
11013                    image {
11014                        normal: "bt_dis_base.png";
11015                        border: 4 4 4 4;
11016                    }
11017                    image.middle: SOLID;
11018                }
11019            }
11020            part { name: "popover";
11021                mouse_events: 0;
11022                description { state: "default" 0.0;
11023                    rel1.to: "pop";
11024                    rel2.to: "pop";
11025                    rel2.relative: 1.0 0.5;
11026                    image {
11027                        normal: "bt_dis_hilight.png";
11028                        border: 4 4 4 0;
11029                    }
11030                }
11031            }
11032            part { name: "elm.swallow.content";
11033                type: SWALLOW;
11034                description { state: "default" 0.0;
11035                    rel1.to: "base";
11036                    rel2.to: "base";
11037                }
11038            }
11039        }
11040        programs {
11041            program { name: "show";
11042                signal: "elm,action,show";
11043                source: "elm";
11044                action: STATE_SET "visible" 0.0;
11045                target: "base";
11046            }
11047            program { name: "show_2";
11048                 signal: "show";
11049                 action: STATE_SET "default" 0.0;
11050                 target: "base";
11051                 after: "show_3";
11052            }
11053            program { name: "show_3";
11054                 signal: "show";
11055                 action: STATE_SET "visible" 0.0;
11056                 target: "base";
11057                 transition: LINEAR 0.5;
11058            }
11059            program { name: "hide";
11060                signal: "elm,action,hide";
11061                source: "elm";
11062                action: STATE_SET "default" 0.0;
11063                target: "base";
11064            }
11065        }
11066    }
11067    group { name: "elm/notify/left/default";
11068        //this group is a design similar to the inwin group
11069        images {
11070            image: "shad_circ.png" COMP;
11071            image: "bt_dis_base.png" COMP;
11072            image: "bt_dis_hilight.png" COMP;
11073        }
11074        parts {
11075            part { name: "base";
11076                type: RECT;
11077                mouse_events: 0;
11078                repeat_events: 1;
11079                description { state: "default" 0.0;
11080                    color: 0 0 0 0;
11081                    rel1.offset: 10 10;
11082                    rel2.offset: -10 -10;
11083                    rel1.relative: -1.0 0.0;
11084                    rel2.relative: 0.0 1.0;
11085                }
11086                description { state: "visible" 0.0;
11087                    inherit: "default" 0.0;
11088                    color: 0 0 0 64;
11089                    rel1.relative: 0.0 0.0;
11090                    rel2.relative: 1.0 1.0;
11091                }
11092            }
11093            part { name: "shad";
11094                mouse_events:  0;
11095                description { state: "default" 0.0;
11096                    image.normal: "shad_circ.png";
11097                    rel1.to: "elm.swallow.content";
11098                    rel1.offset: -64 -64;
11099                    rel2.to: "elm.swallow.content";
11100                    rel2.offset: 63 63;
11101                    fill.smooth: 0;
11102                }
11103            }
11104            part { name: "pop";
11105                mouse_events: 1;
11106                description { state: "default" 0.0;
11107                    rel1.to: "elm.swallow.content";
11108                    rel1.offset: -5 -5;
11109                    rel2.to: "elm.swallow.content";
11110                    rel2.offset: 4 4;
11111                    image {
11112                        normal: "bt_dis_base.png";
11113                        border: 4 4 4 4;
11114                    }
11115                    image.middle: SOLID;
11116                }
11117            }
11118            part { name: "popover";
11119                mouse_events: 0;
11120                description { state: "default" 0.0;
11121                    rel1.to: "pop";
11122                    rel2.to: "pop";
11123                    rel2.relative: 1.0 0.5;
11124                    image {
11125                        normal: "bt_dis_hilight.png";
11126                        border: 4 4 4 0;
11127                    }
11128                }
11129            }
11130            part { name: "elm.swallow.content";
11131                type: SWALLOW;
11132                description { state: "default" 0.0;
11133                    rel1.to: "base";
11134                    rel2.to: "base";
11135                }
11136            }
11137        }
11138        programs {
11139            program { name: "show";
11140                signal: "elm,action,show";
11141                source: "elm";
11142                action: STATE_SET "visible" 0.0;
11143                target: "base";
11144            }
11145            program { name: "show_2";
11146                signal: "show";
11147                action: STATE_SET "default" 0.0;
11148                target: "base";
11149                after: "show_3";
11150            }
11151            program { name: "show_3";
11152                signal: "show";
11153                action: STATE_SET "visible" 0.0;
11154                target: "base";
11155                transition: LINEAR 0.5;
11156            }
11157            program { name: "hide";
11158                signal: "elm,action,hide";
11159                source: "elm";
11160                action: STATE_SET "default" 0.0;
11161                target: "base";
11162            }
11163        }
11164    }
11165    group { name: "elm/notify/right/default";
11166        //this group is a design similar to the inwin group
11167        images {
11168            image: "shad_circ.png" COMP;
11169            image: "bt_dis_base.png" COMP;
11170            image: "bt_dis_hilight.png" COMP;
11171        }
11172        parts {
11173            part { name: "base";
11174                type: RECT;
11175                mouse_events: 0;
11176                repeat_events: 1;
11177                 description { state: "default" 0.0;
11178                    color: 0 0 0 0;
11179                    rel1.offset: 10 10;
11180                    rel2.offset: -10 -10;
11181                    rel1.relative: 1.0 0.0;
11182                    rel2.relative: 2.0 1.0;
11183                }
11184                description { state: "visible" 0.0;
11185                    inherit: "default" 0.0;
11186                    color: 0 0 0 64;
11187                    rel1.relative: 0.0 0.0;
11188                    rel2.relative: 1.0 1.0;
11189                }
11190            }
11191            part { name: "shad";
11192                mouse_events:  0;
11193                description { state: "default" 0.0;
11194                    image.normal: "shad_circ.png";
11195                    rel1.to: "elm.swallow.content";
11196                    rel1.offset: -64 -64;
11197                    rel2.to: "elm.swallow.content";
11198                    rel2.offset: 63 63;
11199                    fill.smooth: 0;
11200                }
11201            }
11202            part { name: "pop";
11203                mouse_events: 1;
11204                description { state: "default" 0.0;
11205                    rel1.to: "elm.swallow.content";
11206                    rel1.offset: -5 -5;
11207                    rel2.to: "elm.swallow.content";
11208                    rel2.offset: 4 4;
11209                    image {
11210                        normal: "bt_dis_base.png";
11211                        border: 4 4 4 4;
11212                    }
11213                    image.middle: SOLID;
11214                }
11215            }
11216            part { name: "popover";
11217                mouse_events: 0;
11218                description { state: "default" 0.0;
11219                    rel1.to: "pop";
11220                    rel2.to: "pop";
11221                    rel2.relative: 1.0 0.5;
11222                    image {
11223                        normal: "bt_dis_hilight.png";
11224                        border: 4 4 4 0;
11225                    }
11226                }
11227            }
11228            part { name: "elm.swallow.content";
11229                type: SWALLOW;
11230                description { state: "default" 0.0;
11231                    rel1.to: "base";
11232                    rel2.to: "base";
11233                }
11234            }
11235        }
11236        programs {
11237            program { name: "show";
11238                signal: "elm,action,show";
11239                source: "elm";
11240                action: STATE_SET "visible" 0.0;
11241                target: "base";
11242            }
11243            program { name: "show_2";
11244                signal: "show";
11245                action: STATE_SET "default" 0.0;
11246                target: "base";
11247                after: "show_3";
11248            }
11249            program { name: "show_3";
11250                signal: "show";
11251                action: STATE_SET "visible" 0.0;
11252                target: "base";
11253                transition: LINEAR 0.5;
11254            }
11255            program { name: "hide";
11256                signal: "elm,action,hide";
11257                source: "elm";
11258                action: STATE_SET "default" 0.0;
11259                target: "base";
11260            }
11261        }
11262    }
11263    group { name: "elm/notify/top_left/default";
11264        //this group is a design similar to the inwin group
11265        images {
11266            image: "shad_circ.png" COMP;
11267            image: "bt_dis_base.png" COMP;
11268            image: "bt_dis_hilight.png" COMP;
11269        }
11270        parts {
11271            part { name: "base";
11272                type: RECT;
11273                mouse_events: 0;
11274                repeat_events: 1;
11275                 description { state: "default" 0.0;
11276                    color: 0 0 0 0;
11277                    rel1.offset: 10 10;
11278                    rel2.offset: -10 -10;
11279                    rel1.relative: 0.0 -1.0;
11280                    rel2.relative: 1.0 0.0;
11281                }
11282                description { state: "visible" 0.0;
11283                    inherit: "default" 0.0;
11284                    color: 0 0 0 64;
11285                    rel1.relative: 0.0 0.0;
11286                    rel2.relative: 1.0 1.0;
11287                }
11288            }
11289            part { name: "shad";
11290                mouse_events:  0;
11291                description { state: "default" 0.0;
11292                    image.normal: "shad_circ.png";
11293                    rel1.to: "elm.swallow.content";
11294                    rel1.offset: -64 -64;
11295                    rel2.to: "elm.swallow.content";
11296                    rel2.offset: 63 63;
11297                    fill.smooth: 0;
11298                }
11299            }
11300            part { name: "pop";
11301                mouse_events: 1;
11302                description { state: "default" 0.0;
11303                    rel1.to: "elm.swallow.content";
11304                    rel1.offset: -5 -5;
11305                    rel2.to: "elm.swallow.content";
11306                    rel2.offset: 4 4;
11307                    image {
11308                        normal: "bt_dis_base.png";
11309                        border: 4 4 4 4;
11310                    }
11311                    image.middle: SOLID;
11312                }
11313            }
11314            part { name: "popover";
11315                mouse_events: 0;
11316                description { state: "default" 0.0;
11317                    rel1.to: "pop";
11318                    rel2.to: "pop";
11319                    rel2.relative: 1.0 0.5;
11320                    image {
11321                        normal: "bt_dis_hilight.png";
11322                        border: 4 4 4 0;
11323                    }
11324                }
11325            }
11326            part { name: "elm.swallow.content";
11327                type: SWALLOW;
11328                description { state: "default" 0.0;
11329                    rel1.to: "base";
11330                    rel2.to: "base";
11331                }
11332            }
11333        }
11334        programs {
11335            program { name: "show";
11336                signal: "elm,action,show";
11337                source: "elm";
11338                action: STATE_SET "visible" 0.0;
11339                target: "base";
11340            }
11341            program { name: "show_2";
11342                signal: "show";
11343                action: STATE_SET "default" 0.0;
11344                target: "base";
11345                after: "show_3";
11346            }
11347            program { name: "show_3";
11348                signal: "show";
11349                action: STATE_SET "visible" 0.0;
11350                target: "base";
11351                transition: LINEAR 0.5;
11352            }
11353            program { name: "hide";
11354                signal: "elm,action,hide";
11355                source: "elm";
11356                action: STATE_SET "default" 0.0;
11357                target: "base";
11358            }
11359        }
11360    }
11361    group { name: "elm/notify/top_right/default";
11362        //this group is a design similar to the inwin group
11363        images {
11364            image: "shad_circ.png" COMP;
11365            image: "bt_dis_base.png" COMP;
11366            image: "bt_dis_hilight.png" COMP;
11367        }
11368        parts {
11369            part { name: "base";
11370                type: RECT;
11371                mouse_events: 0;
11372                repeat_events: 1;
11373                description { state: "default" 0.0;
11374                    color: 0 0 0 0;
11375                    rel1.offset: 10 10;
11376                    rel2.offset: -10 -10;
11377                    rel1.relative: 0.0 -1.0;
11378                    rel2.relative: 1.0 0.0;
11379                }
11380                description { state: "visible" 0.0;
11381                    inherit: "default" 0.0;
11382                    color: 0 0 0 64;
11383                    rel1.relative: 0.0 0.0;
11384                    rel2.relative: 1.0 1.0;
11385                }
11386            }
11387            part { name: "shad";
11388                mouse_events:  0;
11389                description { state: "default" 0.0;
11390                    image.normal: "shad_circ.png";
11391                    rel1.to: "elm.swallow.content";
11392                    rel1.offset: -64 -64;
11393                    rel2.to: "elm.swallow.content";
11394                    rel2.offset: 63 63;
11395                    fill.smooth: 0;
11396                }
11397            }
11398            part { name: "pop";
11399                mouse_events: 1;
11400                description { state: "default" 0.0;
11401                    rel1.to: "elm.swallow.content";
11402                    rel1.offset: -5 -5;
11403                    rel2.to: "elm.swallow.content";
11404                    rel2.offset: 4 4;
11405                    image {
11406                        normal: "bt_dis_base.png";
11407                        border: 4 4 4 4;
11408                    }
11409                    image.middle: SOLID;
11410                }
11411            }
11412            part { name: "popover";
11413                mouse_events: 0;
11414                description { state: "default" 0.0;
11415                    rel1.to: "pop";
11416                    rel2.to: "pop";
11417                    rel2.relative: 1.0 0.5;
11418                    image {
11419                        normal: "bt_dis_hilight.png";
11420                        border: 4 4 4 0;
11421                    }
11422                }
11423            }
11424            part { name: "elm.swallow.content";
11425                type: SWALLOW;
11426                description { state: "default" 0.0;
11427                    rel1.to: "base";
11428                    rel2.to: "base";
11429                }
11430            }
11431        }
11432        programs {
11433            program { name: "show";
11434                signal: "elm,action,show";
11435                source: "elm";
11436                action: STATE_SET "visible" 0.0;
11437                target: "base";
11438            }
11439            program { name: "show_2";
11440                signal: "show";
11441                action: STATE_SET "default" 0.0;
11442                target: "base";
11443                after: "show_3";
11444            }
11445            program { name: "show_3";
11446                signal: "show";
11447                action: STATE_SET "visible" 0.0;
11448                target: "base";
11449                transition: LINEAR 0.5;
11450            }
11451            program { name: "hide";
11452                signal: "elm,action,hide";
11453                source: "elm";
11454                action: STATE_SET "default" 0.0;
11455                target: "base";
11456            }
11457        }
11458    }
11459    group { name: "elm/notify/bottom_left/default";
11460        //this group is a design similar to the inwin group
11461        images {
11462            image: "shad_circ.png" COMP;
11463            image: "bt_dis_base.png" COMP;
11464            image: "bt_dis_hilight.png" COMP;
11465        }
11466        parts {
11467            part { name: "base";
11468                type: RECT;
11469                mouse_events: 0;
11470                repeat_events: 1;
11471                description { state: "default" 0.0;
11472                    color: 0 0 0 0;
11473                    rel1.offset: 10 10;
11474                    rel2.offset: -10 -10;
11475                    rel1.relative: 0.0 1.0;
11476                    rel2.relative: 1.0 2.0;
11477                }
11478                description { state: "visible" 0.0;
11479                    inherit: "default" 0.0;
11480                    color: 0 0 0 64;
11481                    rel1.relative: 0.0 0.0;
11482                    rel2.relative: 1.0 1.0;
11483                }
11484            }
11485            part { name: "shad";
11486                mouse_events:  0;
11487                description { state: "default" 0.0;
11488                    image.normal: "shad_circ.png";
11489                    rel1.to: "elm.swallow.content";
11490                    rel1.offset: -64 -64;
11491                    rel2.to: "elm.swallow.content";
11492                    rel2.offset: 63 63;
11493                    fill.smooth: 0;
11494                }
11495            }
11496            part { name: "pop";
11497                mouse_events: 1;
11498                description { state: "default" 0.0;
11499                    rel1.to: "elm.swallow.content";
11500                    rel1.offset: -5 -5;
11501                    rel2.to: "elm.swallow.content";
11502                    rel2.offset: 4 4;
11503                    image {
11504                        normal: "bt_dis_base.png";
11505                        border: 4 4 4 4;
11506                    }
11507                    image.middle: SOLID;
11508                }
11509            }
11510            part { name: "popover";
11511                mouse_events: 0;
11512                description { state: "default" 0.0;
11513                    rel1.to: "pop";
11514                    rel2.to: "pop";
11515                    rel2.relative: 1.0 0.5;
11516                    image {
11517                        normal: "bt_dis_hilight.png";
11518                        border: 4 4 4 0;
11519                    }
11520                }
11521            }
11522            part { name: "elm.swallow.content";
11523                type: SWALLOW;
11524                description { state: "default" 0.0;
11525                    rel1.to: "base";
11526                    rel2.to: "base";
11527                }
11528            }
11529        }
11530        programs {
11531            program { name: "show";
11532                signal: "elm,action,show";
11533                source: "elm";
11534                action: STATE_SET "visible" 0.0;
11535                target: "base";
11536            }
11537            program { name: "show_2";
11538                signal: "show";
11539                action: STATE_SET "default" 0.0;
11540                target: "base";
11541                after: "show_3";
11542            }
11543            program { name: "show_3";
11544                signal: "show";
11545                action: STATE_SET "visible" 0.0;
11546                target: "base";
11547                transition: LINEAR 0.5;
11548            }
11549            program { name: "hide";
11550                signal: "elm,action,hide";
11551                source: "elm";
11552                action: STATE_SET "default" 0.0;
11553                target: "base";
11554            }
11555        }
11556    }
11557    group { name: "elm/notify/bottom_right/default";
11558        //this group is a design similar to the inwin group
11559        images {
11560            image: "shad_circ.png" COMP;
11561            image: "bt_dis_base.png" COMP;
11562            image: "bt_dis_hilight.png" COMP;
11563        }
11564        parts {
11565            part { name: "base";
11566                type: RECT;
11567                mouse_events: 0;
11568                repeat_events: 1;
11569               description { state: "default" 0.0;
11570                    color: 0 0 0 0;
11571                    rel1.offset: 10 10;
11572                    rel2.offset: -10 -10;
11573                    rel1.relative: 0.0 1.0;
11574                    rel2.relative: 1.0 2.0;
11575                }
11576                description { state: "visible" 0.0;
11577                    inherit: "default" 0.0;
11578                    color: 0 0 0 64;
11579                    rel1.relative: 0.0 0.0;
11580                    rel2.relative: 1.0 1.0;
11581                }
11582            }
11583            part { name: "shad";
11584                mouse_events:  0;
11585                description { state: "default" 0.0;
11586                    image.normal: "shad_circ.png";
11587                    rel1.to: "elm.swallow.content";
11588                    rel1.offset: -64 -64;
11589                    rel2.to: "elm.swallow.content";
11590                    rel2.offset: 63 63;
11591                    fill.smooth: 0;
11592                }
11593            }
11594            part { name: "pop";
11595                mouse_events: 1;
11596                description { state: "default" 0.0;
11597                    rel1.to: "elm.swallow.content";
11598                    rel1.offset: -5 -5;
11599                    rel2.to: "elm.swallow.content";
11600                    rel2.offset: 4 4;
11601                    image {
11602                        normal: "bt_dis_base.png";
11603                        border: 4 4 4 4;
11604                    }
11605                    image.middle: SOLID;
11606                }
11607            }
11608            part { name: "popover";
11609                mouse_events: 0;
11610                description { state: "default" 0.0;
11611                    rel1.to: "pop";
11612                    rel2.to: "pop";
11613                    rel2.relative: 1.0 0.5;
11614                    image {
11615                        normal: "bt_dis_hilight.png";
11616                        border: 4 4 4 0;
11617                    }
11618                }
11619            }
11620            part { name: "elm.swallow.content";
11621                type: SWALLOW;
11622                description { state: "default" 0.0;
11623                    rel1.to: "base";
11624                    rel2.to: "base";
11625                }
11626            }
11627        }
11628        programs {
11629            program { name: "show";
11630                signal: "elm,action,show";
11631                source: "elm";
11632                action: STATE_SET "visible" 0.0;
11633                target: "base";
11634            }
11635            program { name: "show_2";
11636                signal: "show";
11637                action: STATE_SET "default" 0.0;
11638                target: "base";
11639                after: "show_3";
11640            }
11641            program { name: "show_3";
11642                signal: "show";
11643                action: STATE_SET "visible" 0.0;
11644                target: "base";
11645                transition: LINEAR 0.5;
11646            }
11647            program { name: "hide";
11648                signal: "elm,action,hide";
11649                source: "elm";
11650                action: STATE_SET "default" 0.0;
11651                target: "base";
11652            }
11653        }
11654    }
11655
11656 ///////////////////////////////////////////////////////////////////////////////
11657    group { name: "elm/slideshow/base/default";
11658       data {
11659          item: transitions "fade black_fade horizontal vertical square";
11660          item: layouts "fullscreen not_fullscreen";
11661       }
11662       parts {
11663          part { name: "whole";
11664                  type: RECT;
11665             description {
11666                state: "default" 0.0;
11667                visible: 1;
11668                color: 20 20 20 255;
11669             }
11670          }
11671          part { name: "image_1_whole";
11672             description {
11673                state: "default" 0.0;
11674                color: 255 255 255 255;
11675             }
11676             description {
11677                state: "fade_prev_next" 0.0;
11678                inherit: "default" 0.0;
11679                color: 255 255 255 0;
11680             }
11681             description {
11682                state: "black_fade_prev_next_init" 0.0;
11683                inherit: "default" 0.0;
11684                color: 255 255 255 255;
11685             }
11686             description {
11687                state: "black_fade_prev_next" 0.0;
11688                inherit: "default" 0.0;
11689                color: 0 0 0 255;
11690             }
11691             description {
11692                state: "horizontal_next_init" 0.0;
11693                inherit: "default" 0.0;
11694             }
11695             description {
11696                state: "horizontal_next" 0.0;
11697                inherit: "default" 0.0;
11698                rel1.relative: -1.0 0.0;
11699                rel2.relative: 0.0 1.0;
11700             }
11701             description {
11702                state: "horizontal_prev_init" 0.0;
11703                inherit: "default" 0.0;
11704             }
11705             description {
11706                state: "horizontal_prev" 0.0;
11707                inherit: "default" 0.0;
11708                rel1.relative: 1.0 0.0;
11709                rel2.relative: 2.0 1.0;
11710             }
11711             description {
11712                state: "vertical_next_init" 0.0;
11713                inherit: "default" 0.0;
11714             }
11715             description {
11716                state: "vertical_next" 0.0;
11717                inherit: "default" 0.0;
11718                rel1.relative: 0.0 -1.0;
11719                rel2.relative: 1.0 0.0;
11720             }
11721             description {
11722                state: "vertical_prev_init" 0.0;
11723                inherit: "default" 0.0;
11724             }
11725             description {
11726                state: "vertical_prev" 0.0;
11727                inherit: "default" 0.0;
11728                rel1.relative: 0.0 1.0;
11729                rel2.relative: 1.0 2.0;
11730             }
11731             description {
11732                state: "square_prev_next" 0.0;
11733                inherit: "default" 0.0;
11734                color: 255 255 255 0;
11735             }
11736          }
11737          part { name: "image_2_whole";
11738             description {
11739                state: "default" 0.0;
11740                visible: 1;
11741                color: 255 255 255 0;
11742             }
11743             description {
11744                state: "fade_prev_next" 0.0;
11745                inherit: "default" 0.0;
11746                color: 255 255 255 255;
11747             }
11748             description {
11749                state: "black_fade_prev_next_init" 0.0;
11750                inherit: "default" 0.0;
11751                color: 0 0 0 0;
11752             }
11753             description {
11754                state: "black_fade_prev_next" 0.0;
11755                inherit: "default" 0.0;
11756                color: 255 255 255 255;
11757             }
11758             description {
11759                state: "horizontal_next_init" 0.0;
11760                inherit: "default" 0.0;
11761                rel1.relative: 1.0 0.0;
11762                rel2.relative: 2.0 1.0;
11763                color: 255 255 255 255;
11764             }
11765             description {
11766                state: "horizontal_next" 0.0;
11767                inherit: "default" 0.0;
11768                color: 255 255 255 255;
11769             }
11770             description {
11771                state: "horizontal_prev_init" 0.0;
11772                inherit: "default" 0.0;
11773                rel1.relative: -1.0 0.0;
11774                rel2.relative: 0.0 1.0;
11775                color: 255 255 255 255;
11776             }
11777             description {
11778                state: "horizontal_prev" 0.0;
11779                inherit: "default" 0.0;
11780                color: 255 255 255 255;
11781             }
11782             description {
11783                state: "vertical_next_init" 0.0;
11784                inherit: "default" 0.0;
11785                rel1.relative: 0.0 1.0;
11786                rel2.relative: 1.0 2.0;
11787                color: 255 255 255 255;
11788             }
11789             description {
11790                state: "vertical_next" 0.0;
11791                inherit: "default" 0.0;
11792                color: 255 255 255 255;
11793             }
11794             description {
11795                state: "vertical_prev_init" 0.0;
11796                inherit: "default" 0.0;
11797                rel1.relative: 0.0 -1.0;
11798                rel2.relative: 1.0 0.0;
11799                color: 255 255 255 255;
11800             }
11801             description {
11802                state: "vertical_prev" 0.0;
11803                inherit: "default" 0.0;
11804                color: 255 255 255 255;
11805             }
11806             description {
11807                state: "square_prev_next_init" 0.0;
11808                inherit: "default" 0.0;
11809                rel1.relative: 0.5 0.5;
11810                rel2.relative: 0.5 0.5;
11811                color: 255 255 255 255;
11812             }
11813             description {
11814                state: "square_prev_next" 0.0;
11815                inherit: "default" 0.0;
11816                rel1.relative: 0.0 0.0;
11817                rel2.relative: 1.0 1.0;
11818                color: 255 255 255 255;
11819             }
11820          }
11821          part { name: "elm.swallow.1";
11822             type: SWALLOW;
11823             clip_to: "image_1_whole";
11824             description {
11825                state: "default" 0.0;
11826                rel1.to: "image_1_whole";
11827                rel2.to: "image_1_whole";
11828                color: 255 255 255 255;
11829             }
11830             description {
11831                state: "not_fullscreen" 0.0;
11832                rel1.relative: 0.1 0.1;
11833                rel1.to: "image_1_whole";
11834                rel2.relative: 0.9 0.9;
11835                rel2.to: "image_1_whole";
11836                color: 255 255 255 255;
11837             }
11838          }
11839          part { name: "elm.swallow.2";
11840             type: SWALLOW;
11841             clip_to: "image_2_whole";
11842             description {
11843                state: "default" 0.0;
11844                color: 255 255 255 255;
11845                rel1.to: "image_2_whole";
11846                rel2.to: "image_2_whole";
11847             }
11848             description {
11849                state: "not_fullscreen" 0.0;
11850                color: 255 255 255 255;
11851                rel1.relative: 0.1 0.1;
11852                rel1.to: "image_2_whole";
11853                rel2.relative: 0.9 0.9;
11854                rel2.to: "image_2_whole";
11855             }
11856          }
11857          part { name: "events_catcher";
11858             type: RECT;
11859             repeat_events: 1;
11860             description {
11861                state: "default" 0.0;
11862                visible: 1;
11863                color: 0 0 0 0;
11864             }
11865          }
11866       }
11867       programs {
11868               //Substyle
11869               program { name: "layout_fullscreen";
11870             signal: "layout,fullscreen";
11871             source: "slideshow";
11872             action: STATE_SET "default" 0.0;
11873             target: "elm.swallow.1";
11874             target: "elm.swallow.2";
11875             transition: SINUSOIDAL 1.0;
11876         }
11877         program { name: "layout_not_fullscreen";
11878             signal: "layout,not_fullscreen";
11879             source: "slideshow";
11880             action: STATE_SET "not_fullscreen" 0.0;
11881             target: "elm.swallow.1";
11882             target: "elm.swallow.2";
11883             transition: SINUSOIDAL 1.0;
11884          }
11885                //
11886          program { name: "fade_next";
11887             signal: "fade,next";
11888             source: "slideshow";
11889             action: STATE_SET "default" 0.0;
11890             target: "image_1_whole";
11891             target: "image_2_whole";
11892             after: "fade_next_2";
11893          }
11894          program { name: "fade_next_2";
11895             action: STATE_SET "fade_prev_next" 0.0;
11896             target: "image_1_whole";
11897             target: "image_2_whole";
11898             transition: SINUSOIDAL 1.5;
11899             after: "end";
11900          }
11901          program { name: "fade_previous";
11902             signal: "fade,previous";
11903             source: "slideshow";
11904             action: STATE_SET "default" 0.0;
11905             target: "image_1_whole";
11906             target: "image_2_whole";
11907             after: "fade_previous_2";
11908          }
11909          program { name: "fade_previous_2";
11910             action: STATE_SET "fade_prev_next" 0.0;
11911             target: "image_1_whole";
11912             target: "image_2_whole";
11913             transition: SINUSOIDAL 1.5;
11914             after: "end";
11915          }
11916          program { name: "black_fade_next";
11917             signal: "black_fade,next";
11918             source: "slideshow";
11919             action: STATE_SET "black_fade_prev_next_init" 0.0;
11920             target: "image_1_whole";
11921             target: "image_2_whole";
11922             after: "black_fade_next_2";
11923          }
11924          program { name: "black_fade_next_2";
11925             action: STATE_SET "black_fade_prev_next" 0.0;
11926             target: "image_1_whole";
11927             transition: SINUSOIDAL 0.75;
11928             after: "black_fade_next_3";
11929          }
11930          program { name: "black_fade_next_3";
11931             action: STATE_SET "black_fade_prev_next" 0.0;
11932             target: "image_2_whole";
11933             transition: SINUSOIDAL 0.75;
11934             after: "end";
11935          }
11936          program { name: "black_fade_previous";
11937             signal: "black_fade,previous";
11938             source: "slideshow";
11939             action: STATE_SET "black_fade_prev_next_init" 0.0;
11940             target: "image_1_whole";
11941             target: "image_2_whole";
11942             after: "black_fade_previous_2";
11943          }
11944          program { name: "black_fade_previous_2";
11945             action: STATE_SET "black_fade_prev_next" 0.0;
11946             target: "image_1_whole";
11947             transition: SINUSOIDAL 0.75;
11948             after: "black_fade_previous_3";
11949          }
11950          program { name: "black_fade_previous_3";
11951             action: STATE_SET "black_fade_prev_next" 0.0;
11952             target: "image_2_whole";
11953             transition: SINUSOIDAL 0.75;
11954             after: "end";
11955          }
11956          program { name: "horizontal_next";
11957             signal: "horizontal,next";
11958             source: "slideshow";
11959             action: STATE_SET "horizontal_next_init" 0.0;
11960             target: "image_1_whole";
11961             target: "image_2_whole";
11962             after: "horizontal_next_2";
11963          }
11964          program { name: "horizontal_next_2";
11965             action: STATE_SET "horizontal_next" 0.0;
11966             target: "image_1_whole";
11967             target: "image_2_whole";
11968             transition: SINUSOIDAL 1.5;
11969             after: "end";
11970          }
11971          program { name: "horizontal_previous";
11972             signal: "horizontal,previous";
11973             source: "slideshow";
11974             action: STATE_SET "horizontal_prev_init" 0.0;
11975             target: "image_1_whole";
11976             target: "image_2_whole";
11977             after: "horizontal_previous_2";
11978          }
11979          program { name: "horizontal_previous_2";
11980             action: STATE_SET "horizontal_prev" 0.0;
11981             target: "image_1_whole";
11982             target: "image_2_whole";
11983             transition: SINUSOIDAL 1.5;
11984             after: "end";
11985          }
11986          program { name: "vertical_next";
11987             signal: "vertical,next";
11988             source: "slideshow";
11989             action: STATE_SET "vertical_next_init" 0.0;
11990             target: "image_1_whole";
11991             target: "image_2_whole";
11992             after: "vertical_next_2";
11993          }
11994          program { name: "vertical_next_2";
11995             action: STATE_SET "vertical_next" 0.0;
11996             target: "image_1_whole";
11997             target: "image_2_whole";
11998             transition: SINUSOIDAL 1.5;
11999             after: "end";
12000          }
12001          program { name: "vertical_previous";
12002             signal: "vertical,previous";
12003             source: "slideshow";
12004             action: STATE_SET "vertical_prev_init" 0.0;
12005             target: "image_1_whole";
12006             target: "image_2_whole";
12007             after: "vertical_previous_2";
12008          }
12009          program { name: "vertical_previous_2";
12010             action: STATE_SET "vertical_prev" 0.0;
12011             target: "image_1_whole";
12012             target: "image_2_whole";
12013             transition: SINUSOIDAL 1.5;
12014             after: "end";
12015          }
12016          program { name: "square_next";
12017             signal: "square,next";
12018             source: "slideshow";
12019             action: STATE_SET "square_prev_next_init" 0.0;
12020             target: "image_2_whole";
12021             after: "square_next_2";
12022          }
12023          program { name: "square_next_2";
12024             action: STATE_SET "square_prev_next" 0.0;
12025             target: "image_2_whole";
12026             target: "image_1_whole";
12027             transition: SINUSOIDAL 1.5;
12028             after: "end";
12029          }
12030          program { name: "square_previous";
12031             signal: "square,previous";
12032             source: "slideshow";
12033             action: STATE_SET "square_prev_next_init" 0.0;
12034             target: "image_2_whole";
12035             after: "square_next_2";
12036          }
12037          program { name: "end";
12038             action: SIGNAL_EMIT "end" "slideshow";
12039          }
12040          program { name: "end_signal";
12041             signal: "anim,end";
12042             source: "slideshow";
12043             action: STATE_SET "default" 0.0;
12044             target: "image_1_whole";
12045             target: "image_2_whole";
12046          }
12047       }
12048    }
12049
12050 ///////////////////////////////////////////////////////////////////////////////
12051    group { name: "elm/win/inwin/default";
12052       images {
12053          image: "shad_circ.png" COMP;
12054          image: "bt_dis_base.png" COMP;
12055          image: "bt_dis_hilight.png" COMP;
12056       }
12057       parts {
12058          part { name: "base";
12059             type: RECT;
12060             mouse_events: 1;
12061             description { state: "default" 0.0;
12062                color: 0 0 0 0;
12063             }
12064             description { state: "visible" 0.0;
12065                inherit: "default" 1.0;
12066                color: 0 0 0 64;
12067             }
12068          }
12069          part { name: "shad";
12070             mouse_events:  0;
12071             description { state: "default" 0.0;
12072                image.normal: "shad_circ.png";
12073                rel1.to: "elm.swallow.content";
12074                rel1.offset: -64 -64;
12075                rel2.to: "elm.swallow.content";
12076                rel2.offset: 63 63;
12077                fill.smooth: 0;
12078             }
12079          }
12080          part { name: "pop";
12081             mouse_events: 1;
12082             description { state: "default" 0.0;
12083                rel1.to: "elm.swallow.content";
12084                rel1.offset: -5 -5;
12085                rel2.to: "elm.swallow.content";
12086                rel2.offset: 4 4;
12087                image {
12088                   normal: "bt_dis_base.png";
12089                   border: 4 4 4 4;
12090                }
12091                image.middle: SOLID;
12092             }
12093          }
12094          part { name: "popover";
12095             mouse_events: 0;
12096             description { state: "default" 0.0;
12097                rel1.to: "pop";
12098                rel2.to: "pop";
12099                rel2.relative: 1.0 0.5;
12100                image {
12101                   normal: "bt_dis_hilight.png";
12102                   border: 4 4 4 0;
12103                }
12104             }
12105          }
12106          part { name: "elm.swallow.content";
12107             type: SWALLOW;
12108             description { state: "default" 0.0;
12109                rel1.relative: 0.1 0.1;
12110                rel2.relative: 0.9 0.9;
12111             }
12112          }
12113       }
12114       programs {
12115          program { name: "show";
12116             signal: "elm,action,show";
12117             source: "elm";
12118             action: STATE_SET "visible" 0.0;
12119 //            transition: DECELERATE 0.5;
12120             target: "base";
12121          }
12122          program { name: "hide";
12123             signal: "elm,action,hide";
12124             source: "elm";
12125             action: STATE_SET "default" 0.0;
12126 //            transition: DECELERATE 0.5;
12127             target: "base";
12128          }
12129       }
12130    }
12131
12132    group { name: "elm/win/inwin/minimal";
12133       images {
12134          image: "shad_circ.png" COMP;
12135          image: "bt_dis_base.png" COMP;
12136          image: "bt_dis_hilight.png" COMP;
12137       }
12138       parts {
12139          part { name: "base";
12140             type: RECT;
12141             mouse_events: 1;
12142             description { state: "default" 0.0;
12143                color: 0 0 0 0;
12144             }
12145             description { state: "visible" 0.0;
12146                inherit: "default" 1.0;
12147                color: 0 0 0 64;
12148             }
12149          }
12150          part { name: "shad";
12151             mouse_events:  0;
12152             description { state: "default" 0.0;
12153                image.normal: "shad_circ.png";
12154                rel1.to: "elm.swallow.content";
12155                rel1.offset: -64 -64;
12156                rel2.to: "elm.swallow.content";
12157                rel2.offset: 63 63;
12158                fill.smooth: 0;
12159             }
12160          }
12161          part { name: "pop";
12162             mouse_events: 1;
12163             description { state: "default" 0.0;
12164                rel1.to: "elm.swallow.content";
12165                rel1.offset: -5 -5;
12166                rel2.to: "elm.swallow.content";
12167                rel2.offset: 4 4;
12168                image {
12169                   normal: "bt_dis_base.png";
12170                   border: 4 4 4 4;
12171                }
12172                image.middle: SOLID;
12173             }
12174          }
12175          part { name: "popover";
12176             mouse_events: 0;
12177             description { state: "default" 0.0;
12178                rel1.to: "pop";
12179                rel2.to: "pop";
12180                rel2.relative: 1.0 0.5;
12181                image {
12182                   normal: "bt_dis_hilight.png";
12183                   border: 4 4 4 0;
12184                }
12185             }
12186          }
12187          part { name: "elm.swallow.content";
12188             type: SWALLOW;
12189             description { state: "default" 0.0;
12190                fixed: 1 1;
12191                rel1.relative: 0.5 0.5;
12192                rel2.relative: 0.5 0.5;
12193             }
12194          }
12195       }
12196       programs {
12197          program { name: "show";
12198             signal: "elm,action,show";
12199             source: "elm";
12200             action: STATE_SET "visible" 0.0;
12201 //            transition: DECELERATE 0.5;
12202             target: "base";
12203          }
12204          program { name: "hide";
12205             signal: "elm,action,hide";
12206             source: "elm";
12207             action: STATE_SET "default" 0.0;
12208 //            transition: DECELERATE 0.5;
12209             target: "base";
12210          }
12211       }
12212    }
12213
12214    group { name: "elm/win/inwin/minimal_vertical";
12215       images {
12216          image: "shad_circ.png" COMP;
12217          image: "bt_dis_base.png" COMP;
12218          image: "bt_dis_hilight.png" COMP;
12219       }
12220       parts {
12221          part { name: "base";
12222             type: RECT;
12223             mouse_events: 1;
12224             description { state: "default" 0.0;
12225                color: 0 0 0 0;
12226             }
12227             description { state: "visible" 0.0;
12228                inherit: "default" 1.0;
12229                color: 0 0 0 64;
12230             }
12231          }
12232          part { name: "shad";
12233             mouse_events:  0;
12234             description { state: "default" 0.0;
12235                image.normal: "shad_circ.png";
12236                rel1.to: "elm.swallow.content";
12237                rel1.offset: -64 -64;
12238                rel2.to: "elm.swallow.content";
12239                rel2.offset: 63 63;
12240                fill.smooth: 0;
12241             }
12242          }
12243          part { name: "pop";
12244             mouse_events: 1;
12245             description { state: "default" 0.0;
12246                rel1.to: "elm.swallow.content";
12247                rel1.offset: -5 -5;
12248                rel2.to: "elm.swallow.content";
12249                rel2.offset: 4 4;
12250                image {
12251                   normal: "bt_dis_base.png";
12252                   border: 4 4 4 4;
12253                }
12254                image.middle: SOLID;
12255             }
12256          }
12257          part { name: "popover";
12258             mouse_events: 0;
12259             description { state: "default" 0.0;
12260                rel1.to: "pop";
12261                rel2.to: "pop";
12262                rel2.relative: 1.0 0.5;
12263                image {
12264                   normal: "bt_dis_hilight.png";
12265                   border: 4 4 4 0;
12266                }
12267             }
12268          }
12269          part { name: "elm.swallow.content";
12270             type: SWALLOW;
12271             description { state: "default" 0.0;
12272                fixed: 1 1;
12273                rel1.relative: 0.1 0.5;
12274                rel2.relative: 0.9 0.5;
12275             }
12276          }
12277       }
12278       programs {
12279          program { name: "show";
12280             signal: "elm,action,show";
12281             source: "elm";
12282             action: STATE_SET "visible" 0.0;
12283 //            transition: DECELERATE 0.5;
12284             target: "base";
12285          }
12286          program { name: "hide";
12287             signal: "elm,action,hide";
12288             source: "elm";
12289             action: STATE_SET "default" 0.0;
12290 //            transition: DECELERATE 0.5;
12291             target: "base";
12292          }
12293       }
12294    }
12295
12296 ///////////////////////////////////////////////////////////////////////////////
12297
12298 ///////////////////////////////////////////////////////////////////////////////
12299    group { name: "elm/list/item/default";
12300       data.item: "stacking" "above";
12301       images {
12302          image: "bt_sm_base1.png" COMP;
12303          image: "bt_sm_shine.png" COMP;
12304          image: "bt_sm_hilight.png" COMP;
12305          image: "ilist_1.png" COMP;
12306          image: "ilist_item_shadow.png" COMP;
12307       }
12308       parts {
12309          part {
12310             name:           "event";
12311             type:           RECT;
12312             repeat_events: 1;
12313             description {
12314                state: "default" 0.0;
12315                color: 0 0 0 0;
12316             }
12317          }
12318          part {
12319             name: "base_sh";
12320             mouse_events: 0;
12321             description {
12322                state: "default" 0.0;
12323                align: 0.0 0.0;
12324                min: 0 10;
12325                fixed: 1 1;
12326                rel1 {
12327                   to: "base";
12328                   relative: 0.0 1.0;
12329                   offset: 0 0;
12330                }
12331                rel2 {
12332                   to: "base";
12333                   relative: 1.0 1.0;
12334                   offset: -1 0;
12335                }
12336                image {
12337                   normal: "ilist_item_shadow.png";
12338                }
12339                fill.smooth: 0;
12340             }
12341          }
12342          part {
12343             name: "base";
12344             mouse_events: 0;
12345             description {
12346                state: "default" 0.0;
12347                image {
12348                   normal: "ilist_1.png";
12349                   border: 2 2 2 2;
12350                }
12351                fill.smooth: 0;
12352             }
12353          }
12354          part { name: "bg";
12355             mouse_events: 0;
12356             description { state: "default" 0.0;
12357                visible: 0;
12358                color: 255 255 255 0;
12359                rel1 {
12360                   relative: 0.0 0.0;
12361                   offset: -5 -5;
12362                }
12363                rel2 {
12364                   relative: 1.0 1.0;
12365                   offset: 4 4;
12366                }
12367                image {
12368                   normal: "bt_sm_base1.png";
12369                   border: 6 6 6 6;
12370                }
12371                image.middle: SOLID;
12372             }
12373             description { state: "selected" 0.0;
12374                inherit: "default" 0.0;
12375                visible: 1;
12376                color: 255 255 255 255;
12377                rel1 {
12378                   relative: 0.0 0.0;
12379                   offset: -2 -2;
12380                }
12381                rel2 {
12382                   relative: 1.0 1.0;
12383                   offset: 1 1;
12384                }
12385             }
12386          }
12387          part { name: "elm.swallow.icon";
12388             type: SWALLOW;
12389             description { state: "default" 0.0;
12390                fixed: 1 0;
12391                align: 0.0 0.5;
12392                rel1 {
12393                   relative: 0.0  0.0;
12394                   offset:   4    4;
12395                }
12396                rel2 {
12397                   relative: 0.0  1.0;
12398                   offset:   4   -5;
12399                }
12400             }
12401          }
12402          part { name: "elm.swallow.end";
12403             type: SWALLOW;
12404             description { state: "default" 0.0;
12405                fixed: 1 0;
12406                align: 1.0 0.5;
12407                rel1 {
12408                   relative: 1.0  0.0;
12409                   offset:   -5    4;
12410                }
12411                rel2 {
12412                   relative: 1.0  1.0;
12413                   offset:   -5   -5;
12414                }
12415             }
12416          }
12417          part { name: "elm.text";
12418             type:           TEXT;
12419             effect:         SOFT_SHADOW;
12420             mouse_events:   0;
12421             scale: 1;
12422             description {
12423                state: "default" 0.0;
12424 //               min: 16 16;
12425                rel1 {
12426                   to_x:     "elm.swallow.icon";
12427                   relative: 1.0  0.0;
12428                   offset:   4 4;
12429                }
12430                rel2 {
12431                   to_x:     "elm.swallow.end";
12432                   relative: 0.0  1.0;
12433                   offset:   -1 -5;
12434                }
12435                color: 0 0 0 255;
12436                color3: 0 0 0 0;
12437                text {
12438                   font: "Sans";
12439                   size: 10;
12440                   min: 1 1;
12441 //                  min: 0 1;
12442                   align: -1.0 0.5;
12443                   text_class: "list_item";
12444                }
12445             }
12446             description { state: "selected" 0.0;
12447                inherit: "default" 0.0;
12448                color: 224 224 224 255;
12449                color3: 0 0 0 64;
12450             }
12451          }
12452          part { name: "fg1";
12453             mouse_events: 0;
12454             description { state: "default" 0.0;
12455                visible: 0;
12456                color: 255 255 255 0;
12457                rel1.to: "bg";
12458                rel2.relative: 1.0 0.5;
12459                rel2.to: "bg";
12460                image {
12461                   normal: "bt_sm_hilight.png";
12462                   border: 6 6 6 0;
12463                }
12464             }
12465             description { state: "selected" 0.0;
12466                inherit: "default" 0.0;
12467                visible: 1;
12468                color: 255 255 255 255;
12469             }
12470          }
12471          part { name: "fg2";
12472             mouse_events: 0;
12473             description { state: "default" 0.0;
12474                visible: 0;
12475                color: 255 255 255 0;
12476                rel1.to: "bg";
12477                rel2.to: "bg";
12478                image {
12479                   normal: "bt_sm_shine.png";
12480                   border: 6 6 6 0;
12481                }
12482             }
12483             description { state: "selected" 0.0;
12484                inherit: "default" 0.0;
12485                visible: 1;
12486                color: 255 255 255 255;
12487             }
12488          }
12489       }
12490       programs {
12491          program {
12492             name:    "go_active";
12493             signal:  "elm,state,selected";
12494             source:  "elm";
12495             action:  STATE_SET "selected" 0.0;
12496             target:  "bg";
12497             target:  "fg1";
12498             target:  "fg2";
12499             target:  "elm.text";
12500          }
12501          program {
12502             name:    "go_passive";
12503             signal:  "elm,state,unselected";
12504             source:  "elm";
12505             action:  STATE_SET "default" 0.0;
12506             target:  "bg";
12507             target:  "fg1";
12508             target:  "fg2";
12509             target:  "elm.text";
12510             transition: LINEAR 0.1;
12511          }
12512       }
12513    }
12514    group { name: "elm/list/item_odd/default";
12515       data.item: "stacking" "below";
12516       data.item: "selectraise" "on";
12517       images {
12518          image: "bt_sm_base1.png" COMP;
12519          image: "bt_sm_shine.png" COMP;
12520          image: "bt_sm_hilight.png" COMP;
12521          image: "ilist_2.png" COMP;
12522       }
12523       parts {
12524          part {
12525             name:           "event";
12526             type:           RECT;
12527             repeat_events: 1;
12528             description {
12529                state: "default" 0.0;
12530                color: 0 0 0 0;
12531             }
12532          }
12533          part {
12534             name: "base";
12535             mouse_events: 0;
12536             description {
12537                state: "default" 0.0;
12538                image {
12539                   normal: "ilist_2.png";
12540                   border: 2 2 2 2;
12541                }
12542                fill.smooth: 0;
12543             }
12544          }
12545          part { name: "bg";
12546             mouse_events: 0;
12547             description { state: "default" 0.0;
12548                visible: 0;
12549                color: 255 255 255 0;
12550                rel1 {
12551                   relative: 0.0 0.0;
12552                   offset: -5 -5;
12553                }
12554                rel2 {
12555                   relative: 1.0 1.0;
12556                   offset: 4 4;
12557                }
12558                image {
12559                   normal: "bt_sm_base1.png";
12560                   border: 6 6 6 6;
12561                }
12562                image.middle: SOLID;
12563             }
12564             description { state: "selected" 0.0;
12565                inherit: "default" 0.0;
12566                visible: 1;
12567                color: 255 255 255 255;
12568                rel1 {
12569                   relative: 0.0 0.0;
12570                   offset: -2 -2;
12571                }
12572                rel2 {
12573                   relative: 1.0 1.0;
12574                   offset: 1 1;
12575                }
12576             }
12577          }
12578          part {
12579             name:          "elm.swallow.icon";
12580             type:          SWALLOW;
12581             description { state:    "default" 0.0;
12582                fixed: 1 0;
12583                align:    0.0 0.5;
12584                rel1 {
12585                   relative: 0.0  0.0;
12586                   offset:   4    4;
12587                }
12588                rel2 {
12589                   relative: 0.0  1.0;
12590                   offset:   4   -5;
12591                }
12592             }
12593          }
12594          part {
12595             name:          "elm.swallow.end";
12596             type:          SWALLOW;
12597             description { state:    "default" 0.0;
12598                fixed: 1 0;
12599                align: 1.0 0.5;
12600                rel1 {
12601                   relative: 1.0  0.0;
12602                   offset:   -5    4;
12603                }
12604                rel2 {
12605                   relative: 1.0  1.0;
12606                   offset:   -5   -5;
12607                }
12608             }
12609          }
12610          part {
12611             name:           "elm.text";
12612             type:           TEXT;
12613             effect:         SOFT_SHADOW;
12614             mouse_events:   0;
12615             scale: 1;
12616             description {
12617                state: "default" 0.0;
12618 //               min:      16 16;
12619                rel1 {
12620                   to_x:     "elm.swallow.icon";
12621                   relative: 1.0  0.0;
12622                   offset:   4 4;
12623                }
12624                rel2 {
12625                   to_x:     "elm.swallow.end";
12626                   relative: 0.0  1.0;
12627                   offset:   -1 -5;
12628                }
12629                color: 0 0 0 255;
12630                color3: 0 0 0 0;
12631                text {
12632                   font: "Sans";
12633                   size: 10;
12634                   min: 1 1;
12635 //                  min: 0 1;
12636                   align: -1.0 0.5;
12637                   text_class: "list_item";
12638                }
12639             }
12640             description { state: "selected" 0.0;
12641                inherit: "default" 0.0;
12642                color: 224 224 224 255;
12643                color3: 0 0 0 64;
12644             }
12645          }
12646          part { name: "fg1";
12647             mouse_events: 0;
12648             description { state: "default" 0.0;
12649                visible: 0;
12650                color: 255 255 255 0;
12651                rel1.to: "bg";
12652                rel2.relative: 1.0 0.5;
12653                rel2.to: "bg";
12654                image {
12655                   normal: "bt_sm_hilight.png";
12656                   border: 6 6 6 0;
12657                }
12658             }
12659             description { state: "selected" 0.0;
12660                inherit: "default" 0.0;
12661                visible: 1;
12662                color: 255 255 255 255;
12663             }
12664          }
12665          part { name: "fg2";
12666             mouse_events: 0;
12667             description { state: "default" 0.0;
12668                visible: 0;
12669                color: 255 255 255 0;
12670                rel1.to: "bg";
12671                rel2.to: "bg";
12672                image {
12673                   normal: "bt_sm_shine.png";
12674                   border: 6 6 6 0;
12675                }
12676             }
12677             description { state: "selected" 0.0;
12678                inherit: "default" 0.0;
12679                visible: 1;
12680                color: 255 255 255 255;
12681             }
12682          }
12683       }
12684       programs {
12685          program {
12686             name:    "go_active";
12687             signal:  "elm,state,selected";
12688             source:  "elm";
12689             action:  STATE_SET "selected" 0.0;
12690             target:  "bg";
12691             target:  "fg1";
12692             target:  "fg2";
12693             target:  "elm.text";
12694          }
12695          program {
12696             name:    "go_passive";
12697             signal:  "elm,state,unselected";
12698             source:  "elm";
12699             action:  STATE_SET "default" 0.0;
12700             target:  "bg";
12701             target:  "fg1";
12702             target:  "fg2";
12703             target:  "elm.text";
12704             transition: LINEAR 0.1;
12705          }
12706       }
12707    }
12708    group { name: "elm/list/item_compress/default";
12709       data.item: "stacking" "above";
12710       data.item: "selectraise" "on";
12711       images {
12712          image: "bt_sm_base1.png" COMP;
12713          image: "bt_sm_shine.png" COMP;
12714          image: "bt_sm_hilight.png" COMP;
12715          image: "ilist_1.png" COMP;
12716          image: "ilist_item_shadow.png" COMP;
12717       }
12718       parts {
12719          part {
12720             name:           "event";
12721             type:           RECT;
12722             repeat_events: 1;
12723             description {
12724                state: "default" 0.0;
12725                color: 0 0 0 0;
12726             }
12727          }
12728          part {
12729             name: "base_sh";
12730             mouse_events: 0;
12731             description { state: "default" 0.0;
12732                fixed: 1 1;
12733                align: 0.0 0.0;
12734                min: 0 10;
12735                rel1 {
12736                   to: "base";
12737                   relative: 0.0 1.0;
12738                   offset: 0 0;
12739                }
12740                rel2 {
12741                   to: "base";
12742                   relative: 1.0 1.0;
12743                   offset: -1 0;
12744                }
12745                image {
12746                   normal: "ilist_item_shadow.png";
12747                }
12748                fill.smooth: 0;
12749             }
12750          }
12751          part {
12752             name: "base";
12753             mouse_events: 0;
12754             description {
12755                state: "default" 0.0;
12756                image {
12757                   normal: "ilist_1.png";
12758                   border: 2 2 2 2;
12759                }
12760                fill.smooth: 0;
12761             }
12762          }
12763          part { name: "bg";
12764             mouse_events: 0;
12765             description { state: "default" 0.0;
12766                visible: 0;
12767                color: 255 255 255 0;
12768                rel1 {
12769                   relative: 0.0 0.0;
12770                   offset: -5 -5;
12771                }
12772                rel2 {
12773                   relative: 1.0 1.0;
12774                   offset: 4 4;
12775                }
12776                image {
12777                   normal: "bt_sm_base1.png";
12778                   border: 6 6 6 6;
12779                }
12780                image.middle: SOLID;
12781             }
12782             description { state: "selected" 0.0;
12783                inherit: "default" 0.0;
12784                visible: 1;
12785                color: 255 255 255 255;
12786                rel1 {
12787                   relative: 0.0 0.0;
12788                   offset: -2 -2;
12789                }
12790                rel2 {
12791                   relative: 1.0 1.0;
12792                   offset: 1 1;
12793                }
12794             }
12795          }
12796          part { name:          "elm.swallow.icon";
12797             type:          SWALLOW;
12798             description { state:    "default" 0.0;
12799                fixed: 1 0;
12800                align:    0.0 0.5;
12801                rel1 {
12802                   relative: 0.0  0.0;
12803                   offset:   4    4;
12804                }
12805                rel2 {
12806                   relative: 0.0  1.0;
12807                   offset:   4   -5;
12808                }
12809             }
12810          }
12811          part { name:          "elm.swallow.end";
12812             type:          SWALLOW;
12813             description { state:    "default" 0.0;
12814                fixed: 1 0;
12815                align:    1.0 0.5;
12816                rel1 {
12817                   relative: 1.0  0.0;
12818                   offset:   -5    4;
12819                }
12820                rel2 {
12821                   relative: 1.0  1.0;
12822                   offset:   -5   -5;
12823                }
12824             }
12825          }
12826          part {
12827             name:           "elm.text";
12828             type:           TEXT;
12829             effect:         SOFT_SHADOW;
12830             mouse_events:   0;
12831             scale: 1;
12832             description { state: "default" 0.0;
12833 //               min:      16 16;
12834                rel1 {
12835                   to_x:     "elm.swallow.icon";
12836                   relative: 1.0  0.0;
12837                   offset:   4 4;
12838                }
12839                rel2 {
12840                   to_x:     "elm.swallow.end";
12841                   relative: 0.0  1.0;
12842                   offset:   -1 -5;
12843                }
12844                color: 0 0 0 255;
12845                color3: 0 0 0 0;
12846                text {
12847                   font: "Sans";
12848                   size: 10;
12849 //                  min: 1 1;
12850                   min: 0 1;
12851                   align: 0.0 0.5;
12852                   text_class: "list_item";
12853                }
12854             }
12855             description { state: "selected" 0.0;
12856                inherit: "default" 0.0;
12857                color: 224 224 224 255;
12858                color3: 0 0 0 64;
12859             }
12860          }
12861          part { name: "fg1";
12862             mouse_events: 0;
12863             description { state: "default" 0.0;
12864                visible: 0;
12865                color: 255 255 255 0;
12866                rel1.to: "bg";
12867                rel2.relative: 1.0 0.5;
12868                rel2.to: "bg";
12869                image {
12870                   normal: "bt_sm_hilight.png";
12871                   border: 6 6 6 0;
12872                }
12873             }
12874             description { state: "selected" 0.0;
12875                inherit: "default" 0.0;
12876                visible: 1;
12877                color: 255 255 255 255;
12878             }
12879          }
12880          part { name: "fg2";
12881             mouse_events: 0;
12882             description { state: "default" 0.0;
12883                visible: 0;
12884                color: 255 255 255 0;
12885                rel1.to: "bg";
12886                rel2.to: "bg";
12887                image {
12888                   normal: "bt_sm_shine.png";
12889                   border: 6 6 6 0;
12890                }
12891             }
12892             description { state: "selected" 0.0;
12893                inherit: "default" 0.0;
12894                visible: 1;
12895                color: 255 255 255 255;
12896             }
12897          }
12898       }
12899       programs {
12900          program {
12901             name:    "go_active";
12902             signal:  "elm,state,selected";
12903             source:  "elm";
12904             action:  STATE_SET "selected" 0.0;
12905             target:  "bg";
12906             target:  "fg1";
12907             target:  "fg2";
12908             target:  "elm.text";
12909          }
12910          program {
12911             name:    "go_passive";
12912             signal:  "elm,state,unselected";
12913             source:  "elm";
12914             action:  STATE_SET "default" 0.0;
12915             target:  "bg";
12916             target:  "fg1";
12917             target:  "fg2";
12918             target:  "elm.text";
12919             transition: LINEAR 0.1;
12920          }
12921       }
12922    }
12923    group { name: "elm/list/item_compress_odd/default";
12924       data.item: "stacking" "below";
12925       data.item: "selectraise" "on";
12926       images {
12927          image: "bt_sm_base1.png" COMP;
12928          image: "bt_sm_shine.png" COMP;
12929          image: "bt_sm_hilight.png" COMP;
12930          image: "ilist_2.png" COMP;
12931       }
12932       parts {
12933          part {
12934             name:           "event";
12935             type:           RECT;
12936             repeat_events: 1;
12937             description {
12938                state: "default" 0.0;
12939                color: 0 0 0 0;
12940             }
12941          }
12942          part {
12943             name: "base";
12944             mouse_events: 0;
12945             description {
12946                state: "default" 0.0;
12947                image {
12948                   normal: "ilist_2.png";
12949                   border: 2 2 2 2;
12950                }
12951                fill.smooth: 0;
12952             }
12953          }
12954          part { name: "bg";
12955             mouse_events: 0;
12956             description { state: "default" 0.0;
12957                visible: 0;
12958                color: 255 255 255 0;
12959                rel1 {
12960                   relative: 0.0 0.0;
12961                   offset: -5 -5;
12962                }
12963                rel2 {
12964                   relative: 1.0 1.0;
12965                   offset: 4 4;
12966                }
12967                image {
12968                   normal: "bt_sm_base1.png";
12969                   border: 6 6 6 6;
12970                }
12971                image.middle: SOLID;
12972             }
12973             description { state: "selected" 0.0;
12974                inherit: "default" 0.0;
12975                visible: 1;
12976                color: 255 255 255 255;
12977                rel1 {
12978                   relative: 0.0 0.0;
12979                   offset: -2 -2;
12980                }
12981                rel2 {
12982                   relative: 1.0 1.0;
12983                   offset: 1 1;
12984                }
12985             }
12986          }
12987          part { name:          "elm.swallow.icon";
12988             type:          SWALLOW;
12989             description { state:    "default" 0.0;
12990                fixed: 1 0;
12991                align:    0.0 0.5;
12992                rel1 {
12993                   relative: 0.0  0.0;
12994                   offset:   4    4;
12995                }
12996                rel2 {
12997                   relative: 0.0  1.0;
12998                   offset:   4   -5;
12999                }
13000             }
13001          }
13002          part { name:          "elm.swallow.end";
13003             type:          SWALLOW;
13004             description { state:    "default" 0.0;
13005                fixed: 1 0;
13006                align:    1.0 0.5;
13007                rel1 {
13008                   relative: 1.0  0.0;
13009                   offset:   -5    4;
13010                }
13011                rel2 {
13012                   relative: 1.0  1.0;
13013                   offset:   -5   -5;
13014                }
13015             }
13016          }
13017          part {
13018             name:           "elm.text";
13019             type:           TEXT;
13020             effect:         SOFT_SHADOW;
13021             mouse_events:   0;
13022             scale: 1;
13023             description {
13024                state: "default" 0.0;
13025 //               min:      16 16;
13026                rel1 {
13027                   to_x:     "elm.swallow.icon";
13028                   relative: 1.0  0.0;
13029                   offset:   4 4;
13030                }
13031                rel2 {
13032                   to_x:     "elm.swallow.end";
13033                   relative: 0.0  1.0;
13034                   offset:   -1 -5;
13035                }
13036                color: 0 0 0 255;
13037                color3: 0 0 0 0;
13038                text {
13039                   font: "Sans";
13040                   size: 10;
13041 //                  min: 1 1;
13042                   min: 0 1;
13043                   align: 0.0 0.5;
13044                   text_class: "list_item";
13045                }
13046             }
13047             description { state: "selected" 0.0;
13048                inherit: "default" 0.0;
13049                color: 224 224 224 255;
13050                color3: 0 0 0 64;
13051             }
13052          }
13053          part { name: "fg1";
13054             mouse_events: 0;
13055             description { state: "default" 0.0;
13056                visible: 0;
13057                color: 255 255 255 0;
13058                rel1.to: "bg";
13059                rel2.relative: 1.0 0.5;
13060                rel2.to: "bg";
13061                image {
13062                   normal: "bt_sm_hilight.png";
13063                   border: 6 6 6 0;
13064                }
13065             }
13066             description { state: "selected" 0.0;
13067                inherit: "default" 0.0;
13068                visible: 1;
13069                color: 255 255 255 255;
13070             }
13071          }
13072          part { name: "fg2";
13073             mouse_events: 0;
13074             description { state: "default" 0.0;
13075                visible: 0;
13076                color: 255 255 255 0;
13077                rel1.to: "bg";
13078                rel2.to: "bg";
13079                image {
13080                   normal: "bt_sm_shine.png";
13081                   border: 6 6 6 0;
13082                }
13083             }
13084             description { state: "selected" 0.0;
13085                inherit: "default" 0.0;
13086                visible: 1;
13087                color: 255 255 255 255;
13088             }
13089          }
13090       }
13091       programs {
13092          program {
13093             name:    "go_active";
13094             signal:  "elm,state,selected";
13095             source:  "elm";
13096             action:  STATE_SET "selected" 0.0;
13097             target:  "bg";
13098             target:  "fg1";
13099             target:  "fg2";
13100             target:  "elm.text";
13101          }
13102          program {
13103             name:    "go_passive";
13104             signal:  "elm,state,unselected";
13105             source:  "elm";
13106             action:  STATE_SET "default" 0.0;
13107             target:  "bg";
13108             target:  "fg1";
13109             target:  "fg2";
13110             target:  "elm.text";
13111             transition: LINEAR 0.1;
13112          }
13113       }
13114    }
13115
13116 ///////////////////////////////////////////////////////////////////////////////
13117    group { name: "elm/list/h_item/default";
13118       data.item: "stacking" "above";
13119       images {
13120          image: "bt_sm_base1.png" COMP;
13121          image: "bt_sm_shine.png" COMP;
13122          image: "bt_sm_hilight.png" COMP;
13123          image: "ilist_1_h.png" COMP;
13124          image: "ilist_item_shadow_h.png" COMP;
13125       }
13126       parts {
13127          part {
13128             name: "event";
13129             type: RECT;
13130             repeat_events: 1;
13131             description {
13132                state: "default" 0.0;
13133                color: 0 0 0 0;
13134             }
13135          }
13136          part {
13137             name: "base_sh";
13138             mouse_events: 0;
13139             description {
13140                state: "default" 0.0;
13141                align: 0.0 0.0;
13142                min: 10 0;
13143                fixed: 1 1;
13144                rel1 {
13145                   to: "base";
13146                   relative: 1.0 0.0;
13147                   offset: 0 0;
13148                }
13149                rel2 {
13150                   to: "base";
13151                   relative: 1.0 1.0;
13152                   offset: 0 -1;
13153                }
13154                image {
13155                   normal: "ilist_item_shadow_h.png";
13156                }
13157                fill.smooth: 0;
13158             }
13159          }
13160          part {
13161             name: "base";
13162             mouse_events: 0;
13163             description {
13164                state: "default" 0.0;
13165                image {
13166                   normal: "ilist_1_h.png";
13167                   border: 2 2 2 2;
13168                }
13169                fill.smooth: 0;
13170             }
13171          }
13172          part { name: "bg";
13173             mouse_events: 0;
13174             description { state: "default" 0.0;
13175                visible: 0;
13176                color: 255 255 255 0;
13177                rel1 {
13178                   relative: 0.0 0.0;
13179                   offset: -5 -5;
13180                }
13181                rel2 {
13182                   relative: 1.0 1.0;
13183                   offset: 4 4;
13184                }
13185                image {
13186                   normal: "bt_sm_base1.png";
13187                   border: 6 6 6 6;
13188                }
13189                image.middle: SOLID;
13190             }
13191             description { state: "selected" 0.0;
13192                inherit: "default" 0.0;
13193                visible: 1;
13194                color: 255 255 255 255;
13195                rel1 {
13196                   relative: 0.0 0.0;
13197                   offset: -2 -2;
13198                }
13199                rel2 {
13200                   relative: 1.0 1.0;
13201                   offset: 1 1;
13202                }
13203             }
13204          }
13205          part { name: "elm.swallow.icon";
13206             type: SWALLOW;
13207             description { state: "default" 0.0;
13208                fixed: 0 1;
13209                align: 0.5 0.0;
13210                rel1 {
13211                   relative: 0.0 0.0;
13212                   offset: 4 4;
13213                }
13214                rel2 {
13215                   relative: 1.0 0.0;
13216                   offset: -5 4;
13217                }
13218             }
13219          }
13220          part { name: "elm.swallow.end";
13221             type: SWALLOW;
13222             description { state: "default" 0.0;
13223                fixed: 0 1;
13224                align: 0.5 1.0;
13225                rel1 {
13226                   relative: 0.0 1.0;
13227                   offset: 4 -5;
13228                }
13229                rel2 {
13230                   relative: 1.0 1.0;
13231                   offset: -5 -5;
13232                }
13233             }
13234          }
13235          part { name: "elm.text";
13236             type: TEXT;
13237             effect: SOFT_SHADOW;
13238             mouse_events: 0;
13239             scale: 1;
13240             description {
13241                state: "default" 0.0;
13242                fixed: 0 1;
13243                rel1 {
13244                   to_x: "elm.swallow.icon";
13245                   relative: 0.0 1.0;
13246                   offset: 4 4;
13247                }
13248                rel2 {
13249                   to_x: "elm.swallow.end";
13250                   relative: 1.0 0.0;
13251                   offset: -5 -1;
13252                }
13253                color: 0 0 0 255;
13254                color3: 0 0 0 0;
13255                text {
13256                   font: "Sans";
13257                   size: 10;
13258                   min: 1 1;
13259                   align: 0.5 0.5;
13260                   text_class: "list_item";
13261                }
13262             }
13263             description { state: "selected" 0.0;
13264                inherit: "default" 0.0;
13265                color: 224 224 224 255;
13266                color3: 0 0 0 64;
13267             }
13268          }
13269          part { name: "fg1";
13270             mouse_events: 0;
13271             description { state: "default" 0.0;
13272                visible: 0;
13273                color: 255 255 255 0;
13274                rel1.to: "bg";
13275                rel2.relative: 1.0 0.5;
13276                rel2.to: "bg";
13277                image {
13278                   normal: "bt_sm_hilight.png";
13279                   border: 6 6 6 0;
13280                }
13281             }
13282             description { state: "selected" 0.0;
13283                inherit: "default" 0.0;
13284                visible: 1;
13285                color: 255 255 255 255;
13286             }
13287          }
13288          part { name: "fg2";
13289             mouse_events: 0;
13290             description { state: "default" 0.0;
13291                visible: 0;
13292                color: 255 255 255 0;
13293                rel1.to: "bg";
13294                rel2.to: "bg";
13295                image {
13296                   normal: "bt_sm_shine.png";
13297                   border: 6 6 6 0;
13298                }
13299             }
13300             description { state: "selected" 0.0;
13301                inherit: "default" 0.0;
13302                visible: 1;
13303                color: 255 255 255 255;
13304             }
13305          }
13306       }
13307       programs {
13308          program {
13309             name: "go_active";
13310             signal: "elm,state,selected";
13311             source: "elm";
13312             action: STATE_SET "selected" 0.0;
13313             target: "bg";
13314             target: "fg1";
13315             target: "fg2";
13316             target: "elm.text";
13317          }
13318          program {
13319             name: "go_passive";
13320             signal: "elm,state,unselected";
13321             source: "elm";
13322             action: STATE_SET "default" 0.0;
13323             target: "bg";
13324             target: "fg1";
13325             target: "fg2";
13326             target: "elm.text";
13327             transition: LINEAR 0.1;
13328          }
13329       }
13330    }
13331    group { name: "elm/list/h_item_odd/default";
13332       data.item: "stacking" "below";
13333       data.item: "selectraise" "on";
13334       images {
13335          image: "bt_sm_base1.png" COMP;
13336          image: "bt_sm_shine.png" COMP;
13337          image: "bt_sm_hilight.png" COMP;
13338          image: "ilist_2_h.png" COMP;
13339       }
13340       parts {
13341          part {
13342             name: "event";
13343             type: RECT;
13344             repeat_events: 1;
13345             description {
13346                state: "default" 0.0;
13347                color: 0 0 0 0;
13348             }
13349          }
13350          part {
13351             name: "base";
13352             mouse_events: 0;
13353             description {
13354                state: "default" 0.0;
13355                image {
13356                   normal: "ilist_2_h.png";
13357                   border: 2 2 2 2;
13358                }
13359                fill.smooth: 0;
13360             }
13361          }
13362          part { name: "bg";
13363             mouse_events: 0;
13364             description { state: "default" 0.0;
13365                visible: 0;
13366                color: 255 255 255 0;
13367                rel1 {
13368                   relative: 0.0 0.0;
13369                   offset: -5 -5;
13370                }
13371                rel2 {
13372                   relative: 1.0 1.0;
13373                   offset: 4 4;
13374                }
13375                image {
13376                   normal: "bt_sm_base1.png";
13377                   border: 6 6 6 6;
13378                }
13379                image.middle: SOLID;
13380             }
13381             description { state: "selected" 0.0;
13382                inherit: "default" 0.0;
13383                visible: 1;
13384                color: 255 255 255 255;
13385                rel1 {
13386                   relative: 0.0 0.0;
13387                   offset: -2 -2;
13388                }
13389                rel2 {
13390                   relative: 1.0 1.0;
13391                   offset: 1 1;
13392                }
13393             }
13394          }
13395          part {
13396             name: "elm.swallow.icon";
13397             type: SWALLOW;
13398             description { state: "default" 0.0;
13399                fixed: 0 1;
13400                align: 0.5 0.0;
13401                rel1 {
13402                   relative: 0.0 0.0;
13403                   offset: 4 4;
13404                }
13405                rel2 {
13406                   relative: 1.0 0.0;
13407                   offset: -5 4;
13408                }
13409             }
13410          }
13411          part {
13412             name: "elm.swallow.end";
13413             type: SWALLOW;
13414             description { state: "default" 0.0;
13415                fixed: 0 1;
13416                align: 0.5 1.0;
13417                rel1 {
13418                   relative: 0.0 1.0;
13419                   offset: 4 -5;
13420                }
13421                rel2 {
13422                   relative: 1.0 1.0;
13423                   offset: -5 -5;
13424                }
13425             }
13426          }
13427          part { name: "elm.text";
13428             type: TEXT;
13429             effect: SOFT_SHADOW;
13430             mouse_events: 0;
13431             scale: 1;
13432             description {
13433                state: "default" 0.0;
13434                fixed: 1 1;
13435                rel1 {
13436                   to_x: "elm.swallow.icon";
13437                   relative: 0.0 1.0;
13438                   offset: 4 4;
13439                }
13440                rel2 {
13441                   to_x: "elm.swallow.end";
13442                   relative: 1.0 0.0;
13443                   offset: -5 -1;
13444                }
13445                color: 0 0 0 255;
13446                color3: 0 0 0 0;
13447                text {
13448                   font: "Sans";
13449                   size: 10;
13450                   min: 1 1;
13451                   align: 0.5 0.5;
13452                   text_class: "list_item";
13453                }
13454             }
13455             description { state: "selected" 0.0;
13456                inherit: "default" 0.0;
13457                color: 224 224 224 255;
13458                color3: 0 0 0 64;
13459             }
13460          }
13461          part { name: "fg1";
13462             mouse_events: 0;
13463             description { state: "default" 0.0;
13464                visible: 0;
13465                color: 255 255 255 0;
13466                rel1.to: "bg";
13467                rel2.relative: 1.0 0.5;
13468                rel2.to: "bg";
13469                image {
13470                   normal: "bt_sm_hilight.png";
13471                   border: 6 6 6 0;
13472                }
13473             }
13474             description { state: "selected" 0.0;
13475                inherit: "default" 0.0;
13476                visible: 1;
13477                color: 255 255 255 255;
13478             }
13479          }
13480          part { name: "fg2";
13481             mouse_events: 0;
13482             description { state: "default" 0.0;
13483                visible: 0;
13484                color: 255 255 255 0;
13485                rel1.to: "bg";
13486                rel2.to: "bg";
13487                image {
13488                   normal: "bt_sm_shine.png";
13489                   border: 6 6 6 0;
13490                }
13491             }
13492             description { state: "selected" 0.0;
13493                inherit: "default" 0.0;
13494                visible: 1;
13495                color: 255 255 255 255;
13496             }
13497          }
13498       }
13499       programs {
13500          program {
13501             name: "go_active";
13502             signal: "elm,state,selected";
13503             source: "elm";
13504             action: STATE_SET "selected" 0.0;
13505             target: "bg";
13506             target: "fg1";
13507             target: "fg2";
13508             target: "elm.text";
13509          }
13510          program {
13511             name: "go_passive";
13512             signal: "elm,state,unselected";
13513             source: "elm";
13514             action: STATE_SET "default" 0.0;
13515             target: "bg";
13516             target: "fg1";
13517             target: "fg2";
13518             target: "elm.text";
13519             transition: LINEAR 0.1;
13520          }
13521       }
13522    }
13523    group { name: "elm/list/h_item_compress/default";
13524       data.item: "stacking" "above";
13525       data.item: "selectraise" "on";
13526       images {
13527          image: "bt_sm_base1.png" COMP;
13528          image: "bt_sm_shine.png" COMP;
13529          image: "bt_sm_hilight.png" COMP;
13530          image: "ilist_1_h.png" COMP;
13531          image: "ilist_item_shadow_h.png" COMP;
13532       }
13533       parts {
13534          part {
13535             name: "event";
13536             type: RECT;
13537             repeat_events: 1;
13538             description {
13539                state: "default" 0.0;
13540                color: 0 0 0 0;
13541             }
13542          }
13543          part {
13544             name: "base_sh";
13545             mouse_events: 0;
13546             description { state: "default" 0.0;
13547                fixed: 1 1;
13548                align: 0.0 0.0;
13549                min: 10 0;
13550                rel1 {
13551                   to: "base";
13552                   relative: 1.0 0.0;
13553                   offset: 0 0;
13554                }
13555                rel2 {
13556                   to: "base";
13557                   relative: 1.0 1.0;
13558                   offset: 0 -1;
13559                }
13560                image {
13561                   normal: "ilist_item_shadow_h.png";
13562                }
13563                fill.smooth: 0;
13564             }
13565          }
13566          part {
13567             name: "base";
13568             mouse_events: 0;
13569             description {
13570                state: "default" 0.0;
13571                image {
13572                   normal: "ilist_1_h.png";
13573                   border: 2 2 2 2;
13574                }
13575                fill.smooth: 0;
13576             }
13577          }
13578          part { name: "bg";
13579             mouse_events: 0;
13580             description { state: "default" 0.0;
13581                visible: 0;
13582                color: 255 255 255 0;
13583                rel1 {
13584                   relative: 0.0 0.0;
13585                   offset: -5 -5;
13586                }
13587                rel2 {
13588                   relative: 1.0 1.0;
13589                   offset: 4 4;
13590                }
13591                image {
13592                   normal: "bt_sm_base1.png";
13593                   border: 6 6 6 6;
13594                }
13595                image.middle: SOLID;
13596             }
13597             description { state: "selected" 0.0;
13598                inherit: "default" 0.0;
13599                visible: 1;
13600                color: 255 255 255 255;
13601                rel1 {
13602                   relative: 0.0 0.0;
13603                   offset: -2 -2;
13604                }
13605                rel2 {
13606                   relative: 1.0 1.0;
13607                   offset: 1 1;
13608                }
13609             }
13610          }
13611          part { name: "elm.swallow.icon";
13612             type: SWALLOW;
13613             description { state: "default" 0.0;
13614                fixed: 0 1;
13615                align: 0.5 0.0;
13616                rel1 {
13617                   relative: 0.0 0.0;
13618                   offset: 4 4;
13619                }
13620                rel2 {
13621                   relative: 1.0 0.0;
13622                   offset: -5 4;
13623                }
13624             }
13625          }
13626          part { name: "elm.swallow.end";
13627             type: SWALLOW;
13628             description { state: "default" 0.0;
13629                fixed: 0 1;
13630                align: 0.5 1.0;
13631                rel1 {
13632                   relative: 0.0 1.0;
13633                   offset: 4 -5;
13634                }
13635                rel2 {
13636                   relative: 1.0 1.0;
13637                   offset: -5 -5;
13638                }
13639             }
13640          }
13641          part {
13642             name: "elm.text";
13643             type: TEXT;
13644             effect: SOFT_SHADOW;
13645             mouse_events: 0;
13646             scale: 1;
13647             description { state: "default" 0.0;
13648                fixed: 1 1;
13649                rel1 {
13650                   to_x: "elm.swallow.icon";
13651                   relative: 0.0 1.0;
13652                   offset: 4 4;
13653                }
13654                rel2 {
13655                   to_x: "elm.swallow.end";
13656                   relative: 1.0 0.0;
13657                   offset: -5 -1;
13658                }
13659                color: 0 0 0 255;
13660                color3: 0 0 0 0;
13661                text {
13662                   font: "Sans";
13663                   size: 10;
13664                   min: 1 1;
13665                   align: 0.5 0.5;
13666                   text_class: "list_item";
13667                }
13668             }
13669             description { state: "selected" 0.0;
13670                inherit: "default" 0.0;
13671                color: 224 224 224 255;
13672                color3: 0 0 0 64;
13673             }
13674          }
13675          part { name: "fg1";
13676             mouse_events: 0;
13677             description { state: "default" 0.0;
13678                visible: 0;
13679                color: 255 255 255 0;
13680                rel1.to: "bg";
13681                rel2.relative: 1.0 0.5;
13682                rel2.to: "bg";
13683                image {
13684                   normal: "bt_sm_hilight.png";
13685                   border: 6 6 6 0;
13686                }
13687             }
13688             description { state: "selected" 0.0;
13689                inherit: "default" 0.0;
13690                visible: 1;
13691                color: 255 255 255 255;
13692             }
13693          }
13694          part { name: "fg2";
13695             mouse_events: 0;
13696             description { state: "default" 0.0;
13697                visible: 0;
13698                color: 255 255 255 0;
13699                rel1.to: "bg";
13700                rel2.to: "bg";
13701                image {
13702                   normal: "bt_sm_shine.png";
13703                   border: 6 6 6 0;
13704                }
13705             }
13706             description { state: "selected" 0.0;
13707                inherit: "default" 0.0;
13708                visible: 1;
13709                color: 255 255 255 255;
13710             }
13711          }
13712       }
13713       programs {
13714          program {
13715             name: "go_active";
13716             signal: "elm,state,selected";
13717             source: "elm";
13718             action: STATE_SET "selected" 0.0;
13719             target: "bg";
13720             target: "fg1";
13721             target: "fg2";
13722             target: "elm.text";
13723          }
13724          program {
13725             name: "go_passive";
13726             signal: "elm,state,unselected";
13727             source: "elm";
13728             action: STATE_SET "default" 0.0;
13729             target: "bg";
13730             target: "fg1";
13731             target: "fg2";
13732             target: "elm.text";
13733             transition: LINEAR 0.1;
13734          }
13735       }
13736    }
13737    group { name: "elm/list/h_item_compress_odd/default";
13738       data.item: "stacking" "below";
13739       data.item: "selectraise" "on";
13740       images {
13741          image: "bt_sm_base1.png" COMP;
13742          image: "bt_sm_shine.png" COMP;
13743          image: "bt_sm_hilight.png" COMP;
13744          image: "ilist_2_h.png" COMP;
13745       }
13746       parts {
13747          part {
13748             name: "event";
13749             type: RECT;
13750             repeat_events: 1;
13751             description {
13752                state: "default" 0.0;
13753                color: 0 0 0 0;
13754             }
13755          }
13756          part {
13757             name: "base";
13758             mouse_events: 0;
13759             description {
13760                state: "default" 0.0;
13761                image {
13762                   normal: "ilist_2_h.png";
13763                   border: 2 2 2 2;
13764                }
13765                fill.smooth: 0;
13766             }
13767          }
13768          part { name: "bg";
13769             mouse_events: 0;
13770             description { state: "default" 0.0;
13771                visible: 0;
13772                color: 255 255 255 0;
13773                rel1 {
13774                   relative: 0.0 0.0;
13775                   offset: -5 -5;
13776                }
13777                rel2 {
13778                   relative: 1.0 1.0;
13779                   offset: 4 4;
13780                }
13781                image {
13782                   normal: "bt_sm_base1.png";
13783                   border: 6 6 6 6;
13784                }
13785                image.middle: SOLID;
13786             }
13787             description { state: "selected" 0.0;
13788                inherit: "default" 0.0;
13789                visible: 1;
13790                color: 255 255 255 255;
13791                rel1 {
13792                   relative: 0.0 0.0;
13793                   offset: -2 -2;
13794                }
13795                rel2 {
13796                   relative: 1.0 1.0;
13797                   offset: 1 1;
13798                }
13799             }
13800          }
13801          part { name: "elm.swallow.icon";
13802             type: SWALLOW;
13803             description { state: "default" 0.0;
13804                fixed: 0 1;
13805                align: 0.5 0.0;
13806                rel1 {
13807                   relative: 0.0 0.0;
13808                   offset: 4 4;
13809                }
13810                rel2 {
13811                   relative: 1.0 0.0;
13812                   offset: -5 4;
13813                }
13814             }
13815          }
13816          part { name: "elm.swallow.end";
13817             type: SWALLOW;
13818             description { state: "default" 0.0;
13819                fixed: 0 1;
13820                align: 0.5 1.0;
13821                rel1 {
13822                   relative: 0.0 1.0;
13823                   offset: 4 -5;
13824                }
13825                rel2 {
13826                   relative: 1.0 1.0;
13827                   offset: -5 -5;
13828                }
13829             }
13830          }
13831          part { name: "elm.text";
13832             type: TEXT;
13833             effect: SOFT_SHADOW;
13834             mouse_events: 0;
13835             scale: 1;
13836             description {
13837                state: "default" 0.0;
13838                fixed: 1 1;
13839                rel1 {
13840                   to_x: "elm.swallow.icon";
13841                   relative: 0.0 1.0;
13842                   offset: 4 4;
13843                }
13844                rel2 {
13845                   to_x: "elm.swallow.end";
13846                   relative: 1.0 0.0;
13847                   offset: -5 -1;
13848                }
13849                color: 0 0 0 255;
13850                color3: 0 0 0 0;
13851                text {
13852                   font: "Sans";
13853                   size: 10;
13854                   min: 1 1;
13855                   align: 0.5 0.5;
13856                   text_class: "list_item";
13857                }
13858             }
13859             description { state: "selected" 0.0;
13860                inherit: "default" 0.0;
13861                color: 224 224 224 255;
13862                color3: 0 0 0 64;
13863             }
13864          }
13865          part { name: "fg1";
13866             mouse_events: 0;
13867             description { state: "default" 0.0;
13868                visible: 0;
13869                color: 255 255 255 0;
13870                rel1.to: "bg";
13871                rel2.relative: 1.0 0.5;
13872                rel2.to: "bg";
13873                image {
13874                   normal: "bt_sm_hilight.png";
13875                   border: 6 6 6 0;
13876                }
13877             }
13878             description { state: "selected" 0.0;
13879                inherit: "default" 0.0;
13880                visible: 1;
13881                color: 255 255 255 255;
13882             }
13883          }
13884          part { name: "fg2";
13885             mouse_events: 0;
13886             description { state: "default" 0.0;
13887                visible: 0;
13888                color: 255 255 255 0;
13889                rel1.to: "bg";
13890                rel2.to: "bg";
13891                image {
13892                   normal: "bt_sm_shine.png";
13893                   border: 6 6 6 0;
13894                }
13895             }
13896             description { state: "selected" 0.0;
13897                inherit: "default" 0.0;
13898                visible: 1;
13899                color: 255 255 255 255;
13900             }
13901          }
13902       }
13903       programs {
13904          program {
13905             name: "go_active";
13906             signal: "elm,state,selected";
13907             source: "elm";
13908             action: STATE_SET "selected" 0.0;
13909             target: "bg";
13910             target: "fg1";
13911             target: "fg2";
13912             target: "elm.text";
13913          }
13914          program {
13915             name: "go_passive";
13916             signal: "elm,state,unselected";
13917             source: "elm";
13918             action: STATE_SET "default" 0.0;
13919             target: "bg";
13920             target: "fg1";
13921             target: "fg2";
13922             target: "elm.text";
13923             transition: LINEAR 0.1;
13924          }
13925       }
13926    }
13927
13928 ///////////////////////////////////////////////////////////////////////////////
13929    group { name: "elm/slider/horizontal/default";
13930            alias: "elm/slider/horizontal/disabled";
13931       images {
13932          image: "sl_bg.png" COMP;
13933          image: "sl_bg_over.png" COMP;
13934
13935          image: "sl_units.png" COMP;
13936       }
13937       parts {
13938          part { name: "base";
13939             mouse_events: 0;
13940             description { state: "default" 0.0;
13941                max: 99999 6;
13942                min: 0 6;
13943                rel1 { to: "bg";
13944                   offset: 1 0;
13945                }
13946                rel2 { to: "bg";
13947                   offset: -2 -1;
13948                }
13949                image.normal: "sl_bg.png";
13950                fill.smooth: 0;
13951             }
13952          }
13953          part { name: "level";
13954             type: RECT;
13955             mouse_events: 0;
13956             description { state: "default" 0.0;
13957                fixed: 1 1;
13958                rel1.to: "base";
13959                rel2 {
13960                   to_y: "base";
13961                   to_x: "elm.dragable.slider";
13962                   relative: 0.5 1.0;
13963                }
13964                color: 255 0 0 200;
13965             }
13966             description { state: "inverted" 0.0;
13967                inherit: "default" 0.0;
13968                visible: 0;
13969             }
13970             description { state: "disabled" 0.0;
13971                inherit: "default" 0.0;
13972                color: 255 0 0 100;
13973             }
13974             description { state: "disabled_inverted" 0.0;
13975                inherit: "default" 0.0;
13976                visible: 0;
13977             }
13978          }
13979          part { name: "level2";
13980             type: RECT;
13981             mouse_events: 0;
13982             description { state: "default" 0.0;
13983                fixed: 1 1;
13984                visible: 0;
13985                rel1 {
13986                   to_y: "base";
13987                   to_x: "elm.dragable.slider";
13988                   relative: 0.5 0.0;
13989                }
13990                rel2.to: "base";
13991                color: 255 0 0 200;
13992             }
13993             description { state: "inverted" 0.0;
13994                inherit: "default" 0.0;
13995                visible: 1;
13996             }
13997             description { state: "disabled" 0.0;
13998                inherit: "default" 0.0;
13999             }
14000             description { state: "disabled_inverted" 0.0;
14001                inherit: "default" 0.0;
14002                color: 255 0 0 100;
14003                visible: 1;
14004             }
14005          }
14006          part {
14007             name: "base_over";
14008             mouse_events: 0;
14009             description { state: "default" 0.0;
14010                rel1.to: "base";
14011                rel1.offset: -1 -1;
14012                rel2.to: "base";
14013                rel2.offset: 0 0;
14014                image {
14015                   normal: "sl_bg_over.png";
14016                   border: 3 3 3 3;
14017                }
14018                fill.smooth: 0;
14019             }
14020          }
14021          part { name: "bg";
14022             type: RECT;
14023             mouse_events: 0;
14024             scale: 1;
14025             description { state: "default" 0.0;
14026                visible: 0;
14027                rel1.to: "elm.swallow.bar";
14028                rel2.to: "elm.swallow.bar";
14029                color: 0 0 0 0;
14030             }
14031          }
14032          part { name: "elm.swallow.bar";
14033             type: SWALLOW;
14034             scale: 1;
14035             description { state: "default" 0.0;
14036                min: 48 24;
14037                max: 99999 24;
14038                align: 1.0 0.5;
14039                rel1 {
14040                   to_x: "elm.text";
14041                   relative: 1.0 0.0;
14042                   offset: 8 0;
14043                }
14044                rel2 {
14045                   to_x: "elm.units";
14046                   relative: 0.0 1.0;
14047                   offset: -10 -1;
14048                }
14049             }
14050          }
14051          part { name: "elm.swallow.icon";
14052             type: SWALLOW;
14053             description { state: "default" 0.0;
14054                visible: 0;
14055                align: 0.0 0.5;
14056                rel1 {
14057                   offset: 4 0;
14058                   to_y: "elm.swallow.bar";
14059                }
14060                rel2 {
14061                   offset: 3 -1;
14062                   relative: 0.0 1.0;
14063                   to_y: "elm.swallow.bar";
14064                }
14065             }
14066             description { state: "visible" 0.0;
14067                inherit: "default" 0.0;
14068                visible: 1;
14069                aspect: 1.0 1.0;
14070                aspect_preference: VERTICAL;
14071                rel2.offset: 4 -1;
14072             }
14073          }
14074          part { name: "elm.text";
14075             type: TEXT;
14076             mouse_events: 0;
14077             scale: 1;
14078             description { state: "default" 0.0;
14079                visible: 0;
14080                fixed: 1 1;
14081                align: 0.0 0.5;
14082                rel1.to_x: "elm.swallow.icon";
14083                rel1.relative: 1.0 0.0;
14084                rel1.offset: -1 4;
14085                rel2.to_x: "elm.swallow.icon";
14086                rel2.relative: 1.0 1.0;
14087                rel2.offset: -1 -5;
14088                color: 0 0 0 255;
14089                text {
14090                   font: "Sans,Edje-Vera";
14091                   size: 10;
14092                   min: 0 0;
14093                   align: 0.0 0.5;
14094                }
14095             }
14096             description { state: "visible" 0.0;
14097                inherit: "default" 0.0;
14098                visible: 1;
14099                text.min: 1 1;
14100                rel1.offset: 0 4;
14101                rel2.offset: 0 -5;
14102             }
14103             description { state: "disabled" 0.0;
14104                inherit: "default" 0.0;
14105                color: 255 128 128 128;
14106                visible: 0;
14107             }
14108             description { state: "disabled_visible" 0.0;
14109                inherit: "default" 0.0;
14110                color: 0 0 0 128;
14111                color3: 0 0 0 0;
14112                visible: 1;
14113                text.min: 1 1;
14114             }
14115          }
14116          part {
14117             name: "elm.swallow.end";
14118             type: SWALLOW;
14119             description {
14120                state: "default" 0.0;
14121                visible: 0;
14122                align: 1.0 0.5;
14123                rel1 {
14124                   offset: -4 0;
14125                   relative: 1.0 0.0;
14126                   to_y: "elm.swallow.bar";
14127                }
14128                rel2 {
14129                   offset: -3 -1;
14130                   to_y: "elm.swallow.bar";
14131                }
14132             }
14133             description { state: "visible" 0.0;
14134                inherit: "default" 0.0;
14135                visible: 1;
14136                aspect: 1.0 1.0;
14137                aspect_preference: VERTICAL;
14138                rel2.offset: -4 -1;
14139             }
14140          }
14141          part { name: "units";
14142             mouse_events: 0;
14143             description { state: "default" 0.0;
14144                visible: 0;
14145                rel1 {
14146                   to_x: "elm.units";
14147                   offset: 0 5;
14148                }
14149                rel2 {
14150                   to_x: "elm.units";
14151                   offset: 5 -3;
14152                }
14153                image {
14154                   normal: "sl_units.png";
14155                   border: 0 5 3 8;
14156                }
14157                fill.smooth: 0;
14158             }
14159             description { state: "visible" 0.0;
14160                inherit: "default" 0.0;
14161                visible: 1;
14162             }
14163          }
14164          part { name: "elm.units";
14165             type: TEXT;
14166             mouse_events: 0;
14167             scale: 1;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                fixed: 1 1;
14171                align: 1.0 0.5;
14172                rel1.to_x: "elm.swallow.end";
14173                rel1.relative: 0.0 0.0;
14174                rel1.offset: 0 8;
14175                rel2.to_x: "elm.swallow.end";
14176                rel2.relative: 0.0 1.0;
14177                rel2.offset: 0 -9;
14178                color: 0 0 0 255;
14179                text {
14180                   font: "Sans,Edje-Vera";
14181                   size: 10;
14182                   min: 0 0;
14183                   align: 0.0 0.5;
14184                }
14185             }
14186             description { state: "visible" 0.0;
14187                inherit: "default" 0.0;
14188                fixed: 1 1;
14189                visible: 1;
14190                text.min: 1 1;
14191                rel1.offset: -5 0;
14192                rel2.offset: -5 -1;
14193             }
14194             description { state: "disabled" 0.0;
14195                inherit: "default" 0.0;
14196                color: 255 128 128 128;
14197                visible: 0;
14198             }
14199             description { state: "disabled_visible" 0.0;
14200                inherit: "default" 0.0;
14201                color: 0 0 0 128;
14202                color3: 0 0 0 0;
14203                visible: 1;
14204                text.min: 1 1;
14205             }
14206          }
14207          part { name: "elm.dragable.slider";
14208             type: GROUP;
14209             source: "elm/slider/horizontal/indicator/default";
14210             mouse_events: 1;
14211             repeat_events: 1;
14212             scale: 1;
14213             dragable {
14214                x: 1 1 0;
14215                y: 0 0 0;
14216                confine: "bg";
14217             }
14218             description { state: "default" 0.0;
14219                min: 0 24;
14220                max: 0 24;
14221                fixed: 1 1;
14222                rel1 {
14223                   relative: 0.5 0.0;
14224                   to_x: "bg";
14225                }
14226                rel2 {
14227                   relative: 0.5 1.0;
14228                   to_x: "bg";
14229                }
14230                color: 255 0 0 100;
14231             }
14232          }
14233           part { name: "disabler";
14234             type: RECT;
14235             description { state: "default" 0.0;
14236                color: 0 0 0 0;
14237                visible: 0;
14238             }
14239             description { state: "disabled" 0.0;
14240                inherit: "default" 0.0;
14241                visible: 1;
14242             }
14243          }
14244       }
14245       programs {
14246          program { name: "text_show";
14247             signal: "elm,state,text,visible";
14248             source: "elm";
14249             action:  STATE_SET "visible" 0.0;
14250             target: "elm.text";
14251          }
14252          program { name: "text_hide";
14253             signal: "elm,state,text,hidden";
14254             source: "elm";
14255             action:  STATE_SET "default" 0.0;
14256             target: "elm.text";
14257          }
14258          program { name: "icon_show";
14259             signal: "elm,state,icon,visible";
14260             source: "elm";
14261             action:  STATE_SET "visible" 0.0;
14262             target: "elm.swallow.icon";
14263          }
14264          program { name: "icon_hide";
14265             signal: "elm,state,icon,hidden";
14266             source: "elm";
14267             action:  STATE_SET "default" 0.0;
14268             target: "elm.swallow.icon";
14269          }
14270           program { name: "end_show";
14271             signal: "elm,state,end,visible";
14272             source: "elm";
14273             action:  STATE_SET "visible" 0.0;
14274             target: "elm.swallow.end";
14275          }
14276          program { name: "end_hide";
14277             signal: "elm,state,end,hidden";
14278             source: "elm";
14279             action:  STATE_SET "default" 0.0;
14280             target: "elm.swallow.end";
14281          }
14282          program { name: "units_show";
14283             signal: "elm,state,units,visible";
14284             source: "elm";
14285             action:  STATE_SET "visible" 0.0;
14286             target: "elm.units";
14287             target: "units";
14288          }
14289          program { name: "units_hide";
14290             signal: "elm,state,units,hidden";
14291             source: "elm";
14292             action:  STATE_SET "default" 0.0;
14293             target: "elm.units";
14294             target: "units";
14295          }
14296          program { name: "invert_on";
14297             signal: "elm,state,inverted,on";
14298             source: "elm";
14299             action:  STATE_SET "inverted" 0.0;
14300             target: "level";
14301             target: "level2";
14302          }
14303          program { name: "invert_off";
14304             signal: "elm,state,inverted,off";
14305             source: "elm";
14306             action:  STATE_SET "default" 0.0;
14307             target: "level";
14308             target: "level2";
14309          }
14310          program {
14311             name:    "go_disabled";
14312             signal:  "elm,state,disabled";
14313             source:  "elm";
14314             action:  STATE_SET "disabled" 0.0;
14315 //            target: "button0";
14316             target: "disabler";
14317             after: "disable_text";
14318             after: "disable_ind";
14319          }
14320
14321          program { name: "disable_ind";
14322             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14323          }
14324          program { name: "disable_text";
14325             script {
14326                new st[31];
14327                new Float:vl;
14328                get_state(PART:"elm.text", st, 30, vl);
14329                if (!strcmp(st, "visible"))
14330                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14331                else
14332                   set_state(PART:"elm.text", "disabled", 0.0);
14333
14334                get_state(PART:"elm.units", st, 30, vl);
14335                if (!strcmp(st, "visible"))
14336                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14337                else
14338                   set_state(PART:"elm.units", "disabled", 0.0);
14339
14340                get_state(PART:"level2", st, 30, vl);
14341                if (!strcmp(st, "inverted"))
14342                {
14343                   set_state(PART:"level", "disabled_inverted", 0.0);
14344                   set_state(PART:"level2", "disabled_inverted", 0.0);
14345                }
14346                else
14347                {
14348                   set_state(PART:"level", "disabled", 0.0);
14349                   set_state(PART:"level2", "disabled", 0.0);
14350                }
14351             }
14352          }
14353          program { name: "enable";
14354             signal: "elm,state,enabled";
14355             source: "elm";
14356             action: STATE_SET "default" 0.0;
14357 //            target: "button0";
14358             target: "disabler";
14359             after: "enable_text";
14360             after: "enable_ind";
14361          }
14362
14363          program { name: "enable_ind";
14364             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14365          }
14366
14367          program { name: "enable_text";
14368             script {
14369                new st[31];
14370                new Float:vl;
14371                get_state(PART:"elm.text", st, 30, vl);
14372                if (!strcmp(st, "disabled_visible"))
14373                   set_state(PART:"elm.text", "visible", 0.0);
14374                else
14375                   set_state(PART:"elm.text", "default", 0.0);
14376
14377                get_state(PART:"elm.units", st, 30, vl);
14378                if (!strcmp(st, "disabled_visible"))
14379                   set_state(PART:"elm.units", "visible", 0.0);
14380                else
14381                   set_state(PART:"elm.units", "default", 0.0);
14382
14383                get_state(PART:"level2", st, 30, vl);
14384                if (!strcmp(st, "disabled_inverted"))
14385                {
14386                   set_state(PART:"level", "inverted", 0.0);
14387                   set_state(PART:"level2", "inverted", 0.0);
14388                }
14389                else
14390                {
14391                   set_state(PART:"level", "default", 0.0);
14392                   set_state(PART:"level2", "default", 0.0);
14393                }
14394             }
14395          }
14396       }
14397    }
14398
14399    group { name: "elm/slider/vertical/default";
14400       images {
14401          image: "slv_bg.png" COMP;
14402          image: "slv_bg_over.png" COMP;
14403
14404          image: "slv_units.png" COMP;
14405       }
14406       parts {
14407          part { name: "base";
14408             mouse_events: 0;
14409             description { state: "default" 0.0;
14410                max: 6 99999;
14411                min: 6 0;
14412                rel1 { to: "bg";
14413                   offset: 1 0;
14414                }
14415                rel2 { to: "bg";
14416                   offset: -2 -1;
14417                }
14418                image.normal: "slv_bg.png";
14419                fill.smooth: 0;
14420             }
14421          }
14422          part { name: "level";
14423             type: RECT;
14424             mouse_events: 0;
14425             description { state: "default" 0.0;
14426                fixed: 1 1;
14427                rel1.to: "base";
14428                rel2 {
14429                   to_x: "base";
14430                   to_y: "elm.dragable.slider";
14431                   relative: 1.0 0.5;
14432                }
14433                color: 255 0 0 200;
14434             }
14435             description { state: "inverted" 0.0;
14436                inherit: "default" 0.0;
14437                visible: 0;
14438             }
14439             description { state: "disabled" 0.0;
14440                inherit: "default" 0.0;
14441                color: 255 0 0 100;
14442             }
14443             description { state: "disabled_inverted" 0.0;
14444                inherit: "default" 0.0;
14445                visible: 0;
14446             }
14447          }
14448          part { name: "level2";
14449             type: RECT;
14450             mouse_events: 0;
14451             description { state: "default" 0.0;
14452                fixed: 1 1;
14453                visible: 0;
14454                rel1 {
14455                   to_x: "base";
14456                   to_y: "elm.dragable.slider";
14457                   relative: 0.0 0.5;
14458                }
14459                rel2.to: "base";
14460                color: 255 0 0 200;
14461             }
14462             description { state: "inverted" 0.0;
14463                inherit: "default" 0.0;
14464                visible: 1;
14465             }
14466             description { state: "disabled" 0.0;
14467                inherit: "default" 0.0;
14468                color: 255 0 0 100;
14469             }
14470             description { state: "disabled_inverted" 0.0;
14471                inherit: "default" 0.0;
14472                color: 255 0 0 100;
14473                visible: 1;
14474             }
14475          }
14476          part {
14477             name: "base_over";
14478             mouse_events: 0;
14479             description { state: "default" 0.0;
14480                rel1.to: "base";
14481                rel1.offset: -1 -1;
14482                rel2.to: "base";
14483                rel2.offset: 0 0;
14484                image {
14485                   normal: "slv_bg_over.png";
14486                   border: 3 3 3 3;
14487                }
14488                fill.smooth: 0;
14489             }
14490          }
14491          part { name: "bg";
14492             type: RECT;
14493             mouse_events: 0;
14494             scale: 1;
14495             description { state: "default" 0.0;
14496                visible: 0;
14497                rel1.to: "elm.swallow.bar";
14498                rel2.to: "elm.swallow.bar";
14499                color: 0 0 0 0;
14500             }
14501          }
14502          part { name: "elm.swallow.bar";
14503             type: SWALLOW;
14504             scale: 1;
14505             description { state: "default" 0.0;
14506                min: 24 48;
14507                max: 24 9999;
14508                align: 0.5 1.0;
14509                rel1 {
14510                   to_y: "elm.text";
14511                   relative: 0.0 1.0;
14512                   offset: 0 10;
14513                }
14514                rel2 {
14515                   to_y: "elm.units";
14516                   relative: 1.0 0.0;
14517                   offset: -1 -8;
14518                }
14519             }
14520          }
14521          part { name: "elm.swallow.icon";
14522             type: SWALLOW;
14523             description { state: "default" 0.0;
14524                visible: 0;
14525                align: 0.5 0.0;
14526                rel1 {
14527                   offset: 0 4;
14528                   to_x: "elm.swallow.bar";
14529                }
14530                rel2 {
14531                   offset: -1 3;
14532                   relative: 1.0 0.0;
14533                   to_x: "elm.swallow.bar";
14534                }
14535             }
14536             description { state: "visible" 0.0;
14537                inherit: "default" 0.0;
14538                visible: 1;
14539                aspect: 1.0 1.0;
14540                aspect_preference: HORIZONTAL;
14541                rel2.offset: -1 4;
14542             }
14543          }
14544          part { name: "elm.text";
14545             type: TEXT;
14546             mouse_events: 0;
14547             scale: 1;
14548             description { state: "default" 0.0;
14549                visible: 0;
14550                fixed: 0 1;
14551                align: 0.5 0.0;
14552                rel1.to_y: "elm.swallow.icon";
14553                rel1.relative: 0.0 1.0;
14554                rel1.offset: 0 -1;
14555                rel2.to_y: "elm.swallow.icon";
14556                rel2.relative: 1.0 1.0;
14557                rel2.offset: -1 -1;
14558                color: 0 0 0 255;
14559                text {
14560                   font: "Sans,Edje-Vera";
14561                   size: 10;
14562                   min: 0 0;
14563                   align: 0.5 0.0;
14564                }
14565             }
14566             description { state: "visible" 0.0;
14567                inherit: "default" 0.0;
14568                visible: 1;
14569                text.min: 1 1;
14570                rel1.offset: 4 0;
14571                rel2.offset: -5 0;
14572             }
14573             description { state: "disabled" 0.0;
14574                inherit: "default" 0.0;
14575                color: 255 128 128 128;
14576                visible: 0;
14577             }
14578             description { state: "disabled_visible" 0.0;
14579                inherit: "default" 0.0;
14580                color: 0 0 0 128;
14581                color3: 0 0 0 0;
14582                visible: 1;
14583                text.min: 1 1;
14584             }
14585          }
14586          part {
14587             name: "elm.swallow.end";
14588             type: SWALLOW;
14589             description {
14590                state: "default" 0.0;
14591                visible: 0;
14592                align: 0.5 1.0;
14593                rel1 {
14594                   offset: 0 -4;
14595                   relative: 0.0 1.0;
14596                   to_x: "elm.swallow.bar";
14597                }
14598                rel2 {
14599                   offset: -1 -3;
14600                   to_x: "elm.swallow.bar";
14601                }
14602             }
14603             description { state: "visible" 0.0;
14604                inherit: "default" 0.0;
14605                visible: 1;
14606                aspect: 1.0 1.0;
14607                aspect_preference: HORIZONTAL;
14608                rel2.offset: -1 -4;
14609             }
14610          }
14611          part { name: "units";
14612             mouse_events: 0;
14613             description { state: "default" 0.0;
14614                visible: 0;
14615                rel1 {
14616                   to: "elm.units";
14617                   offset: -8 0;
14618                }
14619                rel2 {
14620                   to: "elm.units";
14621                   offset: 7 8;
14622                }
14623                image {
14624                   normal: "slv_units.png";
14625                   border: 8 8 0 9;
14626                }
14627                fill.smooth: 0;
14628             }
14629             description { state: "visible" 0.0;
14630                inherit: "default" 0.0;
14631                visible: 1;
14632             }
14633          }
14634          part { name: "elm.units";
14635             type: TEXT;
14636             mouse_events: 0;
14637             scale: 1;
14638             description { state: "default" 0.0;
14639                visible: 0;
14640                fixed: 1 1;
14641                align: 0.5 1.0;
14642                rel1.relative: 0.0 0.0;
14643                rel1.to_y: "elm.swallow.end";
14644                rel1.offset: 8 0;
14645                rel2.relative: 1.0 0.0;
14646                rel2.to_y: "elm.swallow.end";
14647                rel2.offset: -9 0;
14648                color: 0 0 0 255;
14649                text {
14650                   font: "Sans,Edje-Vera";
14651                   size: 10;
14652                   min: 0 0;
14653                   align: 0.5 0.0;
14654                }
14655             }
14656             description { state: "visible" 0.0;
14657                inherit: "default" 0.0;
14658                fixed: 1 1;
14659                visible: 1;
14660                text.min: 1 1;
14661                rel1.offset: 8 -9;
14662                rel2.offset: -9 -9;
14663             }
14664             description { state: "disabled" 0.0;
14665                inherit: "default" 0.0;
14666                color:  0 0 0 128;
14667                color3: 0 0 0 0;
14668                visible: 0;
14669             }
14670             description { state: "disabled_visible" 0.0;
14671                inherit: "default" 0.0;
14672                fixed: 1 1;
14673                visible: 1;
14674                text.min: 1 1;
14675                rel1.offset: 8 -9;
14676                rel2.offset: -9 -9;
14677                color: 0 0 0 128;
14678                color3: 0 0 0 0;
14679             }
14680          }
14681          part { name: "elm.dragable.slider";
14682             type: GROUP;
14683             source: "elm/slider/vertical/indicator/default";
14684             mouse_events: 1;
14685             repeat_events: 1;
14686             scale: 1;
14687             dragable {
14688                x: 0 0 0;
14689                y: 1 1 0;
14690                confine: "bg";
14691             }
14692             description { state: "default" 0.0;
14693                min: 24 0;
14694                max: 24 0;
14695                fixed: 1 1;
14696                rel1 {
14697                   relative: 0.5  0.0;
14698                   to_y: "bg";
14699                }
14700                rel2 {
14701                   relative: 0.5  1.0;
14702                   to_y: "bg";
14703                }
14704                color: 0 0 0 0;
14705             }
14706          }
14707               part { name: "disabler";
14708                 type: RECT;
14709                 description { state: "default" 0.0;
14710                    color: 0 0 0 0;
14711                    visible: 0;
14712                 }
14713                 description { state: "disabled" 0.0;
14714                    inherit: "default" 0.0;
14715                    visible: 1;
14716                 }
14717              }
14718           }
14719
14720       programs {
14721          program { name: "text_show";
14722             signal: "elm,state,text,visible";
14723             source: "elm";
14724             action:  STATE_SET "visible" 0.0;
14725             target: "elm.text";
14726          }
14727          program { name: "text_hide";
14728             signal: "elm,state,text,hidden";
14729             source: "elm";
14730             action:  STATE_SET "default" 0.0;
14731             target: "elm.text";
14732          }
14733          program { name: "icon_show";
14734             signal: "elm,state,icon,visible";
14735             source: "elm";
14736             action:  STATE_SET "visible" 0.0;
14737             target: "elm.swallow.icon";
14738          }
14739          program { name: "icon_hide";
14740             signal: "elm,state,icon,hidden";
14741             source: "elm";
14742             action:  STATE_SET "default" 0.0;
14743             target: "elm.swallow.icon";
14744          }
14745          program { name: "end_show";
14746             signal: "elm,state,end,visible";
14747             source: "elm";
14748             action:  STATE_SET "visible" 0.0;
14749             target: "elm.swallow.end";
14750          }
14751          program { name: "end_hide";
14752             signal: "elm,state,end,hidden";
14753             source: "elm";
14754             action:  STATE_SET "default" 0.0;
14755             target: "elm.swallow.end";
14756          }
14757          program { name: "units_show";
14758             signal: "elm,state,units,visible";
14759             source: "elm";
14760             action:  STATE_SET "visible" 0.0;
14761             target: "elm.units";
14762             target: "units";
14763          }
14764          program { name: "units_hide";
14765             signal: "elm,state,units,hidden";
14766             source: "elm";
14767             action:  STATE_SET "default" 0.0;
14768             target: "elm.units";
14769             target: "units";
14770          }
14771          program { name: "invert_on";
14772             signal: "elm,state,inverted,on";
14773             source: "elm";
14774             action:  STATE_SET "inverted" 0.0;
14775             target: "level";
14776             target: "level2";
14777          }
14778          program { name: "invert_off";
14779             signal: "elm,state,inverted,off";
14780             source: "elm";
14781             action:  STATE_SET "default" 0.0;
14782             target: "level";
14783             target: "level2";
14784          }
14785          program {
14786             name:   "go_disabled";
14787             signal: "elm,state,disabled";
14788             source: "elm";
14789             action: STATE_SET "disabled" 0.0;
14790 //            target: "button0";
14791             target: "disabler";
14792             after: "disable_text";
14793             after: "disable_ind";
14794          }
14795
14796          program { name: "disable_ind";
14797             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14798          }
14799
14800          program { name: "disable_text";
14801             script {
14802             new st[31];
14803             new Float:vl;
14804                get_state(PART:"elm.text", st, 30, vl);
14805                if (!strcmp(st, "visible"))
14806                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14807                else
14808                   set_state(PART:"elm.text", "disabled", 0.0);
14809
14810                get_state(PART:"elm.units", st, 30, vl);
14811                if (!strcmp(st, "visible"))
14812                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14813                else
14814                   set_state(PART:"elm.units", "disabled", 0.0);
14815
14816                get_state(PART:"level2", st, 30, vl);
14817                if (!strcmp(st, "inverted"))
14818                {
14819                   set_state(PART:"level", "disabled_inverted", 0.0);
14820                   set_state(PART:"level2", "disabled_inverted", 0.0);
14821                }
14822                else
14823                {
14824                   set_state(PART:"level", "disabled", 0.0);
14825                   set_state(PART:"level2", "disabled", 0.0);
14826                }
14827             }
14828          }
14829
14830          program { name: "enable";
14831             signal: "elm,state,enabled";
14832             source: "elm";
14833             action: STATE_SET "default" 0.0;
14834 //            target: "button0";
14835             target: "disabler";
14836             after: "enable_text";
14837             after: "enable_ind";
14838          }
14839
14840          program { name: "enable_ind";
14841             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14842          }
14843          program { name: "enable_text";
14844             script {
14845                new st[31];
14846                new Float:vl;
14847                get_state(PART:"elm.text", st, 30, vl);
14848                if (!strcmp(st, "disabled_visible"))
14849                   set_state(PART:"elm.text", "visible", 0.0);
14850                else
14851                   set_state(PART:"elm.text", "default", 0.0);
14852
14853                get_state(PART:"elm.units", st, 30, vl);
14854                if (!strcmp(st, "disabled_visible"))
14855                   set_state(PART:"elm.units", "visible", 0.0);
14856                else
14857                   set_state(PART:"elm.units", "default", 0.0);
14858
14859                get_state(PART:"level2", st, 30, vl);
14860                if (!strcmp(st, "disabled_inverted"))
14861                {
14862                   set_state(PART:"level", "inverted", 0.0);
14863                   set_state(PART:"level2", "inverted", 0.0);
14864                }
14865                else
14866                {
14867                   set_state(PART:"level", "default", 0.0);
14868                   set_state(PART:"level2", "default", 0.0);
14869                }
14870             }
14871          }
14872       }
14873    }
14874    group { name: "elm/slider/horizontal/indicator/default";
14875            alias: "elm/slider/horizontal/indicator/disabled";
14876            alias: "elm/slider/vertical/indicator/default";
14877            alias: "elm/slider/vertical/indicator/disabled";
14878       images {
14879          image: "sl_bt_0.png" COMP;
14880          image: "sl_bt_1.png" COMP;
14881          image: "sl_bt_2.png" COMP;
14882          image: "sl_bt_3.png" COMP;
14883          image: "sl_bt2_0_0.png" COMP;
14884          image: "sl_bt2_0_1.png" COMP;
14885          image: "sl_bt2_0_2.png" COMP;
14886          image: "sl_bt2_1.png" COMP;
14887          image: "sl_bt2_2.png" COMP;
14888       }
14889       script {
14890          public value_hide = 0;
14891          public set_value_show() {
14892             set_int(value_hide, 0);
14893          }
14894          public set_value_hide() {
14895             set_int(value_hide, 1);
14896          }
14897          public thumb_down() {
14898             if (get_int(value_hide) == 1) {
14899                set_state(PART:"elm.indicator", "default", 0.0);
14900                set_state(PART:"button3", "default", 0.0);
14901                set_state(PART:"button4", "default", 0.0);
14902                set_state(PART:"button5", "default", 0.0);
14903                set_state(PART:"button6", "default", 0.0);
14904                set_state(PART:"button7", "default", 0.0);
14905             } else {
14906                set_state(PART:"elm.indicator", "visible", 0.0);
14907                set_state(PART:"button3", "visible", 0.0);
14908                set_state(PART:"button4", "visible", 0.0);
14909                set_state(PART:"button5", "visible", 0.0);
14910                set_state(PART:"button6", "visible", 0.0);
14911                set_state(PART:"button7", "visible", 0.0);
14912             }
14913          }
14914          public thumb_up() {
14915             set_state(PART:"elm.indicator", "default", 0.0);
14916             set_state(PART:"button3", "default", 0.0);
14917             set_state(PART:"button4", "default", 0.0);
14918             set_state(PART:"button5", "default", 0.0);
14919             set_state(PART:"button6", "default", 0.0);
14920             set_state(PART:"button7", "default", 0.0);
14921          }
14922       }
14923       parts {
14924          part { name: "button_events";
14925             type: RECT;
14926             mouse_events: 1;
14927             description { state: "default" 0.0;
14928                fixed: 1 1;
14929                min: 16 16;
14930                aspect: 1.0 1.0;
14931                aspect_preference: VERTICAL;
14932                color: 0 0 0 0;
14933             }
14934          }
14935          part { name: "button0";
14936             mouse_events: 0;
14937             description { state: "default" 0.0;
14938                fixed: 1 1;
14939                max: 17 999;
14940                min: 17 24;
14941                image {
14942                   normal: "sl_bt_0.png";
14943                   border: 5 5 5 10;
14944                }
14945                fill.smooth: 0;
14946             }
14947             description { state: "disabled" 0.0;
14948                inherit: "default" 0.0;
14949                image {
14950                   normal: "sl_bt_3.png";
14951                   border: 5 5 5 10;
14952                }
14953             }
14954          }
14955          part { name: "button1";
14956             mouse_events: 0;
14957             description { state: "default" 0.0;
14958                rel1.to: "button0";
14959                rel2 {
14960                   to: "button0";
14961                   relative: 1.0 0.5;
14962                   offset: -1 -5;
14963                }
14964                image {
14965                   normal: "sl_bt_1.png";
14966                   border: 5 5 5 0;
14967                }
14968             }
14969          }
14970          part { name: "button2";
14971             mouse_events: 0;
14972             description { state: "default" 0.0;
14973                rel1.to: "button0";
14974                rel2.to: "button0";
14975                image {
14976                   normal: "sl_bt_2.png";
14977                   border: 5 5 5 10;
14978                }
14979                fill.smooth: 0;
14980             }
14981          }
14982          part { name: "button3";
14983             mouse_events: 0;
14984             description { state: "default" 0.0;
14985                fixed: 1 1;
14986                visible: 0;
14987                min: 8 32;
14988                align: 1.0 0.5;
14989                rel1 {
14990                   to_x: "elm.indicator";
14991                   to_y: "button4";
14992                   relative: 0.0 0.0;
14993                   offset: -7 0;
14994                }
14995                rel2 {
14996                   to: "button4";
14997                   relative: 0.0 1.0;
14998                   offset: -1 -1;
14999                }
15000                image {
15001                   normal: "sl_bt2_0_0.png";
15002                   border: 6 0 6 12;
15003                }
15004                fill.smooth: 0;
15005             }
15006             description { state: "visible" 0.0;
15007                inherit: "default" 0.0;
15008                visible: 1;
15009             }
15010          }
15011          part { name: "button4";
15012             mouse_events: 0;
15013             description { state: "default" 0.0;
15014                visible: 0;
15015                max: 15 999;
15016                min: 15 32;
15017                rel1 {
15018                   to_x: "button0";
15019                   to_y: "elm.indicator";
15020                   offset: 0 0;
15021                }
15022                rel2.to: "button0";
15023                image {
15024                   normal: "sl_bt2_0_1.png";
15025                   border: 0 0 6 12;
15026                }
15027                fill.smooth: 0;
15028             }
15029             description { state: "visible" 0.0;
15030                inherit: "default" 0.0;
15031                visible: 1;
15032             }
15033          }
15034          part { name: "button5";
15035             mouse_events: 0;
15036             description { state: "default" 0.0;
15037                fixed: 1 1;
15038                visible: 0;
15039                min: 8 32;
15040                align: 0.0 0.5;
15041                rel1 {
15042                   to: "button4";
15043                   relative: 1.0 0.0;
15044                   offset: 0 0;
15045                }
15046                rel2 {
15047                   to_x: "elm.indicator";
15048                   to_y: "button4";
15049                   relative: 1.0 1.0;
15050                   offset: 6 -1;
15051                }
15052                image {
15053                   normal: "sl_bt2_0_2.png";
15054                   border: 0 6 6 12;
15055                }
15056                fill.smooth: 0;
15057             }
15058             description { state: "visible" 0.0;
15059                inherit: "default" 0.0;
15060                visible: 1;
15061             }
15062          }
15063          part { name: "elm.indicator";
15064             type: TEXT;
15065             mouse_events: 0;
15066             effect: SOFT_SHADOW;
15067             scale: 1;
15068             description { state: "default" 0.0;
15069                visible: 0;
15070                fixed: 1 1;
15071                align: 0.5 1.0;
15072                rel1 {
15073                   to: "button0";
15074                   relative: 0.0 -0.25;
15075                   offset: 0 0;
15076                }
15077                rel2 {
15078                   to_x: "button0";
15079                   relative: 1.0 -0.25;
15080                   offset: -1 0;
15081                }
15082                color: 224 224 224 255;
15083                color3: 0 0 0 64;
15084                text {
15085                   font:     "Sans,Edje-Vera";
15086                   size:     10;
15087                   min:      0 0;
15088                   align:    0.5 0.5;
15089                }
15090             }
15091             description { state: "visible" 0.0;
15092                inherit: "default" 0.0;
15093                visible: 1;
15094                text.min: 1 1;
15095                rel1.offset: 0 -1;
15096                rel2.offset: -1 -1;
15097             }
15098          }
15099          part { name: "button6";
15100             mouse_events: 0;
15101             description { state: "default" 0.0;
15102                visible: 0;
15103                rel1.to: "button3";
15104                rel2 {
15105                   to: "button5";
15106                   relative: 1.0 0.3;
15107                   offset: -1 -1;
15108                }
15109                image {
15110                   normal: "sl_bt2_1.png";
15111                   border: 5 5 5 0;
15112                }
15113                fill.smooth: 0;
15114             }
15115             description { state: "visible" 0.0;
15116                inherit: "default" 0.0;
15117                visible: 1;
15118             }
15119          }
15120          part { name: "button7";
15121             mouse_events: 0;
15122             description { state: "default" 0.0;
15123                visible: 0;
15124                rel1.to: "button3";
15125                rel2.to: "button5";
15126                image {
15127                   normal: "sl_bt2_2.png";
15128                   border: 5 5 5 0;
15129                   middle: 0;
15130                }
15131                fill.smooth: 0;
15132             }
15133             description { state: "visible" 0.0;
15134                inherit: "default" 0.0;
15135                visible: 1;
15136             }
15137          }
15138       }
15139       programs {
15140          program { name: "set_val_show";
15141             signal: "elm,state,val,show";
15142             source: "elm";
15143             script {
15144                set_value_show();
15145             }
15146          }
15147          program { name: "set_val_hide";
15148             signal: "elm,state,val,hide";
15149             source: "elm";
15150             script {
15151                set_value_hide();
15152             }
15153          }
15154          program { name: "val_show";
15155             signal: "mouse,down,*";
15156             source: "button_events";
15157             script {
15158                thumb_down();
15159             }
15160
15161          }
15162          program { name: "val_hide";
15163             signal: "mouse,up,*";
15164             source: "button_events";
15165             script {
15166                thumb_up();
15167             }
15168          }
15169          program {
15170             name:    "go_disabled";
15171             signal:  "elm,state,disabled";
15172             source:  "elm";
15173             action:  STATE_SET "disabled" 0.0;
15174             target:  "button0";
15175          }
15176          program {
15177             name:    "go_enabled";
15178             signal:  "elm,state,enabled";
15179             source:  "elm";
15180             action:  STATE_SET "default" 0.0;
15181             target:  "button0";
15182          }
15183       }
15184    }
15185
15186
15187 ////////////////////////////////////////////////////////////////////////////////
15188 // actionslider
15189 ////////////////////////////////////////////////////////////////////////////////
15190    group { name: "elm/actionslider/base/default";
15191
15192       images {
15193          image: "shelf_inset.png" COMP;
15194          image: "ilist_1.png" COMP;
15195          image: "bt_bases.png" COMP;
15196          image: "bt_basew.png" COMP;
15197          image: "bt_hilightw.png" COMP;
15198       }
15199
15200       parts {
15201          part {
15202             name: "base";
15203             mouse_events: 0;
15204             description {
15205                state: "default" 0.0;
15206                min: 75 25;
15207                rel1.offset: 1 1;
15208                rel2.offset: -2 -2;
15209                image {
15210                   normal: "ilist_1.png";
15211                   border: 2 2 2 2;
15212                }
15213                fill.smooth: 0;
15214             }
15215          }
15216          part { name: "conf_over";
15217             mouse_events:  0;
15218             description { state: "default" 0.0;
15219                rel1.to: "base";
15220                rel2.to: "base";
15221                image {
15222                   normal: "shelf_inset.png";
15223                   border: 7 7 7 7;
15224                   middle: 0;
15225                }
15226                fill.smooth : 0;
15227             }
15228          }
15229          part { name: "icon.dragable.area";
15230            type: RECT;
15231             mouse_events: 0;
15232             description { state: "default" 0.0;
15233                visible: 0;
15234                rel1.to: "base";
15235                rel2.to: "base";
15236             }
15237          }
15238          part { name: "elm.text.left";
15239             type: TEXT;
15240             mouse_events: 0;
15241             scale: 1;
15242             description { state: "default" 0.0;
15243                color: 0 0 0 255;
15244                text {
15245                   font: "Sans,Edje-Vera";
15246                   size: 10;
15247                   align: 0.05 0.5;
15248                   min: 1 1;
15249                }
15250             }
15251          }
15252          part { name: "elm.text.center";
15253             type: TEXT;
15254             mouse_events: 0;
15255             scale: 1;
15256             description { state: "default" 0.0;
15257                color: 0 0 0 255;
15258                text {
15259                   font: "Sans,Edje-Vera";
15260                   size: 10;
15261                   align: 0.5 0.5;
15262                   min: 1 1;
15263                }
15264             }
15265          }
15266          part { name: "elm.text.right";
15267             type: TEXT;
15268             mouse_events: 0;
15269             scale: 1;
15270             description { state: "default" 0.0;
15271                color: 0 0 0 255;
15272                text {
15273                   font: "Sans,Edje-Vera";
15274                   size: 10;
15275                   align: 0.95 0.5;
15276                   min: 1 1;
15277                }
15278             }
15279          }
15280          part { name: "elm.drag_button_base";
15281             type: SWALLOW;
15282             mouse_events: 0;
15283             scale: 1;
15284             description { state: "default" 0.0;
15285                fixed: 1 1;
15286                min: 50 25;
15287                align: 0.5 0.5;
15288                rel1.to: "icon.dragable.area";
15289                rel2 {
15290                   relative: 0.0 1.0;
15291                   to: "icon.dragable.area";
15292                }
15293             }
15294             dragable {
15295                confine: "icon.dragable.area";
15296                x: 1 1 0;
15297                y: 0 0 0;
15298             }
15299          }
15300          part { name: "elm.drag_button";
15301             type: RECT;
15302             mouse_events: 1;
15303             description { state: "default" 0.0;
15304                min: 50 25;
15305                color: 255 255 255 0;
15306                rel1.to_x: "elm.drag_button_base";
15307                rel1.to_y: "icon.dragable.area";
15308                rel2.to_x: "elm.drag_button_base";
15309                rel2.to_y: "icon.dragable.area";
15310             }
15311             dragable {
15312                events: "elm.drag_button_base";
15313             }
15314          }
15315          part { name: "button0";
15316             mouse_events: 0;
15317             description { state: "default" 0.0;
15318                rel1.to: "button2";
15319                rel1.offset: -4 -4;
15320                rel2.to: "button2";
15321                rel2.offset: 3 3;
15322                image {
15323                   normal: "bt_bases.png";
15324                   border: 11 11 11 11;
15325                   middle: SOLID;
15326                }
15327                color: 255 255 255 128;
15328             }
15329          }
15330          part { name: "button2";
15331             mouse_events: 0;
15332             description { state: "default" 0.0;
15333                rel1.to: "elm.drag_button";
15334                rel2.to: "elm.drag_button";
15335                image {
15336                   normal: "bt_basew.png";
15337                   border: 7 7 7 7;
15338                   middle: SOLID;
15339                }
15340                color: 255 255 255 210;
15341             }
15342          }
15343          part { name: "button3";
15344             mouse_events: 0;
15345             description { state: "default" 0.0;
15346                rel1.to: "button2";
15347                rel2.to: "button2";
15348                rel2.relative: 1.0 0.5;
15349                image {
15350                   normal: "bt_hilightw.png";
15351                   border: 4 4 4 0;
15352                }
15353                color: 255 255 255 190;
15354             }
15355          }
15356          part { name: "elm.text.indicator";
15357             type: TEXT;
15358             scale: 1;
15359             mouse_events: 0;
15360             description { state: "default" 0.0;
15361                rel1 {
15362                   to: "elm.drag_button";
15363                   offset: 5 0;
15364                }
15365                rel2 {
15366                   to: "elm.drag_button";
15367                   offset: -5 0;
15368                }
15369                color: 0 0 0 255;
15370                text {
15371                   font: "Sans,Edje-Vera";
15372                   size: 10;
15373                   align: 0.5 0.5;
15374                   min: 0 1;
15375                }
15376             }
15377          }
15378       }
15379       programs {
15380          program { name: "elm.drag_button,mouse,up";
15381             signal: "mouse,up,1";
15382             source: "elm.drag_button";
15383             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15384          }
15385          program { name: "elm.drag_button,mouse,down";
15386             signal: "mouse,down,1";
15387             source: "elm.drag_button";
15388             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15389          }
15390          program { name: "elm.drag_button,mouse,move";
15391             signal: "mouse,move";
15392             source: "elm.drag_button_base";
15393             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15394          }
15395       }
15396    }
15397
15398    group { name: "elm/actionslider/base/bar";
15399
15400       images {
15401          image: "shelf_inset.png" COMP;
15402          image: "ilist_1.png" COMP;
15403          image: "bt_bases.png" COMP;
15404          image: "bt_basew.png" COMP;
15405          image: "bt_hilightw.png" COMP;
15406       }
15407
15408       parts {
15409          part {
15410             name: "base";
15411             mouse_events: 0;
15412             description {
15413                state: "default" 0.0;
15414                min: 150 30;
15415                rel1.offset: 1 1;
15416                rel2.offset: -2 -2;
15417                image {
15418                   normal: "ilist_1.png";
15419                   border: 2 2 2 2;
15420                }
15421                fill.smooth: 0;
15422             }
15423          }
15424          part { name: "conf_over";
15425             mouse_events:  0;
15426             description { state: "default" 0.0;
15427                rel1.to: "base";
15428                rel2.to: "base";
15429                image {
15430                   normal: "shelf_inset.png";
15431                   border: 7 7 7 7;
15432                   middle: 0;
15433                }
15434                fill.smooth : 0;
15435             }
15436          }
15437          part { name: "icon.dragable.area";
15438            type: RECT;
15439             mouse_events: 0;
15440             description { state: "default" 0.0;
15441                visible: 0;
15442                rel1.to: "base";
15443                rel2.to: "base";
15444             }
15445          }
15446          part { name: "elm.text.left";
15447             type: TEXT;
15448             mouse_events: 0;
15449             scale: 1;
15450             description { state: "default" 0.0;
15451                color: 0 0 0 255;
15452                text {
15453                   font: "Sans,Edje-Vera";
15454                   size: 10;
15455                   align: 0.05 0.5;
15456                   min: 1 1;
15457                }
15458             }
15459          }
15460          part { name: "elm.text.center";
15461             type: TEXT;
15462             mouse_events: 0;
15463             scale: 1;
15464             description { state: "default" 0.0;
15465                color: 0 0 0 255;
15466                text {
15467                   font: "Sans,Edje-Vera";
15468                   size: 10;
15469                   align: 0.5 0.5;
15470                   min: 1 1;
15471                }
15472             }
15473          }
15474          part { name: "elm.text.right";
15475             type: TEXT;
15476             mouse_events: 0;
15477             scale: 1;
15478             description { state: "default" 0.0;
15479                color: 0 0 0 255;
15480                text {
15481                   font: "Sans,Edje-Vera";
15482                   size: 10;
15483                   align: 0.95 0.5;
15484                   min: 1 1;
15485                }
15486             }
15487          }
15488          part { name: "bar";
15489             type: RECT;
15490             mouse_events: 0;
15491             description { state: "default" 0.0;
15492                rel1.to: "base";
15493                rel1.offset: 0 2;
15494                rel2 {
15495                   relative: 0 1;
15496                   offset: 3 -3;
15497                   to_x: "elm.drag_button_base";
15498                   to_y: "base";
15499                }
15500                color: 0 0 0 180;
15501             }
15502          }
15503          part { name: "elm.drag_button_base";
15504             type: SWALLOW;
15505             mouse_events: 1;
15506             scale: 1;
15507             description { state: "default" 0.0;
15508                fixed: 1 1;
15509                min: 50 25;
15510                align: 0.5 0.5;
15511                rel1.to: "icon.dragable.area";
15512                rel2 {
15513                   relative: 0.0 1.0;
15514                   to: "icon.dragable.area";
15515                }
15516             }
15517             dragable {
15518                confine: "icon.dragable.area";
15519                x: 1 1 0;
15520                y: 0 0 0;
15521             }
15522          }
15523          part { name: "elm.drag_button";
15524             type: RECT;
15525             mouse_events: 1;
15526             description { state: "default" 0.0;
15527                min: 50 25;
15528                color: 255 255 255 0;
15529                rel1.to_x: "elm.drag_button_base";
15530                rel1.to_y: "icon.dragable.area";
15531                rel2.to_x: "elm.drag_button_base";
15532                rel2.to_y: "icon.dragable.area";
15533             }
15534             dragable {
15535                events: "elm.drag_button_base";
15536             }
15537          }
15538          part { name: "button0";
15539             mouse_events: 0;
15540             description { state: "default" 0.0;
15541                rel1.to: "button2";
15542                rel1.offset: -4 -4;
15543                rel2.to: "button2";
15544                rel2.offset: 3 3;
15545                image {
15546                   normal: "bt_bases.png";
15547                   border: 11 11 11 11;
15548                   middle: SOLID;
15549                }
15550                color: 255 255 255 128;
15551             }
15552          }
15553          part { name: "button2";
15554             mouse_events: 0;
15555             description { state: "default" 0.0;
15556                rel1.to: "elm.drag_button";
15557                rel2.to: "elm.drag_button";
15558                image {
15559                   normal: "bt_basew.png";
15560                   border: 7 7 7 7;
15561                   middle: SOLID;
15562                }
15563                color: 255 255 255 210;
15564             }
15565          }
15566          part { name: "button3";
15567             mouse_events: 0;
15568             description { state: "default" 0.0;
15569                rel1.to: "button2";
15570                rel2.to: "button2";
15571                rel2.relative: 1.0 0.5;
15572                image {
15573                   normal: "bt_hilightw.png";
15574                   border: 4 4 4 0;
15575                }
15576                color: 255 255 255 190;
15577             }
15578          }
15579          part { name: "elm.text.indicator";
15580             type: TEXT;
15581             scale: 1;
15582             mouse_events: 0;
15583             description { state: "default" 0.0;
15584                rel1 {
15585                   to: "elm.drag_button";
15586                   offset: 5 0;
15587                }
15588                rel2 {
15589                   to: "elm.drag_button";
15590                   offset: -5 0;
15591                }
15592                color: 0 0 0 255;
15593                text {
15594                   font: "Sans,Edje-Vera";
15595                   size: 10;
15596                   align: 0.5 0.5;
15597                   min: 0 1;
15598                }
15599             }
15600          }
15601       }
15602       programs {
15603          program { name: "elm.drag_button,mouse,up";
15604             signal: "mouse,up,1";
15605             source: "elm.drag_button";
15606             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15607          }
15608          program { name: "elm.drag_button,mouse,down";
15609             signal: "mouse,down,1";
15610             source: "elm.drag_button";
15611             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15612          }
15613          program { name: "elm.drag_button,mouse,move";
15614             signal: "mouse,move";
15615             source: "elm.drag_button_base";
15616             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15617          }
15618       }
15619    }
15620
15621 ///////////////////////////////////////////////////////////////////////////////
15622    group { name: "elm/genlist/item/default/default";
15623       data.item: "stacking" "above";
15624       data.item: "selectraise" "on";
15625       data.item: "labels" "elm.text";
15626       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15627       data.item: "treesize" "20";
15628 //      data.item: "states" "";
15629       images {
15630          image: "bt_sm_base1.png" COMP;
15631          image: "bt_sm_shine.png" COMP;
15632          image: "bt_sm_hilight.png" COMP;
15633          image: "ilist_1.png" COMP;
15634          image: "ilist_item_shadow.png" COMP;
15635       }
15636       parts {
15637          part {
15638             name:           "event";
15639             type:           RECT;
15640             repeat_events: 1;
15641             description {
15642                state: "default" 0.0;
15643                color: 0 0 0 0;
15644             }
15645          }
15646          part {
15647             name: "base_sh";
15648             mouse_events: 0;
15649             description {
15650                state: "default" 0.0;
15651                align: 0.0 0.0;
15652                min: 0 10;
15653                fixed: 1 1;
15654                rel1 {
15655                   to: "base";
15656                   relative: 0.0 1.0;
15657                   offset: 0 0;
15658                }
15659                rel2 {
15660                   to: "base";
15661                   relative: 1.0 1.0;
15662                   offset: -1 0;
15663                }
15664                image {
15665                   normal: "ilist_item_shadow.png";
15666                }
15667                fill.smooth: 0;
15668             }
15669          }
15670          part {
15671             name: "base";
15672             mouse_events: 0;
15673             description {
15674                state: "default" 0.0;
15675                image {
15676                   normal: "ilist_1.png";
15677                   border: 2 2 2 2;
15678                }
15679                fill.smooth: 0;
15680             }
15681          }
15682          part { name: "bg";
15683             clip_to: "disclip";
15684             mouse_events: 0;
15685             description { state: "default" 0.0;
15686                visible: 0;
15687                color: 255 255 255 0;
15688                rel1 {
15689                   relative: 0.0 0.0;
15690                   offset: -5 -5;
15691                }
15692                rel2 {
15693                   relative: 1.0 1.0;
15694                   offset: 4 4;
15695                }
15696                image {
15697                   normal: "bt_sm_base1.png";
15698                   border: 6 6 6 6;
15699                }
15700                image.middle: SOLID;
15701             }
15702             description { state: "selected" 0.0;
15703                inherit: "default" 0.0;
15704                visible: 1;
15705                color: 255 255 255 255;
15706                rel1 {
15707                   relative: 0.0 0.0;
15708                   offset: -2 -2;
15709                }
15710                rel2 {
15711                   relative: 1.0 1.0;
15712                   offset: 1 1;
15713                }
15714             }
15715          }
15716          part { name: "elm.swallow.pad";
15717             type: SWALLOW;
15718             description { state: "default" 0.0;
15719                fixed: 1 0;
15720                align: 0.0 0.5;
15721                rel1 {
15722                   relative: 0.0  0.0;
15723                   offset:   4    4;
15724                }
15725                rel2 {
15726                   relative: 0.0  1.0;
15727                   offset:   4   -5;
15728                }
15729             }
15730          }
15731          part { name: "elm.swallow.icon";
15732             clip_to: "disclip";
15733             type: SWALLOW;
15734             description { state: "default" 0.0;
15735                fixed: 1 0;
15736                align: 0.0 0.5;
15737                rel1 {
15738                   to_x: "elm.swallow.pad";
15739                   relative: 1.0  0.0;
15740                   offset:   -1    4;
15741                }
15742                rel2 {
15743                   to_x: "elm.swallow.pad";
15744                   relative: 1.0  1.0;
15745                   offset:   -1   -5;
15746                }
15747             }
15748          }
15749          part { name: "elm.swallow.end";
15750             clip_to: "disclip";
15751             type: SWALLOW;
15752             description { state: "default" 0.0;
15753                fixed: 1 0;
15754                align: 1.0 0.5;
15755                aspect: 1.0 1.0;
15756                aspect_preference: VERTICAL;
15757                rel1 {
15758                   relative: 1.0  0.0;
15759                   offset:   -5    4;
15760                }
15761                rel2 {
15762                   relative: 1.0  1.0;
15763                   offset:   -5   -5;
15764                }
15765             }
15766          }
15767          part { name: "elm.text";
15768             clip_to: "disclip";
15769             type:           TEXT;
15770             effect:         SOFT_SHADOW;
15771             mouse_events:   0;
15772             scale: 1;
15773             description {
15774                state: "default" 0.0;
15775 //               min: 16 16;
15776                rel1 {
15777                   to_x:     "elm.swallow.icon";
15778                   relative: 1.0  0.0;
15779                   offset:   0 4;
15780                }
15781                rel2 {
15782                   to_x:     "elm.swallow.end";
15783                   relative: 0.0  1.0;
15784                   offset:   -1 -5;
15785                }
15786                color: 0 0 0 255;
15787                color3: 0 0 0 0;
15788                text {
15789                   font: "Sans";
15790                   size: 10;
15791                   min: 1 1;
15792 //                  min: 0 1;
15793                   align: 0.0 0.5;
15794                   text_class: "list_item";
15795                }
15796             }
15797             description { state: "selected" 0.0;
15798                inherit: "default" 0.0;
15799                color: 224 224 224 255;
15800                color3: 0 0 0 64;
15801             }
15802          }
15803          part { name: "fg1";
15804             clip_to: "disclip";
15805             mouse_events: 0;
15806             description { state: "default" 0.0;
15807                visible: 0;
15808                color: 255 255 255 0;
15809                rel1.to: "bg";
15810                rel2.relative: 1.0 0.5;
15811                rel2.to: "bg";
15812                image {
15813                   normal: "bt_sm_hilight.png";
15814                   border: 6 6 6 0;
15815                }
15816             }
15817             description { state: "selected" 0.0;
15818                inherit: "default" 0.0;
15819                visible: 1;
15820                color: 255 255 255 255;
15821             }
15822          }
15823          part { name: "fg2";
15824             clip_to: "disclip";
15825             mouse_events: 0;
15826             description { state: "default" 0.0;
15827                visible: 0;
15828                color: 255 255 255 0;
15829                rel1.to: "bg";
15830                rel2.to: "bg";
15831                image {
15832                   normal: "bt_sm_shine.png";
15833                   border: 6 6 6 0;
15834                }
15835             }
15836             description { state: "selected" 0.0;
15837                inherit: "default" 0.0;
15838                visible: 1;
15839                color: 255 255 255 255;
15840             }
15841          }
15842          part { name: "disclip";
15843             type: RECT;
15844             description { state: "default" 0.0;
15845                rel1.to: "bg";
15846                rel2.to: "bg";
15847             }
15848             description { state: "disabled" 0.0;
15849                inherit: "default" 0.0;
15850                color: 255 255 255 64;
15851             }
15852          }
15853       }
15854       programs {
15855          // signal: elm,state,%s,active
15856          //   a "check" item named %s went active
15857          // signal: elm,state,%s,passive
15858          //   a "check" item named %s went passive
15859          // default is passive
15860          program {
15861             name:    "go_active";
15862             signal:  "elm,state,selected";
15863             source:  "elm";
15864             action:  STATE_SET "selected" 0.0;
15865             target:  "bg";
15866             target:  "fg1";
15867             target:  "fg2";
15868             target:  "elm.text";
15869          }
15870          program {
15871             name:    "go_passive";
15872             signal:  "elm,state,unselected";
15873             source:  "elm";
15874             action:  STATE_SET "default" 0.0;
15875             target:  "bg";
15876             target:  "fg1";
15877             target:  "fg2";
15878             target:  "elm.text";
15879             transition: LINEAR 0.1;
15880          }
15881          program {
15882             name:    "go_disabled";
15883             signal:  "elm,state,disabled";
15884             source:  "elm";
15885             action:  STATE_SET "disabled" 0.0;
15886             target:  "disclip";
15887          }
15888          program {
15889             name:    "go_enabled";
15890             signal:  "elm,state,enabled";
15891             source:  "elm";
15892             action:  STATE_SET "default" 0.0;
15893             target:  "disclip";
15894          }
15895       }
15896    }
15897    group { name: "elm/genlist/item/group_index/default";
15898       alias: "elm/genlist/item_odd/group_index/default";
15899       data.item: "stacking" "above";
15900       data.item: "selectraise" "on";
15901       data.item: "labels" "elm.text";
15902       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15903       data.item: "treesize" "20";
15904 //      data.item: "states" "";
15905       images {
15906          image: "bt_sm_base1.png" COMP;
15907          image: "bt_sm_shine.png" COMP;
15908          image: "bt_sm_hilight.png" COMP;
15909          image: "ilist_item_shadow.png" COMP;
15910          image: "group_index.png" COMP;
15911       }
15912       parts {
15913          part {
15914             name: "event";
15915             type: RECT;
15916             repeat_events: 0;
15917             description {
15918                state: "default" 0.0;
15919                color: 0 0 0 0;
15920             }
15921          }
15922          part {
15923             name: "base_sh";
15924             mouse_events: 0;
15925             description {
15926                state: "default" 0.0;
15927                align: 0.0 0.0;
15928                min: 0 10;
15929                fixed: 1 1;
15930                rel1 {
15931                   to: "base";
15932                   relative: 0.0 1.0;
15933                   offset: 0 0;
15934                }
15935                rel2 {
15936                   to: "base";
15937                   relative: 1.0 1.0;
15938                   offset: -1 0;
15939                }
15940                image {
15941                   normal: "ilist_item_shadow.png";
15942                }
15943                fill.smooth: 0;
15944             }
15945          }
15946          part {
15947             name: "base";
15948             mouse_events: 0;
15949             description {
15950                state: "default" 0.0;
15951                image {
15952                   normal: "group_index.png";
15953                   border: 2 2 2 2;
15954                }
15955                fill.smooth: 0;
15956             }
15957          }
15958          part { name: "bg";
15959             clip_to: "disclip";
15960             mouse_events: 0;
15961             description { state: "default" 0.0;
15962                visible: 0;
15963                color: 255 255 255 0;
15964                rel1 {
15965                   relative: 0.0 0.0;
15966                   offset: -5 -5;
15967                }
15968                rel2 {
15969                   relative: 1.0 1.0;
15970                   offset: 4 4;
15971                }
15972                image {
15973                   normal: "bt_sm_base1.png";
15974                   border: 6 6 6 6;
15975                }
15976                image.middle: SOLID;
15977             }
15978             description { state: "selected" 0.0;
15979                inherit: "default" 0.0;
15980                visible: 1;
15981                color: 255 255 255 255;
15982                rel1 {
15983                   relative: 0.0 0.0;
15984                   offset: -2 -2;
15985                }
15986                rel2 {
15987                   relative: 1.0 1.0;
15988                   offset: 1 1;
15989                }
15990             }
15991          }
15992          part { name: "elm.swallow.pad";
15993             type: SWALLOW;
15994             description { state: "default" 0.0;
15995                fixed: 1 0;
15996                align: 0.0 0.5;
15997                rel1 {
15998                   relative: 0.0  0.0;
15999                   offset: 4 4;
16000                }
16001                rel2 {
16002                   relative: 0.0  1.0;
16003                   offset: 4 -5;
16004                }
16005             }
16006          }
16007          part { name: "elm.swallow.icon";
16008             clip_to: "disclip";
16009             type: SWALLOW;
16010             description { state: "default" 0.0;
16011                fixed: 1 0;
16012                align: 0.0 0.5;
16013                rel1 {
16014                   to_x: "elm.swallow.pad";
16015                   relative: 1.0 0.0;
16016                   offset: -1 4;
16017                }
16018                rel2 {
16019                   to_x: "elm.swallow.pad";
16020                   relative: 1.0 1.0;
16021                   offset: -1 -5;
16022                }
16023             }
16024          }
16025          part { name: "elm.swallow.end";
16026             clip_to: "disclip";
16027             type: SWALLOW;
16028             description { state: "default" 0.0;
16029                fixed: 1 0;
16030                align: 1.0 0.5;
16031                aspect: 1.0 1.0;
16032                aspect_preference: VERTICAL;
16033                rel1 {
16034                   relative: 1.0 0.0;
16035                   offset: -5 4;
16036                }
16037                rel2 {
16038                   relative: 1.0 1.0;
16039                   offset: -5 -5;
16040                }
16041             }
16042          }
16043          part { name: "elm.text";
16044             clip_to: "disclip";
16045             type: TEXT;
16046             effect: SOFT_SHADOW;
16047             mouse_events: 0;
16048             scale: 1;
16049             description {
16050                state: "default" 0.0;
16051 //               min: 16 16;
16052                rel1 {
16053                   to_x: "elm.swallow.icon";
16054                   relative: 1.0  0.0;
16055                   offset: 0 4;
16056                }
16057                rel2 {
16058                   to_x: "elm.swallow.end";
16059                   relative: 0.0  1.0;
16060                   offset: -1 -5;
16061                }
16062                color: 0 0 0 255;
16063                color3: 0 0 0 0;
16064                text {
16065                   font: "Sans";
16066                   size: 10;
16067                   min: 1 1;
16068 //                  min: 0 1;
16069                   align: -1.0 0.5;
16070                   text_class: "list_item";
16071                }
16072             }
16073             description { state: "selected" 0.0;
16074                inherit: "default" 0.0;
16075                color: 224 224 224 255;
16076                color3: 0 0 0 64;
16077             }
16078          }
16079          part { name: "fg1";
16080             clip_to: "disclip";
16081             mouse_events: 0;
16082             description { state: "default" 0.0;
16083                visible: 0;
16084                color: 255 255 255 0;
16085                rel1.to: "bg";
16086                rel2.relative: 1.0 0.5;
16087                rel2.to: "bg";
16088                image {
16089                   normal: "bt_sm_hilight.png";
16090                   border: 6 6 6 0;
16091                }
16092             }
16093             description { state: "selected" 0.0;
16094                inherit: "default" 0.0;
16095                visible: 1;
16096                color: 255 255 255 255;
16097             }
16098          }
16099          part { name: "fg2";
16100             clip_to: "disclip";
16101             mouse_events: 0;
16102             description { state: "default" 0.0;
16103                visible: 0;
16104                color: 255 255 255 0;
16105                rel1.to: "bg";
16106                rel2.to: "bg";
16107                image {
16108                   normal: "bt_sm_shine.png";
16109                   border: 6 6 6 0;
16110                }
16111             }
16112             description { state: "selected" 0.0;
16113                inherit: "default" 0.0;
16114                visible: 1;
16115                color: 255 255 255 255;
16116             }
16117          }
16118          part { name: "disclip";
16119             type: RECT;
16120             description { state: "default" 0.0;
16121                rel1.to: "bg";
16122                rel2.to: "bg";
16123             }
16124             description { state: "disabled" 0.0;
16125                inherit: "default" 0.0;
16126                color: 255 255 255 64;
16127             }
16128          }
16129       }
16130       programs {
16131          // signal: elm,state,%s,active
16132          //   a "check" item named %s went active
16133          // signal: elm,state,%s,passive
16134          //   a "check" item named %s went passive
16135          // default is passive
16136          program {
16137             name:    "go_active";
16138             signal:  "elm,state,selected";
16139             source:  "elm";
16140             action:  STATE_SET "selected" 0.0;
16141             target:  "bg";
16142             target:  "fg1";
16143             target:  "fg2";
16144             target:  "elm.text";
16145          }
16146          program {
16147             name:    "go_passive";
16148             signal:  "elm,state,unselected";
16149             source:  "elm";
16150             action:  STATE_SET "default" 0.0;
16151             target:  "bg";
16152             target:  "fg1";
16153             target:  "fg2";
16154             target:  "elm.text";
16155             transition: LINEAR 0.1;
16156          }
16157          program {
16158             name:    "go_disabled";
16159             signal:  "elm,state,disabled";
16160             source:  "elm";
16161             action:  STATE_SET "disabled" 0.0;
16162             target:  "disclip";
16163          }
16164          program {
16165             name:    "go_enabled";
16166             signal:  "elm,state,enabled";
16167             source:  "elm";
16168             action:  STATE_SET "default" 0.0;
16169             target:  "disclip";
16170          }
16171       }
16172    }
16173    group { name: "elm/genlist/item_compress/message/default";
16174       data.item: "stacking" "above";
16175       data.item: "selectraise" "on";
16176       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16177 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16178       data.item: "treesize" "20";
16179 //      data.item: "states" "";
16180       images {
16181          image: "bt_sm_base1.png" COMP;
16182          image: "bt_sm_shine.png" COMP;
16183          image: "bt_sm_hilight.png" COMP;
16184          image: "ilist_1.png" COMP;
16185          image: "ilist_item_shadow.png" COMP;
16186       }
16187       styles {
16188         style { name: "genlist_textblock_style";
16189           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16190           tag:  "br" "\n";
16191           tag:  "ps" "ps";
16192           tag:  "tab" "\t";
16193         }
16194         style { name: "genlist_textblock_style2";
16195           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16196           tag:  "br" "\n";
16197           tag:  "ps" "ps";
16198           tag:  "tab" "\t";
16199         }
16200       }
16201      parts {
16202          part {
16203             name:           "event";
16204             type:           RECT;
16205             repeat_events: 1;
16206             description {
16207                state: "default" 0.0;
16208                color: 0 0 0 0;
16209             }
16210          }
16211          part {
16212             name: "base_sh";
16213             mouse_events: 0;
16214             description {
16215                state: "default" 0.0;
16216                align: 0.0 0.0;
16217                min: 0 10;
16218                fixed: 1 1;
16219                rel1 {
16220                   to: "base";
16221                   relative: 0.0 1.0;
16222                   offset: 0 0;
16223                }
16224                rel2 {
16225                   to: "base";
16226                   relative: 1.0 1.0;
16227                   offset: -1 0;
16228                }
16229                image {
16230                   normal: "ilist_item_shadow.png";
16231                }
16232                fill.smooth: 0;
16233             }
16234          }
16235          part {
16236             name: "base";
16237             mouse_events: 0;
16238             description {
16239                state: "default" 0.0;
16240                image {
16241                   normal: "ilist_1.png";
16242                   border: 2 2 2 2;
16243                }
16244                fill.smooth: 0;
16245             }
16246          }
16247          part { name: "bg";
16248             clip_to: "disclip";
16249             mouse_events: 0;
16250             description { state: "default" 0.0;
16251                visible: 0;
16252                color: 255 255 255 0;
16253                rel1 {
16254                   relative: 0.0 0.0;
16255                   offset: -5 -5;
16256                }
16257                rel2 {
16258                   relative: 1.0 1.0;
16259                   offset: 4 4;
16260                }
16261                image {
16262                   normal: "bt_sm_base1.png";
16263                   border: 6 6 6 6;
16264                }
16265                image.middle: SOLID;
16266             }
16267             description { state: "selected" 0.0;
16268                inherit: "default" 0.0;
16269                visible: 1;
16270                color: 255 255 255 255;
16271                rel1 {
16272                   relative: 0.0 0.0;
16273                   offset: -2 -2;
16274                }
16275                rel2 {
16276                   relative: 1.0 1.0;
16277                   offset: 1 1;
16278                }
16279             }
16280          }
16281          part { name: "elm.title.1";
16282             clip_to: "disclip";
16283             type:           TEXT;
16284             effect:         SOFT_SHADOW;
16285             mouse_events:   0;
16286             scale: 1;
16287             description {
16288                state: "default" 0.0;
16289                fixed: 0 1;
16290 //               min: 16 16;
16291                rel1 {
16292                   relative: 0.0  0.0;
16293                   offset:   4 4;
16294                }
16295                rel2 {
16296                   relative: 1.0  0.0;
16297                   offset:   -5 4;
16298                }
16299                color: 0 0 0 255;
16300                color3: 0 0 0 0;
16301                align: 0.0 0.0;
16302                text {
16303                   font: "Sans";
16304                   size: 10;
16305                   min: 0 1;
16306 //                  min: 1 1;
16307                   align: 0.0 0.0;
16308                   text_class: "list_item";
16309                }
16310             }
16311             description { state: "selected" 0.0;
16312                inherit: "default" 0.0;
16313                color: 224 224 224 255;
16314                color3: 0 0 0 64;
16315             }
16316          }
16317          part { name: "elm.title.2";
16318             clip_to: "disclip";
16319             type:           TEXT;
16320             effect:         SOFT_SHADOW;
16321             mouse_events:   0;
16322             scale: 1;
16323             description {
16324                state: "default" 0.0;
16325                fixed: 0 1;
16326 //               min: 16 16;
16327                rel1 {
16328                   to_y:     "elm.title.1";
16329                   relative: 0.0  1.0;
16330                   offset:   4 0;
16331                }
16332                rel2 {
16333                   to_y:     "elm.title.1";
16334                   relative: 1.0  1.0;
16335                   offset:   -5 0;
16336                }
16337                color: 0 0 0 255;
16338                color3: 0 0 0 0;
16339                align: 0.0 0.0;
16340                text {
16341                   font: "Sans";
16342                   size: 10;
16343                   min: 0 1;
16344 //                  min: 1 1;
16345                   align: 0.0 0.0;
16346                   text_class: "list_item";
16347                }
16348             }
16349             description { state: "selected" 0.0;
16350                inherit: "default" 0.0;
16351                color: 224 224 224 255;
16352                color3: 0 0 0 64;
16353             }
16354          }
16355          part { name: "elm.text";
16356             clip_to: "disclip";
16357             type:           TEXTBLOCK;
16358             mouse_events:   0;
16359             scale: 1;
16360             description {
16361                state: "default" 0.0;
16362 //               fixed: 0 1;
16363 //               min: 16 16;
16364                rel1 {
16365                   to_y:     "elm.title.2";
16366                   relative: 0.0  1.0;
16367                   offset:   4 0;
16368                }
16369                rel2 {
16370                   relative: 1.0  1.0;
16371                   offset:   -5 -5;
16372                }
16373                align: 0.0 0.0;
16374                text {
16375                   style: "genlist_textblock_style";
16376                   min: 0 1;
16377 //                  min: 1 1;
16378                   align: 0.0 0.0;
16379                }
16380             }
16381             description { state: "selected" 0.0;
16382                inherit: "default" 0.0;
16383                text {
16384                   style: "genlist_textblock_style2";
16385                }
16386             }
16387          }
16388          part { name: "fg1";
16389             clip_to: "disclip";
16390             mouse_events: 0;
16391             description { state: "default" 0.0;
16392                visible: 0;
16393                color: 255 255 255 0;
16394                rel1.to: "bg";
16395                rel2.relative: 1.0 0.5;
16396                rel2.to: "bg";
16397                image {
16398                   normal: "bt_sm_hilight.png";
16399                   border: 6 6 6 0;
16400                }
16401             }
16402             description { state: "selected" 0.0;
16403                inherit: "default" 0.0;
16404                visible: 1;
16405                color: 255 255 255 255;
16406             }
16407          }
16408          part { name: "fg2";
16409             clip_to: "disclip";
16410             mouse_events: 0;
16411             description { state: "default" 0.0;
16412                visible: 0;
16413                color: 255 255 255 0;
16414                rel1.to: "bg";
16415                rel2.to: "bg";
16416                image {
16417                   normal: "bt_sm_shine.png";
16418                   border: 6 6 6 0;
16419                }
16420             }
16421             description { state: "selected" 0.0;
16422                inherit: "default" 0.0;
16423                visible: 1;
16424                color: 255 255 255 255;
16425             }
16426          }
16427          part { name: "disclip";
16428             type: RECT;
16429             description { state: "default" 0.0;
16430                rel1.to: "bg";
16431                rel2.to: "bg";
16432             }
16433             description { state: "disabled" 0.0;
16434                inherit: "default" 0.0;
16435                color: 255 255 255 64;
16436             }
16437          }
16438       }
16439       programs {
16440          // signal: elm,state,%s,active
16441          //   a "check" item named %s went active
16442          // signal: elm,state,%s,passive
16443          //   a "check" item named %s went passive
16444          // default is passive
16445          program {
16446             name:    "go_active";
16447             signal:  "elm,state,selected";
16448             source:  "elm";
16449             action:  STATE_SET "selected" 0.0;
16450             target:  "bg";
16451             target:  "fg1";
16452             target:  "fg2";
16453             target:  "elm.title.1";
16454             target:  "elm.title.2";
16455             target:  "elm.text";
16456          }
16457          program {
16458             name:    "go_passive";
16459             signal:  "elm,state,unselected";
16460             source:  "elm";
16461             action:  STATE_SET "default" 0.0;
16462             target:  "bg";
16463             target:  "fg1";
16464             target:  "fg2";
16465             target:  "elm.title.1";
16466             target:  "elm.title.2";
16467             target:  "elm.text";
16468             transition: LINEAR 0.1;
16469          }
16470          program {
16471             name:    "go_disabled";
16472             signal:  "elm,state,disabled";
16473             source:  "elm";
16474             action:  STATE_SET "disabled" 0.0;
16475             target:  "disclip";
16476          }
16477          program {
16478             name:    "go_enabled";
16479             signal:  "elm,state,enabled";
16480             source:  "elm";
16481             action:  STATE_SET "default" 0.0;
16482             target:  "disclip";
16483          }
16484       }
16485    }
16486    group { name: "elm/genlist/item_compress_odd/message/default";
16487       data.item: "stacking" "below";
16488       data.item: "selectraise" "on";
16489       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16490 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16491       data.item: "treesize" "20";
16492 //      data.item: "states" "";
16493       images {
16494          image: "bt_sm_base1.png" COMP;
16495          image: "bt_sm_shine.png" COMP;
16496          image: "bt_sm_hilight.png" COMP;
16497          image: "ilist_2.png" COMP;
16498       }
16499       parts {
16500          part { name: "event";
16501             type: RECT;
16502             repeat_events: 1;
16503             description {
16504                state: "default" 0.0;
16505                color: 0 0 0 0;
16506             }
16507          }
16508          part {
16509             name: "base";
16510             mouse_events: 0;
16511             description {
16512                state: "default" 0.0;
16513                image {
16514                   normal: "ilist_2.png";
16515                   border: 2 2 2 2;
16516                }
16517                fill.smooth: 0;
16518             }
16519          }
16520          part { name: "bg";
16521             clip_to: "disclip";
16522             mouse_events: 0;
16523             description { state: "default" 0.0;
16524                visible: 0;
16525                color: 255 255 255 0;
16526                rel1 {
16527                   relative: 0.0 0.0;
16528                   offset: -5 -5;
16529                }
16530                rel2 {
16531                   relative: 1.0 1.0;
16532                   offset: 4 4;
16533                }
16534                image {
16535                   normal: "bt_sm_base1.png";
16536                   border: 6 6 6 6;
16537                }
16538                image.middle: SOLID;
16539             }
16540             description { state: "selected" 0.0;
16541                inherit: "default" 0.0;
16542                visible: 1;
16543                color: 255 255 255 255;
16544                rel1 {
16545                   relative: 0.0 0.0;
16546                   offset: -2 -2;
16547                }
16548                rel2 {
16549                   relative: 1.0 1.0;
16550                   offset: 1 1;
16551                }
16552             }
16553          }
16554          part { name: "elm.title.1";
16555             clip_to: "disclip";
16556             type:           TEXT;
16557             effect:         SOFT_SHADOW;
16558             mouse_events:   0;
16559             scale: 1;
16560             description {
16561                state: "default" 0.0;
16562                fixed: 0 1;
16563 //               min: 16 16;
16564                rel1 {
16565                   relative: 0.0  0.0;
16566                   offset:   4 4;
16567                }
16568                rel2 {
16569                   relative: 1.0  0.0;
16570                   offset:   -5 4;
16571                }
16572                color: 0 0 0 255;
16573                color3: 0 0 0 0;
16574                align: 0.0 0.0;
16575                text {
16576                   font: "Sans";
16577                   size: 10;
16578                   min: 0 1;
16579 //                  min: 1 1;
16580                   align: 0.0 0.0;
16581                   text_class: "list_item";
16582                }
16583             }
16584             description { state: "selected" 0.0;
16585                inherit: "default" 0.0;
16586                color: 224 224 224 255;
16587                color3: 0 0 0 64;
16588             }
16589          }
16590          part { name: "elm.title.2";
16591             clip_to: "disclip";
16592             type:           TEXT;
16593             effect:         SOFT_SHADOW;
16594             mouse_events:   0;
16595             scale: 1;
16596             description {
16597                state: "default" 0.0;
16598                fixed: 0 1;
16599 //               min: 16 16;
16600                rel1 {
16601                   to_y:     "elm.title.1";
16602                   relative: 0.0  1.0;
16603                   offset:   4 0;
16604                }
16605                rel2 {
16606                   to_y:     "elm.title.1";
16607                   relative: 1.0  1.0;
16608                   offset:   -5 0;
16609                }
16610                color: 0 0 0 255;
16611                color3: 0 0 0 0;
16612                align: 0.0 0.0;
16613                text {
16614                   font: "Sans";
16615                   size: 10;
16616                   min: 0 1;
16617 //                  min: 1 1;
16618                   align: 0.0 0.0;
16619                   text_class: "list_item";
16620                }
16621             }
16622             description { state: "selected" 0.0;
16623                inherit: "default" 0.0;
16624                color: 224 224 224 255;
16625                color3: 0 0 0 64;
16626             }
16627          }
16628          part { name: "elm.text";
16629             clip_to: "disclip";
16630             type:           TEXTBLOCK;
16631             mouse_events:   0;
16632             scale: 1;
16633             description {
16634                state: "default" 0.0;
16635 //               fixed: 0 1;
16636 //               min: 16 16;
16637                rel1 {
16638                   to_y:     "elm.title.2";
16639                   relative: 0.0  1.0;
16640                   offset:   4 0;
16641                }
16642                rel2 {
16643                   relative: 1.0  1.0;
16644                   offset:   -5 -5;
16645                }
16646                align: 0.0 0.0;
16647                text {
16648                   style: "genlist_textblock_style";
16649                   min: 0 1;
16650 //                  min: 1 1;
16651                   align: 0.0 0.0;
16652                }
16653             }
16654             description { state: "selected" 0.0;
16655                inherit: "default" 0.0;
16656                text {
16657                   style: "genlist_textblock_style2";
16658                }
16659             }
16660          }
16661          part { name: "fg1";
16662             clip_to: "disclip";
16663             mouse_events: 0;
16664             description { state: "default" 0.0;
16665                visible: 0;
16666                color: 255 255 255 0;
16667                rel1.to: "bg";
16668                rel2.relative: 1.0 0.5;
16669                rel2.to: "bg";
16670                image {
16671                   normal: "bt_sm_hilight.png";
16672                   border: 6 6 6 0;
16673                }
16674             }
16675             description { state: "selected" 0.0;
16676                inherit: "default" 0.0;
16677                visible: 1;
16678                color: 255 255 255 255;
16679             }
16680          }
16681          part { name: "fg2";
16682             clip_to: "disclip";
16683             mouse_events: 0;
16684             description { state: "default" 0.0;
16685                visible: 0;
16686                color: 255 255 255 0;
16687                rel1.to: "bg";
16688                rel2.to: "bg";
16689                image {
16690                   normal: "bt_sm_shine.png";
16691                   border: 6 6 6 0;
16692                }
16693             }
16694             description { state: "selected" 0.0;
16695                inherit: "default" 0.0;
16696                visible: 1;
16697                color: 255 255 255 255;
16698             }
16699          }
16700          part { name: "disclip";
16701             type: RECT;
16702             description { state: "default" 0.0;
16703                rel1.to: "bg";
16704                rel2.to: "bg";
16705             }
16706             description { state: "disabled" 0.0;
16707                inherit: "default" 0.0;
16708                color: 255 255 255 64;
16709             }
16710          }
16711       }
16712       programs {
16713          // signal: elm,state,%s,active
16714          //   a "check" item named %s went active
16715          // signal: elm,state,%s,passive
16716          //   a "check" item named %s went passive
16717          // default is passive
16718          program {
16719             name:    "go_active";
16720             signal:  "elm,state,selected";
16721             source:  "elm";
16722             action:  STATE_SET "selected" 0.0;
16723             target:  "bg";
16724             target:  "fg1";
16725             target:  "fg2";
16726             target:  "elm.title.1";
16727             target:  "elm.title.2";
16728             target:  "elm.text";
16729          }
16730          program {
16731             name:    "go_passive";
16732             signal:  "elm,state,unselected";
16733             source:  "elm";
16734             action:  STATE_SET "default" 0.0;
16735             target:  "bg";
16736             target:  "fg1";
16737             target:  "fg2";
16738             target:  "elm.title.1";
16739             target:  "elm.title.2";
16740             target:  "elm.text";
16741             transition: LINEAR 0.1;
16742          }
16743          program {
16744             name:    "go_disabled";
16745             signal:  "elm,state,disabled";
16746             source:  "elm";
16747             action:  STATE_SET "disabled" 0.0;
16748             target:  "disclip";
16749          }
16750          program {
16751             name:    "go_enabled";
16752             signal:  "elm,state,enabled";
16753             source:  "elm";
16754             action:  STATE_SET "default" 0.0;
16755             target:  "disclip";
16756          }
16757       }
16758    }
16759    group { name: "elm/genlist/item_compress/default/default";
16760       data.item: "stacking" "above";
16761       data.item: "selectraise" "on";
16762       data.item: "labels" "elm.text";
16763       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16764       data.item: "treesize" "20";
16765 //      data.item: "states" "";
16766       images {
16767          image: "bt_sm_base1.png" COMP;
16768          image: "bt_sm_shine.png" COMP;
16769          image: "bt_sm_hilight.png" COMP;
16770          image: "ilist_1.png" COMP;
16771          image: "ilist_item_shadow.png" COMP;
16772       }
16773       parts {
16774          part {
16775             name:           "event";
16776             type:           RECT;
16777             repeat_events: 1;
16778             description {
16779                state: "default" 0.0;
16780                color: 0 0 0 0;
16781             }
16782          }
16783          part {
16784             name: "base_sh";
16785             mouse_events: 0;
16786             description {
16787                state: "default" 0.0;
16788                align: 0.0 0.0;
16789                min: 0 10;
16790                fixed: 1 1;
16791                rel1 {
16792                   to: "base";
16793                   relative: 0.0 1.0;
16794                   offset: 0 0;
16795                }
16796                rel2 {
16797                   to: "base";
16798                   relative: 1.0 1.0;
16799                   offset: -1 0;
16800                }
16801                image {
16802                   normal: "ilist_item_shadow.png";
16803                }
16804                fill.smooth: 0;
16805             }
16806          }
16807          part {
16808             name: "base";
16809             mouse_events: 0;
16810             description {
16811                state: "default" 0.0;
16812                image {
16813                   normal: "ilist_1.png";
16814                   border: 2 2 2 2;
16815                }
16816                fill.smooth: 0;
16817             }
16818          }
16819          part { name: "bg";
16820             clip_to: "disclip";
16821             mouse_events: 0;
16822             description { state: "default" 0.0;
16823                visible: 0;
16824                color: 255 255 255 0;
16825                rel1 {
16826                   relative: 0.0 0.0;
16827                   offset: -5 -5;
16828                }
16829                rel2 {
16830                   relative: 1.0 1.0;
16831                   offset: 4 4;
16832                }
16833                image {
16834                   normal: "bt_sm_base1.png";
16835                   border: 6 6 6 6;
16836                }
16837                image.middle: SOLID;
16838             }
16839             description { state: "selected" 0.0;
16840                inherit: "default" 0.0;
16841                visible: 1;
16842                color: 255 255 255 255;
16843                rel1 {
16844                   relative: 0.0 0.0;
16845                   offset: -2 -2;
16846                }
16847                rel2 {
16848                   relative: 1.0 1.0;
16849                   offset: 1 1;
16850                }
16851             }
16852          }
16853          part { name: "elm.swallow.pad";
16854             type: SWALLOW;
16855             description { state: "default" 0.0;
16856                fixed: 1 0;
16857                align: 0.0 0.5;
16858                rel1 {
16859                   relative: 0.0  0.0;
16860                   offset:   4    4;
16861                }
16862                rel2 {
16863                   relative: 0.0  1.0;
16864                   offset:   4   -5;
16865                }
16866             }
16867          }
16868          part { name: "elm.swallow.icon";
16869             clip_to: "disclip";
16870             type: SWALLOW;
16871             description { state: "default" 0.0;
16872                fixed: 1 0;
16873                align: 0.0 0.5;
16874                rel1 {
16875                   to_x: "elm.swallow.pad";
16876                   relative: 1.0  0.0;
16877                   offset:   -1    4;
16878                }
16879                rel2 {
16880                   to_x: "elm.swallow.pad";
16881                   relative: 1.0  1.0;
16882                   offset:   -1   -5;
16883                }
16884             }
16885          }
16886          part { name: "elm.swallow.end";
16887             clip_to: "disclip";
16888             type: SWALLOW;
16889             description { state: "default" 0.0;
16890                fixed: 1 0;
16891                align: 1.0 0.5;
16892                aspect: 1.0 1.0;
16893                aspect_preference: VERTICAL;
16894                rel1 {
16895                   relative: 1.0  0.0;
16896                   offset:   -5    4;
16897                }
16898                rel2 {
16899                   relative: 1.0  1.0;
16900                   offset:   -5   -5;
16901                }
16902             }
16903          }
16904          part { name: "elm.text";
16905             clip_to: "disclip";
16906             type:           TEXT;
16907             effect:         SOFT_SHADOW;
16908             mouse_events:   0;
16909             scale: 1;
16910             description {
16911                state: "default" 0.0;
16912 //               min: 16 16;
16913                rel1 {
16914                   to_x:     "elm.swallow.icon";
16915                   relative: 1.0  0.0;
16916                   offset:   0 4;
16917                }
16918                rel2 {
16919                   to_x:     "elm.swallow.end";
16920                   relative: 0.0  1.0;
16921                   offset:   -1 -5;
16922                }
16923                color: 0 0 0 255;
16924                color3: 0 0 0 0;
16925                text {
16926                   font: "Sans";
16927                   size: 10;
16928                   min: 0 1;
16929 //                  min: 1 1;
16930                   align: 0.0 0.5;
16931                   text_class: "list_item";
16932                }
16933             }
16934             description { state: "selected" 0.0;
16935                inherit: "default" 0.0;
16936                color: 224 224 224 255;
16937                color3: 0 0 0 64;
16938             }
16939          }
16940          part { name: "fg1";
16941             clip_to: "disclip";
16942             mouse_events: 0;
16943             description { state: "default" 0.0;
16944                visible: 0;
16945                color: 255 255 255 0;
16946                rel1.to: "bg";
16947                rel2.relative: 1.0 0.5;
16948                rel2.to: "bg";
16949                image {
16950                   normal: "bt_sm_hilight.png";
16951                   border: 6 6 6 0;
16952                }
16953             }
16954             description { state: "selected" 0.0;
16955                inherit: "default" 0.0;
16956                visible: 1;
16957                color: 255 255 255 255;
16958             }
16959          }
16960          part { name: "fg2";
16961             clip_to: "disclip";
16962             mouse_events: 0;
16963             description { state: "default" 0.0;
16964                visible: 0;
16965                color: 255 255 255 0;
16966                rel1.to: "bg";
16967                rel2.to: "bg";
16968                image {
16969                   normal: "bt_sm_shine.png";
16970                   border: 6 6 6 0;
16971                }
16972             }
16973             description { state: "selected" 0.0;
16974                inherit: "default" 0.0;
16975                visible: 1;
16976                color: 255 255 255 255;
16977             }
16978          }
16979          part { name: "disclip";
16980             type: RECT;
16981             description { state: "default" 0.0;
16982                rel1.to: "bg";
16983                rel2.to: "bg";
16984             }
16985             description { state: "disabled" 0.0;
16986                inherit: "default" 0.0;
16987                color: 255 255 255 64;
16988             }
16989          }
16990       }
16991       programs {
16992          // signal: elm,state,%s,active
16993          //   a "check" item named %s went active
16994          // signal: elm,state,%s,passive
16995          //   a "check" item named %s went passive
16996          // default is passive
16997          program {
16998             name:    "go_active";
16999             signal:  "elm,state,selected";
17000             source:  "elm";
17001             action:  STATE_SET "selected" 0.0;
17002             target:  "bg";
17003             target:  "fg1";
17004             target:  "fg2";
17005             target:  "elm.text";
17006          }
17007          program {
17008             name:    "go_passive";
17009             signal:  "elm,state,unselected";
17010             source:  "elm";
17011             action:  STATE_SET "default" 0.0;
17012             target:  "bg";
17013             target:  "fg1";
17014             target:  "fg2";
17015             target:  "elm.text";
17016             transition: LINEAR 0.1;
17017          }
17018          program {
17019             name:    "go_disabled";
17020             signal:  "elm,state,disabled";
17021             source:  "elm";
17022             action:  STATE_SET "disabled" 0.0;
17023             target:  "disclip";
17024          }
17025          program {
17026             name:    "go_enabled";
17027             signal:  "elm,state,enabled";
17028             source:  "elm";
17029             action:  STATE_SET "default" 0.0;
17030             target:  "disclip";
17031          }
17032       }
17033    }
17034    group { name: "elm/genlist/item_odd/default/default";
17035       data.item: "stacking" "below";
17036       data.item: "selectraise" "on";
17037       data.item: "labels" "elm.text";
17038       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17039       data.item: "treesize" "20";
17040 //      data.item: "states" "";
17041       images {
17042          image: "bt_sm_base1.png" COMP;
17043          image: "bt_sm_shine.png" COMP;
17044          image: "bt_sm_hilight.png" COMP;
17045          image: "ilist_2.png" COMP;
17046       }
17047       parts {
17048          part { name: "event";
17049             type: RECT;
17050             repeat_events: 1;
17051             description {
17052                state: "default" 0.0;
17053                color: 0 0 0 0;
17054             }
17055          }
17056          part {
17057             name: "base";
17058             mouse_events: 0;
17059             description {
17060                state: "default" 0.0;
17061                image {
17062                   normal: "ilist_2.png";
17063                   border: 2 2 2 2;
17064                }
17065                fill.smooth: 0;
17066             }
17067          }
17068          part { name: "bg";
17069             clip_to: "disclip";
17070             mouse_events: 0;
17071             description { state: "default" 0.0;
17072                visible: 0;
17073                color: 255 255 255 0;
17074                rel1 {
17075                   relative: 0.0 0.0;
17076                   offset: -5 -5;
17077                }
17078                rel2 {
17079                   relative: 1.0 1.0;
17080                   offset: 4 4;
17081                }
17082                image {
17083                   normal: "bt_sm_base1.png";
17084                   border: 6 6 6 6;
17085                }
17086                image.middle: SOLID;
17087             }
17088             description { state: "selected" 0.0;
17089                inherit: "default" 0.0;
17090                visible: 1;
17091                color: 255 255 255 255;
17092                rel1 {
17093                   relative: 0.0 0.0;
17094                   offset: -2 -2;
17095                }
17096                rel2 {
17097                   relative: 1.0 1.0;
17098                   offset: 1 1;
17099                }
17100             }
17101          }
17102          part { name: "elm.swallow.pad";
17103             type: SWALLOW;
17104             description { state: "default" 0.0;
17105                fixed: 1 0;
17106                align: 0.0 0.5;
17107                rel1 {
17108                   relative: 0.0  0.0;
17109                   offset:   4    4;
17110                }
17111                rel2 {
17112                   relative: 0.0  1.0;
17113                   offset:   4   -5;
17114                }
17115             }
17116          }
17117          part { name: "elm.swallow.icon";
17118             clip_to: "disclip";
17119             type: SWALLOW;
17120             description { state: "default" 0.0;
17121                fixed: 1 0;
17122                align: 0.0 0.5;
17123                rel1 {
17124                   to_x: "elm.swallow.pad";
17125                   relative: 1.0  0.0;
17126                   offset:   -1    4;
17127                }
17128                rel2 {
17129                   to_x: "elm.swallow.pad";
17130                   relative: 1.0  1.0;
17131                   offset:   -1   -5;
17132                }
17133             }
17134          }
17135          part { name: "elm.swallow.end";
17136             clip_to: "disclip";
17137             type:          SWALLOW;
17138             description { state:    "default" 0.0;
17139                fixed: 1 0;
17140                align:    1.0 0.5;
17141                aspect: 1.0 1.0;
17142                aspect_preference: VERTICAL;
17143                rel1 {
17144                   relative: 1.0  0.0;
17145                   offset:   -5    4;
17146                }
17147                rel2 {
17148                   relative: 1.0  1.0;
17149                   offset:   -5   -5;
17150                }
17151             }
17152          }
17153          part { name: "elm.text";
17154             clip_to: "disclip";
17155             type:           TEXT;
17156             effect:         SOFT_SHADOW;
17157             mouse_events:   0;
17158             scale: 1;
17159             description {
17160                state: "default" 0.0;
17161 //               min:      16 16;
17162                rel1 {
17163                   to_x:     "elm.swallow.icon";
17164                   relative: 1.0  0.0;
17165                   offset:   0 4;
17166                }
17167                rel2 {
17168                   to_x:     "elm.swallow.end";
17169                   relative: 0.0  1.0;
17170                   offset:   -1 -5;
17171                }
17172                color: 0 0 0 255;
17173                color3: 0 0 0 0;
17174                text {
17175                   font: "Sans";
17176                   size: 10;
17177                   min: 1 1;
17178 //                  min: 0 1;
17179                   align: -1.0 0.5;
17180                   text_class: "list_item";
17181                }
17182             }
17183             description { state: "selected" 0.0;
17184                inherit: "default" 0.0;
17185                color: 224 224 224 255;
17186                color3: 0 0 0 64;
17187             }
17188          }
17189          part { name: "fg1";
17190             clip_to: "disclip";
17191             mouse_events: 0;
17192             description { state: "default" 0.0;
17193                visible: 0;
17194                color: 255 255 255 0;
17195                rel1.to: "bg";
17196                rel2.relative: 1.0 0.5;
17197                rel2.to: "bg";
17198                image {
17199                   normal: "bt_sm_hilight.png";
17200                   border: 6 6 6 0;
17201                }
17202             }
17203             description { state: "selected" 0.0;
17204                inherit: "default" 0.0;
17205                visible: 1;
17206                color: 255 255 255 255;
17207             }
17208          }
17209          part { name: "fg2";
17210             clip_to: "disclip";
17211             mouse_events: 0;
17212             description { state: "default" 0.0;
17213                visible: 0;
17214                color: 255 255 255 0;
17215                rel1.to: "bg";
17216                rel2.to: "bg";
17217                image {
17218                   normal: "bt_sm_shine.png";
17219                   border: 6 6 6 0;
17220                }
17221             }
17222             description { state: "selected" 0.0;
17223                inherit: "default" 0.0;
17224                visible: 1;
17225                color: 255 255 255 255;
17226             }
17227          }
17228          part { name: "disclip";
17229             type: RECT;
17230             description { state: "default" 0.0;
17231                rel1.to: "bg";
17232                rel2.to: "bg";
17233             }
17234             description { state: "disabled" 0.0;
17235                inherit: "default" 0.0;
17236                color: 255 255 255 64;
17237             }
17238          }
17239       }
17240       programs {
17241          // signal: elm,state,%s,active
17242          //   a "check" item named %s went active
17243          // signal: elm,state,%s,passive
17244          //   a "check" item named %s went passive
17245          // default is passive
17246          program {
17247             name:    "go_active";
17248             signal:  "elm,state,selected";
17249             source:  "elm";
17250             action:  STATE_SET "selected" 0.0;
17251             target:  "bg";
17252             target:  "fg1";
17253             target:  "fg2";
17254             target:  "elm.text";
17255          }
17256          program {
17257             name:    "go_passive";
17258             signal:  "elm,state,unselected";
17259             source:  "elm";
17260             action:  STATE_SET "default" 0.0;
17261             target:  "bg";
17262             target:  "fg1";
17263             target:  "fg2";
17264             target:  "elm.text";
17265             transition: LINEAR 0.1;
17266          }
17267          program {
17268             name:    "go_disabled";
17269             signal:  "elm,state,disabled";
17270             source:  "elm";
17271             action:  STATE_SET "disabled" 0.0;
17272             target:  "disclip";
17273          }
17274          program {
17275             name:    "go_enabled";
17276             signal:  "elm,state,enabled";
17277             source:  "elm";
17278             action:  STATE_SET "default" 0.0;
17279             target:  "disclip";
17280          }
17281       }
17282    }
17283    group { name: "elm/genlist/item_compress_odd/default/default";
17284       data.item: "stacking" "below";
17285       data.item: "selectraise" "on";
17286       data.item: "labels" "elm.text";
17287       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17288       data.item: "treesize" "20";
17289 //      data.item: "states" "";
17290       images {
17291          image: "bt_sm_base1.png" COMP;
17292          image: "bt_sm_shine.png" COMP;
17293          image: "bt_sm_hilight.png" COMP;
17294          image: "ilist_2.png" COMP;
17295       }
17296       parts {
17297          part { name: "event";
17298             type: RECT;
17299             repeat_events: 1;
17300             description {
17301                state: "default" 0.0;
17302                color: 0 0 0 0;
17303             }
17304          }
17305          part {
17306             name: "base";
17307             mouse_events: 0;
17308             description {
17309                state: "default" 0.0;
17310                image {
17311                   normal: "ilist_2.png";
17312                   border: 2 2 2 2;
17313                }
17314                fill.smooth: 0;
17315             }
17316          }
17317          part { name: "bg";
17318             clip_to: "disclip";
17319             mouse_events: 0;
17320             description { state: "default" 0.0;
17321                visible: 0;
17322                color: 255 255 255 0;
17323                rel1 {
17324                   relative: 0.0 0.0;
17325                   offset: -5 -5;
17326                }
17327                rel2 {
17328                   relative: 1.0 1.0;
17329                   offset: 4 4;
17330                }
17331                image {
17332                   normal: "bt_sm_base1.png";
17333                   border: 6 6 6 6;
17334                }
17335                image.middle: SOLID;
17336             }
17337             description { state: "selected" 0.0;
17338                inherit: "default" 0.0;
17339                visible: 1;
17340                color: 255 255 255 255;
17341                rel1 {
17342                   relative: 0.0 0.0;
17343                   offset: -2 -2;
17344                }
17345                rel2 {
17346                   relative: 1.0 1.0;
17347                   offset: 1 1;
17348                }
17349             }
17350          }
17351          part { name: "elm.swallow.pad";
17352             type: SWALLOW;
17353             description { state: "default" 0.0;
17354                fixed: 1 0;
17355                align: 0.0 0.5;
17356                rel1 {
17357                   relative: 0.0  0.0;
17358                   offset:   4    4;
17359                }
17360                rel2 {
17361                   relative: 0.0  1.0;
17362                   offset:   4   -5;
17363                }
17364             }
17365          }
17366          part { name: "elm.swallow.icon";
17367             clip_to: "disclip";
17368             type: SWALLOW;
17369             description { state: "default" 0.0;
17370                fixed: 1 0;
17371                align: 0.0 0.5;
17372                rel1 {
17373                   to_x: "elm.swallow.pad";
17374                   relative: 1.0  0.0;
17375                   offset:   -1    4;
17376                }
17377                rel2 {
17378                   to_x: "elm.swallow.pad";
17379                   relative: 1.0  1.0;
17380                   offset:   -1   -5;
17381                }
17382             }
17383          }
17384          part { name: "elm.swallow.end";
17385             clip_to: "disclip";
17386             type:          SWALLOW;
17387             description { state:    "default" 0.0;
17388                fixed: 1 0;
17389                align:    1.0 0.5;
17390                aspect: 1.0 1.0;
17391                aspect_preference: VERTICAL;
17392                rel1 {
17393                   relative: 1.0  0.0;
17394                   offset:   -5    4;
17395                }
17396                rel2 {
17397                   relative: 1.0  1.0;
17398                   offset:   -5   -5;
17399                }
17400             }
17401          }
17402          part { name: "elm.text";
17403             clip_to: "disclip";
17404             type:           TEXT;
17405             effect:         SOFT_SHADOW;
17406             mouse_events:   0;
17407             scale: 1;
17408             description {
17409                state: "default" 0.0;
17410 //               min:      16 16;
17411                rel1 {
17412                   to_x:     "elm.swallow.icon";
17413                   relative: 1.0  0.0;
17414                   offset:   0 4;
17415                }
17416                rel2 {
17417                   to_x:     "elm.swallow.end";
17418                   relative: 0.0  1.0;
17419                   offset:   -1 -5;
17420                }
17421                color: 0 0 0 255;
17422                color3: 0 0 0 0;
17423                text {
17424                   font: "Sans";
17425                   size: 10;
17426                   min: 0 1;
17427 //                  min: 1 1;
17428                   align: 0.0 0.5;
17429                   text_class: "list_item";
17430                }
17431             }
17432             description { state: "selected" 0.0;
17433                inherit: "default" 0.0;
17434                color: 224 224 224 255;
17435                color3: 0 0 0 64;
17436             }
17437          }
17438          part { name: "fg1";
17439             clip_to: "disclip";
17440             mouse_events: 0;
17441             description { state: "default" 0.0;
17442                visible: 0;
17443                color: 255 255 255 0;
17444                rel1.to: "bg";
17445                rel2.relative: 1.0 0.5;
17446                rel2.to: "bg";
17447                image {
17448                   normal: "bt_sm_hilight.png";
17449                   border: 6 6 6 0;
17450                }
17451             }
17452             description { state: "selected" 0.0;
17453                inherit: "default" 0.0;
17454                visible: 1;
17455                color: 255 255 255 255;
17456             }
17457          }
17458          part { name: "fg2";
17459             clip_to: "disclip";
17460             mouse_events: 0;
17461             description { state: "default" 0.0;
17462                visible: 0;
17463                color: 255 255 255 0;
17464                rel1.to: "bg";
17465                rel2.to: "bg";
17466                image {
17467                   normal: "bt_sm_shine.png";
17468                   border: 6 6 6 0;
17469                }
17470             }
17471             description { state: "selected" 0.0;
17472                inherit: "default" 0.0;
17473                visible: 1;
17474                color: 255 255 255 255;
17475             }
17476          }
17477          part { name: "disclip";
17478             type: RECT;
17479             description { state: "default" 0.0;
17480                rel1.to: "bg";
17481                rel2.to: "bg";
17482             }
17483             description { state: "disabled" 0.0;
17484                inherit: "default" 0.0;
17485                color: 255 255 255 64;
17486             }
17487          }
17488       }
17489       programs {
17490          // signal: elm,state,%s,active
17491          //   a "check" item named %s went active
17492          // signal: elm,state,%s,passive
17493          //   a "check" item named %s went passive
17494          // default is passive
17495          program {
17496             name:    "go_active";
17497             signal:  "elm,state,selected";
17498             source:  "elm";
17499             action:  STATE_SET "selected" 0.0;
17500             target:  "bg";
17501             target:  "fg1";
17502             target:  "fg2";
17503             target:  "elm.text";
17504          }
17505          program {
17506             name:    "go_passive";
17507             signal:  "elm,state,unselected";
17508             source:  "elm";
17509             action:  STATE_SET "default" 0.0;
17510             target:  "bg";
17511             target:  "fg1";
17512             target:  "fg2";
17513             target:  "elm.text";
17514             transition: LINEAR 0.1;
17515          }
17516          program {
17517             name:    "go_disabled";
17518             signal:  "elm,state,disabled";
17519             source:  "elm";
17520             action:  STATE_SET "disabled" 0.0;
17521             target:  "disclip";
17522          }
17523          program {
17524             name:    "go_enabled";
17525             signal:  "elm,state,enabled";
17526             source:  "elm";
17527             action:  STATE_SET "default" 0.0;
17528             target:  "disclip";
17529          }
17530       }
17531    }
17532
17533    group { name: "elm/genlist/tree/default/default";
17534       data.item: "stacking" "above";
17535       data.item: "selectraise" "on";
17536       data.item: "labels" "elm.text";
17537       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17538       data.item: "treesize" "20";
17539 //      data.item: "states" "";
17540       images {
17541          image: "bt_sm_base1.png" COMP;
17542          image: "bt_sm_shine.png" COMP;
17543          image: "bt_sm_hilight.png" COMP;
17544          image: "ilist_1.png" COMP;
17545          image: "ilist_item_shadow.png" COMP;
17546          image: "icon_arrow_left.png" COMP;
17547          image: "icon_arrow_right.png" COMP;
17548          image: "icon_arrow_down.png" COMP;
17549       }
17550       parts {
17551          part {
17552             name:           "event";
17553             type:           RECT;
17554             repeat_events: 1;
17555             description {
17556                state: "default" 0.0;
17557                color: 0 0 0 0;
17558             }
17559          }
17560          part {
17561             name: "base_sh";
17562             mouse_events: 0;
17563             description {
17564                state: "default" 0.0;
17565                align: 0.0 0.0;
17566                min: 0 10;
17567                fixed: 1 1;
17568                rel1 {
17569                   to: "base";
17570                   relative: 0.0 1.0;
17571                   offset: 0 0;
17572                }
17573                rel2 {
17574                   to: "base";
17575                   relative: 1.0 1.0;
17576                   offset: -1 0;
17577                }
17578                image {
17579                   normal: "ilist_item_shadow.png";
17580                }
17581                fill.smooth: 0;
17582             }
17583          }
17584          part {
17585             name: "base";
17586             mouse_events: 0;
17587             description {
17588                state: "default" 0.0;
17589                image {
17590                   normal: "ilist_1.png";
17591                   border: 2 2 2 2;
17592                }
17593                fill.smooth: 0;
17594             }
17595          }
17596          part { name: "bg";
17597             clip_to: "disclip";
17598             mouse_events: 0;
17599             description { state: "default" 0.0;
17600                visible: 0;
17601                color: 255 255 255 0;
17602                rel1 {
17603                   relative: 0.0 0.0;
17604                   offset: -5 -5;
17605                }
17606                rel2 {
17607                   relative: 1.0 1.0;
17608                   offset: 4 4;
17609                }
17610                image {
17611                   normal: "bt_sm_base1.png";
17612                   border: 6 6 6 6;
17613                }
17614                image.middle: SOLID;
17615             }
17616             description { state: "selected" 0.0;
17617                inherit: "default" 0.0;
17618                visible: 1;
17619                color: 255 255 255 255;
17620                rel1 {
17621                   relative: 0.0 0.0;
17622                   offset: -2 -2;
17623                }
17624                rel2 {
17625                   relative: 1.0 1.0;
17626                   offset: 1 1;
17627                }
17628             }
17629          }
17630          part { name: "elm.swallow.pad";
17631             type: SWALLOW;
17632             description { state: "default" 0.0;
17633                fixed: 1 0;
17634                align: 0.0 0.5;
17635                rel1 {
17636                   relative: 0.0  0.0;
17637                   offset:   4    4;
17638                }
17639                rel2 {
17640                   relative: 0.0  1.0;
17641                   offset:   4   -5;
17642                }
17643             }
17644          }
17645          part { name: "arrow";
17646             clip_to: "disclip";
17647             ignore_flags: ON_HOLD;
17648             description { state: "default" 0.0;
17649                fixed: 1 0;
17650                align: 0.0 0.5;
17651                aspect: 1.0 1.0;
17652                rel1 {
17653                   to_x: "elm.swallow.pad";
17654                   relative: 1.0  0.0;
17655                   offset:   -1    4;
17656                }
17657                rel2 {
17658                   to_x: "elm.swallow.pad";
17659                   relative: 1.0  1.0;
17660                   offset:   -1   -5;
17661                }
17662                image.normal: "icon_arrow_right.png";
17663             }
17664             description { state: "default" 0.1;
17665                inherit: "default" 0.0;
17666                image.normal: "icon_arrow_left.png";
17667             }
17668             description { state: "active" 0.0;
17669                inherit: "default" 0.0;
17670                image.normal: "icon_arrow_down.png";
17671             }
17672             description { state: "active" 0.1;
17673                inherit: "default" 0.0;
17674                image.normal: "icon_arrow_down.png";
17675             }
17676          }
17677          part { name: "elm.swallow.icon";
17678             clip_to: "disclip";
17679             type: SWALLOW;
17680             description { state: "default" 0.0;
17681                fixed: 1 0;
17682                align: 0.0 0.5;
17683                rel1 {
17684                   to_x: "arrow";
17685                   relative: 1.0  0.0;
17686                   offset:   4    4;
17687                }
17688                rel2 {
17689                   to_x: "arrow";
17690                   relative: 1.0  1.0;
17691                   offset:   4   -5;
17692                }
17693             }
17694          }
17695          part { name: "elm.swallow.end";
17696             clip_to: "disclip";
17697             type: SWALLOW;
17698             description { state: "default" 0.0;
17699                fixed: 1 0;
17700                align: 1.0 0.5;
17701                aspect: 1.0 1.0;
17702                aspect_preference: VERTICAL;
17703                rel1 {
17704                   relative: 1.0  0.0;
17705                   offset:   -5    4;
17706                }
17707                rel2 {
17708                   relative: 1.0  1.0;
17709                   offset:   -5   -5;
17710                }
17711             }
17712          }
17713          part { name: "elm.text";
17714             clip_to: "disclip";
17715             type:           TEXT;
17716             effect:         SOFT_SHADOW;
17717             mouse_events:   0;
17718             scale: 1;
17719             description {
17720                state: "default" 0.0;
17721 //               min: 16 16;
17722                rel1 {
17723                   to_x:     "elm.swallow.icon";
17724                   relative: 1.0  0.0;
17725                   offset:   0 4;
17726                }
17727                rel2 {
17728                   to_x:     "elm.swallow.end";
17729                   relative: 0.0  1.0;
17730                   offset:   -1 -5;
17731                }
17732                color: 0 0 0 255;
17733                color3: 0 0 0 0;
17734                text {
17735                   font: "Sans";
17736                   size: 10;
17737                   min: 1 1;
17738 //                  min: 0 1;
17739                   align: -1.0 0.5;
17740                   text_class: "list_item";
17741                }
17742             }
17743             description { state: "selected" 0.0;
17744                inherit: "default" 0.0;
17745                color: 224 224 224 255;
17746                color3: 0 0 0 64;
17747             }
17748          }
17749          part { name: "fg1";
17750             clip_to: "disclip";
17751             mouse_events: 0;
17752             description { state: "default" 0.0;
17753                visible: 0;
17754                color: 255 255 255 0;
17755                rel1.to: "bg";
17756                rel2.relative: 1.0 0.5;
17757                rel2.to: "bg";
17758                image {
17759                   normal: "bt_sm_hilight.png";
17760                   border: 6 6 6 0;
17761                }
17762             }
17763             description { state: "selected" 0.0;
17764                inherit: "default" 0.0;
17765                visible: 1;
17766                color: 255 255 255 255;
17767             }
17768          }
17769          part { name: "fg2";
17770             clip_to: "disclip";
17771             mouse_events: 0;
17772             description { state: "default" 0.0;
17773                visible: 0;
17774                color: 255 255 255 0;
17775                rel1.to: "bg";
17776                rel2.to: "bg";
17777                image {
17778                   normal: "bt_sm_shine.png";
17779                   border: 6 6 6 0;
17780                }
17781             }
17782             description { state: "selected" 0.0;
17783                inherit: "default" 0.0;
17784                visible: 1;
17785                color: 255 255 255 255;
17786             }
17787          }
17788          part { name: "disclip";
17789             type: RECT;
17790             description { state: "default" 0.0;
17791                rel1.to: "bg";
17792                rel2.to: "bg";
17793             }
17794             description { state: "disabled" 0.0;
17795                inherit: "default" 0.0;
17796                color: 255 255 255 64;
17797             }
17798          }
17799       }
17800       programs {
17801          // signal: elm,state,%s,active
17802          //   a "check" item named %s went active
17803          // signal: elm,state,%s,passive
17804          //   a "check" item named %s went passive
17805          // default is passive
17806          program {
17807             name:    "go_active";
17808             signal:  "elm,state,selected";
17809             source:  "elm";
17810             action:  STATE_SET "selected" 0.0;
17811             target:  "bg";
17812             target:  "fg1";
17813             target:  "fg2";
17814             target:  "elm.text";
17815          }
17816          program {
17817             name:    "go_passive";
17818             signal:  "elm,state,unselected";
17819             source:  "elm";
17820             action:  STATE_SET "default" 0.0;
17821             target:  "bg";
17822             target:  "fg1";
17823             target:  "fg2";
17824             target:  "elm.text";
17825             transition: LINEAR 0.1;
17826          }
17827          program {
17828             name:    "go_disabled";
17829             signal:  "elm,state,disabled";
17830             source:  "elm";
17831             action:  STATE_SET "disabled" 0.0;
17832             target:  "disclip";
17833          }
17834          program {
17835             name:    "go_enabled";
17836             signal:  "elm,state,enabled";
17837             source:  "elm";
17838             action:  STATE_SET "default" 0.0;
17839             target:  "disclip";
17840          }
17841          program {
17842             name:    "expand";
17843             signal:  "mouse,up,1";
17844             source:  "arrow";
17845             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17846          }
17847          program {
17848             name:    "go_expanded";
17849             signal:  "elm,state,expanded";
17850             source:  "elm";
17851             script {
17852                new st[31];
17853                new Float:vl;
17854                get_state(PART:"arrow", st, 30, vl);
17855                set_state(PART:"arrow", "active", vl);
17856             }
17857          }
17858          program {
17859             name:    "go_contracted";
17860             signal:  "elm,state,contracted";
17861             source:  "elm";
17862             script {
17863                new st[31];
17864                new Float:vl;
17865                get_state(PART:"arrow", st, 30, vl);
17866                set_state(PART:"arrow", "default", vl);
17867             }
17868          }
17869          program { name: "to_rtl";
17870             signal: "edje,state,rtl";
17871             source: "edje";
17872             script {
17873                new st[31];
17874                new Float:vl;
17875                get_state(PART:"arrow", st, 30, vl);
17876                if (vl == 0.0) {
17877                   set_state(PART:"arrow", st, 0.1);
17878                }
17879             }
17880          }
17881          program { name: "to_ltr";
17882             signal: "edje,state,ltr";
17883             source: "edje";
17884             script {
17885                new st[31];
17886                new Float:vl;
17887                get_state(PART:"arrow", st, 30, vl);
17888                if (vl == 0.1) {
17889                   set_state(PART:"arrow", st, 0.0);
17890                }
17891             }
17892          }
17893       }
17894    }
17895    group { name: "elm/genlist/tree_compress/default/default";
17896       data.item: "stacking" "above";
17897       data.item: "selectraise" "on";
17898       data.item: "labels" "elm.text";
17899       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17900       data.item: "treesize" "20";
17901 //      data.item: "states" "";
17902       images {
17903          image: "bt_sm_base1.png" COMP;
17904          image: "bt_sm_shine.png" COMP;
17905          image: "bt_sm_hilight.png" COMP;
17906          image: "ilist_1.png" COMP;
17907          image: "ilist_item_shadow.png" COMP;
17908          image: "icon_arrow_left.png" COMP;
17909          image: "icon_arrow_right.png" COMP;
17910          image: "icon_arrow_down.png" COMP;
17911       }
17912       parts {
17913          part {
17914             name:           "event";
17915             type:           RECT;
17916             repeat_events: 1;
17917             description {
17918                state: "default" 0.0;
17919                color: 0 0 0 0;
17920             }
17921          }
17922          part {
17923             name: "base_sh";
17924             mouse_events: 0;
17925             description {
17926                state: "default" 0.0;
17927                align: 0.0 0.0;
17928                min: 0 10;
17929                fixed: 1 1;
17930                rel1 {
17931                   to: "base";
17932                   relative: 0.0 1.0;
17933                   offset: 0 0;
17934                }
17935                rel2 {
17936                   to: "base";
17937                   relative: 1.0 1.0;
17938                   offset: -1 0;
17939                }
17940                image {
17941                   normal: "ilist_item_shadow.png";
17942                }
17943                fill.smooth: 0;
17944             }
17945          }
17946          part {
17947             name: "base";
17948             mouse_events: 0;
17949             description {
17950                state: "default" 0.0;
17951                image {
17952                   normal: "ilist_1.png";
17953                   border: 2 2 2 2;
17954                }
17955                fill.smooth: 0;
17956             }
17957          }
17958          part { name: "bg";
17959             clip_to: "disclip";
17960             mouse_events: 0;
17961             description { state: "default" 0.0;
17962                visible: 0;
17963                color: 255 255 255 0;
17964                rel1 {
17965                   relative: 0.0 0.0;
17966                   offset: -5 -5;
17967                }
17968                rel2 {
17969                   relative: 1.0 1.0;
17970                   offset: 4 4;
17971                }
17972                image {
17973                   normal: "bt_sm_base1.png";
17974                   border: 6 6 6 6;
17975                }
17976                image.middle: SOLID;
17977             }
17978             description { state: "selected" 0.0;
17979                inherit: "default" 0.0;
17980                visible: 1;
17981                color: 255 255 255 255;
17982                rel1 {
17983                   relative: 0.0 0.0;
17984                   offset: -2 -2;
17985                }
17986                rel2 {
17987                   relative: 1.0 1.0;
17988                   offset: 1 1;
17989                }
17990             }
17991          }
17992          part { name: "elm.swallow.pad";
17993             type: SWALLOW;
17994             description { state: "default" 0.0;
17995                fixed: 1 0;
17996                align: 0.0 0.5;
17997                rel1 {
17998                   relative: 0.0  0.0;
17999                   offset:   4    4;
18000                }
18001                rel2 {
18002                   relative: 0.0  1.0;
18003                   offset:   4   -5;
18004                }
18005             }
18006          }
18007          part { name: "arrow";
18008             clip_to: "disclip";
18009             ignore_flags: ON_HOLD;
18010             description { state: "default" 0.0;
18011                fixed: 1 0;
18012                align: 0.0 0.5;
18013                aspect: 1.0 1.0;
18014                rel1 {
18015                   to_x: "elm.swallow.pad";
18016                   relative: 1.0  0.0;
18017                   offset:   -1    4;
18018                }
18019                rel2 {
18020                   to_x: "elm.swallow.pad";
18021                   relative: 1.0  1.0;
18022                   offset:   -1   -5;
18023                }
18024                image.normal: "icon_arrow_right.png";
18025             }
18026             description { state: "default" 0.1;
18027                inherit: "default" 0.0;
18028                image.normal: "icon_arrow_left.png";
18029             }
18030             description { state: "active" 0.0;
18031                inherit: "default" 0.0;
18032                image.normal: "icon_arrow_down.png";
18033             }
18034             description { state: "active" 0.1;
18035                inherit: "default" 0.0;
18036                image.normal: "icon_arrow_down.png";
18037             }
18038          }
18039          part { name: "elm.swallow.icon";
18040             clip_to: "disclip";
18041             type: SWALLOW;
18042             description { state: "default" 0.0;
18043                fixed: 1 0;
18044                align: 0.0 0.5;
18045                rel1 {
18046                   to_x: "arrow";
18047                   relative: 1.0  0.0;
18048                   offset:   4    4;
18049                }
18050                rel2 {
18051                   to_x: "arrow";
18052                   relative: 1.0  1.0;
18053                   offset:   4   -5;
18054                }
18055             }
18056          }
18057          part { name: "elm.swallow.end";
18058             clip_to: "disclip";
18059             type: SWALLOW;
18060             description { state: "default" 0.0;
18061                fixed: 1 0;
18062                align: 1.0 0.5;
18063                aspect: 1.0 1.0;
18064                aspect_preference: VERTICAL;
18065                rel1 {
18066                   relative: 1.0  0.0;
18067                   offset:   -5    4;
18068                }
18069                rel2 {
18070                   relative: 1.0  1.0;
18071                   offset:   -5   -5;
18072                }
18073             }
18074          }
18075          part { name: "elm.text";
18076             clip_to: "disclip";
18077             type:           TEXT;
18078             effect:         SOFT_SHADOW;
18079             mouse_events:   0;
18080             scale: 1;
18081             description {
18082                state: "default" 0.0;
18083 //               min: 16 16;
18084                rel1 {
18085                   to_x:     "elm.swallow.icon";
18086                   relative: 1.0  0.0;
18087                   offset:   0 4;
18088                }
18089                rel2 {
18090                   to_x:     "elm.swallow.end";
18091                   relative: 0.0  1.0;
18092                   offset:   -1 -5;
18093                }
18094                color: 0 0 0 255;
18095                color3: 0 0 0 0;
18096                text {
18097                   font: "Sans";
18098                   size: 10;
18099 //                  min: 1 1;
18100                   min: 0 1;
18101                   align: 0.0 0.5;
18102                   text_class: "list_item";
18103                }
18104             }
18105             description { state: "selected" 0.0;
18106                inherit: "default" 0.0;
18107                color: 224 224 224 255;
18108                color3: 0 0 0 64;
18109             }
18110          }
18111          part { name: "fg1";
18112             clip_to: "disclip";
18113             mouse_events: 0;
18114             description { state: "default" 0.0;
18115                visible: 0;
18116                color: 255 255 255 0;
18117                rel1.to: "bg";
18118                rel2.relative: 1.0 0.5;
18119                rel2.to: "bg";
18120                image {
18121                   normal: "bt_sm_hilight.png";
18122                   border: 6 6 6 0;
18123                }
18124             }
18125             description { state: "selected" 0.0;
18126                inherit: "default" 0.0;
18127                visible: 1;
18128                color: 255 255 255 255;
18129             }
18130          }
18131          part { name: "fg2";
18132             clip_to: "disclip";
18133             mouse_events: 0;
18134             description { state: "default" 0.0;
18135                visible: 0;
18136                color: 255 255 255 0;
18137                rel1.to: "bg";
18138                rel2.to: "bg";
18139                image {
18140                   normal: "bt_sm_shine.png";
18141                   border: 6 6 6 0;
18142                }
18143             }
18144             description { state: "selected" 0.0;
18145                inherit: "default" 0.0;
18146                visible: 1;
18147                color: 255 255 255 255;
18148             }
18149          }
18150          part { name: "disclip";
18151             type: RECT;
18152             description { state: "default" 0.0;
18153                rel1.to: "bg";
18154                rel2.to: "bg";
18155             }
18156             description { state: "disabled" 0.0;
18157                inherit: "default" 0.0;
18158                color: 255 255 255 64;
18159             }
18160          }
18161       }
18162       programs {
18163          // signal: elm,state,%s,active
18164          //   a "check" item named %s went active
18165          // signal: elm,state,%s,passive
18166          //   a "check" item named %s went passive
18167          // default is passive
18168          program {
18169             name:    "go_active";
18170             signal:  "elm,state,selected";
18171             source:  "elm";
18172             action:  STATE_SET "selected" 0.0;
18173             target:  "bg";
18174             target:  "fg1";
18175             target:  "fg2";
18176             target:  "elm.text";
18177          }
18178          program {
18179             name:    "go_passive";
18180             signal:  "elm,state,unselected";
18181             source:  "elm";
18182             action:  STATE_SET "default" 0.0;
18183             target:  "bg";
18184             target:  "fg1";
18185             target:  "fg2";
18186             target:  "elm.text";
18187             transition: LINEAR 0.1;
18188          }
18189          program {
18190             name:    "go_disabled";
18191             signal:  "elm,state,disabled";
18192             source:  "elm";
18193             action:  STATE_SET "disabled" 0.0;
18194             target:  "disclip";
18195          }
18196          program {
18197             name:    "go_enabled";
18198             signal:  "elm,state,enabled";
18199             source:  "elm";
18200             action:  STATE_SET "default" 0.0;
18201             target:  "disclip";
18202          }
18203          program {
18204             name:    "expand";
18205             signal:  "mouse,up,1";
18206             source:  "arrow";
18207             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18208          }
18209          program {
18210             name:    "go_expanded";
18211             signal:  "elm,state,expanded";
18212             source:  "elm";
18213             script {
18214                new st[31];
18215                new Float:vl;
18216                get_state(PART:"arrow", st, 30, vl);
18217                set_state(PART:"arrow", "active", vl);
18218             }
18219          }
18220          program {
18221             name:    "go_contracted";
18222             signal:  "elm,state,contracted";
18223             source:  "elm";
18224             script {
18225                new st[31];
18226                new Float:vl;
18227                get_state(PART:"arrow", st, 30, vl);
18228                set_state(PART:"arrow", "default", vl);
18229             }
18230          }
18231          program { name: "to_rtl";
18232             signal: "edje,state,rtl";
18233             source: "edje";
18234             script {
18235                new st[31];
18236                new Float:vl;
18237                get_state(PART:"arrow", st, 30, vl);
18238                if (vl == 0.0) {
18239                   set_state(PART:"arrow", st, 0.1);
18240                }
18241             }
18242          }
18243          program { name: "to_ltr";
18244             signal: "edje,state,ltr";
18245             source: "edje";
18246             script {
18247                new st[31];
18248                new Float:vl;
18249                get_state(PART:"arrow", st, 30, vl);
18250                if (vl == 0.1) {
18251                   set_state(PART:"arrow", st, 0.0);
18252                }
18253             }
18254          }
18255       }
18256    }
18257    group { name: "elm/genlist/tree_odd/default/default";
18258       data.item: "stacking" "below";
18259       data.item: "selectraise" "on";
18260       data.item: "labels" "elm.text";
18261       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18262       data.item: "treesize" "20";
18263 //      data.item: "states" "";
18264       images {
18265          image: "bt_sm_base1.png" COMP;
18266          image: "bt_sm_shine.png" COMP;
18267          image: "bt_sm_hilight.png" COMP;
18268          image: "ilist_2.png" COMP;
18269          image: "icon_arrow_left.png" COMP;
18270          image: "icon_arrow_right.png" COMP;
18271          image: "icon_arrow_down.png" COMP;
18272       }
18273       parts {
18274          part {
18275             name:           "event";
18276             type:           RECT;
18277             repeat_events: 1;
18278             description {
18279                state: "default" 0.0;
18280                color: 0 0 0 0;
18281             }
18282          }
18283          part {
18284             name: "base";
18285             mouse_events: 0;
18286             description {
18287                state: "default" 0.0;
18288                image {
18289                   normal: "ilist_2.png";
18290                   border: 2 2 2 2;
18291                }
18292                fill.smooth: 0;
18293             }
18294          }
18295          part { name: "bg";
18296             clip_to: "disclip";
18297             mouse_events: 0;
18298             description { state: "default" 0.0;
18299                visible: 0;
18300                color: 255 255 255 0;
18301                rel1 {
18302                   relative: 0.0 0.0;
18303                   offset: -5 -5;
18304                }
18305                rel2 {
18306                   relative: 1.0 1.0;
18307                   offset: 4 4;
18308                }
18309                image {
18310                   normal: "bt_sm_base1.png";
18311                   border: 6 6 6 6;
18312                }
18313                image.middle: SOLID;
18314             }
18315             description { state: "selected" 0.0;
18316                inherit: "default" 0.0;
18317                visible: 1;
18318                color: 255 255 255 255;
18319                rel1 {
18320                   relative: 0.0 0.0;
18321                   offset: -2 -2;
18322                }
18323                rel2 {
18324                   relative: 1.0 1.0;
18325                   offset: 1 1;
18326                }
18327             }
18328          }
18329          part { name: "elm.swallow.pad";
18330             type: SWALLOW;
18331             description { state: "default" 0.0;
18332                fixed: 1 0;
18333                align: 0.0 0.5;
18334                rel1 {
18335                   relative: 0.0  0.0;
18336                   offset:   4    4;
18337                }
18338                rel2 {
18339                   relative: 0.0  1.0;
18340                   offset:   4   -5;
18341                }
18342             }
18343          }
18344          part { name: "arrow";
18345             clip_to: "disclip";
18346             ignore_flags: ON_HOLD;
18347             description { state: "default" 0.0;
18348                fixed: 1 0;
18349                align: 0.0 0.5;
18350                aspect: 1.0 1.0;
18351                rel1 {
18352                   to_x: "elm.swallow.pad";
18353                   relative: 1.0  0.0;
18354                   offset:   -1    4;
18355                }
18356                rel2 {
18357                   to_x: "elm.swallow.pad";
18358                   relative: 1.0  1.0;
18359                   offset:   -1   -5;
18360                }
18361                image.normal: "icon_arrow_right.png";
18362             }
18363             description { state: "default" 0.1;
18364                inherit: "default" 0.0;
18365                image.normal: "icon_arrow_left.png";
18366             }
18367             description { state: "active" 0.0;
18368                inherit: "default" 0.0;
18369                image.normal: "icon_arrow_down.png";
18370             }
18371             description { state: "active" 0.1;
18372                inherit: "default" 0.0;
18373                image.normal: "icon_arrow_down.png";
18374             }
18375          }
18376          part { name: "elm.swallow.icon";
18377             clip_to: "disclip";
18378             type: SWALLOW;
18379             description { state: "default" 0.0;
18380                fixed: 1 0;
18381                align: 0.0 0.5;
18382                rel1 {
18383                   to_x: "arrow";
18384                   relative: 1.0  0.0;
18385                   offset:   4    4;
18386                }
18387                rel2 {
18388                   to_x: "arrow";
18389                   relative: 1.0  1.0;
18390                   offset:   4   -5;
18391                }
18392             }
18393          }
18394          part { name: "elm.swallow.end";
18395             clip_to: "disclip";
18396             type: SWALLOW;
18397             description { state: "default" 0.0;
18398                fixed: 1 0;
18399                align: 1.0 0.5;
18400                aspect: 1.0 1.0;
18401                aspect_preference: VERTICAL;
18402                rel1 {
18403                   relative: 1.0  0.0;
18404                   offset:   -5    4;
18405                }
18406                rel2 {
18407                   relative: 1.0  1.0;
18408                   offset:   -5   -5;
18409                }
18410             }
18411          }
18412          part { name: "elm.text";
18413             clip_to: "disclip";
18414             type:           TEXT;
18415             effect:         SOFT_SHADOW;
18416             mouse_events:   0;
18417             scale: 1;
18418             description {
18419                state: "default" 0.0;
18420 //               min: 16 16;
18421                rel1 {
18422                   to_x:     "elm.swallow.icon";
18423                   relative: 1.0  0.0;
18424                   offset:   0 4;
18425                }
18426                rel2 {
18427                   to_x:     "elm.swallow.end";
18428                   relative: 0.0  1.0;
18429                   offset:   -1 -5;
18430                }
18431                color: 0 0 0 255;
18432                color3: 0 0 0 0;
18433                text {
18434                   font: "Sans";
18435                   size: 10;
18436                   min: 1 1;
18437 //                  min: 0 1;
18438                   align: -1.0 0.5;
18439                   text_class: "list_item";
18440                }
18441             }
18442             description { state: "selected" 0.0;
18443                inherit: "default" 0.0;
18444                color: 224 224 224 255;
18445                color3: 0 0 0 64;
18446             }
18447          }
18448          part { name: "fg1";
18449             clip_to: "disclip";
18450             mouse_events: 0;
18451             description { state: "default" 0.0;
18452                visible: 0;
18453                color: 255 255 255 0;
18454                rel1.to: "bg";
18455                rel2.relative: 1.0 0.5;
18456                rel2.to: "bg";
18457                image {
18458                   normal: "bt_sm_hilight.png";
18459                   border: 6 6 6 0;
18460                }
18461             }
18462             description { state: "selected" 0.0;
18463                inherit: "default" 0.0;
18464                visible: 1;
18465                color: 255 255 255 255;
18466             }
18467          }
18468          part { name: "fg2";
18469             clip_to: "disclip";
18470             mouse_events: 0;
18471             description { state: "default" 0.0;
18472                visible: 0;
18473                color: 255 255 255 0;
18474                rel1.to: "bg";
18475                rel2.to: "bg";
18476                image {
18477                   normal: "bt_sm_shine.png";
18478                   border: 6 6 6 0;
18479                }
18480             }
18481             description { state: "selected" 0.0;
18482                inherit: "default" 0.0;
18483                visible: 1;
18484                color: 255 255 255 255;
18485             }
18486          }
18487          part { name: "disclip";
18488             type: RECT;
18489             description { state: "default" 0.0;
18490                rel1.to: "bg";
18491                rel2.to: "bg";
18492             }
18493             description { state: "disabled" 0.0;
18494                inherit: "default" 0.0;
18495                color: 255 255 255 64;
18496             }
18497          }
18498       }
18499       programs {
18500          // signal: elm,state,%s,active
18501          //   a "check" item named %s went active
18502          // signal: elm,state,%s,passive
18503          //   a "check" item named %s went passive
18504          // default is passive
18505          program {
18506             name:    "go_active";
18507             signal:  "elm,state,selected";
18508             source:  "elm";
18509             action:  STATE_SET "selected" 0.0;
18510             target:  "bg";
18511             target:  "fg1";
18512             target:  "fg2";
18513             target:  "elm.text";
18514          }
18515          program {
18516             name:    "go_passive";
18517             signal:  "elm,state,unselected";
18518             source:  "elm";
18519             action:  STATE_SET "default" 0.0;
18520             target:  "bg";
18521             target:  "fg1";
18522             target:  "fg2";
18523             target:  "elm.text";
18524             transition: LINEAR 0.1;
18525          }
18526          program {
18527             name:    "go_disabled";
18528             signal:  "elm,state,disabled";
18529             source:  "elm";
18530             action:  STATE_SET "disabled" 0.0;
18531             target:  "disclip";
18532          }
18533          program {
18534             name:    "go_enabled";
18535             signal:  "elm,state,enabled";
18536             source:  "elm";
18537             action:  STATE_SET "default" 0.0;
18538             target:  "disclip";
18539          }
18540          program {
18541             name:    "expand";
18542             signal:  "mouse,up,1";
18543             source:  "arrow";
18544             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18545          }
18546          program {
18547             name:    "go_expanded";
18548             signal:  "elm,state,expanded";
18549             source:  "elm";
18550             script {
18551                new st[31];
18552                new Float:vl;
18553                get_state(PART:"arrow", st, 30, vl);
18554                set_state(PART:"arrow", "active", vl);
18555             }
18556          }
18557          program {
18558             name:    "go_contracted";
18559             signal:  "elm,state,contracted";
18560             source:  "elm";
18561             script {
18562                new st[31];
18563                new Float:vl;
18564                get_state(PART:"arrow", st, 30, vl);
18565                set_state(PART:"arrow", "default", vl);
18566             }
18567          }
18568          program { name: "to_rtl";
18569             signal: "edje,state,rtl";
18570             source: "edje";
18571             script {
18572                new st[31];
18573                new Float:vl;
18574                get_state(PART:"arrow", st, 30, vl);
18575                if (vl == 0.0) {
18576                   set_state(PART:"arrow", st, 0.1);
18577                }
18578             }
18579          }
18580          program { name: "to_ltr";
18581             signal: "edje,state,ltr";
18582             source: "edje";
18583             script {
18584                new st[31];
18585                new Float:vl;
18586                get_state(PART:"arrow", st, 30, vl);
18587                if (vl == 0.1) {
18588                   set_state(PART:"arrow", st, 0.0);
18589                }
18590             }
18591          }
18592       }
18593    }
18594    group { name: "elm/genlist/tree_compress_odd/default/default";
18595       data.item: "stacking" "below";
18596       data.item: "selectraise" "on";
18597       data.item: "labels" "elm.text";
18598       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18599       data.item: "treesize" "20";
18600 //      data.item: "states" "";
18601       images {
18602          image: "bt_sm_base1.png" COMP;
18603          image: "bt_sm_shine.png" COMP;
18604          image: "bt_sm_hilight.png" COMP;
18605          image: "ilist_2.png" COMP;
18606          image: "icon_arrow_left.png" COMP;
18607          image: "icon_arrow_right.png" COMP;
18608          image: "icon_arrow_down.png" COMP;
18609       }
18610       parts {
18611          part {
18612             name:           "event";
18613             type:           RECT;
18614             repeat_events: 1;
18615             description {
18616                state: "default" 0.0;
18617                color: 0 0 0 0;
18618             }
18619          }
18620          part {
18621             name: "base";
18622             mouse_events: 0;
18623             description {
18624                state: "default" 0.0;
18625                image {
18626                   normal: "ilist_2.png";
18627                   border: 2 2 2 2;
18628                }
18629                fill.smooth: 0;
18630             }
18631          }
18632          part { name: "bg";
18633             clip_to: "disclip";
18634             mouse_events: 0;
18635             description { state: "default" 0.0;
18636                visible: 0;
18637                color: 255 255 255 0;
18638                rel1 {
18639                   relative: 0.0 0.0;
18640                   offset: -5 -5;
18641                }
18642                rel2 {
18643                   relative: 1.0 1.0;
18644                   offset: 4 4;
18645                }
18646                image {
18647                   normal: "bt_sm_base1.png";
18648                   border: 6 6 6 6;
18649                }
18650                image.middle: SOLID;
18651             }
18652             description { state: "selected" 0.0;
18653                inherit: "default" 0.0;
18654                visible: 1;
18655                color: 255 255 255 255;
18656                rel1 {
18657                   relative: 0.0 0.0;
18658                   offset: -2 -2;
18659                }
18660                rel2 {
18661                   relative: 1.0 1.0;
18662                   offset: 1 1;
18663                }
18664             }
18665          }
18666          part { name: "elm.swallow.pad";
18667             type: SWALLOW;
18668             description { state: "default" 0.0;
18669                fixed: 1 0;
18670                align: 0.0 0.5;
18671                rel1 {
18672                   relative: 0.0  0.0;
18673                   offset:   4    4;
18674                }
18675                rel2 {
18676                   relative: 0.0  1.0;
18677                   offset:   4   -5;
18678                }
18679             }
18680          }
18681          part { name: "arrow";
18682             clip_to: "disclip";
18683             ignore_flags: ON_HOLD;
18684             description { state: "default" 0.0;
18685                fixed: 1 0;
18686                align: 0.0 0.5;
18687                aspect: 1.0 1.0;
18688                rel1 {
18689                   to_x: "elm.swallow.pad";
18690                   relative: 1.0  0.0;
18691                   offset:   -1    4;
18692                }
18693                rel2 {
18694                   to_x: "elm.swallow.pad";
18695                   relative: 1.0  1.0;
18696                   offset:   -1   -5;
18697                }
18698                image.normal: "icon_arrow_right.png";
18699             }
18700             description { state: "default" 0.1;
18701                inherit: "default" 0.0;
18702                image.normal: "icon_arrow_left.png";
18703             }
18704             description { state: "active" 0.0;
18705                inherit: "default" 0.0;
18706                image.normal: "icon_arrow_down.png";
18707             }
18708             description { state: "active" 0.1;
18709                inherit: "default" 0.0;
18710                image.normal: "icon_arrow_down.png";
18711             }
18712          }
18713          part { name: "elm.swallow.icon";
18714             clip_to: "disclip";
18715             type: SWALLOW;
18716             description { state: "default" 0.0;
18717                fixed: 1 0;
18718                align: 0.0 0.5;
18719                rel1 {
18720                   to_x: "arrow";
18721                   relative: 1.0  0.0;
18722                   offset:   4    4;
18723                }
18724                rel2 {
18725                   to_x: "arrow";
18726                   relative: 1.0  1.0;
18727                   offset:   4   -5;
18728                }
18729             }
18730          }
18731          part { name: "elm.swallow.end";
18732             clip_to: "disclip";
18733             type: SWALLOW;
18734             description { state: "default" 0.0;
18735                fixed: 1 0;
18736                align: 1.0 0.5;
18737                aspect: 1.0 1.0;
18738                aspect_preference: VERTICAL;
18739                rel1 {
18740                   relative: 1.0  0.0;
18741                   offset:   -5    4;
18742                }
18743                rel2 {
18744                   relative: 1.0  1.0;
18745                   offset:   -5   -5;
18746                }
18747             }
18748          }
18749          part { name: "elm.text";
18750             clip_to: "disclip";
18751             type:           TEXT;
18752             effect:         SOFT_SHADOW;
18753             mouse_events:   0;
18754             scale: 1;
18755             description {
18756                state: "default" 0.0;
18757 //               min: 16 16;
18758                rel1 {
18759                   to_x:     "elm.swallow.icon";
18760                   relative: 1.0  0.0;
18761                   offset:   0 4;
18762                }
18763                rel2 {
18764                   to_x:     "elm.swallow.end";
18765                   relative: 0.0  1.0;
18766                   offset:   -1 -5;
18767                }
18768                color: 0 0 0 255;
18769                color3: 0 0 0 0;
18770                text {
18771                   font: "Sans";
18772                   size: 10;
18773 //                  min: 1 1;
18774                   min: 0 1;
18775                   align: 0.0 0.5;
18776                   text_class: "list_item";
18777                }
18778             }
18779             description { state: "selected" 0.0;
18780                inherit: "default" 0.0;
18781                color: 224 224 224 255;
18782                color3: 0 0 0 64;
18783             }
18784          }
18785          part { name: "fg1";
18786             clip_to: "disclip";
18787             mouse_events: 0;
18788             description { state: "default" 0.0;
18789                visible: 0;
18790                color: 255 255 255 0;
18791                rel1.to: "bg";
18792                rel2.relative: 1.0 0.5;
18793                rel2.to: "bg";
18794                image {
18795                   normal: "bt_sm_hilight.png";
18796                   border: 6 6 6 0;
18797                }
18798             }
18799             description { state: "selected" 0.0;
18800                inherit: "default" 0.0;
18801                visible: 1;
18802                color: 255 255 255 255;
18803             }
18804          }
18805          part { name: "fg2";
18806             clip_to: "disclip";
18807             mouse_events: 0;
18808             description { state: "default" 0.0;
18809                visible: 0;
18810                color: 255 255 255 0;
18811                rel1.to: "bg";
18812                rel2.to: "bg";
18813                image {
18814                   normal: "bt_sm_shine.png";
18815                   border: 6 6 6 0;
18816                }
18817             }
18818             description { state: "selected" 0.0;
18819                inherit: "default" 0.0;
18820                visible: 1;
18821                color: 255 255 255 255;
18822             }
18823          }
18824          part { name: "disclip";
18825             type: RECT;
18826             description { state: "default" 0.0;
18827                rel1.to: "bg";
18828                rel2.to: "bg";
18829             }
18830             description { state: "disabled" 0.0;
18831                inherit: "default" 0.0;
18832                color: 255 255 255 64;
18833             }
18834          }
18835       }
18836       programs {
18837          // signal: elm,state,%s,active
18838          //   a "check" item named %s went active
18839          // signal: elm,state,%s,passive
18840          //   a "check" item named %s went passive
18841          // default is passive
18842          program {
18843             name:    "go_active";
18844             signal:  "elm,state,selected";
18845             source:  "elm";
18846             action:  STATE_SET "selected" 0.0;
18847             target:  "bg";
18848             target:  "fg1";
18849             target:  "fg2";
18850             target:  "elm.text";
18851          }
18852          program {
18853             name:    "go_passive";
18854             signal:  "elm,state,unselected";
18855             source:  "elm";
18856             action:  STATE_SET "default" 0.0;
18857             target:  "bg";
18858             target:  "fg1";
18859             target:  "fg2";
18860             target:  "elm.text";
18861             transition: LINEAR 0.1;
18862          }
18863          program {
18864             name:    "go_disabled";
18865             signal:  "elm,state,disabled";
18866             source:  "elm";
18867             action:  STATE_SET "disabled" 0.0;
18868             target:  "disclip";
18869          }
18870          program {
18871             name:    "go_enabled";
18872             signal:  "elm,state,enabled";
18873             source:  "elm";
18874             action:  STATE_SET "default" 0.0;
18875             target:  "disclip";
18876          }
18877          program {
18878             name:    "expand";
18879             signal:  "mouse,up,1";
18880             source:  "arrow";
18881             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18882          }
18883          program {
18884             name:    "go_expanded";
18885             signal:  "elm,state,expanded";
18886             source:  "elm";
18887             script {
18888                new st[31];
18889                new Float:vl;
18890                get_state(PART:"arrow", st, 30, vl);
18891                set_state(PART:"arrow", "active", vl);
18892             }
18893          }
18894          program {
18895             name:    "go_contracted";
18896             signal:  "elm,state,contracted";
18897             source:  "elm";
18898             script {
18899                new st[31];
18900                new Float:vl;
18901                get_state(PART:"arrow", st, 30, vl);
18902                set_state(PART:"arrow", "default", vl);
18903             }
18904          }
18905          program { name: "to_rtl";
18906             signal: "edje,state,rtl";
18907             source: "edje";
18908             script {
18909                new st[31];
18910                new Float:vl;
18911                get_state(PART:"arrow", st, 30, vl);
18912                if (vl == 0.0) {
18913                   set_state(PART:"arrow", st, 0.1);
18914                }
18915             }
18916          }
18917          program { name: "to_ltr";
18918             signal: "edje,state,ltr";
18919             source: "edje";
18920             script {
18921                new st[31];
18922                new Float:vl;
18923                get_state(PART:"arrow", st, 30, vl);
18924                if (vl == 0.1) {
18925                   set_state(PART:"arrow", st, 0.0);
18926                }
18927             }
18928          }
18929       }
18930    }
18931
18932    group { name: "elm/genlist/item/default_style/default";
18933        styles
18934        {
18935            style { name: "genlist_style";
18936                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18937                tag:  "br" "\n";
18938                tag:  "ps" "ps";
18939                tag:  "hilight" "+ font=Sans:style=Bold";
18940                tag:  "b" "+ font=Sans:style=Bold";
18941                tag:  "tab" "\t";
18942            }
18943            style { name: "genlist_selected_style";
18944                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18945                tag:  "br" "\n";
18946                tag:  "ps" "ps";
18947                tag:  "hilight" "+ font=Sans:style=Bold";
18948                tag:  "b" "+ font=Sans:style=Bold";
18949                tag:  "tab" "\t";
18950            }
18951        }
18952        data.item: "stacking" "above";
18953        data.item: "selectraise" "on";
18954        data.item: "labels" "elm.text";
18955        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18956        data.item: "treesize" "20";
18957        images {
18958            image: "bt_sm_base1.png" COMP;
18959            image: "bt_sm_shine.png" COMP;
18960            image: "bt_sm_hilight.png" COMP;
18961            image: "ilist_1.png" COMP;
18962            image: "ilist_item_shadow.png" COMP;
18963        }
18964        parts {
18965            part {
18966                name:           "event";
18967                type:           RECT;
18968                repeat_events: 1;
18969                description {
18970                    state: "default" 0.0;
18971                    color: 0 0 0 0;
18972                }
18973            }
18974            part {
18975                name: "base_sh";
18976                mouse_events: 0;
18977                description {
18978                    state: "default" 0.0;
18979                    align: 0.0 0.0;
18980                    min: 0 10;
18981                    fixed: 1 1;
18982                    rel1 {
18983                        to: "base";
18984                        relative: 0.0 1.0;
18985                        offset: 0 0;
18986                    }
18987                    rel2 {
18988                        to: "base";
18989                        relative: 1.0 1.0;
18990                        offset: -1 0;
18991                    }
18992                    image {
18993                        normal: "ilist_item_shadow.png";
18994                    }
18995                    fill.smooth: 0;
18996                }
18997            }
18998            part {
18999                name: "base";
19000                mouse_events: 0;
19001                description {
19002                    state: "default" 0.0;
19003                    min: 16 28;
19004                    image {
19005                        normal: "ilist_1.png";
19006                        border: 2 2 2 2;
19007                    }
19008                    fill.smooth: 0;
19009                }
19010            }
19011            part { name: "bg";
19012                clip_to: "disclip";
19013                mouse_events: 0;
19014                description { state: "default" 0.0;
19015                    visible: 0;
19016                    color: 255 255 255 0;
19017                    rel1 {
19018                        relative: 0.0 0.0;
19019                        offset: -5 -5;
19020                    }
19021                    rel2 {
19022                        relative: 1.0 1.0;
19023                        offset: 4 4;
19024                    }
19025                    image {
19026                        normal: "bt_sm_base1.png";
19027                        border: 6 6 6 6;
19028                    }
19029                    image.middle: SOLID;
19030                }
19031                description { state: "selected" 0.0;
19032                    inherit: "default" 0.0;
19033                    visible: 1;
19034                    color: 255 255 255 255;
19035                    rel1 {
19036                        relative: 0.0 0.0;
19037                        offset: -2 -2;
19038                    }
19039                    rel2 {
19040                        relative: 1.0 1.0;
19041                        offset: 1 1;
19042                    }
19043                }
19044            }
19045            part { name: "elm.swallow.pad";
19046                type: SWALLOW;
19047                description { state: "default" 0.0;
19048                    fixed: 1 0;
19049                    align: 0.0 0.5;
19050                    rel1 {
19051                        relative: 0.0  0.0;
19052                        offset:   4    4;
19053                    }
19054                    rel2 {
19055                        relative: 0.0  1.0;
19056                        offset:   4   -5;
19057                    }
19058                }
19059            }
19060            part { name: "elm.swallow.icon";
19061                clip_to: "disclip";
19062                type: SWALLOW;
19063                description { state: "default" 0.0;
19064                    fixed: 1 0;
19065                    align: 0.0 0.5;
19066                    rel1 {
19067                        to_x: "elm.swallow.pad";
19068                        relative: 1.0  0.0;
19069                        offset:   -1    4;
19070                    }
19071                    rel2 {
19072                        to_x: "elm.swallow.pad";
19073                        relative: 1.0  1.0;
19074                        offset:   -1   -5;
19075                    }
19076                }
19077            }
19078            part { name: "elm.swallow.end";
19079                clip_to: "disclip";
19080                type: SWALLOW;
19081                description { state: "default" 0.0;
19082                    fixed: 1 0;
19083                    align: 1.0 0.5;
19084                    aspect: 1.0 1.0;
19085                    aspect_preference: VERTICAL;
19086                    rel1 {
19087                        relative: 1.0  0.0;
19088                        offset:   -5    4;
19089                    }
19090                    rel2 {
19091                        relative: 1.0  1.0;
19092                        offset:   -5   -5;
19093                    }
19094                }
19095            }
19096            part { name: "elm.text";
19097                clip_to: "disclip";
19098                type: TEXTBLOCK;
19099                mouse_events: 0;
19100                scale: 1;
19101                description {
19102                    state: "default" 0.0;
19103                    align: 0.0 0.5;
19104                    fixed: 0 1;
19105                    rel1 {
19106                        to_x: "elm.swallow.icon";
19107                        to_y: "base";
19108                        relative: 1.0  0.5;
19109                        offset:   0 4;
19110                    }
19111                    rel2 {
19112                        to_x: "elm.swallow.end";
19113                        to_y: "base";
19114                        relative: 0.0  0.5;
19115                        offset:   -1 -5;
19116                    }
19117                    text {
19118                        style: "genlist_style";
19119                        min: 1 1;
19120                    }
19121                }
19122                description { state: "selected" 0.0;
19123                    inherit: "default" 0.0;
19124                    text {
19125                        style: "genlist_selected_style";
19126                    }
19127                }
19128            }
19129            part { name: "fg1";
19130                clip_to: "disclip";
19131                mouse_events: 0;
19132                description { state: "default" 0.0;
19133                    visible: 0;
19134                    color: 255 255 255 0;
19135                    rel1.to: "bg";
19136                    rel2.relative: 1.0 0.5;
19137                    rel2.to: "bg";
19138                    image {
19139                        normal: "bt_sm_hilight.png";
19140                        border: 6 6 6 0;
19141                    }
19142                }
19143                description { state: "selected" 0.0;
19144                    inherit: "default" 0.0;
19145                    visible: 1;
19146                    color: 255 255 255 255;
19147                }
19148            }
19149            part { name: "fg2";
19150                clip_to: "disclip";
19151                mouse_events: 0;
19152                description { state: "default" 0.0;
19153                    visible: 0;
19154                    color: 255 255 255 0;
19155                    rel1.to: "bg";
19156                    rel2.to: "bg";
19157                    image {
19158                        normal: "bt_sm_shine.png";
19159                        border: 6 6 6 0;
19160                    }
19161                }
19162                description { state: "selected" 0.0;
19163                    inherit: "default" 0.0;
19164                    visible: 1;
19165                    color: 255 255 255 255;
19166                }
19167            }
19168            part { name: "disclip";
19169                type: RECT;
19170                description { state: "default" 0.0;
19171                    rel1.to: "bg";
19172                    rel2.to: "bg";
19173                }
19174                description { state: "disabled" 0.0;
19175                    inherit: "default" 0.0;
19176                    color: 255 255 255 64;
19177                }
19178            }
19179        }
19180        programs {
19181            // signal: elm,state,%s,active
19182            //   a "check" item named %s went active
19183            // signal: elm,state,%s,passive
19184            //   a "check" item named %s went passive
19185            // default is passive
19186            program {
19187                name:    "go_active";
19188                signal:  "elm,state,selected";
19189                source:  "elm";
19190                action:  STATE_SET "selected" 0.0;
19191                target:  "bg";
19192                target:  "fg1";
19193                target:  "fg2";
19194                target:  "elm.text";
19195            }
19196            program {
19197                name:    "go_passive";
19198                signal:  "elm,state,unselected";
19199                source:  "elm";
19200                action:  STATE_SET "default" 0.0;
19201                target:  "bg";
19202                target:  "fg1";
19203                target:  "fg2";
19204                target:  "elm.text";
19205                transition: LINEAR 0.1;
19206            }
19207            program {
19208                name:    "go_disabled";
19209                signal:  "elm,state,disabled";
19210                source:  "elm";
19211                action:  STATE_SET "disabled" 0.0;
19212                target:  "disclip";
19213            }
19214            program {
19215                name:    "go_enabled";
19216                signal:  "elm,state,enabled";
19217                source:  "elm";
19218                action:  STATE_SET "default" 0.0;
19219                target:  "disclip";
19220            }
19221        }
19222    }
19223    group { name: "elm/genlist/item_odd/default_style/default";
19224        data.item: "stacking" "below";
19225        data.item: "selectraise" "on";
19226        data.item: "labels" "elm.text";
19227        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19228        data.item: "treesize" "20";
19229        images {
19230            image: "bt_sm_base1.png" COMP;
19231            image: "bt_sm_shine.png" COMP;
19232            image: "bt_sm_hilight.png" COMP;
19233            image: "ilist_2.png" COMP;
19234        }
19235        parts {
19236            part { name: "event";
19237                type: RECT;
19238                repeat_events: 1;
19239                description {
19240                    state: "default" 0.0;
19241                    color: 0 0 0 0;
19242                }
19243            }
19244            part {
19245                name: "base";
19246                mouse_events: 0;
19247                description {
19248                    state: "default" 0.0;
19249                    min: 16 28;
19250                    image {
19251                        normal: "ilist_2.png";
19252                        border: 2 2 2 2;
19253                    }
19254                    fill.smooth: 0;
19255                }
19256            }
19257            part { name: "bg";
19258                clip_to: "disclip";
19259                mouse_events: 0;
19260                description { state: "default" 0.0;
19261                    visible: 0;
19262                    color: 255 255 255 0;
19263                    rel1 {
19264                        relative: 0.0 0.0;
19265                        offset: -5 -5;
19266                    }
19267                    rel2 {
19268                        relative: 1.0 1.0;
19269                        offset: 4 4;
19270                    }
19271                    image {
19272                        normal: "bt_sm_base1.png";
19273                        border: 6 6 6 6;
19274                    }
19275                    image.middle: SOLID;
19276                }
19277                description { state: "selected" 0.0;
19278                    inherit: "default" 0.0;
19279                    visible: 1;
19280                    color: 255 255 255 255;
19281                    rel1 {
19282                        relative: 0.0 0.0;
19283                        offset: -2 -2;
19284                    }
19285                    rel2 {
19286                        relative: 1.0 1.0;
19287                        offset: 1 1;
19288                    }
19289                }
19290            }
19291            part { name: "elm.swallow.pad";
19292                type: SWALLOW;
19293                description { state: "default" 0.0;
19294                    fixed: 1 0;
19295                    align: 0.0 0.5;
19296                    rel1 {
19297                        relative: 0.0  0.0;
19298                        offset:   4    4;
19299                    }
19300                    rel2 {
19301                        relative: 0.0  1.0;
19302                        offset:   4   -5;
19303                    }
19304                }
19305            }
19306            part { name: "elm.swallow.icon";
19307                clip_to: "disclip";
19308                type: SWALLOW;
19309                description { state: "default" 0.0;
19310                    fixed: 1 0;
19311                    align: 0.0 0.5;
19312                    rel1 {
19313                        to_x: "elm.swallow.pad";
19314                        relative: 1.0  0.0;
19315                        offset:   -1    4;
19316                    }
19317                    rel2 {
19318                        to_x: "elm.swallow.pad";
19319                        relative: 1.0  1.0;
19320                        offset:   -1   -5;
19321                    }
19322                }
19323            }
19324            part { name: "elm.swallow.end";
19325                clip_to: "disclip";
19326                type:          SWALLOW;
19327                description { state:    "default" 0.0;
19328                    fixed: 1 0;
19329                    align:    1.0 0.5;
19330                    aspect: 1.0 1.0;
19331                    aspect_preference: VERTICAL;
19332                    rel1 {
19333                        relative: 1.0  0.0;
19334                        offset:   -5    4;
19335                    }
19336                    rel2 {
19337                        relative: 1.0  1.0;
19338                        offset:   -5   -5;
19339                    }
19340                }
19341            }
19342            part { name: "elm.text";
19343                clip_to: "disclip";
19344                type:           TEXTBLOCK;
19345                mouse_events:   0;
19346                scale: 1;
19347                description {
19348                    state: "default" 0.0;
19349                    align: 0.0 0.5;
19350                    fixed: 0 1;
19351                    rel1 {
19352                        to_x: "elm.swallow.icon";
19353                        to_y: "base";
19354                        relative: 1.0  0.5;
19355                        offset:   0 4;
19356                    }
19357                    rel2 {
19358                        to_x: "elm.swallow.end";
19359                        to_y: "base";
19360                        relative: 0.0  0.5;
19361                        offset:   -1 -5;
19362                    }
19363                    text {
19364                        style: "genlist_style";
19365                        min: 1 1;
19366                    }
19367                }
19368                description { state: "selected" 0.0;
19369                    inherit: "default" 0.0;
19370                    text {
19371                        style: "genlist_selected_style";
19372                    }
19373                }
19374            }
19375            part { name: "fg1";
19376                clip_to: "disclip";
19377                mouse_events: 0;
19378                description { state: "default" 0.0;
19379                    visible: 0;
19380                    color: 255 255 255 0;
19381                    rel1.to: "bg";
19382                    rel2.relative: 1.0 0.5;
19383                    rel2.to: "bg";
19384                    image {
19385                        normal: "bt_sm_hilight.png";
19386                        border: 6 6 6 0;
19387                    }
19388                }
19389                description { state: "selected" 0.0;
19390                    inherit: "default" 0.0;
19391                    visible: 1;
19392                    color: 255 255 255 255;
19393                }
19394            }
19395            part { name: "fg2";
19396                clip_to: "disclip";
19397                mouse_events: 0;
19398                description { state: "default" 0.0;
19399                    visible: 0;
19400                    color: 255 255 255 0;
19401                    rel1.to: "bg";
19402                    rel2.to: "bg";
19403                    image {
19404                        normal: "bt_sm_shine.png";
19405                        border: 6 6 6 0;
19406                    }
19407                }
19408                description { state: "selected" 0.0;
19409                    inherit: "default" 0.0;
19410                    visible: 1;
19411                    color: 255 255 255 255;
19412                }
19413            }
19414            part { name: "disclip";
19415                type: RECT;
19416                description { state: "default" 0.0;
19417                    rel1.to: "bg";
19418                    rel2.to: "bg";
19419                }
19420                description { state: "disabled" 0.0;
19421                    inherit: "default" 0.0;
19422                    color: 255 255 255 64;
19423                }
19424            }
19425        }
19426        programs {
19427            // signal: elm,state,%s,active
19428            //   a "check" item named %s went active
19429            // signal: elm,state,%s,passive
19430            //   a "check" item named %s went passive
19431            // default is passive
19432            program {
19433                name:    "go_active";
19434                signal:  "elm,state,selected";
19435                source:  "elm";
19436                action:  STATE_SET "selected" 0.0;
19437                target:  "bg";
19438                target:  "fg1";
19439                target:  "fg2";
19440                target:  "elm.text";
19441            }
19442            program {
19443                name:    "go_passive";
19444                signal:  "elm,state,unselected";
19445                source:  "elm";
19446                action:  STATE_SET "default" 0.0;
19447                target:  "bg";
19448                target:  "fg1";
19449                target:  "fg2";
19450                target:  "elm.text";
19451                transition: LINEAR 0.1;
19452            }
19453            program {
19454                name:    "go_disabled";
19455                signal:  "elm,state,disabled";
19456                source:  "elm";
19457                action:  STATE_SET "disabled" 0.0;
19458                target:  "disclip";
19459            }
19460            program {
19461                name:    "go_enabled";
19462                signal:  "elm,state,enabled";
19463                source:  "elm";
19464                action:  STATE_SET "default" 0.0;
19465                target:  "disclip";
19466            }
19467        }
19468    }
19469
19470    group { name: "elm/genlist/tree/default_style/default";
19471        data.item: "stacking" "above";
19472        data.item: "selectraise" "on";
19473        data.item: "labels" "elm.text";
19474        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19475        data.item: "treesize" "20";
19476        images {
19477            image: "bt_sm_base1.png" COMP;
19478            image: "bt_sm_shine.png" COMP;
19479            image: "bt_sm_hilight.png" COMP;
19480            image: "ilist_1.png" COMP;
19481            image: "ilist_item_shadow.png" COMP;
19482            image: "icon_arrow_right.png" COMP;
19483            image: "icon_arrow_down.png" COMP;
19484        }
19485        parts {
19486            part {
19487                name:           "event";
19488                type:           RECT;
19489                repeat_events: 1;
19490                description {
19491                    state: "default" 0.0;
19492                    color: 0 0 0 0;
19493                }
19494            }
19495            part {
19496                name: "base_sh";
19497                mouse_events: 0;
19498                description {
19499                    state: "default" 0.0;
19500                    align: 0.0 0.0;
19501                    min: 0 10;
19502                    fixed: 1 1;
19503                    rel1 {
19504                        to: "base";
19505                        relative: 0.0 1.0;
19506                        offset: 0 0;
19507                    }
19508                    rel2 {
19509                        to: "base";
19510                        relative: 1.0 1.0;
19511                        offset: -1 0;
19512                    }
19513                    image {
19514                        normal: "ilist_item_shadow.png";
19515                    }
19516                    fill.smooth: 0;
19517                }
19518            }
19519            part {
19520                name: "base";
19521                mouse_events: 0;
19522                description {
19523                    state: "default" 0.0;
19524                    min: 16 28;
19525                    image {
19526                        normal: "ilist_1.png";
19527                        border: 2 2 2 2;
19528                    }
19529                    fill.smooth: 0;
19530                }
19531            }
19532            part { name: "bg";
19533                clip_to: "disclip";
19534                mouse_events: 0;
19535                description { state: "default" 0.0;
19536                    visible: 0;
19537                    color: 255 255 255 0;
19538                    rel1 {
19539                        relative: 0.0 0.0;
19540                        offset: -5 -5;
19541                    }
19542                    rel2 {
19543                        relative: 1.0 1.0;
19544                        offset: 4 4;
19545                    }
19546                    image {
19547                        normal: "bt_sm_base1.png";
19548                        border: 6 6 6 6;
19549                    }
19550                    image.middle: SOLID;
19551                }
19552                description { state: "selected" 0.0;
19553                    inherit: "default" 0.0;
19554                    visible: 1;
19555                    color: 255 255 255 255;
19556                    rel1 {
19557                        relative: 0.0 0.0;
19558                        offset: -2 -2;
19559                    }
19560                    rel2 {
19561                        relative: 1.0 1.0;
19562                        offset: 1 1;
19563                    }
19564                }
19565            }
19566            part { name: "elm.swallow.pad";
19567                type: SWALLOW;
19568                description { state: "default" 0.0;
19569                    fixed: 1 0;
19570                    align: 0.0 0.5;
19571                    rel1 {
19572                        relative: 0.0  0.0;
19573                        offset:   4    4;
19574                    }
19575                    rel2 {
19576                        relative: 0.0  1.0;
19577                        offset:   4   -5;
19578                    }
19579                }
19580            }
19581            part { name: "arrow";
19582                clip_to: "disclip";
19583                ignore_flags: ON_HOLD;
19584                description { state: "default" 0.0;
19585                    fixed: 1 0;
19586                    align: 0.0 0.5;
19587                    aspect: 1.0 1.0;
19588                    rel1 {
19589                        to_x: "elm.swallow.pad";
19590                        relative: 1.0  0.0;
19591                        offset:   -1    4;
19592                    }
19593                    rel2 {
19594                        to_x: "elm.swallow.pad";
19595                        relative: 1.0  1.0;
19596                        offset:   -1   -5;
19597                    }
19598                    image.normal: "icon_arrow_right.png";
19599                }
19600                description { state: "active" 0.0;
19601                    inherit: "default" 0.0;
19602                    image.normal: "icon_arrow_down.png";
19603                }
19604            }
19605            part { name: "elm.swallow.icon";
19606                clip_to: "disclip";
19607                type: SWALLOW;
19608                description { state: "default" 0.0;
19609                    fixed: 1 0;
19610                    align: 0.0 0.5;
19611                    rel1 {
19612                        to_x: "arrow";
19613                        relative: 1.0  0.0;
19614                        offset:   4    4;
19615                    }
19616                    rel2 {
19617                        to_x: "arrow";
19618                        relative: 1.0  1.0;
19619                        offset:   4   -5;
19620                    }
19621                }
19622            }
19623            part { name: "elm.swallow.end";
19624                clip_to: "disclip";
19625                type: SWALLOW;
19626                description { state: "default" 0.0;
19627                    fixed: 1 0;
19628                    align: 1.0 0.5;
19629                    aspect: 1.0 1.0;
19630                    aspect_preference: VERTICAL;
19631                    rel1 {
19632                        relative: 1.0  0.0;
19633                        offset:   -5    4;
19634                    }
19635                    rel2 {
19636                        relative: 1.0  1.0;
19637                        offset:   -5   -5;
19638                    }
19639                }
19640            }
19641            part { name: "elm.text";
19642                clip_to: "disclip";
19643                type:           TEXTBLOCK;
19644                effect:         SOFT_SHADOW;
19645                mouse_events:   0;
19646                scale: 1;
19647                description {
19648                    state: "default" 0.0;
19649                    align: 0.0 0.5;
19650                    fixed: 0 1;
19651                    rel1 {
19652                        to_x:     "elm.swallow.icon";
19653                        to_y: "base";
19654                        relative: 1.0  0.5;
19655                        offset:   0 4;
19656                    }
19657                    rel2 {
19658                        to_x:     "elm.swallow.end";
19659                        to_y: "base";
19660                        relative: 0.0  0.5;
19661                        offset:   -1 -5;
19662                    }
19663                    text {
19664                        style: "genlist_style";
19665                        min: 1 1;
19666                    }
19667                }
19668                description { state: "selected" 0.0;
19669                    inherit: "default" 0.0;
19670                    text {
19671                        style: "genlist_selected_style";
19672                    }
19673                }
19674            }
19675            part { name: "fg1";
19676                clip_to: "disclip";
19677                mouse_events: 0;
19678                description { state: "default" 0.0;
19679                    visible: 0;
19680                    color: 255 255 255 0;
19681                    rel1.to: "bg";
19682                    rel2.relative: 1.0 0.5;
19683                    rel2.to: "bg";
19684                    image {
19685                        normal: "bt_sm_hilight.png";
19686                        border: 6 6 6 0;
19687                    }
19688                }
19689                description { state: "selected" 0.0;
19690                    inherit: "default" 0.0;
19691                    visible: 1;
19692                    color: 255 255 255 255;
19693                }
19694            }
19695            part { name: "fg2";
19696                clip_to: "disclip";
19697                mouse_events: 0;
19698                description { state: "default" 0.0;
19699                    visible: 0;
19700                    color: 255 255 255 0;
19701                    rel1.to: "bg";
19702                    rel2.to: "bg";
19703                    image {
19704                        normal: "bt_sm_shine.png";
19705                        border: 6 6 6 0;
19706                    }
19707                }
19708                description { state: "selected" 0.0;
19709                    inherit: "default" 0.0;
19710                    visible: 1;
19711                    color: 255 255 255 255;
19712                }
19713            }
19714            part { name: "disclip";
19715                type: RECT;
19716                description { state: "default" 0.0;
19717                    rel1.to: "bg";
19718                    rel2.to: "bg";
19719                }
19720                description { state: "disabled" 0.0;
19721                    inherit: "default" 0.0;
19722                    color: 255 255 255 64;
19723                }
19724            }
19725        }
19726        programs {
19727            // signal: elm,state,%s,active
19728            //   a "check" item named %s went active
19729            // signal: elm,state,%s,passive
19730            //   a "check" item named %s went passive
19731            // default is passive
19732            program {
19733                name:    "go_active";
19734                signal:  "elm,state,selected";
19735                source:  "elm";
19736                action:  STATE_SET "selected" 0.0;
19737                target:  "bg";
19738                target:  "fg1";
19739                target:  "fg2";
19740                target:  "elm.text";
19741            }
19742            program {
19743                name:    "go_passive";
19744                signal:  "elm,state,unselected";
19745                source:  "elm";
19746                action:  STATE_SET "default" 0.0;
19747                target:  "bg";
19748                target:  "fg1";
19749                target:  "fg2";
19750                target:  "elm.text";
19751                transition: LINEAR 0.1;
19752            }
19753            program {
19754                name:    "go_disabled";
19755                signal:  "elm,state,disabled";
19756                source:  "elm";
19757                action:  STATE_SET "disabled" 0.0;
19758                target:  "disclip";
19759            }
19760            program {
19761                name:    "go_enabled";
19762                signal:  "elm,state,enabled";
19763                source:  "elm";
19764                action:  STATE_SET "default" 0.0;
19765                target:  "disclip";
19766            }
19767            program {
19768                name:    "expand";
19769                signal:  "mouse,up,1";
19770                source:  "arrow";
19771                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19772            }
19773            program {
19774                name:    "go_expanded";
19775                signal:  "elm,state,expanded";
19776                source:  "elm";
19777                action:  STATE_SET "active" 0.0;
19778                target:  "arrow";
19779            }
19780            program {
19781                name:    "go_contracted";
19782                signal:  "elm,state,contracted";
19783                source:  "elm";
19784                action:  STATE_SET "default" 0.0;
19785                target:  "arrow";
19786            }
19787        }
19788    }
19789    group { name: "elm/genlist/tree_odd/default_style/default";
19790        data.item: "stacking" "below";
19791        data.item: "selectraise" "on";
19792        data.item: "labels" "elm.text";
19793        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19794        data.item: "treesize" "20";
19795        images {
19796            image: "bt_sm_base1.png" COMP;
19797            image: "bt_sm_shine.png" COMP;
19798            image: "bt_sm_hilight.png" COMP;
19799            image: "ilist_2.png" COMP;
19800            image: "icon_arrow_right.png" COMP;
19801            image: "icon_arrow_down.png" COMP;
19802        }
19803        parts {
19804            part {
19805                name:           "event";
19806                type:           RECT;
19807                repeat_events: 1;
19808                description {
19809                    state: "default" 0.0;
19810                    color: 0 0 0 0;
19811                }
19812            }
19813            part {
19814                name: "base";
19815                mouse_events: 0;
19816                description {
19817                    state: "default" 0.0;
19818                    min: 16 28;
19819                    image {
19820                        normal: "ilist_2.png";
19821                        border: 2 2 2 2;
19822                    }
19823                    fill.smooth: 0;
19824                }
19825            }
19826            part { name: "bg";
19827                clip_to: "disclip";
19828                mouse_events: 0;
19829                description { state: "default" 0.0;
19830                    visible: 0;
19831                    color: 255 255 255 0;
19832                    rel1 {
19833                        relative: 0.0 0.0;
19834                        offset: -5 -5;
19835                    }
19836                    rel2 {
19837                        relative: 1.0 1.0;
19838                        offset: 4 4;
19839                    }
19840                    image {
19841                        normal: "bt_sm_base1.png";
19842                        border: 6 6 6 6;
19843                    }
19844                    image.middle: SOLID;
19845                }
19846                description { state: "selected" 0.0;
19847                    inherit: "default" 0.0;
19848                    visible: 1;
19849                    color: 255 255 255 255;
19850                    rel1 {
19851                        relative: 0.0 0.0;
19852                        offset: -2 -2;
19853                    }
19854                    rel2 {
19855                        relative: 1.0 1.0;
19856                        offset: 1 1;
19857                    }
19858                }
19859            }
19860            part { name: "elm.swallow.pad";
19861                type: SWALLOW;
19862                description { state: "default" 0.0;
19863                    fixed: 1 0;
19864                    align: 0.0 0.5;
19865                    rel1 {
19866                        relative: 0.0  0.0;
19867                        offset:   4    4;
19868                    }
19869                    rel2 {
19870                        relative: 0.0  1.0;
19871                        offset:   4   -5;
19872                    }
19873                }
19874            }
19875            part { name: "arrow";
19876                clip_to: "disclip";
19877                ignore_flags: ON_HOLD;
19878                description { state: "default" 0.0;
19879                    fixed: 1 0;
19880                    align: 0.0 0.5;
19881                    aspect: 1.0 1.0;
19882                    rel1 {
19883                        to_x: "elm.swallow.pad";
19884                        relative: 1.0  0.0;
19885                        offset:   -1    4;
19886                    }
19887                    rel2 {
19888                        to_x: "elm.swallow.pad";
19889                        relative: 1.0  1.0;
19890                        offset:   -1   -5;
19891                    }
19892                    image.normal: "icon_arrow_right.png";
19893                }
19894                description { state: "active" 0.0;
19895                    inherit: "default" 0.0;
19896                    image.normal: "icon_arrow_down.png";
19897                }
19898            }
19899            part { name: "elm.swallow.icon";
19900                clip_to: "disclip";
19901                type: SWALLOW;
19902                description { state: "default" 0.0;
19903                    fixed: 1 0;
19904                    align: 0.0 0.5;
19905                    rel1 {
19906                        to_x: "arrow";
19907                        relative: 1.0  0.0;
19908                        offset:   4    4;
19909                    }
19910                    rel2 {
19911                        to_x: "arrow";
19912                        relative: 1.0  1.0;
19913                        offset:   4   -5;
19914                    }
19915                }
19916            }
19917            part { name: "elm.swallow.end";
19918                clip_to: "disclip";
19919                type: SWALLOW;
19920                description { state: "default" 0.0;
19921                    fixed: 1 0;
19922                    align: 1.0 0.5;
19923                    aspect: 1.0 1.0;
19924                    aspect_preference: VERTICAL;
19925                    rel1 {
19926                        relative: 1.0  0.0;
19927                        offset:   -5    4;
19928                    }
19929                    rel2 {
19930                        relative: 1.0  1.0;
19931                        offset:   -5   -5;
19932                    }
19933                }
19934            }
19935            part { name: "elm.text";
19936                clip_to: "disclip";
19937                type:           TEXTBLOCK;
19938                effect:         SOFT_SHADOW;
19939                mouse_events:   0;
19940                scale: 1;
19941                description {
19942                    state: "default" 0.0;
19943                    align: 0.0 0.5;
19944                    fixed: 0 1;
19945                    rel1 {
19946                        to_x:     "elm.swallow.icon";
19947                        to_y: "base";
19948                        relative: 1.0  0.5;
19949                        offset:   0 4;
19950                    }
19951                    rel2 {
19952                        to_x:     "elm.swallow.end";
19953                        to_y: "base";
19954                        relative: 0.0  0.5;
19955                        offset:   -1 -5;
19956                    }
19957                    text {
19958                        style: "genlist_style";
19959                        min: 1 1;
19960                    }
19961                }
19962                description { state: "selected" 0.0;
19963                    inherit: "default" 0.0;
19964                    text {
19965                        style: "genlist_selected_style";
19966                    }
19967                }
19968            }
19969            part { name: "fg1";
19970                clip_to: "disclip";
19971                mouse_events: 0;
19972                description { state: "default" 0.0;
19973                    visible: 0;
19974                    color: 255 255 255 0;
19975                    rel1.to: "bg";
19976                    rel2.relative: 1.0 0.5;
19977                    rel2.to: "bg";
19978                    image {
19979                        normal: "bt_sm_hilight.png";
19980                        border: 6 6 6 0;
19981                    }
19982                }
19983                description { state: "selected" 0.0;
19984                    inherit: "default" 0.0;
19985                    visible: 1;
19986                    color: 255 255 255 255;
19987                }
19988            }
19989            part { name: "fg2";
19990                clip_to: "disclip";
19991                mouse_events: 0;
19992                description { state: "default" 0.0;
19993                    visible: 0;
19994                    color: 255 255 255 0;
19995                    rel1.to: "bg";
19996                    rel2.to: "bg";
19997                    image {
19998                        normal: "bt_sm_shine.png";
19999                        border: 6 6 6 0;
20000                    }
20001                }
20002                description { state: "selected" 0.0;
20003                    inherit: "default" 0.0;
20004                    visible: 1;
20005                    color: 255 255 255 255;
20006                }
20007            }
20008            part { name: "disclip";
20009                type: RECT;
20010                description { state: "default" 0.0;
20011                    rel1.to: "bg";
20012                    rel2.to: "bg";
20013                }
20014                description { state: "disabled" 0.0;
20015                    inherit: "default" 0.0;
20016                    color: 255 255 255 64;
20017                }
20018            }
20019        }
20020        programs {
20021            // signal: elm,state,%s,active
20022            //   a "check" item named %s went active
20023            // signal: elm,state,%s,passive
20024            //   a "check" item named %s went passive
20025            // default is passive
20026            program {
20027                name:    "go_active";
20028                signal:  "elm,state,selected";
20029                source:  "elm";
20030                action:  STATE_SET "selected" 0.0;
20031                target:  "bg";
20032                target:  "fg1";
20033                target:  "fg2";
20034                target:  "elm.text";
20035            }
20036            program {
20037                name:    "go_passive";
20038                signal:  "elm,state,unselected";
20039                source:  "elm";
20040                action:  STATE_SET "default" 0.0;
20041                target:  "bg";
20042                target:  "fg1";
20043                target:  "fg2";
20044                target:  "elm.text";
20045                transition: LINEAR 0.1;
20046            }
20047            program {
20048                name:    "go_disabled";
20049                signal:  "elm,state,disabled";
20050                source:  "elm";
20051                action:  STATE_SET "disabled" 0.0;
20052                target:  "disclip";
20053            }
20054            program {
20055                name:    "go_enabled";
20056                signal:  "elm,state,enabled";
20057                source:  "elm";
20058                action:  STATE_SET "default" 0.0;
20059                target:  "disclip";
20060            }
20061            program {
20062                name:    "expand";
20063                signal:  "mouse,up,1";
20064                source:  "arrow";
20065                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20066            }
20067            program {
20068                name:    "go_expanded";
20069                signal:  "elm,state,expanded";
20070                source:  "elm";
20071                action:  STATE_SET "active" 0.0;
20072                target:  "arrow";
20073            }
20074            program {
20075                name:    "go_contracted";
20076                signal:  "elm,state,contracted";
20077                source:  "elm";
20078                action:  STATE_SET "default" 0.0;
20079                target:  "arrow";
20080            }
20081        }
20082    }
20083
20084
20085    group { name: "elm/genlist/item/double_label/default";
20086       data.item: "stacking" "above";
20087       data.item: "selectraise" "on";
20088       data.item: "labels" "elm.text elm.text.sub";
20089       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20090       data.item: "treesize" "20";
20091 //      data.item: "states" "";
20092       images {
20093          image: "bt_sm_base1.png" COMP;
20094          image: "bt_sm_shine.png" COMP;
20095          image: "bt_sm_hilight.png" COMP;
20096          image: "ilist_1.png" COMP;
20097          image: "ilist_item_shadow.png" COMP;
20098       }
20099       parts {
20100          part {
20101             name:           "event";
20102             type:           RECT;
20103             repeat_events: 1;
20104             description {
20105                state: "default" 0.0;
20106                color: 0 0 0 0;
20107             }
20108          }
20109          part {
20110             name: "base_sh";
20111             mouse_events: 0;
20112             description {
20113                state: "default" 0.0;
20114                align: 0.0 0.0;
20115                min: 0 10;
20116                fixed: 1 1;
20117                rel1 {
20118                   to: "base";
20119                   relative: 0.0 1.0;
20120                   offset: 0 0;
20121                }
20122                rel2 {
20123                   to: "base";
20124                   relative: 1.0 1.0;
20125                   offset: -1 0;
20126                }
20127                image {
20128                   normal: "ilist_item_shadow.png";
20129                }
20130                fill.smooth: 0;
20131             }
20132          }
20133          part {
20134             name: "base";
20135             mouse_events: 0;
20136             description {
20137                state: "default" 0.0;
20138                image {
20139                   normal: "ilist_1.png";
20140                   border: 2 2 2 2;
20141                }
20142                fill.smooth: 0;
20143             }
20144          }
20145          part { name: "bg";
20146             clip_to: "disclip";
20147             mouse_events: 0;
20148             description { state: "default" 0.0;
20149                visible: 0;
20150                color: 255 255 255 0;
20151                rel1 {
20152                   relative: 0.0 0.0;
20153                   offset: -5 -5;
20154                }
20155                rel2 {
20156                   relative: 1.0 1.0;
20157                   offset: 4 4;
20158                }
20159                image {
20160                   normal: "bt_sm_base1.png";
20161                   border: 6 6 6 6;
20162                }
20163                image.middle: SOLID;
20164             }
20165             description { state: "selected" 0.0;
20166                inherit: "default" 0.0;
20167                visible: 1;
20168                color: 255 255 255 255;
20169                rel1 {
20170                   relative: 0.0 0.0;
20171                   offset: -2 -2;
20172                }
20173                rel2 {
20174                   relative: 1.0 1.0;
20175                   offset: 1 1;
20176                }
20177             }
20178          }
20179          part { name: "elm.swallow.pad";
20180             type: SWALLOW;
20181             description { state: "default" 0.0;
20182                fixed: 1 0;
20183                align: 0.0 0.5;
20184                rel1 {
20185                   relative: 0.0  0.0;
20186                   offset:   4    4;
20187                }
20188                rel2 {
20189                   relative: 0.0  1.0;
20190                   offset:   4   -5;
20191                }
20192             }
20193          }
20194          part { name: "elm.swallow.icon";
20195             clip_to: "disclip";
20196             type: SWALLOW;
20197             description { state: "default" 0.0;
20198                fixed: 1 0;
20199                align: 0.0 0.5;
20200                rel1 {
20201                   to_x: "elm.swallow.pad";
20202                   relative: 1.0  0.0;
20203                   offset:   -1    4;
20204                }
20205                rel2 {
20206                   to_x: "elm.swallow.pad";
20207                   relative: 1.0  1.0;
20208                   offset:   -1   -5;
20209                }
20210             }
20211          }
20212          part { name: "elm.swallow.end";
20213             clip_to: "disclip";
20214             type: SWALLOW;
20215             description { state: "default" 0.0;
20216                fixed: 1 0;
20217                align: 1.0 0.5;
20218                aspect: 1.0 1.0;
20219                aspect_preference: VERTICAL;
20220                rel1 {
20221                   relative: 1.0  0.0;
20222                   offset:   -5    4;
20223                }
20224                rel2 {
20225                   relative: 1.0  1.0;
20226                   offset:   -5   -5;
20227                }
20228             }
20229          }
20230          part { name: "elm.text";
20231             clip_to: "disclip";
20232             type:           TEXT;
20233             effect:         SOFT_SHADOW;
20234             mouse_events:   0;
20235             scale: 1;
20236             description {
20237                state: "default" 0.0;
20238 //               min: 16 16;
20239                rel1 {
20240                   to_x:     "elm.swallow.icon";
20241                   relative: 1.0  0.0;
20242                   offset:   0 4;
20243                }
20244                rel2 {
20245                   to_x:     "elm.swallow.end";
20246                   relative: 0.0  0.5;
20247                   offset:   -1 -5;
20248                }
20249                color: 0 0 0 255;
20250                color3: 0 0 0 0;
20251                text {
20252                   font: "Sans";
20253                   size: 10;
20254                   min: 1 1;
20255 //                  min: 0 1;
20256                   align: 0.0 0.5;
20257                   text_class: "list_item";
20258                }
20259             }
20260             description { state: "selected" 0.0;
20261                inherit: "default" 0.0;
20262                color: 224 224 224 255;
20263                color3: 0 0 0 64;
20264             }
20265          }
20266          part { name: "elm.text.sub";
20267             clip_to: "disclip";
20268             type:           TEXT;
20269             mouse_events:   0;
20270             scale: 1;
20271             description {
20272                state: "default" 0.0;
20273 //               min: 16 16;
20274                rel1 {
20275                   to_x:     "elm.swallow.icon";
20276                   relative: 1.0  0.5;
20277                   offset:   0 4;
20278                }
20279                rel2 {
20280                   to_x:     "elm.swallow.end";
20281                   relative: 0.0  1.0;
20282                   offset:   -1 -5;
20283                }
20284                color: 0 0 0 128;
20285                color3: 0 0 0 0;
20286                text {
20287                   font: "Sans";
20288                   size: 8;
20289                   min: 1 1;
20290 //                  min: 0 1;
20291                   align: 0.0 0.5;
20292                   text_class: "list_item";
20293                }
20294             }
20295             description { state: "selected" 0.0;
20296                inherit: "default" 0.0;
20297                color: 128 128 128 255;
20298                color3: 0 0 0 32;
20299             }
20300          }
20301          part { name: "fg1";
20302             clip_to: "disclip";
20303             mouse_events: 0;
20304             description { state: "default" 0.0;
20305                visible: 0;
20306                color: 255 255 255 0;
20307                rel1.to: "bg";
20308                rel2.relative: 1.0 0.5;
20309                rel2.to: "bg";
20310                image {
20311                   normal: "bt_sm_hilight.png";
20312                   border: 6 6 6 0;
20313                }
20314             }
20315             description { state: "selected" 0.0;
20316                inherit: "default" 0.0;
20317                visible: 1;
20318                color: 255 255 255 255;
20319             }
20320          }
20321          part { name: "fg2";
20322             clip_to: "disclip";
20323             mouse_events: 0;
20324             description { state: "default" 0.0;
20325                visible: 0;
20326                color: 255 255 255 0;
20327                rel1.to: "bg";
20328                rel2.to: "bg";
20329                image {
20330                   normal: "bt_sm_shine.png";
20331                   border: 6 6 6 0;
20332                }
20333             }
20334             description { state: "selected" 0.0;
20335                inherit: "default" 0.0;
20336                visible: 1;
20337                color: 255 255 255 255;
20338             }
20339          }
20340          part { name: "disclip";
20341             type: RECT;
20342             description { state: "default" 0.0;
20343                rel1.to: "bg";
20344                rel2.to: "bg";
20345             }
20346             description { state: "disabled" 0.0;
20347                inherit: "default" 0.0;
20348                color: 255 255 255 64;
20349             }
20350          }
20351       }
20352       programs {
20353          // signal: elm,state,%s,active
20354          //   a "check" item named %s went active
20355          // signal: elm,state,%s,passive
20356          //   a "check" item named %s went passive
20357          // default is passive
20358          program {
20359             name:    "go_active";
20360             signal:  "elm,state,selected";
20361             source:  "elm";
20362             action:  STATE_SET "selected" 0.0;
20363             target:  "bg";
20364             target:  "fg1";
20365             target:  "fg2";
20366             target:  "elm.text";
20367             target:  "elm.text.sub";
20368          }
20369          program {
20370             name:    "go_passive";
20371             signal:  "elm,state,unselected";
20372             source:  "elm";
20373             action:  STATE_SET "default" 0.0;
20374             target:  "bg";
20375             target:  "fg1";
20376             target:  "fg2";
20377             target:  "elm.text";
20378             target:  "elm.text.sub";
20379             transition: LINEAR 0.1;
20380          }
20381          program {
20382             name:    "go_disabled";
20383             signal:  "elm,state,disabled";
20384             source:  "elm";
20385             action:  STATE_SET "disabled" 0.0;
20386             target:  "disclip";
20387          }
20388          program {
20389             name:    "go_enabled";
20390             signal:  "elm,state,enabled";
20391             source:  "elm";
20392             action:  STATE_SET "default" 0.0;
20393             target:  "disclip";
20394          }
20395       }
20396    }
20397    group { name: "elm/genlist/item_compress/double_label/default";
20398       data.item: "stacking" "above";
20399       data.item: "selectraise" "on";
20400       data.item: "labels" "elm.text elm.text.sub";
20401       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20402       data.item: "treesize" "20";
20403 //      data.item: "states" "";
20404       images {
20405          image: "bt_sm_base1.png" COMP;
20406          image: "bt_sm_shine.png" COMP;
20407          image: "bt_sm_hilight.png" COMP;
20408          image: "ilist_1.png" COMP;
20409          image: "ilist_item_shadow.png" COMP;
20410       }
20411       parts {
20412          part {
20413             name:           "event";
20414             type:           RECT;
20415             repeat_events: 1;
20416             description {
20417                state: "default" 0.0;
20418                color: 0 0 0 0;
20419             }
20420          }
20421          part {
20422             name: "base_sh";
20423             mouse_events: 0;
20424             description {
20425                state: "default" 0.0;
20426                align: 0.0 0.0;
20427                min: 0 10;
20428                fixed: 1 1;
20429                rel1 {
20430                   to: "base";
20431                   relative: 0.0 1.0;
20432                   offset: 0 0;
20433                }
20434                rel2 {
20435                   to: "base";
20436                   relative: 1.0 1.0;
20437                   offset: -1 0;
20438                }
20439                image {
20440                   normal: "ilist_item_shadow.png";
20441                }
20442                fill.smooth: 0;
20443             }
20444          }
20445          part {
20446             name: "base";
20447             mouse_events: 0;
20448             description {
20449                state: "default" 0.0;
20450                image {
20451                   normal: "ilist_1.png";
20452                   border: 2 2 2 2;
20453                }
20454                fill.smooth: 0;
20455             }
20456          }
20457          part { name: "bg";
20458             clip_to: "disclip";
20459             mouse_events: 0;
20460             description { state: "default" 0.0;
20461                visible: 0;
20462                color: 255 255 255 0;
20463                rel1 {
20464                   relative: 0.0 0.0;
20465                   offset: -5 -5;
20466                }
20467                rel2 {
20468                   relative: 1.0 1.0;
20469                   offset: 4 4;
20470                }
20471                image {
20472                   normal: "bt_sm_base1.png";
20473                   border: 6 6 6 6;
20474                }
20475                image.middle: SOLID;
20476             }
20477             description { state: "selected" 0.0;
20478                inherit: "default" 0.0;
20479                visible: 1;
20480                color: 255 255 255 255;
20481                rel1 {
20482                   relative: 0.0 0.0;
20483                   offset: -2 -2;
20484                }
20485                rel2 {
20486                   relative: 1.0 1.0;
20487                   offset: 1 1;
20488                }
20489             }
20490          }
20491          part { name: "elm.swallow.pad";
20492             type: SWALLOW;
20493             description { state: "default" 0.0;
20494                fixed: 1 0;
20495                align: 0.0 0.5;
20496                rel1 {
20497                   relative: 0.0  0.0;
20498                   offset:   4    4;
20499                }
20500                rel2 {
20501                   relative: 0.0  1.0;
20502                   offset:   4   -5;
20503                }
20504             }
20505          }
20506          part { name: "elm.swallow.icon";
20507             clip_to: "disclip";
20508             type: SWALLOW;
20509             description { state: "default" 0.0;
20510                fixed: 1 0;
20511                align: 0.0 0.5;
20512                rel1 {
20513                   to_x: "elm.swallow.pad";
20514                   relative: 1.0  0.0;
20515                   offset:   -1    4;
20516                }
20517                rel2 {
20518                   to_x: "elm.swallow.pad";
20519                   relative: 1.0  1.0;
20520                   offset:   -1   -5;
20521                }
20522             }
20523          }
20524          part { name: "elm.swallow.end";
20525             clip_to: "disclip";
20526             type: SWALLOW;
20527             description { state: "default" 0.0;
20528                fixed: 1 0;
20529                align: 1.0 0.5;
20530                aspect: 1.0 1.0;
20531                aspect_preference: VERTICAL;
20532                rel1 {
20533                   relative: 1.0  0.0;
20534                   offset:   -5    4;
20535                }
20536                rel2 {
20537                   relative: 1.0  1.0;
20538                   offset:   -5   -5;
20539                }
20540             }
20541          }
20542          part { name: "elm.text";
20543             clip_to: "disclip";
20544             type:           TEXT;
20545             effect:         SOFT_SHADOW;
20546             mouse_events:   0;
20547             scale: 1;
20548             description {
20549                state: "default" 0.0;
20550 //               min: 16 16;
20551                rel1 {
20552                   to_x:     "elm.swallow.icon";
20553                   relative: 1.0  0.0;
20554                   offset:   0 4;
20555                }
20556                rel2 {
20557                   to_x:     "elm.swallow.end";
20558                   relative: 0.0  0.5;
20559                   offset:   -1 -5;
20560                }
20561                color: 0 0 0 255;
20562                color3: 0 0 0 0;
20563                text {
20564                   font: "Sans";
20565                   size: 10;
20566 //                  min: 1 1;
20567                   min: 0 1;
20568                   align: 0.0 0.5;
20569                   text_class: "list_item";
20570                }
20571             }
20572             description { state: "selected" 0.0;
20573                inherit: "default" 0.0;
20574                color: 224 224 224 255;
20575                color3: 0 0 0 64;
20576             }
20577          }
20578          part { name: "elm.text.sub";
20579             clip_to: "disclip";
20580             type:           TEXT;
20581             mouse_events:   0;
20582             scale: 1;
20583             description {
20584                state: "default" 0.0;
20585 //               min: 16 16;
20586                rel1 {
20587                   to_x:     "elm.swallow.icon";
20588                   relative: 1.0  0.5;
20589                   offset:   0 4;
20590                }
20591                rel2 {
20592                   to_x:     "elm.swallow.end";
20593                   relative: 0.0  1.0;
20594                   offset:   -1 -5;
20595                }
20596                color: 0 0 0 128;
20597                color3: 0 0 0 0;
20598                text {
20599                   font: "Sans";
20600                   size: 8;
20601 //                  min: 1 1;
20602                   min: 0 1;
20603                   align: 0.0 0.5;
20604                   text_class: "list_item";
20605                }
20606             }
20607             description { state: "selected" 0.0;
20608                inherit: "default" 0.0;
20609                color: 128 128 128 255;
20610                color3: 0 0 0 32;
20611             }
20612          }
20613          part { name: "fg1";
20614             clip_to: "disclip";
20615             mouse_events: 0;
20616             description { state: "default" 0.0;
20617                visible: 0;
20618                color: 255 255 255 0;
20619                rel1.to: "bg";
20620                rel2.relative: 1.0 0.5;
20621                rel2.to: "bg";
20622                image {
20623                   normal: "bt_sm_hilight.png";
20624                   border: 6 6 6 0;
20625                }
20626             }
20627             description { state: "selected" 0.0;
20628                inherit: "default" 0.0;
20629                visible: 1;
20630                color: 255 255 255 255;
20631             }
20632          }
20633          part { name: "fg2";
20634             clip_to: "disclip";
20635             mouse_events: 0;
20636             description { state: "default" 0.0;
20637                visible: 0;
20638                color: 255 255 255 0;
20639                rel1.to: "bg";
20640                rel2.to: "bg";
20641                image {
20642                   normal: "bt_sm_shine.png";
20643                   border: 6 6 6 0;
20644                }
20645             }
20646             description { state: "selected" 0.0;
20647                inherit: "default" 0.0;
20648                visible: 1;
20649                color: 255 255 255 255;
20650             }
20651          }
20652          part { name: "disclip";
20653             type: RECT;
20654             description { state: "default" 0.0;
20655                rel1.to: "bg";
20656                rel2.to: "bg";
20657             }
20658             description { state: "disabled" 0.0;
20659                inherit: "default" 0.0;
20660                color: 255 255 255 64;
20661             }
20662          }
20663       }
20664       programs {
20665          // signal: elm,state,%s,active
20666          //   a "check" item named %s went active
20667          // signal: elm,state,%s,passive
20668          //   a "check" item named %s went passive
20669          // default is passive
20670          program {
20671             name:    "go_active";
20672             signal:  "elm,state,selected";
20673             source:  "elm";
20674             action:  STATE_SET "selected" 0.0;
20675             target:  "bg";
20676             target:  "fg1";
20677             target:  "fg2";
20678             target:  "elm.text";
20679             target:  "elm.text.sub";
20680          }
20681          program {
20682             name:    "go_passive";
20683             signal:  "elm,state,unselected";
20684             source:  "elm";
20685             action:  STATE_SET "default" 0.0;
20686             target:  "bg";
20687             target:  "fg1";
20688             target:  "fg2";
20689             target:  "elm.text";
20690             target:  "elm.text.sub";
20691             transition: LINEAR 0.1;
20692          }
20693          program {
20694             name:    "go_disabled";
20695             signal:  "elm,state,disabled";
20696             source:  "elm";
20697             action:  STATE_SET "disabled" 0.0;
20698             target:  "disclip";
20699          }
20700          program {
20701             name:    "go_enabled";
20702             signal:  "elm,state,enabled";
20703             source:  "elm";
20704             action:  STATE_SET "default" 0.0;
20705             target:  "disclip";
20706          }
20707       }
20708    }
20709    group { name: "elm/genlist/item_odd/double_label/default";
20710       data.item: "stacking" "below";
20711       data.item: "selectraise" "on";
20712       data.item: "labels" "elm.text elm.text.sub";
20713       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20714       data.item: "treesize" "20";
20715 //      data.item: "states" "";
20716       images {
20717          image: "bt_sm_base1.png" COMP;
20718          image: "bt_sm_shine.png" COMP;
20719          image: "bt_sm_hilight.png" COMP;
20720          image: "ilist_2.png" COMP;
20721       }
20722       parts {
20723          part { name: "event";
20724             type: RECT;
20725             repeat_events: 1;
20726             description {
20727                state: "default" 0.0;
20728                color: 0 0 0 0;
20729             }
20730          }
20731          part {
20732             name: "base";
20733             mouse_events: 0;
20734             description {
20735                state: "default" 0.0;
20736                image {
20737                   normal: "ilist_2.png";
20738                   border: 2 2 2 2;
20739                }
20740                fill.smooth: 0;
20741             }
20742          }
20743          part { name: "bg";
20744             clip_to: "disclip";
20745             mouse_events: 0;
20746             description { state: "default" 0.0;
20747                visible: 0;
20748                color: 255 255 255 0;
20749                rel1 {
20750                   relative: 0.0 0.0;
20751                   offset: -5 -5;
20752                }
20753                rel2 {
20754                   relative: 1.0 1.0;
20755                   offset: 4 4;
20756                }
20757                image {
20758                   normal: "bt_sm_base1.png";
20759                   border: 6 6 6 6;
20760                }
20761                image.middle: SOLID;
20762             }
20763             description { state: "selected" 0.0;
20764                inherit: "default" 0.0;
20765                visible: 1;
20766                color: 255 255 255 255;
20767                rel1 {
20768                   relative: 0.0 0.0;
20769                   offset: -2 -2;
20770                }
20771                rel2 {
20772                   relative: 1.0 1.0;
20773                   offset: 1 1;
20774                }
20775             }
20776          }
20777          part { name: "elm.swallow.pad";
20778             type: SWALLOW;
20779             description { state: "default" 0.0;
20780                fixed: 1 0;
20781                align: 0.0 0.5;
20782                rel1 {
20783                   relative: 0.0  0.0;
20784                   offset:   4    4;
20785                }
20786                rel2 {
20787                   relative: 0.0  1.0;
20788                   offset:   4   -5;
20789                }
20790             }
20791          }
20792          part { name: "elm.swallow.icon";
20793             clip_to: "disclip";
20794             type: SWALLOW;
20795             description { state: "default" 0.0;
20796                fixed: 1 0;
20797                align: 0.0 0.5;
20798                rel1 {
20799                   to_x: "elm.swallow.pad";
20800                   relative: 1.0  0.0;
20801                   offset:   -1    4;
20802                }
20803                rel2 {
20804                   to_x: "elm.swallow.pad";
20805                   relative: 1.0  1.0;
20806                   offset:   -1   -5;
20807                }
20808             }
20809          }
20810          part { name: "elm.swallow.end";
20811             clip_to: "disclip";
20812             type:          SWALLOW;
20813             description { state:    "default" 0.0;
20814                fixed: 1 0;
20815                align:    1.0 0.5;
20816                aspect: 1.0 1.0;
20817                aspect_preference: VERTICAL;
20818                rel1 {
20819                   relative: 1.0  0.0;
20820                   offset:   -5    4;
20821                }
20822                rel2 {
20823                   relative: 1.0  1.0;
20824                   offset:   -5   -5;
20825                }
20826             }
20827          }
20828          part { name: "elm.text";
20829             clip_to: "disclip";
20830             type:           TEXT;
20831             effect:         SOFT_SHADOW;
20832             mouse_events:   0;
20833             scale: 1;
20834             description {
20835                state: "default" 0.0;
20836 //               min: 16 16;
20837                rel1 {
20838                   to_x:     "elm.swallow.icon";
20839                   relative: 1.0  0.0;
20840                   offset:   0 4;
20841                }
20842                rel2 {
20843                   to_x:     "elm.swallow.end";
20844                   relative: 0.0  0.5;
20845                   offset:   -1 -5;
20846                }
20847                color: 0 0 0 255;
20848                color3: 0 0 0 0;
20849                text {
20850                   font: "Sans";
20851                   size: 10;
20852                   min: 1 1;
20853 //                  min: 0 1;
20854                   align: 0.0 0.5;
20855                   text_class: "list_item";
20856                }
20857             }
20858             description { state: "selected" 0.0;
20859                inherit: "default" 0.0;
20860                color: 224 224 224 255;
20861                color3: 0 0 0 64;
20862             }
20863          }
20864          part { name: "elm.text.sub";
20865             clip_to: "disclip";
20866             type:           TEXT;
20867             mouse_events:   0;
20868             scale: 1;
20869             description {
20870                state: "default" 0.0;
20871 //               min: 16 16;
20872                rel1 {
20873                   to_x:     "elm.swallow.icon";
20874                   relative: 1.0  0.5;
20875                   offset:   0 4;
20876                }
20877                rel2 {
20878                   to_x:     "elm.swallow.end";
20879                   relative: 0.0  1.0;
20880                   offset:   -1 -5;
20881                }
20882                color: 0 0 0 128;
20883                color3: 0 0 0 0;
20884                text {
20885                   font: "Sans";
20886                   size: 8;
20887                   min: 1 1;
20888 //                  min: 0 1;
20889                   align: 0.0 0.5;
20890                   text_class: "list_item";
20891                }
20892             }
20893             description { state: "selected" 0.0;
20894                inherit: "default" 0.0;
20895                color: 128 128 128 255;
20896                color3: 0 0 0 32;
20897             }
20898          }
20899          part { name: "fg1";
20900             clip_to: "disclip";
20901             mouse_events: 0;
20902             description { state: "default" 0.0;
20903                visible: 0;
20904                color: 255 255 255 0;
20905                rel1.to: "bg";
20906                rel2.relative: 1.0 0.5;
20907                rel2.to: "bg";
20908                image {
20909                   normal: "bt_sm_hilight.png";
20910                   border: 6 6 6 0;
20911                }
20912             }
20913             description { state: "selected" 0.0;
20914                inherit: "default" 0.0;
20915                visible: 1;
20916                color: 255 255 255 255;
20917             }
20918          }
20919          part { name: "fg2";
20920             clip_to: "disclip";
20921             mouse_events: 0;
20922             description { state: "default" 0.0;
20923                visible: 0;
20924                color: 255 255 255 0;
20925                rel1.to: "bg";
20926                rel2.to: "bg";
20927                image {
20928                   normal: "bt_sm_shine.png";
20929                   border: 6 6 6 0;
20930                }
20931             }
20932             description { state: "selected" 0.0;
20933                inherit: "default" 0.0;
20934                visible: 1;
20935                color: 255 255 255 255;
20936             }
20937          }
20938          part { name: "disclip";
20939             type: RECT;
20940             description { state: "default" 0.0;
20941                rel1.to: "bg";
20942                rel2.to: "bg";
20943             }
20944             description { state: "disabled" 0.0;
20945                inherit: "default" 0.0;
20946                color: 255 255 255 64;
20947             }
20948          }
20949       }
20950       programs {
20951          // signal: elm,state,%s,active
20952          //   a "check" item named %s went active
20953          // signal: elm,state,%s,passive
20954          //   a "check" item named %s went passive
20955          // default is passive
20956          program {
20957             name:    "go_active";
20958             signal:  "elm,state,selected";
20959             source:  "elm";
20960             action:  STATE_SET "selected" 0.0;
20961             target:  "bg";
20962             target:  "fg1";
20963             target:  "fg2";
20964             target:  "elm.text";
20965             target:  "elm.text.sub";
20966          }
20967          program {
20968             name:    "go_passive";
20969             signal:  "elm,state,unselected";
20970             source:  "elm";
20971             action:  STATE_SET "default" 0.0;
20972             target:  "bg";
20973             target:  "fg1";
20974             target:  "fg2";
20975             target:  "elm.text";
20976             target:  "elm.text.sub";
20977             transition: LINEAR 0.1;
20978          }
20979          program {
20980             name:    "go_disabled";
20981             signal:  "elm,state,disabled";
20982             source:  "elm";
20983             action:  STATE_SET "disabled" 0.0;
20984             target:  "disclip";
20985          }
20986          program {
20987             name:    "go_enabled";
20988             signal:  "elm,state,enabled";
20989             source:  "elm";
20990             action:  STATE_SET "default" 0.0;
20991             target:  "disclip";
20992          }
20993       }
20994    }
20995    group { name: "elm/genlist/item_compress_odd/double_label/default";
20996       data.item: "stacking" "below";
20997       data.item: "selectraise" "on";
20998       data.item: "labels" "elm.text elm.text.sub";
20999       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21000       data.item: "treesize" "20";
21001 //      data.item: "states" "";
21002       images {
21003          image: "bt_sm_base1.png" COMP;
21004          image: "bt_sm_shine.png" COMP;
21005          image: "bt_sm_hilight.png" COMP;
21006          image: "ilist_2.png" COMP;
21007       }
21008       parts {
21009          part { name: "event";
21010             type: RECT;
21011             repeat_events: 1;
21012             description {
21013                state: "default" 0.0;
21014                color: 0 0 0 0;
21015             }
21016          }
21017          part {
21018             name: "base";
21019             mouse_events: 0;
21020             description {
21021                state: "default" 0.0;
21022                image {
21023                   normal: "ilist_2.png";
21024                   border: 2 2 2 2;
21025                }
21026                fill.smooth: 0;
21027             }
21028          }
21029          part { name: "bg";
21030             clip_to: "disclip";
21031             mouse_events: 0;
21032             description { state: "default" 0.0;
21033                visible: 0;
21034                color: 255 255 255 0;
21035                rel1 {
21036                   relative: 0.0 0.0;
21037                   offset: -5 -5;
21038                }
21039                rel2 {
21040                   relative: 1.0 1.0;
21041                   offset: 4 4;
21042                }
21043                image {
21044                   normal: "bt_sm_base1.png";
21045                   border: 6 6 6 6;
21046                }
21047                image.middle: SOLID;
21048             }
21049             description { state: "selected" 0.0;
21050                inherit: "default" 0.0;
21051                visible: 1;
21052                color: 255 255 255 255;
21053                rel1 {
21054                   relative: 0.0 0.0;
21055                   offset: -2 -2;
21056                }
21057                rel2 {
21058                   relative: 1.0 1.0;
21059                   offset: 1 1;
21060                }
21061             }
21062          }
21063          part { name: "elm.swallow.pad";
21064             type: SWALLOW;
21065             description { state: "default" 0.0;
21066                fixed: 1 0;
21067                align: 0.0 0.5;
21068                rel1 {
21069                   relative: 0.0  0.0;
21070                   offset:   4    4;
21071                }
21072                rel2 {
21073                   relative: 0.0  1.0;
21074                   offset:   4   -5;
21075                }
21076             }
21077          }
21078          part { name: "elm.swallow.icon";
21079             clip_to: "disclip";
21080             type: SWALLOW;
21081             description { state: "default" 0.0;
21082                fixed: 1 0;
21083                align: 0.0 0.5;
21084                rel1 {
21085                   to_x: "elm.swallow.pad";
21086                   relative: 1.0  0.0;
21087                   offset:   -1    4;
21088                }
21089                rel2 {
21090                   to_x: "elm.swallow.pad";
21091                   relative: 1.0  1.0;
21092                   offset:   -1   -5;
21093                }
21094             }
21095          }
21096          part { name: "elm.swallow.end";
21097             clip_to: "disclip";
21098             type:          SWALLOW;
21099             description { state:    "default" 0.0;
21100                fixed: 1 0;
21101                align:    1.0 0.5;
21102                aspect: 1.0 1.0;
21103                aspect_preference: VERTICAL;
21104                rel1 {
21105                   relative: 1.0  0.0;
21106                   offset:   -5    4;
21107                }
21108                rel2 {
21109                   relative: 1.0  1.0;
21110                   offset:   -5   -5;
21111                }
21112             }
21113          }
21114          part { name: "elm.text";
21115             clip_to: "disclip";
21116             type:           TEXT;
21117             effect:         SOFT_SHADOW;
21118             mouse_events:   0;
21119             scale: 1;
21120             description {
21121                state: "default" 0.0;
21122 //               min: 16 16;
21123                rel1 {
21124                   to_x:     "elm.swallow.icon";
21125                   relative: 1.0  0.0;
21126                   offset:   0 4;
21127                }
21128                rel2 {
21129                   to_x:     "elm.swallow.end";
21130                   relative: 0.0  0.5;
21131                   offset:   -1 -5;
21132                }
21133                color: 0 0 0 255;
21134                color3: 0 0 0 0;
21135                text {
21136                   font: "Sans";
21137                   size: 10;
21138 //                  min: 1 1;
21139                   min: 0 1;
21140                   align: 0.0 0.5;
21141                   text_class: "list_item";
21142                }
21143             }
21144             description { state: "selected" 0.0;
21145                inherit: "default" 0.0;
21146                color: 224 224 224 255;
21147                color3: 0 0 0 64;
21148             }
21149          }
21150          part { name: "elm.text.sub";
21151             clip_to: "disclip";
21152             type:           TEXT;
21153             mouse_events:   0;
21154             scale: 1;
21155             description {
21156                state: "default" 0.0;
21157 //               min: 16 16;
21158                rel1 {
21159                   to_x:     "elm.swallow.icon";
21160                   relative: 1.0  0.5;
21161                   offset:   0 4;
21162                }
21163                rel2 {
21164                   to_x:     "elm.swallow.end";
21165                   relative: 0.0  1.0;
21166                   offset:   -1 -5;
21167                }
21168                color: 0 0 0 128;
21169                color3: 0 0 0 0;
21170                text {
21171                   font: "Sans";
21172                   size: 8;
21173 //                  min: 1 1;
21174                   min: 0 1;
21175                   align: 0.0 0.5;
21176                   text_class: "list_item";
21177                }
21178             }
21179             description { state: "selected" 0.0;
21180                inherit: "default" 0.0;
21181                color: 128 128 128 255;
21182                color3: 0 0 0 32;
21183             }
21184          }
21185          part { name: "fg1";
21186             clip_to: "disclip";
21187             mouse_events: 0;
21188             description { state: "default" 0.0;
21189                visible: 0;
21190                color: 255 255 255 0;
21191                rel1.to: "bg";
21192                rel2.relative: 1.0 0.5;
21193                rel2.to: "bg";
21194                image {
21195                   normal: "bt_sm_hilight.png";
21196                   border: 6 6 6 0;
21197                }
21198             }
21199             description { state: "selected" 0.0;
21200                inherit: "default" 0.0;
21201                visible: 1;
21202                color: 255 255 255 255;
21203             }
21204          }
21205          part { name: "fg2";
21206             clip_to: "disclip";
21207             mouse_events: 0;
21208             description { state: "default" 0.0;
21209                visible: 0;
21210                color: 255 255 255 0;
21211                rel1.to: "bg";
21212                rel2.to: "bg";
21213                image {
21214                   normal: "bt_sm_shine.png";
21215                   border: 6 6 6 0;
21216                }
21217             }
21218             description { state: "selected" 0.0;
21219                inherit: "default" 0.0;
21220                visible: 1;
21221                color: 255 255 255 255;
21222             }
21223          }
21224          part { name: "disclip";
21225             type: RECT;
21226             description { state: "default" 0.0;
21227                rel1.to: "bg";
21228                rel2.to: "bg";
21229             }
21230             description { state: "disabled" 0.0;
21231                inherit: "default" 0.0;
21232                color: 255 255 255 64;
21233             }
21234          }
21235       }
21236       programs {
21237          // signal: elm,state,%s,active
21238          //   a "check" item named %s went active
21239          // signal: elm,state,%s,passive
21240          //   a "check" item named %s went passive
21241          // default is passive
21242          program {
21243             name:    "go_active";
21244             signal:  "elm,state,selected";
21245             source:  "elm";
21246             action:  STATE_SET "selected" 0.0;
21247             target:  "bg";
21248             target:  "fg1";
21249             target:  "fg2";
21250             target:  "elm.text";
21251             target:  "elm.text.sub";
21252          }
21253          program {
21254             name:    "go_passive";
21255             signal:  "elm,state,unselected";
21256             source:  "elm";
21257             action:  STATE_SET "default" 0.0;
21258             target:  "bg";
21259             target:  "fg1";
21260             target:  "fg2";
21261             target:  "elm.text";
21262             target:  "elm.text.sub";
21263             transition: LINEAR 0.1;
21264          }
21265          program {
21266             name:    "go_disabled";
21267             signal:  "elm,state,disabled";
21268             source:  "elm";
21269             action:  STATE_SET "disabled" 0.0;
21270             target:  "disclip";
21271          }
21272          program {
21273             name:    "go_enabled";
21274             signal:  "elm,state,enabled";
21275             source:  "elm";
21276             action:  STATE_SET "default" 0.0;
21277             target:  "disclip";
21278          }
21279       }
21280    }
21281
21282    group { name: "elm/genlist/tree/double_label/default";
21283       data.item: "stacking" "above";
21284       data.item: "selectraise" "on";
21285       data.item: "labels" "elm.text elm.text.sub";
21286       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21287       data.item: "treesize" "20";
21288 //      data.item: "states" "";
21289       images {
21290          image: "bt_sm_base1.png" COMP;
21291          image: "bt_sm_shine.png" COMP;
21292          image: "bt_sm_hilight.png" COMP;
21293          image: "ilist_1.png" COMP;
21294          image: "ilist_item_shadow.png" COMP;
21295          image: "icon_arrow_right.png" COMP;
21296          image: "icon_arrow_down.png" COMP;
21297       }
21298       parts {
21299          part {
21300             name:           "event";
21301             type:           RECT;
21302             repeat_events: 1;
21303             description {
21304                state: "default" 0.0;
21305                color: 0 0 0 0;
21306             }
21307          }
21308          part {
21309             name: "base_sh";
21310             mouse_events: 0;
21311             description {
21312                state: "default" 0.0;
21313                align: 0.0 0.0;
21314                min: 0 10;
21315                fixed: 1 1;
21316                rel1 {
21317                   to: "base";
21318                   relative: 0.0 1.0;
21319                   offset: 0 0;
21320                }
21321                rel2 {
21322                   to: "base";
21323                   relative: 1.0 1.0;
21324                   offset: -1 0;
21325                }
21326                image {
21327                   normal: "ilist_item_shadow.png";
21328                }
21329                fill.smooth: 0;
21330             }
21331          }
21332          part {
21333             name: "base";
21334             mouse_events: 0;
21335             description {
21336                state: "default" 0.0;
21337                image {
21338                   normal: "ilist_1.png";
21339                   border: 2 2 2 2;
21340                }
21341                fill.smooth: 0;
21342             }
21343          }
21344          part { name: "bg";
21345             clip_to: "disclip";
21346             mouse_events: 0;
21347             description { state: "default" 0.0;
21348                visible: 0;
21349                color: 255 255 255 0;
21350                rel1 {
21351                   relative: 0.0 0.0;
21352                   offset: -5 -5;
21353                }
21354                rel2 {
21355                   relative: 1.0 1.0;
21356                   offset: 4 4;
21357                }
21358                image {
21359                   normal: "bt_sm_base1.png";
21360                   border: 6 6 6 6;
21361                }
21362                image.middle: SOLID;
21363             }
21364             description { state: "selected" 0.0;
21365                inherit: "default" 0.0;
21366                visible: 1;
21367                color: 255 255 255 255;
21368                rel1 {
21369                   relative: 0.0 0.0;
21370                   offset: -2 -2;
21371                }
21372                rel2 {
21373                   relative: 1.0 1.0;
21374                   offset: 1 1;
21375                }
21376             }
21377          }
21378          part { name: "elm.swallow.pad";
21379             type: SWALLOW;
21380             description { state: "default" 0.0;
21381                fixed: 1 0;
21382                align: 0.0 0.5;
21383                rel1 {
21384                   relative: 0.0  0.0;
21385                   offset:   4    4;
21386                }
21387                rel2 {
21388                   relative: 0.0  1.0;
21389                   offset:   4   -5;
21390                }
21391             }
21392          }
21393          part { name: "arrow";
21394             clip_to: "disclip";
21395             ignore_flags: ON_HOLD;
21396             description { state: "default" 0.0;
21397                fixed: 1 0;
21398                align: 0.0 0.5;
21399                aspect: 1.0 1.0;
21400                rel1 {
21401                   to_x: "elm.swallow.pad";
21402                   relative: 1.0  0.0;
21403                   offset:   -1    4;
21404                }
21405                rel2 {
21406                   to_x: "elm.swallow.pad";
21407                   relative: 1.0  1.0;
21408                   offset:   -1   -5;
21409                }
21410                image.normal: "icon_arrow_right.png";
21411             }
21412             description { state: "active" 0.0;
21413                inherit: "default" 0.0;
21414                image.normal: "icon_arrow_down.png";
21415             }
21416          }
21417          part { name: "elm.swallow.icon";
21418             clip_to: "disclip";
21419             type: SWALLOW;
21420             description { state: "default" 0.0;
21421                fixed: 1 0;
21422                align: 0.0 0.5;
21423                rel1 {
21424                   to_x: "arrow";
21425                   relative: 1.0  0.0;
21426                   offset:   4    4;
21427                }
21428                rel2 {
21429                   to_x: "arrow";
21430                   relative: 1.0  1.0;
21431                   offset:   4   -5;
21432                }
21433             }
21434          }
21435          part { name: "elm.swallow.end";
21436             clip_to: "disclip";
21437             type: SWALLOW;
21438             description { state: "default" 0.0;
21439                fixed: 1 0;
21440                align: 1.0 0.5;
21441                aspect: 1.0 1.0;
21442                aspect_preference: VERTICAL;
21443                rel1 {
21444                   relative: 1.0  0.0;
21445                   offset:   -5    4;
21446                }
21447                rel2 {
21448                   relative: 1.0  1.0;
21449                   offset:   -5   -5;
21450                }
21451             }
21452          }
21453          part { name: "elm.text";
21454             clip_to: "disclip";
21455             type:           TEXT;
21456             effect:         SOFT_SHADOW;
21457             mouse_events:   0;
21458             scale: 1;
21459             description {
21460                state: "default" 0.0;
21461 //               min: 16 16;
21462                rel1 {
21463                   to_x:     "elm.swallow.icon";
21464                   relative: 1.0  0.0;
21465                   offset:   0 4;
21466                }
21467                rel2 {
21468                   to_x:     "elm.swallow.end";
21469                   relative: 0.0  0.5;
21470                   offset:   -1 -5;
21471                }
21472                color: 0 0 0 255;
21473                color3: 0 0 0 0;
21474                text {
21475                   font: "Sans";
21476                   size: 10;
21477                   min: 1 1;
21478 //                  min: 0 1;
21479                   align: 0.0 0.5;
21480                   text_class: "list_item";
21481                }
21482             }
21483             description { state: "selected" 0.0;
21484                inherit: "default" 0.0;
21485                color: 224 224 224 255;
21486                color3: 0 0 0 64;
21487             }
21488          }
21489          part { name: "elm.text.sub";
21490             clip_to: "disclip";
21491             type:           TEXT;
21492             mouse_events:   0;
21493             scale: 1;
21494             description {
21495                state: "default" 0.0;
21496 //               min: 16 16;
21497                rel1 {
21498                   to_x:     "elm.swallow.icon";
21499                   relative: 1.0  0.5;
21500                   offset:   0 4;
21501                }
21502                rel2 {
21503                   to_x:     "elm.swallow.end";
21504                   relative: 0.0  1.0;
21505                   offset:   -1 -5;
21506                }
21507                color: 0 0 0 128;
21508                color3: 0 0 0 0;
21509                text {
21510                   font: "Sans";
21511                   size: 8;
21512                   min: 1 1;
21513 //                  min: 0 1;
21514                   align: 0.0 0.5;
21515                   text_class: "list_item";
21516                }
21517             }
21518             description { state: "selected" 0.0;
21519                inherit: "default" 0.0;
21520                color: 128 128 128 255;
21521                color3: 0 0 0 32;
21522             }
21523          }
21524          part { name: "fg1";
21525             clip_to: "disclip";
21526             mouse_events: 0;
21527             description { state: "default" 0.0;
21528                visible: 0;
21529                color: 255 255 255 0;
21530                rel1.to: "bg";
21531                rel2.relative: 1.0 0.5;
21532                rel2.to: "bg";
21533                image {
21534                   normal: "bt_sm_hilight.png";
21535                   border: 6 6 6 0;
21536                }
21537             }
21538             description { state: "selected" 0.0;
21539                inherit: "default" 0.0;
21540                visible: 1;
21541                color: 255 255 255 255;
21542             }
21543          }
21544          part { name: "fg2";
21545             clip_to: "disclip";
21546             mouse_events: 0;
21547             description { state: "default" 0.0;
21548                visible: 0;
21549                color: 255 255 255 0;
21550                rel1.to: "bg";
21551                rel2.to: "bg";
21552                image {
21553                   normal: "bt_sm_shine.png";
21554                   border: 6 6 6 0;
21555                }
21556             }
21557             description { state: "selected" 0.0;
21558                inherit: "default" 0.0;
21559                visible: 1;
21560                color: 255 255 255 255;
21561             }
21562          }
21563          part { name: "disclip";
21564             type: RECT;
21565             description { state: "default" 0.0;
21566                rel1.to: "bg";
21567                rel2.to: "bg";
21568             }
21569             description { state: "disabled" 0.0;
21570                inherit: "default" 0.0;
21571                color: 255 255 255 64;
21572             }
21573          }
21574       }
21575       programs {
21576          // signal: elm,state,%s,active
21577          //   a "check" item named %s went active
21578          // signal: elm,state,%s,passive
21579          //   a "check" item named %s went passive
21580          // default is passive
21581          program {
21582             name:    "go_active";
21583             signal:  "elm,state,selected";
21584             source:  "elm";
21585             action:  STATE_SET "selected" 0.0;
21586             target:  "bg";
21587             target:  "fg1";
21588             target:  "fg2";
21589             target:  "elm.text";
21590             target:  "elm.text.sub";
21591          }
21592          program {
21593             name:    "go_passive";
21594             signal:  "elm,state,unselected";
21595             source:  "elm";
21596             action:  STATE_SET "default" 0.0;
21597             target:  "bg";
21598             target:  "fg1";
21599             target:  "fg2";
21600             target:  "elm.text";
21601             target:  "elm.text.sub";
21602             transition: LINEAR 0.1;
21603          }
21604          program {
21605             name:    "go_disabled";
21606             signal:  "elm,state,disabled";
21607             source:  "elm";
21608             action:  STATE_SET "disabled" 0.0;
21609             target:  "disclip";
21610          }
21611          program {
21612             name:    "go_enabled";
21613             signal:  "elm,state,enabled";
21614             source:  "elm";
21615             action:  STATE_SET "default" 0.0;
21616             target:  "disclip";
21617          }
21618          program {
21619             name:    "expand";
21620             signal:  "mouse,up,1";
21621             source:  "arrow";
21622             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21623          }
21624          program {
21625             name:    "go_expanded";
21626             signal:  "elm,state,expanded";
21627             source:  "elm";
21628             action:  STATE_SET "active" 0.0;
21629             target:  "arrow";
21630          }
21631          program {
21632             name:    "go_contracted";
21633             signal:  "elm,state,contracted";
21634             source:  "elm";
21635             action:  STATE_SET "default" 0.0;
21636             target:  "arrow";
21637          }
21638       }
21639    }
21640    group { name: "elm/genlist/tree_compress/double_label/default";
21641       data.item: "stacking" "above";
21642       data.item: "selectraise" "on";
21643       data.item: "labels" "elm.text elm.text.sub";
21644       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21645       data.item: "treesize" "20";
21646 //      data.item: "states" "";
21647       images {
21648          image: "bt_sm_base1.png" COMP;
21649          image: "bt_sm_shine.png" COMP;
21650          image: "bt_sm_hilight.png" COMP;
21651          image: "ilist_1.png" COMP;
21652          image: "ilist_item_shadow.png" COMP;
21653          image: "icon_arrow_right.png" COMP;
21654          image: "icon_arrow_down.png" COMP;
21655       }
21656       parts {
21657          part {
21658             name:           "event";
21659             type:           RECT;
21660             repeat_events: 1;
21661             description {
21662                state: "default" 0.0;
21663                color: 0 0 0 0;
21664             }
21665          }
21666          part {
21667             name: "base_sh";
21668             mouse_events: 0;
21669             description {
21670                state: "default" 0.0;
21671                align: 0.0 0.0;
21672                min: 0 10;
21673                fixed: 1 1;
21674                rel1 {
21675                   to: "base";
21676                   relative: 0.0 1.0;
21677                   offset: 0 0;
21678                }
21679                rel2 {
21680                   to: "base";
21681                   relative: 1.0 1.0;
21682                   offset: -1 0;
21683                }
21684                image {
21685                   normal: "ilist_item_shadow.png";
21686                }
21687                fill.smooth: 0;
21688             }
21689          }
21690          part {
21691             name: "base";
21692             mouse_events: 0;
21693             description {
21694                state: "default" 0.0;
21695                image {
21696                   normal: "ilist_1.png";
21697                   border: 2 2 2 2;
21698                }
21699                fill.smooth: 0;
21700             }
21701          }
21702          part { name: "bg";
21703             clip_to: "disclip";
21704             mouse_events: 0;
21705             description { state: "default" 0.0;
21706                visible: 0;
21707                color: 255 255 255 0;
21708                rel1 {
21709                   relative: 0.0 0.0;
21710                   offset: -5 -5;
21711                }
21712                rel2 {
21713                   relative: 1.0 1.0;
21714                   offset: 4 4;
21715                }
21716                image {
21717                   normal: "bt_sm_base1.png";
21718                   border: 6 6 6 6;
21719                }
21720                image.middle: SOLID;
21721             }
21722             description { state: "selected" 0.0;
21723                inherit: "default" 0.0;
21724                visible: 1;
21725                color: 255 255 255 255;
21726                rel1 {
21727                   relative: 0.0 0.0;
21728                   offset: -2 -2;
21729                }
21730                rel2 {
21731                   relative: 1.0 1.0;
21732                   offset: 1 1;
21733                }
21734             }
21735          }
21736          part { name: "elm.swallow.pad";
21737             type: SWALLOW;
21738             description { state: "default" 0.0;
21739                fixed: 1 0;
21740                align: 0.0 0.5;
21741                rel1 {
21742                   relative: 0.0  0.0;
21743                   offset:   4    4;
21744                }
21745                rel2 {
21746                   relative: 0.0  1.0;
21747                   offset:   4   -5;
21748                }
21749             }
21750          }
21751          part { name: "arrow";
21752             clip_to: "disclip";
21753             ignore_flags: ON_HOLD;
21754             description { state: "default" 0.0;
21755                fixed: 1 0;
21756                align: 0.0 0.5;
21757                aspect: 1.0 1.0;
21758                rel1 {
21759                   to_x: "elm.swallow.pad";
21760                   relative: 1.0  0.0;
21761                   offset:   -1    4;
21762                }
21763                rel2 {
21764                   to_x: "elm.swallow.pad";
21765                   relative: 1.0  1.0;
21766                   offset:   -1   -5;
21767                }
21768                image.normal: "icon_arrow_right.png";
21769             }
21770             description { state: "active" 0.0;
21771                inherit: "default" 0.0;
21772                image.normal: "icon_arrow_down.png";
21773             }
21774          }
21775          part { name: "elm.swallow.icon";
21776             clip_to: "disclip";
21777             type: SWALLOW;
21778             description { state: "default" 0.0;
21779                fixed: 1 0;
21780                align: 0.0 0.5;
21781                rel1 {
21782                   to_x: "arrow";
21783                   relative: 1.0  0.0;
21784                   offset:   4    4;
21785                }
21786                rel2 {
21787                   to_x: "arrow";
21788                   relative: 1.0  1.0;
21789                   offset:   4   -5;
21790                }
21791             }
21792          }
21793          part { name: "elm.swallow.end";
21794             clip_to: "disclip";
21795             type: SWALLOW;
21796             description { state: "default" 0.0;
21797                fixed: 1 0;
21798                align: 1.0 0.5;
21799                aspect: 1.0 1.0;
21800                aspect_preference: VERTICAL;
21801                rel1 {
21802                   relative: 1.0  0.0;
21803                   offset:   -5    4;
21804                }
21805                rel2 {
21806                   relative: 1.0  1.0;
21807                   offset:   -5   -5;
21808                }
21809             }
21810          }
21811          part { name: "elm.text";
21812             clip_to: "disclip";
21813             type:           TEXT;
21814             effect:         SOFT_SHADOW;
21815             mouse_events:   0;
21816             scale: 1;
21817             description {
21818                state: "default" 0.0;
21819 //               min: 16 16;
21820                rel1 {
21821                   to_x:     "elm.swallow.icon";
21822                   relative: 1.0  0.0;
21823                   offset:   0 4;
21824                }
21825                rel2 {
21826                   to_x:     "elm.swallow.end";
21827                   relative: 0.0  0.5;
21828                   offset:   -1 -5;
21829                }
21830                color: 0 0 0 255;
21831                color3: 0 0 0 0;
21832                text {
21833                   font: "Sans";
21834                   size: 10;
21835 //                  min: 1 1;
21836                   min: 0 1;
21837                   align: 0.0 0.5;
21838                   text_class: "list_item";
21839                }
21840             }
21841             description { state: "selected" 0.0;
21842                inherit: "default" 0.0;
21843                color: 224 224 224 255;
21844                color3: 0 0 0 64;
21845             }
21846          }
21847          part { name: "elm.text.sub";
21848             clip_to: "disclip";
21849             type:           TEXT;
21850             mouse_events:   0;
21851             scale: 1;
21852             description {
21853                state: "default" 0.0;
21854 //               min: 16 16;
21855                rel1 {
21856                   to_x:     "elm.swallow.icon";
21857                   relative: 1.0  0.5;
21858                   offset:   0 4;
21859                }
21860                rel2 {
21861                   to_x:     "elm.swallow.end";
21862                   relative: 0.0  1.0;
21863                   offset:   -1 -5;
21864                }
21865                color: 0 0 0 128;
21866                color3: 0 0 0 0;
21867                text {
21868                   font: "Sans";
21869                   size: 8;
21870 //                  min: 1 1;
21871                   min: 0 1;
21872                   align: 0.0 0.5;
21873                   text_class: "list_item";
21874                }
21875             }
21876             description { state: "selected" 0.0;
21877                inherit: "default" 0.0;
21878                color: 128 128 128 255;
21879                color3: 0 0 0 32;
21880             }
21881          }
21882          part { name: "fg1";
21883             clip_to: "disclip";
21884             mouse_events: 0;
21885             description { state: "default" 0.0;
21886                visible: 0;
21887                color: 255 255 255 0;
21888                rel1.to: "bg";
21889                rel2.relative: 1.0 0.5;
21890                rel2.to: "bg";
21891                image {
21892                   normal: "bt_sm_hilight.png";
21893                   border: 6 6 6 0;
21894                }
21895             }
21896             description { state: "selected" 0.0;
21897                inherit: "default" 0.0;
21898                visible: 1;
21899                color: 255 255 255 255;
21900             }
21901          }
21902          part { name: "fg2";
21903             clip_to: "disclip";
21904             mouse_events: 0;
21905             description { state: "default" 0.0;
21906                visible: 0;
21907                color: 255 255 255 0;
21908                rel1.to: "bg";
21909                rel2.to: "bg";
21910                image {
21911                   normal: "bt_sm_shine.png";
21912                   border: 6 6 6 0;
21913                }
21914             }
21915             description { state: "selected" 0.0;
21916                inherit: "default" 0.0;
21917                visible: 1;
21918                color: 255 255 255 255;
21919             }
21920          }
21921          part { name: "disclip";
21922             type: RECT;
21923             description { state: "default" 0.0;
21924                rel1.to: "bg";
21925                rel2.to: "bg";
21926             }
21927             description { state: "disabled" 0.0;
21928                inherit: "default" 0.0;
21929                color: 255 255 255 64;
21930             }
21931          }
21932       }
21933       programs {
21934          // signal: elm,state,%s,active
21935          //   a "check" item named %s went active
21936          // signal: elm,state,%s,passive
21937          //   a "check" item named %s went passive
21938          // default is passive
21939          program {
21940             name:    "go_active";
21941             signal:  "elm,state,selected";
21942             source:  "elm";
21943             action:  STATE_SET "selected" 0.0;
21944             target:  "bg";
21945             target:  "fg1";
21946             target:  "fg2";
21947             target:  "elm.text";
21948             target:  "elm.text.sub";
21949          }
21950          program {
21951             name:    "go_passive";
21952             signal:  "elm,state,unselected";
21953             source:  "elm";
21954             action:  STATE_SET "default" 0.0;
21955             target:  "bg";
21956             target:  "fg1";
21957             target:  "fg2";
21958             target:  "elm.text";
21959             target:  "elm.text.sub";
21960             transition: LINEAR 0.1;
21961          }
21962          program {
21963             name:    "go_disabled";
21964             signal:  "elm,state,disabled";
21965             source:  "elm";
21966             action:  STATE_SET "disabled" 0.0;
21967             target:  "disclip";
21968          }
21969          program {
21970             name:    "go_enabled";
21971             signal:  "elm,state,enabled";
21972             source:  "elm";
21973             action:  STATE_SET "default" 0.0;
21974             target:  "disclip";
21975          }
21976          program {
21977             name:    "expand";
21978             signal:  "mouse,up,1";
21979             source:  "arrow";
21980             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21981          }
21982          program {
21983             name:    "go_expanded";
21984             signal:  "elm,state,expanded";
21985             source:  "elm";
21986             action:  STATE_SET "active" 0.0;
21987             target:  "arrow";
21988          }
21989          program {
21990             name:    "go_contracted";
21991             signal:  "elm,state,contracted";
21992             source:  "elm";
21993             action:  STATE_SET "default" 0.0;
21994             target:  "arrow";
21995          }
21996       }
21997    }
21998    group { name: "elm/genlist/tree_odd/double_label/default";
21999       data.item: "stacking" "below";
22000       data.item: "selectraise" "on";
22001       data.item: "labels" "elm.text elm.text.sub";
22002       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22003       data.item: "treesize" "20";
22004 //      data.item: "states" "";
22005       images {
22006          image: "bt_sm_base1.png" COMP;
22007          image: "bt_sm_shine.png" COMP;
22008          image: "bt_sm_hilight.png" COMP;
22009          image: "ilist_2.png" COMP;
22010          image: "icon_arrow_right.png" COMP;
22011          image: "icon_arrow_down.png" COMP;
22012       }
22013       parts {
22014          part {
22015             name:           "event";
22016             type:           RECT;
22017             repeat_events: 1;
22018             description {
22019                state: "default" 0.0;
22020                color: 0 0 0 0;
22021             }
22022          }
22023          part {
22024             name: "base";
22025             mouse_events: 0;
22026             description {
22027                state: "default" 0.0;
22028                image {
22029                   normal: "ilist_2.png";
22030                   border: 2 2 2 2;
22031                }
22032                fill.smooth: 0;
22033             }
22034          }
22035          part { name: "bg";
22036             clip_to: "disclip";
22037             mouse_events: 0;
22038             description { state: "default" 0.0;
22039                visible: 0;
22040                color: 255 255 255 0;
22041                rel1 {
22042                   relative: 0.0 0.0;
22043                   offset: -5 -5;
22044                }
22045                rel2 {
22046                   relative: 1.0 1.0;
22047                   offset: 4 4;
22048                }
22049                image {
22050                   normal: "bt_sm_base1.png";
22051                   border: 6 6 6 6;
22052                }
22053                image.middle: SOLID;
22054             }
22055             description { state: "selected" 0.0;
22056                inherit: "default" 0.0;
22057                visible: 1;
22058                color: 255 255 255 255;
22059                rel1 {
22060                   relative: 0.0 0.0;
22061                   offset: -2 -2;
22062                }
22063                rel2 {
22064                   relative: 1.0 1.0;
22065                   offset: 1 1;
22066                }
22067             }
22068          }
22069          part { name: "elm.swallow.pad";
22070             type: SWALLOW;
22071             description { state: "default" 0.0;
22072                fixed: 1 0;
22073                align: 0.0 0.5;
22074                rel1 {
22075                   relative: 0.0  0.0;
22076                   offset:   4    4;
22077                }
22078                rel2 {
22079                   relative: 0.0  1.0;
22080                   offset:   4   -5;
22081                }
22082             }
22083          }
22084          part { name: "arrow";
22085             clip_to: "disclip";
22086             ignore_flags: ON_HOLD;
22087             description { state: "default" 0.0;
22088                fixed: 1 0;
22089                align: 0.0 0.5;
22090                aspect: 1.0 1.0;
22091                rel1 {
22092                   to_x: "elm.swallow.pad";
22093                   relative: 1.0  0.0;
22094                   offset:   -1    4;
22095                }
22096                rel2 {
22097                   to_x: "elm.swallow.pad";
22098                   relative: 1.0  1.0;
22099                   offset:   -1   -5;
22100                }
22101                image.normal: "icon_arrow_right.png";
22102             }
22103             description { state: "active" 0.0;
22104                inherit: "default" 0.0;
22105                image.normal: "icon_arrow_down.png";
22106             }
22107          }
22108          part { name: "elm.swallow.icon";
22109             clip_to: "disclip";
22110             type: SWALLOW;
22111             description { state: "default" 0.0;
22112                fixed: 1 0;
22113                align: 0.0 0.5;
22114                rel1 {
22115                   to_x: "arrow";
22116                   relative: 1.0  0.0;
22117                   offset:   4    4;
22118                }
22119                rel2 {
22120                   to_x: "arrow";
22121                   relative: 1.0  1.0;
22122                   offset:   4   -5;
22123                }
22124             }
22125          }
22126          part { name: "elm.swallow.end";
22127             clip_to: "disclip";
22128             type: SWALLOW;
22129             description { state: "default" 0.0;
22130                fixed: 1 0;
22131                align: 1.0 0.5;
22132                aspect: 1.0 1.0;
22133                aspect_preference: VERTICAL;
22134                rel1 {
22135                   relative: 1.0  0.0;
22136                   offset:   -5    4;
22137                }
22138                rel2 {
22139                   relative: 1.0  1.0;
22140                   offset:   -5   -5;
22141                }
22142             }
22143          }
22144          part { name: "elm.text";
22145             clip_to: "disclip";
22146             type:           TEXT;
22147             effect:         SOFT_SHADOW;
22148             mouse_events:   0;
22149             scale: 1;
22150             description {
22151                state: "default" 0.0;
22152 //               min: 16 16;
22153                rel1 {
22154                   to_x:     "elm.swallow.icon";
22155                   relative: 1.0  0.0;
22156                   offset:   0 4;
22157                }
22158                rel2 {
22159                   to_x:     "elm.swallow.end";
22160                   relative: 0.0  0.5;
22161                   offset:   -1 -5;
22162                }
22163                color: 0 0 0 255;
22164                color3: 0 0 0 0;
22165                text {
22166                   font: "Sans";
22167                   size: 10;
22168                   min: 1 1;
22169 //                  min: 0 1;
22170                   align: 0.0 0.5;
22171                   text_class: "list_item";
22172                }
22173             }
22174             description { state: "selected" 0.0;
22175                inherit: "default" 0.0;
22176                color: 224 224 224 255;
22177                color3: 0 0 0 64;
22178             }
22179          }
22180          part { name: "elm.text.sub";
22181             clip_to: "disclip";
22182             type:           TEXT;
22183             mouse_events:   0;
22184             scale: 1;
22185             description {
22186                state: "default" 0.0;
22187 //               min: 16 16;
22188                rel1 {
22189                   to_x:     "elm.swallow.icon";
22190                   relative: 1.0  0.5;
22191                   offset:   0 4;
22192                }
22193                rel2 {
22194                   to_x:     "elm.swallow.end";
22195                   relative: 0.0  1.0;
22196                   offset:   -1 -5;
22197                }
22198                color: 0 0 0 128;
22199                color3: 0 0 0 0;
22200                text {
22201                   font: "Sans";
22202                   size: 8;
22203                   min: 1 1;
22204 //                  min: 0 1;
22205                   align: 0.0 0.5;
22206                   text_class: "list_item";
22207                }
22208             }
22209             description { state: "selected" 0.0;
22210                inherit: "default" 0.0;
22211                color: 128 128 128 255;
22212                color3: 0 0 0 32;
22213             }
22214          }
22215          part { name: "fg1";
22216             clip_to: "disclip";
22217             mouse_events: 0;
22218             description { state: "default" 0.0;
22219                visible: 0;
22220                color: 255 255 255 0;
22221                rel1.to: "bg";
22222                rel2.relative: 1.0 0.5;
22223                rel2.to: "bg";
22224                image {
22225                   normal: "bt_sm_hilight.png";
22226                   border: 6 6 6 0;
22227                }
22228             }
22229             description { state: "selected" 0.0;
22230                inherit: "default" 0.0;
22231                visible: 1;
22232                color: 255 255 255 255;
22233             }
22234          }
22235          part { name: "fg2";
22236             clip_to: "disclip";
22237             mouse_events: 0;
22238             description { state: "default" 0.0;
22239                visible: 0;
22240                color: 255 255 255 0;
22241                rel1.to: "bg";
22242                rel2.to: "bg";
22243                image {
22244                   normal: "bt_sm_shine.png";
22245                   border: 6 6 6 0;
22246                }
22247             }
22248             description { state: "selected" 0.0;
22249                inherit: "default" 0.0;
22250                visible: 1;
22251                color: 255 255 255 255;
22252             }
22253          }
22254          part { name: "disclip";
22255             type: RECT;
22256             description { state: "default" 0.0;
22257                rel1.to: "bg";
22258                rel2.to: "bg";
22259             }
22260             description { state: "disabled" 0.0;
22261                inherit: "default" 0.0;
22262                color: 255 255 255 64;
22263             }
22264          }
22265       }
22266       programs {
22267          // signal: elm,state,%s,active
22268          //   a "check" item named %s went active
22269          // signal: elm,state,%s,passive
22270          //   a "check" item named %s went passive
22271          // default is passive
22272          program {
22273             name:    "go_active";
22274             signal:  "elm,state,selected";
22275             source:  "elm";
22276             action:  STATE_SET "selected" 0.0;
22277             target:  "bg";
22278             target:  "fg1";
22279             target:  "fg2";
22280             target:  "elm.text";
22281             target:  "elm.text.sub";
22282          }
22283          program {
22284             name:    "go_passive";
22285             signal:  "elm,state,unselected";
22286             source:  "elm";
22287             action:  STATE_SET "default" 0.0;
22288             target:  "bg";
22289             target:  "fg1";
22290             target:  "fg2";
22291             target:  "elm.text";
22292             target:  "elm.text.sub";
22293             transition: LINEAR 0.1;
22294          }
22295          program {
22296             name:    "go_disabled";
22297             signal:  "elm,state,disabled";
22298             source:  "elm";
22299             action:  STATE_SET "disabled" 0.0;
22300             target:  "disclip";
22301          }
22302          program {
22303             name:    "go_enabled";
22304             signal:  "elm,state,enabled";
22305             source:  "elm";
22306             action:  STATE_SET "default" 0.0;
22307             target:  "disclip";
22308          }
22309          program {
22310             name:    "expand";
22311             signal:  "mouse,up,1";
22312             source:  "arrow";
22313             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22314          }
22315          program {
22316             name:    "go_expanded";
22317             signal:  "elm,state,expanded";
22318             source:  "elm";
22319             action:  STATE_SET "active" 0.0;
22320             target:  "arrow";
22321          }
22322          program {
22323             name:    "go_contracted";
22324             signal:  "elm,state,contracted";
22325             source:  "elm";
22326             action:  STATE_SET "default" 0.0;
22327             target:  "arrow";
22328          }
22329       }
22330    }
22331
22332    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22333       data.item: "stacking" "above";
22334       data.item: "selectraise" "on";
22335       data.item: "labels" "elm.text";
22336       data.item: "icons" "elm.swallow.icon";
22337       data.item: "treesize" "20";
22338 //      data.item: "states" "";
22339       images {
22340          image: "bt_sm_base1.png" COMP;
22341          image: "bt_sm_shine.png" COMP;
22342          image: "bt_sm_hilight.png" COMP;
22343          image: "ilist_1.png" COMP;
22344          image: "ilist_item_shadow.png" COMP;
22345       }
22346       parts {
22347          part {
22348             name:           "event";
22349             type:           RECT;
22350             repeat_events: 1;
22351             description {
22352                state: "default" 0.0;
22353                color: 0 0 0 0;
22354             }
22355          }
22356          part {
22357             name: "base_sh";
22358             mouse_events: 0;
22359             description {
22360                state: "default" 0.0;
22361                align: 0.0 0.0;
22362                min: 0 10;
22363                fixed: 1 1;
22364                rel1 {
22365                   to: "base";
22366                   relative: 0.0 1.0;
22367                   offset: 0 0;
22368                }
22369                rel2 {
22370                   to: "base";
22371                   relative: 1.0 1.0;
22372                   offset: -1 0;
22373                }
22374                image {
22375                   normal: "ilist_item_shadow.png";
22376                }
22377                fill.smooth: 0;
22378             }
22379          }
22380          part {
22381             name: "base";
22382             mouse_events: 0;
22383             description {
22384                state: "default" 0.0;
22385                image {
22386                   normal: "ilist_1.png";
22387                   border: 2 2 2 2;
22388                }
22389                fill.smooth: 0;
22390             }
22391          }
22392          part { name: "bg";
22393             clip_to: "disclip";
22394             mouse_events: 0;
22395             description { state: "default" 0.0;
22396                visible: 0;
22397                color: 255 255 255 0;
22398                rel1 {
22399                   relative: 0.0 0.0;
22400                   offset: -5 -5;
22401                }
22402                rel2 {
22403                   relative: 1.0 1.0;
22404                   offset: 4 4;
22405                }
22406                image {
22407                   normal: "bt_sm_base1.png";
22408                   border: 6 6 6 6;
22409                }
22410                image.middle: SOLID;
22411             }
22412             description { state: "selected" 0.0;
22413                inherit: "default" 0.0;
22414                visible: 1;
22415                color: 255 255 255 255;
22416                rel1 {
22417                   relative: 0.0 0.0;
22418                   offset: -2 -2;
22419                }
22420                rel2 {
22421                   relative: 1.0 1.0;
22422                   offset: 1 1;
22423                }
22424             }
22425          }
22426          part { name: "elm.swallow.pad";
22427             type: SWALLOW;
22428             description { state: "default" 0.0;
22429                fixed: 1 0;
22430                align: 0.0 0.5;
22431                rel1 {
22432                   relative: 0.0  0.0;
22433                   offset:   4    4;
22434                }
22435                rel2 {
22436                   relative: 1.0  1.0;
22437                   offset:   -4   -5;
22438                }
22439             }
22440          }
22441          part { name: "elm.swallow.icon";
22442             clip_to: "disclip";
22443             type: SWALLOW;
22444             description { state: "default" 0.0;
22445                fixed: 1 0;
22446                align: 0.5 0.5;
22447                rel1 {
22448                   to_x: "elm.swallow.pad";
22449                   relative: 0.0  0.0;
22450                   offset:   -1    4;
22451                }
22452                rel2 {
22453                   to_x: "elm.swallow.pad";
22454                   relative: 1.0  1.0;
22455                   offset:   -1   -5;
22456                }
22457             }
22458          }
22459          part { name: "elm.text";
22460             clip_to: "disclip";
22461             type:           TEXT;
22462             effect:         SOFT_SHADOW;
22463             mouse_events:   0;
22464             scale: 1;
22465             description {
22466                state: "default" 0.0;
22467 //               min: 16 16;
22468                rel1 {
22469                   to_y:     "elm.swallow.icon";
22470                   relative: 0.0  1.0;
22471                   offset:   0 4;
22472                }
22473                rel2 {
22474                   relative: 1.0  1.0;
22475                   offset:   -5 -5;
22476                }
22477                color: 0 0 0 255;
22478                color3: 0 0 0 0;
22479                text {
22480                   font: "Sans";
22481                   size: 10;
22482                   min: 1 1;
22483 //                  min: 0 1;
22484                   align: 0.5 0.5;
22485                   text_class: "list_item";
22486                }
22487             }
22488             description { state: "selected" 0.0;
22489                inherit: "default" 0.0;
22490                color: 224 224 224 255;
22491                color3: 0 0 0 64;
22492             }
22493          }
22494          part { name: "fg1";
22495             clip_to: "disclip";
22496             mouse_events: 0;
22497             description { state: "default" 0.0;
22498                visible: 0;
22499                color: 255 255 255 0;
22500                rel1.to: "bg";
22501                rel2.relative: 1.0 0.5;
22502                rel2.to: "bg";
22503                image {
22504                   normal: "bt_sm_hilight.png";
22505                   border: 6 6 6 0;
22506                }
22507             }
22508             description { state: "selected" 0.0;
22509                inherit: "default" 0.0;
22510                visible: 1;
22511                color: 255 255 255 255;
22512             }
22513          }
22514          part { name: "fg2";
22515             clip_to: "disclip";
22516             mouse_events: 0;
22517             description { state: "default" 0.0;
22518                visible: 0;
22519                color: 255 255 255 0;
22520                rel1.to: "bg";
22521                rel2.to: "bg";
22522                image {
22523                   normal: "bt_sm_shine.png";
22524                   border: 6 6 6 0;
22525                }
22526             }
22527             description { state: "selected" 0.0;
22528                inherit: "default" 0.0;
22529                visible: 1;
22530                color: 255 255 255 255;
22531             }
22532          }
22533          part { name: "disclip";
22534             type: RECT;
22535             description { state: "default" 0.0;
22536                rel1.to: "bg";
22537                rel2.to: "bg";
22538             }
22539             description { state: "disabled" 0.0;
22540                inherit: "default" 0.0;
22541                color: 255 255 255 64;
22542             }
22543          }
22544       }
22545       programs {
22546          // signal: elm,state,%s,active
22547          //   a "check" item named %s went active
22548          // signal: elm,state,%s,passive
22549          //   a "check" item named %s went passive
22550          // default is passive
22551          program {
22552             name:    "go_active";
22553             signal:  "elm,state,selected";
22554             source:  "elm";
22555             action:  STATE_SET "selected" 0.0;
22556             target:  "bg";
22557             target:  "fg1";
22558             target:  "fg2";
22559             target:  "elm.text";
22560          }
22561          program {
22562             name:    "go_passive";
22563             signal:  "elm,state,unselected";
22564             source:  "elm";
22565             action:  STATE_SET "default" 0.0;
22566             target:  "bg";
22567             target:  "fg1";
22568             target:  "fg2";
22569             target:  "elm.text";
22570             transition: LINEAR 0.1;
22571          }
22572          program {
22573             name:    "go_disabled";
22574             signal:  "elm,state,disabled";
22575             source:  "elm";
22576             action:  STATE_SET "disabled" 0.0;
22577             target:  "disclip";
22578          }
22579          program {
22580             name:    "go_enabled";
22581             signal:  "elm,state,enabled";
22582             source:  "elm";
22583             action:  STATE_SET "default" 0.0;
22584             target:  "disclip";
22585          }
22586       }
22587    }
22588    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22589       data.item: "stacking" "below";
22590       data.item: "selectraise" "on";
22591       data.item: "labels" "elm.text";
22592       data.item: "icons" "elm.swallow.icon";
22593       data.item: "treesize" "20";
22594 //      data.item: "states" "";
22595       images {
22596          image: "bt_sm_base1.png" COMP;
22597          image: "bt_sm_shine.png" COMP;
22598          image: "bt_sm_hilight.png" COMP;
22599          image: "ilist_2.png" COMP;
22600       }
22601       parts {
22602          part { name: "event";
22603             type: RECT;
22604             repeat_events: 1;
22605             description {
22606                state: "default" 0.0;
22607                color: 0 0 0 0;
22608             }
22609          }
22610          part {
22611             name: "base";
22612             mouse_events: 0;
22613             description {
22614                state: "default" 0.0;
22615                image {
22616                   normal: "ilist_2.png";
22617                   border: 2 2 2 2;
22618                }
22619                fill.smooth: 0;
22620             }
22621          }
22622          part { name: "bg";
22623             clip_to: "disclip";
22624             mouse_events: 0;
22625             description { state: "default" 0.0;
22626                visible: 0;
22627                color: 255 255 255 0;
22628                rel1 {
22629                   relative: 0.0 0.0;
22630                   offset: -5 -5;
22631                }
22632                rel2 {
22633                   relative: 1.0 1.0;
22634                   offset: 4 4;
22635                }
22636                image {
22637                   normal: "bt_sm_base1.png";
22638                   border: 6 6 6 6;
22639                }
22640                image.middle: SOLID;
22641             }
22642             description { state: "selected" 0.0;
22643                inherit: "default" 0.0;
22644                visible: 1;
22645                color: 255 255 255 255;
22646                rel1 {
22647                   relative: 0.0 0.0;
22648                   offset: -2 -2;
22649                }
22650                rel2 {
22651                   relative: 1.0 1.0;
22652                   offset: 1 1;
22653                }
22654             }
22655          }
22656          part { name: "elm.swallow.pad";
22657             type: SWALLOW;
22658             description { state: "default" 0.0;
22659                fixed: 1 0;
22660                align: 0.0 0.5;
22661                rel1 {
22662                   relative: 0.0  0.0;
22663                   offset:   4    4;
22664                }
22665                rel2 {
22666                   relative: 1.0  1.0;
22667                   offset:   -4   -5;
22668                }
22669             }
22670          }
22671          part { name: "elm.swallow.icon";
22672             clip_to: "disclip";
22673             type: SWALLOW;
22674             description { state: "default" 0.0;
22675                fixed: 1 0;
22676                align: 0.5 0.5;
22677                rel1 {
22678                   to_x: "elm.swallow.pad";
22679                   relative: 0.0  0.0;
22680                   offset:   -1    4;
22681                }
22682                rel2 {
22683                   to_x: "elm.swallow.pad";
22684                   relative: 1.0  1.0;
22685                   offset:   -1   -5;
22686                }
22687             }
22688          }
22689          part { name: "elm.text";
22690             clip_to: "disclip";
22691             type:           TEXT;
22692             effect:         SOFT_SHADOW;
22693             mouse_events:   0;
22694             scale: 1;
22695             description {
22696                state: "default" 0.0;
22697 //               min:      16 16;
22698                rel1 {
22699                   to_y:     "elm.swallow.icon";
22700                   relative: 0.0  1.0;
22701                   offset:   0 4;
22702                }
22703                rel2 {
22704                   relative: 1.0  1.0;
22705                   offset:   -5 -5;
22706                }
22707                color: 0 0 0 255;
22708                color3: 0 0 0 0;
22709                text {
22710                   font: "Sans";
22711                   size: 10;
22712                   min: 1 1;
22713 //                  min: 0 1;
22714                   align: 0.5 0.5;
22715                   text_class: "list_item";
22716                }
22717             }
22718             description { state: "selected" 0.0;
22719                inherit: "default" 0.0;
22720                color: 224 224 224 255;
22721                color3: 0 0 0 64;
22722             }
22723          }
22724          part { name: "fg1";
22725             clip_to: "disclip";
22726             mouse_events: 0;
22727             description { state: "default" 0.0;
22728                visible: 0;
22729                color: 255 255 255 0;
22730                rel1.to: "bg";
22731                rel2.relative: 1.0 0.5;
22732                rel2.to: "bg";
22733                image {
22734                   normal: "bt_sm_hilight.png";
22735                   border: 6 6 6 0;
22736                }
22737             }
22738             description { state: "selected" 0.0;
22739                inherit: "default" 0.0;
22740                visible: 1;
22741                color: 255 255 255 255;
22742             }
22743          }
22744          part { name: "fg2";
22745             clip_to: "disclip";
22746             mouse_events: 0;
22747             description { state: "default" 0.0;
22748                visible: 0;
22749                color: 255 255 255 0;
22750                rel1.to: "bg";
22751                rel2.to: "bg";
22752                image {
22753                   normal: "bt_sm_shine.png";
22754                   border: 6 6 6 0;
22755                }
22756             }
22757             description { state: "selected" 0.0;
22758                inherit: "default" 0.0;
22759                visible: 1;
22760                color: 255 255 255 255;
22761             }
22762          }
22763          part { name: "disclip";
22764             type: RECT;
22765             description { state: "default" 0.0;
22766                rel1.to: "bg";
22767                rel2.to: "bg";
22768             }
22769             description { state: "disabled" 0.0;
22770                inherit: "default" 0.0;
22771                color: 255 255 255 64;
22772             }
22773          }
22774       }
22775       programs {
22776          // signal: elm,state,%s,active
22777          //   a "check" item named %s went active
22778          // signal: elm,state,%s,passive
22779          //   a "check" item named %s went passive
22780          // default is passive
22781          program {
22782             name:    "go_active";
22783             signal:  "elm,state,selected";
22784             source:  "elm";
22785             action:  STATE_SET "selected" 0.0;
22786             target:  "bg";
22787             target:  "fg1";
22788             target:  "fg2";
22789             target:  "elm.text";
22790          }
22791          program {
22792             name:    "go_passive";
22793             signal:  "elm,state,unselected";
22794             source:  "elm";
22795             action:  STATE_SET "default" 0.0;
22796             target:  "bg";
22797             target:  "fg1";
22798             target:  "fg2";
22799             target:  "elm.text";
22800             transition: LINEAR 0.1;
22801          }
22802          program {
22803             name:    "go_disabled";
22804             signal:  "elm,state,disabled";
22805             source:  "elm";
22806             action:  STATE_SET "disabled" 0.0;
22807             target:  "disclip";
22808          }
22809          program {
22810             name:    "go_enabled";
22811             signal:  "elm,state,enabled";
22812             source:  "elm";
22813             action:  STATE_SET "default" 0.0;
22814             target:  "disclip";
22815          }
22816       }
22817    }
22818
22819    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22820       data.item: "stacking" "above";
22821       data.item: "selectraise" "on";
22822       data.item: "labels" "elm.text";
22823       data.item: "icons" "elm.swallow.icon";
22824       data.item: "treesize" "20";
22825 //      data.item: "states" "";
22826       images {
22827          image: "bt_sm_base1.png" COMP;
22828          image: "bt_sm_shine.png" COMP;
22829          image: "bt_sm_hilight.png" COMP;
22830          image: "ilist_1.png" COMP;
22831          image: "ilist_item_shadow.png" COMP;
22832          image: "icon_arrow_right.png" COMP;
22833          image: "icon_arrow_down.png" COMP;
22834       }
22835       parts {
22836          part {
22837             name:           "event";
22838             type:           RECT;
22839             repeat_events: 1;
22840             description {
22841                state: "default" 0.0;
22842                color: 0 0 0 0;
22843             }
22844          }
22845          part {
22846             name: "base_sh";
22847             mouse_events: 0;
22848             description {
22849                state: "default" 0.0;
22850                align: 0.0 0.0;
22851                min: 0 10;
22852                fixed: 1 1;
22853                rel1 {
22854                   to: "base";
22855                   relative: 0.0 1.0;
22856                   offset: 0 0;
22857                }
22858                rel2 {
22859                   to: "base";
22860                   relative: 1.0 1.0;
22861                   offset: -1 0;
22862                }
22863                image {
22864                   normal: "ilist_item_shadow.png";
22865                }
22866                fill.smooth: 0;
22867             }
22868          }
22869          part {
22870             name: "base";
22871             mouse_events: 0;
22872             description {
22873                state: "default" 0.0;
22874                image {
22875                   normal: "ilist_1.png";
22876                   border: 2 2 2 2;
22877                }
22878                fill.smooth: 0;
22879             }
22880          }
22881          part { name: "bg";
22882             clip_to: "disclip";
22883             mouse_events: 0;
22884             description { state: "default" 0.0;
22885                visible: 0;
22886                color: 255 255 255 0;
22887                rel1 {
22888                   relative: 0.0 0.0;
22889                   offset: -5 -5;
22890                }
22891                rel2 {
22892                   relative: 1.0 1.0;
22893                   offset: 4 4;
22894                }
22895                image {
22896                   normal: "bt_sm_base1.png";
22897                   border: 6 6 6 6;
22898                }
22899                image.middle: SOLID;
22900             }
22901             description { state: "selected" 0.0;
22902                inherit: "default" 0.0;
22903                visible: 1;
22904                color: 255 255 255 255;
22905                rel1 {
22906                   relative: 0.0 0.0;
22907                   offset: -2 -2;
22908                }
22909                rel2 {
22910                   relative: 1.0 1.0;
22911                   offset: 1 1;
22912                }
22913             }
22914          }
22915          part { name: "elm.swallow.pad";
22916             type: SWALLOW;
22917             description { state: "default" 0.0;
22918                fixed: 1 0;
22919                align: 0.0 0.5;
22920                rel1 {
22921                   relative: 0.0  0.0;
22922                   offset:   4    4;
22923                }
22924                rel2 {
22925                   relative: 0.0  1.0;
22926                   offset:   4   -5;
22927                }
22928             }
22929          }
22930          part { name: "arrow";
22931             clip_to: "disclip";
22932             ignore_flags: ON_HOLD;
22933             description { state: "default" 0.0;
22934                fixed: 1 0;
22935                align: 0.0 0.5;
22936                aspect: 1.0 1.0;
22937                rel1 {
22938                   to_x: "elm.swallow.pad";
22939                   relative: 1.0  0.0;
22940                   offset:   -1    4;
22941                }
22942                rel2 {
22943                   to_x: "elm.swallow.pad";
22944                   relative: 1.0  1.0;
22945                   offset:   -1   -5;
22946                }
22947                image.normal: "icon_arrow_right.png";
22948             }
22949             description { state: "active" 0.0;
22950                inherit: "default" 0.0;
22951                image.normal: "icon_arrow_down.png";
22952             }
22953          }
22954          part { name: "elm.swallow.icon";
22955             clip_to: "disclip";
22956             type: SWALLOW;
22957             description { state: "default" 0.0;
22958                fixed: 1 0;
22959                align: 0.5 0.5;
22960                rel1 {
22961                   to_x: "arrow";
22962                   relative: 1.0  0.0;
22963                   offset:   4    4;
22964                }
22965                rel2 {
22966                   relative: 1.0  1.0;
22967                   offset:   -4   -5;
22968                }
22969             }
22970          }
22971          part { name: "elm.text";
22972             clip_to: "disclip";
22973             type:           TEXT;
22974             effect:         SOFT_SHADOW;
22975             mouse_events:   0;
22976             scale: 1;
22977             description {
22978                state: "default" 0.0;
22979 //               min: 16 16;
22980                rel1 {
22981                   to_y:     "elm.swallow.icon";
22982                   relative: 0.0  1.0;
22983                   offset:   0 4;
22984                }
22985                rel2 {
22986                   relative: 1.0  1.0;
22987                   offset:   -5 -5;
22988                }
22989                color: 0 0 0 255;
22990                color3: 0 0 0 0;
22991                text {
22992                   font: "Sans";
22993                   size: 10;
22994                   min: 1 1;
22995 //                  min: 0 1;
22996                   align: 0.5 0.5;
22997                   text_class: "list_item";
22998                }
22999             }
23000             description { state: "selected" 0.0;
23001                inherit: "default" 0.0;
23002                color: 224 224 224 255;
23003                color3: 0 0 0 64;
23004             }
23005          }
23006          part { name: "fg1";
23007             clip_to: "disclip";
23008             mouse_events: 0;
23009             description { state: "default" 0.0;
23010                visible: 0;
23011                color: 255 255 255 0;
23012                rel1.to: "bg";
23013                rel2.relative: 1.0 0.5;
23014                rel2.to: "bg";
23015                image {
23016                   normal: "bt_sm_hilight.png";
23017                   border: 6 6 6 0;
23018                }
23019             }
23020             description { state: "selected" 0.0;
23021                inherit: "default" 0.0;
23022                visible: 1;
23023                color: 255 255 255 255;
23024             }
23025          }
23026          part { name: "fg2";
23027             clip_to: "disclip";
23028             mouse_events: 0;
23029             description { state: "default" 0.0;
23030                visible: 0;
23031                color: 255 255 255 0;
23032                rel1.to: "bg";
23033                rel2.to: "bg";
23034                image {
23035                   normal: "bt_sm_shine.png";
23036                   border: 6 6 6 0;
23037                }
23038             }
23039             description { state: "selected" 0.0;
23040                inherit: "default" 0.0;
23041                visible: 1;
23042                color: 255 255 255 255;
23043             }
23044          }
23045          part { name: "disclip";
23046             type: RECT;
23047             description { state: "default" 0.0;
23048                rel1.to: "bg";
23049                rel2.to: "bg";
23050             }
23051             description { state: "disabled" 0.0;
23052                inherit: "default" 0.0;
23053                color: 255 255 255 64;
23054             }
23055          }
23056       }
23057       programs {
23058          // signal: elm,state,%s,active
23059          //   a "check" item named %s went active
23060          // signal: elm,state,%s,passive
23061          //   a "check" item named %s went passive
23062          // default is passive
23063          program {
23064             name:    "go_active";
23065             signal:  "elm,state,selected";
23066             source:  "elm";
23067             action:  STATE_SET "selected" 0.0;
23068             target:  "bg";
23069             target:  "fg1";
23070             target:  "fg2";
23071             target:  "elm.text";
23072          }
23073          program {
23074             name:    "go_passive";
23075             signal:  "elm,state,unselected";
23076             source:  "elm";
23077             action:  STATE_SET "default" 0.0;
23078             target:  "bg";
23079             target:  "fg1";
23080             target:  "fg2";
23081             target:  "elm.text";
23082             transition: LINEAR 0.1;
23083          }
23084          program {
23085             name:    "go_disabled";
23086             signal:  "elm,state,disabled";
23087             source:  "elm";
23088             action:  STATE_SET "disabled" 0.0;
23089             target:  "disclip";
23090          }
23091          program {
23092             name:    "go_enabled";
23093             signal:  "elm,state,enabled";
23094             source:  "elm";
23095             action:  STATE_SET "default" 0.0;
23096             target:  "disclip";
23097          }
23098          program {
23099             name:    "expand";
23100             signal:  "mouse,up,1";
23101             source:  "arrow";
23102             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23103          }
23104          program {
23105             name:    "go_expanded";
23106             signal:  "elm,state,expanded";
23107             source:  "elm";
23108             action:  STATE_SET "active" 0.0;
23109             target:  "arrow";
23110          }
23111          program {
23112             name:    "go_contracted";
23113             signal:  "elm,state,contracted";
23114             source:  "elm";
23115             action:  STATE_SET "default" 0.0;
23116             target:  "arrow";
23117          }
23118       }
23119    }
23120    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23121       data.item: "stacking" "below";
23122       data.item: "selectraise" "on";
23123       data.item: "labels" "elm.text";
23124       data.item: "icons" "elm.swallow.icon";
23125       data.item: "treesize" "20";
23126 //      data.item: "states" "";
23127       images {
23128          image: "bt_sm_base1.png" COMP;
23129          image: "bt_sm_shine.png" COMP;
23130          image: "bt_sm_hilight.png" COMP;
23131          image: "ilist_2.png" COMP;
23132          image: "icon_arrow_right.png" COMP;
23133          image: "icon_arrow_down.png" COMP;
23134       }
23135       parts {
23136          part {
23137             name:           "event";
23138             type:           RECT;
23139             repeat_events: 1;
23140             description {
23141                state: "default" 0.0;
23142                color: 0 0 0 0;
23143             }
23144          }
23145          part {
23146             name: "base";
23147             mouse_events: 0;
23148             description {
23149                state: "default" 0.0;
23150                image {
23151                   normal: "ilist_2.png";
23152                   border: 2 2 2 2;
23153                }
23154                fill.smooth: 0;
23155             }
23156          }
23157          part { name: "bg";
23158             clip_to: "disclip";
23159             mouse_events: 0;
23160             description { state: "default" 0.0;
23161                visible: 0;
23162                color: 255 255 255 0;
23163                rel1 {
23164                   relative: 0.0 0.0;
23165                   offset: -5 -5;
23166                }
23167                rel2 {
23168                   relative: 1.0 1.0;
23169                   offset: 4 4;
23170                }
23171                image {
23172                   normal: "bt_sm_base1.png";
23173                   border: 6 6 6 6;
23174                }
23175                image.middle: SOLID;
23176             }
23177             description { state: "selected" 0.0;
23178                inherit: "default" 0.0;
23179                visible: 1;
23180                color: 255 255 255 255;
23181                rel1 {
23182                   relative: 0.0 0.0;
23183                   offset: -2 -2;
23184                }
23185                rel2 {
23186                   relative: 1.0 1.0;
23187                   offset: 1 1;
23188                }
23189             }
23190          }
23191          part { name: "elm.swallow.pad";
23192             type: SWALLOW;
23193             description { state: "default" 0.0;
23194                fixed: 1 0;
23195                align: 0.0 0.5;
23196                rel1 {
23197                   relative: 0.0  0.0;
23198                   offset:   4    4;
23199                }
23200                rel2 {
23201                   relative: 0.0  1.0;
23202                   offset:   4   -5;
23203                }
23204             }
23205          }
23206          part { name: "arrow";
23207             clip_to: "disclip";
23208             ignore_flags: ON_HOLD;
23209             description { state: "default" 0.0;
23210                fixed: 1 0;
23211                align: 0.0 0.5;
23212                aspect: 1.0 1.0;
23213                rel1 {
23214                   to_x: "elm.swallow.pad";
23215                   relative: 1.0  0.0;
23216                   offset:   -1    4;
23217                }
23218                rel2 {
23219                   to_x: "elm.swallow.pad";
23220                   relative: 1.0  1.0;
23221                   offset:   -1   -5;
23222                }
23223                image.normal: "icon_arrow_right.png";
23224             }
23225             description { state: "active" 0.0;
23226                inherit: "default" 0.0;
23227                image.normal: "icon_arrow_down.png";
23228             }
23229          }
23230          part { name: "elm.swallow.icon";
23231             clip_to: "disclip";
23232             type: SWALLOW;
23233             description { state: "default" 0.0;
23234                fixed: 1 0;
23235                align: 0.5 0.5;
23236                rel1 {
23237                   to_x: "arrow";
23238                   relative: 1.0  0.0;
23239                   offset:   4    4;
23240                }
23241                rel2 {
23242                   relative: 1.0  1.0;
23243                   offset:   -4   -5;
23244                }
23245             }
23246          }
23247          part { name: "elm.text";
23248             clip_to: "disclip";
23249             type:           TEXT;
23250             effect:         SOFT_SHADOW;
23251             mouse_events:   0;
23252             scale: 1;
23253             description {
23254                state: "default" 0.0;
23255 //               min: 16 16;
23256                rel1 {
23257                   to_y:     "elm.swallow.icon";
23258                   relative: 0.0  1.0;
23259                   offset:   0 4;
23260                }
23261                rel2 {
23262                   relative: 1.0  1.0;
23263                   offset:   -5 -5;
23264                }
23265                color: 0 0 0 255;
23266                color3: 0 0 0 0;
23267                text {
23268                   font: "Sans";
23269                   size: 10;
23270                   min: 1 1;
23271 //                  min: 0 1;
23272                   align: 0.5 0.5;
23273                   text_class: "list_item";
23274                }
23275             }
23276             description { state: "selected" 0.0;
23277                inherit: "default" 0.0;
23278                color: 224 224 224 255;
23279                color3: 0 0 0 64;
23280             }
23281          }
23282          part { name: "fg1";
23283             clip_to: "disclip";
23284             mouse_events: 0;
23285             description { state: "default" 0.0;
23286                visible: 0;
23287                color: 255 255 255 0;
23288                rel1.to: "bg";
23289                rel2.relative: 1.0 0.5;
23290                rel2.to: "bg";
23291                image {
23292                   normal: "bt_sm_hilight.png";
23293                   border: 6 6 6 0;
23294                }
23295             }
23296             description { state: "selected" 0.0;
23297                inherit: "default" 0.0;
23298                visible: 1;
23299                color: 255 255 255 255;
23300             }
23301          }
23302          part { name: "fg2";
23303             clip_to: "disclip";
23304             mouse_events: 0;
23305             description { state: "default" 0.0;
23306                visible: 0;
23307                color: 255 255 255 0;
23308                rel1.to: "bg";
23309                rel2.to: "bg";
23310                image {
23311                   normal: "bt_sm_shine.png";
23312                   border: 6 6 6 0;
23313                }
23314             }
23315             description { state: "selected" 0.0;
23316                inherit: "default" 0.0;
23317                visible: 1;
23318                color: 255 255 255 255;
23319             }
23320          }
23321          part { name: "disclip";
23322             type: RECT;
23323             description { state: "default" 0.0;
23324                rel1.to: "bg";
23325                rel2.to: "bg";
23326             }
23327             description { state: "disabled" 0.0;
23328                inherit: "default" 0.0;
23329                color: 255 255 255 64;
23330             }
23331          }
23332       }
23333       programs {
23334          // signal: elm,state,%s,active
23335          //   a "check" item named %s went active
23336          // signal: elm,state,%s,passive
23337          //   a "check" item named %s went passive
23338          // default is passive
23339          program {
23340             name:    "go_active";
23341             signal:  "elm,state,selected";
23342             source:  "elm";
23343             action:  STATE_SET "selected" 0.0;
23344             target:  "bg";
23345             target:  "fg1";
23346             target:  "fg2";
23347             target:  "elm.text";
23348          }
23349          program {
23350             name:    "go_passive";
23351             signal:  "elm,state,unselected";
23352             source:  "elm";
23353             action:  STATE_SET "default" 0.0;
23354             target:  "bg";
23355             target:  "fg1";
23356             target:  "fg2";
23357             target:  "elm.text";
23358             transition: LINEAR 0.1;
23359          }
23360          program {
23361             name:    "go_disabled";
23362             signal:  "elm,state,disabled";
23363             source:  "elm";
23364             action:  STATE_SET "disabled" 0.0;
23365             target:  "disclip";
23366          }
23367          program {
23368             name:    "go_enabled";
23369             signal:  "elm,state,enabled";
23370             source:  "elm";
23371             action:  STATE_SET "default" 0.0;
23372             target:  "disclip";
23373          }
23374          program {
23375             name:    "expand";
23376             signal:  "mouse,up,1";
23377             source:  "arrow";
23378             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23379          }
23380          program {
23381             name:    "go_expanded";
23382             signal:  "elm,state,expanded";
23383             source:  "elm";
23384             action:  STATE_SET "active" 0.0;
23385             target:  "arrow";
23386          }
23387          program {
23388             name:    "go_contracted";
23389             signal:  "elm,state,contracted";
23390             source:  "elm";
23391             action:  STATE_SET "default" 0.0;
23392             target:  "arrow";
23393          }
23394       }
23395    }
23396
23397
23398 ///////////////////////////////////////////////////////////////////////////////
23399    group { name: "elm/check/base/default";
23400       images {
23401          image: "check_base.png" COMP;
23402          image: "check.png" COMP;
23403          image: "check2.png" COMP;
23404       }
23405       parts {
23406          part { name: "bg";
23407             mouse_events: 0;
23408             scale: 1;
23409             description { state: "default" 0.0;
23410                rel1.offset: 1 1;
23411                rel2.relative: 0.0 1.0;
23412                rel2.offset: 1 -2;
23413                align: 0.0 0.5;
23414                min: 16 16;
23415                max: 16 16;
23416                aspect: 1.0 1.0;
23417                aspect_preference: VERTICAL;
23418                image {
23419                   normal: "check_base.png";
23420                   border: 5 5 5 5;
23421                   middle: 0;
23422                }
23423                fill.smooth : 0;
23424             }
23425          }
23426          part { name: "check";
23427             mouse_events: 0;
23428             scale: 1;
23429             description { state: "default" 0.0;
23430                rel1 {
23431                   to: "bg";
23432                   offset: 1 1;
23433                }
23434                rel2 {
23435                   to: "bg";
23436                   offset: -2 -2;
23437                }
23438                visible: 0;
23439                color: 255 255 255 255;
23440                image.normal: "check.png";
23441             }
23442             description { state: "visible" 0.0;
23443                inherit: "default" 0.0;
23444                visible: 1;
23445             }
23446             description { state: "disabled" 0.0;
23447                inherit: "default" 0.0;
23448                visible: 0;
23449                color: 128 128 128 128;
23450             }
23451             description { state: "disabled_visible" 0.0;
23452                inherit: "default" 0.0;
23453                color: 128 128 128 128;
23454                visible: 1;
23455             }
23456          }
23457          part { name: "elm.swallow.content";
23458             type: SWALLOW;
23459             description { state: "default" 0.0;
23460                fixed: 1 0;
23461                visible: 0;
23462                align: 0.0 0.5;
23463           rel1.to_x: "bg";
23464                rel1.relative: 1.0 0.0;
23465                rel1.offset: 1 1;
23466           rel2.to_x: "bg";
23467                rel2.offset: 1 -2;
23468                rel2.relative: 1.0 1.0;
23469             }
23470             description { state: "visible" 0.0;
23471                inherit: "default" 0.0;
23472           fixed: 1 0;
23473                visible: 1;
23474                aspect: 1.0 1.0;
23475             }
23476             description { state: "disabled" 0.0;
23477                inherit: "default" 0.0;
23478                color: 128 128 128 128;
23479             }
23480             description { state: "disabled_visible" 0.0;
23481                inherit: "default" 0.0;
23482                color: 128 128 128 128;
23483           fixed: 1 0;
23484                visible: 1;
23485                aspect: 1.0 1.0;
23486             }
23487          }
23488          part { name: "elm.text";
23489             type: TEXT;
23490             mouse_events: 0;
23491             scale: 1;
23492             description { state: "default" 0.0;
23493                visible: 0;
23494                rel1.to_x: "elm.swallow.content";
23495                rel1.relative: 1.0 0.0;
23496                rel1.offset: 1 1;
23497                rel2.relative: 1.0 1.0;
23498                rel2.offset: -2 -2;
23499                color: 0 0 0 255;
23500                text {
23501                   font: "Sans,Edje-Vera";
23502                   size: 10;
23503                   min: 0 1;
23504                   align: 0.0 0.5;
23505                }
23506             }
23507             description { state: "visible" 0.0;
23508                inherit: "default" 0.0;
23509                visible: 1;
23510                text.min: 1 1;
23511             }
23512             description { state: "disabled" 0.0;
23513                inherit: "default" 0.0;
23514                color: 0 0 0 128;
23515                color3: 0 0 0 0;
23516             }
23517             description { state: "disabled_visible" 0.0;
23518                inherit: "default" 0.0;
23519                color: 0 0 0 128;
23520                color3: 0 0 0 0;
23521                visible: 1;
23522                text.min: 1 1;
23523             }
23524          }
23525          part { name: "events";
23526             type: RECT;
23527             ignore_flags: ON_HOLD;
23528             description { state: "default" 0.0;
23529                color: 0 0 0 0;
23530             }
23531          }
23532           part { name: "disabler";
23533             type: RECT;
23534             description { state: "default" 0.0;
23535                color: 0 0 0 0;
23536                visible: 0;
23537             }
23538             description { state: "disabled" 0.0;
23539                inherit: "default" 0.0;
23540                visible: 1;
23541             }
23542          }
23543       }
23544       programs {
23545          program { name: "click";
23546             signal: "mouse,up,1";
23547             source: "events";
23548             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23549          }
23550          program { name: "check_on";
23551             signal: "elm,state,check,on";
23552             source: "elm";
23553             action:  STATE_SET "visible" 0.0;
23554             target: "check";
23555          }
23556          program { name: "check_off";
23557             signal: "elm,state,check,off";
23558             source: "elm";
23559             action:  STATE_SET "default" 0.0;
23560             target: "check";
23561          }
23562          program { name: "text_show";
23563             signal: "elm,state,text,visible";
23564             source: "elm";
23565             action:  STATE_SET "visible" 0.0;
23566             target: "elm.text";
23567          }
23568          program { name: "text_hide";
23569             signal: "elm,state,text,hidden";
23570             source: "elm";
23571             action:  STATE_SET "default" 0.0;
23572             target: "elm.text";
23573          }
23574          program { name: "icon_show";
23575             signal: "elm,state,icon,visible";
23576             source: "elm";
23577             action:  STATE_SET "visible" 0.0;
23578             target: "elm.swallow.content";
23579          }
23580          program { name: "icon_hide";
23581             signal: "elm,state,icon,hidden";
23582             source: "elm";
23583             action:  STATE_SET "default" 0.0;
23584             target: "elm.swallow.content";
23585          }
23586          program { name: "disable";
23587             signal: "elm,state,disabled";
23588             source: "elm";
23589             action: STATE_SET "disabled" 0.0;
23590             target: "disabler";
23591             after: "disable_text";
23592          }
23593          program { name: "disable_text";
23594             script {
23595                new st[31];
23596                new Float:vl;
23597                get_state(PART:"elm.text", st, 30, vl);
23598                if (!strcmp(st, "visible"))
23599                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23600                else
23601                  set_state(PART:"elm.text", "disabled", 0.0);
23602
23603                get_state(PART:"elm.swallow.content", st, 30, vl);
23604                if (!strcmp(st, "visible"))
23605                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23606                else
23607                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23608
23609                get_state(PART:"check", st, 30, vl);
23610                if (!strcmp(st, "visible"))
23611                  set_state(PART:"check", "disabled_visible", 0.0);
23612                else
23613                  set_state(PART:"check", "disabled", 0.0);
23614             }
23615          }
23616          program { name: "enable";
23617             signal: "elm,state,enabled";
23618             source: "elm";
23619             action: STATE_SET "default" 0.0;
23620             target: "disabler";
23621             after: "enable_text";
23622          }
23623          program { name: "enable_text";
23624             script {
23625                new st[31];
23626                new Float:vl;
23627                get_state(PART:"elm.text", st, 30, vl);
23628                if (!strcmp(st, "disabled_visible"))
23629                  set_state(PART:"elm.text", "visible", 0.0);
23630                else
23631                  set_state(PART:"elm.text", "default", 0.0);
23632
23633                get_state(PART:"elm.swallow.content", st, 30, vl);
23634                if (!strcmp(st, "visible"))
23635                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23636                else
23637                  set_state(PART:"elm.swallow.content", "default", 0.0);
23638
23639                get_state(PART:"check", st, 30, vl);
23640                if (!strcmp(st, "visible"))
23641                  set_state(PART:"check", "visible", 0.0);
23642                else
23643                  set_state(PART:"check", "default", 0.0);
23644             }
23645          }
23646       }
23647    }
23648 ///////////////////////////////////////////////////////////////////////////////
23649    group { name: "elm/radio/base/default";
23650       images {
23651          image: "radio_base.png" COMP;
23652          image: "radio.png" COMP;
23653          image: "radio2.png" COMP;
23654       }
23655       parts {
23656          part { name: "bg";
23657             mouse_events: 0;
23658             scale: 1;
23659             description { state: "default" 0.0;
23660                rel1.offset: 1 1;
23661                rel2.relative: 0.0 1.0;
23662                rel2.offset: 1 -2;
23663                align: 0.0 0.5;
23664                min: 16 16;
23665                max: 16 16;
23666                aspect: 1.0 1.0;
23667                aspect_preference: VERTICAL;
23668                image.normal: "radio_base.png";
23669             }
23670          }
23671          part { name: "radio";
23672             mouse_events: 0;
23673             scale: 1;
23674             description { state: "default" 0.0;
23675                rel1.to: "bg";
23676                rel2.to: "bg";
23677                visible: 0;
23678                image.normal: "radio.png";
23679             }
23680             description { state: "visible" 0.0;
23681                inherit: "default" 0.0;
23682                visible: 1;
23683             }
23684          }
23685          part { name: "elm.swallow.content";
23686             type: SWALLOW;
23687             description { state: "default" 0.0;
23688                fixed: 1 0;
23689                visible: 0;
23690                align: 0.0 0.5;
23691                color: 0 0 0 0;
23692                rel1.to_x: "bg";
23693                rel1.relative: 1.0 0.0;
23694                rel1.offset: 1 1;
23695                rel2.to_x: "bg";
23696                rel2.relative: 1.0 1.0;
23697                rel2.offset: 2 -2;
23698             }
23699             description { state: "visible" 0.0;
23700                inherit: "default" 0.0;
23701                visible: 1;
23702                color: 255 255 255 255;
23703                aspect: 1.0 1.0;
23704             }
23705             description { state: "disabled" 0.0;
23706                inherit: "default" 0.0;
23707                color: 128 128 128 128;
23708             }
23709             description { state: "disabled_visible" 0.0;
23710                inherit: "default" 0.0;
23711                color: 128 128 128 128;
23712                visible: 1;
23713                aspect: 1.0 1.0;
23714             }
23715          }
23716          part { name: "elm.text";
23717             type: TEXT;
23718             mouse_events: 0;
23719             scale: 1;
23720             description { state: "default" 0.0;
23721                visible: 0;
23722                rel1.to_x: "elm.swallow.content";
23723                rel1.relative: 1.0 0.0;
23724                rel1.offset: 1 1;
23725                rel2.relative: 1.0 1.0;
23726                rel2.offset: -2 -2;
23727                color: 0 0 0 255;
23728                text {
23729                   font: "Sans,Edje-Vera";
23730                   size: 10;
23731                   min: 0 0;
23732                   align: 0.0 0.5;
23733                }
23734             }
23735             description { state: "visible" 0.0;
23736                inherit: "default" 0.0;
23737                visible: 1;
23738                text.min: 1 1;
23739             }
23740             description { state: "disabled" 0.0;
23741                inherit: "default" 0.0;
23742                color: 0 0 0 128;
23743                color3: 0 0 0 0;
23744             }
23745             description { state: "disabled_visible" 0.0;
23746                inherit: "default" 0.0;
23747                color: 0 0 0 128;
23748                color3: 0 0 0 0;
23749                visible: 1;
23750                text.min: 1 1;
23751             }
23752          }
23753          part { name: "events";
23754             type: RECT;
23755             ignore_flags: ON_HOLD;
23756             description { state: "default" 0.0;
23757                color: 0 0 0 0;
23758             }
23759          }
23760           part { name: "disabler";
23761             type: RECT;
23762             description { state: "default" 0.0;
23763                color: 0 0 0 0;
23764                visible: 0;
23765             }
23766             description { state: "disabled" 0.0;
23767                inherit: "default" 0.0;
23768                visible: 1;
23769             }
23770          }
23771       }
23772       programs {
23773          program { name: "click";
23774             signal: "mouse,up,1";
23775             source: "events";
23776             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23777          }
23778          program { name: "radio_on";
23779             signal: "elm,state,radio,on";
23780             source: "elm";
23781             action:  STATE_SET "visible" 0.0;
23782             target: "radio";
23783          }
23784          program { name: "radio_off";
23785             signal: "elm,state,radio,off";
23786             source: "elm";
23787             action:  STATE_SET "default" 0.0;
23788             target: "radio";
23789          }
23790          program { name: "text_show";
23791             signal: "elm,state,text,visible";
23792             source: "elm";
23793             action:  STATE_SET "visible" 0.0;
23794             target: "elm.text";
23795          }
23796          program { name: "text_hide";
23797             signal: "elm,state,text,hidden";
23798             source: "elm";
23799             action:  STATE_SET "default" 0.0;
23800             target: "elm.text";
23801          }
23802          program { name: "icon_show";
23803             signal: "elm,state,icon,visible";
23804             source: "elm";
23805             action:  STATE_SET "visible" 0.0;
23806             target: "elm.swallow.content";
23807          }
23808          program { name: "icon_hide";
23809             signal: "elm,state,icon,hidden";
23810             source: "elm";
23811             action:  STATE_SET "default" 0.0;
23812             target: "elm.swallow.content";
23813          }
23814          program { name: "disable";
23815             signal: "elm,state,disabled";
23816             source: "elm";
23817             action: STATE_SET "disabled" 0.0;
23818             target: "disabler";
23819             after: "disable_text";
23820          }
23821          program { name: "disable_text";
23822             script {
23823                new st[31];
23824                new Float:vl;
23825                get_state(PART:"elm.text", st, 30, vl);
23826                if (!strcmp(st, "visible"))
23827                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23828                else
23829                  set_state(PART:"elm.text", "disabled", 0.0);
23830
23831                get_state(PART:"elm.swallow.content", st, 30, vl);
23832                if (!strcmp(st, "visible"))
23833                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23834                else
23835                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23836             }
23837          }
23838          program { name: "enable";
23839             signal: "elm,state,enabled";
23840             source: "elm";
23841             action: STATE_SET "default" 0.0;
23842             target: "disabler";
23843             after: "enable_text";
23844          }
23845          program { name: "enable_text";
23846             script {
23847                new st[31];
23848                new Float:vl;
23849                get_state(PART:"elm.text", st, 30, vl);
23850                if (!strcmp(st, "disabled_visible"))
23851                  set_state(PART:"elm.text", "visible", 0.0);
23852                else
23853                  set_state(PART:"elm.text", "default", 0.0);
23854
23855                get_state(PART:"elm.swallow.content", st, 30, vl);
23856                if (!strcmp(st, "visible"))
23857                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23858                else
23859                  set_state(PART:"elm.swallow.content", "default", 0.0);
23860             }
23861          }
23862       }
23863    }
23864    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23865       data.item: "stacking" "below";
23866       data.item: "selectraise" "on";
23867       data.item: "labels" "elm.text elm.text.sub";
23868       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23869       data.item: "treesize" "20";
23870 //      data.item: "states" "";
23871       images {
23872          image: "bt_sm_base1.png" COMP;
23873          image: "bt_sm_shine.png" COMP;
23874          image: "bt_sm_hilight.png" COMP;
23875          image: "ilist_2.png" COMP;
23876          image: "icon_arrow_right.png" COMP;
23877          image: "icon_arrow_down.png" COMP;
23878       }
23879       parts {
23880          part {
23881             name:           "event";
23882             type:           RECT;
23883             repeat_events: 1;
23884             description {
23885                state: "default" 0.0;
23886                color: 0 0 0 0;
23887             }
23888          }
23889          part {
23890             name: "base";
23891             mouse_events: 0;
23892             description {
23893                state: "default" 0.0;
23894                image {
23895                   normal: "ilist_2.png";
23896                   border: 2 2 2 2;
23897                }
23898                fill.smooth: 0;
23899             }
23900          }
23901          part { name: "bg";
23902             clip_to: "disclip";
23903             mouse_events: 0;
23904             description { state: "default" 0.0;
23905                visible: 0;
23906                color: 255 255 255 0;
23907                rel1 {
23908                   relative: 0.0 0.0;
23909                   offset: -5 -5;
23910                }
23911                rel2 {
23912                   relative: 1.0 1.0;
23913                   offset: 4 4;
23914                }
23915                image {
23916                   normal: "bt_sm_base1.png";
23917                   border: 6 6 6 6;
23918                }
23919                image.middle: SOLID;
23920             }
23921             description { state: "selected" 0.0;
23922                inherit: "default" 0.0;
23923                visible: 1;
23924                color: 255 255 255 255;
23925                rel1 {
23926                   relative: 0.0 0.0;
23927                   offset: -2 -2;
23928                }
23929                rel2 {
23930                   relative: 1.0 1.0;
23931                   offset: 1 1;
23932                }
23933             }
23934          }
23935          part { name: "elm.swallow.pad";
23936             type: SWALLOW;
23937             description { state: "default" 0.0;
23938                fixed: 1 0;
23939                align: 0.0 0.5;
23940                rel1 {
23941                   relative: 0.0  0.0;
23942                   offset:   4    4;
23943                }
23944                rel2 {
23945                   relative: 0.0  1.0;
23946                   offset:   4   -5;
23947                }
23948             }
23949          }
23950          part { name: "arrow";
23951             clip_to: "disclip";
23952             ignore_flags: ON_HOLD;
23953             description { state: "default" 0.0;
23954                fixed: 1 0;
23955                align: 0.0 0.5;
23956                aspect: 1.0 1.0;
23957                rel1 {
23958                   to_x: "elm.swallow.pad";
23959                   relative: 1.0  0.0;
23960                   offset:   -1    4;
23961                }
23962                rel2 {
23963                   to_x: "elm.swallow.pad";
23964                   relative: 1.0  1.0;
23965                   offset:   -1   -5;
23966                }
23967                image.normal: "icon_arrow_right.png";
23968             }
23969             description { state: "active" 0.0;
23970                inherit: "default" 0.0;
23971                image.normal: "icon_arrow_down.png";
23972             }
23973          }
23974          part { name: "elm.swallow.icon";
23975             clip_to: "disclip";
23976             type: SWALLOW;
23977             description { state: "default" 0.0;
23978                fixed: 1 0;
23979                align: 0.0 0.5;
23980                rel1 {
23981                   to_x: "arrow";
23982                   relative: 1.0  0.0;
23983                   offset:   4    4;
23984                }
23985                rel2 {
23986                   to_x: "arrow";
23987                   relative: 1.0  1.0;
23988                   offset:   4   -5;
23989                }
23990             }
23991          }
23992          part { name: "elm.swallow.end";
23993             clip_to: "disclip";
23994             type: SWALLOW;
23995             description { state: "default" 0.0;
23996                fixed: 1 0;
23997                align: 1.0 0.5;
23998                aspect: 1.0 1.0;
23999                aspect_preference: VERTICAL;
24000                rel1 {
24001                   relative: 1.0  0.0;
24002                   offset:   -5    4;
24003                }
24004                rel2 {
24005                   relative: 1.0  1.0;
24006                   offset:   -5   -5;
24007                }
24008             }
24009          }
24010          part { name: "elm.text";
24011             clip_to: "disclip";
24012             type:           TEXT;
24013             effect:         SOFT_SHADOW;
24014             mouse_events:   0;
24015             scale: 1;
24016             description {
24017                state: "default" 0.0;
24018 //               min: 16 16;
24019                rel1 {
24020                   to_x:     "elm.swallow.icon";
24021                   relative: 1.0  0.0;
24022                   offset:   0 4;
24023                }
24024                rel2 {
24025                   to_x:     "elm.swallow.end";
24026                   relative: 0.0  0.5;
24027                   offset:   -1 -5;
24028                }
24029                color: 0 0 0 255;
24030                color3: 0 0 0 0;
24031                text {
24032                   font: "Sans";
24033                   size: 10;
24034 //                  min: 1 1;
24035                   min: 0 1;
24036                   align: 0.0 0.5;
24037                   text_class: "list_item";
24038                }
24039             }
24040             description { state: "selected" 0.0;
24041                inherit: "default" 0.0;
24042                color: 224 224 224 255;
24043                color3: 0 0 0 64;
24044             }
24045          }
24046          part { name: "elm.text.sub";
24047             clip_to: "disclip";
24048             type:           TEXT;
24049             mouse_events:   0;
24050             scale: 1;
24051             description {
24052                state: "default" 0.0;
24053 //               min: 16 16;
24054                rel1 {
24055                   to_x:     "elm.swallow.icon";
24056                   relative: 1.0  0.5;
24057                   offset:   0 4;
24058                }
24059                rel2 {
24060                   to_x:     "elm.swallow.end";
24061                   relative: 0.0  1.0;
24062                   offset:   -1 -5;
24063                }
24064                color: 0 0 0 128;
24065                color3: 0 0 0 0;
24066                text {
24067                   font: "Sans";
24068                   size: 8;
24069 //                  min: 1 1;
24070                   min: 0 1;
24071                   align: 0.0 0.5;
24072                   text_class: "list_item";
24073                }
24074             }
24075             description { state: "selected" 0.0;
24076                inherit: "default" 0.0;
24077                color: 128 128 128 255;
24078                color3: 0 0 0 32;
24079             }
24080          }
24081          part { name: "fg1";
24082             clip_to: "disclip";
24083             mouse_events: 0;
24084             description { state: "default" 0.0;
24085                visible: 0;
24086                color: 255 255 255 0;
24087                rel1.to: "bg";
24088                rel2.relative: 1.0 0.5;
24089                rel2.to: "bg";
24090                image {
24091                   normal: "bt_sm_hilight.png";
24092                   border: 6 6 6 0;
24093                }
24094             }
24095             description { state: "selected" 0.0;
24096                inherit: "default" 0.0;
24097                visible: 1;
24098                color: 255 255 255 255;
24099             }
24100          }
24101          part { name: "fg2";
24102             clip_to: "disclip";
24103             mouse_events: 0;
24104             description { state: "default" 0.0;
24105                visible: 0;
24106                color: 255 255 255 0;
24107                rel1.to: "bg";
24108                rel2.to: "bg";
24109                image {
24110                   normal: "bt_sm_shine.png";
24111                   border: 6 6 6 0;
24112                }
24113             }
24114             description { state: "selected" 0.0;
24115                inherit: "default" 0.0;
24116                visible: 1;
24117                color: 255 255 255 255;
24118             }
24119          }
24120          part { name: "disclip";
24121             type: RECT;
24122             description { state: "default" 0.0;
24123                rel1.to: "bg";
24124                rel2.to: "bg";
24125             }
24126             description { state: "disabled" 0.0;
24127                inherit: "default" 0.0;
24128                color: 255 255 255 64;
24129             }
24130          }
24131       }
24132       programs {
24133          // signal: elm,state,%s,active
24134          //   a "check" item named %s went active
24135          // signal: elm,state,%s,passive
24136          //   a "check" item named %s went passive
24137          // default is passive
24138          program {
24139             name:    "go_active";
24140             signal:  "elm,state,selected";
24141             source:  "elm";
24142             action:  STATE_SET "selected" 0.0;
24143             target:  "bg";
24144             target:  "fg1";
24145             target:  "fg2";
24146             target:  "elm.text";
24147             target:  "elm.text.sub";
24148          }
24149          program {
24150             name:    "go_passive";
24151             signal:  "elm,state,unselected";
24152             source:  "elm";
24153             action:  STATE_SET "default" 0.0;
24154             target:  "bg";
24155             target:  "fg1";
24156             target:  "fg2";
24157             target:  "elm.text";
24158             target:  "elm.text.sub";
24159             transition: LINEAR 0.1;
24160          }
24161          program {
24162             name:    "go_disabled";
24163             signal:  "elm,state,disabled";
24164             source:  "elm";
24165             action:  STATE_SET "disabled" 0.0;
24166             target:  "disclip";
24167          }
24168          program {
24169             name:    "go_enabled";
24170             signal:  "elm,state,enabled";
24171             source:  "elm";
24172             action:  STATE_SET "default" 0.0;
24173             target:  "disclip";
24174          }
24175          program {
24176             name:    "expand";
24177             signal:  "mouse,up,1";
24178             source:  "arrow";
24179             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24180          }
24181          program {
24182             name:    "go_expanded";
24183             signal:  "elm,state,expanded";
24184             source:  "elm";
24185             action:  STATE_SET "active" 0.0;
24186             target:  "arrow";
24187          }
24188          program {
24189             name:    "go_contracted";
24190             signal:  "elm,state,contracted";
24191             source:  "elm";
24192             action:  STATE_SET "default" 0.0;
24193             target:  "arrow";
24194          }
24195       }
24196    }
24197
24198    group { name: "elm/genlist/item_compress/media/default";
24199       data.item: "stacking" "above";
24200       data.item: "selectraise" "on";
24201       data.item: "labels" "elm.text.title elm.text.album-artist";
24202       data.item: "treesize" "20";
24203       images {
24204          image: "bt_sm_base1.png" COMP;
24205          image: "bt_sm_shine.png" COMP;
24206          image: "bt_sm_hilight.png" COMP;
24207          image: "ilist_1.png" COMP;
24208          image: "ilist_item_shadow.png" COMP;
24209       }
24210       parts {
24211          part {
24212             name:           "event";
24213             type:           RECT;
24214             repeat_events: 1;
24215             description {
24216                state: "default" 0.0;
24217                color: 0 0 0 0;
24218             }
24219          }
24220          part {
24221             name: "base_sh";
24222             mouse_events: 0;
24223             description {
24224                state: "default" 0.0;
24225                align: 0.0 0.0;
24226                min: 0 10;
24227                fixed: 1 1;
24228                rel1 {
24229                   to: "base";
24230                   relative: 0.0 1.0;
24231                   offset: 0 0;
24232                }
24233                rel2 {
24234                   to: "base";
24235                   relative: 1.0 1.0;
24236                   offset: -1 0;
24237                }
24238                image {
24239                   normal: "ilist_item_shadow.png";
24240                }
24241                fill.smooth: 0;
24242             }
24243          }
24244          part {
24245             name: "base";
24246             mouse_events: 0;
24247             description {
24248                state: "default" 0.0;
24249                image {
24250                   normal: "ilist_1.png";
24251                   border: 2 2 2 2;
24252                }
24253                fill.smooth: 0;
24254             }
24255          }
24256          part { name: "bg";
24257             clip_to: "disclip";
24258             mouse_events: 0;
24259             description { state: "default" 0.0;
24260                visible: 0;
24261                color: 255 255 255 0;
24262                rel1 {
24263                   relative: 0.0 0.0;
24264                   offset: -5 -5;
24265                }
24266                rel2 {
24267                   relative: 1.0 1.0;
24268                   offset: 4 4;
24269                }
24270                image {
24271                   normal: "bt_sm_base1.png";
24272                   border: 6 6 6 6;
24273                }
24274                image.middle: SOLID;
24275             }
24276             description { state: "selected" 0.0;
24277                inherit: "default" 0.0;
24278                visible: 1;
24279                color: 255 255 255 255;
24280                rel1 {
24281                   relative: 0.0 0.0;
24282                   offset: -2 -2;
24283                }
24284                rel2 {
24285                   relative: 1.0 1.0;
24286                   offset: 1 1;
24287                }
24288             }
24289          }
24290          part { name: "elm.swallow.pad";
24291             type: SWALLOW;
24292             description { state: "default" 0.0;
24293                fixed: 1 0;
24294                align: 0.0 0.5;
24295                rel1 {
24296                   relative: 0.0  0.0;
24297                   offset:   4    4;
24298                }
24299                rel2 {
24300                   relative: 0.0  1.0;
24301                   offset:   4   -5;
24302                }
24303             }
24304          }
24305          part { name: "elm.text.title";
24306             clip_to: "disclip";
24307             type:           TEXT;
24308             effect:         SOFT_SHADOW;
24309             mouse_events:   0;
24310             scale: 1;
24311             description {
24312                state: "default" 0.0;
24313                rel1 {
24314                   relative: 0.0  0.0;
24315                   offset:   4 4;
24316                }
24317                rel2 {
24318                   relative: 1.0  0.5;
24319                   offset:   -1 -5;
24320                }
24321                color: 0 0 0 255;
24322                color3: 0 0 0 0;
24323                text {
24324                   font: "Sans";
24325                   size: 10;
24326                   min: 0 1;
24327                   align: 0.0 0.5;
24328                }
24329             }
24330             description { state: "selected" 0.0;
24331                inherit: "default" 0.0;
24332                color: 224 224 224 255;
24333                color3: 0 0 0 64;
24334             }
24335          }
24336          part { name: "elm.text.album-artist";
24337             clip_to: "disclip";
24338             type:           TEXT;
24339             mouse_events:   0;
24340             scale: 1;
24341             description {
24342                state: "default" 0.0;
24343                rel1 {
24344                   relative: 0.0  0.5;
24345                   offset:   4 4;
24346                }
24347                rel2 {
24348                   relative: 1.0  1.0;
24349                   offset:   -1 -5;
24350                }
24351                color: 0 0 0 128;
24352                color3: 0 0 0 0;
24353                text {
24354                   font: "Sans";
24355                   size: 8;
24356                   min: 0 1;
24357                   align: 0.0 0.5;
24358                }
24359             }
24360             description { state: "selected" 0.0;
24361                inherit: "default" 0.0;
24362                color: 128 128 128 255;
24363                color3: 0 0 0 32;
24364             }
24365          }
24366          part { name: "fg1";
24367             clip_to: "disclip";
24368             mouse_events: 0;
24369             description { state: "default" 0.0;
24370                visible: 0;
24371                color: 255 255 255 0;
24372                rel1.to: "bg";
24373                rel2.relative: 1.0 0.5;
24374                rel2.to: "bg";
24375                image {
24376                   normal: "bt_sm_hilight.png";
24377                   border: 6 6 6 0;
24378                }
24379             }
24380             description { state: "selected" 0.0;
24381                inherit: "default" 0.0;
24382                visible: 1;
24383                color: 255 255 255 255;
24384             }
24385          }
24386          part { name: "fg2";
24387             clip_to: "disclip";
24388             mouse_events: 0;
24389             description { state: "default" 0.0;
24390                visible: 0;
24391                color: 255 255 255 0;
24392                rel1.to: "bg";
24393                rel2.to: "bg";
24394                image {
24395                   normal: "bt_sm_shine.png";
24396                   border: 6 6 6 0;
24397                }
24398             }
24399             description { state: "selected" 0.0;
24400                inherit: "default" 0.0;
24401                visible: 1;
24402                color: 255 255 255 255;
24403             }
24404          }
24405          part { name: "disclip";
24406             type: RECT;
24407             description { state: "default" 0.0;
24408                rel1.to: "bg";
24409                rel2.to: "bg";
24410             }
24411             description { state: "disabled" 0.0;
24412                inherit: "default" 0.0;
24413                color: 255 255 255 64;
24414             }
24415          }
24416       }
24417       programs {
24418          // signal: elm,state,%s,active
24419          //   a "check" item named %s went active
24420          // signal: elm,state,%s,passive
24421          //   a "check" item named %s went passive
24422          // default is passive
24423          program {
24424             name:    "go_active";
24425             signal:  "elm,state,selected";
24426             source:  "elm";
24427             action:  STATE_SET "selected" 0.0;
24428             target:  "bg";
24429             target:  "fg1";
24430             target:  "fg2";
24431             target:  "elm.text.title";
24432             target:  "elm.text.album-artist";
24433          }
24434          program {
24435             name:    "go_passive";
24436             signal:  "elm,state,unselected";
24437             source:  "elm";
24438             action:  STATE_SET "default" 0.0;
24439             target:  "bg";
24440             target:  "fg1";
24441             target:  "fg2";
24442             target:  "elm.text.title";
24443             target:  "elm.text.album-artist";
24444             transition: LINEAR 0.1;
24445          }
24446          program {
24447             name:    "go_disabled";
24448             signal:  "elm,state,disabled";
24449             source:  "elm";
24450             action:  STATE_SET "disabled" 0.0;
24451             target:  "disclip";
24452          }
24453          program {
24454             name:    "go_enabled";
24455             signal:  "elm,state,enabled";
24456             source:  "elm";
24457             action:  STATE_SET "default" 0.0;
24458             target:  "disclip";
24459          }
24460       }
24461    }
24462    group { name: "elm/genlist/item_compress_odd/media/default";
24463       data.item: "stacking" "below";
24464       data.item: "selectraise" "on";
24465       data.item: "labels" "elm.text.title elm.text.album-artist";
24466       data.item: "treesize" "20";
24467       images {
24468          image: "bt_sm_base1.png" COMP;
24469          image: "bt_sm_shine.png" COMP;
24470          image: "bt_sm_hilight.png" COMP;
24471          image: "ilist_2.png" COMP;
24472       }
24473       parts {
24474          part { name: "event";
24475             type: RECT;
24476             repeat_events: 1;
24477             description {
24478                state: "default" 0.0;
24479                color: 0 0 0 0;
24480             }
24481          }
24482          part {
24483             name: "base";
24484             mouse_events: 0;
24485             description {
24486                state: "default" 0.0;
24487                image {
24488                   normal: "ilist_2.png";
24489                   border: 2 2 2 2;
24490                }
24491                fill.smooth: 0;
24492             }
24493          }
24494          part { name: "bg";
24495             clip_to: "disclip";
24496             mouse_events: 0;
24497             description { state: "default" 0.0;
24498                visible: 0;
24499                color: 255 255 255 0;
24500                rel1 {
24501                   relative: 0.0 0.0;
24502                   offset: -5 -5;
24503                }
24504                rel2 {
24505                   relative: 1.0 1.0;
24506                   offset: 4 4;
24507                }
24508                image {
24509                   normal: "bt_sm_base1.png";
24510                   border: 6 6 6 6;
24511                }
24512                image.middle: SOLID;
24513             }
24514             description { state: "selected" 0.0;
24515                inherit: "default" 0.0;
24516                visible: 1;
24517                color: 255 255 255 255;
24518                rel1 {
24519                   relative: 0.0 0.0;
24520                   offset: -2 -2;
24521                }
24522                rel2 {
24523                   relative: 1.0 1.0;
24524                   offset: 1 1;
24525                }
24526             }
24527          }
24528          part { name: "elm.swallow.pad";
24529             type: SWALLOW;
24530             description { state: "default" 0.0;
24531                fixed: 1 0;
24532                align: 0.0 0.5;
24533                rel1 {
24534                   relative: 0.0  0.0;
24535                   offset:   4    4;
24536                }
24537                rel2 {
24538                   relative: 0.0  1.0;
24539                   offset:   4   -5;
24540                }
24541             }
24542          }
24543          part { name: "elm.text.title";
24544             clip_to: "disclip";
24545             type:           TEXT;
24546             effect:         SOFT_SHADOW;
24547             mouse_events:   0;
24548             scale: 1;
24549             description {
24550                state: "default" 0.0;
24551                rel1 {
24552                   relative: 0.0  0.0;
24553                   offset:   4 4;
24554                }
24555                rel2 {
24556                   relative: 1.0  0.5;
24557                   offset:   -1 -5;
24558                }
24559                color: 0 0 0 255;
24560                color3: 0 0 0 0;
24561                text {
24562                   font: "Sans";
24563                   size: 10;
24564                   min: 0 1;
24565                   align: 0.0 0.5;
24566                }
24567             }
24568             description { state: "selected" 0.0;
24569                inherit: "default" 0.0;
24570                color: 224 224 224 255;
24571                color3: 0 0 0 64;
24572             }
24573          }
24574          part { name: "elm.text.album-artist";
24575             clip_to: "disclip";
24576             type:           TEXT;
24577             mouse_events:   0;
24578             scale: 1;
24579             description {
24580                state: "default" 0.0;
24581                rel1 {
24582                   relative: 0.0  0.5;
24583                   offset:   4 4;
24584                }
24585                rel2 {
24586                   relative: 1.0  1.0;
24587                   offset:   -1 -5;
24588                }
24589                color: 0 0 0 128;
24590                color3: 0 0 0 0;
24591                text {
24592                   font: "Sans";
24593                   size: 8;
24594                   min: 0 1;
24595                   align: 0.0 0.5;
24596                }
24597             }
24598             description { state: "selected" 0.0;
24599                inherit: "default" 0.0;
24600                color: 128 128 128 255;
24601                color3: 0 0 0 32;
24602             }
24603          }
24604          part { name: "fg1";
24605             clip_to: "disclip";
24606             mouse_events: 0;
24607             description { state: "default" 0.0;
24608                visible: 0;
24609                color: 255 255 255 0;
24610                rel1.to: "bg";
24611                rel2.relative: 1.0 0.5;
24612                rel2.to: "bg";
24613                image {
24614                   normal: "bt_sm_hilight.png";
24615                   border: 6 6 6 0;
24616                }
24617             }
24618             description { state: "selected" 0.0;
24619                inherit: "default" 0.0;
24620                visible: 1;
24621                color: 255 255 255 255;
24622             }
24623          }
24624          part { name: "fg2";
24625             clip_to: "disclip";
24626             mouse_events: 0;
24627             description { state: "default" 0.0;
24628                visible: 0;
24629                color: 255 255 255 0;
24630                rel1.to: "bg";
24631                rel2.to: "bg";
24632                image {
24633                   normal: "bt_sm_shine.png";
24634                   border: 6 6 6 0;
24635                }
24636             }
24637             description { state: "selected" 0.0;
24638                inherit: "default" 0.0;
24639                visible: 1;
24640                color: 255 255 255 255;
24641             }
24642          }
24643          part { name: "disclip";
24644             type: RECT;
24645             description { state: "default" 0.0;
24646                rel1.to: "bg";
24647                rel2.to: "bg";
24648             }
24649             description { state: "disabled" 0.0;
24650                inherit: "default" 0.0;
24651                color: 255 255 255 64;
24652             }
24653          }
24654       }
24655       programs {
24656          // signal: elm,state,%s,active
24657          //   a "check" item named %s went active
24658          // signal: elm,state,%s,passive
24659          //   a "check" item named %s went passive
24660          // default is passive
24661          program {
24662             name:    "go_active";
24663             signal:  "elm,state,selected";
24664             source:  "elm";
24665             action:  STATE_SET "selected" 0.0;
24666             target:  "bg";
24667             target:  "fg1";
24668             target:  "fg2";
24669             target:  "elm.text.title";
24670             target:  "elm.text.album-artist";
24671          }
24672          program {
24673             name:    "go_passive";
24674             signal:  "elm,state,unselected";
24675             source:  "elm";
24676             action:  STATE_SET "default" 0.0;
24677             target:  "bg";
24678             target:  "fg1";
24679             target:  "fg2";
24680             target:  "elm.text.title";
24681             target:  "elm.text.album-artist";
24682             transition: LINEAR 0.1;
24683          }
24684          program {
24685             name:    "go_disabled";
24686             signal:  "elm,state,disabled";
24687             source:  "elm";
24688             action:  STATE_SET "disabled" 0.0;
24689             target:  "disclip";
24690          }
24691          program {
24692             name:    "go_enabled";
24693             signal:  "elm,state,enabled";
24694             source:  "elm";
24695             action:  STATE_SET "default" 0.0;
24696             target:  "disclip";
24697          }
24698       }
24699    }
24700
24701    group { name: "elm/genlist/item_compress/media-album/default";
24702       data.item: "stacking" "above";
24703       data.item: "selectraise" "on";
24704       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24705       data.item: "states" "elm.state.trackno";
24706       data.item: "treesize" "20";
24707       images {
24708          image: "bt_sm_base1.png" COMP;
24709          image: "bt_sm_shine.png" COMP;
24710          image: "bt_sm_hilight.png" COMP;
24711          image: "ilist_1.png" COMP;
24712          image: "ilist_item_shadow.png" COMP;
24713       }
24714       script {
24715          public dot_visible;
24716       }
24717       parts {
24718          part {
24719             name: "event";
24720             type: RECT;
24721             repeat_events: 1;
24722             description {
24723                state: "default" 0.0;
24724                color: 0 0 0 0;
24725             }
24726          }
24727          part {
24728             name: "base_sh";
24729             mouse_events: 0;
24730             description {
24731                state: "default" 0.0;
24732                align: 0.0 0.0;
24733                min: 0 10;
24734                fixed: 1 1;
24735                rel1 {
24736                   to: "base";
24737                   relative: 0.0 1.0;
24738                   offset: 0 0;
24739                }
24740                rel2 {
24741                   to: "base";
24742                   relative: 1.0 1.0;
24743                   offset: -1 0;
24744                }
24745                image {
24746                   normal: "ilist_item_shadow.png";
24747                }
24748                fill.smooth: 0;
24749             }
24750          }
24751          part {
24752             name: "base";
24753             mouse_events: 0;
24754             description {
24755                state: "default" 0.0;
24756                image {
24757                   normal: "ilist_1.png";
24758                   border: 2 2 2 2;
24759                }
24760                fill.smooth: 0;
24761             }
24762          }
24763          part { name: "bg";
24764             clip_to: "disclip";
24765             mouse_events: 0;
24766             description { state: "default" 0.0;
24767                visible: 0;
24768                color: 255 255 255 0;
24769                rel1 {
24770                   relative: 0.0 0.0;
24771                   offset: -5 -5;
24772                }
24773                rel2 {
24774                   relative: 1.0 1.0;
24775                   offset: 4 4;
24776                }
24777                image {
24778                   normal: "bt_sm_base1.png";
24779                   border: 6 6 6 6;
24780                }
24781                image.middle: SOLID;
24782             }
24783             description { state: "selected" 0.0;
24784                inherit: "default" 0.0;
24785                visible: 1;
24786                color: 255 255 255 255;
24787                rel1 {
24788                   relative: 0.0 0.0;
24789                   offset: -2 -2;
24790                }
24791                rel2 {
24792                   relative: 1.0 1.0;
24793                   offset: 1 1;
24794                }
24795             }
24796          }
24797          part { name: "elm.swallow.pad";
24798             type: SWALLOW;
24799             description { state: "default" 0.0;
24800                fixed: 1 0;
24801                align: 0.0 0.5;
24802                rel1 {
24803                   relative: 0.0  0.0;
24804                   offset:   4    4;
24805                }
24806                rel2 {
24807                   relative: 0.0  1.0;
24808                   offset:   4   -5;
24809                }
24810             }
24811          }
24812          part {
24813             name: "elm.text.trackno";
24814             type: TEXT;
24815             scale: 1;
24816             mouse_events: 0;
24817             description {
24818                state: "default" 0.0;
24819                color: 255 255 255 255;
24820                align: 0.0 0.0;
24821                fixed: 1 0;
24822                rel1 {
24823                   to_y: "elm.text.title";
24824                   relative: 0.0 0.0;
24825                   offset: 5 0;
24826                }
24827                rel2 {
24828                   to_y: "elm.text.title";
24829                   relative: 0.0 1.0;
24830                   offset: 20 0;
24831                }
24832                color: 0 0 0 255;
24833                color3: 0 0 0 0;
24834                text {
24835                   font: "Sans";
24836                   size: 10;
24837                   min: 1 1;
24838                   align: 1.0 0.5;
24839                }
24840             }
24841             description { state: "selected" 0.0;
24842                inherit: "default" 0.0;
24843                color: 224 224 224 255;
24844                color3: 0 0 0 64;
24845             }
24846          }
24847          part {
24848             name: "dot";
24849             type: TEXT;
24850             scale: 1;
24851             mouse_events: 0;
24852             description {
24853                state: "default" 0.0;
24854                color: 255 255 255 255;
24855                visible: 0;
24856                fixed: 1 1;
24857                align: 0.0 0.0;
24858                rel1 {
24859                   to_x: "elm.text.trackno";
24860                   to_y: "elm.text.title";
24861                   relative: 1.0 0.0;
24862                   offset: 1 0;
24863                }
24864                rel2 {
24865                   to_x: "elm.text.trackno";
24866                   to_y: "elm.text.title";
24867                   relative: 1.0 1.0;
24868                   offset: 1 0;
24869
24870                }
24871                color: 0 0 0 255;
24872                color3: 0 0 0 0;
24873                text {
24874                   font: "Sans";
24875                   size: 10;
24876                   min: 1 1;
24877                   align: 0.0 0.5;
24878                   text: ".";
24879                }
24880             }
24881             description {
24882                state: "visible" 0.0;
24883                inherit: "default" 0.0;
24884                visible: 1;
24885             }
24886             description { state: "selected" 0.0;
24887                inherit: "default" 0.0;
24888                color: 224 224 224 255;
24889                color3: 0 0 0 64;
24890                visible: 1;
24891             }
24892          }
24893          programs {
24894             program {
24895                signal: "elm,state,elm.state.trackno,active";
24896                source: "elm";
24897                script {
24898                   set_state(PART:"dot", "visible", 0.0);
24899                   set_int(dot_visible, 1);
24900                }
24901             }
24902          }
24903          part { name: "elm.text.title";
24904             clip_to: "disclip";
24905             type:           TEXT;
24906             effect:         SOFT_SHADOW;
24907             mouse_events:   0;
24908             scale: 1;
24909             description {
24910                state: "default" 0.0;
24911                rel1 {
24912                   to_x: "dot";
24913                   relative: 0.0  0.0;
24914                   offset:   4 4;
24915                }
24916                rel2 {
24917                   relative: 1.0  0.5;
24918                   offset:   -1 -5;
24919                }
24920                color: 0 0 0 255;
24921                color3: 0 0 0 0;
24922                text {
24923                   font: "Sans";
24924                   size: 10;
24925                   min: 0 1;
24926                   align: 0.0 0.5;
24927                }
24928             }
24929             description { state: "selected" 0.0;
24930                inherit: "default" 0.0;
24931                color: 224 224 224 255;
24932                color3: 0 0 0 64;
24933             }
24934          }
24935          part { name: "elm.text.length";
24936             clip_to: "disclip";
24937             type:           TEXT;
24938             mouse_events:   0;
24939             scale: 1;
24940             description {
24941                state: "default" 0.0;
24942                rel1 {
24943                   relative: 0.0  0.5;
24944                   offset:   4 4;
24945                }
24946                rel2 {
24947                   relative: 1.0  1.0;
24948                   offset:   -1 -5;
24949                }
24950                color: 0 0 0 128;
24951                color3: 0 0 0 0;
24952                text {
24953                   font: "Sans";
24954                   size: 8;
24955                   min: 0 1;
24956                   align: 0.0 0.5;
24957                }
24958             }
24959             description { state: "selected" 0.0;
24960                inherit: "default" 0.0;
24961                color: 128 128 128 255;
24962                color3: 0 0 0 32;
24963             }
24964          }
24965          part { name: "fg1";
24966             clip_to: "disclip";
24967             mouse_events: 0;
24968             description { state: "default" 0.0;
24969                visible: 0;
24970                color: 255 255 255 0;
24971                rel1.to: "bg";
24972                rel2.relative: 1.0 0.5;
24973                rel2.to: "bg";
24974                image {
24975                   normal: "bt_sm_hilight.png";
24976                   border: 6 6 6 0;
24977                }
24978             }
24979             description { state: "selected" 0.0;
24980                inherit: "default" 0.0;
24981                visible: 1;
24982                color: 255 255 255 255;
24983             }
24984          }
24985          part { name: "fg2";
24986             clip_to: "disclip";
24987             mouse_events: 0;
24988             description { state: "default" 0.0;
24989                visible: 0;
24990                color: 255 255 255 0;
24991                rel1.to: "bg";
24992                rel2.to: "bg";
24993                image {
24994                   normal: "bt_sm_shine.png";
24995                   border: 6 6 6 0;
24996                }
24997             }
24998             description { state: "selected" 0.0;
24999                inherit: "default" 0.0;
25000                visible: 1;
25001                color: 255 255 255 255;
25002             }
25003          }
25004          part { name: "disclip";
25005             type: RECT;
25006             description { state: "default" 0.0;
25007                rel1.to: "bg";
25008                rel2.to: "bg";
25009             }
25010             description { state: "disabled" 0.0;
25011                inherit: "default" 0.0;
25012                color: 255 255 255 64;
25013             }
25014          }
25015       }
25016       programs {
25017          // signal: elm,state,%s,active
25018          //   a "check" item named %s went active
25019          // signal: elm,state,%s,passive
25020          //   a "check" item named %s went passive
25021          // default is passive
25022          program {
25023             name:    "go_active";
25024             signal:  "elm,state,selected";
25025             source:  "elm";
25026             action:  STATE_SET "selected" 0.0;
25027             target:  "bg";
25028             target:  "fg1";
25029             target:  "fg2";
25030             target:  "elm.text.title";
25031             target:  "elm.text.trackno";
25032             target:  "elm.text.length";
25033             after:   "dot_active";
25034          }
25035          program {
25036             name: "dot_active";
25037             script {
25038                if (get_int(dot_visible) == 1)
25039                   set_state(PART:"dot", "selected", 0.0);
25040             }
25041          }
25042          program {
25043             name:    "go_passive";
25044             signal:  "elm,state,unselected";
25045             source:  "elm";
25046             action:  STATE_SET "default" 0.0;
25047             target:  "bg";
25048             target:  "fg1";
25049             target:  "fg2";
25050             target:  "elm.text.title";
25051             target:  "elm.text.length";
25052             target:  "elm.text.trackno";
25053             transition: LINEAR 0.1;
25054             after:   "dot_passive";
25055          }
25056          program {
25057             name: "dot_passive";
25058             script {
25059                if (get_int(dot_visible) == 1)
25060                   set_state(PART:"dot", "visible", 0.0);
25061             }
25062          }
25063          program {
25064             name:    "go_disabled";
25065             signal:  "elm,state,disabled";
25066             source:  "elm";
25067             action:  STATE_SET "disabled" 0.0;
25068             target:  "disclip";
25069          }
25070          program {
25071             name:    "go_enabled";
25072             signal:  "elm,state,enabled";
25073             source:  "elm";
25074             action:  STATE_SET "default" 0.0;
25075             target:  "disclip";
25076          }
25077       }
25078    }
25079    group { name: "elm/genlist/item_compress_odd/media-album/default";
25080       data.item: "stacking" "below";
25081       data.item: "selectraise" "on";
25082       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25083       data.item: "states" "elm.state.trackno";
25084       data.item: "treesize" "20";
25085       images {
25086          image: "bt_sm_base1.png" COMP;
25087          image: "bt_sm_shine.png" COMP;
25088          image: "bt_sm_hilight.png" COMP;
25089          image: "ilist_2.png" COMP;
25090       }
25091       script {
25092          public dot_visible;
25093       }
25094       parts {
25095          part { name: "event";
25096             type: RECT;
25097             repeat_events: 1;
25098             description {
25099                state: "default" 0.0;
25100                color: 0 0 0 0;
25101             }
25102          }
25103          part {
25104             name: "base";
25105             mouse_events: 0;
25106             description {
25107                state: "default" 0.0;
25108                image {
25109                   normal: "ilist_2.png";
25110                   border: 2 2 2 2;
25111                }
25112                fill.smooth: 0;
25113             }
25114          }
25115          part { name: "bg";
25116             clip_to: "disclip";
25117             mouse_events: 0;
25118             description { state: "default" 0.0;
25119                visible: 0;
25120                color: 255 255 255 0;
25121                rel1 {
25122                   relative: 0.0 0.0;
25123                   offset: -5 -5;
25124                }
25125                rel2 {
25126                   relative: 1.0 1.0;
25127                   offset: 4 4;
25128                }
25129                image {
25130                   normal: "bt_sm_base1.png";
25131                   border: 6 6 6 6;
25132                }
25133                image.middle: SOLID;
25134             }
25135             description { state: "selected" 0.0;
25136                inherit: "default" 0.0;
25137                visible: 1;
25138                color: 255 255 255 255;
25139                rel1 {
25140                   relative: 0.0 0.0;
25141                   offset: -2 -2;
25142                }
25143                rel2 {
25144                   relative: 1.0 1.0;
25145                   offset: 1 1;
25146                }
25147             }
25148          }
25149          part { name: "elm.swallow.pad";
25150             type: SWALLOW;
25151             description { state: "default" 0.0;
25152                fixed: 1 0;
25153                align: 0.0 0.5;
25154                rel1 {
25155                   relative: 0.0  0.0;
25156                   offset:   4    4;
25157                }
25158                rel2 {
25159                   relative: 0.0  1.0;
25160                   offset:   4   -5;
25161                }
25162             }
25163          }
25164          part {
25165             name: "elm.text.trackno";
25166             type: TEXT;
25167             scale: 1;
25168             mouse_events: 0;
25169             description {
25170                state: "default" 0.0;
25171                color: 255 255 255 255;
25172                align: 0.0 0.0;
25173                fixed: 1 0;
25174                rel1 {
25175                   to_y: "elm.text.title";
25176                   relative: 0.0 0.0;
25177                   offset: 5 0;
25178                }
25179                rel2 {
25180                   to_y: "elm.text.title";
25181                   relative: 0.0 1.0;
25182                   offset: 20 0;
25183                }
25184                color: 0 0 0 255;
25185                color3: 0 0 0 0;
25186                text {
25187                   font: "Sans";
25188                   size: 10;
25189                   min: 1 1;
25190                   align: 1.0 0.5;
25191                }
25192             }
25193             description { state: "selected" 0.0;
25194                inherit: "default" 0.0;
25195                color: 224 224 224 255;
25196                color3: 0 0 0 64;
25197             }
25198          }
25199          part {
25200             name: "dot";
25201             type: TEXT;
25202             scale: 1;
25203             mouse_events: 0;
25204             description {
25205                state: "default" 0.0;
25206                color: 255 255 255 255;
25207                visible: 0;
25208                fixed: 1 1;
25209                align: 0.0 0.0;
25210                rel1 {
25211                   to_x: "elm.text.trackno";
25212                   to_y: "elm.text.title";
25213                   relative: 1.0 0.0;
25214                   offset: 1 0;
25215                }
25216                rel2 {
25217                   to_x: "elm.text.trackno";
25218                   to_y: "elm.text.title";
25219                   relative: 1.0 1.0;
25220                   offset: 1 0;
25221
25222                }
25223                color: 0 0 0 255;
25224                color3: 0 0 0 0;
25225                text {
25226                   font: "Sans";
25227                   size: 10;
25228                   min: 1 1;
25229                   align: 0.0 0.5;
25230                   text: ".";
25231                }
25232             }
25233             description {
25234                state: "visible" 0.0;
25235                inherit: "default" 0.0;
25236                visible: 1;
25237             }
25238             description { state: "selected" 0.0;
25239                inherit: "default" 0.0;
25240                color: 224 224 224 255;
25241                color3: 0 0 0 64;
25242                visible: 1;
25243             }
25244          }
25245          programs {
25246             program {
25247                signal: "elm,state,elm.state.trackno,active";
25248                source: "elm";
25249                script {
25250                   set_state(PART:"dot", "visible", 0.0);
25251                   set_int(dot_visible, 1);
25252                }
25253             }
25254          }
25255          part { name: "elm.text.title";
25256             clip_to: "disclip";
25257             type:           TEXT;
25258             effect:         SOFT_SHADOW;
25259             mouse_events:   0;
25260             scale: 1;
25261             description {
25262                state: "default" 0.0;
25263                rel1 {
25264                   to_x: "dot";
25265                   relative: 1.0  0.0;
25266                   offset:   4 4;
25267                }
25268                rel2 {
25269                   relative: 1.0  0.5;
25270                   offset:   -1 -5;
25271                }
25272                color: 0 0 0 255;
25273                color3: 0 0 0 0;
25274                text {
25275                   font: "Sans";
25276                   size: 10;
25277                   min: 0 1;
25278                   align: 0.0 0.5;
25279                }
25280             }
25281             description { state: "selected" 0.0;
25282                inherit: "default" 0.0;
25283                color: 224 224 224 255;
25284                color3: 0 0 0 64;
25285             }
25286          }
25287          part { name: "elm.text.length";
25288             clip_to: "disclip";
25289             type:           TEXT;
25290             mouse_events:   0;
25291             scale: 1;
25292             description {
25293                state: "default" 0.0;
25294                rel1 {
25295                   relative: 0.0  0.5;
25296                   offset:   4 4;
25297                }
25298                rel2 {
25299                   relative: 1.0  1.0;
25300                   offset:   -1 -5;
25301                }
25302                color: 0 0 0 128;
25303                color3: 0 0 0 0;
25304                text {
25305                   font: "Sans";
25306                   size: 8;
25307                   min: 0 1;
25308                   align: 0.0 0.5;
25309                }
25310             }
25311             description { state: "selected" 0.0;
25312                inherit: "default" 0.0;
25313                color: 128 128 128 255;
25314                color3: 0 0 0 32;
25315             }
25316          }
25317          part { name: "fg1";
25318             clip_to: "disclip";
25319             mouse_events: 0;
25320             description { state: "default" 0.0;
25321                visible: 0;
25322                color: 255 255 255 0;
25323                rel1.to: "bg";
25324                rel2.relative: 1.0 0.5;
25325                rel2.to: "bg";
25326                image {
25327                   normal: "bt_sm_hilight.png";
25328                   border: 6 6 6 0;
25329                }
25330             }
25331             description { state: "selected" 0.0;
25332                inherit: "default" 0.0;
25333                visible: 1;
25334                color: 255 255 255 255;
25335             }
25336          }
25337          part { name: "fg2";
25338             clip_to: "disclip";
25339             mouse_events: 0;
25340             description { state: "default" 0.0;
25341                visible: 0;
25342                color: 255 255 255 0;
25343                rel1.to: "bg";
25344                rel2.to: "bg";
25345                image {
25346                   normal: "bt_sm_shine.png";
25347                   border: 6 6 6 0;
25348                }
25349             }
25350             description { state: "selected" 0.0;
25351                inherit: "default" 0.0;
25352                visible: 1;
25353                color: 255 255 255 255;
25354             }
25355          }
25356          part { name: "disclip";
25357             type: RECT;
25358             description { state: "default" 0.0;
25359                rel1.to: "bg";
25360                rel2.to: "bg";
25361             }
25362             description { state: "disabled" 0.0;
25363                inherit: "default" 0.0;
25364                color: 255 255 255 64;
25365             }
25366          }
25367       }
25368       programs {
25369          // signal: elm,state,%s,active
25370          //   a "check" item named %s went active
25371          // signal: elm,state,%s,passive
25372          //   a "check" item named %s went passive
25373          // default is passive
25374          program {
25375             name:    "go_active";
25376             signal:  "elm,state,selected";
25377             source:  "elm";
25378             action:  STATE_SET "selected" 0.0;
25379             target:  "bg";
25380             target:  "fg1";
25381             target:  "fg2";
25382             target:  "elm.text.title";
25383             target:  "elm.text.length";
25384             target:  "elm.text.trackno";
25385             after:   "dot_active";
25386          }
25387          program {
25388             name: "dot_active";
25389             script {
25390                if (get_int(dot_visible) == 1)
25391                   set_state(PART:"dot", "selected", 0.0);
25392             }
25393          }
25394          program {
25395             name:    "go_passive";
25396             signal:  "elm,state,unselected";
25397             source:  "elm";
25398             action:  STATE_SET "default" 0.0;
25399             target:  "bg";
25400             target:  "fg1";
25401             target:  "fg2";
25402             target:  "elm.text.title";
25403             target:  "elm.text.length";
25404             target:  "elm.text.trackno";
25405             transition: LINEAR 0.1;
25406             after:   "dot_passive";
25407          }
25408          program {
25409             name: "dot_passive";
25410             script {
25411                if (get_int(dot_visible) == 1)
25412                   set_state(PART:"dot", "visible", 0.0);
25413             }
25414          }
25415          program {
25416             name:    "go_disabled";
25417             signal:  "elm,state,disabled";
25418             source:  "elm";
25419             action:  STATE_SET "disabled" 0.0;
25420             target:  "disclip";
25421          }
25422          program {
25423             name:    "go_enabled";
25424             signal:  "elm,state,enabled";
25425             source:  "elm";
25426             action:  STATE_SET "default" 0.0;
25427             target:  "disclip";
25428          }
25429       }
25430    }
25431
25432    group { name: "elm/genlist/item_compress/media-preview/default";
25433       data.item: "stacking" "above";
25434       data.item: "selectraise" "on";
25435       data.item: "labels" "elm.text.title elm.text.artist";
25436       data.item: "icons" "elm.swallow.preview";
25437       data.item: "treesize" "20";
25438       images {
25439          image: "bt_sm_base1.png" COMP;
25440          image: "bt_sm_shine.png" COMP;
25441          image: "bt_sm_hilight.png" COMP;
25442          image: "ilist_1.png" COMP;
25443          image: "ilist_item_shadow.png" COMP;
25444       }
25445       parts {
25446          part {
25447             name: "event";
25448             type: RECT;
25449             repeat_events: 1;
25450             description {
25451                state: "default" 0.0;
25452                color: 0 0 0 0;
25453             }
25454          }
25455          part {
25456             name: "base_sh";
25457             mouse_events: 0;
25458             description {
25459                state: "default" 0.0;
25460                align: 0.0 0.0;
25461                min: 0 10;
25462                fixed: 1 1;
25463                rel1 {
25464                   to: "base";
25465                   relative: 0.0 1.0;
25466                   offset: 0 0;
25467                }
25468                rel2 {
25469                   to: "base";
25470                   relative: 1.0 1.0;
25471                   offset: -1 0;
25472                }
25473                image {
25474                   normal: "ilist_item_shadow.png";
25475                }
25476                fill.smooth: 0;
25477             }
25478          }
25479          part {
25480             name: "base";
25481             mouse_events: 0;
25482             description {
25483                state: "default" 0.0;
25484                image {
25485                   normal: "ilist_1.png";
25486                   border: 2 2 2 2;
25487                }
25488                fill.smooth: 0;
25489             }
25490          }
25491          part { name: "bg";
25492             clip_to: "disclip";
25493             mouse_events: 0;
25494             description { state: "default" 0.0;
25495                visible: 0;
25496                color: 255 255 255 0;
25497                rel1 {
25498                   relative: 0.0 0.0;
25499                   offset: -5 -5;
25500                }
25501                rel2 {
25502                   relative: 1.0 1.0;
25503                   offset: 4 4;
25504                }
25505                image {
25506                   normal: "bt_sm_base1.png";
25507                   border: 6 6 6 6;
25508                }
25509                image.middle: SOLID;
25510             }
25511             description { state: "selected" 0.0;
25512                inherit: "default" 0.0;
25513                visible: 1;
25514                color: 255 255 255 255;
25515                rel1 {
25516                   relative: 0.0 0.0;
25517                   offset: -2 -2;
25518                }
25519                rel2 {
25520                   relative: 1.0 1.0;
25521                   offset: 1 1;
25522                }
25523             }
25524          }
25525          part { name: "elm.swallow.pad";
25526             type: SWALLOW;
25527             description { state: "default" 0.0;
25528                fixed: 1 0;
25529                align: 0.0 0.5;
25530                rel1 {
25531                   relative: 0.0  0.0;
25532                   offset:   4    4;
25533                }
25534                rel2 {
25535                   relative: 0.0  1.0;
25536                   offset:   4   -5;
25537                }
25538             }
25539          }
25540          part { name: "elm.swallow.preview";
25541             clip_to: "disclip";
25542             type: SWALLOW;
25543             description { state: "default" 0.0;
25544                fixed: 1 0;
25545                align: 0.0 0.5;
25546                min: 68 68;
25547                max: 68 68;
25548                rel1 {
25549                   to_x: "elm.swallow.pad";
25550                   relative: 1.0  0.0;
25551                   offset:   -1    4;
25552                }
25553                rel2 {
25554                   to_x: "elm.swallow.pad";
25555                   relative: 1.0  1.0;
25556                   offset:   -1   -5;
25557                }
25558             }
25559          }
25560          part { name: "elm.text.title";
25561             clip_to: "disclip";
25562             type:           TEXT;
25563             effect:         SOFT_SHADOW;
25564             mouse_events:   0;
25565             scale: 1;
25566             description {
25567                state: "default" 0.0;
25568                rel1 {
25569                   to_x:     "elm.swallow.preview";
25570                   relative: 1.0  0.0;
25571                   offset:   4 4;
25572                }
25573                rel2 {
25574                   relative: 1.0  0.5;
25575                   offset:   -1 -5;
25576                }
25577                color: 0 0 0 255;
25578                color3: 0 0 0 0;
25579                text {
25580                   font: "Sans";
25581                   size: 10;
25582                   min: 0 1;
25583                   align: 0.0 0.5;
25584                }
25585             }
25586             description { state: "selected" 0.0;
25587                inherit: "default" 0.0;
25588                color: 224 224 224 255;
25589                color3: 0 0 0 64;
25590             }
25591          }
25592          part { name: "elm.text.artist";
25593             clip_to: "disclip";
25594             type:           TEXT;
25595             mouse_events:   0;
25596             scale: 1;
25597             description {
25598                state: "default" 0.0;
25599                rel1 {
25600                   to_x:     "elm.swallow.preview";
25601                   relative: 1.0  0.5;
25602                   offset:   4 4;
25603                }
25604                rel2 {
25605                   relative: 1.0  1.0;
25606                   offset:   -1 -5;
25607                }
25608                color: 0 0 0 128;
25609                color3: 0 0 0 0;
25610                text {
25611                   font: "Sans";
25612                   size: 8;
25613                   min: 0 1;
25614                   align: 0.0 0.5;
25615                }
25616             }
25617             description { state: "selected" 0.0;
25618                inherit: "default" 0.0;
25619                color: 128 128 128 255;
25620                color3: 0 0 0 32;
25621             }
25622          }
25623          part { name: "fg1";
25624             clip_to: "disclip";
25625             mouse_events: 0;
25626             description { state: "default" 0.0;
25627                visible: 0;
25628                color: 255 255 255 0;
25629                rel1.to: "bg";
25630                rel2.relative: 1.0 0.5;
25631                rel2.to: "bg";
25632                image {
25633                   normal: "bt_sm_hilight.png";
25634                   border: 6 6 6 0;
25635                }
25636             }
25637             description { state: "selected" 0.0;
25638                inherit: "default" 0.0;
25639                visible: 1;
25640                color: 255 255 255 255;
25641             }
25642          }
25643          part { name: "fg2";
25644             clip_to: "disclip";
25645             mouse_events: 0;
25646             description { state: "default" 0.0;
25647                visible: 0;
25648                color: 255 255 255 0;
25649                rel1.to: "bg";
25650                rel2.to: "bg";
25651                image {
25652                   normal: "bt_sm_shine.png";
25653                   border: 6 6 6 0;
25654                }
25655             }
25656             description { state: "selected" 0.0;
25657                inherit: "default" 0.0;
25658                visible: 1;
25659                color: 255 255 255 255;
25660             }
25661          }
25662          part { name: "disclip";
25663             type: RECT;
25664             description { state: "default" 0.0;
25665                rel1.to: "bg";
25666                rel2.to: "bg";
25667             }
25668             description { state: "disabled" 0.0;
25669                inherit: "default" 0.0;
25670                color: 255 255 255 64;
25671             }
25672          }
25673       }
25674       programs {
25675          // signal: elm,state,%s,active
25676          //   a "check" item named %s went active
25677          // signal: elm,state,%s,passive
25678          //   a "check" item named %s went passive
25679          // default is passive
25680          program {
25681             name:    "go_active";
25682             signal:  "elm,state,selected";
25683             source:  "elm";
25684             action:  STATE_SET "selected" 0.0;
25685             target:  "bg";
25686             target:  "fg1";
25687             target:  "fg2";
25688             target:  "elm.text.title";
25689             target:  "elm.text.artist";
25690          }
25691          program {
25692             name:    "go_passive";
25693             signal:  "elm,state,unselected";
25694             source:  "elm";
25695             action:  STATE_SET "default" 0.0;
25696             target:  "bg";
25697             target:  "fg1";
25698             target:  "fg2";
25699             target:  "elm.text.title";
25700             target:  "elm.text.artist";
25701             transition: LINEAR 0.1;
25702          }
25703          program {
25704             name:    "go_disabled";
25705             signal:  "elm,state,disabled";
25706             source:  "elm";
25707             action:  STATE_SET "disabled" 0.0;
25708             target:  "disclip";
25709          }
25710          program {
25711             name:    "go_enabled";
25712             signal:  "elm,state,enabled";
25713             source:  "elm";
25714             action:  STATE_SET "default" 0.0;
25715             target:  "disclip";
25716          }
25717       }
25718    }
25719    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25720       data.item: "stacking" "below";
25721       data.item: "selectraise" "on";
25722       data.item: "labels" "elm.text.title elm.text.artist";
25723       data.item: "icons" "elm.swallow.preview";
25724       data.item: "treesize" "20";
25725       images {
25726          image: "bt_sm_base1.png" COMP;
25727          image: "bt_sm_shine.png" COMP;
25728          image: "bt_sm_hilight.png" COMP;
25729          image: "ilist_2.png" COMP;
25730       }
25731       parts {
25732          part { name: "event";
25733             type: RECT;
25734             repeat_events: 1;
25735             description {
25736                state: "default" 0.0;
25737                color: 0 0 0 0;
25738             }
25739          }
25740          part {
25741             name: "base";
25742             mouse_events: 0;
25743             description {
25744                state: "default" 0.0;
25745                image {
25746                   normal: "ilist_2.png";
25747                   border: 2 2 2 2;
25748                }
25749                fill.smooth: 0;
25750             }
25751          }
25752          part { name: "bg";
25753             clip_to: "disclip";
25754             mouse_events: 0;
25755             description { state: "default" 0.0;
25756                visible: 0;
25757                color: 255 255 255 0;
25758                rel1 {
25759                   relative: 0.0 0.0;
25760                   offset: -5 -5;
25761                }
25762                rel2 {
25763                   relative: 1.0 1.0;
25764                   offset: 4 4;
25765                }
25766                image {
25767                   normal: "bt_sm_base1.png";
25768                   border: 6 6 6 6;
25769                }
25770                image.middle: SOLID;
25771             }
25772             description { state: "selected" 0.0;
25773                inherit: "default" 0.0;
25774                visible: 1;
25775                color: 255 255 255 255;
25776                rel1 {
25777                   relative: 0.0 0.0;
25778                   offset: -2 -2;
25779                }
25780                rel2 {
25781                   relative: 1.0 1.0;
25782                   offset: 1 1;
25783                }
25784             }
25785          }
25786          part { name: "elm.swallow.pad";
25787             type: SWALLOW;
25788             description { state: "default" 0.0;
25789                fixed: 1 0;
25790                align: 0.0 0.5;
25791                rel1 {
25792                   relative: 0.0  0.0;
25793                   offset:   4    4;
25794                }
25795                rel2 {
25796                   relative: 0.0  1.0;
25797                   offset:   4   -5;
25798                }
25799             }
25800          }
25801          part { name: "elm.swallow.preview";
25802             clip_to: "disclip";
25803             type: SWALLOW;
25804             description { state: "default" 0.0;
25805                fixed: 1 0;
25806                align: 0.0 0.5;
25807                min: 68 68;
25808                max: 68 68;
25809                rel1 {
25810                   to_x: "elm.swallow.pad";
25811                   relative: 1.0  0.0;
25812                   offset:   -1    4;
25813                }
25814                rel2 {
25815                   to_x: "elm.swallow.pad";
25816                   relative: 1.0  1.0;
25817                   offset:   -1   -5;
25818                }
25819             }
25820          }
25821          part { name: "elm.text.title";
25822             clip_to: "disclip";
25823             type:           TEXT;
25824             effect:         SOFT_SHADOW;
25825             mouse_events:   0;
25826             scale: 1;
25827             description {
25828                state: "default" 0.0;
25829                rel1 {
25830                   to_x:     "elm.swallow.preview";
25831                   relative: 1.0  0.0;
25832                   offset:   4 4;
25833                }
25834                rel2 {
25835                   relative: 1.0  0.5;
25836                   offset:   -1 -5;
25837                }
25838                color: 0 0 0 255;
25839                color3: 0 0 0 0;
25840                text {
25841                   font: "Sans";
25842                   size: 10;
25843                   min: 0 1;
25844                   align: 0.0 0.5;
25845                }
25846             }
25847             description { state: "selected" 0.0;
25848                inherit: "default" 0.0;
25849                color: 224 224 224 255;
25850                color3: 0 0 0 64;
25851             }
25852          }
25853          part { name: "elm.text.artist";
25854             clip_to: "disclip";
25855             type:           TEXT;
25856             mouse_events:   0;
25857             scale: 1;
25858             description {
25859                state: "default" 0.0;
25860                rel1 {
25861                   to_x:     "elm.swallow.preview";
25862                   relative: 1.0  0.5;
25863                   offset:   4 4;
25864                }
25865                rel2 {
25866                   relative: 1.0  1.0;
25867                   offset:   -1 -5;
25868                }
25869                color: 0 0 0 128;
25870                color3: 0 0 0 0;
25871                text {
25872                   font: "Sans";
25873                   size: 8;
25874                   min: 0 1;
25875                   align: 0.0 0.5;
25876                }
25877             }
25878             description { state: "selected" 0.0;
25879                inherit: "default" 0.0;
25880                color: 128 128 128 255;
25881                color3: 0 0 0 32;
25882             }
25883          }
25884          part { name: "fg1";
25885             clip_to: "disclip";
25886             mouse_events: 0;
25887             description { state: "default" 0.0;
25888                visible: 0;
25889                color: 255 255 255 0;
25890                rel1.to: "bg";
25891                rel2.relative: 1.0 0.5;
25892                rel2.to: "bg";
25893                image {
25894                   normal: "bt_sm_hilight.png";
25895                   border: 6 6 6 0;
25896                }
25897             }
25898             description { state: "selected" 0.0;
25899                inherit: "default" 0.0;
25900                visible: 1;
25901                color: 255 255 255 255;
25902             }
25903          }
25904          part { name: "fg2";
25905             clip_to: "disclip";
25906             mouse_events: 0;
25907             description { state: "default" 0.0;
25908                visible: 0;
25909                color: 255 255 255 0;
25910                rel1.to: "bg";
25911                rel2.to: "bg";
25912                image {
25913                   normal: "bt_sm_shine.png";
25914                   border: 6 6 6 0;
25915                }
25916             }
25917             description { state: "selected" 0.0;
25918                inherit: "default" 0.0;
25919                visible: 1;
25920                color: 255 255 255 255;
25921             }
25922          }
25923          part { name: "disclip";
25924             type: RECT;
25925             description { state: "default" 0.0;
25926                rel1.to: "bg";
25927                rel2.to: "bg";
25928             }
25929             description { state: "disabled" 0.0;
25930                inherit: "default" 0.0;
25931                color: 255 255 255 64;
25932             }
25933          }
25934       }
25935       programs {
25936          // signal: elm,state,%s,active
25937          //   a "check" item named %s went active
25938          // signal: elm,state,%s,passive
25939          //   a "check" item named %s went passive
25940          // default is passive
25941          program {
25942             name:    "go_active";
25943             signal:  "elm,state,selected";
25944             source:  "elm";
25945             action:  STATE_SET "selected" 0.0;
25946             target:  "bg";
25947             target:  "fg1";
25948             target:  "fg2";
25949             target:  "elm.text.title";
25950             target:  "elm.text.artist";
25951          }
25952          program {
25953             name:    "go_passive";
25954             signal:  "elm,state,unselected";
25955             source:  "elm";
25956             action:  STATE_SET "default" 0.0;
25957             target:  "bg";
25958             target:  "fg1";
25959             target:  "fg2";
25960             target:  "elm.text.title";
25961             target:  "elm.text.artist";
25962             transition: LINEAR 0.1;
25963          }
25964          program {
25965             name:    "go_disabled";
25966             signal:  "elm,state,disabled";
25967             source:  "elm";
25968             action:  STATE_SET "disabled" 0.0;
25969             target:  "disclip";
25970          }
25971          program {
25972             name:    "go_enabled";
25973             signal:  "elm,state,enabled";
25974             source:  "elm";
25975             action:  STATE_SET "default" 0.0;
25976             target:  "disclip";
25977          }
25978       }
25979    }
25980
25981 ///////////////////////////////////////////////////////////////////////////////
25982    group { name: "elm/pager/base/default";
25983       data.item: "onshow" "raise";
25984 // other options
25985 //      data.item: "onhide" "lower";
25986 //      data.item: "onshow" "lower";
25987       images {
25988          image: "frame_1.png" COMP;
25989          image: "frame_2.png" COMP;
25990          image: "dia_grad.png" COMP;
25991       }
25992       parts {
25993          part { name: "clip";
25994             type: RECT;
25995             mouse_events: 0;
25996             description { state: "default" 0.0;
25997                rel1 {
25998                   to: "base";
25999                   offset: -9999 -9999;
26000                }
26001                rel2 {
26002                   to: "base";
26003                   offset: 9999 9999;
26004                }
26005                color: 255 255 255 255;
26006             }
26007             description { state: "visible" 0.0;
26008                inherit: "default" 0.0;
26009             }
26010             description { state: "hidden" 0.0;
26011                inherit: "default" 0.0;
26012                color: 255 255 255 0;
26013                visible: 0;
26014             }
26015          }
26016          part { name: "base0";
26017             mouse_events:  0;
26018             clip_to: "clip";
26019             description { state: "default" 0.0;
26020                image.normal: "dia_grad.png";
26021                rel1.to: "over";
26022                rel2.to: "over";
26023                fill {
26024                   smooth: 0;
26025                   size {
26026                      relative: 0.0 1.0;
26027                      offset: 64 0;
26028                   }
26029                }
26030             }
26031          }
26032          part { name: "base";
26033             mouse_events:  0;
26034             clip_to: "clip";
26035             description { state: "default" 0.0;
26036                image {
26037                   normal: "frame_2.png";
26038                   border: 5 5 32 26;
26039                   middle: 0;
26040                }
26041                fill.smooth : 0;
26042             }
26043             description { state: "hidden" 0.0;
26044                inherit: "default" 0.0;
26045                rel1.relative: -1.0 0.0;
26046                rel2.relative: 0.0 1.0;
26047             }
26048             description { state: "visible" 0.0;
26049                inherit: "default" 0.0;
26050                rel1.relative: 0.0 0.0;
26051                rel2.relative: 1.0 1.0;
26052             }
26053          }
26054          part { name: "over";
26055             mouse_events:  0;
26056             clip_to: "clip";
26057             description { state:    "default" 0.0;
26058                rel1 {
26059                   to: "base";
26060                   offset: 4 4;
26061                }
26062                rel2 {
26063                   to: "base";
26064                   offset: -5 -5;
26065                }
26066                image {
26067                   normal: "frame_1.png";
26068                   border: 2 2 28 22;
26069                   middle: 0;
26070                }
26071                fill.smooth : 0;
26072             }
26073          }
26074          part { name: "elm.swallow.content";
26075             type: SWALLOW;
26076             clip_to: "clip";
26077             description { state: "default" 0.0;
26078                rel1 {
26079                   to: "base";
26080                   offset: 8 8;
26081                }
26082                rel2 {
26083                   to: "base";
26084                   offset: -9 -9;
26085                }
26086             }
26087          }
26088       }
26089       programs {
26090          program { name: "push_start";
26091             signal: "elm,action,push";
26092             source: "elm";
26093             action:  STATE_SET "hidden" 0.0;
26094             target: "base";
26095             target: "clip";
26096             after: "show_start2";
26097          }
26098          program { name: "show_start";
26099             signal: "elm,action,show";
26100             source: "elm";
26101             action:  STATE_SET "hidden" 0.0;
26102             target: "base";
26103             target: "clip";
26104             after: "show_start2";
26105          }
26106          program { name: "show_start2";
26107             action:  STATE_SET "visible" 0.0;
26108             transition: DECELERATE 0.5;
26109             target: "base";
26110             target: "clip";
26111             after: "show_end";
26112          }
26113          program { name: "show_end";
26114             action: SIGNAL_EMIT "elm,action,show,finished" "";
26115          }
26116          program { name: "pop_start";
26117             signal: "elm,action,pop";
26118             source: "elm";
26119             action:  STATE_SET "visible" 0.0;
26120             target: "base";
26121             target: "clip";
26122             after: "hide_start2";
26123          }
26124          program { name: "hide_start";
26125             signal: "elm,action,hide";
26126             source: "elm";
26127             action:  STATE_SET "visible" 0.0;
26128             target: "base";
26129             target: "clip";
26130             after: "hide_start2";
26131          }
26132          program { name: "hide_start2";
26133             action:  STATE_SET "hidden" 0.0;
26134             transition: DECELERATE 0.5;
26135             target: "base";
26136             target: "clip";
26137             after: "hide_end";
26138          }
26139          program { name: "hide_end";
26140             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26141          }
26142          program { name: "reset";
26143             signal: "elm,action,reset";
26144             source: "elm";
26145             action:  STATE_SET "default" 0.0;
26146             target: "base";
26147             target: "clip";
26148          }
26149       }
26150    }
26151
26152    group { name: "elm/pager/base/slide";
26153       images {
26154          image: "frame_1.png" COMP;
26155          image: "frame_2.png" COMP;
26156          image: "dia_grad.png" COMP;
26157       }
26158       parts {
26159          part { name: "clip";
26160             type: RECT;
26161             mouse_events: 0;
26162             description { state: "default" 0.0;
26163                rel1 {
26164                   to: "base";
26165                   offset: -9999 -9999;
26166                }
26167                rel2 {
26168                   to: "base";
26169                   offset: 9999 9999;
26170                }
26171                color: 255 255 255 255;
26172             }
26173             description { state: "visible" 0.0;
26174                inherit: "default" 0.0;
26175             }
26176             description { state: "hidden" 0.0;
26177                inherit: "default" 0.0;
26178                color: 255 255 255 0;
26179                visible: 0;
26180             }
26181             description { state: "hidden2" 0.0;
26182                inherit: "default" 0.0;
26183                color: 255 255 255 0;
26184                visible: 0;
26185             }
26186          }
26187          part { name: "base0";
26188             mouse_events:  0;
26189             clip_to: "clip";
26190             description { state: "default" 0.0;
26191                image.normal: "dia_grad.png";
26192                rel1.to: "over";
26193                rel2.to: "over";
26194                fill {
26195                   smooth: 0;
26196                   size {
26197                      relative: 0.0 1.0;
26198                      offset: 64 0;
26199                   }
26200                }
26201             }
26202          }
26203          part { name: "base";
26204             mouse_events:  0;
26205             clip_to: "clip";
26206             description { state: "default" 0.0;
26207                image {
26208                   normal: "frame_2.png";
26209                   border: 5 5 32 26;
26210                   middle: 0;
26211                }
26212                fill.smooth : 0;
26213             }
26214             description { state: "hidden" 0.0;
26215                inherit: "default" 0.0;
26216                rel1.relative: -1.0 0.0;
26217                rel2.relative: 0.0 1.0;
26218             }
26219             description { state: "hidden2" 0.0;
26220                inherit: "default" 0.0;
26221                rel1.relative: 1.0 0.0;
26222                rel2.relative: 2.0 1.0;
26223             }
26224             description { state: "visible" 0.0;
26225                inherit: "default" 0.0;
26226                rel1.relative: 0.0 0.0;
26227                rel2.relative: 1.0 1.0;
26228             }
26229          }
26230          part { name: "over";
26231             mouse_events:  0;
26232             clip_to: "clip";
26233             description { state:    "default" 0.0;
26234                rel1 {
26235                   to: "base";
26236                   offset: 4 4;
26237                }
26238                rel2 {
26239                   to: "base";
26240                   offset: -5 -5;
26241                }
26242                image {
26243                   normal: "frame_1.png";
26244                   border: 2 2 28 22;
26245                   middle: 0;
26246                }
26247                fill.smooth : 0;
26248             }
26249          }
26250          part { name: "elm.swallow.content";
26251             type: SWALLOW;
26252             clip_to: "clip";
26253             description { state: "default" 0.0;
26254                rel1 {
26255                   to: "base";
26256                   offset: 8 8;
26257                }
26258                rel2 {
26259                   to: "base";
26260                   offset: -9 -9;
26261                }
26262             }
26263          }
26264       }
26265       programs {
26266          program { name: "push_start";
26267             signal: "elm,action,push";
26268             source: "elm";
26269             action:  STATE_SET "hidden2" 0.0;
26270             target: "base";
26271             target: "clip";
26272             after: "show_start2";
26273          }
26274          program { name: "show_start";
26275             signal: "elm,action,show";
26276             source: "elm";
26277             action:  STATE_SET "hidden" 0.0;
26278             target: "base";
26279             target: "clip";
26280             after: "show_start2";
26281          }
26282          program { name: "show_start2";
26283             action:  STATE_SET "visible" 0.0;
26284             transition: DECELERATE 0.5;
26285             target: "base";
26286             target: "clip";
26287             after: "show_end";
26288          }
26289          program { name: "show_end";
26290             action: SIGNAL_EMIT "elm,action,show,finished" "";
26291          }
26292          program { name: "pop_start";
26293             signal: "elm,action,pop";
26294             source: "elm";
26295             action:  STATE_SET "visible" 0.0;
26296             target: "base";
26297             target: "clip";
26298             after: "pop_start2";
26299          }
26300          program { name: "pop_start2";
26301             action:  STATE_SET "hidden2" 0.0;
26302             transition: DECELERATE 0.5;
26303             target: "base";
26304             target: "clip";
26305             after: "hide_end";
26306          }
26307          program { name: "hide_start";
26308             signal: "elm,action,hide";
26309             source: "elm";
26310             action:  STATE_SET "visible" 0.0;
26311             target: "base";
26312             target: "clip";
26313             after: "hide_start2";
26314          }
26315          program { name: "hide_start2";
26316             action:  STATE_SET "hidden" 0.0;
26317             transition: DECELERATE 0.5;
26318             target: "base";
26319             target: "clip";
26320             after: "hide_end";
26321          }
26322          program { name: "hide_end";
26323             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26324          }
26325          program { name: "reset";
26326             signal: "elm,action,reset";
26327             source: "elm";
26328             action:  STATE_SET "default" 0.0;
26329             target: "base";
26330             target: "clip";
26331          }
26332       }
26333    }
26334    group { name: "elm/pager/base/slide_invisible";
26335       parts {
26336          part { name: "clip";
26337             type: RECT;
26338             mouse_events: 0;
26339             description { state: "default" 0.0;
26340                rel1 {
26341                   to: "base";
26342                   offset: -9999 -9999;
26343             }
26344                rel2 {
26345                   to: "base";
26346                   offset: 9999 9999;
26347                }
26348                color: 255 255 255 255;
26349             }
26350             description { state: "visible" 0.0;
26351                inherit: "default" 0.0;
26352             }
26353             description { state: "hidden" 0.0;
26354                inherit: "default" 0.0;
26355                color: 255 255 255 0;
26356                visible: 0;
26357             }
26358             description { state: "hidden2" 0.0;
26359                inherit: "default" 0.0;
26360                color: 255 255 255 0;
26361                visible: 0;
26362             }
26363          }
26364          part { name: "base";
26365             type: RECT;
26366             mouse_events:  0;
26367             clip_to: "clip";
26368             description { state: "default" 0.0;
26369                color: 0 0 0 0;
26370             }
26371             description { state: "hidden" 0.0;
26372                color: 0 0 0 0;
26373                rel1.relative: -1.0 0.0;
26374                rel2.relative: 0.0 1.0;
26375             }
26376             description { state: "hidden2" 0.0;
26377                color: 0 0 0 0;
26378                rel1.relative: 1.0 0.0;
26379                rel2.relative: 2.0 1.0;
26380             }
26381             description { state: "visible" 0.0;
26382                color: 0 0 0 0;
26383                rel1.relative: 0.0 0.0;
26384                rel2.relative: 1.0 1.0;
26385             }
26386          }
26387          part { name: "elm.swallow.content";
26388             type: SWALLOW;
26389             clip_to: "clip";
26390             description { state: "default" 0.0;
26391                rel1.to: "base";
26392                rel2.to: "base";
26393             }
26394          }
26395       }
26396       programs {
26397          program { name: "push_start";
26398             signal: "elm,action,push";
26399             source: "elm";
26400             action:  STATE_SET "hidden2" 0.0;
26401             target: "base";
26402             target: "clip";
26403             after: "show_start2";
26404          }
26405          program { name: "show_start";
26406             signal: "elm,action,show";
26407             source: "elm";
26408             action:  STATE_SET "hidden" 0.0;
26409             target: "base";
26410             target: "clip";
26411             after: "show_start2";
26412          }
26413          program { name: "show_start2";
26414             action:  STATE_SET "visible" 0.0;
26415             transition: DECELERATE 0.5;
26416             target: "base";
26417             target: "clip";
26418             after: "show_end";
26419          }
26420          program { name: "show_end";
26421             action: SIGNAL_EMIT "elm,action,show,finished" "";
26422          }
26423          program { name: "pop_start";
26424             signal: "elm,action,pop";
26425             source: "elm";
26426             action:  STATE_SET "visible" 0.0;
26427             target: "base";
26428             target: "clip";
26429             after: "pop_start2";
26430          }
26431          program { name: "pop_start2";
26432             action:  STATE_SET "hidden2" 0.0;
26433             transition: DECELERATE 0.5;
26434             target: "base";
26435             target: "clip";
26436             after: "hide_end";
26437          }
26438          program { name: "hide_start";
26439             signal: "elm,action,hide";
26440             source: "elm";
26441             action:  STATE_SET "visible" 0.0;
26442             target: "base";
26443             target: "clip";
26444             after: "hide_start2";
26445          }
26446          program { name: "hide_start2";
26447             action:  STATE_SET "hidden" 0.0;
26448             transition: DECELERATE 0.5;
26449             target: "base";
26450             target: "clip";
26451             after: "hide_end";
26452          }
26453          program { name: "hide_end";
26454             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26455          }
26456          program { name: "reset";
26457             signal: "elm,action,reset";
26458             source: "elm";
26459             action:  STATE_SET "default" 0.0;
26460             target: "base";
26461             target: "clip";
26462          }
26463       }
26464    }
26465
26466    group { name: "elm/pager/base/fade";
26467        data.item: "onshow" "raise";
26468        // other options
26469        //      data.item: "onhide" "lower";
26470        //      data.item: "onshow" "lower";
26471        images {
26472            image: "frame_1.png" COMP;
26473            image: "frame_2.png" COMP;
26474            image: "dia_grad.png" COMP;
26475        }
26476        parts {
26477            part { name: "clip_base";
26478                type: RECT;
26479                mouse_events: 0;
26480                description { state: "default" 0.0;
26481                    rel1 {
26482                        to: "base";
26483                        offset: -9999 -9999;
26484                    }
26485                    rel2 {
26486                        to: "base";
26487                        offset: 9999 9999;
26488                    }
26489                    color: 255 255 255 120;
26490                }
26491                description { state: "visible" 0.0;
26492                    inherit: "default" 0.0;
26493                }
26494                description { state: "hidden" 0.0;
26495                    inherit: "default" 0.0;
26496                    color: 255 255 255 0;
26497                    visible: 0;
26498                }
26499            }
26500            part { name: "clip";
26501                type: RECT;
26502                mouse_events: 0;
26503                description { state: "default" 0.0;
26504                    rel1 {
26505                        to: "base";
26506                        offset: -9999 -9999;
26507                    }
26508                    rel2 {
26509                        to: "base";
26510                        offset: 9999 9999;
26511                    }
26512                    color: 255 255 255 255;
26513                }
26514                description { state: "visible" 0.0;
26515                    inherit: "default" 0.0;
26516                }
26517                description { state: "hidden" 0.0;
26518                    inherit: "default" 0.0;
26519                    color: 255 255 255 0;
26520                    visible: 0;
26521                }
26522            }
26523            part { name: "base0";
26524                mouse_events:  0;
26525                clip_to: "clip_base";
26526                description { state: "default" 0.0;
26527                    image.normal: "dia_grad.png";
26528                    rel1.to: "over";
26529                    rel2.to: "over";
26530                    fill {
26531                        smooth: 0;
26532                        size {
26533                            relative: 0.0 1.0;
26534                            offset: 64 0;
26535                        }
26536                    }
26537                }
26538            }
26539            part { name: "base";
26540                mouse_events:  0;
26541                clip_to: "clip_base";
26542                description { state: "default" 0.0;
26543                    image {
26544                        normal: "frame_2.png";
26545                        border: 5 5 32 26;
26546                        middle: 0;
26547                    }
26548                    fill.smooth : 0;
26549                }
26550            }
26551            part { name: "over";
26552                mouse_events:  0;
26553                clip_to: "clip";
26554                description { state:    "default" 0.0;
26555                    rel1 {
26556                        to: "base";
26557                        offset: 4 4;
26558                    }
26559                    rel2 {
26560                        to: "base";
26561                        offset: -5 -5;
26562                    }
26563                    image {
26564                        normal: "frame_1.png";
26565                        border: 2 2 28 22;
26566                        middle: 0;
26567                    }
26568                    fill.smooth : 0;
26569                }
26570            }
26571            part { name: "elm.swallow.content";
26572                type: SWALLOW;
26573                clip_to: "clip";
26574                description { state: "default" 0.0;
26575                    rel1 {
26576                        to: "base";
26577                        offset: 8 8;
26578                    }
26579                    rel2 {
26580                        to: "base";
26581                        offset: -9 -9;
26582                    }
26583                }
26584            }
26585        }
26586        programs {
26587            program { name: "push_start";
26588                signal: "elm,action,push";
26589                source: "elm";
26590                action:  STATE_SET "hidden" 0.0;
26591                target: "clip";
26592                target: "clip_base";
26593                after: "show_start2";
26594            }
26595            program { name: "show_start";
26596                signal: "elm,action,show";
26597                source: "elm";
26598                action:  STATE_SET "hidden" 0.0;
26599                target: "clip";
26600                target: "clip_base";
26601                after: "show_start2";
26602            }
26603            program { name: "show_start2";
26604                action:  STATE_SET "visible" 0.0;
26605                transition: DECELERATE 0.5;
26606                target: "clip";
26607                target: "clip_base";
26608                after: "show_end";
26609            }
26610            program { name: "show_end";
26611                action: SIGNAL_EMIT "elm,action,show,finished" "";
26612            }
26613            program { name: "pop_start";
26614                signal: "elm,action,pop";
26615                source: "elm";
26616                action:  STATE_SET "visible" 0.0;
26617                target: "clip";
26618                target: "clip_base";
26619                after: "hide_start2";
26620            }
26621            program { name: "hide_start";
26622                signal: "elm,action,hide";
26623                source: "elm";
26624                action:  STATE_SET "visible" 0.0;
26625                target: "clip";
26626                target: "clip_base";
26627                after: "hide_start2";
26628            }
26629            program { name: "hide_start2";
26630                action:  STATE_SET "hidden" 0.0;
26631                transition: DECELERATE 0.5;
26632                target: "clip";
26633                target: "clip_base";
26634                after: "hide_end";
26635            }
26636            program { name: "hide_end";
26637                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26638            }
26639            program { name: "reset";
26640                signal: "elm,action,reset";
26641                source: "elm";
26642                action:  STATE_SET "default" 0.0;
26643                target: "clip_base";
26644                target: "clip";
26645            }
26646        }
26647    }
26648    group { name: "elm/pager/base/fade_translucide";
26649        data.item: "onshow" "raise";
26650        // other options
26651        //      data.item: "onhide" "lower";
26652        //      data.item: "onshow" "lower";
26653        images {
26654            image: "frame_1.png" COMP;
26655            image: "frame_2.png" COMP;
26656            image: "dia_grad.png" COMP;
26657        }
26658        parts {
26659            part { name: "clip_base";
26660                type: RECT;
26661                mouse_events: 0;
26662                description { state: "default" 0.0;
26663                    rel1 {
26664                        to: "base";
26665                        offset: -9999 -9999;
26666                    }
26667                    rel2 {
26668                        to: "base";
26669                        offset: 9999 9999;
26670                    }
26671                    color: 255 255 255 120;
26672                }
26673                description { state: "visible" 0.0;
26674                    inherit: "default" 0.0;
26675                }
26676                description { state: "hidden" 0.0;
26677                    inherit: "default" 0.0;
26678                    color: 255 255 255 0;
26679                    visible: 0;
26680                }
26681            }
26682            part { name: "clip";
26683                type: RECT;
26684                mouse_events: 0;
26685                description { state: "default" 0.0;
26686                    rel1 {
26687                        to: "base";
26688                        offset: -9999 -9999;
26689                    }
26690                    rel2 {
26691                        to: "base";
26692                        offset: 9999 9999;
26693                    }
26694                    color: 255 255 255 255;
26695                }
26696                description { state: "visible" 0.0;
26697                    inherit: "default" 0.0;
26698                }
26699                description { state: "hidden" 0.0;
26700                    inherit: "default" 0.0;
26701                    color: 255 255 255 0;
26702                    visible: 0;
26703                }
26704            }
26705            part { name: "base0";
26706                mouse_events:  0;
26707                clip_to: "clip_base";
26708                description { state: "default" 0.0;
26709                    image.normal: "dia_grad.png";
26710                    rel1.to: "over";
26711                    rel2.to: "over";
26712                    fill {
26713                        smooth: 0;
26714                        size {
26715                            relative: 0.0 1.0;
26716                            offset: 64 0;
26717                        }
26718                    }
26719                }
26720            }
26721            part { name: "base";
26722                mouse_events:  0;
26723                clip_to: "clip_base";
26724                description { state: "default" 0.0;
26725                    image {
26726                        normal: "frame_2.png";
26727                        border: 5 5 32 26;
26728                        middle: 0;
26729                    }
26730                    fill.smooth : 0;
26731                }
26732            }
26733            part { name: "over";
26734                mouse_events:  0;
26735                clip_to: "clip";
26736                description { state:    "default" 0.0;
26737                    rel1 {
26738                        to: "base";
26739                        offset: 4 4;
26740                    }
26741                    rel2 {
26742                        to: "base";
26743                        offset: -5 -5;
26744                    }
26745                    image {
26746                        normal: "frame_1.png";
26747                        border: 2 2 28 22;
26748                        middle: 0;
26749                    }
26750                    fill.smooth : 0;
26751                }
26752            }
26753            part { name: "elm.swallow.content";
26754                type: SWALLOW;
26755                clip_to: "clip";
26756                description { state: "default" 0.0;
26757                    rel1 {
26758                        to: "base";
26759                        offset: 8 8;
26760                    }
26761                    rel2 {
26762                        to: "base";
26763                        offset: -9 -9;
26764                    }
26765                }
26766            }
26767        }
26768        programs {
26769            program { name: "push_start";
26770                signal: "elm,action,push";
26771                source: "elm";
26772                action:  STATE_SET "hidden" 0.0;
26773                target: "clip";
26774                target: "clip_base";
26775                after: "show_start2";
26776            }
26777            program { name: "show_start";
26778                signal: "elm,action,show";
26779                source: "elm";
26780                action:  STATE_SET "hidden" 0.0;
26781                target: "clip";
26782                target: "clip_base";
26783                after: "show_start2";
26784            }
26785            program { name: "show_start2";
26786                action:  STATE_SET "visible" 0.0;
26787                transition: DECELERATE 0.5;
26788                target: "clip";
26789                target: "clip_base";
26790                after: "show_end";
26791            }
26792            program { name: "show_end";
26793                action: SIGNAL_EMIT "elm,action,show,finished" "";
26794            }
26795            program { name: "pop_start";
26796                signal: "elm,action,pop";
26797                source: "elm";
26798                action:  STATE_SET "visible" 0.0;
26799                target: "clip";
26800                target: "clip_base";
26801                after: "hide_start2";
26802            }
26803            program { name: "hide_start";
26804                signal: "elm,action,hide";
26805                source: "elm";
26806                action:  STATE_SET "visible" 0.0;
26807                target: "clip";
26808                target: "clip_base";
26809                after: "hide_start2";
26810            }
26811            program { name: "hide_start2";
26812                action:  STATE_SET "hidden" 0.0;
26813                transition: DECELERATE 0.5;
26814                target: "clip";
26815                target: "clip_base";
26816                after: "hide_end";
26817            }
26818            program { name: "hide_end";
26819                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26820            }
26821            program { name: "reset";
26822                signal: "elm,action,reset";
26823                source: "elm";
26824                action:  STATE_SET "default" 0.0;
26825                target: "clip_base";
26826                target: "clip";
26827            }
26828        }
26829    }
26830    group { name: "elm/pager/base/fade_invisible";
26831        data.item: "onshow" "raise";
26832        // other options
26833        //      data.item: "onhide" "lower";
26834        //      data.item: "onshow" "lower";
26835        parts {
26836            part { name: "clip";
26837                type: RECT;
26838                mouse_events: 0;
26839                description { state: "default" 0.0;
26840                    rel1 {
26841                        offset: -9999 -9999;
26842                    }
26843                    rel2 {
26844                        offset: 9999 9999;
26845                    }
26846                    color: 255 255 255 255;
26847                }
26848                description { state: "visible" 0.0;
26849                    inherit: "default" 0.0;
26850                }
26851                description { state: "hidden" 0.0;
26852                    inherit: "default" 0.0;
26853                    color: 255 255 255 0;
26854                    visible: 0;
26855                }
26856            }
26857            part { name: "elm.swallow.content";
26858                type: SWALLOW;
26859                clip_to: "clip";
26860                description { state: "default" 0.0;
26861                    rel1 {
26862                        offset: 8 8;
26863                    }
26864                    rel2 {
26865                        offset: -9 -9;
26866                    }
26867                }
26868            }
26869        }
26870        programs {
26871            program { name: "push_start";
26872                signal: "elm,action,push";
26873                source: "elm";
26874                action:  STATE_SET "hidden" 0.0;
26875                target: "clip";
26876                after: "show_start2";
26877            }
26878            program { name: "show_start";
26879                signal: "elm,action,show";
26880                source: "elm";
26881                action:  STATE_SET "hidden" 0.0;
26882                target: "clip";
26883                after: "show_start2";
26884            }
26885            program { name: "show_start2";
26886                action:  STATE_SET "visible" 0.0;
26887                transition: DECELERATE 0.5;
26888                target: "clip";
26889                after: "show_end";
26890            }
26891            program { name: "show_end";
26892                action: SIGNAL_EMIT "elm,action,show,finished" "";
26893            }
26894            program { name: "pop_start";
26895                signal: "elm,action,pop";
26896                source: "elm";
26897                action:  STATE_SET "visible" 0.0;
26898                target: "clip";
26899                after: "hide_start2";
26900            }
26901            program { name: "hide_start";
26902                signal: "elm,action,hide";
26903                source: "elm";
26904                action:  STATE_SET "visible" 0.0;
26905                target: "clip";
26906                after: "hide_start2";
26907            }
26908            program { name: "hide_start2";
26909                action:  STATE_SET "hidden" 0.0;
26910                transition: DECELERATE 0.5;
26911                target: "clip";
26912                after: "hide_end";
26913            }
26914            program { name: "hide_end";
26915                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26916            }
26917            program { name: "reset";
26918                signal: "elm,action,reset";
26919                source: "elm";
26920                action:  STATE_SET "default" 0.0;
26921                target: "clip";
26922            }
26923        }
26924    }
26925
26926    group { name: "elm/pager/base/flip";
26927       data.item: "onshow" "raise";
26928       images {
26929          image: "frame_1.png" COMP;
26930          image: "frame_2.png" COMP;
26931          image: "dia_grad.png" COMP;
26932       }
26933       parts {
26934          part { name: "elm.swallow.content";
26935             type: SWALLOW;
26936             description { state: "default" 0.0;
26937                map {
26938                   on: 1;
26939                   smooth: 1;
26940                   backface_cull: 1;
26941                   perspective_on: 1;
26942                }
26943                perspective {
26944                   zplane: 0;
26945                   focal: 1000;
26946                }
26947             }
26948             description { state: "hidden" 0.0;
26949                inherit: "default" 0.0;
26950                visible: 0;
26951                map.rotation.y: 90.0;
26952             }
26953             description { state: "before_hidden" 0.0;
26954                inherit: "default" 0.0;
26955                visible: 0;
26956                map.rotation.y: -90.0;
26957             }
26958          }
26959       }
26960       programs {
26961          program { name: "push_start";
26962             signal: "elm,action,push";
26963             source: "elm";
26964             after: "push1";
26965          }
26966          program { name: "push1";
26967             action:  STATE_SET "hidden" 0.0;
26968             target: "elm.swallow.content";
26969             after: "push2";
26970          }
26971          program { name: "push2";
26972             action:  STATE_SET "default" 0.0;
26973             in: 0.5 0.0;
26974             transition: LINEAR 0.5;
26975             target: "elm.swallow.content";
26976             after: "push3";
26977          }
26978          program { name: "push3";
26979             action: SIGNAL_EMIT "elm,action,show,finished" "";
26980          }
26981
26982          program { name: "show_start";
26983             signal: "elm,action,show";
26984             source: "elm";
26985             after: "show1";
26986          }
26987          program { name: "show1";
26988             action:  STATE_SET "before_hidden" 0.0;
26989             target: "elm.swallow.content";
26990             after: "show2";
26991          }
26992          program { name: "show2";
26993             action:  STATE_SET "default" 0.0;
26994             in: 0.5 0.0;
26995             transition: LINEAR 0.5;
26996             target: "elm.swallow.content";
26997             after: "show3";
26998          }
26999          program { name: "show3";
27000             action: SIGNAL_EMIT "elm,action,show,finished" "";
27001          }
27002
27003          program { name: "pop_start";
27004             signal: "elm,action,pop";
27005             source: "elm";
27006             after: "pop1";
27007          }
27008          program { name: "pop1";
27009             action:  STATE_SET "default" 0.0;
27010             target: "elm.swallow.content";
27011             after: "pop2";
27012          }
27013          program { name: "pop2";
27014             action:  STATE_SET "hidden" 0.0;
27015             transition: LINEAR 0.5;
27016             target: "elm.swallow.content";
27017             after: "pop3";
27018          }
27019          program { name: "pop3";
27020             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27021          }
27022
27023          program { name: "hide_start";
27024             signal: "elm,action,hide";
27025             source: "elm";
27026             after: "hide1";
27027          }
27028          program { name: "hide1";
27029             action:  STATE_SET "default" 0.0;
27030             target: "elm.swallow.content";
27031             after: "hide2";
27032          }
27033          program { name: "hide2";
27034             action:  STATE_SET "before_hidden" 0.0;
27035             transition: LINEAR 0.5;
27036             target: "elm.swallow.content";
27037             after: "hide3";
27038          }
27039          program { name: "hide3";
27040             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27041          }
27042
27043          program { name: "reset";
27044             signal: "elm,action,reset";
27045             source: "elm";
27046             action:  STATE_SET "default" 0.0;
27047             target: "elm.swallow.content";
27048          }
27049       }
27050    }
27051
27052
27053
27054 ///////////////////////////////////////////////////////////////////////////////
27055 // FIXME: this doesn't look too hot. need to fix it up
27056    group { name: "elm/progressbar/horizontal/default";
27057       images {
27058          image: "shelf_inset.png" COMP;
27059          image: "bt_sm_base2.png" COMP;
27060          image: "bt_sm_hilight.png" COMP;
27061          image: "bt_sm_shine.png" COMP;
27062       }
27063       parts {
27064          part { name: "elm.background.progressbar";
27065             mouse_events: 0;
27066             description {
27067                state: "default" 0.0;
27068                rel1 {
27069                   relative: 0.0 0.0;
27070                   offset: 0 0;
27071                }
27072                rel2 {
27073                   relative: 1.0 1.0;
27074                }
27075             }
27076          }
27077          part { name: "elm.swallow.bar";
27078             mouse_events: 0;
27079             type: SWALLOW;
27080             description {
27081                min: 48 28;
27082                max: 99999 28;
27083                state: "default" 0.0;
27084                rel1 {
27085                   to_x: "elm.text";
27086                   to_y: "elm.background.progressbar";
27087                   relative: 1.0 0.0;
27088                }
27089                rel2 {
27090                   to: "elm.background.progressbar";
27091                   relative: 1.0 1.0;
27092                }
27093             }
27094          }
27095          part { name: "elm.swallow.content";
27096             type: SWALLOW;
27097             description { state: "default" 0.0;
27098                visible: 0;
27099                align: 0.0 0.5;
27100                rel1 {
27101                   offset: 4 0;
27102                   to_y: "elm.background.progressbar";
27103                }
27104                rel2 {
27105                   offset: 3 -1;
27106                   relative: 0.0 1.0;
27107                   to_y: "elm.background.progressbar";
27108                }
27109             }
27110             description { state: "visible" 0.0;
27111                inherit: "default" 0.0;
27112                visible: 1;
27113                aspect: 1.0 1.0;
27114                aspect_preference: VERTICAL;
27115                rel2.offset: 4 -1;
27116             }
27117          }
27118          part { name: "elm.text";
27119             type: TEXT;
27120             mouse_events: 0;
27121             scale: 1;
27122             description { state: "default" 0.0;
27123                visible: 0;
27124                fixed: 1 1;
27125                align: 0.0 0.5;
27126                rel1.to_x: "elm.swallow.content";
27127                rel1.relative: 1.0 0.0;
27128                rel1.offset: -1 4;
27129                rel2.to_x: "elm.swallow.content";
27130                rel2.relative: 1.0 1.0;
27131                rel2.offset: -1 -5;
27132                color: 0 0 0 255;
27133                text {
27134                   font: "Sans,Edje-Vera";
27135                   size: 10;
27136                   min: 0 0;
27137                   align: 0.0 0.5;
27138                }
27139             }
27140             description { state: "visible" 0.0;
27141                inherit: "default" 0.0;
27142                visible: 1;
27143                text.min: 1 1;
27144                rel1.offset: 0 4;
27145                rel2.offset: 0 -5;
27146             }
27147          }
27148
27149          part { name: "background";
27150             mouse_events: 0;
27151             clip_to: "elm.background.progressbar";
27152             description {
27153                state: "default" 0.0;
27154                rel1 {
27155                   to: "elm.swallow.bar";
27156                   relative: 0.0 0.0;
27157                }
27158                rel2 {
27159                   to: "elm.swallow.bar";
27160                   relative: 1.0 1.0;
27161                   offset: -1 -1;
27162                }
27163                image {
27164                   normal: "shelf_inset.png";
27165                   border: 7 7 7 7;
27166                }
27167             }
27168          }
27169
27170          part { name: "elm.text.status";
27171             type: TEXT;
27172             mouse_events: 0;
27173             description { state: "default" 0.0;
27174                fixed: 1 1;
27175                visible: 1;
27176                rel1 {
27177                   to: "background";
27178                   relative: 0.5 0.5;
27179                }
27180                rel2 {
27181                   to: "background";
27182                   relative: 0.5 0.5;
27183                }
27184                text {
27185                   font: "Sans:style=Bold,Edje-Vera-Bold";
27186                   size: 10;
27187                   min: 1 1;
27188                   align: 0.5 0.0;
27189                }
27190                color: 0 0 0 255;
27191             }
27192             description { state: "hidden" 0.0;
27193                inherit: "default" 0.0;
27194                visible: 0;
27195                text.min: 0 0;
27196             }
27197          }
27198
27199          part { name: "elm.progress.progressbar";
27200             mouse_events: 0;
27201             clip_to: "elm.background.progressbar";
27202             description {
27203                state: "default" 0.0;
27204                min: 14 28;
27205                fixed: 1 1;
27206                rel1 {
27207                   to: "elm.swallow.bar";
27208                   relative: 0.0 0.0;
27209                }
27210                rel2 {
27211                   to_y: "elm.swallow.bar";
27212                   to_x: "elm.cur.progressbar";
27213                   offset: -1 -1;
27214                }
27215                image {
27216                   normal: "bt_sm_base2.png";
27217                   border: 6 6 6 6;
27218                }
27219             }
27220             description {
27221                state: "invert" 0.0;
27222                inherit: "default" 0.0;
27223                rel1 {
27224                   to_y: "elm.swallow.bar";
27225                   to_x: "elm.cur.progressbar";
27226                }
27227                rel2 {
27228                   to: "elm.swallow.bar";
27229                   relative: 1.0 1.0;
27230                }
27231             }
27232             description {
27233                state: "state_begin" 0.0;
27234                inherit: "default" 0.0;
27235                rel1 {
27236                   to: "elm.swallow.bar";
27237                   relative: 0.0 0.0;
27238                }
27239                rel2 {
27240                   to: "elm.swallow.bar";
27241                   relative: 0.1 1.0;
27242                }
27243             }
27244             description {
27245                state: "state_end" 0.0;
27246                inherit: "default" 0.0;
27247                rel1 {
27248                   to: "elm.swallow.bar";
27249                   relative: 0.9 0.0;
27250                }
27251                rel2 {
27252                   to: "elm.swallow.bar";
27253                   relative: 1.0 1.0;
27254                }
27255             }
27256          }
27257          part { name: "text-bar";
27258             type: TEXT;
27259             mouse_events: 0;
27260             clip_to: "progress-rect";
27261             effect: SOFT_SHADOW;
27262             scale: 1;
27263             description { state: "default" 0.0;
27264                align: 0.0 0.0;
27265                fixed: 1 1;
27266                visible: 1;
27267                rel1.to: "elm.text.status";
27268                rel1.offset: -1 -1;
27269                rel2.to: "elm.text.status";
27270                text {
27271                   text_source: "elm.text.status";
27272                   font: "Sans:style=Bold,Edje-Vera-Bold";
27273                   size: 10;
27274                   min: 1 1;
27275                   align: 0.0 0.0;
27276                }
27277                color: 224 224 224 255;
27278                color3: 0 0 0 64;
27279             }
27280             description { state: "hidden" 0.0;
27281                inherit: "default" 0.0;
27282                visible: 0;
27283                text.min: 0 0;
27284             }
27285          }
27286
27287          part { name: "over1";
27288             mouse_events: 0;
27289             description { state: "default" 0.0;
27290                rel1.to: "elm.progress.progressbar";
27291                rel2.to: "elm.progress.progressbar";
27292                rel2.relative: 1.0 0.5;
27293                image {
27294                   normal: "bt_sm_hilight.png";
27295                   border: 6 6 6 0;
27296                }
27297             }
27298          }
27299
27300          part { name: "over2";
27301             mouse_events: 1;
27302             repeat_events: 1;
27303             description { state: "default" 0.0;
27304                rel1.to: "elm.progress.progressbar";
27305                rel2.to: "elm.progress.progressbar";
27306                image {
27307                   normal: "bt_sm_shine.png";
27308                   border: 6 6 6 0;
27309                }
27310             }
27311          }
27312
27313          part { name: "elm.cur.progressbar";
27314             mouse_events: 0;
27315             dragable {
27316                confine: "background";
27317                x: 1 1 1;
27318                y: 0 0 0;
27319             }
27320             description { state: "default" 0.0;
27321                min: 14 28;
27322                fixed: 1 1;
27323                visible: 0;
27324                rel1 {
27325                   to: "background";
27326                   relative: 0 0;
27327                }
27328                rel2.to: "background";
27329            }
27330          }
27331          part { name: "progress-rect";
27332             mouse_events: 0;
27333             description {
27334                state: "default" 0.0;
27335                rel1.to: "elm.progress.progressbar";
27336                rel2.to: "elm.progress.progressbar";
27337             }
27338          }
27339       }
27340       programs {
27341          program { name: "label_show";
27342             signal: "elm,state,text,visible";
27343             source: "elm";
27344             action:  STATE_SET "visible" 0.0;
27345             target: "elm.text";
27346          }
27347          program { name: "label_hide";
27348             signal: "elm,state,text,hidden";
27349             source: "elm";
27350             action:  STATE_SET "default" 0.0;
27351             target: "elm.text";
27352          }
27353          program { name: "icon_show";
27354             signal: "elm,state,icon,visible";
27355             source: "elm";
27356             action:  STATE_SET "visible" 0.0;
27357             target: "elm.swallow.content";
27358          }
27359          program { name: "icon_hide";
27360             signal: "elm,state,icon,hidden";
27361             source: "elm";
27362             action:  STATE_SET "default" 0.0;
27363             target: "elm.swallow.content";
27364          }
27365          program { name: "units_show";
27366             signal: "elm,state,units,visible";
27367             source: "elm";
27368             action:  STATE_SET "default" 0.0;
27369             target: "text-bar";
27370             target: "elm.text.status";
27371          }
27372          program { name: "units_hide";
27373             signal: "elm,state,units,hidden";
27374             source: "elm";
27375             action:  STATE_SET "hidden" 0.0;
27376             target: "text-bar";
27377             target: "elm.text.status";
27378          }
27379          program { name: "slide_to_end";
27380             action:  STATE_SET "state_end" 0.0;
27381             transition: LINEAR 0.5;
27382             target: "elm.progress.progressbar";
27383             after: "slide_to_begin";
27384          }
27385          program { name: "slide_to_begin";
27386             signal: "elm,state,slide,begin";
27387             action: STATE_SET "state_begin" 0.0;
27388             target: "elm.progress.progressbar";
27389             transition: LINEAR 0.5;
27390             after: "slide_to_end";
27391          }
27392          program { name: "start_pulse";
27393             signal: "elm,state,pulse,start";
27394             source: "elm";
27395             after: "slide_to_end";
27396          }
27397          program { name: "stop_pulse";
27398             signal: "elm,state,pulse,stop";
27399             source: "elm";
27400             action: ACTION_STOP;
27401             target: "slide_to_begin";
27402             target: "slide_to_end";
27403             target: "start_pulse";
27404             after: "state_pulse";
27405          }
27406          program { name: "state_pulse";
27407             signal: "elm,state,pulse";
27408             source: "elm";
27409             action: STATE_SET "state_begin" 0.0;
27410             target: "elm.progress.progressbar";
27411             after: "units_hide";
27412          }
27413          program { name: "state_fraction";
27414             signal: "elm,state,fraction";
27415             source: "elm";
27416             action: ACTION_STOP;
27417             target: "slide_to_begin";
27418             target: "slide_to_end";
27419             target: "start_pulse";
27420             action: STATE_SET "default" 0.0;
27421             target: "elm.progress.progressbar";
27422          }
27423          program { name: "set_invert_on";
27424             signal: "elm,state,inverted,on";
27425             source: "elm";
27426             action:  STATE_SET "invert" 0.0;
27427             target: "elm.progress.progressbar";
27428          }
27429          program { name: "set_invert_off";
27430             signal: "elm,state,inverted,off";
27431             source: "elm";
27432             action:  STATE_SET "default" 0.0;
27433             target: "elm.progress.progressbar";
27434          }
27435       }
27436    }
27437
27438 ///////////////////////////////////////////////////////////////////////////////
27439    group { name: "elm/progressbar/vertical/default";
27440       images {
27441          image: "shelf_inset.png" COMP;
27442          image: "bt_sm_base2.png" COMP;
27443          image: "bt_sm_hilight.png" COMP;
27444          image: "bt_sm_shine.png" COMP;
27445       }
27446       parts {
27447          part { name: "elm.background.progressbar";
27448             type: RECT;
27449             mouse_events: 0;
27450             description {
27451                state: "default" 0.0;
27452                rel1 {
27453                   relative: 0.0 0.0;
27454                   offset: 0 0;
27455                }
27456                rel2 {
27457                   relative: 1.0 1.0;
27458                   offset: -1 -1;
27459                }
27460             }
27461          }
27462          part { name: "elm.swallow.bar";
27463             type: SWALLOW;
27464             scale: 1;
27465             description { state: "default" 0.0;
27466                min: 28 48;
27467                max: 28 9999;
27468                align: 0.5 1.0;
27469                rel1 {
27470                   to_y: "elm.text";
27471                   relative: 0.0 1.0;
27472                   offset: 0 2;
27473                }
27474                rel2 {
27475                   to_y: "elm.text.box";
27476                   relative: 1.0 0.0;
27477                   offset: -1 -3;
27478                }
27479             }
27480          }
27481          part { name: "elm.swallow.content";
27482             type: SWALLOW;
27483             description { state: "default" 0.0;
27484                visible: 0;
27485                align: 0.5 0.0;
27486                rel1 {
27487                   offset: 0 4;
27488                   to_x: "elm.swallow.bar";
27489                }
27490                rel2 {
27491                   offset: -1 3;
27492                   relative: 1.0 0.0;
27493                   to_x: "elm.swallow.bar";
27494                }
27495             }
27496             description { state: "visible" 0.0;
27497                inherit: "default" 0.0;
27498                visible: 1;
27499                aspect: 1.0 1.0;
27500                aspect_preference: HORIZONTAL;
27501                rel2.offset: -1 4;
27502             }
27503          }
27504          part { name: "elm.text";
27505             type: TEXT;
27506             mouse_events: 0;
27507             scale: 1;
27508             description { state: "default" 0.0;
27509                visible: 0;
27510                fixed: 1 1;
27511                align: 0.5 0.0;
27512                rel1.to_y: "elm.swallow.content";
27513                rel1.relative: 0.5 1.0;
27514                rel1.offset: 0 -1;
27515                rel2.to_y: "elm.swallow.content";
27516                rel2.relative: 0.5 1.0;
27517                rel2.offset: -1 -1;
27518                color: 0 0 0 255;
27519                text {
27520                   font: "Sans,Edje-Vera";
27521                   size: 10;
27522                   min: 0 0;
27523                   align: 0.5 0.0;
27524                }
27525             }
27526             description { state: "visible" 0.0;
27527                inherit: "default" 0.0;
27528                visible: 1;
27529                text.min: 1 1;
27530                rel1.offset: 4 0;
27531                rel2.offset: -5 0;
27532             }
27533          }
27534
27535          part { name: "background";
27536             mouse_events: 0;
27537             clip_to: "elm.background.progressbar";
27538             description {
27539                state: "default" 0.0;
27540                rel1 {
27541                   to: "elm.swallow.bar";
27542                   relative: 0.0 0.0;
27543                }
27544                rel2 {
27545                   to: "elm.swallow.bar";
27546                   relative: 1.0 1.0;
27547                   offset: -1 -1;
27548                }
27549                image {
27550                   normal: "shelf_inset.png";
27551                   border: 7 7 7 7;
27552                }
27553             }
27554          }
27555
27556          part { name: "elm.progress.progressbar";
27557             mouse_events: 0;
27558             clip_to: "elm.background.progressbar";
27559             description {
27560                state: "default" 0.0;
27561                min: 28 14;
27562                fixed: 1 1;
27563                rel1 {
27564                   to: "elm.swallow.bar";
27565                   relative: 0.0 0.0;
27566                }
27567                rel2 {
27568                   to_x: "elm.swallow.bar";
27569                   to_y: "elm.cur.progressbar";
27570                   offset: -1 -1;
27571                }
27572                image {
27573                   normal: "bt_sm_base2.png";
27574                   border: 6 6 6 6;
27575                }
27576             }
27577             description {
27578                state: "invert" 0.0;
27579                inherit: "default" 0.0;
27580                rel1 {
27581                   to_x: "elm.swallow.bar";
27582                   to_y: "elm.cur.progressbar";
27583                }
27584                rel2 {
27585                   to: "elm.swallow.bar";
27586                   relative: 1.0 1.0;
27587                }
27588             }
27589             description {
27590                state: "state_begin" 0.0;
27591                inherit: "default" 0.0;
27592                rel1 {
27593                   to: "elm.swallow.bar";
27594                   relative: 0.0 0.0;
27595                }
27596                rel2 {
27597                   to: "elm.swallow.bar";
27598                   relative: 1.0 0.1;
27599                }
27600             }
27601             description {
27602                state: "state_end" 0.0;
27603                inherit: "default" 0.0;
27604                rel1 {
27605                   to: "elm.swallow.bar";
27606                   relative: 0.0 0.9;
27607                }
27608                rel2 {
27609                   to: "elm.swallow.bar";
27610                   relative: 1.0 1.0;
27611                }
27612             }
27613          }
27614
27615          part { name: "over1";
27616             mouse_events: 0;
27617             description { state: "default" 0.0;
27618                rel1.to: "elm.progress.progressbar";
27619                rel2.to: "elm.progress.progressbar";
27620                rel2.relative: 1.0 0.5;
27621                image {
27622                   normal: "bt_sm_hilight.png";
27623                   border: 6 6 6 0;
27624                }
27625             }
27626          }
27627
27628          part { name: "over2";
27629             mouse_events: 1;
27630             repeat_events: 1;
27631             description { state: "default" 0.0;
27632                rel1.to: "elm.progress.progressbar";
27633                rel2.to: "elm.progress.progressbar";
27634                image {
27635                   normal: "bt_sm_shine.png";
27636                   border: 6 6 6 0;
27637                }
27638             }
27639          }
27640
27641          part { name: "elm.cur.progressbar";
27642             mouse_events: 0;
27643             dragable {
27644                confine: "background";
27645                x: 0 0 0;
27646                y: 1 1 1;
27647             }
27648             description { state: "default" 0.0;
27649                min: 28 14;
27650                fixed: 1 1;
27651                visible: 0;
27652                rel1 {
27653                   to: "background";
27654                   relative: 0 0;
27655                }
27656                rel2.to: "background";
27657            }
27658          }
27659
27660          part { name: "elm.text.box";
27661             mouse_events: 0;
27662             type: RECT;
27663             description { state: "default" 0.0;
27664                visible: 0;
27665                rel1 {
27666                   to: "elm.text.status";
27667                   offset: -2 -2;
27668                }
27669                rel2 {
27670                   to: "elm.text.status";
27671                   offset: 2 2;
27672                }
27673                color: 255 255 255 0;
27674             }
27675             description { state: "visible" 0.0;
27676                inherit: "default" 0.0;
27677                visible: 1;
27678             }
27679          }
27680          part { name: "elm.text.status";
27681             type: TEXT;
27682             mouse_events: 0;
27683             scale: 1;
27684             description { state: "default" 0.0;
27685                visible: 0;
27686                fixed: 1 1;
27687                align: 0.5 1.0;
27688                rel1.relative: 0.0 1.0;
27689                rel1.offset: 2 0;
27690                rel2.relative: 1.0 1.0;
27691                rel2.offset: -2 0;
27692                color: 0 0 0 255;
27693                text {
27694                   font: "Sans:style=Bold,Edje-Vera-Bold";
27695                   size: 10;
27696                   min: 0 0;
27697                   align: 0.5 0.0;
27698                }
27699             }
27700             description { state: "visible" 0.0;
27701                inherit: "default" 0.0;
27702                fixed: 1 1;
27703                visible: 1;
27704                text.min: 1 1;
27705                rel1.offset: 8 -9;
27706                rel2.offset: -9 -9;
27707             }
27708          }
27709       }
27710       programs {
27711          program { name: "label_show";
27712             signal: "elm,state,text,visible";
27713             source: "elm";
27714             action:  STATE_SET "visible" 0.0;
27715             target: "elm.text";
27716          }
27717          program { name: "label_hide";
27718             signal: "elm,state,text,hidden";
27719             source: "elm";
27720             action:  STATE_SET "default" 0.0;
27721             target: "elm.text";
27722          }
27723          program { name: "icon_show";
27724             signal: "elm,state,icon,visible";
27725             source: "elm";
27726             action:  STATE_SET "visible" 0.0;
27727             target: "elm.swallow.content";
27728          }
27729          program { name: "icon_hide";
27730             signal: "elm,state,icon,hidden";
27731             source: "elm";
27732             action:  STATE_SET "default" 0.0;
27733             target: "elm.swallow.content";
27734          }
27735          program { name: "units_show";
27736             signal: "elm,state,units,visible";
27737             source: "elm";
27738             action:  STATE_SET "visible" 0.0;
27739             target: "elm.text.status";
27740             target: "elm.text.box";
27741          }
27742          program { name: "units_hide";
27743             signal: "elm,state,units,hidden";
27744             source: "elm";
27745             action:  STATE_SET "default" 0.0;
27746             target: "elm.text.status";
27747             target: "elm.text.box";
27748          }
27749          program { name: "slide_to_end";
27750             action:  STATE_SET "state_end" 0.0;
27751             transition: LINEAR 0.5;
27752             target: "elm.progress.progressbar";
27753             after: "slide_to_begin";
27754          }
27755          program { name: "slide_to_begin";
27756             action:  STATE_SET "state_begin" 0.0;
27757             target: "elm.progress.progressbar";
27758             transition: LINEAR 0.5;
27759             after: "slide_to_end";
27760          }
27761          program { name: "start_pulse";
27762             signal: "elm,state,pulse,start";
27763             source: "elm";
27764             action: STATE_SET "state_begin" 0.0;
27765             target: "elm.progress.progressbar";
27766             after: "slide_to_end";
27767          }
27768          program { name: "stop_pulse";
27769             signal: "elm,state,pulse,stop";
27770             source: "elm";
27771             action: ACTION_STOP;
27772             target: "slide_to_begin";
27773             target: "slide_to_end";
27774             target: "start_pulse";
27775             after: "state_pulse";
27776          }
27777          program { name: "state_pulse";
27778             signal: "elm,state,pulse";
27779             source: "elm";
27780             action: STATE_SET "state_begin" 0.0;
27781             target: "elm.progress.progressbar";
27782             after: "units_hide";
27783          }
27784          program { name: "state_fraction";
27785             signal: "elm,state,fraction";
27786             source: "elm";
27787             action: ACTION_STOP;
27788             target: "slide_to_begin";
27789             target: "slide_to_end";
27790             target: "start_pulse";
27791             action: STATE_SET "default" 0.0;
27792             target: "elm.progress.progressbar";
27793          }
27794          program { name: "set_invert_on";
27795             signal: "elm,state,inverted,on";
27796             source: "elm";
27797             action:  STATE_SET "invert" 0.0;
27798             target: "elm.progress.progressbar";
27799             target: "elm.cur.progressbar";
27800          }
27801          program { name: "set_invert_off";
27802             signal: "elm,state,inverted,off";
27803             source: "elm";
27804             action:  STATE_SET "default" 0.0;
27805             target: "elm.progress.progressbar";
27806             target: "elm.cur.progressbar";
27807          }
27808       }
27809    }
27810
27811 ///////////////////////////////////////////////////////////////////////////////
27812    group { name: "elm/separator/horizontal/default";
27813        images {
27814            image: "separator_h.png" COMP;
27815        }
27816        parts {
27817            part { name: "separator"; // separator group
27818                description { state: "default" 0.0;
27819                    min: 2 2;
27820                    rel1.offset: 4 4;
27821                    rel2.offset: -5 -5;
27822                    image {
27823                        normal: "separator_h.png";
27824                    }
27825                    fill {
27826                        smooth: 0;
27827                    }
27828                }
27829            }
27830        }
27831    }
27832
27833    ///////////////////////////////////////////////////////////////////////////////
27834    group { name: "elm/separator/vertical/default";
27835        images {
27836            image: "separator_v.png" COMP;
27837        }
27838        parts {
27839            part { name: "separator"; // separator group
27840                description { state: "default" 0.0;
27841                    min: 2 2;
27842                    rel1.offset: 4 4;
27843                    rel2.offset: -5 -5;
27844                    image {
27845                        normal: "separator_v.png";
27846                    }
27847                    fill {
27848                        smooth: 0;
27849                    }
27850                }
27851            }
27852        }
27853    }
27854
27855    group { name: "elm/progressbar/horizontal/wheel";
27856        images {
27857            image: "busy-1.png" COMP;
27858            image: "busy-2.png" COMP;
27859            image: "busy-3.png" COMP;
27860            image: "busy-4.png" COMP;
27861            image: "busy-5.png" COMP;
27862            image: "busy-6.png" COMP;
27863            image: "busy-7.png" COMP;
27864            image: "busy-8.png" COMP;
27865            image: "busy-9.png" COMP;
27866        }
27867        parts {
27868            part { name: "elm.background.progressbar";
27869                mouse_events: 0;
27870                type: RECT;
27871                description {
27872                    state: "default" 0.0;
27873                }
27874            }
27875            part { name: "elm.swallow.bar";
27876                mouse_events: 0;
27877                type: SWALLOW;
27878                description { state: "default" 0.0;
27879                    min: 0 0;
27880                    max: 0 0;
27881                    visible: 0;
27882                }
27883            }
27884            part { name: "elm.swallow.content";
27885                type: SWALLOW;
27886                description { state: "default" 0.0;
27887                    min: 0 0;
27888                    max: 0 0;
27889                    visible: 0;
27890                }
27891            }
27892            part { name: "background";
27893                mouse_events: 0;
27894                clip_to: "elm.background.progressbar";
27895                description {
27896                    state: "default" 0.0;
27897                    min: 32 32;
27898                    max: 32 32;
27899                    visible: 1;
27900                    aspect: 1.0 1.0;
27901                    aspect_preference: BOTH;
27902                    image {
27903                        normal: "busy-9.png";
27904                        border: 7 7 7 7;
27905                    }
27906                }
27907                description {
27908                    state: "pulse" 0.0;
27909                    inherit: "default" 0.0;
27910                    image {
27911                        normal: "busy-9.png";
27912                        tween:  "busy-1.png";
27913                        tween:  "busy-2.png";
27914                        tween:  "busy-3.png";
27915                        tween:  "busy-4.png";
27916                        tween:  "busy-5.png";
27917                        tween:  "busy-6.png";
27918                        tween:  "busy-7.png";
27919                        tween:  "busy-8.png";
27920                        border: 7 7 7 7;
27921                    }
27922                }
27923            }
27924        }
27925        programs {
27926            program { name: "start_pulse";
27927                signal: "elm,state,pulse,start";
27928                source: "elm";
27929                action: STATE_SET "pulse" 0.0;
27930                target: "background";
27931                transition: LINEAR 0.5;
27932                after: "start_pulse";
27933            }
27934            program { name: "stop_pulse";
27935                signal: "elm,state,pulse,stop";
27936                source: "elm";
27937                action: STATE_SET "default" 0.0;
27938                target: "background";
27939            }
27940        }
27941    }
27942
27943
27944 ///////////////////////////////////////////////////////////////////////////////
27945    group { name: "elm/spinner/base/default";
27946        images {
27947            image: "shelf_inset.png" COMP;
27948            image: "bt_base1.png" COMP;
27949            image: "bt_hilight.png" COMP;
27950            image: "bt_shine.png" COMP;
27951            image: "bt_glow.png" COMP;
27952            image: "bt_dis_base.png" COMP;
27953            image: "bt_dis_hilight.png" COMP;
27954            image: "sp_bt_l.png" COMP;
27955            image: "sp_bt_r.png" COMP;
27956        }
27957        parts {
27958            part { name: "bg";
27959                type: RECT;
27960                description { state: "default" 0.0;
27961                    min: 0 30;
27962                    rel1.offset: 1 1;
27963                    rel2.offset: -2 -2;
27964                    color: 255 255 255 0;
27965                }
27966            }
27967            part { name: "conf_over";
27968                mouse_events:  0;
27969                description { state: "default" 0.0;
27970                    rel1.to: "bg";
27971                    rel2.to: "bg";
27972                    image {
27973                        normal: "shelf_inset.png";
27974                        border: 7 7 7 7;
27975                        middle: 0;
27976                    }
27977                    fill.smooth : 0;
27978                }
27979            }
27980            part { name: "left_bt";
27981                mouse_events:  1;
27982                description { state: "default" 0.0;
27983                    rel1 { to: "bg";
27984                        offset: 3 3;
27985                    }
27986                    rel2 { to: "bg";
27987                        offset: -4 -4;
27988                    }
27989                    align: 0.0 0.5;
27990                    min: 24 24;
27991                    aspect: 1.0 1.0;
27992                    aspect_preference: VERTICAL;
27993                    image {
27994                        normal: "bt_base1.png";
27995                        border: 6 6 6 6;
27996                    }
27997                    fill.smooth : 0;
27998                }
27999                description { state: "clicked" 0.0;
28000                    inherit: "default" 0.0;
28001                    image.normal: "bt_base1.png";
28002                    image.middle: SOLID;
28003                }
28004                description { state: "disabled" 0.0;
28005                    inherit:  "default" 0.0;
28006                    image {
28007                        normal: "bt_dis_base.png";
28008                        border: 4 4 4 4;
28009                    }
28010                }
28011            }
28012            part {          name: "left_over1";
28013                mouse_events: 0;
28014                description { state: "default" 0.0;
28015                    rel1.to: "left_bt";
28016                    rel2 { to: "left_bt";
28017                        relative: 1.0 0.5;
28018                    }
28019                    image {
28020                        normal: "bt_hilight.png";
28021                        border: 7 7 7 0;
28022                    }
28023                }
28024                description { state: "disabled" 0.0;
28025                    inherit:  "default" 0.0;
28026                    image {
28027                        normal: "bt_dis_hilight.png";
28028                        border: 4 4 4 0;
28029                    }
28030                }
28031            }
28032            part { name: "left_over2";
28033                mouse_events: 1;
28034                repeat_events: 1;
28035                ignore_flags: ON_HOLD;
28036                description { state: "default" 0.0;
28037                    rel1.to: "left_bt";
28038                    rel2.to: "left_bt";
28039                    image {
28040                        normal: "bt_shine.png";
28041                        border: 7 7 7 7;
28042                    }
28043                }
28044                description { state: "disabled" 0.0;
28045                    inherit:  "default" 0.0;
28046                    visible: 0;
28047                }
28048            }
28049            part { name: "left_over3";
28050                mouse_events: 1;
28051                repeat_events: 1;
28052                description { state: "default" 0.0;
28053                    color: 255 255 255 0;
28054                    rel1.to: "left_bt";
28055                    rel2.to: "left_bt";
28056                    image {
28057                        normal: "bt_glow.png";
28058                        border: 12 12 12 12;
28059                    }
28060                    fill.smooth : 0;
28061                }
28062                description { state: "clicked" 0.0;
28063                    inherit:  "default" 0.0;
28064                    visible: 1;
28065                    color: 255 255 255 255;
28066                }
28067            }
28068            part { name: "right_bt";
28069                mouse_events:  1;
28070                description { state: "default" 0.0;
28071                    rel1 { to: "bg";
28072                        offset: -26 3;
28073                    }
28074                    rel2 { to: "bg";
28075                        offset: -4 -4;
28076                    }
28077                    align: 1.0 0.5;
28078                    min: 24 24;
28079                    aspect: 1.0 1.0;
28080                    aspect_preference: VERTICAL;
28081                    image {
28082                        normal: "bt_base1.png";
28083                        border: 5 5 4 12;
28084                    }
28085                    fill.smooth : 0;
28086                }
28087                description { state: "clicked" 0.0;
28088                    inherit: "default" 0.0;
28089                    image.normal: "bt_base1.png";
28090                    image.middle: SOLID;
28091                }
28092                description { state: "disabled" 0.0;
28093                    inherit:  "default" 0.0;
28094                    image {
28095                        normal: "bt_dis_base.png";
28096                        border: 4 4 4 4;
28097                    }
28098                }
28099            }
28100            part { name: "right_over1";
28101                mouse_events: 0;
28102                description { state: "default" 0.0;
28103                    rel1.to: "right_bt";
28104                    rel2 { to: "right_bt";
28105                        relative: 1.0 0.5;
28106                    }
28107                    image {
28108                        normal: "bt_hilight.png";
28109                        border: 7 7 7 0;
28110                    }
28111                }
28112                description { state: "disabled" 0.0;
28113                    inherit:  "default" 0.0;
28114                    image {
28115                        normal: "bt_dis_hilight.png";
28116                        border: 4 4 4 0;
28117                    }
28118                }
28119            }
28120            part { name: "right_over2";
28121                mouse_events: 1;
28122                repeat_events: 1;
28123                ignore_flags: ON_HOLD;
28124                description { state: "default" 0.0;
28125                    rel1.to: "right_bt";
28126                    rel2.to: "right_bt";
28127                    image {
28128                        normal: "bt_shine.png";
28129                        border: 7 7 7 7;
28130                    }
28131                }
28132                description { state: "disabled" 0.0;
28133                    inherit:  "default" 0.0;
28134                    visible: 0;
28135                }
28136            }
28137            part { name: "right_over3";
28138                mouse_events: 1;
28139                repeat_events: 1;
28140                description { state: "default" 0.0;
28141                    color: 255 255 255 0;
28142                    rel1.to: "right_bt";
28143                    rel2.to: "right_bt";
28144                    image {
28145                        normal: "bt_glow.png";
28146                        border: 12 12 12 12;
28147                    }
28148                    fill.smooth : 0;
28149                }
28150                description { state: "clicked" 0.0;
28151                    inherit:  "default" 0.0;
28152                    visible: 1;
28153                    color: 255 255 255 255;
28154                }
28155            }
28156            part { name: "left_bt_icon";
28157                repeat_events: 1;
28158                description { state: "default" 0.0;
28159                    rel1.to: "left_bt";
28160                    rel1.offset: 4 4;
28161                    rel2.to: "left_bt";
28162                    rel2.offset: -5 -5;
28163                    align: 0.5 0.5;
28164                    min: 16 16;
28165                    aspect: 1.0 1.0;
28166                    aspect_preference: BOTH;
28167                    image.normal: "sp_bt_l.png";
28168                }
28169                description { state: "rtl" 0.0;
28170                    inherit: "default" 0.0;
28171                    image.normal: "sp_bt_r.png";
28172                }
28173            }
28174            part { name: "right_bt_icon";
28175                repeat_events: 1;
28176                description { state: "default" 0.0;
28177                    rel1.to: "right_bt";
28178                    rel1.offset: 4 4;
28179                    rel2.to: "right_bt";
28180                    rel2.offset: -5 -5;
28181                    align: 0.5 0.5;
28182                    min: 16 16;
28183                    aspect: 1.0 1.0;
28184                    aspect_preference: BOTH;
28185                    image.normal: "sp_bt_r.png";
28186                }
28187                description { state: "rtl" 0.0;
28188                    inherit: "default" 0.0;
28189                    image.normal: "sp_bt_l.png";
28190                }
28191            }
28192            part { name: "elm.text";
28193                type: TEXT;
28194                mouse_events: 0;
28195                scale: 1;
28196                description { state: "default" 0.0;
28197                    visible: 1;
28198                    align: 0.0 0.5;
28199                    rel1 { relative: 1.0 0.0;
28200                        offset: 3 2;
28201                        to_x: "left_bt";
28202                        to_y: "bg";
28203                    }
28204                    rel2 { relative: 0.0 1.0;
28205                        offset: -3 -2;
28206                        to_x: "right_bt";
28207                        to_y: "bg";
28208                    }
28209                    color: 0 0 0 255;
28210                    text {
28211                        font: "Sans,Edje-Vera";
28212                        size: 10;
28213                        min: 1 1;
28214                        align: 0.5 0.5;
28215                    }
28216                }
28217                description { state: "active" 0.0;
28218                    inherit: "default" 0.0;
28219                    visible: 0;
28220                }
28221                description { state: "disabled_active" 0.0;
28222                    inherit: "default" 0.0;
28223                    color: 0 0 0 128;
28224                    color3: 0 0 0 0;
28225                }
28226                description { state: "disabled" 0.0;
28227                    inherit: "default" 0.0;
28228                    color: 0 0 0 128;
28229                    color3: 0 0 0 0;
28230                }
28231            }
28232            part { name: "elm.dragable.slider";
28233                type: RECT;
28234                mouse_events: 0;
28235                scale: 1;
28236                dragable {
28237                    x: 1 1 0;
28238                    y: 0 0 0;
28239                }
28240                description { state: "default" 0.0;
28241                    rel1.to: "bg";
28242                    rel2.to: "bg";
28243                    fixed: 1 1;
28244                    color: 0 0 0 0;
28245                }
28246            }
28247            part { name: "button_events";
28248                type: RECT;
28249                dragable {
28250                    events: "elm.dragable.slider";
28251                }
28252                mouse_events: 1;
28253                description { state: "default" 0.0;
28254                    rel1.to: "elm.text";
28255                    rel2.to: "elm.text";
28256                    color: 0 0 0 0;
28257                }
28258            }
28259            part { name: "elm.swallow.entry";
28260                type: SWALLOW;
28261                description { state: "default" 0.0;
28262                    visible: 0;
28263                    align: 0.5 0.5;
28264                    rel1 { relative: 1.0 0.5;
28265                        offset: 3 2;
28266                        to_x: "left_bt";
28267                        to_y: "bg";
28268                    }
28269                    rel2 { relative: 0.0 0.5;
28270                        offset: -3 -2;
28271                        to_x: "right_bt";
28272                        to_y: "bg";
28273                    }
28274                    fixed: 1 1;
28275                    color: 0 0 0 0;
28276                }
28277                description { state: "active" 0.0;
28278                    inherit: "default" 0.0;
28279                    visible: 1;
28280                    color: 255 255 255 255;
28281                }
28282                description { state: "disabled_active" 0.0;
28283                    inherit: "default" 0.0;
28284                    visible: 0;
28285                }
28286                description { state: "disabled" 0.0;
28287                    inherit: "default" 0.0;
28288                    visible: 0;
28289                }
28290            }
28291            part { name: "disabler";
28292                type: RECT;
28293                description { state: "default" 0.0;
28294                    color: 0 0 0 0;
28295                    visible: 0;
28296                }
28297                description { state: "disabled" 0.0;
28298                    inherit: "default" 0.0;
28299                    visible: 1;
28300                }
28301            }
28302        }
28303        programs {
28304            program { name: "text_show";
28305                signal: "elm,state,text,visible";
28306                source: "elm";
28307                action:  STATE_SET "visible" 0.0;
28308                target: "elm.text";
28309            }
28310            program { name: "text_hide";
28311                signal: "elm,state,text,hidden";
28312                source: "elm";
28313                action:  STATE_SET "default" 0.0;
28314                target: "elm.text";
28315            }
28316            program { name: "dec";
28317                signal: "mouse,down,1";
28318                source: "left_bt";
28319                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28320            }
28321            program { name: "dec2";
28322                signal: "mouse,up,1";
28323                source: "left_bt";
28324                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28325            }
28326            program { name: "inc";
28327                signal: "mouse,down,1";
28328                source: "right_bt";
28329                action: SIGNAL_EMIT "elm,action,increment,start" "";
28330            }
28331            program { name: "inc2";
28332                signal: "mouse,up,1";
28333                source: "right_bt";
28334                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28335            }
28336            program {
28337                name:   "left_bt_click";
28338                signal: "mouse,down,1";
28339                source: "left_over2";
28340                action: STATE_SET "clicked" 0.0;
28341                target: "left_bt";
28342            }
28343            program {
28344                name:   "left_bt_unclick";
28345                signal: "mouse,up,1";
28346                source: "left_over2";
28347                action: STATE_SET "default" 0.0;
28348                target: "left_bt";
28349            }
28350            program {
28351                name:   "left_bt_click2";
28352                signal: "mouse,down,1";
28353                source: "left_over3";
28354                action: STATE_SET "clicked" 0.0;
28355                target: "left_over3";
28356            }
28357            program {
28358                name:   "left_bt_unclick2";
28359                signal: "mouse,up,1";
28360                source: "left_over3";
28361                action: STATE_SET "default" 0.0;
28362                transition: DECELERATE 0.5;
28363                target: "left_over3";
28364            }
28365            program {
28366                name:   "left_bt_unclick3";
28367                signal: "mouse,up,1";
28368                source: "left_over2";
28369                action: SIGNAL_EMIT "elm,action,click" "";
28370            }
28371            program {
28372                name:   "left_bt_pressed_anim";
28373                signal: "elm,left,anim,activate";
28374                source: "elm";
28375                action: STATE_SET "clicked" 0.0;
28376                target: "left_bt";
28377                target: "left_over3";
28378                after: "left_bt_unpressed_anim";
28379            }
28380            program {
28381                name:   "left_bt_unpressed_anim";
28382                action: STATE_SET "default" 0.0;
28383                transition: DECELERATE 0.5;
28384                target: "left_bt";
28385                target: "left_over3";
28386            }
28387
28388            program {
28389                name:   "right_bt_click";
28390                signal: "mouse,down,1";
28391                source: "right_over2";
28392                action: STATE_SET "clicked" 0.0;
28393                target: "right_bt";
28394            }
28395            program {
28396                name:   "right_bt_unclick";
28397                signal: "mouse,up,1";
28398                source: "right_over2";
28399                action: STATE_SET "default" 0.0;
28400                target: "right_bt";
28401            }
28402            program {
28403                name:   "right_bt_click2";
28404                signal: "mouse,down,1";
28405                source: "right_over3";
28406                action: STATE_SET "clicked" 0.0;
28407                target: "right_over3";
28408            }
28409            program {
28410                name:   "right_bt_unclick2";
28411                signal: "mouse,up,1";
28412                source: "right_over3";
28413                action: STATE_SET "default" 0.0;
28414                transition: DECELERATE 0.5;
28415                target: "right_over3";
28416            }
28417            program {
28418                name:   "right_bt_unclick3";
28419                signal: "mouse,up,1";
28420                source: "right_over2";
28421                action: SIGNAL_EMIT "elm,action,click" "";
28422            }
28423            program {
28424                name:   "right_bt_pressed_anim";
28425                signal: "elm,right,anim,activate";
28426                source: "elm";
28427                action: STATE_SET "clicked" 0.0;
28428                target: "right_bt";
28429                target: "right_over3";
28430                after: "right_bt_unpressed_anim";
28431            }
28432            program {
28433                name:   "right_bt_unpressed_anim";
28434                action: STATE_SET "default" 0.0;
28435                transition: DECELERATE 0.5;
28436                target: "right_bt";
28437                target: "right_over3";
28438            }
28439
28440            program { name: "disable";
28441                signal: "elm,state,disabled";
28442                source: "elm";
28443                action: STATE_SET "disabled" 0.0;
28444                target: "left_bt";
28445                target: "left_over1";
28446                target: "left_over2";
28447                target: "right_bt";
28448                target: "right_over1";
28449                target: "right_over2";
28450                target: "disabler";
28451                after: "disable_text";
28452            }
28453            program { name: "disable_text";
28454                script {
28455                    new st[31];
28456                    new Float:vl;
28457                    get_state(PART:"elm.text", st, 30, vl);
28458                    if (!strcmp(st, "active"))
28459                    set_state(PART:"elm.text", "disabled_active", 0.0);
28460                    else
28461                    set_state(PART:"elm.text", "disabled", 0.0);
28462
28463                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28464                    if (!strcmp(st, "active"))
28465                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28466                    else
28467                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28468                }
28469            }
28470            program { name: "enable";
28471                signal: "elm,state,enabled";
28472                source: "elm";
28473                action: STATE_SET "default" 0.0;
28474                target: "left_bt";
28475                target: "left_over1";
28476                target: "left_over2";
28477                target: "right_bt";
28478                target: "right_over1";
28479                target: "right_over2";
28480                target: "disabler";
28481                after: "enable_text";
28482            }
28483            program { name: "enable_text";
28484                script {
28485                    new st[31];
28486                    new Float:vl;
28487                    get_state(PART:"elm.text", st, 30, vl);
28488                    if (!strcmp(st, "disabled_active"))
28489                    set_state(PART:"elm.text", "active", 0.0);
28490                    else
28491                    set_state(PART:"elm.text", "default", 0.0);
28492
28493                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28494                    if (!strcmp(st, "disabled_active"))
28495                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28496                    else
28497                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28498                }
28499            }
28500            program { name: "active";
28501                signal: "elm,state,active";
28502                source: "elm";
28503                action: STATE_SET "active" 0.0;
28504                target: "elm.text";
28505                target: "elm.swallow.entry";
28506            }
28507            program { name: "inactive";
28508                signal: "elm,state,inactive";
28509                source: "elm";
28510                action: STATE_SET "default" 0.0;
28511                target: "elm.text";
28512                target: "elm.swallow.entry";
28513            }
28514            program { name: "toggle_text";
28515                signal: "mouse,up,1";
28516                source: "button_events";
28517                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28518            }
28519            program { name: "to_rtl";
28520                signal: "edje,state,rtl";
28521                source: "edje";
28522                action: STATE_SET "rtl" 0.0;
28523                target: "right_bt_icon";
28524                target: "left_bt_icon";
28525            }
28526            program { name: "to_ltr";
28527                signal: "edje,state,ltr";
28528                source: "edje";
28529                action: STATE_SET "default" 0.0;
28530                target: "right_bt_icon";
28531                target: "left_bt_icon";
28532            }
28533        }
28534    }
28535
28536 ///////////////////////////////////////////////////////////////////////////////
28537    group { name: "elm/spinner/base/vertical";
28538        images {
28539            image: "shelf_inset.png" COMP;
28540            image: "bt_hilight.png" COMP;
28541            image: "bt_shine.png" COMP;
28542            image: "bt_glow.png" COMP;
28543            image: "bt_dis_base.png" COMP;
28544            image: "bt_dis_hilight.png" COMP;
28545            image: "up.png" COMP;
28546            image: "down.png" COMP;
28547            image: "bt_spinner_up.png" COMP;
28548            image: "bt_spinner_down.png" COMP;
28549            image: "bt_spinner_hilight.png" COMP;
28550        }
28551        parts {
28552            part { name: "bg";
28553                type: RECT;
28554                description { state: "default" 0.0;
28555                    min: 0 30;
28556                    rel1.offset: 1 1;
28557                    rel2.offset: -2 -2;
28558                    color: 255 255 255 0;
28559                }
28560            }
28561            part { name: "conf_over";
28562                mouse_events:  0;
28563                description { state: "default" 0.0;
28564                    rel1 {
28565                      to: "bg";
28566                      relative: 0.0 0.0;
28567                    }
28568                    rel2 {
28569                       to: "bg";
28570                    }
28571                    image {
28572                        normal: "shelf_inset.png";
28573                        border: 7 7 7 7;
28574                        middle: 0;
28575                    }
28576                    fill.smooth : 0;
28577                }
28578            }
28579            part { name: "down_bt";
28580                mouse_events:  1;
28581                description { state: "default" 0.0;
28582                    fixed: 1 1;
28583                    rel1 {
28584                        to: "up_bt";
28585                        relative: 0 1;
28586                        offset: 0 1;
28587                    }
28588                    rel2 {
28589                        to_y: "bg";
28590                        to_x: "up_bt";
28591                        relative: 1 1;
28592                        offset: -1 -4;
28593                    }
28594                    align: 1.0 0.5;
28595                    min: 24 16;
28596                    image {
28597                        normal: "bt_spinner_down.png";
28598                        border: 6 6 6 6;
28599                    }
28600                    fill.smooth : 0;
28601                }
28602                description { state: "clicked" 0.0;
28603                    inherit: "default" 0.0;
28604                    image.normal: "bt_spinner_down.png";
28605                    image.middle: SOLID;
28606                }
28607                description { state: "disabled" 0.0;
28608                    inherit:  "default" 0.0;
28609                    image {
28610                        normal: "bt_dis_base.png";
28611                        border: 4 4 4 4;
28612                    }
28613                }
28614            }
28615            part { name: "down_over3";
28616                mouse_events: 1;
28617                repeat_events: 1;
28618                description { state: "default" 0.0;
28619                    color: 255 255 255 0;
28620                    rel1.to: "down_bt";
28621                    rel2.to: "down_bt";
28622                    image {
28623                        normal: "bt_glow.png";
28624                        border: 12 12 12 12;
28625                    }
28626                    fill.smooth : 0;
28627                }
28628                description { state: "clicked" 0.0;
28629                    inherit:  "default" 0.0;
28630                    visible: 1;
28631                    color: 255 255 255 255;
28632                }
28633            }
28634            part { name: "up_bt";
28635                mouse_events:  1;
28636                description { state: "default" 0.0;
28637                    fixed: 1 0;
28638                    rel1 { to: "bg";
28639                        relative: 0 0;
28640                        offset: 0 2;
28641                    }
28642                    rel2 { to: "bg";
28643                        relative: 1 0.5;
28644                        offset: -3 0;
28645                    }
28646                    align: 1.0 0.5;
28647                    min: 24 16;
28648                    aspect: 1.5 1.0;
28649                    aspect_preference: BOTH;
28650                    image {
28651                        normal: "bt_spinner_up.png";
28652                        border: 6 6 6 6;
28653                    }
28654                    fill.smooth : 0;
28655                }
28656                description { state: "clicked" 0.0;
28657                    inherit: "default" 0.0;
28658                    image.normal: "bt_spinner_up.png";
28659                    image.middle: SOLID;
28660                }
28661                description { state: "disabled" 0.0;
28662                    inherit:  "default" 0.0;
28663                    image {
28664                        normal: "bt_dis_base.png";
28665                        border: 4 4 4 4;
28666                    }
28667                }
28668            }
28669            part { name: "up_over1";
28670                mouse_events: 0;
28671                description { state: "default" 0.0;
28672                    rel1.to: "up_bt";
28673                    rel2 { to: "up_bt";
28674                        relative: 1.0 0.5;
28675                    }
28676                    image {
28677                        normal: "bt_spinner_hilight.png";
28678                        border: 7 7 7 0;
28679                    }
28680                }
28681                description { state: "disabled" 0.0;
28682                    inherit:  "default" 0.0;
28683                    image {
28684                        normal: "bt_dis_hilight.png";
28685                        border: 4 4 4 0;
28686                    }
28687                }
28688            }
28689            part { name: "up_over3";
28690                mouse_events: 1;
28691                repeat_events: 1;
28692                description { state: "default" 0.0;
28693                    color: 255 255 255 0;
28694                    rel1.to: "up_bt";
28695                    rel2.to: "up_bt";
28696                    image {
28697                        normal: "bt_glow.png";
28698                        border: 12 12 12 12;
28699                    }
28700                    fill.smooth : 0;
28701                }
28702                description { state: "clicked" 0.0;
28703                    inherit:  "default" 0.0;
28704                    visible: 1;
28705                    color: 255 255 255 255;
28706                }
28707            }
28708            part { name: "down_bt_icon";
28709                repeat_events: 1;
28710                description { state: "default" 0.0;
28711                    rel1.to: "down_bt";
28712                    rel1.offset: 5 3;
28713                    rel2.to: "down_bt";
28714                    rel2.offset: -6 -3;
28715                    align: 0.5 0.5;
28716                    image.normal: "down.png";
28717                }
28718            }
28719            part { name: "up_bt_icon";
28720                repeat_events: 1;
28721                description { state: "default" 0.0;
28722                    rel1.to: "up_bt";
28723                    rel1.offset: 5 3;
28724                    rel2.to: "up_bt";
28725                    rel2.offset: -6 -3;
28726                    align: 0.5 0.5;
28727                    image.normal: "up.png";
28728                }
28729            }
28730            part { name: "elm.text";
28731                type: TEXT;
28732                mouse_events: 0;
28733                scale: 1;
28734                description { state: "default" 0.0;
28735                    visible: 1;
28736                    align: 0.0 0.5;
28737                    rel1 { relative: 0.0 0.0;
28738                        offset: 3 2;
28739                        to_x: "bg";
28740                        to_y: "bg";
28741                    }
28742                    rel2 { relative: 0.0 1.0;
28743                        offset: -3 -2;
28744                        to_x: "down_bt";
28745                        to_y: "bg";
28746                    }
28747                    color: 0 0 0 255;
28748                    text {
28749                        font: "Sans,Edje-Vera";
28750                        size: 10;
28751                        min: 1 1;
28752                        align: 0.5 0.5;
28753                    }
28754                }
28755                description { state: "active" 0.0;
28756                    inherit: "default" 0.0;
28757                    visible: 0;
28758                }
28759                description { state: "disabled_active" 0.0;
28760                    inherit: "default" 0.0;
28761                    color: 0 0 0 128;
28762                    color3: 0 0 0 0;
28763                }
28764                description { state: "disabled" 0.0;
28765                    inherit: "default" 0.0;
28766                    color: 0 0 0 128;
28767                    color3: 0 0 0 0;
28768                }
28769            }
28770            part { name: "elm.dragable.slider";
28771                type: RECT;
28772                mouse_events: 0;
28773                scale: 1;
28774                dragable {
28775                    x: 1 1 0;
28776                    y: 0 0 0;
28777                }
28778                description { state: "default" 0.0;
28779                    rel1.to: "bg";
28780                    rel2.to: "bg";
28781                    fixed: 1 1;
28782                    color: 0 0 0 0;
28783                }
28784            }
28785            part { name: "button_events";
28786                type: RECT;
28787                dragable {
28788                    events: "elm.dragable.slider";
28789                }
28790                mouse_events: 1;
28791                description { state: "default" 0.0;
28792                    rel1.to: "elm.text";
28793                    rel2.to: "elm.text";
28794                    color: 0 0 0 0;
28795                }
28796            }
28797            part { name: "elm.swallow.entry";
28798                type: SWALLOW;
28799                description { state: "default" 0.0;
28800                    visible: 0;
28801                    align: 0.5 0.5;
28802                    rel1 { relative: 0.0 0.5;
28803                        offset: 3 2;
28804                        to: "bg";
28805                    }
28806                    rel2 { relative: 1.0 0.5;
28807                        offset: -3 -2;
28808                        to: "bg";
28809                    }
28810                    fixed: 1 1;
28811                    color: 0 0 0 0;
28812                }
28813                description { state: "active" 0.0;
28814                    inherit: "default" 0.0;
28815                    visible: 1;
28816                    color: 255 255 255 255;
28817                }
28818                description { state: "disabled_active" 0.0;
28819                    inherit: "default" 0.0;
28820                    visible: 0;
28821                }
28822                description { state: "disabled" 0.0;
28823                    inherit: "default" 0.0;
28824                    visible: 0;
28825                }
28826            }
28827            part { name: "disabler";
28828                type: RECT;
28829                description { state: "default" 0.0;
28830                    color: 0 0 0 0;
28831                    visible: 0;
28832                }
28833                description { state: "disabled" 0.0;
28834                    inherit: "default" 0.0;
28835                    visible: 1;
28836                }
28837            }
28838        }
28839        programs {
28840            program { name: "text_show";
28841                signal: "elm,state,text,visible";
28842                source: "elm";
28843                action:  STATE_SET "visible" 0.0;
28844                target: "elm.text";
28845            }
28846            program { name: "text_hide";
28847                signal: "elm,state,text,hidden";
28848                source: "elm";
28849                action:  STATE_SET "default" 0.0;
28850                target: "elm.text";
28851            }
28852            program { name: "dec";
28853                signal: "mouse,down,1";
28854                source: "down_bt";
28855                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28856            }
28857            program { name: "dec2";
28858                signal: "mouse,up,1";
28859                source: "down_bt";
28860                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28861            }
28862            program { name: "inc";
28863                signal: "mouse,down,1";
28864                source: "up_bt";
28865                action: SIGNAL_EMIT "elm,action,increment,start" "";
28866            }
28867            program { name: "inc2";
28868                signal: "mouse,up,1";
28869                source: "up_bt";
28870                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28871            }
28872            program {
28873                name:   "down_bt_click2";
28874                signal: "mouse,down,1";
28875                source: "down_over3";
28876                action: STATE_SET "clicked" 0.0;
28877                target: "down_over3";
28878            }
28879            program {
28880                name:   "down_bt_unclick2";
28881                signal: "mouse,up,1";
28882                source: "down_over3";
28883                action: STATE_SET "default" 0.0;
28884                transition: DECELERATE 0.5;
28885                target: "down_over3";
28886            }
28887            program {
28888                name:   "up_bt_click2";
28889                signal: "mouse,down,1";
28890                source: "up_over3";
28891                action: STATE_SET "clicked" 0.0;
28892                target: "up_over3";
28893            }
28894            program {
28895                name:   "up_bt_unclick2";
28896                signal: "mouse,up,1";
28897                source: "up_over3";
28898                action: STATE_SET "default" 0.0;
28899                transition: DECELERATE 0.5;
28900                target: "up_over3";
28901            }
28902            program { name: "disable";
28903                signal: "elm,state,disabled";
28904                source: "elm";
28905                action: STATE_SET "disabled" 0.0;
28906                target: "down_bt";
28907                target: "up_bt";
28908                target: "disabler";
28909                after: "disable_text";
28910            }
28911            program { name: "disable_text";
28912                script {
28913                    new st[31];
28914                    new Float:vl;
28915                    get_state(PART:"elm.text", st, 30, vl);
28916                    if (!strcmp(st, "active"))
28917                    set_state(PART:"elm.text", "disabled_active", 0.0);
28918                    else
28919                    set_state(PART:"elm.text", "disabled", 0.0);
28920
28921                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28922                    if (!strcmp(st, "active"))
28923                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28924                    else
28925                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28926                }
28927            }
28928            program { name: "enable";
28929                signal: "elm,state,enabled";
28930                source: "elm";
28931                action: STATE_SET "default" 0.0;
28932                target: "down_bt";
28933                target: "up_bt";
28934                target: "disabler";
28935                after: "enable_text";
28936            }
28937            program { name: "enable_text";
28938                script {
28939                    new st[31];
28940                    new Float:vl;
28941                    get_state(PART:"elm.text", st, 30, vl);
28942                    if (!strcmp(st, "disabled_active"))
28943                    set_state(PART:"elm.text", "active", 0.0);
28944                    else
28945                    set_state(PART:"elm.text", "default", 0.0);
28946
28947                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28948                    if (!strcmp(st, "disabled_active"))
28949                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28950                    else
28951                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28952                }
28953            }
28954            program { name: "active";
28955                signal: "elm,state,active";
28956                source: "elm";
28957                action: STATE_SET "active" 0.0;
28958                target: "elm.text";
28959                target: "elm.swallow.entry";
28960            }
28961            program { name: "inactive";
28962                signal: "elm,state,inactive";
28963                source: "elm";
28964                action: STATE_SET "default" 0.0;
28965                target: "elm.text";
28966                target: "elm.swallow.entry";
28967            }
28968            program { name: "toggle_text";
28969                signal: "mouse,up,1";
28970                source: "button_events";
28971                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28972            }
28973        }
28974    }
28975
28976
28977    ///////////////////////////////////////////////////////////////////////////////
28978    group { name: "elm/index/base/vertical/default";
28979        images {
28980            image: "bt_base1.png" COMP;
28981            image: "bt_base2.png" COMP;
28982            image: "bt_hilight.png" COMP;
28983            image: "bt_shine.png" COMP;
28984        }
28985        parts {
28986            part { name: "clip";
28987                type: RECT;
28988                mouse_events:  0;
28989                description { state: "default" 0.0;
28990                    visible:  0;
28991                    color: 255 255 255 0;
28992                }
28993                description { state: "active" 0.0;
28994                    visible:  1;
28995                    color: 255 255 255 255;
28996                }
28997            }
28998            part { name: "clip2";
28999                type: RECT;
29000                mouse_events:  0;
29001                clip_to: "clip";
29002                description { state: "default" 0.0;
29003                    visible: 0;
29004                    color: 255 255 255 0;
29005                }
29006                description { state: "active" 0.0;
29007                    visible:  1;
29008                    color: 255 255 255 255;
29009                }
29010            }
29011            part { name: "elm.swallow.index.0";
29012                type: SWALLOW;
29013                clip_to: "clip";
29014                description { state: "default" 0.0;
29015                    align: 1.0 0.5;
29016                    fixed: 1 1;
29017                    rel1 {
29018                        relative: 1.0 0.5;
29019                        offset: -1 5;
29020                    }
29021                    rel2 {
29022                        relative: 1.0 0.5;
29023                        offset: -1 -6;
29024                    }
29025                }
29026            }
29027            part { name: "button_image";
29028                mouse_events: 1;
29029                clip_to: "clip";
29030                description { state: "default" 0.0;
29031                    rel1 {
29032                        to: "elm.text.body";
29033                        offset: -5 -5;
29034                    }
29035                    rel2 {
29036                        to: "elm.text";
29037                        offset: 4 4;
29038                    }
29039                    image {
29040                        normal: "bt_base2.png";
29041                        border: 7 7 7 7;
29042                    }
29043                    image.middle: SOLID;
29044                }
29045            }
29046            part { name: "elm.text.body";
29047                type: TEXT;
29048                effect: SOFT_SHADOW;
29049                mouse_events: 0;
29050                scale: 1;
29051                clip_to: "clip";
29052                description { state: "default" 0.0;
29053                    align: 1.0 0.5;
29054                    fixed: 1 1;
29055                    rel1 {
29056                        to: "elm.text";
29057                        relative: 0.0 0.0;
29058                        offset: 5 0;
29059                    }
29060                    rel2 {
29061                        to: "elm.text";
29062                        relative: 0.0 1.0;
29063                        offset: 5 -1;
29064                    }
29065                    color: 224 224 224 255;
29066                    color3: 0 0 0 64;
29067                    text {
29068                        font:     "Sans,Edje-Vera";
29069                        size:     20;
29070                        min:      1 1;
29071                        align:    1.0 0.5;
29072                    }
29073                }
29074            }
29075            part { name: "elm.text";
29076                type: TEXT;
29077                effect: SOFT_SHADOW;
29078                mouse_events: 0;
29079                scale: 1;
29080                clip_to: "clip";
29081                description { state: "default" 0.0;
29082                    align: 1.0 0.5;
29083                    fixed: 1 1;
29084                    rel1 {
29085                        to_x: "elm.swallow.event.0";
29086                        to_y: "elm.dragable.pointer";
29087                        relative: 0.0 0.5;
29088                        offset: -16 0;
29089                    }
29090                    rel2 {
29091                        to_x: "elm.swallow.event.0";
29092                        to_y: "elm.dragable.pointer";
29093                        relative: 0.0 0.5;
29094                        offset: -16 -1;
29095                    }
29096                    color: 255 0 0 255;
29097                    color3: 0 0 0 64;
29098                    text {
29099                        font:     "Sans,Edje-Vera";
29100                        size:     20;
29101                        min:      1 1;
29102                        align:    1.0 0.5;
29103                    }
29104                }
29105            }
29106            part {        name: "over1";
29107                mouse_events: 0;
29108                clip_to: "clip";
29109                description { state: "default" 0.0;
29110                    rel1 {
29111                        to: "button_image";
29112                    }
29113                    rel2 {
29114                        to: "button_image";
29115                        relative: 1.0 0.5;
29116                    }
29117                    image {
29118                        normal: "bt_hilight.png";
29119                        border: 7 7 7 0;
29120                    }
29121                }
29122            }
29123            part { name: "over2";
29124                mouse_events: 1;
29125                repeat_events: 1;
29126                ignore_flags: ON_HOLD;
29127                clip_to: "clip";
29128                description { state: "default" 0.0;
29129                    rel1 {
29130                        to: "button_image";
29131                    }
29132                    rel2 {
29133                        to: "button_image";
29134                    }
29135                    image {
29136                        normal: "bt_shine.png";
29137                        border: 7 7 7 7;
29138                    }
29139                }
29140            }
29141            part { name: "elm.dragable.pointer";
29142                type: RECT;
29143                mouse_events: 0;
29144                dragable {
29145                    x: 1 1 0;
29146                    y: 1 1 0;
29147                }
29148                clip_to: "clip";
29149                description { state: "default" 0.0;
29150                    fixed: 1 1;
29151                    min: 8 8;
29152                    max: 8 8;
29153                    visible: 0;
29154                    rel1 {
29155                        relative: 0.0 0.0;
29156                        offset:   0 0;
29157                    }
29158                    rel2 {
29159                        relative: 0.0 0.0;
29160                        offset:   0 0;
29161                    }
29162                }
29163            }
29164            part { name: "elm.swallow.event.0";
29165                type: SWALLOW;
29166                description { state: "default" 0.0;
29167                    align: 1.0 0.5;
29168                    fixed: 1 1;
29169                    rel1 {
29170                        relative: 1.0 0.0;
29171                        offset: -1 0;
29172                    }
29173                    rel2 {
29174                        relative: 1.0 1.0;
29175                        offset: -1 -1;
29176                    }
29177                }
29178            }
29179        }
29180        programs {
29181            program { name: "active";
29182                signal: "elm,state,active";
29183                source: "elm";
29184                action: STATE_SET "active" 0.0;
29185                transition: DECELERATE 0.5;
29186                target: "clip";
29187            }
29188            program { name: "inactive";
29189                signal: "elm,state,inactive";
29190                source: "elm";
29191                action: STATE_SET "default" 0.0;
29192                transition: DECELERATE 0.5;
29193                target: "clip";
29194            }
29195        }
29196    }
29197
29198    group { name: "elm/index/item/vertical/default";
29199        data.item: "stacking" "above";
29200        data.item: "selectraise" "on";
29201        images {
29202            image: "ilist_1.png" COMP;
29203            image: "ilist_item_shadow.png" COMP;
29204        }
29205        parts {
29206            part {
29207                name: "base_sh";
29208                mouse_events: 0;
29209                description {
29210                    state: "default" 0.0;
29211                    align: 0.0 0.0;
29212                    min: 0 10;
29213                    fixed: 1 1;
29214                    rel1 {
29215                        to: "base";
29216                        relative: 0.0 1.0;
29217                        offset: 0 0;
29218                    }
29219                    rel2 {
29220                        to: "base";
29221                        relative: 1.0 1.0;
29222                        offset: -1 0;
29223                    }
29224                    image {
29225                        normal: "ilist_item_shadow.png";
29226                    }
29227                    fill.smooth: 0;
29228                }
29229            }
29230            part {
29231                name: "base";
29232                mouse_events: 0;
29233                description {
29234                    state: "default" 0.0;
29235                    image {
29236                        normal: "ilist_1.png";
29237                        border: 2 2 2 2;
29238                    }
29239                    fill.smooth: 0;
29240                }
29241                description { state: "active" 0.0;
29242                    inherit: "default" 0.0;
29243                    rel1 {
29244                        offset: -16 0;
29245                    }
29246                }
29247            }
29248            part { name: "elm.text";
29249                type:           TEXT;
29250                mouse_events:   0;
29251                scale: 1;
29252                description {
29253                    state: "default" 0.0;
29254                           //               min: 16 16;
29255                    rel1 {
29256                        to: "base";
29257                        relative: 0.0  0.0;
29258                        offset:   4 4;
29259                    }
29260                    rel2 {
29261                        to: "base";
29262                        relative: 0.5  1.0;
29263                        offset:   -1 -1;
29264                    }
29265                    color: 0 0 0 128;
29266                    text {
29267                        font: "Sans";
29268                        size: 10;
29269                        min: 1 1;
29270                             //                  min: 0 1;
29271                        align: 0.5 0.5;
29272                    }
29273                }
29274                description { state: "active" 0.0;
29275                    inherit: "default" 0.0;
29276                    color: 0 0 0 255;
29277                }
29278            }
29279        }
29280        programs {
29281            program { name: "active";
29282                signal: "elm,state,active";
29283                source: "elm";
29284                action: STATE_SET "active" 0.0;
29285                transition: DECELERATE 0.5;
29286                target: "elm.text";
29287                target: "base";
29288            }
29289            program { name: "inactive";
29290                signal: "elm,state,inactive";
29291                source: "elm";
29292                action: STATE_SET "default" 0.0;
29293                transition: DECELERATE 0.5;
29294                target: "elm.text";
29295                target: "base";
29296            }
29297        }
29298    }
29299
29300    group { name: "elm/index/item_odd/vertical/default";
29301        data.item: "stacking" "below";
29302        images {
29303            image: "ilist_2.png" COMP;
29304        }
29305        parts {
29306            part {
29307                name: "base";
29308                mouse_events: 0;
29309                description {
29310                    state: "default" 0.0;
29311                    image {
29312                        normal: "ilist_2.png";
29313                        border: 2 2 2 2;
29314                    }
29315                    fill.smooth: 0;
29316                }
29317                description { state: "active" 0.0;
29318                    inherit: "default" 0.0;
29319                    rel1 {
29320                        offset: -16 0;
29321                    }
29322                }
29323            }
29324            part { name: "elm.text";
29325                type:           TEXT;
29326                mouse_events:   0;
29327                scale: 1;
29328                description {
29329                    state: "default" 0.0;
29330                           //               min: 16 16;
29331                    rel1 {
29332                        to: "base";
29333                        relative: 0.0  0.0;
29334                        offset:   4 4;
29335                    }
29336                    rel2 {
29337                        to: "base";
29338                        relative: 0.5  1.0;
29339                        offset:   -1 -1;
29340                    }
29341                    color: 0 0 0 128;
29342                    text {
29343                        font: "Sans";
29344                        size: 10;
29345                        min: 1 1;
29346                             //                  min: 0 1;
29347                        align: 0.5 0.5;
29348                    }
29349                }
29350                description { state: "active" 0.0;
29351                    inherit: "default" 0.0;
29352                    color: 0 0 0 255;
29353                }
29354            }
29355        }
29356        programs {
29357            program { name: "active";
29358                signal: "elm,state,active";
29359                source: "elm";
29360                action: STATE_SET "active" 0.0;
29361                transition: DECELERATE 0.5;
29362                target: "elm.text";
29363                target: "base";
29364            }
29365            program { name: "inactive";
29366                signal: "elm,state,inactive";
29367                source: "elm";
29368                action: STATE_SET "default" 0.0;
29369                transition: DECELERATE 0.5;
29370                target: "elm.text";
29371                target: "base";
29372            }
29373        }
29374    }
29375
29376 ///////////////////////////////////////////////////////////////////////////////
29377    group { name: "elm/gengrid/item/default/default";
29378       data.item: "labels" "elm.text";
29379       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29380       images {
29381          image: "bt_sm_base1.png" COMP;
29382          image: "bt_sm_shine.png" COMP;
29383          image: "bt_sm_hilight.png" COMP;
29384          image: "ilist_1.png" COMP;
29385          image: "ilist_item_shadow.png" COMP;
29386       }
29387       parts {
29388          part { name: "event";
29389             type: RECT;
29390             repeat_events: 1;
29391             description {
29392                state: "default" 0.0;
29393                color: 0 0 0 0;
29394             }
29395          }
29396          part { name: "base_sh";
29397             mouse_events: 0;
29398             description { state: "default" 0.0;
29399                align: 0.0 0.0;
29400                min: 0 10;
29401                fixed: 1 1;
29402                rel1 {
29403                   to: "base";
29404                   relative: 0.0 1.0;
29405                   offset: 0 0;
29406                }
29407                rel2 {
29408                   to: "base";
29409                   relative: 1.0 1.0;
29410                   offset: -1 0;
29411                }
29412                image {
29413                   normal: "ilist_item_shadow.png";
29414                }
29415                fill.smooth: 0;
29416             }
29417          }
29418          part { name: "base";
29419             mouse_events: 0;
29420             description { state: "default" 0.0;
29421                image {
29422                   normal: "ilist_1.png";
29423                   border: 2 2 2 2;
29424                }
29425                fill.smooth: 0;
29426             }
29427          }
29428          part { name: "bg";
29429             clip_to: "disclip";
29430             mouse_events: 0;
29431             description { state: "default" 0.0;
29432                visible: 0;
29433                color: 255 255 255 0;
29434                rel1 {
29435                   relative: 0.0 0.0;
29436                   offset: -5 -5;
29437                }
29438                rel2 {
29439                   relative: 1.0 1.0;
29440                   offset: 4 4;
29441                }
29442                image {
29443                   normal: "bt_sm_base1.png";
29444                   border: 6 6 6 6;
29445                }
29446                image.middle: SOLID;
29447             }
29448             description { state: "selected" 0.0;
29449                inherit: "default" 0.0;
29450                visible: 1;
29451                color: 255 255 255 255;
29452                rel1 {
29453                   relative: 0.0 0.0;
29454                   offset: -2 -2;
29455                }
29456                rel2 {
29457                   relative: 1.0 1.0;
29458                   offset: 1 1;
29459                }
29460             }
29461          }
29462          part { name: "elm.swallow.pad";
29463             type: SWALLOW;
29464             description { state: "default" 0.0;
29465                fixed: 1 0;
29466                align: 0.0 0.5;
29467                rel1 {
29468                   relative: 0.0  1.0;
29469                   offset:   0    -10;
29470                }
29471                rel2 {
29472                   to_y: "elm.text";
29473                   relative: 0.0  0.0;
29474                   offset:   -1   -1;
29475                }
29476             }
29477          }
29478          part { name: "elm.swallow.icon";
29479             clip_to: "disclip";
29480             type: SWALLOW;
29481             description { state: "default" 0.0;
29482                fixed: 1 0;
29483                align: 0.5 0.5;
29484                rel1 {
29485                   relative: 0.0  0.0;
29486                   offset:   -1    4;
29487                }
29488                rel2 {
29489                   to_y: "elm.swallow.pad";
29490                   relative: 1.0  0.0;
29491                   offset:   -1   -5;
29492                }
29493             }
29494          }
29495          part { name: "elm.swallow.end";
29496             clip_to: "disclip";
29497             type: SWALLOW;
29498             description { state: "default" 0.0;
29499                fixed: 1 0;
29500                align: 1.0 0.0;
29501                aspect: 1.0 1.0;
29502                aspect_preference: HORIZONTAL;
29503                rel1 {
29504                   relative: 1.0 0.0;
29505                   offset: -5 -5;
29506                }
29507                rel2 {
29508                   relative: 1.0 1.0;
29509                   offset: 5 5;
29510                }
29511             }
29512          }
29513          part { name: "elm.text";
29514             clip_to: "disclip";
29515             type: TEXT;
29516             effect: SOFT_SHADOW;
29517             mouse_events: 0;
29518             scale: 1;
29519             description { state: "default" 0.0;
29520                rel1 {
29521                   relative: 0.0  1.0;
29522                   offset: 0 0;
29523                }
29524                rel2 {
29525                   relative: 1.0  1.0;
29526                   offset: -5 -5;
29527                }
29528                color: 0 0 0 255;
29529                color3: 0 0 0 0;
29530                text {
29531                   font: "Sans";
29532                   size: 10;
29533                   min: 0 1;
29534                   align: 0.5 0.0;
29535                   text_class: "grid_item";
29536                }
29537             }
29538             description { state: "selected" 0.0;
29539                inherit: "default" 0.0;
29540                color: 224 224 224 255;
29541                color3: 0 0 0 64;
29542             }
29543          }
29544          part { name: "fg1";
29545             clip_to: "disclip";
29546             mouse_events: 0;
29547             description { state: "default" 0.0;
29548                visible: 0;
29549                color: 255 255 255 0;
29550                rel1.to: "bg";
29551                rel2.relative: 1.0 0.5;
29552                rel2.to: "bg";
29553                image {
29554                   normal: "bt_sm_hilight.png";
29555                   border: 6 6 6 0;
29556                }
29557             }
29558             description { state: "selected" 0.0;
29559                inherit: "default" 0.0;
29560                visible: 1;
29561                color: 255 255 255 255;
29562             }
29563          }
29564          part { name: "fg2";
29565             clip_to: "disclip";
29566             mouse_events: 0;
29567             description { state: "default" 0.0;
29568                visible: 0;
29569                color: 255 255 255 0;
29570                rel1.to: "bg";
29571                rel2.to: "bg";
29572                image {
29573                   normal: "bt_sm_shine.png";
29574                   border: 6 6 6 0;
29575                }
29576             }
29577             description { state: "selected" 0.0;
29578                inherit: "default" 0.0;
29579                visible: 1;
29580                color: 255 255 255 255;
29581             }
29582          }
29583          part { name: "disclip";
29584             type: RECT;
29585             description { state: "default" 0.0;
29586                rel1.to: "bg";
29587                rel2.to: "bg";
29588             }
29589             description { state: "disabled" 0.0;
29590                inherit: "default" 0.0;
29591                color: 255 255 255 64;
29592             }
29593          }
29594       }
29595       programs {
29596          // signal: elm,state,%s,active
29597          //   a "check" item named %s went active
29598          // signal: elm,state,%s,passive
29599          //   a "check" item named %s went passive
29600          // default is passive
29601          program { name:    "go_active";
29602             signal:  "elm,state,selected";
29603             source:  "elm";
29604             action:  STATE_SET "selected" 0.0;
29605             target:  "bg";
29606             target:  "fg1";
29607             target:  "fg2";
29608             target:  "elm.text";
29609          }
29610          program { name:    "go_passive";
29611             signal:  "elm,state,unselected";
29612             source:  "elm";
29613             action:  STATE_SET "default" 0.0;
29614             target:  "bg";
29615             target:  "fg1";
29616             target:  "fg2";
29617             target:  "elm.text";
29618             transition: LINEAR 0.1;
29619          }
29620          program { name:    "go_disabled";
29621             signal:  "elm,state,disabled";
29622             source:  "elm";
29623             action:  STATE_SET "disabled" 0.0;
29624             target:  "disclip";
29625          }
29626          program { name:    "go_enabled";
29627             signal:  "elm,state,enabled";
29628             source:  "elm";
29629             action:  STATE_SET "default" 0.0;
29630             target:  "disclip";
29631          }
29632       }
29633    }
29634    group { name: "elm/gengrid/item/default_style/default";
29635        styles
29636        {
29637            style { name: "gengrid_style";
29638                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29639                tag:  "br" "\n";
29640                tag:  "ps" "ps";
29641                tag:  "hilight" "+ font=Sans:style=Bold";
29642                tag:  "b" "+ font=Sans:style=Bold";
29643                tag:  "tab" "\t";
29644            }
29645            style { name: "gengrid_selected_style";
29646                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29647                tag:  "br" "\n";
29648                tag:  "ps" "ps";
29649                tag:  "hilight" "+ font=Sans:style=Bold";
29650                tag:  "b" "+ font=Sans:style=Bold";
29651                tag:  "tab" "\t";
29652            }
29653        }
29654        data.item: "labels" "elm.text";
29655        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29656        images {
29657            image: "bt_sm_base1.png" COMP;
29658            image: "bt_sm_shine.png" COMP;
29659            image: "bt_sm_hilight.png" COMP;
29660            image: "ilist_1.png" COMP;
29661            image: "ilist_item_shadow.png" COMP;
29662        }
29663        parts {
29664            part { name: "event";
29665                type: RECT;
29666                repeat_events: 1;
29667                description { state: "default" 0.0;
29668                    color: 0 0 0 0;
29669                }
29670            }
29671            part { name: "base_sh";
29672                mouse_events: 0;
29673                description { state: "default" 0.0;
29674                    align: 0.0 0.0;
29675                    min: 0 10;
29676                    fixed: 1 1;
29677                    rel1 {
29678                        to: "base";
29679                        relative: 0.0 1.0;
29680                        offset: 0 0;
29681                    }
29682                    rel2 {
29683                        to: "base";
29684                        relative: 1.0 1.0;
29685                        offset: -1 0;
29686                    }
29687                    image {
29688                        normal: "ilist_item_shadow.png";
29689                    }
29690                    fill.smooth: 0;
29691                }
29692            }
29693            part { name: "base";
29694                mouse_events: 0;
29695                description { state: "default" 0.0;
29696                    min: 16 28;
29697                    image {
29698                        normal: "ilist_1.png";
29699                        border: 2 2 2 2;
29700                    }
29701                    fill.smooth: 0;
29702                }
29703            }
29704            part { name: "bg";
29705                clip_to: "disclip";
29706                mouse_events: 0;
29707                description { state: "default" 0.0;
29708                    visible: 0;
29709                    color: 255 255 255 0;
29710                    rel1 {
29711                        relative: 0.0 0.0;
29712                        offset: -5 -5;
29713                    }
29714                    rel2 {
29715                        relative: 1.0 1.0;
29716                        offset: 4 4;
29717                    }
29718                    image {
29719                        normal: "bt_sm_base1.png";
29720                        border: 6 6 6 6;
29721                    }
29722                    image.middle: SOLID;
29723                }
29724                description { state: "selected" 0.0;
29725                    inherit: "default" 0.0;
29726                    visible: 1;
29727                    color: 255 255 255 255;
29728                    rel1 {
29729                        relative: 0.0 0.0;
29730                        offset: -2 -2;
29731                    }
29732                    rel2 {
29733                        relative: 1.0 1.0;
29734                        offset: 1 1;
29735                    }
29736                }
29737            }
29738            part { name: "elm.swallow.pad";
29739                type: SWALLOW;
29740                description { state: "default" 0.0;
29741                    fixed: 1 0;
29742                    align: 0.0 0.5;
29743                    rel1 {
29744                        relative: 0.0  0.0;
29745                        offset:   4    4;
29746                    }
29747                    rel2 {
29748                        relative: 0.0  1.0;
29749                        offset:   4   -5;
29750                    }
29751                }
29752            }
29753            part { name: "elm.swallow.icon";
29754                clip_to: "disclip";
29755                type: SWALLOW;
29756                description { state: "default" 0.0;
29757                    fixed: 1 0;
29758                    align: 0.0 0.5;
29759                    rel1 {
29760                        to_x: "elm.swallow.pad";
29761                        relative: 1.0  0.0;
29762                        offset:   -1    4;
29763                    }
29764                    rel2 {
29765                        to_x: "elm.swallow.pad";
29766                        relative: 1.0  1.0;
29767                        offset:   -1   -5;
29768                    }
29769                }
29770            }
29771            part { name: "elm.swallow.end";
29772                clip_to: "disclip";
29773                type: SWALLOW;
29774                description { state: "default" 0.0;
29775                    fixed: 1 0;
29776                    align: 1.0 0.5;
29777                    aspect: 1.0 1.0;
29778                    aspect_preference: VERTICAL;
29779                    rel1 {
29780                        relative: 1.0  0.0;
29781                        offset:   -5    4;
29782                    }
29783                    rel2 {
29784                        relative: 1.0  1.0;
29785                        offset:   -5   -5;
29786                    }
29787                }
29788            }
29789            part { name: "elm.text";
29790                clip_to: "disclip";
29791                type: TEXTBLOCK;
29792                mouse_events: 0;
29793                scale: 1;
29794                description {
29795                    state: "default" 0.0;
29796                    align: 0.0 0.5;
29797                    fixed: 0 1;
29798                    rel1 {
29799                        to_x: "elm.swallow.icon";
29800                        to_y: "base";
29801                        relative: 1.0  0.5;
29802                        offset:   0 4;
29803                    }
29804                    rel2 {
29805                        to_x: "elm.swallow.end";
29806                        to_y: "base";
29807                        relative: 0.0  0.5;
29808                        offset:   -1 -5;
29809                    }
29810                    text {
29811                        style: "gengrid_style";
29812                        min: 1 1;
29813                    }
29814                }
29815                description { state: "selected" 0.0;
29816                    inherit: "default" 0.0;
29817                    text {
29818                        style: "gengrid_selected_style";
29819                    }
29820                }
29821            }
29822            part { name: "fg1";
29823                clip_to: "disclip";
29824                mouse_events: 0;
29825                description { state: "default" 0.0;
29826                    visible: 0;
29827                    color: 255 255 255 0;
29828                    rel1.to: "bg";
29829                    rel2.relative: 1.0 0.5;
29830                    rel2.to: "bg";
29831                    image {
29832                        normal: "bt_sm_hilight.png";
29833                        border: 6 6 6 0;
29834                    }
29835                }
29836                description { state: "selected" 0.0;
29837                    inherit: "default" 0.0;
29838                    visible: 1;
29839                    color: 255 255 255 255;
29840                }
29841            }
29842            part { name: "fg2";
29843                clip_to: "disclip";
29844                mouse_events: 0;
29845                description { state: "default" 0.0;
29846                    visible: 0;
29847                    color: 255 255 255 0;
29848                    rel1.to: "bg";
29849                    rel2.to: "bg";
29850                    image {
29851                        normal: "bt_sm_shine.png";
29852                        border: 6 6 6 0;
29853                    }
29854                }
29855                description { state: "selected" 0.0;
29856                    inherit: "default" 0.0;
29857                    visible: 1;
29858                    color: 255 255 255 255;
29859                }
29860            }
29861            part { name: "disclip";
29862                type: RECT;
29863                description { state: "default" 0.0;
29864                    rel1.to: "bg";
29865                    rel2.to: "bg";
29866                }
29867                description { state: "disabled" 0.0;
29868                    inherit: "default" 0.0;
29869                    color: 255 255 255 64;
29870                }
29871            }
29872        }
29873        programs {
29874            // signal: elm,state,%s,active
29875            //   a "check" item named %s went active
29876            // signal: elm,state,%s,passive
29877            //   a "check" item named %s went passive
29878            // default is passive
29879            program { name:    "go_active";
29880                signal:  "elm,state,selected";
29881                source:  "elm";
29882                action:  STATE_SET "selected" 0.0;
29883                target:  "bg";
29884                target:  "fg1";
29885                target:  "fg2";
29886                target:  "elm.text";
29887            }
29888            program { name:    "go_passive";
29889                signal:  "elm,state,unselected";
29890                source:  "elm";
29891                action:  STATE_SET "default" 0.0;
29892                target:  "bg";
29893                target:  "fg1";
29894                target:  "fg2";
29895                target:  "elm.text";
29896                transition: LINEAR 0.1;
29897            }
29898            program { name:    "go_disabled";
29899                signal:  "elm,state,disabled";
29900                source:  "elm";
29901                action:  STATE_SET "disabled" 0.0;
29902                target:  "disclip";
29903            }
29904            program { name:    "go_enabled";
29905                signal:  "elm,state,enabled";
29906                source:  "elm";
29907                action:  STATE_SET "default" 0.0;
29908                target:  "disclip";
29909            }
29910        }
29911    }
29912
29913    group { name: "elm/gengrid/item/up/default";
29914       data.item: "labels" "elm.text";
29915       images {
29916           image: "bt_sm_base1.png" COMP;
29917           image: "bt_sm_shine.png" COMP;
29918           image: "bt_sm_hilight.png" COMP;
29919           image: "arrow_up.png" COMP;
29920       }
29921       parts {
29922          part { name: "event";
29923             type: RECT;
29924             repeat_events: 1;
29925             description { state: "default" 0.0;
29926                color: 0 0 0 0;
29927             }
29928          }
29929          part { name: "bg";
29930             clip_to: "disclip";
29931             mouse_events: 0;
29932             description { state: "default" 0.0;
29933                visible: 0;
29934                color: 255 255 255 0;
29935                rel1.offset: -3 -3;
29936                rel2.offset: 2 2;
29937                image { normal: "bt_sm_base1.png";
29938                   border: 6 6 6 6;
29939                   middle: SOLID;
29940                }
29941             }
29942             description { state: "selected" 0.0;
29943                inherit: "default" 0.0;
29944                visible: 1;
29945                color: 255 255 255 255;
29946             }
29947          }
29948          part { name: "image";
29949              type: IMAGE;
29950              mouse_events: 0;
29951              description { state: "default" 0.0;
29952                  aspect_preference: BOTH;
29953                  aspect: 1.0 1.0;
29954                  image.normal: "arrow_up.png";
29955                  rel2 {
29956                      to_y: "elm.text";
29957                      relative: 1.0 0.0;
29958                      offset: -1 -2;
29959                  }
29960              }
29961          }
29962          part { name: "elm.text";
29963             clip_to: "disclip";
29964             type: TEXT;
29965             effect: SOFT_SHADOW;
29966             mouse_events: 0;
29967             scale: 1;
29968             description { state: "default" 0.0;
29969                rel1 {
29970                   relative: 0.0  1.0;
29971                   offset: 20 -25;
29972                }
29973                rel2 {
29974                   relative: 1.0  1.0;
29975                   offset: -21 -3;
29976                }
29977                color: 0 0 0 255;
29978                color3: 0 0 0 0;
29979                text {
29980                   font: "Sans";
29981                   size: 10;
29982                   min: 0 1;
29983                   align: 0.5 0.0;
29984                   text_class: "grid_item";
29985                }
29986             }
29987             description { state: "selected" 0.0;
29988                inherit: "default" 0.0;
29989                color: 224 224 224 255;
29990                color3: 0 0 0 64;
29991             }
29992          }
29993          part { name: "fg1";
29994             clip_to: "disclip";
29995             mouse_events: 0;
29996             description { state: "default" 0.0;
29997                visible: 0;
29998                color: 255 255 255 0;
29999                rel1.offset: -3 -3;
30000                rel2 {
30001                    relative: 1.0 0.5;
30002                    offset: 2 -1;
30003                }
30004                image {
30005                   normal: "bt_sm_hilight.png";
30006                   border: 6 6 6 0;
30007                }
30008             }
30009             description { state: "selected" 0.0;
30010                inherit: "default" 0.0;
30011                visible: 1;
30012                color: 255 255 255 255;
30013             }
30014          }
30015          part { name: "fg2";
30016             clip_to: "disclip";
30017             mouse_events: 0;
30018             description { state: "default" 0.0;
30019                visible: 0;
30020                color: 255 255 255 0;
30021                rel1.offset: -3 -3;
30022                rel2.offset: 2 2;
30023                image {
30024                   normal: "bt_sm_shine.png";
30025                   border: 6 6 6 0;
30026                }
30027             }
30028             description { state: "selected" 0.0;
30029                inherit: "default" 0.0;
30030                visible: 1;
30031                color: 255 255 255 255;
30032             }
30033          }
30034          part { name: "disclip";
30035             type: RECT;
30036             description { state: "default" 0.0;
30037                rel1.to: "bg";
30038                rel2.to: "bg";
30039             }
30040             description { state: "disabled" 0.0;
30041                inherit: "default" 0.0;
30042                color: 255 255 255 64;
30043             }
30044          }
30045       }
30046       programs {
30047          program { name:    "go_active";
30048             signal:  "elm,state,selected";
30049             source:  "elm";
30050             action:  STATE_SET "selected" 0.0;
30051             target:  "bg";
30052             target:  "fg1";
30053             target:  "fg2";
30054             target:  "elm.text";
30055          }
30056          program { name:    "go_passive";
30057             signal:  "elm,state,unselected";
30058             source:  "elm";
30059             action:  STATE_SET "default" 0.0;
30060             target:  "bg";
30061             target:  "fg1";
30062             target:  "fg2";
30063             target:  "elm.text";
30064             transition: LINEAR 0.1;
30065          }
30066          program { name:    "go_disabled";
30067             signal:  "elm,state,disabled";
30068             source:  "elm";
30069             action:  STATE_SET "disabled" 0.0;
30070             target:  "disclip";
30071          }
30072          program { name:    "go_enabled";
30073             signal:  "elm,state,enabled";
30074             source:  "elm";
30075             action:  STATE_SET "default" 0.0;
30076             target:  "disclip";
30077          }
30078       }
30079    }
30080
30081    group { name: "elm/gengrid/item/album-preview/default";
30082       data.item: "labels" "elm.text";
30083       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30084       data.item: "states" "have_files";
30085       images {
30086          image: "bt_sm_base1.png" COMP;
30087          image: "bt_sm_shine.png" COMP;
30088          image: "bt_sm_hilight.png" COMP;
30089          image: "icon_folder.png" COMP;
30090       }
30091       parts {
30092          part { name: "event";
30093             type: RECT;
30094             repeat_events: 1;
30095             description { state: "default" 0.0;
30096                color: 0 0 0 0;
30097             }
30098          }
30099          part { name: "bg";
30100             clip_to: "disclip";
30101             mouse_events: 0;
30102             description { state: "default" 0.0;
30103                visible: 0;
30104                color: 255 255 255 0;
30105                rel1.offset: -3 -3;
30106                rel2.offset: 2 2;
30107                image {
30108                   normal: "bt_sm_base1.png";
30109                   border: 6 6 6 6;
30110                   middle: SOLID;
30111                }
30112             }
30113             description { state: "selected" 0.0;
30114                inherit: "default" 0.0;
30115                visible: 1;
30116                color: 255 255 255 255;
30117             }
30118          }
30119          part { name: "image";
30120              type: IMAGE;
30121              mouse_events: 0;
30122              description { state: "default" 0.0;
30123                  aspect_preference: BOTH;
30124                  aspect: 1.0 1.0;
30125                  image.normal: "icon_folder.png";
30126                  rel2 {
30127                      to_y: "elm.text";
30128                      relative: 1.0 0.0;
30129                      offset: -1 -2;
30130                  }
30131              }
30132          }
30133          part { name: "have-files-clipper";
30134              type: RECT;
30135              description { state: "default" 0.0;
30136                  color: 255 255 255 0;
30137                  visible: 0;
30138              }
30139              description { state: "visible" 0.0;
30140                  inherit: "default" 0.0;
30141                  color: 255 255 255 255;
30142                  visible: 1;
30143              }
30144          }
30145          part { name: "icon_box_margin";
30146              type: RECT;
30147              mouse_events: 0;
30148              clip_to: "have-files-clipper";
30149              description { state: "default" 0.0;
30150                  color: 0 0 0 255;
30151                  rel1 {
30152                      to: "icon_box";
30153                      offset: -1 -1;
30154                  }
30155                  rel2 {
30156                      to: "icon_box";
30157                      offset: 0 0;
30158                  }
30159              }
30160          }
30161          part { name: "icon_box";
30162              type: RECT;
30163              mouse_events: 0;
30164              clip_to: "have-files-clipper";
30165              description { state: "default" 0.0;
30166                  color: 255 255 255 255;
30167                  align: 1.0 1.0;
30168                  min: 32 32;
30169                  rel1 {
30170                      relative: 0.25 0.25;
30171                      offset: 0 0;
30172                  }
30173                  rel2 {
30174                      relative: 1.0 0.0;
30175                      offset: -11 -4;
30176                      to_y: "elm.text";
30177                  }
30178              }
30179          }
30180          part { name: "elm.swallow.icon.1";
30181              type: SWALLOW;
30182              mouse_events: 0;
30183              clip_to: "have-files-clipper";
30184              description { state: "default" 0.0;
30185                rel1 {
30186                   relative: 0.0  0.0;
30187                   to: "icon_box";
30188                }
30189                rel2 {
30190                   relative: 0.5  0.5;
30191                   offset: -1 -1;
30192                   to: "icon_box";
30193                }
30194             }
30195          }
30196          part { name: "elm.swallow.icon.2";
30197              type: SWALLOW;
30198              mouse_events: 0;
30199              clip_to: "have-files-clipper";
30200              description { state: "default" 0.0;
30201                rel1 {
30202                   relative: 0.5  0.0;
30203                   to: "icon_box";
30204                }
30205                rel2 {
30206                   relative: 1.0  0.5;
30207                   offset: -1 -1;
30208                   to: "icon_box";
30209                }
30210             }
30211          }
30212          part { name: "elm.swallow.icon.3";
30213              type: SWALLOW;
30214              mouse_events: 0;
30215              clip_to: "have-files-clipper";
30216              description { state: "default" 0.0;
30217                rel1 {
30218                   relative: 0.0  0.5;
30219                   to: "icon_box";
30220                }
30221                rel2 {
30222                   relative: 0.5  1.0;
30223                   offset: -1 -1;
30224                   to: "icon_box";
30225                }
30226             }
30227          }
30228          part { name: "elm.swallow.icon.4";
30229              type: SWALLOW;
30230              mouse_events: 0;
30231              clip_to: "have-files-clipper";
30232              description { state: "default" 0.0;
30233                rel1 {
30234                   relative: 0.5  0.5;
30235                   to: "icon_box";
30236                }
30237                rel2 {
30238                   relative: 1.0  1.0;
30239                   offset: -1 -1;
30240                   to: "icon_box";
30241                }
30242             }
30243          }
30244          part { name: "elm.text";
30245             clip_to: "disclip";
30246             type: TEXT;
30247             effect: SOFT_SHADOW;
30248             mouse_events: 0;
30249             scale: 1;
30250             description { state: "default" 0.0;
30251                rel1 {
30252                   relative: 0.0  1.0;
30253                   offset: 20 -30;
30254                }
30255                rel2 {
30256                   relative: 1.0  1.0;
30257                   offset: -21 -15;
30258                }
30259                color: 0 0 0 255;
30260                color3: 0 0 0 0;
30261                text {
30262                   font: "Sans";
30263                   size: 10;
30264                   min: 0 1;
30265                   align: 0.5 0.0;
30266                   text_class: "grid_item";
30267                }
30268             }
30269             description { state: "selected" 0.0;
30270                 inherit: "default" 0.0;
30271                 color: 255 255 255 255;
30272             }
30273          }
30274          part { name: "fg1";
30275             clip_to: "disclip";
30276             mouse_events: 0;
30277             description { state: "default" 0.0;
30278                visible: 0;
30279                color: 255 255 255 0;
30280                rel1.offset: -3 -3;
30281                rel2 {
30282                    relative: 1.0 0.5;
30283                    offset: 2 -1;
30284                }
30285                image {
30286                   normal: "bt_sm_hilight.png";
30287                   border: 6 6 6 0;
30288                }
30289             }
30290             description { state: "selected" 0.0;
30291                inherit: "default" 0.0;
30292                visible: 1;
30293                color: 255 255 255 255;
30294             }
30295          }
30296          part { name: "fg2";
30297             clip_to: "disclip";
30298             mouse_events: 0;
30299             description { state: "default" 0.0;
30300                visible: 0;
30301                color: 255 255 255 0;
30302                rel1.offset: -3 -3;
30303                rel2.offset: 2 2;
30304                image {
30305                   normal: "bt_sm_shine.png";
30306                   border: 6 6 6 0;
30307                }
30308             }
30309             description { state: "selected" 0.0;
30310                inherit: "default" 0.0;
30311                visible: 1;
30312                color: 255 255 255 255;
30313             }
30314          }
30315          part { name: "disclip";
30316             type: RECT;
30317             description { state: "default" 0.0;
30318                rel1.to: "bg";
30319                rel2.to: "bg";
30320             }
30321             description { state: "disabled" 0.0;
30322                inherit: "default" 0.0;
30323                color: 255 255 255 64;
30324             }
30325          }
30326       }
30327       programs {
30328          program { name:    "go_active";
30329             signal:  "elm,state,selected";
30330             source:  "elm";
30331             action:  STATE_SET "selected" 0.0;
30332             target:  "bg";
30333             target:  "fg1";
30334             target:  "fg2";
30335             target:  "elm.text";
30336          }
30337          program { name:    "go_passive";
30338             signal:  "elm,state,unselected";
30339             source:  "elm";
30340             action:  STATE_SET "default" 0.0;
30341             target:  "bg";
30342             target:  "fg1";
30343             target:  "fg2";
30344             target:  "elm.text";
30345             transition: LINEAR 0.1;
30346          }
30347          program { name:    "go_disabled";
30348             signal:  "elm,state,disabled";
30349             source:  "elm";
30350             action:  STATE_SET "disabled" 0.0;
30351             target:  "disclip";
30352          }
30353          program { name:    "go_enabled";
30354             signal:  "elm,state,enabled";
30355             source:  "elm";
30356             action:  STATE_SET "default" 0.0;
30357             target:  "disclip";
30358          }
30359          program {
30360              signal: "elm,state,have_files,active";
30361              source: "elm";
30362              action: STATE_SET "visible" 0.0;
30363              target: "have-files-clipper";
30364          }
30365       }
30366    }
30367
30368    group { name: "elm/gengrid/item/thumb/default";
30369        data {
30370            item: "icons" "elm.swallow.icon";
30371            item: "labels" "elm.text";
30372        }
30373        images {
30374            image: "bt_sm_base1.png" COMP;
30375            image: "bt_sm_shine.png" COMP;
30376            image: "bt_sm_hilight.png" COMP;
30377            image: "thumb_shadow.png" COMP;
30378        }
30379        parts {
30380            part { name: "event";
30381                type: RECT;
30382                repeat_events: 1;
30383                description { state: "default" 0.0;
30384                    color: 0 0 0 0;
30385                }
30386            }
30387            part { name: "bg";
30388                mouse_events: 0;
30389                description { state: "default" 0.0;
30390                    visible: 0;
30391                    color: 255 255 255 0;
30392                    rel1.offset: -3 -3;
30393                    rel2.offset: 2 2;
30394                    image {
30395                        normal: "bt_sm_base1.png";
30396                        border: 6 6 6 6;
30397                        middle: SOLID;
30398                    }
30399                }
30400                description { state: "selected" 0.0;
30401                    inherit: "default" 0.0;
30402                    visible: 1;
30403                    color: 255 255 255 255;
30404                }
30405            }
30406            part { name: "border-shadow";
30407                type: IMAGE;
30408                mouse_events: 0;
30409                description { state: "default" 0.0;
30410                    rel1 {
30411                        to: "elm.swallow.icon";
30412                        offset: -18 -18;
30413                    }
30414                    rel2 {
30415                        to_x: "elm.swallow.icon";
30416                        to_y: "elm.text";
30417                        offset: 17 17;
30418                    }
30419                    image {
30420                        normal: "thumb_shadow.png";
30421                        border: 17 17 17 17;
30422                        middle: NONE;
30423                    }
30424                }
30425            }
30426            part { name: "border";
30427                type: RECT;
30428                mouse_events: 0;
30429                description { state: "default" 0.0;
30430                    rel1 {
30431                        to: "border-shadow";
30432                        offset: 16 16;
30433                    }
30434                    rel2 {
30435                        to: "border-shadow";
30436                        offset: -15 -15;
30437                    }
30438                }
30439            }
30440            part { name: "elm.swallow.icon";
30441                type: SWALLOW;
30442                mouse_events: 0;
30443                description { state: "default" 0.0;
30444                    aspect_preference: BOTH;
30445                    aspect: 1.0 1.0;
30446                    rel1.offset: 0 8;
30447                    rel2 {
30448                        to_y: "elm.text";
30449                        relative: 1.0 0.0;
30450                        offset: -1 -2;
30451                    }
30452                }
30453            }
30454            part { name: "elm.text";
30455                type: TEXT;
30456                effect: SOFT_SHADOW;
30457                mouse_events: 0;
30458                scale: 1;
30459                description { state: "default" 0.0;
30460                    color: 0 0 0 255;
30461                    color3: 0 0 0 0;
30462                    align: 0.5 1.0;
30463                    rel1 {
30464                        relative: 0.0 1.0;
30465                        offset: 20 -30;
30466                    }
30467                    rel2 {
30468                        relative: 1.0 1.0;
30469                        offset: -21 -15;
30470                    }
30471                    text {
30472                        font: "Sans";
30473                        size: 10;
30474                        min: 0 1;
30475                        align: 0.5 0.0;
30476                        text_class: "grid_item";
30477                    }
30478                }
30479            }
30480            part { name: "fg1";
30481                mouse_events: 0;
30482                description { state: "default" 0.0;
30483                    visible: 0;
30484                    color: 255 255 255 0;
30485                    rel1.offset: -3 -3;
30486                    rel2 {
30487                        relative: 1.0 0.5;
30488                        offset: 2 -1;
30489                    }
30490                    image {
30491                        normal: "bt_sm_hilight.png";
30492                        border: 6 6 6 0;
30493                    }
30494                }
30495                description { state: "selected" 0.0;
30496                    inherit: "default" 0.0;
30497                    visible: 1;
30498                    color: 255 255 255 255;
30499                }
30500            }
30501            part { name: "fg2";
30502                mouse_events: 0;
30503                description { state: "default" 0.0;
30504                    visible: 0;
30505                    color: 255 255 255 0;
30506                    rel1.offset: -3 -3;
30507                    rel2.offset: 2 2;
30508                    image {
30509                        image: "bt_sm_shine.png";
30510                        border: 6 6 6 0;
30511                    }
30512                }
30513                description { state: "selected" 0.0;
30514                    inherit: "default" 0.0;
30515                    visible: 1;
30516                    color: 255 255 255 255;
30517                }
30518            }
30519        }
30520        programs {
30521            program {
30522                signal: "elm,state,selected";
30523                source: "elm";
30524                action: STATE_SET "selected" 0.0;
30525                target: "bg";
30526                target: "fg1";
30527                target: "fg2";
30528            }
30529            program {
30530                signal: "elm,state,unselected";
30531                source: "elm";
30532                action:  STATE_SET "default" 0.0;
30533                target: "bg";
30534                target: "fg1";
30535                target: "fg2";
30536                transition: LINEAR 0.1;
30537            }
30538        }
30539    }
30540
30541 ///////////////////////////////////////////////////////////////////////////////
30542    group { name: "elm/photocam/base/default";
30543        script {
30544            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30545            public timer0(val) {
30546                new v;
30547                v = get_int(sbvis_v);
30548                if (v) {
30549                    v = get_int(sbalways_v);
30550                    if (!v) {
30551                        emit("do-hide-vbar", "");
30552                        set_int(sbvis_v, 0);
30553                    }
30554                }
30555                v = get_int(sbvis_h);
30556                if (v) {
30557                    v = get_int(sbalways_h);
30558                    if (!v) {
30559                        emit("do-hide-hbar", "");
30560                        set_int(sbvis_h, 0);
30561                    }
30562                }
30563                set_int(sbvis_timer, 0);
30564                return 0;
30565            }
30566        }
30567        images {
30568            image: "shelf_inset.png" COMP;
30569            image: "bt_sm_base2.png" COMP;
30570            image: "bt_sm_shine.png" COMP;
30571            image: "bt_sm_hilight.png" COMP;
30572            image: "busy-1.png" COMP;
30573            image: "busy-2.png" COMP;
30574            image: "busy-3.png" COMP;
30575            image: "busy-4.png" COMP;
30576            image: "busy-5.png" COMP;
30577            image: "busy-6.png" COMP;
30578            image: "busy-7.png" COMP;
30579            image: "busy-8.png" COMP;
30580            image: "busy-9.png" COMP;
30581        }
30582        parts {
30583            part { name: "bg";
30584                type: RECT;
30585                description { state: "default" 0.0;
30586                    rel1.offset: 1 1;
30587                    rel2.offset: -2 -2;
30588                    color: 255 255 255 0;
30589                }
30590            }
30591            part { name: "clipper";
30592                type: RECT;
30593                mouse_events: 0;
30594                description { state: "default" 0.0;
30595                    rel1.to: "bg";
30596                    rel2.to: "bg";
30597                }
30598            }
30599            part { name: "elm.swallow.content";
30600                clip_to: "clipper";
30601                type: SWALLOW;
30602                description { state: "default" 0.0;
30603                    rel1.offset: 1 1;
30604                    rel2.offset: -2 -2;
30605                }
30606            }
30607            part { name: "busy_clip";
30608                type: RECT;
30609                mouse_events: 0;
30610                description { state: "default" 0.0;
30611                    visible: 0;
30612                    color: 255 255 255 0;
30613                }
30614                description { state: "active" 0.0;
30615                    visible: 1;
30616                    color: 255 255 255 255;
30617                }
30618            }
30619            part { name: "busy";
30620                clip_to: "busy_clip";
30621                mouse_events: 0;
30622                description { state: "default" 0.0;
30623                    fixed: 1 1;
30624                    min: 32 32;
30625                    aspect: 1.0 1.0;
30626                    align: 1.0 1.0;
30627                    aspect_preference: BOTH;
30628                    rel1 {
30629                        relative: 0.9 0.9;
30630                        offset:   -9 -9;
30631                    }
30632                    rel2 {
30633                        relative: 0.9 0.9;
30634                        offset:   -9 -9;
30635                    }
30636                    image {
30637                        normal: "busy-9.png";
30638                        tween:  "busy-1.png";
30639                        tween:  "busy-2.png";
30640                        tween:  "busy-3.png";
30641                        tween:  "busy-4.png";
30642                        tween:  "busy-5.png";
30643                        tween:  "busy-6.png";
30644                        tween:  "busy-7.png";
30645                        tween:  "busy-8.png";
30646                    }
30647                }
30648            }
30649            part { name: "conf_over";
30650                mouse_events:  0;
30651                description { state: "default" 0.0;
30652                    rel1.offset: 0 0;
30653                    rel2.offset: -1 -1;
30654                    image {
30655                        normal: "shelf_inset.png";
30656                        border: 7 7 7 7;
30657                        middle: 0;
30658                    }
30659                    fill.smooth : 0;
30660                }
30661            }
30662            part { name: "sb_vbar_clip_master";
30663                type: RECT;
30664                mouse_events: 0;
30665                description { state: "default" 0.0;
30666                }
30667                description { state: "hidden" 0.0;
30668                    visible: 0;
30669                    color: 255 255 255 0;
30670                }
30671            }
30672            part { name: "sb_vbar_clip";
30673                clip_to: "sb_vbar_clip_master";
30674                type: RECT;
30675                mouse_events: 0;
30676                description { state: "default" 0.0;
30677                }
30678                description { state: "hidden" 0.0;
30679                    visible: 0;
30680                    color: 255 255 255 0;
30681                }
30682            }
30683            part { name: "sb_vbar";
30684                type: RECT;
30685                mouse_events: 0;
30686                description { state: "default" 0.0;
30687                    fixed: 1 1;
30688                    visible: 0;
30689                    min: 10 17;
30690                    align: 1.0 0.0;
30691                    rel1 {
30692                        relative: 1.0 0.0;
30693                        offset:   -2 0;
30694                    }
30695                    rel2 {
30696                        relative: 1.0 0.0;
30697                        offset:   -2 -1;
30698                        to_y:     "sb_hbar";
30699                    }
30700                }
30701            }
30702            part { name: "elm.dragable.vbar";
30703                clip_to: "sb_vbar_clip";
30704                mouse_events: 0;
30705                dragable {
30706                    x: 0 0 0;
30707                    y: 1 1 0;
30708                    confine: "sb_vbar";
30709                }
30710                description { state: "default" 0.0;
30711                    fixed: 1 1;
30712                    min: 10 17;
30713                    max: 10 99999;
30714                    rel1 {
30715                        relative: 0.5  0.5;
30716                        offset:   0    0;
30717                        to: "sb_vbar";
30718                    }
30719                    rel2 {
30720                        relative: 0.5  0.5;
30721                        offset:   0    0;
30722                        to: "sb_vbar";
30723                    }
30724                    image {
30725                        normal: "bt_sm_base2.png";
30726                        border: 6 6 6 6;
30727                        middle: SOLID;
30728                    }
30729                }
30730            }
30731            part { name: "sb_vbar_over1";
30732                clip_to: "sb_vbar_clip";
30733                mouse_events: 0;
30734                description { state: "default" 0.0;
30735                    rel1.to: "elm.dragable.vbar";
30736                    rel2.relative: 1.0 0.5;
30737                    rel2.to: "elm.dragable.vbar";
30738                    image {
30739                        normal: "bt_sm_hilight.png";
30740                        border: 6 6 6 0;
30741                    }
30742                }
30743            }
30744            part { name: "sb_vbar_over2";
30745                clip_to: "sb_vbar_clip";
30746                mouse_events: 0;
30747                description { state: "default" 0.0;
30748                    rel1.to: "elm.dragable.vbar";
30749                    rel2.to: "elm.dragable.vbar";
30750                    image {
30751                        normal: "bt_sm_shine.png";
30752                        border: 6 6 6 0;
30753                    }
30754                }
30755            }
30756
30757            part { name: "sb_hbar_clip_master";
30758                type: RECT;
30759                mouse_events: 0;
30760                description { state: "default" 0.0;
30761                }
30762                description { state: "hidden" 0.0;
30763                    visible: 0;
30764                    color: 255 255 255 0;
30765                }
30766            }
30767            part { name: "sb_hbar_clip";
30768                clip_to: "sb_hbar_clip_master";
30769                type: RECT;
30770                mouse_events: 0;
30771                description { state: "default" 0.0;
30772                }
30773                description { state: "hidden" 0.0;
30774                    visible: 0;
30775                    color: 255 255 255 0;
30776                }
30777            }
30778            part { name: "sb_hbar";
30779                type: RECT;
30780                mouse_events: 0;
30781                description { state: "default" 0.0;
30782                    fixed: 1 1;
30783                    visible: 0;
30784                    min: 17 10;
30785                    align: 0.0 1.0;
30786                    rel1 {
30787                        relative: 0.0 1.0;
30788                        offset:   0 -2;
30789                    }
30790                    rel2 {
30791                        relative: 0.0 1.0;
30792                        offset:   -1 -2;
30793                        to_x:     "sb_vbar";
30794                    }
30795                }
30796            }
30797            part { name: "elm.dragable.hbar";
30798                clip_to: "sb_hbar_clip";
30799                mouse_events: 0;
30800                dragable {
30801                    x: 1 1 0;
30802                    y: 0 0 0;
30803                    confine: "sb_hbar";
30804                }
30805                description { state: "default" 0.0;
30806                    fixed: 1 1;
30807                    min: 17 10;
30808                    max: 99999 10;
30809                    rel1 {
30810                        relative: 0.5  0.5;
30811                        offset:   0    0;
30812                        to: "sb_hbar";
30813                    }
30814                    rel2 {
30815                        relative: 0.5  0.5;
30816                        offset:   0    0;
30817                        to: "sb_hbar";
30818                    }
30819                    image {
30820                        normal: "bt_sm_base2.png";
30821                        border: 4 4 4 4;
30822                        middle: SOLID;
30823                    }
30824                }
30825            }
30826            part { name: "sb_hbar_over1";
30827                clip_to: "sb_hbar_clip";
30828                mouse_events: 0;
30829                description { state: "default" 0.0;
30830                    rel1.to: "elm.dragable.hbar";
30831                    rel2.relative: 1.0 0.5;
30832                    rel2.to: "elm.dragable.hbar";
30833                    image {
30834                        normal: "bt_sm_hilight.png";
30835                        border: 4 4 4 0;
30836                    }
30837                }
30838            }
30839            part { name: "sb_hbar_over2";
30840                clip_to: "sb_hbar_clip";
30841                mouse_events: 0;
30842                description { state: "default" 0.0;
30843                    rel1.to: "elm.dragable.hbar";
30844                    rel2.to: "elm.dragable.hbar";
30845                    image {
30846                        normal: "bt_sm_shine.png";
30847                        border: 4 4 4 0;
30848                    }
30849                }
30850            }
30851        }
30852        programs {
30853            program { name: "load";
30854                signal: "load";
30855                source: "";
30856                script {
30857                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30858                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30859                    set_int(sbvis_h, 0);
30860                    set_int(sbvis_v, 0);
30861                    set_int(sbalways_v, 0);
30862                    set_int(sbalways_h, 0);
30863                    set_int(sbvis_timer, 0);
30864                }
30865            }
30866
30867            program { name: "vbar_show";
30868                signal: "elm,action,show,vbar";
30869                source: "elm";
30870                action:  STATE_SET "default" 0.0;
30871                target: "sb_vbar_clip_master";
30872            }
30873            program { name: "vbar_hide";
30874                signal: "elm,action,hide,vbar";
30875                source: "elm";
30876                action:  STATE_SET "hidden" 0.0;
30877                target: "sb_vbar_clip_master";
30878            }
30879            program { name: "vbar_show_always";
30880                signal: "elm,action,show_always,vbar";
30881                source: "elm";
30882                script {
30883                    new v;
30884                    v = get_int(sbvis_v);
30885                    v |= get_int(sbalways_v);
30886                    if (!v) {
30887                        set_int(sbalways_v, 1);
30888                        emit("do-show-vbar", "");
30889                        set_int(sbvis_v, 1);
30890                    }
30891                }
30892            }
30893            program { name: "vbar_show_notalways";
30894                signal: "elm,action,show_notalways,vbar";
30895                source: "elm";
30896                script {
30897                    new v;
30898                    v = get_int(sbalways_v);
30899                    if (v) {
30900                        set_int(sbalways_v, 0);
30901                        v = get_int(sbvis_v);
30902                        if (!v) {
30903                            emit("do-hide-vbar", "");
30904                            set_int(sbvis_v, 0);
30905                        }
30906                    }
30907                }
30908            }
30909            program { name: "sb_vbar_show";
30910                signal: "do-show-vbar";
30911                source: "";
30912                action:  STATE_SET "default" 0.0;
30913                transition: LINEAR 0.5;
30914                target: "sb_vbar_clip";
30915            }
30916            program { name: "sb_vbar_hide";
30917                signal: "do-hide-vbar";
30918                source: "";
30919                action:  STATE_SET "hidden" 0.0;
30920                transition: LINEAR 0.5;
30921                target: "sb_vbar_clip";
30922            }
30923
30924            program { name: "hbar_show";
30925                signal: "elm,action,show,hbar";
30926                source: "elm";
30927                action:  STATE_SET "default" 0.0;
30928                target: "sb_hbar_clip_master";
30929            }
30930            program { name: "hbar_hide";
30931                signal: "elm,action,hide,hbar";
30932                source: "elm";
30933                action:  STATE_SET "hidden" 0.0;
30934                target: "sb_hbar_clip_master";
30935            }
30936            program { name: "hbar_show_always";
30937                signal: "elm,action,show_always,hbar";
30938                source: "elm";
30939                script {
30940                    new v;
30941                    v = get_int(sbvis_h);
30942                    v |= get_int(sbalways_h);
30943                    if (!v) {
30944                        set_int(sbalways_h, 1);
30945                        emit("do-show-hbar", "");
30946                        set_int(sbvis_h, 1);
30947                    }
30948                }
30949            }
30950            program { name: "hbar_show_notalways";
30951                signal: "elm,action,show_notalways,hbar";
30952                source: "elm";
30953                script {
30954                    new v;
30955                    v = get_int(sbalways_h);
30956                    if (v) {
30957                        set_int(sbalways_h, 0);
30958                        v = get_int(sbvis_h);
30959                        if (!v) {
30960                            emit("do-hide-hbar", "");
30961                            set_int(sbvis_h, 0);
30962                        }
30963                    }
30964                }
30965            }
30966            program { name: "sb_hbar_show";
30967                signal: "do-show-hbar";
30968                source: "";
30969                action:  STATE_SET "default" 0.0;
30970                transition: LINEAR 0.5;
30971                target: "sb_hbar_clip";
30972            }
30973            program { name: "sb_hbar_hide";
30974                signal: "do-hide-hbar";
30975                source: "";
30976                action:  STATE_SET "hidden" 0.0;
30977                transition: LINEAR 0.5;
30978                target: "sb_hbar_clip";
30979            }
30980
30981            program { name: "scroll";
30982                signal: "elm,action,scroll";
30983                source: "elm";
30984                script {
30985                    new v;
30986                    v = get_int(sbvis_v);
30987                    v |= get_int(sbalways_v);
30988                    if (!v) {
30989                        emit("do-show-vbar", "");
30990                        set_int(sbvis_v, 1);
30991                    }
30992                    v = get_int(sbvis_h);
30993                    v |= get_int(sbalways_h);
30994                    if (!v) {
30995                        emit("do-show-hbar", "");
30996                        set_int(sbvis_h, 1);
30997                    }
30998                    v = get_int(sbvis_timer);
30999                    if (v > 0) cancel_timer(v);
31000                    v = timer(1.0, "timer0", 0);
31001                    set_int(sbvis_timer, v);
31002                }
31003            }
31004            program { name: "go1";
31005                signal: "elm,state,busy,start";
31006                source: "elm";
31007                action: STATE_SET "active" 0.0;
31008                transition: SINUSOIDAL 1.0;
31009                target:  "busy_clip";
31010            }
31011            program { name: "go2";
31012                signal: "elm,state,busy,start";
31013                source: "elm";
31014                action: STATE_SET "default" 0.0;
31015                transition: LINEAR 0.5;
31016                target: "busy";
31017                after:  "go2";
31018            }
31019            program { name: "stop1";
31020                signal: "elm,state,busy,stop";
31021                source: "elm";
31022                action: STATE_SET "default" 0.0;
31023                transition: SINUSOIDAL 1.0;
31024                target: "busy_clip";
31025                after: "stop2";
31026            }
31027          program { name: "stop2";
31028             action: ACTION_STOP;
31029             target: "go2";
31030          }
31031       }
31032    }
31033
31034    ///////////////////////////////////////////////////////////////////////////////
31035    group { name: "elm/map/base/default";
31036        script {
31037            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31038            public timer0(val) {
31039                new v;
31040                v = get_int(sbvis_v);
31041                if (v) {
31042                    v = get_int(sbalways_v);
31043                    if (!v) {
31044                        emit("do-hide-vbar", "");
31045                        set_int(sbvis_v, 0);
31046                    }
31047                }
31048                v = get_int(sbvis_h);
31049                if (v) {
31050                    v = get_int(sbalways_h);
31051                    if (!v) {
31052                        emit("do-hide-hbar", "");
31053                        set_int(sbvis_h, 0);
31054                    }
31055                }
31056                set_int(sbvis_timer, 0);
31057                return 0;
31058            }
31059        }
31060        images {
31061            image: "shelf_inset.png" COMP;
31062            image: "bt_sm_base2.png" COMP;
31063            image: "bt_sm_shine.png" COMP;
31064            image: "bt_sm_hilight.png" COMP;
31065            image: "busy-1.png" COMP;
31066            image: "busy-2.png" COMP;
31067            image: "busy-3.png" COMP;
31068            image: "busy-4.png" COMP;
31069            image: "busy-5.png" COMP;
31070            image: "busy-6.png" COMP;
31071            image: "busy-7.png" COMP;
31072            image: "busy-8.png" COMP;
31073            image: "busy-9.png" COMP;
31074        }
31075        parts {
31076            part { name: "bg";
31077                type: RECT;
31078                description { state: "default" 0.0;
31079                    rel1.offset: 1 1;
31080                    rel2.offset: -2 -2;
31081                    color: 255 255 255 0;
31082                }
31083            }
31084            part { name: "clipper";
31085                type: RECT;
31086                mouse_events: 0;
31087                description { state: "default" 0.0;
31088                    rel1.to: "bg";
31089                    rel2.to: "bg";
31090                }
31091            }
31092            part { name: "elm.swallow.content";
31093                clip_to: "clipper";
31094                type: SWALLOW;
31095                description { state: "default" 0.0;
31096                    rel1.offset: 1 1;
31097                    rel2.offset: -2 -2;
31098                }
31099            }
31100            part { name: "busy_clip";
31101                type: RECT;
31102                mouse_events: 0;
31103                description { state: "default" 0.0;
31104                    visible: 0;
31105                    color: 255 255 255 0;
31106                }
31107                description { state: "active" 0.0;
31108                    visible: 1;
31109                    color: 255 255 255 255;
31110                }
31111            }
31112            part { name: "busy";
31113                clip_to: "busy_clip";
31114                mouse_events: 0;
31115                description { state: "default" 0.0;
31116                    fixed: 1 1;
31117                    min: 32 32;
31118                    aspect: 1.0 1.0;
31119                    align: 1.0 1.0;
31120                    aspect_preference: BOTH;
31121                    rel1 {
31122                        relative: 0.9 0.9;
31123                        offset:   -9 -9;
31124                    }
31125                    rel2 {
31126                        relative: 0.9 0.9;
31127                        offset:   -9 -9;
31128                    }
31129                    image {
31130                        normal: "busy-9.png";
31131                        tween:  "busy-1.png";
31132                        tween:  "busy-2.png";
31133                        tween:  "busy-3.png";
31134                        tween:  "busy-4.png";
31135                        tween:  "busy-5.png";
31136                        tween:  "busy-6.png";
31137                        tween:  "busy-7.png";
31138                        tween:  "busy-8.png";
31139                    }
31140                }
31141            }
31142            part { name: "conf_over";
31143                mouse_events:  0;
31144                description { state: "default" 0.0;
31145                    rel1.offset: 0 0;
31146                    rel2.offset: -1 -1;
31147                    image {
31148                        normal: "shelf_inset.png";
31149                        border: 7 7 7 7;
31150                        middle: 0;
31151                    }
31152                    fill.smooth : 0;
31153                }
31154            }
31155            part { name: "sb_vbar_clip_master";
31156                type: RECT;
31157                mouse_events: 0;
31158                description { state: "default" 0.0;
31159                }
31160                description { state: "hidden" 0.0;
31161                    visible: 0;
31162                    color: 255 255 255 0;
31163                }
31164            }
31165            part { name: "sb_vbar_clip";
31166                clip_to: "sb_vbar_clip_master";
31167                type: RECT;
31168                mouse_events: 0;
31169                description { state: "default" 0.0;
31170                }
31171                description { state: "hidden" 0.0;
31172                    visible: 0;
31173                    color: 255 255 255 0;
31174                }
31175            }
31176            part { name: "sb_vbar";
31177                type: RECT;
31178                mouse_events: 0;
31179                description { state: "default" 0.0;
31180                    fixed: 1 1;
31181                    visible: 0;
31182                    min: 10 17;
31183                    align: 1.0 0.0;
31184                    rel1 {
31185                        relative: 1.0 0.0;
31186                        offset:   -2 0;
31187                    }
31188                    rel2 {
31189                        relative: 1.0 0.0;
31190                        offset:   -2 -1;
31191                        to_y:     "sb_hbar";
31192                    }
31193                }
31194            }
31195            part { name: "elm.dragable.vbar";
31196                clip_to: "sb_vbar_clip";
31197                mouse_events: 0;
31198                dragable {
31199                    x: 0 0 0;
31200                    y: 1 1 0;
31201                    confine: "sb_vbar";
31202                }
31203                description { state: "default" 0.0;
31204                    fixed: 1 1;
31205                    min: 10 17;
31206                    max: 10 99999;
31207                    rel1 {
31208                        relative: 0.5  0.5;
31209                        offset:   0    0;
31210                        to: "sb_vbar";
31211                    }
31212                    rel2 {
31213                        relative: 0.5  0.5;
31214                        offset:   0    0;
31215                        to: "sb_vbar";
31216                    }
31217                    image {
31218                        normal: "bt_sm_base2.png";
31219                        border: 6 6 6 6;
31220                        middle: SOLID;
31221                    }
31222                }
31223            }
31224            part { name: "sb_vbar_over1";
31225                clip_to: "sb_vbar_clip";
31226                mouse_events: 0;
31227                description { state: "default" 0.0;
31228                    rel1.to: "elm.dragable.vbar";
31229                    rel2.relative: 1.0 0.5;
31230                    rel2.to: "elm.dragable.vbar";
31231                    image {
31232                        normal: "bt_sm_hilight.png";
31233                        border: 6 6 6 0;
31234                    }
31235                }
31236            }
31237            part { name: "sb_vbar_over2";
31238                clip_to: "sb_vbar_clip";
31239                mouse_events: 0;
31240                description { state: "default" 0.0;
31241                    rel1.to: "elm.dragable.vbar";
31242                    rel2.to: "elm.dragable.vbar";
31243                    image {
31244                        normal: "bt_sm_shine.png";
31245                        border: 6 6 6 0;
31246                    }
31247                }
31248            }
31249
31250            part { name: "sb_hbar_clip_master";
31251                type: RECT;
31252                mouse_events: 0;
31253                description { state: "default" 0.0;
31254                }
31255                description { state: "hidden" 0.0;
31256                    visible: 0;
31257                    color: 255 255 255 0;
31258                }
31259            }
31260            part { name: "sb_hbar_clip";
31261                clip_to: "sb_hbar_clip_master";
31262                type: RECT;
31263                mouse_events: 0;
31264                description { state: "default" 0.0;
31265                }
31266                description { state: "hidden" 0.0;
31267                    visible: 0;
31268                    color: 255 255 255 0;
31269                }
31270            }
31271            part { name: "sb_hbar";
31272                type: RECT;
31273                mouse_events: 0;
31274                description { state: "default" 0.0;
31275                    fixed: 1 1;
31276                    visible: 0;
31277                    min: 17 10;
31278                    align: 0.0 1.0;
31279                    rel1 {
31280                        relative: 0.0 1.0;
31281                        offset:   0 -2;
31282                    }
31283                    rel2 {
31284                        relative: 0.0 1.0;
31285                        offset:   -1 -2;
31286                        to_x:     "sb_vbar";
31287                    }
31288                }
31289            }
31290            part { name: "elm.dragable.hbar";
31291                clip_to: "sb_hbar_clip";
31292                mouse_events: 0;
31293                dragable {
31294                    x: 1 1 0;
31295                    y: 0 0 0;
31296                    confine: "sb_hbar";
31297                }
31298                description { state: "default" 0.0;
31299                    fixed: 1 1;
31300                    min: 17 10;
31301                    max: 99999 10;
31302                    rel1 {
31303                        relative: 0.5  0.5;
31304                        offset:   0    0;
31305                        to: "sb_hbar";
31306                    }
31307                    rel2 {
31308                        relative: 0.5  0.5;
31309                        offset:   0    0;
31310                        to: "sb_hbar";
31311                    }
31312                    image {
31313                        normal: "bt_sm_base2.png";
31314                        border: 4 4 4 4;
31315                        middle: SOLID;
31316                    }
31317                }
31318            }
31319            part { name: "sb_hbar_over1";
31320                clip_to: "sb_hbar_clip";
31321                mouse_events: 0;
31322                description { state: "default" 0.0;
31323                    rel1.to: "elm.dragable.hbar";
31324                    rel2.relative: 1.0 0.5;
31325                    rel2.to: "elm.dragable.hbar";
31326                    image {
31327                        normal: "bt_sm_hilight.png";
31328                        border: 4 4 4 0;
31329                    }
31330                }
31331            }
31332            part { name: "sb_hbar_over2";
31333                clip_to: "sb_hbar_clip";
31334                mouse_events: 0;
31335                description { state: "default" 0.0;
31336                    rel1.to: "elm.dragable.hbar";
31337                    rel2.to: "elm.dragable.hbar";
31338                    image {
31339                        normal: "bt_sm_shine.png";
31340                        border: 4 4 4 0;
31341                    }
31342                }
31343            }
31344        }
31345        programs {
31346            program { name: "load";
31347                signal: "load";
31348                source: "";
31349                script {
31350                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31351                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31352                    set_int(sbvis_h, 0);
31353                    set_int(sbvis_v, 0);
31354                    set_int(sbalways_v, 0);
31355                    set_int(sbalways_h, 0);
31356                    set_int(sbvis_timer, 0);
31357                }
31358            }
31359
31360            program { name: "vbar_show";
31361                signal: "elm,action,show,vbar";
31362                source: "elm";
31363                action:  STATE_SET "default" 0.0;
31364                target: "sb_vbar_clip_master";
31365            }
31366            program { name: "vbar_hide";
31367                signal: "elm,action,hide,vbar";
31368                source: "elm";
31369                action:  STATE_SET "hidden" 0.0;
31370                target: "sb_vbar_clip_master";
31371            }
31372            program { name: "vbar_show_always";
31373                signal: "elm,action,show_always,vbar";
31374                source: "elm";
31375                script {
31376                    new v;
31377                    v = get_int(sbvis_v);
31378                    v |= get_int(sbalways_v);
31379                    if (!v) {
31380                        set_int(sbalways_v, 1);
31381                        emit("do-show-vbar", "");
31382                        set_int(sbvis_v, 1);
31383                    }
31384                }
31385            }
31386            program { name: "vbar_show_notalways";
31387                signal: "elm,action,show_notalways,vbar";
31388                source: "elm";
31389                script {
31390                    new v;
31391                    v = get_int(sbalways_v);
31392                    if (v) {
31393                        set_int(sbalways_v, 0);
31394                        v = get_int(sbvis_v);
31395                        if (!v) {
31396                            emit("do-hide-vbar", "");
31397                            set_int(sbvis_v, 0);
31398                        }
31399                    }
31400                }
31401            }
31402            program { name: "sb_vbar_show";
31403                signal: "do-show-vbar";
31404                source: "";
31405                action:  STATE_SET "default" 0.0;
31406                transition: LINEAR 0.5;
31407                target: "sb_vbar_clip";
31408            }
31409            program { name: "sb_vbar_hide";
31410                signal: "do-hide-vbar";
31411                source: "";
31412                action:  STATE_SET "hidden" 0.0;
31413                transition: LINEAR 0.5;
31414                target: "sb_vbar_clip";
31415            }
31416
31417            program { name: "hbar_show";
31418                signal: "elm,action,show,hbar";
31419                source: "elm";
31420                action:  STATE_SET "default" 0.0;
31421                target: "sb_hbar_clip_master";
31422            }
31423            program { name: "hbar_hide";
31424                signal: "elm,action,hide,hbar";
31425                source: "elm";
31426                action:  STATE_SET "hidden" 0.0;
31427                target: "sb_hbar_clip_master";
31428            }
31429            program { name: "hbar_show_always";
31430                signal: "elm,action,show_always,hbar";
31431                source: "elm";
31432                script {
31433                    new v;
31434                    v = get_int(sbvis_h);
31435                    v |= get_int(sbalways_h);
31436                    if (!v) {
31437                        set_int(sbalways_h, 1);
31438                        emit("do-show-hbar", "");
31439                        set_int(sbvis_h, 1);
31440                    }
31441                }
31442            }
31443            program { name: "hbar_show_notalways";
31444                signal: "elm,action,show_notalways,hbar";
31445                source: "elm";
31446                script {
31447                    new v;
31448                    v = get_int(sbalways_h);
31449                    if (v) {
31450                        set_int(sbalways_h, 0);
31451                        v = get_int(sbvis_h);
31452                        if (!v) {
31453                            emit("do-hide-hbar", "");
31454                            set_int(sbvis_h, 0);
31455                        }
31456                    }
31457                }
31458            }
31459            program { name: "sb_hbar_show";
31460                signal: "do-show-hbar";
31461                source: "";
31462                action:  STATE_SET "default" 0.0;
31463                transition: LINEAR 0.5;
31464                target: "sb_hbar_clip";
31465            }
31466            program { name: "sb_hbar_hide";
31467                signal: "do-hide-hbar";
31468                source: "";
31469                action:  STATE_SET "hidden" 0.0;
31470                transition: LINEAR 0.5;
31471                target: "sb_hbar_clip";
31472            }
31473
31474            program { name: "scroll";
31475                signal: "elm,action,scroll";
31476                source: "elm";
31477                script {
31478                    new v;
31479                    v = get_int(sbvis_v);
31480                    v |= get_int(sbalways_v);
31481                    if (!v) {
31482                        emit("do-show-vbar", "");
31483                        set_int(sbvis_v, 1);
31484                    }
31485                    v = get_int(sbvis_h);
31486                    v |= get_int(sbalways_h);
31487                    if (!v) {
31488                        emit("do-show-hbar", "");
31489                        set_int(sbvis_h, 1);
31490                    }
31491                    v = get_int(sbvis_timer);
31492                    if (v > 0) cancel_timer(v);
31493                    v = timer(1.0, "timer0", 0);
31494                    set_int(sbvis_timer, v);
31495                }
31496            }
31497            program { name: "go1";
31498                signal: "elm,state,busy,start";
31499                source: "elm";
31500                action: STATE_SET "active" 0.0;
31501                transition: SINUSOIDAL 1.0;
31502                target:  "busy_clip";
31503            }
31504            program { name: "go2";
31505                signal: "elm,state,busy,start";
31506                source: "elm";
31507                action: STATE_SET "default" 0.0;
31508                transition: LINEAR 0.5;
31509                target: "busy";
31510                after:  "go2";
31511            }
31512            program { name: "stop1";
31513                signal: "elm,state,busy,stop";
31514                source: "elm";
31515                action: STATE_SET "default" 0.0;
31516                transition: SINUSOIDAL 1.0;
31517                target: "busy_clip";
31518                after: "stop2";
31519            }
31520          program { name: "stop2";
31521             action: ACTION_STOP;
31522             target: "go2";
31523          }
31524       }
31525    }
31526    group { name: "elm/map/marker/radio/default";
31527         data {
31528             item: size_w 24;
31529             item: size_h 24;
31530             item: size_max_w 58;
31531             item: size_max_h 58;
31532         }
31533         images {
31534                 image: "map_item.png" COMP;
31535         }
31536         parts {
31537             part { name: "whole";
31538                 description { state: "default" 0.0;
31539                 }
31540             }
31541             part { name: "base";
31542                 ignore_flags: ON_HOLD;
31543                 description { state: "default" 0.0;
31544                     image.normal: "map_item.png";
31545                 }
31546             }
31547             part { name: "elm.icon";
31548                 type: SWALLOW;
31549                 clip_to: "whole";
31550                 mouse_events:  0;
31551                 description { state: "default" 0.0;
31552                     rel1.relative: 0.27 0.27;
31553                     rel2.relative: 0.73 0.73;
31554                 }
31555             }
31556             part { name: "elm.text";
31557                 type:          TEXT;
31558                 effect:        SOFT_SHADOW;
31559                 mouse_events:  0;
31560                 scale: 1;
31561                 description { state: "default" 0.0;
31562                     align:    0.5 0.5;
31563                     color: 224 224 224 255;
31564                     color3: 0 0 0 64;
31565                     rel1.relative: 0.28 0.25;
31566                     rel2.relative: 0.75 0.75;
31567                     text {
31568                         font:     "Sans,Edje-Vera";
31569                         size:     10;
31570                         min:      0 0;
31571                         align:    0.5 0.5;
31572                     }
31573                 }
31574             }
31575        }
31576        programs {
31577             program { name: "open";
31578                 signal: "mouse,clicked,1";
31579                 source: "base";
31580                 action: SIGNAL_EMIT "open" "elm";
31581             }
31582             program { name: "bringin";
31583                 signal: "mouse,down,1,double";
31584                 source: "base";
31585                 action: SIGNAL_EMIT "bringin" "elm";
31586             }
31587        }
31588    }
31589    group { name: "elm/map/marker/radio2/default";
31590         data {
31591             item: size_w 24;
31592             item: size_h 24;
31593             item: size_max_w 58;
31594             item: size_max_h 58;
31595         }
31596         images {
31597                 image: "map_item_2.png" COMP;
31598         }
31599         parts {
31600             part { name: "base";
31601                 ignore_flags: ON_HOLD;
31602                 description { state: "default" 0.0;
31603                     image.normal: "map_item_2.png";
31604                 }
31605             }
31606             part { name: "elm.text";
31607                 type:          TEXT;
31608                 effect:        SOFT_SHADOW;
31609                 mouse_events:  0;
31610                 scale: 1;
31611                 description { state: "default" 0.0;
31612                     align:    0.5 0.5;
31613                     color: 224 224 224 255;
31614                     color3: 0 0 0 64;
31615                     rel1.relative: 0.28 0.25;
31616                     rel2.relative: 0.75 0.75;
31617                     text {
31618                         font:     "Sans,Edje-Vera";
31619                         size:     10;
31620                         min:      0 0;
31621                         align:    0.5 0.5;
31622                     }
31623                 }
31624             }
31625        }
31626        programs {
31627             program { name: "open";
31628                 signal: "mouse,clicked,1";
31629                 source: "base";
31630                 action: SIGNAL_EMIT "open" "elm";
31631             }
31632             program { name: "bringin";
31633                 signal: "mouse,down,1,double";
31634                 source: "base";
31635                 action: SIGNAL_EMIT "bringin" "elm";
31636             }
31637        }
31638    }
31639    group { name: "elm/map/marker/empty/default";
31640         data {
31641             item: size_w 22;
31642             item: size_h 22;
31643             item: size_max_w 64;
31644             item: size_max_h 64;
31645         }
31646         parts {
31647             part { name: "whole";
31648                 description { state: "default" 0.0;
31649                 }
31650             }
31651             part { name: "base";
31652                 ignore_flags: ON_HOLD;
31653                 description { state: "default" 0.0;
31654                 }
31655             }
31656             part { name: "elm.icon";
31657                 type: SWALLOW;
31658                 clip_to: "whole";
31659                 mouse_events:  0;
31660                 description { state: "default" 0.0;
31661                 }
31662             }
31663             part { name: "elm.text";
31664                 type:          TEXT;
31665                 effect:        SOFT_SHADOW;
31666                 mouse_events:  0;
31667                 scale: 1;
31668                 description { state: "default" 0.0;
31669                     align:    0.5 0.5;
31670                     color: 224 224 224 255;
31671                     color3: 0 0 0 64;
31672                     rel1.relative: 0.28 0.25;
31673                     rel2.relative: 0.75 0.75;
31674                     text {
31675                         font:     "Sans,Edje-Vera";
31676                         size:     10;
31677                         min:      0 0;
31678                         align:    0.5 0.5;
31679                     }
31680                 }
31681             }
31682        }
31683        programs {
31684             program { name: "open";
31685                 signal: "mouse,clicked,1";
31686                 source: "base";
31687                 action: SIGNAL_EMIT "open" "elm";
31688             }
31689             program { name: "bringin";
31690                 signal: "mouse,down,1,double";
31691                 source: "base";
31692                 action: SIGNAL_EMIT "bringin" "elm";
31693             }
31694        }
31695    }
31696    group { name: "elm/map/marker_bubble/default";
31697     images {
31698       image: "bubble.png" COMP;
31699       image: "bubble_shine.png" COMP;
31700     }
31701     data {
31702             item: size_w 400;
31703             item: size_h 100;
31704         }
31705     parts {
31706     part { name: "clipper";
31707         mouse_events:  1;
31708         description { state: "default" 0.0;
31709           color: 255 255 255 0;
31710         }
31711         description { state: "show" 0.0;
31712             inherit: "default" 0.0;
31713             color: 255 255 255 255;
31714         }
31715       }
31716      part { name: "base0";
31717         mouse_events:  0;
31718         clip_to: "clipper";
31719         description { state: "default" 0.0;
31720           image {
31721             normal: "bubble.png";
31722             border: 11 36 10 19;
31723           }
31724           image.middle: SOLID;
31725           fill.smooth: 0;
31726         }
31727         description { state: "rtl" 0.0;
31728            inherit: "default" 0.0;
31729            image {
31730               normal: "bubble_4.png";
31731               border: 11 36 18 9;
31732            }
31733         }
31734       }
31735       part { name: "elm.swallow.content";
31736         type: SWALLOW;
31737         clip_to: "clipper";
31738         description { state: "default" 0.0;
31739             align: 0.5 0.5;
31740           rel1 {
31741             offset: 9 8;
31742           }
31743           rel2 {
31744             offset: -10 -17;
31745           }
31746         }
31747       }
31748       part { name: "shine";
31749         mouse_events:  0;
31750         clip_to: "clipper";
31751         description { state:    "default" 0.0;
31752           rel1 {
31753             to: "base0";
31754           }
31755           rel2 {
31756             to: "base0";
31757             relative: 1.0 0.5;
31758           }
31759           image {
31760             normal: "bubble_shine.png";
31761             border: 5 5 5 0;
31762           }
31763           fill.smooth: 0;
31764         }
31765         }
31766     }
31767     programs {
31768         program { name: "show";
31769             signal: "show";
31770             action: STATE_SET "show" 0.0;
31771             target: "clipper";
31772             transition: ACCELERATE 0.5;
31773         }
31774     }
31775   }
31776
31777 /////////////////////////////////////////////////////////////////////////////
31778 // PANES
31779 /////////////////////////////////////////////////////////////////////////////
31780   group {
31781      name: "elm/panes/vertical/default";
31782       images {
31783          image: "bt_base1.png" COMP;
31784          image: "bt_base2.png" COMP;
31785          image: "bt_hilight.png" COMP;
31786          image: "bt_shine.png" COMP;
31787          image: "bt_glow.png" COMP;
31788          image: "bt_dis_base.png" COMP;
31789          image: "bt_dis_hilight.png" COMP;
31790          image: "arrow_right.png" COMP;
31791          image: "arrow_left.png" COMP;
31792       }
31793      parts
31794        {
31795           part
31796             {
31797                name: "whole";
31798                type: RECT;
31799                mouse_events: 0;
31800                description
31801                  {
31802                     state: "default" 0.0;
31803                     visible: 0;
31804                  }
31805             }
31806
31807          //2 contents
31808           part
31809             {
31810                name: "whole_left";
31811                type: RECT;
31812                mouse_events: 0;
31813                description
31814                  {
31815                     state: "default" 0.0;
31816                     rel2.to_x: "elm.bar";
31817                     rel2.relative: 0.0 1.0;
31818                     visible: 1;
31819                  }
31820             }
31821           part
31822             {
31823                name: "elm.swallow.left";
31824                type: SWALLOW;
31825                clip_to: "whole_left";
31826                description
31827                  {
31828                     state: "default" 0.0;
31829                     rel1.to: "whole_left";
31830                     rel2.to: "whole_left";
31831                  }
31832             }
31833
31834             part
31835             {
31836                name: "whole_right";
31837                type: RECT;
31838                mouse_events: 0;
31839                description
31840                  {
31841                     state: "default" 0.0;
31842                     rel1.to_x: "elm.bar";
31843                     rel1.relative: 1.0 0.0;
31844                     visible: 1;
31845                  }
31846             }
31847           part
31848             {
31849                name: "elm.swallow.right";
31850                type: SWALLOW;
31851                clip_to: "whole_right";
31852                description
31853                  {
31854                     state: "default" 0.0;
31855                     rel1.to: "whole_right";
31856                     rel2.to: "whole_right";
31857                  }
31858             }
31859          //BAR
31860          part { name: "elm.bar";
31861             mouse_events: 1;
31862             dragable {
31863                confine: "whole";
31864                x: 1 1 1;
31865                y: 0 0 0;
31866             }
31867             description { state: "default" 0.0;
31868                max: 15 9999;
31869                min: 15 100;
31870                rel1.relative: 0.0 0.5;
31871                rel2.relative: 1.0 0.5;
31872                image {
31873                   normal: "bt_base2.png";
31874                   border: 7 7 7 7;
31875                }
31876                image.middle: SOLID;
31877             }
31878             description { state: "clicked" 0.0;
31879                inherit: "default" 0.0;
31880                image.normal: "bt_base1.png";
31881                image.middle: SOLID;
31882             }
31883             description { state: "disabled" 0.0;
31884                inherit:  "default" 0.0;
31885                image {
31886                   normal: "bt_dis_base.png";
31887                   border: 4 4 4 4;
31888                }
31889             }
31890          }
31891          part {          name: "over1";
31892             mouse_events: 0;
31893             description { state: "default" 0.0;
31894             rel1.to: "elm.bar";
31895             rel2.to: "elm.bar";
31896                rel2.relative: 1.0 0.5;
31897                image {
31898                   normal: "bt_hilight.png";
31899                   border: 7 7 7 0;
31900                }
31901             }
31902             description { state: "disabled" 0.0;
31903                inherit:  "default" 0.0;
31904                image {
31905                   normal: "bt_dis_hilight.png";
31906                   border: 4 4 4 0;
31907                }
31908             }
31909          }
31910          part { name: "over2";
31911             mouse_events: 1;
31912             repeat_events: 1;
31913             ignore_flags: ON_HOLD;
31914             description { state: "default" 0.0;
31915             rel1.to: "elm.bar";
31916             rel2.to: "elm.bar";
31917                image {
31918                   normal: "bt_shine.png";
31919                   border: 7 7 7 7;
31920                }
31921             }
31922             description { state: "disabled" 0.0;
31923                inherit:  "default" 0.0;
31924                visible: 0;
31925             }
31926          }
31927          part { name: "over3";
31928             mouse_events: 1;
31929             repeat_events: 1;
31930             description { state: "default" 0.0;
31931                color: 255 255 255 0;
31932             rel1.to: "elm.bar";
31933             rel2.to: "elm.bar";
31934                image {
31935                   normal: "bt_glow.png";
31936                   border: 12 12 12 12;
31937                }
31938                fill.smooth : 0;
31939             }
31940             description { state: "clicked" 0.0;
31941                inherit:  "default" 0.0;
31942                visible: 1;
31943                color: 255 255 255 255;
31944             }
31945          }
31946
31947          //Arrow
31948          part {
31949             name: "arrow_right";
31950             repeat_events: 1;
31951             description { state: "default" 0.0;
31952                 min: 45 45;
31953                 max: 45 45;
31954                 color: 255 255 255 0;
31955
31956                 rel1.relative: 1.0 0.5;
31957                 rel1.to_x: "elm.bar";
31958                 rel1.offset: 45/2 -45/2;
31959
31960                 rel2.relative: 1.0 0.5;
31961                 rel2.to_x: "elm.bar";
31962                 rel2.offset: 45/2 45/2;
31963
31964                 image.normal: "arrow_right.png";
31965
31966                 fixed: 1 1;
31967             }
31968             description { state: "default" 0.1;
31969                 inherit: "default" 0.0;
31970                 image.normal: "arrow_left.png";
31971             }
31972             description { state: "anim_1" 0.0;
31973                 inherit: "default" 0.0;
31974                 color: 255 255 255 200;
31975                 rel1.offset: (45/2 + 10) -45/2;
31976                 rel2.offset: (45/2 +10) 45/2;
31977             }
31978             description { state: "anim_1" 0.1;
31979                 inherit: "default" 0.0;
31980                 image.normal: "arrow_left.png";
31981                 color: 255 255 255 200;
31982                 rel1.offset: (45/2 + 10) -45/2;
31983                 rel2.offset: (45/2 +10) 45/2;
31984             }
31985             description { state: "anim_2" 0.0;
31986                 inherit: "default" 0.0;
31987                 color: 255 255 255 0;
31988                 rel1.offset: (45/2 + 20) -45/2;
31989                 rel2.offset: (45/2 + 20) 45/2;
31990             }
31991             description { state: "anim_2" 0.1;
31992                 inherit: "default" 0.0;
31993                 image.normal: "arrow_left.png";
31994                 color: 255 255 255 0;
31995                 rel1.offset: (45/2 + 20) -45/2;
31996                 rel2.offset: (45/2 + 20) 45/2;
31997             }
31998          }
31999         part {
32000             name: "arrow_left";
32001             repeat_events: 1;
32002             description { state: "default" 0.0;
32003                 min: 45 45;
32004                 max: 45 45;
32005                 color: 255 255 255 0;
32006
32007                 rel1.relative: 0.0 0.5;
32008                 rel1.to_x: "elm.bar";
32009                 rel1.offset: -45/2 -45/2;
32010
32011                 rel2.relative: 0.0 0.5;
32012                 rel2.to_x: "elm.bar";
32013                 rel2.offset: -45/2 45/2;
32014
32015                 image.normal: "arrow_left.png";
32016
32017                 fixed: 1 1;
32018             }
32019             description { state: "default" 0.1;
32020                 inherit: "default" 0.0;
32021                 image.normal: "arrow_right.png";
32022             }
32023             description { state: "anim_1" 0.0;
32024                 inherit: "default" 0.0;
32025                 color: 255 255 255 200;
32026                 rel1.offset: (-45/2 - 10) -45/2;
32027                 rel2.offset: (-45/2 - 10) 45/2;
32028             }
32029             description { state: "anim_1" 0.1;
32030                 inherit: "default" 0.0;
32031                 image.normal: "arrow_right.png";
32032                 color: 255 255 255 200;
32033                 rel1.offset: (-45/2 - 10) -45/2;
32034                 rel2.offset: (-45/2 - 10) 45/2;
32035             }
32036             description { state: "anim_2" 0.0;
32037                 inherit: "default" 0.0;
32038                 color: 255 255 255 0;
32039                 rel1.offset: (-45/2 - 20) -45/2;
32040                 rel2.offset: (-45/2 - 20) 45/2;
32041             }
32042             description { state: "anim_2" 0.1;
32043                 inherit: "default" 0.0;
32044                 image.normal: "arrow_right.png";
32045                 color: 255 255 255 0;
32046                 rel1.offset: (-45/2 - 20) -45/2;
32047                 rel2.offset: (-45/2 - 20) 45/2;
32048             }
32049          }
32050
32051        }
32052         programs {
32053          program {
32054             name:   "button_click";
32055             signal: "mouse,down,1";
32056             source: "over2";
32057             action: SIGNAL_EMIT "elm,action,press" "";
32058             after: "button_click_anim";
32059             after: "arrow_anim_start";
32060          }
32061          program {
32062             name:   "button_click_anim";
32063             action: STATE_SET "clicked" 0.0;
32064             target: "elm.bar";
32065          }
32066          program {
32067             name:   "button_unclick";
32068             signal: "mouse,up,1";
32069             source: "over2";
32070             action: SIGNAL_EMIT "elm,action,unpress" "";
32071             after: "button_unclick_anim";
32072             after: "arrow_anim_stop";
32073          }
32074          program {
32075             name:   "button_unclick_anim";
32076             action: STATE_SET "default" 0.0;
32077             target: "elm.bar";
32078          }
32079          program {
32080             name:   "button_click2";
32081             signal: "mouse,down,1";
32082             source: "over3";
32083             action: STATE_SET "clicked" 0.0;
32084             target: "over3";
32085          }
32086          program {
32087             name:   "button_unclick2";
32088             signal: "mouse,up,1";
32089             source: "over3";
32090             action: STATE_SET "default" 0.0;
32091             transition: DECELERATE 0.5;
32092             target: "over3";
32093          }
32094          program {
32095             name:   "button_unclick3";
32096             signal: "mouse,up,1";
32097             source: "over2";
32098             action: SIGNAL_EMIT "elm,action,click" "";
32099          }
32100          program {
32101             name:   "button_down_double";
32102             signal: "mouse,down,1,double";
32103             source: "over3";
32104             action: SIGNAL_EMIT "elm,action,click,double" "";
32105          }
32106
32107          //arrows animation
32108          program {
32109             name: "arrow_anim_start";
32110             script {
32111                new st[31];
32112                new Float:vl;
32113                get_state(PART:"arrow_left", st, 30, vl);
32114                if (vl == 0.0) {
32115                   run_program(PROGRAM:"arrow_anim_start_ltr");
32116                }
32117                else {
32118                   run_program(PROGRAM:"arrow_anim_start_rtl");
32119                }
32120             }
32121          }
32122          program {
32123             name: "arrow_anim_stop";
32124             script {
32125                new st[31];
32126                new Float:vl;
32127                get_state(PART:"arrow_left", st, 30, vl);
32128                if (vl == 0.0) {
32129                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32130                }
32131                else {
32132                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32133                }
32134             }
32135          }
32136
32137          program {
32138             name: "arrow_anim_start_ltr";
32139             action: STATE_SET "anim_1" 0.0;
32140             target: "arrow_right";
32141             target: "arrow_left";
32142             transition: LINEAR 0.6;
32143             after: "arrow_anim_1_ltr";
32144          }
32145          program {
32146             name: "arrow_anim_1_ltr";
32147             action: STATE_SET "anim_2" 0.0;
32148             target: "arrow_right";
32149             target: "arrow_left";
32150             transition: LINEAR 0.6;
32151             after: "arrow_anim_2_ltr";
32152          }
32153          program {
32154             name: "arrow_anim_2_ltr";
32155             action: STATE_SET "default" 0.0;
32156             target: "arrow_right";
32157             target: "arrow_left";
32158             after: "arrow_anim_start_ltr";
32159          }
32160          program {
32161             name: "arrow_anim_stop_ltr";
32162             action: ACTION_STOP;
32163             target: "arrow_anim_start_ltr";
32164             target: "arrow_anim_1_ltr";
32165             target: "arrow_anim_2_ltr";
32166             after: "arrow_anim_stop_1_ltr";
32167          }
32168          program {
32169             name: "arrow_anim_stop_1_ltr";
32170             action: STATE_SET "default" 0.0;
32171             target: "arrow_right";
32172             target: "arrow_left";
32173             transition: DECELERATE 0.4;
32174         }
32175          program {
32176             name: "arrow_anim_start_rtl";
32177             action: STATE_SET "anim_1" 0.1;
32178             target: "arrow_right";
32179             target: "arrow_left";
32180             transition: LINEAR 0.6;
32181             after: "arrow_anim_1_rtl";
32182          }
32183          program {
32184             name: "arrow_anim_1_rtl";
32185             action: STATE_SET "anim_2" 0.1;
32186             target: "arrow_right";
32187             target: "arrow_left";
32188             transition: LINEAR 0.6;
32189             after: "arrow_anim_2_rtl";
32190          }
32191          program {
32192             name: "arrow_anim_2_rtl";
32193             action: STATE_SET "default" 0.1;
32194             target: "arrow_right";
32195             target: "arrow_left";
32196             after: "arrow_anim_start_rtl";
32197          }
32198          program {
32199             name: "arrow_anim_stop_rtl";
32200             action: ACTION_STOP;
32201             target: "arrow_anim_start_rtl";
32202             target: "arrow_anim_1_rtl";
32203             target: "arrow_anim_2_rtl";
32204             after: "arrow_anim_stop_1_rtl";
32205          }
32206          program {
32207             name: "arrow_anim_stop_1_rtl";
32208             action: STATE_SET "default" 0.1;
32209             target: "arrow_right";
32210             target: "arrow_left";
32211             transition: DECELERATE 0.4;
32212         }
32213          program { name: "to_rtl";
32214             signal: "edje,state,rtl";
32215             source: "edje";
32216             script {
32217                new st[31];
32218                new Float:vl;
32219                get_state(PART:"arrow_left", st, 30, vl);
32220                if (vl == 0.0) {
32221                   set_state(PART:"arrow_left", st, 0.1);
32222                }
32223                get_state(PART:"arrow_right", st, 30, vl);
32224                if (vl == 0.0) {
32225                   set_state(PART:"arrow_right", st, 0.1);
32226                }
32227             }
32228          }
32229          program { name: "to_ltr";
32230             signal: "edje,state,ltr";
32231             source: "edje";
32232             script {
32233                new st[31];
32234                new Float:vl;
32235                get_state(PART:"arrow_left", st, 30, vl);
32236                if (vl == 0.1) {
32237                   set_state(PART:"arrow_left", st, 0.0);
32238                }
32239                get_state(PART:"arrow_right", st, 30, vl);
32240                if (vl == 0.1) {
32241                   set_state(PART:"arrow_right", st, 0.0);
32242                }
32243             }
32244          }
32245       }
32246   }
32247
32248   group {
32249      name: "elm/panes/horizontal/default";
32250       images {
32251          image: "bt_base1.png" COMP;
32252          image: "bt_base2.png" COMP;
32253          image: "bt_hilight.png" COMP;
32254          image: "bt_shine.png" COMP;
32255          image: "bt_glow.png" COMP;
32256          image: "bt_dis_base.png" COMP;
32257          image: "bt_dis_hilight.png" COMP;
32258          image: "arrow_up.png" COMP;
32259          image: "arrow_down.png" COMP;
32260       }
32261      parts
32262        {
32263           part
32264             {
32265                name: "whole";
32266                type: RECT;
32267                mouse_events: 0;
32268                description
32269                  {
32270                     state: "default" 0.0;
32271                     visible: 0;
32272                  }
32273             }
32274
32275          //2 contents
32276           part
32277             {
32278                name: "whole_left";
32279                type: RECT;
32280                mouse_events: 0;
32281                description
32282                  {
32283                     state: "default" 0.0;
32284                     rel2.to_y: "elm.bar";
32285                     rel2.relative: 1.0 0.0;
32286                     visible: 1;
32287                  }
32288             }
32289           part
32290             {
32291                name: "elm.swallow.left";
32292                type: SWALLOW;
32293                clip_to: "whole_left";
32294                description
32295                  {
32296                     state: "default" 0.0;
32297                     rel1.to: "whole_left";
32298                     rel2.to: "whole_left";
32299                  }
32300             }
32301
32302             part
32303             {
32304                name: "whole_right";
32305                type: RECT;
32306                mouse_events: 0;
32307                description
32308                  {
32309                     state: "default" 0.0;
32310                     rel1.to_y: "elm.bar";
32311                     rel1.relative: 0.0 1.0;
32312                     visible: 1;
32313                  }
32314             }
32315           part
32316             {
32317                name: "elm.swallow.right";
32318                type: SWALLOW;
32319                clip_to: "whole_right";
32320                description
32321                  {
32322                     state: "default" 0.0;
32323                     rel1.to: "whole_right";
32324                     rel2.to: "whole_right";
32325                  }
32326             }
32327          //BAR
32328          part { name: "elm.bar";
32329             mouse_events: 1;
32330             dragable {
32331                confine: "whole";
32332                x: 0 0 0;
32333                y: 1 1 1;
32334             }
32335             description { state: "default" 0.0;
32336                max: 999 15;
32337                min: 100 15;
32338                rel1.relative: 0.5 0.0;
32339                rel2.relative: 0.5 1.0;
32340                image {
32341                   normal: "bt_base2.png";
32342                   border: 7 7 7 7;
32343                }
32344                image.middle: SOLID;
32345             }
32346             description { state: "clicked" 0.0;
32347                inherit: "default" 0.0;
32348                image.normal: "bt_base1.png";
32349                image.middle: SOLID;
32350             }
32351             description { state: "disabled" 0.0;
32352                inherit:  "default" 0.0;
32353                image {
32354                   normal: "bt_dis_base.png";
32355                   border: 4 4 4 4;
32356                }
32357             }
32358          }
32359          part {          name: "over1";
32360             mouse_events: 0;
32361             description { state: "default" 0.0;
32362             rel1.to: "elm.bar";
32363             rel2.to: "elm.bar";
32364                rel2.relative: 1.0 0.5;
32365                image {
32366                   normal: "bt_hilight.png";
32367                   border: 7 7 7 0;
32368                }
32369             }
32370             description { state: "disabled" 0.0;
32371                inherit:  "default" 0.0;
32372                image {
32373                   normal: "bt_dis_hilight.png";
32374                   border: 4 4 4 0;
32375                }
32376             }
32377          }
32378          part { name: "over2";
32379             mouse_events: 1;
32380             repeat_events: 1;
32381             ignore_flags: ON_HOLD;
32382             description { state: "default" 0.0;
32383             rel1.to: "elm.bar";
32384             rel2.to: "elm.bar";
32385                image {
32386                   normal: "bt_shine.png";
32387                   border: 7 7 7 7;
32388                }
32389             }
32390             description { state: "disabled" 0.0;
32391                inherit:  "default" 0.0;
32392                visible: 0;
32393             }
32394          }
32395          part { name: "over3";
32396             mouse_events: 1;
32397             repeat_events: 1;
32398             description { state: "default" 0.0;
32399                color: 255 255 255 0;
32400             rel1.to: "elm.bar";
32401             rel2.to: "elm.bar";
32402                image {
32403                   normal: "bt_glow.png";
32404                   border: 12 12 12 12;
32405                }
32406                fill.smooth : 0;
32407             }
32408             description { state: "clicked" 0.0;
32409                inherit:  "default" 0.0;
32410                visible: 1;
32411                color: 255 255 255 255;
32412             }
32413          }
32414
32415          //Arrow
32416          part {
32417             name: "arrow_right";
32418             repeat_events: 1;
32419             description { state: "default" 0.0;
32420                 min: 45 45;
32421                 max: 45 45;
32422                 color: 255 255 255 0;
32423
32424                 rel1.relative: 0.5 1.0;
32425                 rel1.to_y: "elm.bar";
32426                 rel1.offset: -45/2 45/2;
32427
32428                 rel2.relative: 0.5 1.0;
32429                 rel2.to_y: "elm.bar";
32430                 rel2.offset: 45/2 45/2;
32431
32432                 image.normal: "arrow_down.png";
32433
32434                 fixed: 1 1;
32435             }
32436             description { state: "anim_1" 0.0;
32437                 inherit: "default" 0.0;
32438                 color: 255 255 255 200;
32439                 rel1.offset: -45/2 (45/2 +10);
32440                 rel2.offset: 45/2 (45/2 +10);
32441             }
32442             description { state: "anim_2" 0.0;
32443                 inherit: "default" 0.0;
32444                 color: 255 255 255 0;
32445                 rel1.offset: -45/2 (45/2 + 20);
32446                 rel2.offset: 45/2 (45/2 + 20);
32447             }
32448          }
32449         part {
32450             name: "arrow_left";
32451             repeat_events: 1;
32452             description { state: "default" 0.0;
32453                 min: 45 45;
32454                 max: 45 45;
32455                 color: 255 255 255 0;
32456
32457                 rel1.relative: 0.5 0.0;
32458                 rel1.to_y: "elm.bar";
32459                 rel1.offset: -45/2 -45/2;
32460
32461                 rel2.relative: 0.5 0.0;
32462                 rel2.to_y: "elm.bar";
32463                 rel2.offset: 45/2 -45/2;
32464
32465                 image.normal: "arrow_up.png";
32466
32467                 fixed: 1 1;
32468             }
32469             description { state: "anim_1" 0.0;
32470                 inherit: "default" 0.0;
32471                 color: 255 255 255 200;
32472                 rel1.offset: -45/2 (-45/2 - 10);
32473                 rel2.offset: 45/2 (-45/2 - 10);
32474             }
32475             description { state: "anim_2" 0.0;
32476                 inherit: "default" 0.0;
32477                 color: 255 255 255 0;
32478                 rel1.offset: -45/2 (-45/2 - 20);
32479                 rel2.offset: 45/2 (-45/2 - 20);
32480             }
32481          }
32482
32483        }
32484         programs {
32485          program {
32486             name:   "button_click";
32487             signal: "mouse,down,1";
32488             source: "over2";
32489             action: SIGNAL_EMIT "elm,action,press" "";
32490             after: "button_click_anim";
32491             after: "arrow_anim_start";
32492          }
32493          program {
32494             name:   "button_click_anim";
32495             action: STATE_SET "clicked" 0.0;
32496             target: "elm.bar";
32497          }
32498          program {
32499             name:   "button_unclick";
32500             signal: "mouse,up,1";
32501             source: "over2";
32502             action: SIGNAL_EMIT "elm,action,unpress" "";
32503             after: "button_unclick_anim";
32504             after: "arrow_anim_stop";
32505          }
32506          program {
32507             name:   "button_unclick_anim";
32508             action: STATE_SET "default" 0.0;
32509             target: "elm.bar";
32510          }
32511          program {
32512             name:   "button_click2";
32513             signal: "mouse,down,1";
32514             source: "over3";
32515             action: STATE_SET "clicked" 0.0;
32516             target: "over3";
32517          }
32518          program {
32519             name:   "button_unclick2";
32520             signal: "mouse,up,1";
32521             source: "over3";
32522             action: STATE_SET "default" 0.0;
32523             transition: DECELERATE 0.5;
32524             target: "over3";
32525          }
32526          program {
32527             name:   "button_unclick3";
32528             signal: "mouse,up,1";
32529             source: "over2";
32530             action: SIGNAL_EMIT "elm,action,click" "";
32531          }
32532          program {
32533             name:   "button_down_double";
32534             signal: "mouse,down,1,double";
32535             source: "over3";
32536             action: SIGNAL_EMIT "elm,action,click,double" "";
32537          }
32538
32539          //arrows animation
32540          program {
32541             name: "arrow_anim_start";
32542             action: STATE_SET "anim_1" 0.0;
32543             target: "arrow_right";
32544             target: "arrow_left";
32545             transition: LINEAR 0.6;
32546             after: "arrow_anim_1";
32547          }
32548          program {
32549             name: "arrow_anim_1";
32550             action: STATE_SET "anim_2" 0.0;
32551             target: "arrow_right";
32552             target: "arrow_left";
32553             transition: LINEAR 0.6;
32554             after: "arrow_anim_2";
32555          }
32556          program {
32557             name: "arrow_anim_2";
32558             action: STATE_SET "default" 0.0;
32559             target: "arrow_right";
32560             target: "arrow_left";
32561             after: "arrow_anim_start";
32562          }
32563          program {
32564             name: "arrow_anim_stop";
32565             action: ACTION_STOP;
32566             target: "arrow_anim_start";
32567             target: "arrow_anim_1";
32568             target: "arrow_anim_2";
32569             after: "arrow_anim_stop_1";
32570          }
32571          program {
32572             name: "arrow_anim_stop_1";
32573             action: STATE_SET "default" 0.0;
32574             target: "arrow_right";
32575             target: "arrow_left";
32576             transition: DECELERATE 0.4;
32577         }
32578       }
32579   }
32580
32581
32582
32583 /////////////////////////////////////////////////////////////////////////////
32584 // PANEL
32585 /////////////////////////////////////////////////////////////////////////////
32586   group {
32587      name: "elm/panel/base/left";
32588      alias: "elm/panel/base/top";
32589      images
32590        {
32591           image: "bt_base1.png" COMP;
32592           image: "bt_hilight.png" COMP;
32593           image: "bt_shine.png" COMP;
32594           image: "bt_glow.png" COMP;
32595           image: "bt_dis_base.png" COMP;
32596           image: "icon_arrow_left.png" COMP;
32597           image: "icon_arrow_right.png" COMP;
32598        }
32599        data {
32600           item: "focus_highlight" "on";
32601        }
32602      parts
32603        {
32604             part { name: "focus_highlight";
32605                description { state: "default" 0.0;
32606                   visible: 0;
32607                   color: 255 255 255 0;
32608                   rel1 {
32609                      to: "btn";
32610                      offset: -8 -8;
32611                   }
32612                   rel2 {
32613                      to: "btn";
32614                      offset: 7 7;
32615                   }
32616                   image {
32617                      normal: "frame_2.png";
32618                      border: 5 5 32 26;
32619                      middle: 0;
32620                   }
32621                }
32622                description { state: "enabled" 0.0;
32623                   inherit: "default" 0.0;
32624                   visible: 1;
32625                   color: 255 255 255 255;
32626                }
32627             }
32628           part
32629             {
32630                name: "bg";
32631                type: RECT;
32632                mouse_events: 0;
32633                description
32634                  {
32635                     state: "default" 0.0;
32636                     color: 255 255 255 0;
32637                     rel1.relative: 0.0 0.0;
32638                     rel1.offset: 0 0;
32639                     rel2.relative: 1.0 1.0;
32640                     rel2.offset: -1 -1;
32641                  }
32642                description
32643                  {
32644                     state: "hidden" 0.0;
32645                     inherit: "default" 0.0;
32646                     rel1.relative: -1.0 0.0;
32647                     rel1.offset: 21 0;
32648                     rel2.relative: 0.0 1.0;
32649                     rel2.offset: 20 -1;
32650                  }
32651             }
32652           part
32653             {
32654                name: "base";
32655                type: IMAGE;
32656                mouse_events: 0;
32657                description
32658                  {
32659                     state: "default" 0.0;
32660                     rel1.to: "bg";
32661                     rel2.to: "bg";
32662                     rel2.offset: -20 -1;
32663                     image
32664                       {
32665                          normal: "bt_dis_base.png";
32666                          border: 4 4 4 4;
32667                       }
32668                  }
32669             }
32670           part
32671             {
32672                name: "clipper";
32673                type: RECT;
32674                mouse_events: 0;
32675                description
32676                  {
32677                     state: "default" 0.0;
32678                     rel1
32679                       {
32680                          offset: 4 4;
32681                          to: "base";
32682                       }
32683                     rel2
32684                       {
32685                          offset: -5 -5;
32686                          to: "base";
32687                       }
32688                  }
32689             }
32690           part
32691             {
32692                name: "elm.swallow.content";
32693                type: SWALLOW;
32694                clip_to: "clipper";
32695                description
32696                  {
32697                     state: "default" 0.0;
32698                     rel1.to: "clipper";
32699                     rel2.to: "clipper";
32700                  }
32701             }
32702           part
32703             {
32704                name: "btn";
32705                type: IMAGE;
32706                mouse_events: 1;
32707                description
32708                  {
32709                     state: "default" 0.0;
32710                     max: 32 48;
32711                     fixed: 1 1;
32712                     align: 0.0 0.5;
32713                     rel1
32714                       {
32715                          relative: 1.0 0.0;
32716                          offset: -3 0;
32717                          to_x: "base";
32718                       }
32719                     rel2.to_x: "bg";
32720                     image
32721                       {
32722                          normal: "bt_base1.png";
32723                          border: 0 5 4 12;
32724                       }
32725                     fill.smooth: 0;
32726                  }
32727                description
32728                  {
32729                     state: "clicked" 0.0;
32730                     inherit: "default" 0.0;
32731                  }
32732             }
32733           part
32734             {
32735                name: "btn_over";
32736                type: IMAGE;
32737                mouse_events: 0;
32738                description
32739                  {
32740                     state: "default" 0.0;
32741                     rel1.to: "btn";
32742                     rel2
32743                       {
32744                          relative: 1.0 0.5;
32745                          to: "btn";
32746                       }
32747                     image
32748                       {
32749                          normal: "bt_hilight.png";
32750                          border: 0 7 7 0;
32751                       }
32752                  }
32753             }
32754           part
32755             {
32756                name: "btn_over2";
32757                type: IMAGE;
32758                mouse_events: 1;
32759                repeat_events: 1;
32760                ignore_flags: ON_HOLD;
32761                description
32762                  {
32763                     state: "default" 0.0;
32764                     rel1.to: "btn";
32765                     rel2.to: "btn";
32766                     image
32767                       {
32768                          normal: "bt_shine.png";
32769                          border: 0 7 7 7;
32770                     }
32771                  }
32772             }
32773           part
32774             {
32775                name: "btn_over3";
32776                type: IMAGE;
32777                mouse_events: 1;
32778                repeat_events: 1;
32779                description
32780                  {
32781                     state: "default" 0.0;
32782                     color: 255 255 255 0;
32783                     rel1.to: "btn";
32784                     rel2.to: "btn";
32785                     image
32786                       {
32787                        normal: "bt_glow.png";
32788                        border: 12 12 12 12;
32789                     }
32790                   fill.smooth: 0;
32791                }
32792              description
32793                {
32794                   state: "clicked" 0.0;
32795                   inherit: "default" 0.0;
32796                   visible: 1;
32797                   color: 255 255 255 255;
32798                }
32799             }
32800           part
32801             {
32802                name: "btn_icon";
32803                type: IMAGE;
32804                repeat_events: 1;
32805                description
32806                  {
32807                     state: "default" 0.0;
32808                     rel1.to: "btn";
32809                     rel2.to: "btn";
32810                     align: 0.5 0.5;
32811                     min: 16 16;
32812                     max: 16 16;
32813                     image.normal: "icon_arrow_left.png";
32814                  }
32815                description
32816                  {
32817                     state: "hidden" 0.0;
32818                     inherit: "default" 0.0;
32819                     image.normal: "icon_arrow_right.png";
32820                  }
32821             }
32822        }
32823      programs
32824        {
32825           program
32826             {
32827                name: "show";
32828                signal: "elm,action,show";
32829                source: "elm";
32830                action: STATE_SET "default" 0.0;
32831                target: "bg";
32832                target: "btn_icon";
32833                transition: LINEAR 0.5;
32834             }
32835           program
32836             {
32837                name: "hide";
32838                signal: "elm,action,hide";
32839                source: "elm";
32840                action: STATE_SET "hidden" 0.0;
32841                target: "bg";
32842                target: "btn_icon";
32843                transition: LINEAR 0.5;
32844             }
32845           program
32846             {
32847                name: "btn_click";
32848                signal: "mouse,down,1";
32849                source: "btn_over2";
32850                action: STATE_SET "clicked" 0.0;
32851                target: "btn";
32852             }
32853           program
32854             {
32855                name: "btn_unclick";
32856                signal: "mouse,up,1";
32857                source: "btn_over2";
32858                action: STATE_SET "default" 0.0;
32859                target: "btn";
32860             }
32861           program
32862             {
32863                name: "btn_click2";
32864                signal: "mouse,down,1";
32865                source: "btn_over3";
32866                action: STATE_SET "clicked" 0.0;
32867                target: "btn_over3";
32868             }
32869           program
32870             {
32871                name: "btn_unclick2";
32872                signal: "mouse,up,1";
32873                source: "btn_over3";
32874                action: STATE_SET "default" 0.0;
32875                transition: DECELERATE 0.5;
32876                target: "btn_over3";
32877             }
32878           program
32879             {
32880                name: "btn_unclick3";
32881                signal: "mouse,clicked,1";
32882                source: "btn_over2";
32883                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32884             }
32885          program { name: "highlight_show";
32886             signal: "elm,action,focus_highlight,show";
32887             source: "elm";
32888             action: STATE_SET "enabled" 0.0;
32889             transition: ACCELERATE 0.3;
32890             target: "focus_highlight";
32891          }
32892          program { name: "highlight_hide";
32893             signal: "elm,action,focus_highlight,hide";
32894             source: "elm";
32895             action: STATE_SET "default" 0.0;
32896             transition: DECELERATE 0.3;
32897             target: "focus_highlight";
32898          }
32899        }
32900   }
32901
32902   group {
32903      name: "elm/panel/base/right";
32904      alias: "elm/panel/base/bottom";
32905      images
32906        {
32907           image: "bt_base1.png" COMP;
32908           image: "bt_hilight.png" COMP;
32909           image: "bt_shine.png" COMP;
32910           image: "bt_glow.png" COMP;
32911           image: "bt_dis_base.png" COMP;
32912           image: "icon_arrow_left.png" COMP;
32913           image: "icon_arrow_right.png" COMP;
32914        }
32915      parts
32916        {
32917             part { name: "focus_highlight";
32918                description { state: "default" 0.0;
32919                   visible: 0;
32920                   color: 255 255 255 0;
32921                   rel1 {
32922                      to: "btn";
32923                      offset: -8 -8;
32924                   }
32925                   rel2 {
32926                      to: "btn";
32927                      offset: 7 7;
32928                   }
32929                   image {
32930                      normal: "frame_2.png";
32931                      border: 5 5 32 26;
32932                      middle: 0;
32933                   }
32934                }
32935                description { state: "enabled" 0.0;
32936                   inherit: "default" 0.0;
32937                   visible: 1;
32938                   color: 255 255 255 255;
32939                }
32940             }
32941           part
32942             {
32943                name: "bg";
32944                type: RECT;
32945                mouse_events: 0;
32946                description
32947                  {
32948                     state: "default" 0.0;
32949                     color: 255 255 255 0;
32950                     rel1.relative: 0.0 0.0;
32951                     rel1.offset: 0 0;
32952                     rel2.relative: 1.0 1.0;
32953                     rel2.offset: -1 -1;
32954                  }
32955                description
32956                  {
32957                     state: "hidden" 0.0;
32958                     inherit: "default" 0.0;
32959                     rel1.relative: 1.0 0.0;
32960                     rel1.offset: -22 0;
32961                     rel2.relative: 2.0 1.0;
32962                     rel2.offset: -23 -1;
32963                  }
32964             }
32965           part
32966             {
32967                name: "base";
32968                type: IMAGE;
32969                mouse_events: 0;
32970                description
32971                  {
32972                     state: "default" 0.0;
32973                     rel1.to: "bg";
32974                     rel1.offset: 20 0;
32975                     rel2.to: "bg";
32976                     image
32977                       {
32978                          normal: "bt_dis_base.png";
32979                          border: 4 4 4 4;
32980                       }
32981                  }
32982             }
32983           part
32984             {
32985                name: "clipper";
32986                type: RECT;
32987                mouse_events: 0;
32988                description
32989                  {
32990                     state: "default" 0.0;
32991                     rel1
32992                       {
32993                          offset: 4 4;
32994                          to: "base";
32995                       }
32996                     rel2
32997                       {
32998                          offset: -5 -5;
32999                          to: "base";
33000                       }
33001                  }
33002             }
33003           part
33004             {
33005                name: "elm.swallow.content";
33006                type: SWALLOW;
33007                clip_to: "clipper";
33008                description
33009                  {
33010                     state: "default" 0.0;
33011                     rel1.to: "clipper";
33012                     rel2.to: "clipper";
33013                  }
33014             }
33015           part
33016             {
33017                name: "btn";
33018                type: IMAGE;
33019                mouse_events: 1;
33020                description
33021                  {
33022                     state: "default" 0.0;
33023                     max: 32 48;
33024                     fixed: 1 1;
33025                     align: 1 0.5;
33026                     rel1
33027                       {
33028                          to_x: "bg";
33029                       }
33030                     rel2
33031                       {
33032                          offset: 2 0;
33033                          relative: 0.0 1;
33034                          to_x: "base";
33035                       }
33036                     image
33037                       {
33038                          normal: "bt_base1.png";
33039                          border: 5 0 4 12;
33040                       }
33041                     fill.smooth: 0;
33042                  }
33043                description
33044                  {
33045                     state: "clicked" 0.0;
33046                     inherit: "default" 0.0;
33047                  }
33048             }
33049           part
33050             {
33051                name: "btn_over";
33052                type: IMAGE;
33053                mouse_events: 0;
33054                description
33055                  {
33056                     state: "default" 0.0;
33057                     rel1.to: "btn";
33058                     rel2
33059                       {
33060                          relative: 1.0 0.5;
33061                          to: "btn";
33062                       }
33063                     image
33064                       {
33065                          normal: "bt_hilight.png";
33066                          border: 7 0 7 0;
33067                       }
33068                  }
33069             }
33070           part
33071             {
33072                name: "btn_over2";
33073                type: IMAGE;
33074                mouse_events: 1;
33075                repeat_events: 1;
33076                ignore_flags: ON_HOLD;
33077                description
33078                  {
33079                     state: "default" 0.0;
33080                     rel1.to: "btn";
33081                     rel2.to: "btn";
33082                     image
33083                       {
33084                          normal: "bt_shine.png";
33085                          border: 7 0 7 7;
33086                     }
33087                  }
33088             }
33089           part
33090             {
33091                name: "btn_over3";
33092                type: IMAGE;
33093                mouse_events: 1;
33094                repeat_events: 1;
33095                description
33096                  {
33097                     state: "default" 0.0;
33098                     color: 255 255 255 0;
33099                     rel1.to: "btn";
33100                     rel2.to: "btn";
33101                     image
33102                       {
33103                        normal: "bt_glow.png";
33104                        border: 12 12 12 12;
33105                     }
33106                   fill.smooth: 0;
33107                }
33108              description
33109                {
33110                   state: "clicked" 0.0;
33111                   inherit: "default" 0.0;
33112                   visible: 1;
33113                   color: 255 255 255 255;
33114                }
33115             }
33116           part
33117             {
33118                name: "btn_icon";
33119                type: IMAGE;
33120                repeat_events: 1;
33121                description
33122                  {
33123                     state: "default" 0.0;
33124                     rel1.to: "btn";
33125                     rel2.to: "btn";
33126                     align: 0.5 0.5;
33127                     min: 16 16;
33128                     max: 16 16;
33129                     image.normal: "icon_arrow_right.png";
33130                  }
33131                description
33132                  {
33133                     state: "hidden" 0.0;
33134                     inherit: "default" 0.0;
33135                     image.normal: "icon_arrow_left.png";
33136                  }
33137             }
33138        }
33139      programs
33140        {
33141           program
33142             {
33143                name: "show";
33144                signal: "elm,action,show";
33145                source: "elm";
33146                action: STATE_SET "default" 0.0;
33147                target: "bg";
33148                target: "btn_icon";
33149                transition: LINEAR 0.5;
33150             }
33151           program
33152             {
33153                name: "hide";
33154                signal: "elm,action,hide";
33155                source: "elm";
33156                action: STATE_SET "hidden" 0.0;
33157                target: "bg";
33158                target: "btn_icon";
33159                transition: LINEAR 0.5;
33160             }
33161           program
33162             {
33163                name: "btn_click";
33164                signal: "mouse,down,1";
33165                source: "btn_over2";
33166                action: STATE_SET "clicked" 0.0;
33167                target: "btn";
33168             }
33169           program
33170             {
33171                name: "btn_unclick";
33172                signal: "mouse,up,1";
33173                source: "btn_over2";
33174                action: STATE_SET "default" 0.0;
33175                target: "btn";
33176             }
33177           program
33178             {
33179                name: "btn_click2";
33180                signal: "mouse,down,1";
33181                source: "btn_over3";
33182                action: STATE_SET "clicked" 0.0;
33183                target: "btn_over3";
33184             }
33185           program
33186             {
33187                name: "btn_unclick2";
33188                signal: "mouse,up,1";
33189                source: "btn_over3";
33190                action: STATE_SET "default" 0.0;
33191                transition: DECELERATE 0.5;
33192                target: "btn_over3";
33193             }
33194           program
33195             {
33196                name: "btn_unclick3";
33197                signal: "mouse,up,1";
33198                source: "btn_over2";
33199                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33200             }
33201          program { name: "highlight_show";
33202             signal: "elm,action,focus";
33203             source: "elm";
33204             action: STATE_SET "enabled" 0.0;
33205             transition: ACCELERATE 0.3;
33206             target: "focus_highlight";
33207          }
33208          program { name: "highlight_hide";
33209             signal: "elm,action,unfocus";
33210             source: "elm";
33211             action: STATE_SET "default" 0.0;
33212             transition: DECELERATE 0.3;
33213             target: "focus_highlight";
33214          }
33215        }
33216   }
33217
33218 ///////////////////////////////////////////////////////////////////////////////
33219   group { name: "elm/conformant/base/default";
33220      parts {
33221         part { name: "elm.swallow.shelf";
33222            type: SWALLOW;
33223            description { state: "default" 0.0;
33224               fixed: 1 1;
33225               align: 0.0 0.0;
33226               rel2.relative: 1.0 0.0;
33227            }
33228         }
33229         part { name: "elm.swallow.content";
33230            type: SWALLOW;
33231            description { state: "default" 0.0;
33232               align: 0.5 0.5;
33233               rel1.relative: 0.0 1.0;
33234               rel1.to_y: "elm.swallow.shelf";
33235               rel2.relative: 1.0 0.0;
33236               rel2.to_y: "elm.swallow.panel";
33237            }
33238         }
33239         part { name: "elm.swallow.panel";
33240            type: SWALLOW;
33241            description { state: "default" 0.0;
33242               fixed: 1 1;
33243               align: 0.0 1.0;
33244               rel1.relative: 0.0 1.0;
33245            }
33246         }
33247      }
33248   }
33249
33250 /////////////////////////////////////////////////////////////////////////////
33251 // CALENDAR
33252 /////////////////////////////////////////////////////////////////////////////
33253 #define CH(_pos) \
33254          part { name: "ch_"#_pos".base"; \
33255             type: RECT; \
33256             description { state: "default" 0.0; \
33257                rel1 { \
33258                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33259                   to: "header"; \
33260                } \
33261                rel2 { \
33262                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33263                   to: "header"; \
33264                } \
33265                color: 0 0 0 0; \
33266                visible: 0; \
33267             } \
33268          } \
33269          part { name: "ch_"#_pos".text"; \
33270             type: TEXT; \
33271             effect: SOFT_SHADOW; \
33272             mouse_events: 0; \
33273             scale: 1; \
33274             clip_to: "ch_"#_pos".clipper"; \
33275             description { \
33276                state: "default" 0.0; \
33277                rel1.to: "ch_"#_pos".base"; \
33278                rel2.to: "ch_"#_pos".base"; \
33279                color: 0 0 0 255; \
33280                color3: 0 0 0 0; \
33281                text { \
33282                   font: "Sans"; \
33283                   size: 10; \
33284                   min: 1 1; \
33285                   align: 0.5 0.5; \
33286                } \
33287             } \
33288          } \
33289          part { name: "ch_"#_pos".clipper"; \
33290             type: RECT; \
33291             description { state: "default" 0.0; \
33292                rel1.to: "ch_"#_pos".base"; \
33293                rel2.to: "ch_"#_pos".base"; \
33294             } \
33295          }
33296
33297 #define CIT(_pos) \
33298          part { name: "cit_"#_pos".rect"; \
33299             type: RECT; \
33300             description { state: "default" 0.0; \
33301                rel1 { \
33302                   relative: (_pos % 7 * 7 / 8 / 6) \
33303                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33304                   to: "base"; \
33305                } \
33306                rel2 { \
33307                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33308                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33309                   to: "base"; \
33310                } \
33311                color: 0 0 0 0; \
33312                visible: 0; \
33313             } \
33314          } \
33315          part { \
33316             name: "cit_"#_pos".event"; \
33317             type: RECT; \
33318             repeat_events: 1; \
33319             description { \
33320                rel1.to: "cit_"#_pos".rect"; \
33321                rel2.to: "cit_"#_pos".rect"; \
33322                state: "default" 0.0; \
33323                color: 0 0 0 0; \
33324             } \
33325          } \
33326          part { name: "cit_"#_pos".shelf"; \
33327             type: RECT; \
33328             mouse_events: 0; \
33329             description { state: "default" 0.0; \
33330                rel1 { \
33331                   to: "cit_"#_pos".bg"; \
33332                   offset: -1 -1; \
33333                } \
33334                rel2 { \
33335                   to: "cit_"#_pos".bg"; \
33336                } \
33337                color: 200 200 200 255; \
33338             } \
33339          } \
33340          part { name: "cit_"#_pos".hd"; \
33341             type: RECT; \
33342             mouse_events: 0; \
33343             description { state: "default" 0.0; \
33344                rel1 { \
33345                   to: "cit_"#_pos".bg"; \
33346                   offset: -1 -1; \
33347                } \
33348                rel2 { \
33349                   to: "cit_"#_pos".bg"; \
33350                } \
33351                visible: 0; \
33352                color: 160 0 0 255; \
33353             } \
33354             description { state: "visible" 0.0; \
33355                inherit: "default" 0.0; \
33356                visible: 1; \
33357             } \
33358          } \
33359          part { \
33360             name: "cit_"#_pos".base_sh"; \
33361             mouse_events: 0; \
33362             description { \
33363                state: "default" 0.0; \
33364                align: 0.0 0.0; \
33365                min: 0 1; \
33366                rel1 { \
33367                   to: "cit_"#_pos".base"; \
33368                   relative: 0.0 1.0; \
33369                   offset: 0 0; \
33370                } \
33371                rel2 { \
33372                   to: "cit_"#_pos".base"; \
33373                   relative: 1.0 1.05; \
33374                   offset: -1 0; \
33375                } \
33376                image { \
33377                   normal: "ilist_item_shadow.png"; \
33378                } \
33379                fill.smooth: 0; \
33380             } \
33381          } \
33382          part { \
33383             name: "cit_"#_pos".base"; \
33384             mouse_events: 0; \
33385             description { \
33386                state: "default" 0.0; \
33387                rel1.to: "cit_"#_pos".rect"; \
33388                rel2.to: "cit_"#_pos".rect"; \
33389                rel2.offset: -1 -1; \
33390                image { \
33391                   normal: "ilist_1.png"; \
33392                   border: 2 2 2 2; \
33393                } \
33394                fill.smooth: 0; \
33395             } \
33396             description { \
33397                state: "today" 0.0; \
33398                inherit: "default" 0.0; \
33399                image.normal: "ilist_2.png"; \
33400                color: 240 240 240 255; \
33401             } \
33402          } \
33403          part { name: "cit_"#_pos".bg"; \
33404             mouse_events: 0; \
33405             description { state: "default" 0.0; \
33406                visible: 0; \
33407                color: 255 255 255 0; \
33408                rel1 { \
33409                   to: "cit_"#_pos".rect"; \
33410                   relative: 0.0 0.0; \
33411                } \
33412                rel2 { \
33413                   to: "cit_"#_pos".rect"; \
33414                   relative: 1.0 1.0; \
33415                   offset: -1 -1; \
33416                } \
33417                image { \
33418                   normal: "bt_sm_base1.png"; \
33419                   border: 6 6 6 6; \
33420                } \
33421                image.middle: SOLID; \
33422             } \
33423             description { state: "selected" 0.0; \
33424                inherit: "default" 0.0; \
33425                visible: 1; \
33426                color: 255 255 255 255; \
33427             } \
33428          } \
33429          part { name: "cit_"#_pos".text"; \
33430             type: TEXT; \
33431             effect: SOFT_SHADOW; \
33432             mouse_events: 0; \
33433             scale: 1; \
33434             description { \
33435                state: "default" 0.0; \
33436                rel1.to: "cit_"#_pos".bg"; \
33437                rel2.to: "cit_"#_pos".bg"; \
33438                color: 0 0 0 255; \
33439                color3: 0 0 0 0; \
33440                text { \
33441                   font: "Sans"; \
33442                   size: 10; \
33443                   min: 1 1; \
33444                   align: 0.5 0.5; \
33445                } \
33446             } \
33447             description { state: "selected" 0.0; \
33448                inherit: "default" 0.0; \
33449                color: 224 224 224 255; \
33450                color3: 0 0 0 64; \
33451             } \
33452          } \
33453          part { name: "cit_"#_pos".fg1"; \
33454             mouse_events: 0; \
33455             description { state: "default" 0.0; \
33456                visible: 0; \
33457                color: 255 255 255 0; \
33458                rel1.to: "cit_"#_pos".bg"; \
33459                rel2.relative: 1.0 0.5; \
33460                rel2.to: "cit_"#_pos".bg"; \
33461                image { \
33462                   normal: "bt_sm_hilight.png"; \
33463                   border: 6 6 6 0; \
33464                } \
33465             } \
33466             description { state: "selected" 0.0; \
33467                inherit: "default" 0.0; \
33468                visible: 1; \
33469                color: 255 255 255 255; \
33470             } \
33471          } \
33472          part { name: "cit_"#_pos".fg2"; \
33473             mouse_events: 0; \
33474             description { state: "default" 0.0; \
33475                visible: 0; \
33476                color: 255 255 255 0; \
33477                rel1.to: "cit_"#_pos".bg"; \
33478                rel2.to: "cit_"#_pos".bg"; \
33479                image { \
33480                   normal: "bt_sm_shine.png"; \
33481                   border: 6 6 6 0; \
33482                } \
33483             } \
33484             description { state: "selected" 0.0; \
33485                inherit: "default" 0.0; \
33486                visible: 1; \
33487                color: 255 255 255 255; \
33488             } \
33489          } \
33490          part { name: "cit_"#_pos".check"; \
33491             mouse_events: 0; \
33492             description { state: "default" 0.0; \
33493                rel1 { \
33494                   to: "cit_"#_pos".bg"; \
33495                   relative: 0.7 0.6; \
33496                   offset: 1 1; \
33497                } \
33498                rel2 { \
33499                   to: "cit_"#_pos".bg"; \
33500                   relative: 1.1 1.2; \
33501                   offset: -2 -2; \
33502                } \
33503                aspect: 1 1; \
33504                visible: 0; \
33505                color: 255 0 0 255; \
33506                image.normal: "check.png"; \
33507             } \
33508             description { state: "visible" 0.0; \
33509                inherit: "default" 0.0; \
33510                visible: 1; \
33511             } \
33512          } \
33513       programs { \
33514          program { \
33515             name:    "cit_"#_pos".go_active"; \
33516             signal:  "cit_"#_pos",selected"; \
33517             source:  "elm"; \
33518             action:  STATE_SET "selected" 0.0; \
33519             target:  "cit_"#_pos".bg"; \
33520             target:  "cit_"#_pos".fg1"; \
33521             target:  "cit_"#_pos".fg2"; \
33522             target:  "cit_"#_pos".text"; \
33523          } \
33524          program { \
33525             name:    "cit_"#_pos".go_passive"; \
33526             signal:  "cit_"#_pos",unselected"; \
33527             source:  "elm"; \
33528             action:  STATE_SET "default" 0.0; \
33529             target:  "cit_"#_pos".bg"; \
33530             target:  "cit_"#_pos".fg1"; \
33531             target:  "cit_"#_pos".fg2"; \
33532             target:  "cit_"#_pos".text"; \
33533          } \
33534          program { \
33535             name:    "cit_"#_pos".is_today"; \
33536             signal:  "cit_"#_pos",today"; \
33537             source:  "elm"; \
33538             action:  STATE_SET "today" 0.0; \
33539             target: "cit_"#_pos".base"; \
33540          } \
33541          program { \
33542             name:    "cit_"#_pos".not_today"; \
33543             signal:  "cit_"#_pos",not_today"; \
33544             source:  "elm"; \
33545             action:  STATE_SET "default" 0.0; \
33546             target: "cit_"#_pos".base"; \
33547          } \
33548          program { \
33549             source: "cit_"#_pos".clicked"; \
33550             signal: "mouse,clicked,1"; \
33551             source: "cit_"#_pos".event"; \
33552             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33553          } \
33554          program { \
33555             name:    "cit_"#_pos".clear"; \
33556             signal:  "cit_"#_pos",clear"; \
33557             source:  "elm"; \
33558             action:  STATE_SET "default" 0.0; \
33559             target: "cit_"#_pos".check"; \
33560             target: "cit_"#_pos".hd"; \
33561          } \
33562          program { \
33563             name:    "cit_"#_pos".checked"; \
33564             signal:  "cit_"#_pos",checked"; \
33565             source:  "elm"; \
33566             action:  STATE_SET "visible" 0.0; \
33567             target: "cit_"#_pos".check"; \
33568          } \
33569          program { \
33570             name:    "cit_"#_pos".holiday"; \
33571             signal:  "cit_"#_pos",holiday"; \
33572             source:  "elm"; \
33573             action:  STATE_SET "visible" 0.0; \
33574             target: "cit_"#_pos".hd"; \
33575          } \
33576       }
33577
33578    group { name: "elm/calendar/base/default";
33579        images {
33580            image: "shelf_inset.png" COMP;
33581            image: "bt_base1.png" COMP;
33582            image: "bt_hilight.png" COMP;
33583            image: "bt_shine.png" COMP;
33584            image: "bt_glow.png" COMP;
33585            image: "bt_dis_base.png" COMP;
33586            image: "bt_dis_hilight.png" COMP;
33587            image: "sp_bt_l.png" COMP;
33588            image: "sp_bt_r.png" COMP;
33589            image: "bt_sm_base1.png" COMP;
33590            image: "bt_sm_shine.png" COMP;
33591            image: "bt_sm_hilight.png" COMP;
33592            image: "ilist_1.png" COMP;
33593            image: "ilist_2.png" COMP;
33594            image: "ilist_item_shadow.png" COMP;
33595            image: "check.png" COMP;
33596        }
33597        parts {
33598            part { name: "bg";
33599                type: RECT;
33600                description { state: "default" 0.0;
33601                    min: 0 30;
33602                    rel1.offset: 1 1;
33603                    rel2.offset: -2 -2;
33604                    color: 255 255 255 0;
33605                    align: 0.0 0.5;
33606                }
33607            }
33608            part { name: "spinner-base";
33609                type: RECT;
33610                mouse_events: 0;
33611                description { state: "default" 0.0;
33612                    min: 24 24;
33613                    max: 999999 24;
33614                    rel1.to: "bg";
33615                    rel1.offset: 6 6;
33616                    rel2.to: "bg";
33617                    rel2.offset: -7 -7;
33618                    color: 255 255 255 0;
33619                    align: 0.0 0.0;
33620                }
33621            }
33622            part { name: "conf_over_spinner";
33623                mouse_events:  0;
33624                description { state: "default" 0.0;
33625                    rel1.to: "spinner-base";
33626                    rel1.offset: -3 -3;
33627                    rel2.to: "spinner-base";
33628                    rel2.offset: 2 2;
33629                    image {
33630                        normal: "shelf_inset.png";
33631                        border: 7 7 7 7;
33632                        middle: 0;
33633                    }
33634                    fill.smooth : 0;
33635                }
33636            }
33637            part { name: "table-base";
33638                type: RECT;
33639                mouse_events: 0;
33640                description { state: "default" 0.0;
33641                    min: 256 220;
33642                    rel1.to_x: "bg";
33643                    rel1.to_y: "spinner-base";
33644                    rel1.offset: 6 6;
33645                    rel1.relative: 0 1;
33646                    rel2.to: "bg";
33647                    rel2.offset: -7 -7;
33648                    color: 255 255 255 0;
33649                }
33650            }
33651            part { name: "conf_over_table";
33652                mouse_events:  0;
33653                description { state: "default" 0.0;
33654                    rel1.to: "table-base";
33655                    rel1.offset: -3 -3;
33656                    rel2.to: "table-base";
33657                    rel2.offset: 2 2;
33658                    image {
33659                        normal: "shelf_inset.png";
33660                        border: 7 7 7 7;
33661                        middle: 0;
33662                    }
33663                    fill.smooth : 0;
33664                }
33665            }
33666            part { name: "header";
33667                type: RECT;
33668                mouse_events: 0;
33669                description { state: "default" 0.0;
33670                    rel1.to: "table-base";
33671                    rel1.relative: 0 0;
33672                    rel2.to: "table-base";
33673                    rel2.relative: 1 0.1;
33674                    color: 255 255 255 0;
33675                }
33676            }
33677            part { name: "base";
33678                type: RECT;
33679                mouse_events: 0;
33680                description { state: "default" 0.0;
33681                    rel1.to_x: "table-base";
33682                    rel1.to_y: "header";
33683                    rel1.relative: 0 1;
33684                    rel1.offset: 3 0;
33685                    rel2.to: "table-base";
33686                    rel2.offset: -3 0;
33687                    color: 255 255 255 0;
33688                }
33689            }
33690            part { name: "left_bt";
33691                mouse_events:  1;
33692                description { state: "default" 0.0;
33693                    rel1 { to: "spinner-base";
33694                        offset: 2 2;
33695                    }
33696                    rel2 { to: "spinner-base";
33697                        offset: -3 -3;
33698                    }
33699                    align: 0.0 0.5;
33700                    min: 24 24;
33701                    max: 24 24;
33702                    fixed: 1 1;
33703                    image {
33704                        normal: "bt_base1.png";
33705                        border: 6 6 6 6;
33706                    }
33707                    fill.smooth : 0;
33708                }
33709                description { state: "clicked" 0.0;
33710                    inherit: "default" 0.0;
33711                    image.normal: "bt_base1.png";
33712                    image.middle: SOLID;
33713                }
33714            }
33715            part { name: "left_over1";
33716                mouse_events: 0;
33717                description { state: "default" 0.0;
33718                    rel1.to: "left_bt";
33719                    rel2 { to: "left_bt";
33720                        relative: 1.0 0.5;
33721                    }
33722                    image {
33723                        normal: "bt_hilight.png";
33724                        border: 7 7 7 0;
33725                    }
33726                }
33727            }
33728            part { name: "left_over2";
33729                mouse_events: 1;
33730                repeat_events: 1;
33731                description { state: "default" 0.0;
33732                    rel1.to: "left_bt";
33733                    rel2.to: "left_bt";
33734                    image {
33735                        normal: "bt_shine.png";
33736                        border: 7 7 7 7;
33737                    }
33738                }
33739            }
33740            part { name: "left_over3";
33741                mouse_events: 1;
33742                repeat_events: 1;
33743                description { state: "default" 0.0;
33744                    color: 255 255 255 0;
33745                    rel1.to: "left_bt";
33746                    rel2.to: "left_bt";
33747                    image {
33748                        normal: "bt_glow.png";
33749                        border: 12 12 12 12;
33750                    }
33751                    fill.smooth : 0;
33752                }
33753                description { state: "clicked" 0.0;
33754                    inherit:  "default" 0.0;
33755                    visible: 1;
33756                    color: 255 255 255 255;
33757                }
33758            }
33759            part { name: "right_bt";
33760                mouse_events:  1;
33761                description { state: "default" 0.0;
33762                    rel1 { to: "spinner-base";
33763                        offset: -27 3;
33764                    }
33765                    rel2 { to: "spinner-base";
33766                        offset: -3 -3;
33767                    }
33768                    align: 1.0 0.5;
33769                    min: 24 24;
33770                    max: 24 24;
33771                    fixed: 1 1;
33772                    image {
33773                        normal: "bt_base1.png";
33774                        border: 5 5 4 12;
33775                    }
33776                    fill.smooth : 0;
33777                }
33778                description { state: "clicked" 0.0;
33779                    inherit: "default" 0.0;
33780                    image.normal: "bt_base1.png";
33781                    image.middle: SOLID;
33782                }
33783            }
33784            part { name: "right_over1";
33785                mouse_events: 0;
33786                description { state: "default" 0.0;
33787                    rel1.to: "right_bt";
33788                    rel2 { to: "right_bt";
33789                        relative: 1.0 0.5;
33790                    }
33791                    image {
33792                        normal: "bt_hilight.png";
33793                        border: 7 7 7 0;
33794                    }
33795                }
33796            }
33797            part { name: "right_over2";
33798                mouse_events: 1;
33799                repeat_events: 1;
33800                description { state: "default" 0.0;
33801                    rel1.to: "right_bt";
33802                    rel2.to: "right_bt";
33803                    image {
33804                        normal: "bt_shine.png";
33805                        border: 7 7 7 7;
33806                    }
33807                }
33808            }
33809            part { name: "right_over3";
33810                mouse_events: 1;
33811                repeat_events: 1;
33812                description { state: "default" 0.0;
33813                    color: 255 255 255 0;
33814                    rel1.to: "right_bt";
33815                    rel2.to: "right_bt";
33816                    image {
33817                        normal: "bt_glow.png";
33818                        border: 12 12 12 12;
33819                    }
33820                    fill.smooth : 0;
33821                }
33822                description { state: "clicked" 0.0;
33823                    inherit:  "default" 0.0;
33824                    visible: 1;
33825                    color: 255 255 255 255;
33826                }
33827            }
33828            part { name: "left_bt_icon";
33829                repeat_events: 1;
33830                description { state: "default" 0.0;
33831                    rel1.to: "left_bt";
33832                    rel2.to: "left_bt";
33833                    align: 0.5 0.5;
33834                    min: 16 16;
33835                    max: 16 16;
33836                    image.normal: "sp_bt_l.png";
33837                }
33838                description { state: "rtl" 0.0;
33839                    inherit: "default" 0.0;
33840                    image.normal: "sp_bt_r.png";
33841                }
33842            }
33843            part { name: "right_bt_icon";
33844                repeat_events: 1;
33845                description { state: "default" 0.0;
33846                    rel1.to: "right_bt";
33847                    rel2.to: "right_bt";
33848                    align: 0.5 0.5;
33849                    min: 16 16;
33850                    max: 16 16;
33851                    image.normal: "sp_bt_r.png";
33852                }
33853                description { state: "rtl" 0.0;
33854                    inherit: "default" 0.0;
33855                    image.normal: "sp_bt_l.png";
33856                }
33857            }
33858            part { name: "month_text";
33859                type: TEXT;
33860                mouse_events: 0;
33861                scale: 1;
33862                description { state: "default" 0.0;
33863                    align: 0 0.5;
33864                    fixed: 1 1;
33865                    rel1 { relative: 1.0 0.0;
33866                        offset: 3 2;
33867                        to: "left_bt";
33868                        to_y: "spinner-base";
33869                    }
33870                    rel2 { relative: 0.0 1.0;
33871                        offset: -3 -2;
33872                        to_x: "right_bt";
33873                        to_y: "spinner-base";
33874                    }
33875                    color: 0 0 0 255;
33876                    text {
33877                        font: "Sans,Edje-Vera";
33878                        size: 12;
33879                        min: 1 1;
33880                        align: 0.5 0.5;
33881                    }
33882                }
33883            }
33884            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33885            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33886            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33887            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33888            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33889            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33890            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33891        }
33892        programs {
33893            program { name: "dec_start";
33894                signal: "mouse,down,1";
33895                source: "left_bt";
33896                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33897            }
33898            program { name: "dec_stop";
33899                signal: "mouse,up,1";
33900                source: "left_bt";
33901                action: SIGNAL_EMIT "elm,action,stop" "";
33902            }
33903            program { name: "inc_start";
33904                signal: "mouse,down,1";
33905                source: "right_bt";
33906                action: SIGNAL_EMIT "elm,action,increment,start" "";
33907            }
33908            program { name: "inc_stop";
33909                signal: "mouse,up,1";
33910                source: "right_bt";
33911                action: SIGNAL_EMIT "elm,action,stop" "";
33912            }
33913            program {
33914                name:   "left_bt_click";
33915                signal: "mouse,down,1";
33916                source: "left_over2";
33917                action: STATE_SET "clicked" 0.0;
33918                target: "left_bt";
33919            }
33920            program {
33921                name:   "left_bt_unclick";
33922                signal: "mouse,up,1";
33923                source: "left_over2";
33924                action: STATE_SET "default" 0.0;
33925                target: "left_bt";
33926            }
33927            program {
33928                name:   "left_bt_click2";
33929                signal: "mouse,down,1";
33930                source: "left_over3";
33931                action: STATE_SET "clicked" 0.0;
33932                target: "left_over3";
33933            }
33934            program {
33935                name:   "left_bt_unclick2";
33936                signal: "mouse,up,1";
33937                source: "left_over3";
33938                action: STATE_SET "default" 0.0;
33939                transition: DECELERATE 0.5;
33940                target: "left_over3";
33941            }
33942            program {
33943                name:   "right_bt_click";
33944                signal: "mouse,down,1";
33945                source: "right_over2";
33946                action: STATE_SET "clicked" 0.0;
33947                target: "right_bt";
33948            }
33949            program {
33950                name:   "right_bt_unclick";
33951                signal: "mouse,up,1";
33952                source: "right_over2";
33953                action: STATE_SET "default" 0.0;
33954                target: "right_bt";
33955            }
33956            program {
33957                name:   "right_bt_click2";
33958                signal: "mouse,down,1";
33959                source: "right_over3";
33960                action: STATE_SET "clicked" 0.0;
33961                target: "right_over3";
33962            }
33963            program {
33964                name:   "right_bt_unclick2";
33965                signal: "mouse,up,1";
33966                source: "right_over3";
33967                action: STATE_SET "default" 0.0;
33968                transition: DECELERATE 0.5;
33969                target: "right_over3";
33970            }
33971            program { name: "to_rtl";
33972                signal: "edje,state,rtl";
33973                source: "edje";
33974                action: STATE_SET "rtl" 0.0;
33975                target: "right_bt_icon";
33976                target: "left_bt_icon";
33977            }
33978            program { name: "to_ltr";
33979                signal: "edje,state,ltr";
33980                source: "edje";
33981                action: STATE_SET "default" 0.0;
33982                target: "right_bt_icon";
33983                target: "left_bt_icon";
33984            }
33985        }
33986    }
33987
33988 #undef CIT
33989 #undef CH
33990
33991 ////////////////////////////////////////////////////////////////////////////////
33992 // colorselector
33993 ////////////////////////////////////////////////////////////////////////////////
33994    group { name: "elm/colorselector/bg/default";
33995       parts {
33996          part { name: "elm.colorbar_0";
33997             type: SWALLOW;
33998             mouse_events: 1;
33999             description { state: "default" 0.0;
34000                min: 120 30;
34001                rel1.relative: 0.0 0.00653594771;
34002                rel2.relative: 1.0 0.254901961;
34003             }
34004          }
34005          part { name: "elm.colorbar_1";
34006             type: SWALLOW;
34007             mouse_events: 1;
34008             description { state: "default" 0.0;
34009                min: 120 30;
34010                rel1.relative: 0.0 0.254901961;
34011                rel2.relative: 1.0 0.503267974;
34012             }
34013          }
34014          part { name: "elm.colorbar_2";
34015             type: SWALLOW;
34016             mouse_events: 1;
34017             description { state: "default" 0.0;
34018                min: 120 30;
34019                rel1.relative: 0.0 0.503267974;
34020                rel2.relative: 1.0 0.751633987;
34021             }
34022          }
34023          part { name: "elm.colorbar_3";
34024             type: SWALLOW;
34025             mouse_events: 1;
34026             description { state: "default" 0.0;
34027                min: 120 30;
34028                rel1.relative: 0.0 0.751633987;
34029                rel2.relative: 1.0 1.0;
34030             }
34031          }
34032       }
34033    }
34034
34035    group { name: "elm/colorselector/base/default";
34036       parts {
34037          part { name: "elm.bar_bg";
34038             type: SWALLOW;
34039             mouse_events: 0;
34040             description { state: "default" 0.0;
34041                min: 60 22;
34042                rel1 {
34043                   relative: 0.0 0.8;
34044                   to_x: "elm.arrow_bg";
34045                   to_y: "elm.arrow_icon";
34046                   offset: 0 0;
34047                }
34048                rel2 {
34049                   relative: 1.0 0.83;
34050                   to_x: "elm.arrow_bg";
34051                   offset: 0 0;
34052                }
34053             }
34054          }
34055          part { name: "elm.bar";
34056             type: SWALLOW;
34057             mouse_events: 0;
34058             description { state: "default" 0.0;
34059                rel1.to: "elm.bar_bg";
34060                rel2.to: "elm.bar_bg";
34061             }
34062          }
34063          part { name: "elm.arrow_bg";
34064             type: SWALLOW;
34065             mouse_events: 1;
34066             description { state: "default" 0.0;
34067                rel1 {
34068                   relative: 1.0 0.17;
34069                   offset: 3 0;
34070                   to_x: "elm.l_button";
34071                }
34072                rel2 {
34073                   relative: 0.0 0.83;
34074                      offset: -4 0;
34075                   to_x: "elm.r_button";
34076                }
34077             }
34078          }
34079          part { name: "elm.arrow";
34080             type: RECT;
34081             mouse_events: 1;
34082             scale: 1;
34083             description { state: "default" 0.0;
34084                min: 1 1;
34085                fixed: 1 1;
34086                align: 0 0;
34087                rel1 {
34088                   to_x: "elm.arrow_bg";
34089                }
34090                rel2 {
34091                   relative: 0.0 0.17;
34092                   to_x: "elm.arrow_bg";
34093                }
34094                color: 0 0 0 0;
34095                visible: 0;
34096             }
34097             dragable {
34098                confine: "elm.arrow_bg";
34099                x: 1 1 0;
34100                y: 0 0 0;
34101             }
34102          }
34103          part { name: "elm.arrow_icon";
34104             type: SWALLOW;
34105             mouse_events: 0;
34106             description { state: "default" 0.0;
34107                min: 25 15;
34108                max: 25 15;
34109                fixed: 1 1;
34110                align: 0.5 0;
34111                rel1 {
34112                   to_x: "elm.arrow";
34113                }
34114                rel2 {
34115                   relative: 1.0 0.0;
34116                   offset: 0 10;
34117                   to_x: "elm.arrow";
34118                }
34119             }
34120          }
34121          part { name: "event";
34122             type: RECT;
34123             mouse_events: 1;
34124             description { state: "default" 0.0;
34125                rel1 {
34126                   to: "elm.arrow_icon";
34127                }
34128                rel2 {
34129                   to_x: "elm.arrow_icon";
34130                   to_y: "elm.arrow_bg";
34131                   offset: 0 0;
34132                }
34133                color: 0 0 0 0;
34134             }
34135             dragable {
34136                events: "elm.arrow";
34137             }
34138          }
34139          part { name: "elm.l_button";
34140             type: SWALLOW;
34141             mouse_events: 1;
34142             scale: 1;
34143             description { state: "default" 0.0;
34144                min: 24 24;
34145                fixed: 1 1;
34146                rel1 {
34147                   relative: 0.0 0.0;
34148                   to_y: "elm.bar_bg";
34149                }
34150                rel2 {
34151                   relative: 0.0 1.0;
34152                   to_y: "elm.bar_bg";
34153                }
34154                align: 0.0 0.5;
34155             }
34156          }
34157          part { name: "elm.r_button";
34158             type: SWALLOW;
34159             mouse_events: 1;
34160             scale: 1;
34161             description {
34162                state: "default" 0.0;
34163                min: 24 24;
34164                fixed: 1 1;
34165                rel1 {
34166                   relative: 1.0 0.0;
34167                   to_y: "elm.bar_bg";
34168                }
34169                rel2 {
34170                   relative: 1.0 1.0;
34171                   to_y: "elm.bar_bg";
34172                }
34173                align: 1.0 0.5;
34174             }
34175          }
34176       }
34177    }
34178
34179    group{ name: "elm/colorselector/image/colorbar_0";
34180       images {
34181          image: "color_picker_color.png" COMP;
34182       }
34183       parts {
34184          part { name: "colorbar_0_image";
34185             type: IMAGE;
34186             mouse_events: 1;
34187             description { state: "default" 0.0;
34188                rel2.offset: -1 -1;
34189                image.normal: "color_picker_color.png";
34190             }
34191          }
34192       }
34193    }
34194
34195    group { name: "elm/colorselector/image/colorbar_1";
34196       images {
34197          image: "color_picker_opacity.png" COMP;
34198       }
34199       parts {
34200          part { name: "colorbar_1_image";
34201             type: IMAGE;
34202             mouse_events: 1;
34203             description { state: "default" 0.0;
34204                rel2.offset: -1 -1;
34205                image.normal: "color_picker_opacity.png";
34206             }
34207          }
34208       }
34209    }
34210
34211    group { name: "elm/colorselector/image/colorbar_2";
34212       images {
34213          image: "color_picker_brightness.png" COMP;
34214       }
34215       parts {
34216          part { name: "colorbar_2_image";
34217             type: IMAGE;
34218             mouse_events: 1;
34219             description { state: "default" 0.0;
34220                rel2.offset: -1 -1;
34221                image.normal: "color_picker_brightness.png";
34222             }
34223          }
34224       }
34225    }
34226
34227    group { name: "elm/colorselector/image/colorbar_3";
34228       images {
34229          image: "color_picker_alpha.png" COMP;
34230       }
34231       parts {
34232          part { name: "colorbar_3_image";
34233             type: IMAGE;
34234             mouse_events: 1;
34235             description { state: "default" 0.0;
34236                rel2.offset: -1 -1;
34237                image.normal: "color_picker_alpha.png";
34238             }
34239          }
34240       }
34241    }
34242
34243    group { name: "elm/colorselector/bg_image/colorbar_3";
34244       images {
34245          image: "color_picker_alpha_bg.png" COMP;
34246       }
34247       parts {
34248          part { name: "colorbar_3_image";
34249             type: IMAGE;
34250             mouse_events: 1;
34251             description { state: "default" 0.0;
34252                rel2.offset: -1 -1;
34253                image.normal: "color_picker_alpha_bg.png";
34254             }
34255          }
34256       }
34257    }
34258
34259    group { name: "elm/colorselector/image/updown";
34260       images {
34261          image: "icon_arrow_down.png" COMP;
34262       }
34263       parts {
34264          part { name: "bg";
34265             type: RECT;
34266             mouse_events: 1;
34267             description { state: "default" 0.0;
34268                color: 0 0 0 0;
34269             }
34270          }
34271          part { name: "arrow_image";
34272             type: IMAGE;
34273             mouse_events: 1;
34274             description { state: "default" 0.0;
34275                image.normal: "icon_arrow_down.png";
34276             }
34277          }
34278       }
34279    }
34280
34281    group { name: "elm/colorselector/button/left";
34282       images {
34283          image: "bt_base1.png" COMP;
34284          image: "bt_shine.png" COMP;
34285          image: "sp_bt_l.png" COMP;
34286       }
34287       parts {
34288          part { name: "button_image";
34289             mouse_events: 1;
34290             description { state: "default" 0.0;
34291                image.normal: "bt_base1.png";
34292                image.border: 6 6 6 6;
34293                image.middle: SOLID;
34294             }
34295
34296             description { state: "clicked" 0.0;
34297                inherit: "default" 0.0;
34298                image.normal: "bt_shine.png";
34299                image.border: 6 6 6 6;
34300                image.middle: SOLID;
34301             }
34302          }
34303          part { name: "btn_over";
34304             type: IMAGE;
34305             mouse_events: 0;
34306             description { state: "default" 0.0;
34307                rel1.to: "button_image";
34308                rel2 {
34309                   relative: 1.0 0.5;
34310                   to: "button_image";
34311                }
34312                image {
34313                   normal: "bt_hilight.png";
34314                   border: 7 7 7 0;
34315                }
34316             }
34317          }
34318          part { name: "btn_over2";
34319             type: IMAGE;
34320             mouse_events: 1;
34321             repeat_events: 1;
34322             ignore_flags: ON_HOLD;
34323             description { state: "default" 0.0;
34324                rel1.to: "button_image";
34325                rel2.to: "button_image";
34326                image {
34327                   normal: "bt_shine.png";
34328                   border: 7 7 7 7;
34329                }
34330             }
34331          }
34332          part { name: "focus_image";
34333             type: IMAGE;
34334             description { state: "default" 0.0;
34335                color: 255 255 255 0;
34336                rel1.to: "button_image";
34337                rel2.to: "button_image";
34338                image {
34339                   normal: "bt_glow.png";
34340                   border: 12 12 12 12;
34341                }
34342                fill.smooth: 0;
34343
34344             }
34345             description { state: "clicked" 0.0;
34346                inherit: "default" 0.0;
34347                visible: 1;
34348                color: 255 255 255 255;
34349             }
34350          }
34351          part { name: "left_arrow";
34352             mouse_events: 1;
34353             description { state: "default" 0.0;
34354                min: 16 16;
34355                max: 16 16;
34356                image.normal: "sp_bt_l.png";
34357             }
34358          }
34359       }
34360
34361       programs {
34362          program {
34363             name:   "button_down";
34364             signal: "elm,state,left,button,down";
34365             source: "left_button";
34366             action: STATE_SET "clicked" 0.0;
34367             target: "button_image";
34368             target: "focus_image";
34369          }
34370          program {
34371             name:   "button_up";
34372             signal: "elm,state,left,button,up";
34373             source: "left_button";
34374             action: STATE_SET "default" 0.0;
34375             target: "button_image";
34376             target: "focus_image";
34377          }
34378       }
34379    }
34380
34381    group { name: "elm/colorselector/button/right";
34382       images {
34383          image: "bt_base1.png" COMP;
34384          image: "bt_shine.png" COMP;
34385          image: "sp_bt_r.png" COMP;
34386       }
34387       parts {
34388          part { name: "button_image";
34389             mouse_events: 1;
34390             description { state: "default" 0.0;
34391                image.normal: "bt_base1.png";
34392                image.border: 6 6 6 6;
34393                image.middle: SOLID;
34394             }
34395
34396             description { state: "clicked" 0.0;
34397                inherit: "default" 0.0;
34398                image.normal: "bt_shine.png";
34399                image.border: 6 6 6 6;
34400                image.middle: SOLID;
34401             }
34402          }
34403          part { name: "btn_over";
34404             type: IMAGE;
34405             mouse_events: 0;
34406             description { state: "default" 0.0;
34407                rel1.to: "button_image";
34408                rel2 {
34409                   relative: 1.0 0.5;
34410                   to: "button_image";
34411                }
34412                image {
34413                   normal: "bt_hilight.png";
34414                   border: 7 7 7 0;
34415                }
34416             }
34417          }
34418          part { name: "btn_over2";
34419             type: IMAGE;
34420             mouse_events: 1;
34421             repeat_events: 1;
34422             ignore_flags: ON_HOLD;
34423             description { state: "default" 0.0;
34424                rel1.to: "button_image";
34425                rel2.to: "button_image";
34426                image {
34427                   normal: "bt_shine.png";
34428                   border: 7 7 7 7;
34429                }
34430             }
34431          }
34432          part { name: "focus_image";
34433             type: IMAGE;
34434             description { state: "default" 0.0;
34435                color: 255 255 255 0;
34436                rel1.to: "button_image";
34437                rel2.to: "button_image";
34438                image {
34439                   normal: "bt_glow.png";
34440                   border: 12 12 12 12;
34441                }
34442                fill.smooth: 0;
34443
34444             }
34445             description { state: "clicked" 0.0;
34446                inherit: "default" 0.0;
34447                visible: 1;
34448                color: 255 255 255 255;
34449             }
34450          }
34451          part { name: "right_arrow";
34452             mouse_events: 1;
34453             description { state: "default" 0.0;
34454                min: 16 16;
34455                max: 16 16;
34456                image.normal: "sp_bt_r.png";
34457             }
34458          }
34459       }
34460
34461       programs {
34462          program {
34463             name:   "button_down";
34464             signal: "elm,state,right,button,down";
34465             source: "right_button";
34466             action: STATE_SET "clicked" 0.0;
34467             target: "button_image";
34468             target: "focus_image";
34469          }
34470          program {
34471             name:   "button_up";
34472             signal: "elm,state,right,button,up";
34473             source: "right_button";
34474             action: STATE_SET "default" 0.0;
34475             target: "button_image";
34476             target: "focus_image";
34477          }
34478       }
34479    }
34480
34481 ///////////////////////////////////////////////////////////////////////////////
34482 #define FLIP_PICKER_MAX_LEN (50)
34483 #define FLIP_PICKER_MAX_LEN_STR "50"
34484
34485    group { name: "elm/flipselector/base/default";
34486       images {
34487          image: "flip_base.png" COMP;
34488          image: "flip_base_shad.png" COMP;
34489          image: "flip_shad.png" COMP;
34490          image: "arrow_up.png" COMP;
34491          image: "arrow_down.png" COMP;
34492          image: "flip_t.png" COMP;
34493          image: "flip_b.png" COMP;
34494       }
34495
34496       data {
34497          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34498       }
34499
34500       //FIXME: quick successive clicks on, say, up, lead to nastiness
34501       script {
34502          public cur, prev, next, lock;
34503
34504          public animator_bottom_down(val, Float:pos) {
34505             new tmp[FLIP_PICKER_MAX_LEN];
34506
34507             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34508             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34509                             0.0);
34510             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34511                             0.0);
34512
34513             if (pos >= 1.0) {
34514                set_state(PART:"shadow", "default", 0.0);
34515                set_int(lock, 0);
34516
34517                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34518                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34519                   replace_str(next, 0, "");
34520                   message(MSG_STRING, 1, tmp);
34521                }
34522             }
34523          }
34524
34525          public animator_top_down(val, Float:pos) {
34526             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34527             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34528                             0.0);
34529             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34530                             0.0);
34531
34532             if (pos >= 1.0)
34533                anim(0.2, "animator_bottom_down", val);
34534          }
34535
34536          public animator_bottom_up(val, Float:pos) {
34537             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34538             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34539                             0.0);
34540             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34541                             0.0);
34542
34543             if (pos >= 1.0)
34544                anim(0.2, "animator_top_up", val);
34545          }
34546
34547          public animator_top_up(val, Float:pos) {
34548             new tmp[FLIP_PICKER_MAX_LEN];
34549
34550             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34551             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34552                             0.0);
34553             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34554                             0.0);
34555
34556             if (pos >= 1.0) {
34557                set_state(PART:"shadow", "default", 0.0);
34558                set_int(lock, 0);
34559
34560                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34561                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34562                   replace_str(next, 0, "");
34563                   message(MSG_STRING, 2, tmp);
34564                }
34565             }
34566          }
34567
34568          public message(Msg_Type:type, id, ...) {
34569             /* flip down */
34570             if ((type == MSG_STRING) && (id == 1)) {
34571                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34572
34573                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34574
34575                if (get_int(lock) == 1) {
34576                   replace_str(next, 0, value);
34577                   return;
34578                }
34579
34580                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34581
34582                set_text(PART:"bottom_b", tmp);
34583
34584                set_state(PART:"top", "shrink", 0.0);
34585                set_text(PART:"top", tmp);
34586                set_state(PART:"top", "default", 0.0);
34587                set_text(PART:"top", tmp);
34588
34589                replace_str(prev, 0, tmp);
34590
34591                set_state(PART:"bottom", "default", 0.0);
34592                set_text(PART:"bottom", value);
34593                set_state(PART:"bottom", "shrink", 0.0);
34594                set_text(PART:"bottom", value);
34595
34596                set_text(PART:"top_b", value);
34597
34598                replace_str(cur, 0, value);
34599
34600                set_state(PART:"bottom_sheet", "shrink", 0.0);
34601                set_state(PART:"top_sheet", "default", 0.0);
34602
34603                set_int(lock, 1);
34604                set_state(PART:"shadow", "default", 0.0);
34605                anim(0.2, "animator_top_down", 1);
34606             }
34607
34608             /* flip up */
34609             if ((type == MSG_STRING) && (id == 2)) {
34610                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34611
34612                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34613
34614                if (get_int(lock) == 1) {
34615                   replace_str(next, 0, value);
34616                   return;
34617                }
34618
34619                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34620
34621                set_text(PART:"top_b", tmp);
34622
34623                set_state(PART:"bottom", "shrink", 0.0);
34624                set_text(PART:"bottom", tmp);
34625                set_state(PART:"bottom", "default", 0.0);
34626                set_text(PART:"bottom", tmp);
34627
34628                replace_str(prev, 0, tmp);
34629
34630                set_state(PART:"top", "default", 0.0);
34631                set_text(PART:"top", value);
34632                set_state(PART:"top", "shrink", 0.0);
34633                set_text(PART:"top", value);
34634
34635                set_text(PART:"bottom_b", value);
34636
34637                replace_str(cur, 0, value);
34638
34639                set_state(PART:"bottom_sheet", "default", 0.0);
34640                set_state(PART:"top_sheet", "shrink", 0.0);
34641
34642                set_int(lock, 1);
34643                set_state(PART:"shadow", "full", 0.0);
34644                anim(0.2, "animator_bottom_up", 1);
34645             }
34646          }
34647       }
34648
34649       parts {
34650          part { name: "shad";
34651             mouse_events: 0;
34652             description { state: "default" 0.0;
34653                rel1.offset: -4 -4;
34654                rel1.to: "base";
34655                rel2.offset: 3 3;
34656                rel2.to: "base";
34657                image {
34658                   normal: "flip_base_shad.png";
34659                   border: 8 8 8 8;
34660                }
34661             }
34662          }
34663
34664          part { name: "base";
34665             scale: 1;
34666             description { state: "default" 0.0;
34667                rel1.offset: 4 4;
34668                rel2.offset: -5 -5;
34669                min: 24 48;
34670                image.normal: "flip_base.png";
34671             }
34672          }
34673
34674          part { name: "b";
34675             type: RECT;
34676             mouse_events: 1;
34677             description { state: "default" 0.0;
34678                rel1.to: "base";
34679                rel1.relative: 0.0 0.5;
34680                rel2.to: "base";
34681                color: 0 0 0 0;
34682             }
34683             description { state: "hidden" 0.0;
34684                inherit: "default" 0.0;
34685                visible: 0;
34686             }
34687          }
34688
34689          part { name: "t";
34690             type: RECT;
34691             mouse_events: 1;
34692             description { state: "default" 0.0;
34693                rel1.to: "base";
34694                rel2.to: "base";
34695                rel2.relative: 1.0 0.5;
34696                color: 0 0 0 0;
34697             }
34698             description { state: "hidden" 0.0;
34699                inherit: "default" 0.0;
34700                visible: 0;
34701             }
34702          }
34703
34704          part { name: "bottom_sheet_static";
34705             mouse_events: 0;
34706             description { state: "default" 0.0;
34707                visible: 1;
34708                rel1.to: "b";
34709                rel2.to: "b";
34710                image.normal: "flip_b.png";
34711             }
34712          }
34713
34714          part { name: "bottom_b";
34715             mouse_events: 0;
34716             clip_to: "bottom_clipper";
34717             type: TEXT;
34718             scale: 1;
34719             description { state: "default" 0.0;
34720                rel1.to: "base";
34721                rel2.to: "base";
34722                color: 0 0 0 255;
34723                color2: 0 0 0 255;
34724                text {
34725                   font: "Sans:style=Bold,Edje-Vera-Bold";
34726                   size: 30;
34727                   min: 1 1;
34728                   align: 0.5 0.5;
34729                }
34730             }
34731          }
34732
34733          part { name: "shadow";
34734             mouse_events: 0;
34735             description { state: "default" 0.0;
34736                rel1.to: "b";
34737                rel2.to: "b";
34738                rel2.relative: 1.0 0.0;
34739                image.normal: "flip_shad.png";
34740             }
34741             description { state: "half" 0.0;
34742                inherit: "default" 0.0;
34743                rel2.relative: 1.0 0.5;
34744             }
34745             description { state: "full" 0.0;
34746                inherit: "default" 0.0;
34747                rel2.relative: 1.0 1.0;
34748             }
34749          }
34750
34751          part { name: "bottom_sheet";
34752             mouse_events: 0;
34753             description { state: "default" 0.0;
34754                visible: 1;
34755                rel1.to: "b";
34756                rel2.to: "b";
34757                image.normal: "flip_b.png";
34758             }
34759             description { state: "shrink" 0.0;
34760                inherit: "default" 0.0;
34761                visible: 0;
34762                rel2.relative: 1.0 0.0;
34763             }
34764          }
34765
34766          part { name: "bottom";
34767             mouse_events: 0;
34768             clip_to: "bottom_clipper";
34769             type: TEXT;
34770             scale: 1;
34771             description { state: "default" 0.0;
34772                rel1.to: "base";
34773                rel2.to: "base";
34774                color: 0 0 0 255;
34775                color2: 0 0 0 255;
34776                text {
34777                   font: "Sans:style=Bold,Edje-Vera-Bold";
34778                   size: 30;
34779                   min: 1 1;
34780                   align: 0.5 0.5;
34781                }
34782             }
34783             description { state: "shrink" 0.0;
34784                inherit: "default" 0.0;
34785                color: 128 128 128 255;
34786                visible: 0;
34787                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34788             }
34789          }
34790
34791          part { name: "top_sheet_static";
34792             mouse_events: 0;
34793             description { state: "default" 0.0;
34794                visible: 1;
34795                rel1.to: "t";
34796                rel2.to: "t";
34797                image.normal: "flip_t.png";
34798             }
34799          }
34800
34801          part { name: "top_b";
34802             mouse_events: 0;
34803             clip_to: "top_clipper";
34804             type: TEXT;
34805             scale: 1;
34806             description { state: "default" 0.0;
34807                rel1.to: "base";
34808                rel2.to: "base";
34809                color: 0 0 0 255;
34810                color2: 0 0 0 255;
34811                text {
34812                   font: "Sans:style=Bold,Edje-Vera-Bold";
34813                   size: 30;
34814                   min: 1 1;
34815                   align: 0.5 0.5;
34816                   source: "top";
34817                }
34818             }
34819          }
34820
34821          part { name: "top_sheet";
34822             mouse_events: 0;
34823             description { state: "default" 0.0;
34824                visible: 1;
34825                rel1.to: "t";
34826                rel2.to: "t";
34827                image.normal: "flip_t.png";
34828             }
34829             description { state: "shrink" 0.0;
34830                inherit: "default" 0.0;
34831                color: 128 128 128 255;
34832                visible: 0;
34833                rel1.relative: 0.0 1.0;
34834             }
34835          }
34836
34837          part { name: "top";
34838             mouse_events: 0;
34839             clip_to: "top_clipper";
34840             type: TEXT;
34841             scale: 1;
34842             description { state: "default" 0.0;
34843                rel1.to: "base";
34844                rel2.to: "base";
34845                color: 0 0 0 255;
34846                color2: 0 0 0 255;
34847                text {
34848                   font: "Sans:style=Bold,Edje-Vera-Bold";
34849                   size: 30;
34850                   min: 1 1;
34851                   align: 0.5 0.5;
34852                }
34853             }
34854             description { state: "shrink" 0.0;
34855                inherit: "default" 0.0;
34856                visible: 0;
34857                rel1.relative: 0.0 0.5;
34858             }
34859          }
34860
34861          part { name: "arrow_top";
34862             mouse_events: 0;
34863             scale: 1;
34864             description { state: "default" 0.0;
34865                min: 15 15;
34866                max: 15 15;
34867                align: 0.5 0.0;
34868                rel1.to: "t";
34869                rel2.to: "t";
34870                image.normal: "arrow_up.png";
34871             }
34872             description { state: "hidden" 0.0;
34873                inherit: "default" 0.0;
34874                visible: 0;
34875             }
34876          }
34877          part { name: "arrow_bottom";
34878             mouse_events: 0;
34879             scale: 1;
34880             description { state: "default" 0.0;
34881                min: 15 15;
34882                max: 15 15;
34883                align: 0.5 1.0;
34884                rel1.to: "b";
34885                rel2.to: "b";
34886                image.normal: "arrow_down.png";
34887             }
34888             description { state: "hidden" 0.0;
34889                inherit: "default" 0.0;
34890                visible: 0;
34891             }
34892          }
34893
34894          part {
34895             type: RECT;
34896             mouse_events: 0;
34897             name: "top_clipper";
34898             description {
34899                state: "default" 0.0;
34900                rel1.to: "t";
34901                rel2.to: "t";
34902                visible: 1;
34903             }
34904          }
34905
34906          part {
34907             type: RECT;
34908             mouse_events: 0;
34909             name: "bottom_clipper";
34910             description {
34911                state: "default" 0.0;
34912                rel1.to: "b";
34913                rel2.to: "b";
34914                visible: 1;
34915             }
34916          }
34917       }
34918
34919       programs {
34920          program { name: "load";
34921             signal: "load";
34922             source: "";
34923             script {
34924                append_str(cur, "");
34925                append_str(prev, "");
34926                append_str(next, "");
34927                set_int(lock, 0);
34928             }
34929          }
34930
34931          program { name: "hide_arrows";
34932             signal: "elm,state,button,hidden";
34933             source: "elm";
34934             action: STATE_SET "hidden" 0.0;
34935             target: "arrow_top";
34936             target: "arrow_bottom";
34937             target: "t";
34938             target: "b";
34939          }
34940
34941          program { name: "show_arrows";
34942             signal: "elm,state,button,visible";
34943             source: "elm";
34944             action: STATE_SET "default" 0.0;
34945             target: "arrow_top";
34946             target: "arrow_bottom";
34947             target: "t";
34948             target: "b";
34949          }
34950
34951          program { name: "up";
34952             signal: "mouse,down,1";
34953             source: "t";
34954             action: SIGNAL_EMIT "elm,action,up,start" "";
34955          }
34956          program { name: "up,stop";
34957             signal: "mouse,up,1";
34958             source: "t";
34959             action: SIGNAL_EMIT "elm,action,up,stop" "";
34960          }
34961          program { name: "down";
34962             signal: "mouse,down,1";
34963             source: "b";
34964             action: SIGNAL_EMIT "elm,action,down,start" "";
34965          }
34966          program { name: "down,stop";
34967             signal: "mouse,up,1";
34968             source: "b";
34969             action: SIGNAL_EMIT "elm,action,down,stop" "";
34970          }
34971       }
34972    }
34973
34974 ////////////////////////////////////////////////////////////////////////////////
34975 // diskselector
34976 ////////////////////////////////////////////////////////////////////////////////
34977    group { name: "elm/diskselector/base/default";
34978       images {
34979          image: "bar_shine.png" COMP;
34980       }
34981
34982       parts {
34983          part { name: "bg";
34984             type: RECT;
34985             mouse_events: 0;
34986             description { state: "default" 0.0;
34987                color: 0 0 0 255;
34988             }
34989          }
34990          part { name: "shine_left";
34991             mouse_events:  0;
34992             description { state: "default" 0.0;
34993                rel1.to: "bg";
34994                rel1.relative: -0.1 0;
34995                rel2.to: "bg";
34996                rel2.relative: 0.1 1;
34997                image.normal: "bar_shine.png";
34998                color: 255 255 255 120;
34999             }
35000          }
35001          part { name: "shine_center";
35002             mouse_events:  0;
35003             description { state: "default" 0.0;
35004                rel1.to: "bg";
35005                rel1.relative: 0.2 0;
35006                rel2.to: "bg";
35007                rel2.relative: 0.8 1;
35008                image.normal: "bar_shine.png";
35009                color: 255 255 255 180;
35010             }
35011          }
35012          part { name: "shine_right";
35013             mouse_events:  0;
35014             description { state: "default" 0.0;
35015                rel1.to: "bg";
35016                rel1.relative: 0.9 0;
35017                rel2.to: "bg";
35018                rel2.relative: 1.1 1;
35019                image.normal: "bar_shine.png";
35020                color: 255 255 255 120;
35021             }
35022          }
35023          part { name: "clipper";
35024             type: RECT;
35025             mouse_events: 0;
35026             description { state: "default" 0.0;
35027                rel1.to: "bg";
35028                rel2.to: "bg";
35029                rel1.offset: 2 2;
35030                rel2.offset: -3 -3;
35031             }
35032          }
35033          part { name: "elm.swallow.content";
35034             clip_to: "clipper";
35035             type: SWALLOW;
35036             description { state: "default" 0.0;
35037                rel1.to: "bg";
35038                rel2.to: "bg";
35039             }
35040          }
35041       }
35042    }
35043
35044    group { name: "elm/diskselector/item/default";
35045
35046       data {
35047          item: "len_threshold" "14";
35048       }
35049
35050       parts {
35051          part { name: "elm.swallow.icon";
35052             type: SWALLOW;
35053             description { state: "default" 0.0;
35054                fixed: 1 0;
35055                align: 0.0 0.5;
35056                rel1 {
35057                   relative: 0 0;
35058                   offset: 4 4;
35059                }
35060                rel2 {
35061                   relative: 0 1;
35062                   offset: 4 -5;
35063                }
35064             }
35065             description { state: "show" 0.0;
35066                inherit: "default" 0.0;
35067             }
35068             description { state: "default_small" 0.0;
35069                inherit: "default" 0.0;
35070                rel1.relative: 0 0.2;
35071                rel2.relative: 0 0.8;
35072             }
35073             description { state: "left_side" 0.0;
35074                inherit: "default" 0.0;
35075                rel1.relative: 0 0.2;
35076                rel2.relative: 0 0.8;
35077                color: 255 255 255 160;
35078             }
35079             description { state: "right_side" 0.0;
35080                inherit: "left_side" 0.0;
35081                rel1.relative: 0.4 0.2;
35082                rel2.relative: 0.4 0.8;
35083                color: 255 255 255 160;
35084             }
35085          }
35086          part { name: "elm.text";
35087             type: TEXT;
35088             mouse_events: 0;
35089             scale: 1;
35090             description { state: "default" 0.0;
35091                rel1.relative: 1 0.0;
35092                rel1.to_x: "elm.swallow.icon";
35093                rel2.relative: 1.0 1.0;
35094                color: 255 255 255 255;
35095                visible: 0;
35096                text {
35097                   font: "Sans,Edje-Vera";
35098                   size: 13;
35099                   align: 0.5 0.5;
35100                   min: 0 1;
35101                }
35102             }
35103             description { state: "show" 0.0;
35104                inherit: "default" 0.0;
35105                visible: 1;
35106             }
35107             description { state: "default_small" 0.0;
35108                inherit: "default" 0.0;
35109                visible: 1;
35110                text.size: 10;
35111             }
35112             description { state: "left_side" 0.0;
35113                inherit: "default" 0.0;
35114                color: 172 172 172 255;
35115                text.size: 10;
35116                visible: 1;
35117                text.align: 0.2 0.5;
35118             }
35119             description { state: "right_side" 0.0;
35120                inherit: "default" 0.0;
35121                color: 172 172 172 255;
35122                visible: 1;
35123                text.size: 10;
35124                text.align: 0.8 0.5;
35125             }
35126          }
35127       }
35128
35129       programs {
35130          program { name: "center_text";
35131             signal: "elm,state,center";
35132             source: "elm";
35133             action: STATE_SET "show" 0.0;
35134             target: "elm.text";
35135             target: "elm.swallow.icon";
35136          }
35137          program { name: "center_small_text";
35138             signal: "elm,state,center_small";
35139             source: "elm";
35140             action: STATE_SET "default_small" 0.0;
35141             target: "elm.text";
35142             target: "elm.swallow.icon";
35143          }
35144          program { name: "l_side_text";
35145             signal: "elm,state,left_side";
35146             source: "elm";
35147             action: STATE_SET "left_side" 0.0;
35148             target: "elm.text";
35149             target: "elm.swallow.icon";
35150          }
35151          program { name: "r_side_text";
35152             signal: "elm,state,right_side";
35153             source: "elm";
35154             action: STATE_SET "right_side" 0.0;
35155             target: "elm.text";
35156             target: "elm.swallow.icon";
35157          }
35158       }
35159    }
35160
35161    group { name: "elm/entry/path/separator/default";
35162       images.image: "arrow_right.png" COMP;
35163       parts {
35164          part { name: "icon";
35165             mouse_events: 0;
35166             description { state: "default" 0.0;
35167                image.normal: "arrow_right.png";
35168                max: 64 64;
35169                aspect: 1.0 1.0;
35170             }
35171          }
35172       }
35173    }
35174
35175    group { name: "elm/fileselector/base/default";
35176       data {
35177          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35178       }
35179       parts {
35180          part { name: "elm.swallow.up";
35181             type: SWALLOW;
35182             description { state: "default" 0.0;
35183                align: 0.0 0.0;
35184                min: 10 10;
35185                fixed: 1 1;
35186                rel2 {
35187                   relative: 0.0 0.0;
35188                   offset: 0 0;
35189                }
35190             }
35191          }
35192          part { name: "elm.swallow.home";
35193             type: SWALLOW;
35194             description { state: "default" 0.0;
35195                align: 0.0 0.0;
35196                min: 10 10;
35197                fixed: 1 1;
35198                rel1 {
35199                   to: "elm.swallow.up";
35200                   relative: 1.0 0.0;
35201                   offset: 5 0;
35202                }
35203                rel2 {
35204                   to: "elm.swallow.up";
35205                   relative: 1.0 1.0;
35206                   offset: 20 -1;
35207                }
35208             }
35209          }
35210          part { name: "elm.swallow.files";
35211             type: SWALLOW;
35212             description { state: "default" 0.0;
35213                align: 1.0 0.0;
35214                min: 10 10;
35215                fixed: 1 1;
35216                rel1 {
35217                   to_y: "elm.swallow.home";
35218                   relative: 0.0 1.0;
35219                   offset: 0 0;
35220                }
35221                rel2 {
35222                   to_y: "elm.swallow.path";
35223                   relative: 1.0 0.0;
35224                   offset: -1 -1;
35225                }
35226             }
35227          }
35228          part { name: "elm.swallow.path";
35229             type: SWALLOW;
35230             description { state: "default" 0.0;
35231                align: 0.5 1.0;
35232                fixed: 1 1;
35233                rel1 {
35234                   to_y: "elm.swallow.filename";
35235                   relative: 0.0 0.0;
35236                   offset: 0 -1;
35237                }
35238                rel2 {
35239                   to_y: "elm.swallow.filename";
35240                   relative: 1.0 0.0;
35241                   offset: -1 -1;
35242                }
35243             }
35244          }
35245          part { name: "elm.swallow.filename";
35246             type: SWALLOW;
35247             description { state: "default" 0.0;
35248                align: 0.5 1.0;
35249                fixed: 1 1;
35250                rel1 {
35251                   to_y: "elm.swallow.ok";
35252                   relative: 0.0 0.0;
35253                   offset: 0 -1;
35254                }
35255                rel2 {
35256                   to_y: "elm.swallow.ok";
35257                   relative: 1.0 0.0;
35258                   offset: -1 -1;
35259                }
35260             }
35261          }
35262          part { name: "elm.swallow.cancel";
35263             type: SWALLOW;
35264             description { state: "default" 0.0;
35265                align: 1.0 1.0;
35266                fixed: 1 1;
35267                rel1 {
35268                   to: "elm.swallow.ok";
35269                   relative: 0.0 0.0;
35270                   offset: -3 0;
35271                }
35272                rel2 {
35273                   to: "elm.swallow.ok";
35274                   relative: 0.0 1.0;
35275                   offset: -3 -1;
35276                }
35277             }
35278          }
35279          part { name: "elm.swallow.ok";
35280             type: SWALLOW;
35281             description { state: "default" 0.0;
35282                align: 1.0 1.0;
35283                fixed: 1 1;
35284                rel1 {
35285                   relative: 1.0 1.0;
35286                   offset: -1 -1;
35287                }
35288             }
35289          }
35290       }
35291    }
35292
35293    group { name: "elm/fileselector_entry/base/default";
35294       parts {
35295          part { name: "elm.swallow.entry";
35296             type: SWALLOW;
35297             description { state: "default" 0.0;
35298                align: 0.0 0.0;
35299                min: 50 10;
35300                rel2 { to_x: "elm.swallow.button";
35301                   relative: 0.0 1.0;
35302                   offset: -1 -1;
35303                }
35304             }
35305          }
35306          part { name: "elm.swallow.button";
35307             type: SWALLOW;
35308             description { state: "default" 0.0;
35309                align: 1.0 0.0;
35310                min: 10 10;
35311                fixed: 1 1;
35312                rel1 {
35313                   relative: 1.0 0.0;
35314                   offset: -21 0;
35315                }
35316             }
35317          }
35318       }
35319    }
35320
35321 ////////////////////////////////////////////////////////////////////////
35322 // Standard layouts to be used                                        //
35323 ////////////////////////////////////////////////////////////////////////
35324    /* application with toolbar and main content area */
35325    group { name: "elm/layout/application/toolbar-content";
35326       parts {
35327          part { name: "elm.swallow.content";
35328             type: SWALLOW;
35329             description { state: "default" 0.0;
35330                rel1 { to_y: "elm.external.toolbar";
35331                   relative: 0.0 1.0;
35332                   offset: -1 1;
35333                }
35334             }
35335          }
35336
35337          part { name: "elm.external.toolbar";
35338             type: EXTERNAL;
35339             source: "elm/toolbar";
35340             description { state: "default" 0.0;
35341                align: 0.5 0.0;
35342                fixed: 0 1;
35343                rel2 {
35344                   relative: 1.0 0.0;
35345                   offset: -1 47;
35346                }
35347             }
35348          }
35349       }
35350    }
35351
35352    /* application with toolbar and main content area with a back button and title area */
35353    group { name: "elm/layout/application/toolbar-content-back";
35354       parts {
35355          part { name: "elm.swallow.content";
35356             type: SWALLOW;
35357             description { state: "default" 0.0;
35358                rel1 { to_y: "title_clipper";
35359                   relative: 0.0 1.0;
35360                   offset: -1 1;
35361                }
35362             }
35363          }
35364
35365          part { name: "elm.external.toolbar";
35366             type: EXTERNAL;
35367             source: "elm/toolbar";
35368             description { state: "default" 0.0;
35369                fixed: 0 1;
35370                align: 0.5 0.0;
35371                rel2 {
35372                   relative: 1.0 0.0;
35373                   offset: -1 47;
35374                }
35375             }
35376          }
35377          part { name: "title_clipper";
35378             type: RECT;
35379             description { state: "default" 0.0;
35380                visible: 1;
35381                rel1 {
35382                   to_y: "back";
35383                }
35384                rel2 {
35385                   to_y: "back";
35386                }
35387             }
35388             description { state: "hidden" 0.0;
35389                inherit: "default" 0.0;
35390                visible: 0;
35391                rel2 {
35392                   relative: 1.0 0.0;
35393                }
35394             }
35395          }
35396          part { name: "back_clipper";
35397             type: RECT;
35398             clip_to: "title_clipper";
35399             description { state: "default" 0.0;
35400                visible: 1;
35401             }
35402             description { state: "hidden" 0.0;
35403                visible: 0;
35404             }
35405          }
35406          part { name: "back";
35407             type: EXTERNAL;
35408             source: "elm/button";
35409             clip_to: "back_clipper";
35410             description { state: "default" 0.0;
35411                align: 0.0 0.0;
35412                fixed: 1 1;
35413                rel1 { to_y: "elm.external.toolbar";
35414                   relative: 0.0 1.0;
35415                   offset: 0 1;
35416                }
35417                rel2 { to_y: "elm.external.toolbar";
35418                   relative: 0.0 1.0;
35419                   offset: 50 32;
35420                }
35421                params.string: "label" "Back";
35422             }
35423          }
35424          programs {
35425             program {
35426                signal: "clicked";
35427                source: "back";
35428                action: SIGNAL_EMIT "elm,action,back" "";
35429             }
35430             program {
35431                signal: "elm,back,hide";
35432                source: "elm";
35433                action: STATE_SET "hidden" 0.0;
35434                target: "back_clipper";
35435             }
35436             program {
35437                signal: "elm,back,show";
35438                source: "elm";
35439                action: STATE_SET "default" 0.0;
35440                target: "back_clipper";
35441             }
35442             program {
35443                signal: "elm,title,hide";
35444                source: "elm";
35445                action: STATE_SET "hidden" 0.0;
35446                transition: LINEAR 0.1;
35447                target: "title_clipper";
35448             }
35449             program {
35450                signal: "elm,title,show";
35451                source: "elm";
35452                action: STATE_SET "default" 0.0;
35453                target: "title_clipper";
35454             }
35455          }
35456
35457          part { name: "elm.swallow.end";
35458             type: SWALLOW;
35459             description { state: "default" 0.0;
35460                align: 1.0 0.0;
35461                fixed: 1 1;
35462                rel1 { to_y: "elm.external.toolbar";
35463                   relative: 1.0 1.0;
35464                   offset: -2 1;
35465                }
35466                rel2 { to_y: "elm.external.toolbar";
35467                   relative: 1.0 1.0;
35468                   offset: -1 32;
35469                }
35470             }
35471          }
35472
35473          part { name: "elm.text.title";
35474             type: TEXT;
35475             effect: SOFT_SHADOW;
35476             scale: 1;
35477             description { state: "default" 0.0;
35478                rel1 { to_y: "elm.external.toolbar";
35479                   to_x: "back";
35480                   relative: 1.0 1.0;
35481                   offset: 2 1;
35482                }
35483                rel2 { to_y: "back";
35484                   to_x: "elm.swallow.end";
35485                   relative: 0.0 1.0;
35486                   offset: -3 -1;
35487                }
35488                text {
35489                   font: "Sans:style=Bold";
35490                   size: 12;
35491                }
35492             }
35493          }
35494       }
35495    }
35496
35497    /* application with toolbar and main content area with a back and next buttons and title area */
35498    group { name: "elm/layout/application/toolbar-content-back-next";
35499       parts {
35500          part { name: "elm.swallow.content";
35501             type: SWALLOW;
35502             description { state: "default" 0.0;
35503                rel1 { to_y: "title_clipper";
35504                   relative: 0.0 1.0;
35505                   offset: -1 1;
35506                }
35507             }
35508          }
35509
35510          part { name: "elm.external.toolbar";
35511             type: EXTERNAL;
35512             source: "elm/toolbar";
35513             description { state: "default" 0.0;
35514                fixed: 0 1;
35515                align: 0.5 0.0;
35516                rel2 {
35517                   relative: 1.0 0.0;
35518                   offset: -1 47;
35519                }
35520             }
35521          }
35522          part { name: "title_clipper";
35523             type: RECT;
35524             description { state: "default" 0.0;
35525                visible: 1;
35526                rel1 {
35527                   to_y: "back";
35528                }
35529                rel2 {
35530                   to_y: "back";
35531                }
35532             }
35533             description { state: "hidden" 0.0;
35534                inherit: "default" 0.0;
35535                visible: 0;
35536                rel2 {
35537                   relative: 1.0 0.0;
35538                }
35539             }
35540          }
35541          part { name: "back";
35542             type: EXTERNAL;
35543             source: "elm/button";
35544             clip_to: "back_clipper";
35545             description { state: "default" 0.0;
35546                align: 0.0 0.0;
35547                fixed: 1 1;
35548                rel1 { to_y: "elm.external.toolbar";
35549                   relative: 0.0 1.0;
35550                   offset: 0 1;
35551                }
35552                rel2 { to_y: "elm.external.toolbar";
35553                   relative: 0.0 1.0;
35554                   offset: 50 32;
35555                }
35556                params.string: "label" "Back";
35557             }
35558          }
35559          part { name: "back_clipper";
35560             type: RECT;
35561             clip_to: "title_clipper";
35562             description { state: "default" 0.0;
35563                visible: 1;
35564             }
35565             description { state: "hidden" 0.0;
35566                visible: 0;
35567             }
35568          }
35569          part { name: "next";
35570             type: EXTERNAL;
35571             source: "elm/button";
35572             clip_to: "next_clipper";
35573             description { state: "default" 0.0;
35574                align: 1.0 0.0;
35575                fixed: 1 1;
35576                rel1 { to_y: "elm.external.toolbar";
35577                   relative: 1.0 1.0;
35578                   offset: -2 1;
35579                }
35580                rel2 { to_y: "elm.external.toolbar";
35581                   relative: 1.0 1.0;
35582                   offset: -1 32;
35583                }
35584                params.string: "label" "Next";
35585            }
35586          }
35587          part { name: "next_clipper";
35588             type: RECT;
35589             clip_to: "title_clipper";
35590             description { state: "default" 0.0;
35591                visible: 1;
35592             }
35593             description { state: "hidden" 0.0;
35594                visible: 0;
35595             }
35596          }
35597          programs {
35598             program {
35599                signal: "clicked";
35600                source: "back";
35601                action: SIGNAL_EMIT "elm,action,back" "";
35602             }
35603             program {
35604                signal: "elm,title,hide";
35605                source: "elm";
35606                action: STATE_SET "hidden" 0.0;
35607                transition: LINEAR 0.1;
35608                target: "title_clipper";
35609             }
35610             program {
35611                signal: "elm,title,show";
35612                source: "elm";
35613                action: STATE_SET "default" 0.0;
35614                target: "title_clipper";
35615             }
35616             program {
35617                signal: "elm,back,hide";
35618                source: "elm";
35619                action: STATE_SET "hidden" 0.0;
35620                target: "back_clipper";
35621             }
35622             program {
35623                signal: "elm,back,show";
35624                source: "elm";
35625                action: STATE_SET "default" 0.0;
35626                target: "back_clipper";
35627             }
35628             program {
35629                signal: "clicked";
35630                source: "next";
35631                action: SIGNAL_EMIT "elm,action,next" "";
35632             }
35633             program {
35634                signal: "elm,next,hide";
35635                source: "elm";
35636                action: STATE_SET "hidden" 0.0;
35637                target: "next_clipper";
35638             }
35639             program {
35640                signal: "elm,next,show";
35641                source: "elm";
35642                action: STATE_SET "default" 0.0;
35643                target: "next_clipper";
35644             }
35645          }
35646          part { name: "elm.text.title";
35647             type: TEXT;
35648             effect: SOFT_SHADOW;
35649             scale: 1;
35650             clip_to: "title_clipper";
35651             description { state: "default" 0.0;
35652                rel1 { to_y: "elm.external.toolbar";
35653                   to_x: "back";
35654                   relative: 1.0 1.0;
35655                   offset: 2 1;
35656                }
35657                rel2 { to_y: "back";
35658                   to_x: "next";
35659                   relative: 0.0 1.0;
35660                   offset: -3 -1;
35661                }
35662                text {
35663                   font: "Sans:style=Bold";
35664                   size: 12;
35665                }
35666             }
35667          }
35668       }
35669    }
35670    /* application with a main content area with a back button and title area */
35671    group { name: "elm/layout/application/content-back";
35672       parts {
35673          part { name: "elm.swallow.content";
35674             type: SWALLOW;
35675             description { state: "default" 0.0;
35676                rel1 { to_y: "title_clipper";
35677                   relative: 0.0 1.0;
35678                   offset: -1 1;
35679                }
35680             }
35681          }
35682          part { name: "title_clipper";
35683             type: RECT;
35684             description { state: "default" 0.0;
35685                visible: 1;
35686                rel1 {
35687                   to_y: "back";
35688                }
35689                rel2 {
35690                   to_y: "back";
35691                }
35692             }
35693             description { state: "hidden" 0.0;
35694                inherit: "default" 0.0;
35695                visible: 0;
35696                rel2 {
35697                   relative: 1.0 0.0;
35698                }
35699             }
35700          }
35701          part { name: "back_clipper";
35702             type: RECT;
35703             clip_to: "title_clipper";
35704             description { state: "default" 0.0;
35705                visible: 1;
35706             }
35707             description { state: "hidden" 0.0;
35708                visible: 0;
35709             }
35710          }
35711          part { name: "back";
35712             type: EXTERNAL;
35713             source: "elm/button";
35714             clip_to: "back_clipper";
35715             description { state: "default" 0.0;
35716                align: 0.0 0.0;
35717                fixed: 1 1;
35718                rel1 {
35719                   relative: 0.0 0.0;
35720                   offset: 0 1;
35721                }
35722                rel2 {
35723                   relative: 0.0 0.0;
35724                   offset: 50 32;
35725                }
35726                params.string: "label" "Back";
35727             }
35728          }
35729          programs {
35730             program {
35731                signal: "clicked";
35732                source: "back";
35733                action: SIGNAL_EMIT "elm,action,back" "";
35734             }
35735             program {
35736                signal: "elm,back,hide";
35737                source: "elm";
35738                action: STATE_SET "hidden" 0.0;
35739                target: "back_clipper";
35740             }
35741             program {
35742                signal: "elm,back,show";
35743                source: "elm";
35744                action: STATE_SET "default" 0.0;
35745                target: "back_clipper";
35746             }
35747             program {
35748                signal: "elm,title,hide";
35749                source: "elm";
35750                action: STATE_SET "hidden" 0.0;
35751                transition: LINEAR 0.1;
35752                target: "title_clipper";
35753             }
35754             program {
35755                signal: "elm,title,show";
35756                source: "elm";
35757                action: STATE_SET "default" 0.0;
35758                target: "title_clipper";
35759             }
35760          }
35761
35762          part { name: "elm.swallow.end";
35763             type: SWALLOW;
35764             description { state: "default" 0.0;
35765                align: 1.0 0.0;
35766                fixed: 1 1;
35767                rel1 {
35768                   relative: 1.0 0.0;
35769                   offset: -2 1;
35770                }
35771                rel2 {
35772                   relative: 1.0 1.0;
35773                   offset: -1 32;
35774                }
35775             }
35776          }
35777
35778          part { name: "elm.text.title";
35779             type: TEXT;
35780             effect: SOFT_SHADOW;
35781             scale: 1;
35782             description { state: "default" 0.0;
35783                rel1 {
35784                   to_x: "back";
35785                   relative: 1.0 0.0;
35786                   offset: 2 1;
35787                }
35788                rel2 { to_y: "back";
35789                   to_x: "elm.swallow.end";
35790                   relative: 0.0 1.0;
35791                   offset: -3 -1;
35792                }
35793                text {
35794                   font: "Sans:style=Bold";
35795                   size: 12;
35796                }
35797             }
35798          }
35799       }
35800    }
35801
35802    /* application with a main content area with a back and next buttons and title area */
35803    group { name: "elm/layout/application/content-back-next";
35804       parts {
35805          part { name: "elm.swallow.content";
35806             type: SWALLOW;
35807             description { state: "default" 0.0;
35808                rel1 { to_y: "title_clipper";
35809                   relative: 0.0 1.0;
35810                   offset: -1 1;
35811                }
35812             }
35813          }
35814
35815          part { name: "title_clipper";
35816             type: RECT;
35817             description { state: "default" 0.0;
35818                visible: 1;
35819                rel1 {
35820                   to_y: "back";
35821                }
35822                rel2 {
35823                   to_y: "back";
35824                }
35825             }
35826             description { state: "hidden" 0.0;
35827                inherit: "default" 0.0;
35828                visible: 0;
35829                rel2 {
35830                   relative: 1.0 0.0;
35831                }
35832             }
35833          }
35834          part { name: "back";
35835             type: EXTERNAL;
35836             source: "elm/button";
35837             clip_to: "back_clipper";
35838             description { state: "default" 0.0;
35839                align: 0.0 0.0;
35840                fixed: 1 1;
35841                rel1 {
35842                   relative: 0.0 0.0;
35843                   offset: 0 1;
35844                }
35845                rel2 {
35846                   relative: 0.0 0.0;
35847                   offset: 50 32;
35848                }
35849                params.string: "label" "Back";
35850             }
35851          }
35852          part { name: "back_clipper";
35853             type: RECT;
35854             clip_to: "title_clipper";
35855             description { state: "default" 0.0;
35856                visible: 1;
35857             }
35858             description { state: "hidden" 0.0;
35859                visible: 0;
35860             }
35861          }
35862          part { name: "next";
35863             type: EXTERNAL;
35864             source: "elm/button";
35865             clip_to: "next_clipper";
35866             description { state: "default" 0.0;
35867                align: 1.0 0.0;
35868                fixed: 1 1;
35869                rel1 {
35870                   relative: 1.0 0.0;
35871                   offset: -2 1;
35872                }
35873                rel2 {
35874                   relative: 1.0 0.0;
35875                   offset: -1 32;
35876                }
35877                params.string: "label" "Next";
35878            }
35879          }
35880          part { name: "next_clipper";
35881             type: RECT;
35882             clip_to: "title_clipper";
35883             description { state: "default" 0.0;
35884                visible: 1;
35885             }
35886             description { state: "hidden" 0.0;
35887                visible: 0;
35888             }
35889          }
35890          programs {
35891             program {
35892                signal: "clicked";
35893                source: "back";
35894                action: SIGNAL_EMIT "elm,action,back" "";
35895             }
35896             program {
35897                signal: "elm,title,hide";
35898                source: "elm";
35899                action: STATE_SET "hidden" 0.0;
35900                transition: LINEAR 0.1;
35901                target: "title_clipper";
35902             }
35903             program {
35904                signal: "elm,title,show";
35905                source: "elm";
35906                action: STATE_SET "default" 0.0;
35907                target: "title_clipper";
35908             }
35909             program {
35910                signal: "elm,back,hide";
35911                source: "elm";
35912                action: STATE_SET "hidden" 0.0;
35913                target: "back_clipper";
35914             }
35915             program {
35916                signal: "elm,back,show";
35917                source: "elm";
35918                action: STATE_SET "default" 0.0;
35919                target: "back_clipper";
35920             }
35921             program {
35922                signal: "clicked";
35923                source: "next";
35924                action: SIGNAL_EMIT "elm,action,next" "";
35925             }
35926             program {
35927                signal: "elm,next,hide";
35928                source: "elm";
35929                action: STATE_SET "hidden" 0.0;
35930                target: "next_clipper";
35931             }
35932             program {
35933                signal: "elm,next,show";
35934                source: "elm";
35935                action: STATE_SET "default" 0.0;
35936                target: "next_clipper";
35937             }
35938          }
35939          part { name: "elm.text.title";
35940             type: TEXT;
35941             effect: SOFT_SHADOW;
35942             scale: 1;
35943             clip_to: "title_clipper";
35944             description { state: "default" 0.0;
35945                rel1 {
35946                   to_x: "back";
35947                   relative: 1.0 0.0;
35948                   offset: 2 1;
35949                }
35950                rel2 { to_y: "back";
35951                   to_x: "next";
35952                   relative: 0.0 1.0;
35953                   offset: -3 -1;
35954                }
35955                text {
35956                   font: "Sans:style=Bold";
35957                   size: 12;
35958                }
35959             }
35960          }
35961       }
35962    }
35963
35964    /* application with toolbar and main content area as a vertical box */
35965    group { name: "elm/layout/application/toolbar-vbox";
35966       parts {
35967          part { name: "elm.box.content";
35968             type: BOX;
35969             description { state: "default" 0.0;
35970                rel1 { to_y: "elm.external.toolbar";
35971                   relative: 0.0 1.0;
35972                   offset: -1 1;
35973                }
35974                box.layout: "vertical";
35975             }
35976          }
35977
35978          part { name: "elm.external.toolbar";
35979             type: EXTERNAL;
35980             source: "elm/toolbar";
35981             description { state: "default" 0.0;
35982                align: 0.5 0.0;
35983                fixed: 0 1;
35984                rel2 {
35985                   relative: 1.0 0.0;
35986                   offset: -1 47;
35987                }
35988             }
35989          }
35990       }
35991    }
35992
35993    /* application with toolbar and main content area as a table */
35994    group { name: "elm/layout/application/toolbar-table";
35995       parts {
35996          part { name: "elm.table.content";
35997             type: TABLE;
35998             description { state: "default" 0.0;
35999                rel1 { to_y: "elm.external.toolbar";
36000                   relative: 0.0 1.0;
36001                   offset: -1 1;
36002                }
36003             }
36004          }
36005
36006          part { name: "elm.external.toolbar";
36007             type: EXTERNAL;
36008             source: "elm/toolbar";
36009             description { state: "default" 0.0;
36010                align: 0.5 0.0;
36011                fixed: 0 1;
36012                rel2 {
36013                   relative: 1.0 0.0;
36014                   offset: -1 47;
36015                }
36016             }
36017          }
36018       }
36019    }
36020
36021    /* a simple title layout, with a label and two icons */
36022    group { name: "elm/layout/application/titlebar";
36023       images {
36024          image: "toolbar_sel.png" COMP;
36025       }
36026       parts {
36027          part { name: "base";
36028             mouse_events: 0;
36029             scale: 1;
36030             description { state: "default" 0.0;
36031                min: 0 33;
36032                max: 99999 33;
36033                align: 0.5 0.0;
36034                rel1.offset: -1 0;
36035                rel2.offset: 1 0;
36036                image {
36037                   normal: "toolbar_sel.png";
36038                   border: 3 3 0 0;
36039                }
36040             }
36041          }
36042          part { name: "elm.swallow.content";
36043             type: SWALLOW;
36044             description { state: "default" 0.0;
36045                visible: 1;
36046                rel1 {
36047                   to: "base";
36048                   relative: 0.0 1.0;
36049                }
36050             }
36051          }
36052          part { name: "elm.swallow.icon";
36053             type: SWALLOW;
36054             scale: 1;
36055             description { state: "default" 0.0;
36056                visible: 0;
36057                fixed: 1 1;
36058                align: 0.0 0.0;
36059                rel1 {
36060                   to: "base";
36061                   relative: 0.0 0.0;
36062                   offset: 4 0;
36063                }
36064                rel2 {
36065                   to: "base";
36066                   relative: 0.0 1.0;
36067                }
36068             }
36069             description { state: "visible" 0.0;
36070                inherit: "default" 0.0;
36071                visible: 1;
36072             }
36073          }
36074          part { name: "elm.swallow.end";
36075             type: SWALLOW;
36076             scale: 1;
36077             description { state: "default" 0.0;
36078                visible: 0;
36079                fixed: 1 1;
36080                align: 1.0 0.0;
36081                rel1 {
36082                   to: "base";
36083                   relative: 1.0 0.0;
36084                   offset: 0 0;
36085                }
36086                rel2 {
36087                   to: "base";
36088                   relative: 1.0 1.0;
36089                   offset: -5 -1;
36090                }
36091             }
36092             description { state: "visible" 0.0;
36093                inherit: "default" 0.0;
36094                visible: 1;
36095             }
36096          }
36097          part { name: "elm.text";
36098             type: TEXT;
36099             effect: SOFT_SHADOW;
36100             mouse_events: 0;
36101             scale: 1;
36102             description { state: "default" 0.0;
36103                fixed: 1 1;
36104                rel1 {
36105                   to_x: "elm.swallow.icon";
36106                   to_y: "base";
36107                   relative: 1.0 0.0;
36108                }
36109                rel2 {
36110                   to_x: "elm.swallow.end";
36111                   to_y: "base";
36112                   relative: 0.0 1.0;
36113                }
36114                text {
36115                   font: "Sans";
36116                   size: 12;
36117                   min: 0 0;
36118                   align: 0.5 0.5;
36119                   text_class: "title_bar";
36120                }
36121             }
36122          }
36123       }
36124       programs {
36125          program { name: "show_icon";
36126             signal: "elm,state,icon,visible";
36127             source: "elm";
36128             action: STATE_SET "visible" 0.0;
36129             target: "elm.swallow.icon";
36130          }
36131          program { name: "hide_icon";
36132             signal: "elm,state,icon,hidden";
36133             source: "elm";
36134             action: STATE_SET "default" 0.0;
36135             target: "elm.swallow.icon";
36136          }
36137          program { name: "show_end";
36138             signal: "elm,state,end,visible";
36139             source: "elm";
36140             action: STATE_SET "visible" 0.0;
36141             target: "elm.swallow.end";
36142          }
36143          program { name: "hide_end";
36144             signal: "elm,state,end,hidden";
36145             source: "elm";
36146             action: STATE_SET "default" 0.0;
36147             target: "elm.swallow.end";
36148          }
36149       }
36150    }
36151 }
36152
36153
36154
36155