elementary/default.edc - updated ctxpopup arrow.
[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       alias: "elm/genscroller/base/default";
323
324       data {
325          item: "focus_highlight" "on";
326       }
327
328       script {
329          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
330          public timer0(val) {
331             new v;
332             v = get_int(sbvis_v);
333             if (v) {
334                v = get_int(sbalways_v);
335                if (!v) {
336                   emit("do-hide-vbar", "");
337                   set_int(sbvis_v, 0);
338                }
339             }
340             v = get_int(sbvis_h);
341             if (v) {
342                v = get_int(sbalways_h);
343                if (!v) {
344                   emit("do-hide-hbar", "");
345                   set_int(sbvis_h, 0);
346                }
347             }
348             set_int(sbvis_timer, 0);
349             return 0;
350          }
351       }
352       images {
353          image: "shelf_inset.png" COMP;
354          image: "bt_sm_base2.png" COMP;
355          image: "bt_sm_shine.png" COMP;
356          image: "bt_sm_hilight.png" COMP;
357          image: "sl_bt2_2.png" COMP;
358       }
359       parts {
360          part { name: "bg";
361             type: RECT;
362             description { state: "default" 0.0;
363                rel1.offset: 2 2;
364                rel2.offset: -3 -3;
365                color: 255 255 255 0;
366             }
367          }
368          part { name: "clipper";
369             type: RECT;
370             mouse_events: 0;
371             description { state: "default" 0.0;
372                rel1.to: "bg";
373                rel2.to: "bg";
374                rel1.offset: 2 2;
375                rel2.offset: -3 -3;
376             }
377          }
378          part { name: "elm.swallow.content";
379             clip_to: "clipper";
380             type: SWALLOW;
381             description { state: "default" 0.0;
382                rel1.to: "bg";
383                rel2.to: "bg";
384                rel1.offset: 2 2;
385                rel2.offset: -3 -3;
386             }
387          }
388          part { name: "conf_over";
389             mouse_events:  0;
390             description { state: "default" 0.0;
391                rel1.to: "bg";
392                rel2.to: "bg";
393                image {
394                   normal: "shelf_inset.png";
395                   border: 7 7 7 7;
396                   middle: 0;
397                }
398                fill.smooth : 0;
399             }
400             description { state: "enabled" 0.0;
401                inherit: "default" 0.0;
402                color: 200 155 0 255;
403             }
404          }
405          part { name: "focus_highlight";
406             mouse_events: 0;
407             description { state: "default" 0.0;
408                rel1.offset: -1 -1;
409                rel2.offset: 0 0;
410                image {
411                   normal: "sl_bt2_2.png";
412                   border: 7 7 7 7;
413                   middle: 0;
414                }
415                fill.smooth : 0;
416                color: 200 155 0 0;
417             }
418             description { state: "enabled" 0.0;
419                inherit: "default" 0.0;
420                color: 200 155 0 255;
421             }
422          }
423          part { name: "sb_vbar_clip_master";
424             type: RECT;
425             mouse_events: 0;
426             description { state: "default" 0.0;
427             }
428             description { state: "hidden" 0.0;
429                visible: 0;
430                color: 255 255 255 0;
431             }
432          }
433          part { name: "sb_vbar_clip";
434             clip_to: "sb_vbar_clip_master";
435             type: RECT;
436             mouse_events: 0;
437             description { state: "default" 0.0;
438             }
439             description { state: "hidden" 0.0;
440                visible: 0;
441                color: 255 255 255 0;
442             }
443          }
444          part { name: "sb_vbar";
445             type: RECT;
446             mouse_events: 0;
447             description { state: "default" 0.0;
448                fixed: 1 1;
449                visible: 0;
450                min: 10 17;
451                align: 1.0 0.0;
452                rel1 {
453                   relative: 1.0 0.0;
454                   offset:   0 2;
455                   to_y:     "elm.swallow.content";
456                   to_x:     "elm.swallow.content";
457                }
458                rel2 {
459                   relative: 1.0 0.0;
460                   offset:   -1 -1;
461                   to_y:     "sb_hbar";
462                   to_x:     "elm.swallow.content";
463                }
464             }
465          }
466          part { name: "elm.dragable.vbar";
467             clip_to: "sb_vbar_clip";
468             mouse_events: 0;
469             dragable {
470                x: 0 0 0;
471                y: 1 1 0;
472                confine: "sb_vbar";
473             }
474             description { state: "default" 0.0;
475                fixed: 1 1;
476                min: 10 17;
477                max: 10 99999;
478                rel1 {
479                   relative: 0.5  0.5;
480                   offset:   0    0;
481                   to: "sb_vbar";
482                }
483                rel2 {
484                   relative: 0.5  0.5;
485                   offset:   0    0;
486                   to: "sb_vbar";
487                }
488                image {
489                   normal: "bt_sm_base2.png";
490                   border: 6 6 6 6;
491                   middle: SOLID;
492                }
493             }
494          }
495          part { name: "sb_vbar_over1";
496             clip_to: "sb_vbar_clip";
497             mouse_events: 0;
498             description { state: "default" 0.0;
499                rel1.to: "elm.dragable.vbar";
500                rel2.relative: 1.0 0.5;
501                rel2.to: "elm.dragable.vbar";
502                image {
503                   normal: "bt_sm_hilight.png";
504                   border: 6 6 6 0;
505                }
506             }
507          }
508          part { name: "sb_vbar_over2";
509             clip_to: "sb_vbar_clip";
510             mouse_events: 0;
511             description { state: "default" 0.0;
512                rel1.to: "elm.dragable.vbar";
513                rel2.to: "elm.dragable.vbar";
514                image {
515                   normal: "bt_sm_shine.png";
516                   border: 6 6 6 0;
517                }
518             }
519          }
520
521          part { name: "sb_hbar_clip_master";
522             type: RECT;
523             mouse_events: 0;
524             description { state: "default" 0.0;
525             }
526             description { state: "hidden" 0.0;
527                visible: 0;
528                color: 255 255 255 0;
529             }
530          }
531          part { name: "sb_hbar_clip";
532             clip_to: "sb_hbar_clip_master";
533             type: RECT;
534             mouse_events: 0;
535             description { state: "default" 0.0;
536             }
537             description { state: "hidden" 0.0;
538                visible: 0;
539                color: 255 255 255 0;
540             }
541          }
542          part { name: "sb_hbar";
543             type: RECT;
544             mouse_events: 0;
545             description { state: "default" 0.0;
546                fixed: 1 1;
547                visible: 0;
548                min: 17 10;
549                align: 0.0 1.0;
550                rel1 {
551                   relative: 0.0 1.0;
552                   offset:   2 0;
553                   to_x:     "elm.swallow.content";
554                   to_y:     "elm.swallow.content";
555                }
556                rel2 {
557                   relative: 0.0 1.0;
558                   offset:   -1 -1;
559                   to_x:     "sb_vbar";
560                   to_y:     "elm.swallow.content";
561                }
562             }
563          }
564          part { name: "elm.dragable.hbar";
565             clip_to: "sb_hbar_clip";
566             mouse_events: 0;
567             dragable {
568                x: 1 1 0;
569                y: 0 0 0;
570                confine: "sb_hbar";
571             }
572             description { state: "default" 0.0;
573                fixed: 1 1;
574                min: 17 10;
575                max: 99999 10;
576                rel1 {
577                   relative: 0.5  0.5;
578                   offset:   0    0;
579                   to: "sb_hbar";
580                }
581                rel2 {
582                   relative: 0.5  0.5;
583                   offset:   0    0;
584                   to: "sb_hbar";
585                }
586                image {
587                   normal: "bt_sm_base2.png";
588                   border: 4 4 4 4;
589                   middle: SOLID;
590                }
591             }
592          }
593          part { name: "sb_hbar_over1";
594             clip_to: "sb_hbar_clip";
595             mouse_events: 0;
596             description { state: "default" 0.0;
597                rel1.to: "elm.dragable.hbar";
598                rel2.relative: 1.0 0.5;
599                rel2.to: "elm.dragable.hbar";
600                image {
601                   normal: "bt_sm_hilight.png";
602                   border: 4 4 4 0;
603                }
604             }
605          }
606          part { name: "sb_hbar_over2";
607             clip_to: "sb_hbar_clip";
608             mouse_events: 0;
609             description { state: "default" 0.0;
610                rel1.to: "elm.dragable.hbar";
611                rel2.to: "elm.dragable.hbar";
612                image {
613                   normal: "bt_sm_shine.png";
614                   border: 4 4 4 0;
615                }
616             }
617          }
618           part { name: "disabler";
619             type: RECT;
620             description { state: "default" 0.0;
621                rel1.to: "clipper";
622                rel2.to: "clipper";
623                color: 0 0 0 0;
624                visible: 0;
625             }
626             description { state: "disabled" 0.0;
627                inherit: "default" 0.0;
628                visible: 1;
629                color: 128 128 128 128;
630             }
631          }
632       }
633       programs {
634          program { name: "load";
635             signal: "load";
636             source: "";
637             script {
638                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
639                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
640                set_int(sbvis_h, 0);
641                set_int(sbvis_v, 0);
642                set_int(sbalways_v, 0);
643                set_int(sbalways_h, 0);
644                set_int(sbvis_timer, 0);
645             }
646          }
647
648          program { name: "vbar_show";
649             signal: "elm,action,show,vbar";
650             source: "elm";
651             action:  STATE_SET "default" 0.0;
652             target: "sb_vbar_clip_master";
653          }
654          program { name: "vbar_hide";
655             signal: "elm,action,hide,vbar";
656             source: "elm";
657             action:  STATE_SET "hidden" 0.0;
658             target: "sb_vbar_clip_master";
659          }
660          program { name: "vbar_show_always";
661             signal: "elm,action,show_always,vbar";
662             source: "elm";
663             script {
664                new v;
665                v = get_int(sbvis_v);
666                v |= get_int(sbalways_v);
667                if (!v) {
668                   set_int(sbalways_v, 1);
669                   emit("do-show-vbar", "");
670                   set_int(sbvis_v, 1);
671                }
672             }
673          }
674          program { name: "vbar_show_notalways";
675             signal: "elm,action,show_notalways,vbar";
676             source: "elm";
677             script {
678                new v;
679                v = get_int(sbalways_v);
680                if (v) {
681                   set_int(sbalways_v, 0);
682                   v = get_int(sbvis_v);
683                   if (!v) {
684                      emit("do-hide-vbar", "");
685                      set_int(sbvis_v, 0);
686                   }
687                }
688             }
689          }
690          program { name: "sb_vbar_show";
691             signal: "do-show-vbar";
692             source: "";
693             action:  STATE_SET "default" 0.0;
694             transition: LINEAR 0.5;
695             target: "sb_vbar_clip";
696          }
697          program { name: "sb_vbar_hide";
698             signal: "do-hide-vbar";
699             source: "";
700             action:  STATE_SET "hidden" 0.0;
701             transition: LINEAR 0.5;
702             target: "sb_vbar_clip";
703          }
704
705          program { name: "hbar_show";
706             signal: "elm,action,show,hbar";
707             source: "elm";
708             action:  STATE_SET "default" 0.0;
709             target: "sb_hbar_clip_master";
710          }
711          program { name: "hbar_hide";
712             signal: "elm,action,hide,hbar";
713             source: "elm";
714             action:  STATE_SET "hidden" 0.0;
715             target: "sb_hbar_clip_master";
716          }
717          program { name: "hbar_show_always";
718             signal: "elm,action,show_always,hbar";
719             source: "elm";
720             script {
721                new v;
722                v = get_int(sbvis_h);
723                v |= get_int(sbalways_h);
724                if (!v) {
725                   set_int(sbalways_h, 1);
726                   emit("do-show-hbar", "");
727                   set_int(sbvis_h, 1);
728                }
729             }
730          }
731          program { name: "hbar_show_notalways";
732             signal: "elm,action,show_notalways,hbar";
733             source: "elm";
734             script {
735                new v;
736                v = get_int(sbalways_h);
737                if (v) {
738                   set_int(sbalways_h, 0);
739                   v = get_int(sbvis_h);
740                   if (!v) {
741                      emit("do-hide-hbar", "");
742                      set_int(sbvis_h, 0);
743                   }
744                }
745             }
746          }
747          program { name: "sb_hbar_show";
748             signal: "do-show-hbar";
749             source: "";
750             action:  STATE_SET "default" 0.0;
751             transition: LINEAR 0.5;
752             target: "sb_hbar_clip";
753          }
754          program { name: "sb_hbar_hide";
755             signal: "do-hide-hbar";
756             source: "";
757             action:  STATE_SET "hidden" 0.0;
758             transition: LINEAR 0.5;
759             target: "sb_hbar_clip";
760          }
761
762          program { name: "scroll";
763             signal: "elm,action,scroll";
764             source: "elm";
765             script {
766                new v;
767                v = get_int(sbvis_v);
768                v |= get_int(sbalways_v);
769                if (!v) {
770                   emit("do-show-vbar", "");
771                   set_int(sbvis_v, 1);
772                }
773                v = get_int(sbvis_h);
774                v |= get_int(sbalways_h);
775                if (!v) {
776                   emit("do-show-hbar", "");
777                   set_int(sbvis_h, 1);
778                }
779                v = get_int(sbvis_timer);
780                if (v > 0) cancel_timer(v);
781                v = timer(1.0, "timer0", 0);
782                set_int(sbvis_timer, v);
783             }
784          }
785
786          program { name: "highlight_show";
787             signal: "elm,action,focus_highlight,show";
788             source: "elm";
789             action: STATE_SET "enabled" 0.0;
790             transition: ACCELERATE 0.3;
791             target: "focus_highlight";
792             target: "conf_over";
793          }
794          program { name: "highlight_hide";
795             signal: "elm,action,focus_highlight,hide";
796             source: "elm";
797             action: STATE_SET "default" 0.0;
798             transition: DECELERATE 0.3;
799             target: "focus_highlight";
800             target: "conf_over";
801          }
802          program { name: "disable";
803             signal: "elm,state,disabled";
804             source: "elm";
805             action: STATE_SET "disabled" 0.0;
806             target: "disabler";
807          }
808          program { name: "enable";
809             signal: "elm,state,enabled";
810             source: "elm";
811             action: STATE_SET "default" 0.0;
812             target: "disabler";
813          }
814       }
815    }
816
817 ///////////////////////////////////////////////////////////////////////////////
818    group { name: "elm/scroller/entry/default";
819
820       data {
821          item: "focus_highlight" "on";
822       }
823
824       script {
825          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
826          public timer0(val) {
827             new v;
828             v = get_int(sbvis_v);
829             if (v) {
830                v = get_int(sbalways_v);
831                if (!v) {
832                   emit("do-hide-vbar", "");
833                   set_int(sbvis_v, 0);
834                }
835             }
836             v = get_int(sbvis_h);
837             if (v) {
838                v = get_int(sbalways_h);
839                if (!v) {
840                   emit("do-hide-hbar", "");
841                   set_int(sbvis_h, 0);
842                }
843             }
844             set_int(sbvis_timer, 0);
845             return 0;
846          }
847       }
848       images {
849          image: "shelf_inset.png" COMP;
850          image: "bt_sm_base2.png" COMP;
851          image: "bt_sm_shine.png" COMP;
852          image: "bt_sm_hilight.png" COMP;
853          image: "sl_bt2_2.png" COMP;
854       }
855       parts {
856          part { name: "bg";
857             type: RECT;
858             description { state: "default" 0.0;
859                rel1.offset: 2 2;
860                rel2.offset: -3 -3;
861             }
862          }
863          part { name: "clipper";
864             type: RECT;
865             mouse_events: 0;
866             description { state: "default" 0.0;
867                rel1.to: "bg";
868                rel2.to: "bg";
869                rel1.offset: 2 2;
870                rel2.offset: -3 -3;
871             }
872          }
873          part { name: "contentclipper";
874             type: RECT;
875             mouse_events: 0;
876             clip_to: "clipper";
877             description { state: "default" 0.0;
878                rel1.to: "elm.swallow.icon";
879                rel1.relative: 1.0 0.0;
880                rel2.to: "elm.swallow.end";
881                rel2.relative: 0.0 1.0;
882             }
883          }
884          part { name: "elm.swallow.icon";
885             type: SWALLOW;
886             clip_to: "clipper";
887             description { state: "default" 0.0;
888                fixed: 1 1;
889                rel1 {
890                   to: "bg";
891                   relative: 0.0 0.0;
892                   offset: 0 0;
893                }
894                rel2 {
895                   to: "bg";
896                   relative: 0.0 1.0;
897                   offset: -1 -1;
898                }
899                visible: 0;
900             }
901             description { state: "visible" 0.0;
902                fixed: 1 1;
903                align: 0.0 1.0;
904                rel1 {
905                          to: "bg";
906                          relative: 0.0 0.0;
907                          offset: 0 0;
908                }
909                rel2 {
910                   to: "bg";
911                   relative: 0.0 1.0;
912                   offset: -1 -1;
913                }
914                visible: 1;
915             }
916          }
917          part { name: "elm.swallow.end";
918             type: SWALLOW;
919             clip_to: "clipper";
920             description { state: "default" 0.0;
921                fixed: 1 1;
922                rel1 {
923                   to: "bg";
924                   relative: 1.0 0.0;
925                   offset: 0 0;
926                }
927                rel2 {
928                   to: "bg";
929                   relative: 1.0 1.0;
930                   offset: -1 -1;
931                }
932                visible: 0;
933             }
934             description { state: "visible" 0.0;
935                fixed: 1 1;
936                align: 1.0 1.0;
937                rel1 {
938                   to: "bg";
939                   relative: 1.0 0.0;
940                   offset: 0 0;
941                }
942                rel2 {
943                   to: "bg";
944                   relative: 1.0 1.0;
945                   offset: -1 -1;
946                }
947                visible: 1;
948             }
949          }
950          part { name: "elm.swallow.content";
951             clip_to: "contentclipper";
952             type: SWALLOW;
953             description { state: "default" 0.0;
954                rel1 {
955                        to: "elm.swallow.icon";
956                        relative: 1.0 0.0;
957                        offset: 4 4;
958                }
959                rel2 {
960                 to: "elm.swallow.end";
961                 relative: 0.0 1.0;
962                 offset: -5 -5;
963                }
964             }
965          }
966          part { name: "conf_over";
967             mouse_events:  0;
968             description { state: "default" 0.0;
969                rel1.to: "bg";
970                rel2.to: "bg";
971                image {
972                   normal: "shelf_inset.png";
973                   border: 7 7 7 7;
974                   middle: 0;
975                }
976                fill.smooth : 0;
977             }
978             description { state: "enabled" 0.0;
979                inherit: "default" 0.0;
980                color: 200 155 0 255;
981             }
982          }
983          part { name: "focus_highlight";
984             mouse_events: 0;
985             description { state: "default" 0.0;
986                rel1.offset: -1 -1;
987                rel2.offset: 0 0;
988                image {
989                   normal: "sl_bt2_2.png";
990                   border: 7 7 7 7;
991                   middle: 0;
992                }
993                fill.smooth : 0;
994                color: 200 155 0 0;
995             }
996             description { state: "enabled" 0.0;
997                inherit: "default" 0.0;
998                color: 200 155 0 255;
999             }
1000          }
1001          part { name: "sb_vbar_clip_master";
1002             type: RECT;
1003             mouse_events: 0;
1004             description { state: "default" 0.0;
1005             }
1006             description { state: "hidden" 0.0;
1007                visible: 0;
1008                color: 255 255 255 0;
1009             }
1010          }
1011          part { name: "sb_vbar_clip";
1012             clip_to: "sb_vbar_clip_master";
1013             type: RECT;
1014             mouse_events: 0;
1015             description { state: "default" 0.0;
1016             }
1017             description { state: "hidden" 0.0;
1018                visible: 0;
1019                color: 255 255 255 0;
1020             }
1021          }
1022          part { name: "sb_vbar";
1023             type: RECT;
1024             mouse_events: 0;
1025             description { state: "default" 0.0;
1026                fixed: 1 1;
1027                visible: 0;
1028                min: 10 17;
1029                align: 1.0 0.0;
1030                rel1 {
1031                   relative: 0.0 0.0;
1032                   offset:   -2 2;
1033                   to_y:     "elm.swallow.content";
1034                   to_x:     "elm.swallow.end";
1035                }
1036                rel2 {
1037                   relative: 0.0 0.0;
1038                   offset:   -2 -1;
1039                   to_y:     "sb_hbar";
1040                   to_x:     "elm.swallow.end";
1041                }
1042             }
1043          }
1044          part { name: "elm.dragable.vbar";
1045             clip_to: "sb_vbar_clip";
1046             mouse_events: 0;
1047             dragable {
1048                x: 0 0 0;
1049                y: 1 1 0;
1050                confine: "sb_vbar";
1051             }
1052             description { state: "default" 0.0;
1053                fixed: 1 1;
1054                min: 10 17;
1055                max: 10 99999;
1056                rel1 {
1057                   relative: 0.5  0.5;
1058                   offset:   0    0;
1059                   to: "sb_vbar";
1060                }
1061                rel2 {
1062                   relative: 0.5  0.5;
1063                   offset:   0    0;
1064                   to: "sb_vbar";
1065                }
1066                image {
1067                   normal: "bt_sm_base2.png";
1068                   border: 6 6 6 6;
1069                   middle: SOLID;
1070                }
1071             }
1072          }
1073          part { name: "sb_vbar_over1";
1074             clip_to: "sb_vbar_clip";
1075             mouse_events: 0;
1076             description { state: "default" 0.0;
1077                rel1.to: "elm.dragable.vbar";
1078                rel2.relative: 1.0 0.5;
1079                rel2.to: "elm.dragable.vbar";
1080                image {
1081                   normal: "bt_sm_hilight.png";
1082                   border: 6 6 6 0;
1083                }
1084             }
1085          }
1086          part { name: "sb_vbar_over2";
1087             clip_to: "sb_vbar_clip";
1088             mouse_events: 0;
1089             description { state: "default" 0.0;
1090                rel1.to: "elm.dragable.vbar";
1091                rel2.to: "elm.dragable.vbar";
1092                image {
1093                   normal: "bt_sm_shine.png";
1094                   border: 6 6 6 0;
1095                }
1096             }
1097          }
1098
1099          part { name: "sb_hbar_clip_master";
1100             type: RECT;
1101             mouse_events: 0;
1102             description { state: "default" 0.0;
1103             }
1104             description { state: "hidden" 0.0;
1105                visible: 0;
1106                color: 255 255 255 0;
1107             }
1108          }
1109          part { name: "sb_hbar_clip";
1110             clip_to: "sb_hbar_clip_master";
1111             type: RECT;
1112             mouse_events: 0;
1113             description { state: "default" 0.0;
1114             }
1115             description { state: "hidden" 0.0;
1116                visible: 0;
1117                color: 255 255 255 0;
1118             }
1119          }
1120          part { name: "sb_hbar";
1121             type: RECT;
1122             mouse_events: 0;
1123             description { state: "default" 0.0;
1124                fixed: 1 1;
1125                visible: 0;
1126                min: 17 10;
1127                align: 0.0 1.0;
1128                rel1 {
1129                   relative: 0.0 1.0;
1130                   offset:   2 0;
1131                   to_x:     "elm.swallow.content";
1132                   to_y:     "elm.swallow.content";
1133                }
1134                rel2 {
1135                   relative: 0.0 1.0;
1136                   offset:   -1 -1;
1137                   to_x:     "sb_vbar";
1138                   to_y:     "elm.swallow.content";
1139                }
1140             }
1141          }
1142          part { name: "elm.dragable.hbar";
1143             clip_to: "sb_hbar_clip";
1144             mouse_events: 0;
1145             dragable {
1146                x: 1 1 0;
1147                y: 0 0 0;
1148                confine: "sb_hbar";
1149             }
1150             description { state: "default" 0.0;
1151                fixed: 1 1;
1152                min: 17 10;
1153                max: 99999 10;
1154                rel1 {
1155                   relative: 0.5  0.5;
1156                   offset:   0    0;
1157                   to: "sb_hbar";
1158                }
1159                rel2 {
1160                   relative: 0.5  0.5;
1161                   offset:   0    0;
1162                   to: "sb_hbar";
1163                }
1164                image {
1165                   normal: "bt_sm_base2.png";
1166                   border: 4 4 4 4;
1167                   middle: SOLID;
1168                }
1169             }
1170          }
1171          part { name: "sb_hbar_over1";
1172             clip_to: "sb_hbar_clip";
1173             mouse_events: 0;
1174             description { state: "default" 0.0;
1175                rel1.to: "elm.dragable.hbar";
1176                rel2.relative: 1.0 0.5;
1177                rel2.to: "elm.dragable.hbar";
1178                image {
1179                   normal: "bt_sm_hilight.png";
1180                   border: 4 4 4 0;
1181                }
1182             }
1183          }
1184          part { name: "sb_hbar_over2";
1185             clip_to: "sb_hbar_clip";
1186             mouse_events: 0;
1187             description { state: "default" 0.0;
1188                rel1.to: "elm.dragable.hbar";
1189                rel2.to: "elm.dragable.hbar";
1190                image {
1191                   normal: "bt_sm_shine.png";
1192                   border: 4 4 4 0;
1193                }
1194             }
1195          }
1196       }
1197       programs {
1198          program { name: "load";
1199             signal: "load";
1200             source: "";
1201             script {
1202                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1203                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1204                set_int(sbvis_h, 0);
1205                set_int(sbvis_v, 0);
1206                set_int(sbalways_v, 0);
1207                set_int(sbalways_h, 0);
1208                set_int(sbvis_timer, 0);
1209             }
1210          }
1211          program { name: "icon_show";
1212             signal: "elm,action,show,icon";
1213             source: "elm";
1214             action: STATE_SET "visible" 0.0;
1215             target: "elm.swallow.icon";
1216          }
1217          program { name: "icon_hide";
1218             signal: "elm,action,hide,icon";
1219             source: "elm";
1220             action: STATE_SET "default" 0.0;
1221             target: "elm.swallow.icon";
1222          }
1223          program { name: "end_show";
1224             signal: "elm,action,show,end";
1225             source: "elm";
1226             action: STATE_SET "visible" 0.0;
1227             target: "elm.swallow.end";
1228          }
1229          program { name: "end_hide";
1230             signal: "elm,action,hide,end";
1231             source: "elm";
1232             action: STATE_SET "default" 0.0;
1233             target: "elm.swallow.end";
1234          }
1235          program { name: "vbar_show";
1236             signal: "elm,action,show,vbar";
1237             source: "elm";
1238             action:  STATE_SET "default" 0.0;
1239             target: "sb_vbar_clip_master";
1240          }
1241          program { name: "vbar_hide";
1242             signal: "elm,action,hide,vbar";
1243             source: "elm";
1244             action:  STATE_SET "hidden" 0.0;
1245             target: "sb_vbar_clip_master";
1246          }
1247          program { name: "vbar_show_always";
1248             signal: "elm,action,show_always,vbar";
1249             source: "elm";
1250             script {
1251                new v;
1252                v = get_int(sbvis_v);
1253                v |= get_int(sbalways_v);
1254                if (!v) {
1255                   set_int(sbalways_v, 1);
1256                   emit("do-show-vbar", "");
1257                   set_int(sbvis_v, 1);
1258                }
1259             }
1260          }
1261          program { name: "vbar_show_notalways";
1262             signal: "elm,action,show_notalways,vbar";
1263             source: "elm";
1264             script {
1265                new v;
1266                v = get_int(sbalways_v);
1267                if (v) {
1268                   set_int(sbalways_v, 0);
1269                   v = get_int(sbvis_v);
1270                   if (!v) {
1271                      emit("do-hide-vbar", "");
1272                      set_int(sbvis_v, 0);
1273                   }
1274                }
1275             }
1276          }
1277          program { name: "sb_vbar_show";
1278             signal: "do-show-vbar";
1279             source: "";
1280             action:  STATE_SET "default" 0.0;
1281             transition: LINEAR 0.5;
1282             target: "sb_vbar_clip";
1283          }
1284          program { name: "sb_vbar_hide";
1285             signal: "do-hide-vbar";
1286             source: "";
1287             action:  STATE_SET "hidden" 0.0;
1288             transition: LINEAR 0.5;
1289             target: "sb_vbar_clip";
1290          }
1291
1292          program { name: "hbar_show";
1293             signal: "elm,action,show,hbar";
1294             source: "elm";
1295             action:  STATE_SET "default" 0.0;
1296             target: "sb_hbar_clip_master";
1297          }
1298          program { name: "hbar_hide";
1299             signal: "elm,action,hide,hbar";
1300             source: "elm";
1301             action:  STATE_SET "hidden" 0.0;
1302             target: "sb_hbar_clip_master";
1303          }
1304          program { name: "hbar_show_always";
1305             signal: "elm,action,show_always,hbar";
1306             source: "elm";
1307             script {
1308                new v;
1309                v = get_int(sbvis_h);
1310                v |= get_int(sbalways_h);
1311                if (!v) {
1312                   set_int(sbalways_h, 1);
1313                   emit("do-show-hbar", "");
1314                   set_int(sbvis_h, 1);
1315                }
1316             }
1317          }
1318          program { name: "hbar_show_notalways";
1319             signal: "elm,action,show_notalways,hbar";
1320             source: "elm";
1321             script {
1322                new v;
1323                v = get_int(sbalways_h);
1324                if (v) {
1325                   set_int(sbalways_h, 0);
1326                   v = get_int(sbvis_h);
1327                   if (!v) {
1328                      emit("do-hide-hbar", "");
1329                      set_int(sbvis_h, 0);
1330                   }
1331                }
1332             }
1333          }
1334          program { name: "sb_hbar_show";
1335             signal: "do-show-hbar";
1336             source: "";
1337             action:  STATE_SET "default" 0.0;
1338             transition: LINEAR 0.5;
1339             target: "sb_hbar_clip";
1340          }
1341          program { name: "sb_hbar_hide";
1342             signal: "do-hide-hbar";
1343             source: "";
1344             action:  STATE_SET "hidden" 0.0;
1345             transition: LINEAR 0.5;
1346             target: "sb_hbar_clip";
1347          }
1348
1349          program { name: "scroll";
1350             signal: "elm,action,scroll";
1351             source: "elm";
1352             script {
1353                new v;
1354                v = get_int(sbvis_v);
1355                v |= get_int(sbalways_v);
1356                if (!v) {
1357                   emit("do-show-vbar", "");
1358                   set_int(sbvis_v, 1);
1359                }
1360                v = get_int(sbvis_h);
1361                v |= get_int(sbalways_h);
1362                if (!v) {
1363                   emit("do-show-hbar", "");
1364                   set_int(sbvis_h, 1);
1365                }
1366                v = get_int(sbvis_timer);
1367                if (v > 0) cancel_timer(v);
1368                v = timer(1.0, "timer0", 0);
1369                set_int(sbvis_timer, v);
1370             }
1371          }
1372
1373          program { name: "highlight_show";
1374             signal: "elm,action,focus_highlight,show";
1375             source: "elm";
1376             action: STATE_SET "enabled" 0.0;
1377             transition: ACCELERATE 0.3;
1378             target: "focus_highlight";
1379             target: "conf_over";
1380          }
1381          program { name: "highlight_hide";
1382             signal: "elm,action,focus_highlight,hide";
1383             source: "elm";
1384             action: STATE_SET "default" 0.0;
1385             transition: DECELERATE 0.3;
1386             target: "focus_highlight";
1387             target: "conf_over";
1388          }
1389       }
1390    }
1391
1392 ///////////////////////////////////////////////////////////////////////////////
1393 #define TEXT_SLIDE_DURATION     10
1394
1395    group { name: "elm/label/base/default";
1396       data.item: "default_font_size" "10";
1397       data.item: "min_font_size" "6";
1398       data.item: "max_font_size" "60";
1399       styles {
1400          style { name: "textblock_style";
1401             base: "font=Sans font_size=10 color=#000 text_class=label";
1402             tag:  "br" "\n";
1403             tag:  "ps" "ps";
1404             tag:  "hilight" "+ font=Sans:style=Bold";
1405             tag:  "b" "+ font=Sans:style=Bold";
1406             tag:  "tab" "\t";
1407            }
1408         }
1409       parts {
1410          part { name: "label.swallow.background";
1411             type: SWALLOW;
1412             description { state: "default" 0.0;
1413                visible: 1;
1414             }
1415          }
1416          part { name: "label.text.clip";
1417             type: RECT;
1418             description { state: "default" 0.0;
1419                rel1 { relative: 0 0; to: "label.swallow.background"; }
1420                rel2 { relative: 1 1; to: "label.swallow.background"; }
1421             }
1422          }
1423          part { name: "elm.text";
1424             type: TEXTBLOCK;
1425             mouse_events: 0;
1426             scale: 1;
1427             clip_to: "label.text.clip";
1428             description { state: "default" 0.0;
1429                rel1.relative: 0.0 0.0;
1430                rel2.relative: 1.0 1.0;
1431                text {
1432                   style: "textblock_style";
1433                   min: 0 1;
1434                }
1435             }
1436          }
1437       }
1438    }
1439
1440    group { name: "elm/label/base/marker";
1441       data.item: "default_font_size" "10";
1442       data.item: "min_font_size" "6";
1443       data.item: "max_font_size" "60";
1444       styles {
1445          style { name: "textblock_style2";
1446            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1447            tag:  "br" "\n";
1448            tag:  "ps" "ps";
1449            tag:  "hilight" "+ color=#ffff";
1450            tag:  "b" "+ color=#ffff";
1451            tag:  "tab" "\t";
1452          }
1453       }
1454       parts {
1455          part { name: "label.swallow.background";
1456             type: SWALLOW;
1457             description { state: "default" 0.0;
1458                visible: 1;
1459                rel1 { relative: 0 0; to: "elm.text"; }
1460                rel2 { relative: 1 1; to: "elm.text"; }
1461             }
1462          }
1463          part { name: "elm.text";
1464             type: TEXTBLOCK;
1465             mouse_events: 0;
1466             scale: 1;
1467             description { state: "default" 0.0;
1468                text {
1469                   style: "textblock_style2";
1470                   min: 1 1;
1471                }
1472             }
1473          }
1474       }
1475    }
1476
1477    group { name: "elm/label/base/slide_long";
1478       data.item: "default_font_size" "10";
1479       data.item: "min_font_size" "6";
1480       data.item: "max_font_size" "60";
1481
1482       script {
1483         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1484
1485         public message(Msg_Type:type, id, ...) {
1486            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1487               new Float:duration;
1488               duration = getfarg(2);
1489               set_float(g_duration, duration);
1490            }
1491         }
1492         public slide_to_end_anim(val, Float:pos) {
1493            new stopflag;
1494            new id;
1495            stopflag = get_int(g_stopslide);
1496            if (stopflag == 1) return;
1497            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1498            if (pos >= 1.0) {
1499               id = timer(0.5, "slide_to_begin", 1);
1500               set_int(g_timer_id, id);
1501            }
1502         }
1503         public slide_to_end() {
1504            new stopflag;
1505            new id;
1506            new Float:duration;
1507            stopflag = get_int(g_stopslide);
1508            if (stopflag == 1) return;
1509            duration = get_float(g_duration);
1510            id = anim(duration, "slide_to_end_anim", 1);
1511            set_int(g_anim_id, id);
1512         }
1513         public slide_to_begin() {
1514            new stopflag;
1515            new id;
1516            stopflag = get_int(g_stopslide);
1517            if (stopflag == 1) return;
1518            set_state(PART:"elm.text", "slide_begin", 0.0);
1519            id = timer(0.5, "slide_to_end", 1);
1520            set_int(g_timer_id, id);
1521         }
1522         public start_slide() {
1523            set_int(g_stopslide, 0);
1524            set_state(PART:"elm.text", "slide_begin", 0.0);
1525            slide_to_end();
1526         }
1527         public stop_slide() {
1528            new id;
1529            set_int(g_stopslide, 1);
1530            id = get_int(g_anim_id);
1531            cancel_anim(id);
1532            id = get_int(g_timer_id);
1533            cancel_timer(id);
1534            set_state(PART:"elm.text", "default", 0.0);
1535         }
1536       }
1537
1538       parts {
1539          part { name: "label.swallow.background";
1540             type: SWALLOW;
1541             description { state: "default" 0.0;
1542                visible: 1;
1543             }
1544          }
1545          part { name: "label.text.clip";
1546             type: RECT;
1547             description { state: "default" 0.0;
1548                visible: 1;
1549                color: 255 255 255 255;
1550                rel1 { relative: 0 0; to: "label.swallow.background"; }
1551                rel2 { relative: 1 1; to: "label.swallow.background"; }
1552             }
1553          }
1554          part { name: "elm.text";
1555             type: TEXTBLOCK;
1556             mouse_events: 0;
1557             scale: 1;
1558             clip_to: "label.text.clip";
1559             description { state: "default" 0.0;
1560                rel1.relative: 0.0 0.0;
1561                rel2.relative: 1.0 1.0;
1562                align: 0.0 0.0;
1563                text {
1564                   style: "textblock_style";
1565                   min: 1 1;
1566                }
1567             }
1568             description { state: "slide_end" 0.0;
1569                inherit: "default" 0.0;
1570                rel1.relative: 0.0 0.0;
1571                rel2.relative: 0.0 1.0;
1572                align: 1.0 0.0;
1573             }
1574             description { state: "slide_begin" 0.0;
1575                inherit: "default" 0.0;
1576                rel1.relative: 1.0 0.0;
1577                rel2.relative: 1.0 1.0;
1578                align: 0.0 0.0;
1579             }
1580          }
1581        }
1582        programs {
1583           program { name: "start_slide";
1584              source: "elm";
1585              signal: "elm,state,slide,start";
1586              script
1587                {
1588                   start_slide();
1589                }
1590           }
1591           program { name: "stop_slide";
1592              source: "elm";
1593              signal: "elm,state,slide,stop";
1594              script
1595                {
1596                   stop_slide();
1597                }
1598           }
1599        }
1600    }
1601
1602
1603    group { name: "elm/label/base/slide_short";
1604       data.item: "default_font_size" "10";
1605       data.item: "min_font_size" "6";
1606       data.item: "max_font_size" "60";
1607
1608       script {
1609          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1610
1611          public message(Msg_Type:type, id, ...) {
1612             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1613                new Float:duration;
1614                duration = getfarg(2);
1615                set_float(g_duration, duration);
1616             }
1617          }
1618          public slide_to_end_anim(val, Float:pos) {
1619             new stopflag;
1620             new id;
1621             stopflag = get_int(g_stopslide);
1622             if (stopflag == 1) return;
1623             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1624             if (pos >= 1.0) {
1625                id = timer(0.5, "slide_to_begin", 1);
1626                set_int(g_timer_id, id);
1627             }
1628          }
1629          public slide_to_end() {
1630             new stopflag;
1631             new id;
1632             new Float:duration;
1633             stopflag = get_int(g_stopslide);
1634             if (stopflag == 1) return;
1635             duration = get_float(g_duration);
1636             id = anim(duration, "slide_to_end_anim", 1);
1637             set_int(g_anim_id, id);
1638          }
1639          public slide_to_begin() {
1640             new stopflag;
1641             new id;
1642             stopflag = get_int(g_stopslide);
1643             if (stopflag == 1) return;
1644             set_state(PART:"elm.text", "slide_begin", 0.0);
1645             id = timer(0.5, "slide_to_end", 1);
1646             set_int(g_timer_id, id);
1647          }
1648          public start_slide() {
1649             set_int(g_stopslide, 0);
1650             set_state(PART:"elm.text", "slide_begin", 0.0);
1651             slide_to_end();
1652          }
1653          public stop_slide() {
1654             new id;
1655             set_int(g_stopslide, 1);
1656             id = get_int(g_anim_id);
1657             cancel_anim(id);
1658             id = get_int(g_timer_id);
1659             cancel_timer(id);
1660             set_state(PART:"elm.text", "default", 0.0);
1661          }
1662       }
1663
1664       parts {
1665          part { name: "label.swallow.background";
1666             type: SWALLOW;
1667             description { state: "default" 0.0;
1668                visible: 1;
1669             }
1670          }
1671          part { name: "label.text.clip";
1672             type: RECT;
1673             description { state: "default" 0.0;
1674                visible: 1;
1675                color: 255 255 255 255;
1676                rel1 { relative: 0 0; to: "label.swallow.background"; }
1677                rel2 { relative: 1 1; to: "label.swallow.background"; }
1678             }
1679          }
1680          part { name: "elm.text";
1681             type: TEXTBLOCK;
1682             mouse_events: 0;
1683             scale: 1;
1684             clip_to: "label.text.clip";
1685             description { state: "default" 0.0;
1686                rel1.relative: 0.0 0.0;
1687                rel2.relative: 1.0 1.0;
1688                align: 0.0 0.0;
1689                text {
1690                   style: "textblock_style";
1691                   min: 1 1;
1692                }
1693             }
1694             description { state: "slide_end" 0.0;
1695                inherit: "default" 0.0;
1696                rel1.relative: 1.0 0.0;
1697                rel2.relative: 1.0 1.0;
1698                align: 1.0 0.0;
1699             }
1700             description { state: "slide_begin" 0.0;
1701                inherit: "default" 0.0;
1702                rel1.relative: 0.0 0.0;
1703                rel2.relative: 0.0 1.0;
1704                align: 0.0 0.0;
1705             }
1706          }
1707       }
1708       programs {
1709          program { name: "start_slide";
1710             source: "elm";
1711             signal: "elm,state,slide,start";
1712             script
1713               {
1714                  start_slide();
1715               }
1716          }
1717          program { name: "stop_slide";
1718             source: "elm";
1719             signal: "elm,state,slide,stop";
1720             script
1721               {
1722                  stop_slide();
1723               }
1724          }
1725       }
1726    }
1727
1728    group { name: "elm/label/base/slide_bounce";
1729       data.item: "default_font_size" "10";
1730       data.item: "min_font_size" "6";
1731       data.item: "max_font_size" "60";
1732
1733       script {
1734          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1735
1736          public message(Msg_Type:type, id, ...) {
1737             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1738                new Float:duration;
1739                duration = getfarg(2);
1740                set_float(g_duration, duration);
1741             }
1742          }
1743          public slide_to_end_anim(val, Float:pos) {
1744             new stopflag;
1745             new id;
1746             stopflag = get_int(g_stopslide);
1747             if (stopflag == 1) return;
1748             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1749             if (pos >= 1.0) {
1750                id = timer(0.5, "slide_to_begin", 1);
1751                set_int(g_timer_id, id);
1752             }
1753          }
1754          public slide_to_end() {
1755             new stopflag;
1756             new id;
1757             new Float:duration;
1758             stopflag = get_int(g_stopslide);
1759             if (stopflag == 1) return;
1760             duration = get_float(g_duration);
1761             id = anim(duration, "slide_to_end_anim", 1);
1762             set_int(g_anim_id, id);
1763          }
1764          public slide_to_begin_anim(val, Float:pos) {
1765             new stopflag;
1766             new id;
1767             stopflag = get_int(g_stopslide);
1768             if (stopflag == 1) return;
1769             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1770             if (pos >= 1.0) {
1771                id = timer(0.5, "slide_to_end", 1);
1772                set_int(g_timer_id, id);
1773             }
1774          }
1775          public slide_to_begin() {
1776             new stopflag;
1777             new id;
1778             new Float:duration;
1779             stopflag = get_int(g_stopslide);
1780             if (stopflag == 1) return;
1781             duration = get_float(g_duration);
1782             id = anim(duration, "slide_to_begin_anim", 1);
1783             set_int(g_anim_id, id);
1784          }
1785          public start_slide() {
1786             set_int(g_stopslide, 0);
1787             set_state(PART:"elm.text", "slide_begin", 0.0);
1788             slide_to_end();
1789          }
1790          public stop_slide() {
1791             new id;
1792             set_int(g_stopslide, 1);
1793             id = get_int(g_anim_id);
1794             cancel_anim(id);
1795             id = get_int(g_timer_id);
1796             cancel_timer(id);
1797             set_state(PART:"elm.text", "default", 0.0);
1798          }
1799       }
1800
1801       parts {
1802          part { name: "label.swallow.background";
1803             type: SWALLOW;
1804             description { state: "default" 0.0;
1805                visible: 1;
1806             }
1807          }
1808          part { name: "label.text.clip";
1809             type: RECT;
1810             description { state: "default" 0.0;
1811                visible: 1;
1812                color: 255 255 255 255;
1813                rel1 { relative: 0 0; to: "label.swallow.background"; }
1814                rel2 { relative: 1 1; to: "label.swallow.background"; }
1815             }
1816          }
1817          part { name: "elm.text";
1818             type: TEXTBLOCK;
1819             mouse_events: 0;
1820             scale: 1;
1821             clip_to: "label.text.clip";
1822             description { state: "default" 0.0;
1823                rel1.relative: 0.0 0.0;
1824                rel2.relative: 1.0 1.0;
1825                align: 0.0 0.0;
1826                text {
1827                   style: "textblock_style";
1828                   min: 1 1;
1829                }
1830             }
1831             description { state: "slide_end" 0.0;
1832                inherit: "default" 0.0;
1833                rel1.relative: 1.0 0.0;
1834                rel2.relative: 1.0 1.0;
1835                align: 1.0 0.0;
1836             }
1837             description { state: "slide_begin" 0.0;
1838                inherit: "default" 0.0;
1839                rel1.relative: 0.0 0.0;
1840                rel2.relative: 0.0 1.0;
1841                align: 0.0 0.0;
1842             }
1843          }
1844       }
1845       programs {
1846          program { name: "start_slide";
1847             source: "elm";
1848             signal: "elm,state,slide,start";
1849             script
1850               {
1851                  start_slide();
1852               }
1853          }
1854          program { name: "stop_slide";
1855             source: "elm";
1856             signal: "elm,state,slide,stop";
1857             script
1858               {
1859                  stop_slide();
1860               }
1861          }
1862       }
1863    }
1864
1865
1866 ///////////////////////////////////////////////////////////////////////////////
1867
1868    group { name: "elm/button/base/default";
1869       images {
1870          image: "bt_base1.png" COMP;
1871          image: "bt_base2.png" COMP;
1872          image: "bt_hilight.png" COMP;
1873          image: "bt_shine.png" COMP;
1874          image: "bt_glow.png" COMP;
1875          image: "bt_dis_base.png" COMP;
1876          image: "bt_dis_hilight.png" COMP;
1877       }
1878       parts {
1879          part { name: "button_image";
1880             mouse_events: 1;
1881             description { state: "default" 0.0;
1882                min: 15 15;
1883                image {
1884                   normal: "bt_base2.png";
1885                   border: 7 7 7 7;
1886                }
1887                image.middle: SOLID;
1888             }
1889             description { state: "clicked" 0.0;
1890                inherit: "default" 0.0;
1891                image.normal: "bt_base1.png";
1892             }
1893             description { state: "disabled" 0.0;
1894                inherit:  "default" 0.0;
1895                image {
1896                   normal: "bt_dis_base.png";
1897                   border: 4 4 4 4;
1898                }
1899             }
1900          }
1901          part { name: "elm.swallow.content";
1902             type: SWALLOW;
1903             description { state: "default" 0.0;
1904                fixed: 1 0;
1905                visible: 0;
1906                align: 0.0 0.5;
1907                rel1.offset: 4 4;
1908                rel2.offset: 3 -5;
1909                rel2.relative: 0.0 1.0;
1910             }
1911             description { state: "visible" 0.0;
1912                inherit: "default" 0.0;
1913                fixed: 1 0;
1914                visible: 1;
1915                aspect: 1.0 1.0;
1916 //               aspect_preference: VERTICAL;
1917                rel2.offset: 4 -5;
1918             }
1919             description { state: "icononly" 0.0;
1920                inherit: "default" 0.0;
1921                fixed: 0 0;
1922                visible: 1;
1923                align: 0.5 0.5;
1924 //               aspect: 1.0 1.0;
1925                rel2.offset: -5 -5;
1926                rel2.relative: 1.0 1.0;
1927 //               aspect_preference: VERTICAL;
1928             }
1929          }
1930          part {
1931             name:          "elm.text";
1932             type:          TEXT;
1933             effect:        SOFT_SHADOW;
1934             mouse_events:  0;
1935             scale: 1;
1936             description { state: "default" 0.0;
1937                visible: 0;
1938                rel1.to_x: "elm.swallow.content";
1939                rel1.relative: 1.0 0.0;
1940                rel1.offset: 0 4;
1941                rel2.offset: -5 -5;
1942                color: 224 224 224 255;
1943                color3: 0 0 0 64;
1944                text {
1945                   font:     "Sans,Edje-Vera";
1946                   size:     10;
1947                   min:      0 0;
1948                   align:    0.5 0.5;
1949                   text_class: "button";
1950                }
1951             }
1952             description { state: "visible" 0.0;
1953                inherit: "default" 0.0;
1954                visible: 1;
1955                text.min: 1 1;
1956             }
1957             description { state: "disabled" 0.0;
1958                inherit: "default" 0.0;
1959                color: 0 0 0 128;
1960                color3: 0 0 0 0;
1961             }
1962             description { state: "disabled_visible" 0.0;
1963                inherit: "default" 0.0;
1964                color: 0 0 0 128;
1965                color3: 0 0 0 0;
1966                visible: 1;
1967                text.min: 1 1;
1968             }
1969          }
1970          part {          name: "over1";
1971             mouse_events: 0;
1972             description { state: "default" 0.0;
1973                rel2.relative: 1.0 0.5;
1974                image {
1975                   normal: "bt_hilight.png";
1976                   border: 7 7 7 0;
1977                }
1978             }
1979             description { state: "disabled" 0.0;
1980                inherit:  "default" 0.0;
1981                image {
1982                   normal: "bt_dis_hilight.png";
1983                   border: 4 4 4 0;
1984                }
1985             }
1986          }
1987          part { name: "over2";
1988             mouse_events: 1;
1989             repeat_events: 1;
1990             ignore_flags: ON_HOLD;
1991             description { state: "default" 0.0;
1992                image {
1993                   normal: "bt_shine.png";
1994                   border: 7 7 7 7;
1995                }
1996             }
1997             description { state: "disabled" 0.0;
1998                inherit:  "default" 0.0;
1999                visible: 0;
2000             }
2001          }
2002          part { name: "over3";
2003             mouse_events: 1;
2004             repeat_events: 1;
2005             description { state: "default" 0.0;
2006                color: 255 255 255 0;
2007                image {
2008                   normal: "bt_glow.png";
2009                   border: 12 12 12 12;
2010                }
2011                fill.smooth : 0;
2012             }
2013             description { state: "clicked" 0.0;
2014                inherit:  "default" 0.0;
2015                color: 255 255 255 255;
2016             }
2017          }
2018           part { name: "disabler";
2019             type: RECT;
2020             description { state: "default" 0.0;
2021                color: 0 0 0 0;
2022                visible: 0;
2023             }
2024             description { state: "disabled" 0.0;
2025                inherit: "default" 0.0;
2026                visible: 1;
2027             }
2028          }
2029       }
2030       programs {
2031          program {
2032             name:   "button_click";
2033             signal: "mouse,down,1";
2034             source: "over2";
2035             action: SIGNAL_EMIT "elm,action,press" "";
2036             after: "button_click_anim";
2037          }
2038          program {
2039             name:   "button_click_anim";
2040             action: STATE_SET "clicked" 0.0;
2041             target: "button_image";
2042          }
2043          program {
2044             name:   "button_unclick";
2045             signal: "mouse,up,1";
2046             source: "over3";
2047             action: SIGNAL_EMIT "elm,action,unpress" "";
2048             after: "button_unclick_anim";
2049          }
2050          program {
2051             name:   "button_pressed_anim";
2052             signal: "elm,anim,activate";
2053             source: "elm";
2054             action: STATE_SET "clicked" 0.0;
2055             target: "button_image";
2056             target: "over3";
2057             after: "button_unpressed_anim";
2058          }
2059          program {
2060             name:   "button_unpressed_anim";
2061             action: STATE_SET "default" 0.0;
2062             transition: DECELERATE 0.5;
2063             target: "button_image";
2064             target: "over3";
2065          }
2066          program {
2067             name:   "button_unclick_anim";
2068             action: STATE_SET "default" 0.0;
2069             target: "button_image";
2070          }
2071          program {
2072             name:   "button_click2";
2073             signal: "mouse,down,1";
2074             source: "over3";
2075             action: STATE_SET "clicked" 0.0;
2076             target: "over3";
2077          }
2078          program {
2079             name:   "button_unclick2";
2080             signal: "mouse,up,1";
2081             source: "over3";
2082             action: STATE_SET "default" 0.0;
2083             transition: DECELERATE 0.5;
2084             target: "over3";
2085          }
2086          program {
2087             name:   "button_unclick3";
2088             signal: "mouse,clicked,1";
2089             source: "over2";
2090             action: SIGNAL_EMIT "elm,action,click" "";
2091          }
2092          program { name: "text_show";
2093             signal: "elm,state,text,visible";
2094             source: "elm";
2095             script {
2096                new st[31];
2097                new Float:vl;
2098                get_state(PART:"elm.swallow.content", st, 30, vl);
2099                if (!strcmp(st, "icononly"))
2100                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2101                set_state(PART:"elm.text", "visible", 0.0);
2102             }
2103          }
2104          program { name: "text_hide";
2105             signal: "elm,state,text,hidden";
2106             source: "elm";
2107             script {
2108                new st[31];
2109                new Float:vl;
2110                get_state(PART:"elm.swallow.content", st, 30, vl);
2111                if (!strcmp(st, "visible"))
2112                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2113                set_state(PART:"elm.text", "default", 0.0);
2114             }
2115          }
2116          program { name: "icon_show";
2117             signal: "elm,state,icon,visible";
2118             source: "elm";
2119             script {
2120                new st[31];
2121                new Float:vl;
2122                get_state(PART:"elm.text", st, 30, vl);
2123                if (!strcmp(st, "visible"))
2124                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2125                else
2126                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2127             }
2128          }
2129          program { name: "icon_hide";
2130             signal: "elm,state,icon,hidden";
2131             source: "elm";
2132             action:  STATE_SET "default" 0.0;
2133             target: "elm.swallow.content";
2134          }
2135          program { name: "disable";
2136             signal: "elm,state,disabled";
2137             source: "elm";
2138             action: STATE_SET "disabled" 0.0;
2139             target: "button_image";
2140             target: "over1";
2141             target: "over2";
2142             target: "disabler";
2143             after: "disable_text";
2144          }
2145          program { name: "disable_text";
2146             script {
2147                new st[31];
2148                new Float:vl;
2149                get_state(PART:"elm.text", st, 30, vl);
2150                if (!strcmp(st, "visible"))
2151                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2152                else
2153                  set_state(PART:"elm.text", "disabled", 0.0);
2154             }
2155          }
2156          program { name: "enable";
2157             signal: "elm,state,enabled";
2158             source: "elm";
2159             action: STATE_SET "default" 0.0;
2160             target: "button_image";
2161             target: "over1";
2162             target: "over2";
2163             target: "disabler";
2164             after: "enable_text";
2165          }
2166          program { name: "enable_text";
2167             script {
2168                new st[31];
2169                new Float:vl;
2170                get_state(PART:"elm.text", st, 30, vl);
2171                if (!strcmp(st, "disabled_visible"))
2172                  set_state(PART:"elm.text", "visible", 0.0);
2173                else
2174                  set_state(PART:"elm.text", "default", 0.0);
2175             }
2176          }
2177       }
2178    }
2179
2180    group { name: "elm/button/base/hoversel_vertical/default";
2181       alias: "elm/button/base/hoversel_vertical/entry";
2182       alias: "elm/button/base/hoversel_horizontal/default";
2183       alias: "elm/button/base/hoversel_horizontal/entry";
2184       images {
2185          image: "bt_base1.png" COMP;
2186          image: "bt_base2.png" COMP;
2187          image: "bt_hilight.png" COMP;
2188          image: "bt_shine.png" COMP;
2189          image: "bt_glow.png" COMP;
2190          image: "updown.png" COMP;
2191          image: "bt_dis_base.png" COMP;
2192          image: "bt_dis_hilight.png" COMP;
2193       }
2194       parts {
2195          part { name: "button_image";
2196             mouse_events: 1;
2197             description { state: "default" 0.0;
2198                image {
2199                   normal: "bt_base2.png";
2200                   border: 7 7 7 7;
2201                }
2202                image.middle: SOLID;
2203             }
2204             description { state: "clicked" 0.0;
2205                inherit: "default" 0.0;
2206                image.normal: "bt_base1.png";
2207                image.middle: SOLID;
2208             }
2209             description { state: "disabled" 0.0;
2210                inherit:  "default" 0.0;
2211                image {
2212                   normal: "bt_dis_base.png";
2213                   border: 4 4 4 4;
2214                }
2215             }
2216          }
2217          part { name: "arrow";
2218             mouse_events: 0;
2219             description { state: "default" 0.0;
2220                image.normal: "updown.png";
2221                aspect: 0.6666666666 0.6666666666;
2222                aspect_preference: VERTICAL;
2223                rel1.offset: 6 7;
2224                rel2.offset: 6 -7;
2225                rel2.relative: 0.0 1.0;
2226                align: 0.0 0.5;
2227             }
2228          }
2229          part { name: "elm.swallow.content";
2230             type: SWALLOW;
2231             description { state: "default" 0.0;
2232                fixed: 1 0;
2233                visible: 0;
2234                align: 0.0 0.5;
2235                rel1 {
2236                   to_x: "arrow";
2237                   offset: 2 4;
2238                   relative: 1.0 0.0;
2239                }
2240                rel2 {
2241                   to_x: "arrow";
2242                   offset: 1 -5;
2243                   relative: 1.0 1.0;
2244                }
2245             }
2246             description { state: "visible" 0.0;
2247                inherit: "default" 0.0;
2248                fixed: 0 0;
2249                visible: 1;
2250                aspect: 1.0 1.0;
2251                aspect_preference: VERTICAL;
2252                rel2.offset: 2 -5;
2253             }
2254             description { state: "icononly" 0.0;
2255                inherit: "default" 0.0;
2256                fixed: 0 0;
2257                visible: 1;
2258                align: 0.5 0.5;
2259                aspect: 1.0 1.0;
2260                rel1 {
2261                   to_x: "button_image";
2262                   offset: -5 -5;
2263                   relative: 1.0 1.0;
2264                }
2265                aspect_preference: VERTICAL;
2266             }
2267          }
2268          part {
2269             name:          "elm.text";
2270             type:          TEXT;
2271             effect:        SOFT_SHADOW;
2272             mouse_events:  0;
2273             scale: 1;
2274             description { state: "default" 0.0;
2275                visible: 0;
2276                rel1.to_x: "elm.swallow.content";
2277                rel1.relative: 1.0 0.0;
2278                rel1.offset: 0 4;
2279                rel2.offset: -5 -5;
2280                color: 224 224 224 255;
2281                color3: 0 0 0 64;
2282                text {
2283                   font:     "Sans,Edje-Vera";
2284                   size:     10;
2285                   min:      0 0;
2286                   align:    0.5 0.5;
2287                   text_class: "button";
2288                }
2289             }
2290             description { state: "visible" 0.0;
2291                inherit: "default" 0.0;
2292                visible: 1;
2293                text.min: 1 1;
2294             }
2295             description { state: "disabled" 0.0;
2296                inherit: "default" 0.0;
2297                color: 0 0 0 128;
2298                color3: 0 0 0 0;
2299             }
2300             description { state: "disabled_visible" 0.0;
2301                inherit: "default" 0.0;
2302                color: 0 0 0 128;
2303                color3: 0 0 0 0;
2304                visible: 1;
2305                text.min: 1 1;
2306             }
2307          }
2308          part {          name: "over1";
2309             mouse_events: 0;
2310             description { state: "default" 0.0;
2311                rel2.relative: 1.0 0.5;
2312                image {
2313                   normal: "bt_hilight.png";
2314                   border: 7 7 7 0;
2315                }
2316             }
2317             description { state: "disabled" 0.0;
2318                inherit:  "default" 0.0;
2319                image {
2320                   normal: "bt_dis_hilight.png";
2321                   border: 4 4 4 0;
2322                }
2323             }
2324          }
2325          part { name: "over2";
2326             mouse_events: 1;
2327             repeat_events: 1;
2328             ignore_flags: ON_HOLD;
2329             description { state: "default" 0.0;
2330                image {
2331                   normal: "bt_shine.png";
2332                   border: 7 7 7 7;
2333                }
2334             }
2335             description { state: "disabled" 0.0;
2336                inherit:  "default" 0.0;
2337                visible: 0;
2338             }
2339          }
2340          part { name: "over3";
2341             mouse_events: 1;
2342             repeat_events: 1;
2343             description { state: "default" 0.0;
2344                color: 255 255 255 0;
2345                image {
2346                   normal: "bt_glow.png";
2347                   border: 12 12 12 12;
2348                }
2349                fill.smooth : 0;
2350             }
2351             description { state: "clicked" 0.0;
2352                inherit:  "default" 0.0;
2353                visible: 1;
2354                color: 255 255 255 255;
2355             }
2356          }
2357           part { name: "disabler";
2358             type: RECT;
2359             description { state: "default" 0.0;
2360                color: 0 0 0 0;
2361                visible: 0;
2362             }
2363             description { state: "disabled" 0.0;
2364                inherit: "default" 0.0;
2365                visible: 1;
2366             }
2367          }
2368       }
2369       programs {
2370          program {
2371             name:   "button_click";
2372             signal: "mouse,down,1";
2373             source: "over2";
2374             action: STATE_SET "clicked" 0.0;
2375             target: "button_image";
2376          }
2377          program {
2378             name:   "button_unclick";
2379             signal: "mouse,up,1";
2380             source: "over2";
2381             action: STATE_SET "default" 0.0;
2382             target: "button_image";
2383          }
2384          program {
2385             name:   "button_click2";
2386             signal: "mouse,down,1";
2387             source: "over3";
2388             action: STATE_SET "clicked" 0.0;
2389             target: "over3";
2390          }
2391          program {
2392             name:   "button_unclick2";
2393             signal: "mouse,up,1";
2394             source: "over3";
2395             action: STATE_SET "default" 0.0;
2396             transition: DECELERATE 0.5;
2397             target: "over3";
2398          }
2399          program {
2400             name:   "button_unclick3";
2401             signal: "mouse,up,1";
2402             source: "over2";
2403             action: SIGNAL_EMIT "elm,action,click" "";
2404          }
2405          program { name: "text_show";
2406             signal: "elm,state,text,visible";
2407             source: "elm";
2408             script {
2409                new st[31];
2410                new Float:vl;
2411                get_state(PART:"elm.swallow.content", st, 30, vl);
2412                if (!strcmp(st, "icononly"))
2413                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2414                set_state(PART:"elm.text", "visible", 0.0);
2415             }
2416          }
2417          program { name: "text_hide";
2418             signal: "elm,state,text,hidden";
2419             source: "elm";
2420             script {
2421                new st[31];
2422                new Float:vl;
2423                get_state(PART:"elm.swallow.content", st, 30, vl);
2424                if (!strcmp(st, "visible"))
2425                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2426                set_state(PART:"elm.text", "default", 0.0);
2427             }
2428          }
2429          program { name: "icon_show";
2430             signal: "elm,state,icon,visible";
2431             source: "elm";
2432             script {
2433                new st[31];
2434                new Float:vl;
2435                get_state(PART:"elm.text", st, 30, vl);
2436                if (!strcmp(st, "visible"))
2437                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2438                else
2439                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2440             }
2441          }
2442          program { name: "icon_hide";
2443             signal: "elm,state,icon,hidden";
2444             source: "elm";
2445             action:  STATE_SET "default" 0.0;
2446             target: "elm.swallow.content";
2447          }
2448          program { name: "disable";
2449             signal: "elm,state,disabled";
2450             source: "elm";
2451             action: STATE_SET "disabled" 0.0;
2452             target: "button_image";
2453             target: "over1";
2454             target: "over2";
2455             target: "disabler";
2456             after: "disable_text";
2457          }
2458          program { name: "disable_text";
2459             script {
2460                new st[31];
2461                new Float:vl;
2462                get_state(PART:"elm.text", st, 30, vl);
2463                if (!strcmp(st, "visible"))
2464                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2465                else
2466                  set_state(PART:"elm.text", "disabled", 0.0);
2467             }
2468          }
2469          program { name: "enable";
2470             signal: "elm,state,enabled";
2471             source: "elm";
2472             action: STATE_SET "default" 0.0;
2473             target: "button_image";
2474             target: "over1";
2475             target: "over2";
2476             target: "disabler";
2477             after: "enable_text";
2478          }
2479          program { name: "enable_text";
2480             script {
2481                new st[31];
2482                new Float:vl;
2483                get_state(PART:"elm.text", st, 30, vl);
2484                if (!strcmp(st, "disabled_visible"))
2485                  set_state(PART:"elm.text", "visible", 0.0);
2486                else
2487                  set_state(PART:"elm.text", "default", 0.0);
2488             }
2489          }
2490       }
2491    }
2492
2493    group { name: "elm/button/base/hoversel_vertical_entry/default";
2494       alias: "elm/button/base/hoversel_vertical_entry/entry";
2495       alias: "elm/button/base/hoversel_horizontal_entry/default";
2496       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2497       images {
2498          image: "hoversel_entry_bg.png" COMP;
2499       }
2500       parts {
2501          part { name: "button_image";
2502             mouse_events: 1;
2503             description { state: "default" 0.0;
2504                color: 255 255 255 0;
2505                image.normal: "hoversel_entry_bg.png";
2506                image.border: 0 0 2 2;
2507                fill.smooth: 0;
2508             }
2509             description { state: "clicked" 0.0;
2510                inherit: "default" 0.0;
2511                color: 255 255 255 255;
2512             }
2513          }
2514          part { name: "elm.swallow.content";
2515             type: SWALLOW;
2516             description { state: "default" 0.0;
2517                visible: 0;
2518                align: 0.0 0.5;
2519                rel1.offset: 4 4;
2520                rel2.offset: 3 -5;
2521                rel2.relative: 0.0 1.0;
2522             }
2523             description { state: "visible" 0.0;
2524                inherit: "default" 0.0;
2525                visible: 1;
2526                aspect: 1.0 1.0;
2527                aspect_preference: VERTICAL;
2528                rel2.offset: 4 -5;
2529             }
2530             description { state: "icononly" 0.0;
2531                inherit: "default" 0.0;
2532                visible: 1;
2533                align: 0.5 0.5;
2534                aspect: 1.0 1.0;
2535                rel2.offset: -5 -5;
2536                rel2.relative: 1.0 1.0;
2537                aspect_preference: VERTICAL;
2538             }
2539          }
2540          part { name: "textvis";
2541             type: RECT;
2542             mouse_events: 0;
2543             description { state: "default" 0.0;
2544                visible: 0;
2545             }
2546             description { state: "visible" 0.0;
2547                visible: 1;
2548             }
2549          }
2550          part {
2551             name:          "elm.text";
2552             type:          TEXT;
2553             effect:        SOFT_SHADOW;
2554             mouse_events:  0;
2555             scale: 1;
2556             clip_to:       "textvis";
2557             description { state: "default" 0.0;
2558                rel1.to_x: "elm.swallow.content";
2559                rel1.relative: 1.0 0.0;
2560                rel1.offset: 0 4;
2561                rel2.offset: -5 -5;
2562                color: 224 224 224 255;
2563                color3: 0 0 0 64;
2564                text {
2565                   font:     "Sans,Edje-Vera";
2566                   size:     10;
2567                   min:      0 0;
2568                   align:    0.5 0.5;
2569                   text_class: "button";
2570                }
2571             }
2572             description { state: "visible" 0.0;
2573                inherit: "default" 0.0;
2574                text.min: 1 1;
2575             }
2576             description { state: "clicked" 0.0;
2577                inherit: "default" 0.0;
2578                text.min: 1 1;
2579                color: 0 0 0 255;
2580                color3: 0 0 0 0;
2581             }
2582          }
2583          part { name: "over2";
2584             type: RECT;
2585             mouse_events: 1;
2586             description { state: "default" 0.0;
2587                color: 0 0 0 0;
2588             }
2589          }
2590       }
2591       programs {
2592          program {
2593             name:   "button_click";
2594             signal: "mouse,down,1";
2595             source: "over2";
2596             action: STATE_SET "clicked" 0.0;
2597             target: "button_image";
2598             target: "elm.text";
2599          }
2600          program {
2601             name:   "button_unclick";
2602             signal: "mouse,up,1";
2603             source: "over2";
2604             action: STATE_SET "default" 0.0;
2605             target: "button_image";
2606             target: "elm.text";
2607          }
2608          program {
2609             name:   "button_unclick3";
2610             signal: "mouse,up,1";
2611             source: "over2";
2612             action: SIGNAL_EMIT "elm,action,click" "";
2613          }
2614          program { name: "text_show";
2615             signal: "elm,state,text,visible";
2616             source: "elm";
2617             script {
2618                new st[31];
2619                new Float:vl;
2620                get_state(PART:"elm.swallow.content", st, 30, vl);
2621                if (!strcmp(st, "icononly"))
2622                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2623                set_state(PART:"textvis", "visible", 0.0);
2624                set_state(PART:"elm.text", "visible", 0.0);
2625             }
2626          }
2627          program { name: "text_hide";
2628             signal: "elm,state,text,hidden";
2629             source: "elm";
2630             script {
2631                new st[31];
2632                new Float:vl;
2633                get_state(PART:"elm.swallow.content", st, 30, vl);
2634                if (!strcmp(st, "visible"))
2635                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2636                set_state(PART:"textvis", "default", 0.0);
2637                set_state(PART:"elm.text", "default", 0.0);
2638             }
2639          }
2640          program { name: "icon_show";
2641             signal: "elm,state,icon,visible";
2642             source: "elm";
2643             script {
2644                new st[31];
2645                new Float:vl;
2646                get_state(PART:"textvis", st, 30, vl);
2647                if (!strcmp(st, "visible"))
2648                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2649                else
2650                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2651             }
2652          }
2653          program { name: "icon_hide";
2654             signal: "elm,state,icon,hidden";
2655             source: "elm";
2656             action:  STATE_SET "default" 0.0;
2657             target: "elm.swallow.content";
2658          }
2659       }
2660    }
2661
2662    group { name: "elm/button/base/anchor";
2663       images {
2664          image: "bt_base1.png" COMP;
2665          image: "bt_base2.png" COMP;
2666          image: "bt_hilight.png" COMP;
2667          image: "bt_shine.png" COMP;
2668          image: "bt_glow.png" COMP;
2669          image: "bt_dis_base.png" COMP;
2670          image: "bt_dis_hilight.png" COMP;
2671       }
2672       parts {
2673          part { name: "button_image";
2674             mouse_events: 1;
2675             description { state: "default" 0.0;
2676           min: 15 15;
2677            color: 255 255 255 0;
2678                image {
2679                   normal: "bt_base2.png";
2680                   border: 7 7 7 7;
2681                }
2682                image.middle: SOLID;
2683             }
2684        description { state: "visible" 0.0;
2685                inherit: "default" 0.0;
2686           color: 255 255 255 255;
2687             }
2688             description { state: "clicked" 0.0;
2689                inherit: "default" 0.0;
2690           inherit: "visible" 0.0;
2691                image.normal: "bt_base1.png";
2692                image.middle: SOLID;
2693             }
2694             description { state: "disabled" 0.0;
2695                inherit:  "default" 0.0;
2696           inherit: "visible" 0.0;
2697                image {
2698                   normal: "bt_dis_base.png";
2699                   border: 4 4 4 4;
2700                }
2701             }
2702          }
2703          part { name: "elm.swallow.content";
2704             type: SWALLOW;
2705             description { state: "default" 0.0;
2706                fixed: 1 0;
2707                visible: 0;
2708                align: 0.0 0.5;
2709                rel1.offset: 4 4;
2710                rel2.offset: 3 -5;
2711                rel2.relative: 0.0 1.0;
2712             }
2713             description { state: "visible" 0.0;
2714                inherit: "default" 0.0;
2715                fixed: 1 0;
2716                visible: 1;
2717                aspect: 1.0 1.0;
2718                aspect_preference: VERTICAL;
2719                rel2.offset: 4 -5;
2720             }
2721             description { state: "icononly" 0.0;
2722                inherit: "default" 0.0;
2723                fixed: 0 0;
2724                visible: 1;
2725                align: 0.5 0.5;
2726                aspect: 1.0 1.0;
2727                rel2.offset: -5 -5;
2728                rel2.relative: 1.0 1.0;
2729                aspect_preference: VERTICAL;
2730             }
2731          }
2732          part {
2733             name:          "elm.text";
2734             type:          TEXT;
2735             effect:        SOFT_SHADOW;
2736             mouse_events:  0;
2737             scale: 1;
2738             description { state: "default" 0.0;
2739                visible: 0;
2740                rel1.to_x: "elm.swallow.content";
2741                rel1.relative: 1.0 0.0;
2742                rel1.offset: 0 4;
2743                rel2.offset: -5 -5;
2744                color: 224 224 224 255;
2745                color3: 0 0 0 64;
2746                text {
2747                   font:     "Sans,Edje-Vera";
2748                   size:     10;
2749                   min:      0 0;
2750                   align:    0.5 0.5;
2751                   text_class: "button";
2752                }
2753             }
2754             description { state: "visible" 0.0;
2755                inherit: "default" 0.0;
2756                visible: 1;
2757                text.min: 1 1;
2758             }
2759             description { state: "disabled" 0.0;
2760                inherit: "default" 0.0;
2761                color: 0 0 0 128;
2762                color3: 0 0 0 0;
2763             }
2764             description { state: "disabled_visible" 0.0;
2765                inherit: "default" 0.0;
2766                color: 0 0 0 128;
2767                color3: 0 0 0 0;
2768                visible: 1;
2769                text.min: 1 1;
2770             }
2771          }
2772          part {          name: "over1";
2773             mouse_events: 0;
2774             description { state: "default" 0.0;
2775            color: 255 255 255 0;
2776                rel2.relative: 1.0 0.5;
2777                image {
2778                   normal: "bt_hilight.png";
2779                   border: 7 7 7 0;
2780                }
2781             }
2782        description { state: "visible" 0.0;
2783                inherit:  "default" 0.0;
2784           color: 255 255 255 255;
2785             }
2786             description { state: "disabled" 0.0;
2787                inherit:  "default" 0.0;
2788           inherit:  "visible" 0.0;
2789                image {
2790                   normal: "bt_dis_hilight.png";
2791                   border: 4 4 4 0;
2792                }
2793             }
2794          }
2795          part { name: "over2";
2796             mouse_events: 1;
2797             repeat_events: 1;
2798             ignore_flags: ON_HOLD;
2799             description { state: "default" 0.0;
2800                image {
2801                   normal: "bt_shine.png";
2802                   border: 7 7 7 7;
2803                }
2804             }
2805             description { state: "disabled" 0.0;
2806                inherit:  "default" 0.0;
2807                visible: 0;
2808             }
2809          }
2810          part { name: "over3";
2811             mouse_events: 1;
2812             repeat_events: 1;
2813             description { state: "default" 0.0;
2814                color: 255 255 255 0;
2815                image {
2816                   normal: "bt_glow.png";
2817                   border: 12 12 12 12;
2818                }
2819                fill.smooth : 0;
2820             }
2821             description { state: "clicked" 0.0;
2822                inherit:  "default" 0.0;
2823                visible: 1;
2824                color: 255 255 255 255;
2825             }
2826          }
2827           part { name: "disabler";
2828             type: RECT;
2829             description { state: "default" 0.0;
2830                color: 0 0 0 0;
2831                visible: 0;
2832             }
2833             description { state: "disabled" 0.0;
2834                inherit: "default" 0.0;
2835                visible: 1;
2836             }
2837          }
2838       }
2839       programs {
2840     program {
2841             name:   "button_mouse_in";
2842             signal: "mouse,in";
2843             source: "over2";
2844             action: STATE_SET "visible" 0.0;
2845             target: "button_image";
2846        target: "over1";
2847        transition: DECELERATE 0.5;
2848          }
2849          program {
2850             name:   "button_mouse_out";
2851             signal: "mouse,out";
2852             source: "over2";
2853             action: STATE_SET "default" 0.0;
2854             target: "button_image";
2855        target: "over1";
2856        transition: DECELERATE 0.5;
2857          }
2858          program {
2859             name:   "button_unclick";
2860             signal: "mouse,up,1";
2861             source: "over2";
2862             action: STATE_SET "visible" 0.0;
2863             target: "button_image";
2864          }
2865          program {
2866             name:   "button_click2";
2867             signal: "mouse,down,1";
2868             source: "over3";
2869             action: STATE_SET "clicked" 0.0;
2870             target: "over3";
2871          }
2872          program {
2873             name:   "button_unclick2";
2874             signal: "mouse,up,1";
2875             source: "over3";
2876             action: STATE_SET "default" 0.0;
2877             transition: DECELERATE 0.5;
2878             target: "over3";
2879          }
2880          program {
2881             name:   "button_unclick3";
2882             signal: "mouse,up,1";
2883             source: "over2";
2884             action: SIGNAL_EMIT "elm,action,click" "";
2885          }
2886          program { name: "text_show";
2887             signal: "elm,state,text,visible";
2888             source: "elm";
2889             script {
2890                new st[31];
2891                new Float:vl;
2892                get_state(PART:"elm.swallow.content", st, 30, vl);
2893                if (!strcmp(st, "icononly"))
2894                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2895                set_state(PART:"elm.text", "visible", 0.0);
2896             }
2897          }
2898          program { name: "text_hide";
2899             signal: "elm,state,text,hidden";
2900             source: "elm";
2901             script {
2902                new st[31];
2903                new Float:vl;
2904                get_state(PART:"elm.swallow.content", st, 30, vl);
2905                if (!strcmp(st, "visible"))
2906                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2907                set_state(PART:"elm.text", "default", 0.0);
2908             }
2909          }
2910          program { name: "icon_show";
2911             signal: "elm,state,icon,visible";
2912             source: "elm";
2913             script {
2914                new st[31];
2915                new Float:vl;
2916                get_state(PART:"elm.text", st, 30, vl);
2917                if (!strcmp(st, "visible"))
2918                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2919                else
2920                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2921             }
2922          }
2923          program { name: "icon_hide";
2924             signal: "elm,state,icon,hidden";
2925             source: "elm";
2926             action:  STATE_SET "default" 0.0;
2927             target: "elm.swallow.content";
2928          }
2929          program { name: "disable";
2930             signal: "elm,state,disabled";
2931             source: "elm";
2932             action: STATE_SET "disabled" 0.0;
2933             target: "button_image";
2934             target: "over1";
2935             target: "over2";
2936             target: "disabler";
2937             after: "disable_text";
2938          }
2939          program { name: "disable_text";
2940             script {
2941                new st[31];
2942                new Float:vl;
2943                get_state(PART:"elm.text", st, 30, vl);
2944                if (!strcmp(st, "visible"))
2945                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2946                else
2947                  set_state(PART:"elm.text", "disabled", 0.0);
2948             }
2949          }
2950          program { name: "enable";
2951             signal: "elm,state,enabled";
2952             source: "elm";
2953             action: STATE_SET "default" 0.0;
2954             target: "button_image";
2955             target: "over1";
2956             target: "over2";
2957             target: "disabler";
2958             after: "enable_text";
2959          }
2960          program { name: "enable_text";
2961             script {
2962                new st[31];
2963                new Float:vl;
2964                get_state(PART:"elm.text", st, 30, vl);
2965                if (!strcmp(st, "disabled_visible"))
2966                  set_state(PART:"elm.text", "visible", 0.0);
2967                else
2968                  set_state(PART:"elm.text", "default", 0.0);
2969             }
2970          }
2971       }
2972    }
2973
2974 ///////////////////////////////////////////////////////////////////////////////
2975    group { name: "elm/toggle/base/default";
2976       images {
2977          image: "shelf_inset.png" COMP;
2978          image: "bt_basew.png" COMP;
2979          image: "bt_bases.png" COMP;
2980          image: "bt_hilightw.png" COMP;
2981          image: "tog_base_on.png" COMP;
2982          image: "tog_base_off.png" COMP;
2983          image: "tog_dis_base_on.png" COMP;
2984          image: "tog_dis_base_off.png" COMP;
2985       }
2986       script {
2987          public is_rtl;
2988       }
2989       parts {
2990          part { name: "bg";
2991             type: RECT;
2992             mouse_events: 0;
2993             scale: 1;
2994             description { state: "default" 0.0;
2995                rel1.relative: 1.0 0.0;
2996                rel1.offset: -4 3;
2997                rel2.offset: -4 -4;
2998                align: 1.0 0.5;
2999                min: 96 16;
3000                max: 96 16;
3001                aspect: 4.0 4.0;
3002                aspect_preference: VERTICAL;
3003                color: 255 255 255 255;
3004             }
3005          }
3006          part { name: "clipper";
3007             type: RECT;
3008             mouse_events: 0;
3009             description { state: "default" 0.0;
3010                rel1.to: "bg";
3011                rel2.to: "bg";
3012                color: 255 255 255 255;
3013             }
3014          }
3015          part { name: "button";
3016             type: RECT;
3017             scale: 1;
3018             clip_to: "clipper";
3019             mouse_events: 1;
3020              dragable {
3021                x: 1 1 0;
3022                y: 0 0 0;
3023                confine: "bg";
3024             }
3025             description { state: "default" 0.0;
3026                fixed: 1 1;
3027                rel1.to: "bg";
3028                rel2.to: "bg";
3029                min: 16 16;
3030                max: 16 16;
3031                aspect: 1.0 1.0;
3032                aspect_preference: VERTICAL;
3033                color: 0 0 0 0;
3034             }
3035          }
3036          part { name: "button_events";
3037             type: RECT;
3038              dragable {
3039                events: "button";
3040             }
3041             description { state: "default" 0.0;
3042                rel1.to_x: "bg";
3043                rel1.offset: 0 0;
3044                rel1.relative: 0.0 0.0;
3045                rel2.to_x: "bg";
3046                rel2.offset: -1 -1;
3047                rel2.relative: 1.0 1.0;
3048                color: 0 0 0 0;
3049             }
3050          }
3051          part { name: "onrect";
3052             type: IMAGE;
3053             scale: 1;
3054             clip_to: "clipper";
3055             mouse_events: 0;
3056             description { state: "default" 0.0;
3057                rel1.to: "button";
3058                rel1.relative: -5.0 0.0;
3059                rel2.to: "button";
3060                rel2.relative: 0.5 1.0;
3061                image.normal: "tog_base_on.png";
3062             }
3063             description { state: "disabled" 0.0;
3064                inherit: "default" 0.0;
3065                image.normal: "tog_dis_base_on.png";
3066             }
3067          }
3068          part { name: "offrect";
3069             type: IMAGE;
3070             scale: 1;
3071             clip_to: "clipper";
3072             mouse_events: 0;
3073             description { state: "default" 0.0;
3074                rel1.to: "button";
3075                rel1.relative: 0.5 0.0;
3076                rel2.to: "button";
3077                rel2.relative: 6.0 1.0;
3078                image.normal: "tog_base_off.png";
3079             }
3080             description { state: "disabled" 0.0;
3081                inherit: "default" 0.0;
3082                image.normal: "tog_dis_base_off.png";
3083             }
3084          }
3085          part { name: "elm.offtext";
3086             type: TEXT;
3087             mouse_events:  0;
3088             scale: 1;
3089             clip_to: "clipper";
3090             description { state: "default" 0.0;
3091                fixed: 1 1;
3092                rel1.to_x: "button";
3093                rel1.relative: 1.0 0.0;
3094                rel2.to_x: "offrect";
3095                color: 0 0 0 255;
3096                text {
3097                   font:     "Sans,Edje-Vera";
3098                   size:     10;
3099                   min:      0 1;
3100                   align:    0.5 0.5;
3101                   text:     "OFF";
3102                }
3103             }
3104             description { state: "disabled" 0.0;
3105                inherit: "default" 0.0;
3106                color: 128 128 128 128;
3107             }
3108          }
3109          part { name: "elm.ontext";
3110             type: TEXT;
3111             effect: SOFT_SHADOW;
3112             mouse_events:  0;
3113             scale: 1;
3114             clip_to: "clipper";
3115             description { state: "default" 0.0;
3116                fixed: 1 1;
3117                rel1.to_x: "onrect";
3118                rel1.offset: 1 1;
3119                rel2.to_x: "button";
3120                rel2.offset: 0 0;
3121                rel2.relative: 0.0 1.0;
3122                color: 224 224 224 255;
3123                color3: 0 0 0 64;
3124                text {
3125                   font:     "Sans,Edje-Vera";
3126                   size:     10;
3127                   min:      0 1;
3128                   align:    0.5 0.5;
3129                   text:     "ON";
3130                }
3131             }
3132             description { state: "disabled" 0.0;
3133                inherit: "default" 0.0;
3134                color: 128 128 128 128;
3135                color3: 0 0 0 24;
3136             }
3137          }
3138          part { name: "conf_over";
3139             mouse_events:  0;
3140             description { state: "default" 0.0;
3141                rel1.offset: -1 -1;
3142                rel1.to: "bg";
3143                rel2.offset: 0 0;
3144                rel2.to: "bg";
3145                image {
3146                   normal: "shelf_inset.png";
3147                   border: 7 7 7 7;
3148                   middle: 0;
3149                }
3150                fill.smooth : 0;
3151             }
3152          }
3153          part { name: "button0";
3154             mouse_events:  0;
3155             clip_to: "clipper";
3156             description { state: "default" 0.0;
3157                rel1.to: "button2";
3158                rel1.offset: -4 -4;
3159                rel2.to: "button2";
3160                rel2.offset: 3 3;
3161                image {
3162                   normal: "bt_bases.png";
3163                   border: 11 11 11 11;
3164                }
3165                image.middle: SOLID;
3166                color: 255 255 255 128;
3167             }
3168          }
3169          part { name: "button2";
3170             mouse_events:  0;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                rel1.to: "button";
3174                rel1.offset: -2 -2;
3175                rel2.to: "button";
3176                rel2.offset: 1 1;
3177                image {
3178                   normal: "bt_basew.png";
3179                   border: 7 7 7 7;
3180                }
3181                image.middle: SOLID;
3182             }
3183          }
3184          part { name: "button3";
3185             mouse_events:  0;
3186             clip_to: "clipper";
3187             description { state: "default" 0.0;
3188                rel1.to: "button2";
3189                rel2.to: "button2";
3190                rel2.relative: 1.0 0.5;
3191                image {
3192                   normal: "bt_hilightw.png";
3193                   border: 4 4 4 0;
3194                }
3195             }
3196          }
3197          part { name: "elm.swallow.content";
3198             type: SWALLOW;
3199             description { state: "default" 0.0;
3200                fixed: 1 0;
3201                visible: 0;
3202                align: 0.0 0.5;
3203                rel1.offset: 4 4;
3204                rel2.relative: 0.0 1.0;
3205                rel2.offset: 3 -5;
3206             }
3207             description { state: "visible" 0.0;
3208                inherit: "default" 0.0;
3209                visible: 1;
3210                aspect: 1.0 1.0;
3211                rel2.offset: 4 -5;
3212             }
3213             description { state: "disabled" 0.0;
3214                inherit: "default" 0.0;
3215                color: 128 128 128 128;
3216             }
3217             description { state: "disabled_visible" 0.0;
3218                inherit: "default" 0.0;
3219                color: 128 128 128 128;
3220                visible: 1;
3221                aspect: 1.0 1.0;
3222             }
3223          }
3224          part { name: "elm.text";
3225             type: TEXT;
3226             mouse_events: 0;
3227             scale: 1;
3228             description { state: "default" 0.0;
3229                visible: 0;
3230                rel1.to_x: "elm.swallow.content";
3231                rel1.relative: 1.0 0.0;
3232                rel1.offset: 0 4;
3233                rel2.to_x: "bg";
3234                rel2.relative: 0.0 1.0;
3235                rel2.offset: -5 -5;
3236                color: 0 0 0 255;
3237                text {
3238                   font: "Sans,Edje-Vera";
3239                   size: 10;
3240                   min: 0 0;
3241                   align: 0.0 0.5;
3242                }
3243             }
3244             description { state: "visible" 0.0;
3245                inherit: "default" 0.0;
3246                visible: 1;
3247                text.min: 1 1;
3248             }
3249             description { state: "disabled" 0.0;
3250                inherit: "default" 0.0;
3251                color: 128 128 128 128;
3252             }
3253             description { state: "disabled_visible" 0.0;
3254                inherit: "default" 0.0;
3255                color: 128 128 128 128;
3256                visible: 1;
3257                text.min: 1 1;
3258             }
3259          }
3260           part { name: "disabler";
3261             type: RECT;
3262             description { state: "default" 0.0;
3263                color: 0 0 0 0;
3264                visible: 0;
3265             }
3266             description { state: "disabled" 0.0;
3267                inherit: "default" 0.0;
3268                visible: 1;
3269             }
3270          }
3271       }
3272       programs {
3273          program { name:   "drag_end";
3274             signal: "mouse,up,1";
3275             source: "button";
3276             script {
3277                new Float:dx, Float:dy;
3278                get_drag(PART:"button", dx, dy);
3279                if (dx > 0.5)
3280                  {
3281                     set_drag(PART:"button", 1.0, 0.0);
3282                  }
3283                else
3284                  {
3285                     set_drag(PART:"button", 0.0, 0.0);
3286                  }
3287                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3288                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3289                   emit("elm,action,toggle,on", "");
3290                }
3291                else {
3292                   emit("elm,action,toggle,off", "");
3293                }
3294
3295             }
3296          }
3297          program { name: "toggle_on";
3298             signal: "elm,state,toggle,on";
3299             source: "elm";
3300             script {
3301                new Float:drag;
3302                if (get_int(is_rtl) == 0) {
3303                   drag = 100.0;
3304                }
3305                else {
3306                   drag = 0.0;
3307                }
3308                set_drag(PART:"button", drag, 0.0);
3309             }
3310          }
3311          program { name: "toggle_off";
3312             signal: "elm,state,toggle,off";
3313             source: "elm";
3314             script {
3315                new Float:drag;
3316                if (get_int(is_rtl) == 0) {
3317                   drag = 0.0;
3318                }
3319                else {
3320                   drag = 100.0;
3321                }
3322                set_drag(PART:"button", drag, 0.0);
3323             }
3324          }
3325          program { name: "text_show";
3326             signal: "elm,state,text,visible";
3327             source: "elm";
3328             action:  STATE_SET "visible" 0.0;
3329             target: "elm.text";
3330          }
3331          program { name: "text_hide";
3332             signal: "elm,state,text,hidden";
3333             source: "elm";
3334             action:  STATE_SET "default" 0.0;
3335             target: "elm.text";
3336          }
3337          program { name: "icon_show";
3338             signal: "elm,state,icon,visible";
3339             source: "elm";
3340             action:  STATE_SET "visible" 0.0;
3341             target: "elm.swallow.content";
3342          }
3343          program { name: "icon_hide";
3344             signal: "elm,state,icon,hidden";
3345             source: "elm";
3346             action:  STATE_SET "default" 0.0;
3347             target: "elm.swallow.content";
3348          }
3349          program { name: "disable";
3350             signal: "elm,state,disabled";
3351             source: "elm";
3352             action: STATE_SET "disabled" 0.0;
3353             target: "elm.offtext";
3354             target: "elm.ontext";
3355             target: "onrect";
3356             target: "offrect";
3357             target: "disabler";
3358             after: "disable_text";
3359          }
3360          program { name: "disable_text";
3361             script {
3362                new st[31];
3363                new Float:vl;
3364                get_state(PART:"elm.text", st, 30, vl);
3365                if (!strcmp(st, "visible"))
3366                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3367                else
3368                  set_state(PART:"elm.text", "disabled", 0.0);
3369
3370                get_state(PART:"elm.swallow.content", st, 30, vl);
3371                if (!strcmp(st, "visible"))
3372                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3373                else
3374                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3375             }
3376          }
3377          program { name: "enable";
3378             signal: "elm,state,enabled";
3379             source: "elm";
3380             action: STATE_SET "default" 0.0;
3381             target: "disabler";
3382             target: "onrect";
3383             target: "offrect";
3384             after: "enable_text";
3385          }
3386          program { name: "enable_text";
3387             script {
3388                new st[31];
3389                new Float:vl;
3390                get_state(PART:"elm.text", st, 30, vl);
3391                if (!strcmp(st, "disabled_visible"))
3392                  set_state(PART:"elm.text", "visible", 0.0);
3393                else
3394                  set_state(PART:"elm.text", "default", 0.0);
3395
3396                get_state(PART:"elm.swallow.content", st, 30, vl);
3397                if (!strcmp(st, "visible"))
3398                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3399                else
3400                  set_state(PART:"elm.swallow.content", "default", 0.0);
3401             }
3402          }
3403          program { name: "to_rtl";
3404             signal: "edje,state,rtl";
3405             source: "edje";
3406             script {
3407                set_int(is_rtl, 1);
3408             }
3409          }
3410          program { name: "to_ltr";
3411             signal: "edje,state,ltr";
3412             source: "edje";
3413             script {
3414                set_int(is_rtl, 0);
3415             }
3416          }
3417       }
3418    }
3419
3420 ///////////////////////////////////////////////////////////////////////////////
3421    group { name: "elm/clock/flipdigit/default";
3422       images {
3423          image: "flip_base.png" COMP;
3424          image: "flip_base_shad.png" COMP;
3425          image: "flip_shad.png" COMP;
3426          image: "flip_0t.png" COMP;
3427          image: "flip_0b.png" COMP;
3428          image: "flip_1t.png" COMP;
3429          image: "flip_1b.png" COMP;
3430          image: "flip_2t.png" COMP;
3431          image: "flip_2b.png" COMP;
3432          image: "flip_3t.png" COMP;
3433          image: "flip_3b.png" COMP;
3434          image: "flip_4t.png" COMP;
3435          image: "flip_4b.png" COMP;
3436          image: "flip_5t.png" COMP;
3437          image: "flip_5b.png" COMP;
3438          image: "flip_6t.png" COMP;
3439          image: "flip_6b.png" COMP;
3440          image: "flip_7t.png" COMP;
3441          image: "flip_7b.png" COMP;
3442          image: "flip_8t.png" COMP;
3443          image: "flip_8b.png" COMP;
3444          image: "flip_9t.png" COMP;
3445          image: "flip_9b.png" COMP;
3446          image: "arrow_up.png" COMP;
3447          image: "arrow_down.png" COMP;
3448       }
3449       script {
3450          public v0_cur, v0_pre, v0_lock, v0_next;
3451
3452        public animator2(val, Float:pos) {
3453           new st1[11], st2[11], v;
3454
3455           v = get_int(v0_cur);
3456           snprintf(st1, 10, "%ih", v);
3457           snprintf(st2, 10, "%i", v);
3458           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3459           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3460           if (pos >= 1.0) {
3461              set_state(PART:"sh", "default", 0.0);
3462              set_int(v0_lock, 0);
3463              v = get_int(v0_next);
3464              if (v >= 0) {
3465                 set_int(v0_next, -1);
3466                 message(MSG_INT, 1, v);
3467              }
3468           }
3469        }
3470        public animator1(val, Float:pos) {
3471           new st1[11], st2[11], v;
3472
3473           v = get_int(v0_pre);
3474           snprintf(st1, 10, "%i", v);
3475           snprintf(st2, 10, "%ih", v);
3476           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3477           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3478           if (pos >= 1.0) anim(0.2, "animator2", val);
3479        }
3480        public message(Msg_Type:type, id, ...) {
3481           if ((type == MSG_INT) && (id == 1)) {
3482              new value, v, buf[11];
3483
3484              value = getarg(2);
3485              if (get_int(v0_lock) == 1) {
3486                 set_int(v0_next, value);
3487                 return;
3488              }
3489              v = get_int(v0_cur);
3490              set_int(v0_pre, v);
3491              set_int(v0_cur, value);
3492              set_int(v0_lock, 1);
3493              snprintf(buf, 10, "%i", get_int(v0_pre));
3494              set_state(PART:"bot0", buf, 0.0);
3495              snprintf(buf, 10, "%ih", get_int(v0_cur));
3496              set_state(PART:"bot", buf, 0.0);
3497              snprintf(buf, 10, "%i", get_int(v0_cur));
3498              set_state(PART:"top0", buf, 0.0);
3499              snprintf(buf, 10, "%i", get_int(v0_pre));
3500              set_state(PART:"top", buf, 0.0);
3501              set_state(PART:"sh", "default", 0.0);
3502              anim(0.2, "animator1", 1);
3503           }
3504        }
3505       }
3506       parts {
3507          part { name: "shad";
3508             mouse_events: 0;
3509             description { state: "default" 0.0;
3510                rel1.offset: -4 -4;
3511                rel1.to: "base";
3512                rel2.offset: 3 3;
3513                rel2.to: "base";
3514                image {
3515                   normal: "flip_base_shad.png";
3516                   border: 8 8 8 8;
3517                }
3518             }
3519          }
3520          part { name: "base";
3521             scale: 1;
3522             description { state: "default" 0.0;
3523                rel1.offset: 4 4;
3524                rel2.offset: -5 -5;
3525                // FIXME 48x96 should be the native pixel design, right now
3526                // its 80x160. fix int he artwork later
3527                min: 24 48;
3528                aspect: 0.5 0.5;
3529 //               max: 24 48;
3530                image.normal: "flip_base.png";
3531             }
3532          }
3533          part { name: "b";
3534             type: RECT;
3535             mouse_events: 1;
3536             description { state: "default" 0.0;
3537                visible: 0;
3538                rel1.to: "base";
3539                rel1.relative: 0.0 0.5;
3540                rel2.to: "base";
3541                color: 0 0 0 0;
3542             }
3543             description { state: "visible" 0.0;
3544                inherit: "default" 0.0;
3545                visible: 1;
3546             }
3547          }
3548          part { name: "t";
3549             type: RECT;
3550             mouse_events: 1;
3551             description { state: "default" 0.0;
3552                visible: 0;
3553                rel1.to: "base";
3554                rel2.to: "base";
3555                rel2.relative: 1.0 0.5;
3556                color: 0 0 0 0;
3557             }
3558             description { state: "visible" 0.0;
3559                inherit: "default" 0.0;
3560                visible: 1;
3561             }
3562          }
3563          part { name: "bot0";
3564             mouse_events: 0;
3565             description { state: "default" 0.0;
3566                rel1.to: "b";
3567                rel2.to: "b";
3568                image.normal: "flip_0b.png";
3569             }
3570             description { state: "0" 0.0;
3571                inherit: "default" 0.0;
3572                image.normal: "flip_0b.png";
3573             }
3574             description { state: "1" 0.0;
3575                inherit: "default" 0.0;
3576                image.normal: "flip_1b.png";
3577             }
3578             description { state: "2" 0.0;
3579                inherit: "default" 0.0;
3580                image.normal: "flip_2b.png";
3581             }
3582             description { state: "3" 0.0;
3583                inherit: "default" 0.0;
3584                image.normal: "flip_3b.png";
3585             }
3586             description { state: "4" 0.0;
3587                inherit: "default" 0.0;
3588                image.normal: "flip_4b.png";
3589             }
3590             description { state: "5" 0.0;
3591                inherit: "default" 0.0;
3592                image.normal: "flip_5b.png";
3593             }
3594             description { state: "6" 0.0;
3595                inherit: "default" 0.0;
3596                image.normal: "flip_6b.png";
3597             }
3598             description { state: "7" 0.0;
3599                inherit: "default" 0.0;
3600                image.normal: "flip_7b.png";
3601             }
3602             description { state: "8" 0.0;
3603                inherit: "default" 0.0;
3604                image.normal: "flip_8b.png";
3605             }
3606             description { state: "9" 0.0;
3607                inherit: "default" 0.0;
3608                image.normal: "flip_9b.png";
3609             }
3610          }
3611          part { name: "sh";
3612             mouse_events: 0;
3613             description { state: "default" 0.0;
3614                rel1.to: "b";
3615                rel2.to: "b";
3616                rel2.relative: 1.0 0.0;
3617                image.normal: "flip_shad.png";
3618             }
3619             description { state: "half" 0.0;
3620                inherit: "default" 0.0;
3621                rel2.relative: 1.0 0.5;
3622             }
3623             description { state: "full" 0.0;
3624                inherit: "default" 0.0;
3625                rel2.relative: 1.0 1.0;
3626             }
3627          }
3628          part { name: "bot";
3629             mouse_events: 0;
3630             description { state: "default" 0.0;
3631                visible: 1;
3632                rel1.to: "b";
3633                rel2.to: "b";
3634                image.normal: "flip_0b.png";
3635             }
3636             description { state: "0" 0.0;
3637                inherit: "default" 0.0;
3638                visible: 1;
3639                rel2.relative: 1.0 1.0;
3640                image.normal: "flip_0b.png";
3641             }
3642             description { state: "0h" 0.0;
3643                inherit: "default" 0.0;
3644                visible: 0;
3645                rel2.relative: 1.0 0.0;
3646                image.normal: "flip_0b.png";
3647             }
3648             description { state: "1" 0.0;
3649                inherit: "default" 0.0;
3650                visible: 1;
3651                rel2.relative: 1.0 1.0;
3652                image.normal: "flip_1b.png";
3653             }
3654             description { state: "1h" 0.0;
3655                inherit: "default" 0.0;
3656                visible: 0;
3657                rel2.relative: 1.0 0.0;
3658                image.normal: "flip_1b.png";
3659             }
3660             description { state: "2" 0.0;
3661                inherit: "default" 0.0;
3662                visible: 1;
3663                rel2.relative: 1.0 1.0;
3664                image.normal: "flip_2b.png";
3665             }
3666             description { state: "2h" 0.0;
3667                inherit: "default" 0.0;
3668                visible: 0;
3669                rel2.relative: 1.0 0.0;
3670                image.normal: "flip_2b.png";
3671             }
3672             description { state: "3" 0.0;
3673                inherit: "default" 0.0;
3674                visible: 1;
3675                rel2.relative: 1.0 1.0;
3676                image.normal: "flip_3b.png";
3677             }
3678             description { state: "3h" 0.0;
3679                inherit: "default" 0.0;
3680                visible: 0;
3681                rel2.relative: 1.0 0.0;
3682                image.normal: "flip_3b.png";
3683             }
3684             description { state: "4" 0.0;
3685                inherit: "default" 0.0;
3686                visible: 1;
3687                rel2.relative: 1.0 1.0;
3688                image.normal: "flip_4b.png";
3689             }
3690             description { state: "4h" 0.0;
3691                inherit: "default" 0.0;
3692                visible: 0;
3693                rel2.relative: 1.0 0.0;
3694                image.normal: "flip_4b.png";
3695             }
3696             description { state: "5" 0.0;
3697                inherit: "default" 0.0;
3698                visible: 1;
3699                rel2.relative: 1.0 1.0;
3700                image.normal: "flip_5b.png";
3701             }
3702             description { state: "5h" 0.0;
3703                inherit: "default" 0.0;
3704                visible: 0;
3705                rel2.relative: 1.0 0.0;
3706                image.normal: "flip_5b.png";
3707             }
3708             description { state: "6" 0.0;
3709                inherit: "default" 0.0;
3710                visible: 1;
3711                rel2.relative: 1.0 1.0;
3712                image.normal: "flip_6b.png";
3713             }
3714             description { state: "6h" 0.0;
3715                inherit: "default" 0.0;
3716                visible: 0;
3717                rel2.relative: 1.0 0.0;
3718                image.normal: "flip_6b.png";
3719             }
3720             description { state: "7" 0.0;
3721                inherit: "default" 0.0;
3722                visible: 1;
3723                rel2.relative: 1.0 1.0;
3724                image.normal: "flip_7b.png";
3725             }
3726             description { state: "7h" 0.0;
3727                inherit: "default" 0.0;
3728                visible: 0;
3729                rel2.relative: 1.0 0.0;
3730                image.normal: "flip_7b.png";
3731             }
3732             description { state: "8" 0.0;
3733                inherit: "default" 0.0;
3734                visible: 1;
3735                rel2.relative: 1.0 1.0;
3736                image.normal: "flip_8b.png";
3737             }
3738             description { state: "8h" 0.0;
3739                inherit: "default" 0.0;
3740                visible: 0;
3741                rel2.relative: 1.0 0.0;
3742                image.normal: "flip_8b.png";
3743             }
3744             description { state: "9" 0.0;
3745                inherit: "default" 0.0;
3746                visible: 1;
3747                rel2.relative: 1.0 1.0;
3748                image.normal: "flip_9b.png";
3749             }
3750             description { state: "9h" 0.0;
3751                inherit: "default" 0.0;
3752                visible: 0;
3753                rel2.relative: 1.0 0.0;
3754                image.normal: "flip_9b.png";
3755             }
3756          }
3757          part { name: "top0";
3758             mouse_events: 0;
3759             description { state: "default" 0.0;
3760                rel1.to: "t";
3761                rel2.to: "t";
3762                image.normal: "flip_0t.png";
3763             }
3764             description { state: "0" 0.0;
3765                inherit: "default" 0.0;
3766                image.normal: "flip_0t.png";
3767             }
3768             description { state: "1" 0.0;
3769                inherit: "default" 0.0;
3770                image.normal: "flip_1t.png";
3771             }
3772             description { state: "2" 0.0;
3773                inherit: "default" 0.0;
3774                image.normal: "flip_2t.png";
3775             }
3776             description { state: "3" 0.0;
3777                inherit: "default" 0.0;
3778                image.normal: "flip_3t.png";
3779             }
3780             description { state: "4" 0.0;
3781                inherit: "default" 0.0;
3782                image.normal: "flip_4t.png";
3783             }
3784             description { state: "5" 0.0;
3785                inherit: "default" 0.0;
3786                image.normal: "flip_5t.png";
3787             }
3788             description { state: "6" 0.0;
3789                inherit: "default" 0.0;
3790                image.normal: "flip_6t.png";
3791             }
3792             description { state: "7" 0.0;
3793                inherit: "default" 0.0;
3794                image.normal: "flip_7t.png";
3795             }
3796             description { state: "8" 0.0;
3797                inherit: "default" 0.0;
3798                image.normal: "flip_8t.png";
3799             }
3800             description { state: "9" 0.0;
3801                inherit: "default" 0.0;
3802                image.normal: "flip_9t.png";
3803             }
3804          }
3805          part { name: "top";
3806             mouse_events: 0;
3807             description { state: "default" 0.0;
3808                visible: 1;
3809                rel1.to: "t";
3810                rel2.to: "t";
3811                image.normal: "flip_0t.png";
3812             }
3813             description { state: "0" 0.0;
3814                inherit: "default" 0.0;
3815                visible: 1;
3816                rel1.relative: 0.0 0.0;
3817                image.normal: "flip_0t.png";
3818             }
3819             description { state: "0h" 0.0;
3820                inherit: "default" 0.0;
3821                color: 128 128 128 255;
3822                visible: 0;
3823                rel1.relative: 0.0 1.0;
3824                image.normal: "flip_0t.png";
3825             }
3826             description { state: "1" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 1;
3829                rel1.relative: 0.0 0.0;
3830                image.normal: "flip_1t.png";
3831             }
3832             description { state: "1h" 0.0;
3833                inherit: "default" 0.0;
3834                color: 128 128 128 255;
3835                visible: 0;
3836                rel1.relative: 0.0 1.0;
3837                image.normal: "flip_1t.png";
3838             }
3839             description { state: "2" 0.0;
3840                inherit: "default" 0.0;
3841                visible: 1;
3842                rel1.relative: 0.0 0.0;
3843                image.normal: "flip_2t.png";
3844             }
3845             description { state: "2h" 0.0;
3846                inherit: "default" 0.0;
3847                color: 128 128 128 255;
3848                visible: 0;
3849                rel1.relative: 0.0 1.0;
3850                image.normal: "flip_2t.png";
3851             }
3852             description { state: "3" 0.0;
3853                inherit: "default" 0.0;
3854                visible: 1;
3855                rel1.relative: 0.0 0.0;
3856                image.normal: "flip_3t.png";
3857             }
3858             description { state: "3h" 0.0;
3859                inherit: "default" 0.0;
3860                color: 128 128 128 255;
3861                visible: 0;
3862                rel1.relative: 0.0 1.0;
3863                image.normal: "flip_3t.png";
3864             }
3865             description { state: "4" 0.0;
3866                inherit: "default" 0.0;
3867                visible: 1;
3868                rel1.relative: 0.0 0.0;
3869                image.normal: "flip_4t.png";
3870             }
3871             description { state: "4h" 0.0;
3872                inherit: "default" 0.0;
3873                color: 128 128 128 255;
3874                visible: 0;
3875                rel1.relative: 0.0 1.0;
3876                image.normal: "flip_4t.png";
3877             }
3878             description { state: "5" 0.0;
3879                inherit: "default" 0.0;
3880                visible: 1;
3881                rel1.relative: 0.0 0.0;
3882                image.normal: "flip_5t.png";
3883             }
3884             description { state: "5h" 0.0;
3885                inherit: "default" 0.0;
3886                color: 128 128 128 255;
3887                visible: 0;
3888                rel1.relative: 0.0 1.0;
3889                image.normal: "flip_5t.png";
3890             }
3891             description { state: "6" 0.0;
3892                inherit: "default" 0.0;
3893                visible: 1;
3894                rel1.relative: 0.0 0.0;
3895                image.normal: "flip_6t.png";
3896             }
3897             description { state: "6h" 0.0;
3898                inherit: "default" 0.0;
3899                color: 128 128 128 255;
3900                visible: 0;
3901                rel1.relative: 0.0 1.0;
3902                image.normal: "flip_6t.png";
3903             }
3904             description { state: "7" 0.0;
3905                inherit: "default" 0.0;
3906                visible: 1;
3907                rel1.relative: 0.0 0.0;
3908                image.normal: "flip_7t.png";
3909             }
3910             description { state: "7h" 0.0;
3911                inherit: "default" 0.0;
3912                color: 128 128 128 255;
3913                visible: 0;
3914                rel1.relative: 0.0 1.0;
3915                image.normal: "flip_7t.png";
3916             }
3917             description { state: "8" 0.0;
3918                inherit: "default" 0.0;
3919                visible: 1;
3920                rel1.relative: 0.0 0.0;
3921                image.normal: "flip_8t.png";
3922             }
3923             description { state: "8h" 0.0;
3924                inherit: "default" 0.0;
3925                color: 128 128 128 255;
3926                visible: 0;
3927                rel1.relative: 0.0 1.0;
3928                image.normal: "flip_8t.png";
3929             }
3930             description { state: "9" 0.0;
3931                inherit: "default" 0.0;
3932                visible: 1;
3933                rel1.relative: 0.0 0.0;
3934                image.normal: "flip_9t.png";
3935             }
3936             description { state: "9h" 0.0;
3937                inherit: "default" 0.0;
3938                color: 128 128 128 255;
3939                visible: 0;
3940                rel1.relative: 0.0 1.0;
3941                image.normal: "flip_9t.png";
3942             }
3943          }
3944          part { name: "atop";
3945             mouse_events: 0;
3946             scale: 1;
3947             description { state: "default" 0.0;
3948                visible: 0;
3949                min: 15 15;
3950                max: 15 15;
3951                align: 0.5 0.0;
3952                rel1.to: "t";
3953                rel2.to: "t";
3954                image.normal: "arrow_up.png";
3955             }
3956             description { state: "visible" 0.0;
3957                inherit: "default" 0.0;
3958                visible: 1;
3959             }
3960          }
3961          part { name: "abot";
3962             mouse_events: 0;
3963             scale: 1;
3964             description { state: "default" 0.0;
3965                visible: 0;
3966                min: 15 15;
3967                max: 15 15;
3968                align: 0.5 1.0;
3969                rel1.to: "b";
3970                rel2.to: "b";
3971                image.normal: "arrow_down.png";
3972             }
3973             description { state: "visible" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976             }
3977          }
3978       }
3979       programs {
3980          program { name: "load";
3981             signal: "load";
3982             source: "";
3983             script {
3984                set_int(v0_cur, 0);
3985                set_int(v0_pre, 0);
3986                set_int(v0_lock, 0);
3987                set_int(v0_next, -1);
3988             }
3989          }
3990          program { name: "edit_on";
3991             signal: "elm,state,edit,on";
3992             source: "elm";
3993             action: STATE_SET "visible" 0.0;
3994             target: "atop";
3995             target: "abot";
3996             target: "t";
3997             target: "b";
3998          }
3999          program { name: "edit_off";
4000             signal: "elm,state,edit,off";
4001             source: "elm";
4002             action: STATE_SET "default" 0.0;
4003             target: "atop";
4004             target: "abot";
4005             target: "t";
4006             target: "b";
4007          }
4008          program { name: "up";
4009             signal: "mouse,down,1";
4010             source: "t";
4011             action: SIGNAL_EMIT "elm,action,up,start" "";
4012          }
4013          program { name: "up,stop";
4014             signal: "mouse,up,1";
4015             source: "t";
4016             action: SIGNAL_EMIT "elm,action,up,stop" "";
4017          }
4018          program { name: "down";
4019             signal: "mouse,down,1";
4020             source: "b";
4021             action: SIGNAL_EMIT "elm,action,down,start" "";
4022          }
4023          program { name: "down,stop";
4024             signal: "mouse,up,1";
4025             source: "b";
4026             action: SIGNAL_EMIT "elm,action,down,stop" "";
4027          }
4028       }
4029    }
4030
4031 ///////////////////////////////////////////////////////////////////////////////
4032    group { name: "elm/clock/flipampm/default";
4033       images {
4034          image: "flip_base.png" COMP;
4035          image: "flip_base_shad.png" COMP;
4036          image: "flip_shad.png" COMP;
4037          image: "flip_amt.png" COMP;
4038          image: "flip_amb.png" COMP;
4039          image: "flip_pmt.png" COMP;
4040          image: "flip_pmb.png" COMP;
4041          image: "arrow_up.png" COMP;
4042          image: "arrow_down.png" COMP;
4043       }
4044       script {
4045          public v0_cur, v0_pre, v0_lock, v0_next;
4046
4047        public animator2(val, Float:pos) {
4048           new st1[11], st2[11], v;
4049
4050           v = get_int(v0_cur);
4051           snprintf(st1, 10, "%ih", v);
4052           snprintf(st2, 10, "%i", v);
4053           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4054           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4055           if (pos >= 1.0) {
4056              set_state(PART:"sh", "default", 0.0);
4057              set_int(v0_lock, 0);
4058              v = get_int(v0_next);
4059              if (v >= 0) {
4060                 set_int(v0_next, -1);
4061                 message(MSG_INT, 1, v);
4062              }
4063           }
4064        }
4065        public animator1(val, Float:pos) {
4066           new st1[11], st2[11], v;
4067
4068           v = get_int(v0_pre);
4069           snprintf(st1, 10, "%i", v);
4070           snprintf(st2, 10, "%ih", v);
4071           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4072           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4073           if (pos >= 1.0) anim(0.2, "animator2", val);
4074        }
4075        public message(Msg_Type:type, id, ...) {
4076           if ((type == MSG_INT) && (id == 1)) {
4077              new value, v, buf[11];
4078
4079              value = getarg(2);
4080              if (get_int(v0_lock) == 1) {
4081                 set_int(v0_next, value);
4082                 return;
4083              }
4084              v = get_int(v0_cur);
4085              set_int(v0_pre, v);
4086              set_int(v0_cur, value);
4087              set_int(v0_lock, 1);
4088              snprintf(buf, 10, "%i", get_int(v0_pre));
4089              set_state(PART:"bot0", buf, 0.0);
4090              snprintf(buf, 10, "%ih", get_int(v0_cur));
4091              set_state(PART:"bot", buf, 0.0);
4092              snprintf(buf, 10, "%i", get_int(v0_cur));
4093              set_state(PART:"top0", buf, 0.0);
4094              snprintf(buf, 10, "%i", get_int(v0_pre));
4095              set_state(PART:"top", buf, 0.0);
4096              set_state(PART:"sh", "default", 0.0);
4097              anim(0.2, "animator1", 1);
4098           }
4099        }
4100       }
4101       parts {
4102          part { name: "shad";
4103             mouse_events: 0;
4104             description { state: "default" 0.0;
4105                rel1.offset: -4 -4;
4106                rel1.to: "base";
4107                rel2.offset: 3 3;
4108                rel2.to: "base";
4109                image {
4110                   normal: "flip_base_shad.png";
4111                   border: 8 8 8 8;
4112                }
4113             }
4114          }
4115          part { name: "base";
4116             mouse_events: 0;
4117             scale: 1;
4118             description { state: "default" 0.0;
4119                rel1.offset: 4 4;
4120                rel2.offset: -5 -5;
4121                // FIXME 48x96 should be the native pixel design, right now
4122                // its 80x160. fix int he artwork later
4123                aspect: 0.5 0.5;
4124                min: 24 48;
4125 //               max: 24 48;
4126                image.normal: "flip_base.png";
4127             }
4128          }
4129          part { name: "b";
4130             type: RECT;
4131             mouse_events: 1;
4132             description { state: "default" 0.0;
4133                rel1.to: "base";
4134                rel1.relative: 0.0 0.5;
4135                rel2.to: "base";
4136                color: 0 0 0 0;
4137             }
4138          }
4139          part { name: "t";
4140             type: RECT;
4141             mouse_events: 1;
4142             description { state: "default" 0.0;
4143                rel1.to: "base";
4144                rel2.to: "base";
4145                rel2.relative: 1.0 0.5;
4146                color: 0 0 0 0;
4147             }
4148          }
4149          part { name: "bot0";
4150             mouse_events: 0;
4151             description { state: "default" 0.0;
4152                rel1.to: "b";
4153                rel2.to: "b";
4154                image.normal: "flip_amb.png";
4155             }
4156             description { state: "0" 0.0;
4157                inherit: "default" 0.0;
4158                image.normal: "flip_amb.png";
4159             }
4160             description { state: "1" 0.0;
4161                inherit: "default" 0.0;
4162                image.normal: "flip_pmb.png";
4163             }
4164          }
4165          part { name: "sh";
4166             mouse_events: 0;
4167             description { state: "default" 0.0;
4168                rel1.to: "b";
4169                rel2.to: "b";
4170                rel2.relative: 1.0 0.0;
4171                image.normal: "flip_shad.png";
4172             }
4173             description { state: "half" 0.0;
4174                inherit: "default" 0.0;
4175                rel2.relative: 1.0 0.5;
4176             }
4177             description { state: "full" 0.0;
4178                inherit: "default" 0.0;
4179                rel2.relative: 1.0 1.0;
4180             }
4181          }
4182          part { name: "bot";
4183             mouse_events: 0;
4184             description { state: "default" 0.0;
4185                visible: 1;
4186                rel1.to: "b";
4187                rel2.to: "b";
4188                image.normal: "flip_amb.png";
4189             }
4190             description { state: "0" 0.0;
4191                inherit: "default" 0.0;
4192                visible: 1;
4193                rel2.relative: 1.0 1.0;
4194                image.normal: "flip_amb.png";
4195             }
4196             description { state: "0h" 0.0;
4197                inherit: "default" 0.0;
4198                visible: 0;
4199                rel2.relative: 1.0 0.0;
4200                image.normal: "flip_amb.png";
4201             }
4202             description { state: "1" 0.0;
4203                inherit: "default" 0.0;
4204                visible: 1;
4205                rel2.relative: 1.0 1.0;
4206                image.normal: "flip_pmb.png";
4207             }
4208             description { state: "1h" 0.0;
4209                inherit: "default" 0.0;
4210                visible: 0;
4211                rel2.relative: 1.0 0.0;
4212                image.normal: "flip_pmb.png";
4213             }
4214          }
4215          part { name: "top0";
4216             mouse_events: 0;
4217             description { state: "default" 0.0;
4218                rel1.to: "t";
4219                rel2.to: "t";
4220                image.normal: "flip_amt.png";
4221             }
4222             description { state: "0" 0.0;
4223                inherit: "default" 0.0;
4224                image.normal: "flip_amt.png";
4225             }
4226             description { state: "1" 0.0;
4227                inherit: "default" 0.0;
4228                image.normal: "flip_pmt.png";
4229             }
4230          }
4231          part { name: "top";
4232             mouse_events: 0;
4233             description { state: "default" 0.0;
4234                visible: 1;
4235                rel1.to: "t";
4236                rel2.to: "t";
4237                image.normal: "flip_amt.png";
4238             }
4239             description { state: "0" 0.0;
4240                inherit: "default" 0.0;
4241                visible: 1;
4242                rel1.relative: 0.0 0.0;
4243                image.normal: "flip_amt.png";
4244             }
4245             description { state: "0h" 0.0;
4246                inherit: "default" 0.0;
4247                color: 128 128 128 255;
4248                visible: 0;
4249                rel1.relative: 0.0 1.0;
4250                image.normal: "flip_amt.png";
4251             }
4252             description { state: "1" 0.0;
4253                inherit: "default" 0.0;
4254                visible: 1;
4255                rel1.relative: 0.0 0.0;
4256                image.normal: "flip_pmt.png";
4257             }
4258             description { state: "1h" 0.0;
4259                inherit: "default" 0.0;
4260                color: 128 128 128 255;
4261                visible: 0;
4262                rel1.relative: 0.0 1.0;
4263                image.normal: "flip_pmt.png";
4264             }
4265          }
4266          part { name: "atop";
4267             mouse_events: 0;
4268             scale: 1;
4269             description { state: "default" 0.0;
4270                visible: 0;
4271                min: 15 15;
4272                max: 15 15;
4273                align: 0.5 0.0;
4274                rel1.to: "t";
4275                rel2.to: "t";
4276                image.normal: "arrow_up.png";
4277             }
4278             description { state: "visible" 0.0;
4279                inherit: "default" 0.0;
4280                visible: 1;
4281             }
4282          }
4283          part { name: "abot";
4284             mouse_events: 0;
4285             scale: 1;
4286             description { state: "default" 0.0;
4287                visible: 0;
4288                min: 15 15;
4289                max: 15 15;
4290                align: 0.5 1.0;
4291                rel1.to: "b";
4292                rel2.to: "b";
4293                image.normal: "arrow_down.png";
4294             }
4295             description { state: "visible" 0.0;
4296                inherit: "default" 0.0;
4297                visible: 1;
4298             }
4299          }
4300       }
4301       programs {
4302          program { name: "load";
4303             signal: "load";
4304             source: "";
4305             script {
4306                set_int(v0_cur, 0);
4307                set_int(v0_pre, 0);
4308                set_int(v0_lock, 0);
4309                set_int(v0_next, -1);
4310             }
4311          }
4312          program { name: "edit_on";
4313             signal: "elm,state,edit,on";
4314             source: "elm";
4315             action: STATE_SET "visible" 0.0;
4316             target: "atop";
4317             target: "abot";
4318          }
4319 /*
4320          program { name: "edit_off";
4321             signal: "elm,state,edit,off";
4322             source: "elm";
4323             action: STATE_SET "default" 0.0;
4324             target: "atop";
4325             target: "abot";
4326          }
4327  */
4328          program { name: "up";
4329             signal: "mouse,down,1";
4330             source: "t";
4331             action: SIGNAL_EMIT "elm,action,up,start" "";
4332          }
4333          program { name: "up,stop";
4334             signal: "mouse,up,1";
4335             source: "t";
4336             action: SIGNAL_EMIT "elm,action,up,stop" "";
4337          }
4338          program { name: "down";
4339             signal: "mouse,down,1";
4340             source: "b";
4341             action: SIGNAL_EMIT "elm,action,down,start" "";
4342          }
4343          program { name: "down,stop";
4344             signal: "mouse,up,1";
4345             source: "b";
4346             action: SIGNAL_EMIT "elm,action,down,stop" "";
4347          }
4348       }
4349    }
4350
4351    ///////////////////////////////////////////////////////////////////////////////
4352    group { name: "elm/menu/item/default";
4353        images {
4354            image: "bt_base1.png" COMP;
4355            image: "bt_base2.png" COMP;
4356            image: "bt_hilight.png" COMP;
4357            image: "bt_shine.png" COMP;
4358            image: "bt_glow.png" COMP;
4359            image: "bt_dis_base.png" COMP;
4360            image: "bt_dis_hilight.png" COMP;
4361        }
4362        script {
4363             public menu_text_visible; //0:hide (default), 1:visible
4364             public menu_disable; //0:enable, 1:disable
4365        }
4366        parts {
4367            part { name: "item_image";
4368                mouse_events: 1;
4369                description { state: "default" 0.0;
4370                    color: 255 255 255 0;
4371                    image {
4372                        normal: "bt_base2.png";
4373                        border: 7 7 7 7;
4374                    }
4375                    image.middle: SOLID;
4376                }
4377                description { state: "visible" 0.0;
4378                    inherit: "default" 0.0;
4379                    color: 255 255 255 255;
4380                }
4381                description { state: "clicked" 0.0;
4382                    inherit: "default" 0.0;
4383                    inherit: "visible" 0.0;
4384                    image.normal: "bt_base1.png";
4385                    image.middle: SOLID;
4386                }
4387                description { state: "disabled" 0.0;
4388                    inherit:  "default" 0.0;
4389                }
4390            }
4391            part { name: "item_image_disabled";
4392                mouse_events: 1;
4393                description { state: "default" 0.0;
4394                    color: 255 255 255 0;
4395                    image {
4396                        normal: "bt_dis_base.png";
4397                        border: 4 4 4 4;
4398                    }
4399                    image.middle: SOLID;
4400                }
4401                description { state: "disabled" 0.0;
4402                    inherit:  "default" 0.0;
4403                    color: 255 255 255 255;
4404                }
4405            }
4406            part { name: "elm.swallow.content";
4407                type: SWALLOW;
4408                description { state: "default" 0.0;
4409                    fixed: 1 0;
4410                    visible: 1;
4411                    align: 0.0 0.5;
4412                    rel1.offset: 4 4;
4413                    rel2.offset: 3 -5;
4414                    rel2.relative: 0.0 1.0;
4415                    aspect: 1.0 1.0;
4416                    aspect_preference: VERTICAL;
4417                    rel2.offset: 4 -5;
4418                }
4419            }
4420            part {
4421                name:          "elm.text";
4422                type:          TEXT;
4423                mouse_events:  0;
4424                scale: 1;
4425                description { state: "default" 0.0;
4426                    visible: 0;
4427                    rel1.to_x: "elm.swallow.content";
4428                    rel1.relative: 1.0 0.0;
4429                    rel1.offset: 5 7;
4430                    rel2.offset: -10 -8;
4431                    color: 0 0 0 255;
4432                    text {
4433                        font:     "Sans,Edje-Vera";
4434                        size:     10;
4435                        min:      1 1;
4436                        align:    0.0 0.5;
4437                        text_class: "menu_item";
4438                    }
4439                }
4440                description { state: "visible" 0.0;
4441                    inherit: "default" 0.0;
4442                    visible: 1;
4443                    text.min: 1 1;
4444                }
4445                description { state: "selected" 0.0;
4446                    inherit: "default" 0.0;
4447                    inherit: "visible" 0.0;
4448                    color: 254 254 254 255;
4449                }
4450                description { state: "disabled" 0.0;
4451                    inherit: "default" 0.0;
4452                    color: 0 0 0 128;
4453                }
4454                description { state: "disabled_visible" 0.0;
4455                    inherit: "default" 0.0;
4456                    inherit: "visible" 0.0;
4457                    color: 0 0 0 128;
4458                }
4459            }
4460            part {          name: "over1";
4461                mouse_events: 0;
4462                description { state: "default" 0.0;
4463                    color: 255 255 255 0;
4464                    rel2.relative: 1.0 0.5;
4465                    image {
4466                        normal: "bt_hilight.png";
4467                        border: 7 7 7 0;
4468                    }
4469                }
4470                description { state: "visible" 0.0;
4471                    inherit:  "default" 0.0;
4472                    color: 255 255 255 255;
4473                }
4474                description { state: "disabled" 0.0;
4475                    inherit:  "default" 0.0;
4476                }
4477            }
4478            part {          name: "over_disabled";
4479                mouse_events: 0;
4480                description { state: "default" 0.0;
4481                    color: 255 255 255 0;
4482                    rel2.relative: 1.0 0.5;
4483                    image {
4484                        normal: "bt_dis_hilight.png";
4485                        border: 4 4 4 0;
4486                    }
4487                }
4488                description { state: "disabled" 0.0;
4489                    inherit:  "default" 0.0;
4490                    color: 255 255 255 255;
4491                }
4492            }
4493            part { name: "over2";
4494                mouse_events: 1;
4495                repeat_events: 1;
4496                ignore_flags: ON_HOLD;
4497                description { state: "default" 0.0;
4498                    image {
4499                        normal: "bt_shine.png";
4500                        border: 7 7 7 7;
4501                    }
4502                }
4503                description { state: "disabled" 0.0;
4504                    inherit:  "default" 0.0;
4505                    visible: 0;
4506                }
4507            }
4508            part { name: "over3";
4509                mouse_events: 1;
4510                repeat_events: 1;
4511                description { state: "default" 0.0;
4512                    color: 255 255 255 0;
4513                    image {
4514                        normal: "bt_glow.png";
4515                        border: 12 12 12 12;
4516                    }
4517                    fill.smooth : 0;
4518                }
4519                description { state: "clicked" 0.0;
4520                    inherit:  "default" 0.0;
4521                    visible: 1;
4522                    color: 255 255 255 255;
4523                }
4524            }
4525            part { name: "disabler";
4526                type: RECT;
4527                description { state: "default" 0.0;
4528                    color: 0 0 0 0;
4529                    visible: 0;
4530                }
4531                description { state: "disabled" 0.0;
4532                    inherit: "default" 0.0;
4533                    visible: 1;
4534                }
4535            }
4536        }
4537        programs {
4538           //
4539            program {
4540                name:   "item_mouse_in";
4541                signal: "mouse,in";
4542                source: "over2";
4543                action: SIGNAL_EMIT "elm,action,activate" "";
4544                after: "item_mouse_in_2";
4545                after: "item_mouse_in_3";
4546            }
4547            program {
4548                name:   "item_mouse_in_2";
4549                transition: DECELERATE 0.5;
4550                script {
4551                    new v, d;
4552                    v = get_int(menu_text_visible);
4553                    d = get_int(menu_disable);
4554
4555                    if (v==1 && d==0)
4556                         run_program(PROGRAM:"selected_text");
4557                }
4558            }
4559            program {
4560                name:   "item_mouse_in_3";
4561                action : STATE_SET "visible" 0.0;
4562                target: "item_image";
4563                target: "over1";
4564                transition: DECELERATE 0.5;
4565            }
4566            program {
4567                name:   "selected_text";
4568                action: STATE_SET "selected" 0.0;
4569                target: "elm.text";
4570                transition: DECELERATE 0.5;
4571            }
4572            //
4573
4574            //
4575            program {
4576                name:   "item_mouse_out";
4577                signal: "mouse,out";
4578                source: "over2";
4579                action: SIGNAL_EMIT "elm,action,inactivate" "";
4580                after: "item_mouse_out_2";
4581                after: "item_mouse_out_3";
4582            }
4583            program {
4584                name:   "item_mouse_out_2";
4585                transition: DECELERATE 0.5;
4586                script {
4587                    new v, d;
4588                    v = get_int(menu_text_visible);
4589                    d = get_int(menu_disable);
4590
4591                    if (v==1 && d==0)
4592                         run_program(PROGRAM:"visible_text");
4593                }
4594            }
4595            program {
4596                name:   "item_mouse_out_3";
4597                action: STATE_SET "default" 0.0;
4598                target: "item_image";
4599                target: "over1";
4600                transition: DECELERATE 0.5;
4601            }
4602            program {
4603                name:   "visible_text";
4604                action: STATE_SET "visible" 0.0;
4605                target: "elm.text";
4606                transition: DECELERATE 0.5;
4607            }
4608            //
4609
4610            program {
4611                name:   "item_unclick";
4612                signal: "mouse,up,1";
4613                source: "over2";
4614                action: STATE_SET "visible" 0.0;
4615                target: "item_image";
4616            }
4617            program {
4618                name:   "item_click2";
4619                signal: "mouse,down,1";
4620                source: "over3";
4621                action: STATE_SET "clicked" 0.0;
4622                target: "over3";
4623            }
4624            program {
4625                name:   "item_unclick2";
4626                signal: "mouse,up,1";
4627                source: "over3";
4628                action: STATE_SET "default" 0.0;
4629                transition: DECELERATE 0.5;
4630                target: "over3";
4631            }
4632            program {
4633                name:   "item_unclick3";
4634                signal: "mouse,up,1";
4635                source: "over2";
4636                action: SIGNAL_EMIT "elm,action,click" "";
4637            }
4638            program { name: "text_show";
4639                signal: "elm,state,text,visible";
4640                source: "elm";
4641                script {
4642                    set_int(menu_text_visible, 1);
4643                    set_state(PART:"elm.text", "visible", 0.0);
4644                }
4645            }
4646            program { name: "text_hide";
4647                signal: "elm,state,text,hidden";
4648                source: "elm";
4649                script {
4650                    set_int(menu_text_visible, 0);
4651                    set_state(PART:"elm.text", "default", 0.0);
4652                }
4653            }
4654            program { name: "disable";
4655                signal: "elm,state,disabled";
4656                source: "elm";
4657                action: STATE_SET "disabled" 0.0;
4658                target: "item_image";
4659                target: "item_image_disabled";
4660                target: "over1";
4661                target: "over2";
4662                target: "over_disabled";
4663                target: "disabler";
4664                after: "disable_text";
4665            }
4666            program { name: "disable_text";
4667                script {
4668                    new v;
4669                    v = get_int(menu_text_visible);
4670                    if (v==1)
4671                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4672                    else if (v==0)
4673                     set_state(PART:"elm.text", "disabled", 0.0);
4674                    set_int(menu_disable, 1);
4675                }
4676            }
4677            program { name: "item_select";
4678                signal: "elm,state,selected";
4679                source: "elm";
4680                after: "item_mouse_in_2";
4681                after: "item_mouse_in_3";
4682            }
4683            program { name: "item_unselect";
4684                signal: "elm,state,unselected";
4685                source: "elm";
4686                after: "item_mouse_out_2";
4687                after: "item_mouse_out_3";
4688            }
4689            program { name: "enable";
4690                signal: "elm,state,enabled";
4691                source: "elm";
4692                action: STATE_SET "default" 0.0;
4693                target: "item_image";
4694                target: "item_image_disabled";
4695                target: "over1";
4696                target: "over2";
4697                target: "over_disabled";
4698                target: "disabler";
4699                after: "enable_text";
4700            }
4701            program { name: "enable_text";
4702                script {
4703                    new v;
4704                    v = get_int(menu_text_visible);
4705                    if (v==1)
4706                     set_state(PART:"elm.text", "visible", 0.0);
4707                    else  if (v==0)
4708                     set_state(PART:"elm.text", "default", 0.0);
4709                    set_int(menu_disable, 0);
4710                }
4711            }
4712        }
4713    }
4714
4715    group { name: "elm/menu/item_with_submenu/default";
4716        images {
4717            image: "bt_base1.png" COMP;
4718            image: "bt_base2.png" COMP;
4719            image: "bt_hilight.png" COMP;
4720            image: "bt_shine.png" COMP;
4721            image: "bt_glow.png" COMP;
4722            image: "bt_dis_base.png" COMP;
4723            image: "bt_dis_hilight.png" COMP;
4724            image: "arrow_right.png" COMP;
4725            image: "arrow_left.png" COMP;
4726        }
4727        script {
4728             public menu_text_visible; //0:hide (default), 1:visible
4729             public menu_disable; //0:enable, 1:disable
4730        }
4731        parts {
4732            part { name: "item_image";
4733                mouse_events: 1;
4734                description { state: "default" 0.0;
4735                    color: 255 255 255 0;
4736                    image {
4737                        normal: "bt_base2.png";
4738                        border: 7 7 7 7;
4739                    }
4740                    image.middle: SOLID;
4741                }
4742                description { state: "visible" 0.0;
4743                    inherit: "default" 0.0;
4744                    color: 255 255 255 255;
4745                }
4746                description { state: "clicked" 0.0;
4747                    inherit: "default" 0.0;
4748                    inherit: "visible" 0.0;
4749                    image.normal: "bt_base1.png";
4750                    image.middle: SOLID;
4751                }
4752                description { state: "disabled" 0.0;
4753                    inherit:  "default" 0.0;
4754                }
4755            }
4756            part { name: "item_image_disabled";
4757                mouse_events: 1;
4758                description { state: "default" 0.0;
4759                    color: 255 255 255 0;
4760                    image {
4761                        normal: "bt_dis_base.png";
4762                        border: 4 4 4 4;
4763                    }
4764                    image.middle: SOLID;
4765                }
4766                description { state: "disabled" 0.0;
4767                    inherit:  "default" 0.0;
4768                    color: 255 255 255 255;
4769                }
4770            }
4771            part { name: "arrow";
4772                mouse_events: 1;
4773                description { state: "default" 0.0;
4774                    color: 255 255 255 255;
4775                    align: 1.0 0.5;
4776                    aspect: 1 1;
4777                    aspect_preference: BOTH;
4778                    image {
4779                        normal: "arrow_right.png";
4780                    }
4781                }
4782                description { state: "rtl" 0.0;
4783                   inherit: "default" 0.0;
4784                   image.normal: "arrow_left.png";
4785                }
4786            }
4787            part { name: "elm.swallow.content";
4788                type: SWALLOW;
4789                description { state: "default" 0.0;
4790                    fixed: 1 0;
4791                    visible: 1;
4792                    align: 0.0 0.5;
4793                    rel1.offset: 4 4;
4794                    rel2.offset: 3 -5;
4795                    rel2.relative: 0.0 1.0;
4796                    aspect: 1.0 1.0;
4797                    aspect_preference: VERTICAL;
4798                    rel2.offset: 4 -5;
4799                }
4800            }
4801            part {
4802                name:          "elm.text";
4803                type:          TEXT;
4804                mouse_events:  0;
4805                scale: 1;
4806                description { state: "default" 0.0;
4807                    visible: 0;
4808                    rel1.to_x: "elm.swallow.content";
4809                    rel1.relative: 1.0 0.0;
4810                    rel1.offset: 5 7;
4811                    rel2.offset: -10 -8;
4812                    color: 0 0 0 255;
4813                    text {
4814                        font:     "Sans,Edje-Vera";
4815                        size:     10;
4816                        min:      1 1;
4817                        align:    0.0 0.5;
4818                        text_class: "menu_item";
4819                    }
4820                }
4821                description { state: "visible" 0.0;
4822                    inherit: "default" 0.0;
4823                    visible: 1;
4824                    text.min: 1 1;
4825                }
4826                description { state: "selected" 0.0;
4827                    inherit: "default" 0.0;
4828                    inherit: "visible" 0.0;
4829                    color: 254 254 254 255;
4830                }
4831                description { state: "disabled" 0.0;
4832                    inherit: "default" 0.0;
4833                    color: 0 0 0 128;
4834                }
4835                description { state: "disabled_visible" 0.0;
4836                    inherit: "default" 0.0;
4837                    inherit: "visible" 0.0;
4838                    color: 0 0 0 128;
4839                }
4840            }
4841            part {          name: "over1";
4842                mouse_events: 0;
4843                description { state: "default" 0.0;
4844                    color: 255 255 255 0;
4845                    rel2.relative: 1.0 0.5;
4846                    image {
4847                        normal: "bt_hilight.png";
4848                        border: 7 7 7 0;
4849                    }
4850                }
4851                description { state: "visible" 0.0;
4852                    inherit:  "default" 0.0;
4853                    color: 255 255 255 255;
4854                }
4855                description { state: "disabled" 0.0;
4856                    inherit:  "default" 0.0;
4857                }
4858            }
4859            part { name: "over_disabled";
4860                mouse_events: 0;
4861                description { state: "default" 0.0;
4862                    color: 255 255 255 0;
4863                    rel2.relative: 1.0 0.5;
4864                    image {
4865                        normal: "bt_dis_hilight.png";
4866                        border: 4 4 4 0;
4867                    }
4868                }
4869                description { state: "disabled" 0.0;
4870                    inherit:  "default" 0.0;
4871                    color: 255 255 255 255;
4872                }
4873            }
4874            part { name: "over2";
4875                mouse_events: 1;
4876                repeat_events: 1;
4877                ignore_flags: ON_HOLD;
4878                description { state: "default" 0.0;
4879                    image {
4880                        normal: "bt_shine.png";
4881                        border: 7 7 7 7;
4882                    }
4883                }
4884                description { state: "disabled" 0.0;
4885                    inherit:  "default" 0.0;
4886                    visible: 0;
4887                }
4888            }
4889            part { name: "over3";
4890                mouse_events: 1;
4891                repeat_events: 1;
4892                description { state: "default" 0.0;
4893                    color: 255 255 255 0;
4894                    image {
4895                        normal: "bt_glow.png";
4896                        border: 12 12 12 12;
4897                    }
4898                    fill.smooth : 0;
4899                }
4900                description { state: "clicked" 0.0;
4901                    inherit:  "default" 0.0;
4902                    visible: 1;
4903                    color: 255 255 255 255;
4904                }
4905            }
4906            part { name: "disabler";
4907                type: RECT;
4908                description { state: "default" 0.0;
4909                    color: 0 0 0 0;
4910                    visible: 0;
4911                }
4912                description { state: "disabled" 0.0;
4913                    inherit: "default" 0.0;
4914                    visible: 1;
4915                }
4916            }
4917        }
4918        programs {
4919            //
4920            program {
4921                name:   "item_mouse_in";
4922                signal: "mouse,in";
4923                source: "over2";
4924                action: SIGNAL_EMIT "elm,action,activate" "";
4925                after: "item_mouse_in_2";
4926                after: "item_mouse_in_3";
4927            }
4928            program {
4929                name:   "item_mouse_in_2";
4930                transition: DECELERATE 0.5;
4931                script {
4932                    new v, d;
4933                    v = get_int(menu_text_visible);
4934                    d = get_int(menu_disable);
4935
4936                    if (v==1 && d==0)
4937                         run_program(PROGRAM:"selected_text");
4938                }
4939            }
4940            program {
4941                name:   "item_mouse_in_3";
4942                action : STATE_SET "visible" 0.0;
4943                target: "item_image";
4944                target: "over1";
4945                transition: DECELERATE 0.5;
4946            }
4947            program {
4948                name:   "selected_text";
4949                action: STATE_SET "selected" 0.0;
4950                target: "elm.text";
4951                transition: DECELERATE 0.5;
4952            }
4953            //
4954
4955            //
4956            program {
4957                name:   "item_mouse_out";
4958                signal: "mouse,out";
4959                source: "over2";
4960                after: "item_mouse_out_2";
4961                after: "item_mouse_out_3";
4962            }
4963            program {
4964                name:   "item_mouse_out_2";
4965                transition: DECELERATE 0.5;
4966                script {
4967                    new v, d;
4968                    v = get_int(menu_text_visible);
4969                    d = get_int(menu_disable);
4970
4971                    if (v==1 && d==0)
4972                         run_program(PROGRAM:"visible_text");
4973                }
4974            }
4975            program {
4976                name:   "item_mouse_out_3";
4977                action: STATE_SET "default" 0.0;
4978                target: "item_image";
4979                target: "over1";
4980                transition: DECELERATE 0.5;
4981            }
4982            program {
4983                name:   "visible_text";
4984                action: STATE_SET "visible" 0.0;
4985                target: "elm.text";
4986                transition: DECELERATE 0.5;
4987            }
4988            //
4989
4990            program {
4991                name:   "item_unclick";
4992                signal: "mouse,up,1";
4993                source: "over2";
4994                action: STATE_SET "visible" 0.0;
4995                target: "item_image";
4996            }
4997            program {
4998                name:   "item_click2";
4999                signal: "mouse,down,1";
5000                source: "over3";
5001                action: STATE_SET "clicked" 0.0;
5002                target: "over3";
5003            }
5004            program {
5005                name:   "item_unclick2";
5006                signal: "mouse,up,1";
5007                source: "over3";
5008                action: STATE_SET "default" 0.0;
5009                transition: DECELERATE 0.5;
5010                target: "over3";
5011            }
5012            program {
5013                name:   "item_unclick3";
5014                signal: "mouse,up,1";
5015                source: "over2";
5016                action: SIGNAL_EMIT "elm,action,click" "";
5017            }
5018            program {
5019                name:   "menu_open";
5020                signal: "mouse,in";
5021                source: "over2";
5022                action: SIGNAL_EMIT "elm,action,open" "";
5023            }
5024             program { name: "text_show";
5025                signal: "elm,state,text,visible";
5026                source: "elm";
5027                script {
5028                    set_int(menu_text_visible, 1);
5029                    set_state(PART:"elm.text", "visible", 0.0);
5030                }
5031            }
5032            program { name: "text_hide";
5033                signal: "elm,state,text,hidden";
5034                source: "elm";
5035                script {
5036                    set_int(menu_text_visible, 0);
5037                    set_state(PART:"elm.text", "default", 0.0);
5038                }
5039            }
5040            program { name: "disable";
5041                signal: "elm,state,disabled";
5042                source: "elm";
5043                action: STATE_SET "disabled" 0.0;
5044                target: "item_image";
5045                target: "item_image_disabled";
5046                target: "over1";
5047                target: "over2";
5048                target: "over_disabled";
5049                target: "disabler";
5050                after: "disable_text";
5051            }
5052            program { name: "disable_text";
5053                script {
5054                    new st[31];
5055                    new Float:vl;
5056                    get_state(PART:"elm.text", st, 30, vl);
5057                    if (!strcmp(st, "visible"))
5058                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5059                    else if (!strcmp(st, "default"))
5060                    set_state(PART:"elm.text", "disabled", 0.0);
5061                }
5062            }
5063            program { name: "enable";
5064                signal: "elm,state,enabled";
5065                source: "elm";
5066                action: STATE_SET "default" 0.0;
5067                target: "item_image";
5068                target: "item_image_disabled";
5069                target: "over1";
5070                target: "over2";
5071                target: "over_disabled";
5072                target: "disabler";
5073                after: "enable_text";
5074            }
5075            program { name: "enable_text";
5076                script {
5077                    new v;
5078                    v = get_int(menu_text_visible);
5079                    if (v==1)
5080                     set_state(PART:"elm.text", "visible", 0.0);
5081                    else  if (v==0)
5082                     set_state(PART:"elm.text", "default", 0.0);
5083                    set_int(menu_disable, 0);
5084                }
5085            }
5086            program { name: "to_rtl";
5087                signal: "edje,state,rtl";
5088                source: "edje";
5089                action: STATE_SET "rtl" 0.0;
5090                target: "arrow";
5091            }
5092            program { name: "to_ltr";
5093                signal: "edje,state,ltr";
5094                source: "edje";
5095                action: STATE_SET "default" 0.0;
5096                target: "arrow";
5097            }
5098        }
5099    }
5100
5101    group { name: "elm/menu/separator/default";
5102        images {
5103            image: "separator_h.png" COMP;
5104        }
5105        parts {
5106            part { name: "separator"; // separator group
5107                description { state: "default" 0.0;
5108                    min: 2 2;
5109                    rel1.offset: 4 4;
5110                    rel2.offset: -5 -5;
5111                    image {
5112                        normal: "separator_h.png";
5113                    }
5114                    fill {
5115                        smooth: 0;
5116                    }
5117                }
5118            }
5119        }
5120    }
5121 ///////////////////////////////////////////////////////////////////////////////
5122    group { name: "elm/clock/base-all/default";
5123       parts {
5124          part { name: "d0";
5125             type: SWALLOW;
5126             description { state: "default" 0.0;
5127                rel1.relative: 0.0000000 0.0;
5128                rel2.relative: 0.1250000 1.0;
5129             }
5130          }
5131          part { name: "d1";
5132             type: SWALLOW;
5133             description { state: "default" 0.0;
5134                rel1.relative: 0.1250000 0.0;
5135                rel2.relative: 0.2500000 1.0;
5136             }
5137          }
5138          part { name: "c0";
5139             type: SWALLOW;
5140             type: TEXT;
5141             mouse_events:  0;
5142             scale: 1;
5143             description { state: "default" 0.0;
5144                rel1.relative: 0.2500000 0.0;
5145                rel2.relative: 0.3125000 1.0;
5146                color: 0 0 0 255;
5147                text {
5148                   font:     "Sans,Edje-Vera";
5149                   text:     ":";
5150                   size:     10;
5151                   min:      1 1;
5152                   align:    0.5 0.5;
5153                }
5154             }
5155          }
5156          part { name: "d2";
5157             type: SWALLOW;
5158             description { state: "default" 0.0;
5159                rel1.relative: 0.3125000 0.0;
5160                rel2.relative: 0.4375000 1.0;
5161             }
5162          }
5163          part { name: "d3";
5164             type: SWALLOW;
5165             description { state: "default" 0.0;
5166                rel1.relative: 0.4375000 0.0;
5167                rel2.relative: 0.5625000 1.0;
5168             }
5169          }
5170          // (if seconds)
5171          part { name: "c1";
5172             type: SWALLOW;
5173             type: TEXT;
5174             mouse_events:  0;
5175             scale: 1;
5176             description { state: "default" 0.0;
5177                rel1.relative: 0.5625000 0.0;
5178                rel2.relative: 0.6250000 1.0;
5179                color: 0 0 0 255;
5180                text {
5181                   font:     "Sans,Edje-Vera";
5182                   text:     ":";
5183                   size:     10;
5184                   min:      1 1;
5185                   align:    0.5 0.5;
5186                }
5187             }
5188          }
5189          // (if seconds)
5190          part { name: "d4";
5191             type: SWALLOW;
5192             description { state: "default" 0.0;
5193                rel1.relative: 0.6250000 0.0;
5194                rel2.relative: 0.7500000 1.0;
5195             }
5196          }
5197          // (if seconds)
5198          part { name: "d5";
5199             type: SWALLOW;
5200             description { state: "default" 0.0;
5201                rel1.relative: 0.7500000 0.0;
5202                rel2.relative: 0.8750000 1.0;
5203             }
5204          }
5205          // (if am_pm)
5206          part { name: "ampm";
5207             type: SWALLOW;
5208             description { state: "default" 0.0;
5209                rel1.relative: 0.8750000 0.0;
5210                rel2.relative: 1.0 1.0;
5211             }
5212          }
5213       }
5214    }
5215
5216 ///////////////////////////////////////////////////////////////////////////////
5217    group { name: "elm/clock/base-seconds/default";
5218       parts {
5219          part { name: "d0";
5220             type: SWALLOW;
5221             description { state: "default" 0.0;
5222                rel1.relative: 0.000000000 0.0;
5223                rel2.relative: 0.142857143 1.0;
5224             }
5225          }
5226          part { name: "d1";
5227             type: SWALLOW;
5228             description { state: "default" 0.0;
5229                rel1.relative: 0.142857143 0.0;
5230                rel2.relative: 0.285714286 1.0;
5231             }
5232          }
5233          part { name: "c0";
5234             type: SWALLOW;
5235             type: TEXT;
5236             mouse_events:  0;
5237             scale: 1;
5238             description { state: "default" 0.0;
5239                rel1.relative: 0.285714286 0.0;
5240                rel2.relative: 0.357142857 1.0;
5241                color: 0 0 0 255;
5242                text {
5243                   font:     "Sans,Edje-Vera";
5244                   text:     ":";
5245                   size:     10;
5246                   min:      1 1;
5247                   align:    0.5 0.5;
5248                }
5249             }
5250          }
5251          part { name: "d2";
5252             type: SWALLOW;
5253             description { state: "default" 0.0;
5254                rel1.relative: 0.357142857 0.0;
5255                rel2.relative: 0.500000000 1.0;
5256             }
5257          }
5258          part { name: "d3";
5259             type: SWALLOW;
5260             description { state: "default" 0.0;
5261                rel1.relative: 0.500000000 0.0;
5262                rel2.relative: 0.642857143 1.0;
5263             }
5264          }
5265          // (if seconds)
5266          part { name: "c1";
5267             type: SWALLOW;
5268             type: TEXT;
5269             mouse_events:  0;
5270             scale: 1;
5271             description { state: "default" 0.0;
5272                rel1.relative: 0.642857143 0.0;
5273                rel2.relative: 0.714285714 1.0;
5274                color: 0 0 0 255;
5275                text {
5276                   font:     "Sans,Edje-Vera";
5277                   text:     ":";
5278                   size:     10;
5279                   min:      1 1;
5280                   align:    0.5 0.5;
5281                }
5282             }
5283          }
5284          // (if seconds)
5285          part { name: "d4";
5286             type: SWALLOW;
5287             description { state: "default" 0.0;
5288                rel1.relative: 0.714285714 0.0;
5289                rel2.relative: 0.857142857 1.0;
5290             }
5291          }
5292          // (if seconds)
5293          part { name: "d5";
5294             type: SWALLOW;
5295             description { state: "default" 0.0;
5296                rel1.relative: 0.857142857 0.0;
5297                rel2.relative: 1.000000000 1.0;
5298             }
5299          }
5300       }
5301    }
5302
5303 ///////////////////////////////////////////////////////////////////////////////
5304    group { name: "elm/clock/base-am_pm/default";
5305       parts {
5306          part { name: "d0";
5307             type: SWALLOW;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.000000000 0.0;
5310                rel2.relative: 0.181818182 1.0;
5311             }
5312          }
5313          part { name: "d1";
5314             type: SWALLOW;
5315             description { state: "default" 0.0;
5316                rel1.relative: 0.181818182 0.0;
5317                rel2.relative: 0.363636364 1.0;
5318             }
5319          }
5320          part { name: "c0";
5321             type: SWALLOW;
5322             type: TEXT;
5323             mouse_events:  0;
5324             scale: 1;
5325             description { state: "default" 0.0;
5326                rel1.relative: 0.363636364 0.0;
5327                rel2.relative: 0.454545455 1.0;
5328                color: 0 0 0 255;
5329                text {
5330                   font:     "Sans,Edje-Vera";
5331                   text:     ":";
5332                   size:     10;
5333                   min:      1 1;
5334                   align:    0.5 0.5;
5335                }
5336             }
5337          }
5338          part { name: "d2";
5339             type: SWALLOW;
5340             description { state: "default" 0.0;
5341                rel1.relative: 0.454545455 0.0;
5342                rel2.relative: 0.636363636 1.0;
5343             }
5344          }
5345          part { name: "d3";
5346             type: SWALLOW;
5347             description { state: "default" 0.0;
5348                rel1.relative: 0.636363636 0.0;
5349                rel2.relative: 0.818181818 1.0;
5350             }
5351          }
5352          // (if am_pm)
5353          part { name: "ampm";
5354             type: SWALLOW;
5355             description { state: "default" 0.0;
5356                rel1.relative: 0.818181818 0.0;
5357                rel2.relative: 1.0 1.0;
5358             }
5359          }
5360       }
5361    }
5362
5363 ///////////////////////////////////////////////////////////////////////////////
5364    group { name: "elm/clock/base/default";
5365       parts {
5366          part { name: "d0";
5367             type: SWALLOW;
5368             description { state: "default" 0.0;
5369                rel1.relative: 0.000000000 0.0;
5370                rel2.relative: 0.222222222 1.0;
5371             }
5372          }
5373          part { name: "d1";
5374             type: SWALLOW;
5375             description { state: "default" 0.0;
5376                rel1.relative: 0.222222222 0.0;
5377                rel2.relative: 0.444444444 1.0;
5378             }
5379          }
5380          part { name: "c0";
5381             type: SWALLOW;
5382             type: TEXT;
5383             mouse_events:  0;
5384             scale: 1;
5385             description { state: "default" 0.0;
5386                rel1.relative: 0.444444444 0.0;
5387                rel2.relative: 0.555555556 1.0;
5388                color: 0 0 0 255;
5389                text {
5390                   font:     "Sans,Edje-Vera";
5391                   text:     ":";
5392                   size:     10;
5393                   min:      1 1;
5394                   align:    0.5 0.5;
5395                }
5396             }
5397          }
5398          part { name: "d2";
5399             type: SWALLOW;
5400             description { state: "default" 0.0;
5401                rel1.relative: 0.555555556 0.0;
5402                rel2.relative: 0.777777778 1.0;
5403             }
5404          }
5405          part { name: "d3";
5406             type: SWALLOW;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.777777778 0.0;
5409                rel2.relative: 1.000000000 1.0;
5410             }
5411          }
5412       }
5413    }
5414
5415 ///////////////////////////////////////////////////////////////////////////////
5416    group { name: "elm/frame/base/default";
5417        images {
5418            image: "frame_1.png" COMP;
5419            image: "frame_2.png" COMP;
5420            image: "dia_grad.png" COMP;
5421        }
5422        parts {
5423            part { name: "base0";
5424                mouse_events:  0;
5425                description { state: "default" 0.0;
5426                    image.normal: "dia_grad.png";
5427                    rel1.to: "over";
5428                    rel2.to: "over";
5429                    fill {
5430                        smooth: 0;
5431                        size {
5432                            relative: 0.0 1.0;
5433                            offset: 64 0;
5434                        }
5435                    }
5436                }
5437            }
5438            part { name: "base";
5439                mouse_events:  0;
5440                description { state:    "default" 0.0;
5441                    rel2.to: "elm.swallow.content";
5442                    rel2.offset: 9 9;
5443                    image {
5444                        normal: "frame_2.png";
5445                        border: 5 5 32 26;
5446                        middle: 0;
5447                    }
5448                    fill.smooth : 0;
5449                }
5450            }
5451            part { name: "elm.text";
5452                type: TEXT;
5453                mouse_events:   0;
5454                scale: 1;
5455                description { state: "default" 0.0;
5456                    align: 0.0 0.0;
5457                    fixed: 0 1;
5458                    rel1 {
5459                        relative: 0.0 0.0;
5460                        offset: 6 6;
5461                    }
5462                    rel2 {
5463                        relative: 1.0 0.0;
5464                        offset: -7 6;
5465                    }
5466                    color: 0 0 0 64;
5467                    text {
5468                        font: "Sans:style=Bold,Edje-Vera-Bold";
5469                        size: 10;
5470                        min: 1 1;
5471                        max: 1 1;
5472                        align: 0.0 0.0;
5473                    }
5474                }
5475            }
5476            part { name: "over";
5477                mouse_events:  0;
5478                description { state:    "default" 0.0;
5479                    rel1.offset: 4 4;
5480                    rel2.to: "elm.swallow.content";
5481                    rel2.offset: 5 5;
5482                    image {
5483                        normal: "frame_1.png";
5484                        border: 2 2 28 22;
5485                        middle: 0;
5486                    }
5487                    fill.smooth : 0;
5488                }
5489            }
5490            part { name: "elm.swallow.content";
5491                type: SWALLOW;
5492                description { state: "default" 0.0;
5493                    align: 0.0 0.0;
5494                    rel1 {
5495                        to_y: "elm.text";
5496                        relative: 0.0 1.0;
5497                        offset: 8 2;
5498                    }
5499                    rel2.offset: -9 -9;
5500                }
5501            }
5502        }
5503    }
5504
5505    group { name: "elm/frame/base/pad_small";
5506        parts {
5507            part { name: "b0";
5508                mouse_events:  0;
5509                type: RECT;
5510                scale: 1;
5511                description { state: "default" 0.0;
5512                    visible: 0;
5513                    min: 4 4;
5514                    max: 4 4;
5515                    align: 0.0 0.0;
5516                }
5517            }
5518            part { name: "b1";
5519                mouse_events:  0;
5520                type: RECT;
5521                scale: 1;
5522                description { state: "default" 0.0;
5523                    visible: 0;
5524                    min: 4 4;
5525                    max: 4 4;
5526                    align: 1.0 1.0;
5527                }
5528            }
5529            part { name: "elm.swallow.content";
5530                type: SWALLOW;
5531                description { state: "default" 0.0;
5532                    rel1 {
5533                        to: "b0";
5534                        relative: 1.0 1.0;
5535                        offset: 0 0;
5536                    }
5537                    rel2 {
5538                        to: "b1";
5539                        relative: 0.0 0.0;
5540                        offset: -1 -1;
5541                    }
5542                }
5543            }
5544        }
5545    }
5546
5547    group { name: "elm/frame/base/pad_medium";
5548        parts {
5549            part { name: "b0";
5550                mouse_events:  0;
5551                type: RECT;
5552                scale: 1;
5553                description { state: "default" 0.0;
5554                    visible: 0;
5555                    min: 8 8;
5556                    max: 8 8;
5557                    align: 0.0 0.0;
5558                }
5559            }
5560            part { name: "b1";
5561                mouse_events:  0;
5562                type: RECT;
5563                scale: 1;
5564                description { state: "default" 0.0;
5565                    visible: 0;
5566                    min: 8 8;
5567                    max: 8 8;
5568                    align: 1.0 1.0;
5569                }
5570            }
5571            part { name: "elm.swallow.content";
5572                type: SWALLOW;
5573                description { state: "default" 0.0;
5574                    rel1 {
5575                        to: "b0";
5576                        relative: 1.0 1.0;
5577                        offset: 0 0;
5578                    }
5579                    rel2 {
5580                        to: "b1";
5581                        relative: 0.0 0.0;
5582                        offset: -1 -1;
5583                    }
5584                }
5585            }
5586        }
5587    }
5588
5589    group { name: "elm/frame/base/pad_large";
5590        parts {
5591            part { name: "b0";
5592                mouse_events:  0;
5593                type: RECT;
5594                scale: 1;
5595                description { state: "default" 0.0;
5596                    visible: 0;
5597                    min: 16 16;
5598                    max: 16 16;
5599                    align: 0.0 0.0;
5600                }
5601            }
5602            part { name: "b1";
5603                mouse_events:  0;
5604                type: RECT;
5605                scale: 1;
5606                description { state: "default" 0.0;
5607                    visible: 0;
5608                    min: 16 16;
5609                    max: 16 16;
5610                    align: 1.0 1.0;
5611                }
5612            }
5613            part { name: "elm.swallow.content";
5614                type: SWALLOW;
5615                description { state: "default" 0.0;
5616                    rel1 {
5617                        to: "b0";
5618                        relative: 1.0 1.0;
5619                        offset: 0 0;
5620                    }
5621                    rel2 {
5622                        to: "b1";
5623                        relative: 0.0 0.0;
5624                        offset: -1 -1;
5625                    }
5626                }
5627            }
5628        }
5629    }
5630
5631    group { name: "elm/frame/base/pad_huge";
5632        parts {
5633            part { name: "b0";
5634                mouse_events:  0;
5635                type: RECT;
5636                scale: 1;
5637                description { state: "default" 0.0;
5638                    visible: 0;
5639                    min: 32 32;
5640                    max: 32 32;
5641                    align: 0.0 0.0;
5642                }
5643            }
5644            part { name: "b1";
5645                mouse_events:  0;
5646                type: RECT;
5647                scale: 1;
5648                description { state: "default" 0.0;
5649                    visible: 0;
5650                    min: 32 32;
5651                    max: 32 32;
5652                    align: 1.0 1.0;
5653                }
5654            }
5655            part { name: "elm.swallow.content";
5656                type: SWALLOW;
5657                description { state: "default" 0.0;
5658                    rel1 {
5659                        to: "b0";
5660                        relative: 1.0 1.0;
5661                        offset: 0 0;
5662                    }
5663                    rel2 {
5664                        to: "b1";
5665                        relative: 0.0 0.0;
5666                        offset: -1 -1;
5667                    }
5668                }
5669            }
5670        }
5671    }
5672
5673    group { name: "elm/frame/base/outdent_top";
5674        images {
5675            image: "outdent-top.png" COMP;
5676        }
5677        parts {
5678            part { name: "base0";
5679                mouse_events:  0;
5680                description { state: "default" 0.0;
5681                    image.normal: "outdent-top.png";
5682                    image.border: 0 0 0 13;
5683                    fill.smooth: 0;
5684                }
5685            }
5686            part { name: "elm.swallow.content";
5687                type: SWALLOW;
5688                description { state: "default" 0.0;
5689                    rel1.offset: 2 2;
5690                    rel2.offset: -3 -13;
5691                }
5692            }
5693        }
5694    }
5695
5696    group { name: "elm/frame/base/outdent_bottom";
5697        images {
5698            image: "outdent-bottom.png" COMP;
5699        }
5700        parts {
5701            part { name: "base0";
5702                mouse_events:  0;
5703                description { state: "default" 0.0;
5704                    image.normal: "outdent-bottom.png";
5705                    image.border: 0 0 13 0;
5706                    fill.smooth: 0;
5707                }
5708            }
5709            part { name: "elm.swallow.content";
5710                type: SWALLOW;
5711                description { state: "default" 0.0;
5712                    rel1.offset: 2 12;
5713                    rel2.offset: -3 -3;
5714                }
5715            }
5716        }
5717    }
5718
5719 ///////////////////////////////////////////////////////////////////////////////
5720    group { name: "elm/label/base/tooltip";
5721       styles {
5722          style { name: "tooltip_style";
5723             base: "font=Sans font_size=8 color=#666 wrap=word";
5724             tag:  "br" "\n";
5725             tag:  "hilight" "+ font=Sans:style=Bold";
5726             tag:  "b" "+ font=Sans:style=Bold";
5727             tag:  "tab" "\t";
5728          }
5729       }
5730       parts {
5731          part { name: "elm.text";
5732             type: TEXTBLOCK;
5733             mouse_events: 0;
5734             scale: 1;
5735             description { state: "default" 0.0;
5736                text {
5737                   style: "tooltip_style";
5738                   min: 1 1;
5739                }
5740             }
5741          }
5742       }
5743    }
5744
5745    group { name: "elm/tooltip/base/default";
5746        min: 30 30;
5747        data {
5748            item: "pad_x" "20";
5749            item: "pad_y" "20";
5750            item: "pad_border_x" "10";
5751            item: "pad_border_y" "10";
5752            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5753        }
5754        images {
5755            image: "tooltip-base.png" COMP;
5756            image: "tooltip-corner-top-left-tip.png" COMP;
5757            image: "tooltip-corner-top-right-tip.png" COMP;
5758            image: "tooltip-corner-bottom-left-tip.png" COMP;
5759            image: "tooltip-corner-bottom-right-tip.png" COMP;
5760            image: "tooltip-edge-left-tip.png" COMP;
5761            image: "tooltip-edge-right-tip.png" COMP;
5762            image: "tooltip-edge-bottom-tip.png" COMP;
5763            image: "tooltip-edge-top-tip.png" COMP;
5764        }
5765        script {
5766           hide_corners() {
5767              set_state(PART:"corner-top-left", "default", 0.0);
5768              set_state(PART:"corner-top-right", "default", 0.0);
5769              set_state(PART:"corner-bottom-left", "default", 0.0);
5770              set_state(PART:"corner-bottom-right", "default", 0.0);
5771           }
5772           hide_edges() {
5773              set_state(PART:"clipper-edge-left", "default", 0.0);
5774              set_state(PART:"clipper-edge-right", "default", 0.0);
5775              set_state(PART:"clipper-edge-top", "default", 0.0);
5776              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5777           }
5778
5779           show_corner_top_left() {
5780              set_state(PART:"corner-top-left", "visible", 0.0);
5781
5782              set_state(PART:"corner-top-right", "default", 0.0);
5783              set_state(PART:"corner-bottom-left", "default", 0.0);
5784              set_state(PART:"corner-bottom-right", "default", 0.0);
5785              hide_edges();
5786           }
5787           show_corner_top_right() {
5788              set_state(PART:"corner-top-right", "visible", 0.0);
5789
5790              set_state(PART:"corner-top-left", "default", 0.0);
5791              set_state(PART:"corner-bottom-left", "default", 0.0);
5792              set_state(PART:"corner-bottom-right", "default", 0.0);
5793              hide_edges();
5794           }
5795
5796           show_corner_bottom_left() {
5797              set_state(PART:"corner-bottom-left", "visible", 0.0);
5798
5799              set_state(PART:"corner-bottom-right", "default", 0.0);
5800              set_state(PART:"corner-top-left", "default", 0.0);
5801              set_state(PART:"corner-top-right", "default", 0.0);
5802              hide_edges();
5803           }
5804           show_corner_bottom_right() {
5805              set_state(PART:"corner-bottom-right", "visible", 0.0);
5806
5807              set_state(PART:"corner-bottom-left", "default", 0.0);
5808              set_state(PART:"corner-top-left", "default", 0.0);
5809              set_state(PART:"corner-top-right", "default", 0.0);
5810              hide_edges();
5811           }
5812
5813           show_edge_left(Float:val) {
5814              set_state(PART:"clipper-edge-left", "visible", 0.0);
5815              set_drag(PART:"edge-drag-left", 0.0, val);
5816
5817              set_state(PART:"clipper-edge-right", "default", 0.0);
5818              set_state(PART:"clipper-edge-top", "default", 0.0);
5819              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5820              hide_corners();
5821           }
5822           show_edge_right(Float:val) {
5823              set_state(PART:"clipper-edge-right", "visible", 0.0);
5824              set_drag(PART:"edge-drag-right", 0.0, val);
5825
5826              set_state(PART:"clipper-edge-left", "default", 0.0);
5827              set_state(PART:"clipper-edge-top", "default", 0.0);
5828              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5829              hide_corners();
5830           }
5831
5832           show_edge_top(Float:val) {
5833              set_state(PART:"clipper-edge-top", "visible", 0.0);
5834              set_drag(PART:"edge-drag-top", val, 0.0);
5835
5836              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5837              set_state(PART:"clipper-edge-left", "default", 0.0);
5838              set_state(PART:"clipper-edge-right", "default", 0.0);
5839              hide_corners();
5840           }
5841           show_edge_bottom(Float:val) {
5842              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5843              set_drag(PART:"edge-drag-bottom", val, 0.0);
5844
5845              set_state(PART:"clipper-edge-top", "default", 0.0);
5846              set_state(PART:"clipper-edge-left", "default", 0.0);
5847              set_state(PART:"clipper-edge-right", "default", 0.0);
5848              hide_corners();
5849           }
5850
5851           public message(Msg_Type:type, id, ...) {
5852              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5853                 new Float:x, Float:y;
5854
5855                 x = getfarg(2);
5856                 y = getfarg(3);
5857
5858                 if (x < 0.0)
5859                   {
5860                      if (y < 0.0)      show_corner_top_left();
5861                      else if (y > 1.0) show_corner_bottom_left();
5862                      else              show_edge_left(y);
5863                   }
5864                 else if (x > 1.0)
5865                   {
5866                      if (y < 0.0)      show_corner_top_right();
5867                      else if (y > 1.0) show_corner_bottom_right();
5868                      else              show_edge_right(y);
5869                   }
5870                 else
5871                   {
5872                      if (y < 0.0)      show_edge_top(x);
5873                      else if (y > 1.0) show_edge_bottom(x);
5874                      else
5875                        {
5876                           hide_corners();
5877                           hide_edges();
5878                        }
5879                   }
5880              }
5881           }
5882        }
5883        parts {
5884            part { name: "clipper";
5885                type: RECT;
5886                description { state: "default" 0.0;
5887                    color: 255 255 255 0;
5888                    rel1.to: "elm.swallow.content";
5889                    rel1.offset: -64 -64;
5890                    rel2.to: "elm.swallow.content";
5891                    rel2.offset: 63 63;
5892                }
5893                description { state: "visible" 0.0;
5894                    inherit: "default" 0.0;
5895                    color: 255 255 255 255;
5896                }
5897            }
5898            part { name: "pop";
5899                mouse_events: 0;
5900                clip_to: "clipper";
5901                description { state: "default" 0.0;
5902                    min: 30 30;
5903                    rel1 {
5904                        to: "elm.swallow.content";
5905                        offset: -15 -15;
5906                    }
5907                    rel2 {
5908                        to: "elm.swallow.content";
5909                        offset: 14 14;
5910                    }
5911                    image {
5912                        normal: "tooltip-base.png";
5913                        border: 14 14 14 14;
5914                    }
5915                    image.middle: SOLID;
5916                }
5917            }
5918
5919 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5920            part { name: "corner-"name_;                                 \
5921               type: IMAGE;                                              \
5922               mouse_events: 0;                                          \
5923               clip_to: "clipper";                                       \
5924               description { state: "default" 0.0;                       \
5925                  color: 255 255 255 0;                                  \
5926                  visible: 0;                                            \
5927                  min: 14 14;                                            \
5928                  max: 14 14;                                            \
5929                  align: ax ay;                                          \
5930                  fixed: 1 1;                                            \
5931                  rel1 {                                                 \
5932                     relative: rx ry;                                    \
5933                     offset: ox oy;                                      \
5934                     to: "elm.swallow.content";                          \
5935                  }                                                      \
5936                  rel2 {                                                 \
5937                     relative: rx ry;                                    \
5938                     offset: ox oy;                                      \
5939                     to: "elm.swallow.content";                          \
5940                  }                                                      \
5941                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5942               }                                                         \
5943               description { state: "visible" 0.0;                       \
5944                  inherit: "default" 0.0;                                \
5945                  color: 255 255 255 255;                                \
5946                  visible: 1;                                            \
5947               }                                                         \
5948            }
5949            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5950            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5951            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5952            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5953 #undef TT_CORNER
5954
5955 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5956            part { name: "clipper-edge-"name_;                           \
5957               type: RECT;                                               \
5958               clip_to: "clipper";                                       \
5959               description { state: "default" 0.0;                       \
5960                  color: 255 255 255 0;                                  \
5961                  visible: 0;                                            \
5962                  min: 14 14;                                            \
5963                  align: ax 0.5;                                         \
5964                  fixed: 1 1;                                            \
5965                  rel1 {                                                 \
5966                     relative: rx 0.0;                                   \
5967                     offset: ox 0;                                       \
5968                     to: "elm.swallow.content";                          \
5969                  }                                                      \
5970                  rel2 {                                                 \
5971                     relative: rx 1.0;                                   \
5972                     offset: ox 0;                                       \
5973                     to: "elm.swallow.content";                          \
5974                  }                                                      \
5975               }                                                         \
5976               description { state: "visible" 0.0;                       \
5977                  inherit: "default" 0.0;                                \
5978                  color: 255 255 255 255;                                \
5979                  visible: 1;                                            \
5980               }                                                         \
5981            }                                                            \
5982            part { name: "edge-area-"name_;                              \
5983               type: RECT;                                               \
5984               mouse_events: 0;                                          \
5985               clip_to: "clipper-edge-"name_;                            \
5986               description { state: "default" 0.0;                       \
5987                  color: 0 0 0 0;                                        \
5988                  min: 14 14;                                            \
5989                  align: ax 0.5;                                         \
5990                  fixed: 1 1;                                            \
5991                  rel1 {                                                 \
5992                     relative: rx 0.0;                                   \
5993                     offset: ox 0;                                       \
5994                     to: "elm.swallow.content";                          \
5995                  }                                                      \
5996                  rel2 {                                                 \
5997                     relative: rx 1.0;                                   \
5998                     offset: ox 0;                                       \
5999                     to: "elm.swallow.content";                          \
6000                  }                                                      \
6001               }                                                         \
6002            }                                                            \
6003            part { name: "edge-drag-"name_;                              \
6004               type: RECT;                                               \
6005               mouse_events: 0;                                          \
6006               clip_to: "clipper-edge-"name_;                            \
6007               dragable {                                                \
6008                   x: 0 0 0;                                             \
6009                   y: 1 1 0;                                             \
6010                   confine: "edge-area-"name_;                           \
6011               }                                                         \
6012               description { state: "default" 0.0;                       \
6013                  color: 0 0 0 0;                                        \
6014                  min: 14 14;                                            \
6015                  rel1.to: "edge-area-"name_;                            \
6016                  rel2.to: "edge-area-"name_;                            \
6017               }                                                         \
6018            }                                                            \
6019            part { name: "edge-img-"name_;                               \
6020               type: IMAGE;                                              \
6021               mouse_events: 0;                                          \
6022               clip_to: "clipper-edge-"name_;                            \
6023               description { state: "default" 0.0;                       \
6024                  min: 14 14;                                            \
6025                  max: 14 14;                                            \
6026                  align: ax 0.5;                                         \
6027                  fixed: 1 1;                                            \
6028                  rel1.to: "edge-drag-"name_;                            \
6029                  rel2.to: "edge-drag-"name_;                            \
6030                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6031               }                                                         \
6032            }
6033            TT_EDGE_VERT("left", 0, 1, -2);
6034            TT_EDGE_VERT("right", 1, 0, 1);
6035 #undef TT_EDGE_VERT
6036
6037 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6038            part { name: "clipper-edge-"name_;                           \
6039               type: RECT;                                               \
6040               clip_to: "clipper";                                       \
6041               description { state: "default" 0.0;                       \
6042                  color: 255 255 255 0;                                  \
6043                  visible: 0;                                            \
6044                  min: 14 14;                                            \
6045                  align: 0.5 ay;                                         \
6046                  fixed: 1 1;                                            \
6047                  rel1 {                                                 \
6048                     relative: 0.0 ry;                                   \
6049                     offset: 0 oy;                                       \
6050                     to: "elm.swallow.content";                          \
6051                  }                                                      \
6052                  rel2 {                                                 \
6053                     relative: 1.0 ry;                                   \
6054                     offset: 0 oy;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057               }                                                         \
6058               description { state: "visible" 0.0;                       \
6059                  inherit: "default" 0.0;                                \
6060                  color: 255 255 255 255;                                \
6061                  visible: 1;                                            \
6062               }                                                         \
6063            }                                                            \
6064            part { name: "edge-area-"name_;                              \
6065               type: RECT;                                               \
6066               mouse_events: 0;                                          \
6067               clip_to: "clipper-edge-"name_;                            \
6068               description { state: "default" 0.0;                       \
6069                  color: 0 0 0 0;                                        \
6070                  min: 14 14;                                            \
6071                  align: 0.5 ay;                                         \
6072                  fixed: 1 1;                                            \
6073                  rel1 {                                                 \
6074                     relative: 0.0 ry;                                   \
6075                     offset: 0 oy;                                       \
6076                     to: "elm.swallow.content";                          \
6077                  }                                                      \
6078                  rel2 {                                                 \
6079                     relative: 1.0 ry;                                   \
6080                     offset: 0 oy;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083               }                                                         \
6084            }                                                            \
6085            part { name: "edge-drag-"name_;                              \
6086               type: RECT;                                               \
6087               mouse_events: 0;                                          \
6088               clip_to: "clipper-edge-"name_;                            \
6089               dragable {                                                \
6090                   x: 1 1 0;                                             \
6091                   y: 0 0 0;                                             \
6092                   confine: "edge-area-"name_;                           \
6093               }                                                         \
6094               description { state: "default" 0.0;                       \
6095                  color: 0 0 0 0;                                        \
6096                  min: 14 14;                                            \
6097                  rel1.to: "edge-area-"name_;                            \
6098                  rel2.to: "edge-area-"name_;                            \
6099               }                                                         \
6100            }                                                            \
6101            part { name: "edge-img-"name_;                               \
6102               type: IMAGE;                                              \
6103               mouse_events: 0;                                          \
6104               clip_to: "clipper-edge-"name_;                            \
6105               description { state: "default" 0.0;                       \
6106                  min: 14 14;                                            \
6107                  max: 14 14;                                            \
6108                  align: 0.5 ay;                                         \
6109                  fixed: 1 1;                                            \
6110                  rel1.to: "edge-drag-"name_;                            \
6111                  rel2.to: "edge-drag-"name_;                            \
6112                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6113               }                                                         \
6114            }
6115            TT_EDGE_HORIZ("top", 0, 1, -2);
6116            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6117 #undef TT_EDGE_HORIZ
6118
6119            part { name: "clipper_content";
6120                type: RECT;
6121                description { state: "default" 0.0;
6122                    color: 255 255 255 0;
6123                    rel1.to: "elm.swallow.content";
6124                    rel1.offset: -64 -64;
6125                    rel2.to: "elm.swallow.content";
6126                    rel2.offset: 63 63;
6127                }
6128                description { state: "visible" 0.0;
6129                    inherit: "default" 0.0;
6130                    color: 255 255 255 255;
6131                }
6132            }
6133            part { name: "elm.swallow.content";
6134                type: SWALLOW;
6135                clip_to: "clipper_content";
6136                description { state: "default" 0.0; }
6137            }
6138            programs {
6139                program {
6140                    name: "show0";
6141                    signal: "elm,action,show";
6142                    source: "elm";
6143                    action: ACTION_STOP;
6144                    target: "hide0";
6145                    target: "hide1";
6146                    target: "hide2";
6147                    target: "hide3";
6148                    after: "show1";
6149                    after: "show2";
6150                }
6151                program {
6152                    name: "show1";
6153                    action: STATE_SET "visible" 0.0;
6154                    transition: LINEAR 0.15;
6155                    target: "clipper";
6156                }
6157                program {
6158                    name: "show2";
6159                    in: 0.1 0.0;
6160                    action: STATE_SET "visible" 0.0;
6161                    transition: LINEAR 0.15;
6162                    target: "clipper_content";
6163                }
6164
6165                program {
6166                    name: "hide0";
6167                    signal: "elm,action,hide";
6168                    source: "elm";
6169                    action: ACTION_STOP;
6170                    target: "show0";
6171                    target: "show1";
6172                    target: "show2";
6173                    after: "hide1";
6174                    after: "hide2";
6175                    after: "hide3";
6176                }
6177                program {
6178                    name: "hide1";
6179                    script {
6180                       hide_corners();
6181                       hide_edges();
6182                    }
6183                }
6184                program {
6185                    name: "hide2";
6186                    action: STATE_SET "default" 0.0;
6187                    transition: LINEAR 0.1;
6188                    target: "clipper_content";
6189                }
6190                program {
6191                    name: "hide3";
6192                    in: 0.1 0.0;
6193                    action: STATE_SET "default" 0.0;
6194                    transition: LINEAR 0.1;
6195                    target: "clipper";
6196                }
6197            }
6198        }
6199    }
6200    group { name: "elm/tooltip/base/transparent";
6201       parts {
6202          part { name: "elm.swallow.content";
6203             type: SWALLOW;
6204             mouse_events:   0;
6205             scale: 1;
6206             description { state: "default" 0.0; }
6207          }
6208       }
6209    }
6210
6211 ///////////////////////////////////////////////////////////////////////////////
6212
6213    /* TODO: replicate diagonal swallow slots to the other hover styles */
6214    group { name: "elm/hover/base/default";
6215       images {
6216          image: "shad_circ.png" COMP;
6217       }
6218       parts {
6219          part { name: "elm.swallow.offset";
6220             type: SWALLOW;
6221             description { state: "default" 0.0;
6222                align: 0.0 0.0;
6223                rel1.relative: 0.0 0.0;
6224                rel2.relative: 0.0 0.0;
6225             }
6226          }
6227          part { name: "elm.swallow.size";
6228             type: SWALLOW;
6229             description { state: "default" 0.0;
6230                align: 0.0 0.0;
6231                rel1.to: "elm.swallow.offset";
6232                rel1.relative: 1.0 1.0;
6233                rel2.to: "elm.swallow.offset";
6234                rel2.relative: 1.0 1.0;
6235             }
6236          }
6237          part { name: "base";
6238             type: RECT;
6239             mouse_events: 1;
6240             description { state: "default" 0.0;
6241                color: 0 0 0 64;
6242             }
6243          }
6244          part { name: "shad";
6245             mouse_events:  0;
6246             description { state: "default" 0.0;
6247                image.normal: "shad_circ.png";
6248                rel1.to: "elm.swallow.size";
6249                rel1.offset: -32 -32;
6250                rel2.to: "elm.swallow.size";
6251                rel2.offset: 31 31;
6252                fill.smooth: 0;
6253             }
6254          }
6255          part { name: "box";
6256             type: RECT;
6257             mouse_events: 0;
6258             description { state: "default" 0.0;
6259                color: 0 0 0 0;
6260                rel1.to: "elm.swallow.size";
6261                rel1.offset: -2 -2;
6262                rel2.to: "elm.swallow.size";
6263                rel2.offset: 1 1;
6264             }
6265          }
6266          part { name: "elm.swallow.slot.left";
6267             type: SWALLOW;
6268             description { state: "default" 0.0;
6269                align: 1.0 0.5;
6270                rel1.to: "elm.swallow.slot.middle";
6271                rel1.relative: 0.0 0.0;
6272                rel1.offset: -1 0;
6273                rel2.to: "elm.swallow.slot.middle";
6274                rel2.relative: 0.0 1.0;
6275                rel2.offset: -1 -1;
6276             }
6277          }
6278          part { name: "elm.swallow.slot.top-left";
6279             type: SWALLOW;
6280             description { state: "default" 0.0;
6281                align: 1.0 1.0;
6282                rel1.to: "elm.swallow.slot.middle";
6283                rel1.relative: 0.0 0.0;
6284                rel1.offset: 0 0;
6285                rel2.to: "elm.swallow.slot.middle";
6286                rel2.relative: 0.0 0.0;
6287                rel2.offset: -1 -1;
6288             }
6289          }
6290          part { name: "elm.swallow.slot.top";
6291             type: SWALLOW;
6292             description { state: "default" 0.0;
6293                align: 0.5 1.0;
6294                rel1.to: "elm.swallow.slot.middle";
6295                rel1.relative: 0.0 0.0;
6296                rel1.offset: 0 -1;
6297                rel2.to: "elm.swallow.slot.middle";
6298                rel2.relative: 1.0 0.0;
6299                rel2.offset: -1 -1;
6300             }
6301          }
6302          part { name: "elm.swallow.slot.top-right";
6303             type: SWALLOW;
6304             description { state: "default" 0.0;
6305                align: 0.0 1.0;
6306                rel1.to: "elm.swallow.slot.middle";
6307                rel1.relative: 1.0 0.0;
6308                rel1.offset: 0 0;
6309                rel2.to: "elm.swallow.slot.middle";
6310                rel2.relative: 1.0 0.0;
6311                rel2.offset: -1 -1;
6312             }
6313          }
6314          part { name: "elm.swallow.slot.right";
6315             type: SWALLOW;
6316             description { state: "default" 0.0;
6317                align: 0.0 0.5;
6318                rel1.to: "elm.swallow.slot.middle";
6319                rel1.relative: 1.0 0.0;
6320                rel1.offset: 0 0;
6321                rel2.to: "elm.swallow.slot.middle";
6322                rel2.relative: 1.0 1.0;
6323                rel2.offset: 0 -1;
6324             }
6325          }
6326          part { name: "elm.swallow.slot.bottom-right";
6327             type: SWALLOW;
6328             description { state: "default" 0.0;
6329                align: 0.0 0.0;
6330                rel1.to: "elm.swallow.slot.middle";
6331                rel1.relative: 1.0 1.0;
6332                rel1.offset: 0 0;
6333                rel2.to: "elm.swallow.slot.middle";
6334                rel2.relative: 1.0 1.0;
6335                rel2.offset: -1 -1;
6336             }
6337          }
6338          part { name: "elm.swallow.slot.bottom";
6339             type: SWALLOW;
6340             description { state: "default" 0.0;
6341                align: 0.5 0.0;
6342                rel1.to: "elm.swallow.slot.middle";
6343                rel1.relative: 0.0 1.0;
6344                rel1.offset: 0 0;
6345                rel2.to: "elm.swallow.slot.middle";
6346                rel2.relative: 1.0 1.0;
6347                rel2.offset: -1 0;
6348             }
6349          }
6350          part { name: "elm.swallow.slot.bottom-left";
6351             type: SWALLOW;
6352             description { state: "default" 0.0;
6353                align: 1.0 0.0;
6354                rel1.to: "elm.swallow.slot.middle";
6355                rel1.relative: 0.0 1.0;
6356                rel1.offset: 0 0;
6357                rel2.to: "elm.swallow.slot.middle";
6358                rel2.relative: 0.0 1.0;
6359                rel2.offset: -1 0;
6360             }
6361          }
6362          part { name: "elm.swallow.slot.middle";
6363             type: SWALLOW;
6364             description { state: "default" 0.0;
6365                rel1.to: "elm.swallow.size";
6366                rel2.to: "elm.swallow.size";
6367             }
6368          }
6369       }
6370       programs {
6371          program { name: "end";
6372             signal: "mouse,up,1";
6373             source: "base";
6374             action: SIGNAL_EMIT "elm,action,dismiss" "";
6375          }
6376       }
6377    }
6378
6379    group { name: "elm/hover/base/popout";
6380       images {
6381          image: "shad_circ.png" COMP;
6382          image: "bt_dis_base.png" COMP;
6383          image: "bt_dis_hilight.png" COMP;
6384       }
6385       parts {
6386          part { name: "elm.swallow.offset";
6387             type: SWALLOW;
6388             description { state: "default" 0.0;
6389                align: 0.0 0.0;
6390                rel1.relative: 0.0 0.0;
6391                rel2.relative: 0.0 0.0;
6392             }
6393          }
6394          part { name: "elm.swallow.size";
6395             type: SWALLOW;
6396             description { state: "default" 0.0;
6397                align: 0.0 0.0;
6398                rel1.to: "elm.swallow.offset";
6399                rel1.relative: 1.0 1.0;
6400                rel2.to: "elm.swallow.offset";
6401                rel2.relative: 1.0 1.0;
6402             }
6403          }
6404          part { name: "base";
6405             type: RECT;
6406             mouse_events: 1;
6407             description { state: "default" 0.0;
6408                color: 0 0 0 0;
6409             }
6410             description { state: "visible" 0.0;
6411                inherit: "default" 1.0;
6412                color: 0 0 0 64;
6413             }
6414          }
6415          part { name: "leftclip";
6416             type: RECT;
6417             description { state: "default" 0.0;
6418                rel2.to_x: "pop";
6419                rel2.relative: 0.0 1.0;
6420                rel2.offset: 1 -1;
6421             }
6422          }
6423          part { name: "left";
6424             clip_to: "leftclip";
6425             description { state: "default" 0.0;
6426                visible: 0;
6427                rel1.to: "elm.swallow.slot.left";
6428                rel1.offset: -5 -5;
6429                rel2.to: "elm.swallow.slot.left";
6430                rel2.offset: 4 4;
6431                image {
6432                   normal: "bt_dis_base.png";
6433                   border: 4 4 4 4;
6434                }
6435                image.middle: SOLID;
6436             }
6437             description { state: "visible" 0.0;
6438                inherit: "default" 0.0;
6439                visible: 1;
6440             }
6441          }
6442          part { name: "elm.swallow.slot.left";
6443             type: SWALLOW;
6444             clip_to: "leftclip";
6445             description { state: "default" 0.0;
6446                align: 0.0 0.5;
6447                rel1.to: "elm.swallow.slot.middle";
6448                rel1.relative: 0.0 0.0;
6449                rel1.offset: -1 0;
6450                rel2.to: "elm.swallow.slot.middle";
6451                rel2.relative: 0.0 1.0;
6452                rel2.offset: -1 -1;
6453             }
6454             description { state: "visible" 0.0;
6455                inherit: "default" 0.0;
6456                rel1.offset: -7 0;
6457                rel2.offset: -7 -1;
6458                align: 1.0 0.5;
6459             }
6460          }
6461          part { name: "leftover";
6462             clip_to: "leftclip";
6463             mouse_events: 0;
6464             description { state: "default" 0.0;
6465                rel1.to: "left";
6466                rel2.to: "left";
6467                rel2.relative: 1.0 0.5;
6468                image {
6469                   normal: "bt_dis_hilight.png";
6470                   border: 4 4 4 0;
6471                }
6472             }
6473          }
6474          part { name: "rightclip";
6475             type: RECT;
6476             description { state: "default" 0.0;
6477                rel1.to_x: "pop";
6478                rel1.relative: 1.0 0.0;
6479                rel1.offset: -2 0;
6480             }
6481          }
6482          part { name: "right";
6483             clip_to: "rightclip";
6484             description { state: "default" 0.0;
6485                visible: 0;
6486                rel1.to: "elm.swallow.slot.right";
6487                rel1.offset: -5 -5;
6488                rel2.to: "elm.swallow.slot.right";
6489                rel2.offset: 4 4;
6490                image {
6491                   normal: "bt_dis_base.png";
6492                   border: 4 4 4 4;
6493                }
6494                image.middle: SOLID;
6495             }
6496             description { state: "visible" 0.0;
6497                inherit: "default" 0.0;
6498                visible: 1;
6499             }
6500          }
6501          part { name: "elm.swallow.slot.right";
6502             type: SWALLOW;
6503             clip_to: "rightclip";
6504             description { state: "default" 0.0;
6505                align: 1.0 0.5;
6506                rel1.to: "elm.swallow.slot.middle";
6507                rel1.relative: 1.0 0.0;
6508                rel1.offset: 0 0;
6509                rel2.to: "elm.swallow.slot.middle";
6510                rel2.relative: 1.0 1.0;
6511                rel2.offset: 0 -1;
6512             }
6513             description { state: "visible" 0.0;
6514                inherit: "default" 0.0;
6515                rel1.offset: 6 0;
6516                rel2.offset: 6 -1;
6517                align: 0.0 0.5;
6518             }
6519          }
6520          part { name: "rightover";
6521             clip_to: "rightclip";
6522             mouse_events: 0;
6523             description { state: "default" 0.0;
6524                rel1.to: "right";
6525                rel2.to: "right";
6526                rel2.relative: 1.0 0.5;
6527                image {
6528                   normal: "bt_dis_hilight.png";
6529                   border: 4 4 4 0;
6530                }
6531             }
6532          }
6533          part { name: "topclip";
6534             type: RECT;
6535             description { state: "default" 0.0;
6536                rel2.to_y: "pop";
6537                rel2.relative: 1.0 0.0;
6538                rel2.offset: -1 1;
6539             }
6540          }
6541          part { name: "top";
6542             clip_to: "topclip";
6543             description { state: "default" 0.0;
6544                visible: 0;
6545                rel1.to: "elm.swallow.slot.top";
6546                rel1.offset: -5 -5;
6547                rel2.to: "elm.swallow.slot.top";
6548                rel2.offset: 4 4;
6549                image {
6550                   normal: "bt_dis_base.png";
6551                   border: 4 4 4 4;
6552                }
6553                image.middle: SOLID;
6554             }
6555             description { state: "visible" 0.0;
6556                inherit: "default" 0.0;
6557                visible: 1;
6558             }
6559          }
6560          part { name: "elm.swallow.slot.top";
6561             type: SWALLOW;
6562             clip_to: "topclip";
6563             description { state: "default" 0.0;
6564                visible: 1;
6565                align: 0.5 0.0;
6566                rel1.to: "elm.swallow.slot.middle";
6567                rel1.relative: 0.0 0.0;
6568                rel1.offset: 0 -1;
6569                rel2.to: "elm.swallow.slot.middle";
6570                rel2.relative: 1.0 0.0;
6571                rel2.offset: -1 -1;
6572             }
6573             description { state: "visible" 0.0;
6574                inherit: "default" 0.0;
6575                rel1.offset: 0 -7;
6576                rel2.offset: -1 -7;
6577                align: 0.5 1.0;
6578             }
6579          }
6580          part { name: "topover";
6581             clip_to: "topclip";
6582             mouse_events: 0;
6583             description { state: "default" 0.0;
6584                rel1.to: "top";
6585                rel2.to: "top";
6586                rel2.relative: 1.0 0.5;
6587                image {
6588                   normal: "bt_dis_hilight.png";
6589                   border: 4 4 4 0;
6590                }
6591             }
6592          }
6593          part { name: "bottomclip";
6594             type: RECT;
6595             description { state: "default" 0.0;
6596                rel1.to_y: "pop";
6597                rel1.relative: 0.0 1.0;
6598                rel1.offset: -1 -2;
6599             }
6600          }
6601          part { name: "bottom";
6602             clip_to: "bottomclip";
6603             description { state: "default" 0.0;
6604                visible: 0;
6605                rel1.to: "elm.swallow.slot.bottom";
6606                rel1.offset: -5 -5;
6607                rel2.to: "elm.swallow.slot.bottom";
6608                rel2.offset: 4 4;
6609                image {
6610                   normal: "bt_dis_base.png";
6611                   border: 4 4 4 4;
6612                }
6613                image.middle: SOLID;
6614             }
6615             description { state: "visible" 0.0;
6616                inherit: "default" 0.0;
6617                visible: 1;
6618             }
6619          }
6620          part { name: "elm.swallow.slot.bottom";
6621             type: SWALLOW;
6622             clip_to: "bottomclip";
6623             description { state: "default" 0.0;
6624                align: 0.5 1.0;
6625                rel1.to: "elm.swallow.slot.middle";
6626                rel1.relative: 0.0 1.0;
6627                rel1.offset: 0 0;
6628                rel2.to: "elm.swallow.slot.middle";
6629                rel2.relative: 1.0 1.0;
6630                rel2.offset: -1 0;
6631             }
6632             description { state: "visible" 0.0;
6633                inherit: "default" 0.0;
6634                rel1.offset: 0 6;
6635                rel2.offset: -1 6;
6636                align: 0.5 0.0;
6637             }
6638          }
6639          part { name: "bottomover";
6640             clip_to: "bottomclip";
6641             mouse_events: 0;
6642             description { state: "default" 0.0;
6643                rel1.to: "bottom";
6644                rel2.to: "bottom";
6645                rel2.relative: 1.0 0.5;
6646                image {
6647                   normal: "bt_dis_hilight.png";
6648                   border: 4 4 4 0;
6649                }
6650             }
6651          }
6652          part { name: "shad";
6653             mouse_events:  0;
6654             description { state: "default" 0.0;
6655                image.normal: "shad_circ.png";
6656                rel1.to: "elm.swallow.size";
6657                rel1.offset: -64 -64;
6658                rel2.to: "elm.swallow.size";
6659                rel2.offset: 63 63;
6660                fill.smooth: 0;
6661             }
6662          }
6663          part { name: "pop";
6664             mouse_events: 1;
6665             description { state: "default" 0.0;
6666                rel1.to: "elm.swallow.slot.middle";
6667                rel1.offset: -5 -5;
6668                rel2.to: "elm.swallow.slot.middle";
6669                rel2.offset: 4 4;
6670                image {
6671                   normal: "bt_dis_base.png";
6672                   border: 4 4 4 4;
6673                }
6674                image.middle: SOLID;
6675             }
6676          }
6677          part { name: "elm.swallow.slot.middle";
6678             type: SWALLOW;
6679             description { state: "default" 0.0;
6680                rel1.to: "elm.swallow.size";
6681                rel2.to: "elm.swallow.size";
6682             }
6683          }
6684          part { name: "popover";
6685             mouse_events: 0;
6686             description { state: "default" 0.0;
6687                rel1.to: "pop";
6688                rel2.to: "pop";
6689                rel2.relative: 1.0 0.5;
6690                image {
6691                   normal: "bt_dis_hilight.png";
6692                   border: 4 4 4 0;
6693                }
6694             }
6695          }
6696       }
6697       programs {
6698          program { name: "end";
6699             signal: "mouse,up,1";
6700             source: "base";
6701             action: SIGNAL_EMIT "elm,action,dismiss" "";
6702          }
6703
6704          program { name: "show";
6705             signal: "elm,action,show";
6706             source: "elm";
6707             action: STATE_SET "visible" 0.0;
6708 //            transition: DECELERATE 0.5;
6709             target: "base";
6710          }
6711          program { name: "hide";
6712             signal: "elm,action,hide";
6713             source: "elm";
6714             action: STATE_SET "default" 0.0;
6715 //            transition: DECELERATE 0.5;
6716             target: "base";
6717          }
6718
6719          program { name: "leftshow";
6720             signal: "elm,action,slot,left,show";
6721             source: "elm";
6722             action: STATE_SET "visible" 0.0;
6723             transition: DECELERATE 0.5;
6724             target: "left";
6725             target: "elm.swallow.slot.left";
6726          }
6727          program { name: "lefthide";
6728             signal: "elm,action,slot,left,hide";
6729             source: "elm";
6730             action: STATE_SET "default" 0.0;
6731             transition: DECELERATE 0.5;
6732             target: "left";
6733             target: "elm.swallow.slot.left";
6734          }
6735          program { name: "rightshow";
6736             signal: "elm,action,slot,right,show";
6737             source: "elm";
6738             action: STATE_SET "visible" 0.0;
6739             transition: DECELERATE 0.5;
6740             target: "right";
6741             target: "elm.swallow.slot.right";
6742          }
6743          program { name: "righthide";
6744             signal: "elm,action,slot,right,hide";
6745             source: "elm";
6746             action: STATE_SET "default" 0.0;
6747             transition: DECELERATE 0.5;
6748             target: "right";
6749             target: "elm.swallow.slot.right";
6750          }
6751          program { name: "topshow";
6752             signal: "elm,action,slot,top,show";
6753             source: "elm";
6754             action: STATE_SET "visible" 0.0;
6755             transition: DECELERATE 0.5;
6756             target: "top";
6757             target: "elm.swallow.slot.top";
6758          }
6759          program { name: "tophide";
6760             signal: "elm,action,slot,top,hide";
6761             source: "elm";
6762             action: STATE_SET "default" 0.0;
6763             transition: DECELERATE 0.5;
6764             target: "top";
6765             target: "elm.swallow.slot.top";
6766          }
6767          program { name: "bottomshow";
6768             signal: "elm,action,slot,bottom,show";
6769             source: "elm";
6770             action: STATE_SET "visible" 0.0;
6771             transition: DECELERATE 0.5;
6772             target: "bottom";
6773             target: "elm.swallow.slot.bottom";
6774          }
6775          program { name: "bottomhide";
6776             signal: "elm,action,slot,bottom,hide";
6777             source: "elm";
6778             action: STATE_SET "default" 0.0;
6779             transition: DECELERATE 0.5;
6780             target: "bottom";
6781             target: "elm.swallow.slot.bottom";
6782          }
6783       }
6784    }
6785
6786    //In the hover used by the menu only the bottom part is used.
6787    group { name: "elm/hover/base/menu";
6788        images {
6789            image: "shad_circ.png" COMP;
6790            image: "bt_dis_base.png" COMP;
6791        }
6792        parts {
6793            part { name: "elm.swallow.offset";
6794                type: SWALLOW;
6795                description { state: "default" 0.0;
6796                    align: 0.0 0.0;
6797                    rel1.relative: 0.0 0.0;
6798                    rel2.relative: 0.0 0.0;
6799                }
6800            }
6801            part { name: "elm.swallow.size";
6802                type: SWALLOW;
6803                description { state: "default" 0.0;
6804                    align: 0.0 0.0;
6805                    rel1.to: "elm.swallow.offset";
6806                    rel1.relative: 1.0 1.0;
6807                    rel2.to: "elm.swallow.offset";
6808                    rel2.relative: 1.0 1.0;
6809                }
6810            }
6811            part { name: "base";
6812                type: RECT;
6813                mouse_events: 1;
6814                description { state: "default" 0.0;
6815                    color: 0 0 0 0;
6816                }
6817                description { state: "visible" 0.0;
6818                    inherit: "default" 1.0;
6819                    color: 0 0 0 64;
6820                }
6821            }
6822            part { name: "elm.swallow.slot.left";
6823                type: SWALLOW;
6824                description { state: "default" 0.0;
6825                }
6826            }
6827            part { name: "elm.swallow.slot.right";
6828                type: SWALLOW;
6829                description { state: "default" 0.0;
6830                }
6831            }
6832            part { name: "elm.swallow.slot.top";
6833                type: SWALLOW;
6834                description { state: "default" 0.0;
6835                }
6836                description { state: "visible" 0.0;
6837                    inherit: "default" 0.0;
6838                }
6839            }
6840            part { name: "bottomclip";
6841                type: RECT;
6842                description { state: "default" 0.0;
6843                    rel1.to_y: "pop";
6844                    rel1.relative: 0.0 1.0;
6845                    rel1.offset: -1 -2;
6846                }
6847            }
6848            part { name: "bottom";
6849                clip_to: "bottomclip";
6850                description { state: "default" 0.0;
6851                    visible: 0;
6852                    rel1.to: "elm.swallow.slot.bottom";
6853                    rel1.offset: -5 -5;
6854                    rel2.to: "elm.swallow.slot.bottom";
6855                    rel2.offset: 4 4;
6856                    image {
6857                        normal: "bt_dis_base.png";
6858                        border: 4 4 4 4;
6859                    }
6860                    image.middle: SOLID;
6861                }
6862                description { state: "visible" 0.0;
6863                    inherit: "default" 0.0;
6864                    visible: 1;
6865                }
6866            }
6867            part { name: "elm.swallow.slot.bottom";
6868                type: SWALLOW;
6869                clip_to: "bottomclip";
6870                description { state: "default" 0.0;
6871                    align: 0.5 1.0;
6872                    rel1.to: "elm.swallow.slot.middle";
6873                    rel1.relative: 0.0 1.0;
6874                    rel1.offset: 0 0;
6875                    rel2.to: "elm.swallow.slot.middle";
6876                    rel2.relative: 1.0 1.0;
6877                    rel2.offset: -1 0;
6878                }
6879                description { state: "visible" 0.0;
6880                    inherit: "default" 0.0;
6881                    rel1.offset: 0 6;
6882                    rel2.offset: -1 6;
6883                    align: 0.5 0.0;
6884                }
6885            }
6886            part { name: "pop";
6887                mouse_events: 1;
6888                repeat_events:1;
6889                description { state: "default" 0.0;
6890                    rel1.to: "elm.swallow.slot.middle";
6891                    rel1.offset: -5 -5;
6892                    rel2.to: "elm.swallow.slot.middle";
6893                    rel2.offset: 4 4;
6894                }
6895            }
6896            part { name: "elm.swallow.slot.middle";
6897                type: SWALLOW;
6898                repeat_events:1;
6899                description { state: "default" 0.0;
6900                    rel1.to: "elm.swallow.size";
6901                    rel2.to: "elm.swallow.size";
6902                }
6903            }
6904        }
6905        programs {
6906            program { name: "end";
6907                signal: "mouse,up,1";
6908                source: "base";
6909                action: SIGNAL_EMIT "elm,action,dismiss" "";
6910            }
6911            program { name: "show";
6912                signal: "elm,action,show";
6913                source: "elm";
6914                action: STATE_SET "visible" 0.0;
6915                        //            transition: DECELERATE 0.5;
6916                target: "base";
6917            }
6918            program { name: "hide";
6919                signal: "elm,action,hide";
6920                source: "elm";
6921                action: STATE_SET "default" 0.0;
6922                        //            transition: DECELERATE 0.5;
6923                target: "base";
6924            }
6925            program { name: "bottomshow";
6926                signal: "elm,action,slot,bottom,show";
6927                source: "elm";
6928                action: STATE_SET "visible" 0.0;
6929                transition: DECELERATE 0.3;
6930                target: "bottom";
6931                target: "elm.swallow.slot.bottom";
6932            }
6933            program { name: "bottomhide";
6934                signal: "elm,action,slot,bottom,hide";
6935                source: "elm";
6936                action: STATE_SET "default" 0.0;
6937                transition: DECELERATE 0.5;
6938                target: "bottom";
6939                target: "elm.swallow.slot.bottom";
6940            }
6941        }
6942    }
6943
6944    //In the hover used by the submenu only the bottom part is used
6945    //and no part should interact except the bottom area
6946    group { name: "elm/hover/base/submenu";
6947        images {
6948            image: "shad_circ.png" COMP;
6949            image: "bt_dis_base.png" COMP;
6950        }
6951        parts {
6952            part { name: "elm.swallow.offset";
6953                type: SWALLOW;
6954                repeat_events:1;
6955                description { state: "default" 0.0;
6956                    align: 0.0 0.0;
6957                    rel1.relative: 0.0 0.0;
6958                    rel2.relative: 0.0 0.0;
6959                }
6960            }
6961            part { name: "elm.swallow.size";
6962                type: SWALLOW;
6963                description { state: "default" 0.0;
6964                    align: 0.0 0.0;
6965                    rel1.to: "elm.swallow.offset";
6966                    rel1.relative: 1.0 1.0;
6967                    rel2.to: "elm.swallow.offset";
6968                    rel2.relative: 1.0 1.0;
6969                }
6970            }
6971            //here we do non catch events like the hover hover does
6972            part { name: "base";
6973                type: RECT;
6974                mouse_events: 1;
6975                description { state: "default" 0.0;
6976                    color: 0 0 0 0;
6977                    visible: 0;
6978                }
6979            }
6980            part { name: "elm.swallow.slot.left";
6981                type: SWALLOW;
6982                description { state: "default" 0.0;
6983                }
6984            }
6985            part { name: "elm.swallow.slot.right";
6986                type: SWALLOW;
6987                description { state: "default" 0.0;
6988                }
6989            }
6990            part { name: "elm.swallow.slot.top";
6991                type: SWALLOW;
6992                description { state: "default" 0.0;
6993                }
6994            }
6995            part { name: "bottomclip";
6996                type: RECT;
6997                description { state: "default" 0.0;
6998                    rel1.to_y: "pop";
6999                    rel1.relative: 0.0 1.0;
7000                    rel1.offset: -1 -2;
7001                }
7002            }
7003            part { name: "bottom";
7004                clip_to: "bottomclip";
7005                description { state: "default" 0.0;
7006                    visible: 0;
7007                    rel1.to: "elm.swallow.slot.bottom";
7008                    rel1.offset: -5 -5;
7009                    rel2.to: "elm.swallow.slot.bottom";
7010                    rel2.offset: 4 4;
7011                    image {
7012                        normal: "bt_dis_base.png";
7013                        border: 4 4 4 4;
7014                    }
7015                    image.middle: SOLID;
7016                }
7017                description { state: "visible" 0.0;
7018                    inherit: "default" 0.0;
7019                    visible: 1;
7020                }
7021            }
7022            part { name: "elm.swallow.slot.bottom";
7023                type: SWALLOW;
7024                clip_to: "bottomclip";
7025                description { state: "default" 0.0;
7026                    align: 0.5 1.0;
7027                    rel1.to: "elm.swallow.slot.middle";
7028                    rel1.relative: 0.0 1.0;
7029                    rel1.offset: 0 0;
7030                    rel2.to: "elm.swallow.slot.middle";
7031                    rel2.relative: 1.0 1.0;
7032                    rel2.offset: -1 0;
7033                }
7034                description { state: "visible" 0.0;
7035                    inherit: "default" 0.0;
7036                    rel1.offset: 0 6;
7037                    rel2.offset: -1 6;
7038                    align: 0.5 0.0;
7039                }
7040            }
7041            part { name: "pop";
7042                mouse_events: 1;
7043                repeat_events:1;
7044                description { state: "default" 0.0;
7045                    rel1.to: "elm.swallow.slot.middle";
7046                    rel1.offset: -5 -5;
7047                    rel2.to: "elm.swallow.slot.middle";
7048                    rel2.offset: 4 4;
7049                }
7050            }
7051            part { name: "elm.swallow.slot.middle";
7052                type: SWALLOW;
7053                repeat_events:1;
7054                description { state: "default" 0.0;
7055                    rel1.to: "elm.swallow.size";
7056                    rel2.to: "elm.swallow.size";
7057                }
7058            }
7059        }
7060        programs {
7061            program { name: "end";
7062                signal: "mouse,up,1";
7063                source: "base";
7064                action: SIGNAL_EMIT "elm,action,dismiss" "";
7065            }
7066            program { name: "show";
7067                signal: "elm,action,show";
7068                source: "elm";
7069                action: STATE_SET "visible" 0.0;
7070                        //            transition: DECELERATE 0.5;
7071                target: "base";
7072            }
7073            program { name: "hide";
7074                signal: "elm,action,hide";
7075                source: "elm";
7076                action: STATE_SET "default" 0.0;
7077                        //            transition: DECELERATE 0.5;
7078                target: "base";
7079            }
7080            program { name: "bottomshow";
7081                signal: "elm,action,slot,bottom,show";
7082                source: "elm";
7083                action: STATE_SET "visible" 0.0;
7084                transition: DECELERATE 0.3;
7085                target: "bottom";
7086                target: "elm.swallow.slot.bottom";
7087            }
7088            program { name: "bottomhide";
7089                signal: "elm,action,slot,bottom,hide";
7090                source: "elm";
7091                action: STATE_SET "default" 0.0;
7092                transition: DECELERATE 0.5;
7093                target: "bottom";
7094                target: "elm.swallow.slot.bottom";
7095            }
7096        }
7097    }
7098
7099    group { name: "elm/hover/base/hoversel_vertical/default";
7100       alias: "elm/hover/base/hoversel_vertical/entry";
7101       images {
7102 //         image: "shad_circ.png" COMP;
7103          image: "bt_base2.png" COMP;
7104          image: "bt_hilight.png" COMP;
7105          image: "bt_shine.png" COMP;
7106          image: "outdent-top.png" COMP;
7107          image: "outdent-bottom.png" COMP;
7108       }
7109       parts {
7110          part { name: "elm.swallow.offset";
7111             type: SWALLOW;
7112             description { state: "default" 0.0;
7113                align: 0.0 0.0;
7114                rel1.relative: 0.0 0.0;
7115                rel2.relative: 0.0 0.0;
7116             }
7117          }
7118          part { name: "elm.swallow.size";
7119             type: SWALLOW;
7120             description { state: "default" 0.0;
7121                align: 0.0 0.0;
7122                rel1.to: "elm.swallow.offset";
7123                rel1.relative: 1.0 1.0;
7124                rel2.to: "elm.swallow.offset";
7125                rel2.relative: 1.0 1.0;
7126             }
7127          }
7128 /*
7129         part { name: "shad";
7130             mouse_events:  0;
7131             description { state: "default" 0.0;
7132                image.normal: "shad_circ.png";
7133                rel1.to: "button_image";
7134                rel1.offset: -64 -64;
7135                rel2.to: "button_image";
7136                rel2.offset: 63 63;
7137                fill.smooth: 0;
7138             }
7139          }
7140  */
7141          part { name: "button_image";
7142             mouse_events: 1;
7143             description { state: "default" 0.0;
7144                rel1.to_x: "elm.swallow.slot.top";
7145                rel1.to_y: "elm.swallow.slot.top";
7146                rel1.offset: -2 -6;
7147                rel2.to_x: "elm.swallow.slot.top";
7148                rel2.to_y: "elm.swallow.slot.bottom";
7149                rel2.offset: 1 5;
7150                image {
7151                   normal: "bt_base2.png";
7152                   border: 7 7 7 7;
7153                }
7154                image.middle: SOLID;
7155             }
7156             description { state: "bottom" 0.0;
7157                rel1.to_x: "elm.swallow.slot.bottom";
7158                rel1.to_y: "elm.swallow.slot.top";
7159                rel1.offset: -2 -6;
7160                rel2.to_x: "elm.swallow.slot.bottom";
7161                rel2.to_y: "elm.swallow.slot.bottom";
7162                rel2.offset: 1 5;
7163                image {
7164                   normal: "bt_base2.png";
7165                   border: 7 7 7 7;
7166                }
7167                image.middle: SOLID;
7168             }
7169          }
7170
7171          part { name: "base";
7172             type: RECT;
7173             mouse_events: 1;
7174             description { state: "default" 0.0;
7175                color: 0 0 0 0;
7176             }
7177             description { state: "visible" 0.0;
7178                inherit: "default" 1.0;
7179                color: 0 0 0 64;
7180             }
7181          }
7182
7183          part { name: "topclip";
7184             type: RECT;
7185             description { state: "default" 0.0;
7186                rel2.to_y: "edge_top";
7187                rel2.relative: 1.0 0.0;
7188                rel2.offset: -1 7;
7189             }
7190          }
7191          part { name: "elm.swallow.slot.top";
7192             type: SWALLOW;
7193             clip_to: "topclip";
7194             description { state: "default" 0.0;
7195                visible: 1;
7196                align: 0.5 0.0;
7197                rel1.to: "elm.swallow.slot.middle";
7198                rel1.relative: 0.0 0.0;
7199                rel1.offset: 0 -1;
7200                rel2.to: "elm.swallow.slot.middle";
7201                rel2.relative: 1.0 0.0;
7202                rel2.offset: -1 -1;
7203             }
7204             description { state: "visible" 0.0;
7205                inherit: "default" 0.0;
7206                rel1.offset: 0 -7;
7207                rel2.offset: -1 -7;
7208                align: 0.5 1.0;
7209             }
7210          }
7211
7212          part { name: "bottomclip";
7213             type: RECT;
7214             description { state: "default" 0.0;
7215                rel1.to_y: "edge_bottom";
7216                rel1.relative: 0.0 1.0;
7217                rel1.offset: -1 -8;
7218             }
7219          }
7220          part { name: "elm.swallow.slot.bottom";
7221             type: SWALLOW;
7222             clip_to: "bottomclip";
7223             description { state: "default" 0.0;
7224                align: 0.5 1.0;
7225                rel1.to: "elm.swallow.slot.middle";
7226                rel1.relative: 0.0 1.0;
7227                rel1.offset: 0 0;
7228                rel2.to: "elm.swallow.slot.middle";
7229                rel2.relative: 1.0 1.0;
7230                rel2.offset: -1 0;
7231             }
7232             description { state: "visible" 0.0;
7233                inherit: "default" 0.0;
7234                rel1.offset: 0 6;
7235                rel2.offset: -1 6;
7236                align: 0.5 0.0;
7237             }
7238          }
7239
7240          part {          name: "over1";
7241             mouse_events: 0;
7242             description { state: "default" 0.0;
7243                rel1.to: "button_image";
7244                rel2.to: "button_image";
7245                rel2.relative: 1.0 0.5;
7246                image {
7247                   normal: "bt_hilight.png";
7248                   border: 7 7 7 0;
7249                }
7250             }
7251          }
7252          part { name: "over2";
7253             mouse_events: 1;
7254             repeat_events: 1;
7255             ignore_flags: ON_HOLD;
7256             description { state: "default" 0.0;
7257                rel1.to: "button_image";
7258                rel2.to: "button_image";
7259                image {
7260                   normal: "bt_shine.png";
7261                   border: 7 7 7 7;
7262                }
7263             }
7264          }
7265          part { name: "edge_top";
7266             mouse_events:  0;
7267             description { state: "default" 0.0;
7268                visible: 0;
7269                rel1 {
7270                   to: "elm.swallow.size";
7271                   offset: 0 -10;
7272                }
7273                rel2 {
7274                   to: "elm.swallow.size";
7275                }
7276                image.normal: "outdent-bottom.png";
7277                image.border: 0 0 13 0;
7278                fill.smooth: 0;
7279             }
7280             description { state: "visible" 0.0;
7281                inherit: "default" 0.0;
7282                visible: 1;
7283             }
7284          }
7285          part { name: "edge_bottom";
7286             mouse_events:  0;
7287             description { state: "default" 0.0;
7288                visible: 0;
7289                rel1 {
7290                   to: "elm.swallow.size";
7291                }
7292                rel2 {
7293                   to: "elm.swallow.size";
7294                   offset: -1 9;
7295                }
7296                image.normal: "outdent-top.png";
7297                image.border: 0 0 0 13;
7298                fill.smooth: 0;
7299             }
7300             description { state: "visible" 0.0;
7301                inherit: "default" 0.0;
7302                visible: 1;
7303             }
7304          }
7305          part { name: "elm.swallow.slot.middle";
7306             type: SWALLOW;
7307             description { state: "default" 0.0;
7308                rel1.to: "elm.swallow.size";
7309                rel2.to: "elm.swallow.size";
7310             }
7311          }
7312       }
7313       programs {
7314          program { name: "end";
7315             signal: "mouse,up,1";
7316             source: "base";
7317             action: SIGNAL_EMIT "elm,action,dismiss" "";
7318          }
7319
7320          program { name: "show";
7321             signal: "elm,action,show";
7322             source: "elm";
7323             action: STATE_SET "visible" 0.0;
7324 //            transition: DECELERATE 0.5;
7325             target: "base";
7326          }
7327          program { name: "hide";
7328             signal: "elm,action,hide";
7329             source: "elm";
7330             action: STATE_SET "default" 0.0;
7331 //            transition: DECELERATE 0.5;
7332             target: "base";
7333          }
7334          program { name: "topshow";
7335             signal: "elm,action,slot,top,show";
7336             source: "elm";
7337             action: STATE_SET "visible" 0.0;
7338             target: "edge_top";
7339             after: "topshow2";
7340          }
7341          program { name: "topshow2";
7342             action: STATE_SET "visible" 0.0;
7343             transition: DECELERATE 0.5;
7344             target: "elm.swallow.slot.top";
7345          }
7346          program { name: "topshow3";
7347             signal: "elm,action,slot,top,show";
7348             source: "elm";
7349             action: STATE_SET "default" 0.0;
7350             target: "button_image";
7351          }
7352          program { name: "tophide";
7353             signal: "elm,action,slot,top,hide";
7354             source: "elm";
7355             action: STATE_SET "default" 0.0;
7356             transition: DECELERATE 0.5;
7357             target: "elm.swallow.slot.top";
7358             after: "tophide2";
7359          }
7360          program { name: "tophide2";
7361             action: STATE_SET "default" 0.0;
7362             target: "edge_top";
7363          }
7364          program { name: "bottomshow";
7365             signal: "elm,action,slot,bottom,show";
7366             source: "elm";
7367             action: STATE_SET "visible" 0.0;
7368             target: "edge_bottom";
7369             after: "bottomshow2";
7370          }
7371          program { name: "bottomshow2";
7372             action: STATE_SET "visible" 0.0;
7373             transition: DECELERATE 0.5;
7374             target: "elm.swallow.slot.bottom";
7375          }
7376          program { name: "bottomshow3";
7377             signal: "elm,action,slot,bottom,show";
7378             source: "elm";
7379             action: STATE_SET "bottom" 0.0;
7380             target: "button_image";
7381          }
7382          program { name: "bottomhide";
7383             signal: "elm,action,slot,bottom,hide";
7384             source: "elm";
7385             action: STATE_SET "default" 0.0;
7386             transition: DECELERATE 0.5;
7387             target: "elm.swallow.slot.bottom";
7388             after: "bottomhide2";
7389          }
7390          program { name: "bottomhide2";
7391             action: STATE_SET "default" 0.0;
7392             target: "edge_bottom";
7393          }
7394       }
7395    }
7396 ///////////////////////////////////////////////////////////////////////////////
7397    group { name: "elm/scroller/base/ctxpopup";
7398       data {
7399          item: "focus_highlight" "on";
7400       }
7401       script {
7402          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7403          public timer0(val) {
7404             new v;
7405             v = get_int(sbvis_v);
7406             if (v) {
7407                v = get_int(sbalways_v);
7408                if(!v) {
7409                   emit("do-hide-vbar", "");
7410                   set_int(sbvis_v, 0);
7411                }
7412             }
7413             v = get_int(sbvis_h);
7414             if (v) {
7415                v = get_int(sbalways_h);
7416                if(!v) {
7417                   emit("do-hide-hbar", "");
7418                   set_int(sbvis_h, 0);
7419                }
7420             }
7421             set_int(sbvis_timer, 0);
7422             return 0;
7423          }
7424       }
7425       images {
7426          image: "bt_sm_base2.png" COMP;
7427          image: "bt_sm_shine.png" COMP;
7428          image: "bt_sm_hilight.png" COMP;
7429          image: "sl_bt2_2.png" COMP;
7430       }
7431       parts {
7432          part { name: "clipper";
7433             type: RECT;
7434             mouse_events: 0;
7435             scale: 1;
7436             description { state: "default" 0.0;
7437             }
7438          }
7439          part { name: "elm.swallow.content";
7440             clip_to: "clipper";
7441             type: SWALLOW;
7442             scale: 1;
7443             description { state: "default" 0.0;
7444                align: 0.5 0.5;
7445             }
7446          }
7447          part { name: "focus_highlight";
7448             mouse_events: 0;
7449             description { state: "default" 0.0;
7450                rel1.offset: -1 -1;
7451                rel2.offset: 0 0;
7452                image { normal: "sl_bt2_2.png";
7453                   border: 7 7 7 7;
7454                   middle: 0;
7455                }
7456                fill.smooth : 0;
7457                color: 200 155 0 0;
7458             }
7459             description { state: "enabled" 0.0;
7460                inherit: "default" 0.0;
7461                color: 200 155 0 255;
7462             }
7463          }
7464          part { name: "sb_vbar_clip_master";
7465             type: RECT;
7466             mouse_events: 0;
7467             description { state: "default" 0.0;
7468             }
7469             description { state: "hidden" 0.0;
7470                visible: 0;
7471                color: 255 255 255 0;
7472             }
7473          }
7474          part { name: "sb_vbar_clip";
7475             clip_to:"sb_vbar_clip_master";
7476             type: RECT;
7477             mouse_events: 0;
7478             scale: 1;
7479             description { state: "default" 0.0;
7480                align: 0.0 0.0;
7481                rel2{ to:"clipper"; relative: 1.0 1.0;}
7482             }
7483             description { state: "hidden" 0.0;
7484                visible: 0;
7485                color: 255 255 255 0;
7486             }
7487          }
7488          part { name: "sb_vbar";
7489             type: RECT;
7490             mouse_events: 0;
7491             scale: 1;
7492             description { state: "default" 0.0;
7493                fixed: 1 1;
7494                visible: 0;
7495                align: 1.0 0.0;
7496                rel1{ to:"clipper"; relative: 1.0 0.0; }
7497                rel2{ to:"clipper"; relative: 1.0 1.0; }
7498             }
7499          }
7500          part { name: "elm.dragable.vbar";
7501             clip_to: "sb_vbar_clip";
7502             mouse_events: 0;
7503             scale: 1;
7504             dragable {
7505                x: 0 0 0;
7506                y: 1 1 0;
7507                confine: "sb_vbar";
7508             }
7509             description { state: "default" 0.0;
7510                fixed: 1 1;
7511                min: 10 17;
7512                max: 10 99999;
7513                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7514                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7515                image { normal: "bt_sm_base2.png";
7516                   border: 6 6 6 6;
7517                   middle: SOLID;
7518                }
7519             }
7520          }
7521          part { name: "sb_vbar_over1";
7522             clip_to: "sb_vbar_clip";
7523             mouse_events: 0;
7524             description { state: "default" 0.0;
7525                rel1.to: "elm.dragable.vbar";
7526                rel2.relative: 1.0 0.5;
7527                rel2.to: "elm.dragable.vbar";
7528                image { normal: "bt_sm_hilight.png";
7529                   border: 6 6 6 0;
7530                }
7531             }
7532          }
7533          part { name: "sb_vbar_over2";
7534             clip_to: "sb_vbar_clip";
7535             mouse_events: 0;
7536             description { state: "default" 0.0;
7537                rel1.to: "elm.dragable.vbar";
7538                rel2.to: "elm.dragable.vbar";
7539                image { normal: "bt_sm_shine.png";
7540                   border: 6 6 6 0;
7541                }
7542             }
7543          }
7544          part { name: "sb_hbar_clip_master";
7545             type: RECT;
7546             mouse_events: 0;
7547             description { state: "default" 0.0;
7548             }
7549             description { state: "hidden" 0.0;
7550                visible: 0;
7551                color: 255 255 255 0;
7552             }
7553          }
7554          part { name: "sb_hbar_clip";
7555             clip_to: "sb_hbar_clip_master";
7556             type: RECT;
7557             mouse_events: 0;
7558             scale: 1;
7559             description { state: "default" 0.0;
7560                align: 0.0 0.0;
7561                rel2{ to:"clipper"; relative: 1.0 1.0;}
7562             }
7563             description { state: "hidden" 0.0;
7564                visible: 0;
7565                color: 255 255 255 0;
7566             }
7567          }
7568          part { name: "sb_hbar";
7569             type: RECT;
7570             mouse_events: 0;
7571             scale: 1;
7572             description { state: "default" 0.0;
7573                fixed: 1 1;
7574                visible: 0;
7575                align: 0.0 1.0;
7576                rel1 { to:"clipper"; relative: 0.0 1.0; }
7577                rel2 { to:"clipper"; relative: 1.0 1.0; }
7578             }
7579          }
7580          part { name: "elm.dragable.hbar";
7581             clip_to: "sb_hbar_clip";
7582             mouse_events: 0;
7583             scale: 1;
7584             dragable {
7585                x: 1 1 0;
7586                y: 0 0 0;
7587                confine: "sb_hbar";
7588             }
7589             description { state: "default" 0.0;
7590                min: 17 10;
7591                max: 99999 10;
7592                fixed: 1 1;
7593                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7594                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7595                image { normal: "bt_sm_base2.png";
7596                   border: 4 4 4 4;
7597                   middle: SOLID;
7598                }
7599             }
7600          }
7601          part { name: "sb_hbar_over1";
7602             clip_to: "sb_hbar_clip";
7603             mouse_events: 0;
7604             description { state: "default" 0.0;
7605                rel1.to: "elm.dragable.hbar";
7606                rel2.relative: 1.0 0.5;
7607                rel2.to: "elm.dragable.hbar";
7608                image { normal: "bt_sm_hilight.png";
7609                   border: 6 6 6 0;
7610                }
7611             }
7612          }
7613          part { name: "sb_hbar_over2";
7614             clip_to: "sb_hbar_clip";
7615             mouse_events: 0;
7616             description { state: "default" 0.0;
7617                rel1.to: "elm.dragable.hbar";
7618                rel2.to: "elm.dragable.hbar";
7619                image { normal: "bt_sm_shine.png";
7620                   border: 6 6 6 0;
7621                }
7622             }
7623          }
7624       }
7625       programs {
7626          program { name: "load";
7627             signal: "load";
7628             source: "";
7629             script {
7630                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7631                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7632                set_int(sbvis_v, 0);
7633                set_int(sbvis_h, 0);
7634                set_int(sbalways_v, 0);
7635                                    set_int(sbalways_h, 0);
7636                set_int(sbvis_timer, 0);
7637             }
7638          }
7639          program { name: "vbar_show";
7640             signal: "elm,action,show,vbar";
7641             source: "elm";
7642             action: STATE_SET "default" 0.0;
7643             target: "sb_vbar_clip_master";
7644          }
7645          program { name: "vbar_hide";
7646             signal: "elm,action,hide,vbar";
7647             source: "elm";
7648             action:  STATE_SET "hidden" 0.0;
7649             target: "sb_vbar_clip_master";
7650          }
7651          program { name: "vbar_show_always";
7652             signal: "elm,action,show_always,vbar";
7653             source: "elm";
7654             script {
7655                new v;
7656                v = get_int(sbvis_v);
7657                v |= get_int(sbalways_v);
7658                if (!v) {
7659                   set_int(sbalways_v, 1);
7660                   emit("do-show-vbar", "");
7661                   set_int(sbvis_v, 1);
7662                }
7663             }
7664          }
7665          program { name: "vbar_show_notalways";
7666             signal: "elm,action,show_notalways,vbar";
7667             source: "elm";
7668             script {
7669                new v;
7670                v = get_int(sbalways_v);
7671                if (v) {
7672                   set_int(sbalways_v, 0);
7673                   v = get_int(sbvis_v);
7674                   if (!v) {
7675                      emit("do-hide-vbar", "");
7676                      set_int(sbvis_v, 0);
7677                   }
7678                }
7679             }
7680          }
7681          program { name: "sb_vbar_show";
7682             signal: "do-show-vbar";
7683             source: "";
7684             action:  STATE_SET "default" 0.0;
7685             transition: LINEAR 1.0;
7686             target: "sb_vbar_clip";
7687          }
7688          program { name: "sb_vbar_hide";
7689             signal: "do-hide-vbar";
7690             source: "";
7691             action:  STATE_SET "hidden" 0.0;
7692             transition: LINEAR 1.0;
7693             target: "sb_vbar_clip";
7694          }
7695          program { name: "hbar_show";
7696             signal: "elm,action,show,hbar";
7697             source: "elm";
7698             action:  STATE_SET "default" 0.0;
7699             target: "sb_hbar_clip_master";
7700          }
7701          program { name: "hbar_hide";
7702             signal: "elm,action,hide,hbar";
7703             source: "elm";
7704             action:  STATE_SET "hidden" 0.0;
7705             target: "sb_hbar_clip_master";
7706          }
7707          program { name: "hbar_show_always";
7708             signal: "elm,action,show_always,hbar";
7709             source: "elm";
7710             script {
7711                new v;
7712                v = get_int(sbvis_h);
7713                v |= get_int(sbalways_h);
7714                if (!v) {
7715                   set_int(sbalways_h, 1);
7716                   emit("do-show-hbar", "");
7717                   set_int(sbvis_h, 1);
7718                }
7719             }
7720          }
7721          program { name: "hbar_show_notalways";
7722             signal: "elm,action,show_notalways,hbar";
7723             source: "elm";
7724             script {
7725                new v;
7726                v = get_int(sbalways_h);
7727                if (v) {
7728                   set_int(sbalways_h, 0);
7729                   v = get_int(sbvis_h);
7730                   if (!v) {
7731                      emit("do-hide-hbar", "");
7732                      set_int(sbvis_h, 0);
7733                   }
7734                }
7735             }
7736          }
7737          program { name: "sb_hbar_show";
7738             signal: "do-show-hbar";
7739             source: "";
7740             action:  STATE_SET "default" 0.0;
7741             transition: LINEAR 1.0;
7742             target: "sb_hbar_clip";
7743          }
7744          program { name: "sb_hbar_hide";
7745             signal: "do-hide-hbar";
7746             source: "";
7747             action:  STATE_SET "hidden" 0.0;
7748             transition: LINEAR 1.0;
7749             target: "sb_hbar_clip";
7750          }
7751          program { name: "scroll";
7752             signal: "elm,action,scroll";
7753             source: "elm";
7754             script {
7755                new v;
7756                v = get_int(sbvis_v);
7757                v |= get_int(sbalways_v);
7758                if (!v) {
7759                   emit("do-show-vbar", "")
7760                   set_int(sbvis_v, 1);
7761                }
7762                v = get_int(sbvis_h);
7763                v |= get_int(sbalways_h);
7764                if (!v) {
7765                   emit("do-show-hbar", "");
7766                   set_int(sbvis_h, 1);
7767                }
7768                v = get_int(sbvis_timer);
7769                if (v > 0) cancel_timer(v);
7770                v = timer(1.0, "timer0", 0);
7771                set_int(sbvis_timer, v);
7772             }
7773          }
7774          program { name: "highlight_show";
7775             signal: "elm,action,focus_highlight,show";
7776             source: "elm";
7777             action: STATE_SET "enabled" 0.0;
7778             transition: ACCELERATE 0.3;
7779             target: "focus_highlight";
7780           }
7781          program { name: "highlight_hide";
7782             signal: "elm,action,focus_highlight,hide";
7783             source: "elm";
7784             action: STATE_SET "default" 0.0;
7785             transition: DECELERATE 0.3;
7786             target: "focus_highlight";
7787          }
7788       }
7789    }
7790 ///////////////////////////////////////////////////////////////////////////////
7791    group { name: "elm/ctxpopup/bg/default";
7792       parts {
7793          part { name: "ctxpopup_bg";
7794             type: RECT;
7795             mouse_events: 1;
7796             description { state: "default" 0.0;
7797                color: 0 0 0 0;
7798             }
7799             description { state: "visible" 0.0;
7800                inherit: "default" 0.0;
7801                color: 0 0 0 64;
7802             }
7803          }
7804       }
7805       programs {
7806          program { name: "clicked_event";
7807             signal: "mouse,clicked,1";
7808             source: "ctxpopup_bg";
7809             action: SIGNAL_EMIT "elm,action,click" "";
7810          }
7811          program { name: "show";
7812             signal: "elm,state,show";
7813             source: "elm";
7814             action: STATE_SET "visible" 0.0;
7815             target: "ctxpopup_bg";
7816          }
7817          program { name: "hide";
7818             signal: "elm,state,hide";
7819             source: "elm";
7820             action: STATE_SET "default" 0.0;
7821             target: "ctxpopup_bg";
7822          }
7823       }
7824    }
7825 ///////////////////////////////////////////////////////////////////////////////
7826    group { name: "elm/ctxpopup/base/default";
7827       images {
7828          image: "bt_base2.png" COMP;
7829          image: "bt_hilight.png" COMP;
7830          image: "bt_shine.png" COMP;
7831       }
7832       parts {
7833          part { name: "arrow_area_left";
7834             type: RECT;
7835             mouse_events: 0;
7836             description { state: "default" 0.0;
7837                visible: 0;
7838                min: 20 0;
7839                fixed: 1 1;
7840                align: 1 0.5;
7841                rel1 {
7842                   to_y: "base";
7843                }
7844                rel2 {
7845                   relative:0 1;
7846                   to:"base";
7847                }
7848             }
7849          }
7850          part { name: "arrow_area_right";
7851             type: RECT;
7852             mouse_events: 0;
7853             description { state: "default" 0.0;
7854                visible: 0;
7855                min: 20 0;
7856                fixed: 1 1;
7857                align: 0 0.5;
7858                rel1 {
7859                   relative: 1 0;
7860                   to:"base";
7861                }
7862                rel2 {
7863                   to_y: "base";
7864                }
7865             }
7866          }
7867          part { name: "arrow_area_up";
7868             type: RECT;
7869             mouse_events: 0;
7870             description { state: "default" 0.0;
7871                visible: 0;
7872                min: 0 20;
7873                fixed: 1 1;
7874                align: 0.5 1;
7875                rel1 {
7876                   to_x: "base";
7877                }
7878                rel2 {
7879                   relative: 1 0;
7880                   to:"base";
7881                }
7882             }
7883          }
7884          part { name: "arrow_area_down";
7885             type: RECT;
7886             mouse_events: 0;
7887             description { state: "default" 0.0;
7888                visible: 0;
7889                min: 0 20;
7890                fixed: 1 1;
7891                align: 0.5 0;
7892                rel1 {
7893                   relative: 0 1;
7894                   to:"base";
7895                }
7896                rel2 {
7897                   to_x: "base";
7898                }
7899             }
7900          }
7901          part { name: "elm.swallow.arrow_up";
7902             type: SWALLOW;
7903             mouse_events: 0;
7904             scale: 1;
7905             dragable {
7906                x: 1 1 0;
7907                y: 1 1 0;
7908                confine: "arrow_area_up";
7909             }
7910             description {
7911                state: "default" 0.0;
7912                min: 36 20;
7913                fixed: 1 1;
7914                visible: 1;
7915             }
7916          }
7917          part { name: "elm.swallow.arrow_down";
7918             type: SWALLOW;
7919             mouse_events: 0;
7920             scale: 1;
7921             dragable {
7922                x: 1 1 0;
7923                y: 1 1 0;
7924                confine: "arrow_area_down";
7925             }
7926             description {
7927                state: "default" 0.0;
7928                min: 36 20;
7929                fixed: 1 1;
7930                visible: 1;
7931             }
7932          }
7933          part { name: "elm.swallow.arrow_left";
7934             type: SWALLOW;
7935             mouse_events: 0;
7936             scale: 1;
7937             dragable {
7938                x: 1 1 0;
7939                y: 1 1 0;
7940                confine: "arrow_area_left";
7941             }
7942             description {
7943                state: "default" 0.0;
7944                min: 20 36;
7945                fixed: 1 1;
7946                visible: 1;
7947             }
7948          }
7949          part { name: "elm.swallow.arrow_right";
7950             type: SWALLOW;
7951             mouse_events: 0;
7952             scale: 1;
7953             dragable {
7954                x: 1 1 0;
7955                y: 1 1 0;
7956                confine: "arrow_area_right";
7957             }
7958             description {
7959                state: "default" 0.0;
7960                min: 20 36;
7961                fixed: 1 1;
7962                visible: 1;
7963             }
7964          }
7965          part { name: "base";
7966             scale: 1;
7967             description { state: "default" 0.0;
7968                rel1.offset: -3 -3;
7969                rel2.offset: 3 3;
7970                image { normal: "bt_base2.png";
7971                   border: 7 7 7 7;
7972                }
7973             }
7974          }
7975          part { name: "over1";
7976             scale: 1;
7977             description { state: "default" 0.0;
7978                rel1.to: "base";
7979                rel2.to: "base";
7980                rel2.relative: 1.0 0.5;
7981                image { normal: "bt_hilight.png";
7982                   border: 7 7 7 0;
7983                }
7984             }
7985          }
7986          part { name: "over2";
7987             scale: 1;
7988             description { state: "default" 0.0;
7989                rel1.to: "base";
7990                rel2.to: "base";
7991                image { normal: "bt_shine.png";
7992                   border: 7 7 7 7;
7993                }
7994             }
7995          }
7996          part { name: "elm.swallow.content";
7997             type: SWALLOW;
7998             description { state: "default" 0.0;
7999                rel1 { to:"base"; offset: 4 4; };
8000                rel2 { to:"base"; offset: -5 -5; };
8001             }
8002          }
8003       }
8004    }
8005 ///////////////////////////////////////////////////////////////////////////////
8006    group { name: "elm/ctxpopup/arrow/default";
8007       images {
8008          image: "ctxpopup_arrow_left.png" COMP;
8009          image: "ctxpopup_arrow_right.png" COMP;
8010          image: "ctxpopup_arrow_up.png" COMP;
8011          image: "ctxpopup_arrow_down.png" COMP;
8012       }
8013       parts {
8014          part { name: "ctxpopup_arrow";
8015             type: IMAGE;
8016             scale: 1;
8017             description {
8018                state: "default" 0.0;
8019                min: 36 36;
8020                fixed: 1 1;
8021                visible: 0;
8022                align: 0.5 0.5;
8023             }
8024             description {
8025                state: "left" 0.0;
8026                min: 20 36;
8027                fixed: 1 1;
8028                align: 0.0 0.5;
8029                rel1 { offset: 3 0; }
8030                rel2 { offset: 2 -1; }
8031                image { normal: "ctxpopup_arrow_left.png"; }
8032             }
8033             description { state: "right" 0.0;
8034                min: 20 36;
8035                fixed: 1 1;
8036                align: 1.0 0.5;
8037                rel1 { offset: -5 0; }
8038                rel2 { offset: -6 -1; }
8039                image { normal: "ctxpopup_arrow_right.png"; }
8040             }
8041             description { state: "top" 0.0;
8042                min: 36 20;
8043                fixed: 1 1;
8044                align: 0.5 0.0;
8045                rel1 { offset: 0 5; }
8046                rel2 { offset: -1 4; }
8047                image { normal: "ctxpopup_arrow_up.png"; }
8048             }
8049             description { state: "bottom" 0.0;
8050                min: 36 20;
8051                fixed: 1 1;
8052                align: 0.5 1.0;
8053                rel1 { offset: 0 -5; }
8054                rel2 { offset: -1 -6; }
8055                image { normal: "ctxpopup_arrow_down.png"; }
8056             }
8057          }
8058       }
8059       programs {
8060          program { name: "enable_left_arrow";
8061             signal: "elm,state,left";
8062             source: "elm";
8063             action: STATE_SET "left" 0.0;
8064             target: "ctxpopup_arrow";
8065          }
8066          program { name: "enable_right_arrow";
8067             signal: "elm,state,right";
8068             source: "elm";
8069             action: STATE_SET "right" 0.0;
8070             target: "ctxpopup_arrow";
8071          }
8072          program { name: "enable_top_arrow";
8073             signal: "elm,state,top";
8074             source: "elm";
8075             action: STATE_SET "top" 0.0;
8076             target: "ctxpopup_arrow";
8077          }
8078          program { name: "enable_bottom_arrow";
8079             signal: "elm,state,bottom";
8080             source: "elm";
8081             action: STATE_SET "bottom" 0.0;
8082             target: "ctxpopup_arrow";
8083          }
8084       }
8085    }
8086 ///////////////////////////////////////////////////////////////////////////////
8087    group {
8088       name: "elm/ctxpopup/icon_text_style_item/default";
8089            alias: "elm/ctxpopup/text_style_item/default";
8090            alias: "elm/ctxpopup/icon_style_item/default";
8091       images {
8092          image: "hoversel_entry_bg.png" COMP;
8093       }
8094       parts {
8095          part { name: "event";
8096             mouse_events: 1;
8097             description { state: "default" 0.0;
8098             }
8099          }
8100          part { name: "bg";
8101             mouse_events: 0;
8102             description { state: "default" 0.0;
8103                rel1.offset: 2 2;
8104                rel2.offset: -3 -3;
8105                image { normal:"hoversel_entry_bg.png";
8106                   border: 0 0 2 2;
8107                }
8108                fill.smooth: 0;
8109                color: 255 255 255 0;
8110             }
8111             description { state: "clicked" 0.0;
8112                inherit: "default" 0.0;
8113                color: 255 255 255 255;
8114             }
8115          }
8116          part { name: "elm.swallow.icon";
8117             type: SWALLOW;
8118             clip_to: "disclip";
8119             scale: 1;
8120             description { state: "default" 0.0;
8121                min: 25 25;
8122                max: 25 25;
8123                align: 0 0.5;
8124                aspect: 1.0 1.0;
8125                rel1 { offset: 10 10; }
8126                                         rel2 { offset: 0 -10; }
8127             }
8128          }
8129          part { name: "elm.text";
8130             type: TEXT;
8131             mouse_events: 0;
8132             clip_to: "disclip";
8133             scale: 1;
8134             description { state: "default" 0.0;
8135                min: 1 40;
8136                fixed: 0 1;
8137                align: 0.5 0.5;
8138                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8139                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8140                color: 255 255 255 255;
8141                text {
8142                   font: "Sans";
8143                   size: 10;
8144                   align: 0.0 0.5;
8145                   min: 1 1;
8146                }
8147             }
8148             description { state: "clicked" 0.0;
8149                inherit: "default" 0.0;
8150                color: 0 0 0 255;
8151             }
8152          }
8153          part { name: "over1";
8154             mouse_events: 1;
8155             repeat_events: 1;
8156             ignore_flags: ON_HOLD;
8157             description { state: "default" 0.0;
8158                color: 255 255 255 0;
8159             }
8160             description { state: "clicked" 0.0;
8161                inherit: "default" 0.0;
8162                color: 255 255 255 255;
8163             }
8164          }
8165          part { name: "over2";
8166             mouse_events: 1;
8167             repeat_events: 1;
8168             description { state: "default" 0.0;
8169                color: 255 255 255 0;
8170             }
8171             description { state: "clicked" 0.0;
8172                inherit: "default" 0.0;
8173                color: 255 255 255 255;
8174             }
8175          }
8176          part { name: "disclip";
8177             type: RECT;
8178             description { state: "default" 0.0;
8179                color: 255 255 255 255;
8180             }
8181             description { state: "enabled" 0.0;
8182                color: 127 127 127 127;
8183             }
8184          }
8185          part { name: "blocker";
8186             description { state: "default" 0.0;
8187                visible: 0;
8188             }
8189             description { state: "enabled" 0.0;
8190                visible: 1;
8191                color: 0 0 0 0;
8192             }
8193          }
8194       }
8195       programs {
8196          program {
8197             name: "item_unclick";
8198             signal: "mouse,up,1";
8199             source: "over1";
8200             action: SIGNAL_EMIT "elm,action,click" "";
8201          }
8202          program { name: "disable";
8203             signal: "elm,state,disabled";
8204             source: "elm";
8205             action: STATE_SET "enabled" 0.0;
8206             target: "disclip";
8207             target: "blocker";
8208          }
8209          program { name: "enable";
8210             signal: "elm,state,enabled";
8211             source: "elm";
8212             action: STATE_SET "default" 0.0;
8213             target: "disclip";
8214             target: "blocker";
8215          }
8216          program { name: "item_click2";
8217             signal: "mouse,down,1";
8218             source: "over2";
8219             script {
8220                set_state(PART:"elm.text", "clicked", 0.0);
8221                set_state(PART:"bg", "clicked", 0.0);
8222             }
8223          }
8224          program { name: "item_unclick2";
8225             signal: "mouse,up,1";
8226             source: "over2";
8227             script {
8228                                         set_state(PART:"elm.text", "default", 0.0);
8229                set_state(PART:"bg", "default", 0.0);
8230             }
8231          }
8232       }
8233    }
8234 ///////////////////////////////////////////////////////////////////////////////
8235 // emoticon images from:
8236 // Tanya - Latvia
8237 // http://lazycrazy.deviantart.com/
8238 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8239   group { name: "elm/entry/emoticon/angry/default"; images.image:
8240      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8241         "emo-angry.png"; } } } }
8242   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8243      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8244         "emo-angry-shout.png"; } } } }
8245   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8246      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8247         "emo-crazy-laugh.png"; } } } }
8248   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8249      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8250         "emo-evil-laugh.png"; } } } }
8251   group { name: "elm/entry/emoticon/evil/default"; images.image:
8252      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8253         "emo-evil.png"; } } } }
8254   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8255      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8256         "emo-goggle-smile.png"; } } } }
8257   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8258      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8259         "emo-grumpy.png"; } } } }
8260   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8261      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8262         "emo-grumpy-smile.png"; } } } }
8263   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8264      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8265         "emo-guilty.png"; } } } }
8266   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8267      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8268         "emo-guilty-smile.png"; } } } }
8269   group { name: "elm/entry/emoticon/haha/default"; images.image:
8270      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8271         "emo-haha.png"; } } } }
8272   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8273      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8274         "emo-half-smile.png"; } } } }
8275   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8276      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8277         "emo-happy-panting.png"; } } } }
8278   group { name: "elm/entry/emoticon/happy/default"; images.image:
8279      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8280         "emo-happy.png"; } } } }
8281   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8282      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8283         "emo-indifferent.png"; } } } }
8284   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8285      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8286         "emo-kiss.png"; } } } }
8287   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8288      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8289         "emo-knowing-grin.png"; } } } }
8290   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8291      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8292         "emo-laugh.png"; } } } }
8293   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8294      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8295         "emo-little-bit-sorry.png"; } } } }
8296   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8297      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8298         "emo-love-lots.png"; } } } }
8299   group { name: "elm/entry/emoticon/love/default"; images.image:
8300      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8301         "emo-love.png"; } } } }
8302   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8303      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8304         "emo-minimal-smile.png"; } } } }
8305   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8306      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8307         "emo-not-happy.png"; } } } }
8308   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8309      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8310         "emo-not-impressed.png"; } } } }
8311   group { name: "elm/entry/emoticon/omg/default"; images.image:
8312      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8313         "emo-omg.png"; } } } }
8314   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8315      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8316         "emo-opensmile.png"; } } } }
8317   group { name: "elm/entry/emoticon/smile/default"; images.image:
8318      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8319         "emo-smile.png"; } } } }
8320   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8321      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8322         "emo-sorry.png"; } } } }
8323   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8324      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8325         "emo-squint-laugh.png"; } } } }
8326   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8327      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8328         "emo-surprised.png"; } } } }
8329   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8330      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8331         "emo-suspicious.png"; } } } }
8332   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8333      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8334         "emo-tongue-dangling.png"; } } } }
8335   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8336      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8337         "emo-tongue-poke.png"; } } } }
8338   group { name: "elm/entry/emoticon/uh/default"; images.image:
8339      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8340         "emo-uh.png"; } } } }
8341   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8342      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8343         "emo-unhappy.png"; } } } }
8344   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8345      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8346         "emo-very-sorry.png"; } } } }
8347   group { name: "elm/entry/emoticon/what/default"; images.image:
8348      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8349         "emo-what.png"; } } } }
8350   group { name: "elm/entry/emoticon/wink/default"; images.image:
8351      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8352         "emo-wink.png"; } } } }
8353   group { name: "elm/entry/emoticon/worried/default"; images.image:
8354      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8355         "emo-worried.png"; } } } }
8356   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8357      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8358         "emo-wtf.png"; } } } }
8359 //------------------------------------------------------------
8360    group { name: "elm/entry/base/default";
8361       styles
8362       {
8363          style { name: "entry_textblock_style";
8364             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8365             tag:  "br" "\n";
8366             tag:  "ps" "ps";
8367             tag:  "tab" "\t";
8368             tag:  "em" "+ font=Sans:style=Oblique";
8369             tag:  "b" "+ font=Sans:style=Bold";
8370             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8371             tag:  "hilight" "+ font=Sans:style=Bold";
8372          }
8373          style { name: "entry_textblock_disabled_style";
8374             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8375             tag:  "br" "\n";
8376             tag:  "ps" "ps";
8377             tag:  "tab" "\t";
8378             tag:  "em" "+ font=Sans:style=Oblique";
8379             tag:  "b" "+ font=Sans:style=Bold";
8380             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8381             tag:  "hilight" "+ font=Sans:style=Bold";
8382          }
8383       }
8384       data {
8385 //         item: context_menu_orientation "horizontal";
8386       }
8387       parts {
8388          part { name: "elm.text";
8389             type: TEXTBLOCK;
8390             mouse_events: 1;
8391             scale: 1;
8392             entry_mode: EDITABLE;
8393             select_mode: EXPLICIT;
8394             multiline: 1;
8395             source: "elm/entry/selection/default"; // selection under
8396    //       source2: "X"; // selection over
8397    //       source3: "X"; // cursor under
8398             source4: "elm/entry/cursor/default"; // cursorover
8399             source5: "elm/entry/anchor/default"; // anchor under
8400    //       source6: "X"; // anchor over
8401             description { state: "default" 0.0;
8402                /* we gotta use 0 0 here, because of scrolled entries */
8403                fixed: 0 0;
8404                text {
8405                   style: "entry_textblock_style";
8406                   min: 0 1;
8407                   align: 0.0 0.0;
8408                }
8409             }
8410             description { state: "disabled" 0.0;
8411                inherit: "default" 0.0;
8412                text {
8413                   style: "entry_textblock_disabled_style";
8414                   min: 0 1;
8415                }
8416             }
8417          }
8418       }
8419       programs {
8420          program { name: "focus";
8421             signal: "load";
8422             source: "";
8423             action: FOCUS_SET;
8424             target: "elm.text";
8425          }
8426          program { name: "disable";
8427             signal: "elm,state,disabled";
8428             source: "elm";
8429             action: STATE_SET "disabled" 0.0;
8430             target: "elm.text";
8431          }
8432          program { name: "enable";
8433             signal: "elm,state,enabled";
8434             source: "elm";
8435             action: STATE_SET "default" 0.0;
8436             target: "elm.text";
8437          }
8438       }
8439    }
8440
8441    group { name: "elm/entry/base-mixedwrap/default";
8442       styles
8443       {
8444          style { name: "entry_textblock_style_mixedwrap";
8445             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8446             tag:  "br" "\n";
8447             tag:  "ps" "ps";
8448             tag:  "tab" "\t";
8449             tag:  "em" "+ font=Sans:style=Oblique";
8450             tag:  "b" "+ font=Sans:style=Bold";
8451             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8452             tag:  "hilight" "+ font=Sans:style=Bold";
8453          }
8454          style { name: "entry_textblock_disabled_style_mixedwrap";
8455             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8456             tag:  "br" "\n";
8457             tag:  "ps" "ps";
8458             tag:  "tab" "\t";
8459             tag:  "em" "+ font=Sans:style=Oblique";
8460             tag:  "b" "+ font=Sans:style=Bold";
8461             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8462             tag:  "hilight" "+ font=Sans:style=Bold";
8463          }
8464       }
8465       parts {
8466          part { name: "elm.text";
8467             type: TEXTBLOCK;
8468             mouse_events: 1;
8469             scale: 1;
8470             entry_mode: EDITABLE;
8471             select_mode: EXPLICIT;
8472             multiline: 1;
8473             source: "elm/entry/selection/default"; // selection under
8474 //          source2: "X"; // selection over
8475 //          source3: "X"; // cursor under
8476             source4: "elm/entry/cursor/default"; // cursorover
8477             source5: "elm/entry/anchor/default"; // anchor under
8478 //          source6: "X"; // anchor over
8479             description { state: "default" 0.0;
8480                fixed: 1 0;
8481                text {
8482                   style: "entry_textblock_style_mixedwrap";
8483                   min: 0 1;
8484                   align: 0.0 0.0;
8485                }
8486             }
8487             description { state: "disabled" 0.0;
8488                inherit: "default" 0.0;
8489                text {
8490                   style: "entry_textblock_disabled_style_mixedwrap";
8491                   min: 0 1;
8492                }
8493             }
8494          }
8495       }
8496       programs {
8497          program { name: "focus";
8498             signal: "load";
8499             source: "";
8500             action: FOCUS_SET;
8501             target: "elm.text";
8502          }
8503          program { name: "disable";
8504             signal: "elm,state,disabled";
8505             source: "elm";
8506             action: STATE_SET "disabled" 0.0;
8507             target: "elm.text";
8508          }
8509          program { name: "enable";
8510             signal: "elm,state,enabled";
8511             source: "elm";
8512             action: STATE_SET "default" 0.0;
8513             target: "elm.text";
8514          }
8515       }
8516    }
8517
8518    group { name: "elm/entry/base-charwrap/default";
8519       styles
8520       {
8521          style { name: "entry_textblock_style_charwrap";
8522             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8523             tag:  "br" "\n";
8524             tag:  "ps" "ps";
8525             tag:  "tab" "\t";
8526             tag:  "em" "+ font=Sans:style=Oblique";
8527             tag:  "b" "+ font=Sans:style=Bold";
8528             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8529             tag:  "hilight" "+ font=Sans:style=Bold";
8530          }
8531          style { name: "entry_textblock_disabled_style_charwrap";
8532             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8533             tag:  "br" "\n";
8534             tag:  "ps" "ps";
8535             tag:  "tab" "\t";
8536             tag:  "em" "+ font=Sans:style=Oblique";
8537             tag:  "b" "+ font=Sans:style=Bold";
8538             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8539             tag:  "hilight" "+ font=Sans:style=Bold";
8540          }
8541       }
8542       parts {
8543          part { name: "elm.text";
8544             type: TEXTBLOCK;
8545             mouse_events: 1;
8546             scale: 1;
8547             entry_mode: EDITABLE;
8548             select_mode: EXPLICIT;
8549             multiline: 1;
8550             source: "elm/entry/selection/default"; // selection under
8551 //          source2: "X"; // selection over
8552 //          source3: "X"; // cursor under
8553             source4: "elm/entry/cursor/default"; // cursorover
8554             source5: "elm/entry/anchor/default"; // anchor under
8555 //          source6: "X"; // anchor over
8556             description { state: "default" 0.0;
8557                fixed: 1 0;
8558                text {
8559                   style: "entry_textblock_style_charwrap";
8560                   min: 0 1;
8561                   align: 0.0 0.0;
8562                }
8563             }
8564             description { state: "disabled" 0.0;
8565                inherit: "default" 0.0;
8566                text {
8567                   style: "entry_textblock_disabled_style_charwrap";
8568                   min: 0 1;
8569                }
8570             }
8571          }
8572       }
8573       programs {
8574          program { name: "focus";
8575             signal: "load";
8576             source: "";
8577             action: FOCUS_SET;
8578             target: "elm.text";
8579          }
8580          program { name: "disable";
8581             signal: "elm,state,disabled";
8582             source: "elm";
8583             action: STATE_SET "disabled" 0.0;
8584             target: "elm.text";
8585          }
8586          program { name: "enable";
8587             signal: "elm,state,enabled";
8588             source: "elm";
8589             action: STATE_SET "default" 0.0;
8590             target: "elm.text";
8591          }
8592       }
8593    }
8594
8595    group { name: "elm/entry/base-nowrap/default";
8596       parts {
8597          part { name: "elm.text";
8598             type: TEXTBLOCK;
8599             mouse_events: 1;
8600             scale: 1;
8601             entry_mode: EDITABLE;
8602             select_mode: EXPLICIT;
8603             multiline: 1;
8604             source: "elm/entry/selection/default"; // selection under
8605             source4: "elm/entry/cursor/default"; // cursorover
8606             source5: "elm/entry/anchor/default"; // anchor under
8607             description { state: "default" 0.0;
8608                text {
8609                   style: "entry_textblock_style";
8610                   min: 1 1;
8611                   align: 0.0 0.0;
8612                }
8613             }
8614             description { state: "disabled" 0.0;
8615                inherit: "default" 0.0;
8616                text {
8617                   style: "entry_textblock_disabled_style";
8618                   min: 0 1;
8619                }
8620             }
8621          }
8622 /*
8623          part { name: "sel";
8624             type: RECT;
8625             mouse_events: 0;
8626             description { state: "default" 0.0;
8627                align: 1.0 1.0;
8628                max: 16 16;
8629                aspect: 1.0 1.0;
8630                color: 255 0 0 0;
8631             }
8632             description { state: "visible" 0.0;
8633                inherit: "default" 0.0;
8634                color: 255 0 0 50;
8635             }
8636          }
8637  */
8638       }
8639       programs {
8640          program { name: "focus";
8641             signal: "load";
8642             source: "";
8643             action: FOCUS_SET;
8644             target: "elm.text";
8645          }
8646          program { name: "disable";
8647             signal: "elm,state,disabled";
8648             source: "elm";
8649             action: STATE_SET "disabled" 0.0;
8650             target: "elm.text";
8651          }
8652          program { name: "enable";
8653             signal: "elm,state,enabled";
8654             source: "elm";
8655             action: STATE_SET "default" 0.0;
8656             target: "elm.text";
8657          }
8658 /*
8659          program { name: "selmode0";
8660             signal: "elm,state,select,on";
8661             source: "elm";
8662             action: STATE_SET "visible" 0.0;
8663             target: "sel";
8664          }
8665          program { name: "selmode1";
8666             signal: "elm,state,select,off";
8667             source: "elm";
8668             action: STATE_SET "default" 0.0;
8669             target: "sel";
8670          }
8671  */
8672       }
8673    }
8674
8675    group { name: "elm/entry/base-single/default";
8676       styles
8677       {
8678          style { name: "entry_single_textblock_style";
8679             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8680             tag:  "br" "\n";
8681             tag:  "ps" "ps";
8682             tag:  "tab" "\t";
8683             tag:  "em" "+ font=Sans:style=Oblique";
8684             tag:  "b" "+ font=Sans:style=Bold";
8685             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8686             tag:  "hilight" "+ font=Sans:style=Bold";
8687          }
8688          style { name: "entry_single_textblock_disabled_style";
8689             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8690             tag:  "br" "\n";
8691             tag:  "ps" "ps";
8692             tag:  "tab" "\t";
8693             tag:  "em" "+ font=Sans:style=Oblique";
8694             tag:  "b" "+ font=Sans:style=Bold";
8695             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8696             tag:  "hilight" "+ font=Sans:style=Bold";
8697          }
8698       }
8699       parts {
8700          part { name: "elm.text";
8701             type: TEXTBLOCK;
8702             mouse_events: 1;
8703             scale: 1;
8704             entry_mode: EDITABLE;
8705             select_mode: EXPLICIT;
8706             multiline: 0;
8707             source: "elm/entry/selection/default"; // selection under
8708             source4: "elm/entry/cursor/default"; // cursorover
8709             source5: "elm/entry/anchor/default"; // anchor under
8710             description { state: "default" 0.0;
8711                text {
8712                   style: "entry_single_textblock_style";
8713                   min: 1 1;
8714                   max: 0 0;
8715                   align: 0.0 0.5;
8716                }
8717             }
8718             description { state: "disabled" 0.0;
8719                inherit: "default" 0.0;
8720                text {
8721                   style: "entry_single_textblock_disabled_style";
8722                }
8723             }
8724          }
8725       }
8726       programs {
8727          program { name: "focus";
8728             signal: "load";
8729             source: "";
8730             action: FOCUS_SET;
8731             target: "elm.text";
8732          }
8733          program { name: "disable";
8734             signal: "elm,state,disabled";
8735             source: "elm";
8736             action: STATE_SET "disabled" 0.0;
8737             target: "elm.text";
8738          }
8739          program { name: "enable";
8740             signal: "elm,state,enabled";
8741             source: "elm";
8742             action: STATE_SET "default" 0.0;
8743             target: "elm.text";
8744          }
8745       }
8746    }
8747
8748    group { name: "elm/entry/base-single-noedit/default";
8749       parts {
8750          part { name: "elm.text";
8751             type: TEXTBLOCK;
8752             mouse_events: 1;
8753             scale: 1;
8754             entry_mode: PLAIN;
8755             select_mode: EXPLICIT;
8756             multiline: 0;
8757             source: "elm/entry/selection/default"; // selection under
8758             source5: "elm/entry/anchor/default"; // anchor under
8759             description { state: "default" 0.0;
8760                text {
8761                   style: "entry_single_textblock_style";
8762                   min: 1 1;
8763                   max: 0 0;
8764                   align: 0.0 0.5;
8765                }
8766             }
8767             description { state: "disabled" 0.0;
8768                inherit: "default" 0.0;
8769                text {
8770                style: "entry_single_textblock_disabled_style";
8771                }
8772             }
8773          }
8774       }
8775       programs {
8776          program { name: "focus";
8777             signal: "load";
8778             source: "";
8779             action: FOCUS_SET;
8780             target: "elm.text";
8781          }
8782          program { name: "disable";
8783             signal: "elm,state,disabled";
8784             source: "elm";
8785             action: STATE_SET "disabled" 0.0;
8786             target: "elm.text";
8787          }
8788          program { name: "enable";
8789             signal: "elm,state,enabled";
8790             source: "elm";
8791             action: STATE_SET "default" 0.0;
8792             target: "elm.text";
8793          }
8794       }
8795    }
8796
8797    group { name: "elm/entry/base-noedit/default";
8798       parts {
8799          part { name: "elm.text";
8800             type: TEXTBLOCK;
8801             mouse_events: 1;
8802             scale: 1;
8803             entry_mode: PLAIN;
8804             select_mode: EXPLICIT;
8805             multiline: 1;
8806             source: "elm/entry/selection/default"; // selection under
8807             source5: "elm/entry/anchor/default"; // anchor under
8808             description { state: "default" 0.0;
8809                fixed: 1 0;
8810                text {
8811                   style: "entry_textblock_style";
8812                   min: 0 1;
8813                   align: 0.0 0.0;
8814                }
8815             }
8816             description { state: "disabled" 0.0;
8817                inherit: "default" 0.0;
8818                text {
8819                   style: "entry_textblock_disabled_style";
8820                }
8821             }
8822          }
8823       }
8824       programs {
8825          program { name: "focus";
8826             signal: "load";
8827             source: "";
8828             action: FOCUS_SET;
8829             target: "elm.text";
8830          }
8831          program { name: "disable";
8832             signal: "elm,state,disabled";
8833             source: "elm";
8834             action: STATE_SET "disabled" 0.0;
8835             target: "elm.text";
8836          }
8837          program { name: "enable";
8838             signal: "elm,state,enabled";
8839             source: "elm";
8840             action: STATE_SET "default" 0.0;
8841             target: "elm.text";
8842          }
8843       }
8844    }
8845
8846    group { name: "elm/entry/base-noedit-mixedwrap/default";
8847       parts {
8848          part { name: "elm.text";
8849             type: TEXTBLOCK;
8850             mouse_events: 1;
8851             scale: 1;
8852             entry_mode: PLAIN;
8853             select_mode: EXPLICIT;
8854             multiline: 1;
8855             source: "elm/entry/selection/default"; // selection under
8856             source5: "elm/entry/anchor/default"; // anchor under
8857             description { state: "default" 0.0;
8858                fixed: 1 0;
8859                text {
8860                   style: "entry_textblock_style_mixedwrap";
8861                   min: 0 1;
8862                   align: 0.0 0.0;
8863                }
8864             }
8865             description { state: "disabled" 0.0;
8866                inherit: "default" 0.0;
8867                text {
8868                   style: "entry_textblock_disabled_style_mixedwrap";
8869                }
8870             }
8871          }
8872       }
8873       programs {
8874          program { name: "focus";
8875             signal: "load";
8876             source: "";
8877             action: FOCUS_SET;
8878             target: "elm.text";
8879          }
8880          program { name: "disable";
8881             signal: "elm,state,disabled";
8882             source: "elm";
8883             action: STATE_SET "disabled" 0.0;
8884             target: "elm.text";
8885          }
8886          program { name: "enable";
8887             signal: "elm,state,enabled";
8888             source: "elm";
8889             action: STATE_SET "default" 0.0;
8890             target: "elm.text";
8891          }
8892       }
8893    }
8894
8895    group { name: "elm/entry/base-noedit-charwrap/default";
8896       parts {
8897          part { name: "elm.text";
8898             type: TEXTBLOCK;
8899             mouse_events: 1;
8900             scale: 1;
8901             entry_mode: PLAIN;
8902             select_mode: EXPLICIT;
8903             multiline: 1;
8904             source: "elm/entry/selection/default"; // selection under
8905             source5: "elm/entry/anchor/default"; // anchor under
8906             description { state: "default" 0.0;
8907                fixed: 1 0;
8908                text {
8909                   style: "entry_textblock_style_charwrap";
8910                   min: 0 1;
8911                   align: 0.0 0.0;
8912                }
8913             }
8914             description { state: "disabled" 0.0;
8915                inherit: "default" 0.0;
8916                text {
8917                   style: "entry_textblock_disabled_style_charwrap";
8918                }
8919             }
8920          }
8921       }
8922       programs {
8923          program { name: "focus";
8924             signal: "load";
8925             source: "";
8926             action: FOCUS_SET;
8927             target: "elm.text";
8928          }
8929          program { name: "disable";
8930             signal: "elm,state,disabled";
8931             source: "elm";
8932             action: STATE_SET "disabled" 0.0;
8933             target: "elm.text";
8934          }
8935          program { name: "enable";
8936             signal: "elm,state,enabled";
8937             source: "elm";
8938             action: STATE_SET "default" 0.0;
8939             target: "elm.text";
8940          }
8941       }
8942    }
8943
8944    group { name: "elm/entry/base-nowrap-noedit/default";
8945       parts {
8946          part { name: "elm.text";
8947             type: TEXTBLOCK;
8948             mouse_events: 1;
8949             scale: 1;
8950             entry_mode: PLAIN;
8951             select_mode: EXPLICIT;
8952             multiline: 1;
8953             source: "elm/entry/selection/default"; // selection under
8954             source5: "elm/entry/anchor/default"; // anchor under
8955             description { state: "default" 0.0;
8956                text {
8957                   style: "entry_textblock_style";
8958                   min: 1 1;
8959                   align: 0.0 0.0;
8960                }
8961             }
8962             description { state: "disabled" 0.0;
8963                inherit: "default" 0.0;
8964                text {
8965                   style: "entry_textblock_disabled_style";
8966                }
8967             }
8968          }
8969       }
8970       programs {
8971          program { name: "focus";
8972             signal: "load";
8973             source: "";
8974             action: FOCUS_SET;
8975             target: "elm.text";
8976          }
8977          program { name: "disable";
8978             signal: "elm,state,disabled";
8979             source: "elm";
8980             action: STATE_SET "disabled" 0.0;
8981             target: "elm.text";
8982          }
8983          program { name: "enable";
8984             signal: "elm,state,enabled";
8985             source: "elm";
8986             action: STATE_SET "default" 0.0;
8987             target: "elm.text";
8988          }
8989       }
8990    }
8991
8992    group { name: "elm/entry/base-password/default";
8993       parts {
8994          part { name: "elm.text";
8995             type: TEXTBLOCK;
8996             mouse_events: 1;
8997             scale: 1;
8998             entry_mode: PASSWORD;
8999             select_mode: EXPLICIT;
9000             multiline: 0;
9001             source: "elm/entry/selection/default"; // selection under
9002             source4: "elm/entry/cursor/default"; // cursorover
9003             source5: "elm/entry/anchor/default"; // anchor under
9004             description { state: "default" 0.0;
9005                text {
9006                   style: "entry_single_textblock_style";
9007                   repch: "*";
9008                   min: 1 1;
9009                   max: 0 0;
9010                   align: 0.0 0.5;
9011                }
9012             }
9013             description { state: "disabled" 0.0;
9014                inherit: "default" 0.0;
9015                text {
9016                   style: "entry_single_textblock_disabled_style";
9017                }
9018             }
9019          }
9020       }
9021       programs {
9022          program { name: "focus";
9023             signal: "load";
9024             source: "";
9025             action: FOCUS_SET;
9026             target: "elm.text";
9027          }
9028          program { name: "disable";
9029             signal: "elm,state,disabled";
9030             source: "elm";
9031             action: STATE_SET "disabled" 0.0;
9032             target: "elm.text";
9033          }
9034          program { name: "enable";
9035             signal: "elm,state,enabled";
9036             source: "elm";
9037             action: STATE_SET "default" 0.0;
9038             target: "elm.text";
9039          }
9040       }
9041    }
9042
9043    group { name: "elm/entry/cursor/default";
9044       images {
9045          image: "cur_box.png" COMP;
9046          image: "cur_hi.png" COMP;
9047          image: "cur_shad.png" COMP;
9048          image: "cur_shine.png" COMP;
9049          image: "cur_glow.png" COMP;
9050       }
9051       parts {
9052          part { name: "clip2";
9053             type: RECT;
9054             mouse_events: 0;
9055             description { state: "default" 0.0;
9056                rel1.to: "clip";
9057                rel2.to: "clip";
9058                visible: 0;
9059             }
9060             description { state: "focused" 0.0;
9061                inherit: "default" 0.0;
9062                visible: 1;
9063             }
9064          }
9065          part { name: "clip";
9066             type: RECT;
9067             mouse_events: 0;
9068             clip_to: "clip2";
9069             description { state: "default" 0.0;
9070                rel1.offset: -10 0;
9071                rel2.offset: 9 9;
9072             }
9073             description { state: "hidden" 0.0;
9074                inherit: "default" 0.0;
9075                visible: 0;
9076             }
9077          }
9078          part { name: "bg";
9079             mouse_events: 0;
9080             clip_to: "clip";
9081             description { state: "default" 0.0;
9082                rel1.to: "base";
9083                rel1.offset: -2 0;
9084                rel2.to: "base";
9085                rel2.offset: 1 1;
9086                image.border: 2 2 2 2;
9087                image.normal: "cur_shad.png";
9088             }
9089          }
9090          part { name: "base";
9091             mouse_events: 0;
9092             scale: 1;
9093             clip_to: "clip";
9094             description { state: "default" 0.0;
9095                min: 2 2;
9096                align: 0.5 1.0;
9097                rel1.relative: 0.0 1.0;
9098                rel1.offset: 0 -1;
9099                rel2.relative: 1.0 1.0;
9100                rel2.offset: -1 -1;
9101                image.normal: "cur_box.png";
9102             }
9103          }
9104          part { name: "hi";
9105             mouse_events: 0;
9106             clip_to: "clip";
9107             description { state: "default" 0.0;
9108                rel1.to: "base";
9109                rel2.to: "base";
9110                rel2.relative: 1.0 0.5;
9111                image.normal: "cur_hi.png";
9112             }
9113          }
9114          part { name: "shine";
9115             mouse_events: 0;
9116             clip_to: "clip";
9117             clip_to: "clip2";
9118             description { state: "default" 0.0;
9119                rel1.to: "base";
9120                rel2.to: "base";
9121                rel2.relative: 1.0 0.75;
9122                image.border: 2 2 1 0;
9123                image.normal: "cur_shine.png";
9124                fill.smooth: 0;
9125             }
9126          }
9127          part { name: "glow";
9128             mouse_events: 0;
9129             clip_to: "clip2";
9130             description { state: "default" 0.0;
9131                rel1.to: "base";
9132                rel1.relative: 0.0 -2.0;
9133                rel1.offset: -2 0;
9134                rel2.to: "base";
9135                rel2.relative: 1.0 0.0;
9136                rel2.offset: 1 1;
9137                image.border: 2 2 0 4;
9138                image.normal: "cur_glow.png";
9139                fill.smooth: 0;
9140             }
9141             description { state: "hidden" 0.0;
9142                inherit: "default" 0.0;
9143                color: 255 255 255 0;
9144             }
9145          }
9146       }
9147       programs {
9148          program { name: "show";
9149             signal: "show";
9150             source: "";
9151             action: STATE_SET "hidden" 0.0;
9152             in: 1.0 0.0;
9153             transition: DECELERATE 2.0;
9154             target: "glow";
9155             after: "show2";
9156          }
9157          program { name: "show2";
9158             action: STATE_SET "hidden" 0.0;
9159             in: 0.2 0.0;
9160             target: "clip";
9161             after: "show3";
9162          }
9163          program { name: "show3";
9164             action: STATE_SET "default" 0.0;
9165             in: 0.5 0.0;
9166             target: "clip";
9167             after: "show4";
9168          }
9169          program { name: "show4";
9170             action: STATE_SET "default" 0.0;
9171             in: 0.5 0.0;
9172             transition: DECELERATE 0.5;
9173             target: "glow";
9174             after: "show";
9175          }
9176          program { name: "focused";
9177             signal: "elm,action,focus";
9178             source: "elm";
9179             action: STATE_SET "focused" 0.0;
9180             target: "clip2";
9181          }
9182          program { name: "unfocused";
9183             signal: "elm,action,unfocus";
9184             source: "elm";
9185             action: STATE_SET "default" 0.0;
9186             target: "clip2";
9187          }
9188       }
9189    }
9190
9191    group { name: "elm/entry/selection/default";
9192       parts {
9193          part { name: "bg";
9194             type: RECT;
9195             mouse_events: 0;
9196             description { state: "default" 0.0;
9197                color: 128 128 128 128;
9198             }
9199          }
9200       }
9201    }
9202
9203    group { name: "elm/entry/anchor/default";
9204       parts {
9205          part { name: "bg";
9206             type: RECT;
9207             mouse_events: 0;
9208             description { state: "default" 0.0;
9209                color: 128 0 0 64;
9210             }
9211          }
9212       }
9213    }
9214
9215 ///////////////////////////////////////////////////////////////////////////////
9216   group { name: "elm/bubble/top_left/default";
9217     alias: "elm/bubble/base/default";
9218     images {
9219       image: "bubble_3.png" COMP;
9220       image: "bubble_4.png" COMP;
9221       image: "bubble_shine3.png" COMP;
9222       image: "bubble_shine4.png" COMP;
9223     }
9224     parts {
9225       part { name: "event";
9226          type: RECT;
9227          description {
9228             state: "default" 0.0;
9229             color: 0 0 0 0;
9230          }
9231       }
9232       part { name: "elm.swallow.icon";
9233         type: SWALLOW;
9234         description { state: "default" 0.0;
9235           fixed: 1 1;
9236           visible: 0;
9237           align: 0.0 0.0;
9238           aspect: 1.0 1.0;
9239           aspect_preference: VERTICAL;
9240           rel1 {
9241             relative: 0.0 0.0;
9242             offset: 4 4;
9243           }
9244           rel2 {
9245             to_y: "elm.text";
9246             relative: 0.0 1.0;
9247             offset: 4 -1;
9248           }
9249         }
9250         description { state: "visible" 0.0;
9251           inherit: "default" 0.0;
9252           visible: 1;
9253         }
9254       }
9255       part { name: "elm.text";
9256         type: TEXT;
9257         mouse_events:   0;
9258         scale: 1;
9259         description { state: "default" 0.0;
9260           align: 0.0 0.0;
9261           fixed: 0 1;
9262           rel1 {
9263             to_x: "elm.swallow.icon";
9264             relative: 1.0 0.0;
9265             offset: 4 4;
9266           }
9267           rel2 {
9268             to_x: "elm.info";
9269             relative: 0.0 0.0;
9270             offset: -5 4;
9271           }
9272           color: 0 0 0 255;
9273           text {
9274             font: "Sans:style=Bold,Edje-Vera-Bold";
9275             size: 10;
9276             min: 0 1;
9277             max: 0 1;
9278             align: 0.0 0.0;
9279           }
9280         }
9281       }
9282       part { name: "elm.info";
9283         type: TEXT;
9284         mouse_events:   0;
9285         scale: 1;
9286         description { state: "default" 0.0;
9287           align: 1.0 0.0;
9288           fixed: 1 1;
9289           rel1 {
9290             relative: 1.0 0.0;
9291             offset: -5 4;
9292           }
9293           rel2 {
9294             relative: 1.0 0.0;
9295             offset: -5 4;
9296           }
9297           color: 0 0 0 64;
9298           text {
9299             font: "Sans:style=Bold,Edje-Vera-Bold";
9300             size: 10;
9301             min: 1 1;
9302             max: 1 1;
9303             align: 1.0 0.0;
9304           }
9305         }
9306       }
9307       part { name: "base0";
9308         mouse_events:  0;
9309         description { state: "default" 0.0;
9310           rel1 {
9311             to_y: "elm.swallow.icon";
9312             relative: 0.0 1.0;
9313             offset: 0 0;
9314           }
9315           image {
9316             normal: "bubble_3.png";
9317             border: 36 11 18 9;
9318           }
9319           image.middle: SOLID;
9320           fill.smooth: 0;
9321         }
9322         description { state: "rtl" 0.0;
9323            inherit: "default" 0.0;
9324            image {
9325               normal: "bubble_4.png";
9326               border: 11 36 18 9;
9327            }
9328         }
9329       }
9330       part { name: "elm.swallow.content";
9331         type: SWALLOW;
9332         description { state: "default" 0.0;
9333           rel1 {
9334             to: "base0";
9335             offset: 9 16;
9336           }
9337           rel2 {
9338             to: "base0";
9339             offset: -10 -9;
9340           }
9341         }
9342       }
9343       part { name: "shine";
9344         mouse_events:  0;
9345         description { state:    "default" 0.0;
9346           rel1 {
9347             to: "base0";
9348             offset: 5 4;
9349           }
9350           rel2 {
9351             to: "base0";
9352             relative: 1.0 0.5;
9353             offset: -6 7;
9354           }
9355           image {
9356             normal: "bubble_shine3.png";
9357             border: 36 5 14 0;
9358           }
9359           fill.smooth: 0;
9360         }
9361         description { state: "rtl" 0.0;
9362            inherit: "default" 0.0;
9363            image {
9364               normal: "bubble_shine4.png";
9365               border: 5 36 14 0;
9366            }
9367         }
9368       }
9369     }
9370     programs {
9371       program {
9372         name: "icon_show";
9373         signal: "elm,state,icon,visible";
9374         source: "elm";
9375         action: STATE_SET "visible" 0.0;
9376         target: "elm.swallow.icon";
9377       }
9378       program {
9379         name: "icon_hide";
9380         signal: "elm,state,icon,hidden";
9381         source: "elm";
9382         action: STATE_SET "default" 0.0;
9383         target: "elm.swallow.icon";
9384       }
9385       program { name: "to_rtl";
9386          signal: "edje,state,rtl";
9387          source: "edje";
9388          action: STATE_SET "rtl" 0.0;
9389          target: "base0";
9390          target: "shine";
9391       }
9392       program { name: "to_ltr";
9393          signal: "edje,state,ltr";
9394          source: "edje";
9395          action: STATE_SET "default" 0.0;
9396          target: "base0";
9397          target: "shine";
9398       }
9399     }
9400   }
9401
9402   group { name: "elm/bubble/top_right/default";
9403     images {
9404       image: "bubble_3.png" COMP;
9405       image: "bubble_4.png" COMP;
9406       image: "bubble_shine3.png" COMP;
9407       image: "bubble_shine4.png" COMP;
9408     }
9409     parts {
9410       part { name: "event";
9411          type: RECT;
9412          description {
9413             state: "default" 0.0;
9414             color: 0 0 0 0;
9415          }
9416       }
9417       part { name: "elm.swallow.icon";
9418         type: SWALLOW;
9419         description { state: "default" 0.0;
9420           fixed: 1 1;
9421           visible: 0;
9422           align: 1.0 0.0;
9423           aspect: 1.0 1.0;
9424           aspect_preference: VERTICAL;
9425           rel1 {
9426             relative: 1.0 0.0;
9427             offset: -5 4;
9428           }
9429           rel2 {
9430             to_y: "elm.text";
9431             relative: 1.0 1.0;
9432             offset: -5 -1;
9433           }
9434         }
9435         description { state: "visible" 0.0;
9436           inherit: "default" 0.0;
9437           visible: 1;
9438         }
9439       }
9440       part { name: "elm.text";
9441         type: TEXT;
9442         mouse_events:   0;
9443         scale: 1;
9444         description { state: "default" 0.0;
9445           align: 0.0 0.0;
9446           fixed: 0 1;
9447           rel1 {
9448             relative: 0.0 0.0;
9449             offset: 4 4;
9450           }
9451           rel2 {
9452             to_x: "elm.info";
9453             relative: 0.0 0.0;
9454             offset: -5 4;
9455           }
9456           color: 0 0 0 255;
9457           text {
9458             font: "Sans:style=Bold,Edje-Vera-Bold";
9459             size: 10;
9460             min: 0 1;
9461             max: 0 1;
9462             align: 0.0 0.0;
9463           }
9464         }
9465       }
9466       part { name: "elm.info";
9467         type: TEXT;
9468         mouse_events:   0;
9469         scale: 1;
9470         description { state: "default" 0.0;
9471           align: 1.0 0.0;
9472           fixed: 1 1;
9473           rel1 {
9474             relative: 1.0 0.0;
9475             offset: -5 4;
9476           }
9477           rel2 {
9478             to_x: "elm.swallow.icon";
9479             relative: 0.0 0.0;
9480             offset: -5 4;
9481           }
9482           color: 0 0 0 64;
9483           text {
9484             font: "Sans:style=Bold,Edje-Vera-Bold";
9485             size: 10;
9486             min: 1 1;
9487             max: 1 1;
9488             align: 1.0 0.0;
9489           }
9490         }
9491       }
9492       part { name: "base0";
9493         mouse_events:  0;
9494         description { state: "default" 0.0;
9495           rel1 {
9496             to_y: "elm.swallow.icon";
9497             relative: 0.0 1.0;
9498             offset: 0 0;
9499           }
9500           image {
9501             normal: "bubble_4.png";
9502             border: 11 36 18 9;
9503           }
9504           image.middle: SOLID;
9505           fill.smooth: 0;
9506         }
9507         description { state: "rtl" 0.0;
9508            inherit: "default" 0.0;
9509            image {
9510               normal: "bubble_3.png";
9511               border: 36 11 18 9;
9512            }
9513         }
9514       }
9515       part { name: "elm.swallow.content";
9516         type: SWALLOW;
9517         description { state: "default" 0.0;
9518           rel1 {
9519             to: "base0";
9520             offset: 9 16;
9521           }
9522           rel2 {
9523             to: "base0";
9524             offset: -10 -9;
9525           }
9526         }
9527       }
9528       part { name: "shine";
9529         mouse_events:  0;
9530         description { state:    "default" 0.0;
9531           rel1 {
9532             to: "base0";
9533             offset: 5 4;
9534           }
9535           rel2 {
9536             to: "base0";
9537             relative: 1.0 0.5;
9538             offset: -6 7;
9539           }
9540           image {
9541             normal: "bubble_shine4.png";
9542             border: 5 36 14 0;
9543           }
9544           fill.smooth: 0;
9545         }
9546         description { state: "rtl" 0.0;
9547            inherit: "default" 0.0;
9548            image {
9549               normal: "bubble_shine3.png";
9550               border: 36 5 14 0;
9551            }
9552         }
9553       }
9554     }
9555     programs {
9556       program {
9557         name: "icon_show";
9558         signal: "elm,state,icon,visible";
9559         source: "elm";
9560         action: STATE_SET "visible" 0.0;
9561         target: "elm.swallow.icon";
9562       }
9563       program {
9564         name: "icon_hide";
9565         signal: "elm,state,icon,hidden";
9566         source: "elm";
9567         action: STATE_SET "default" 0.0;
9568         target: "elm.swallow.icon";
9569       }
9570       program { name: "to_rtl";
9571          signal: "edje,state,rtl";
9572          source: "edje";
9573          action: STATE_SET "rtl" 0.0;
9574          target: "base0";
9575          target: "shine";
9576       }
9577       program { name: "to_ltr";
9578          signal: "edje,state,ltr";
9579          source: "edje";
9580          action: STATE_SET "default" 0.0;
9581          target: "base0";
9582          target: "shine";
9583       }
9584     }
9585   }
9586
9587   group { name: "elm/bubble/bottom_left/default";
9588     images {
9589       image: "bubble_1.png" COMP;
9590       image: "bubble_2.png" COMP;
9591       image: "bubble_shine.png" COMP;
9592     }
9593     parts {
9594       part { name: "event";
9595          type: RECT;
9596          description {
9597             state: "default" 0.0;
9598             color: 0 0 0 0;
9599          }
9600       }
9601       part { name: "elm.swallow.icon";
9602         type: SWALLOW;
9603         description { state: "default" 0.0;
9604           fixed: 1 1;
9605           visible: 0;
9606           align: 0.0 1.0;
9607           aspect: 1.0 1.0;
9608           aspect_preference: VERTICAL;
9609           rel1 {
9610             to_y: "elm.text";
9611             relative: 0.0 0.0;
9612             offset: 4 0;
9613           }
9614           rel2 {
9615             relative: 0.0 1.0;
9616             offset: 4 -5;
9617           }
9618         }
9619         description { state: "visible" 0.0;
9620           inherit: "default" 0.0;
9621           visible: 1;
9622         }
9623       }
9624       part { name: "elm.text";
9625         type: TEXT;
9626         mouse_events:   0;
9627         scale: 1;
9628         description { state: "default" 0.0;
9629           align: 0.0 1.0;
9630           fixed: 0 1;
9631           rel1 {
9632             to_x: "elm.swallow.icon";
9633             relative: 1.0 1.0;
9634             offset: 4 -5;
9635           }
9636           rel2 {
9637             to_x: "elm.info";
9638             relative: 0.0 1.0;
9639             offset: -5 -5;
9640           }
9641           color: 0 0 0 255;
9642           text {
9643             font: "Sans:style=Bold,Edje-Vera-Bold";
9644             size: 10;
9645             min: 0 1;
9646             max: 0 1;
9647             align: 0.0 1.0;
9648           }
9649         }
9650       }
9651       part { name: "elm.info";
9652         type: TEXT;
9653         mouse_events:   0;
9654         scale: 1;
9655         description { state: "default" 0.0;
9656           align: 1.0 1.0;
9657           fixed: 1 1;
9658           rel1 {
9659             relative: 1.0 1.0;
9660             offset: -5 -5;
9661           }
9662           rel2 {
9663             relative: 1.0 1.0;
9664             offset: -5 -5;
9665           }
9666           color: 0 0 0 64;
9667           text {
9668             font: "Sans:style=Bold,Edje-Vera-Bold";
9669             size: 10;
9670             min: 1 1;
9671             max: 1 1;
9672             align: 1.0 1.0;
9673           }
9674         }
9675       }
9676       part { name: "base0";
9677         mouse_events:  0;
9678         description { state: "default" 0.0;
9679           rel2 {
9680             to_y: "elm.swallow.icon";
9681             relative: 1.0 0.0;
9682             offset: -1 -1;
9683           }
9684           image {
9685             normal: "bubble_1.png";
9686             border: 36 11 10 19;
9687           }
9688           image.middle: SOLID;
9689           fill.smooth: 0;
9690         }
9691         description { state: "rtl" 0.0;
9692            inherit: "default" 0.0;
9693            image {
9694               normal: "bubble_2.png";
9695               border: 11 36 10 19;
9696            }
9697         }
9698       }
9699       part { name: "elm.swallow.content";
9700         type: SWALLOW;
9701         description { state: "default" 0.0;
9702           rel1 {
9703             to: "base0";
9704             offset: 9 8;
9705           }
9706           rel2 {
9707             to: "base0";
9708             offset: -10 -17;
9709           }
9710         }
9711       }
9712       part { name: "shine";
9713         mouse_events:  0;
9714         description { state:    "default" 0.0;
9715           rel1 {
9716             to: "base0";
9717             offset: 5 4;
9718           }
9719           rel2 {
9720             to: "base0";
9721             relative: 1.0 0.5;
9722             offset: -6 -16;
9723           }
9724           image {
9725             normal: "bubble_shine.png";
9726             border: 5 5 5 0;
9727           }
9728           fill.smooth: 0;
9729         }
9730         description { state: "rtl" 0.0;
9731            inherit: "default" 0.0;
9732            image {
9733               normal: "bubble_shine4.png";
9734               border: 5 36 14 0;
9735            }
9736         }
9737       }
9738     }
9739     programs {
9740       program {
9741         name: "icon_show";
9742         signal: "elm,state,icon,visible";
9743         source: "elm";
9744         action: STATE_SET "visible" 0.0;
9745         target: "elm.swallow.icon";
9746       }
9747       program {
9748         name: "icon_hide";
9749         signal: "elm,state,icon,hidden";
9750         source: "elm";
9751         action: STATE_SET "default" 0.0;
9752         target: "elm.swallow.icon";
9753       }
9754       program { name: "to_rtl";
9755          signal: "edje,state,rtl";
9756          source: "edje";
9757          action: STATE_SET "rtl" 0.0;
9758          target: "base0";
9759       }
9760       program { name: "to_ltr";
9761          signal: "edje,state,ltr";
9762          source: "edje";
9763          action: STATE_SET "default" 0.0;
9764          target: "base0";
9765       }
9766     }
9767   }
9768
9769   group { name: "elm/bubble/bottom_right/default";
9770     images {
9771       image: "bubble_1.png" COMP;
9772       image: "bubble_2.png" COMP;
9773       image: "bubble_shine.png" COMP;
9774     }
9775     parts {
9776       part { name: "event";
9777          type: RECT;
9778          description {
9779             state: "default" 0.0;
9780             color: 0 0 0 0;
9781          }
9782       }
9783       part { name: "elm.swallow.icon";
9784         type: SWALLOW;
9785         description { state: "default" 0.0;
9786           fixed: 1 1;
9787           visible: 0.0;
9788           align: 1.0 1.0;
9789           aspect: 1.0 1.0;
9790           aspect_preference: VERTICAL;
9791           rel1 {
9792             to_y: "elm.text";
9793             relative: 1.0 0.0;
9794             offset: -5 0;
9795           }
9796           rel2 {
9797             relative: 1.0 1.0;
9798             offset: -5 -5;
9799           }
9800         }
9801         description { state: "visible" 0.0;
9802           inherit: "default" 0.0;
9803           visible: 1;
9804         }
9805       }
9806       part { name: "elm.text";
9807         type: TEXT;
9808         mouse_events:   0;
9809         scale: 1;
9810         description { state: "default" 0.0;
9811           align: 0.0 1.0;
9812           fixed: 0 1;
9813           rel1 {
9814             relative: 0.0 1.0;
9815             offset: 4 -5;
9816           }
9817           rel2 {
9818             to_x: "elm.info";
9819             relative: 0.0 1.0;
9820             offset: -5 -5;
9821           }
9822           color: 0 0 0 255;
9823           text {
9824             font: "Sans:style=Bold,Edje-Vera-Bold";
9825             size: 10;
9826             min: 0 1;
9827             max: 0 1;
9828             align: 0.0 1.0;
9829           }
9830         }
9831       }
9832       part { name: "elm.info";
9833         type: TEXT;
9834         mouse_events:   0;
9835         scale: 1;
9836         description { state: "default" 0.0;
9837           align: 1.0 1.0;
9838           fixed: 1 1;
9839           rel1 {
9840             relative: 1.0 1.0;
9841             offset: -5 -5;
9842           }
9843           rel2 {
9844             to_x: "elm.swallow.icon";
9845             relative: 0.0 1.0;
9846             offset: -5 -5;
9847           }
9848           color: 0 0 0 64;
9849           text {
9850             font: "Sans:style=Bold,Edje-Vera-Bold";
9851             size: 10;
9852             min: 1 1;
9853             max: 1 1;
9854             align: 1.0 1.0;
9855           }
9856         }
9857       }
9858       part { name: "base0";
9859         mouse_events:  0;
9860         description { state: "default" 0.0;
9861           rel2 {
9862             to_y: "elm.swallow.icon";
9863             relative: 1.0 0.0;
9864             offset: -1 -1;
9865           }
9866           image {
9867             normal: "bubble_2.png";
9868             border: 11 36 10 19;
9869           }
9870           image.middle: SOLID;
9871           fill.smooth: 0;
9872         }
9873         description { state: "rtl" 0.0;
9874            inherit: "default" 0.0;
9875            image {
9876               normal: "bubble_1.png";
9877               border: 36 11 10 19;
9878            }
9879         }
9880       }
9881       part { name: "elm.swallow.content";
9882         type: SWALLOW;
9883         description { state: "default" 0.0;
9884           rel1 {
9885             to: "base0";
9886             offset: 9 8;
9887           }
9888           rel2 {
9889             to: "base0";
9890             offset: -10 -17;
9891           }
9892         }
9893       }
9894       part { name: "shine";
9895         mouse_events:  0;
9896         description { state:    "default" 0.0;
9897           rel1 {
9898             to: "base0";
9899             offset: 5 4;
9900           }
9901           rel2 {
9902             to: "base0";
9903             relative: 1.0 0.5;
9904             offset: -6 -16;
9905           }
9906           image {
9907             normal: "bubble_shine.png";
9908             border: 5 5 5 0;
9909           }
9910           fill.smooth: 0;
9911         }
9912         description { state: "rtl" 0.0;
9913            inherit: "default" 0.0;
9914            image {
9915               normal: "bubble_shine3.png";
9916               border: 36 5 14 0;
9917            }
9918         }
9919       }
9920     }
9921     programs {
9922       program {
9923         name: "icon_show";
9924         signal: "elm,state,icon,visible";
9925         source: "elm";
9926         action: STATE_SET "visible" 0.0;
9927         target: "elm.swallow.icon";
9928       }
9929       program {
9930         name: "icon_hide";
9931         signal: "elm,state,icon,hidden";
9932         source: "elm";
9933         action: STATE_SET "default" 0.0;
9934         target: "elm.swallow.icon";
9935       }
9936       program { name: "to_rtl";
9937          signal: "edje,state,rtl";
9938          source: "edje";
9939          action: STATE_SET "rtl" 0.0;
9940          target: "base0";
9941       }
9942       program { name: "to_ltr";
9943          signal: "edje,state,ltr";
9944          source: "edje";
9945          action: STATE_SET "default" 0.0;
9946          target: "base0";
9947       }
9948     }
9949   }
9950
9951 ///////////////////////////////////////////////////////////////////////////////
9952    group { name: "elm/photo/base/default";
9953       images {
9954          image: "frame_1.png" COMP;
9955          image: "frame_2.png" COMP;
9956          image: "dia_grad.png" COMP;
9957          image: "head.png" COMP;
9958       }
9959       parts {
9960          part { name: "base0";
9961             mouse_events:  0;
9962             description { state: "default" 0.0;
9963                image.normal: "dia_grad.png";
9964                rel1.to: "over";
9965                rel2.to: "over";
9966                fill {
9967                   smooth: 0;
9968                   size {
9969                      relative: 0.0 1.0;
9970                      offset: 64 0;
9971                   }
9972                }
9973             }
9974          }
9975          part { name: "base";
9976             mouse_events:  0;
9977             description { state:    "default" 0.0;
9978                image {
9979                   normal: "frame_2.png";
9980                   border: 5 5 32 26;
9981                   middle: 0;
9982                }
9983                fill.smooth : 0;
9984             }
9985          }
9986          part { name: "head";
9987             mouse_events:  0;
9988             description { state:    "default" 0.0;
9989                rel1.offset: 4 4;
9990                rel2.offset: -5 -5;
9991                aspect: 1.0 1.0;
9992                aspect_preference: BOTH;
9993                image.normal: "head.png";
9994             }
9995          }
9996          part { name: "clip";
9997             mouse_events:  0;
9998             type: RECT;
9999             description { state:    "default" 0.0;
10000                rel1.offset: 4 4;
10001                rel2.offset: -5 -5;
10002                color: 255 255 255 255;
10003             }
10004          }
10005          part { name: "elm.swallow.content";
10006             type: SWALLOW;
10007             clip_to: "clip";
10008             description { state: "default" 0.0;
10009                rel1.offset: 4 4;
10010                rel2.offset: -5 -5;
10011             }
10012          }
10013          part { name: "over";
10014             mouse_events:  0;
10015             description { state:    "default" 0.0;
10016                rel1.offset: 4 4;
10017                rel2.offset: -5 -5;
10018                image {
10019                   normal: "frame_1.png";
10020                   border: 2 2 28 22;
10021                   middle: 0;
10022                }
10023                fill.smooth: 0;
10024             }
10025          }
10026      }
10027    }
10028
10029    group { name: "elm/photo/base/shadow";
10030               images {
10031                         image: "shadow.png" COMP;
10032                         image: "black.png" COMP;
10033               }
10034               script {
10035               public message(Msg_Type:type, id, ...) {
10036                 if( (type==MSG_INT_SET) && (id==0) )
10037                 {
10038                     new w;
10039                     new h;
10040
10041                     custom_state(PART:"size", "default", 0.0);
10042
10043                     w = getarg(2);
10044                     h = getarg(3);
10045                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10046                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10047                     set_state(PART:"size", "custom", 0.0);
10048                 }
10049             }
10050             }
10051               parts {
10052               part { name: "size";
10053                     type: SWALLOW;
10054                     description { state: "default" 0.0;
10055                             rel1.relative: 0.5 0.5;
10056                             rel2.relative: 0.5 0.5;
10057                     }
10058                  }
10059               part {
10060                 name: "shadow";
10061                 type: IMAGE;
10062                 repeat_events: 1;
10063                 description {
10064                     state: "default" 0.0;
10065                     rel1.to: "size";
10066                     rel2.to: "size";
10067                     rel1.relative: -0.06 -0.06;
10068                     rel2.relative: 1.07 1.07;
10069                     image.normal: "shadow.png";
10070                 }
10071             }
10072
10073
10074                  part { name: "elm.swallow.content";
10075                     type: SWALLOW;
10076                     description { state: "default" 0.0;
10077                     rel1.offset: 3 3;
10078                     rel2.offset: -3 -3;
10079                             fixed: 1 1;
10080                     }
10081                  }
10082
10083                  part {
10084                 name: "border";
10085                 type: IMAGE;
10086                 repeat_events: 1;
10087                 description {
10088                     state: "default" 0.0;
10089                     visible: 1;
10090                     color: 0 0 0 255;
10091                     rel1.to: "size";
10092                     rel2.to: "size";
10093                     image.normal: "black.png";
10094                     image.border: 1 1 1 1;
10095                     image.middle: 0;
10096                 }
10097             }
10098                  }
10099    }
10100
10101 ///////////////////////////////////////////////////////////////////////////////
10102    group { name: "elm/thumb/base/default";
10103       images {
10104          image: "frame_1.png" COMP;
10105          image: "frame_2.png" COMP;
10106          image: "dia_grad.png" COMP;
10107          image: "busy-1.png" COMP;
10108          image: "busy-2.png" COMP;
10109          image: "busy-3.png" COMP;
10110          image: "busy-4.png" COMP;
10111          image: "busy-5.png" COMP;
10112          image: "busy-6.png" COMP;
10113          image: "busy-7.png" COMP;
10114          image: "busy-8.png" COMP;
10115          image: "busy-9.png" COMP;
10116       }
10117       parts {
10118          part { name: "base0";
10119             mouse_events:  0;
10120             description { state:        "default" 0.0;
10121                image.normal: "dia_grad.png";
10122                rel1.to: "over";
10123                rel2.to: "over";
10124                fill {
10125                   smooth: 0;
10126                   size {
10127                      relative: 0.0 1.0;
10128                      offset: 64 0;
10129                   }
10130                }
10131             }
10132          }
10133          part { name: "base";
10134             mouse_events:  0;
10135             description { state:        "default" 0.0;
10136                image {
10137                   normal: "frame_2.png";
10138                   border: 5 5 32 26;
10139                   middle: 0;
10140                }
10141                fill.smooth : 0;
10142             }
10143          }
10144          part { name: "clip";
10145             mouse_events:  0;
10146             type: RECT;
10147             description { state:        "default" 0.0;
10148                rel1.offset: 4 4;
10149                rel2.offset: -5 -5;
10150                color: 255 255 255 255;
10151             }
10152          }
10153          part { name: "elm.swallow.content";
10154             type: SWALLOW;
10155             clip_to: "clip";
10156             description { state:        "default" 0.0;
10157                rel1.offset: 4 4;
10158                rel2.offset: -5 -5;
10159             }
10160          }
10161          part { name: "progress";
10162             mouse_events: 0;
10163
10164             clip_to: "clip";
10165             description { state:        "default" 0.0;
10166                min: 32 32;
10167                max: 32 32;
10168                visible: 0;
10169                aspect: 1.0 1.0;
10170                aspect_preference: BOTH;
10171             }
10172             description { state:        "pulse" 0.0;
10173                inherit: "default" 0.0;
10174                visible: 1;
10175                image {
10176                   normal: "busy-9.png";
10177                   tween:  "busy-1.png";
10178                   tween:  "busy-2.png";
10179                   tween:  "busy-3.png";
10180                   tween:  "busy-4.png";
10181                   tween:  "busy-5.png";
10182                   tween:  "busy-6.png";
10183                   tween:  "busy-7.png";
10184                   tween:  "busy-8.png";
10185                   border: 7 7 7 7;
10186                }
10187             }
10188          }
10189          part { name: "over";
10190             mouse_events:  0;
10191             description { state:        "default" 0.0;
10192                rel1.offset: 4 4;
10193                rel2.offset: -5 -5;
10194                image {
10195                   normal: "frame_1.png";
10196                   border: 2 2 28 22;
10197                   middle: 0;
10198                }
10199                fill.smooth: 0;
10200             }
10201          }
10202          programs {
10203             program { name: "start_pulse";
10204                signal: "elm,state,pulse,start";
10205                source: "elm";
10206                action: STATE_SET "pulse" 0.0;
10207                target: "progress";
10208                transition: LINEAR 0.5;
10209                after: "start_pulse";
10210             }
10211             program { name: "stop_pulse";
10212                signal: "elm,state,pulse,stop";
10213                source: "elm";
10214                action: STATE_SET "default" 0.0;
10215                target: "progress";
10216             }
10217          }
10218       }
10219    }
10220
10221    group { name: "elm/thumb/base/noframe";
10222       images {
10223          image: "busy-1.png" COMP;
10224          image: "busy-2.png" COMP;
10225          image: "busy-3.png" COMP;
10226          image: "busy-4.png" COMP;
10227          image: "busy-5.png" COMP;
10228          image: "busy-6.png" COMP;
10229          image: "busy-7.png" COMP;
10230          image: "busy-8.png" COMP;
10231          image: "busy-9.png" COMP;
10232       }
10233       parts {
10234          part { name: "elm.swallow.content";
10235             type: SWALLOW;
10236             description { state: "default" 0.0;
10237                rel1.offset: 4 4;
10238                rel2.offset: -5 -5;
10239             }
10240          }
10241          part { name: "progress";
10242             mouse_events: 0;
10243             description { state:        "default" 0.0;
10244                min: 32 32;
10245                max: 32 32;
10246                visible: 0;
10247                aspect: 1.0 1.0;
10248                aspect_preference: BOTH;
10249             }
10250             description { state:        "pulse" 0.0;
10251                inherit: "default" 0.0;
10252                visible: 1;
10253                image {
10254                   normal: "busy-9.png";
10255                   tween:  "busy-1.png";
10256                   tween:  "busy-2.png";
10257                   tween:  "busy-3.png";
10258                   tween:  "busy-4.png";
10259                   tween:  "busy-5.png";
10260                   tween:  "busy-6.png";
10261                   tween:  "busy-7.png";
10262                   tween:  "busy-8.png";
10263                   border: 7 7 7 7;
10264                }
10265             }
10266          }
10267          programs {
10268             program { name: "start_pulse";
10269                signal: "elm,state,pulse,start";
10270                source: "elm";
10271                action: STATE_SET "pulse" 0.0;
10272                target: "progress";
10273                transition: LINEAR 0.5;
10274                after: "start_pulse";
10275             }
10276             program { name: "stop_pulse";
10277                signal: "elm,state,pulse,stop";
10278                source: "elm";
10279                action: STATE_SET "default" 0.0;
10280                target: "progress";
10281             }
10282          }
10283       }
10284    }
10285
10286
10287 ///////////////////////////////////////////////////////////////////////////////
10288 #define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max)                   \
10289    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10290       alias: "elm/icon/"##Alias##"/default";                            \
10291       images.image: File COMP; parts { part { name: "base";             \
10292             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10293                image.normal: File; } } } }
10294
10295 #define GROUP_ICON(Name, File, Min, Max)                      \
10296    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10297       images.image: File COMP; parts { part { name: "base";             \
10298             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10299                image.normal: File; } } } }
10300
10301    group { name: "elm/icon/arrow_down/default";
10302            alias: "elm/icon/toolbar/arrow_down/default";
10303            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10304       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10305          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10306             image.normal: "icon_arrow_down.png"; } } } }
10307
10308    GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
10309    GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
10310    GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
10311    GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
10312    GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
10313    GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
10314    GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
10315    GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
10316    GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
10317    GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
10318    GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
10319    GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
10320    GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
10321 ///////////////////////////////////////////////////////////////////////////////
10322    GROUP_ICON("menu/home", "icon_home.png", 24, 24);
10323    GROUP_ICON("menu/close", "icon_close.png", 24, 24);
10324    GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
10325    GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
10326    GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
10327    GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
10328    GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
10329    GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
10330    GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
10331    GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
10332    GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
10333    GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
10334    GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
10335    GROUP_ICON("menu/file", "icon_file.png", 24, 24);
10336
10337    GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
10338    GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
10339    GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
10340    GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
10341    GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
10342    GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
10343    GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
10344    GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
10345
10346 ///////////////////////////////////////////////////////////////////////////////
10347    group { name: "elm/toolbar/base/default";
10348       images {
10349          image: "bt_dis_base.png" COMP;
10350          image: "bt_dis_hilight.png" COMP;
10351          image: "bt_dis_shine.png" COMP;
10352          image: "icon_left_arrow.png" COMP;
10353          image: "icon_right_arrow.png" COMP;
10354       }
10355       parts {
10356          part { name: "base";
10357             mouse_events: 1;
10358             description { state: "default" 0.0;
10359                rel1 {
10360                   relative: 0.0 0.0;
10361                   offset: 2 2;
10362                }
10363                rel2.offset: -3 -3;
10364                image {
10365                   normal: "bt_dis_base.png";
10366                   border: 4 4 4 4;
10367                }
10368                image.middle: SOLID;
10369             }
10370          }
10371          part { name: "clipper";
10372             type: RECT;
10373             mouse_events: 0;
10374             description {
10375                state: "default" 0.0;
10376                rel1 {
10377                   to: "base";
10378                   offset: 2 2;
10379                }
10380                rel2 {
10381                   to: "base";
10382                   offset: -3 -3;
10383                }
10384             }
10385          }
10386          part { name: "elm.swallow.content";
10387             clip_to: "clipper";
10388             type: SWALLOW;
10389             description {
10390                state: "default" 0.0;
10391                rel1.to: "clipper";
10392                rel2.to: "clipper";
10393             }
10394          }
10395          part { name: "over2";
10396             mouse_events: 0;
10397             description { state: "default" 0.0;
10398                rel1.to: "base";
10399                rel2.to: "base";
10400                image {
10401                   normal: "bt_dis_shine.png";
10402                   border: 4 4 4 4;
10403                }
10404             }
10405          }
10406          part { name: "over1";
10407             mouse_events: 0;
10408             description { state: "default" 0.0;
10409                rel1.to: "base";
10410                rel2.to: "base";
10411                rel2.relative: 1.0 0.5;
10412                image {
10413                   normal: "bt_dis_hilight.png";
10414                   border: 4 4 4 0;
10415                }
10416                color: 255 255 255 128;
10417             }
10418          }
10419          part { name: "left_arrow";
10420             mouse_events: 0;
10421             description { state: "default" 0.0;
10422                image.normal: "icon_left_arrow.png";
10423                aspect: 1.0 1.0;
10424                aspect_preference: VERTICAL;
10425                align: 0.0 0.5;
10426                min: 32 32;
10427                max: 32 32;
10428             }
10429             description { state: "hidden" 0.0;
10430                inherit: "default" 0.0;
10431                visible: 0;
10432                color: 255 255 255 0;
10433             }
10434          }
10435          part { name: "right_arrow";
10436             mouse_events: 0;
10437             description { state: "default" 0.0;
10438                image.normal: "icon_right_arrow.png";
10439                aspect: 1.0 1.0;
10440                aspect_preference: VERTICAL;
10441                align: 1.0 0.5;
10442                min: 32 32;
10443                max: 32 32;
10444             }
10445             description { state: "hidden" 0.0;
10446                inherit: "default" 0.0;
10447                visible: 0;
10448                color: 255 255 255 0;
10449             }
10450          }
10451          part { name: "event";
10452             type: RECT;
10453             mouse_events: 1;
10454             repeat_events: 1;
10455             description { state: "default" 0.0;
10456                color: 0 0 0 0;
10457             }
10458          }
10459       }
10460       programs {
10461          program { name: "sb_hbar_show";
10462             signal: "elm,action,show,hbar";
10463             source: "elm";
10464             action:  STATE_SET "default" 0.0;
10465             transition: LINEAR 0.5;
10466             target: "left_arrow";
10467             target: "right_arrow";
10468          }
10469          program { name: "sb_hbar_hide";
10470             signal: "elm,action,hide,hbar";
10471             source: "elm";
10472             action:  STATE_SET "hidden" 0.0;
10473             target: "left_arrow";
10474             target: "right_arrow";
10475             transition: LINEAR 0.5;
10476          }
10477       }
10478    }
10479
10480    group { name: "elm/toolbar/item/default";
10481        images {
10482            image: "toolbar_sel.png" COMP;
10483        }
10484        data.item: "transition_animation_on" "1";
10485        parts {
10486            part { name: "label2";
10487                type: TEXT;
10488                mouse_events:  0;
10489                scale: 1;
10490                clip_to: "elm.text.clipper";
10491                description { state: "default" 0.0;
10492                    align: 0.5 1.0;
10493                    fixed: 0 1;
10494                    rel1.to: "elm.text";
10495                    rel2.to: "elm.text";
10496                    color: 0 0 0 255;
10497                    text {
10498                        font: "Sans";
10499                        text_source: "elm.text";
10500                        size: 10;
10501                        min: 1 1;
10502                        align: 0.5 0.5;
10503                        text_class: "toolbar_item";
10504                    }
10505                }
10506                description { state: "selected" 0.0;
10507                    inherit: "default" 0.0;
10508                    visible: 0;
10509                }
10510                description { state: "disabled" 0.0;
10511                    inherit: "default" 0.0;
10512                    color: 0 0 0 128;
10513                    color3: 0 0 0 0;
10514                }
10515                description { state: "disabled_visible" 0.0;
10516                    inherit: "default" 0.0;
10517                    color: 0 0 0 128;
10518                    color3: 0 0 0 0;
10519                    visible: 1;
10520                    text.min: 1 1;
10521                }
10522            }
10523            part { name: "label2_new";
10524                type: TEXT;
10525                mouse_events:  0;
10526                scale: 1;
10527                clip_to: "elm.text_new.clipper";
10528                description { state: "default" 0.0;
10529                    align: 0.5 1.0;
10530                    fixed: 0 1;
10531                    rel1.to: "elm.text_new";
10532                    rel2.to: "elm.text_new";
10533                    color: 0 0 0 255;
10534                    text {
10535                        font: "Sans";
10536                        text_source: "elm.text_new";
10537                        size: 10;
10538                        min: 1 1;
10539                        align: 0.5 0.5;
10540                        text_class: "toolbar_item";
10541                    }
10542                }
10543                description { state: "selected" 0.0;
10544                    inherit: "default" 0.0;
10545                    visible: 0;
10546                }
10547                description { state: "disabled" 0.0;
10548                    inherit: "default" 0.0;
10549                    color: 0 0 0 128;
10550                    color3: 0 0 0 0;
10551                }
10552                description { state: "disabled_visible" 0.0;
10553                    inherit: "default" 0.0;
10554                    color: 0 0 0 128;
10555                    color3: 0 0 0 0;
10556                    visible: 1;
10557                    text.min: 1 1;
10558                }
10559            }
10560            part { name: "bg";
10561                mouse_events: 0;
10562                description { state: "default" 0.0;
10563                    visible: 0;
10564                    color: 255 255 255 0;
10565                    image {
10566                        normal: "toolbar_sel.png";
10567                        border: 3 3 0 0;
10568                    }
10569                    image.middle: SOLID;
10570                    fill.smooth: 0;
10571                }
10572                description { state: "selected" 0.0;
10573                    inherit: "default" 0.0;
10574                    visible: 1;
10575                    color: 255 255 255 255;
10576                }
10577                description { state: "disabled" 0.0;
10578                    inherit: "default" 0.0;
10579                    visible: 0;
10580                    color: 255 255 255 0;
10581                }
10582            }
10583            part { name: "elm.swallow.icon";
10584                type: SWALLOW;
10585                clip_to: "elm.icon.clipper";
10586                description { state: "default" 0.0;
10587                    align: 0.5 0.5;
10588                    fixed: 0 0;
10589                    rel1 {
10590                        relative: 0.0 0.0;
10591                        offset: 2 2;
10592                    }
10593                    rel2 {
10594                        to_y: "elm.text";
10595                        relative: 1.0 0.0;
10596                        offset: -3 -1;
10597                    }
10598                    color: 0 0 0 0;
10599                }
10600            }
10601            part { name: "elm.swallow.icon_new";
10602                type: SWALLOW;
10603                clip_to: "elm.icon_new.clipper";
10604                description { state: "default" 0.0;
10605                    align: 0.5 0.5;
10606                    fixed: 0 0;
10607                    rel1 {
10608                        relative: 0.0 0.0;
10609                        offset: 2 2;
10610                    }
10611                    rel2 {
10612                        to_y: "elm.text_new";
10613                        relative: 1.0 0.0;
10614                        offset: -3 -1;
10615                    }
10616                    color: 0 0 0 0;
10617                }
10618            }
10619            part { name: "elm.text";
10620                type: TEXT;
10621                effect: SOFT_SHADOW;
10622                mouse_events:  0;
10623                scale: 1;
10624                clip_to: "elm.text.clipper";
10625                description { state: "default" 0.0;
10626                    align: 0.5 1.0;
10627                    fixed: 0 1;
10628                    rel1 {
10629                        relative: 0.0 1.0;
10630                        offset:   0 -1;
10631                    }
10632                    rel2 {
10633                        relative: 1.0 1.0;
10634                        offset:   -1 -1;
10635                    }
10636                    visible: 0;
10637                    color: 224 224 224 255;
10638                    color3: 0 0 0 32;
10639                    text {
10640                        font: "Sans:style=Bold";
10641                        size: 10;
10642                        min: 1 1;
10643                        align: 0.5 0.5;
10644                        text_class: "toolbar_item";
10645                    }
10646                }
10647                description { state: "selected" 0.0;
10648                    inherit: "default" 0.0;
10649                    visible: 1;
10650                }
10651                description { state: "visible" 0.0;
10652                    inherit: "default" 0.0;
10653                    visible: 1;
10654                    text.min: 1 1;
10655                }
10656                description { state: "disabled" 0.0;
10657                    inherit: "default" 0.0;
10658                    color: 0 0 0 128;
10659                    color3: 0 0 0 0;
10660                }
10661                description { state: "disabled_visible" 0.0;
10662                    inherit: "default" 0.0;
10663                    color: 0 0 0 128;
10664                    color3: 0 0 0 0;
10665                    visible: 1;
10666                    text.min: 1 1;
10667                }
10668            }
10669            part { name: "elm.text_new";
10670                type: TEXT;
10671                effect: SOFT_SHADOW;
10672                mouse_events:  0;
10673                clip_to: "elm.text_new.clipper";
10674                scale: 1;
10675                description { state: "default" 0.0;
10676                    align: 0.5 1.0;
10677                    fixed: 0 1;
10678                    rel1 {
10679                        relative: 0.0 1.0;
10680                        offset:   0 -1;
10681                    }
10682                    rel2 {
10683                        relative: 1.0 1.0;
10684                        offset:   -1 -1;
10685                    }
10686                    visible: 0;
10687                    color: 224 224 224 255;
10688                    color3: 0 0 0 32;
10689                    text {
10690                        font: "Sans:style=Bold";
10691                        size: 10;
10692                        min: 1 1;
10693                        align: 0.5 0.5;
10694                        text_class: "toolbar_item";
10695                    }
10696                }
10697                description { state: "selected" 0.0;
10698                    inherit: "default" 0.0;
10699                    visible: 1;
10700                }
10701                description { state: "visible" 0.0;
10702                    inherit: "default" 0.0;
10703                    visible: 1;
10704                    text.min: 1 1;
10705                }
10706                description { state: "disabled" 0.0;
10707                    inherit: "default" 0.0;
10708                    color: 0 0 0 128;
10709                    color3: 0 0 0 0;
10710                }
10711                description { state: "disabled_visible" 0.0;
10712                    inherit: "default" 0.0;
10713                    color: 0 0 0 128;
10714                    color3: 0 0 0 0;
10715                    visible: 1;
10716                    text.min: 1 1;
10717                }
10718            }
10719            part { name: "elm.text.clipper";
10720                type: RECT;
10721                description { state: "default" 0.0;
10722                    color: 255 255 255 255;
10723                }
10724                description { state: "animation" 0.0;
10725                    color: 255 255 255 0;
10726                }
10727            }
10728            part { name: "elm.text_new.clipper";
10729                type: RECT;
10730                description { state: "default" 0.0;
10731                    color: 255 255 255 0;
10732                }
10733                description { state: "animation" 0.0;
10734                    color: 255 255 255 255;
10735                }
10736            }
10737            part { name: "elm.icon.clipper";
10738                type: RECT;
10739                description { state: "default" 0.0;
10740                    color: 255 255 255 255;
10741                }
10742                description { state: "animation" 0.0;
10743                    color: 255 255 255 0;
10744                }
10745            }
10746            part { name: "elm.icon_new.clipper";
10747                type: RECT;
10748                description { state: "default" 0.0;
10749                    color: 255 255 255 0;
10750                }
10751                description { state: "animation" 0.0;
10752                    color: 255 255 255 255;
10753                }
10754            }
10755            part { name: "event";
10756                type: RECT;
10757                mouse_events: 1;
10758                ignore_flags: ON_HOLD;
10759                description { state: "default" 0.0;
10760                    color: 0 0 0 0;
10761                }
10762            }
10763        }
10764        programs {
10765            program { name: "go_active";
10766                signal:  "elm,state,selected";
10767                source:  "elm";
10768                action:  STATE_SET "selected" 0.0;
10769                target:  "bg";
10770                target:  "elm.text";
10771                target:  "label2";
10772                target:  "elm.text_new";
10773                target:  "label2_new";
10774                transition: LINEAR 0.2;
10775            }
10776            program { name: "go_passive";
10777                signal:  "elm,state,unselected";
10778                source:  "elm";
10779                action:  STATE_SET "default" 0.0;
10780                target:  "bg";
10781                target:  "elm.text";
10782                target:  "label2";
10783                target:  "elm.text_new";
10784                target:  "label2_new";
10785                transition: LINEAR 0.1;
10786            }
10787            program { name: "go";
10788                signal:  "mouse,up,1";
10789                source:  "event";
10790                action:  SIGNAL_EMIT "elm,action,click" "elm";
10791            }
10792            program { name: "mouse,in";
10793               signal:  "mouse,in";
10794               source:  "event";
10795               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10796            }
10797            program { name: "mouse,out";
10798               signal:  "mouse,out";
10799               source:  "event";
10800               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10801            }
10802            program { name: "disable";
10803                signal: "elm,state,disabled";
10804                source: "elm";
10805                action: STATE_SET "disabled" 0.0;
10806                target: "label2";
10807                target: "label2_new";
10808                target: "bg";
10809                after: "disable_text";
10810            }
10811            program { name: "disable_text";
10812                script {
10813                    new st[31];
10814                    new Float:vl;
10815                    get_state(PART:"elm.text", st, 30, vl);
10816                    if (!strcmp(st, "visible"))
10817                    {
10818                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10819                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10820                    }
10821                    else
10822                    {
10823                       set_state(PART:"elm.text", "disabled", 0.0);
10824                       set_state(PART:"elm.text_new", "disabled", 0.0);
10825                    }
10826                }
10827            }
10828            program { name: "enable";
10829                signal: "elm,state,enabled";
10830                source: "elm";
10831                action: STATE_SET "default" 0.0;
10832                target: "label2";
10833                target: "label2_new";
10834                target: "bg";
10835                after: "enable_text";
10836            }
10837            program { name: "enable_text";
10838                script {
10839                    new st[31];
10840                    new Float:vl;
10841                    get_state(PART:"elm.text", st, 30, vl);
10842                    if (!strcmp(st, "disabled_visible"))
10843                    {
10844                       set_state(PART:"elm.text", "visible", 0.0);
10845                       set_state(PART:"elm.text_new", "visible", 0.0);
10846                    }
10847                    else
10848                    {
10849                       set_state(PART:"elm.text", "default", 0.0);
10850                       set_state(PART:"elm.text_new", "default", 0.0);
10851                    }
10852                }
10853            }
10854            program { name: "label_set,animation,forward";
10855               signal: "elm,state,label_set,forward";
10856               source: "elm";
10857               after: "label_set,animation";
10858            }
10859            program { name: "label_set,animation,backward";
10860               signal: "elm,state,label_set,backward";
10861               source: "elm";
10862               after: "label_set,animation";
10863            }
10864            program { name: "label_set,animation";
10865               signal: "elm,state,label_set";
10866               source: "elm";
10867               action: STATE_SET "animation" 0.0;
10868               target: "elm.text.clipper";
10869               target: "elm.text_new.clipper";
10870               transition: LINEAR 0.2;
10871               after: "label_set,animation,done";
10872            }
10873            program { name: "label_set,animation,done";
10874               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10875            }
10876            program { name: "label,reset";
10877               signal: "elm,state,label,reset";
10878               source: "elm";
10879               action: STATE_SET "default" 0.0;
10880               target: "elm.text.clipper";
10881               target: "elm.text_new.clipper";
10882            }
10883            program { name: "icon_set,animation,forward";
10884               signal: "elm,state,icon_set,forward";
10885               source: "elm";
10886               after: "icon_set,animation";
10887            }
10888            program { name: "icon_set,animation,backward";
10889               signal: "elm,state,icon_set,backward";
10890               source: "elm";
10891               after: "icon_set,animation";
10892            }
10893            program { name: "icon_set,animation";
10894               signal: "elm,state,icon_set";
10895               source: "elm";
10896               action: STATE_SET "animation" 0.0;
10897               target: "elm.icon.clipper";
10898               target: "elm.icon_new.clipper";
10899               transition: LINEAR 0.2;
10900               after: "icon_set,animation,done";
10901            }
10902            program { name: "icon_set,animation,done";
10903               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10904            }
10905            program { name: "icon,reset";
10906               signal: "elm,state,icon,reset";
10907               source: "elm";
10908               action: STATE_SET "default" 0.0;
10909               target: "elm.icon.clipper";
10910               target: "elm.icon_new.clipper";
10911            }
10912        }
10913    }
10914
10915    group { name: "elm/toolbar/separator/default";
10916       images {
10917          image: "toolbar_separator_v.png" COMP;
10918       }
10919       parts {
10920          part { name: "separator"; // separator group
10921             description { state: "default" 0.0;
10922                min: 2 2;
10923                max: 2 9999;
10924                rel1.offset: 4 4;
10925                rel2.offset: -5 -5;
10926                image {
10927                   normal: "toolbar_separator_v.png";
10928                }
10929                fill {
10930                   smooth: 0;
10931                }
10932             }
10933          }
10934       }
10935    }
10936
10937    ///////////////////////////////////////////////////////////////////////////////
10938    group { name: "elm/notify/block_events/default";
10939        parts {
10940            part { name: "block_events";
10941                type: RECT;
10942                description { state: "default" 0.0;
10943                    color: 0 0 0 64;
10944                    visible: 1;
10945                }
10946            }
10947        }
10948            programs {
10949                    program {
10950                                 name: "block_clicked";
10951                                 signal: "mouse,clicked,1";
10952                                 source: "block_events";
10953                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10954                    }
10955            }
10956    }
10957    group { name: "elm/notify/top/default";
10958        //this group is a design similar to the inwin group
10959        images {
10960            image: "shad_circ.png" COMP;
10961            image: "bt_dis_base.png" COMP;
10962            image: "bt_dis_hilight.png" COMP;
10963        }
10964        parts {
10965            part { name: "base";
10966                type: RECT;
10967                mouse_events: 0;
10968                repeat_events: 1;
10969                description { state: "default" 0.0;
10970                    color: 0 0 0 0;
10971                    rel1.offset: 10 10;
10972                    rel2.offset: -10 -10;
10973                    rel1.relative: 0.0 -1.0;
10974                    rel2.relative: 1.0 0.0;
10975                }
10976                description { state: "visible" 0.0;
10977                    inherit: "default" 0.0;
10978                    color: 0 0 0 64;
10979                    rel1.relative: 0.0 0.0;
10980                    rel2.relative: 1.0 1.0;
10981                }
10982            }
10983            part { name: "shad";
10984                mouse_events:  0;
10985                description { state: "default" 0.0;
10986                    image.normal: "shad_circ.png";
10987                    rel1.to: "elm.swallow.content";
10988                    rel1.offset: -64 -64;
10989                    rel2.to: "elm.swallow.content";
10990                    rel2.offset: 63 63;
10991                    fill.smooth: 0;
10992                }
10993            }
10994            part { name: "pop";
10995                mouse_events: 1;
10996                description { state: "default" 0.0;
10997                    rel1.to: "elm.swallow.content";
10998                    rel1.offset: -5 -5;
10999                    rel2.to: "elm.swallow.content";
11000                    rel2.offset: 4 4;
11001                    image {
11002                        normal: "bt_dis_base.png";
11003                        border: 4 4 4 4;
11004                    }
11005                    image.middle: SOLID;
11006                }
11007            }
11008            part { name: "popover";
11009                mouse_events: 0;
11010                description { state: "default" 0.0;
11011                    rel1.to: "pop";
11012                    rel2.to: "pop";
11013                    rel2.relative: 1.0 0.5;
11014                    image {
11015                        normal: "bt_dis_hilight.png";
11016                        border: 4 4 4 0;
11017                    }
11018                }
11019            }
11020            part { name: "elm.swallow.content";
11021                type: SWALLOW;
11022                description { state: "default" 0.0;
11023                    rel1.to: "base";
11024                    rel2.to: "base";
11025                }
11026            }
11027        }
11028        programs {
11029            program { name: "show";
11030                signal: "elm,action,show";
11031                source: "elm";
11032                action: STATE_SET "visible" 0.0;
11033                target: "base";
11034            }
11035            program { name: "show_2";
11036                 signal: "show";
11037                 action: STATE_SET "default" 0.0;
11038                 target: "base";
11039                 after: "show_3";
11040            }
11041            program { name: "show_3";
11042                 signal: "show";
11043                 action: STATE_SET "visible" 0.0;
11044                 target: "base";
11045                 transition: LINEAR 0.5;
11046            }
11047            program { name: "hide";
11048                signal: "elm,action,hide";
11049                source: "elm";
11050                action: STATE_SET "default" 0.0;
11051                target: "base";
11052            }
11053        }
11054    }
11055    group { name: "elm/notify/center/default";
11056        //this group is a design similar to the inwin group
11057        images {
11058            image: "bt_dis_base.png" COMP;
11059        }
11060        parts {
11061            part { name: "base";
11062                type: RECT;
11063                mouse_events: 0;
11064                repeat_events: 1;
11065                description { state: "default" 0.0;
11066                    color: 0 0 0 0;
11067                    rel1.relative: 0.0 0.0;
11068                    rel2.relative: 1.0 1.0;
11069                }
11070            }
11071            part { name: "pop";
11072                mouse_events: 1;
11073                description { state: "default" 0.0;
11074                    rel1.to: "elm.swallow.content";
11075                    rel1.offset: -5 -5;
11076                    rel2.to: "elm.swallow.content";
11077                    rel2.offset: 4 4;
11078                    image {
11079                        normal: "bt_dis_base.png";
11080                        border: 4 4 4 4;
11081                    }
11082                }
11083            }
11084            part { name: "elm.swallow.content";
11085                type: SWALLOW;
11086                description { state: "default" 0.0;
11087                    rel1.to: "base";
11088                    rel2.to: "base";
11089                }
11090            }
11091        }
11092        programs {
11093            program { name: "show";
11094                signal: "elm,action,show";
11095                source: "elm";
11096                action: STATE_SET "default" 0.0;
11097                target: "base";
11098            }
11099            program { name: "show_2";
11100                 signal: "show";
11101                 action: STATE_SET "default" 0.0;
11102                 target: "base";
11103            }
11104            program { name: "hide";
11105                signal: "elm,action,hide";
11106                source: "elm";
11107                action: STATE_SET "default" 0.0;
11108                target: "base";
11109            }
11110        }
11111    }
11112    group { name: "elm/notify/bottom/default";
11113        //this group is a design similar to the inwin group
11114        images {
11115            image: "shad_circ.png" COMP;
11116            image: "bt_dis_base.png" COMP;
11117            image: "bt_dis_hilight.png" COMP;
11118        }
11119        parts {
11120            part { name: "base";
11121                type: RECT;
11122                mouse_events: 0;
11123                repeat_events: 1;
11124                description { state: "default" 0.0;
11125                    color: 0 0 0 0;
11126                    rel1.offset: 10 10;
11127                    rel2.offset: -10 -10;
11128                    rel1.relative: 0.0 1.0;
11129                    rel2.relative: 1.0 2.0;
11130                }
11131                description { state: "visible" 0.0;
11132                    inherit: "default" 0.0;
11133                    color: 0 0 0 64;
11134                    rel1.relative: 0.0 0.0;
11135                    rel2.relative: 1.0 1.0;
11136                }
11137            }
11138            part { name: "shad";
11139                mouse_events:  0;
11140                description { state: "default" 0.0;
11141                    image.normal: "shad_circ.png";
11142                    rel1.to: "elm.swallow.content";
11143                    rel1.offset: -64 -64;
11144                    rel2.to: "elm.swallow.content";
11145                    rel2.offset: 63 63;
11146                    fill.smooth: 0;
11147                }
11148            }
11149            part { name: "pop";
11150                mouse_events: 1;
11151                description { state: "default" 0.0;
11152                    rel1.to: "elm.swallow.content";
11153                    rel1.offset: -5 -5;
11154                    rel2.to: "elm.swallow.content";
11155                    rel2.offset: 4 4;
11156                    image {
11157                        normal: "bt_dis_base.png";
11158                        border: 4 4 4 4;
11159                    }
11160                    image.middle: SOLID;
11161                }
11162            }
11163            part { name: "popover";
11164                mouse_events: 0;
11165                description { state: "default" 0.0;
11166                    rel1.to: "pop";
11167                    rel2.to: "pop";
11168                    rel2.relative: 1.0 0.5;
11169                    image {
11170                        normal: "bt_dis_hilight.png";
11171                        border: 4 4 4 0;
11172                    }
11173                }
11174            }
11175            part { name: "elm.swallow.content";
11176                type: SWALLOW;
11177                description { state: "default" 0.0;
11178                    rel1.to: "base";
11179                    rel2.to: "base";
11180                }
11181            }
11182        }
11183        programs {
11184            program { name: "show";
11185                signal: "elm,action,show";
11186                source: "elm";
11187                action: STATE_SET "visible" 0.0;
11188                target: "base";
11189            }
11190            program { name: "show_2";
11191                 signal: "show";
11192                 action: STATE_SET "default" 0.0;
11193                 target: "base";
11194                 after: "show_3";
11195            }
11196            program { name: "show_3";
11197                 signal: "show";
11198                 action: STATE_SET "visible" 0.0;
11199                 target: "base";
11200                 transition: LINEAR 0.5;
11201            }
11202            program { name: "hide";
11203                signal: "elm,action,hide";
11204                source: "elm";
11205                action: STATE_SET "default" 0.0;
11206                target: "base";
11207            }
11208        }
11209    }
11210    group { name: "elm/notify/left/default";
11211        //this group is a design similar to the inwin group
11212        images {
11213            image: "shad_circ.png" COMP;
11214            image: "bt_dis_base.png" COMP;
11215            image: "bt_dis_hilight.png" COMP;
11216        }
11217        parts {
11218            part { name: "base";
11219                type: RECT;
11220                mouse_events: 0;
11221                repeat_events: 1;
11222                description { state: "default" 0.0;
11223                    color: 0 0 0 0;
11224                    rel1.offset: 10 10;
11225                    rel2.offset: -10 -10;
11226                    rel1.relative: -1.0 0.0;
11227                    rel2.relative: 0.0 1.0;
11228                }
11229                description { state: "visible" 0.0;
11230                    inherit: "default" 0.0;
11231                    color: 0 0 0 64;
11232                    rel1.relative: 0.0 0.0;
11233                    rel2.relative: 1.0 1.0;
11234                }
11235            }
11236            part { name: "shad";
11237                mouse_events:  0;
11238                description { state: "default" 0.0;
11239                    image.normal: "shad_circ.png";
11240                    rel1.to: "elm.swallow.content";
11241                    rel1.offset: -64 -64;
11242                    rel2.to: "elm.swallow.content";
11243                    rel2.offset: 63 63;
11244                    fill.smooth: 0;
11245                }
11246            }
11247            part { name: "pop";
11248                mouse_events: 1;
11249                description { state: "default" 0.0;
11250                    rel1.to: "elm.swallow.content";
11251                    rel1.offset: -5 -5;
11252                    rel2.to: "elm.swallow.content";
11253                    rel2.offset: 4 4;
11254                    image {
11255                        normal: "bt_dis_base.png";
11256                        border: 4 4 4 4;
11257                    }
11258                    image.middle: SOLID;
11259                }
11260            }
11261            part { name: "popover";
11262                mouse_events: 0;
11263                description { state: "default" 0.0;
11264                    rel1.to: "pop";
11265                    rel2.to: "pop";
11266                    rel2.relative: 1.0 0.5;
11267                    image {
11268                        normal: "bt_dis_hilight.png";
11269                        border: 4 4 4 0;
11270                    }
11271                }
11272            }
11273            part { name: "elm.swallow.content";
11274                type: SWALLOW;
11275                description { state: "default" 0.0;
11276                    rel1.to: "base";
11277                    rel2.to: "base";
11278                }
11279            }
11280        }
11281        programs {
11282            program { name: "show";
11283                signal: "elm,action,show";
11284                source: "elm";
11285                action: STATE_SET "visible" 0.0;
11286                target: "base";
11287            }
11288            program { name: "show_2";
11289                signal: "show";
11290                action: STATE_SET "default" 0.0;
11291                target: "base";
11292                after: "show_3";
11293            }
11294            program { name: "show_3";
11295                signal: "show";
11296                action: STATE_SET "visible" 0.0;
11297                target: "base";
11298                transition: LINEAR 0.5;
11299            }
11300            program { name: "hide";
11301                signal: "elm,action,hide";
11302                source: "elm";
11303                action: STATE_SET "default" 0.0;
11304                target: "base";
11305            }
11306        }
11307    }
11308    group { name: "elm/notify/right/default";
11309        //this group is a design similar to the inwin group
11310        images {
11311            image: "shad_circ.png" COMP;
11312            image: "bt_dis_base.png" COMP;
11313            image: "bt_dis_hilight.png" COMP;
11314        }
11315        parts {
11316            part { name: "base";
11317                type: RECT;
11318                mouse_events: 0;
11319                repeat_events: 1;
11320                 description { state: "default" 0.0;
11321                    color: 0 0 0 0;
11322                    rel1.offset: 10 10;
11323                    rel2.offset: -10 -10;
11324                    rel1.relative: 1.0 0.0;
11325                    rel2.relative: 2.0 1.0;
11326                }
11327                description { state: "visible" 0.0;
11328                    inherit: "default" 0.0;
11329                    color: 0 0 0 64;
11330                    rel1.relative: 0.0 0.0;
11331                    rel2.relative: 1.0 1.0;
11332                }
11333            }
11334            part { name: "shad";
11335                mouse_events:  0;
11336                description { state: "default" 0.0;
11337                    image.normal: "shad_circ.png";
11338                    rel1.to: "elm.swallow.content";
11339                    rel1.offset: -64 -64;
11340                    rel2.to: "elm.swallow.content";
11341                    rel2.offset: 63 63;
11342                    fill.smooth: 0;
11343                }
11344            }
11345            part { name: "pop";
11346                mouse_events: 1;
11347                description { state: "default" 0.0;
11348                    rel1.to: "elm.swallow.content";
11349                    rel1.offset: -5 -5;
11350                    rel2.to: "elm.swallow.content";
11351                    rel2.offset: 4 4;
11352                    image {
11353                        normal: "bt_dis_base.png";
11354                        border: 4 4 4 4;
11355                    }
11356                    image.middle: SOLID;
11357                }
11358            }
11359            part { name: "popover";
11360                mouse_events: 0;
11361                description { state: "default" 0.0;
11362                    rel1.to: "pop";
11363                    rel2.to: "pop";
11364                    rel2.relative: 1.0 0.5;
11365                    image {
11366                        normal: "bt_dis_hilight.png";
11367                        border: 4 4 4 0;
11368                    }
11369                }
11370            }
11371            part { name: "elm.swallow.content";
11372                type: SWALLOW;
11373                description { state: "default" 0.0;
11374                    rel1.to: "base";
11375                    rel2.to: "base";
11376                }
11377            }
11378        }
11379        programs {
11380            program { name: "show";
11381                signal: "elm,action,show";
11382                source: "elm";
11383                action: STATE_SET "visible" 0.0;
11384                target: "base";
11385            }
11386            program { name: "show_2";
11387                signal: "show";
11388                action: STATE_SET "default" 0.0;
11389                target: "base";
11390                after: "show_3";
11391            }
11392            program { name: "show_3";
11393                signal: "show";
11394                action: STATE_SET "visible" 0.0;
11395                target: "base";
11396                transition: LINEAR 0.5;
11397            }
11398            program { name: "hide";
11399                signal: "elm,action,hide";
11400                source: "elm";
11401                action: STATE_SET "default" 0.0;
11402                target: "base";
11403            }
11404        }
11405    }
11406    group { name: "elm/notify/top_left/default";
11407        //this group is a design similar to the inwin group
11408        images {
11409            image: "shad_circ.png" COMP;
11410            image: "bt_dis_base.png" COMP;
11411            image: "bt_dis_hilight.png" COMP;
11412        }
11413        parts {
11414            part { name: "base";
11415                type: RECT;
11416                mouse_events: 0;
11417                repeat_events: 1;
11418                 description { state: "default" 0.0;
11419                    color: 0 0 0 0;
11420                    rel1.offset: 10 10;
11421                    rel2.offset: -10 -10;
11422                    rel1.relative: 0.0 -1.0;
11423                    rel2.relative: 1.0 0.0;
11424                }
11425                description { state: "visible" 0.0;
11426                    inherit: "default" 0.0;
11427                    color: 0 0 0 64;
11428                    rel1.relative: 0.0 0.0;
11429                    rel2.relative: 1.0 1.0;
11430                }
11431            }
11432            part { name: "shad";
11433                mouse_events:  0;
11434                description { state: "default" 0.0;
11435                    image.normal: "shad_circ.png";
11436                    rel1.to: "elm.swallow.content";
11437                    rel1.offset: -64 -64;
11438                    rel2.to: "elm.swallow.content";
11439                    rel2.offset: 63 63;
11440                    fill.smooth: 0;
11441                }
11442            }
11443            part { name: "pop";
11444                mouse_events: 1;
11445                description { state: "default" 0.0;
11446                    rel1.to: "elm.swallow.content";
11447                    rel1.offset: -5 -5;
11448                    rel2.to: "elm.swallow.content";
11449                    rel2.offset: 4 4;
11450                    image {
11451                        normal: "bt_dis_base.png";
11452                        border: 4 4 4 4;
11453                    }
11454                    image.middle: SOLID;
11455                }
11456            }
11457            part { name: "popover";
11458                mouse_events: 0;
11459                description { state: "default" 0.0;
11460                    rel1.to: "pop";
11461                    rel2.to: "pop";
11462                    rel2.relative: 1.0 0.5;
11463                    image {
11464                        normal: "bt_dis_hilight.png";
11465                        border: 4 4 4 0;
11466                    }
11467                }
11468            }
11469            part { name: "elm.swallow.content";
11470                type: SWALLOW;
11471                description { state: "default" 0.0;
11472                    rel1.to: "base";
11473                    rel2.to: "base";
11474                }
11475            }
11476        }
11477        programs {
11478            program { name: "show";
11479                signal: "elm,action,show";
11480                source: "elm";
11481                action: STATE_SET "visible" 0.0;
11482                target: "base";
11483            }
11484            program { name: "show_2";
11485                signal: "show";
11486                action: STATE_SET "default" 0.0;
11487                target: "base";
11488                after: "show_3";
11489            }
11490            program { name: "show_3";
11491                signal: "show";
11492                action: STATE_SET "visible" 0.0;
11493                target: "base";
11494                transition: LINEAR 0.5;
11495            }
11496            program { name: "hide";
11497                signal: "elm,action,hide";
11498                source: "elm";
11499                action: STATE_SET "default" 0.0;
11500                target: "base";
11501            }
11502        }
11503    }
11504    group { name: "elm/notify/top_right/default";
11505        //this group is a design similar to the inwin group
11506        images {
11507            image: "shad_circ.png" COMP;
11508            image: "bt_dis_base.png" COMP;
11509            image: "bt_dis_hilight.png" COMP;
11510        }
11511        parts {
11512            part { name: "base";
11513                type: RECT;
11514                mouse_events: 0;
11515                repeat_events: 1;
11516                description { state: "default" 0.0;
11517                    color: 0 0 0 0;
11518                    rel1.offset: 10 10;
11519                    rel2.offset: -10 -10;
11520                    rel1.relative: 0.0 -1.0;
11521                    rel2.relative: 1.0 0.0;
11522                }
11523                description { state: "visible" 0.0;
11524                    inherit: "default" 0.0;
11525                    color: 0 0 0 64;
11526                    rel1.relative: 0.0 0.0;
11527                    rel2.relative: 1.0 1.0;
11528                }
11529            }
11530            part { name: "shad";
11531                mouse_events:  0;
11532                description { state: "default" 0.0;
11533                    image.normal: "shad_circ.png";
11534                    rel1.to: "elm.swallow.content";
11535                    rel1.offset: -64 -64;
11536                    rel2.to: "elm.swallow.content";
11537                    rel2.offset: 63 63;
11538                    fill.smooth: 0;
11539                }
11540            }
11541            part { name: "pop";
11542                mouse_events: 1;
11543                description { state: "default" 0.0;
11544                    rel1.to: "elm.swallow.content";
11545                    rel1.offset: -5 -5;
11546                    rel2.to: "elm.swallow.content";
11547                    rel2.offset: 4 4;
11548                    image {
11549                        normal: "bt_dis_base.png";
11550                        border: 4 4 4 4;
11551                    }
11552                    image.middle: SOLID;
11553                }
11554            }
11555            part { name: "popover";
11556                mouse_events: 0;
11557                description { state: "default" 0.0;
11558                    rel1.to: "pop";
11559                    rel2.to: "pop";
11560                    rel2.relative: 1.0 0.5;
11561                    image {
11562                        normal: "bt_dis_hilight.png";
11563                        border: 4 4 4 0;
11564                    }
11565                }
11566            }
11567            part { name: "elm.swallow.content";
11568                type: SWALLOW;
11569                description { state: "default" 0.0;
11570                    rel1.to: "base";
11571                    rel2.to: "base";
11572                }
11573            }
11574        }
11575        programs {
11576            program { name: "show";
11577                signal: "elm,action,show";
11578                source: "elm";
11579                action: STATE_SET "visible" 0.0;
11580                target: "base";
11581            }
11582            program { name: "show_2";
11583                signal: "show";
11584                action: STATE_SET "default" 0.0;
11585                target: "base";
11586                after: "show_3";
11587            }
11588            program { name: "show_3";
11589                signal: "show";
11590                action: STATE_SET "visible" 0.0;
11591                target: "base";
11592                transition: LINEAR 0.5;
11593            }
11594            program { name: "hide";
11595                signal: "elm,action,hide";
11596                source: "elm";
11597                action: STATE_SET "default" 0.0;
11598                target: "base";
11599            }
11600        }
11601    }
11602    group { name: "elm/notify/bottom_left/default";
11603        //this group is a design similar to the inwin group
11604        images {
11605            image: "shad_circ.png" COMP;
11606            image: "bt_dis_base.png" COMP;
11607            image: "bt_dis_hilight.png" COMP;
11608        }
11609        parts {
11610            part { name: "base";
11611                type: RECT;
11612                mouse_events: 0;
11613                repeat_events: 1;
11614                description { state: "default" 0.0;
11615                    color: 0 0 0 0;
11616                    rel1.offset: 10 10;
11617                    rel2.offset: -10 -10;
11618                    rel1.relative: 0.0 1.0;
11619                    rel2.relative: 1.0 2.0;
11620                }
11621                description { state: "visible" 0.0;
11622                    inherit: "default" 0.0;
11623                    color: 0 0 0 64;
11624                    rel1.relative: 0.0 0.0;
11625                    rel2.relative: 1.0 1.0;
11626                }
11627            }
11628            part { name: "shad";
11629                mouse_events:  0;
11630                description { state: "default" 0.0;
11631                    image.normal: "shad_circ.png";
11632                    rel1.to: "elm.swallow.content";
11633                    rel1.offset: -64 -64;
11634                    rel2.to: "elm.swallow.content";
11635                    rel2.offset: 63 63;
11636                    fill.smooth: 0;
11637                }
11638            }
11639            part { name: "pop";
11640                mouse_events: 1;
11641                description { state: "default" 0.0;
11642                    rel1.to: "elm.swallow.content";
11643                    rel1.offset: -5 -5;
11644                    rel2.to: "elm.swallow.content";
11645                    rel2.offset: 4 4;
11646                    image {
11647                        normal: "bt_dis_base.png";
11648                        border: 4 4 4 4;
11649                    }
11650                    image.middle: SOLID;
11651                }
11652            }
11653            part { name: "popover";
11654                mouse_events: 0;
11655                description { state: "default" 0.0;
11656                    rel1.to: "pop";
11657                    rel2.to: "pop";
11658                    rel2.relative: 1.0 0.5;
11659                    image {
11660                        normal: "bt_dis_hilight.png";
11661                        border: 4 4 4 0;
11662                    }
11663                }
11664            }
11665            part { name: "elm.swallow.content";
11666                type: SWALLOW;
11667                description { state: "default" 0.0;
11668                    rel1.to: "base";
11669                    rel2.to: "base";
11670                }
11671            }
11672        }
11673        programs {
11674            program { name: "show";
11675                signal: "elm,action,show";
11676                source: "elm";
11677                action: STATE_SET "visible" 0.0;
11678                target: "base";
11679            }
11680            program { name: "show_2";
11681                signal: "show";
11682                action: STATE_SET "default" 0.0;
11683                target: "base";
11684                after: "show_3";
11685            }
11686            program { name: "show_3";
11687                signal: "show";
11688                action: STATE_SET "visible" 0.0;
11689                target: "base";
11690                transition: LINEAR 0.5;
11691            }
11692            program { name: "hide";
11693                signal: "elm,action,hide";
11694                source: "elm";
11695                action: STATE_SET "default" 0.0;
11696                target: "base";
11697            }
11698        }
11699    }
11700    group { name: "elm/notify/bottom_right/default";
11701        //this group is a design similar to the inwin group
11702        images {
11703            image: "shad_circ.png" COMP;
11704            image: "bt_dis_base.png" COMP;
11705            image: "bt_dis_hilight.png" COMP;
11706        }
11707        parts {
11708            part { name: "base";
11709                type: RECT;
11710                mouse_events: 0;
11711                repeat_events: 1;
11712               description { state: "default" 0.0;
11713                    color: 0 0 0 0;
11714                    rel1.offset: 10 10;
11715                    rel2.offset: -10 -10;
11716                    rel1.relative: 0.0 1.0;
11717                    rel2.relative: 1.0 2.0;
11718                }
11719                description { state: "visible" 0.0;
11720                    inherit: "default" 0.0;
11721                    color: 0 0 0 64;
11722                    rel1.relative: 0.0 0.0;
11723                    rel2.relative: 1.0 1.0;
11724                }
11725            }
11726            part { name: "shad";
11727                mouse_events:  0;
11728                description { state: "default" 0.0;
11729                    image.normal: "shad_circ.png";
11730                    rel1.to: "elm.swallow.content";
11731                    rel1.offset: -64 -64;
11732                    rel2.to: "elm.swallow.content";
11733                    rel2.offset: 63 63;
11734                    fill.smooth: 0;
11735                }
11736            }
11737            part { name: "pop";
11738                mouse_events: 1;
11739                description { state: "default" 0.0;
11740                    rel1.to: "elm.swallow.content";
11741                    rel1.offset: -5 -5;
11742                    rel2.to: "elm.swallow.content";
11743                    rel2.offset: 4 4;
11744                    image {
11745                        normal: "bt_dis_base.png";
11746                        border: 4 4 4 4;
11747                    }
11748                    image.middle: SOLID;
11749                }
11750            }
11751            part { name: "popover";
11752                mouse_events: 0;
11753                description { state: "default" 0.0;
11754                    rel1.to: "pop";
11755                    rel2.to: "pop";
11756                    rel2.relative: 1.0 0.5;
11757                    image {
11758                        normal: "bt_dis_hilight.png";
11759                        border: 4 4 4 0;
11760                    }
11761                }
11762            }
11763            part { name: "elm.swallow.content";
11764                type: SWALLOW;
11765                description { state: "default" 0.0;
11766                    rel1.to: "base";
11767                    rel2.to: "base";
11768                }
11769            }
11770        }
11771        programs {
11772            program { name: "show";
11773                signal: "elm,action,show";
11774                source: "elm";
11775                action: STATE_SET "visible" 0.0;
11776                target: "base";
11777            }
11778            program { name: "show_2";
11779                signal: "show";
11780                action: STATE_SET "default" 0.0;
11781                target: "base";
11782                after: "show_3";
11783            }
11784            program { name: "show_3";
11785                signal: "show";
11786                action: STATE_SET "visible" 0.0;
11787                target: "base";
11788                transition: LINEAR 0.5;
11789            }
11790            program { name: "hide";
11791                signal: "elm,action,hide";
11792                source: "elm";
11793                action: STATE_SET "default" 0.0;
11794                target: "base";
11795            }
11796        }
11797    }
11798
11799 ///////////////////////////////////////////////////////////////////////////////
11800    group { name: "elm/slideshow/base/default";
11801       data {
11802          item: transitions "fade black_fade horizontal vertical square";
11803          item: layouts "fullscreen not_fullscreen";
11804       }
11805       parts {
11806          part { name: "whole";
11807                  type: RECT;
11808             description {
11809                state: "default" 0.0;
11810                visible: 1;
11811                color: 20 20 20 255;
11812             }
11813          }
11814          part { name: "image_1_whole";
11815             type: RECT;
11816             description {
11817                state: "default" 0.0;
11818                color: 255 255 255 255;
11819             }
11820             description {
11821                state: "fade_prev_next" 0.0;
11822                inherit: "default" 0.0;
11823                color: 255 255 255 0;
11824             }
11825             description {
11826                state: "black_fade_prev_next_init" 0.0;
11827                inherit: "default" 0.0;
11828                color: 255 255 255 255;
11829             }
11830             description {
11831                state: "black_fade_prev_next" 0.0;
11832                inherit: "default" 0.0;
11833                color: 0 0 0 255;
11834             }
11835             description {
11836                state: "horizontal_next_init" 0.0;
11837                inherit: "default" 0.0;
11838             }
11839             description {
11840                state: "horizontal_next" 0.0;
11841                inherit: "default" 0.0;
11842                rel1.relative: -1.0 0.0;
11843                rel2.relative: 0.0 1.0;
11844             }
11845             description {
11846                state: "horizontal_prev_init" 0.0;
11847                inherit: "default" 0.0;
11848             }
11849             description {
11850                state: "horizontal_prev" 0.0;
11851                inherit: "default" 0.0;
11852                rel1.relative: 1.0 0.0;
11853                rel2.relative: 2.0 1.0;
11854             }
11855             description {
11856                state: "vertical_next_init" 0.0;
11857                inherit: "default" 0.0;
11858             }
11859             description {
11860                state: "vertical_next" 0.0;
11861                inherit: "default" 0.0;
11862                rel1.relative: 0.0 -1.0;
11863                rel2.relative: 1.0 0.0;
11864             }
11865             description {
11866                state: "vertical_prev_init" 0.0;
11867                inherit: "default" 0.0;
11868             }
11869             description {
11870                state: "vertical_prev" 0.0;
11871                inherit: "default" 0.0;
11872                rel1.relative: 0.0 1.0;
11873                rel2.relative: 1.0 2.0;
11874             }
11875             description {
11876                state: "square_prev_next" 0.0;
11877                inherit: "default" 0.0;
11878                color: 255 255 255 0;
11879             }
11880          }
11881          part { name: "image_2_whole";
11882             type: RECT;
11883             description {
11884                state: "default" 0.0;
11885                visible: 1;
11886                color: 255 255 255 0;
11887             }
11888             description {
11889                state: "fade_prev_next" 0.0;
11890                inherit: "default" 0.0;
11891                color: 255 255 255 255;
11892             }
11893             description {
11894                state: "black_fade_prev_next_init" 0.0;
11895                inherit: "default" 0.0;
11896                color: 0 0 0 0;
11897             }
11898             description {
11899                state: "black_fade_prev_next" 0.0;
11900                inherit: "default" 0.0;
11901                color: 255 255 255 255;
11902             }
11903             description {
11904                state: "horizontal_next_init" 0.0;
11905                inherit: "default" 0.0;
11906                rel1.relative: 1.0 0.0;
11907                rel2.relative: 2.0 1.0;
11908                color: 255 255 255 255;
11909             }
11910             description {
11911                state: "horizontal_next" 0.0;
11912                inherit: "default" 0.0;
11913                color: 255 255 255 255;
11914             }
11915             description {
11916                state: "horizontal_prev_init" 0.0;
11917                inherit: "default" 0.0;
11918                rel1.relative: -1.0 0.0;
11919                rel2.relative: 0.0 1.0;
11920                color: 255 255 255 255;
11921             }
11922             description {
11923                state: "horizontal_prev" 0.0;
11924                inherit: "default" 0.0;
11925                color: 255 255 255 255;
11926             }
11927             description {
11928                state: "vertical_next_init" 0.0;
11929                inherit: "default" 0.0;
11930                rel1.relative: 0.0 1.0;
11931                rel2.relative: 1.0 2.0;
11932                color: 255 255 255 255;
11933             }
11934             description {
11935                state: "vertical_next" 0.0;
11936                inherit: "default" 0.0;
11937                color: 255 255 255 255;
11938             }
11939             description {
11940                state: "vertical_prev_init" 0.0;
11941                inherit: "default" 0.0;
11942                rel1.relative: 0.0 -1.0;
11943                rel2.relative: 1.0 0.0;
11944                color: 255 255 255 255;
11945             }
11946             description {
11947                state: "vertical_prev" 0.0;
11948                inherit: "default" 0.0;
11949                color: 255 255 255 255;
11950             }
11951             description {
11952                state: "square_prev_next_init" 0.0;
11953                inherit: "default" 0.0;
11954                rel1.relative: 0.5 0.5;
11955                rel2.relative: 0.5 0.5;
11956                color: 255 255 255 255;
11957             }
11958             description {
11959                state: "square_prev_next" 0.0;
11960                inherit: "default" 0.0;
11961                rel1.relative: 0.0 0.0;
11962                rel2.relative: 1.0 1.0;
11963                color: 255 255 255 255;
11964             }
11965          }
11966          part { name: "elm.swallow.1";
11967             type: SWALLOW;
11968             clip_to: "image_1_whole";
11969             description {
11970                state: "default" 0.0;
11971                rel1.to: "image_1_whole";
11972                rel2.to: "image_1_whole";
11973                color: 255 255 255 255;
11974             }
11975             description {
11976                state: "not_fullscreen" 0.0;
11977                rel1.relative: 0.1 0.1;
11978                rel1.to: "image_1_whole";
11979                rel2.relative: 0.9 0.9;
11980                rel2.to: "image_1_whole";
11981                color: 255 255 255 255;
11982             }
11983          }
11984          part { name: "elm.swallow.2";
11985             type: SWALLOW;
11986             clip_to: "image_2_whole";
11987             description {
11988                state: "default" 0.0;
11989                color: 255 255 255 255;
11990                rel1.to: "image_2_whole";
11991                rel2.to: "image_2_whole";
11992             }
11993             description {
11994                state: "not_fullscreen" 0.0;
11995                color: 255 255 255 255;
11996                rel1.relative: 0.1 0.1;
11997                rel1.to: "image_2_whole";
11998                rel2.relative: 0.9 0.9;
11999                rel2.to: "image_2_whole";
12000             }
12001          }
12002          part { name: "events_catcher";
12003             type: RECT;
12004             repeat_events: 1;
12005             description {
12006                state: "default" 0.0;
12007                visible: 1;
12008                color: 0 0 0 0;
12009             }
12010          }
12011       }
12012       programs {
12013               //Substyle
12014               program { name: "layout_fullscreen";
12015             signal: "layout,fullscreen";
12016             source: "slideshow";
12017             action: STATE_SET "default" 0.0;
12018             target: "elm.swallow.1";
12019             target: "elm.swallow.2";
12020             transition: SINUSOIDAL 1.0;
12021         }
12022         program { name: "layout_not_fullscreen";
12023             signal: "layout,not_fullscreen";
12024             source: "slideshow";
12025             action: STATE_SET "not_fullscreen" 0.0;
12026             target: "elm.swallow.1";
12027             target: "elm.swallow.2";
12028             transition: SINUSOIDAL 1.0;
12029          }
12030                //
12031          program { name: "fade_next";
12032             signal: "fade,next";
12033             source: "slideshow";
12034             action: STATE_SET "default" 0.0;
12035             target: "image_1_whole";
12036             target: "image_2_whole";
12037             after: "fade_next_2";
12038          }
12039          program { name: "fade_next_2";
12040             action: STATE_SET "fade_prev_next" 0.0;
12041             target: "image_1_whole";
12042             target: "image_2_whole";
12043             transition: SINUSOIDAL 1.5;
12044             after: "end";
12045          }
12046          program { name: "fade_previous";
12047             signal: "fade,previous";
12048             source: "slideshow";
12049             action: STATE_SET "default" 0.0;
12050             target: "image_1_whole";
12051             target: "image_2_whole";
12052             after: "fade_previous_2";
12053          }
12054          program { name: "fade_previous_2";
12055             action: STATE_SET "fade_prev_next" 0.0;
12056             target: "image_1_whole";
12057             target: "image_2_whole";
12058             transition: SINUSOIDAL 1.5;
12059             after: "end";
12060          }
12061          program { name: "black_fade_next";
12062             signal: "black_fade,next";
12063             source: "slideshow";
12064             action: STATE_SET "black_fade_prev_next_init" 0.0;
12065             target: "image_1_whole";
12066             target: "image_2_whole";
12067             after: "black_fade_next_2";
12068          }
12069          program { name: "black_fade_next_2";
12070             action: STATE_SET "black_fade_prev_next" 0.0;
12071             target: "image_1_whole";
12072             transition: SINUSOIDAL 0.75;
12073             after: "black_fade_next_3";
12074          }
12075          program { name: "black_fade_next_3";
12076             action: STATE_SET "black_fade_prev_next" 0.0;
12077             target: "image_2_whole";
12078             transition: SINUSOIDAL 0.75;
12079             after: "end";
12080          }
12081          program { name: "black_fade_previous";
12082             signal: "black_fade,previous";
12083             source: "slideshow";
12084             action: STATE_SET "black_fade_prev_next_init" 0.0;
12085             target: "image_1_whole";
12086             target: "image_2_whole";
12087             after: "black_fade_previous_2";
12088          }
12089          program { name: "black_fade_previous_2";
12090             action: STATE_SET "black_fade_prev_next" 0.0;
12091             target: "image_1_whole";
12092             transition: SINUSOIDAL 0.75;
12093             after: "black_fade_previous_3";
12094          }
12095          program { name: "black_fade_previous_3";
12096             action: STATE_SET "black_fade_prev_next" 0.0;
12097             target: "image_2_whole";
12098             transition: SINUSOIDAL 0.75;
12099             after: "end";
12100          }
12101          program { name: "horizontal_next";
12102             signal: "horizontal,next";
12103             source: "slideshow";
12104             action: STATE_SET "horizontal_next_init" 0.0;
12105             target: "image_1_whole";
12106             target: "image_2_whole";
12107             after: "horizontal_next_2";
12108          }
12109          program { name: "horizontal_next_2";
12110             action: STATE_SET "horizontal_next" 0.0;
12111             target: "image_1_whole";
12112             target: "image_2_whole";
12113             transition: SINUSOIDAL 1.5;
12114             after: "end";
12115          }
12116          program { name: "horizontal_previous";
12117             signal: "horizontal,previous";
12118             source: "slideshow";
12119             action: STATE_SET "horizontal_prev_init" 0.0;
12120             target: "image_1_whole";
12121             target: "image_2_whole";
12122             after: "horizontal_previous_2";
12123          }
12124          program { name: "horizontal_previous_2";
12125             action: STATE_SET "horizontal_prev" 0.0;
12126             target: "image_1_whole";
12127             target: "image_2_whole";
12128             transition: SINUSOIDAL 1.5;
12129             after: "end";
12130          }
12131          program { name: "vertical_next";
12132             signal: "vertical,next";
12133             source: "slideshow";
12134             action: STATE_SET "vertical_next_init" 0.0;
12135             target: "image_1_whole";
12136             target: "image_2_whole";
12137             after: "vertical_next_2";
12138          }
12139          program { name: "vertical_next_2";
12140             action: STATE_SET "vertical_next" 0.0;
12141             target: "image_1_whole";
12142             target: "image_2_whole";
12143             transition: SINUSOIDAL 1.5;
12144             after: "end";
12145          }
12146          program { name: "vertical_previous";
12147             signal: "vertical,previous";
12148             source: "slideshow";
12149             action: STATE_SET "vertical_prev_init" 0.0;
12150             target: "image_1_whole";
12151             target: "image_2_whole";
12152             after: "vertical_previous_2";
12153          }
12154          program { name: "vertical_previous_2";
12155             action: STATE_SET "vertical_prev" 0.0;
12156             target: "image_1_whole";
12157             target: "image_2_whole";
12158             transition: SINUSOIDAL 1.5;
12159             after: "end";
12160          }
12161          program { name: "square_next";
12162             signal: "square,next";
12163             source: "slideshow";
12164             action: STATE_SET "square_prev_next_init" 0.0;
12165             target: "image_2_whole";
12166             after: "square_next_2";
12167          }
12168          program { name: "square_next_2";
12169             action: STATE_SET "square_prev_next" 0.0;
12170             target: "image_2_whole";
12171             target: "image_1_whole";
12172             transition: SINUSOIDAL 1.5;
12173             after: "end";
12174          }
12175          program { name: "square_previous";
12176             signal: "square,previous";
12177             source: "slideshow";
12178             action: STATE_SET "square_prev_next_init" 0.0;
12179             target: "image_2_whole";
12180             after: "square_next_2";
12181          }
12182          program { name: "end";
12183             action: SIGNAL_EMIT "end" "slideshow";
12184          }
12185          program { name: "end_signal";
12186             signal: "anim,end";
12187             source: "slideshow";
12188             action: STATE_SET "default" 0.0;
12189             target: "image_1_whole";
12190             target: "image_2_whole";
12191          }
12192       }
12193    }
12194
12195 ///////////////////////////////////////////////////////////////////////////////
12196    group { name: "elm/win/inwin/default";
12197       images {
12198          image: "shad_circ.png" COMP;
12199          image: "bt_dis_base.png" COMP;
12200          image: "bt_dis_hilight.png" COMP;
12201       }
12202       parts {
12203          part { name: "base";
12204             type: RECT;
12205             mouse_events: 1;
12206             description { state: "default" 0.0;
12207                color: 0 0 0 0;
12208             }
12209             description { state: "visible" 0.0;
12210                inherit: "default" 1.0;
12211                color: 0 0 0 64;
12212             }
12213          }
12214          part { name: "shad";
12215             mouse_events:  0;
12216             description { state: "default" 0.0;
12217                image.normal: "shad_circ.png";
12218                rel1.to: "elm.swallow.content";
12219                rel1.offset: -64 -64;
12220                rel2.to: "elm.swallow.content";
12221                rel2.offset: 63 63;
12222                fill.smooth: 0;
12223             }
12224          }
12225          part { name: "pop";
12226             mouse_events: 1;
12227             description { state: "default" 0.0;
12228                rel1.to: "elm.swallow.content";
12229                rel1.offset: -5 -5;
12230                rel2.to: "elm.swallow.content";
12231                rel2.offset: 4 4;
12232                image {
12233                   normal: "bt_dis_base.png";
12234                   border: 4 4 4 4;
12235                }
12236                image.middle: SOLID;
12237             }
12238          }
12239          part { name: "popover";
12240             mouse_events: 0;
12241             description { state: "default" 0.0;
12242                rel1.to: "pop";
12243                rel2.to: "pop";
12244                rel2.relative: 1.0 0.5;
12245                image {
12246                   normal: "bt_dis_hilight.png";
12247                   border: 4 4 4 0;
12248                }
12249             }
12250          }
12251          part { name: "elm.swallow.content";
12252             type: SWALLOW;
12253             description { state: "default" 0.0;
12254                rel1.relative: 0.1 0.1;
12255                rel2.relative: 0.9 0.9;
12256             }
12257          }
12258       }
12259       programs {
12260          program { name: "show";
12261             signal: "elm,action,show";
12262             source: "elm";
12263             action: STATE_SET "visible" 0.0;
12264 //            transition: DECELERATE 0.5;
12265             target: "base";
12266          }
12267          program { name: "hide";
12268             signal: "elm,action,hide";
12269             source: "elm";
12270             action: STATE_SET "default" 0.0;
12271 //            transition: DECELERATE 0.5;
12272             target: "base";
12273          }
12274       }
12275    }
12276
12277    group { name: "elm/win/inwin/minimal";
12278       images {
12279          image: "shad_circ.png" COMP;
12280          image: "bt_dis_base.png" COMP;
12281          image: "bt_dis_hilight.png" COMP;
12282       }
12283       parts {
12284          part { name: "base";
12285             type: RECT;
12286             mouse_events: 1;
12287             description { state: "default" 0.0;
12288                color: 0 0 0 0;
12289             }
12290             description { state: "visible" 0.0;
12291                inherit: "default" 1.0;
12292                color: 0 0 0 64;
12293             }
12294          }
12295          part { name: "shad";
12296             mouse_events:  0;
12297             description { state: "default" 0.0;
12298                image.normal: "shad_circ.png";
12299                rel1.to: "elm.swallow.content";
12300                rel1.offset: -64 -64;
12301                rel2.to: "elm.swallow.content";
12302                rel2.offset: 63 63;
12303                fill.smooth: 0;
12304             }
12305          }
12306          part { name: "pop";
12307             mouse_events: 1;
12308             description { state: "default" 0.0;
12309                rel1.to: "elm.swallow.content";
12310                rel1.offset: -5 -5;
12311                rel2.to: "elm.swallow.content";
12312                rel2.offset: 4 4;
12313                image {
12314                   normal: "bt_dis_base.png";
12315                   border: 4 4 4 4;
12316                }
12317                image.middle: SOLID;
12318             }
12319          }
12320          part { name: "popover";
12321             mouse_events: 0;
12322             description { state: "default" 0.0;
12323                rel1.to: "pop";
12324                rel2.to: "pop";
12325                rel2.relative: 1.0 0.5;
12326                image {
12327                   normal: "bt_dis_hilight.png";
12328                   border: 4 4 4 0;
12329                }
12330             }
12331          }
12332          part { name: "elm.swallow.content";
12333             type: SWALLOW;
12334             description { state: "default" 0.0;
12335                fixed: 1 1;
12336                rel1.relative: 0.5 0.5;
12337                rel2.relative: 0.5 0.5;
12338             }
12339          }
12340       }
12341       programs {
12342          program { name: "show";
12343             signal: "elm,action,show";
12344             source: "elm";
12345             action: STATE_SET "visible" 0.0;
12346 //            transition: DECELERATE 0.5;
12347             target: "base";
12348          }
12349          program { name: "hide";
12350             signal: "elm,action,hide";
12351             source: "elm";
12352             action: STATE_SET "default" 0.0;
12353 //            transition: DECELERATE 0.5;
12354             target: "base";
12355          }
12356       }
12357    }
12358
12359    group { name: "elm/win/inwin/minimal_vertical";
12360       images {
12361          image: "shad_circ.png" COMP;
12362          image: "bt_dis_base.png" COMP;
12363          image: "bt_dis_hilight.png" COMP;
12364       }
12365       parts {
12366          part { name: "base";
12367             type: RECT;
12368             mouse_events: 1;
12369             description { state: "default" 0.0;
12370                color: 0 0 0 0;
12371             }
12372             description { state: "visible" 0.0;
12373                inherit: "default" 1.0;
12374                color: 0 0 0 64;
12375             }
12376          }
12377          part { name: "shad";
12378             mouse_events:  0;
12379             description { state: "default" 0.0;
12380                image.normal: "shad_circ.png";
12381                rel1.to: "elm.swallow.content";
12382                rel1.offset: -64 -64;
12383                rel2.to: "elm.swallow.content";
12384                rel2.offset: 63 63;
12385                fill.smooth: 0;
12386             }
12387          }
12388          part { name: "pop";
12389             mouse_events: 1;
12390             description { state: "default" 0.0;
12391                rel1.to: "elm.swallow.content";
12392                rel1.offset: -5 -5;
12393                rel2.to: "elm.swallow.content";
12394                rel2.offset: 4 4;
12395                image {
12396                   normal: "bt_dis_base.png";
12397                   border: 4 4 4 4;
12398                }
12399                image.middle: SOLID;
12400             }
12401          }
12402          part { name: "popover";
12403             mouse_events: 0;
12404             description { state: "default" 0.0;
12405                rel1.to: "pop";
12406                rel2.to: "pop";
12407                rel2.relative: 1.0 0.5;
12408                image {
12409                   normal: "bt_dis_hilight.png";
12410                   border: 4 4 4 0;
12411                }
12412             }
12413          }
12414          part { name: "elm.swallow.content";
12415             type: SWALLOW;
12416             description { state: "default" 0.0;
12417                fixed: 1 1;
12418                rel1.relative: 0.1 0.5;
12419                rel2.relative: 0.9 0.5;
12420             }
12421          }
12422       }
12423       programs {
12424          program { name: "show";
12425             signal: "elm,action,show";
12426             source: "elm";
12427             action: STATE_SET "visible" 0.0;
12428 //            transition: DECELERATE 0.5;
12429             target: "base";
12430          }
12431          program { name: "hide";
12432             signal: "elm,action,hide";
12433             source: "elm";
12434             action: STATE_SET "default" 0.0;
12435 //            transition: DECELERATE 0.5;
12436             target: "base";
12437          }
12438       }
12439    }
12440
12441 ///////////////////////////////////////////////////////////////////////////////
12442
12443 ///////////////////////////////////////////////////////////////////////////////
12444    group { name: "elm/list/item/default";
12445       data.item: "stacking" "above";
12446       images {
12447          image: "bt_sm_base1.png" COMP;
12448          image: "bt_sm_shine.png" COMP;
12449          image: "bt_sm_hilight.png" COMP;
12450          image: "ilist_1.png" COMP;
12451          image: "ilist_item_shadow.png" COMP;
12452       }
12453       parts {
12454          part {
12455             name:           "event";
12456             type:           RECT;
12457             repeat_events: 1;
12458             description {
12459                state: "default" 0.0;
12460                color: 0 0 0 0;
12461             }
12462          }
12463          part {
12464             name: "base_sh";
12465             mouse_events: 0;
12466             description {
12467                state: "default" 0.0;
12468                align: 0.0 0.0;
12469                min: 0 10;
12470                fixed: 1 1;
12471                rel1 {
12472                   to: "base";
12473                   relative: 0.0 1.0;
12474                   offset: 0 0;
12475                }
12476                rel2 {
12477                   to: "base";
12478                   relative: 1.0 1.0;
12479                   offset: -1 0;
12480                }
12481                image {
12482                   normal: "ilist_item_shadow.png";
12483                }
12484                fill.smooth: 0;
12485             }
12486          }
12487          part {
12488             name: "base";
12489             mouse_events: 0;
12490             description {
12491                state: "default" 0.0;
12492                image {
12493                   normal: "ilist_1.png";
12494                   border: 2 2 2 2;
12495                }
12496                fill.smooth: 0;
12497             }
12498          }
12499          part { name: "bg";
12500             mouse_events: 0;
12501             description { state: "default" 0.0;
12502                visible: 0;
12503                color: 255 255 255 0;
12504                rel1 {
12505                   relative: 0.0 0.0;
12506                   offset: -5 -5;
12507                }
12508                rel2 {
12509                   relative: 1.0 1.0;
12510                   offset: 4 4;
12511                }
12512                image {
12513                   normal: "bt_sm_base1.png";
12514                   border: 6 6 6 6;
12515                }
12516                image.middle: SOLID;
12517             }
12518             description { state: "selected" 0.0;
12519                inherit: "default" 0.0;
12520                visible: 1;
12521                color: 255 255 255 255;
12522                rel1 {
12523                   relative: 0.0 0.0;
12524                   offset: -2 -2;
12525                }
12526                rel2 {
12527                   relative: 1.0 1.0;
12528                   offset: 1 1;
12529                }
12530             }
12531          }
12532          part { name: "elm.swallow.icon";
12533             type: SWALLOW;
12534             description { state: "default" 0.0;
12535                fixed: 1 0;
12536                align: 0.0 0.5;
12537                rel1 {
12538                   relative: 0.0  0.0;
12539                   offset:   4    4;
12540                }
12541                rel2 {
12542                   relative: 0.0  1.0;
12543                   offset:   4   -5;
12544                }
12545             }
12546          }
12547          part { name: "elm.swallow.end";
12548             type: SWALLOW;
12549             description { state: "default" 0.0;
12550                fixed: 1 0;
12551                align: 1.0 0.5;
12552                rel1 {
12553                   relative: 1.0  0.0;
12554                   offset:   -5    4;
12555                }
12556                rel2 {
12557                   relative: 1.0  1.0;
12558                   offset:   -5   -5;
12559                }
12560             }
12561          }
12562          part { name: "elm.text";
12563             type:           TEXT;
12564             effect:         SOFT_SHADOW;
12565             mouse_events:   0;
12566             scale: 1;
12567             description {
12568                state: "default" 0.0;
12569 //               min: 16 16;
12570                rel1 {
12571                   to_x:     "elm.swallow.icon";
12572                   relative: 1.0  0.0;
12573                   offset:   4 4;
12574                }
12575                rel2 {
12576                   to_x:     "elm.swallow.end";
12577                   relative: 0.0  1.0;
12578                   offset:   -1 -5;
12579                }
12580                color: 0 0 0 255;
12581                color3: 0 0 0 0;
12582                text {
12583                   font: "Sans";
12584                   size: 10;
12585                   min: 1 1;
12586 //                  min: 0 1;
12587                   align: -1.0 0.5;
12588                   text_class: "list_item";
12589                }
12590             }
12591             description { state: "selected" 0.0;
12592                inherit: "default" 0.0;
12593                color: 224 224 224 255;
12594                color3: 0 0 0 64;
12595             }
12596          }
12597          part { name: "fg1";
12598             mouse_events: 0;
12599             description { state: "default" 0.0;
12600                visible: 0;
12601                color: 255 255 255 0;
12602                rel1.to: "bg";
12603                rel2.relative: 1.0 0.5;
12604                rel2.to: "bg";
12605                image {
12606                   normal: "bt_sm_hilight.png";
12607                   border: 6 6 6 0;
12608                }
12609             }
12610             description { state: "selected" 0.0;
12611                inherit: "default" 0.0;
12612                visible: 1;
12613                color: 255 255 255 255;
12614             }
12615          }
12616          part { name: "fg2";
12617             mouse_events: 0;
12618             description { state: "default" 0.0;
12619                visible: 0;
12620                color: 255 255 255 0;
12621                rel1.to: "bg";
12622                rel2.to: "bg";
12623                image {
12624                   normal: "bt_sm_shine.png";
12625                   border: 6 6 6 0;
12626                }
12627             }
12628             description { state: "selected" 0.0;
12629                inherit: "default" 0.0;
12630                visible: 1;
12631                color: 255 255 255 255;
12632             }
12633          }
12634       }
12635       programs {
12636          program {
12637             name:    "go_active";
12638             signal:  "elm,state,selected";
12639             source:  "elm";
12640             action:  STATE_SET "selected" 0.0;
12641             target:  "bg";
12642             target:  "fg1";
12643             target:  "fg2";
12644             target:  "elm.text";
12645          }
12646          program {
12647             name:    "go_passive";
12648             signal:  "elm,state,unselected";
12649             source:  "elm";
12650             action:  STATE_SET "default" 0.0;
12651             target:  "bg";
12652             target:  "fg1";
12653             target:  "fg2";
12654             target:  "elm.text";
12655             transition: LINEAR 0.1;
12656          }
12657       }
12658    }
12659    group { name: "elm/list/item_odd/default";
12660       data.item: "stacking" "below";
12661       data.item: "selectraise" "on";
12662       images {
12663          image: "bt_sm_base1.png" COMP;
12664          image: "bt_sm_shine.png" COMP;
12665          image: "bt_sm_hilight.png" COMP;
12666          image: "ilist_2.png" COMP;
12667       }
12668       parts {
12669          part {
12670             name:           "event";
12671             type:           RECT;
12672             repeat_events: 1;
12673             description {
12674                state: "default" 0.0;
12675                color: 0 0 0 0;
12676             }
12677          }
12678          part {
12679             name: "base";
12680             mouse_events: 0;
12681             description {
12682                state: "default" 0.0;
12683                image {
12684                   normal: "ilist_2.png";
12685                   border: 2 2 2 2;
12686                }
12687                fill.smooth: 0;
12688             }
12689          }
12690          part { name: "bg";
12691             mouse_events: 0;
12692             description { state: "default" 0.0;
12693                visible: 0;
12694                color: 255 255 255 0;
12695                rel1 {
12696                   relative: 0.0 0.0;
12697                   offset: -5 -5;
12698                }
12699                rel2 {
12700                   relative: 1.0 1.0;
12701                   offset: 4 4;
12702                }
12703                image {
12704                   normal: "bt_sm_base1.png";
12705                   border: 6 6 6 6;
12706                }
12707                image.middle: SOLID;
12708             }
12709             description { state: "selected" 0.0;
12710                inherit: "default" 0.0;
12711                visible: 1;
12712                color: 255 255 255 255;
12713                rel1 {
12714                   relative: 0.0 0.0;
12715                   offset: -2 -2;
12716                }
12717                rel2 {
12718                   relative: 1.0 1.0;
12719                   offset: 1 1;
12720                }
12721             }
12722          }
12723          part {
12724             name:          "elm.swallow.icon";
12725             type:          SWALLOW;
12726             description { state:    "default" 0.0;
12727                fixed: 1 0;
12728                align:    0.0 0.5;
12729                rel1 {
12730                   relative: 0.0  0.0;
12731                   offset:   4    4;
12732                }
12733                rel2 {
12734                   relative: 0.0  1.0;
12735                   offset:   4   -5;
12736                }
12737             }
12738          }
12739          part {
12740             name:          "elm.swallow.end";
12741             type:          SWALLOW;
12742             description { state:    "default" 0.0;
12743                fixed: 1 0;
12744                align: 1.0 0.5;
12745                rel1 {
12746                   relative: 1.0  0.0;
12747                   offset:   -5    4;
12748                }
12749                rel2 {
12750                   relative: 1.0  1.0;
12751                   offset:   -5   -5;
12752                }
12753             }
12754          }
12755          part {
12756             name:           "elm.text";
12757             type:           TEXT;
12758             effect:         SOFT_SHADOW;
12759             mouse_events:   0;
12760             scale: 1;
12761             description {
12762                state: "default" 0.0;
12763 //               min:      16 16;
12764                rel1 {
12765                   to_x:     "elm.swallow.icon";
12766                   relative: 1.0  0.0;
12767                   offset:   4 4;
12768                }
12769                rel2 {
12770                   to_x:     "elm.swallow.end";
12771                   relative: 0.0  1.0;
12772                   offset:   -1 -5;
12773                }
12774                color: 0 0 0 255;
12775                color3: 0 0 0 0;
12776                text {
12777                   font: "Sans";
12778                   size: 10;
12779                   min: 1 1;
12780 //                  min: 0 1;
12781                   align: -1.0 0.5;
12782                   text_class: "list_item";
12783                }
12784             }
12785             description { state: "selected" 0.0;
12786                inherit: "default" 0.0;
12787                color: 224 224 224 255;
12788                color3: 0 0 0 64;
12789             }
12790          }
12791          part { name: "fg1";
12792             mouse_events: 0;
12793             description { state: "default" 0.0;
12794                visible: 0;
12795                color: 255 255 255 0;
12796                rel1.to: "bg";
12797                rel2.relative: 1.0 0.5;
12798                rel2.to: "bg";
12799                image {
12800                   normal: "bt_sm_hilight.png";
12801                   border: 6 6 6 0;
12802                }
12803             }
12804             description { state: "selected" 0.0;
12805                inherit: "default" 0.0;
12806                visible: 1;
12807                color: 255 255 255 255;
12808             }
12809          }
12810          part { name: "fg2";
12811             mouse_events: 0;
12812             description { state: "default" 0.0;
12813                visible: 0;
12814                color: 255 255 255 0;
12815                rel1.to: "bg";
12816                rel2.to: "bg";
12817                image {
12818                   normal: "bt_sm_shine.png";
12819                   border: 6 6 6 0;
12820                }
12821             }
12822             description { state: "selected" 0.0;
12823                inherit: "default" 0.0;
12824                visible: 1;
12825                color: 255 255 255 255;
12826             }
12827          }
12828       }
12829       programs {
12830          program {
12831             name:    "go_active";
12832             signal:  "elm,state,selected";
12833             source:  "elm";
12834             action:  STATE_SET "selected" 0.0;
12835             target:  "bg";
12836             target:  "fg1";
12837             target:  "fg2";
12838             target:  "elm.text";
12839          }
12840          program {
12841             name:    "go_passive";
12842             signal:  "elm,state,unselected";
12843             source:  "elm";
12844             action:  STATE_SET "default" 0.0;
12845             target:  "bg";
12846             target:  "fg1";
12847             target:  "fg2";
12848             target:  "elm.text";
12849             transition: LINEAR 0.1;
12850          }
12851       }
12852    }
12853    group { name: "elm/list/item_compress/default";
12854       data.item: "stacking" "above";
12855       data.item: "selectraise" "on";
12856       images {
12857          image: "bt_sm_base1.png" COMP;
12858          image: "bt_sm_shine.png" COMP;
12859          image: "bt_sm_hilight.png" COMP;
12860          image: "ilist_1.png" COMP;
12861          image: "ilist_item_shadow.png" COMP;
12862       }
12863       parts {
12864          part {
12865             name:           "event";
12866             type:           RECT;
12867             repeat_events: 1;
12868             description {
12869                state: "default" 0.0;
12870                color: 0 0 0 0;
12871             }
12872          }
12873          part {
12874             name: "base_sh";
12875             mouse_events: 0;
12876             description { state: "default" 0.0;
12877                fixed: 1 1;
12878                align: 0.0 0.0;
12879                min: 0 10;
12880                rel1 {
12881                   to: "base";
12882                   relative: 0.0 1.0;
12883                   offset: 0 0;
12884                }
12885                rel2 {
12886                   to: "base";
12887                   relative: 1.0 1.0;
12888                   offset: -1 0;
12889                }
12890                image {
12891                   normal: "ilist_item_shadow.png";
12892                }
12893                fill.smooth: 0;
12894             }
12895          }
12896          part {
12897             name: "base";
12898             mouse_events: 0;
12899             description {
12900                state: "default" 0.0;
12901                image {
12902                   normal: "ilist_1.png";
12903                   border: 2 2 2 2;
12904                }
12905                fill.smooth: 0;
12906             }
12907          }
12908          part { name: "bg";
12909             mouse_events: 0;
12910             description { state: "default" 0.0;
12911                visible: 0;
12912                color: 255 255 255 0;
12913                rel1 {
12914                   relative: 0.0 0.0;
12915                   offset: -5 -5;
12916                }
12917                rel2 {
12918                   relative: 1.0 1.0;
12919                   offset: 4 4;
12920                }
12921                image {
12922                   normal: "bt_sm_base1.png";
12923                   border: 6 6 6 6;
12924                }
12925                image.middle: SOLID;
12926             }
12927             description { state: "selected" 0.0;
12928                inherit: "default" 0.0;
12929                visible: 1;
12930                color: 255 255 255 255;
12931                rel1 {
12932                   relative: 0.0 0.0;
12933                   offset: -2 -2;
12934                }
12935                rel2 {
12936                   relative: 1.0 1.0;
12937                   offset: 1 1;
12938                }
12939             }
12940          }
12941          part { name:          "elm.swallow.icon";
12942             type:          SWALLOW;
12943             description { state:    "default" 0.0;
12944                fixed: 1 0;
12945                align:    0.0 0.5;
12946                rel1 {
12947                   relative: 0.0  0.0;
12948                   offset:   4    4;
12949                }
12950                rel2 {
12951                   relative: 0.0  1.0;
12952                   offset:   4   -5;
12953                }
12954             }
12955          }
12956          part { name:          "elm.swallow.end";
12957             type:          SWALLOW;
12958             description { state:    "default" 0.0;
12959                fixed: 1 0;
12960                align:    1.0 0.5;
12961                rel1 {
12962                   relative: 1.0  0.0;
12963                   offset:   -5    4;
12964                }
12965                rel2 {
12966                   relative: 1.0  1.0;
12967                   offset:   -5   -5;
12968                }
12969             }
12970          }
12971          part {
12972             name:           "elm.text";
12973             type:           TEXT;
12974             effect:         SOFT_SHADOW;
12975             mouse_events:   0;
12976             scale: 1;
12977             description { state: "default" 0.0;
12978 //               min:      16 16;
12979                rel1 {
12980                   to_x:     "elm.swallow.icon";
12981                   relative: 1.0  0.0;
12982                   offset:   4 4;
12983                }
12984                rel2 {
12985                   to_x:     "elm.swallow.end";
12986                   relative: 0.0  1.0;
12987                   offset:   -1 -5;
12988                }
12989                color: 0 0 0 255;
12990                color3: 0 0 0 0;
12991                text {
12992                   font: "Sans";
12993                   size: 10;
12994 //                  min: 1 1;
12995                   min: 0 1;
12996                   align: 0.0 0.5;
12997                   text_class: "list_item";
12998                }
12999             }
13000             description { state: "selected" 0.0;
13001                inherit: "default" 0.0;
13002                color: 224 224 224 255;
13003                color3: 0 0 0 64;
13004             }
13005          }
13006          part { name: "fg1";
13007             mouse_events: 0;
13008             description { state: "default" 0.0;
13009                visible: 0;
13010                color: 255 255 255 0;
13011                rel1.to: "bg";
13012                rel2.relative: 1.0 0.5;
13013                rel2.to: "bg";
13014                image {
13015                   normal: "bt_sm_hilight.png";
13016                   border: 6 6 6 0;
13017                }
13018             }
13019             description { state: "selected" 0.0;
13020                inherit: "default" 0.0;
13021                visible: 1;
13022                color: 255 255 255 255;
13023             }
13024          }
13025          part { name: "fg2";
13026             mouse_events: 0;
13027             description { state: "default" 0.0;
13028                visible: 0;
13029                color: 255 255 255 0;
13030                rel1.to: "bg";
13031                rel2.to: "bg";
13032                image {
13033                   normal: "bt_sm_shine.png";
13034                   border: 6 6 6 0;
13035                }
13036             }
13037             description { state: "selected" 0.0;
13038                inherit: "default" 0.0;
13039                visible: 1;
13040                color: 255 255 255 255;
13041             }
13042          }
13043       }
13044       programs {
13045          program {
13046             name:    "go_active";
13047             signal:  "elm,state,selected";
13048             source:  "elm";
13049             action:  STATE_SET "selected" 0.0;
13050             target:  "bg";
13051             target:  "fg1";
13052             target:  "fg2";
13053             target:  "elm.text";
13054          }
13055          program {
13056             name:    "go_passive";
13057             signal:  "elm,state,unselected";
13058             source:  "elm";
13059             action:  STATE_SET "default" 0.0;
13060             target:  "bg";
13061             target:  "fg1";
13062             target:  "fg2";
13063             target:  "elm.text";
13064             transition: LINEAR 0.1;
13065          }
13066       }
13067    }
13068    group { name: "elm/list/item_compress_odd/default";
13069       data.item: "stacking" "below";
13070       data.item: "selectraise" "on";
13071       images {
13072          image: "bt_sm_base1.png" COMP;
13073          image: "bt_sm_shine.png" COMP;
13074          image: "bt_sm_hilight.png" COMP;
13075          image: "ilist_2.png" COMP;
13076       }
13077       parts {
13078          part {
13079             name:           "event";
13080             type:           RECT;
13081             repeat_events: 1;
13082             description {
13083                state: "default" 0.0;
13084                color: 0 0 0 0;
13085             }
13086          }
13087          part {
13088             name: "base";
13089             mouse_events: 0;
13090             description {
13091                state: "default" 0.0;
13092                image {
13093                   normal: "ilist_2.png";
13094                   border: 2 2 2 2;
13095                }
13096                fill.smooth: 0;
13097             }
13098          }
13099          part { name: "bg";
13100             mouse_events: 0;
13101             description { state: "default" 0.0;
13102                visible: 0;
13103                color: 255 255 255 0;
13104                rel1 {
13105                   relative: 0.0 0.0;
13106                   offset: -5 -5;
13107                }
13108                rel2 {
13109                   relative: 1.0 1.0;
13110                   offset: 4 4;
13111                }
13112                image {
13113                   normal: "bt_sm_base1.png";
13114                   border: 6 6 6 6;
13115                }
13116                image.middle: SOLID;
13117             }
13118             description { state: "selected" 0.0;
13119                inherit: "default" 0.0;
13120                visible: 1;
13121                color: 255 255 255 255;
13122                rel1 {
13123                   relative: 0.0 0.0;
13124                   offset: -2 -2;
13125                }
13126                rel2 {
13127                   relative: 1.0 1.0;
13128                   offset: 1 1;
13129                }
13130             }
13131          }
13132          part { name:          "elm.swallow.icon";
13133             type:          SWALLOW;
13134             description { state:    "default" 0.0;
13135                fixed: 1 0;
13136                align:    0.0 0.5;
13137                rel1 {
13138                   relative: 0.0  0.0;
13139                   offset:   4    4;
13140                }
13141                rel2 {
13142                   relative: 0.0  1.0;
13143                   offset:   4   -5;
13144                }
13145             }
13146          }
13147          part { name:          "elm.swallow.end";
13148             type:          SWALLOW;
13149             description { state:    "default" 0.0;
13150                fixed: 1 0;
13151                align:    1.0 0.5;
13152                rel1 {
13153                   relative: 1.0  0.0;
13154                   offset:   -5    4;
13155                }
13156                rel2 {
13157                   relative: 1.0  1.0;
13158                   offset:   -5   -5;
13159                }
13160             }
13161          }
13162          part {
13163             name:           "elm.text";
13164             type:           TEXT;
13165             effect:         SOFT_SHADOW;
13166             mouse_events:   0;
13167             scale: 1;
13168             description {
13169                state: "default" 0.0;
13170 //               min:      16 16;
13171                rel1 {
13172                   to_x:     "elm.swallow.icon";
13173                   relative: 1.0  0.0;
13174                   offset:   4 4;
13175                }
13176                rel2 {
13177                   to_x:     "elm.swallow.end";
13178                   relative: 0.0  1.0;
13179                   offset:   -1 -5;
13180                }
13181                color: 0 0 0 255;
13182                color3: 0 0 0 0;
13183                text {
13184                   font: "Sans";
13185                   size: 10;
13186 //                  min: 1 1;
13187                   min: 0 1;
13188                   align: 0.0 0.5;
13189                   text_class: "list_item";
13190                }
13191             }
13192             description { state: "selected" 0.0;
13193                inherit: "default" 0.0;
13194                color: 224 224 224 255;
13195                color3: 0 0 0 64;
13196             }
13197          }
13198          part { name: "fg1";
13199             mouse_events: 0;
13200             description { state: "default" 0.0;
13201                visible: 0;
13202                color: 255 255 255 0;
13203                rel1.to: "bg";
13204                rel2.relative: 1.0 0.5;
13205                rel2.to: "bg";
13206                image {
13207                   normal: "bt_sm_hilight.png";
13208                   border: 6 6 6 0;
13209                }
13210             }
13211             description { state: "selected" 0.0;
13212                inherit: "default" 0.0;
13213                visible: 1;
13214                color: 255 255 255 255;
13215             }
13216          }
13217          part { name: "fg2";
13218             mouse_events: 0;
13219             description { state: "default" 0.0;
13220                visible: 0;
13221                color: 255 255 255 0;
13222                rel1.to: "bg";
13223                rel2.to: "bg";
13224                image {
13225                   normal: "bt_sm_shine.png";
13226                   border: 6 6 6 0;
13227                }
13228             }
13229             description { state: "selected" 0.0;
13230                inherit: "default" 0.0;
13231                visible: 1;
13232                color: 255 255 255 255;
13233             }
13234          }
13235       }
13236       programs {
13237          program {
13238             name:    "go_active";
13239             signal:  "elm,state,selected";
13240             source:  "elm";
13241             action:  STATE_SET "selected" 0.0;
13242             target:  "bg";
13243             target:  "fg1";
13244             target:  "fg2";
13245             target:  "elm.text";
13246          }
13247          program {
13248             name:    "go_passive";
13249             signal:  "elm,state,unselected";
13250             source:  "elm";
13251             action:  STATE_SET "default" 0.0;
13252             target:  "bg";
13253             target:  "fg1";
13254             target:  "fg2";
13255             target:  "elm.text";
13256             transition: LINEAR 0.1;
13257          }
13258       }
13259    }
13260
13261 ///////////////////////////////////////////////////////////////////////////////
13262    group { name: "elm/list/h_item/default";
13263       data.item: "stacking" "above";
13264       images {
13265          image: "bt_sm_base1.png" COMP;
13266          image: "bt_sm_shine.png" COMP;
13267          image: "bt_sm_hilight.png" COMP;
13268          image: "ilist_1_h.png" COMP;
13269          image: "ilist_item_shadow_h.png" COMP;
13270       }
13271       parts {
13272          part {
13273             name: "event";
13274             type: RECT;
13275             repeat_events: 1;
13276             description {
13277                state: "default" 0.0;
13278                color: 0 0 0 0;
13279             }
13280          }
13281          part {
13282             name: "base_sh";
13283             mouse_events: 0;
13284             description {
13285                state: "default" 0.0;
13286                align: 0.0 0.0;
13287                min: 10 0;
13288                fixed: 1 1;
13289                rel1 {
13290                   to: "base";
13291                   relative: 1.0 0.0;
13292                   offset: 0 0;
13293                }
13294                rel2 {
13295                   to: "base";
13296                   relative: 1.0 1.0;
13297                   offset: 0 -1;
13298                }
13299                image {
13300                   normal: "ilist_item_shadow_h.png";
13301                }
13302                fill.smooth: 0;
13303             }
13304          }
13305          part {
13306             name: "base";
13307             mouse_events: 0;
13308             description {
13309                state: "default" 0.0;
13310                image {
13311                   normal: "ilist_1_h.png";
13312                   border: 2 2 2 2;
13313                }
13314                fill.smooth: 0;
13315             }
13316          }
13317          part { name: "bg";
13318             mouse_events: 0;
13319             description { state: "default" 0.0;
13320                visible: 0;
13321                color: 255 255 255 0;
13322                rel1 {
13323                   relative: 0.0 0.0;
13324                   offset: -5 -5;
13325                }
13326                rel2 {
13327                   relative: 1.0 1.0;
13328                   offset: 4 4;
13329                }
13330                image {
13331                   normal: "bt_sm_base1.png";
13332                   border: 6 6 6 6;
13333                }
13334                image.middle: SOLID;
13335             }
13336             description { state: "selected" 0.0;
13337                inherit: "default" 0.0;
13338                visible: 1;
13339                color: 255 255 255 255;
13340                rel1 {
13341                   relative: 0.0 0.0;
13342                   offset: -2 -2;
13343                }
13344                rel2 {
13345                   relative: 1.0 1.0;
13346                   offset: 1 1;
13347                }
13348             }
13349          }
13350          part { name: "elm.swallow.icon";
13351             type: SWALLOW;
13352             description { state: "default" 0.0;
13353                fixed: 0 1;
13354                align: 0.5 0.0;
13355                rel1 {
13356                   relative: 0.0 0.0;
13357                   offset: 4 4;
13358                }
13359                rel2 {
13360                   relative: 1.0 0.0;
13361                   offset: -5 4;
13362                }
13363             }
13364          }
13365          part { name: "elm.swallow.end";
13366             type: SWALLOW;
13367             description { state: "default" 0.0;
13368                fixed: 0 1;
13369                align: 0.5 1.0;
13370                rel1 {
13371                   relative: 0.0 1.0;
13372                   offset: 4 -5;
13373                }
13374                rel2 {
13375                   relative: 1.0 1.0;
13376                   offset: -5 -5;
13377                }
13378             }
13379          }
13380          part { name: "elm.text";
13381             type: TEXT;
13382             effect: SOFT_SHADOW;
13383             mouse_events: 0;
13384             scale: 1;
13385             description {
13386                state: "default" 0.0;
13387                fixed: 0 1;
13388                rel1 {
13389                   to_x: "elm.swallow.icon";
13390                   relative: 0.0 1.0;
13391                   offset: 4 4;
13392                }
13393                rel2 {
13394                   to_x: "elm.swallow.end";
13395                   relative: 1.0 0.0;
13396                   offset: -5 -1;
13397                }
13398                color: 0 0 0 255;
13399                color3: 0 0 0 0;
13400                text {
13401                   font: "Sans";
13402                   size: 10;
13403                   min: 1 1;
13404                   align: 0.5 0.5;
13405                   text_class: "list_item";
13406                }
13407             }
13408             description { state: "selected" 0.0;
13409                inherit: "default" 0.0;
13410                color: 224 224 224 255;
13411                color3: 0 0 0 64;
13412             }
13413          }
13414          part { name: "fg1";
13415             mouse_events: 0;
13416             description { state: "default" 0.0;
13417                visible: 0;
13418                color: 255 255 255 0;
13419                rel1.to: "bg";
13420                rel2.relative: 1.0 0.5;
13421                rel2.to: "bg";
13422                image {
13423                   normal: "bt_sm_hilight.png";
13424                   border: 6 6 6 0;
13425                }
13426             }
13427             description { state: "selected" 0.0;
13428                inherit: "default" 0.0;
13429                visible: 1;
13430                color: 255 255 255 255;
13431             }
13432          }
13433          part { name: "fg2";
13434             mouse_events: 0;
13435             description { state: "default" 0.0;
13436                visible: 0;
13437                color: 255 255 255 0;
13438                rel1.to: "bg";
13439                rel2.to: "bg";
13440                image {
13441                   normal: "bt_sm_shine.png";
13442                   border: 6 6 6 0;
13443                }
13444             }
13445             description { state: "selected" 0.0;
13446                inherit: "default" 0.0;
13447                visible: 1;
13448                color: 255 255 255 255;
13449             }
13450          }
13451       }
13452       programs {
13453          program {
13454             name: "go_active";
13455             signal: "elm,state,selected";
13456             source: "elm";
13457             action: STATE_SET "selected" 0.0;
13458             target: "bg";
13459             target: "fg1";
13460             target: "fg2";
13461             target: "elm.text";
13462          }
13463          program {
13464             name: "go_passive";
13465             signal: "elm,state,unselected";
13466             source: "elm";
13467             action: STATE_SET "default" 0.0;
13468             target: "bg";
13469             target: "fg1";
13470             target: "fg2";
13471             target: "elm.text";
13472             transition: LINEAR 0.1;
13473          }
13474       }
13475    }
13476    group { name: "elm/list/h_item_odd/default";
13477       data.item: "stacking" "below";
13478       data.item: "selectraise" "on";
13479       images {
13480          image: "bt_sm_base1.png" COMP;
13481          image: "bt_sm_shine.png" COMP;
13482          image: "bt_sm_hilight.png" COMP;
13483          image: "ilist_2_h.png" COMP;
13484       }
13485       parts {
13486          part {
13487             name: "event";
13488             type: RECT;
13489             repeat_events: 1;
13490             description {
13491                state: "default" 0.0;
13492                color: 0 0 0 0;
13493             }
13494          }
13495          part {
13496             name: "base";
13497             mouse_events: 0;
13498             description {
13499                state: "default" 0.0;
13500                image {
13501                   normal: "ilist_2_h.png";
13502                   border: 2 2 2 2;
13503                }
13504                fill.smooth: 0;
13505             }
13506          }
13507          part { name: "bg";
13508             mouse_events: 0;
13509             description { state: "default" 0.0;
13510                visible: 0;
13511                color: 255 255 255 0;
13512                rel1 {
13513                   relative: 0.0 0.0;
13514                   offset: -5 -5;
13515                }
13516                rel2 {
13517                   relative: 1.0 1.0;
13518                   offset: 4 4;
13519                }
13520                image {
13521                   normal: "bt_sm_base1.png";
13522                   border: 6 6 6 6;
13523                }
13524                image.middle: SOLID;
13525             }
13526             description { state: "selected" 0.0;
13527                inherit: "default" 0.0;
13528                visible: 1;
13529                color: 255 255 255 255;
13530                rel1 {
13531                   relative: 0.0 0.0;
13532                   offset: -2 -2;
13533                }
13534                rel2 {
13535                   relative: 1.0 1.0;
13536                   offset: 1 1;
13537                }
13538             }
13539          }
13540          part {
13541             name: "elm.swallow.icon";
13542             type: SWALLOW;
13543             description { state: "default" 0.0;
13544                fixed: 0 1;
13545                align: 0.5 0.0;
13546                rel1 {
13547                   relative: 0.0 0.0;
13548                   offset: 4 4;
13549                }
13550                rel2 {
13551                   relative: 1.0 0.0;
13552                   offset: -5 4;
13553                }
13554             }
13555          }
13556          part {
13557             name: "elm.swallow.end";
13558             type: SWALLOW;
13559             description { state: "default" 0.0;
13560                fixed: 0 1;
13561                align: 0.5 1.0;
13562                rel1 {
13563                   relative: 0.0 1.0;
13564                   offset: 4 -5;
13565                }
13566                rel2 {
13567                   relative: 1.0 1.0;
13568                   offset: -5 -5;
13569                }
13570             }
13571          }
13572          part { name: "elm.text";
13573             type: TEXT;
13574             effect: SOFT_SHADOW;
13575             mouse_events: 0;
13576             scale: 1;
13577             description {
13578                state: "default" 0.0;
13579                fixed: 1 1;
13580                rel1 {
13581                   to_x: "elm.swallow.icon";
13582                   relative: 0.0 1.0;
13583                   offset: 4 4;
13584                }
13585                rel2 {
13586                   to_x: "elm.swallow.end";
13587                   relative: 1.0 0.0;
13588                   offset: -5 -1;
13589                }
13590                color: 0 0 0 255;
13591                color3: 0 0 0 0;
13592                text {
13593                   font: "Sans";
13594                   size: 10;
13595                   min: 1 1;
13596                   align: 0.5 0.5;
13597                   text_class: "list_item";
13598                }
13599             }
13600             description { state: "selected" 0.0;
13601                inherit: "default" 0.0;
13602                color: 224 224 224 255;
13603                color3: 0 0 0 64;
13604             }
13605          }
13606          part { name: "fg1";
13607             mouse_events: 0;
13608             description { state: "default" 0.0;
13609                visible: 0;
13610                color: 255 255 255 0;
13611                rel1.to: "bg";
13612                rel2.relative: 1.0 0.5;
13613                rel2.to: "bg";
13614                image {
13615                   normal: "bt_sm_hilight.png";
13616                   border: 6 6 6 0;
13617                }
13618             }
13619             description { state: "selected" 0.0;
13620                inherit: "default" 0.0;
13621                visible: 1;
13622                color: 255 255 255 255;
13623             }
13624          }
13625          part { name: "fg2";
13626             mouse_events: 0;
13627             description { state: "default" 0.0;
13628                visible: 0;
13629                color: 255 255 255 0;
13630                rel1.to: "bg";
13631                rel2.to: "bg";
13632                image {
13633                   normal: "bt_sm_shine.png";
13634                   border: 6 6 6 0;
13635                }
13636             }
13637             description { state: "selected" 0.0;
13638                inherit: "default" 0.0;
13639                visible: 1;
13640                color: 255 255 255 255;
13641             }
13642          }
13643       }
13644       programs {
13645          program {
13646             name: "go_active";
13647             signal: "elm,state,selected";
13648             source: "elm";
13649             action: STATE_SET "selected" 0.0;
13650             target: "bg";
13651             target: "fg1";
13652             target: "fg2";
13653             target: "elm.text";
13654          }
13655          program {
13656             name: "go_passive";
13657             signal: "elm,state,unselected";
13658             source: "elm";
13659             action: STATE_SET "default" 0.0;
13660             target: "bg";
13661             target: "fg1";
13662             target: "fg2";
13663             target: "elm.text";
13664             transition: LINEAR 0.1;
13665          }
13666       }
13667    }
13668    group { name: "elm/list/h_item_compress/default";
13669       data.item: "stacking" "above";
13670       data.item: "selectraise" "on";
13671       images {
13672          image: "bt_sm_base1.png" COMP;
13673          image: "bt_sm_shine.png" COMP;
13674          image: "bt_sm_hilight.png" COMP;
13675          image: "ilist_1_h.png" COMP;
13676          image: "ilist_item_shadow_h.png" COMP;
13677       }
13678       parts {
13679          part {
13680             name: "event";
13681             type: RECT;
13682             repeat_events: 1;
13683             description {
13684                state: "default" 0.0;
13685                color: 0 0 0 0;
13686             }
13687          }
13688          part {
13689             name: "base_sh";
13690             mouse_events: 0;
13691             description { state: "default" 0.0;
13692                fixed: 1 1;
13693                align: 0.0 0.0;
13694                min: 10 0;
13695                rel1 {
13696                   to: "base";
13697                   relative: 1.0 0.0;
13698                   offset: 0 0;
13699                }
13700                rel2 {
13701                   to: "base";
13702                   relative: 1.0 1.0;
13703                   offset: 0 -1;
13704                }
13705                image {
13706                   normal: "ilist_item_shadow_h.png";
13707                }
13708                fill.smooth: 0;
13709             }
13710          }
13711          part {
13712             name: "base";
13713             mouse_events: 0;
13714             description {
13715                state: "default" 0.0;
13716                image {
13717                   normal: "ilist_1_h.png";
13718                   border: 2 2 2 2;
13719                }
13720                fill.smooth: 0;
13721             }
13722          }
13723          part { name: "bg";
13724             mouse_events: 0;
13725             description { state: "default" 0.0;
13726                visible: 0;
13727                color: 255 255 255 0;
13728                rel1 {
13729                   relative: 0.0 0.0;
13730                   offset: -5 -5;
13731                }
13732                rel2 {
13733                   relative: 1.0 1.0;
13734                   offset: 4 4;
13735                }
13736                image {
13737                   normal: "bt_sm_base1.png";
13738                   border: 6 6 6 6;
13739                }
13740                image.middle: SOLID;
13741             }
13742             description { state: "selected" 0.0;
13743                inherit: "default" 0.0;
13744                visible: 1;
13745                color: 255 255 255 255;
13746                rel1 {
13747                   relative: 0.0 0.0;
13748                   offset: -2 -2;
13749                }
13750                rel2 {
13751                   relative: 1.0 1.0;
13752                   offset: 1 1;
13753                }
13754             }
13755          }
13756          part { name: "elm.swallow.icon";
13757             type: SWALLOW;
13758             description { state: "default" 0.0;
13759                fixed: 0 1;
13760                align: 0.5 0.0;
13761                rel1 {
13762                   relative: 0.0 0.0;
13763                   offset: 4 4;
13764                }
13765                rel2 {
13766                   relative: 1.0 0.0;
13767                   offset: -5 4;
13768                }
13769             }
13770          }
13771          part { name: "elm.swallow.end";
13772             type: SWALLOW;
13773             description { state: "default" 0.0;
13774                fixed: 0 1;
13775                align: 0.5 1.0;
13776                rel1 {
13777                   relative: 0.0 1.0;
13778                   offset: 4 -5;
13779                }
13780                rel2 {
13781                   relative: 1.0 1.0;
13782                   offset: -5 -5;
13783                }
13784             }
13785          }
13786          part {
13787             name: "elm.text";
13788             type: TEXT;
13789             effect: SOFT_SHADOW;
13790             mouse_events: 0;
13791             scale: 1;
13792             description { state: "default" 0.0;
13793                fixed: 1 1;
13794                rel1 {
13795                   to_x: "elm.swallow.icon";
13796                   relative: 0.0 1.0;
13797                   offset: 4 4;
13798                }
13799                rel2 {
13800                   to_x: "elm.swallow.end";
13801                   relative: 1.0 0.0;
13802                   offset: -5 -1;
13803                }
13804                color: 0 0 0 255;
13805                color3: 0 0 0 0;
13806                text {
13807                   font: "Sans";
13808                   size: 10;
13809                   min: 1 1;
13810                   align: 0.5 0.5;
13811                   text_class: "list_item";
13812                }
13813             }
13814             description { state: "selected" 0.0;
13815                inherit: "default" 0.0;
13816                color: 224 224 224 255;
13817                color3: 0 0 0 64;
13818             }
13819          }
13820          part { name: "fg1";
13821             mouse_events: 0;
13822             description { state: "default" 0.0;
13823                visible: 0;
13824                color: 255 255 255 0;
13825                rel1.to: "bg";
13826                rel2.relative: 1.0 0.5;
13827                rel2.to: "bg";
13828                image {
13829                   normal: "bt_sm_hilight.png";
13830                   border: 6 6 6 0;
13831                }
13832             }
13833             description { state: "selected" 0.0;
13834                inherit: "default" 0.0;
13835                visible: 1;
13836                color: 255 255 255 255;
13837             }
13838          }
13839          part { name: "fg2";
13840             mouse_events: 0;
13841             description { state: "default" 0.0;
13842                visible: 0;
13843                color: 255 255 255 0;
13844                rel1.to: "bg";
13845                rel2.to: "bg";
13846                image {
13847                   normal: "bt_sm_shine.png";
13848                   border: 6 6 6 0;
13849                }
13850             }
13851             description { state: "selected" 0.0;
13852                inherit: "default" 0.0;
13853                visible: 1;
13854                color: 255 255 255 255;
13855             }
13856          }
13857       }
13858       programs {
13859          program {
13860             name: "go_active";
13861             signal: "elm,state,selected";
13862             source: "elm";
13863             action: STATE_SET "selected" 0.0;
13864             target: "bg";
13865             target: "fg1";
13866             target: "fg2";
13867             target: "elm.text";
13868          }
13869          program {
13870             name: "go_passive";
13871             signal: "elm,state,unselected";
13872             source: "elm";
13873             action: STATE_SET "default" 0.0;
13874             target: "bg";
13875             target: "fg1";
13876             target: "fg2";
13877             target: "elm.text";
13878             transition: LINEAR 0.1;
13879          }
13880       }
13881    }
13882    group { name: "elm/list/h_item_compress_odd/default";
13883       data.item: "stacking" "below";
13884       data.item: "selectraise" "on";
13885       images {
13886          image: "bt_sm_base1.png" COMP;
13887          image: "bt_sm_shine.png" COMP;
13888          image: "bt_sm_hilight.png" COMP;
13889          image: "ilist_2_h.png" COMP;
13890       }
13891       parts {
13892          part {
13893             name: "event";
13894             type: RECT;
13895             repeat_events: 1;
13896             description {
13897                state: "default" 0.0;
13898                color: 0 0 0 0;
13899             }
13900          }
13901          part {
13902             name: "base";
13903             mouse_events: 0;
13904             description {
13905                state: "default" 0.0;
13906                image {
13907                   normal: "ilist_2_h.png";
13908                   border: 2 2 2 2;
13909                }
13910                fill.smooth: 0;
13911             }
13912          }
13913          part { name: "bg";
13914             mouse_events: 0;
13915             description { state: "default" 0.0;
13916                visible: 0;
13917                color: 255 255 255 0;
13918                rel1 {
13919                   relative: 0.0 0.0;
13920                   offset: -5 -5;
13921                }
13922                rel2 {
13923                   relative: 1.0 1.0;
13924                   offset: 4 4;
13925                }
13926                image {
13927                   normal: "bt_sm_base1.png";
13928                   border: 6 6 6 6;
13929                }
13930                image.middle: SOLID;
13931             }
13932             description { state: "selected" 0.0;
13933                inherit: "default" 0.0;
13934                visible: 1;
13935                color: 255 255 255 255;
13936                rel1 {
13937                   relative: 0.0 0.0;
13938                   offset: -2 -2;
13939                }
13940                rel2 {
13941                   relative: 1.0 1.0;
13942                   offset: 1 1;
13943                }
13944             }
13945          }
13946          part { name: "elm.swallow.icon";
13947             type: SWALLOW;
13948             description { state: "default" 0.0;
13949                fixed: 0 1;
13950                align: 0.5 0.0;
13951                rel1 {
13952                   relative: 0.0 0.0;
13953                   offset: 4 4;
13954                }
13955                rel2 {
13956                   relative: 1.0 0.0;
13957                   offset: -5 4;
13958                }
13959             }
13960          }
13961          part { name: "elm.swallow.end";
13962             type: SWALLOW;
13963             description { state: "default" 0.0;
13964                fixed: 0 1;
13965                align: 0.5 1.0;
13966                rel1 {
13967                   relative: 0.0 1.0;
13968                   offset: 4 -5;
13969                }
13970                rel2 {
13971                   relative: 1.0 1.0;
13972                   offset: -5 -5;
13973                }
13974             }
13975          }
13976          part { name: "elm.text";
13977             type: TEXT;
13978             effect: SOFT_SHADOW;
13979             mouse_events: 0;
13980             scale: 1;
13981             description {
13982                state: "default" 0.0;
13983                fixed: 1 1;
13984                rel1 {
13985                   to_x: "elm.swallow.icon";
13986                   relative: 0.0 1.0;
13987                   offset: 4 4;
13988                }
13989                rel2 {
13990                   to_x: "elm.swallow.end";
13991                   relative: 1.0 0.0;
13992                   offset: -5 -1;
13993                }
13994                color: 0 0 0 255;
13995                color3: 0 0 0 0;
13996                text {
13997                   font: "Sans";
13998                   size: 10;
13999                   min: 1 1;
14000                   align: 0.5 0.5;
14001                   text_class: "list_item";
14002                }
14003             }
14004             description { state: "selected" 0.0;
14005                inherit: "default" 0.0;
14006                color: 224 224 224 255;
14007                color3: 0 0 0 64;
14008             }
14009          }
14010          part { name: "fg1";
14011             mouse_events: 0;
14012             description { state: "default" 0.0;
14013                visible: 0;
14014                color: 255 255 255 0;
14015                rel1.to: "bg";
14016                rel2.relative: 1.0 0.5;
14017                rel2.to: "bg";
14018                image {
14019                   normal: "bt_sm_hilight.png";
14020                   border: 6 6 6 0;
14021                }
14022             }
14023             description { state: "selected" 0.0;
14024                inherit: "default" 0.0;
14025                visible: 1;
14026                color: 255 255 255 255;
14027             }
14028          }
14029          part { name: "fg2";
14030             mouse_events: 0;
14031             description { state: "default" 0.0;
14032                visible: 0;
14033                color: 255 255 255 0;
14034                rel1.to: "bg";
14035                rel2.to: "bg";
14036                image {
14037                   normal: "bt_sm_shine.png";
14038                   border: 6 6 6 0;
14039                }
14040             }
14041             description { state: "selected" 0.0;
14042                inherit: "default" 0.0;
14043                visible: 1;
14044                color: 255 255 255 255;
14045             }
14046          }
14047       }
14048       programs {
14049          program {
14050             name: "go_active";
14051             signal: "elm,state,selected";
14052             source: "elm";
14053             action: STATE_SET "selected" 0.0;
14054             target: "bg";
14055             target: "fg1";
14056             target: "fg2";
14057             target: "elm.text";
14058          }
14059          program {
14060             name: "go_passive";
14061             signal: "elm,state,unselected";
14062             source: "elm";
14063             action: STATE_SET "default" 0.0;
14064             target: "bg";
14065             target: "fg1";
14066             target: "fg2";
14067             target: "elm.text";
14068             transition: LINEAR 0.1;
14069          }
14070       }
14071    }
14072
14073 ///////////////////////////////////////////////////////////////////////////////
14074    group { name: "elm/slider/horizontal/default";
14075            alias: "elm/slider/horizontal/disabled";
14076       images {
14077          image: "sl_bg.png" COMP;
14078          image: "sl_bg_over.png" COMP;
14079
14080          image: "sl_units.png" COMP;
14081       }
14082       parts {
14083          part { name: "base";
14084             mouse_events: 0;
14085             description { state: "default" 0.0;
14086                max: 99999 6;
14087                min: 0 6;
14088                rel1 { to: "bg";
14089                   offset: 1 0;
14090                }
14091                rel2 { to: "bg";
14092                   offset: -2 -1;
14093                }
14094                image.normal: "sl_bg.png";
14095                fill.smooth: 0;
14096             }
14097          }
14098          part { name: "level";
14099             type: RECT;
14100             mouse_events: 0;
14101             description { state: "default" 0.0;
14102                fixed: 1 1;
14103                rel1.to: "base";
14104                rel2 {
14105                   to_y: "base";
14106                   to_x: "elm.dragable.slider";
14107                   relative: 0.5 1.0;
14108                }
14109                color: 255 0 0 200;
14110             }
14111             description { state: "inverted" 0.0;
14112                inherit: "default" 0.0;
14113                visible: 0;
14114             }
14115             description { state: "disabled" 0.0;
14116                inherit: "default" 0.0;
14117                color: 255 0 0 100;
14118             }
14119             description { state: "disabled_inverted" 0.0;
14120                inherit: "default" 0.0;
14121                visible: 0;
14122             }
14123          }
14124          part { name: "level2";
14125             type: RECT;
14126             mouse_events: 0;
14127             description { state: "default" 0.0;
14128                fixed: 1 1;
14129                visible: 0;
14130                rel1 {
14131                   to_y: "base";
14132                   to_x: "elm.dragable.slider";
14133                   relative: 0.5 0.0;
14134                }
14135                rel2.to: "base";
14136                color: 255 0 0 200;
14137             }
14138             description { state: "inverted" 0.0;
14139                inherit: "default" 0.0;
14140                visible: 1;
14141             }
14142             description { state: "disabled" 0.0;
14143                inherit: "default" 0.0;
14144             }
14145             description { state: "disabled_inverted" 0.0;
14146                inherit: "default" 0.0;
14147                color: 255 0 0 100;
14148                visible: 1;
14149             }
14150          }
14151          part {
14152             name: "base_over";
14153             mouse_events: 0;
14154             description { state: "default" 0.0;
14155                rel1.to: "base";
14156                rel1.offset: -1 -1;
14157                rel2.to: "base";
14158                rel2.offset: 0 0;
14159                image {
14160                   normal: "sl_bg_over.png";
14161                   border: 3 3 3 3;
14162                }
14163                fill.smooth: 0;
14164             }
14165          }
14166          part { name: "bg";
14167             type: RECT;
14168             mouse_events: 0;
14169             scale: 1;
14170             description { state: "default" 0.0;
14171                visible: 0;
14172                rel1.to: "elm.swallow.bar";
14173                rel2.to: "elm.swallow.bar";
14174                color: 0 0 0 0;
14175             }
14176          }
14177          part { name: "elm.swallow.bar";
14178             type: SWALLOW;
14179             scale: 1;
14180             description { state: "default" 0.0;
14181                min: 48 24;
14182                max: 99999 24;
14183                align: 1.0 0.5;
14184                rel1 {
14185                   to_x: "elm.text";
14186                   relative: 1.0 0.0;
14187                   offset: 8 0;
14188                }
14189                rel2 {
14190                   to_x: "elm.units";
14191                   relative: 0.0 1.0;
14192                   offset: -10 -1;
14193                }
14194             }
14195          }
14196          part { name: "elm.swallow.icon";
14197             type: SWALLOW;
14198             description { state: "default" 0.0;
14199                visible: 0;
14200                align: 0.0 0.5;
14201                rel1 {
14202                   offset: 4 0;
14203                   to_y: "elm.swallow.bar";
14204                }
14205                rel2 {
14206                   offset: 3 -1;
14207                   relative: 0.0 1.0;
14208                   to_y: "elm.swallow.bar";
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                visible: 1;
14214                aspect: 1.0 1.0;
14215                aspect_preference: VERTICAL;
14216                rel2.offset: 4 -1;
14217             }
14218          }
14219          part { name: "elm.text";
14220             type: TEXT;
14221             mouse_events: 0;
14222             scale: 1;
14223             description { state: "default" 0.0;
14224                visible: 0;
14225                fixed: 1 1;
14226                align: 0.0 0.5;
14227                rel1.to_x: "elm.swallow.icon";
14228                rel1.relative: 1.0 0.0;
14229                rel1.offset: -1 4;
14230                rel2.to_x: "elm.swallow.icon";
14231                rel2.relative: 1.0 1.0;
14232                rel2.offset: -1 -5;
14233                color: 0 0 0 255;
14234                text {
14235                   font: "Sans,Edje-Vera";
14236                   size: 10;
14237                   min: 0 0;
14238                   align: 0.0 0.5;
14239                }
14240             }
14241             description { state: "visible" 0.0;
14242                inherit: "default" 0.0;
14243                visible: 1;
14244                text.min: 1 1;
14245                rel1.offset: 0 4;
14246                rel2.offset: 0 -5;
14247             }
14248             description { state: "disabled" 0.0;
14249                inherit: "default" 0.0;
14250                color: 255 128 128 128;
14251                visible: 0;
14252             }
14253             description { state: "disabled_visible" 0.0;
14254                inherit: "default" 0.0;
14255                color: 0 0 0 128;
14256                color3: 0 0 0 0;
14257                visible: 1;
14258                text.min: 1 1;
14259             }
14260          }
14261          part {
14262             name: "elm.swallow.end";
14263             type: SWALLOW;
14264             description {
14265                state: "default" 0.0;
14266                visible: 0;
14267                align: 1.0 0.5;
14268                rel1 {
14269                   offset: -4 0;
14270                   relative: 1.0 0.0;
14271                   to_y: "elm.swallow.bar";
14272                }
14273                rel2 {
14274                   offset: -3 -1;
14275                   to_y: "elm.swallow.bar";
14276                }
14277             }
14278             description { state: "visible" 0.0;
14279                inherit: "default" 0.0;
14280                visible: 1;
14281                aspect: 1.0 1.0;
14282                aspect_preference: VERTICAL;
14283                rel2.offset: -4 -1;
14284             }
14285          }
14286          part { name: "units";
14287             mouse_events: 0;
14288             description { state: "default" 0.0;
14289                visible: 0;
14290                rel1 {
14291                   to_x: "elm.units";
14292                   offset: 0 5;
14293                }
14294                rel2 {
14295                   to_x: "elm.units";
14296                   offset: 5 -3;
14297                }
14298                image {
14299                   normal: "sl_units.png";
14300                   border: 0 5 3 8;
14301                }
14302                fill.smooth: 0;
14303             }
14304             description { state: "visible" 0.0;
14305                inherit: "default" 0.0;
14306                visible: 1;
14307             }
14308          }
14309          part { name: "elm.units";
14310             type: TEXT;
14311             mouse_events: 0;
14312             scale: 1;
14313             description { state: "default" 0.0;
14314                visible: 0;
14315                fixed: 1 1;
14316                align: 1.0 0.5;
14317                rel1.to_x: "elm.swallow.end";
14318                rel1.relative: 0.0 0.0;
14319                rel1.offset: 0 8;
14320                rel2.to_x: "elm.swallow.end";
14321                rel2.relative: 0.0 1.0;
14322                rel2.offset: 0 -9;
14323                color: 0 0 0 255;
14324                text {
14325                   font: "Sans,Edje-Vera";
14326                   size: 10;
14327                   min: 0 0;
14328                   align: 0.0 0.5;
14329                }
14330             }
14331             description { state: "visible" 0.0;
14332                inherit: "default" 0.0;
14333                fixed: 1 1;
14334                visible: 1;
14335                text.min: 1 1;
14336                rel1.offset: -5 0;
14337                rel2.offset: -5 -1;
14338             }
14339             description { state: "disabled" 0.0;
14340                inherit: "default" 0.0;
14341                color: 255 128 128 128;
14342                visible: 0;
14343             }
14344             description { state: "disabled_visible" 0.0;
14345                inherit: "default" 0.0;
14346                color: 0 0 0 128;
14347                color3: 0 0 0 0;
14348                visible: 1;
14349                text.min: 1 1;
14350             }
14351          }
14352          part { name: "elm.dragable.slider";
14353             type: GROUP;
14354             source: "elm/slider/horizontal/indicator/default";
14355             mouse_events: 1;
14356             repeat_events: 1;
14357             scale: 1;
14358             dragable {
14359                x: 1 1 0;
14360                y: 0 0 0;
14361                confine: "bg";
14362             }
14363             description { state: "default" 0.0;
14364                min: 0 24;
14365                max: 0 24;
14366                fixed: 1 1;
14367                rel1 {
14368                   relative: 0.5 0.0;
14369                   to_x: "bg";
14370                }
14371                rel2 {
14372                   relative: 0.5 1.0;
14373                   to_x: "bg";
14374                }
14375                color: 255 0 0 100;
14376             }
14377          }
14378           part { name: "disabler";
14379             type: RECT;
14380             description { state: "default" 0.0;
14381                color: 0 0 0 0;
14382                visible: 0;
14383             }
14384             description { state: "disabled" 0.0;
14385                inherit: "default" 0.0;
14386                visible: 1;
14387             }
14388          }
14389       }
14390       programs {
14391          program { name: "text_show";
14392             signal: "elm,state,text,visible";
14393             source: "elm";
14394             action:  STATE_SET "visible" 0.0;
14395             target: "elm.text";
14396          }
14397          program { name: "text_hide";
14398             signal: "elm,state,text,hidden";
14399             source: "elm";
14400             action:  STATE_SET "default" 0.0;
14401             target: "elm.text";
14402          }
14403          program { name: "icon_show";
14404             signal: "elm,state,icon,visible";
14405             source: "elm";
14406             action:  STATE_SET "visible" 0.0;
14407             target: "elm.swallow.icon";
14408          }
14409          program { name: "icon_hide";
14410             signal: "elm,state,icon,hidden";
14411             source: "elm";
14412             action:  STATE_SET "default" 0.0;
14413             target: "elm.swallow.icon";
14414          }
14415           program { name: "end_show";
14416             signal: "elm,state,end,visible";
14417             source: "elm";
14418             action:  STATE_SET "visible" 0.0;
14419             target: "elm.swallow.end";
14420          }
14421          program { name: "end_hide";
14422             signal: "elm,state,end,hidden";
14423             source: "elm";
14424             action:  STATE_SET "default" 0.0;
14425             target: "elm.swallow.end";
14426          }
14427          program { name: "units_show";
14428             signal: "elm,state,units,visible";
14429             source: "elm";
14430             action:  STATE_SET "visible" 0.0;
14431             target: "elm.units";
14432             target: "units";
14433          }
14434          program { name: "units_hide";
14435             signal: "elm,state,units,hidden";
14436             source: "elm";
14437             action:  STATE_SET "default" 0.0;
14438             target: "elm.units";
14439             target: "units";
14440          }
14441          program { name: "invert_on";
14442             signal: "elm,state,inverted,on";
14443             source: "elm";
14444             action:  STATE_SET "inverted" 0.0;
14445             target: "level";
14446             target: "level2";
14447          }
14448          program { name: "invert_off";
14449             signal: "elm,state,inverted,off";
14450             source: "elm";
14451             action:  STATE_SET "default" 0.0;
14452             target: "level";
14453             target: "level2";
14454          }
14455          program {
14456             name:    "go_disabled";
14457             signal:  "elm,state,disabled";
14458             source:  "elm";
14459             action:  STATE_SET "disabled" 0.0;
14460 //            target: "button0";
14461             target: "disabler";
14462             after: "disable_text";
14463             after: "disable_ind";
14464          }
14465
14466          program { name: "disable_ind";
14467             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14468          }
14469          program { name: "disable_text";
14470             script {
14471                new st[31];
14472                new Float:vl;
14473                get_state(PART:"elm.text", st, 30, vl);
14474                if (!strcmp(st, "visible"))
14475                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14476                else
14477                   set_state(PART:"elm.text", "disabled", 0.0);
14478
14479                get_state(PART:"elm.units", st, 30, vl);
14480                if (!strcmp(st, "visible"))
14481                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14482                else
14483                   set_state(PART:"elm.units", "disabled", 0.0);
14484
14485                get_state(PART:"level2", st, 30, vl);
14486                if (!strcmp(st, "inverted"))
14487                {
14488                   set_state(PART:"level", "disabled_inverted", 0.0);
14489                   set_state(PART:"level2", "disabled_inverted", 0.0);
14490                }
14491                else
14492                {
14493                   set_state(PART:"level", "disabled", 0.0);
14494                   set_state(PART:"level2", "disabled", 0.0);
14495                }
14496             }
14497          }
14498          program { name: "enable";
14499             signal: "elm,state,enabled";
14500             source: "elm";
14501             action: STATE_SET "default" 0.0;
14502 //            target: "button0";
14503             target: "disabler";
14504             after: "enable_text";
14505             after: "enable_ind";
14506          }
14507
14508          program { name: "enable_ind";
14509             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14510          }
14511
14512          program { name: "enable_text";
14513             script {
14514                new st[31];
14515                new Float:vl;
14516                get_state(PART:"elm.text", st, 30, vl);
14517                if (!strcmp(st, "disabled_visible"))
14518                   set_state(PART:"elm.text", "visible", 0.0);
14519                else
14520                   set_state(PART:"elm.text", "default", 0.0);
14521
14522                get_state(PART:"elm.units", st, 30, vl);
14523                if (!strcmp(st, "disabled_visible"))
14524                   set_state(PART:"elm.units", "visible", 0.0);
14525                else
14526                   set_state(PART:"elm.units", "default", 0.0);
14527
14528                get_state(PART:"level2", st, 30, vl);
14529                if (!strcmp(st, "disabled_inverted"))
14530                {
14531                   set_state(PART:"level", "inverted", 0.0);
14532                   set_state(PART:"level2", "inverted", 0.0);
14533                }
14534                else
14535                {
14536                   set_state(PART:"level", "default", 0.0);
14537                   set_state(PART:"level2", "default", 0.0);
14538                }
14539             }
14540          }
14541       }
14542    }
14543
14544    group { name: "elm/slider/vertical/default";
14545       images {
14546          image: "slv_bg.png" COMP;
14547          image: "slv_bg_over.png" COMP;
14548
14549          image: "slv_units.png" COMP;
14550       }
14551       parts {
14552          part { name: "base";
14553             mouse_events: 0;
14554             description { state: "default" 0.0;
14555                max: 6 99999;
14556                min: 6 0;
14557                rel1 { to: "bg";
14558                   offset: 1 0;
14559                }
14560                rel2 { to: "bg";
14561                   offset: -2 -1;
14562                }
14563                image.normal: "slv_bg.png";
14564                fill.smooth: 0;
14565             }
14566          }
14567          part { name: "level";
14568             type: RECT;
14569             mouse_events: 0;
14570             description { state: "default" 0.0;
14571                fixed: 1 1;
14572                rel1.to: "base";
14573                rel2 {
14574                   to_x: "base";
14575                   to_y: "elm.dragable.slider";
14576                   relative: 1.0 0.5;
14577                }
14578                color: 255 0 0 200;
14579             }
14580             description { state: "inverted" 0.0;
14581                inherit: "default" 0.0;
14582                visible: 0;
14583             }
14584             description { state: "disabled" 0.0;
14585                inherit: "default" 0.0;
14586                color: 255 0 0 100;
14587             }
14588             description { state: "disabled_inverted" 0.0;
14589                inherit: "default" 0.0;
14590                visible: 0;
14591             }
14592          }
14593          part { name: "level2";
14594             type: RECT;
14595             mouse_events: 0;
14596             description { state: "default" 0.0;
14597                fixed: 1 1;
14598                visible: 0;
14599                rel1 {
14600                   to_x: "base";
14601                   to_y: "elm.dragable.slider";
14602                   relative: 0.0 0.5;
14603                }
14604                rel2.to: "base";
14605                color: 255 0 0 200;
14606             }
14607             description { state: "inverted" 0.0;
14608                inherit: "default" 0.0;
14609                visible: 1;
14610             }
14611             description { state: "disabled" 0.0;
14612                inherit: "default" 0.0;
14613                color: 255 0 0 100;
14614             }
14615             description { state: "disabled_inverted" 0.0;
14616                inherit: "default" 0.0;
14617                color: 255 0 0 100;
14618                visible: 1;
14619             }
14620          }
14621          part {
14622             name: "base_over";
14623             mouse_events: 0;
14624             description { state: "default" 0.0;
14625                rel1.to: "base";
14626                rel1.offset: -1 -1;
14627                rel2.to: "base";
14628                rel2.offset: 0 0;
14629                image {
14630                   normal: "slv_bg_over.png";
14631                   border: 3 3 3 3;
14632                }
14633                fill.smooth: 0;
14634             }
14635          }
14636          part { name: "bg";
14637             type: RECT;
14638             mouse_events: 0;
14639             scale: 1;
14640             description { state: "default" 0.0;
14641                visible: 0;
14642                rel1.to: "elm.swallow.bar";
14643                rel2.to: "elm.swallow.bar";
14644                color: 0 0 0 0;
14645             }
14646          }
14647          part { name: "elm.swallow.bar";
14648             type: SWALLOW;
14649             scale: 1;
14650             description { state: "default" 0.0;
14651                min: 24 48;
14652                max: 24 9999;
14653                align: 0.5 1.0;
14654                rel1 {
14655                   to_y: "elm.text";
14656                   relative: 0.0 1.0;
14657                   offset: 0 10;
14658                }
14659                rel2 {
14660                   to_y: "elm.units";
14661                   relative: 1.0 0.0;
14662                   offset: -1 -8;
14663                }
14664             }
14665          }
14666          part { name: "elm.swallow.icon";
14667             type: SWALLOW;
14668             description { state: "default" 0.0;
14669                visible: 0;
14670                align: 0.5 0.0;
14671                rel1 {
14672                   offset: 0 4;
14673                   to_x: "elm.swallow.bar";
14674                }
14675                rel2 {
14676                   offset: -1 3;
14677                   relative: 1.0 0.0;
14678                   to_x: "elm.swallow.bar";
14679                }
14680             }
14681             description { state: "visible" 0.0;
14682                inherit: "default" 0.0;
14683                visible: 1;
14684                aspect: 1.0 1.0;
14685                aspect_preference: HORIZONTAL;
14686                rel2.offset: -1 4;
14687             }
14688          }
14689          part { name: "elm.text";
14690             type: TEXT;
14691             mouse_events: 0;
14692             scale: 1;
14693             description { state: "default" 0.0;
14694                visible: 0;
14695                fixed: 0 1;
14696                align: 0.5 0.0;
14697                rel1.to_y: "elm.swallow.icon";
14698                rel1.relative: 0.0 1.0;
14699                rel1.offset: 0 -1;
14700                rel2.to_y: "elm.swallow.icon";
14701                rel2.relative: 1.0 1.0;
14702                rel2.offset: -1 -1;
14703                color: 0 0 0 255;
14704                text {
14705                   font: "Sans,Edje-Vera";
14706                   size: 10;
14707                   min: 0 0;
14708                   align: 0.5 0.0;
14709                }
14710             }
14711             description { state: "visible" 0.0;
14712                inherit: "default" 0.0;
14713                visible: 1;
14714                text.min: 1 1;
14715                rel1.offset: 4 0;
14716                rel2.offset: -5 0;
14717             }
14718             description { state: "disabled" 0.0;
14719                inherit: "default" 0.0;
14720                color: 255 128 128 128;
14721                visible: 0;
14722             }
14723             description { state: "disabled_visible" 0.0;
14724                inherit: "default" 0.0;
14725                color: 0 0 0 128;
14726                color3: 0 0 0 0;
14727                visible: 1;
14728                text.min: 1 1;
14729             }
14730          }
14731          part {
14732             name: "elm.swallow.end";
14733             type: SWALLOW;
14734             description {
14735                state: "default" 0.0;
14736                visible: 0;
14737                align: 0.5 1.0;
14738                rel1 {
14739                   offset: 0 -4;
14740                   relative: 0.0 1.0;
14741                   to_x: "elm.swallow.bar";
14742                }
14743                rel2 {
14744                   offset: -1 -3;
14745                   to_x: "elm.swallow.bar";
14746                }
14747             }
14748             description { state: "visible" 0.0;
14749                inherit: "default" 0.0;
14750                visible: 1;
14751                aspect: 1.0 1.0;
14752                aspect_preference: HORIZONTAL;
14753                rel2.offset: -1 -4;
14754             }
14755          }
14756          part { name: "units";
14757             mouse_events: 0;
14758             description { state: "default" 0.0;
14759                visible: 0;
14760                rel1 {
14761                   to: "elm.units";
14762                   offset: -8 0;
14763                }
14764                rel2 {
14765                   to: "elm.units";
14766                   offset: 7 8;
14767                }
14768                image {
14769                   normal: "slv_units.png";
14770                   border: 8 8 0 9;
14771                }
14772                fill.smooth: 0;
14773             }
14774             description { state: "visible" 0.0;
14775                inherit: "default" 0.0;
14776                visible: 1;
14777             }
14778          }
14779          part { name: "elm.units";
14780             type: TEXT;
14781             mouse_events: 0;
14782             scale: 1;
14783             description { state: "default" 0.0;
14784                visible: 0;
14785                fixed: 1 1;
14786                align: 0.5 1.0;
14787                rel1.relative: 0.0 0.0;
14788                rel1.to_y: "elm.swallow.end";
14789                rel1.offset: 8 0;
14790                rel2.relative: 1.0 0.0;
14791                rel2.to_y: "elm.swallow.end";
14792                rel2.offset: -9 0;
14793                color: 0 0 0 255;
14794                text {
14795                   font: "Sans,Edje-Vera";
14796                   size: 10;
14797                   min: 0 0;
14798                   align: 0.5 0.0;
14799                }
14800             }
14801             description { state: "visible" 0.0;
14802                inherit: "default" 0.0;
14803                fixed: 1 1;
14804                visible: 1;
14805                text.min: 1 1;
14806                rel1.offset: 8 -9;
14807                rel2.offset: -9 -9;
14808             }
14809             description { state: "disabled" 0.0;
14810                inherit: "default" 0.0;
14811                color:  0 0 0 128;
14812                color3: 0 0 0 0;
14813                visible: 0;
14814             }
14815             description { state: "disabled_visible" 0.0;
14816                inherit: "default" 0.0;
14817                fixed: 1 1;
14818                visible: 1;
14819                text.min: 1 1;
14820                rel1.offset: 8 -9;
14821                rel2.offset: -9 -9;
14822                color: 0 0 0 128;
14823                color3: 0 0 0 0;
14824             }
14825          }
14826          part { name: "elm.dragable.slider";
14827             type: GROUP;
14828             source: "elm/slider/vertical/indicator/default";
14829             mouse_events: 1;
14830             repeat_events: 1;
14831             scale: 1;
14832             dragable {
14833                x: 0 0 0;
14834                y: 1 1 0;
14835                confine: "bg";
14836             }
14837             description { state: "default" 0.0;
14838                min: 24 0;
14839                max: 24 0;
14840                fixed: 1 1;
14841                rel1 {
14842                   relative: 0.5  0.0;
14843                   to_y: "bg";
14844                }
14845                rel2 {
14846                   relative: 0.5  1.0;
14847                   to_y: "bg";
14848                }
14849                color: 0 0 0 0;
14850             }
14851          }
14852               part { name: "disabler";
14853                 type: RECT;
14854                 description { state: "default" 0.0;
14855                    color: 0 0 0 0;
14856                    visible: 0;
14857                 }
14858                 description { state: "disabled" 0.0;
14859                    inherit: "default" 0.0;
14860                    visible: 1;
14861                 }
14862              }
14863           }
14864
14865       programs {
14866          program { name: "text_show";
14867             signal: "elm,state,text,visible";
14868             source: "elm";
14869             action:  STATE_SET "visible" 0.0;
14870             target: "elm.text";
14871          }
14872          program { name: "text_hide";
14873             signal: "elm,state,text,hidden";
14874             source: "elm";
14875             action:  STATE_SET "default" 0.0;
14876             target: "elm.text";
14877          }
14878          program { name: "icon_show";
14879             signal: "elm,state,icon,visible";
14880             source: "elm";
14881             action:  STATE_SET "visible" 0.0;
14882             target: "elm.swallow.icon";
14883          }
14884          program { name: "icon_hide";
14885             signal: "elm,state,icon,hidden";
14886             source: "elm";
14887             action:  STATE_SET "default" 0.0;
14888             target: "elm.swallow.icon";
14889          }
14890          program { name: "end_show";
14891             signal: "elm,state,end,visible";
14892             source: "elm";
14893             action:  STATE_SET "visible" 0.0;
14894             target: "elm.swallow.end";
14895          }
14896          program { name: "end_hide";
14897             signal: "elm,state,end,hidden";
14898             source: "elm";
14899             action:  STATE_SET "default" 0.0;
14900             target: "elm.swallow.end";
14901          }
14902          program { name: "units_show";
14903             signal: "elm,state,units,visible";
14904             source: "elm";
14905             action:  STATE_SET "visible" 0.0;
14906             target: "elm.units";
14907             target: "units";
14908          }
14909          program { name: "units_hide";
14910             signal: "elm,state,units,hidden";
14911             source: "elm";
14912             action:  STATE_SET "default" 0.0;
14913             target: "elm.units";
14914             target: "units";
14915          }
14916          program { name: "invert_on";
14917             signal: "elm,state,inverted,on";
14918             source: "elm";
14919             action:  STATE_SET "inverted" 0.0;
14920             target: "level";
14921             target: "level2";
14922          }
14923          program { name: "invert_off";
14924             signal: "elm,state,inverted,off";
14925             source: "elm";
14926             action:  STATE_SET "default" 0.0;
14927             target: "level";
14928             target: "level2";
14929          }
14930          program {
14931             name:   "go_disabled";
14932             signal: "elm,state,disabled";
14933             source: "elm";
14934             action: STATE_SET "disabled" 0.0;
14935 //            target: "button0";
14936             target: "disabler";
14937             after: "disable_text";
14938             after: "disable_ind";
14939          }
14940
14941          program { name: "disable_ind";
14942             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14943          }
14944
14945          program { name: "disable_text";
14946             script {
14947             new st[31];
14948             new Float:vl;
14949                get_state(PART:"elm.text", st, 30, vl);
14950                if (!strcmp(st, "visible"))
14951                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14952                else
14953                   set_state(PART:"elm.text", "disabled", 0.0);
14954
14955                get_state(PART:"elm.units", st, 30, vl);
14956                if (!strcmp(st, "visible"))
14957                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14958                else
14959                   set_state(PART:"elm.units", "disabled", 0.0);
14960
14961                get_state(PART:"level2", st, 30, vl);
14962                if (!strcmp(st, "inverted"))
14963                {
14964                   set_state(PART:"level", "disabled_inverted", 0.0);
14965                   set_state(PART:"level2", "disabled_inverted", 0.0);
14966                }
14967                else
14968                {
14969                   set_state(PART:"level", "disabled", 0.0);
14970                   set_state(PART:"level2", "disabled", 0.0);
14971                }
14972             }
14973          }
14974
14975          program { name: "enable";
14976             signal: "elm,state,enabled";
14977             source: "elm";
14978             action: STATE_SET "default" 0.0;
14979 //            target: "button0";
14980             target: "disabler";
14981             after: "enable_text";
14982             after: "enable_ind";
14983          }
14984
14985          program { name: "enable_ind";
14986             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14987          }
14988          program { name: "enable_text";
14989             script {
14990                new st[31];
14991                new Float:vl;
14992                get_state(PART:"elm.text", st, 30, vl);
14993                if (!strcmp(st, "disabled_visible"))
14994                   set_state(PART:"elm.text", "visible", 0.0);
14995                else
14996                   set_state(PART:"elm.text", "default", 0.0);
14997
14998                get_state(PART:"elm.units", st, 30, vl);
14999                if (!strcmp(st, "disabled_visible"))
15000                   set_state(PART:"elm.units", "visible", 0.0);
15001                else
15002                   set_state(PART:"elm.units", "default", 0.0);
15003
15004                get_state(PART:"level2", st, 30, vl);
15005                if (!strcmp(st, "disabled_inverted"))
15006                {
15007                   set_state(PART:"level", "inverted", 0.0);
15008                   set_state(PART:"level2", "inverted", 0.0);
15009                }
15010                else
15011                {
15012                   set_state(PART:"level", "default", 0.0);
15013                   set_state(PART:"level2", "default", 0.0);
15014                }
15015             }
15016          }
15017       }
15018    }
15019    group { name: "elm/slider/horizontal/indicator/default";
15020            alias: "elm/slider/horizontal/indicator/disabled";
15021            alias: "elm/slider/vertical/indicator/default";
15022            alias: "elm/slider/vertical/indicator/disabled";
15023       images {
15024          image: "sl_bt_0.png" COMP;
15025          image: "sl_bt_1.png" COMP;
15026          image: "sl_bt_2.png" COMP;
15027          image: "sl_bt_3.png" COMP;
15028          image: "sl_bt2_0_0.png" COMP;
15029          image: "sl_bt2_0_1.png" COMP;
15030          image: "sl_bt2_0_2.png" COMP;
15031          image: "sl_bt2_1.png" COMP;
15032          image: "sl_bt2_2.png" COMP;
15033       }
15034       script {
15035          public value_hide = 0;
15036          public set_value_show() {
15037             set_int(value_hide, 0);
15038          }
15039          public set_value_hide() {
15040             set_int(value_hide, 1);
15041          }
15042          public thumb_down() {
15043             if (get_int(value_hide) == 1) {
15044                set_state(PART:"elm.indicator", "default", 0.0);
15045                set_state(PART:"button3", "default", 0.0);
15046                set_state(PART:"button4", "default", 0.0);
15047                set_state(PART:"button5", "default", 0.0);
15048                set_state(PART:"button6", "default", 0.0);
15049                set_state(PART:"button7", "default", 0.0);
15050             } else {
15051                set_state(PART:"elm.indicator", "visible", 0.0);
15052                set_state(PART:"button3", "visible", 0.0);
15053                set_state(PART:"button4", "visible", 0.0);
15054                set_state(PART:"button5", "visible", 0.0);
15055                set_state(PART:"button6", "visible", 0.0);
15056                set_state(PART:"button7", "visible", 0.0);
15057             }
15058          }
15059          public thumb_up() {
15060             set_state(PART:"elm.indicator", "default", 0.0);
15061             set_state(PART:"button3", "default", 0.0);
15062             set_state(PART:"button4", "default", 0.0);
15063             set_state(PART:"button5", "default", 0.0);
15064             set_state(PART:"button6", "default", 0.0);
15065             set_state(PART:"button7", "default", 0.0);
15066          }
15067       }
15068       parts {
15069          part { name: "button_events";
15070             type: RECT;
15071             mouse_events: 1;
15072             description { state: "default" 0.0;
15073                fixed: 1 1;
15074                min: 16 16;
15075                aspect: 1.0 1.0;
15076                aspect_preference: VERTICAL;
15077                color: 0 0 0 0;
15078             }
15079          }
15080          part { name: "button0";
15081             mouse_events: 0;
15082             description { state: "default" 0.0;
15083                fixed: 1 1;
15084                max: 17 999;
15085                min: 17 24;
15086                image {
15087                   normal: "sl_bt_0.png";
15088                   border: 5 5 5 10;
15089                }
15090                fill.smooth: 0;
15091             }
15092             description { state: "disabled" 0.0;
15093                inherit: "default" 0.0;
15094                image {
15095                   normal: "sl_bt_3.png";
15096                   border: 5 5 5 10;
15097                }
15098             }
15099          }
15100          part { name: "button1";
15101             mouse_events: 0;
15102             description { state: "default" 0.0;
15103                rel1.to: "button0";
15104                rel2 {
15105                   to: "button0";
15106                   relative: 1.0 0.5;
15107                   offset: -1 -5;
15108                }
15109                image {
15110                   normal: "sl_bt_1.png";
15111                   border: 5 5 5 0;
15112                }
15113             }
15114          }
15115          part { name: "button2";
15116             mouse_events: 0;
15117             description { state: "default" 0.0;
15118                rel1.to: "button0";
15119                rel2.to: "button0";
15120                image {
15121                   normal: "sl_bt_2.png";
15122                   border: 5 5 5 10;
15123                }
15124                fill.smooth: 0;
15125             }
15126          }
15127          part { name: "button3";
15128             mouse_events: 0;
15129             description { state: "default" 0.0;
15130                fixed: 1 1;
15131                visible: 0;
15132                min: 8 32;
15133                align: 1.0 0.5;
15134                rel1 {
15135                   to_x: "elm.indicator";
15136                   to_y: "button4";
15137                   relative: 0.0 0.0;
15138                   offset: -7 0;
15139                }
15140                rel2 {
15141                   to: "button4";
15142                   relative: 0.0 1.0;
15143                   offset: -1 -1;
15144                }
15145                image {
15146                   normal: "sl_bt2_0_0.png";
15147                   border: 6 0 6 12;
15148                }
15149                fill.smooth: 0;
15150             }
15151             description { state: "visible" 0.0;
15152                inherit: "default" 0.0;
15153                visible: 1;
15154             }
15155          }
15156          part { name: "button4";
15157             mouse_events: 0;
15158             description { state: "default" 0.0;
15159                visible: 0;
15160                max: 15 999;
15161                min: 15 32;
15162                rel1 {
15163                   to_x: "button0";
15164                   to_y: "elm.indicator";
15165                   offset: 0 0;
15166                }
15167                rel2.to: "button0";
15168                image {
15169                   normal: "sl_bt2_0_1.png";
15170                   border: 0 0 6 12;
15171                }
15172                fill.smooth: 0;
15173             }
15174             description { state: "visible" 0.0;
15175                inherit: "default" 0.0;
15176                visible: 1;
15177             }
15178          }
15179          part { name: "button5";
15180             mouse_events: 0;
15181             description { state: "default" 0.0;
15182                fixed: 1 1;
15183                visible: 0;
15184                min: 8 32;
15185                align: 0.0 0.5;
15186                rel1 {
15187                   to: "button4";
15188                   relative: 1.0 0.0;
15189                   offset: 0 0;
15190                }
15191                rel2 {
15192                   to_x: "elm.indicator";
15193                   to_y: "button4";
15194                   relative: 1.0 1.0;
15195                   offset: 6 -1;
15196                }
15197                image {
15198                   normal: "sl_bt2_0_2.png";
15199                   border: 0 6 6 12;
15200                }
15201                fill.smooth: 0;
15202             }
15203             description { state: "visible" 0.0;
15204                inherit: "default" 0.0;
15205                visible: 1;
15206             }
15207          }
15208          part { name: "elm.indicator";
15209             type: TEXT;
15210             mouse_events: 0;
15211             effect: SOFT_SHADOW;
15212             scale: 1;
15213             description { state: "default" 0.0;
15214                visible: 0;
15215                fixed: 1 1;
15216                align: 0.5 1.0;
15217                rel1 {
15218                   to: "button0";
15219                   relative: 0.0 -0.25;
15220                   offset: 0 0;
15221                }
15222                rel2 {
15223                   to_x: "button0";
15224                   relative: 1.0 -0.25;
15225                   offset: -1 0;
15226                }
15227                color: 224 224 224 255;
15228                color3: 0 0 0 64;
15229                text {
15230                   font:     "Sans,Edje-Vera";
15231                   size:     10;
15232                   min:      0 0;
15233                   align:    0.5 0.5;
15234                }
15235             }
15236             description { state: "visible" 0.0;
15237                inherit: "default" 0.0;
15238                visible: 1;
15239                text.min: 1 1;
15240                rel1.offset: 0 -1;
15241                rel2.offset: -1 -1;
15242             }
15243          }
15244          part { name: "button6";
15245             mouse_events: 0;
15246             description { state: "default" 0.0;
15247                visible: 0;
15248                rel1.to: "button3";
15249                rel2 {
15250                   to: "button5";
15251                   relative: 1.0 0.3;
15252                   offset: -1 -1;
15253                }
15254                image {
15255                   normal: "sl_bt2_1.png";
15256                   border: 5 5 5 0;
15257                }
15258                fill.smooth: 0;
15259             }
15260             description { state: "visible" 0.0;
15261                inherit: "default" 0.0;
15262                visible: 1;
15263             }
15264          }
15265          part { name: "button7";
15266             mouse_events: 0;
15267             description { state: "default" 0.0;
15268                visible: 0;
15269                rel1.to: "button3";
15270                rel2.to: "button5";
15271                image {
15272                   normal: "sl_bt2_2.png";
15273                   border: 5 5 5 0;
15274                   middle: 0;
15275                }
15276                fill.smooth: 0;
15277             }
15278             description { state: "visible" 0.0;
15279                inherit: "default" 0.0;
15280                visible: 1;
15281             }
15282          }
15283       }
15284       programs {
15285          program { name: "set_val_show";
15286             signal: "elm,state,val,show";
15287             source: "elm";
15288             script {
15289                set_value_show();
15290             }
15291          }
15292          program { name: "set_val_hide";
15293             signal: "elm,state,val,hide";
15294             source: "elm";
15295             script {
15296                set_value_hide();
15297             }
15298          }
15299          program { name: "val_show";
15300             signal: "mouse,down,*";
15301             source: "button_events";
15302             script {
15303                thumb_down();
15304             }
15305
15306          }
15307          program { name: "val_hide";
15308             signal: "mouse,up,*";
15309             source: "button_events";
15310             script {
15311                thumb_up();
15312             }
15313          }
15314          program {
15315             name:    "go_disabled";
15316             signal:  "elm,state,disabled";
15317             source:  "elm";
15318             action:  STATE_SET "disabled" 0.0;
15319             target:  "button0";
15320          }
15321          program {
15322             name:    "go_enabled";
15323             signal:  "elm,state,enabled";
15324             source:  "elm";
15325             action:  STATE_SET "default" 0.0;
15326             target:  "button0";
15327          }
15328       }
15329    }
15330
15331
15332 ////////////////////////////////////////////////////////////////////////////////
15333 // actionslider
15334 ////////////////////////////////////////////////////////////////////////////////
15335    group { name: "elm/actionslider/base/default";
15336
15337       images {
15338          image: "shelf_inset.png" COMP;
15339          image: "ilist_1.png" COMP;
15340          image: "bt_bases.png" COMP;
15341          image: "bt_basew.png" COMP;
15342          image: "bt_hilightw.png" COMP;
15343       }
15344
15345       parts {
15346          part {
15347             name: "base";
15348             mouse_events: 0;
15349             description {
15350                state: "default" 0.0;
15351                min: 75 25;
15352                rel1.offset: 1 1;
15353                rel2.offset: -2 -2;
15354                image {
15355                   normal: "ilist_1.png";
15356                   border: 2 2 2 2;
15357                }
15358                fill.smooth: 0;
15359             }
15360          }
15361          part { name: "conf_over";
15362             mouse_events:  0;
15363             description { state: "default" 0.0;
15364                rel1.to: "base";
15365                rel2.to: "base";
15366                image {
15367                   normal: "shelf_inset.png";
15368                   border: 7 7 7 7;
15369                   middle: 0;
15370                }
15371                fill.smooth : 0;
15372             }
15373          }
15374          part { name: "icon.dragable.area";
15375            type: RECT;
15376             mouse_events: 0;
15377             description { state: "default" 0.0;
15378                visible: 0;
15379                rel1.to: "base";
15380                rel2.to: "base";
15381             }
15382          }
15383          part { name: "elm.text.left";
15384             type: TEXT;
15385             mouse_events: 0;
15386             scale: 1;
15387             description { state: "default" 0.0;
15388                color: 0 0 0 255;
15389                text {
15390                   font: "Sans,Edje-Vera";
15391                   size: 10;
15392                   align: 0.05 0.5;
15393                   min: 1 1;
15394                }
15395             }
15396          }
15397          part { name: "elm.text.center";
15398             type: TEXT;
15399             mouse_events: 0;
15400             scale: 1;
15401             description { state: "default" 0.0;
15402                color: 0 0 0 255;
15403                text {
15404                   font: "Sans,Edje-Vera";
15405                   size: 10;
15406                   align: 0.5 0.5;
15407                   min: 1 1;
15408                }
15409             }
15410          }
15411          part { name: "elm.text.right";
15412             type: TEXT;
15413             mouse_events: 0;
15414             scale: 1;
15415             description { state: "default" 0.0;
15416                color: 0 0 0 255;
15417                text {
15418                   font: "Sans,Edje-Vera";
15419                   size: 10;
15420                   align: 0.95 0.5;
15421                   min: 1 1;
15422                }
15423             }
15424          }
15425          part { name: "elm.drag_button_base";
15426             type: SWALLOW;
15427             mouse_events: 0;
15428             scale: 1;
15429             description { state: "default" 0.0;
15430                fixed: 1 1;
15431                min: 50 25;
15432                align: 0.5 0.5;
15433                rel1.to: "icon.dragable.area";
15434                rel2 {
15435                   relative: 0.0 1.0;
15436                   to: "icon.dragable.area";
15437                }
15438             }
15439             dragable {
15440                confine: "icon.dragable.area";
15441                x: 1 1 0;
15442                y: 0 0 0;
15443             }
15444          }
15445          part { name: "elm.drag_button";
15446             type: RECT;
15447             mouse_events: 1;
15448             description { state: "default" 0.0;
15449                min: 50 25;
15450                color: 255 255 255 0;
15451                rel1.to_x: "elm.drag_button_base";
15452                rel1.to_y: "icon.dragable.area";
15453                rel2.to_x: "elm.drag_button_base";
15454                rel2.to_y: "icon.dragable.area";
15455             }
15456             dragable {
15457                events: "elm.drag_button_base";
15458             }
15459          }
15460          part { name: "button0";
15461             mouse_events: 0;
15462             description { state: "default" 0.0;
15463                rel1.to: "button2";
15464                rel1.offset: -4 -4;
15465                rel2.to: "button2";
15466                rel2.offset: 3 3;
15467                image {
15468                   normal: "bt_bases.png";
15469                   border: 11 11 11 11;
15470                   middle: SOLID;
15471                }
15472                color: 255 255 255 128;
15473             }
15474          }
15475          part { name: "button2";
15476             mouse_events: 0;
15477             description { state: "default" 0.0;
15478                rel1.to: "elm.drag_button";
15479                rel2.to: "elm.drag_button";
15480                image {
15481                   normal: "bt_basew.png";
15482                   border: 7 7 7 7;
15483                   middle: SOLID;
15484                }
15485                color: 255 255 255 210;
15486             }
15487          }
15488          part { name: "button3";
15489             mouse_events: 0;
15490             description { state: "default" 0.0;
15491                rel1.to: "button2";
15492                rel2.to: "button2";
15493                rel2.relative: 1.0 0.5;
15494                image {
15495                   normal: "bt_hilightw.png";
15496                   border: 4 4 4 0;
15497                }
15498                color: 255 255 255 190;
15499             }
15500          }
15501          part { name: "elm.text.indicator";
15502             type: TEXT;
15503             scale: 1;
15504             mouse_events: 0;
15505             description { state: "default" 0.0;
15506                rel1 {
15507                   to: "elm.drag_button";
15508                   offset: 5 0;
15509                }
15510                rel2 {
15511                   to: "elm.drag_button";
15512                   offset: -5 0;
15513                }
15514                color: 0 0 0 255;
15515                text {
15516                   font: "Sans,Edje-Vera";
15517                   size: 10;
15518                   align: 0.5 0.5;
15519                   min: 0 1;
15520                }
15521             }
15522          }
15523       }
15524       programs {
15525          program { name: "elm.drag_button,mouse,up";
15526             signal: "mouse,up,1";
15527             source: "elm.drag_button";
15528             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15529          }
15530          program { name: "elm.drag_button,mouse,down";
15531             signal: "mouse,down,1";
15532             source: "elm.drag_button";
15533             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15534          }
15535          program { name: "elm.drag_button,mouse,move";
15536             signal: "mouse,move";
15537             source: "elm.drag_button_base";
15538             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15539          }
15540       }
15541    }
15542
15543    group { name: "elm/actionslider/base/bar";
15544
15545       images {
15546          image: "shelf_inset.png" COMP;
15547          image: "ilist_1.png" COMP;
15548          image: "bt_bases.png" COMP;
15549          image: "bt_basew.png" COMP;
15550          image: "bt_hilightw.png" COMP;
15551       }
15552
15553       parts {
15554          part {
15555             name: "base";
15556             mouse_events: 0;
15557             description {
15558                state: "default" 0.0;
15559                min: 150 30;
15560                rel1.offset: 1 1;
15561                rel2.offset: -2 -2;
15562                image {
15563                   normal: "ilist_1.png";
15564                   border: 2 2 2 2;
15565                }
15566                fill.smooth: 0;
15567             }
15568          }
15569          part { name: "conf_over";
15570             mouse_events:  0;
15571             description { state: "default" 0.0;
15572                rel1.to: "base";
15573                rel2.to: "base";
15574                image {
15575                   normal: "shelf_inset.png";
15576                   border: 7 7 7 7;
15577                   middle: 0;
15578                }
15579                fill.smooth : 0;
15580             }
15581          }
15582          part { name: "icon.dragable.area";
15583            type: RECT;
15584             mouse_events: 0;
15585             description { state: "default" 0.0;
15586                visible: 0;
15587                rel1.to: "base";
15588                rel2.to: "base";
15589             }
15590          }
15591          part { name: "elm.text.left";
15592             type: TEXT;
15593             mouse_events: 0;
15594             scale: 1;
15595             description { state: "default" 0.0;
15596                color: 0 0 0 255;
15597                text {
15598                   font: "Sans,Edje-Vera";
15599                   size: 10;
15600                   align: 0.05 0.5;
15601                   min: 1 1;
15602                }
15603             }
15604          }
15605          part { name: "elm.text.center";
15606             type: TEXT;
15607             mouse_events: 0;
15608             scale: 1;
15609             description { state: "default" 0.0;
15610                color: 0 0 0 255;
15611                text {
15612                   font: "Sans,Edje-Vera";
15613                   size: 10;
15614                   align: 0.5 0.5;
15615                   min: 1 1;
15616                }
15617             }
15618          }
15619          part { name: "elm.text.right";
15620             type: TEXT;
15621             mouse_events: 0;
15622             scale: 1;
15623             description { state: "default" 0.0;
15624                color: 0 0 0 255;
15625                text {
15626                   font: "Sans,Edje-Vera";
15627                   size: 10;
15628                   align: 0.95 0.5;
15629                   min: 1 1;
15630                }
15631             }
15632          }
15633          part { name: "bar";
15634             type: RECT;
15635             mouse_events: 0;
15636             description { state: "default" 0.0;
15637                rel1.to: "base";
15638                rel1.offset: 0 2;
15639                rel2 {
15640                   relative: 0 1;
15641                   offset: 3 -3;
15642                   to_x: "elm.drag_button_base";
15643                   to_y: "base";
15644                }
15645                color: 0 0 0 180;
15646             }
15647          }
15648          part { name: "elm.drag_button_base";
15649             type: SWALLOW;
15650             mouse_events: 1;
15651             scale: 1;
15652             description { state: "default" 0.0;
15653                fixed: 1 1;
15654                min: 50 25;
15655                align: 0.5 0.5;
15656                rel1.to: "icon.dragable.area";
15657                rel2 {
15658                   relative: 0.0 1.0;
15659                   to: "icon.dragable.area";
15660                }
15661             }
15662             dragable {
15663                confine: "icon.dragable.area";
15664                x: 1 1 0;
15665                y: 0 0 0;
15666             }
15667          }
15668          part { name: "elm.drag_button";
15669             type: RECT;
15670             mouse_events: 1;
15671             description { state: "default" 0.0;
15672                min: 50 25;
15673                color: 255 255 255 0;
15674                rel1.to_x: "elm.drag_button_base";
15675                rel1.to_y: "icon.dragable.area";
15676                rel2.to_x: "elm.drag_button_base";
15677                rel2.to_y: "icon.dragable.area";
15678             }
15679             dragable {
15680                events: "elm.drag_button_base";
15681             }
15682          }
15683          part { name: "button0";
15684             mouse_events: 0;
15685             description { state: "default" 0.0;
15686                rel1.to: "button2";
15687                rel1.offset: -4 -4;
15688                rel2.to: "button2";
15689                rel2.offset: 3 3;
15690                image {
15691                   normal: "bt_bases.png";
15692                   border: 11 11 11 11;
15693                   middle: SOLID;
15694                }
15695                color: 255 255 255 128;
15696             }
15697          }
15698          part { name: "button2";
15699             mouse_events: 0;
15700             description { state: "default" 0.0;
15701                rel1.to: "elm.drag_button";
15702                rel2.to: "elm.drag_button";
15703                image {
15704                   normal: "bt_basew.png";
15705                   border: 7 7 7 7;
15706                   middle: SOLID;
15707                }
15708                color: 255 255 255 210;
15709             }
15710          }
15711          part { name: "button3";
15712             mouse_events: 0;
15713             description { state: "default" 0.0;
15714                rel1.to: "button2";
15715                rel2.to: "button2";
15716                rel2.relative: 1.0 0.5;
15717                image {
15718                   normal: "bt_hilightw.png";
15719                   border: 4 4 4 0;
15720                }
15721                color: 255 255 255 190;
15722             }
15723          }
15724          part { name: "elm.text.indicator";
15725             type: TEXT;
15726             scale: 1;
15727             mouse_events: 0;
15728             description { state: "default" 0.0;
15729                rel1 {
15730                   to: "elm.drag_button";
15731                   offset: 5 0;
15732                }
15733                rel2 {
15734                   to: "elm.drag_button";
15735                   offset: -5 0;
15736                }
15737                color: 0 0 0 255;
15738                text {
15739                   font: "Sans,Edje-Vera";
15740                   size: 10;
15741                   align: 0.5 0.5;
15742                   min: 0 1;
15743                }
15744             }
15745          }
15746       }
15747       programs {
15748          program { name: "elm.drag_button,mouse,up";
15749             signal: "mouse,up,1";
15750             source: "elm.drag_button";
15751             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15752          }
15753          program { name: "elm.drag_button,mouse,down";
15754             signal: "mouse,down,1";
15755             source: "elm.drag_button";
15756             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15757          }
15758          program { name: "elm.drag_button,mouse,move";
15759             signal: "mouse,move";
15760             source: "elm.drag_button_base";
15761             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15762          }
15763       }
15764    }
15765
15766 ///////////////////////////////////////////////////////////////////////////////
15767    group { name: "elm/genlist/item/default/default";
15768       data.item: "selectraise" "on";
15769       data.item: "labels" "elm.text";
15770       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15771       data.item: "treesize" "20";
15772 //      data.item: "states" "";
15773       images {
15774          image: "bt_sm_base1.png" COMP;
15775          image: "bt_sm_shine.png" COMP;
15776          image: "bt_sm_hilight.png" COMP;
15777          image: "ilist_1.png" COMP;
15778          image: "ilist_2.png" COMP;
15779          image: "ilist_item_shadow.png" COMP;
15780       }
15781       parts {
15782          part {
15783             name:           "event";
15784             type:           RECT;
15785             repeat_events: 1;
15786             description {
15787                state: "default" 0.0;
15788                color: 0 0 0 0;
15789             }
15790          }
15791          part { name: "reorder_bg";
15792             mouse_events: 0;
15793             description { state: "default" 0.0;
15794                visible: 0;
15795                color: 255 255 255 0;
15796                rel1 {
15797                   relative: 0.0 0.0;
15798                   offset: -7 -7;
15799                }
15800                rel2 {
15801                   relative: 1.0 1.0;
15802                   offset: 9 9;
15803                }
15804                image {
15805                   normal: "bt_bases.png";
15806                   border: 6 6 6 6;
15807                }
15808             }
15809             description { state: "enabled" 0.0;
15810                inherit: "default" 0.0;
15811                visible: 1;
15812                color: 255 255 255 255;
15813             }
15814          }
15815          part {
15816             name: "base_sh";
15817             mouse_events: 0;
15818             description {
15819                state: "default" 0.0;
15820                align: 0.0 0.0;
15821                min: 0 10;
15822                fixed: 1 1;
15823                rel1 {
15824                   to: "base";
15825                   relative: 0.0 1.0;
15826                   offset: 0 0;
15827                }
15828                rel2 {
15829                   to: "base";
15830                   relative: 1.0 1.0;
15831                   offset: -1 0;
15832                }
15833                image {
15834                   normal: "ilist_item_shadow.png";
15835                }
15836                fill.smooth: 0;
15837             }
15838             description {
15839                state: "default" 1.0;
15840                inherit: "default" 0.0;
15841                visible: 0;
15842             }
15843          }
15844          part {
15845             name: "base";
15846             mouse_events: 0;
15847             description {
15848                state: "default" 0.0;
15849                image {
15850                   normal: "ilist_1.png";
15851                   border: 2 2 2 2;
15852                }
15853                fill.smooth: 0;
15854             }
15855             description {
15856                state: "default" 1.0;
15857                inherit: "default" 0.0;
15858                image.normal: "ilist_2.png";
15859             }
15860          }
15861          part { name: "bg";
15862             clip_to: "disclip";
15863             mouse_events: 0;
15864             description { state: "default" 0.0;
15865                visible: 0;
15866                color: 255 255 255 0;
15867                rel1 {
15868                   relative: 0.0 0.0;
15869                   offset: -5 -5;
15870                }
15871                rel2 {
15872                   relative: 1.0 1.0;
15873                   offset: 4 4;
15874                }
15875                image {
15876                   normal: "bt_sm_base1.png";
15877                   border: 6 6 6 6;
15878                }
15879                image.middle: SOLID;
15880             }
15881             description { state: "default" 0.1;
15882                inherit: "default" 0.0;
15883             }
15884             description { state: "selected" 0.0;
15885                inherit: "default" 0.0;
15886                visible: 1;
15887                color: 255 255 255 255;
15888                rel1 {
15889                   relative: 0.0 0.0;
15890                   offset: -2 -2;
15891                }
15892                rel2 {
15893                   relative: 1.0 1.0;
15894                   offset: 1 1;
15895                }
15896             }
15897             description {
15898                state: "selected" 1.0;
15899                inherit: "selected" 0.0;
15900             }
15901          }
15902          part { name: "elm.swallow.pad";
15903             type: SWALLOW;
15904             description { state: "default" 0.0;
15905                fixed: 1 0;
15906                align: 0.0 0.5;
15907                rel1 {
15908                   relative: 0.0  0.0;
15909                   offset:   4    4;
15910                }
15911                rel2 {
15912                   relative: 0.0  1.0;
15913                   offset:   4   -5;
15914                }
15915             }
15916          }
15917          part { name: "elm.swallow.icon";
15918             clip_to: "disclip";
15919             type: SWALLOW;
15920             description { state: "default" 0.0;
15921                fixed: 1 0;
15922                align: 0.0 0.5;
15923                rel1 {
15924                   to_x: "elm.swallow.pad";
15925                   relative: 1.0  0.0;
15926                   offset:   -1    4;
15927                }
15928                rel2 {
15929                   to_x: "elm.swallow.pad";
15930                   relative: 1.0  1.0;
15931                   offset:   -1   -5;
15932                }
15933             }
15934          }
15935          part { name: "elm.swallow.end";
15936             clip_to: "disclip";
15937             type: SWALLOW;
15938             description { state: "default" 0.0;
15939                fixed: 1 0;
15940                align: 1.0 0.5;
15941                aspect: 1.0 1.0;
15942                aspect_preference: VERTICAL;
15943                rel1 {
15944                   relative: 1.0  0.0;
15945                   offset:   -5    4;
15946                }
15947                rel2 {
15948                   relative: 1.0  1.0;
15949                   offset:   -5   -5;
15950                }
15951             }
15952          }
15953          part { name: "elm.text";
15954             clip_to: "disclip";
15955             type:           TEXT;
15956             effect:         SOFT_SHADOW;
15957             mouse_events:   0;
15958             scale: 1;
15959             description {
15960                state: "default" 0.0;
15961 //               min: 16 16;
15962                rel1 {
15963                   to_x:     "elm.swallow.icon";
15964                   relative: 1.0  0.0;
15965                   offset:   0 4;
15966                }
15967                rel2 {
15968                   to_x:     "elm.swallow.end";
15969                   relative: 0.0  1.0;
15970                   offset:   -1 -5;
15971                }
15972                color: 0 0 0 255;
15973                color3: 0 0 0 0;
15974                text {
15975                   font: "Sans";
15976                   size: 10;
15977                   min: 1 1;
15978 //                  min: 0 1;
15979                   align: -1.0 0.5;
15980                   text_class: "list_item";
15981                }
15982             }
15983             description { state: "selected" 0.0;
15984                inherit: "default" 0.0;
15985                color: 224 224 224 255;
15986                color3: 0 0 0 64;
15987             }
15988          }
15989          part { name: "fg1";
15990             clip_to: "disclip";
15991             mouse_events: 0;
15992             description { state: "default" 0.0;
15993                visible: 0;
15994                color: 255 255 255 0;
15995                rel1.to: "bg";
15996                rel2.relative: 1.0 0.5;
15997                rel2.to: "bg";
15998                image {
15999                   normal: "bt_sm_hilight.png";
16000                   border: 6 6 6 0;
16001                }
16002             }
16003             description { state: "selected" 0.0;
16004                inherit: "default" 0.0;
16005                visible: 1;
16006                color: 255 255 255 255;
16007             }
16008             description {
16009                state: "selected" 1.0;
16010                inherit: "default" 0.0;
16011                visible: 1;
16012                color: 255 255 255 255;
16013             }
16014          }
16015          part { name: "fg2";
16016             clip_to: "disclip";
16017             mouse_events: 0;
16018             description { state: "default" 0.0;
16019                visible: 0;
16020                color: 255 255 255 0;
16021                rel1.to: "bg";
16022                rel2.to: "bg";
16023                image {
16024                   normal: "bt_sm_shine.png";
16025                   border: 6 6 6 0;
16026                }
16027             }
16028             description { state: "selected" 0.0;
16029                inherit: "default" 0.0;
16030                visible: 1;
16031                color: 255 255 255 255;
16032             }
16033             description {
16034                state: "selected" 1.0;
16035                inherit: "default" 0.0;
16036                visible: 1;
16037                color: 255 255 255 255;
16038             }
16039          }
16040          part { name: "disclip";
16041             type: RECT;
16042             description { state: "default" 0.0;
16043                rel1.to: "bg";
16044                rel2.to: "bg";
16045             }
16046             description { state: "disabled" 0.0;
16047                inherit: "default" 0.0;
16048                color: 255 255 255 64;
16049             }
16050          }
16051       }
16052       programs {
16053          // signal: elm,state,%s,active
16054          //   a "check" item named %s went active
16055          // signal: elm,state,%s,passive
16056          //   a "check" item named %s went passive
16057          // default is passive
16058          program {
16059             name:    "odd";
16060             signal:  "elm,state,odd";
16061             source:  "elm";
16062             action:  STATE_SET "default" 1.0;
16063             target:  "base_sh";
16064             target:  "base";
16065          }
16066          program {
16067             name:    "even";
16068             signal:  "elm,state,even";
16069             source:  "elm";
16070             action:  STATE_SET "default" 0.0;
16071             target:  "base_sh";
16072             target:  "base";
16073          }
16074          program {
16075             name:    "go_active";
16076             signal:  "elm,state,selected";
16077             source:  "elm";
16078             script {
16079                new st[31];
16080                new Float:vl;
16081                get_state(PART:"base", st, 30, vl);
16082                set_state(PART:"bg", "selected", vl);
16083                set_state(PART:"fg1", "selected", vl);
16084                set_state(PART:"fg2", "selected", vl);
16085                set_state(PART:"elm.text", "selected", vl);
16086             }
16087          }
16088          program {
16089             name:    "go_passive";
16090             signal:  "elm,state,unselected";
16091             source:  "elm";
16092             script {
16093                new st[31];
16094                new Float:vl;
16095                get_state(PART:"base", st, 30, vl);
16096                set_state(PART:"bg", "default", vl);
16097                set_state(PART:"fg1", "default", vl);
16098                set_state(PART:"fg2", "default", vl);
16099                set_state(PART:"elm.text", "default", vl);
16100             }
16101          }
16102          program {
16103             name:    "go_disabled";
16104             signal:  "elm,state,disabled";
16105             source:  "elm";
16106             action:  STATE_SET "disabled" 0.0;
16107             target:  "disclip";
16108          }
16109          program {
16110             name:    "go_enabled";
16111             signal:  "elm,state,enabled";
16112             source:  "elm";
16113             action:  STATE_SET "default" 0.0;
16114             target:  "disclip";
16115          }
16116          program {
16117             name:    "go_reorder_disabled";
16118             signal:  "elm,state,reorder,disabled";
16119             source:  "elm";
16120             action:  STATE_SET "default" 0.0;
16121             target:  "reorder_bg";
16122             transition: DECELERATE 0.5;
16123          }
16124          program {
16125             name:    "go_reorder_enabled";
16126             signal:  "elm,state,reorder,enabled";
16127             source:  "elm";
16128             action:  STATE_SET "enabled" 0.0;
16129             target:  "reorder_bg";
16130             transition: DECELERATE 0.5;
16131          }
16132       }
16133    }
16134    group { name: "elm/genlist/item/group_index/default";
16135       alias: "elm/genlist/item_compress/group_index/default";
16136       data.item: "selectraise" "on";
16137       data.item: "labels" "elm.text";
16138       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16139       data.item: "treesize" "20";
16140 //      data.item: "states" "";
16141       images {
16142          image: "bt_sm_base1.png" COMP;
16143          image: "bt_sm_shine.png" COMP;
16144          image: "bt_sm_hilight.png" COMP;
16145          image: "ilist_item_shadow.png" COMP;
16146          image: "group_index.png" COMP;
16147       }
16148       parts {
16149          part {
16150             name: "event";
16151             type: RECT;
16152             repeat_events: 0;
16153             description {
16154                state: "default" 0.0;
16155                color: 0 0 0 0;
16156             }
16157          }
16158          part {
16159             name: "base_sh";
16160             mouse_events: 0;
16161             description {
16162                state: "default" 0.0;
16163                align: 0.0 0.0;
16164                min: 0 10;
16165                fixed: 1 1;
16166                rel1 {
16167                   to: "base";
16168                   relative: 0.0 1.0;
16169                   offset: 0 0;
16170                }
16171                rel2 {
16172                   to: "base";
16173                   relative: 1.0 1.0;
16174                   offset: -1 0;
16175                }
16176                image {
16177                   normal: "ilist_item_shadow.png";
16178                }
16179                fill.smooth: 0;
16180             }
16181          }
16182          part {
16183             name: "base";
16184             mouse_events: 0;
16185             description {
16186                state: "default" 0.0;
16187                image {
16188                   normal: "group_index.png";
16189                   border: 2 2 2 2;
16190                }
16191                fill.smooth: 0;
16192             }
16193          }
16194          part { name: "bg";
16195             clip_to: "disclip";
16196             mouse_events: 0;
16197             description { state: "default" 0.0;
16198                visible: 0;
16199                color: 255 255 255 0;
16200                rel1 {
16201                   relative: 0.0 0.0;
16202                   offset: -5 -5;
16203                }
16204                rel2 {
16205                   relative: 1.0 1.0;
16206                   offset: 4 4;
16207                }
16208                image {
16209                   normal: "bt_sm_base1.png";
16210                   border: 6 6 6 6;
16211                }
16212                image.middle: SOLID;
16213             }
16214             description { state: "selected" 0.0;
16215                inherit: "default" 0.0;
16216                visible: 1;
16217                color: 255 255 255 255;
16218                rel1 {
16219                   relative: 0.0 0.0;
16220                   offset: -2 -2;
16221                }
16222                rel2 {
16223                   relative: 1.0 1.0;
16224                   offset: 1 1;
16225                }
16226             }
16227          }
16228          part { name: "elm.swallow.pad";
16229             type: SWALLOW;
16230             description { state: "default" 0.0;
16231                fixed: 1 0;
16232                align: 0.0 0.5;
16233                rel1 {
16234                   relative: 0.0  0.0;
16235                   offset: 4 4;
16236                }
16237                rel2 {
16238                   relative: 0.0  1.0;
16239                   offset: 4 -5;
16240                }
16241             }
16242          }
16243          part { name: "elm.swallow.icon";
16244             clip_to: "disclip";
16245             type: SWALLOW;
16246             description { state: "default" 0.0;
16247                fixed: 1 0;
16248                align: 0.0 0.5;
16249                rel1 {
16250                   to_x: "elm.swallow.pad";
16251                   relative: 1.0 0.0;
16252                   offset: -1 4;
16253                }
16254                rel2 {
16255                   to_x: "elm.swallow.pad";
16256                   relative: 1.0 1.0;
16257                   offset: -1 -5;
16258                }
16259             }
16260          }
16261          part { name: "elm.swallow.end";
16262             clip_to: "disclip";
16263             type: SWALLOW;
16264             description { state: "default" 0.0;
16265                fixed: 1 0;
16266                align: 1.0 0.5;
16267                aspect: 1.0 1.0;
16268                aspect_preference: VERTICAL;
16269                rel1 {
16270                   relative: 1.0 0.0;
16271                   offset: -5 4;
16272                }
16273                rel2 {
16274                   relative: 1.0 1.0;
16275                   offset: -5 -5;
16276                }
16277             }
16278          }
16279          part { name: "elm.text";
16280             clip_to: "disclip";
16281             type: TEXT;
16282             effect: SOFT_SHADOW;
16283             mouse_events: 0;
16284             scale: 1;
16285             description {
16286                state: "default" 0.0;
16287 //               min: 16 16;
16288                rel1 {
16289                   to_x: "elm.swallow.icon";
16290                   relative: 1.0  0.0;
16291                   offset: 0 4;
16292                }
16293                rel2 {
16294                   to_x: "elm.swallow.end";
16295                   relative: 0.0  1.0;
16296                   offset: -1 -5;
16297                }
16298                color: 0 0 0 255;
16299                color3: 0 0 0 0;
16300                text {
16301                   font: "Sans";
16302                   size: 10;
16303                   min: 1 1;
16304 //                  min: 0 1;
16305                   align: -1.0 0.5;
16306                   text_class: "list_item";
16307                }
16308             }
16309             description { state: "selected" 0.0;
16310                inherit: "default" 0.0;
16311                color: 224 224 224 255;
16312                color3: 0 0 0 64;
16313             }
16314          }
16315          part { name: "fg1";
16316             clip_to: "disclip";
16317             mouse_events: 0;
16318             description { state: "default" 0.0;
16319                visible: 0;
16320                color: 255 255 255 0;
16321                rel1.to: "bg";
16322                rel2.relative: 1.0 0.5;
16323                rel2.to: "bg";
16324                image {
16325                   normal: "bt_sm_hilight.png";
16326                   border: 6 6 6 0;
16327                }
16328             }
16329             description { state: "selected" 0.0;
16330                inherit: "default" 0.0;
16331                visible: 1;
16332                color: 255 255 255 255;
16333             }
16334          }
16335          part { name: "fg2";
16336             clip_to: "disclip";
16337             mouse_events: 0;
16338             description { state: "default" 0.0;
16339                visible: 0;
16340                color: 255 255 255 0;
16341                rel1.to: "bg";
16342                rel2.to: "bg";
16343                image {
16344                   normal: "bt_sm_shine.png";
16345                   border: 6 6 6 0;
16346                }
16347             }
16348             description { state: "selected" 0.0;
16349                inherit: "default" 0.0;
16350                visible: 1;
16351                color: 255 255 255 255;
16352             }
16353          }
16354          part { name: "disclip";
16355             type: RECT;
16356             description { state: "default" 0.0;
16357                rel1.to: "bg";
16358                rel2.to: "bg";
16359             }
16360             description { state: "disabled" 0.0;
16361                inherit: "default" 0.0;
16362                color: 255 255 255 64;
16363             }
16364          }
16365       }
16366       programs {
16367          // signal: elm,state,%s,active
16368          //   a "check" item named %s went active
16369          // signal: elm,state,%s,passive
16370          //   a "check" item named %s went passive
16371          // default is passive
16372          program {
16373             name:    "go_active";
16374             signal:  "elm,state,selected";
16375             source:  "elm";
16376             action:  STATE_SET "selected" 0.0;
16377             target:  "bg";
16378             target:  "fg1";
16379             target:  "fg2";
16380             target:  "elm.text";
16381          }
16382          program {
16383             name:    "go_passive";
16384             signal:  "elm,state,unselected";
16385             source:  "elm";
16386             action:  STATE_SET "default" 0.0;
16387             target:  "bg";
16388             target:  "fg1";
16389             target:  "fg2";
16390             target:  "elm.text";
16391             transition: LINEAR 0.1;
16392          }
16393          program {
16394             name:    "go_disabled";
16395             signal:  "elm,state,disabled";
16396             source:  "elm";
16397             action:  STATE_SET "disabled" 0.0;
16398             target:  "disclip";
16399          }
16400          program {
16401             name:    "go_enabled";
16402             signal:  "elm,state,enabled";
16403             source:  "elm";
16404             action:  STATE_SET "default" 0.0;
16405             target:  "disclip";
16406          }
16407       }
16408    }
16409    group { name: "elm/genlist/item_compress/message/default";
16410       data.item: "selectraise" "on";
16411       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16412 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16413       data.item: "treesize" "20";
16414 //      data.item: "states" "";
16415       images {
16416          image: "bt_sm_base1.png" COMP;
16417          image: "bt_sm_shine.png" COMP;
16418          image: "bt_sm_hilight.png" COMP;
16419          image: "ilist_1.png" COMP;
16420          image: "ilist_2.png" COMP;
16421          image: "ilist_item_shadow.png" COMP;
16422       }
16423       styles {
16424         style { name: "genlist_textblock_style";
16425           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16426           tag:  "br" "\n";
16427           tag:  "ps" "ps";
16428           tag:  "tab" "\t";
16429         }
16430         style { name: "genlist_textblock_style2";
16431           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16432           tag:  "br" "\n";
16433           tag:  "ps" "ps";
16434           tag:  "tab" "\t";
16435         }
16436       }
16437      parts {
16438          part {
16439             name:           "event";
16440             type:           RECT;
16441             repeat_events: 1;
16442             description {
16443                state: "default" 0.0;
16444                color: 0 0 0 0;
16445             }
16446          }
16447          part {
16448             name: "base_sh";
16449             mouse_events: 0;
16450             description {
16451                state: "default" 0.0;
16452                align: 0.0 0.0;
16453                min: 0 10;
16454                fixed: 1 1;
16455                rel1 {
16456                   to: "base";
16457                   relative: 0.0 1.0;
16458                   offset: 0 0;
16459                }
16460                rel2 {
16461                   to: "base";
16462                   relative: 1.0 1.0;
16463                   offset: -1 0;
16464                }
16465                image {
16466                   normal: "ilist_item_shadow.png";
16467                }
16468                fill.smooth: 0;
16469             }
16470             description {
16471                state: "default" 1.0;
16472                inherit: "default" 0.0;
16473                visible: 0;
16474             }
16475          }
16476          part {
16477             name: "base";
16478             mouse_events: 0;
16479             description {
16480                state: "default" 0.0;
16481                image {
16482                   normal: "ilist_1.png";
16483                   border: 2 2 2 2;
16484                }
16485                fill.smooth: 0;
16486             }
16487             description {
16488                state: "default" 1.0;
16489                inherit: "default" 0.0;
16490                image.normal: "ilist_2.png";
16491             }
16492          }
16493          part { name: "bg";
16494             clip_to: "disclip";
16495             mouse_events: 0;
16496             description { state: "default" 0.0;
16497                visible: 0;
16498                color: 255 255 255 0;
16499                rel1 {
16500                   relative: 0.0 0.0;
16501                   offset: -5 -5;
16502                }
16503                rel2 {
16504                   relative: 1.0 1.0;
16505                   offset: 4 4;
16506                }
16507                image {
16508                   normal: "bt_sm_base1.png";
16509                   border: 6 6 6 6;
16510                }
16511                image.middle: SOLID;
16512             }
16513             description { state: "selected" 0.0;
16514                inherit: "default" 0.0;
16515                visible: 1;
16516                color: 255 255 255 255;
16517                rel1 {
16518                   relative: 0.0 0.0;
16519                   offset: -2 -2;
16520                }
16521                rel2 {
16522                   relative: 1.0 1.0;
16523                   offset: 1 1;
16524                }
16525             }
16526          }
16527          part { name: "elm.title.1";
16528             clip_to: "disclip";
16529             type:           TEXT;
16530             effect:         SOFT_SHADOW;
16531             mouse_events:   0;
16532             scale: 1;
16533             description {
16534                state: "default" 0.0;
16535                fixed: 0 1;
16536 //               min: 16 16;
16537                rel1 {
16538                   relative: 0.0  0.0;
16539                   offset:   4 4;
16540                }
16541                rel2 {
16542                   relative: 1.0  0.0;
16543                   offset:   -5 4;
16544                }
16545                color: 0 0 0 255;
16546                color3: 0 0 0 0;
16547                align: 0.0 0.0;
16548                text {
16549                   font: "Sans";
16550                   size: 10;
16551                   min: 0 1;
16552 //                  min: 1 1;
16553                   align: 0.0 0.0;
16554                   text_class: "list_item";
16555                }
16556             }
16557             description { state: "selected" 0.0;
16558                inherit: "default" 0.0;
16559                color: 224 224 224 255;
16560                color3: 0 0 0 64;
16561             }
16562          }
16563          part { name: "elm.title.2";
16564             clip_to: "disclip";
16565             type:           TEXT;
16566             effect:         SOFT_SHADOW;
16567             mouse_events:   0;
16568             scale: 1;
16569             description {
16570                state: "default" 0.0;
16571                fixed: 0 1;
16572 //               min: 16 16;
16573                rel1 {
16574                   to_y:     "elm.title.1";
16575                   relative: 0.0  1.0;
16576                   offset:   4 0;
16577                }
16578                rel2 {
16579                   to_y:     "elm.title.1";
16580                   relative: 1.0  1.0;
16581                   offset:   -5 0;
16582                }
16583                color: 0 0 0 255;
16584                color3: 0 0 0 0;
16585                align: 0.0 0.0;
16586                text {
16587                   font: "Sans";
16588                   size: 10;
16589                   min: 0 1;
16590 //                  min: 1 1;
16591                   align: 0.0 0.0;
16592                   text_class: "list_item";
16593                }
16594             }
16595             description { state: "selected" 0.0;
16596                inherit: "default" 0.0;
16597                color: 224 224 224 255;
16598                color3: 0 0 0 64;
16599             }
16600          }
16601          part { name: "elm.text";
16602             clip_to: "disclip";
16603             type:           TEXTBLOCK;
16604             mouse_events:   0;
16605             scale: 1;
16606             description {
16607                state: "default" 0.0;
16608 //               fixed: 0 1;
16609 //               min: 16 16;
16610                rel1 {
16611                   to_y:     "elm.title.2";
16612                   relative: 0.0  1.0;
16613                   offset:   4 0;
16614                }
16615                rel2 {
16616                   relative: 1.0  1.0;
16617                   offset:   -5 -5;
16618                }
16619                align: 0.0 0.0;
16620                text {
16621                   style: "genlist_textblock_style";
16622                   min: 0 1;
16623 //                  min: 1 1;
16624                   align: 0.0 0.0;
16625                }
16626             }
16627             description { state: "selected" 0.0;
16628                inherit: "default" 0.0;
16629                text {
16630                   style: "genlist_textblock_style2";
16631                }
16632             }
16633          }
16634          part { name: "fg1";
16635             clip_to: "disclip";
16636             mouse_events: 0;
16637             description { state: "default" 0.0;
16638                visible: 0;
16639                color: 255 255 255 0;
16640                rel1.to: "bg";
16641                rel2.relative: 1.0 0.5;
16642                rel2.to: "bg";
16643                image {
16644                   normal: "bt_sm_hilight.png";
16645                   border: 6 6 6 0;
16646                }
16647             }
16648             description { state: "selected" 0.0;
16649                inherit: "default" 0.0;
16650                visible: 1;
16651                color: 255 255 255 255;
16652             }
16653          }
16654          part { name: "fg2";
16655             clip_to: "disclip";
16656             mouse_events: 0;
16657             description { state: "default" 0.0;
16658                visible: 0;
16659                color: 255 255 255 0;
16660                rel1.to: "bg";
16661                rel2.to: "bg";
16662                image {
16663                   normal: "bt_sm_shine.png";
16664                   border: 6 6 6 0;
16665                }
16666             }
16667             description { state: "selected" 0.0;
16668                inherit: "default" 0.0;
16669                visible: 1;
16670                color: 255 255 255 255;
16671             }
16672          }
16673          part { name: "disclip";
16674             type: RECT;
16675             description { state: "default" 0.0;
16676                rel1.to: "bg";
16677                rel2.to: "bg";
16678             }
16679             description { state: "disabled" 0.0;
16680                inherit: "default" 0.0;
16681                color: 255 255 255 64;
16682             }
16683          }
16684       }
16685       programs {
16686          // signal: elm,state,%s,active
16687          //   a "check" item named %s went active
16688          // signal: elm,state,%s,passive
16689          //   a "check" item named %s went passive
16690          // default is passive
16691          program {
16692             name:    "odd";
16693             signal:  "elm,state,odd";
16694             source:  "elm";
16695             action:  STATE_SET "default" 1.0;
16696             target:  "base_sh";
16697             target:  "base";
16698          }
16699          program {
16700             name:    "even";
16701             signal:  "elm,state,even";
16702             source:  "elm";
16703             action:  STATE_SET "default" 0.0;
16704             target:  "base_sh";
16705             target:  "base";
16706          }
16707          program {
16708             name:    "go_active";
16709             signal:  "elm,state,selected";
16710             source:  "elm";
16711             action:  STATE_SET "selected" 0.0;
16712             target:  "bg";
16713             target:  "fg1";
16714             target:  "fg2";
16715             target:  "elm.title.1";
16716             target:  "elm.title.2";
16717             target:  "elm.text";
16718          }
16719          program {
16720             name:    "go_passive";
16721             signal:  "elm,state,unselected";
16722             source:  "elm";
16723             action:  STATE_SET "default" 0.0;
16724             target:  "bg";
16725             target:  "fg1";
16726             target:  "fg2";
16727             target:  "elm.title.1";
16728             target:  "elm.title.2";
16729             target:  "elm.text";
16730             transition: LINEAR 0.1;
16731          }
16732          program {
16733             name:    "go_disabled";
16734             signal:  "elm,state,disabled";
16735             source:  "elm";
16736             action:  STATE_SET "disabled" 0.0;
16737             target:  "disclip";
16738          }
16739          program {
16740             name:    "go_enabled";
16741             signal:  "elm,state,enabled";
16742             source:  "elm";
16743             action:  STATE_SET "default" 0.0;
16744             target:  "disclip";
16745          }
16746       }
16747    }
16748
16749    group { name: "elm/genlist/item_compress/default/default";
16750       data.item: "selectraise" "on";
16751       data.item: "labels" "elm.text";
16752       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16753       data.item: "treesize" "20";
16754 //      data.item: "states" "";
16755       images {
16756          image: "bt_sm_base1.png" COMP;
16757          image: "bt_sm_shine.png" COMP;
16758          image: "bt_sm_hilight.png" COMP;
16759          image: "ilist_1.png" COMP;
16760          image: "ilist_2.png" COMP;
16761          image: "ilist_item_shadow.png" COMP;
16762       }
16763       parts {
16764          part {
16765             name:           "event";
16766             type:           RECT;
16767             repeat_events: 1;
16768             description {
16769                state: "default" 0.0;
16770                color: 0 0 0 0;
16771             }
16772          }
16773          part {
16774             name: "base_sh";
16775             mouse_events: 0;
16776             description {
16777                state: "default" 0.0;
16778                align: 0.0 0.0;
16779                min: 0 10;
16780                fixed: 1 1;
16781                rel1 {
16782                   to: "base";
16783                   relative: 0.0 1.0;
16784                   offset: 0 0;
16785                }
16786                rel2 {
16787                   to: "base";
16788                   relative: 1.0 1.0;
16789                   offset: -1 0;
16790                }
16791                image {
16792                   normal: "ilist_item_shadow.png";
16793                }
16794                fill.smooth: 0;
16795             }
16796             description {
16797                state: "default" 1.0;
16798                inherit: "default" 0.0;
16799                visible: 0;
16800             }
16801          }
16802          part {
16803             name: "base";
16804             mouse_events: 0;
16805             description {
16806                state: "default" 0.0;
16807                image {
16808                   normal: "ilist_1.png";
16809                   border: 2 2 2 2;
16810                }
16811                fill.smooth: 0;
16812             }
16813             description {
16814                state: "default" 1.0;
16815                inherit: "default" 0.0;
16816                image.normal: "ilist_2.png";
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:    "odd";
16999             signal:  "elm,state,odd";
17000             source:  "elm";
17001             action:  STATE_SET "default" 1.0;
17002             target:  "base_sh";
17003             target:  "base";
17004          }
17005          program {
17006             name:    "even";
17007             signal:  "elm,state,even";
17008             source:  "elm";
17009             action:  STATE_SET "default" 0.0;
17010             target:  "base_sh";
17011             target:  "base";
17012          }
17013          program {
17014             name:    "go_active";
17015             signal:  "elm,state,selected";
17016             source:  "elm";
17017             action:  STATE_SET "selected" 0.0;
17018             target:  "bg";
17019             target:  "fg1";
17020             target:  "fg2";
17021             target:  "elm.text";
17022          }
17023          program {
17024             name:    "go_passive";
17025             signal:  "elm,state,unselected";
17026             source:  "elm";
17027             action:  STATE_SET "default" 0.0;
17028             target:  "bg";
17029             target:  "fg1";
17030             target:  "fg2";
17031             target:  "elm.text";
17032             transition: LINEAR 0.1;
17033          }
17034          program {
17035             name:    "go_disabled";
17036             signal:  "elm,state,disabled";
17037             source:  "elm";
17038             action:  STATE_SET "disabled" 0.0;
17039             target:  "disclip";
17040          }
17041          program {
17042             name:    "go_enabled";
17043             signal:  "elm,state,enabled";
17044             source:  "elm";
17045             action:  STATE_SET "default" 0.0;
17046             target:  "disclip";
17047          }
17048       }
17049    }
17050
17051    group { name: "elm/genlist/tree/default/default";
17052       data.item: "selectraise" "on";
17053       data.item: "labels" "elm.text";
17054       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17055       data.item: "treesize" "20";
17056 //      data.item: "states" "";
17057       images {
17058          image: "bt_sm_base1.png" COMP;
17059          image: "bt_sm_shine.png" COMP;
17060          image: "bt_sm_hilight.png" COMP;
17061          image: "ilist_1.png" COMP;
17062          image: "ilist_2.png" COMP;
17063          image: "ilist_item_shadow.png" COMP;
17064          image: "icon_arrow_left.png" COMP;
17065          image: "icon_arrow_right.png" COMP;
17066          image: "icon_arrow_down.png" COMP;
17067       }
17068       parts {
17069          part {
17070             name:           "event";
17071             type:           RECT;
17072             repeat_events: 1;
17073             description {
17074                state: "default" 0.0;
17075                color: 0 0 0 0;
17076             }
17077          }
17078          part {
17079             name: "base_sh";
17080             mouse_events: 0;
17081             description {
17082                state: "default" 0.0;
17083                align: 0.0 0.0;
17084                min: 0 10;
17085                fixed: 1 1;
17086                rel1 {
17087                   to: "base";
17088                   relative: 0.0 1.0;
17089                   offset: 0 0;
17090                }
17091                rel2 {
17092                   to: "base";
17093                   relative: 1.0 1.0;
17094                   offset: -1 0;
17095                }
17096                image {
17097                   normal: "ilist_item_shadow.png";
17098                }
17099                fill.smooth: 0;
17100             }
17101             description {
17102                state: "default" 1.0;
17103                inherit: "default" 0.0;
17104                visible: 0;
17105             }
17106          }
17107          part {
17108             name: "base";
17109             mouse_events: 0;
17110             description {
17111                state: "default" 0.0;
17112                image {
17113                   normal: "ilist_1.png";
17114                   border: 2 2 2 2;
17115                }
17116                fill.smooth: 0;
17117             }
17118             description {
17119                state: "default" 1.0;
17120                inherit: "default" 0.0;
17121                image.normal: "ilist_2.png";
17122             }
17123          }
17124          part { name: "bg";
17125             clip_to: "disclip";
17126             mouse_events: 0;
17127             description { state: "default" 0.0;
17128                visible: 0;
17129                color: 255 255 255 0;
17130                rel1 {
17131                   relative: 0.0 0.0;
17132                   offset: -5 -5;
17133                }
17134                rel2 {
17135                   relative: 1.0 1.0;
17136                   offset: 4 4;
17137                }
17138                image {
17139                   normal: "bt_sm_base1.png";
17140                   border: 6 6 6 6;
17141                }
17142                image.middle: SOLID;
17143             }
17144             description { state: "selected" 0.0;
17145                inherit: "default" 0.0;
17146                visible: 1;
17147                color: 255 255 255 255;
17148                rel1 {
17149                   relative: 0.0 0.0;
17150                   offset: -2 -2;
17151                }
17152                rel2 {
17153                   relative: 1.0 1.0;
17154                   offset: 1 1;
17155                }
17156             }
17157          }
17158          part { name: "elm.swallow.pad";
17159             type: SWALLOW;
17160             description { state: "default" 0.0;
17161                fixed: 1 0;
17162                align: 0.0 0.5;
17163                rel1 {
17164                   relative: 0.0  0.0;
17165                   offset:   4    4;
17166                }
17167                rel2 {
17168                   relative: 0.0  1.0;
17169                   offset:   4   -5;
17170                }
17171             }
17172          }
17173          part { name: "arrow";
17174             clip_to: "disclip";
17175             ignore_flags: ON_HOLD;
17176             description { state: "default" 0.0;
17177                fixed: 1 0;
17178                align: 0.0 0.5;
17179                aspect: 1.0 1.0;
17180                rel1 {
17181                   to_x: "elm.swallow.pad";
17182                   relative: 1.0  0.0;
17183                   offset:   -1    4;
17184                }
17185                rel2 {
17186                   to_x: "elm.swallow.pad";
17187                   relative: 1.0  1.0;
17188                   offset:   -1   -5;
17189                }
17190                image.normal: "icon_arrow_right.png";
17191             }
17192             description { state: "default" 0.1;
17193                inherit: "default" 0.0;
17194                image.normal: "icon_arrow_left.png";
17195             }
17196             description { state: "active" 0.0;
17197                inherit: "default" 0.0;
17198                image.normal: "icon_arrow_down.png";
17199             }
17200             description { state: "active" 0.1;
17201                inherit: "default" 0.0;
17202                image.normal: "icon_arrow_down.png";
17203             }
17204          }
17205          part { name: "elm.swallow.icon";
17206             clip_to: "disclip";
17207             type: SWALLOW;
17208             description { state: "default" 0.0;
17209                fixed: 1 0;
17210                align: 0.0 0.5;
17211                rel1 {
17212                   to_x: "arrow";
17213                   relative: 1.0  0.0;
17214                   offset:   4    4;
17215                }
17216                rel2 {
17217                   to_x: "arrow";
17218                   relative: 1.0  1.0;
17219                   offset:   4   -5;
17220                }
17221             }
17222          }
17223          part { name: "elm.swallow.end";
17224             clip_to: "disclip";
17225             type: SWALLOW;
17226             description { state: "default" 0.0;
17227                fixed: 1 0;
17228                align: 1.0 0.5;
17229                aspect: 1.0 1.0;
17230                aspect_preference: VERTICAL;
17231                rel1 {
17232                   relative: 1.0  0.0;
17233                   offset:   -5    4;
17234                }
17235                rel2 {
17236                   relative: 1.0  1.0;
17237                   offset:   -5   -5;
17238                }
17239             }
17240          }
17241          part { name: "elm.text";
17242             clip_to: "disclip";
17243             type:           TEXT;
17244             effect:         SOFT_SHADOW;
17245             mouse_events:   0;
17246             scale: 1;
17247             description {
17248                state: "default" 0.0;
17249 //               min: 16 16;
17250                rel1 {
17251                   to_x:     "elm.swallow.icon";
17252                   relative: 1.0  0.0;
17253                   offset:   0 4;
17254                }
17255                rel2 {
17256                   to_x:     "elm.swallow.end";
17257                   relative: 0.0  1.0;
17258                   offset:   -1 -5;
17259                }
17260                color: 0 0 0 255;
17261                color3: 0 0 0 0;
17262                text {
17263                   font: "Sans";
17264                   size: 10;
17265                   min: 1 1;
17266 //                  min: 0 1;
17267                   align: -1.0 0.5;
17268                   text_class: "list_item";
17269                }
17270             }
17271             description { state: "selected" 0.0;
17272                inherit: "default" 0.0;
17273                color: 224 224 224 255;
17274                color3: 0 0 0 64;
17275             }
17276          }
17277          part { name: "fg1";
17278             clip_to: "disclip";
17279             mouse_events: 0;
17280             description { state: "default" 0.0;
17281                visible: 0;
17282                color: 255 255 255 0;
17283                rel1.to: "bg";
17284                rel2.relative: 1.0 0.5;
17285                rel2.to: "bg";
17286                image {
17287                   normal: "bt_sm_hilight.png";
17288                   border: 6 6 6 0;
17289                }
17290             }
17291             description { state: "selected" 0.0;
17292                inherit: "default" 0.0;
17293                visible: 1;
17294                color: 255 255 255 255;
17295             }
17296          }
17297          part { name: "fg2";
17298             clip_to: "disclip";
17299             mouse_events: 0;
17300             description { state: "default" 0.0;
17301                visible: 0;
17302                color: 255 255 255 0;
17303                rel1.to: "bg";
17304                rel2.to: "bg";
17305                image {
17306                   normal: "bt_sm_shine.png";
17307                   border: 6 6 6 0;
17308                }
17309             }
17310             description { state: "selected" 0.0;
17311                inherit: "default" 0.0;
17312                visible: 1;
17313                color: 255 255 255 255;
17314             }
17315          }
17316          part { name: "disclip";
17317             type: RECT;
17318             description { state: "default" 0.0;
17319                rel1.to: "bg";
17320                rel2.to: "bg";
17321             }
17322             description { state: "disabled" 0.0;
17323                inherit: "default" 0.0;
17324                color: 255 255 255 64;
17325             }
17326          }
17327       }
17328       programs {
17329          // signal: elm,state,%s,active
17330          //   a "check" item named %s went active
17331          // signal: elm,state,%s,passive
17332          //   a "check" item named %s went passive
17333          // default is passive
17334          program {
17335             name:    "odd";
17336             signal:  "elm,state,odd";
17337             source:  "elm";
17338             action:  STATE_SET "default" 1.0;
17339             target:  "base_sh";
17340             target:  "base";
17341          }
17342          program {
17343             name:    "even";
17344             signal:  "elm,state,even";
17345             source:  "elm";
17346             action:  STATE_SET "default" 0.0;
17347             target:  "base_sh";
17348             target:  "base";
17349          }
17350          program {
17351             name:    "go_active";
17352             signal:  "elm,state,selected";
17353             source:  "elm";
17354             action:  STATE_SET "selected" 0.0;
17355             target:  "bg";
17356             target:  "fg1";
17357             target:  "fg2";
17358             target:  "elm.text";
17359          }
17360          program {
17361             name:    "go_passive";
17362             signal:  "elm,state,unselected";
17363             source:  "elm";
17364             action:  STATE_SET "default" 0.0;
17365             target:  "bg";
17366             target:  "fg1";
17367             target:  "fg2";
17368             target:  "elm.text";
17369             transition: LINEAR 0.1;
17370          }
17371          program {
17372             name:    "go_disabled";
17373             signal:  "elm,state,disabled";
17374             source:  "elm";
17375             action:  STATE_SET "disabled" 0.0;
17376             target:  "disclip";
17377          }
17378          program {
17379             name:    "go_enabled";
17380             signal:  "elm,state,enabled";
17381             source:  "elm";
17382             action:  STATE_SET "default" 0.0;
17383             target:  "disclip";
17384          }
17385          program {
17386             name:    "expand";
17387             signal:  "mouse,up,1";
17388             source:  "arrow";
17389             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17390          }
17391          program {
17392             name:    "go_expanded";
17393             signal:  "elm,state,expanded";
17394             source:  "elm";
17395             script {
17396                new st[31];
17397                new Float:vl;
17398                get_state(PART:"arrow", st, 30, vl);
17399                set_state(PART:"arrow", "active", vl);
17400             }
17401          }
17402          program {
17403             name:    "go_contracted";
17404             signal:  "elm,state,contracted";
17405             source:  "elm";
17406             script {
17407                new st[31];
17408                new Float:vl;
17409                get_state(PART:"arrow", st, 30, vl);
17410                set_state(PART:"arrow", "default", vl);
17411             }
17412          }
17413          program { name: "to_rtl";
17414             signal: "edje,state,rtl";
17415             source: "edje";
17416             script {
17417                new st[31];
17418                new Float:vl;
17419                get_state(PART:"arrow", st, 30, vl);
17420                if (vl == 0.0) {
17421                   set_state(PART:"arrow", st, 0.1);
17422                }
17423             }
17424          }
17425          program { name: "to_ltr";
17426             signal: "edje,state,ltr";
17427             source: "edje";
17428             script {
17429                new st[31];
17430                new Float:vl;
17431                get_state(PART:"arrow", st, 30, vl);
17432                if (vl == 0.1) {
17433                   set_state(PART:"arrow", st, 0.0);
17434                }
17435             }
17436          }
17437       }
17438    }
17439    group { name: "elm/genlist/tree_compress/default/default";
17440       data.item: "stacking" "above";
17441       data.item: "selectraise" "on";
17442       data.item: "labels" "elm.text";
17443       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17444       data.item: "treesize" "20";
17445 //      data.item: "states" "";
17446       images {
17447          image: "bt_sm_base1.png" COMP;
17448          image: "bt_sm_shine.png" COMP;
17449          image: "bt_sm_hilight.png" COMP;
17450          image: "ilist_1.png" COMP;
17451          image: "ilist_item_shadow.png" COMP;
17452          image: "icon_arrow_left.png" COMP;
17453          image: "icon_arrow_right.png" COMP;
17454          image: "icon_arrow_down.png" COMP;
17455       }
17456       parts {
17457          part {
17458             name:           "event";
17459             type:           RECT;
17460             repeat_events: 1;
17461             description {
17462                state: "default" 0.0;
17463                color: 0 0 0 0;
17464             }
17465          }
17466          part {
17467             name: "base_sh";
17468             mouse_events: 0;
17469             description {
17470                state: "default" 0.0;
17471                align: 0.0 0.0;
17472                min: 0 10;
17473                fixed: 1 1;
17474                rel1 {
17475                   to: "base";
17476                   relative: 0.0 1.0;
17477                   offset: 0 0;
17478                }
17479                rel2 {
17480                   to: "base";
17481                   relative: 1.0 1.0;
17482                   offset: -1 0;
17483                }
17484                image {
17485                   normal: "ilist_item_shadow.png";
17486                }
17487                fill.smooth: 0;
17488             }
17489             description {
17490                state: "default" 1.0;
17491                inherit: "default" 0.0;
17492                visible: 0;
17493             }
17494          }
17495          part {
17496             name: "base";
17497             mouse_events: 0;
17498             description {
17499                state: "default" 0.0;
17500                image {
17501                   normal: "ilist_1.png";
17502                   border: 2 2 2 2;
17503                }
17504                fill.smooth: 0;
17505             }
17506             description {
17507                state: "default" 1.0;
17508                inherit: "default" 0.0;
17509                image.normal: "ilist_2.png";
17510             }
17511          }
17512          part { name: "bg";
17513             clip_to: "disclip";
17514             mouse_events: 0;
17515             description { state: "default" 0.0;
17516                visible: 0;
17517                color: 255 255 255 0;
17518                rel1 {
17519                   relative: 0.0 0.0;
17520                   offset: -5 -5;
17521                }
17522                rel2 {
17523                   relative: 1.0 1.0;
17524                   offset: 4 4;
17525                }
17526                image {
17527                   normal: "bt_sm_base1.png";
17528                   border: 6 6 6 6;
17529                }
17530                image.middle: SOLID;
17531             }
17532             description { state: "selected" 0.0;
17533                inherit: "default" 0.0;
17534                visible: 1;
17535                color: 255 255 255 255;
17536                rel1 {
17537                   relative: 0.0 0.0;
17538                   offset: -2 -2;
17539                }
17540                rel2 {
17541                   relative: 1.0 1.0;
17542                   offset: 1 1;
17543                }
17544             }
17545          }
17546          part { name: "elm.swallow.pad";
17547             type: SWALLOW;
17548             description { state: "default" 0.0;
17549                fixed: 1 0;
17550                align: 0.0 0.5;
17551                rel1 {
17552                   relative: 0.0  0.0;
17553                   offset:   4    4;
17554                }
17555                rel2 {
17556                   relative: 0.0  1.0;
17557                   offset:   4   -5;
17558                }
17559             }
17560          }
17561          part { name: "arrow";
17562             clip_to: "disclip";
17563             ignore_flags: ON_HOLD;
17564             description { state: "default" 0.0;
17565                fixed: 1 0;
17566                align: 0.0 0.5;
17567                aspect: 1.0 1.0;
17568                rel1 {
17569                   to_x: "elm.swallow.pad";
17570                   relative: 1.0  0.0;
17571                   offset:   -1    4;
17572                }
17573                rel2 {
17574                   to_x: "elm.swallow.pad";
17575                   relative: 1.0  1.0;
17576                   offset:   -1   -5;
17577                }
17578                image.normal: "icon_arrow_right.png";
17579             }
17580             description { state: "default" 0.1;
17581                inherit: "default" 0.0;
17582                image.normal: "icon_arrow_left.png";
17583             }
17584             description { state: "active" 0.0;
17585                inherit: "default" 0.0;
17586                image.normal: "icon_arrow_down.png";
17587             }
17588             description { state: "active" 0.1;
17589                inherit: "default" 0.0;
17590                image.normal: "icon_arrow_down.png";
17591             }
17592          }
17593          part { name: "elm.swallow.icon";
17594             clip_to: "disclip";
17595             type: SWALLOW;
17596             description { state: "default" 0.0;
17597                fixed: 1 0;
17598                align: 0.0 0.5;
17599                rel1 {
17600                   to_x: "arrow";
17601                   relative: 1.0  0.0;
17602                   offset:   4    4;
17603                }
17604                rel2 {
17605                   to_x: "arrow";
17606                   relative: 1.0  1.0;
17607                   offset:   4   -5;
17608                }
17609             }
17610          }
17611          part { name: "elm.swallow.end";
17612             clip_to: "disclip";
17613             type: SWALLOW;
17614             description { state: "default" 0.0;
17615                fixed: 1 0;
17616                align: 1.0 0.5;
17617                aspect: 1.0 1.0;
17618                aspect_preference: VERTICAL;
17619                rel1 {
17620                   relative: 1.0  0.0;
17621                   offset:   -5    4;
17622                }
17623                rel2 {
17624                   relative: 1.0  1.0;
17625                   offset:   -5   -5;
17626                }
17627             }
17628          }
17629          part { name: "elm.text";
17630             clip_to: "disclip";
17631             type:           TEXT;
17632             effect:         SOFT_SHADOW;
17633             mouse_events:   0;
17634             scale: 1;
17635             description {
17636                state: "default" 0.0;
17637 //               min: 16 16;
17638                rel1 {
17639                   to_x:     "elm.swallow.icon";
17640                   relative: 1.0  0.0;
17641                   offset:   0 4;
17642                }
17643                rel2 {
17644                   to_x:     "elm.swallow.end";
17645                   relative: 0.0  1.0;
17646                   offset:   -1 -5;
17647                }
17648                color: 0 0 0 255;
17649                color3: 0 0 0 0;
17650                text {
17651                   font: "Sans";
17652                   size: 10;
17653 //                  min: 1 1;
17654                   min: 0 1;
17655                   align: 0.0 0.5;
17656                   text_class: "list_item";
17657                }
17658             }
17659             description { state: "selected" 0.0;
17660                inherit: "default" 0.0;
17661                color: 224 224 224 255;
17662                color3: 0 0 0 64;
17663             }
17664          }
17665          part { name: "fg1";
17666             clip_to: "disclip";
17667             mouse_events: 0;
17668             description { state: "default" 0.0;
17669                visible: 0;
17670                color: 255 255 255 0;
17671                rel1.to: "bg";
17672                rel2.relative: 1.0 0.5;
17673                rel2.to: "bg";
17674                image {
17675                   normal: "bt_sm_hilight.png";
17676                   border: 6 6 6 0;
17677                }
17678             }
17679             description { state: "selected" 0.0;
17680                inherit: "default" 0.0;
17681                visible: 1;
17682                color: 255 255 255 255;
17683             }
17684          }
17685          part { name: "fg2";
17686             clip_to: "disclip";
17687             mouse_events: 0;
17688             description { state: "default" 0.0;
17689                visible: 0;
17690                color: 255 255 255 0;
17691                rel1.to: "bg";
17692                rel2.to: "bg";
17693                image {
17694                   normal: "bt_sm_shine.png";
17695                   border: 6 6 6 0;
17696                }
17697             }
17698             description { state: "selected" 0.0;
17699                inherit: "default" 0.0;
17700                visible: 1;
17701                color: 255 255 255 255;
17702             }
17703          }
17704          part { name: "disclip";
17705             type: RECT;
17706             description { state: "default" 0.0;
17707                rel1.to: "bg";
17708                rel2.to: "bg";
17709             }
17710             description { state: "disabled" 0.0;
17711                inherit: "default" 0.0;
17712                color: 255 255 255 64;
17713             }
17714          }
17715       }
17716       programs {
17717          // signal: elm,state,%s,active
17718          //   a "check" item named %s went active
17719          // signal: elm,state,%s,passive
17720          //   a "check" item named %s went passive
17721          // default is passive
17722          program {
17723             name:    "odd";
17724             signal:  "elm,state,odd";
17725             source:  "elm";
17726             action:  STATE_SET "default" 1.0;
17727             target:  "base_sh";
17728             target:  "base";
17729          }
17730          program {
17731             name:    "even";
17732             signal:  "elm,state,even";
17733             source:  "elm";
17734             action:  STATE_SET "default" 0.0;
17735             target:  "base_sh";
17736             target:  "base";
17737          }
17738          program {
17739             name:    "go_active";
17740             signal:  "elm,state,selected";
17741             source:  "elm";
17742             action:  STATE_SET "selected" 0.0;
17743             target:  "bg";
17744             target:  "fg1";
17745             target:  "fg2";
17746             target:  "elm.text";
17747          }
17748          program {
17749             name:    "go_passive";
17750             signal:  "elm,state,unselected";
17751             source:  "elm";
17752             action:  STATE_SET "default" 0.0;
17753             target:  "bg";
17754             target:  "fg1";
17755             target:  "fg2";
17756             target:  "elm.text";
17757             transition: LINEAR 0.1;
17758          }
17759          program {
17760             name:    "go_disabled";
17761             signal:  "elm,state,disabled";
17762             source:  "elm";
17763             action:  STATE_SET "disabled" 0.0;
17764             target:  "disclip";
17765          }
17766          program {
17767             name:    "go_enabled";
17768             signal:  "elm,state,enabled";
17769             source:  "elm";
17770             action:  STATE_SET "default" 0.0;
17771             target:  "disclip";
17772          }
17773          program {
17774             name:    "expand";
17775             signal:  "mouse,up,1";
17776             source:  "arrow";
17777             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17778          }
17779          program {
17780             name:    "go_expanded";
17781             signal:  "elm,state,expanded";
17782             source:  "elm";
17783             script {
17784                new st[31];
17785                new Float:vl;
17786                get_state(PART:"arrow", st, 30, vl);
17787                set_state(PART:"arrow", "active", vl);
17788             }
17789          }
17790          program {
17791             name:    "go_contracted";
17792             signal:  "elm,state,contracted";
17793             source:  "elm";
17794             script {
17795                new st[31];
17796                new Float:vl;
17797                get_state(PART:"arrow", st, 30, vl);
17798                set_state(PART:"arrow", "default", vl);
17799             }
17800          }
17801          program { name: "to_rtl";
17802             signal: "edje,state,rtl";
17803             source: "edje";
17804             script {
17805                new st[31];
17806                new Float:vl;
17807                get_state(PART:"arrow", st, 30, vl);
17808                if (vl == 0.0) {
17809                   set_state(PART:"arrow", st, 0.1);
17810                }
17811             }
17812          }
17813          program { name: "to_ltr";
17814             signal: "edje,state,ltr";
17815             source: "edje";
17816             script {
17817                new st[31];
17818                new Float:vl;
17819                get_state(PART:"arrow", st, 30, vl);
17820                if (vl == 0.1) {
17821                   set_state(PART:"arrow", st, 0.0);
17822                }
17823             }
17824          }
17825       }
17826    }
17827    group { name: "elm/genlist/item/default_style/default";
17828        styles
17829        {
17830            style { name: "genlist_style";
17831                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17832                tag:  "br" "\n";
17833                tag:  "ps" "ps";
17834                tag:  "hilight" "+ font=Sans:style=Bold";
17835                tag:  "b" "+ font=Sans:style=Bold";
17836                tag:  "tab" "\t";
17837            }
17838            style { name: "genlist_selected_style";
17839                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17840                tag:  "br" "\n";
17841                tag:  "ps" "ps";
17842                tag:  "hilight" "+ font=Sans:style=Bold";
17843                tag:  "b" "+ font=Sans:style=Bold";
17844                tag:  "tab" "\t";
17845            }
17846        }
17847        data.item: "stacking" "above";
17848        data.item: "selectraise" "on";
17849        data.item: "labels" "elm.text";
17850        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17851        data.item: "treesize" "20";
17852        images {
17853            image: "bt_sm_base1.png" COMP;
17854            image: "bt_sm_shine.png" COMP;
17855            image: "bt_sm_hilight.png" COMP;
17856            image: "ilist_1.png" COMP;
17857            image: "ilist_item_shadow.png" COMP;
17858        }
17859        parts {
17860            part {
17861                name:           "event";
17862                type:           RECT;
17863                repeat_events: 1;
17864                description {
17865                    state: "default" 0.0;
17866                    color: 0 0 0 0;
17867                }
17868            }
17869            part {
17870                name: "base_sh";
17871                mouse_events: 0;
17872                description {
17873                    state: "default" 0.0;
17874                    align: 0.0 0.0;
17875                    min: 0 10;
17876                    fixed: 1 1;
17877                    rel1 {
17878                        to: "base";
17879                        relative: 0.0 1.0;
17880                        offset: 0 0;
17881                    }
17882                    rel2 {
17883                        to: "base";
17884                        relative: 1.0 1.0;
17885                        offset: -1 0;
17886                    }
17887                    image {
17888                        normal: "ilist_item_shadow.png";
17889                    }
17890                    fill.smooth: 0;
17891                }
17892            }
17893            part {
17894                name: "base";
17895                mouse_events: 0;
17896                description {
17897                    state: "default" 0.0;
17898                    min: 16 28;
17899                    image {
17900                        normal: "ilist_1.png";
17901                        border: 2 2 2 2;
17902                    }
17903                    fill.smooth: 0;
17904                }
17905            }
17906            part { name: "bg";
17907                clip_to: "disclip";
17908                mouse_events: 0;
17909                description { state: "default" 0.0;
17910                    visible: 0;
17911                    color: 255 255 255 0;
17912                    rel1 {
17913                        relative: 0.0 0.0;
17914                        offset: -5 -5;
17915                    }
17916                    rel2 {
17917                        relative: 1.0 1.0;
17918                        offset: 4 4;
17919                    }
17920                    image {
17921                        normal: "bt_sm_base1.png";
17922                        border: 6 6 6 6;
17923                    }
17924                    image.middle: SOLID;
17925                }
17926                description { state: "selected" 0.0;
17927                    inherit: "default" 0.0;
17928                    visible: 1;
17929                    color: 255 255 255 255;
17930                    rel1 {
17931                        relative: 0.0 0.0;
17932                        offset: -2 -2;
17933                    }
17934                    rel2 {
17935                        relative: 1.0 1.0;
17936                        offset: 1 1;
17937                    }
17938                }
17939            }
17940            part { name: "elm.swallow.pad";
17941                type: SWALLOW;
17942                description { state: "default" 0.0;
17943                    fixed: 1 0;
17944                    align: 0.0 0.5;
17945                    rel1 {
17946                        relative: 0.0  0.0;
17947                        offset:   4    4;
17948                    }
17949                    rel2 {
17950                        relative: 0.0  1.0;
17951                        offset:   4   -5;
17952                    }
17953                }
17954            }
17955            part { name: "elm.swallow.icon";
17956                clip_to: "disclip";
17957                type: SWALLOW;
17958                description { state: "default" 0.0;
17959                    fixed: 1 0;
17960                    align: 0.0 0.5;
17961                    rel1 {
17962                        to_x: "elm.swallow.pad";
17963                        relative: 1.0  0.0;
17964                        offset:   -1    4;
17965                    }
17966                    rel2 {
17967                        to_x: "elm.swallow.pad";
17968                        relative: 1.0  1.0;
17969                        offset:   -1   -5;
17970                    }
17971                }
17972            }
17973            part { name: "elm.swallow.end";
17974                clip_to: "disclip";
17975                type: SWALLOW;
17976                description { state: "default" 0.0;
17977                    fixed: 1 0;
17978                    align: 1.0 0.5;
17979                    aspect: 1.0 1.0;
17980                    aspect_preference: VERTICAL;
17981                    rel1 {
17982                        relative: 1.0  0.0;
17983                        offset:   -5    4;
17984                    }
17985                    rel2 {
17986                        relative: 1.0  1.0;
17987                        offset:   -5   -5;
17988                    }
17989                }
17990            }
17991            part { name: "elm.text";
17992                clip_to: "disclip";
17993                type: TEXTBLOCK;
17994                mouse_events: 0;
17995                scale: 1;
17996                description {
17997                    state: "default" 0.0;
17998                    align: 0.0 0.5;
17999                    fixed: 0 1;
18000                    rel1 {
18001                        to_x: "elm.swallow.icon";
18002                        to_y: "base";
18003                        relative: 1.0  0.5;
18004                        offset:   0 4;
18005                    }
18006                    rel2 {
18007                        to_x: "elm.swallow.end";
18008                        to_y: "base";
18009                        relative: 0.0  0.5;
18010                        offset:   -1 -5;
18011                    }
18012                    text {
18013                        style: "genlist_style";
18014                        min: 1 1;
18015                    }
18016                }
18017                description { state: "selected" 0.0;
18018                    inherit: "default" 0.0;
18019                    text {
18020                        style: "genlist_selected_style";
18021                    }
18022                }
18023            }
18024            part { name: "fg1";
18025                clip_to: "disclip";
18026                mouse_events: 0;
18027                description { state: "default" 0.0;
18028                    visible: 0;
18029                    color: 255 255 255 0;
18030                    rel1.to: "bg";
18031                    rel2.relative: 1.0 0.5;
18032                    rel2.to: "bg";
18033                    image {
18034                        normal: "bt_sm_hilight.png";
18035                        border: 6 6 6 0;
18036                    }
18037                }
18038                description { state: "selected" 0.0;
18039                    inherit: "default" 0.0;
18040                    visible: 1;
18041                    color: 255 255 255 255;
18042                }
18043            }
18044            part { name: "fg2";
18045                clip_to: "disclip";
18046                mouse_events: 0;
18047                description { state: "default" 0.0;
18048                    visible: 0;
18049                    color: 255 255 255 0;
18050                    rel1.to: "bg";
18051                    rel2.to: "bg";
18052                    image {
18053                        normal: "bt_sm_shine.png";
18054                        border: 6 6 6 0;
18055                    }
18056                }
18057                description { state: "selected" 0.0;
18058                    inherit: "default" 0.0;
18059                    visible: 1;
18060                    color: 255 255 255 255;
18061                }
18062            }
18063            part { name: "disclip";
18064                type: RECT;
18065                description { state: "default" 0.0;
18066                    rel1.to: "bg";
18067                    rel2.to: "bg";
18068                }
18069                description { state: "disabled" 0.0;
18070                    inherit: "default" 0.0;
18071                    color: 255 255 255 64;
18072                }
18073            }
18074        }
18075        programs {
18076            // signal: elm,state,%s,active
18077            //   a "check" item named %s went active
18078            // signal: elm,state,%s,passive
18079            //   a "check" item named %s went passive
18080            // default is passive
18081            program {
18082                name:    "go_active";
18083                signal:  "elm,state,selected";
18084                source:  "elm";
18085                action:  STATE_SET "selected" 0.0;
18086                target:  "bg";
18087                target:  "fg1";
18088                target:  "fg2";
18089                target:  "elm.text";
18090            }
18091            program {
18092                name:    "go_passive";
18093                signal:  "elm,state,unselected";
18094                source:  "elm";
18095                action:  STATE_SET "default" 0.0;
18096                target:  "bg";
18097                target:  "fg1";
18098                target:  "fg2";
18099                target:  "elm.text";
18100                transition: LINEAR 0.1;
18101            }
18102            program {
18103                name:    "go_disabled";
18104                signal:  "elm,state,disabled";
18105                source:  "elm";
18106                action:  STATE_SET "disabled" 0.0;
18107                target:  "disclip";
18108            }
18109            program {
18110                name:    "go_enabled";
18111                signal:  "elm,state,enabled";
18112                source:  "elm";
18113                action:  STATE_SET "default" 0.0;
18114                target:  "disclip";
18115            }
18116        }
18117    }
18118    group { name: "elm/genlist/item_odd/default_style/default";
18119        data.item: "stacking" "below";
18120        data.item: "selectraise" "on";
18121        data.item: "labels" "elm.text";
18122        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18123        data.item: "treesize" "20";
18124        images {
18125            image: "bt_sm_base1.png" COMP;
18126            image: "bt_sm_shine.png" COMP;
18127            image: "bt_sm_hilight.png" COMP;
18128            image: "ilist_2.png" COMP;
18129        }
18130        parts {
18131            part { name: "event";
18132                type: RECT;
18133                repeat_events: 1;
18134                description {
18135                    state: "default" 0.0;
18136                    color: 0 0 0 0;
18137                }
18138            }
18139            part {
18140                name: "base";
18141                mouse_events: 0;
18142                description {
18143                    state: "default" 0.0;
18144                    min: 16 28;
18145                    image {
18146                        normal: "ilist_2.png";
18147                        border: 2 2 2 2;
18148                    }
18149                    fill.smooth: 0;
18150                }
18151            }
18152            part { name: "bg";
18153                clip_to: "disclip";
18154                mouse_events: 0;
18155                description { state: "default" 0.0;
18156                    visible: 0;
18157                    color: 255 255 255 0;
18158                    rel1 {
18159                        relative: 0.0 0.0;
18160                        offset: -5 -5;
18161                    }
18162                    rel2 {
18163                        relative: 1.0 1.0;
18164                        offset: 4 4;
18165                    }
18166                    image {
18167                        normal: "bt_sm_base1.png";
18168                        border: 6 6 6 6;
18169                    }
18170                    image.middle: SOLID;
18171                }
18172                description { state: "selected" 0.0;
18173                    inherit: "default" 0.0;
18174                    visible: 1;
18175                    color: 255 255 255 255;
18176                    rel1 {
18177                        relative: 0.0 0.0;
18178                        offset: -2 -2;
18179                    }
18180                    rel2 {
18181                        relative: 1.0 1.0;
18182                        offset: 1 1;
18183                    }
18184                }
18185            }
18186            part { name: "elm.swallow.pad";
18187                type: SWALLOW;
18188                description { state: "default" 0.0;
18189                    fixed: 1 0;
18190                    align: 0.0 0.5;
18191                    rel1 {
18192                        relative: 0.0  0.0;
18193                        offset:   4    4;
18194                    }
18195                    rel2 {
18196                        relative: 0.0  1.0;
18197                        offset:   4   -5;
18198                    }
18199                }
18200            }
18201            part { name: "elm.swallow.icon";
18202                clip_to: "disclip";
18203                type: SWALLOW;
18204                description { state: "default" 0.0;
18205                    fixed: 1 0;
18206                    align: 0.0 0.5;
18207                    rel1 {
18208                        to_x: "elm.swallow.pad";
18209                        relative: 1.0  0.0;
18210                        offset:   -1    4;
18211                    }
18212                    rel2 {
18213                        to_x: "elm.swallow.pad";
18214                        relative: 1.0  1.0;
18215                        offset:   -1   -5;
18216                    }
18217                }
18218            }
18219            part { name: "elm.swallow.end";
18220                clip_to: "disclip";
18221                type:          SWALLOW;
18222                description { state:    "default" 0.0;
18223                    fixed: 1 0;
18224                    align:    1.0 0.5;
18225                    aspect: 1.0 1.0;
18226                    aspect_preference: VERTICAL;
18227                    rel1 {
18228                        relative: 1.0  0.0;
18229                        offset:   -5    4;
18230                    }
18231                    rel2 {
18232                        relative: 1.0  1.0;
18233                        offset:   -5   -5;
18234                    }
18235                }
18236            }
18237            part { name: "elm.text";
18238                clip_to: "disclip";
18239                type:           TEXTBLOCK;
18240                mouse_events:   0;
18241                scale: 1;
18242                description {
18243                    state: "default" 0.0;
18244                    align: 0.0 0.5;
18245                    fixed: 0 1;
18246                    rel1 {
18247                        to_x: "elm.swallow.icon";
18248                        to_y: "base";
18249                        relative: 1.0  0.5;
18250                        offset:   0 4;
18251                    }
18252                    rel2 {
18253                        to_x: "elm.swallow.end";
18254                        to_y: "base";
18255                        relative: 0.0  0.5;
18256                        offset:   -1 -5;
18257                    }
18258                    text {
18259                        style: "genlist_style";
18260                        min: 1 1;
18261                    }
18262                }
18263                description { state: "selected" 0.0;
18264                    inherit: "default" 0.0;
18265                    text {
18266                        style: "genlist_selected_style";
18267                    }
18268                }
18269            }
18270            part { name: "fg1";
18271                clip_to: "disclip";
18272                mouse_events: 0;
18273                description { state: "default" 0.0;
18274                    visible: 0;
18275                    color: 255 255 255 0;
18276                    rel1.to: "bg";
18277                    rel2.relative: 1.0 0.5;
18278                    rel2.to: "bg";
18279                    image {
18280                        normal: "bt_sm_hilight.png";
18281                        border: 6 6 6 0;
18282                    }
18283                }
18284                description { state: "selected" 0.0;
18285                    inherit: "default" 0.0;
18286                    visible: 1;
18287                    color: 255 255 255 255;
18288                }
18289            }
18290            part { name: "fg2";
18291                clip_to: "disclip";
18292                mouse_events: 0;
18293                description { state: "default" 0.0;
18294                    visible: 0;
18295                    color: 255 255 255 0;
18296                    rel1.to: "bg";
18297                    rel2.to: "bg";
18298                    image {
18299                        normal: "bt_sm_shine.png";
18300                        border: 6 6 6 0;
18301                    }
18302                }
18303                description { state: "selected" 0.0;
18304                    inherit: "default" 0.0;
18305                    visible: 1;
18306                    color: 255 255 255 255;
18307                }
18308            }
18309            part { name: "disclip";
18310                type: RECT;
18311                description { state: "default" 0.0;
18312                    rel1.to: "bg";
18313                    rel2.to: "bg";
18314                }
18315                description { state: "disabled" 0.0;
18316                    inherit: "default" 0.0;
18317                    color: 255 255 255 64;
18318                }
18319            }
18320        }
18321        programs {
18322            // signal: elm,state,%s,active
18323            //   a "check" item named %s went active
18324            // signal: elm,state,%s,passive
18325            //   a "check" item named %s went passive
18326            // default is passive
18327            program {
18328                name:    "go_active";
18329                signal:  "elm,state,selected";
18330                source:  "elm";
18331                action:  STATE_SET "selected" 0.0;
18332                target:  "bg";
18333                target:  "fg1";
18334                target:  "fg2";
18335                target:  "elm.text";
18336            }
18337            program {
18338                name:    "go_passive";
18339                signal:  "elm,state,unselected";
18340                source:  "elm";
18341                action:  STATE_SET "default" 0.0;
18342                target:  "bg";
18343                target:  "fg1";
18344                target:  "fg2";
18345                target:  "elm.text";
18346                transition: LINEAR 0.1;
18347            }
18348            program {
18349                name:    "go_disabled";
18350                signal:  "elm,state,disabled";
18351                source:  "elm";
18352                action:  STATE_SET "disabled" 0.0;
18353                target:  "disclip";
18354            }
18355            program {
18356                name:    "go_enabled";
18357                signal:  "elm,state,enabled";
18358                source:  "elm";
18359                action:  STATE_SET "default" 0.0;
18360                target:  "disclip";
18361            }
18362        }
18363    }
18364
18365    group { name: "elm/genlist/tree/default_style/default";
18366        data.item: "stacking" "above";
18367        data.item: "selectraise" "on";
18368        data.item: "labels" "elm.text";
18369        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18370        data.item: "treesize" "20";
18371        images {
18372            image: "bt_sm_base1.png" COMP;
18373            image: "bt_sm_shine.png" COMP;
18374            image: "bt_sm_hilight.png" COMP;
18375            image: "ilist_1.png" COMP;
18376            image: "ilist_item_shadow.png" COMP;
18377            image: "icon_arrow_right.png" COMP;
18378            image: "icon_arrow_down.png" COMP;
18379        }
18380        parts {
18381            part {
18382                name:           "event";
18383                type:           RECT;
18384                repeat_events: 1;
18385                description {
18386                    state: "default" 0.0;
18387                    color: 0 0 0 0;
18388                }
18389            }
18390            part {
18391                name: "base_sh";
18392                mouse_events: 0;
18393                description {
18394                    state: "default" 0.0;
18395                    align: 0.0 0.0;
18396                    min: 0 10;
18397                    fixed: 1 1;
18398                    rel1 {
18399                        to: "base";
18400                        relative: 0.0 1.0;
18401                        offset: 0 0;
18402                    }
18403                    rel2 {
18404                        to: "base";
18405                        relative: 1.0 1.0;
18406                        offset: -1 0;
18407                    }
18408                    image {
18409                        normal: "ilist_item_shadow.png";
18410                    }
18411                    fill.smooth: 0;
18412                }
18413            }
18414            part {
18415                name: "base";
18416                mouse_events: 0;
18417                description {
18418                    state: "default" 0.0;
18419                    min: 16 28;
18420                    image {
18421                        normal: "ilist_1.png";
18422                        border: 2 2 2 2;
18423                    }
18424                    fill.smooth: 0;
18425                }
18426            }
18427            part { name: "bg";
18428                clip_to: "disclip";
18429                mouse_events: 0;
18430                description { state: "default" 0.0;
18431                    visible: 0;
18432                    color: 255 255 255 0;
18433                    rel1 {
18434                        relative: 0.0 0.0;
18435                        offset: -5 -5;
18436                    }
18437                    rel2 {
18438                        relative: 1.0 1.0;
18439                        offset: 4 4;
18440                    }
18441                    image {
18442                        normal: "bt_sm_base1.png";
18443                        border: 6 6 6 6;
18444                    }
18445                    image.middle: SOLID;
18446                }
18447                description { state: "selected" 0.0;
18448                    inherit: "default" 0.0;
18449                    visible: 1;
18450                    color: 255 255 255 255;
18451                    rel1 {
18452                        relative: 0.0 0.0;
18453                        offset: -2 -2;
18454                    }
18455                    rel2 {
18456                        relative: 1.0 1.0;
18457                        offset: 1 1;
18458                    }
18459                }
18460            }
18461            part { name: "elm.swallow.pad";
18462                type: SWALLOW;
18463                description { state: "default" 0.0;
18464                    fixed: 1 0;
18465                    align: 0.0 0.5;
18466                    rel1 {
18467                        relative: 0.0  0.0;
18468                        offset:   4    4;
18469                    }
18470                    rel2 {
18471                        relative: 0.0  1.0;
18472                        offset:   4   -5;
18473                    }
18474                }
18475            }
18476            part { name: "arrow";
18477                clip_to: "disclip";
18478                ignore_flags: ON_HOLD;
18479                description { state: "default" 0.0;
18480                    fixed: 1 0;
18481                    align: 0.0 0.5;
18482                    aspect: 1.0 1.0;
18483                    rel1 {
18484                        to_x: "elm.swallow.pad";
18485                        relative: 1.0  0.0;
18486                        offset:   -1    4;
18487                    }
18488                    rel2 {
18489                        to_x: "elm.swallow.pad";
18490                        relative: 1.0  1.0;
18491                        offset:   -1   -5;
18492                    }
18493                    image.normal: "icon_arrow_right.png";
18494                }
18495                description { state: "active" 0.0;
18496                    inherit: "default" 0.0;
18497                    image.normal: "icon_arrow_down.png";
18498                }
18499            }
18500            part { name: "elm.swallow.icon";
18501                clip_to: "disclip";
18502                type: SWALLOW;
18503                description { state: "default" 0.0;
18504                    fixed: 1 0;
18505                    align: 0.0 0.5;
18506                    rel1 {
18507                        to_x: "arrow";
18508                        relative: 1.0  0.0;
18509                        offset:   4    4;
18510                    }
18511                    rel2 {
18512                        to_x: "arrow";
18513                        relative: 1.0  1.0;
18514                        offset:   4   -5;
18515                    }
18516                }
18517            }
18518            part { name: "elm.swallow.end";
18519                clip_to: "disclip";
18520                type: SWALLOW;
18521                description { state: "default" 0.0;
18522                    fixed: 1 0;
18523                    align: 1.0 0.5;
18524                    aspect: 1.0 1.0;
18525                    aspect_preference: VERTICAL;
18526                    rel1 {
18527                        relative: 1.0  0.0;
18528                        offset:   -5    4;
18529                    }
18530                    rel2 {
18531                        relative: 1.0  1.0;
18532                        offset:   -5   -5;
18533                    }
18534                }
18535            }
18536            part { name: "elm.text";
18537                clip_to: "disclip";
18538                type:           TEXTBLOCK;
18539                effect:         SOFT_SHADOW;
18540                mouse_events:   0;
18541                scale: 1;
18542                description {
18543                    state: "default" 0.0;
18544                    align: 0.0 0.5;
18545                    fixed: 0 1;
18546                    rel1 {
18547                        to_x:     "elm.swallow.icon";
18548                        to_y: "base";
18549                        relative: 1.0  0.5;
18550                        offset:   0 4;
18551                    }
18552                    rel2 {
18553                        to_x:     "elm.swallow.end";
18554                        to_y: "base";
18555                        relative: 0.0  0.5;
18556                        offset:   -1 -5;
18557                    }
18558                    text {
18559                        style: "genlist_style";
18560                        min: 1 1;
18561                    }
18562                }
18563                description { state: "selected" 0.0;
18564                    inherit: "default" 0.0;
18565                    text {
18566                        style: "genlist_selected_style";
18567                    }
18568                }
18569            }
18570            part { name: "fg1";
18571                clip_to: "disclip";
18572                mouse_events: 0;
18573                description { state: "default" 0.0;
18574                    visible: 0;
18575                    color: 255 255 255 0;
18576                    rel1.to: "bg";
18577                    rel2.relative: 1.0 0.5;
18578                    rel2.to: "bg";
18579                    image {
18580                        normal: "bt_sm_hilight.png";
18581                        border: 6 6 6 0;
18582                    }
18583                }
18584                description { state: "selected" 0.0;
18585                    inherit: "default" 0.0;
18586                    visible: 1;
18587                    color: 255 255 255 255;
18588                }
18589            }
18590            part { name: "fg2";
18591                clip_to: "disclip";
18592                mouse_events: 0;
18593                description { state: "default" 0.0;
18594                    visible: 0;
18595                    color: 255 255 255 0;
18596                    rel1.to: "bg";
18597                    rel2.to: "bg";
18598                    image {
18599                        normal: "bt_sm_shine.png";
18600                        border: 6 6 6 0;
18601                    }
18602                }
18603                description { state: "selected" 0.0;
18604                    inherit: "default" 0.0;
18605                    visible: 1;
18606                    color: 255 255 255 255;
18607                }
18608            }
18609            part { name: "disclip";
18610                type: RECT;
18611                description { state: "default" 0.0;
18612                    rel1.to: "bg";
18613                    rel2.to: "bg";
18614                }
18615                description { state: "disabled" 0.0;
18616                    inherit: "default" 0.0;
18617                    color: 255 255 255 64;
18618                }
18619            }
18620        }
18621        programs {
18622            // signal: elm,state,%s,active
18623            //   a "check" item named %s went active
18624            // signal: elm,state,%s,passive
18625            //   a "check" item named %s went passive
18626            // default is passive
18627            program {
18628                name:    "go_active";
18629                signal:  "elm,state,selected";
18630                source:  "elm";
18631                action:  STATE_SET "selected" 0.0;
18632                target:  "bg";
18633                target:  "fg1";
18634                target:  "fg2";
18635                target:  "elm.text";
18636            }
18637            program {
18638                name:    "go_passive";
18639                signal:  "elm,state,unselected";
18640                source:  "elm";
18641                action:  STATE_SET "default" 0.0;
18642                target:  "bg";
18643                target:  "fg1";
18644                target:  "fg2";
18645                target:  "elm.text";
18646                transition: LINEAR 0.1;
18647            }
18648            program {
18649                name:    "go_disabled";
18650                signal:  "elm,state,disabled";
18651                source:  "elm";
18652                action:  STATE_SET "disabled" 0.0;
18653                target:  "disclip";
18654            }
18655            program {
18656                name:    "go_enabled";
18657                signal:  "elm,state,enabled";
18658                source:  "elm";
18659                action:  STATE_SET "default" 0.0;
18660                target:  "disclip";
18661            }
18662            program {
18663                name:    "expand";
18664                signal:  "mouse,up,1";
18665                source:  "arrow";
18666                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18667            }
18668            program {
18669                name:    "go_expanded";
18670                signal:  "elm,state,expanded";
18671                source:  "elm";
18672                action:  STATE_SET "active" 0.0;
18673                target:  "arrow";
18674            }
18675            program {
18676                name:    "go_contracted";
18677                signal:  "elm,state,contracted";
18678                source:  "elm";
18679                action:  STATE_SET "default" 0.0;
18680                target:  "arrow";
18681            }
18682        }
18683    }
18684    group { name: "elm/genlist/tree_odd/default_style/default";
18685        data.item: "stacking" "below";
18686        data.item: "selectraise" "on";
18687        data.item: "labels" "elm.text";
18688        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18689        data.item: "treesize" "20";
18690        images {
18691            image: "bt_sm_base1.png" COMP;
18692            image: "bt_sm_shine.png" COMP;
18693            image: "bt_sm_hilight.png" COMP;
18694            image: "ilist_2.png" COMP;
18695            image: "icon_arrow_right.png" COMP;
18696            image: "icon_arrow_down.png" COMP;
18697        }
18698        parts {
18699            part {
18700                name:           "event";
18701                type:           RECT;
18702                repeat_events: 1;
18703                description {
18704                    state: "default" 0.0;
18705                    color: 0 0 0 0;
18706                }
18707            }
18708            part {
18709                name: "base";
18710                mouse_events: 0;
18711                description {
18712                    state: "default" 0.0;
18713                    min: 16 28;
18714                    image {
18715                        normal: "ilist_2.png";
18716                        border: 2 2 2 2;
18717                    }
18718                    fill.smooth: 0;
18719                }
18720            }
18721            part { name: "bg";
18722                clip_to: "disclip";
18723                mouse_events: 0;
18724                description { state: "default" 0.0;
18725                    visible: 0;
18726                    color: 255 255 255 0;
18727                    rel1 {
18728                        relative: 0.0 0.0;
18729                        offset: -5 -5;
18730                    }
18731                    rel2 {
18732                        relative: 1.0 1.0;
18733                        offset: 4 4;
18734                    }
18735                    image {
18736                        normal: "bt_sm_base1.png";
18737                        border: 6 6 6 6;
18738                    }
18739                    image.middle: SOLID;
18740                }
18741                description { state: "selected" 0.0;
18742                    inherit: "default" 0.0;
18743                    visible: 1;
18744                    color: 255 255 255 255;
18745                    rel1 {
18746                        relative: 0.0 0.0;
18747                        offset: -2 -2;
18748                    }
18749                    rel2 {
18750                        relative: 1.0 1.0;
18751                        offset: 1 1;
18752                    }
18753                }
18754            }
18755            part { name: "elm.swallow.pad";
18756                type: SWALLOW;
18757                description { state: "default" 0.0;
18758                    fixed: 1 0;
18759                    align: 0.0 0.5;
18760                    rel1 {
18761                        relative: 0.0  0.0;
18762                        offset:   4    4;
18763                    }
18764                    rel2 {
18765                        relative: 0.0  1.0;
18766                        offset:   4   -5;
18767                    }
18768                }
18769            }
18770            part { name: "arrow";
18771                clip_to: "disclip";
18772                ignore_flags: ON_HOLD;
18773                description { state: "default" 0.0;
18774                    fixed: 1 0;
18775                    align: 0.0 0.5;
18776                    aspect: 1.0 1.0;
18777                    rel1 {
18778                        to_x: "elm.swallow.pad";
18779                        relative: 1.0  0.0;
18780                        offset:   -1    4;
18781                    }
18782                    rel2 {
18783                        to_x: "elm.swallow.pad";
18784                        relative: 1.0  1.0;
18785                        offset:   -1   -5;
18786                    }
18787                    image.normal: "icon_arrow_right.png";
18788                }
18789                description { state: "active" 0.0;
18790                    inherit: "default" 0.0;
18791                    image.normal: "icon_arrow_down.png";
18792                }
18793            }
18794            part { name: "elm.swallow.icon";
18795                clip_to: "disclip";
18796                type: SWALLOW;
18797                description { state: "default" 0.0;
18798                    fixed: 1 0;
18799                    align: 0.0 0.5;
18800                    rel1 {
18801                        to_x: "arrow";
18802                        relative: 1.0  0.0;
18803                        offset:   4    4;
18804                    }
18805                    rel2 {
18806                        to_x: "arrow";
18807                        relative: 1.0  1.0;
18808                        offset:   4   -5;
18809                    }
18810                }
18811            }
18812            part { name: "elm.swallow.end";
18813                clip_to: "disclip";
18814                type: SWALLOW;
18815                description { state: "default" 0.0;
18816                    fixed: 1 0;
18817                    align: 1.0 0.5;
18818                    aspect: 1.0 1.0;
18819                    aspect_preference: VERTICAL;
18820                    rel1 {
18821                        relative: 1.0  0.0;
18822                        offset:   -5    4;
18823                    }
18824                    rel2 {
18825                        relative: 1.0  1.0;
18826                        offset:   -5   -5;
18827                    }
18828                }
18829            }
18830            part { name: "elm.text";
18831                clip_to: "disclip";
18832                type:           TEXTBLOCK;
18833                effect:         SOFT_SHADOW;
18834                mouse_events:   0;
18835                scale: 1;
18836                description {
18837                    state: "default" 0.0;
18838                    align: 0.0 0.5;
18839                    fixed: 0 1;
18840                    rel1 {
18841                        to_x:     "elm.swallow.icon";
18842                        to_y: "base";
18843                        relative: 1.0  0.5;
18844                        offset:   0 4;
18845                    }
18846                    rel2 {
18847                        to_x:     "elm.swallow.end";
18848                        to_y: "base";
18849                        relative: 0.0  0.5;
18850                        offset:   -1 -5;
18851                    }
18852                    text {
18853                        style: "genlist_style";
18854                        min: 1 1;
18855                    }
18856                }
18857                description { state: "selected" 0.0;
18858                    inherit: "default" 0.0;
18859                    text {
18860                        style: "genlist_selected_style";
18861                    }
18862                }
18863            }
18864            part { name: "fg1";
18865                clip_to: "disclip";
18866                mouse_events: 0;
18867                description { state: "default" 0.0;
18868                    visible: 0;
18869                    color: 255 255 255 0;
18870                    rel1.to: "bg";
18871                    rel2.relative: 1.0 0.5;
18872                    rel2.to: "bg";
18873                    image {
18874                        normal: "bt_sm_hilight.png";
18875                        border: 6 6 6 0;
18876                    }
18877                }
18878                description { state: "selected" 0.0;
18879                    inherit: "default" 0.0;
18880                    visible: 1;
18881                    color: 255 255 255 255;
18882                }
18883            }
18884            part { name: "fg2";
18885                clip_to: "disclip";
18886                mouse_events: 0;
18887                description { state: "default" 0.0;
18888                    visible: 0;
18889                    color: 255 255 255 0;
18890                    rel1.to: "bg";
18891                    rel2.to: "bg";
18892                    image {
18893                        normal: "bt_sm_shine.png";
18894                        border: 6 6 6 0;
18895                    }
18896                }
18897                description { state: "selected" 0.0;
18898                    inherit: "default" 0.0;
18899                    visible: 1;
18900                    color: 255 255 255 255;
18901                }
18902            }
18903            part { name: "disclip";
18904                type: RECT;
18905                description { state: "default" 0.0;
18906                    rel1.to: "bg";
18907                    rel2.to: "bg";
18908                }
18909                description { state: "disabled" 0.0;
18910                    inherit: "default" 0.0;
18911                    color: 255 255 255 64;
18912                }
18913            }
18914        }
18915        programs {
18916            // signal: elm,state,%s,active
18917            //   a "check" item named %s went active
18918            // signal: elm,state,%s,passive
18919            //   a "check" item named %s went passive
18920            // default is passive
18921            program {
18922                name:    "go_active";
18923                signal:  "elm,state,selected";
18924                source:  "elm";
18925                action:  STATE_SET "selected" 0.0;
18926                target:  "bg";
18927                target:  "fg1";
18928                target:  "fg2";
18929                target:  "elm.text";
18930            }
18931            program {
18932                name:    "go_passive";
18933                signal:  "elm,state,unselected";
18934                source:  "elm";
18935                action:  STATE_SET "default" 0.0;
18936                target:  "bg";
18937                target:  "fg1";
18938                target:  "fg2";
18939                target:  "elm.text";
18940                transition: LINEAR 0.1;
18941            }
18942            program {
18943                name:    "go_disabled";
18944                signal:  "elm,state,disabled";
18945                source:  "elm";
18946                action:  STATE_SET "disabled" 0.0;
18947                target:  "disclip";
18948            }
18949            program {
18950                name:    "go_enabled";
18951                signal:  "elm,state,enabled";
18952                source:  "elm";
18953                action:  STATE_SET "default" 0.0;
18954                target:  "disclip";
18955            }
18956            program {
18957                name:    "expand";
18958                signal:  "mouse,up,1";
18959                source:  "arrow";
18960                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18961            }
18962            program {
18963                name:    "go_expanded";
18964                signal:  "elm,state,expanded";
18965                source:  "elm";
18966                action:  STATE_SET "active" 0.0;
18967                target:  "arrow";
18968            }
18969            program {
18970                name:    "go_contracted";
18971                signal:  "elm,state,contracted";
18972                source:  "elm";
18973                action:  STATE_SET "default" 0.0;
18974                target:  "arrow";
18975            }
18976        }
18977    }
18978
18979
18980    group { name: "elm/genlist/item/double_label/default";
18981       data.item: "stacking" "above";
18982       data.item: "selectraise" "on";
18983       data.item: "labels" "elm.text elm.text.sub";
18984       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18985       data.item: "treesize" "20";
18986 //      data.item: "states" "";
18987       images {
18988          image: "bt_sm_base1.png" COMP;
18989          image: "bt_sm_shine.png" COMP;
18990          image: "bt_sm_hilight.png" COMP;
18991          image: "ilist_1.png" COMP;
18992          image: "ilist_item_shadow.png" COMP;
18993       }
18994       parts {
18995          part {
18996             name:           "event";
18997             type:           RECT;
18998             repeat_events: 1;
18999             description {
19000                state: "default" 0.0;
19001                color: 0 0 0 0;
19002             }
19003          }
19004          part {
19005             name: "base_sh";
19006             mouse_events: 0;
19007             description {
19008                state: "default" 0.0;
19009                align: 0.0 0.0;
19010                min: 0 10;
19011                fixed: 1 1;
19012                rel1 {
19013                   to: "base";
19014                   relative: 0.0 1.0;
19015                   offset: 0 0;
19016                }
19017                rel2 {
19018                   to: "base";
19019                   relative: 1.0 1.0;
19020                   offset: -1 0;
19021                }
19022                image {
19023                   normal: "ilist_item_shadow.png";
19024                }
19025                fill.smooth: 0;
19026             }
19027          }
19028          part {
19029             name: "base";
19030             mouse_events: 0;
19031             description {
19032                state: "default" 0.0;
19033                image {
19034                   normal: "ilist_1.png";
19035                   border: 2 2 2 2;
19036                }
19037                fill.smooth: 0;
19038             }
19039          }
19040          part { name: "bg";
19041             clip_to: "disclip";
19042             mouse_events: 0;
19043             description { state: "default" 0.0;
19044                visible: 0;
19045                color: 255 255 255 0;
19046                rel1 {
19047                   relative: 0.0 0.0;
19048                   offset: -5 -5;
19049                }
19050                rel2 {
19051                   relative: 1.0 1.0;
19052                   offset: 4 4;
19053                }
19054                image {
19055                   normal: "bt_sm_base1.png";
19056                   border: 6 6 6 6;
19057                }
19058                image.middle: SOLID;
19059             }
19060             description { state: "selected" 0.0;
19061                inherit: "default" 0.0;
19062                visible: 1;
19063                color: 255 255 255 255;
19064                rel1 {
19065                   relative: 0.0 0.0;
19066                   offset: -2 -2;
19067                }
19068                rel2 {
19069                   relative: 1.0 1.0;
19070                   offset: 1 1;
19071                }
19072             }
19073          }
19074          part { name: "elm.swallow.pad";
19075             type: SWALLOW;
19076             description { state: "default" 0.0;
19077                fixed: 1 0;
19078                align: 0.0 0.5;
19079                rel1 {
19080                   relative: 0.0  0.0;
19081                   offset:   4    4;
19082                }
19083                rel2 {
19084                   relative: 0.0  1.0;
19085                   offset:   4   -5;
19086                }
19087             }
19088          }
19089          part { name: "elm.swallow.icon";
19090             clip_to: "disclip";
19091             type: SWALLOW;
19092             description { state: "default" 0.0;
19093                fixed: 1 0;
19094                align: 0.0 0.5;
19095                rel1 {
19096                   to_x: "elm.swallow.pad";
19097                   relative: 1.0  0.0;
19098                   offset:   -1    4;
19099                }
19100                rel2 {
19101                   to_x: "elm.swallow.pad";
19102                   relative: 1.0  1.0;
19103                   offset:   -1   -5;
19104                }
19105             }
19106          }
19107          part { name: "elm.swallow.end";
19108             clip_to: "disclip";
19109             type: SWALLOW;
19110             description { state: "default" 0.0;
19111                fixed: 1 0;
19112                align: 1.0 0.5;
19113                aspect: 1.0 1.0;
19114                aspect_preference: VERTICAL;
19115                rel1 {
19116                   relative: 1.0  0.0;
19117                   offset:   -5    4;
19118                }
19119                rel2 {
19120                   relative: 1.0  1.0;
19121                   offset:   -5   -5;
19122                }
19123             }
19124          }
19125          part { name: "elm.text";
19126             clip_to: "disclip";
19127             type:           TEXT;
19128             effect:         SOFT_SHADOW;
19129             mouse_events:   0;
19130             scale: 1;
19131             description {
19132                state: "default" 0.0;
19133 //               min: 16 16;
19134                rel1 {
19135                   to_x:     "elm.swallow.icon";
19136                   relative: 1.0  0.0;
19137                   offset:   0 4;
19138                }
19139                rel2 {
19140                   to_x:     "elm.swallow.end";
19141                   relative: 0.0  0.5;
19142                   offset:   -1 -5;
19143                }
19144                color: 0 0 0 255;
19145                color3: 0 0 0 0;
19146                text {
19147                   font: "Sans";
19148                   size: 10;
19149                   min: 1 1;
19150 //                  min: 0 1;
19151                   align: 0.0 0.5;
19152                   text_class: "list_item";
19153                }
19154             }
19155             description { state: "selected" 0.0;
19156                inherit: "default" 0.0;
19157                color: 224 224 224 255;
19158                color3: 0 0 0 64;
19159             }
19160          }
19161          part { name: "elm.text.sub";
19162             clip_to: "disclip";
19163             type:           TEXT;
19164             mouse_events:   0;
19165             scale: 1;
19166             description {
19167                state: "default" 0.0;
19168 //               min: 16 16;
19169                rel1 {
19170                   to_x:     "elm.swallow.icon";
19171                   relative: 1.0  0.5;
19172                   offset:   0 4;
19173                }
19174                rel2 {
19175                   to_x:     "elm.swallow.end";
19176                   relative: 0.0  1.0;
19177                   offset:   -1 -5;
19178                }
19179                color: 0 0 0 128;
19180                color3: 0 0 0 0;
19181                text {
19182                   font: "Sans";
19183                   size: 8;
19184                   min: 1 1;
19185 //                  min: 0 1;
19186                   align: 0.0 0.5;
19187                   text_class: "list_item";
19188                }
19189             }
19190             description { state: "selected" 0.0;
19191                inherit: "default" 0.0;
19192                color: 128 128 128 255;
19193                color3: 0 0 0 32;
19194             }
19195          }
19196          part { name: "fg1";
19197             clip_to: "disclip";
19198             mouse_events: 0;
19199             description { state: "default" 0.0;
19200                visible: 0;
19201                color: 255 255 255 0;
19202                rel1.to: "bg";
19203                rel2.relative: 1.0 0.5;
19204                rel2.to: "bg";
19205                image {
19206                   normal: "bt_sm_hilight.png";
19207                   border: 6 6 6 0;
19208                }
19209             }
19210             description { state: "selected" 0.0;
19211                inherit: "default" 0.0;
19212                visible: 1;
19213                color: 255 255 255 255;
19214             }
19215          }
19216          part { name: "fg2";
19217             clip_to: "disclip";
19218             mouse_events: 0;
19219             description { state: "default" 0.0;
19220                visible: 0;
19221                color: 255 255 255 0;
19222                rel1.to: "bg";
19223                rel2.to: "bg";
19224                image {
19225                   normal: "bt_sm_shine.png";
19226                   border: 6 6 6 0;
19227                }
19228             }
19229             description { state: "selected" 0.0;
19230                inherit: "default" 0.0;
19231                visible: 1;
19232                color: 255 255 255 255;
19233             }
19234          }
19235          part { name: "disclip";
19236             type: RECT;
19237             description { state: "default" 0.0;
19238                rel1.to: "bg";
19239                rel2.to: "bg";
19240             }
19241             description { state: "disabled" 0.0;
19242                inherit: "default" 0.0;
19243                color: 255 255 255 64;
19244             }
19245          }
19246       }
19247       programs {
19248          // signal: elm,state,%s,active
19249          //   a "check" item named %s went active
19250          // signal: elm,state,%s,passive
19251          //   a "check" item named %s went passive
19252          // default is passive
19253          program {
19254             name:    "go_active";
19255             signal:  "elm,state,selected";
19256             source:  "elm";
19257             action:  STATE_SET "selected" 0.0;
19258             target:  "bg";
19259             target:  "fg1";
19260             target:  "fg2";
19261             target:  "elm.text";
19262             target:  "elm.text.sub";
19263          }
19264          program {
19265             name:    "go_passive";
19266             signal:  "elm,state,unselected";
19267             source:  "elm";
19268             action:  STATE_SET "default" 0.0;
19269             target:  "bg";
19270             target:  "fg1";
19271             target:  "fg2";
19272             target:  "elm.text";
19273             target:  "elm.text.sub";
19274             transition: LINEAR 0.1;
19275          }
19276          program {
19277             name:    "go_disabled";
19278             signal:  "elm,state,disabled";
19279             source:  "elm";
19280             action:  STATE_SET "disabled" 0.0;
19281             target:  "disclip";
19282          }
19283          program {
19284             name:    "go_enabled";
19285             signal:  "elm,state,enabled";
19286             source:  "elm";
19287             action:  STATE_SET "default" 0.0;
19288             target:  "disclip";
19289          }
19290       }
19291    }
19292    group { name: "elm/genlist/item_compress/double_label/default";
19293       data.item: "stacking" "above";
19294       data.item: "selectraise" "on";
19295       data.item: "labels" "elm.text elm.text.sub";
19296       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19297       data.item: "treesize" "20";
19298 //      data.item: "states" "";
19299       images {
19300          image: "bt_sm_base1.png" COMP;
19301          image: "bt_sm_shine.png" COMP;
19302          image: "bt_sm_hilight.png" COMP;
19303          image: "ilist_1.png" COMP;
19304          image: "ilist_item_shadow.png" COMP;
19305       }
19306       parts {
19307          part {
19308             name:           "event";
19309             type:           RECT;
19310             repeat_events: 1;
19311             description {
19312                state: "default" 0.0;
19313                color: 0 0 0 0;
19314             }
19315          }
19316          part {
19317             name: "base_sh";
19318             mouse_events: 0;
19319             description {
19320                state: "default" 0.0;
19321                align: 0.0 0.0;
19322                min: 0 10;
19323                fixed: 1 1;
19324                rel1 {
19325                   to: "base";
19326                   relative: 0.0 1.0;
19327                   offset: 0 0;
19328                }
19329                rel2 {
19330                   to: "base";
19331                   relative: 1.0 1.0;
19332                   offset: -1 0;
19333                }
19334                image {
19335                   normal: "ilist_item_shadow.png";
19336                }
19337                fill.smooth: 0;
19338             }
19339          }
19340          part {
19341             name: "base";
19342             mouse_events: 0;
19343             description {
19344                state: "default" 0.0;
19345                image {
19346                   normal: "ilist_1.png";
19347                   border: 2 2 2 2;
19348                }
19349                fill.smooth: 0;
19350             }
19351          }
19352          part { name: "bg";
19353             clip_to: "disclip";
19354             mouse_events: 0;
19355             description { state: "default" 0.0;
19356                visible: 0;
19357                color: 255 255 255 0;
19358                rel1 {
19359                   relative: 0.0 0.0;
19360                   offset: -5 -5;
19361                }
19362                rel2 {
19363                   relative: 1.0 1.0;
19364                   offset: 4 4;
19365                }
19366                image {
19367                   normal: "bt_sm_base1.png";
19368                   border: 6 6 6 6;
19369                }
19370                image.middle: SOLID;
19371             }
19372             description { state: "selected" 0.0;
19373                inherit: "default" 0.0;
19374                visible: 1;
19375                color: 255 255 255 255;
19376                rel1 {
19377                   relative: 0.0 0.0;
19378                   offset: -2 -2;
19379                }
19380                rel2 {
19381                   relative: 1.0 1.0;
19382                   offset: 1 1;
19383                }
19384             }
19385          }
19386          part { name: "elm.swallow.pad";
19387             type: SWALLOW;
19388             description { state: "default" 0.0;
19389                fixed: 1 0;
19390                align: 0.0 0.5;
19391                rel1 {
19392                   relative: 0.0  0.0;
19393                   offset:   4    4;
19394                }
19395                rel2 {
19396                   relative: 0.0  1.0;
19397                   offset:   4   -5;
19398                }
19399             }
19400          }
19401          part { name: "elm.swallow.icon";
19402             clip_to: "disclip";
19403             type: SWALLOW;
19404             description { state: "default" 0.0;
19405                fixed: 1 0;
19406                align: 0.0 0.5;
19407                rel1 {
19408                   to_x: "elm.swallow.pad";
19409                   relative: 1.0  0.0;
19410                   offset:   -1    4;
19411                }
19412                rel2 {
19413                   to_x: "elm.swallow.pad";
19414                   relative: 1.0  1.0;
19415                   offset:   -1   -5;
19416                }
19417             }
19418          }
19419          part { name: "elm.swallow.end";
19420             clip_to: "disclip";
19421             type: SWALLOW;
19422             description { state: "default" 0.0;
19423                fixed: 1 0;
19424                align: 1.0 0.5;
19425                aspect: 1.0 1.0;
19426                aspect_preference: VERTICAL;
19427                rel1 {
19428                   relative: 1.0  0.0;
19429                   offset:   -5    4;
19430                }
19431                rel2 {
19432                   relative: 1.0  1.0;
19433                   offset:   -5   -5;
19434                }
19435             }
19436          }
19437          part { name: "elm.text";
19438             clip_to: "disclip";
19439             type:           TEXT;
19440             effect:         SOFT_SHADOW;
19441             mouse_events:   0;
19442             scale: 1;
19443             description {
19444                state: "default" 0.0;
19445 //               min: 16 16;
19446                rel1 {
19447                   to_x:     "elm.swallow.icon";
19448                   relative: 1.0  0.0;
19449                   offset:   0 4;
19450                }
19451                rel2 {
19452                   to_x:     "elm.swallow.end";
19453                   relative: 0.0  0.5;
19454                   offset:   -1 -5;
19455                }
19456                color: 0 0 0 255;
19457                color3: 0 0 0 0;
19458                text {
19459                   font: "Sans";
19460                   size: 10;
19461 //                  min: 1 1;
19462                   min: 0 1;
19463                   align: 0.0 0.5;
19464                   text_class: "list_item";
19465                }
19466             }
19467             description { state: "selected" 0.0;
19468                inherit: "default" 0.0;
19469                color: 224 224 224 255;
19470                color3: 0 0 0 64;
19471             }
19472          }
19473          part { name: "elm.text.sub";
19474             clip_to: "disclip";
19475             type:           TEXT;
19476             mouse_events:   0;
19477             scale: 1;
19478             description {
19479                state: "default" 0.0;
19480 //               min: 16 16;
19481                rel1 {
19482                   to_x:     "elm.swallow.icon";
19483                   relative: 1.0  0.5;
19484                   offset:   0 4;
19485                }
19486                rel2 {
19487                   to_x:     "elm.swallow.end";
19488                   relative: 0.0  1.0;
19489                   offset:   -1 -5;
19490                }
19491                color: 0 0 0 128;
19492                color3: 0 0 0 0;
19493                text {
19494                   font: "Sans";
19495                   size: 8;
19496 //                  min: 1 1;
19497                   min: 0 1;
19498                   align: 0.0 0.5;
19499                   text_class: "list_item";
19500                }
19501             }
19502             description { state: "selected" 0.0;
19503                inherit: "default" 0.0;
19504                color: 128 128 128 255;
19505                color3: 0 0 0 32;
19506             }
19507          }
19508          part { name: "fg1";
19509             clip_to: "disclip";
19510             mouse_events: 0;
19511             description { state: "default" 0.0;
19512                visible: 0;
19513                color: 255 255 255 0;
19514                rel1.to: "bg";
19515                rel2.relative: 1.0 0.5;
19516                rel2.to: "bg";
19517                image {
19518                   normal: "bt_sm_hilight.png";
19519                   border: 6 6 6 0;
19520                }
19521             }
19522             description { state: "selected" 0.0;
19523                inherit: "default" 0.0;
19524                visible: 1;
19525                color: 255 255 255 255;
19526             }
19527          }
19528          part { name: "fg2";
19529             clip_to: "disclip";
19530             mouse_events: 0;
19531             description { state: "default" 0.0;
19532                visible: 0;
19533                color: 255 255 255 0;
19534                rel1.to: "bg";
19535                rel2.to: "bg";
19536                image {
19537                   normal: "bt_sm_shine.png";
19538                   border: 6 6 6 0;
19539                }
19540             }
19541             description { state: "selected" 0.0;
19542                inherit: "default" 0.0;
19543                visible: 1;
19544                color: 255 255 255 255;
19545             }
19546          }
19547          part { name: "disclip";
19548             type: RECT;
19549             description { state: "default" 0.0;
19550                rel1.to: "bg";
19551                rel2.to: "bg";
19552             }
19553             description { state: "disabled" 0.0;
19554                inherit: "default" 0.0;
19555                color: 255 255 255 64;
19556             }
19557          }
19558       }
19559       programs {
19560          // signal: elm,state,%s,active
19561          //   a "check" item named %s went active
19562          // signal: elm,state,%s,passive
19563          //   a "check" item named %s went passive
19564          // default is passive
19565          program {
19566             name:    "go_active";
19567             signal:  "elm,state,selected";
19568             source:  "elm";
19569             action:  STATE_SET "selected" 0.0;
19570             target:  "bg";
19571             target:  "fg1";
19572             target:  "fg2";
19573             target:  "elm.text";
19574             target:  "elm.text.sub";
19575          }
19576          program {
19577             name:    "go_passive";
19578             signal:  "elm,state,unselected";
19579             source:  "elm";
19580             action:  STATE_SET "default" 0.0;
19581             target:  "bg";
19582             target:  "fg1";
19583             target:  "fg2";
19584             target:  "elm.text";
19585             target:  "elm.text.sub";
19586             transition: LINEAR 0.1;
19587          }
19588          program {
19589             name:    "go_disabled";
19590             signal:  "elm,state,disabled";
19591             source:  "elm";
19592             action:  STATE_SET "disabled" 0.0;
19593             target:  "disclip";
19594          }
19595          program {
19596             name:    "go_enabled";
19597             signal:  "elm,state,enabled";
19598             source:  "elm";
19599             action:  STATE_SET "default" 0.0;
19600             target:  "disclip";
19601          }
19602       }
19603    }
19604    group { name: "elm/genlist/item_odd/double_label/default";
19605       data.item: "stacking" "below";
19606       data.item: "selectraise" "on";
19607       data.item: "labels" "elm.text elm.text.sub";
19608       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19609       data.item: "treesize" "20";
19610 //      data.item: "states" "";
19611       images {
19612          image: "bt_sm_base1.png" COMP;
19613          image: "bt_sm_shine.png" COMP;
19614          image: "bt_sm_hilight.png" COMP;
19615          image: "ilist_2.png" COMP;
19616       }
19617       parts {
19618          part { name: "event";
19619             type: RECT;
19620             repeat_events: 1;
19621             description {
19622                state: "default" 0.0;
19623                color: 0 0 0 0;
19624             }
19625          }
19626          part {
19627             name: "base";
19628             mouse_events: 0;
19629             description {
19630                state: "default" 0.0;
19631                image {
19632                   normal: "ilist_2.png";
19633                   border: 2 2 2 2;
19634                }
19635                fill.smooth: 0;
19636             }
19637          }
19638          part { name: "bg";
19639             clip_to: "disclip";
19640             mouse_events: 0;
19641             description { state: "default" 0.0;
19642                visible: 0;
19643                color: 255 255 255 0;
19644                rel1 {
19645                   relative: 0.0 0.0;
19646                   offset: -5 -5;
19647                }
19648                rel2 {
19649                   relative: 1.0 1.0;
19650                   offset: 4 4;
19651                }
19652                image {
19653                   normal: "bt_sm_base1.png";
19654                   border: 6 6 6 6;
19655                }
19656                image.middle: SOLID;
19657             }
19658             description { state: "selected" 0.0;
19659                inherit: "default" 0.0;
19660                visible: 1;
19661                color: 255 255 255 255;
19662                rel1 {
19663                   relative: 0.0 0.0;
19664                   offset: -2 -2;
19665                }
19666                rel2 {
19667                   relative: 1.0 1.0;
19668                   offset: 1 1;
19669                }
19670             }
19671          }
19672          part { name: "elm.swallow.pad";
19673             type: SWALLOW;
19674             description { state: "default" 0.0;
19675                fixed: 1 0;
19676                align: 0.0 0.5;
19677                rel1 {
19678                   relative: 0.0  0.0;
19679                   offset:   4    4;
19680                }
19681                rel2 {
19682                   relative: 0.0  1.0;
19683                   offset:   4   -5;
19684                }
19685             }
19686          }
19687          part { name: "elm.swallow.icon";
19688             clip_to: "disclip";
19689             type: SWALLOW;
19690             description { state: "default" 0.0;
19691                fixed: 1 0;
19692                align: 0.0 0.5;
19693                rel1 {
19694                   to_x: "elm.swallow.pad";
19695                   relative: 1.0  0.0;
19696                   offset:   -1    4;
19697                }
19698                rel2 {
19699                   to_x: "elm.swallow.pad";
19700                   relative: 1.0  1.0;
19701                   offset:   -1   -5;
19702                }
19703             }
19704          }
19705          part { name: "elm.swallow.end";
19706             clip_to: "disclip";
19707             type:          SWALLOW;
19708             description { state:    "default" 0.0;
19709                fixed: 1 0;
19710                align:    1.0 0.5;
19711                aspect: 1.0 1.0;
19712                aspect_preference: VERTICAL;
19713                rel1 {
19714                   relative: 1.0  0.0;
19715                   offset:   -5    4;
19716                }
19717                rel2 {
19718                   relative: 1.0  1.0;
19719                   offset:   -5   -5;
19720                }
19721             }
19722          }
19723          part { name: "elm.text";
19724             clip_to: "disclip";
19725             type:           TEXT;
19726             effect:         SOFT_SHADOW;
19727             mouse_events:   0;
19728             scale: 1;
19729             description {
19730                state: "default" 0.0;
19731 //               min: 16 16;
19732                rel1 {
19733                   to_x:     "elm.swallow.icon";
19734                   relative: 1.0  0.0;
19735                   offset:   0 4;
19736                }
19737                rel2 {
19738                   to_x:     "elm.swallow.end";
19739                   relative: 0.0  0.5;
19740                   offset:   -1 -5;
19741                }
19742                color: 0 0 0 255;
19743                color3: 0 0 0 0;
19744                text {
19745                   font: "Sans";
19746                   size: 10;
19747                   min: 1 1;
19748 //                  min: 0 1;
19749                   align: 0.0 0.5;
19750                   text_class: "list_item";
19751                }
19752             }
19753             description { state: "selected" 0.0;
19754                inherit: "default" 0.0;
19755                color: 224 224 224 255;
19756                color3: 0 0 0 64;
19757             }
19758          }
19759          part { name: "elm.text.sub";
19760             clip_to: "disclip";
19761             type:           TEXT;
19762             mouse_events:   0;
19763             scale: 1;
19764             description {
19765                state: "default" 0.0;
19766 //               min: 16 16;
19767                rel1 {
19768                   to_x:     "elm.swallow.icon";
19769                   relative: 1.0  0.5;
19770                   offset:   0 4;
19771                }
19772                rel2 {
19773                   to_x:     "elm.swallow.end";
19774                   relative: 0.0  1.0;
19775                   offset:   -1 -5;
19776                }
19777                color: 0 0 0 128;
19778                color3: 0 0 0 0;
19779                text {
19780                   font: "Sans";
19781                   size: 8;
19782                   min: 1 1;
19783 //                  min: 0 1;
19784                   align: 0.0 0.5;
19785                   text_class: "list_item";
19786                }
19787             }
19788             description { state: "selected" 0.0;
19789                inherit: "default" 0.0;
19790                color: 128 128 128 255;
19791                color3: 0 0 0 32;
19792             }
19793          }
19794          part { name: "fg1";
19795             clip_to: "disclip";
19796             mouse_events: 0;
19797             description { state: "default" 0.0;
19798                visible: 0;
19799                color: 255 255 255 0;
19800                rel1.to: "bg";
19801                rel2.relative: 1.0 0.5;
19802                rel2.to: "bg";
19803                image {
19804                   normal: "bt_sm_hilight.png";
19805                   border: 6 6 6 0;
19806                }
19807             }
19808             description { state: "selected" 0.0;
19809                inherit: "default" 0.0;
19810                visible: 1;
19811                color: 255 255 255 255;
19812             }
19813          }
19814          part { name: "fg2";
19815             clip_to: "disclip";
19816             mouse_events: 0;
19817             description { state: "default" 0.0;
19818                visible: 0;
19819                color: 255 255 255 0;
19820                rel1.to: "bg";
19821                rel2.to: "bg";
19822                image {
19823                   normal: "bt_sm_shine.png";
19824                   border: 6 6 6 0;
19825                }
19826             }
19827             description { state: "selected" 0.0;
19828                inherit: "default" 0.0;
19829                visible: 1;
19830                color: 255 255 255 255;
19831             }
19832          }
19833          part { name: "disclip";
19834             type: RECT;
19835             description { state: "default" 0.0;
19836                rel1.to: "bg";
19837                rel2.to: "bg";
19838             }
19839             description { state: "disabled" 0.0;
19840                inherit: "default" 0.0;
19841                color: 255 255 255 64;
19842             }
19843          }
19844       }
19845       programs {
19846          // signal: elm,state,%s,active
19847          //   a "check" item named %s went active
19848          // signal: elm,state,%s,passive
19849          //   a "check" item named %s went passive
19850          // default is passive
19851          program {
19852             name:    "go_active";
19853             signal:  "elm,state,selected";
19854             source:  "elm";
19855             action:  STATE_SET "selected" 0.0;
19856             target:  "bg";
19857             target:  "fg1";
19858             target:  "fg2";
19859             target:  "elm.text";
19860             target:  "elm.text.sub";
19861          }
19862          program {
19863             name:    "go_passive";
19864             signal:  "elm,state,unselected";
19865             source:  "elm";
19866             action:  STATE_SET "default" 0.0;
19867             target:  "bg";
19868             target:  "fg1";
19869             target:  "fg2";
19870             target:  "elm.text";
19871             target:  "elm.text.sub";
19872             transition: LINEAR 0.1;
19873          }
19874          program {
19875             name:    "go_disabled";
19876             signal:  "elm,state,disabled";
19877             source:  "elm";
19878             action:  STATE_SET "disabled" 0.0;
19879             target:  "disclip";
19880          }
19881          program {
19882             name:    "go_enabled";
19883             signal:  "elm,state,enabled";
19884             source:  "elm";
19885             action:  STATE_SET "default" 0.0;
19886             target:  "disclip";
19887          }
19888       }
19889    }
19890    group { name: "elm/genlist/item_compress_odd/double_label/default";
19891       data.item: "stacking" "below";
19892       data.item: "selectraise" "on";
19893       data.item: "labels" "elm.text elm.text.sub";
19894       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19895       data.item: "treesize" "20";
19896 //      data.item: "states" "";
19897       images {
19898          image: "bt_sm_base1.png" COMP;
19899          image: "bt_sm_shine.png" COMP;
19900          image: "bt_sm_hilight.png" COMP;
19901          image: "ilist_2.png" COMP;
19902       }
19903       parts {
19904          part { name: "event";
19905             type: RECT;
19906             repeat_events: 1;
19907             description {
19908                state: "default" 0.0;
19909                color: 0 0 0 0;
19910             }
19911          }
19912          part {
19913             name: "base";
19914             mouse_events: 0;
19915             description {
19916                state: "default" 0.0;
19917                image {
19918                   normal: "ilist_2.png";
19919                   border: 2 2 2 2;
19920                }
19921                fill.smooth: 0;
19922             }
19923          }
19924          part { name: "bg";
19925             clip_to: "disclip";
19926             mouse_events: 0;
19927             description { state: "default" 0.0;
19928                visible: 0;
19929                color: 255 255 255 0;
19930                rel1 {
19931                   relative: 0.0 0.0;
19932                   offset: -5 -5;
19933                }
19934                rel2 {
19935                   relative: 1.0 1.0;
19936                   offset: 4 4;
19937                }
19938                image {
19939                   normal: "bt_sm_base1.png";
19940                   border: 6 6 6 6;
19941                }
19942                image.middle: SOLID;
19943             }
19944             description { state: "selected" 0.0;
19945                inherit: "default" 0.0;
19946                visible: 1;
19947                color: 255 255 255 255;
19948                rel1 {
19949                   relative: 0.0 0.0;
19950                   offset: -2 -2;
19951                }
19952                rel2 {
19953                   relative: 1.0 1.0;
19954                   offset: 1 1;
19955                }
19956             }
19957          }
19958          part { name: "elm.swallow.pad";
19959             type: SWALLOW;
19960             description { state: "default" 0.0;
19961                fixed: 1 0;
19962                align: 0.0 0.5;
19963                rel1 {
19964                   relative: 0.0  0.0;
19965                   offset:   4    4;
19966                }
19967                rel2 {
19968                   relative: 0.0  1.0;
19969                   offset:   4   -5;
19970                }
19971             }
19972          }
19973          part { name: "elm.swallow.icon";
19974             clip_to: "disclip";
19975             type: SWALLOW;
19976             description { state: "default" 0.0;
19977                fixed: 1 0;
19978                align: 0.0 0.5;
19979                rel1 {
19980                   to_x: "elm.swallow.pad";
19981                   relative: 1.0  0.0;
19982                   offset:   -1    4;
19983                }
19984                rel2 {
19985                   to_x: "elm.swallow.pad";
19986                   relative: 1.0  1.0;
19987                   offset:   -1   -5;
19988                }
19989             }
19990          }
19991          part { name: "elm.swallow.end";
19992             clip_to: "disclip";
19993             type:          SWALLOW;
19994             description { state:    "default" 0.0;
19995                fixed: 1 0;
19996                align:    1.0 0.5;
19997                aspect: 1.0 1.0;
19998                aspect_preference: VERTICAL;
19999                rel1 {
20000                   relative: 1.0  0.0;
20001                   offset:   -5    4;
20002                }
20003                rel2 {
20004                   relative: 1.0  1.0;
20005                   offset:   -5   -5;
20006                }
20007             }
20008          }
20009          part { name: "elm.text";
20010             clip_to: "disclip";
20011             type:           TEXT;
20012             effect:         SOFT_SHADOW;
20013             mouse_events:   0;
20014             scale: 1;
20015             description {
20016                state: "default" 0.0;
20017 //               min: 16 16;
20018                rel1 {
20019                   to_x:     "elm.swallow.icon";
20020                   relative: 1.0  0.0;
20021                   offset:   0 4;
20022                }
20023                rel2 {
20024                   to_x:     "elm.swallow.end";
20025                   relative: 0.0  0.5;
20026                   offset:   -1 -5;
20027                }
20028                color: 0 0 0 255;
20029                color3: 0 0 0 0;
20030                text {
20031                   font: "Sans";
20032                   size: 10;
20033 //                  min: 1 1;
20034                   min: 0 1;
20035                   align: 0.0 0.5;
20036                   text_class: "list_item";
20037                }
20038             }
20039             description { state: "selected" 0.0;
20040                inherit: "default" 0.0;
20041                color: 224 224 224 255;
20042                color3: 0 0 0 64;
20043             }
20044          }
20045          part { name: "elm.text.sub";
20046             clip_to: "disclip";
20047             type:           TEXT;
20048             mouse_events:   0;
20049             scale: 1;
20050             description {
20051                state: "default" 0.0;
20052 //               min: 16 16;
20053                rel1 {
20054                   to_x:     "elm.swallow.icon";
20055                   relative: 1.0  0.5;
20056                   offset:   0 4;
20057                }
20058                rel2 {
20059                   to_x:     "elm.swallow.end";
20060                   relative: 0.0  1.0;
20061                   offset:   -1 -5;
20062                }
20063                color: 0 0 0 128;
20064                color3: 0 0 0 0;
20065                text {
20066                   font: "Sans";
20067                   size: 8;
20068 //                  min: 1 1;
20069                   min: 0 1;
20070                   align: 0.0 0.5;
20071                   text_class: "list_item";
20072                }
20073             }
20074             description { state: "selected" 0.0;
20075                inherit: "default" 0.0;
20076                color: 128 128 128 255;
20077                color3: 0 0 0 32;
20078             }
20079          }
20080          part { name: "fg1";
20081             clip_to: "disclip";
20082             mouse_events: 0;
20083             description { state: "default" 0.0;
20084                visible: 0;
20085                color: 255 255 255 0;
20086                rel1.to: "bg";
20087                rel2.relative: 1.0 0.5;
20088                rel2.to: "bg";
20089                image {
20090                   normal: "bt_sm_hilight.png";
20091                   border: 6 6 6 0;
20092                }
20093             }
20094             description { state: "selected" 0.0;
20095                inherit: "default" 0.0;
20096                visible: 1;
20097                color: 255 255 255 255;
20098             }
20099          }
20100          part { name: "fg2";
20101             clip_to: "disclip";
20102             mouse_events: 0;
20103             description { state: "default" 0.0;
20104                visible: 0;
20105                color: 255 255 255 0;
20106                rel1.to: "bg";
20107                rel2.to: "bg";
20108                image {
20109                   normal: "bt_sm_shine.png";
20110                   border: 6 6 6 0;
20111                }
20112             }
20113             description { state: "selected" 0.0;
20114                inherit: "default" 0.0;
20115                visible: 1;
20116                color: 255 255 255 255;
20117             }
20118          }
20119          part { name: "disclip";
20120             type: RECT;
20121             description { state: "default" 0.0;
20122                rel1.to: "bg";
20123                rel2.to: "bg";
20124             }
20125             description { state: "disabled" 0.0;
20126                inherit: "default" 0.0;
20127                color: 255 255 255 64;
20128             }
20129          }
20130       }
20131       programs {
20132          // signal: elm,state,%s,active
20133          //   a "check" item named %s went active
20134          // signal: elm,state,%s,passive
20135          //   a "check" item named %s went passive
20136          // default is passive
20137          program {
20138             name:    "go_active";
20139             signal:  "elm,state,selected";
20140             source:  "elm";
20141             action:  STATE_SET "selected" 0.0;
20142             target:  "bg";
20143             target:  "fg1";
20144             target:  "fg2";
20145             target:  "elm.text";
20146             target:  "elm.text.sub";
20147          }
20148          program {
20149             name:    "go_passive";
20150             signal:  "elm,state,unselected";
20151             source:  "elm";
20152             action:  STATE_SET "default" 0.0;
20153             target:  "bg";
20154             target:  "fg1";
20155             target:  "fg2";
20156             target:  "elm.text";
20157             target:  "elm.text.sub";
20158             transition: LINEAR 0.1;
20159          }
20160          program {
20161             name:    "go_disabled";
20162             signal:  "elm,state,disabled";
20163             source:  "elm";
20164             action:  STATE_SET "disabled" 0.0;
20165             target:  "disclip";
20166          }
20167          program {
20168             name:    "go_enabled";
20169             signal:  "elm,state,enabled";
20170             source:  "elm";
20171             action:  STATE_SET "default" 0.0;
20172             target:  "disclip";
20173          }
20174       }
20175    }
20176
20177    group { name: "elm/genlist/tree/double_label/default";
20178       data.item: "stacking" "above";
20179       data.item: "selectraise" "on";
20180       data.item: "labels" "elm.text elm.text.sub";
20181       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20182       data.item: "treesize" "20";
20183 //      data.item: "states" "";
20184       images {
20185          image: "bt_sm_base1.png" COMP;
20186          image: "bt_sm_shine.png" COMP;
20187          image: "bt_sm_hilight.png" COMP;
20188          image: "ilist_1.png" COMP;
20189          image: "ilist_item_shadow.png" COMP;
20190          image: "icon_arrow_right.png" COMP;
20191          image: "icon_arrow_down.png" COMP;
20192       }
20193       parts {
20194          part {
20195             name:           "event";
20196             type:           RECT;
20197             repeat_events: 1;
20198             description {
20199                state: "default" 0.0;
20200                color: 0 0 0 0;
20201             }
20202          }
20203          part {
20204             name: "base_sh";
20205             mouse_events: 0;
20206             description {
20207                state: "default" 0.0;
20208                align: 0.0 0.0;
20209                min: 0 10;
20210                fixed: 1 1;
20211                rel1 {
20212                   to: "base";
20213                   relative: 0.0 1.0;
20214                   offset: 0 0;
20215                }
20216                rel2 {
20217                   to: "base";
20218                   relative: 1.0 1.0;
20219                   offset: -1 0;
20220                }
20221                image {
20222                   normal: "ilist_item_shadow.png";
20223                }
20224                fill.smooth: 0;
20225             }
20226          }
20227          part {
20228             name: "base";
20229             mouse_events: 0;
20230             description {
20231                state: "default" 0.0;
20232                image {
20233                   normal: "ilist_1.png";
20234                   border: 2 2 2 2;
20235                }
20236                fill.smooth: 0;
20237             }
20238          }
20239          part { name: "bg";
20240             clip_to: "disclip";
20241             mouse_events: 0;
20242             description { state: "default" 0.0;
20243                visible: 0;
20244                color: 255 255 255 0;
20245                rel1 {
20246                   relative: 0.0 0.0;
20247                   offset: -5 -5;
20248                }
20249                rel2 {
20250                   relative: 1.0 1.0;
20251                   offset: 4 4;
20252                }
20253                image {
20254                   normal: "bt_sm_base1.png";
20255                   border: 6 6 6 6;
20256                }
20257                image.middle: SOLID;
20258             }
20259             description { state: "selected" 0.0;
20260                inherit: "default" 0.0;
20261                visible: 1;
20262                color: 255 255 255 255;
20263                rel1 {
20264                   relative: 0.0 0.0;
20265                   offset: -2 -2;
20266                }
20267                rel2 {
20268                   relative: 1.0 1.0;
20269                   offset: 1 1;
20270                }
20271             }
20272          }
20273          part { name: "elm.swallow.pad";
20274             type: SWALLOW;
20275             description { state: "default" 0.0;
20276                fixed: 1 0;
20277                align: 0.0 0.5;
20278                rel1 {
20279                   relative: 0.0  0.0;
20280                   offset:   4    4;
20281                }
20282                rel2 {
20283                   relative: 0.0  1.0;
20284                   offset:   4   -5;
20285                }
20286             }
20287          }
20288          part { name: "arrow";
20289             clip_to: "disclip";
20290             ignore_flags: ON_HOLD;
20291             description { state: "default" 0.0;
20292                fixed: 1 0;
20293                align: 0.0 0.5;
20294                aspect: 1.0 1.0;
20295                rel1 {
20296                   to_x: "elm.swallow.pad";
20297                   relative: 1.0  0.0;
20298                   offset:   -1    4;
20299                }
20300                rel2 {
20301                   to_x: "elm.swallow.pad";
20302                   relative: 1.0  1.0;
20303                   offset:   -1   -5;
20304                }
20305                image.normal: "icon_arrow_right.png";
20306             }
20307             description { state: "active" 0.0;
20308                inherit: "default" 0.0;
20309                image.normal: "icon_arrow_down.png";
20310             }
20311          }
20312          part { name: "elm.swallow.icon";
20313             clip_to: "disclip";
20314             type: SWALLOW;
20315             description { state: "default" 0.0;
20316                fixed: 1 0;
20317                align: 0.0 0.5;
20318                rel1 {
20319                   to_x: "arrow";
20320                   relative: 1.0  0.0;
20321                   offset:   4    4;
20322                }
20323                rel2 {
20324                   to_x: "arrow";
20325                   relative: 1.0  1.0;
20326                   offset:   4   -5;
20327                }
20328             }
20329          }
20330          part { name: "elm.swallow.end";
20331             clip_to: "disclip";
20332             type: SWALLOW;
20333             description { state: "default" 0.0;
20334                fixed: 1 0;
20335                align: 1.0 0.5;
20336                aspect: 1.0 1.0;
20337                aspect_preference: VERTICAL;
20338                rel1 {
20339                   relative: 1.0  0.0;
20340                   offset:   -5    4;
20341                }
20342                rel2 {
20343                   relative: 1.0  1.0;
20344                   offset:   -5   -5;
20345                }
20346             }
20347          }
20348          part { name: "elm.text";
20349             clip_to: "disclip";
20350             type:           TEXT;
20351             effect:         SOFT_SHADOW;
20352             mouse_events:   0;
20353             scale: 1;
20354             description {
20355                state: "default" 0.0;
20356 //               min: 16 16;
20357                rel1 {
20358                   to_x:     "elm.swallow.icon";
20359                   relative: 1.0  0.0;
20360                   offset:   0 4;
20361                }
20362                rel2 {
20363                   to_x:     "elm.swallow.end";
20364                   relative: 0.0  0.5;
20365                   offset:   -1 -5;
20366                }
20367                color: 0 0 0 255;
20368                color3: 0 0 0 0;
20369                text {
20370                   font: "Sans";
20371                   size: 10;
20372                   min: 1 1;
20373 //                  min: 0 1;
20374                   align: 0.0 0.5;
20375                   text_class: "list_item";
20376                }
20377             }
20378             description { state: "selected" 0.0;
20379                inherit: "default" 0.0;
20380                color: 224 224 224 255;
20381                color3: 0 0 0 64;
20382             }
20383          }
20384          part { name: "elm.text.sub";
20385             clip_to: "disclip";
20386             type:           TEXT;
20387             mouse_events:   0;
20388             scale: 1;
20389             description {
20390                state: "default" 0.0;
20391 //               min: 16 16;
20392                rel1 {
20393                   to_x:     "elm.swallow.icon";
20394                   relative: 1.0  0.5;
20395                   offset:   0 4;
20396                }
20397                rel2 {
20398                   to_x:     "elm.swallow.end";
20399                   relative: 0.0  1.0;
20400                   offset:   -1 -5;
20401                }
20402                color: 0 0 0 128;
20403                color3: 0 0 0 0;
20404                text {
20405                   font: "Sans";
20406                   size: 8;
20407                   min: 1 1;
20408 //                  min: 0 1;
20409                   align: 0.0 0.5;
20410                   text_class: "list_item";
20411                }
20412             }
20413             description { state: "selected" 0.0;
20414                inherit: "default" 0.0;
20415                color: 128 128 128 255;
20416                color3: 0 0 0 32;
20417             }
20418          }
20419          part { name: "fg1";
20420             clip_to: "disclip";
20421             mouse_events: 0;
20422             description { state: "default" 0.0;
20423                visible: 0;
20424                color: 255 255 255 0;
20425                rel1.to: "bg";
20426                rel2.relative: 1.0 0.5;
20427                rel2.to: "bg";
20428                image {
20429                   normal: "bt_sm_hilight.png";
20430                   border: 6 6 6 0;
20431                }
20432             }
20433             description { state: "selected" 0.0;
20434                inherit: "default" 0.0;
20435                visible: 1;
20436                color: 255 255 255 255;
20437             }
20438          }
20439          part { name: "fg2";
20440             clip_to: "disclip";
20441             mouse_events: 0;
20442             description { state: "default" 0.0;
20443                visible: 0;
20444                color: 255 255 255 0;
20445                rel1.to: "bg";
20446                rel2.to: "bg";
20447                image {
20448                   normal: "bt_sm_shine.png";
20449                   border: 6 6 6 0;
20450                }
20451             }
20452             description { state: "selected" 0.0;
20453                inherit: "default" 0.0;
20454                visible: 1;
20455                color: 255 255 255 255;
20456             }
20457          }
20458          part { name: "disclip";
20459             type: RECT;
20460             description { state: "default" 0.0;
20461                rel1.to: "bg";
20462                rel2.to: "bg";
20463             }
20464             description { state: "disabled" 0.0;
20465                inherit: "default" 0.0;
20466                color: 255 255 255 64;
20467             }
20468          }
20469       }
20470       programs {
20471          // signal: elm,state,%s,active
20472          //   a "check" item named %s went active
20473          // signal: elm,state,%s,passive
20474          //   a "check" item named %s went passive
20475          // default is passive
20476          program {
20477             name:    "go_active";
20478             signal:  "elm,state,selected";
20479             source:  "elm";
20480             action:  STATE_SET "selected" 0.0;
20481             target:  "bg";
20482             target:  "fg1";
20483             target:  "fg2";
20484             target:  "elm.text";
20485             target:  "elm.text.sub";
20486          }
20487          program {
20488             name:    "go_passive";
20489             signal:  "elm,state,unselected";
20490             source:  "elm";
20491             action:  STATE_SET "default" 0.0;
20492             target:  "bg";
20493             target:  "fg1";
20494             target:  "fg2";
20495             target:  "elm.text";
20496             target:  "elm.text.sub";
20497             transition: LINEAR 0.1;
20498          }
20499          program {
20500             name:    "go_disabled";
20501             signal:  "elm,state,disabled";
20502             source:  "elm";
20503             action:  STATE_SET "disabled" 0.0;
20504             target:  "disclip";
20505          }
20506          program {
20507             name:    "go_enabled";
20508             signal:  "elm,state,enabled";
20509             source:  "elm";
20510             action:  STATE_SET "default" 0.0;
20511             target:  "disclip";
20512          }
20513          program {
20514             name:    "expand";
20515             signal:  "mouse,up,1";
20516             source:  "arrow";
20517             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20518          }
20519          program {
20520             name:    "go_expanded";
20521             signal:  "elm,state,expanded";
20522             source:  "elm";
20523             action:  STATE_SET "active" 0.0;
20524             target:  "arrow";
20525          }
20526          program {
20527             name:    "go_contracted";
20528             signal:  "elm,state,contracted";
20529             source:  "elm";
20530             action:  STATE_SET "default" 0.0;
20531             target:  "arrow";
20532          }
20533       }
20534    }
20535    group { name: "elm/genlist/tree_compress/double_label/default";
20536       data.item: "stacking" "above";
20537       data.item: "selectraise" "on";
20538       data.item: "labels" "elm.text elm.text.sub";
20539       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20540       data.item: "treesize" "20";
20541 //      data.item: "states" "";
20542       images {
20543          image: "bt_sm_base1.png" COMP;
20544          image: "bt_sm_shine.png" COMP;
20545          image: "bt_sm_hilight.png" COMP;
20546          image: "ilist_1.png" COMP;
20547          image: "ilist_item_shadow.png" COMP;
20548          image: "icon_arrow_right.png" COMP;
20549          image: "icon_arrow_down.png" COMP;
20550       }
20551       parts {
20552          part {
20553             name:           "event";
20554             type:           RECT;
20555             repeat_events: 1;
20556             description {
20557                state: "default" 0.0;
20558                color: 0 0 0 0;
20559             }
20560          }
20561          part {
20562             name: "base_sh";
20563             mouse_events: 0;
20564             description {
20565                state: "default" 0.0;
20566                align: 0.0 0.0;
20567                min: 0 10;
20568                fixed: 1 1;
20569                rel1 {
20570                   to: "base";
20571                   relative: 0.0 1.0;
20572                   offset: 0 0;
20573                }
20574                rel2 {
20575                   to: "base";
20576                   relative: 1.0 1.0;
20577                   offset: -1 0;
20578                }
20579                image {
20580                   normal: "ilist_item_shadow.png";
20581                }
20582                fill.smooth: 0;
20583             }
20584          }
20585          part {
20586             name: "base";
20587             mouse_events: 0;
20588             description {
20589                state: "default" 0.0;
20590                image {
20591                   normal: "ilist_1.png";
20592                   border: 2 2 2 2;
20593                }
20594                fill.smooth: 0;
20595             }
20596          }
20597          part { name: "bg";
20598             clip_to: "disclip";
20599             mouse_events: 0;
20600             description { state: "default" 0.0;
20601                visible: 0;
20602                color: 255 255 255 0;
20603                rel1 {
20604                   relative: 0.0 0.0;
20605                   offset: -5 -5;
20606                }
20607                rel2 {
20608                   relative: 1.0 1.0;
20609                   offset: 4 4;
20610                }
20611                image {
20612                   normal: "bt_sm_base1.png";
20613                   border: 6 6 6 6;
20614                }
20615                image.middle: SOLID;
20616             }
20617             description { state: "selected" 0.0;
20618                inherit: "default" 0.0;
20619                visible: 1;
20620                color: 255 255 255 255;
20621                rel1 {
20622                   relative: 0.0 0.0;
20623                   offset: -2 -2;
20624                }
20625                rel2 {
20626                   relative: 1.0 1.0;
20627                   offset: 1 1;
20628                }
20629             }
20630          }
20631          part { name: "elm.swallow.pad";
20632             type: SWALLOW;
20633             description { state: "default" 0.0;
20634                fixed: 1 0;
20635                align: 0.0 0.5;
20636                rel1 {
20637                   relative: 0.0  0.0;
20638                   offset:   4    4;
20639                }
20640                rel2 {
20641                   relative: 0.0  1.0;
20642                   offset:   4   -5;
20643                }
20644             }
20645          }
20646          part { name: "arrow";
20647             clip_to: "disclip";
20648             ignore_flags: ON_HOLD;
20649             description { state: "default" 0.0;
20650                fixed: 1 0;
20651                align: 0.0 0.5;
20652                aspect: 1.0 1.0;
20653                rel1 {
20654                   to_x: "elm.swallow.pad";
20655                   relative: 1.0  0.0;
20656                   offset:   -1    4;
20657                }
20658                rel2 {
20659                   to_x: "elm.swallow.pad";
20660                   relative: 1.0  1.0;
20661                   offset:   -1   -5;
20662                }
20663                image.normal: "icon_arrow_right.png";
20664             }
20665             description { state: "active" 0.0;
20666                inherit: "default" 0.0;
20667                image.normal: "icon_arrow_down.png";
20668             }
20669          }
20670          part { name: "elm.swallow.icon";
20671             clip_to: "disclip";
20672             type: SWALLOW;
20673             description { state: "default" 0.0;
20674                fixed: 1 0;
20675                align: 0.0 0.5;
20676                rel1 {
20677                   to_x: "arrow";
20678                   relative: 1.0  0.0;
20679                   offset:   4    4;
20680                }
20681                rel2 {
20682                   to_x: "arrow";
20683                   relative: 1.0  1.0;
20684                   offset:   4   -5;
20685                }
20686             }
20687          }
20688          part { name: "elm.swallow.end";
20689             clip_to: "disclip";
20690             type: SWALLOW;
20691             description { state: "default" 0.0;
20692                fixed: 1 0;
20693                align: 1.0 0.5;
20694                aspect: 1.0 1.0;
20695                aspect_preference: VERTICAL;
20696                rel1 {
20697                   relative: 1.0  0.0;
20698                   offset:   -5    4;
20699                }
20700                rel2 {
20701                   relative: 1.0  1.0;
20702                   offset:   -5   -5;
20703                }
20704             }
20705          }
20706          part { name: "elm.text";
20707             clip_to: "disclip";
20708             type:           TEXT;
20709             effect:         SOFT_SHADOW;
20710             mouse_events:   0;
20711             scale: 1;
20712             description {
20713                state: "default" 0.0;
20714 //               min: 16 16;
20715                rel1 {
20716                   to_x:     "elm.swallow.icon";
20717                   relative: 1.0  0.0;
20718                   offset:   0 4;
20719                }
20720                rel2 {
20721                   to_x:     "elm.swallow.end";
20722                   relative: 0.0  0.5;
20723                   offset:   -1 -5;
20724                }
20725                color: 0 0 0 255;
20726                color3: 0 0 0 0;
20727                text {
20728                   font: "Sans";
20729                   size: 10;
20730 //                  min: 1 1;
20731                   min: 0 1;
20732                   align: 0.0 0.5;
20733                   text_class: "list_item";
20734                }
20735             }
20736             description { state: "selected" 0.0;
20737                inherit: "default" 0.0;
20738                color: 224 224 224 255;
20739                color3: 0 0 0 64;
20740             }
20741          }
20742          part { name: "elm.text.sub";
20743             clip_to: "disclip";
20744             type:           TEXT;
20745             mouse_events:   0;
20746             scale: 1;
20747             description {
20748                state: "default" 0.0;
20749 //               min: 16 16;
20750                rel1 {
20751                   to_x:     "elm.swallow.icon";
20752                   relative: 1.0  0.5;
20753                   offset:   0 4;
20754                }
20755                rel2 {
20756                   to_x:     "elm.swallow.end";
20757                   relative: 0.0  1.0;
20758                   offset:   -1 -5;
20759                }
20760                color: 0 0 0 128;
20761                color3: 0 0 0 0;
20762                text {
20763                   font: "Sans";
20764                   size: 8;
20765 //                  min: 1 1;
20766                   min: 0 1;
20767                   align: 0.0 0.5;
20768                   text_class: "list_item";
20769                }
20770             }
20771             description { state: "selected" 0.0;
20772                inherit: "default" 0.0;
20773                color: 128 128 128 255;
20774                color3: 0 0 0 32;
20775             }
20776          }
20777          part { name: "fg1";
20778             clip_to: "disclip";
20779             mouse_events: 0;
20780             description { state: "default" 0.0;
20781                visible: 0;
20782                color: 255 255 255 0;
20783                rel1.to: "bg";
20784                rel2.relative: 1.0 0.5;
20785                rel2.to: "bg";
20786                image {
20787                   normal: "bt_sm_hilight.png";
20788                   border: 6 6 6 0;
20789                }
20790             }
20791             description { state: "selected" 0.0;
20792                inherit: "default" 0.0;
20793                visible: 1;
20794                color: 255 255 255 255;
20795             }
20796          }
20797          part { name: "fg2";
20798             clip_to: "disclip";
20799             mouse_events: 0;
20800             description { state: "default" 0.0;
20801                visible: 0;
20802                color: 255 255 255 0;
20803                rel1.to: "bg";
20804                rel2.to: "bg";
20805                image {
20806                   normal: "bt_sm_shine.png";
20807                   border: 6 6 6 0;
20808                }
20809             }
20810             description { state: "selected" 0.0;
20811                inherit: "default" 0.0;
20812                visible: 1;
20813                color: 255 255 255 255;
20814             }
20815          }
20816          part { name: "disclip";
20817             type: RECT;
20818             description { state: "default" 0.0;
20819                rel1.to: "bg";
20820                rel2.to: "bg";
20821             }
20822             description { state: "disabled" 0.0;
20823                inherit: "default" 0.0;
20824                color: 255 255 255 64;
20825             }
20826          }
20827       }
20828       programs {
20829          // signal: elm,state,%s,active
20830          //   a "check" item named %s went active
20831          // signal: elm,state,%s,passive
20832          //   a "check" item named %s went passive
20833          // default is passive
20834          program {
20835             name:    "go_active";
20836             signal:  "elm,state,selected";
20837             source:  "elm";
20838             action:  STATE_SET "selected" 0.0;
20839             target:  "bg";
20840             target:  "fg1";
20841             target:  "fg2";
20842             target:  "elm.text";
20843             target:  "elm.text.sub";
20844          }
20845          program {
20846             name:    "go_passive";
20847             signal:  "elm,state,unselected";
20848             source:  "elm";
20849             action:  STATE_SET "default" 0.0;
20850             target:  "bg";
20851             target:  "fg1";
20852             target:  "fg2";
20853             target:  "elm.text";
20854             target:  "elm.text.sub";
20855             transition: LINEAR 0.1;
20856          }
20857          program {
20858             name:    "go_disabled";
20859             signal:  "elm,state,disabled";
20860             source:  "elm";
20861             action:  STATE_SET "disabled" 0.0;
20862             target:  "disclip";
20863          }
20864          program {
20865             name:    "go_enabled";
20866             signal:  "elm,state,enabled";
20867             source:  "elm";
20868             action:  STATE_SET "default" 0.0;
20869             target:  "disclip";
20870          }
20871          program {
20872             name:    "expand";
20873             signal:  "mouse,up,1";
20874             source:  "arrow";
20875             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20876          }
20877          program {
20878             name:    "go_expanded";
20879             signal:  "elm,state,expanded";
20880             source:  "elm";
20881             action:  STATE_SET "active" 0.0;
20882             target:  "arrow";
20883          }
20884          program {
20885             name:    "go_contracted";
20886             signal:  "elm,state,contracted";
20887             source:  "elm";
20888             action:  STATE_SET "default" 0.0;
20889             target:  "arrow";
20890          }
20891       }
20892    }
20893    group { name: "elm/genlist/tree_odd/double_label/default";
20894       data.item: "stacking" "below";
20895       data.item: "selectraise" "on";
20896       data.item: "labels" "elm.text elm.text.sub";
20897       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20898       data.item: "treesize" "20";
20899 //      data.item: "states" "";
20900       images {
20901          image: "bt_sm_base1.png" COMP;
20902          image: "bt_sm_shine.png" COMP;
20903          image: "bt_sm_hilight.png" COMP;
20904          image: "ilist_2.png" COMP;
20905          image: "icon_arrow_right.png" COMP;
20906          image: "icon_arrow_down.png" COMP;
20907       }
20908       parts {
20909          part {
20910             name:           "event";
20911             type:           RECT;
20912             repeat_events: 1;
20913             description {
20914                state: "default" 0.0;
20915                color: 0 0 0 0;
20916             }
20917          }
20918          part {
20919             name: "base";
20920             mouse_events: 0;
20921             description {
20922                state: "default" 0.0;
20923                image {
20924                   normal: "ilist_2.png";
20925                   border: 2 2 2 2;
20926                }
20927                fill.smooth: 0;
20928             }
20929          }
20930          part { name: "bg";
20931             clip_to: "disclip";
20932             mouse_events: 0;
20933             description { state: "default" 0.0;
20934                visible: 0;
20935                color: 255 255 255 0;
20936                rel1 {
20937                   relative: 0.0 0.0;
20938                   offset: -5 -5;
20939                }
20940                rel2 {
20941                   relative: 1.0 1.0;
20942                   offset: 4 4;
20943                }
20944                image {
20945                   normal: "bt_sm_base1.png";
20946                   border: 6 6 6 6;
20947                }
20948                image.middle: SOLID;
20949             }
20950             description { state: "selected" 0.0;
20951                inherit: "default" 0.0;
20952                visible: 1;
20953                color: 255 255 255 255;
20954                rel1 {
20955                   relative: 0.0 0.0;
20956                   offset: -2 -2;
20957                }
20958                rel2 {
20959                   relative: 1.0 1.0;
20960                   offset: 1 1;
20961                }
20962             }
20963          }
20964          part { name: "elm.swallow.pad";
20965             type: SWALLOW;
20966             description { state: "default" 0.0;
20967                fixed: 1 0;
20968                align: 0.0 0.5;
20969                rel1 {
20970                   relative: 0.0  0.0;
20971                   offset:   4    4;
20972                }
20973                rel2 {
20974                   relative: 0.0  1.0;
20975                   offset:   4   -5;
20976                }
20977             }
20978          }
20979          part { name: "arrow";
20980             clip_to: "disclip";
20981             ignore_flags: ON_HOLD;
20982             description { state: "default" 0.0;
20983                fixed: 1 0;
20984                align: 0.0 0.5;
20985                aspect: 1.0 1.0;
20986                rel1 {
20987                   to_x: "elm.swallow.pad";
20988                   relative: 1.0  0.0;
20989                   offset:   -1    4;
20990                }
20991                rel2 {
20992                   to_x: "elm.swallow.pad";
20993                   relative: 1.0  1.0;
20994                   offset:   -1   -5;
20995                }
20996                image.normal: "icon_arrow_right.png";
20997             }
20998             description { state: "active" 0.0;
20999                inherit: "default" 0.0;
21000                image.normal: "icon_arrow_down.png";
21001             }
21002          }
21003          part { name: "elm.swallow.icon";
21004             clip_to: "disclip";
21005             type: SWALLOW;
21006             description { state: "default" 0.0;
21007                fixed: 1 0;
21008                align: 0.0 0.5;
21009                rel1 {
21010                   to_x: "arrow";
21011                   relative: 1.0  0.0;
21012                   offset:   4    4;
21013                }
21014                rel2 {
21015                   to_x: "arrow";
21016                   relative: 1.0  1.0;
21017                   offset:   4   -5;
21018                }
21019             }
21020          }
21021          part { name: "elm.swallow.end";
21022             clip_to: "disclip";
21023             type: SWALLOW;
21024             description { state: "default" 0.0;
21025                fixed: 1 0;
21026                align: 1.0 0.5;
21027                aspect: 1.0 1.0;
21028                aspect_preference: VERTICAL;
21029                rel1 {
21030                   relative: 1.0  0.0;
21031                   offset:   -5    4;
21032                }
21033                rel2 {
21034                   relative: 1.0  1.0;
21035                   offset:   -5   -5;
21036                }
21037             }
21038          }
21039          part { name: "elm.text";
21040             clip_to: "disclip";
21041             type:           TEXT;
21042             effect:         SOFT_SHADOW;
21043             mouse_events:   0;
21044             scale: 1;
21045             description {
21046                state: "default" 0.0;
21047 //               min: 16 16;
21048                rel1 {
21049                   to_x:     "elm.swallow.icon";
21050                   relative: 1.0  0.0;
21051                   offset:   0 4;
21052                }
21053                rel2 {
21054                   to_x:     "elm.swallow.end";
21055                   relative: 0.0  0.5;
21056                   offset:   -1 -5;
21057                }
21058                color: 0 0 0 255;
21059                color3: 0 0 0 0;
21060                text {
21061                   font: "Sans";
21062                   size: 10;
21063                   min: 1 1;
21064 //                  min: 0 1;
21065                   align: 0.0 0.5;
21066                   text_class: "list_item";
21067                }
21068             }
21069             description { state: "selected" 0.0;
21070                inherit: "default" 0.0;
21071                color: 224 224 224 255;
21072                color3: 0 0 0 64;
21073             }
21074          }
21075          part { name: "elm.text.sub";
21076             clip_to: "disclip";
21077             type:           TEXT;
21078             mouse_events:   0;
21079             scale: 1;
21080             description {
21081                state: "default" 0.0;
21082 //               min: 16 16;
21083                rel1 {
21084                   to_x:     "elm.swallow.icon";
21085                   relative: 1.0  0.5;
21086                   offset:   0 4;
21087                }
21088                rel2 {
21089                   to_x:     "elm.swallow.end";
21090                   relative: 0.0  1.0;
21091                   offset:   -1 -5;
21092                }
21093                color: 0 0 0 128;
21094                color3: 0 0 0 0;
21095                text {
21096                   font: "Sans";
21097                   size: 8;
21098                   min: 1 1;
21099 //                  min: 0 1;
21100                   align: 0.0 0.5;
21101                   text_class: "list_item";
21102                }
21103             }
21104             description { state: "selected" 0.0;
21105                inherit: "default" 0.0;
21106                color: 128 128 128 255;
21107                color3: 0 0 0 32;
21108             }
21109          }
21110          part { name: "fg1";
21111             clip_to: "disclip";
21112             mouse_events: 0;
21113             description { state: "default" 0.0;
21114                visible: 0;
21115                color: 255 255 255 0;
21116                rel1.to: "bg";
21117                rel2.relative: 1.0 0.5;
21118                rel2.to: "bg";
21119                image {
21120                   normal: "bt_sm_hilight.png";
21121                   border: 6 6 6 0;
21122                }
21123             }
21124             description { state: "selected" 0.0;
21125                inherit: "default" 0.0;
21126                visible: 1;
21127                color: 255 255 255 255;
21128             }
21129          }
21130          part { name: "fg2";
21131             clip_to: "disclip";
21132             mouse_events: 0;
21133             description { state: "default" 0.0;
21134                visible: 0;
21135                color: 255 255 255 0;
21136                rel1.to: "bg";
21137                rel2.to: "bg";
21138                image {
21139                   normal: "bt_sm_shine.png";
21140                   border: 6 6 6 0;
21141                }
21142             }
21143             description { state: "selected" 0.0;
21144                inherit: "default" 0.0;
21145                visible: 1;
21146                color: 255 255 255 255;
21147             }
21148          }
21149          part { name: "disclip";
21150             type: RECT;
21151             description { state: "default" 0.0;
21152                rel1.to: "bg";
21153                rel2.to: "bg";
21154             }
21155             description { state: "disabled" 0.0;
21156                inherit: "default" 0.0;
21157                color: 255 255 255 64;
21158             }
21159          }
21160       }
21161       programs {
21162          // signal: elm,state,%s,active
21163          //   a "check" item named %s went active
21164          // signal: elm,state,%s,passive
21165          //   a "check" item named %s went passive
21166          // default is passive
21167          program {
21168             name:    "go_active";
21169             signal:  "elm,state,selected";
21170             source:  "elm";
21171             action:  STATE_SET "selected" 0.0;
21172             target:  "bg";
21173             target:  "fg1";
21174             target:  "fg2";
21175             target:  "elm.text";
21176             target:  "elm.text.sub";
21177          }
21178          program {
21179             name:    "go_passive";
21180             signal:  "elm,state,unselected";
21181             source:  "elm";
21182             action:  STATE_SET "default" 0.0;
21183             target:  "bg";
21184             target:  "fg1";
21185             target:  "fg2";
21186             target:  "elm.text";
21187             target:  "elm.text.sub";
21188             transition: LINEAR 0.1;
21189          }
21190          program {
21191             name:    "go_disabled";
21192             signal:  "elm,state,disabled";
21193             source:  "elm";
21194             action:  STATE_SET "disabled" 0.0;
21195             target:  "disclip";
21196          }
21197          program {
21198             name:    "go_enabled";
21199             signal:  "elm,state,enabled";
21200             source:  "elm";
21201             action:  STATE_SET "default" 0.0;
21202             target:  "disclip";
21203          }
21204          program {
21205             name:    "expand";
21206             signal:  "mouse,up,1";
21207             source:  "arrow";
21208             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21209          }
21210          program {
21211             name:    "go_expanded";
21212             signal:  "elm,state,expanded";
21213             source:  "elm";
21214             action:  STATE_SET "active" 0.0;
21215             target:  "arrow";
21216          }
21217          program {
21218             name:    "go_contracted";
21219             signal:  "elm,state,contracted";
21220             source:  "elm";
21221             action:  STATE_SET "default" 0.0;
21222             target:  "arrow";
21223          }
21224       }
21225    }
21226
21227    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21228       data.item: "stacking" "above";
21229       data.item: "selectraise" "on";
21230       data.item: "labels" "elm.text";
21231       data.item: "icons" "elm.swallow.icon";
21232       data.item: "treesize" "20";
21233 //      data.item: "states" "";
21234       images {
21235          image: "bt_sm_base1.png" COMP;
21236          image: "bt_sm_shine.png" COMP;
21237          image: "bt_sm_hilight.png" COMP;
21238          image: "ilist_1.png" COMP;
21239          image: "ilist_item_shadow.png" COMP;
21240       }
21241       parts {
21242          part {
21243             name:           "event";
21244             type:           RECT;
21245             repeat_events: 1;
21246             description {
21247                state: "default" 0.0;
21248                color: 0 0 0 0;
21249             }
21250          }
21251          part {
21252             name: "base_sh";
21253             mouse_events: 0;
21254             description {
21255                state: "default" 0.0;
21256                align: 0.0 0.0;
21257                min: 0 10;
21258                fixed: 1 1;
21259                rel1 {
21260                   to: "base";
21261                   relative: 0.0 1.0;
21262                   offset: 0 0;
21263                }
21264                rel2 {
21265                   to: "base";
21266                   relative: 1.0 1.0;
21267                   offset: -1 0;
21268                }
21269                image {
21270                   normal: "ilist_item_shadow.png";
21271                }
21272                fill.smooth: 0;
21273             }
21274          }
21275          part {
21276             name: "base";
21277             mouse_events: 0;
21278             description {
21279                state: "default" 0.0;
21280                image {
21281                   normal: "ilist_1.png";
21282                   border: 2 2 2 2;
21283                }
21284                fill.smooth: 0;
21285             }
21286          }
21287          part { name: "bg";
21288             clip_to: "disclip";
21289             mouse_events: 0;
21290             description { state: "default" 0.0;
21291                visible: 0;
21292                color: 255 255 255 0;
21293                rel1 {
21294                   relative: 0.0 0.0;
21295                   offset: -5 -5;
21296                }
21297                rel2 {
21298                   relative: 1.0 1.0;
21299                   offset: 4 4;
21300                }
21301                image {
21302                   normal: "bt_sm_base1.png";
21303                   border: 6 6 6 6;
21304                }
21305                image.middle: SOLID;
21306             }
21307             description { state: "selected" 0.0;
21308                inherit: "default" 0.0;
21309                visible: 1;
21310                color: 255 255 255 255;
21311                rel1 {
21312                   relative: 0.0 0.0;
21313                   offset: -2 -2;
21314                }
21315                rel2 {
21316                   relative: 1.0 1.0;
21317                   offset: 1 1;
21318                }
21319             }
21320          }
21321          part { name: "elm.swallow.pad";
21322             type: SWALLOW;
21323             description { state: "default" 0.0;
21324                fixed: 1 0;
21325                align: 0.0 0.5;
21326                rel1 {
21327                   relative: 0.0  0.0;
21328                   offset:   4    4;
21329                }
21330                rel2 {
21331                   relative: 1.0  1.0;
21332                   offset:   -4   -5;
21333                }
21334             }
21335          }
21336          part { name: "elm.swallow.icon";
21337             clip_to: "disclip";
21338             type: SWALLOW;
21339             description { state: "default" 0.0;
21340                fixed: 1 0;
21341                align: 0.5 0.5;
21342                rel1 {
21343                   to_x: "elm.swallow.pad";
21344                   relative: 0.0  0.0;
21345                   offset:   -1    4;
21346                }
21347                rel2 {
21348                   to_x: "elm.swallow.pad";
21349                   relative: 1.0  1.0;
21350                   offset:   -1   -5;
21351                }
21352             }
21353          }
21354          part { name: "elm.text";
21355             clip_to: "disclip";
21356             type:           TEXT;
21357             effect:         SOFT_SHADOW;
21358             mouse_events:   0;
21359             scale: 1;
21360             description {
21361                state: "default" 0.0;
21362 //               min: 16 16;
21363                rel1 {
21364                   to_y:     "elm.swallow.icon";
21365                   relative: 0.0  1.0;
21366                   offset:   0 4;
21367                }
21368                rel2 {
21369                   relative: 1.0  1.0;
21370                   offset:   -5 -5;
21371                }
21372                color: 0 0 0 255;
21373                color3: 0 0 0 0;
21374                text {
21375                   font: "Sans";
21376                   size: 10;
21377                   min: 1 1;
21378 //                  min: 0 1;
21379                   align: 0.5 0.5;
21380                   text_class: "list_item";
21381                }
21382             }
21383             description { state: "selected" 0.0;
21384                inherit: "default" 0.0;
21385                color: 224 224 224 255;
21386                color3: 0 0 0 64;
21387             }
21388          }
21389          part { name: "fg1";
21390             clip_to: "disclip";
21391             mouse_events: 0;
21392             description { state: "default" 0.0;
21393                visible: 0;
21394                color: 255 255 255 0;
21395                rel1.to: "bg";
21396                rel2.relative: 1.0 0.5;
21397                rel2.to: "bg";
21398                image {
21399                   normal: "bt_sm_hilight.png";
21400                   border: 6 6 6 0;
21401                }
21402             }
21403             description { state: "selected" 0.0;
21404                inherit: "default" 0.0;
21405                visible: 1;
21406                color: 255 255 255 255;
21407             }
21408          }
21409          part { name: "fg2";
21410             clip_to: "disclip";
21411             mouse_events: 0;
21412             description { state: "default" 0.0;
21413                visible: 0;
21414                color: 255 255 255 0;
21415                rel1.to: "bg";
21416                rel2.to: "bg";
21417                image {
21418                   normal: "bt_sm_shine.png";
21419                   border: 6 6 6 0;
21420                }
21421             }
21422             description { state: "selected" 0.0;
21423                inherit: "default" 0.0;
21424                visible: 1;
21425                color: 255 255 255 255;
21426             }
21427          }
21428          part { name: "disclip";
21429             type: RECT;
21430             description { state: "default" 0.0;
21431                rel1.to: "bg";
21432                rel2.to: "bg";
21433             }
21434             description { state: "disabled" 0.0;
21435                inherit: "default" 0.0;
21436                color: 255 255 255 64;
21437             }
21438          }
21439       }
21440       programs {
21441          // signal: elm,state,%s,active
21442          //   a "check" item named %s went active
21443          // signal: elm,state,%s,passive
21444          //   a "check" item named %s went passive
21445          // default is passive
21446          program {
21447             name:    "go_active";
21448             signal:  "elm,state,selected";
21449             source:  "elm";
21450             action:  STATE_SET "selected" 0.0;
21451             target:  "bg";
21452             target:  "fg1";
21453             target:  "fg2";
21454             target:  "elm.text";
21455          }
21456          program {
21457             name:    "go_passive";
21458             signal:  "elm,state,unselected";
21459             source:  "elm";
21460             action:  STATE_SET "default" 0.0;
21461             target:  "bg";
21462             target:  "fg1";
21463             target:  "fg2";
21464             target:  "elm.text";
21465             transition: LINEAR 0.1;
21466          }
21467          program {
21468             name:    "go_disabled";
21469             signal:  "elm,state,disabled";
21470             source:  "elm";
21471             action:  STATE_SET "disabled" 0.0;
21472             target:  "disclip";
21473          }
21474          program {
21475             name:    "go_enabled";
21476             signal:  "elm,state,enabled";
21477             source:  "elm";
21478             action:  STATE_SET "default" 0.0;
21479             target:  "disclip";
21480          }
21481       }
21482    }
21483    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21484       data.item: "stacking" "below";
21485       data.item: "selectraise" "on";
21486       data.item: "labels" "elm.text";
21487       data.item: "icons" "elm.swallow.icon";
21488       data.item: "treesize" "20";
21489 //      data.item: "states" "";
21490       images {
21491          image: "bt_sm_base1.png" COMP;
21492          image: "bt_sm_shine.png" COMP;
21493          image: "bt_sm_hilight.png" COMP;
21494          image: "ilist_2.png" COMP;
21495       }
21496       parts {
21497          part { name: "event";
21498             type: RECT;
21499             repeat_events: 1;
21500             description {
21501                state: "default" 0.0;
21502                color: 0 0 0 0;
21503             }
21504          }
21505          part {
21506             name: "base";
21507             mouse_events: 0;
21508             description {
21509                state: "default" 0.0;
21510                image {
21511                   normal: "ilist_2.png";
21512                   border: 2 2 2 2;
21513                }
21514                fill.smooth: 0;
21515             }
21516          }
21517          part { name: "bg";
21518             clip_to: "disclip";
21519             mouse_events: 0;
21520             description { state: "default" 0.0;
21521                visible: 0;
21522                color: 255 255 255 0;
21523                rel1 {
21524                   relative: 0.0 0.0;
21525                   offset: -5 -5;
21526                }
21527                rel2 {
21528                   relative: 1.0 1.0;
21529                   offset: 4 4;
21530                }
21531                image {
21532                   normal: "bt_sm_base1.png";
21533                   border: 6 6 6 6;
21534                }
21535                image.middle: SOLID;
21536             }
21537             description { state: "selected" 0.0;
21538                inherit: "default" 0.0;
21539                visible: 1;
21540                color: 255 255 255 255;
21541                rel1 {
21542                   relative: 0.0 0.0;
21543                   offset: -2 -2;
21544                }
21545                rel2 {
21546                   relative: 1.0 1.0;
21547                   offset: 1 1;
21548                }
21549             }
21550          }
21551          part { name: "elm.swallow.pad";
21552             type: SWALLOW;
21553             description { state: "default" 0.0;
21554                fixed: 1 0;
21555                align: 0.0 0.5;
21556                rel1 {
21557                   relative: 0.0  0.0;
21558                   offset:   4    4;
21559                }
21560                rel2 {
21561                   relative: 1.0  1.0;
21562                   offset:   -4   -5;
21563                }
21564             }
21565          }
21566          part { name: "elm.swallow.icon";
21567             clip_to: "disclip";
21568             type: SWALLOW;
21569             description { state: "default" 0.0;
21570                fixed: 1 0;
21571                align: 0.5 0.5;
21572                rel1 {
21573                   to_x: "elm.swallow.pad";
21574                   relative: 0.0  0.0;
21575                   offset:   -1    4;
21576                }
21577                rel2 {
21578                   to_x: "elm.swallow.pad";
21579                   relative: 1.0  1.0;
21580                   offset:   -1   -5;
21581                }
21582             }
21583          }
21584          part { name: "elm.text";
21585             clip_to: "disclip";
21586             type:           TEXT;
21587             effect:         SOFT_SHADOW;
21588             mouse_events:   0;
21589             scale: 1;
21590             description {
21591                state: "default" 0.0;
21592 //               min:      16 16;
21593                rel1 {
21594                   to_y:     "elm.swallow.icon";
21595                   relative: 0.0  1.0;
21596                   offset:   0 4;
21597                }
21598                rel2 {
21599                   relative: 1.0  1.0;
21600                   offset:   -5 -5;
21601                }
21602                color: 0 0 0 255;
21603                color3: 0 0 0 0;
21604                text {
21605                   font: "Sans";
21606                   size: 10;
21607                   min: 1 1;
21608 //                  min: 0 1;
21609                   align: 0.5 0.5;
21610                   text_class: "list_item";
21611                }
21612             }
21613             description { state: "selected" 0.0;
21614                inherit: "default" 0.0;
21615                color: 224 224 224 255;
21616                color3: 0 0 0 64;
21617             }
21618          }
21619          part { name: "fg1";
21620             clip_to: "disclip";
21621             mouse_events: 0;
21622             description { state: "default" 0.0;
21623                visible: 0;
21624                color: 255 255 255 0;
21625                rel1.to: "bg";
21626                rel2.relative: 1.0 0.5;
21627                rel2.to: "bg";
21628                image {
21629                   normal: "bt_sm_hilight.png";
21630                   border: 6 6 6 0;
21631                }
21632             }
21633             description { state: "selected" 0.0;
21634                inherit: "default" 0.0;
21635                visible: 1;
21636                color: 255 255 255 255;
21637             }
21638          }
21639          part { name: "fg2";
21640             clip_to: "disclip";
21641             mouse_events: 0;
21642             description { state: "default" 0.0;
21643                visible: 0;
21644                color: 255 255 255 0;
21645                rel1.to: "bg";
21646                rel2.to: "bg";
21647                image {
21648                   normal: "bt_sm_shine.png";
21649                   border: 6 6 6 0;
21650                }
21651             }
21652             description { state: "selected" 0.0;
21653                inherit: "default" 0.0;
21654                visible: 1;
21655                color: 255 255 255 255;
21656             }
21657          }
21658          part { name: "disclip";
21659             type: RECT;
21660             description { state: "default" 0.0;
21661                rel1.to: "bg";
21662                rel2.to: "bg";
21663             }
21664             description { state: "disabled" 0.0;
21665                inherit: "default" 0.0;
21666                color: 255 255 255 64;
21667             }
21668          }
21669       }
21670       programs {
21671          // signal: elm,state,%s,active
21672          //   a "check" item named %s went active
21673          // signal: elm,state,%s,passive
21674          //   a "check" item named %s went passive
21675          // default is passive
21676          program {
21677             name:    "go_active";
21678             signal:  "elm,state,selected";
21679             source:  "elm";
21680             action:  STATE_SET "selected" 0.0;
21681             target:  "bg";
21682             target:  "fg1";
21683             target:  "fg2";
21684             target:  "elm.text";
21685          }
21686          program {
21687             name:    "go_passive";
21688             signal:  "elm,state,unselected";
21689             source:  "elm";
21690             action:  STATE_SET "default" 0.0;
21691             target:  "bg";
21692             target:  "fg1";
21693             target:  "fg2";
21694             target:  "elm.text";
21695             transition: LINEAR 0.1;
21696          }
21697          program {
21698             name:    "go_disabled";
21699             signal:  "elm,state,disabled";
21700             source:  "elm";
21701             action:  STATE_SET "disabled" 0.0;
21702             target:  "disclip";
21703          }
21704          program {
21705             name:    "go_enabled";
21706             signal:  "elm,state,enabled";
21707             source:  "elm";
21708             action:  STATE_SET "default" 0.0;
21709             target:  "disclip";
21710          }
21711       }
21712    }
21713
21714    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21715       data.item: "stacking" "above";
21716       data.item: "selectraise" "on";
21717       data.item: "labels" "elm.text";
21718       data.item: "icons" "elm.swallow.icon";
21719       data.item: "treesize" "20";
21720 //      data.item: "states" "";
21721       images {
21722          image: "bt_sm_base1.png" COMP;
21723          image: "bt_sm_shine.png" COMP;
21724          image: "bt_sm_hilight.png" COMP;
21725          image: "ilist_1.png" COMP;
21726          image: "ilist_item_shadow.png" COMP;
21727          image: "icon_arrow_right.png" COMP;
21728          image: "icon_arrow_down.png" COMP;
21729       }
21730       parts {
21731          part {
21732             name:           "event";
21733             type:           RECT;
21734             repeat_events: 1;
21735             description {
21736                state: "default" 0.0;
21737                color: 0 0 0 0;
21738             }
21739          }
21740          part {
21741             name: "base_sh";
21742             mouse_events: 0;
21743             description {
21744                state: "default" 0.0;
21745                align: 0.0 0.0;
21746                min: 0 10;
21747                fixed: 1 1;
21748                rel1 {
21749                   to: "base";
21750                   relative: 0.0 1.0;
21751                   offset: 0 0;
21752                }
21753                rel2 {
21754                   to: "base";
21755                   relative: 1.0 1.0;
21756                   offset: -1 0;
21757                }
21758                image {
21759                   normal: "ilist_item_shadow.png";
21760                }
21761                fill.smooth: 0;
21762             }
21763          }
21764          part {
21765             name: "base";
21766             mouse_events: 0;
21767             description {
21768                state: "default" 0.0;
21769                image {
21770                   normal: "ilist_1.png";
21771                   border: 2 2 2 2;
21772                }
21773                fill.smooth: 0;
21774             }
21775          }
21776          part { name: "bg";
21777             clip_to: "disclip";
21778             mouse_events: 0;
21779             description { state: "default" 0.0;
21780                visible: 0;
21781                color: 255 255 255 0;
21782                rel1 {
21783                   relative: 0.0 0.0;
21784                   offset: -5 -5;
21785                }
21786                rel2 {
21787                   relative: 1.0 1.0;
21788                   offset: 4 4;
21789                }
21790                image {
21791                   normal: "bt_sm_base1.png";
21792                   border: 6 6 6 6;
21793                }
21794                image.middle: SOLID;
21795             }
21796             description { state: "selected" 0.0;
21797                inherit: "default" 0.0;
21798                visible: 1;
21799                color: 255 255 255 255;
21800                rel1 {
21801                   relative: 0.0 0.0;
21802                   offset: -2 -2;
21803                }
21804                rel2 {
21805                   relative: 1.0 1.0;
21806                   offset: 1 1;
21807                }
21808             }
21809          }
21810          part { name: "elm.swallow.pad";
21811             type: SWALLOW;
21812             description { state: "default" 0.0;
21813                fixed: 1 0;
21814                align: 0.0 0.5;
21815                rel1 {
21816                   relative: 0.0  0.0;
21817                   offset:   4    4;
21818                }
21819                rel2 {
21820                   relative: 0.0  1.0;
21821                   offset:   4   -5;
21822                }
21823             }
21824          }
21825          part { name: "arrow";
21826             clip_to: "disclip";
21827             ignore_flags: ON_HOLD;
21828             description { state: "default" 0.0;
21829                fixed: 1 0;
21830                align: 0.0 0.5;
21831                aspect: 1.0 1.0;
21832                rel1 {
21833                   to_x: "elm.swallow.pad";
21834                   relative: 1.0  0.0;
21835                   offset:   -1    4;
21836                }
21837                rel2 {
21838                   to_x: "elm.swallow.pad";
21839                   relative: 1.0  1.0;
21840                   offset:   -1   -5;
21841                }
21842                image.normal: "icon_arrow_right.png";
21843             }
21844             description { state: "active" 0.0;
21845                inherit: "default" 0.0;
21846                image.normal: "icon_arrow_down.png";
21847             }
21848          }
21849          part { name: "elm.swallow.icon";
21850             clip_to: "disclip";
21851             type: SWALLOW;
21852             description { state: "default" 0.0;
21853                fixed: 1 0;
21854                align: 0.5 0.5;
21855                rel1 {
21856                   to_x: "arrow";
21857                   relative: 1.0  0.0;
21858                   offset:   4    4;
21859                }
21860                rel2 {
21861                   relative: 1.0  1.0;
21862                   offset:   -4   -5;
21863                }
21864             }
21865          }
21866          part { name: "elm.text";
21867             clip_to: "disclip";
21868             type:           TEXT;
21869             effect:         SOFT_SHADOW;
21870             mouse_events:   0;
21871             scale: 1;
21872             description {
21873                state: "default" 0.0;
21874 //               min: 16 16;
21875                rel1 {
21876                   to_y:     "elm.swallow.icon";
21877                   relative: 0.0  1.0;
21878                   offset:   0 4;
21879                }
21880                rel2 {
21881                   relative: 1.0  1.0;
21882                   offset:   -5 -5;
21883                }
21884                color: 0 0 0 255;
21885                color3: 0 0 0 0;
21886                text {
21887                   font: "Sans";
21888                   size: 10;
21889                   min: 1 1;
21890 //                  min: 0 1;
21891                   align: 0.5 0.5;
21892                   text_class: "list_item";
21893                }
21894             }
21895             description { state: "selected" 0.0;
21896                inherit: "default" 0.0;
21897                color: 224 224 224 255;
21898                color3: 0 0 0 64;
21899             }
21900          }
21901          part { name: "fg1";
21902             clip_to: "disclip";
21903             mouse_events: 0;
21904             description { state: "default" 0.0;
21905                visible: 0;
21906                color: 255 255 255 0;
21907                rel1.to: "bg";
21908                rel2.relative: 1.0 0.5;
21909                rel2.to: "bg";
21910                image {
21911                   normal: "bt_sm_hilight.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: "fg2";
21922             clip_to: "disclip";
21923             mouse_events: 0;
21924             description { state: "default" 0.0;
21925                visible: 0;
21926                color: 255 255 255 0;
21927                rel1.to: "bg";
21928                rel2.to: "bg";
21929                image {
21930                   normal: "bt_sm_shine.png";
21931                   border: 6 6 6 0;
21932                }
21933             }
21934             description { state: "selected" 0.0;
21935                inherit: "default" 0.0;
21936                visible: 1;
21937                color: 255 255 255 255;
21938             }
21939          }
21940          part { name: "disclip";
21941             type: RECT;
21942             description { state: "default" 0.0;
21943                rel1.to: "bg";
21944                rel2.to: "bg";
21945             }
21946             description { state: "disabled" 0.0;
21947                inherit: "default" 0.0;
21948                color: 255 255 255 64;
21949             }
21950          }
21951       }
21952       programs {
21953          // signal: elm,state,%s,active
21954          //   a "check" item named %s went active
21955          // signal: elm,state,%s,passive
21956          //   a "check" item named %s went passive
21957          // default is passive
21958          program {
21959             name:    "go_active";
21960             signal:  "elm,state,selected";
21961             source:  "elm";
21962             action:  STATE_SET "selected" 0.0;
21963             target:  "bg";
21964             target:  "fg1";
21965             target:  "fg2";
21966             target:  "elm.text";
21967          }
21968          program {
21969             name:    "go_passive";
21970             signal:  "elm,state,unselected";
21971             source:  "elm";
21972             action:  STATE_SET "default" 0.0;
21973             target:  "bg";
21974             target:  "fg1";
21975             target:  "fg2";
21976             target:  "elm.text";
21977             transition: LINEAR 0.1;
21978          }
21979          program {
21980             name:    "go_disabled";
21981             signal:  "elm,state,disabled";
21982             source:  "elm";
21983             action:  STATE_SET "disabled" 0.0;
21984             target:  "disclip";
21985          }
21986          program {
21987             name:    "go_enabled";
21988             signal:  "elm,state,enabled";
21989             source:  "elm";
21990             action:  STATE_SET "default" 0.0;
21991             target:  "disclip";
21992          }
21993          program {
21994             name:    "expand";
21995             signal:  "mouse,up,1";
21996             source:  "arrow";
21997             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21998          }
21999          program {
22000             name:    "go_expanded";
22001             signal:  "elm,state,expanded";
22002             source:  "elm";
22003             action:  STATE_SET "active" 0.0;
22004             target:  "arrow";
22005          }
22006          program {
22007             name:    "go_contracted";
22008             signal:  "elm,state,contracted";
22009             source:  "elm";
22010             action:  STATE_SET "default" 0.0;
22011             target:  "arrow";
22012          }
22013       }
22014    }
22015    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22016       data.item: "stacking" "below";
22017       data.item: "selectraise" "on";
22018       data.item: "labels" "elm.text";
22019       data.item: "icons" "elm.swallow.icon";
22020       data.item: "treesize" "20";
22021 //      data.item: "states" "";
22022       images {
22023          image: "bt_sm_base1.png" COMP;
22024          image: "bt_sm_shine.png" COMP;
22025          image: "bt_sm_hilight.png" COMP;
22026          image: "ilist_2.png" COMP;
22027          image: "icon_arrow_right.png" COMP;
22028          image: "icon_arrow_down.png" COMP;
22029       }
22030       parts {
22031          part {
22032             name:           "event";
22033             type:           RECT;
22034             repeat_events: 1;
22035             description {
22036                state: "default" 0.0;
22037                color: 0 0 0 0;
22038             }
22039          }
22040          part {
22041             name: "base";
22042             mouse_events: 0;
22043             description {
22044                state: "default" 0.0;
22045                image {
22046                   normal: "ilist_2.png";
22047                   border: 2 2 2 2;
22048                }
22049                fill.smooth: 0;
22050             }
22051          }
22052          part { name: "bg";
22053             clip_to: "disclip";
22054             mouse_events: 0;
22055             description { state: "default" 0.0;
22056                visible: 0;
22057                color: 255 255 255 0;
22058                rel1 {
22059                   relative: 0.0 0.0;
22060                   offset: -5 -5;
22061                }
22062                rel2 {
22063                   relative: 1.0 1.0;
22064                   offset: 4 4;
22065                }
22066                image {
22067                   normal: "bt_sm_base1.png";
22068                   border: 6 6 6 6;
22069                }
22070                image.middle: SOLID;
22071             }
22072             description { state: "selected" 0.0;
22073                inherit: "default" 0.0;
22074                visible: 1;
22075                color: 255 255 255 255;
22076                rel1 {
22077                   relative: 0.0 0.0;
22078                   offset: -2 -2;
22079                }
22080                rel2 {
22081                   relative: 1.0 1.0;
22082                   offset: 1 1;
22083                }
22084             }
22085          }
22086          part { name: "elm.swallow.pad";
22087             type: SWALLOW;
22088             description { state: "default" 0.0;
22089                fixed: 1 0;
22090                align: 0.0 0.5;
22091                rel1 {
22092                   relative: 0.0  0.0;
22093                   offset:   4    4;
22094                }
22095                rel2 {
22096                   relative: 0.0  1.0;
22097                   offset:   4   -5;
22098                }
22099             }
22100          }
22101          part { name: "arrow";
22102             clip_to: "disclip";
22103             ignore_flags: ON_HOLD;
22104             description { state: "default" 0.0;
22105                fixed: 1 0;
22106                align: 0.0 0.5;
22107                aspect: 1.0 1.0;
22108                rel1 {
22109                   to_x: "elm.swallow.pad";
22110                   relative: 1.0  0.0;
22111                   offset:   -1    4;
22112                }
22113                rel2 {
22114                   to_x: "elm.swallow.pad";
22115                   relative: 1.0  1.0;
22116                   offset:   -1   -5;
22117                }
22118                image.normal: "icon_arrow_right.png";
22119             }
22120             description { state: "active" 0.0;
22121                inherit: "default" 0.0;
22122                image.normal: "icon_arrow_down.png";
22123             }
22124          }
22125          part { name: "elm.swallow.icon";
22126             clip_to: "disclip";
22127             type: SWALLOW;
22128             description { state: "default" 0.0;
22129                fixed: 1 0;
22130                align: 0.5 0.5;
22131                rel1 {
22132                   to_x: "arrow";
22133                   relative: 1.0  0.0;
22134                   offset:   4    4;
22135                }
22136                rel2 {
22137                   relative: 1.0  1.0;
22138                   offset:   -4   -5;
22139                }
22140             }
22141          }
22142          part { name: "elm.text";
22143             clip_to: "disclip";
22144             type:           TEXT;
22145             effect:         SOFT_SHADOW;
22146             mouse_events:   0;
22147             scale: 1;
22148             description {
22149                state: "default" 0.0;
22150 //               min: 16 16;
22151                rel1 {
22152                   to_y:     "elm.swallow.icon";
22153                   relative: 0.0  1.0;
22154                   offset:   0 4;
22155                }
22156                rel2 {
22157                   relative: 1.0  1.0;
22158                   offset:   -5 -5;
22159                }
22160                color: 0 0 0 255;
22161                color3: 0 0 0 0;
22162                text {
22163                   font: "Sans";
22164                   size: 10;
22165                   min: 1 1;
22166 //                  min: 0 1;
22167                   align: 0.5 0.5;
22168                   text_class: "list_item";
22169                }
22170             }
22171             description { state: "selected" 0.0;
22172                inherit: "default" 0.0;
22173                color: 224 224 224 255;
22174                color3: 0 0 0 64;
22175             }
22176          }
22177          part { name: "fg1";
22178             clip_to: "disclip";
22179             mouse_events: 0;
22180             description { state: "default" 0.0;
22181                visible: 0;
22182                color: 255 255 255 0;
22183                rel1.to: "bg";
22184                rel2.relative: 1.0 0.5;
22185                rel2.to: "bg";
22186                image {
22187                   normal: "bt_sm_hilight.png";
22188                   border: 6 6 6 0;
22189                }
22190             }
22191             description { state: "selected" 0.0;
22192                inherit: "default" 0.0;
22193                visible: 1;
22194                color: 255 255 255 255;
22195             }
22196          }
22197          part { name: "fg2";
22198             clip_to: "disclip";
22199             mouse_events: 0;
22200             description { state: "default" 0.0;
22201                visible: 0;
22202                color: 255 255 255 0;
22203                rel1.to: "bg";
22204                rel2.to: "bg";
22205                image {
22206                   normal: "bt_sm_shine.png";
22207                   border: 6 6 6 0;
22208                }
22209             }
22210             description { state: "selected" 0.0;
22211                inherit: "default" 0.0;
22212                visible: 1;
22213                color: 255 255 255 255;
22214             }
22215          }
22216          part { name: "disclip";
22217             type: RECT;
22218             description { state: "default" 0.0;
22219                rel1.to: "bg";
22220                rel2.to: "bg";
22221             }
22222             description { state: "disabled" 0.0;
22223                inherit: "default" 0.0;
22224                color: 255 255 255 64;
22225             }
22226          }
22227       }
22228       programs {
22229          // signal: elm,state,%s,active
22230          //   a "check" item named %s went active
22231          // signal: elm,state,%s,passive
22232          //   a "check" item named %s went passive
22233          // default is passive
22234          program {
22235             name:    "go_active";
22236             signal:  "elm,state,selected";
22237             source:  "elm";
22238             action:  STATE_SET "selected" 0.0;
22239             target:  "bg";
22240             target:  "fg1";
22241             target:  "fg2";
22242             target:  "elm.text";
22243          }
22244          program {
22245             name:    "go_passive";
22246             signal:  "elm,state,unselected";
22247             source:  "elm";
22248             action:  STATE_SET "default" 0.0;
22249             target:  "bg";
22250             target:  "fg1";
22251             target:  "fg2";
22252             target:  "elm.text";
22253             transition: LINEAR 0.1;
22254          }
22255          program {
22256             name:    "go_disabled";
22257             signal:  "elm,state,disabled";
22258             source:  "elm";
22259             action:  STATE_SET "disabled" 0.0;
22260             target:  "disclip";
22261          }
22262          program {
22263             name:    "go_enabled";
22264             signal:  "elm,state,enabled";
22265             source:  "elm";
22266             action:  STATE_SET "default" 0.0;
22267             target:  "disclip";
22268          }
22269          program {
22270             name:    "expand";
22271             signal:  "mouse,up,1";
22272             source:  "arrow";
22273             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22274          }
22275          program {
22276             name:    "go_expanded";
22277             signal:  "elm,state,expanded";
22278             source:  "elm";
22279             action:  STATE_SET "active" 0.0;
22280             target:  "arrow";
22281          }
22282          program {
22283             name:    "go_contracted";
22284             signal:  "elm,state,contracted";
22285             source:  "elm";
22286             action:  STATE_SET "default" 0.0;
22287             target:  "arrow";
22288          }
22289       }
22290    }
22291
22292
22293 ///////////////////////////////////////////////////////////////////////////////
22294    group { name: "elm/check/base/default";
22295       images {
22296          image: "check_base.png" COMP;
22297          image: "check.png" COMP;
22298          image: "check2.png" COMP;
22299       }
22300       parts {
22301          part { name: "bg";
22302             mouse_events: 0;
22303             scale: 1;
22304             description { state: "default" 0.0;
22305                rel1.offset: 1 1;
22306                rel2.relative: 0.0 1.0;
22307                rel2.offset: 1 -2;
22308                align: 0.0 0.5;
22309                min: 16 16;
22310                max: 16 16;
22311                aspect: 1.0 1.0;
22312                aspect_preference: VERTICAL;
22313                image {
22314                   normal: "check_base.png";
22315                   border: 5 5 5 5;
22316                   middle: 0;
22317                }
22318                fill.smooth : 0;
22319             }
22320          }
22321          part { name: "check";
22322             mouse_events: 0;
22323             scale: 1;
22324             description { state: "default" 0.0;
22325                rel1 {
22326                   to: "bg";
22327                   offset: 1 1;
22328                }
22329                rel2 {
22330                   to: "bg";
22331                   offset: -2 -2;
22332                }
22333                visible: 0;
22334                color: 255 255 255 255;
22335                image.normal: "check.png";
22336             }
22337             description { state: "visible" 0.0;
22338                inherit: "default" 0.0;
22339                visible: 1;
22340             }
22341             description { state: "disabled" 0.0;
22342                inherit: "default" 0.0;
22343                visible: 0;
22344                color: 128 128 128 128;
22345             }
22346             description { state: "disabled_visible" 0.0;
22347                inherit: "default" 0.0;
22348                color: 128 128 128 128;
22349                visible: 1;
22350             }
22351          }
22352          part { name: "elm.swallow.content";
22353             type: SWALLOW;
22354             description { state: "default" 0.0;
22355                fixed: 1 0;
22356                visible: 0;
22357                align: 0.0 0.5;
22358           rel1.to_x: "bg";
22359                rel1.relative: 1.0 0.0;
22360                rel1.offset: 1 1;
22361           rel2.to_x: "bg";
22362                rel2.offset: 1 -2;
22363                rel2.relative: 1.0 1.0;
22364             }
22365             description { state: "visible" 0.0;
22366                inherit: "default" 0.0;
22367           fixed: 1 0;
22368                visible: 1;
22369                aspect: 1.0 1.0;
22370             }
22371             description { state: "disabled" 0.0;
22372                inherit: "default" 0.0;
22373                color: 128 128 128 128;
22374             }
22375             description { state: "disabled_visible" 0.0;
22376                inherit: "default" 0.0;
22377                color: 128 128 128 128;
22378           fixed: 1 0;
22379                visible: 1;
22380                aspect: 1.0 1.0;
22381             }
22382          }
22383          part { name: "elm.text";
22384             type: TEXT;
22385             mouse_events: 0;
22386             scale: 1;
22387             description { state: "default" 0.0;
22388                visible: 0;
22389                rel1.to_x: "elm.swallow.content";
22390                rel1.relative: 1.0 0.0;
22391                rel1.offset: 1 1;
22392                rel2.relative: 1.0 1.0;
22393                rel2.offset: -2 -2;
22394                color: 0 0 0 255;
22395                text {
22396                   font: "Sans,Edje-Vera";
22397                   size: 10;
22398                   min: 0 1;
22399                   align: -1.0 0.5;
22400                }
22401             }
22402             description { state: "visible" 0.0;
22403                inherit: "default" 0.0;
22404                visible: 1;
22405                text.min: 1 1;
22406             }
22407             description { state: "disabled" 0.0;
22408                inherit: "default" 0.0;
22409                color: 0 0 0 128;
22410                color3: 0 0 0 0;
22411             }
22412             description { state: "disabled_visible" 0.0;
22413                inherit: "default" 0.0;
22414                color: 0 0 0 128;
22415                color3: 0 0 0 0;
22416                visible: 1;
22417                text.min: 1 1;
22418             }
22419          }
22420          part { name: "events";
22421             type: RECT;
22422             ignore_flags: ON_HOLD;
22423             description { state: "default" 0.0;
22424                color: 0 0 0 0;
22425             }
22426          }
22427           part { name: "disabler";
22428             type: RECT;
22429             description { state: "default" 0.0;
22430                color: 0 0 0 0;
22431                visible: 0;
22432             }
22433             description { state: "disabled" 0.0;
22434                inherit: "default" 0.0;
22435                visible: 1;
22436             }
22437          }
22438       }
22439       programs {
22440          program { name: "click";
22441             signal: "mouse,up,1";
22442             source: "events";
22443             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22444          }
22445          program { name: "check_on";
22446             signal: "elm,state,check,on";
22447             source: "elm";
22448             action:  STATE_SET "visible" 0.0;
22449             target: "check";
22450          }
22451          program { name: "check_off";
22452             signal: "elm,state,check,off";
22453             source: "elm";
22454             action:  STATE_SET "default" 0.0;
22455             target: "check";
22456          }
22457          program { name: "text_show";
22458             signal: "elm,state,text,visible";
22459             source: "elm";
22460             action:  STATE_SET "visible" 0.0;
22461             target: "elm.text";
22462          }
22463          program { name: "text_hide";
22464             signal: "elm,state,text,hidden";
22465             source: "elm";
22466             action:  STATE_SET "default" 0.0;
22467             target: "elm.text";
22468          }
22469          program { name: "icon_show";
22470             signal: "elm,state,icon,visible";
22471             source: "elm";
22472             action:  STATE_SET "visible" 0.0;
22473             target: "elm.swallow.content";
22474          }
22475          program { name: "icon_hide";
22476             signal: "elm,state,icon,hidden";
22477             source: "elm";
22478             action:  STATE_SET "default" 0.0;
22479             target: "elm.swallow.content";
22480          }
22481          program { name: "disable";
22482             signal: "elm,state,disabled";
22483             source: "elm";
22484             action: STATE_SET "disabled" 0.0;
22485             target: "disabler";
22486             after: "disable_text";
22487          }
22488          program { name: "disable_text";
22489             script {
22490                new st[31];
22491                new Float:vl;
22492                get_state(PART:"elm.text", st, 30, vl);
22493                if (!strcmp(st, "visible"))
22494                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22495                else
22496                  set_state(PART:"elm.text", "disabled", 0.0);
22497
22498                get_state(PART:"elm.swallow.content", st, 30, vl);
22499                if (!strcmp(st, "visible"))
22500                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22501                else
22502                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22503
22504                get_state(PART:"check", st, 30, vl);
22505                if (!strcmp(st, "visible"))
22506                  set_state(PART:"check", "disabled_visible", 0.0);
22507                else
22508                  set_state(PART:"check", "disabled", 0.0);
22509             }
22510          }
22511          program { name: "enable";
22512             signal: "elm,state,enabled";
22513             source: "elm";
22514             action: STATE_SET "default" 0.0;
22515             target: "disabler";
22516             after: "enable_text";
22517          }
22518          program { name: "enable_text";
22519             script {
22520                new st[31];
22521                new Float:vl;
22522                get_state(PART:"elm.text", st, 30, vl);
22523                if (!strcmp(st, "disabled_visible"))
22524                  set_state(PART:"elm.text", "visible", 0.0);
22525                else
22526                  set_state(PART:"elm.text", "default", 0.0);
22527
22528                get_state(PART:"elm.swallow.content", st, 30, vl);
22529                if (!strcmp(st, "visible"))
22530                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22531                else
22532                  set_state(PART:"elm.swallow.content", "default", 0.0);
22533
22534                get_state(PART:"check", st, 30, vl);
22535                if (!strcmp(st, "visible"))
22536                  set_state(PART:"check", "visible", 0.0);
22537                else
22538                  set_state(PART:"check", "default", 0.0);
22539             }
22540          }
22541       }
22542    }
22543 ///////////////////////////////////////////////////////////////////////////////
22544    group { name: "elm/radio/base/default";
22545       images {
22546          image: "radio_base.png" COMP;
22547          image: "radio.png" COMP;
22548          image: "radio2.png" COMP;
22549       }
22550       parts {
22551          part { name: "bg";
22552             mouse_events: 0;
22553             scale: 1;
22554             description { state: "default" 0.0;
22555                rel1.offset: 1 1;
22556                rel2.relative: 0.0 1.0;
22557                rel2.offset: 1 -2;
22558                align: 0.0 0.5;
22559                min: 16 16;
22560                max: 16 16;
22561                aspect: 1.0 1.0;
22562                aspect_preference: VERTICAL;
22563                image.normal: "radio_base.png";
22564             }
22565          }
22566          part { name: "radio";
22567             mouse_events: 0;
22568             scale: 1;
22569             description { state: "default" 0.0;
22570                rel1.to: "bg";
22571                rel2.to: "bg";
22572                visible: 0;
22573                image.normal: "radio.png";
22574             }
22575             description { state: "visible" 0.0;
22576                inherit: "default" 0.0;
22577                visible: 1;
22578             }
22579          }
22580          part { name: "elm.swallow.content";
22581             type: SWALLOW;
22582             description { state: "default" 0.0;
22583                fixed: 1 0;
22584                visible: 0;
22585                align: 0.0 0.5;
22586                color: 0 0 0 0;
22587                rel1.to_x: "bg";
22588                rel1.relative: 1.0 0.0;
22589                rel1.offset: 1 1;
22590                rel2.to_x: "bg";
22591                rel2.relative: 1.0 1.0;
22592                rel2.offset: 2 -2;
22593             }
22594             description { state: "visible" 0.0;
22595                inherit: "default" 0.0;
22596                visible: 1;
22597                color: 255 255 255 255;
22598                aspect: 1.0 1.0;
22599             }
22600             description { state: "disabled" 0.0;
22601                inherit: "default" 0.0;
22602                color: 128 128 128 128;
22603             }
22604             description { state: "disabled_visible" 0.0;
22605                inherit: "default" 0.0;
22606                color: 128 128 128 128;
22607                visible: 1;
22608                aspect: 1.0 1.0;
22609             }
22610          }
22611          part { name: "elm.text";
22612             type: TEXT;
22613             mouse_events: 0;
22614             scale: 1;
22615             description { state: "default" 0.0;
22616                visible: 0;
22617                rel1.to_x: "elm.swallow.content";
22618                rel1.relative: 1.0 0.0;
22619                rel1.offset: 1 1;
22620                rel2.relative: 1.0 1.0;
22621                rel2.offset: -2 -2;
22622                color: 0 0 0 255;
22623                text {
22624                   font: "Sans,Edje-Vera";
22625                   size: 10;
22626                   min: 0 0;
22627                   align: -1.0 0.5;
22628                }
22629             }
22630             description { state: "visible" 0.0;
22631                inherit: "default" 0.0;
22632                visible: 1;
22633                text.min: 1 1;
22634             }
22635             description { state: "disabled" 0.0;
22636                inherit: "default" 0.0;
22637                color: 0 0 0 128;
22638                color3: 0 0 0 0;
22639             }
22640             description { state: "disabled_visible" 0.0;
22641                inherit: "default" 0.0;
22642                color: 0 0 0 128;
22643                color3: 0 0 0 0;
22644                visible: 1;
22645                text.min: 1 1;
22646             }
22647          }
22648          part { name: "events";
22649             type: RECT;
22650             ignore_flags: ON_HOLD;
22651             description { state: "default" 0.0;
22652                color: 0 0 0 0;
22653             }
22654          }
22655           part { name: "disabler";
22656             type: RECT;
22657             description { state: "default" 0.0;
22658                color: 0 0 0 0;
22659                visible: 0;
22660             }
22661             description { state: "disabled" 0.0;
22662                inherit: "default" 0.0;
22663                visible: 1;
22664             }
22665          }
22666       }
22667       programs {
22668          program { name: "click";
22669             signal: "mouse,up,1";
22670             source: "events";
22671             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22672          }
22673          program { name: "radio_on";
22674             signal: "elm,state,radio,on";
22675             source: "elm";
22676             action:  STATE_SET "visible" 0.0;
22677             target: "radio";
22678          }
22679          program { name: "radio_off";
22680             signal: "elm,state,radio,off";
22681             source: "elm";
22682             action:  STATE_SET "default" 0.0;
22683             target: "radio";
22684          }
22685          program { name: "text_show";
22686             signal: "elm,state,text,visible";
22687             source: "elm";
22688             action:  STATE_SET "visible" 0.0;
22689             target: "elm.text";
22690          }
22691          program { name: "text_hide";
22692             signal: "elm,state,text,hidden";
22693             source: "elm";
22694             action:  STATE_SET "default" 0.0;
22695             target: "elm.text";
22696          }
22697          program { name: "icon_show";
22698             signal: "elm,state,icon,visible";
22699             source: "elm";
22700             action:  STATE_SET "visible" 0.0;
22701             target: "elm.swallow.content";
22702          }
22703          program { name: "icon_hide";
22704             signal: "elm,state,icon,hidden";
22705             source: "elm";
22706             action:  STATE_SET "default" 0.0;
22707             target: "elm.swallow.content";
22708          }
22709          program { name: "disable";
22710             signal: "elm,state,disabled";
22711             source: "elm";
22712             action: STATE_SET "disabled" 0.0;
22713             target: "disabler";
22714             after: "disable_text";
22715          }
22716          program { name: "disable_text";
22717             script {
22718                new st[31];
22719                new Float:vl;
22720                get_state(PART:"elm.text", st, 30, vl);
22721                if (!strcmp(st, "visible"))
22722                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22723                else
22724                  set_state(PART:"elm.text", "disabled", 0.0);
22725
22726                get_state(PART:"elm.swallow.content", st, 30, vl);
22727                if (!strcmp(st, "visible"))
22728                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22729                else
22730                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22731             }
22732          }
22733          program { name: "enable";
22734             signal: "elm,state,enabled";
22735             source: "elm";
22736             action: STATE_SET "default" 0.0;
22737             target: "disabler";
22738             after: "enable_text";
22739          }
22740          program { name: "enable_text";
22741             script {
22742                new st[31];
22743                new Float:vl;
22744                get_state(PART:"elm.text", st, 30, vl);
22745                if (!strcmp(st, "disabled_visible"))
22746                  set_state(PART:"elm.text", "visible", 0.0);
22747                else
22748                  set_state(PART:"elm.text", "default", 0.0);
22749
22750                get_state(PART:"elm.swallow.content", st, 30, vl);
22751                if (!strcmp(st, "visible"))
22752                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22753                else
22754                  set_state(PART:"elm.swallow.content", "default", 0.0);
22755             }
22756          }
22757       }
22758    }
22759    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22760       data.item: "stacking" "below";
22761       data.item: "selectraise" "on";
22762       data.item: "labels" "elm.text elm.text.sub";
22763       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22764       data.item: "treesize" "20";
22765 //      data.item: "states" "";
22766       images {
22767          image: "bt_sm_base1.png" COMP;
22768          image: "bt_sm_shine.png" COMP;
22769          image: "bt_sm_hilight.png" COMP;
22770          image: "ilist_2.png" COMP;
22771          image: "icon_arrow_right.png" COMP;
22772          image: "icon_arrow_down.png" COMP;
22773       }
22774       parts {
22775          part {
22776             name:           "event";
22777             type:           RECT;
22778             repeat_events: 1;
22779             description {
22780                state: "default" 0.0;
22781                color: 0 0 0 0;
22782             }
22783          }
22784          part {
22785             name: "base";
22786             mouse_events: 0;
22787             description {
22788                state: "default" 0.0;
22789                image {
22790                   normal: "ilist_2.png";
22791                   border: 2 2 2 2;
22792                }
22793                fill.smooth: 0;
22794             }
22795          }
22796          part { name: "bg";
22797             clip_to: "disclip";
22798             mouse_events: 0;
22799             description { state: "default" 0.0;
22800                visible: 0;
22801                color: 255 255 255 0;
22802                rel1 {
22803                   relative: 0.0 0.0;
22804                   offset: -5 -5;
22805                }
22806                rel2 {
22807                   relative: 1.0 1.0;
22808                   offset: 4 4;
22809                }
22810                image {
22811                   normal: "bt_sm_base1.png";
22812                   border: 6 6 6 6;
22813                }
22814                image.middle: SOLID;
22815             }
22816             description { state: "selected" 0.0;
22817                inherit: "default" 0.0;
22818                visible: 1;
22819                color: 255 255 255 255;
22820                rel1 {
22821                   relative: 0.0 0.0;
22822                   offset: -2 -2;
22823                }
22824                rel2 {
22825                   relative: 1.0 1.0;
22826                   offset: 1 1;
22827                }
22828             }
22829          }
22830          part { name: "elm.swallow.pad";
22831             type: SWALLOW;
22832             description { state: "default" 0.0;
22833                fixed: 1 0;
22834                align: 0.0 0.5;
22835                rel1 {
22836                   relative: 0.0  0.0;
22837                   offset:   4    4;
22838                }
22839                rel2 {
22840                   relative: 0.0  1.0;
22841                   offset:   4   -5;
22842                }
22843             }
22844          }
22845          part { name: "arrow";
22846             clip_to: "disclip";
22847             ignore_flags: ON_HOLD;
22848             description { state: "default" 0.0;
22849                fixed: 1 0;
22850                align: 0.0 0.5;
22851                aspect: 1.0 1.0;
22852                rel1 {
22853                   to_x: "elm.swallow.pad";
22854                   relative: 1.0  0.0;
22855                   offset:   -1    4;
22856                }
22857                rel2 {
22858                   to_x: "elm.swallow.pad";
22859                   relative: 1.0  1.0;
22860                   offset:   -1   -5;
22861                }
22862                image.normal: "icon_arrow_right.png";
22863             }
22864             description { state: "active" 0.0;
22865                inherit: "default" 0.0;
22866                image.normal: "icon_arrow_down.png";
22867             }
22868          }
22869          part { name: "elm.swallow.icon";
22870             clip_to: "disclip";
22871             type: SWALLOW;
22872             description { state: "default" 0.0;
22873                fixed: 1 0;
22874                align: 0.0 0.5;
22875                rel1 {
22876                   to_x: "arrow";
22877                   relative: 1.0  0.0;
22878                   offset:   4    4;
22879                }
22880                rel2 {
22881                   to_x: "arrow";
22882                   relative: 1.0  1.0;
22883                   offset:   4   -5;
22884                }
22885             }
22886          }
22887          part { name: "elm.swallow.end";
22888             clip_to: "disclip";
22889             type: SWALLOW;
22890             description { state: "default" 0.0;
22891                fixed: 1 0;
22892                align: 1.0 0.5;
22893                aspect: 1.0 1.0;
22894                aspect_preference: VERTICAL;
22895                rel1 {
22896                   relative: 1.0  0.0;
22897                   offset:   -5    4;
22898                }
22899                rel2 {
22900                   relative: 1.0  1.0;
22901                   offset:   -5   -5;
22902                }
22903             }
22904          }
22905          part { name: "elm.text";
22906             clip_to: "disclip";
22907             type:           TEXT;
22908             effect:         SOFT_SHADOW;
22909             mouse_events:   0;
22910             scale: 1;
22911             description {
22912                state: "default" 0.0;
22913 //               min: 16 16;
22914                rel1 {
22915                   to_x:     "elm.swallow.icon";
22916                   relative: 1.0  0.0;
22917                   offset:   0 4;
22918                }
22919                rel2 {
22920                   to_x:     "elm.swallow.end";
22921                   relative: 0.0  0.5;
22922                   offset:   -1 -5;
22923                }
22924                color: 0 0 0 255;
22925                color3: 0 0 0 0;
22926                text {
22927                   font: "Sans";
22928                   size: 10;
22929 //                  min: 1 1;
22930                   min: 0 1;
22931                   align: 0.0 0.5;
22932                   text_class: "list_item";
22933                }
22934             }
22935             description { state: "selected" 0.0;
22936                inherit: "default" 0.0;
22937                color: 224 224 224 255;
22938                color3: 0 0 0 64;
22939             }
22940          }
22941          part { name: "elm.text.sub";
22942             clip_to: "disclip";
22943             type:           TEXT;
22944             mouse_events:   0;
22945             scale: 1;
22946             description {
22947                state: "default" 0.0;
22948 //               min: 16 16;
22949                rel1 {
22950                   to_x:     "elm.swallow.icon";
22951                   relative: 1.0  0.5;
22952                   offset:   0 4;
22953                }
22954                rel2 {
22955                   to_x:     "elm.swallow.end";
22956                   relative: 0.0  1.0;
22957                   offset:   -1 -5;
22958                }
22959                color: 0 0 0 128;
22960                color3: 0 0 0 0;
22961                text {
22962                   font: "Sans";
22963                   size: 8;
22964 //                  min: 1 1;
22965                   min: 0 1;
22966                   align: 0.0 0.5;
22967                   text_class: "list_item";
22968                }
22969             }
22970             description { state: "selected" 0.0;
22971                inherit: "default" 0.0;
22972                color: 128 128 128 255;
22973                color3: 0 0 0 32;
22974             }
22975          }
22976          part { name: "fg1";
22977             clip_to: "disclip";
22978             mouse_events: 0;
22979             description { state: "default" 0.0;
22980                visible: 0;
22981                color: 255 255 255 0;
22982                rel1.to: "bg";
22983                rel2.relative: 1.0 0.5;
22984                rel2.to: "bg";
22985                image {
22986                   normal: "bt_sm_hilight.png";
22987                   border: 6 6 6 0;
22988                }
22989             }
22990             description { state: "selected" 0.0;
22991                inherit: "default" 0.0;
22992                visible: 1;
22993                color: 255 255 255 255;
22994             }
22995          }
22996          part { name: "fg2";
22997             clip_to: "disclip";
22998             mouse_events: 0;
22999             description { state: "default" 0.0;
23000                visible: 0;
23001                color: 255 255 255 0;
23002                rel1.to: "bg";
23003                rel2.to: "bg";
23004                image {
23005                   normal: "bt_sm_shine.png";
23006                   border: 6 6 6 0;
23007                }
23008             }
23009             description { state: "selected" 0.0;
23010                inherit: "default" 0.0;
23011                visible: 1;
23012                color: 255 255 255 255;
23013             }
23014          }
23015          part { name: "disclip";
23016             type: RECT;
23017             description { state: "default" 0.0;
23018                rel1.to: "bg";
23019                rel2.to: "bg";
23020             }
23021             description { state: "disabled" 0.0;
23022                inherit: "default" 0.0;
23023                color: 255 255 255 64;
23024             }
23025          }
23026       }
23027       programs {
23028          // signal: elm,state,%s,active
23029          //   a "check" item named %s went active
23030          // signal: elm,state,%s,passive
23031          //   a "check" item named %s went passive
23032          // default is passive
23033          program {
23034             name:    "go_active";
23035             signal:  "elm,state,selected";
23036             source:  "elm";
23037             action:  STATE_SET "selected" 0.0;
23038             target:  "bg";
23039             target:  "fg1";
23040             target:  "fg2";
23041             target:  "elm.text";
23042             target:  "elm.text.sub";
23043          }
23044          program {
23045             name:    "go_passive";
23046             signal:  "elm,state,unselected";
23047             source:  "elm";
23048             action:  STATE_SET "default" 0.0;
23049             target:  "bg";
23050             target:  "fg1";
23051             target:  "fg2";
23052             target:  "elm.text";
23053             target:  "elm.text.sub";
23054             transition: LINEAR 0.1;
23055          }
23056          program {
23057             name:    "go_disabled";
23058             signal:  "elm,state,disabled";
23059             source:  "elm";
23060             action:  STATE_SET "disabled" 0.0;
23061             target:  "disclip";
23062          }
23063          program {
23064             name:    "go_enabled";
23065             signal:  "elm,state,enabled";
23066             source:  "elm";
23067             action:  STATE_SET "default" 0.0;
23068             target:  "disclip";
23069          }
23070          program {
23071             name:    "expand";
23072             signal:  "mouse,up,1";
23073             source:  "arrow";
23074             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23075          }
23076          program {
23077             name:    "go_expanded";
23078             signal:  "elm,state,expanded";
23079             source:  "elm";
23080             action:  STATE_SET "active" 0.0;
23081             target:  "arrow";
23082          }
23083          program {
23084             name:    "go_contracted";
23085             signal:  "elm,state,contracted";
23086             source:  "elm";
23087             action:  STATE_SET "default" 0.0;
23088             target:  "arrow";
23089          }
23090       }
23091    }
23092
23093    group { name: "elm/genlist/item_compress/media/default";
23094       data.item: "stacking" "above";
23095       data.item: "selectraise" "on";
23096       data.item: "labels" "elm.text.title elm.text.album-artist";
23097       data.item: "treesize" "20";
23098       images {
23099          image: "bt_sm_base1.png" COMP;
23100          image: "bt_sm_shine.png" COMP;
23101          image: "bt_sm_hilight.png" COMP;
23102          image: "ilist_1.png" COMP;
23103          image: "ilist_item_shadow.png" COMP;
23104       }
23105       parts {
23106          part {
23107             name:           "event";
23108             type:           RECT;
23109             repeat_events: 1;
23110             description {
23111                state: "default" 0.0;
23112                color: 0 0 0 0;
23113             }
23114          }
23115          part {
23116             name: "base_sh";
23117             mouse_events: 0;
23118             description {
23119                state: "default" 0.0;
23120                align: 0.0 0.0;
23121                min: 0 10;
23122                fixed: 1 1;
23123                rel1 {
23124                   to: "base";
23125                   relative: 0.0 1.0;
23126                   offset: 0 0;
23127                }
23128                rel2 {
23129                   to: "base";
23130                   relative: 1.0 1.0;
23131                   offset: -1 0;
23132                }
23133                image {
23134                   normal: "ilist_item_shadow.png";
23135                }
23136                fill.smooth: 0;
23137             }
23138          }
23139          part {
23140             name: "base";
23141             mouse_events: 0;
23142             description {
23143                state: "default" 0.0;
23144                image {
23145                   normal: "ilist_1.png";
23146                   border: 2 2 2 2;
23147                }
23148                fill.smooth: 0;
23149             }
23150          }
23151          part { name: "bg";
23152             clip_to: "disclip";
23153             mouse_events: 0;
23154             description { state: "default" 0.0;
23155                visible: 0;
23156                color: 255 255 255 0;
23157                rel1 {
23158                   relative: 0.0 0.0;
23159                   offset: -5 -5;
23160                }
23161                rel2 {
23162                   relative: 1.0 1.0;
23163                   offset: 4 4;
23164                }
23165                image {
23166                   normal: "bt_sm_base1.png";
23167                   border: 6 6 6 6;
23168                }
23169                image.middle: SOLID;
23170             }
23171             description { state: "selected" 0.0;
23172                inherit: "default" 0.0;
23173                visible: 1;
23174                color: 255 255 255 255;
23175                rel1 {
23176                   relative: 0.0 0.0;
23177                   offset: -2 -2;
23178                }
23179                rel2 {
23180                   relative: 1.0 1.0;
23181                   offset: 1 1;
23182                }
23183             }
23184          }
23185          part { name: "elm.swallow.pad";
23186             type: SWALLOW;
23187             description { state: "default" 0.0;
23188                fixed: 1 0;
23189                align: 0.0 0.5;
23190                rel1 {
23191                   relative: 0.0  0.0;
23192                   offset:   4    4;
23193                }
23194                rel2 {
23195                   relative: 0.0  1.0;
23196                   offset:   4   -5;
23197                }
23198             }
23199          }
23200          part { name: "elm.text.title";
23201             clip_to: "disclip";
23202             type:           TEXT;
23203             effect:         SOFT_SHADOW;
23204             mouse_events:   0;
23205             scale: 1;
23206             description {
23207                state: "default" 0.0;
23208                rel1 {
23209                   relative: 0.0  0.0;
23210                   offset:   4 4;
23211                }
23212                rel2 {
23213                   relative: 1.0  0.5;
23214                   offset:   -1 -5;
23215                }
23216                color: 0 0 0 255;
23217                color3: 0 0 0 0;
23218                text {
23219                   font: "Sans";
23220                   size: 10;
23221                   min: 0 1;
23222                   align: 0.0 0.5;
23223                }
23224             }
23225             description { state: "selected" 0.0;
23226                inherit: "default" 0.0;
23227                color: 224 224 224 255;
23228                color3: 0 0 0 64;
23229             }
23230          }
23231          part { name: "elm.text.album-artist";
23232             clip_to: "disclip";
23233             type:           TEXT;
23234             mouse_events:   0;
23235             scale: 1;
23236             description {
23237                state: "default" 0.0;
23238                rel1 {
23239                   relative: 0.0  0.5;
23240                   offset:   4 4;
23241                }
23242                rel2 {
23243                   relative: 1.0  1.0;
23244                   offset:   -1 -5;
23245                }
23246                color: 0 0 0 128;
23247                color3: 0 0 0 0;
23248                text {
23249                   font: "Sans";
23250                   size: 8;
23251                   min: 0 1;
23252                   align: 0.0 0.5;
23253                }
23254             }
23255             description { state: "selected" 0.0;
23256                inherit: "default" 0.0;
23257                color: 128 128 128 255;
23258                color3: 0 0 0 32;
23259             }
23260          }
23261          part { name: "fg1";
23262             clip_to: "disclip";
23263             mouse_events: 0;
23264             description { state: "default" 0.0;
23265                visible: 0;
23266                color: 255 255 255 0;
23267                rel1.to: "bg";
23268                rel2.relative: 1.0 0.5;
23269                rel2.to: "bg";
23270                image {
23271                   normal: "bt_sm_hilight.png";
23272                   border: 6 6 6 0;
23273                }
23274             }
23275             description { state: "selected" 0.0;
23276                inherit: "default" 0.0;
23277                visible: 1;
23278                color: 255 255 255 255;
23279             }
23280          }
23281          part { name: "fg2";
23282             clip_to: "disclip";
23283             mouse_events: 0;
23284             description { state: "default" 0.0;
23285                visible: 0;
23286                color: 255 255 255 0;
23287                rel1.to: "bg";
23288                rel2.to: "bg";
23289                image {
23290                   normal: "bt_sm_shine.png";
23291                   border: 6 6 6 0;
23292                }
23293             }
23294             description { state: "selected" 0.0;
23295                inherit: "default" 0.0;
23296                visible: 1;
23297                color: 255 255 255 255;
23298             }
23299          }
23300          part { name: "disclip";
23301             type: RECT;
23302             description { state: "default" 0.0;
23303                rel1.to: "bg";
23304                rel2.to: "bg";
23305             }
23306             description { state: "disabled" 0.0;
23307                inherit: "default" 0.0;
23308                color: 255 255 255 64;
23309             }
23310          }
23311       }
23312       programs {
23313          // signal: elm,state,%s,active
23314          //   a "check" item named %s went active
23315          // signal: elm,state,%s,passive
23316          //   a "check" item named %s went passive
23317          // default is passive
23318          program {
23319             name:    "go_active";
23320             signal:  "elm,state,selected";
23321             source:  "elm";
23322             action:  STATE_SET "selected" 0.0;
23323             target:  "bg";
23324             target:  "fg1";
23325             target:  "fg2";
23326             target:  "elm.text.title";
23327             target:  "elm.text.album-artist";
23328          }
23329          program {
23330             name:    "go_passive";
23331             signal:  "elm,state,unselected";
23332             source:  "elm";
23333             action:  STATE_SET "default" 0.0;
23334             target:  "bg";
23335             target:  "fg1";
23336             target:  "fg2";
23337             target:  "elm.text.title";
23338             target:  "elm.text.album-artist";
23339             transition: LINEAR 0.1;
23340          }
23341          program {
23342             name:    "go_disabled";
23343             signal:  "elm,state,disabled";
23344             source:  "elm";
23345             action:  STATE_SET "disabled" 0.0;
23346             target:  "disclip";
23347          }
23348          program {
23349             name:    "go_enabled";
23350             signal:  "elm,state,enabled";
23351             source:  "elm";
23352             action:  STATE_SET "default" 0.0;
23353             target:  "disclip";
23354          }
23355       }
23356    }
23357    group { name: "elm/genlist/item_compress_odd/media/default";
23358       data.item: "stacking" "below";
23359       data.item: "selectraise" "on";
23360       data.item: "labels" "elm.text.title elm.text.album-artist";
23361       data.item: "treesize" "20";
23362       images {
23363          image: "bt_sm_base1.png" COMP;
23364          image: "bt_sm_shine.png" COMP;
23365          image: "bt_sm_hilight.png" COMP;
23366          image: "ilist_2.png" COMP;
23367       }
23368       parts {
23369          part { name: "event";
23370             type: RECT;
23371             repeat_events: 1;
23372             description {
23373                state: "default" 0.0;
23374                color: 0 0 0 0;
23375             }
23376          }
23377          part {
23378             name: "base";
23379             mouse_events: 0;
23380             description {
23381                state: "default" 0.0;
23382                image {
23383                   normal: "ilist_2.png";
23384                   border: 2 2 2 2;
23385                }
23386                fill.smooth: 0;
23387             }
23388          }
23389          part { name: "bg";
23390             clip_to: "disclip";
23391             mouse_events: 0;
23392             description { state: "default" 0.0;
23393                visible: 0;
23394                color: 255 255 255 0;
23395                rel1 {
23396                   relative: 0.0 0.0;
23397                   offset: -5 -5;
23398                }
23399                rel2 {
23400                   relative: 1.0 1.0;
23401                   offset: 4 4;
23402                }
23403                image {
23404                   normal: "bt_sm_base1.png";
23405                   border: 6 6 6 6;
23406                }
23407                image.middle: SOLID;
23408             }
23409             description { state: "selected" 0.0;
23410                inherit: "default" 0.0;
23411                visible: 1;
23412                color: 255 255 255 255;
23413                rel1 {
23414                   relative: 0.0 0.0;
23415                   offset: -2 -2;
23416                }
23417                rel2 {
23418                   relative: 1.0 1.0;
23419                   offset: 1 1;
23420                }
23421             }
23422          }
23423          part { name: "elm.swallow.pad";
23424             type: SWALLOW;
23425             description { state: "default" 0.0;
23426                fixed: 1 0;
23427                align: 0.0 0.5;
23428                rel1 {
23429                   relative: 0.0  0.0;
23430                   offset:   4    4;
23431                }
23432                rel2 {
23433                   relative: 0.0  1.0;
23434                   offset:   4   -5;
23435                }
23436             }
23437          }
23438          part { name: "elm.text.title";
23439             clip_to: "disclip";
23440             type:           TEXT;
23441             effect:         SOFT_SHADOW;
23442             mouse_events:   0;
23443             scale: 1;
23444             description {
23445                state: "default" 0.0;
23446                rel1 {
23447                   relative: 0.0  0.0;
23448                   offset:   4 4;
23449                }
23450                rel2 {
23451                   relative: 1.0  0.5;
23452                   offset:   -1 -5;
23453                }
23454                color: 0 0 0 255;
23455                color3: 0 0 0 0;
23456                text {
23457                   font: "Sans";
23458                   size: 10;
23459                   min: 0 1;
23460                   align: 0.0 0.5;
23461                }
23462             }
23463             description { state: "selected" 0.0;
23464                inherit: "default" 0.0;
23465                color: 224 224 224 255;
23466                color3: 0 0 0 64;
23467             }
23468          }
23469          part { name: "elm.text.album-artist";
23470             clip_to: "disclip";
23471             type:           TEXT;
23472             mouse_events:   0;
23473             scale: 1;
23474             description {
23475                state: "default" 0.0;
23476                rel1 {
23477                   relative: 0.0  0.5;
23478                   offset:   4 4;
23479                }
23480                rel2 {
23481                   relative: 1.0  1.0;
23482                   offset:   -1 -5;
23483                }
23484                color: 0 0 0 128;
23485                color3: 0 0 0 0;
23486                text {
23487                   font: "Sans";
23488                   size: 8;
23489                   min: 0 1;
23490                   align: 0.0 0.5;
23491                }
23492             }
23493             description { state: "selected" 0.0;
23494                inherit: "default" 0.0;
23495                color: 128 128 128 255;
23496                color3: 0 0 0 32;
23497             }
23498          }
23499          part { name: "fg1";
23500             clip_to: "disclip";
23501             mouse_events: 0;
23502             description { state: "default" 0.0;
23503                visible: 0;
23504                color: 255 255 255 0;
23505                rel1.to: "bg";
23506                rel2.relative: 1.0 0.5;
23507                rel2.to: "bg";
23508                image {
23509                   normal: "bt_sm_hilight.png";
23510                   border: 6 6 6 0;
23511                }
23512             }
23513             description { state: "selected" 0.0;
23514                inherit: "default" 0.0;
23515                visible: 1;
23516                color: 255 255 255 255;
23517             }
23518          }
23519          part { name: "fg2";
23520             clip_to: "disclip";
23521             mouse_events: 0;
23522             description { state: "default" 0.0;
23523                visible: 0;
23524                color: 255 255 255 0;
23525                rel1.to: "bg";
23526                rel2.to: "bg";
23527                image {
23528                   normal: "bt_sm_shine.png";
23529                   border: 6 6 6 0;
23530                }
23531             }
23532             description { state: "selected" 0.0;
23533                inherit: "default" 0.0;
23534                visible: 1;
23535                color: 255 255 255 255;
23536             }
23537          }
23538          part { name: "disclip";
23539             type: RECT;
23540             description { state: "default" 0.0;
23541                rel1.to: "bg";
23542                rel2.to: "bg";
23543             }
23544             description { state: "disabled" 0.0;
23545                inherit: "default" 0.0;
23546                color: 255 255 255 64;
23547             }
23548          }
23549       }
23550       programs {
23551          // signal: elm,state,%s,active
23552          //   a "check" item named %s went active
23553          // signal: elm,state,%s,passive
23554          //   a "check" item named %s went passive
23555          // default is passive
23556          program {
23557             name:    "go_active";
23558             signal:  "elm,state,selected";
23559             source:  "elm";
23560             action:  STATE_SET "selected" 0.0;
23561             target:  "bg";
23562             target:  "fg1";
23563             target:  "fg2";
23564             target:  "elm.text.title";
23565             target:  "elm.text.album-artist";
23566          }
23567          program {
23568             name:    "go_passive";
23569             signal:  "elm,state,unselected";
23570             source:  "elm";
23571             action:  STATE_SET "default" 0.0;
23572             target:  "bg";
23573             target:  "fg1";
23574             target:  "fg2";
23575             target:  "elm.text.title";
23576             target:  "elm.text.album-artist";
23577             transition: LINEAR 0.1;
23578          }
23579          program {
23580             name:    "go_disabled";
23581             signal:  "elm,state,disabled";
23582             source:  "elm";
23583             action:  STATE_SET "disabled" 0.0;
23584             target:  "disclip";
23585          }
23586          program {
23587             name:    "go_enabled";
23588             signal:  "elm,state,enabled";
23589             source:  "elm";
23590             action:  STATE_SET "default" 0.0;
23591             target:  "disclip";
23592          }
23593       }
23594    }
23595
23596    group { name: "elm/genlist/item_compress/media-album/default";
23597       data.item: "stacking" "above";
23598       data.item: "selectraise" "on";
23599       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23600       data.item: "states" "elm.state.trackno";
23601       data.item: "treesize" "20";
23602       images {
23603          image: "bt_sm_base1.png" COMP;
23604          image: "bt_sm_shine.png" COMP;
23605          image: "bt_sm_hilight.png" COMP;
23606          image: "ilist_1.png" COMP;
23607          image: "ilist_item_shadow.png" COMP;
23608       }
23609       script {
23610          public dot_visible;
23611       }
23612       parts {
23613          part {
23614             name: "event";
23615             type: RECT;
23616             repeat_events: 1;
23617             description {
23618                state: "default" 0.0;
23619                color: 0 0 0 0;
23620             }
23621          }
23622          part {
23623             name: "base_sh";
23624             mouse_events: 0;
23625             description {
23626                state: "default" 0.0;
23627                align: 0.0 0.0;
23628                min: 0 10;
23629                fixed: 1 1;
23630                rel1 {
23631                   to: "base";
23632                   relative: 0.0 1.0;
23633                   offset: 0 0;
23634                }
23635                rel2 {
23636                   to: "base";
23637                   relative: 1.0 1.0;
23638                   offset: -1 0;
23639                }
23640                image {
23641                   normal: "ilist_item_shadow.png";
23642                }
23643                fill.smooth: 0;
23644             }
23645          }
23646          part {
23647             name: "base";
23648             mouse_events: 0;
23649             description {
23650                state: "default" 0.0;
23651                image {
23652                   normal: "ilist_1.png";
23653                   border: 2 2 2 2;
23654                }
23655                fill.smooth: 0;
23656             }
23657          }
23658          part { name: "bg";
23659             clip_to: "disclip";
23660             mouse_events: 0;
23661             description { state: "default" 0.0;
23662                visible: 0;
23663                color: 255 255 255 0;
23664                rel1 {
23665                   relative: 0.0 0.0;
23666                   offset: -5 -5;
23667                }
23668                rel2 {
23669                   relative: 1.0 1.0;
23670                   offset: 4 4;
23671                }
23672                image {
23673                   normal: "bt_sm_base1.png";
23674                   border: 6 6 6 6;
23675                }
23676                image.middle: SOLID;
23677             }
23678             description { state: "selected" 0.0;
23679                inherit: "default" 0.0;
23680                visible: 1;
23681                color: 255 255 255 255;
23682                rel1 {
23683                   relative: 0.0 0.0;
23684                   offset: -2 -2;
23685                }
23686                rel2 {
23687                   relative: 1.0 1.0;
23688                   offset: 1 1;
23689                }
23690             }
23691          }
23692          part { name: "elm.swallow.pad";
23693             type: SWALLOW;
23694             description { state: "default" 0.0;
23695                fixed: 1 0;
23696                align: 0.0 0.5;
23697                rel1 {
23698                   relative: 0.0  0.0;
23699                   offset:   4    4;
23700                }
23701                rel2 {
23702                   relative: 0.0  1.0;
23703                   offset:   4   -5;
23704                }
23705             }
23706          }
23707          part {
23708             name: "elm.text.trackno";
23709             type: TEXT;
23710             scale: 1;
23711             mouse_events: 0;
23712             description {
23713                state: "default" 0.0;
23714                color: 255 255 255 255;
23715                align: 0.0 0.0;
23716                fixed: 1 0;
23717                rel1 {
23718                   to_y: "elm.text.title";
23719                   relative: 0.0 0.0;
23720                   offset: 5 0;
23721                }
23722                rel2 {
23723                   to_y: "elm.text.title";
23724                   relative: 0.0 1.0;
23725                   offset: 20 0;
23726                }
23727                color: 0 0 0 255;
23728                color3: 0 0 0 0;
23729                text {
23730                   font: "Sans";
23731                   size: 10;
23732                   min: 1 1;
23733                   align: 1.0 0.5;
23734                }
23735             }
23736             description { state: "selected" 0.0;
23737                inherit: "default" 0.0;
23738                color: 224 224 224 255;
23739                color3: 0 0 0 64;
23740             }
23741          }
23742          part {
23743             name: "dot";
23744             type: TEXT;
23745             scale: 1;
23746             mouse_events: 0;
23747             description {
23748                state: "default" 0.0;
23749                color: 255 255 255 255;
23750                visible: 0;
23751                fixed: 1 1;
23752                align: 0.0 0.0;
23753                rel1 {
23754                   to_x: "elm.text.trackno";
23755                   to_y: "elm.text.title";
23756                   relative: 1.0 0.0;
23757                   offset: 1 0;
23758                }
23759                rel2 {
23760                   to_x: "elm.text.trackno";
23761                   to_y: "elm.text.title";
23762                   relative: 1.0 1.0;
23763                   offset: 1 0;
23764
23765                }
23766                color: 0 0 0 255;
23767                color3: 0 0 0 0;
23768                text {
23769                   font: "Sans";
23770                   size: 10;
23771                   min: 1 1;
23772                   align: 0.0 0.5;
23773                   text: ".";
23774                }
23775             }
23776             description {
23777                state: "visible" 0.0;
23778                inherit: "default" 0.0;
23779                visible: 1;
23780             }
23781             description { state: "selected" 0.0;
23782                inherit: "default" 0.0;
23783                color: 224 224 224 255;
23784                color3: 0 0 0 64;
23785                visible: 1;
23786             }
23787          }
23788          programs {
23789             program {
23790                signal: "elm,state,elm.state.trackno,active";
23791                source: "elm";
23792                script {
23793                   set_state(PART:"dot", "visible", 0.0);
23794                   set_int(dot_visible, 1);
23795                }
23796             }
23797          }
23798          part { name: "elm.text.title";
23799             clip_to: "disclip";
23800             type:           TEXT;
23801             effect:         SOFT_SHADOW;
23802             mouse_events:   0;
23803             scale: 1;
23804             description {
23805                state: "default" 0.0;
23806                rel1 {
23807                   to_x: "dot";
23808                   relative: 0.0  0.0;
23809                   offset:   4 4;
23810                }
23811                rel2 {
23812                   relative: 1.0  0.5;
23813                   offset:   -1 -5;
23814                }
23815                color: 0 0 0 255;
23816                color3: 0 0 0 0;
23817                text {
23818                   font: "Sans";
23819                   size: 10;
23820                   min: 0 1;
23821                   align: 0.0 0.5;
23822                }
23823             }
23824             description { state: "selected" 0.0;
23825                inherit: "default" 0.0;
23826                color: 224 224 224 255;
23827                color3: 0 0 0 64;
23828             }
23829          }
23830          part { name: "elm.text.length";
23831             clip_to: "disclip";
23832             type:           TEXT;
23833             mouse_events:   0;
23834             scale: 1;
23835             description {
23836                state: "default" 0.0;
23837                rel1 {
23838                   relative: 0.0  0.5;
23839                   offset:   4 4;
23840                }
23841                rel2 {
23842                   relative: 1.0  1.0;
23843                   offset:   -1 -5;
23844                }
23845                color: 0 0 0 128;
23846                color3: 0 0 0 0;
23847                text {
23848                   font: "Sans";
23849                   size: 8;
23850                   min: 0 1;
23851                   align: 0.0 0.5;
23852                }
23853             }
23854             description { state: "selected" 0.0;
23855                inherit: "default" 0.0;
23856                color: 128 128 128 255;
23857                color3: 0 0 0 32;
23858             }
23859          }
23860          part { name: "fg1";
23861             clip_to: "disclip";
23862             mouse_events: 0;
23863             description { state: "default" 0.0;
23864                visible: 0;
23865                color: 255 255 255 0;
23866                rel1.to: "bg";
23867                rel2.relative: 1.0 0.5;
23868                rel2.to: "bg";
23869                image {
23870                   normal: "bt_sm_hilight.png";
23871                   border: 6 6 6 0;
23872                }
23873             }
23874             description { state: "selected" 0.0;
23875                inherit: "default" 0.0;
23876                visible: 1;
23877                color: 255 255 255 255;
23878             }
23879          }
23880          part { name: "fg2";
23881             clip_to: "disclip";
23882             mouse_events: 0;
23883             description { state: "default" 0.0;
23884                visible: 0;
23885                color: 255 255 255 0;
23886                rel1.to: "bg";
23887                rel2.to: "bg";
23888                image {
23889                   normal: "bt_sm_shine.png";
23890                   border: 6 6 6 0;
23891                }
23892             }
23893             description { state: "selected" 0.0;
23894                inherit: "default" 0.0;
23895                visible: 1;
23896                color: 255 255 255 255;
23897             }
23898          }
23899          part { name: "disclip";
23900             type: RECT;
23901             description { state: "default" 0.0;
23902                rel1.to: "bg";
23903                rel2.to: "bg";
23904             }
23905             description { state: "disabled" 0.0;
23906                inherit: "default" 0.0;
23907                color: 255 255 255 64;
23908             }
23909          }
23910       }
23911       programs {
23912          // signal: elm,state,%s,active
23913          //   a "check" item named %s went active
23914          // signal: elm,state,%s,passive
23915          //   a "check" item named %s went passive
23916          // default is passive
23917          program {
23918             name:    "go_active";
23919             signal:  "elm,state,selected";
23920             source:  "elm";
23921             action:  STATE_SET "selected" 0.0;
23922             target:  "bg";
23923             target:  "fg1";
23924             target:  "fg2";
23925             target:  "elm.text.title";
23926             target:  "elm.text.trackno";
23927             target:  "elm.text.length";
23928             after:   "dot_active";
23929          }
23930          program {
23931             name: "dot_active";
23932             script {
23933                if (get_int(dot_visible) == 1)
23934                   set_state(PART:"dot", "selected", 0.0);
23935             }
23936          }
23937          program {
23938             name:    "go_passive";
23939             signal:  "elm,state,unselected";
23940             source:  "elm";
23941             action:  STATE_SET "default" 0.0;
23942             target:  "bg";
23943             target:  "fg1";
23944             target:  "fg2";
23945             target:  "elm.text.title";
23946             target:  "elm.text.length";
23947             target:  "elm.text.trackno";
23948             transition: LINEAR 0.1;
23949             after:   "dot_passive";
23950          }
23951          program {
23952             name: "dot_passive";
23953             script {
23954                if (get_int(dot_visible) == 1)
23955                   set_state(PART:"dot", "visible", 0.0);
23956             }
23957          }
23958          program {
23959             name:    "go_disabled";
23960             signal:  "elm,state,disabled";
23961             source:  "elm";
23962             action:  STATE_SET "disabled" 0.0;
23963             target:  "disclip";
23964          }
23965          program {
23966             name:    "go_enabled";
23967             signal:  "elm,state,enabled";
23968             source:  "elm";
23969             action:  STATE_SET "default" 0.0;
23970             target:  "disclip";
23971          }
23972       }
23973    }
23974    group { name: "elm/genlist/item_compress_odd/media-album/default";
23975       data.item: "stacking" "below";
23976       data.item: "selectraise" "on";
23977       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23978       data.item: "states" "elm.state.trackno";
23979       data.item: "treesize" "20";
23980       images {
23981          image: "bt_sm_base1.png" COMP;
23982          image: "bt_sm_shine.png" COMP;
23983          image: "bt_sm_hilight.png" COMP;
23984          image: "ilist_2.png" COMP;
23985       }
23986       script {
23987          public dot_visible;
23988       }
23989       parts {
23990          part { name: "event";
23991             type: RECT;
23992             repeat_events: 1;
23993             description {
23994                state: "default" 0.0;
23995                color: 0 0 0 0;
23996             }
23997          }
23998          part {
23999             name: "base";
24000             mouse_events: 0;
24001             description {
24002                state: "default" 0.0;
24003                image {
24004                   normal: "ilist_2.png";
24005                   border: 2 2 2 2;
24006                }
24007                fill.smooth: 0;
24008             }
24009          }
24010          part { name: "bg";
24011             clip_to: "disclip";
24012             mouse_events: 0;
24013             description { state: "default" 0.0;
24014                visible: 0;
24015                color: 255 255 255 0;
24016                rel1 {
24017                   relative: 0.0 0.0;
24018                   offset: -5 -5;
24019                }
24020                rel2 {
24021                   relative: 1.0 1.0;
24022                   offset: 4 4;
24023                }
24024                image {
24025                   normal: "bt_sm_base1.png";
24026                   border: 6 6 6 6;
24027                }
24028                image.middle: SOLID;
24029             }
24030             description { state: "selected" 0.0;
24031                inherit: "default" 0.0;
24032                visible: 1;
24033                color: 255 255 255 255;
24034                rel1 {
24035                   relative: 0.0 0.0;
24036                   offset: -2 -2;
24037                }
24038                rel2 {
24039                   relative: 1.0 1.0;
24040                   offset: 1 1;
24041                }
24042             }
24043          }
24044          part { name: "elm.swallow.pad";
24045             type: SWALLOW;
24046             description { state: "default" 0.0;
24047                fixed: 1 0;
24048                align: 0.0 0.5;
24049                rel1 {
24050                   relative: 0.0  0.0;
24051                   offset:   4    4;
24052                }
24053                rel2 {
24054                   relative: 0.0  1.0;
24055                   offset:   4   -5;
24056                }
24057             }
24058          }
24059          part {
24060             name: "elm.text.trackno";
24061             type: TEXT;
24062             scale: 1;
24063             mouse_events: 0;
24064             description {
24065                state: "default" 0.0;
24066                color: 255 255 255 255;
24067                align: 0.0 0.0;
24068                fixed: 1 0;
24069                rel1 {
24070                   to_y: "elm.text.title";
24071                   relative: 0.0 0.0;
24072                   offset: 5 0;
24073                }
24074                rel2 {
24075                   to_y: "elm.text.title";
24076                   relative: 0.0 1.0;
24077                   offset: 20 0;
24078                }
24079                color: 0 0 0 255;
24080                color3: 0 0 0 0;
24081                text {
24082                   font: "Sans";
24083                   size: 10;
24084                   min: 1 1;
24085                   align: 1.0 0.5;
24086                }
24087             }
24088             description { state: "selected" 0.0;
24089                inherit: "default" 0.0;
24090                color: 224 224 224 255;
24091                color3: 0 0 0 64;
24092             }
24093          }
24094          part {
24095             name: "dot";
24096             type: TEXT;
24097             scale: 1;
24098             mouse_events: 0;
24099             description {
24100                state: "default" 0.0;
24101                color: 255 255 255 255;
24102                visible: 0;
24103                fixed: 1 1;
24104                align: 0.0 0.0;
24105                rel1 {
24106                   to_x: "elm.text.trackno";
24107                   to_y: "elm.text.title";
24108                   relative: 1.0 0.0;
24109                   offset: 1 0;
24110                }
24111                rel2 {
24112                   to_x: "elm.text.trackno";
24113                   to_y: "elm.text.title";
24114                   relative: 1.0 1.0;
24115                   offset: 1 0;
24116
24117                }
24118                color: 0 0 0 255;
24119                color3: 0 0 0 0;
24120                text {
24121                   font: "Sans";
24122                   size: 10;
24123                   min: 1 1;
24124                   align: 0.0 0.5;
24125                   text: ".";
24126                }
24127             }
24128             description {
24129                state: "visible" 0.0;
24130                inherit: "default" 0.0;
24131                visible: 1;
24132             }
24133             description { state: "selected" 0.0;
24134                inherit: "default" 0.0;
24135                color: 224 224 224 255;
24136                color3: 0 0 0 64;
24137                visible: 1;
24138             }
24139          }
24140          programs {
24141             program {
24142                signal: "elm,state,elm.state.trackno,active";
24143                source: "elm";
24144                script {
24145                   set_state(PART:"dot", "visible", 0.0);
24146                   set_int(dot_visible, 1);
24147                }
24148             }
24149          }
24150          part { name: "elm.text.title";
24151             clip_to: "disclip";
24152             type:           TEXT;
24153             effect:         SOFT_SHADOW;
24154             mouse_events:   0;
24155             scale: 1;
24156             description {
24157                state: "default" 0.0;
24158                rel1 {
24159                   to_x: "dot";
24160                   relative: 1.0  0.0;
24161                   offset:   4 4;
24162                }
24163                rel2 {
24164                   relative: 1.0  0.5;
24165                   offset:   -1 -5;
24166                }
24167                color: 0 0 0 255;
24168                color3: 0 0 0 0;
24169                text {
24170                   font: "Sans";
24171                   size: 10;
24172                   min: 0 1;
24173                   align: 0.0 0.5;
24174                }
24175             }
24176             description { state: "selected" 0.0;
24177                inherit: "default" 0.0;
24178                color: 224 224 224 255;
24179                color3: 0 0 0 64;
24180             }
24181          }
24182          part { name: "elm.text.length";
24183             clip_to: "disclip";
24184             type:           TEXT;
24185             mouse_events:   0;
24186             scale: 1;
24187             description {
24188                state: "default" 0.0;
24189                rel1 {
24190                   relative: 0.0  0.5;
24191                   offset:   4 4;
24192                }
24193                rel2 {
24194                   relative: 1.0  1.0;
24195                   offset:   -1 -5;
24196                }
24197                color: 0 0 0 128;
24198                color3: 0 0 0 0;
24199                text {
24200                   font: "Sans";
24201                   size: 8;
24202                   min: 0 1;
24203                   align: 0.0 0.5;
24204                }
24205             }
24206             description { state: "selected" 0.0;
24207                inherit: "default" 0.0;
24208                color: 128 128 128 255;
24209                color3: 0 0 0 32;
24210             }
24211          }
24212          part { name: "fg1";
24213             clip_to: "disclip";
24214             mouse_events: 0;
24215             description { state: "default" 0.0;
24216                visible: 0;
24217                color: 255 255 255 0;
24218                rel1.to: "bg";
24219                rel2.relative: 1.0 0.5;
24220                rel2.to: "bg";
24221                image {
24222                   normal: "bt_sm_hilight.png";
24223                   border: 6 6 6 0;
24224                }
24225             }
24226             description { state: "selected" 0.0;
24227                inherit: "default" 0.0;
24228                visible: 1;
24229                color: 255 255 255 255;
24230             }
24231          }
24232          part { name: "fg2";
24233             clip_to: "disclip";
24234             mouse_events: 0;
24235             description { state: "default" 0.0;
24236                visible: 0;
24237                color: 255 255 255 0;
24238                rel1.to: "bg";
24239                rel2.to: "bg";
24240                image {
24241                   normal: "bt_sm_shine.png";
24242                   border: 6 6 6 0;
24243                }
24244             }
24245             description { state: "selected" 0.0;
24246                inherit: "default" 0.0;
24247                visible: 1;
24248                color: 255 255 255 255;
24249             }
24250          }
24251          part { name: "disclip";
24252             type: RECT;
24253             description { state: "default" 0.0;
24254                rel1.to: "bg";
24255                rel2.to: "bg";
24256             }
24257             description { state: "disabled" 0.0;
24258                inherit: "default" 0.0;
24259                color: 255 255 255 64;
24260             }
24261          }
24262       }
24263       programs {
24264          // signal: elm,state,%s,active
24265          //   a "check" item named %s went active
24266          // signal: elm,state,%s,passive
24267          //   a "check" item named %s went passive
24268          // default is passive
24269          program {
24270             name:    "go_active";
24271             signal:  "elm,state,selected";
24272             source:  "elm";
24273             action:  STATE_SET "selected" 0.0;
24274             target:  "bg";
24275             target:  "fg1";
24276             target:  "fg2";
24277             target:  "elm.text.title";
24278             target:  "elm.text.length";
24279             target:  "elm.text.trackno";
24280             after:   "dot_active";
24281          }
24282          program {
24283             name: "dot_active";
24284             script {
24285                if (get_int(dot_visible) == 1)
24286                   set_state(PART:"dot", "selected", 0.0);
24287             }
24288          }
24289          program {
24290             name:    "go_passive";
24291             signal:  "elm,state,unselected";
24292             source:  "elm";
24293             action:  STATE_SET "default" 0.0;
24294             target:  "bg";
24295             target:  "fg1";
24296             target:  "fg2";
24297             target:  "elm.text.title";
24298             target:  "elm.text.length";
24299             target:  "elm.text.trackno";
24300             transition: LINEAR 0.1;
24301             after:   "dot_passive";
24302          }
24303          program {
24304             name: "dot_passive";
24305             script {
24306                if (get_int(dot_visible) == 1)
24307                   set_state(PART:"dot", "visible", 0.0);
24308             }
24309          }
24310          program {
24311             name:    "go_disabled";
24312             signal:  "elm,state,disabled";
24313             source:  "elm";
24314             action:  STATE_SET "disabled" 0.0;
24315             target:  "disclip";
24316          }
24317          program {
24318             name:    "go_enabled";
24319             signal:  "elm,state,enabled";
24320             source:  "elm";
24321             action:  STATE_SET "default" 0.0;
24322             target:  "disclip";
24323          }
24324       }
24325    }
24326
24327    group { name: "elm/genlist/item_compress/media-preview/default";
24328       data.item: "stacking" "above";
24329       data.item: "selectraise" "on";
24330       data.item: "labels" "elm.text.title elm.text.artist";
24331       data.item: "icons" "elm.swallow.preview";
24332       data.item: "treesize" "20";
24333       images {
24334          image: "bt_sm_base1.png" COMP;
24335          image: "bt_sm_shine.png" COMP;
24336          image: "bt_sm_hilight.png" COMP;
24337          image: "ilist_1.png" COMP;
24338          image: "ilist_item_shadow.png" COMP;
24339       }
24340       parts {
24341          part {
24342             name: "event";
24343             type: RECT;
24344             repeat_events: 1;
24345             description {
24346                state: "default" 0.0;
24347                color: 0 0 0 0;
24348             }
24349          }
24350          part {
24351             name: "base_sh";
24352             mouse_events: 0;
24353             description {
24354                state: "default" 0.0;
24355                align: 0.0 0.0;
24356                min: 0 10;
24357                fixed: 1 1;
24358                rel1 {
24359                   to: "base";
24360                   relative: 0.0 1.0;
24361                   offset: 0 0;
24362                }
24363                rel2 {
24364                   to: "base";
24365                   relative: 1.0 1.0;
24366                   offset: -1 0;
24367                }
24368                image {
24369                   normal: "ilist_item_shadow.png";
24370                }
24371                fill.smooth: 0;
24372             }
24373          }
24374          part {
24375             name: "base";
24376             mouse_events: 0;
24377             description {
24378                state: "default" 0.0;
24379                image {
24380                   normal: "ilist_1.png";
24381                   border: 2 2 2 2;
24382                }
24383                fill.smooth: 0;
24384             }
24385          }
24386          part { name: "bg";
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 {
24393                   relative: 0.0 0.0;
24394                   offset: -5 -5;
24395                }
24396                rel2 {
24397                   relative: 1.0 1.0;
24398                   offset: 4 4;
24399                }
24400                image {
24401                   normal: "bt_sm_base1.png";
24402                   border: 6 6 6 6;
24403                }
24404                image.middle: SOLID;
24405             }
24406             description { state: "selected" 0.0;
24407                inherit: "default" 0.0;
24408                visible: 1;
24409                color: 255 255 255 255;
24410                rel1 {
24411                   relative: 0.0 0.0;
24412                   offset: -2 -2;
24413                }
24414                rel2 {
24415                   relative: 1.0 1.0;
24416                   offset: 1 1;
24417                }
24418             }
24419          }
24420          part { name: "elm.swallow.pad";
24421             type: SWALLOW;
24422             description { state: "default" 0.0;
24423                fixed: 1 0;
24424                align: 0.0 0.5;
24425                rel1 {
24426                   relative: 0.0  0.0;
24427                   offset:   4    4;
24428                }
24429                rel2 {
24430                   relative: 0.0  1.0;
24431                   offset:   4   -5;
24432                }
24433             }
24434          }
24435          part { name: "elm.swallow.preview";
24436             clip_to: "disclip";
24437             type: SWALLOW;
24438             description { state: "default" 0.0;
24439                fixed: 1 0;
24440                align: 0.0 0.5;
24441                min: 68 68;
24442                max: 68 68;
24443                rel1 {
24444                   to_x: "elm.swallow.pad";
24445                   relative: 1.0  0.0;
24446                   offset:   -1    4;
24447                }
24448                rel2 {
24449                   to_x: "elm.swallow.pad";
24450                   relative: 1.0  1.0;
24451                   offset:   -1   -5;
24452                }
24453             }
24454          }
24455          part { name: "elm.text.title";
24456             clip_to: "disclip";
24457             type:           TEXT;
24458             effect:         SOFT_SHADOW;
24459             mouse_events:   0;
24460             scale: 1;
24461             description {
24462                state: "default" 0.0;
24463                rel1 {
24464                   to_x:     "elm.swallow.preview";
24465                   relative: 1.0  0.0;
24466                   offset:   4 4;
24467                }
24468                rel2 {
24469                   relative: 1.0  0.5;
24470                   offset:   -1 -5;
24471                }
24472                color: 0 0 0 255;
24473                color3: 0 0 0 0;
24474                text {
24475                   font: "Sans";
24476                   size: 10;
24477                   min: 0 1;
24478                   align: 0.0 0.5;
24479                }
24480             }
24481             description { state: "selected" 0.0;
24482                inherit: "default" 0.0;
24483                color: 224 224 224 255;
24484                color3: 0 0 0 64;
24485             }
24486          }
24487          part { name: "elm.text.artist";
24488             clip_to: "disclip";
24489             type:           TEXT;
24490             mouse_events:   0;
24491             scale: 1;
24492             description {
24493                state: "default" 0.0;
24494                rel1 {
24495                   to_x:     "elm.swallow.preview";
24496                   relative: 1.0  0.5;
24497                   offset:   4 4;
24498                }
24499                rel2 {
24500                   relative: 1.0  1.0;
24501                   offset:   -1 -5;
24502                }
24503                color: 0 0 0 128;
24504                color3: 0 0 0 0;
24505                text {
24506                   font: "Sans";
24507                   size: 8;
24508                   min: 0 1;
24509                   align: 0.0 0.5;
24510                }
24511             }
24512             description { state: "selected" 0.0;
24513                inherit: "default" 0.0;
24514                color: 128 128 128 255;
24515                color3: 0 0 0 32;
24516             }
24517          }
24518          part { name: "fg1";
24519             clip_to: "disclip";
24520             mouse_events: 0;
24521             description { state: "default" 0.0;
24522                visible: 0;
24523                color: 255 255 255 0;
24524                rel1.to: "bg";
24525                rel2.relative: 1.0 0.5;
24526                rel2.to: "bg";
24527                image {
24528                   normal: "bt_sm_hilight.png";
24529                   border: 6 6 6 0;
24530                }
24531             }
24532             description { state: "selected" 0.0;
24533                inherit: "default" 0.0;
24534                visible: 1;
24535                color: 255 255 255 255;
24536             }
24537          }
24538          part { name: "fg2";
24539             clip_to: "disclip";
24540             mouse_events: 0;
24541             description { state: "default" 0.0;
24542                visible: 0;
24543                color: 255 255 255 0;
24544                rel1.to: "bg";
24545                rel2.to: "bg";
24546                image {
24547                   normal: "bt_sm_shine.png";
24548                   border: 6 6 6 0;
24549                }
24550             }
24551             description { state: "selected" 0.0;
24552                inherit: "default" 0.0;
24553                visible: 1;
24554                color: 255 255 255 255;
24555             }
24556          }
24557          part { name: "disclip";
24558             type: RECT;
24559             description { state: "default" 0.0;
24560                rel1.to: "bg";
24561                rel2.to: "bg";
24562             }
24563             description { state: "disabled" 0.0;
24564                inherit: "default" 0.0;
24565                color: 255 255 255 64;
24566             }
24567          }
24568       }
24569       programs {
24570          // signal: elm,state,%s,active
24571          //   a "check" item named %s went active
24572          // signal: elm,state,%s,passive
24573          //   a "check" item named %s went passive
24574          // default is passive
24575          program {
24576             name:    "go_active";
24577             signal:  "elm,state,selected";
24578             source:  "elm";
24579             action:  STATE_SET "selected" 0.0;
24580             target:  "bg";
24581             target:  "fg1";
24582             target:  "fg2";
24583             target:  "elm.text.title";
24584             target:  "elm.text.artist";
24585          }
24586          program {
24587             name:    "go_passive";
24588             signal:  "elm,state,unselected";
24589             source:  "elm";
24590             action:  STATE_SET "default" 0.0;
24591             target:  "bg";
24592             target:  "fg1";
24593             target:  "fg2";
24594             target:  "elm.text.title";
24595             target:  "elm.text.artist";
24596             transition: LINEAR 0.1;
24597          }
24598          program {
24599             name:    "go_disabled";
24600             signal:  "elm,state,disabled";
24601             source:  "elm";
24602             action:  STATE_SET "disabled" 0.0;
24603             target:  "disclip";
24604          }
24605          program {
24606             name:    "go_enabled";
24607             signal:  "elm,state,enabled";
24608             source:  "elm";
24609             action:  STATE_SET "default" 0.0;
24610             target:  "disclip";
24611          }
24612       }
24613    }
24614    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24615       data.item: "stacking" "below";
24616       data.item: "selectraise" "on";
24617       data.item: "labels" "elm.text.title elm.text.artist";
24618       data.item: "icons" "elm.swallow.preview";
24619       data.item: "treesize" "20";
24620       images {
24621          image: "bt_sm_base1.png" COMP;
24622          image: "bt_sm_shine.png" COMP;
24623          image: "bt_sm_hilight.png" COMP;
24624          image: "ilist_2.png" COMP;
24625       }
24626       parts {
24627          part { name: "event";
24628             type: RECT;
24629             repeat_events: 1;
24630             description {
24631                state: "default" 0.0;
24632                color: 0 0 0 0;
24633             }
24634          }
24635          part {
24636             name: "base";
24637             mouse_events: 0;
24638             description {
24639                state: "default" 0.0;
24640                image {
24641                   normal: "ilist_2.png";
24642                   border: 2 2 2 2;
24643                }
24644                fill.smooth: 0;
24645             }
24646          }
24647          part { name: "bg";
24648             clip_to: "disclip";
24649             mouse_events: 0;
24650             description { state: "default" 0.0;
24651                visible: 0;
24652                color: 255 255 255 0;
24653                rel1 {
24654                   relative: 0.0 0.0;
24655                   offset: -5 -5;
24656                }
24657                rel2 {
24658                   relative: 1.0 1.0;
24659                   offset: 4 4;
24660                }
24661                image {
24662                   normal: "bt_sm_base1.png";
24663                   border: 6 6 6 6;
24664                }
24665                image.middle: SOLID;
24666             }
24667             description { state: "selected" 0.0;
24668                inherit: "default" 0.0;
24669                visible: 1;
24670                color: 255 255 255 255;
24671                rel1 {
24672                   relative: 0.0 0.0;
24673                   offset: -2 -2;
24674                }
24675                rel2 {
24676                   relative: 1.0 1.0;
24677                   offset: 1 1;
24678                }
24679             }
24680          }
24681          part { name: "elm.swallow.pad";
24682             type: SWALLOW;
24683             description { state: "default" 0.0;
24684                fixed: 1 0;
24685                align: 0.0 0.5;
24686                rel1 {
24687                   relative: 0.0  0.0;
24688                   offset:   4    4;
24689                }
24690                rel2 {
24691                   relative: 0.0  1.0;
24692                   offset:   4   -5;
24693                }
24694             }
24695          }
24696          part { name: "elm.swallow.preview";
24697             clip_to: "disclip";
24698             type: SWALLOW;
24699             description { state: "default" 0.0;
24700                fixed: 1 0;
24701                align: 0.0 0.5;
24702                min: 68 68;
24703                max: 68 68;
24704                rel1 {
24705                   to_x: "elm.swallow.pad";
24706                   relative: 1.0  0.0;
24707                   offset:   -1    4;
24708                }
24709                rel2 {
24710                   to_x: "elm.swallow.pad";
24711                   relative: 1.0  1.0;
24712                   offset:   -1   -5;
24713                }
24714             }
24715          }
24716          part { name: "elm.text.title";
24717             clip_to: "disclip";
24718             type:           TEXT;
24719             effect:         SOFT_SHADOW;
24720             mouse_events:   0;
24721             scale: 1;
24722             description {
24723                state: "default" 0.0;
24724                rel1 {
24725                   to_x:     "elm.swallow.preview";
24726                   relative: 1.0  0.0;
24727                   offset:   4 4;
24728                }
24729                rel2 {
24730                   relative: 1.0  0.5;
24731                   offset:   -1 -5;
24732                }
24733                color: 0 0 0 255;
24734                color3: 0 0 0 0;
24735                text {
24736                   font: "Sans";
24737                   size: 10;
24738                   min: 0 1;
24739                   align: 0.0 0.5;
24740                }
24741             }
24742             description { state: "selected" 0.0;
24743                inherit: "default" 0.0;
24744                color: 224 224 224 255;
24745                color3: 0 0 0 64;
24746             }
24747          }
24748          part { name: "elm.text.artist";
24749             clip_to: "disclip";
24750             type:           TEXT;
24751             mouse_events:   0;
24752             scale: 1;
24753             description {
24754                state: "default" 0.0;
24755                rel1 {
24756                   to_x:     "elm.swallow.preview";
24757                   relative: 1.0  0.5;
24758                   offset:   4 4;
24759                }
24760                rel2 {
24761                   relative: 1.0  1.0;
24762                   offset:   -1 -5;
24763                }
24764                color: 0 0 0 128;
24765                color3: 0 0 0 0;
24766                text {
24767                   font: "Sans";
24768                   size: 8;
24769                   min: 0 1;
24770                   align: 0.0 0.5;
24771                }
24772             }
24773             description { state: "selected" 0.0;
24774                inherit: "default" 0.0;
24775                color: 128 128 128 255;
24776                color3: 0 0 0 32;
24777             }
24778          }
24779          part { name: "fg1";
24780             clip_to: "disclip";
24781             mouse_events: 0;
24782             description { state: "default" 0.0;
24783                visible: 0;
24784                color: 255 255 255 0;
24785                rel1.to: "bg";
24786                rel2.relative: 1.0 0.5;
24787                rel2.to: "bg";
24788                image {
24789                   normal: "bt_sm_hilight.png";
24790                   border: 6 6 6 0;
24791                }
24792             }
24793             description { state: "selected" 0.0;
24794                inherit: "default" 0.0;
24795                visible: 1;
24796                color: 255 255 255 255;
24797             }
24798          }
24799          part { name: "fg2";
24800             clip_to: "disclip";
24801             mouse_events: 0;
24802             description { state: "default" 0.0;
24803                visible: 0;
24804                color: 255 255 255 0;
24805                rel1.to: "bg";
24806                rel2.to: "bg";
24807                image {
24808                   normal: "bt_sm_shine.png";
24809                   border: 6 6 6 0;
24810                }
24811             }
24812             description { state: "selected" 0.0;
24813                inherit: "default" 0.0;
24814                visible: 1;
24815                color: 255 255 255 255;
24816             }
24817          }
24818          part { name: "disclip";
24819             type: RECT;
24820             description { state: "default" 0.0;
24821                rel1.to: "bg";
24822                rel2.to: "bg";
24823             }
24824             description { state: "disabled" 0.0;
24825                inherit: "default" 0.0;
24826                color: 255 255 255 64;
24827             }
24828          }
24829       }
24830       programs {
24831          // signal: elm,state,%s,active
24832          //   a "check" item named %s went active
24833          // signal: elm,state,%s,passive
24834          //   a "check" item named %s went passive
24835          // default is passive
24836          program {
24837             name:    "go_active";
24838             signal:  "elm,state,selected";
24839             source:  "elm";
24840             action:  STATE_SET "selected" 0.0;
24841             target:  "bg";
24842             target:  "fg1";
24843             target:  "fg2";
24844             target:  "elm.text.title";
24845             target:  "elm.text.artist";
24846          }
24847          program {
24848             name:    "go_passive";
24849             signal:  "elm,state,unselected";
24850             source:  "elm";
24851             action:  STATE_SET "default" 0.0;
24852             target:  "bg";
24853             target:  "fg1";
24854             target:  "fg2";
24855             target:  "elm.text.title";
24856             target:  "elm.text.artist";
24857             transition: LINEAR 0.1;
24858          }
24859          program {
24860             name:    "go_disabled";
24861             signal:  "elm,state,disabled";
24862             source:  "elm";
24863             action:  STATE_SET "disabled" 0.0;
24864             target:  "disclip";
24865          }
24866          program {
24867             name:    "go_enabled";
24868             signal:  "elm,state,enabled";
24869             source:  "elm";
24870             action:  STATE_SET "default" 0.0;
24871             target:  "disclip";
24872          }
24873       }
24874    }
24875
24876    group { name: "elm/genlist/item/mode/default";
24877       data.item: "selectraise" "on";
24878       data.item: "labels" "elm.text.mode";
24879       data.item: "icons" "elm.swallow.mode";
24880       data.item: "mode_part" "elm.swallow.origin";
24881       data.item: "treesize" "20";
24882       images {
24883          image: "bt_sm_base1.png" COMP;
24884          image: "bt_sm_shine.png" COMP;
24885          image: "bt_sm_hilight.png" COMP;
24886          image: "ilist_1.png" COMP;
24887          image: "ilist_2.png" COMP;
24888          image: "ilist_item_shadow.png" COMP;
24889       }
24890
24891       parts {
24892          part {
24893             name: "event";
24894             type: RECT;
24895             repeat_events: 1;
24896             description {
24897                state: "default" 0.0;
24898                color: 0 0 0 0;
24899             }
24900          }
24901          part {
24902             name: "base_sh";
24903             mouse_events: 0;
24904             description {
24905                state: "default" 0.0;
24906                align: 0.0 0.0;
24907                min: 0 10;
24908                fixed: 1 1;
24909                rel1 {
24910                   to: "base";
24911                   relative: 0.0 1.0;
24912                   offset: 0 0;
24913                }
24914                rel2 {
24915                   to: "base";
24916                   relative: 1.0 1.0;
24917                   offset: -1 0;
24918                }
24919                image {
24920                   normal: "ilist_item_shadow.png";
24921                }
24922                fill.smooth: 0;
24923             }
24924             description {
24925                state: "default" 1.0;
24926                inherit: "default" 0.0;
24927                visible: 0;
24928             }
24929          }
24930          part {
24931             name: "base";
24932             mouse_events: 0;
24933             description {
24934                state: "default" 0.0;
24935                image {
24936                   normal: "ilist_1.png";
24937                   border: 2 2 2 2;
24938                }
24939                fill.smooth: 0;
24940             }
24941             description {
24942                state: "default" 1.0;
24943                inherit: "default" 0.0;
24944                image.normal: "ilist_2.png";
24945             }
24946          }
24947          part { name: "bg";
24948             clip_to: "disclip";
24949             mouse_events: 0;
24950             description { state: "default" 0.0;
24951                visible: 0;
24952                color: 255 255 255 0;
24953                rel1 {
24954                   relative: 0.0 0.0;
24955                   offset: -5 -5;
24956                }
24957                rel2 {
24958                   relative: 1.0 1.0;
24959                   offset: 4 4;
24960                }
24961                image {
24962                   normal: "bt_sm_base1.png";
24963                   border: 6 6 6 6;
24964                }
24965                image.middle: SOLID;
24966             }
24967             description { state: "default" 0.1;
24968                inherit: "default" 0.0;
24969             }
24970             description { state: "selected" 0.0;
24971                inherit: "default" 0.0;
24972                visible: 1;
24973                color: 255 255 255 255;
24974                rel1 {
24975                   relative: 0.0 0.0;
24976                   offset: -2 -2;
24977                }
24978                rel2 {
24979                   relative: 1.0 1.0;
24980                   offset: 1 1;
24981                }
24982             }
24983             description {
24984                state: "selected" 1.0;
24985                inherit: "selected" 0.0;
24986             }
24987          }
24988          part { name: "elm.text.mode";
24989             clip_to: "disclip";
24990             type: TEXT;
24991             scale: 1;
24992             description { state: "default" 0.0;
24993                rel2.relative: 0.5 1.0;
24994                color: 0 0 0 255;
24995                text {
24996                   font: "Sans";
24997                   size: 10;
24998                   min: 1 1;
24999                   align: -1.0 0.5;
25000                   text_class: "list_item";
25001                }
25002             }
25003          }
25004         part { name: "elm.swallow.mode";
25005             clip_to: "disclip";
25006             type: SWALLOW;
25007             description { state: "default" 0.0;
25008                rel1.relative: 0.5 0.0;
25009             }
25010          }
25011          part { name: "fg1";
25012             clip_to: "disclip";
25013             mouse_events: 0;
25014             description { state: "default" 0.0;
25015                visible: 0;
25016                color: 255 255 255 0;
25017                rel1.to: "bg";
25018                rel2.relative: 1.0 0.5;
25019                rel2.to: "bg";
25020                image {
25021                   normal: "bt_sm_hilight.png";
25022                   border: 6 6 6 0;
25023                }
25024             }
25025             description { state: "selected" 0.0;
25026                inherit: "default" 0.0;
25027                visible: 1;
25028                color: 255 255 255 255;
25029             }
25030             description {
25031                state: "selected" 1.0;
25032                inherit: "default" 0.0;
25033                visible: 1;
25034                color: 255 255 255 255;
25035             }
25036          }
25037          part { name: "fg2";
25038             clip_to: "disclip";
25039             mouse_events: 0;
25040             description { state: "default" 0.0;
25041                visible: 0;
25042                color: 255 255 255 0;
25043                rel1.to: "bg";
25044                rel2.to: "bg";
25045                image {
25046                   normal: "bt_sm_shine.png";
25047                   border: 6 6 6 0;
25048                }
25049             }
25050             description { state: "selected" 0.0;
25051                inherit: "default" 0.0;
25052                visible: 1;
25053                color: 255 255 255 255;
25054             }
25055             description {
25056                state: "selected" 1.0;
25057                inherit: "default" 0.0;
25058                visible: 1;
25059                color: 255 255 255 255;
25060             }
25061          }
25062          // Transparent part between base parts and slidable parts
25063          part { name: "event_block_layer";
25064             type: RECT;
25065             clip_to: "disclip";
25066             mouse_events: 1;
25067             description { state: "default" 0.0;
25068                rel1.to: "base";
25069                rel2.to: "base";
25070                color: 0 0 0 0;
25071             }
25072             description { state: "repeat_events" 0.0;
25073                inherit: "default" 0.0;
25074                visible: 0;
25075             }
25076          }
25077          part { name: "pers";
25078             clip_to: "disclip";
25079             type: RECT;
25080             description { state: "default" 0.0;
25081                rel1.relative: 0.0 1.0;
25082             }
25083          }
25084          part { name: "elm.swallow.origin";
25085             clip_to: "disclip";
25086             type: SWALLOW;
25087             description { state: "default" 0.0;
25088                fixed: 1 0;
25089                align: 0.0 0.5;
25090             }
25091             description { state: "slide" 0.0;
25092                inherit: "default" 0.0;
25093                rel1.relative: 1 0;
25094                rel2.relative: 2 1;
25095             }
25096             description { state: "rotate" 0.0;
25097                inherit: "default" 0.0;
25098                map {
25099                   perspective: "pers";
25100                   on: 1;
25101                   smooth: 1;
25102                   perspective_on: 1;
25103                   backface_cull: 1;
25104                   rotation {
25105                      center: "pers";
25106                      x: 0.0;
25107                      y: 0.0;
25108                      z: 0.0;
25109                   }
25110                }
25111             }
25112             description { state: "rotate" 1.0;
25113                inherit: "default" 0.0;
25114                map {
25115                   perspective: "pers";
25116                   on: 1;
25117                   smooth: 1;
25118                   perspective_on: 1;
25119                   backface_cull: 1;
25120                   rotation {
25121                      center: "pers";
25122                      x: 90.0;
25123                      y: 0.0;
25124                      z: 0.0;
25125                   }
25126                }
25127             }
25128          }
25129          part { name: "disclip";
25130             type: RECT;
25131             description { state: "default" 0.0;
25132                rel1.to: "bg";
25133                rel2.to: "bg";
25134             }
25135             description { state: "disabled" 0.0;
25136                inherit: "default" 0.0;
25137                color: 255 255 255 64;
25138             }
25139          }
25140       }
25141       programs {
25142          program {
25143             name:    "odd";
25144             signal:  "elm,state,odd";
25145             source:  "elm";
25146             action:  STATE_SET "default" 1.0;
25147             target:  "base_sh";
25148             target:  "base";
25149          }
25150          program {
25151             name:    "even";
25152             signal:  "elm,state,even";
25153             source:  "elm";
25154             action:  STATE_SET "default" 0.0;
25155             target:  "base_sh";
25156             target:  "base";
25157          }
25158          program {
25159             name:    "go_active";
25160             signal:  "elm,state,selected";
25161             source:  "elm";
25162             script {
25163                new st[31];
25164                new Float:vl;
25165                get_state(PART:"base", st, 30, vl);
25166                set_state(PART:"bg", "selected", vl);
25167                set_state(PART:"fg1", "selected", vl);
25168                set_state(PART:"fg2", "selected", vl);
25169             }
25170          }
25171          program {
25172             name:    "go_passive";
25173             signal:  "elm,state,unselected";
25174             source:  "elm";
25175             script {
25176                new st[31];
25177                new Float:vl;
25178                get_state(PART:"base", st, 30, vl);
25179                set_state(PART:"bg", "default", vl);
25180                set_state(PART:"fg1", "default", vl);
25181                set_state(PART:"fg2", "default", vl);
25182             }
25183          }
25184          program {
25185             name:    "go_disabled";
25186             signal:  "elm,state,disabled";
25187             source:  "elm";
25188             action:  STATE_SET "disabled" 0.0;
25189             target:  "disclip";
25190          }
25191          program {
25192             name:    "go_enabled";
25193             signal:  "elm,state,enabled";
25194             source:  "elm";
25195             action:  STATE_SET "default" 0.0;
25196             target:  "disclip";
25197          }
25198          program {
25199             name:    "slide_right";
25200             signal:  "elm,state,slide,active";
25201             source:  "elm";
25202             action:  STATE_SET "slide" 0.0;
25203             target:  "elm.swallow.origin";
25204             transition: ACCELERATE 0.5;
25205             after:   "unblock_event";
25206          }
25207          program {
25208             name:    "unblock_event";
25209             action:  STATE_SET "repeat_events" 0.0;
25210             target:  "event_block_layer";
25211          }
25212          program {
25213             name:    "slide_left";
25214             signal:  "elm,state,slide,passive";
25215             source:  "elm";
25216             action:  STATE_SET "default" 0.0;
25217             target:  "event_block_layer";
25218             after:   "slide_left2";
25219          }
25220          program {
25221             name:    "slide_left2";
25222             action:  STATE_SET "default" 0.0;
25223             target:  "elm.swallow.origin";
25224             transition: DECELERATE 0.5;
25225             after:   "slide_left_finished";
25226          }
25227          program {
25228             name:    "slide_left_finished";
25229             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25230          }
25231          program {
25232             name:    "rotate_on";
25233             signal:  "elm,state,rotate,active";
25234             source:  "elm";
25235             action:  STATE_SET "rotate" 0.0;
25236             target:  "elm.swallow.origin";
25237             after:   "rotate_on2";
25238          }
25239          program {
25240             name:    "rotate_on2";
25241             action:  STATE_SET "rotate" 1.0;
25242             target:  "elm.swallow.origin";
25243             transition: LINEAR 0.5;
25244             after:   "unblock_event";
25245          }
25246          program {
25247             name:    "rotate_off";
25248             signal:  "elm,state,rotate,passive";
25249             source:  "elm";
25250             action:  STATE_SET "default" 0.0;
25251             target:  "event_block_layer";
25252             after:   "rotate_off2";
25253          }
25254          program {
25255             name:    "rotate_off2";
25256             action:  STATE_SET "rotate" 0.0;
25257             transition: LINEAR 0.5;
25258             target:  "elm.swallow.origin";
25259             after:   "rotate_off3";
25260          }
25261          program {
25262             name:    "rotate_off3";
25263             action:  STATE_SET "default" 0.0;
25264             target:  "elm.swallow.origin";
25265             after:   "rotate_off_finished";
25266          }
25267          program {
25268             name:    "rotate_off_finished";
25269             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25270          }
25271       }
25272    }
25273
25274    group { name: "elm/genlist/item_odd/mode/default";
25275       data.item: "stacking" "below";
25276       data.item: "selectraise" "on";
25277       data.item: "labels" "elm.text.mode";
25278       data.item: "icons" "elm.swallow.mode";
25279       data.item: "mode_part" "elm.swallow.origin";
25280       data.item: "treesize" "20";
25281       images {
25282          image: "bt_sm_base1.png" COMP;
25283          image: "bt_sm_shine.png" COMP;
25284          image: "bt_sm_hilight.png" COMP;
25285          image: "ilist_2.png" COMP;
25286       }
25287
25288       parts {
25289          part {
25290             name: "event";
25291             type: RECT;
25292             repeat_events: 1;
25293             description {
25294                state: "default" 0.0;
25295                color: 0 0 0 0;
25296             }
25297          }
25298          part {
25299             name: "base";
25300             mouse_events: 0;
25301             description {
25302                state: "default" 0.0;
25303                image {
25304                   normal: "ilist_2.png";
25305                   border: 2 2 2 2;
25306                }
25307                fill.smooth: 0;
25308             }
25309          }
25310          part { name: "bg";
25311             clip_to: "disclip";
25312             mouse_events: 0;
25313             description { state: "default" 0.0;
25314                visible: 0;
25315                color: 255 255 255 0;
25316                rel1 {
25317                   relative: 0.0 0.0;
25318                   offset: -5 -5;
25319                }
25320                rel2 {
25321                   relative: 1.0 1.0;
25322                   offset: 4 4;
25323                }
25324                image {
25325                   normal: "bt_sm_base1.png";
25326                   border: 6 6 6 6;
25327                }
25328                image.middle: SOLID;
25329             }
25330             description { state: "selected" 0.0;
25331                inherit: "default" 0.0;
25332                visible: 1;
25333                color: 255 255 255 255;
25334                rel1 {
25335                   relative: 0.0 0.0;
25336                   offset: -2 -2;
25337                }
25338                rel2 {
25339                   relative: 1.0 1.0;
25340                   offset: 1 1;
25341                }
25342             }
25343          }
25344          part { name: "elm.text.mode";
25345             clip_to: "disclip";
25346             type: TEXT;
25347             scale: 1;
25348             description { state: "default" 0.0;
25349                rel2.relative: 0.5 1.0;
25350                color: 0 0 0 255;
25351                text {
25352                   font: "Sans";
25353                   size: 10;
25354                   min: 1 1;
25355                   align: 0.5 0.5;
25356                   text_class: "list_item";
25357                }
25358             }
25359          }
25360         part { name: "elm.swallow.mode";
25361             clip_to: "disclip";
25362             type: SWALLOW;
25363             description { state: "default" 0.0;
25364                rel1.relative: 0.5 0.0;
25365             }
25366          }
25367          part { name: "fg1";
25368             clip_to: "disclip";
25369             mouse_events: 0;
25370             description { state: "default" 0.0;
25371                visible: 0;
25372                color: 255 255 255 0;
25373                rel1.to: "bg";
25374                rel2.relative: 1.0 0.5;
25375                rel2.to: "bg";
25376                image {
25377                   normal: "bt_sm_hilight.png";
25378                   border: 6 6 6 0;
25379                }
25380             }
25381             description { state: "selected" 0.0;
25382                inherit: "default" 0.0;
25383                visible: 1;
25384                color: 255 255 255 255;
25385             }
25386          }
25387          part { name: "fg2";
25388             clip_to: "disclip";
25389             mouse_events: 0;
25390             description { state: "default" 0.0;
25391                visible: 0;
25392                color: 255 255 255 0;
25393                rel1.to: "bg";
25394                rel2.to: "bg";
25395                image {
25396                   normal: "bt_sm_shine.png";
25397                   border: 6 6 6 0;
25398                }
25399             }
25400             description { state: "selected" 0.0;
25401                inherit: "default" 0.0;
25402                visible: 1;
25403                color: 255 255 255 255;
25404             }
25405          }
25406          // Transparent part between base parts and slidable parts
25407          part { name: "event_block_layer";
25408             type: RECT;
25409             clip_to: "disclip";
25410             mouse_events: 1;
25411             description { state: "default" 0.0;
25412                rel1.to: "base";
25413                rel2.to: "base";
25414                color: 0 0 0 0;
25415             }
25416             description { state: "repeat_events" 0.0;
25417                inherit: "default" 0.0;
25418                visible: 0;
25419             }
25420          }
25421          part { name: "pers";
25422             clip_to: "disclip";
25423             type: RECT;
25424             description { state: "default" 0.0;
25425                rel1.relative: 0.0 1.0;
25426             }
25427          }
25428          part { name: "elm.swallow.origin";
25429             clip_to: "disclip";
25430             type: SWALLOW;
25431             description { state: "default" 0.0;
25432                fixed: 1 0;
25433                align: 0.0 0.5;
25434             }
25435             description { state: "slide" 0.0;
25436                inherit: "default" 0.0;
25437                rel1.relative: 1 0;
25438                rel2.relative: 2 1;
25439             }
25440             description { state: "rotate" 0.0;
25441                inherit: "default" 0.0;
25442                map {
25443                   perspective: "pers";
25444                   on: 1;
25445                   smooth: 1;
25446                   perspective_on: 1;
25447                   backface_cull: 1;
25448                   rotation {
25449                      center: "pers";
25450                      x: 0.0;
25451                      y: 0.0;
25452                      z: 0.0;
25453                   }
25454                }
25455             }
25456             description { state: "rotate" 1.0;
25457                inherit: "default" 0.0;
25458                map {
25459                   perspective: "pers";
25460                   on: 1;
25461                   smooth: 1;
25462                   perspective_on: 1;
25463                   backface_cull: 1;
25464                   rotation {
25465                      center: "pers";
25466                      x: 90.0;
25467                      y: 0.0;
25468                      z: 0.0;
25469                   }
25470                }
25471             }
25472          }
25473          part { name: "disclip";
25474             type: RECT;
25475             description { state: "default" 0.0;
25476                rel1.to: "bg";
25477                rel2.to: "bg";
25478             }
25479             description { state: "disabled" 0.0;
25480                inherit: "default" 0.0;
25481                color: 255 255 255 64;
25482             }
25483          }
25484       }
25485       programs {
25486          program {
25487             name:    "go_active";
25488             signal:  "elm,state,selected";
25489             source:  "elm";
25490             action:  STATE_SET "selected" 0.0;
25491             target:  "bg";
25492             target:  "fg1";
25493             target:  "fg2";
25494          }
25495          program {
25496             name:    "go_passive";
25497             signal:  "elm,state,unselected";
25498             source:  "elm";
25499             action:  STATE_SET "default" 0.0;
25500             target:  "bg";
25501             target:  "fg1";
25502             target:  "fg2";
25503             transition: LINEAR 0.1;
25504          }
25505          program {
25506             name:    "go_disabled";
25507             signal:  "elm,state,disabled";
25508             source:  "elm";
25509             action:  STATE_SET "disabled" 0.0;
25510             target:  "disclip";
25511          }
25512          program {
25513             name:    "go_enabled";
25514             signal:  "elm,state,enabled";
25515             source:  "elm";
25516             action:  STATE_SET "default" 0.0;
25517             target:  "disclip";
25518          }
25519          program {
25520             name:    "slide_right";
25521             signal:  "elm,state,slide,active";
25522             source:  "elm";
25523             action:  STATE_SET "slide" 0.0;
25524             target:  "elm.swallow.origin";
25525             transition: ACCELERATE 0.5;
25526             after:   "unblock_event";
25527          }
25528          program {
25529             name:    "unblock_event";
25530             action:  STATE_SET "repeat_events" 0.0;
25531             target:  "event_block_layer";
25532          }
25533          program {
25534             name:    "slide_left";
25535             signal:  "elm,state,slide,passive";
25536             source:  "elm";
25537             action:  STATE_SET "default" 0.0;
25538             target:   "event_block_layer";
25539             after:   "slide_left2";
25540          }
25541          program {
25542             name:    "slide_left2";
25543             action:  STATE_SET "default" 0.0;
25544             target:  "elm.swallow.origin";
25545             transition: DECELERATE 0.5;
25546             after:   "slide_left_finished";
25547          }
25548          program {
25549             name:    "slide_left_finished";
25550             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25551          }
25552          program {
25553             name:    "rotate_on";
25554             signal:  "elm,state,rotate,active";
25555             source:  "elm";
25556             action:  STATE_SET "rotate" 0.0;
25557             target:  "elm.swallow.origin";
25558             after:   "rotate_on2";
25559          }
25560          program {
25561             name:    "rotate_on2";
25562             action:  STATE_SET "rotate" 1.0;
25563             target:  "elm.swallow.origin";
25564             transition: LINEAR 0.5;
25565             after:   "unblock_event";
25566          }
25567          program {
25568             name:    "rotate_off";
25569             signal:  "elm,state,rotate,passive";
25570             source:  "elm";
25571             action:  STATE_SET "default" 0.0;
25572             target:  "event_block_layer";
25573             after:   "rotate_off2";
25574          }
25575          program {
25576             name:    "rotate_off2";
25577             action:  STATE_SET "rotate" 0.0;
25578             transition: LINEAR 0.5;
25579             target:  "elm.swallow.origin";
25580             after:   "rotate_off3";
25581          }
25582          program {
25583             name:    "rotate_off3";
25584             action:  STATE_SET "default" 0.0;
25585             target:  "elm.swallow.origin";
25586             after:   "rotate_off_finished";
25587          }
25588          program {
25589             name:    "rotate_off_finished";
25590             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25591          }
25592       }
25593    }
25594
25595 ///////////////////////////////////////////////////////////////////////////////
25596    group { name: "elm/pager/base/default";
25597       data.item: "onshow" "raise";
25598 // other options
25599 //      data.item: "onhide" "lower";
25600 //      data.item: "onshow" "lower";
25601       images {
25602          image: "frame_1.png" COMP;
25603          image: "frame_2.png" COMP;
25604          image: "dia_grad.png" COMP;
25605       }
25606       parts {
25607          part { name: "clip";
25608             type: RECT;
25609             mouse_events: 0;
25610             description { state: "default" 0.0;
25611                rel1 {
25612                   to: "base";
25613                   offset: -9999 -9999;
25614                }
25615                rel2 {
25616                   to: "base";
25617                   offset: 9999 9999;
25618                }
25619                color: 255 255 255 255;
25620             }
25621             description { state: "visible" 0.0;
25622                inherit: "default" 0.0;
25623             }
25624             description { state: "hidden" 0.0;
25625                inherit: "default" 0.0;
25626                color: 255 255 255 0;
25627                visible: 0;
25628             }
25629          }
25630          part { name: "base0";
25631             mouse_events:  0;
25632             clip_to: "clip";
25633             description { state: "default" 0.0;
25634                image.normal: "dia_grad.png";
25635                rel1.to: "over";
25636                rel2.to: "over";
25637                fill {
25638                   smooth: 0;
25639                   size {
25640                      relative: 0.0 1.0;
25641                      offset: 64 0;
25642                   }
25643                }
25644             }
25645          }
25646          part { name: "base";
25647             mouse_events:  0;
25648             clip_to: "clip";
25649             description { state: "default" 0.0;
25650                image {
25651                   normal: "frame_2.png";
25652                   border: 5 5 32 26;
25653                   middle: 0;
25654                }
25655                fill.smooth : 0;
25656             }
25657             description { state: "hidden" 0.0;
25658                inherit: "default" 0.0;
25659                rel1.relative: -1.0 0.0;
25660                rel2.relative: 0.0 1.0;
25661             }
25662             description { state: "visible" 0.0;
25663                inherit: "default" 0.0;
25664                rel1.relative: 0.0 0.0;
25665                rel2.relative: 1.0 1.0;
25666             }
25667          }
25668          part { name: "over";
25669             mouse_events:  0;
25670             clip_to: "clip";
25671             description { state:    "default" 0.0;
25672                rel1 {
25673                   to: "base";
25674                   offset: 4 4;
25675                }
25676                rel2 {
25677                   to: "base";
25678                   offset: -5 -5;
25679                }
25680                image {
25681                   normal: "frame_1.png";
25682                   border: 2 2 28 22;
25683                   middle: 0;
25684                }
25685                fill.smooth : 0;
25686             }
25687          }
25688          part { name: "elm.swallow.content";
25689             type: SWALLOW;
25690             clip_to: "clip";
25691             description { state: "default" 0.0;
25692                rel1 {
25693                   to: "base";
25694                   offset: 8 8;
25695                }
25696                rel2 {
25697                   to: "base";
25698                   offset: -9 -9;
25699                }
25700             }
25701          }
25702       }
25703       programs {
25704          program { name: "push_start";
25705             signal: "elm,action,push";
25706             source: "elm";
25707             action:  STATE_SET "hidden" 0.0;
25708             target: "base";
25709             target: "clip";
25710             after: "show_start2";
25711          }
25712          program { name: "show_start";
25713             signal: "elm,action,show";
25714             source: "elm";
25715             action:  STATE_SET "hidden" 0.0;
25716             target: "base";
25717             target: "clip";
25718             after: "show_start2";
25719          }
25720          program { name: "show_start2";
25721             action:  STATE_SET "visible" 0.0;
25722             transition: DECELERATE 0.5;
25723             target: "base";
25724             target: "clip";
25725             after: "show_end";
25726          }
25727          program { name: "show_end";
25728             action: SIGNAL_EMIT "elm,action,show,finished" "";
25729          }
25730          program { name: "pop_start";
25731             signal: "elm,action,pop";
25732             source: "elm";
25733             action:  STATE_SET "visible" 0.0;
25734             target: "base";
25735             target: "clip";
25736             after: "hide_start2";
25737          }
25738          program { name: "hide_start";
25739             signal: "elm,action,hide";
25740             source: "elm";
25741             action:  STATE_SET "visible" 0.0;
25742             target: "base";
25743             target: "clip";
25744             after: "hide_start2";
25745          }
25746          program { name: "hide_start2";
25747             action:  STATE_SET "hidden" 0.0;
25748             transition: DECELERATE 0.5;
25749             target: "base";
25750             target: "clip";
25751             after: "hide_end";
25752          }
25753          program { name: "hide_end";
25754             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25755          }
25756          program { name: "reset";
25757             signal: "elm,action,reset";
25758             source: "elm";
25759             action:  STATE_SET "default" 0.0;
25760             target: "base";
25761             target: "clip";
25762          }
25763       }
25764    }
25765
25766    group { name: "elm/pager/base/slide";
25767       images {
25768          image: "frame_1.png" COMP;
25769          image: "frame_2.png" COMP;
25770          image: "dia_grad.png" COMP;
25771       }
25772       parts {
25773          part { name: "clip";
25774             type: RECT;
25775             mouse_events: 0;
25776             description { state: "default" 0.0;
25777                rel1 {
25778                   to: "base";
25779                   offset: -9999 -9999;
25780                }
25781                rel2 {
25782                   to: "base";
25783                   offset: 9999 9999;
25784                }
25785                color: 255 255 255 255;
25786             }
25787             description { state: "visible" 0.0;
25788                inherit: "default" 0.0;
25789             }
25790             description { state: "hidden" 0.0;
25791                inherit: "default" 0.0;
25792                color: 255 255 255 0;
25793                visible: 0;
25794             }
25795             description { state: "hidden2" 0.0;
25796                inherit: "default" 0.0;
25797                color: 255 255 255 0;
25798                visible: 0;
25799             }
25800          }
25801          part { name: "base0";
25802             mouse_events:  0;
25803             clip_to: "clip";
25804             description { state: "default" 0.0;
25805                image.normal: "dia_grad.png";
25806                rel1.to: "over";
25807                rel2.to: "over";
25808                fill {
25809                   smooth: 0;
25810                   size {
25811                      relative: 0.0 1.0;
25812                      offset: 64 0;
25813                   }
25814                }
25815             }
25816          }
25817          part { name: "base";
25818             mouse_events:  0;
25819             clip_to: "clip";
25820             description { state: "default" 0.0;
25821                image {
25822                   normal: "frame_2.png";
25823                   border: 5 5 32 26;
25824                   middle: 0;
25825                }
25826                fill.smooth : 0;
25827             }
25828             description { state: "hidden" 0.0;
25829                inherit: "default" 0.0;
25830                rel1.relative: -1.0 0.0;
25831                rel2.relative: 0.0 1.0;
25832             }
25833             description { state: "hidden2" 0.0;
25834                inherit: "default" 0.0;
25835                rel1.relative: 1.0 0.0;
25836                rel2.relative: 2.0 1.0;
25837             }
25838             description { state: "visible" 0.0;
25839                inherit: "default" 0.0;
25840                rel1.relative: 0.0 0.0;
25841                rel2.relative: 1.0 1.0;
25842             }
25843          }
25844          part { name: "over";
25845             mouse_events:  0;
25846             clip_to: "clip";
25847             description { state:    "default" 0.0;
25848                rel1 {
25849                   to: "base";
25850                   offset: 4 4;
25851                }
25852                rel2 {
25853                   to: "base";
25854                   offset: -5 -5;
25855                }
25856                image {
25857                   normal: "frame_1.png";
25858                   border: 2 2 28 22;
25859                   middle: 0;
25860                }
25861                fill.smooth : 0;
25862             }
25863          }
25864          part { name: "elm.swallow.content";
25865             type: SWALLOW;
25866             clip_to: "clip";
25867             description { state: "default" 0.0;
25868                rel1 {
25869                   to: "base";
25870                   offset: 8 8;
25871                }
25872                rel2 {
25873                   to: "base";
25874                   offset: -9 -9;
25875                }
25876             }
25877          }
25878       }
25879       programs {
25880          program { name: "push_start";
25881             signal: "elm,action,push";
25882             source: "elm";
25883             action:  STATE_SET "hidden2" 0.0;
25884             target: "base";
25885             target: "clip";
25886             after: "show_start2";
25887          }
25888          program { name: "show_start";
25889             signal: "elm,action,show";
25890             source: "elm";
25891             action:  STATE_SET "hidden" 0.0;
25892             target: "base";
25893             target: "clip";
25894             after: "show_start2";
25895          }
25896          program { name: "show_start2";
25897             action:  STATE_SET "visible" 0.0;
25898             transition: DECELERATE 0.5;
25899             target: "base";
25900             target: "clip";
25901             after: "show_end";
25902          }
25903          program { name: "show_end";
25904             action: SIGNAL_EMIT "elm,action,show,finished" "";
25905          }
25906          program { name: "pop_start";
25907             signal: "elm,action,pop";
25908             source: "elm";
25909             action:  STATE_SET "visible" 0.0;
25910             target: "base";
25911             target: "clip";
25912             after: "pop_start2";
25913          }
25914          program { name: "pop_start2";
25915             action:  STATE_SET "hidden2" 0.0;
25916             transition: DECELERATE 0.5;
25917             target: "base";
25918             target: "clip";
25919             after: "hide_end";
25920          }
25921          program { name: "hide_start";
25922             signal: "elm,action,hide";
25923             source: "elm";
25924             action:  STATE_SET "visible" 0.0;
25925             target: "base";
25926             target: "clip";
25927             after: "hide_start2";
25928          }
25929          program { name: "hide_start2";
25930             action:  STATE_SET "hidden" 0.0;
25931             transition: DECELERATE 0.5;
25932             target: "base";
25933             target: "clip";
25934             after: "hide_end";
25935          }
25936          program { name: "hide_end";
25937             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25938          }
25939          program { name: "reset";
25940             signal: "elm,action,reset";
25941             source: "elm";
25942             action:  STATE_SET "default" 0.0;
25943             target: "base";
25944             target: "clip";
25945          }
25946       }
25947    }
25948    group { name: "elm/pager/base/slide_invisible";
25949       parts {
25950          part { name: "clip";
25951             type: RECT;
25952             mouse_events: 0;
25953             description { state: "default" 0.0;
25954                rel1 {
25955                   to: "base";
25956                   offset: -9999 -9999;
25957             }
25958                rel2 {
25959                   to: "base";
25960                   offset: 9999 9999;
25961                }
25962                color: 255 255 255 255;
25963             }
25964             description { state: "visible" 0.0;
25965                inherit: "default" 0.0;
25966             }
25967             description { state: "hidden" 0.0;
25968                inherit: "default" 0.0;
25969                color: 255 255 255 0;
25970                visible: 0;
25971             }
25972             description { state: "hidden2" 0.0;
25973                inherit: "default" 0.0;
25974                color: 255 255 255 0;
25975                visible: 0;
25976             }
25977          }
25978          part { name: "base";
25979             type: RECT;
25980             mouse_events:  0;
25981             clip_to: "clip";
25982             description { state: "default" 0.0;
25983                color: 0 0 0 0;
25984             }
25985             description { state: "hidden" 0.0;
25986                color: 0 0 0 0;
25987                rel1.relative: -1.0 0.0;
25988                rel2.relative: 0.0 1.0;
25989             }
25990             description { state: "hidden2" 0.0;
25991                color: 0 0 0 0;
25992                rel1.relative: 1.0 0.0;
25993                rel2.relative: 2.0 1.0;
25994             }
25995             description { state: "visible" 0.0;
25996                color: 0 0 0 0;
25997                rel1.relative: 0.0 0.0;
25998                rel2.relative: 1.0 1.0;
25999             }
26000          }
26001          part { name: "elm.swallow.content";
26002             type: SWALLOW;
26003             clip_to: "clip";
26004             description { state: "default" 0.0;
26005                rel1.to: "base";
26006                rel2.to: "base";
26007             }
26008          }
26009       }
26010       programs {
26011          program { name: "push_start";
26012             signal: "elm,action,push";
26013             source: "elm";
26014             action:  STATE_SET "hidden2" 0.0;
26015             target: "base";
26016             target: "clip";
26017             after: "show_start2";
26018          }
26019          program { name: "show_start";
26020             signal: "elm,action,show";
26021             source: "elm";
26022             action:  STATE_SET "hidden" 0.0;
26023             target: "base";
26024             target: "clip";
26025             after: "show_start2";
26026          }
26027          program { name: "show_start2";
26028             action:  STATE_SET "visible" 0.0;
26029             transition: DECELERATE 0.5;
26030             target: "base";
26031             target: "clip";
26032             after: "show_end";
26033          }
26034          program { name: "show_end";
26035             action: SIGNAL_EMIT "elm,action,show,finished" "";
26036          }
26037          program { name: "pop_start";
26038             signal: "elm,action,pop";
26039             source: "elm";
26040             action:  STATE_SET "visible" 0.0;
26041             target: "base";
26042             target: "clip";
26043             after: "pop_start2";
26044          }
26045          program { name: "pop_start2";
26046             action:  STATE_SET "hidden2" 0.0;
26047             transition: DECELERATE 0.5;
26048             target: "base";
26049             target: "clip";
26050             after: "hide_end";
26051          }
26052          program { name: "hide_start";
26053             signal: "elm,action,hide";
26054             source: "elm";
26055             action:  STATE_SET "visible" 0.0;
26056             target: "base";
26057             target: "clip";
26058             after: "hide_start2";
26059          }
26060          program { name: "hide_start2";
26061             action:  STATE_SET "hidden" 0.0;
26062             transition: DECELERATE 0.5;
26063             target: "base";
26064             target: "clip";
26065             after: "hide_end";
26066          }
26067          program { name: "hide_end";
26068             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26069          }
26070          program { name: "reset";
26071             signal: "elm,action,reset";
26072             source: "elm";
26073             action:  STATE_SET "default" 0.0;
26074             target: "base";
26075             target: "clip";
26076          }
26077       }
26078    }
26079
26080    group { name: "elm/pager/base/fade";
26081        data.item: "onshow" "raise";
26082        // other options
26083        //      data.item: "onhide" "lower";
26084        //      data.item: "onshow" "lower";
26085        images {
26086            image: "frame_1.png" COMP;
26087            image: "frame_2.png" COMP;
26088            image: "dia_grad.png" COMP;
26089        }
26090        parts {
26091            part { name: "clip_base";
26092                type: RECT;
26093                mouse_events: 0;
26094                description { state: "default" 0.0;
26095                    rel1 {
26096                        to: "base";
26097                        offset: -9999 -9999;
26098                    }
26099                    rel2 {
26100                        to: "base";
26101                        offset: 9999 9999;
26102                    }
26103                    color: 255 255 255 120;
26104                }
26105                description { state: "visible" 0.0;
26106                    inherit: "default" 0.0;
26107                }
26108                description { state: "hidden" 0.0;
26109                    inherit: "default" 0.0;
26110                    color: 255 255 255 0;
26111                    visible: 0;
26112                }
26113            }
26114            part { name: "clip";
26115                type: RECT;
26116                mouse_events: 0;
26117                description { state: "default" 0.0;
26118                    rel1 {
26119                        to: "base";
26120                        offset: -9999 -9999;
26121                    }
26122                    rel2 {
26123                        to: "base";
26124                        offset: 9999 9999;
26125                    }
26126                    color: 255 255 255 255;
26127                }
26128                description { state: "visible" 0.0;
26129                    inherit: "default" 0.0;
26130                }
26131                description { state: "hidden" 0.0;
26132                    inherit: "default" 0.0;
26133                    color: 255 255 255 0;
26134                    visible: 0;
26135                }
26136            }
26137            part { name: "base0";
26138                mouse_events:  0;
26139                clip_to: "clip_base";
26140                description { state: "default" 0.0;
26141                    image.normal: "dia_grad.png";
26142                    rel1.to: "over";
26143                    rel2.to: "over";
26144                    fill {
26145                        smooth: 0;
26146                        size {
26147                            relative: 0.0 1.0;
26148                            offset: 64 0;
26149                        }
26150                    }
26151                }
26152            }
26153            part { name: "base";
26154                mouse_events:  0;
26155                clip_to: "clip_base";
26156                description { state: "default" 0.0;
26157                    image {
26158                        normal: "frame_2.png";
26159                        border: 5 5 32 26;
26160                        middle: 0;
26161                    }
26162                    fill.smooth : 0;
26163                }
26164            }
26165            part { name: "over";
26166                mouse_events:  0;
26167                clip_to: "clip";
26168                description { state:    "default" 0.0;
26169                    rel1 {
26170                        to: "base";
26171                        offset: 4 4;
26172                    }
26173                    rel2 {
26174                        to: "base";
26175                        offset: -5 -5;
26176                    }
26177                    image {
26178                        normal: "frame_1.png";
26179                        border: 2 2 28 22;
26180                        middle: 0;
26181                    }
26182                    fill.smooth : 0;
26183                }
26184            }
26185            part { name: "elm.swallow.content";
26186                type: SWALLOW;
26187                clip_to: "clip";
26188                description { state: "default" 0.0;
26189                    rel1 {
26190                        to: "base";
26191                        offset: 8 8;
26192                    }
26193                    rel2 {
26194                        to: "base";
26195                        offset: -9 -9;
26196                    }
26197                }
26198            }
26199        }
26200        programs {
26201            program { name: "push_start";
26202                signal: "elm,action,push";
26203                source: "elm";
26204                action:  STATE_SET "hidden" 0.0;
26205                target: "clip";
26206                target: "clip_base";
26207                after: "show_start2";
26208            }
26209            program { name: "show_start";
26210                signal: "elm,action,show";
26211                source: "elm";
26212                action:  STATE_SET "hidden" 0.0;
26213                target: "clip";
26214                target: "clip_base";
26215                after: "show_start2";
26216            }
26217            program { name: "show_start2";
26218                action:  STATE_SET "visible" 0.0;
26219                transition: DECELERATE 0.5;
26220                target: "clip";
26221                target: "clip_base";
26222                after: "show_end";
26223            }
26224            program { name: "show_end";
26225                action: SIGNAL_EMIT "elm,action,show,finished" "";
26226            }
26227            program { name: "pop_start";
26228                signal: "elm,action,pop";
26229                source: "elm";
26230                action:  STATE_SET "visible" 0.0;
26231                target: "clip";
26232                target: "clip_base";
26233                after: "hide_start2";
26234            }
26235            program { name: "hide_start";
26236                signal: "elm,action,hide";
26237                source: "elm";
26238                action:  STATE_SET "visible" 0.0;
26239                target: "clip";
26240                target: "clip_base";
26241                after: "hide_start2";
26242            }
26243            program { name: "hide_start2";
26244                action:  STATE_SET "hidden" 0.0;
26245                transition: DECELERATE 0.5;
26246                target: "clip";
26247                target: "clip_base";
26248                after: "hide_end";
26249            }
26250            program { name: "hide_end";
26251                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26252            }
26253            program { name: "reset";
26254                signal: "elm,action,reset";
26255                source: "elm";
26256                action:  STATE_SET "default" 0.0;
26257                target: "clip_base";
26258                target: "clip";
26259            }
26260        }
26261    }
26262    group { name: "elm/pager/base/fade_translucide";
26263        data.item: "onshow" "raise";
26264        // other options
26265        //      data.item: "onhide" "lower";
26266        //      data.item: "onshow" "lower";
26267        images {
26268            image: "frame_1.png" COMP;
26269            image: "frame_2.png" COMP;
26270            image: "dia_grad.png" COMP;
26271        }
26272        parts {
26273            part { name: "clip_base";
26274                type: RECT;
26275                mouse_events: 0;
26276                description { state: "default" 0.0;
26277                    rel1 {
26278                        to: "base";
26279                        offset: -9999 -9999;
26280                    }
26281                    rel2 {
26282                        to: "base";
26283                        offset: 9999 9999;
26284                    }
26285                    color: 255 255 255 120;
26286                }
26287                description { state: "visible" 0.0;
26288                    inherit: "default" 0.0;
26289                }
26290                description { state: "hidden" 0.0;
26291                    inherit: "default" 0.0;
26292                    color: 255 255 255 0;
26293                    visible: 0;
26294                }
26295            }
26296            part { name: "clip";
26297                type: RECT;
26298                mouse_events: 0;
26299                description { state: "default" 0.0;
26300                    rel1 {
26301                        to: "base";
26302                        offset: -9999 -9999;
26303                    }
26304                    rel2 {
26305                        to: "base";
26306                        offset: 9999 9999;
26307                    }
26308                    color: 255 255 255 255;
26309                }
26310                description { state: "visible" 0.0;
26311                    inherit: "default" 0.0;
26312                }
26313                description { state: "hidden" 0.0;
26314                    inherit: "default" 0.0;
26315                    color: 255 255 255 0;
26316                    visible: 0;
26317                }
26318            }
26319            part { name: "base0";
26320                mouse_events:  0;
26321                clip_to: "clip_base";
26322                description { state: "default" 0.0;
26323                    image.normal: "dia_grad.png";
26324                    rel1.to: "over";
26325                    rel2.to: "over";
26326                    fill {
26327                        smooth: 0;
26328                        size {
26329                            relative: 0.0 1.0;
26330                            offset: 64 0;
26331                        }
26332                    }
26333                }
26334            }
26335            part { name: "base";
26336                mouse_events:  0;
26337                clip_to: "clip_base";
26338                description { state: "default" 0.0;
26339                    image {
26340                        normal: "frame_2.png";
26341                        border: 5 5 32 26;
26342                        middle: 0;
26343                    }
26344                    fill.smooth : 0;
26345                }
26346            }
26347            part { name: "over";
26348                mouse_events:  0;
26349                clip_to: "clip";
26350                description { state:    "default" 0.0;
26351                    rel1 {
26352                        to: "base";
26353                        offset: 4 4;
26354                    }
26355                    rel2 {
26356                        to: "base";
26357                        offset: -5 -5;
26358                    }
26359                    image {
26360                        normal: "frame_1.png";
26361                        border: 2 2 28 22;
26362                        middle: 0;
26363                    }
26364                    fill.smooth : 0;
26365                }
26366            }
26367            part { name: "elm.swallow.content";
26368                type: SWALLOW;
26369                clip_to: "clip";
26370                description { state: "default" 0.0;
26371                    rel1 {
26372                        to: "base";
26373                        offset: 8 8;
26374                    }
26375                    rel2 {
26376                        to: "base";
26377                        offset: -9 -9;
26378                    }
26379                }
26380            }
26381        }
26382        programs {
26383            program { name: "push_start";
26384                signal: "elm,action,push";
26385                source: "elm";
26386                action:  STATE_SET "hidden" 0.0;
26387                target: "clip";
26388                target: "clip_base";
26389                after: "show_start2";
26390            }
26391            program { name: "show_start";
26392                signal: "elm,action,show";
26393                source: "elm";
26394                action:  STATE_SET "hidden" 0.0;
26395                target: "clip";
26396                target: "clip_base";
26397                after: "show_start2";
26398            }
26399            program { name: "show_start2";
26400                action:  STATE_SET "visible" 0.0;
26401                transition: DECELERATE 0.5;
26402                target: "clip";
26403                target: "clip_base";
26404                after: "show_end";
26405            }
26406            program { name: "show_end";
26407                action: SIGNAL_EMIT "elm,action,show,finished" "";
26408            }
26409            program { name: "pop_start";
26410                signal: "elm,action,pop";
26411                source: "elm";
26412                action:  STATE_SET "visible" 0.0;
26413                target: "clip";
26414                target: "clip_base";
26415                after: "hide_start2";
26416            }
26417            program { name: "hide_start";
26418                signal: "elm,action,hide";
26419                source: "elm";
26420                action:  STATE_SET "visible" 0.0;
26421                target: "clip";
26422                target: "clip_base";
26423                after: "hide_start2";
26424            }
26425            program { name: "hide_start2";
26426                action:  STATE_SET "hidden" 0.0;
26427                transition: DECELERATE 0.5;
26428                target: "clip";
26429                target: "clip_base";
26430                after: "hide_end";
26431            }
26432            program { name: "hide_end";
26433                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26434            }
26435            program { name: "reset";
26436                signal: "elm,action,reset";
26437                source: "elm";
26438                action:  STATE_SET "default" 0.0;
26439                target: "clip_base";
26440                target: "clip";
26441            }
26442        }
26443    }
26444    group { name: "elm/pager/base/fade_invisible";
26445        data.item: "onshow" "raise";
26446        // other options
26447        //      data.item: "onhide" "lower";
26448        //      data.item: "onshow" "lower";
26449        parts {
26450            part { name: "clip";
26451                type: RECT;
26452                mouse_events: 0;
26453                description { state: "default" 0.0;
26454                    rel1 {
26455                        offset: -9999 -9999;
26456                    }
26457                    rel2 {
26458                        offset: 9999 9999;
26459                    }
26460                    color: 255 255 255 255;
26461                }
26462                description { state: "visible" 0.0;
26463                    inherit: "default" 0.0;
26464                }
26465                description { state: "hidden" 0.0;
26466                    inherit: "default" 0.0;
26467                    color: 255 255 255 0;
26468                    visible: 0;
26469                }
26470            }
26471            part { name: "elm.swallow.content";
26472                type: SWALLOW;
26473                clip_to: "clip";
26474                description { state: "default" 0.0;
26475                    rel1 {
26476                        offset: 8 8;
26477                    }
26478                    rel2 {
26479                        offset: -9 -9;
26480                    }
26481                }
26482            }
26483        }
26484        programs {
26485            program { name: "push_start";
26486                signal: "elm,action,push";
26487                source: "elm";
26488                action:  STATE_SET "hidden" 0.0;
26489                target: "clip";
26490                after: "show_start2";
26491            }
26492            program { name: "show_start";
26493                signal: "elm,action,show";
26494                source: "elm";
26495                action:  STATE_SET "hidden" 0.0;
26496                target: "clip";
26497                after: "show_start2";
26498            }
26499            program { name: "show_start2";
26500                action:  STATE_SET "visible" 0.0;
26501                transition: DECELERATE 0.5;
26502                target: "clip";
26503                after: "show_end";
26504            }
26505            program { name: "show_end";
26506                action: SIGNAL_EMIT "elm,action,show,finished" "";
26507            }
26508            program { name: "pop_start";
26509                signal: "elm,action,pop";
26510                source: "elm";
26511                action:  STATE_SET "visible" 0.0;
26512                target: "clip";
26513                after: "hide_start2";
26514            }
26515            program { name: "hide_start";
26516                signal: "elm,action,hide";
26517                source: "elm";
26518                action:  STATE_SET "visible" 0.0;
26519                target: "clip";
26520                after: "hide_start2";
26521            }
26522            program { name: "hide_start2";
26523                action:  STATE_SET "hidden" 0.0;
26524                transition: DECELERATE 0.5;
26525                target: "clip";
26526                after: "hide_end";
26527            }
26528            program { name: "hide_end";
26529                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26530            }
26531            program { name: "reset";
26532                signal: "elm,action,reset";
26533                source: "elm";
26534                action:  STATE_SET "default" 0.0;
26535                target: "clip";
26536            }
26537        }
26538    }
26539
26540    group { name: "elm/pager/base/flip";
26541       data.item: "onshow" "raise";
26542       images {
26543          image: "frame_1.png" COMP;
26544          image: "frame_2.png" COMP;
26545          image: "dia_grad.png" COMP;
26546       }
26547       parts {
26548          part { name: "elm.swallow.content";
26549             type: SWALLOW;
26550             description { state: "default" 0.0;
26551                map {
26552                   on: 1;
26553                   smooth: 1;
26554                   backface_cull: 1;
26555                   perspective_on: 1;
26556                }
26557                perspective {
26558                   zplane: 0;
26559                   focal: 1000;
26560                }
26561             }
26562             description { state: "hidden" 0.0;
26563                inherit: "default" 0.0;
26564                visible: 0;
26565                map.rotation.y: 90.0;
26566             }
26567             description { state: "before_hidden" 0.0;
26568                inherit: "default" 0.0;
26569                visible: 0;
26570                map.rotation.y: -90.0;
26571             }
26572          }
26573       }
26574       programs {
26575          program { name: "push_start";
26576             signal: "elm,action,push";
26577             source: "elm";
26578             after: "push1";
26579          }
26580          program { name: "push1";
26581             action:  STATE_SET "hidden" 0.0;
26582             target: "elm.swallow.content";
26583             after: "push2";
26584          }
26585          program { name: "push2";
26586             action:  STATE_SET "default" 0.0;
26587             in: 0.5 0.0;
26588             transition: LINEAR 0.5;
26589             target: "elm.swallow.content";
26590             after: "push3";
26591          }
26592          program { name: "push3";
26593             action: SIGNAL_EMIT "elm,action,show,finished" "";
26594          }
26595
26596          program { name: "show_start";
26597             signal: "elm,action,show";
26598             source: "elm";
26599             after: "show1";
26600          }
26601          program { name: "show1";
26602             action:  STATE_SET "before_hidden" 0.0;
26603             target: "elm.swallow.content";
26604             after: "show2";
26605          }
26606          program { name: "show2";
26607             action:  STATE_SET "default" 0.0;
26608             in: 0.5 0.0;
26609             transition: LINEAR 0.5;
26610             target: "elm.swallow.content";
26611             after: "show3";
26612          }
26613          program { name: "show3";
26614             action: SIGNAL_EMIT "elm,action,show,finished" "";
26615          }
26616
26617          program { name: "pop_start";
26618             signal: "elm,action,pop";
26619             source: "elm";
26620             after: "pop1";
26621          }
26622          program { name: "pop1";
26623             action:  STATE_SET "default" 0.0;
26624             target: "elm.swallow.content";
26625             after: "pop2";
26626          }
26627          program { name: "pop2";
26628             action:  STATE_SET "hidden" 0.0;
26629             transition: LINEAR 0.5;
26630             target: "elm.swallow.content";
26631             after: "pop3";
26632          }
26633          program { name: "pop3";
26634             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26635          }
26636
26637          program { name: "hide_start";
26638             signal: "elm,action,hide";
26639             source: "elm";
26640             after: "hide1";
26641          }
26642          program { name: "hide1";
26643             action:  STATE_SET "default" 0.0;
26644             target: "elm.swallow.content";
26645             after: "hide2";
26646          }
26647          program { name: "hide2";
26648             action:  STATE_SET "before_hidden" 0.0;
26649             transition: LINEAR 0.5;
26650             target: "elm.swallow.content";
26651             after: "hide3";
26652          }
26653          program { name: "hide3";
26654             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26655          }
26656
26657          program { name: "reset";
26658             signal: "elm,action,reset";
26659             source: "elm";
26660             action:  STATE_SET "default" 0.0;
26661             target: "elm.swallow.content";
26662          }
26663       }
26664    }
26665
26666
26667
26668 ///////////////////////////////////////////////////////////////////////////////
26669 // FIXME: this doesn't look too hot. need to fix it up
26670    group { name: "elm/progressbar/horizontal/default";
26671       images {
26672          image: "shelf_inset.png" COMP;
26673          image: "bt_sm_base2.png" COMP;
26674          image: "bt_sm_hilight.png" COMP;
26675          image: "bt_sm_shine.png" COMP;
26676       }
26677       parts {
26678          part { name: "elm.background.progressbar";
26679             type: RECT;
26680             mouse_events: 0;
26681             description {
26682                state: "default" 0.0;
26683                rel1 {
26684                   relative: 0.0 0.0;
26685                   offset: 0 0;
26686                }
26687                rel2 {
26688                   relative: 1.0 1.0;
26689                }
26690             }
26691          }
26692          part { name: "elm.swallow.bar";
26693             mouse_events: 0;
26694             type: SWALLOW;
26695             description {
26696                min: 48 28;
26697                max: 99999 28;
26698                state: "default" 0.0;
26699                rel1 {
26700                   to_x: "elm.text";
26701                   to_y: "elm.background.progressbar";
26702                   relative: 1.0 0.0;
26703                }
26704                rel2 {
26705                   to: "elm.background.progressbar";
26706                   relative: 1.0 1.0;
26707                }
26708             }
26709          }
26710          part { name: "elm.swallow.content";
26711             type: SWALLOW;
26712             description { state: "default" 0.0;
26713                visible: 0;
26714                align: 0.0 0.5;
26715                rel1 {
26716                   offset: 4 0;
26717                   to_y: "elm.background.progressbar";
26718                }
26719                rel2 {
26720                   offset: 3 -1;
26721                   relative: 0.0 1.0;
26722                   to_y: "elm.background.progressbar";
26723                }
26724             }
26725             description { state: "visible" 0.0;
26726                inherit: "default" 0.0;
26727                visible: 1;
26728                aspect: 1.0 1.0;
26729                aspect_preference: VERTICAL;
26730                rel2.offset: 4 -1;
26731             }
26732          }
26733          part { name: "elm.text";
26734             type: TEXT;
26735             mouse_events: 0;
26736             scale: 1;
26737             description { state: "default" 0.0;
26738                visible: 0;
26739                fixed: 1 1;
26740                align: 0.0 0.5;
26741                rel1.to_x: "elm.swallow.content";
26742                rel1.relative: 1.0 0.0;
26743                rel1.offset: -1 4;
26744                rel2.to_x: "elm.swallow.content";
26745                rel2.relative: 1.0 1.0;
26746                rel2.offset: -1 -5;
26747                color: 0 0 0 255;
26748                text {
26749                   font: "Sans,Edje-Vera";
26750                   size: 10;
26751                   min: 0 0;
26752                   align: 0.0 0.5;
26753                }
26754             }
26755             description { state: "visible" 0.0;
26756                inherit: "default" 0.0;
26757                visible: 1;
26758                text.min: 1 1;
26759                rel1.offset: 0 4;
26760                rel2.offset: 0 -5;
26761             }
26762          }
26763
26764          part { name: "background";
26765             mouse_events: 0;
26766             clip_to: "elm.background.progressbar";
26767             description {
26768                state: "default" 0.0;
26769                rel1 {
26770                   to: "elm.swallow.bar";
26771                   relative: 0.0 0.0;
26772                }
26773                rel2 {
26774                   to: "elm.swallow.bar";
26775                   relative: 1.0 1.0;
26776                   offset: -1 -1;
26777                }
26778                image {
26779                   normal: "shelf_inset.png";
26780                   border: 7 7 7 7;
26781                }
26782             }
26783          }
26784
26785          part { name: "elm.text.status";
26786             type: TEXT;
26787             mouse_events: 0;
26788             description { state: "default" 0.0;
26789                fixed: 1 1;
26790                visible: 1;
26791                rel1 {
26792                   to: "background";
26793                   relative: 0.5 0.5;
26794                }
26795                rel2 {
26796                   to: "background";
26797                   relative: 0.5 0.5;
26798                }
26799                text {
26800                   font: "Sans:style=Bold,Edje-Vera-Bold";
26801                   size: 10;
26802                   min: 1 1;
26803                   align: 0.5 0.0;
26804                }
26805                color: 0 0 0 255;
26806             }
26807             description { state: "hidden" 0.0;
26808                inherit: "default" 0.0;
26809                visible: 0;
26810                text.min: 0 0;
26811             }
26812          }
26813
26814          part { name: "elm.progress.progressbar";
26815             mouse_events: 0;
26816             clip_to: "elm.background.progressbar";
26817             description {
26818                state: "default" 0.0;
26819                min: 14 28;
26820                fixed: 1 1;
26821                rel1 {
26822                   to: "elm.swallow.bar";
26823                   relative: 0.0 0.0;
26824                }
26825                rel2 {
26826                   to_y: "elm.swallow.bar";
26827                   to_x: "elm.cur.progressbar";
26828                   offset: -1 -1;
26829                }
26830                image {
26831                   normal: "bt_sm_base2.png";
26832                   border: 6 6 6 6;
26833                }
26834             }
26835             description {
26836                state: "invert" 0.0;
26837                inherit: "default" 0.0;
26838                rel1 {
26839                   to_y: "elm.swallow.bar";
26840                   to_x: "elm.cur.progressbar";
26841                }
26842                rel2 {
26843                   to: "elm.swallow.bar";
26844                   relative: 1.0 1.0;
26845                }
26846             }
26847             description {
26848                state: "state_begin" 0.0;
26849                inherit: "default" 0.0;
26850                rel1 {
26851                   to: "elm.swallow.bar";
26852                   relative: 0.0 0.0;
26853                }
26854                rel2 {
26855                   to: "elm.swallow.bar";
26856                   relative: 0.1 1.0;
26857                }
26858             }
26859             description {
26860                state: "state_end" 0.0;
26861                inherit: "default" 0.0;
26862                rel1 {
26863                   to: "elm.swallow.bar";
26864                   relative: 0.9 0.0;
26865                }
26866                rel2 {
26867                   to: "elm.swallow.bar";
26868                   relative: 1.0 1.0;
26869                }
26870             }
26871          }
26872          part { name: "text-bar";
26873             type: TEXT;
26874             mouse_events: 0;
26875             clip_to: "progress-rect";
26876             effect: SOFT_SHADOW;
26877             scale: 1;
26878             description { state: "default" 0.0;
26879                align: 0.0 0.0;
26880                fixed: 1 1;
26881                visible: 1;
26882                rel1.to: "elm.text.status";
26883                rel1.offset: -1 -1;
26884                rel2.to: "elm.text.status";
26885                text {
26886                   text_source: "elm.text.status";
26887                   font: "Sans:style=Bold,Edje-Vera-Bold";
26888                   size: 10;
26889                   min: 1 1;
26890                   align: 0.0 0.0;
26891                }
26892                color: 224 224 224 255;
26893                color3: 0 0 0 64;
26894             }
26895             description { state: "hidden" 0.0;
26896                inherit: "default" 0.0;
26897                visible: 0;
26898                text.min: 0 0;
26899             }
26900          }
26901
26902          part { name: "over1";
26903             mouse_events: 0;
26904             description { state: "default" 0.0;
26905                rel1.to: "elm.progress.progressbar";
26906                rel2.to: "elm.progress.progressbar";
26907                rel2.relative: 1.0 0.5;
26908                image {
26909                   normal: "bt_sm_hilight.png";
26910                   border: 6 6 6 0;
26911                }
26912             }
26913          }
26914
26915          part { name: "over2";
26916             mouse_events: 1;
26917             repeat_events: 1;
26918             description { state: "default" 0.0;
26919                rel1.to: "elm.progress.progressbar";
26920                rel2.to: "elm.progress.progressbar";
26921                image {
26922                   normal: "bt_sm_shine.png";
26923                   border: 6 6 6 0;
26924                }
26925             }
26926          }
26927
26928          part { name: "elm.cur.progressbar";
26929             mouse_events: 0;
26930             dragable {
26931                confine: "background";
26932                x: 1 1 1;
26933                y: 0 0 0;
26934             }
26935             description { state: "default" 0.0;
26936                min: 14 28;
26937                fixed: 1 1;
26938                visible: 0;
26939                rel1 {
26940                   to: "background";
26941                   relative: 0 0;
26942                }
26943                rel2.to: "background";
26944            }
26945          }
26946          part { name: "progress-rect";
26947             type: RECT;
26948             mouse_events: 0;
26949             description {
26950                state: "default" 0.0;
26951                rel1.to: "elm.progress.progressbar";
26952                rel2.to: "elm.progress.progressbar";
26953             }
26954          }
26955       }
26956       programs {
26957          program { name: "label_show";
26958             signal: "elm,state,text,visible";
26959             source: "elm";
26960             action:  STATE_SET "visible" 0.0;
26961             target: "elm.text";
26962          }
26963          program { name: "label_hide";
26964             signal: "elm,state,text,hidden";
26965             source: "elm";
26966             action:  STATE_SET "default" 0.0;
26967             target: "elm.text";
26968          }
26969          program { name: "icon_show";
26970             signal: "elm,state,icon,visible";
26971             source: "elm";
26972             action:  STATE_SET "visible" 0.0;
26973             target: "elm.swallow.content";
26974          }
26975          program { name: "icon_hide";
26976             signal: "elm,state,icon,hidden";
26977             source: "elm";
26978             action:  STATE_SET "default" 0.0;
26979             target: "elm.swallow.content";
26980          }
26981          program { name: "units_show";
26982             signal: "elm,state,units,visible";
26983             source: "elm";
26984             action:  STATE_SET "default" 0.0;
26985             target: "text-bar";
26986             target: "elm.text.status";
26987          }
26988          program { name: "units_hide";
26989             signal: "elm,state,units,hidden";
26990             source: "elm";
26991             action:  STATE_SET "hidden" 0.0;
26992             target: "text-bar";
26993             target: "elm.text.status";
26994          }
26995          program { name: "slide_to_end";
26996             action:  STATE_SET "state_end" 0.0;
26997             transition: LINEAR 0.5;
26998             target: "elm.progress.progressbar";
26999             after: "slide_to_begin";
27000          }
27001          program { name: "slide_to_begin";
27002             signal: "elm,state,slide,begin";
27003             action: STATE_SET "state_begin" 0.0;
27004             target: "elm.progress.progressbar";
27005             transition: LINEAR 0.5;
27006             after: "slide_to_end";
27007          }
27008          program { name: "start_pulse";
27009             signal: "elm,state,pulse,start";
27010             source: "elm";
27011             after: "slide_to_end";
27012          }
27013          program { name: "stop_pulse";
27014             signal: "elm,state,pulse,stop";
27015             source: "elm";
27016             action: ACTION_STOP;
27017             target: "slide_to_begin";
27018             target: "slide_to_end";
27019             target: "start_pulse";
27020             after: "state_pulse";
27021          }
27022          program { name: "state_pulse";
27023             signal: "elm,state,pulse";
27024             source: "elm";
27025             action: STATE_SET "state_begin" 0.0;
27026             target: "elm.progress.progressbar";
27027             after: "units_hide";
27028          }
27029          program { name: "state_fraction";
27030             signal: "elm,state,fraction";
27031             source: "elm";
27032             action: ACTION_STOP;
27033             target: "slide_to_begin";
27034             target: "slide_to_end";
27035             target: "start_pulse";
27036             action: STATE_SET "default" 0.0;
27037             target: "elm.progress.progressbar";
27038          }
27039          program { name: "set_invert_on";
27040             signal: "elm,state,inverted,on";
27041             source: "elm";
27042             action:  STATE_SET "invert" 0.0;
27043             target: "elm.progress.progressbar";
27044          }
27045          program { name: "set_invert_off";
27046             signal: "elm,state,inverted,off";
27047             source: "elm";
27048             action:  STATE_SET "default" 0.0;
27049             target: "elm.progress.progressbar";
27050          }
27051       }
27052    }
27053
27054 ///////////////////////////////////////////////////////////////////////////////
27055    group { name: "elm/progressbar/vertical/default";
27056       images {
27057          image: "shelf_inset.png" COMP;
27058          image: "bt_sm_base2.png" COMP;
27059          image: "bt_sm_hilight.png" COMP;
27060          image: "bt_sm_shine.png" COMP;
27061       }
27062       parts {
27063          part { name: "elm.background.progressbar";
27064             type: RECT;
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                   offset: -1 -1;
27075                }
27076             }
27077          }
27078          part { name: "elm.swallow.bar";
27079             type: SWALLOW;
27080             scale: 1;
27081             description { state: "default" 0.0;
27082                min: 28 48;
27083                max: 28 9999;
27084                align: 0.5 1.0;
27085                rel1 {
27086                   to_y: "elm.text";
27087                   relative: 0.0 1.0;
27088                   offset: 0 2;
27089                }
27090                rel2 {
27091                   to_y: "elm.text.box";
27092                   relative: 1.0 0.0;
27093                   offset: -1 -3;
27094                }
27095             }
27096          }
27097          part { name: "elm.swallow.content";
27098             type: SWALLOW;
27099             description { state: "default" 0.0;
27100                visible: 0;
27101                align: 0.5 0.0;
27102                rel1 {
27103                   offset: 0 4;
27104                   to_x: "elm.swallow.bar";
27105                }
27106                rel2 {
27107                   offset: -1 3;
27108                   relative: 1.0 0.0;
27109                   to_x: "elm.swallow.bar";
27110                }
27111             }
27112             description { state: "visible" 0.0;
27113                inherit: "default" 0.0;
27114                visible: 1;
27115                aspect: 1.0 1.0;
27116                aspect_preference: HORIZONTAL;
27117                rel2.offset: -1 4;
27118             }
27119          }
27120          part { name: "elm.text";
27121             type: TEXT;
27122             mouse_events: 0;
27123             scale: 1;
27124             description { state: "default" 0.0;
27125                visible: 0;
27126                fixed: 1 1;
27127                align: 0.5 0.0;
27128                rel1.to_y: "elm.swallow.content";
27129                rel1.relative: 0.5 1.0;
27130                rel1.offset: 0 -1;
27131                rel2.to_y: "elm.swallow.content";
27132                rel2.relative: 0.5 1.0;
27133                rel2.offset: -1 -1;
27134                color: 0 0 0 255;
27135                text {
27136                   font: "Sans,Edje-Vera";
27137                   size: 10;
27138                   min: 0 0;
27139                   align: 0.5 0.0;
27140                }
27141             }
27142             description { state: "visible" 0.0;
27143                inherit: "default" 0.0;
27144                visible: 1;
27145                text.min: 1 1;
27146                rel1.offset: 4 0;
27147                rel2.offset: -5 0;
27148             }
27149          }
27150
27151          part { name: "background";
27152             mouse_events: 0;
27153             clip_to: "elm.background.progressbar";
27154             description {
27155                state: "default" 0.0;
27156                rel1 {
27157                   to: "elm.swallow.bar";
27158                   relative: 0.0 0.0;
27159                }
27160                rel2 {
27161                   to: "elm.swallow.bar";
27162                   relative: 1.0 1.0;
27163                   offset: -1 -1;
27164                }
27165                image {
27166                   normal: "shelf_inset.png";
27167                   border: 7 7 7 7;
27168                }
27169             }
27170          }
27171
27172          part { name: "elm.progress.progressbar";
27173             mouse_events: 0;
27174             clip_to: "elm.background.progressbar";
27175             description {
27176                state: "default" 0.0;
27177                min: 28 14;
27178                fixed: 1 1;
27179                rel1 {
27180                   to: "elm.swallow.bar";
27181                   relative: 0.0 0.0;
27182                }
27183                rel2 {
27184                   to_x: "elm.swallow.bar";
27185                   to_y: "elm.cur.progressbar";
27186                   offset: -1 -1;
27187                }
27188                image {
27189                   normal: "bt_sm_base2.png";
27190                   border: 6 6 6 6;
27191                }
27192             }
27193             description {
27194                state: "invert" 0.0;
27195                inherit: "default" 0.0;
27196                rel1 {
27197                   to_x: "elm.swallow.bar";
27198                   to_y: "elm.cur.progressbar";
27199                }
27200                rel2 {
27201                   to: "elm.swallow.bar";
27202                   relative: 1.0 1.0;
27203                }
27204             }
27205             description {
27206                state: "state_begin" 0.0;
27207                inherit: "default" 0.0;
27208                rel1 {
27209                   to: "elm.swallow.bar";
27210                   relative: 0.0 0.0;
27211                }
27212                rel2 {
27213                   to: "elm.swallow.bar";
27214                   relative: 1.0 0.1;
27215                }
27216             }
27217             description {
27218                state: "state_end" 0.0;
27219                inherit: "default" 0.0;
27220                rel1 {
27221                   to: "elm.swallow.bar";
27222                   relative: 0.0 0.9;
27223                }
27224                rel2 {
27225                   to: "elm.swallow.bar";
27226                   relative: 1.0 1.0;
27227                }
27228             }
27229          }
27230
27231          part { name: "over1";
27232             mouse_events: 0;
27233             description { state: "default" 0.0;
27234                rel1.to: "elm.progress.progressbar";
27235                rel2.to: "elm.progress.progressbar";
27236                rel2.relative: 1.0 0.5;
27237                image {
27238                   normal: "bt_sm_hilight.png";
27239                   border: 6 6 6 0;
27240                }
27241             }
27242          }
27243
27244          part { name: "over2";
27245             mouse_events: 1;
27246             repeat_events: 1;
27247             description { state: "default" 0.0;
27248                rel1.to: "elm.progress.progressbar";
27249                rel2.to: "elm.progress.progressbar";
27250                image {
27251                   normal: "bt_sm_shine.png";
27252                   border: 6 6 6 0;
27253                }
27254             }
27255          }
27256
27257          part { name: "elm.cur.progressbar";
27258             mouse_events: 0;
27259             dragable {
27260                confine: "background";
27261                x: 0 0 0;
27262                y: 1 1 1;
27263             }
27264             description { state: "default" 0.0;
27265                min: 28 14;
27266                fixed: 1 1;
27267                visible: 0;
27268                rel1 {
27269                   to: "background";
27270                   relative: 0 0;
27271                }
27272                rel2.to: "background";
27273            }
27274          }
27275
27276          part { name: "elm.text.box";
27277             mouse_events: 0;
27278             type: RECT;
27279             description { state: "default" 0.0;
27280                visible: 0;
27281                rel1 {
27282                   to: "elm.text.status";
27283                   offset: -2 -2;
27284                }
27285                rel2 {
27286                   to: "elm.text.status";
27287                   offset: 2 2;
27288                }
27289                color: 255 255 255 0;
27290             }
27291             description { state: "visible" 0.0;
27292                inherit: "default" 0.0;
27293                visible: 1;
27294             }
27295          }
27296          part { name: "elm.text.status";
27297             type: TEXT;
27298             mouse_events: 0;
27299             scale: 1;
27300             description { state: "default" 0.0;
27301                visible: 0;
27302                fixed: 1 1;
27303                align: 0.5 1.0;
27304                rel1.relative: 0.0 1.0;
27305                rel1.offset: 2 0;
27306                rel2.relative: 1.0 1.0;
27307                rel2.offset: -2 0;
27308                color: 0 0 0 255;
27309                text {
27310                   font: "Sans:style=Bold,Edje-Vera-Bold";
27311                   size: 10;
27312                   min: 0 0;
27313                   align: 0.5 0.0;
27314                }
27315             }
27316             description { state: "visible" 0.0;
27317                inherit: "default" 0.0;
27318                fixed: 1 1;
27319                visible: 1;
27320                text.min: 1 1;
27321                rel1.offset: 8 -9;
27322                rel2.offset: -9 -9;
27323             }
27324          }
27325       }
27326       programs {
27327          program { name: "label_show";
27328             signal: "elm,state,text,visible";
27329             source: "elm";
27330             action:  STATE_SET "visible" 0.0;
27331             target: "elm.text";
27332          }
27333          program { name: "label_hide";
27334             signal: "elm,state,text,hidden";
27335             source: "elm";
27336             action:  STATE_SET "default" 0.0;
27337             target: "elm.text";
27338          }
27339          program { name: "icon_show";
27340             signal: "elm,state,icon,visible";
27341             source: "elm";
27342             action:  STATE_SET "visible" 0.0;
27343             target: "elm.swallow.content";
27344          }
27345          program { name: "icon_hide";
27346             signal: "elm,state,icon,hidden";
27347             source: "elm";
27348             action:  STATE_SET "default" 0.0;
27349             target: "elm.swallow.content";
27350          }
27351          program { name: "units_show";
27352             signal: "elm,state,units,visible";
27353             source: "elm";
27354             action:  STATE_SET "visible" 0.0;
27355             target: "elm.text.status";
27356             target: "elm.text.box";
27357          }
27358          program { name: "units_hide";
27359             signal: "elm,state,units,hidden";
27360             source: "elm";
27361             action:  STATE_SET "default" 0.0;
27362             target: "elm.text.status";
27363             target: "elm.text.box";
27364          }
27365          program { name: "slide_to_end";
27366             action:  STATE_SET "state_end" 0.0;
27367             transition: LINEAR 0.5;
27368             target: "elm.progress.progressbar";
27369             after: "slide_to_begin";
27370          }
27371          program { name: "slide_to_begin";
27372             action:  STATE_SET "state_begin" 0.0;
27373             target: "elm.progress.progressbar";
27374             transition: LINEAR 0.5;
27375             after: "slide_to_end";
27376          }
27377          program { name: "start_pulse";
27378             signal: "elm,state,pulse,start";
27379             source: "elm";
27380             action: STATE_SET "state_begin" 0.0;
27381             target: "elm.progress.progressbar";
27382             after: "slide_to_end";
27383          }
27384          program { name: "stop_pulse";
27385             signal: "elm,state,pulse,stop";
27386             source: "elm";
27387             action: ACTION_STOP;
27388             target: "slide_to_begin";
27389             target: "slide_to_end";
27390             target: "start_pulse";
27391             after: "state_pulse";
27392          }
27393          program { name: "state_pulse";
27394             signal: "elm,state,pulse";
27395             source: "elm";
27396             action: STATE_SET "state_begin" 0.0;
27397             target: "elm.progress.progressbar";
27398             after: "units_hide";
27399          }
27400          program { name: "state_fraction";
27401             signal: "elm,state,fraction";
27402             source: "elm";
27403             action: ACTION_STOP;
27404             target: "slide_to_begin";
27405             target: "slide_to_end";
27406             target: "start_pulse";
27407             action: STATE_SET "default" 0.0;
27408             target: "elm.progress.progressbar";
27409          }
27410          program { name: "set_invert_on";
27411             signal: "elm,state,inverted,on";
27412             source: "elm";
27413             action:  STATE_SET "invert" 0.0;
27414             target: "elm.progress.progressbar";
27415             target: "elm.cur.progressbar";
27416          }
27417          program { name: "set_invert_off";
27418             signal: "elm,state,inverted,off";
27419             source: "elm";
27420             action:  STATE_SET "default" 0.0;
27421             target: "elm.progress.progressbar";
27422             target: "elm.cur.progressbar";
27423          }
27424       }
27425    }
27426
27427 ///////////////////////////////////////////////////////////////////////////////
27428    group { name: "elm/separator/horizontal/default";
27429        images {
27430            image: "separator_h.png" COMP;
27431        }
27432        parts {
27433            part { name: "separator"; // separator group
27434                description { state: "default" 0.0;
27435                    min: 2 2;
27436                    rel1.offset: 4 4;
27437                    rel2.offset: -5 -5;
27438                    image {
27439                        normal: "separator_h.png";
27440                    }
27441                    fill {
27442                        smooth: 0;
27443                    }
27444                }
27445            }
27446        }
27447    }
27448
27449    ///////////////////////////////////////////////////////////////////////////////
27450    group { name: "elm/separator/vertical/default";
27451        images {
27452            image: "separator_v.png" COMP;
27453        }
27454        parts {
27455            part { name: "separator"; // separator group
27456                description { state: "default" 0.0;
27457                    min: 2 2;
27458                    rel1.offset: 4 4;
27459                    rel2.offset: -5 -5;
27460                    image {
27461                        normal: "separator_v.png";
27462                    }
27463                    fill {
27464                        smooth: 0;
27465                    }
27466                }
27467            }
27468        }
27469    }
27470
27471    group { name: "elm/progressbar/horizontal/wheel";
27472        images {
27473            image: "busy-1.png" COMP;
27474            image: "busy-2.png" COMP;
27475            image: "busy-3.png" COMP;
27476            image: "busy-4.png" COMP;
27477            image: "busy-5.png" COMP;
27478            image: "busy-6.png" COMP;
27479            image: "busy-7.png" COMP;
27480            image: "busy-8.png" COMP;
27481            image: "busy-9.png" COMP;
27482        }
27483        parts {
27484            part { name: "elm.background.progressbar";
27485                mouse_events: 0;
27486                type: RECT;
27487                description {
27488                    state: "default" 0.0;
27489                }
27490            }
27491            part { name: "elm.swallow.bar";
27492                mouse_events: 0;
27493                type: SWALLOW;
27494                description { state: "default" 0.0;
27495                    min: 0 0;
27496                    max: 0 0;
27497                    visible: 0;
27498                }
27499            }
27500            part { name: "elm.swallow.content";
27501                type: SWALLOW;
27502                description { state: "default" 0.0;
27503                    min: 0 0;
27504                    max: 0 0;
27505                    visible: 0;
27506                }
27507            }
27508            part { name: "background";
27509                mouse_events: 0;
27510                clip_to: "elm.background.progressbar";
27511                description {
27512                    state: "default" 0.0;
27513                    min: 32 32;
27514                    max: 32 32;
27515                    visible: 1;
27516                    aspect: 1.0 1.0;
27517                    aspect_preference: BOTH;
27518                    image {
27519                        normal: "busy-9.png";
27520                        border: 7 7 7 7;
27521                    }
27522                }
27523                description {
27524                    state: "pulse" 0.0;
27525                    inherit: "default" 0.0;
27526                    image {
27527                        normal: "busy-9.png";
27528                        tween:  "busy-1.png";
27529                        tween:  "busy-2.png";
27530                        tween:  "busy-3.png";
27531                        tween:  "busy-4.png";
27532                        tween:  "busy-5.png";
27533                        tween:  "busy-6.png";
27534                        tween:  "busy-7.png";
27535                        tween:  "busy-8.png";
27536                        border: 7 7 7 7;
27537                    }
27538                }
27539            }
27540        }
27541        programs {
27542            program { name: "start_pulse";
27543                signal: "elm,state,pulse,start";
27544                source: "elm";
27545                action: STATE_SET "pulse" 0.0;
27546                target: "background";
27547                transition: LINEAR 0.5;
27548                after: "start_pulse";
27549            }
27550            program { name: "stop_pulse";
27551                signal: "elm,state,pulse,stop";
27552                source: "elm";
27553                action: STATE_SET "default" 0.0;
27554                target: "background";
27555            }
27556        }
27557    }
27558
27559
27560 ///////////////////////////////////////////////////////////////////////////////
27561    group { name: "elm/spinner/base/default";
27562        images {
27563            image: "shelf_inset.png" COMP;
27564            image: "bt_base1.png" COMP;
27565            image: "bt_hilight.png" COMP;
27566            image: "bt_shine.png" COMP;
27567            image: "bt_glow.png" COMP;
27568            image: "bt_dis_base.png" COMP;
27569            image: "bt_dis_hilight.png" COMP;
27570            image: "sp_bt_l.png" COMP;
27571            image: "sp_bt_r.png" COMP;
27572        }
27573        parts {
27574            part { name: "bg";
27575                type: RECT;
27576                description { state: "default" 0.0;
27577                    min: 0 30;
27578                    rel1.offset: 1 1;
27579                    rel2.offset: -2 -2;
27580                    color: 255 255 255 0;
27581                }
27582            }
27583            part { name: "conf_over";
27584                mouse_events:  0;
27585                description { state: "default" 0.0;
27586                    rel1.to: "bg";
27587                    rel2.to: "bg";
27588                    image {
27589                        normal: "shelf_inset.png";
27590                        border: 7 7 7 7;
27591                        middle: 0;
27592                    }
27593                    fill.smooth : 0;
27594                }
27595            }
27596            part { name: "left_bt";
27597                mouse_events:  1;
27598                description { state: "default" 0.0;
27599                    rel1 { to: "bg";
27600                        offset: 3 3;
27601                    }
27602                    rel2 { to: "bg";
27603                        offset: -4 -4;
27604                    }
27605                    align: 0.0 0.5;
27606                    min: 24 24;
27607                    aspect: 1.0 1.0;
27608                    aspect_preference: VERTICAL;
27609                    image {
27610                        normal: "bt_base1.png";
27611                        border: 6 6 6 6;
27612                    }
27613                    fill.smooth : 0;
27614                }
27615                description { state: "clicked" 0.0;
27616                    inherit: "default" 0.0;
27617                    image.normal: "bt_base1.png";
27618                    image.middle: SOLID;
27619                }
27620                description { state: "disabled" 0.0;
27621                    inherit:  "default" 0.0;
27622                    image {
27623                        normal: "bt_dis_base.png";
27624                        border: 4 4 4 4;
27625                    }
27626                }
27627            }
27628            part {          name: "left_over1";
27629                mouse_events: 0;
27630                description { state: "default" 0.0;
27631                    rel1.to: "left_bt";
27632                    rel2 { to: "left_bt";
27633                        relative: 1.0 0.5;
27634                    }
27635                    image {
27636                        normal: "bt_hilight.png";
27637                        border: 7 7 7 0;
27638                    }
27639                }
27640                description { state: "disabled" 0.0;
27641                    inherit:  "default" 0.0;
27642                    image {
27643                        normal: "bt_dis_hilight.png";
27644                        border: 4 4 4 0;
27645                    }
27646                }
27647            }
27648            part { name: "left_over2";
27649                mouse_events: 1;
27650                repeat_events: 1;
27651                ignore_flags: ON_HOLD;
27652                description { state: "default" 0.0;
27653                    rel1.to: "left_bt";
27654                    rel2.to: "left_bt";
27655                    image {
27656                        normal: "bt_shine.png";
27657                        border: 7 7 7 7;
27658                    }
27659                }
27660                description { state: "disabled" 0.0;
27661                    inherit:  "default" 0.0;
27662                    visible: 0;
27663                }
27664            }
27665            part { name: "left_over3";
27666                mouse_events: 1;
27667                repeat_events: 1;
27668                description { state: "default" 0.0;
27669                    color: 255 255 255 0;
27670                    rel1.to: "left_bt";
27671                    rel2.to: "left_bt";
27672                    image {
27673                        normal: "bt_glow.png";
27674                        border: 12 12 12 12;
27675                    }
27676                    fill.smooth : 0;
27677                }
27678                description { state: "clicked" 0.0;
27679                    inherit:  "default" 0.0;
27680                    visible: 1;
27681                    color: 255 255 255 255;
27682                }
27683            }
27684            part { name: "right_bt";
27685                mouse_events:  1;
27686                description { state: "default" 0.0;
27687                    rel1 { to: "bg";
27688                        offset: -26 3;
27689                    }
27690                    rel2 { to: "bg";
27691                        offset: -4 -4;
27692                    }
27693                    align: 1.0 0.5;
27694                    min: 24 24;
27695                    aspect: 1.0 1.0;
27696                    aspect_preference: VERTICAL;
27697                    image {
27698                        normal: "bt_base1.png";
27699                        border: 5 5 4 12;
27700                    }
27701                    fill.smooth : 0;
27702                }
27703                description { state: "clicked" 0.0;
27704                    inherit: "default" 0.0;
27705                    image.normal: "bt_base1.png";
27706                    image.middle: SOLID;
27707                }
27708                description { state: "disabled" 0.0;
27709                    inherit:  "default" 0.0;
27710                    image {
27711                        normal: "bt_dis_base.png";
27712                        border: 4 4 4 4;
27713                    }
27714                }
27715            }
27716            part { name: "right_over1";
27717                mouse_events: 0;
27718                description { state: "default" 0.0;
27719                    rel1.to: "right_bt";
27720                    rel2 { to: "right_bt";
27721                        relative: 1.0 0.5;
27722                    }
27723                    image {
27724                        normal: "bt_hilight.png";
27725                        border: 7 7 7 0;
27726                    }
27727                }
27728                description { state: "disabled" 0.0;
27729                    inherit:  "default" 0.0;
27730                    image {
27731                        normal: "bt_dis_hilight.png";
27732                        border: 4 4 4 0;
27733                    }
27734                }
27735            }
27736            part { name: "right_over2";
27737                mouse_events: 1;
27738                repeat_events: 1;
27739                ignore_flags: ON_HOLD;
27740                description { state: "default" 0.0;
27741                    rel1.to: "right_bt";
27742                    rel2.to: "right_bt";
27743                    image {
27744                        normal: "bt_shine.png";
27745                        border: 7 7 7 7;
27746                    }
27747                }
27748                description { state: "disabled" 0.0;
27749                    inherit:  "default" 0.0;
27750                    visible: 0;
27751                }
27752            }
27753            part { name: "right_over3";
27754                mouse_events: 1;
27755                repeat_events: 1;
27756                description { state: "default" 0.0;
27757                    color: 255 255 255 0;
27758                    rel1.to: "right_bt";
27759                    rel2.to: "right_bt";
27760                    image {
27761                        normal: "bt_glow.png";
27762                        border: 12 12 12 12;
27763                    }
27764                    fill.smooth : 0;
27765                }
27766                description { state: "clicked" 0.0;
27767                    inherit:  "default" 0.0;
27768                    visible: 1;
27769                    color: 255 255 255 255;
27770                }
27771            }
27772            part { name: "left_bt_icon";
27773                repeat_events: 1;
27774                description { state: "default" 0.0;
27775                    rel1.to: "left_bt";
27776                    rel1.offset: 4 4;
27777                    rel2.to: "left_bt";
27778                    rel2.offset: -5 -5;
27779                    align: 0.5 0.5;
27780                    min: 16 16;
27781                    aspect: 1.0 1.0;
27782                    aspect_preference: BOTH;
27783                    image.normal: "sp_bt_l.png";
27784                }
27785                description { state: "rtl" 0.0;
27786                    inherit: "default" 0.0;
27787                    image.normal: "sp_bt_r.png";
27788                }
27789            }
27790            part { name: "right_bt_icon";
27791                repeat_events: 1;
27792                description { state: "default" 0.0;
27793                    rel1.to: "right_bt";
27794                    rel1.offset: 4 4;
27795                    rel2.to: "right_bt";
27796                    rel2.offset: -5 -5;
27797                    align: 0.5 0.5;
27798                    min: 16 16;
27799                    aspect: 1.0 1.0;
27800                    aspect_preference: BOTH;
27801                    image.normal: "sp_bt_r.png";
27802                }
27803                description { state: "rtl" 0.0;
27804                    inherit: "default" 0.0;
27805                    image.normal: "sp_bt_l.png";
27806                }
27807            }
27808            part { name: "elm.text";
27809                type: TEXT;
27810                mouse_events: 0;
27811                scale: 1;
27812                description { state: "default" 0.0;
27813                    visible: 1;
27814                    align: 0.0 0.5;
27815                    rel1 { relative: 1.0 0.0;
27816                        offset: 3 2;
27817                        to_x: "left_bt";
27818                        to_y: "bg";
27819                    }
27820                    rel2 { relative: 0.0 1.0;
27821                        offset: -3 -2;
27822                        to_x: "right_bt";
27823                        to_y: "bg";
27824                    }
27825                    color: 0 0 0 255;
27826                    text {
27827                        font: "Sans,Edje-Vera";
27828                        size: 10;
27829                        min: 1 1;
27830                        align: 0.5 0.5;
27831                    }
27832                }
27833                description { state: "active" 0.0;
27834                    inherit: "default" 0.0;
27835                    visible: 0;
27836                }
27837                description { state: "disabled_active" 0.0;
27838                    inherit: "default" 0.0;
27839                    color: 0 0 0 128;
27840                    color3: 0 0 0 0;
27841                }
27842                description { state: "disabled" 0.0;
27843                    inherit: "default" 0.0;
27844                    color: 0 0 0 128;
27845                    color3: 0 0 0 0;
27846                }
27847            }
27848            part { name: "elm.dragable.slider";
27849                type: RECT;
27850                mouse_events: 0;
27851                scale: 1;
27852                dragable {
27853                    x: 1 1 0;
27854                    y: 0 0 0;
27855                }
27856                description { state: "default" 0.0;
27857                    rel1.to: "bg";
27858                    rel2.to: "bg";
27859                    fixed: 1 1;
27860                    color: 0 0 0 0;
27861                }
27862            }
27863            part { name: "button_events";
27864                type: RECT;
27865                dragable {
27866                    events: "elm.dragable.slider";
27867                }
27868                mouse_events: 1;
27869                description { state: "default" 0.0;
27870                    rel1.to: "elm.text";
27871                    rel2.to: "elm.text";
27872                    color: 0 0 0 0;
27873                }
27874            }
27875            part { name: "elm.swallow.entry";
27876                type: SWALLOW;
27877                description { state: "default" 0.0;
27878                    visible: 0;
27879                    align: 0.5 0.5;
27880                    rel1 { relative: 1.0 0.5;
27881                        offset: 3 2;
27882                        to_x: "left_bt";
27883                        to_y: "bg";
27884                    }
27885                    rel2 { relative: 0.0 0.5;
27886                        offset: -3 -2;
27887                        to_x: "right_bt";
27888                        to_y: "bg";
27889                    }
27890                    fixed: 1 1;
27891                    color: 0 0 0 0;
27892                }
27893                description { state: "active" 0.0;
27894                    inherit: "default" 0.0;
27895                    visible: 1;
27896                    color: 255 255 255 255;
27897                }
27898                description { state: "disabled_active" 0.0;
27899                    inherit: "default" 0.0;
27900                    visible: 0;
27901                }
27902                description { state: "disabled" 0.0;
27903                    inherit: "default" 0.0;
27904                    visible: 0;
27905                }
27906            }
27907            part { name: "disabler";
27908                type: RECT;
27909                description { state: "default" 0.0;
27910                    color: 0 0 0 0;
27911                    visible: 0;
27912                }
27913                description { state: "disabled" 0.0;
27914                    inherit: "default" 0.0;
27915                    visible: 1;
27916                }
27917            }
27918        }
27919        programs {
27920            program { name: "text_show";
27921                signal: "elm,state,text,visible";
27922                source: "elm";
27923                action:  STATE_SET "visible" 0.0;
27924                target: "elm.text";
27925            }
27926            program { name: "text_hide";
27927                signal: "elm,state,text,hidden";
27928                source: "elm";
27929                action:  STATE_SET "default" 0.0;
27930                target: "elm.text";
27931            }
27932            program { name: "dec";
27933                signal: "mouse,down,1";
27934                source: "left_bt";
27935                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27936            }
27937            program { name: "dec2";
27938                signal: "mouse,up,1";
27939                source: "left_bt";
27940                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27941            }
27942            program { name: "inc";
27943                signal: "mouse,down,1";
27944                source: "right_bt";
27945                action: SIGNAL_EMIT "elm,action,increment,start" "";
27946            }
27947            program { name: "inc2";
27948                signal: "mouse,up,1";
27949                source: "right_bt";
27950                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27951            }
27952            program {
27953                name:   "left_bt_click";
27954                signal: "mouse,down,1";
27955                source: "left_over2";
27956                action: STATE_SET "clicked" 0.0;
27957                target: "left_bt";
27958            }
27959            program {
27960                name:   "left_bt_unclick";
27961                signal: "mouse,up,1";
27962                source: "left_over2";
27963                action: STATE_SET "default" 0.0;
27964                target: "left_bt";
27965            }
27966            program {
27967                name:   "left_bt_click2";
27968                signal: "mouse,down,1";
27969                source: "left_over3";
27970                action: STATE_SET "clicked" 0.0;
27971                target: "left_over3";
27972            }
27973            program {
27974                name:   "left_bt_unclick2";
27975                signal: "mouse,up,1";
27976                source: "left_over3";
27977                action: STATE_SET "default" 0.0;
27978                transition: DECELERATE 0.5;
27979                target: "left_over3";
27980            }
27981            program {
27982                name:   "left_bt_unclick3";
27983                signal: "mouse,up,1";
27984                source: "left_over2";
27985                action: SIGNAL_EMIT "elm,action,click" "";
27986            }
27987            program {
27988                name:   "left_bt_pressed_anim";
27989                signal: "elm,left,anim,activate";
27990                source: "elm";
27991                action: STATE_SET "clicked" 0.0;
27992                target: "left_bt";
27993                target: "left_over3";
27994                after: "left_bt_unpressed_anim";
27995            }
27996            program {
27997                name:   "left_bt_unpressed_anim";
27998                action: STATE_SET "default" 0.0;
27999                transition: DECELERATE 0.5;
28000                target: "left_bt";
28001                target: "left_over3";
28002            }
28003
28004            program {
28005                name:   "right_bt_click";
28006                signal: "mouse,down,1";
28007                source: "right_over2";
28008                action: STATE_SET "clicked" 0.0;
28009                target: "right_bt";
28010            }
28011            program {
28012                name:   "right_bt_unclick";
28013                signal: "mouse,up,1";
28014                source: "right_over2";
28015                action: STATE_SET "default" 0.0;
28016                target: "right_bt";
28017            }
28018            program {
28019                name:   "right_bt_click2";
28020                signal: "mouse,down,1";
28021                source: "right_over3";
28022                action: STATE_SET "clicked" 0.0;
28023                target: "right_over3";
28024            }
28025            program {
28026                name:   "right_bt_unclick2";
28027                signal: "mouse,up,1";
28028                source: "right_over3";
28029                action: STATE_SET "default" 0.0;
28030                transition: DECELERATE 0.5;
28031                target: "right_over3";
28032            }
28033            program {
28034                name:   "right_bt_unclick3";
28035                signal: "mouse,up,1";
28036                source: "right_over2";
28037                action: SIGNAL_EMIT "elm,action,click" "";
28038            }
28039            program {
28040                name:   "right_bt_pressed_anim";
28041                signal: "elm,right,anim,activate";
28042                source: "elm";
28043                action: STATE_SET "clicked" 0.0;
28044                target: "right_bt";
28045                target: "right_over3";
28046                after: "right_bt_unpressed_anim";
28047            }
28048            program {
28049                name:   "right_bt_unpressed_anim";
28050                action: STATE_SET "default" 0.0;
28051                transition: DECELERATE 0.5;
28052                target: "right_bt";
28053                target: "right_over3";
28054            }
28055
28056            program { name: "disable";
28057                signal: "elm,state,disabled";
28058                source: "elm";
28059                action: STATE_SET "disabled" 0.0;
28060                target: "left_bt";
28061                target: "left_over1";
28062                target: "left_over2";
28063                target: "right_bt";
28064                target: "right_over1";
28065                target: "right_over2";
28066                target: "disabler";
28067                after: "disable_text";
28068            }
28069            program { name: "disable_text";
28070                script {
28071                    new st[31];
28072                    new Float:vl;
28073                    get_state(PART:"elm.text", st, 30, vl);
28074                    if (!strcmp(st, "active"))
28075                    set_state(PART:"elm.text", "disabled_active", 0.0);
28076                    else
28077                    set_state(PART:"elm.text", "disabled", 0.0);
28078
28079                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28080                    if (!strcmp(st, "active"))
28081                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28082                    else
28083                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28084                }
28085            }
28086            program { name: "enable";
28087                signal: "elm,state,enabled";
28088                source: "elm";
28089                action: STATE_SET "default" 0.0;
28090                target: "left_bt";
28091                target: "left_over1";
28092                target: "left_over2";
28093                target: "right_bt";
28094                target: "right_over1";
28095                target: "right_over2";
28096                target: "disabler";
28097                after: "enable_text";
28098            }
28099            program { name: "enable_text";
28100                script {
28101                    new st[31];
28102                    new Float:vl;
28103                    get_state(PART:"elm.text", st, 30, vl);
28104                    if (!strcmp(st, "disabled_active"))
28105                    set_state(PART:"elm.text", "active", 0.0);
28106                    else
28107                    set_state(PART:"elm.text", "default", 0.0);
28108
28109                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28110                    if (!strcmp(st, "disabled_active"))
28111                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28112                    else
28113                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28114                }
28115            }
28116            program { name: "active";
28117                signal: "elm,state,active";
28118                source: "elm";
28119                action: STATE_SET "active" 0.0;
28120                target: "elm.text";
28121                target: "elm.swallow.entry";
28122            }
28123            program { name: "inactive";
28124                signal: "elm,state,inactive";
28125                source: "elm";
28126                action: STATE_SET "default" 0.0;
28127                target: "elm.text";
28128                target: "elm.swallow.entry";
28129            }
28130            program { name: "toggle_text";
28131                signal: "mouse,up,1";
28132                source: "button_events";
28133                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28134            }
28135            program { name: "to_rtl";
28136                signal: "edje,state,rtl";
28137                source: "edje";
28138                action: STATE_SET "rtl" 0.0;
28139                target: "right_bt_icon";
28140                target: "left_bt_icon";
28141            }
28142            program { name: "to_ltr";
28143                signal: "edje,state,ltr";
28144                source: "edje";
28145                action: STATE_SET "default" 0.0;
28146                target: "right_bt_icon";
28147                target: "left_bt_icon";
28148            }
28149        }
28150    }
28151
28152 ///////////////////////////////////////////////////////////////////////////////
28153    group { name: "elm/spinner/base/vertical";
28154        images {
28155            image: "shelf_inset.png" COMP;
28156            image: "bt_hilight.png" COMP;
28157            image: "bt_shine.png" COMP;
28158            image: "bt_glow.png" COMP;
28159            image: "bt_dis_base.png" COMP;
28160            image: "bt_dis_hilight.png" COMP;
28161            image: "up.png" COMP;
28162            image: "down.png" COMP;
28163            image: "bt_spinner_up.png" COMP;
28164            image: "bt_spinner_down.png" COMP;
28165            image: "bt_spinner_hilight.png" COMP;
28166        }
28167        parts {
28168            part { name: "bg";
28169                type: RECT;
28170                description { state: "default" 0.0;
28171                    min: 0 30;
28172                    rel1.offset: 1 1;
28173                    rel2.offset: -2 -2;
28174                    color: 255 255 255 0;
28175                }
28176            }
28177            part { name: "conf_over";
28178                mouse_events:  0;
28179                description { state: "default" 0.0;
28180                    rel1 {
28181                      to: "bg";
28182                      relative: 0.0 0.0;
28183                    }
28184                    rel2 {
28185                       to: "bg";
28186                    }
28187                    image {
28188                        normal: "shelf_inset.png";
28189                        border: 7 7 7 7;
28190                        middle: 0;
28191                    }
28192                    fill.smooth : 0;
28193                }
28194            }
28195            part { name: "down_bt";
28196                mouse_events:  1;
28197                description { state: "default" 0.0;
28198                    fixed: 1 1;
28199                    rel1 {
28200                        to: "up_bt";
28201                        relative: 0 1;
28202                        offset: 0 1;
28203                    }
28204                    rel2 {
28205                        to_y: "bg";
28206                        to_x: "up_bt";
28207                        relative: 1 1;
28208                        offset: -1 -4;
28209                    }
28210                    align: 1.0 0.5;
28211                    min: 24 16;
28212                    image {
28213                        normal: "bt_spinner_down.png";
28214                        border: 6 6 6 6;
28215                    }
28216                    fill.smooth : 0;
28217                }
28218                description { state: "clicked" 0.0;
28219                    inherit: "default" 0.0;
28220                    image.normal: "bt_spinner_down.png";
28221                    image.middle: SOLID;
28222                }
28223                description { state: "disabled" 0.0;
28224                    inherit:  "default" 0.0;
28225                    image {
28226                        normal: "bt_dis_base.png";
28227                        border: 4 4 4 4;
28228                    }
28229                }
28230            }
28231            part { name: "down_over3";
28232                mouse_events: 1;
28233                repeat_events: 1;
28234                description { state: "default" 0.0;
28235                    color: 255 255 255 0;
28236                    rel1.to: "down_bt";
28237                    rel2.to: "down_bt";
28238                    image {
28239                        normal: "bt_glow.png";
28240                        border: 12 12 12 12;
28241                    }
28242                    fill.smooth : 0;
28243                }
28244                description { state: "clicked" 0.0;
28245                    inherit:  "default" 0.0;
28246                    visible: 1;
28247                    color: 255 255 255 255;
28248                }
28249            }
28250            part { name: "up_bt";
28251                mouse_events:  1;
28252                description { state: "default" 0.0;
28253                    fixed: 1 0;
28254                    rel1 { to: "bg";
28255                        relative: 0 0;
28256                        offset: 0 2;
28257                    }
28258                    rel2 { to: "bg";
28259                        relative: 1 0.5;
28260                        offset: -3 0;
28261                    }
28262                    align: 1.0 0.5;
28263                    min: 24 16;
28264                    aspect: 1.5 1.0;
28265                    aspect_preference: BOTH;
28266                    image {
28267                        normal: "bt_spinner_up.png";
28268                        border: 6 6 6 6;
28269                    }
28270                    fill.smooth : 0;
28271                }
28272                description { state: "clicked" 0.0;
28273                    inherit: "default" 0.0;
28274                    image.normal: "bt_spinner_up.png";
28275                    image.middle: SOLID;
28276                }
28277                description { state: "disabled" 0.0;
28278                    inherit:  "default" 0.0;
28279                    image {
28280                        normal: "bt_dis_base.png";
28281                        border: 4 4 4 4;
28282                    }
28283                }
28284            }
28285            part { name: "up_over1";
28286                mouse_events: 0;
28287                description { state: "default" 0.0;
28288                    rel1.to: "up_bt";
28289                    rel2 { to: "up_bt";
28290                        relative: 1.0 0.5;
28291                    }
28292                    image {
28293                        normal: "bt_spinner_hilight.png";
28294                        border: 7 7 7 0;
28295                    }
28296                }
28297                description { state: "disabled" 0.0;
28298                    inherit:  "default" 0.0;
28299                    image {
28300                        normal: "bt_dis_hilight.png";
28301                        border: 4 4 4 0;
28302                    }
28303                }
28304            }
28305            part { name: "up_over3";
28306                mouse_events: 1;
28307                repeat_events: 1;
28308                description { state: "default" 0.0;
28309                    color: 255 255 255 0;
28310                    rel1.to: "up_bt";
28311                    rel2.to: "up_bt";
28312                    image {
28313                        normal: "bt_glow.png";
28314                        border: 12 12 12 12;
28315                    }
28316                    fill.smooth : 0;
28317                }
28318                description { state: "clicked" 0.0;
28319                    inherit:  "default" 0.0;
28320                    visible: 1;
28321                    color: 255 255 255 255;
28322                }
28323            }
28324            part { name: "down_bt_icon";
28325                repeat_events: 1;
28326                description { state: "default" 0.0;
28327                    rel1.to: "down_bt";
28328                    rel1.offset: 5 3;
28329                    rel2.to: "down_bt";
28330                    rel2.offset: -6 -3;
28331                    align: 0.5 0.5;
28332                    image.normal: "down.png";
28333                }
28334            }
28335            part { name: "up_bt_icon";
28336                repeat_events: 1;
28337                description { state: "default" 0.0;
28338                    rel1.to: "up_bt";
28339                    rel1.offset: 5 3;
28340                    rel2.to: "up_bt";
28341                    rel2.offset: -6 -3;
28342                    align: 0.5 0.5;
28343                    image.normal: "up.png";
28344                }
28345            }
28346            part { name: "elm.text";
28347                type: TEXT;
28348                mouse_events: 0;
28349                scale: 1;
28350                description { state: "default" 0.0;
28351                    visible: 1;
28352                    align: 0.0 0.5;
28353                    rel1 { relative: 0.0 0.0;
28354                        offset: 3 2;
28355                        to_x: "bg";
28356                        to_y: "bg";
28357                    }
28358                    rel2 { relative: 0.0 1.0;
28359                        offset: -3 -2;
28360                        to_x: "down_bt";
28361                        to_y: "bg";
28362                    }
28363                    color: 0 0 0 255;
28364                    text {
28365                        font: "Sans,Edje-Vera";
28366                        size: 10;
28367                        min: 1 1;
28368                        align: 0.5 0.5;
28369                    }
28370                }
28371                description { state: "active" 0.0;
28372                    inherit: "default" 0.0;
28373                    visible: 0;
28374                }
28375                description { state: "disabled_active" 0.0;
28376                    inherit: "default" 0.0;
28377                    color: 0 0 0 128;
28378                    color3: 0 0 0 0;
28379                }
28380                description { state: "disabled" 0.0;
28381                    inherit: "default" 0.0;
28382                    color: 0 0 0 128;
28383                    color3: 0 0 0 0;
28384                }
28385            }
28386            part { name: "elm.dragable.slider";
28387                type: RECT;
28388                mouse_events: 0;
28389                scale: 1;
28390                dragable {
28391                    x: 1 1 0;
28392                    y: 0 0 0;
28393                }
28394                description { state: "default" 0.0;
28395                    rel1.to: "bg";
28396                    rel2.to: "bg";
28397                    fixed: 1 1;
28398                    color: 0 0 0 0;
28399                }
28400            }
28401            part { name: "button_events";
28402                type: RECT;
28403                dragable {
28404                    events: "elm.dragable.slider";
28405                }
28406                mouse_events: 1;
28407                description { state: "default" 0.0;
28408                    rel1.to: "elm.text";
28409                    rel2.to: "elm.text";
28410                    color: 0 0 0 0;
28411                }
28412            }
28413            part { name: "elm.swallow.entry";
28414                type: SWALLOW;
28415                description { state: "default" 0.0;
28416                    visible: 0;
28417                    align: 0.5 0.5;
28418                    rel1 { relative: 0.0 0.5;
28419                        offset: 3 2;
28420                        to: "bg";
28421                    }
28422                    rel2 { relative: 1.0 0.5;
28423                        offset: -3 -2;
28424                        to: "bg";
28425                    }
28426                    fixed: 1 1;
28427                    color: 0 0 0 0;
28428                }
28429                description { state: "active" 0.0;
28430                    inherit: "default" 0.0;
28431                    visible: 1;
28432                    color: 255 255 255 255;
28433                }
28434                description { state: "disabled_active" 0.0;
28435                    inherit: "default" 0.0;
28436                    visible: 0;
28437                }
28438                description { state: "disabled" 0.0;
28439                    inherit: "default" 0.0;
28440                    visible: 0;
28441                }
28442            }
28443            part { name: "disabler";
28444                type: RECT;
28445                description { state: "default" 0.0;
28446                    color: 0 0 0 0;
28447                    visible: 0;
28448                }
28449                description { state: "disabled" 0.0;
28450                    inherit: "default" 0.0;
28451                    visible: 1;
28452                }
28453            }
28454        }
28455        programs {
28456            program { name: "text_show";
28457                signal: "elm,state,text,visible";
28458                source: "elm";
28459                action:  STATE_SET "visible" 0.0;
28460                target: "elm.text";
28461            }
28462            program { name: "text_hide";
28463                signal: "elm,state,text,hidden";
28464                source: "elm";
28465                action:  STATE_SET "default" 0.0;
28466                target: "elm.text";
28467            }
28468            program { name: "dec";
28469                signal: "mouse,down,1";
28470                source: "down_bt";
28471                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28472            }
28473            program { name: "dec2";
28474                signal: "mouse,up,1";
28475                source: "down_bt";
28476                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28477            }
28478            program { name: "inc";
28479                signal: "mouse,down,1";
28480                source: "up_bt";
28481                action: SIGNAL_EMIT "elm,action,increment,start" "";
28482            }
28483            program { name: "inc2";
28484                signal: "mouse,up,1";
28485                source: "up_bt";
28486                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28487            }
28488            program {
28489                name:   "down_bt_click2";
28490                signal: "mouse,down,1";
28491                source: "down_over3";
28492                action: STATE_SET "clicked" 0.0;
28493                target: "down_over3";
28494            }
28495            program {
28496                name:   "down_bt_unclick2";
28497                signal: "mouse,up,1";
28498                source: "down_over3";
28499                action: STATE_SET "default" 0.0;
28500                transition: DECELERATE 0.5;
28501                target: "down_over3";
28502            }
28503            program {
28504                name:   "up_bt_click2";
28505                signal: "mouse,down,1";
28506                source: "up_over3";
28507                action: STATE_SET "clicked" 0.0;
28508                target: "up_over3";
28509            }
28510            program {
28511                name:   "up_bt_unclick2";
28512                signal: "mouse,up,1";
28513                source: "up_over3";
28514                action: STATE_SET "default" 0.0;
28515                transition: DECELERATE 0.5;
28516                target: "up_over3";
28517            }
28518            program { name: "disable";
28519                signal: "elm,state,disabled";
28520                source: "elm";
28521                action: STATE_SET "disabled" 0.0;
28522                target: "down_bt";
28523                target: "up_bt";
28524                target: "disabler";
28525                after: "disable_text";
28526            }
28527            program { name: "disable_text";
28528                script {
28529                    new st[31];
28530                    new Float:vl;
28531                    get_state(PART:"elm.text", st, 30, vl);
28532                    if (!strcmp(st, "active"))
28533                    set_state(PART:"elm.text", "disabled_active", 0.0);
28534                    else
28535                    set_state(PART:"elm.text", "disabled", 0.0);
28536
28537                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28538                    if (!strcmp(st, "active"))
28539                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28540                    else
28541                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28542                }
28543            }
28544            program { name: "enable";
28545                signal: "elm,state,enabled";
28546                source: "elm";
28547                action: STATE_SET "default" 0.0;
28548                target: "down_bt";
28549                target: "up_bt";
28550                target: "disabler";
28551                after: "enable_text";
28552            }
28553            program { name: "enable_text";
28554                script {
28555                    new st[31];
28556                    new Float:vl;
28557                    get_state(PART:"elm.text", st, 30, vl);
28558                    if (!strcmp(st, "disabled_active"))
28559                    set_state(PART:"elm.text", "active", 0.0);
28560                    else
28561                    set_state(PART:"elm.text", "default", 0.0);
28562
28563                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28564                    if (!strcmp(st, "disabled_active"))
28565                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28566                    else
28567                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28568                }
28569            }
28570            program { name: "active";
28571                signal: "elm,state,active";
28572                source: "elm";
28573                action: STATE_SET "active" 0.0;
28574                target: "elm.text";
28575                target: "elm.swallow.entry";
28576            }
28577            program { name: "inactive";
28578                signal: "elm,state,inactive";
28579                source: "elm";
28580                action: STATE_SET "default" 0.0;
28581                target: "elm.text";
28582                target: "elm.swallow.entry";
28583            }
28584            program { name: "toggle_text";
28585                signal: "mouse,up,1";
28586                source: "button_events";
28587                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28588            }
28589        }
28590    }
28591
28592
28593    ///////////////////////////////////////////////////////////////////////////////
28594    group { name: "elm/index/base/vertical/default";
28595        images {
28596            image: "bt_base1.png" COMP;
28597            image: "bt_base2.png" COMP;
28598            image: "bt_hilight.png" COMP;
28599            image: "bt_shine.png" COMP;
28600        }
28601        parts {
28602            part { name: "clip";
28603                type: RECT;
28604                mouse_events:  0;
28605                description { state: "default" 0.0;
28606                    visible:  0;
28607                    color: 255 255 255 0;
28608                }
28609                description { state: "active" 0.0;
28610                    visible:  1;
28611                    color: 255 255 255 255;
28612                }
28613            }
28614            part { name: "clip2";
28615                type: RECT;
28616                mouse_events:  0;
28617                clip_to: "clip";
28618                description { state: "default" 0.0;
28619                    visible: 0;
28620                    color: 255 255 255 0;
28621                }
28622                description { state: "active" 0.0;
28623                    visible:  1;
28624                    color: 255 255 255 255;
28625                }
28626            }
28627            part { name: "elm.swallow.index.0";
28628                type: SWALLOW;
28629                clip_to: "clip";
28630                description { state: "default" 0.0;
28631                    align: 1.0 0.5;
28632                    fixed: 1 1;
28633                    rel1 {
28634                        relative: 1.0 0.5;
28635                        offset: -1 5;
28636                    }
28637                    rel2 {
28638                        relative: 1.0 0.5;
28639                        offset: -1 -6;
28640                    }
28641                }
28642            }
28643            part { name: "button_image";
28644                mouse_events: 1;
28645                clip_to: "clip";
28646                description { state: "default" 0.0;
28647                    rel1 {
28648                        to: "elm.text.body";
28649                        offset: -5 -5;
28650                    }
28651                    rel2 {
28652                        to: "elm.text";
28653                        offset: 4 4;
28654                    }
28655                    image {
28656                        normal: "bt_base2.png";
28657                        border: 7 7 7 7;
28658                    }
28659                    image.middle: SOLID;
28660                }
28661            }
28662            part { name: "elm.text.body";
28663                type: TEXT;
28664                effect: SOFT_SHADOW;
28665                mouse_events: 0;
28666                scale: 1;
28667                clip_to: "clip";
28668                description { state: "default" 0.0;
28669                    align: 1.0 0.5;
28670                    fixed: 1 1;
28671                    rel1 {
28672                        to: "elm.text";
28673                        relative: 0.0 0.0;
28674                        offset: 5 0;
28675                    }
28676                    rel2 {
28677                        to: "elm.text";
28678                        relative: 0.0 1.0;
28679                        offset: 5 -1;
28680                    }
28681                    color: 224 224 224 255;
28682                    color3: 0 0 0 64;
28683                    text {
28684                        font:     "Sans,Edje-Vera";
28685                        size:     20;
28686                        min:      1 1;
28687                        align:    1.0 0.5;
28688                    }
28689                }
28690            }
28691            part { name: "elm.text";
28692                type: TEXT;
28693                effect: SOFT_SHADOW;
28694                mouse_events: 0;
28695                scale: 1;
28696                clip_to: "clip";
28697                description { state: "default" 0.0;
28698                    align: 1.0 0.5;
28699                    fixed: 1 1;
28700                    rel1 {
28701                        to_x: "elm.swallow.event.0";
28702                        to_y: "elm.dragable.pointer";
28703                        relative: 0.0 0.5;
28704                        offset: -16 0;
28705                    }
28706                    rel2 {
28707                        to_x: "elm.swallow.event.0";
28708                        to_y: "elm.dragable.pointer";
28709                        relative: 0.0 0.5;
28710                        offset: -16 -1;
28711                    }
28712                    color: 255 0 0 255;
28713                    color3: 0 0 0 64;
28714                    text {
28715                        font:     "Sans,Edje-Vera";
28716                        size:     20;
28717                        min:      1 1;
28718                        align:    1.0 0.5;
28719                    }
28720                }
28721            }
28722            part {        name: "over1";
28723                mouse_events: 0;
28724                clip_to: "clip";
28725                description { state: "default" 0.0;
28726                    rel1 {
28727                        to: "button_image";
28728                    }
28729                    rel2 {
28730                        to: "button_image";
28731                        relative: 1.0 0.5;
28732                    }
28733                    image {
28734                        normal: "bt_hilight.png";
28735                        border: 7 7 7 0;
28736                    }
28737                }
28738            }
28739            part { name: "over2";
28740                mouse_events: 1;
28741                repeat_events: 1;
28742                ignore_flags: ON_HOLD;
28743                clip_to: "clip";
28744                description { state: "default" 0.0;
28745                    rel1 {
28746                        to: "button_image";
28747                    }
28748                    rel2 {
28749                        to: "button_image";
28750                    }
28751                    image {
28752                        normal: "bt_shine.png";
28753                        border: 7 7 7 7;
28754                    }
28755                }
28756            }
28757            part { name: "elm.dragable.pointer";
28758                type: RECT;
28759                mouse_events: 0;
28760                dragable {
28761                    x: 1 1 0;
28762                    y: 1 1 0;
28763                }
28764                clip_to: "clip";
28765                description { state: "default" 0.0;
28766                    fixed: 1 1;
28767                    min: 8 8;
28768                    max: 8 8;
28769                    visible: 0;
28770                    rel1 {
28771                        relative: 0.0 0.0;
28772                        offset:   0 0;
28773                    }
28774                    rel2 {
28775                        relative: 0.0 0.0;
28776                        offset:   0 0;
28777                    }
28778                }
28779            }
28780            part { name: "elm.swallow.event.0";
28781                type: SWALLOW;
28782                description { state: "default" 0.0;
28783                    align: 1.0 0.5;
28784                    fixed: 1 1;
28785                    rel1 {
28786                        relative: 1.0 0.0;
28787                        offset: -1 0;
28788                    }
28789                    rel2 {
28790                        relative: 1.0 1.0;
28791                        offset: -1 -1;
28792                    }
28793                }
28794            }
28795        }
28796        programs {
28797            program { name: "active";
28798                signal: "elm,state,active";
28799                source: "elm";
28800                action: STATE_SET "active" 0.0;
28801                transition: DECELERATE 0.5;
28802                target: "clip";
28803            }
28804            program { name: "inactive";
28805                signal: "elm,state,inactive";
28806                source: "elm";
28807                action: STATE_SET "default" 0.0;
28808                transition: DECELERATE 0.5;
28809                target: "clip";
28810            }
28811        }
28812    }
28813
28814    group { name: "elm/index/item/vertical/default";
28815        data.item: "stacking" "above";
28816        data.item: "selectraise" "on";
28817        images {
28818            image: "ilist_1.png" COMP;
28819            image: "ilist_item_shadow.png" COMP;
28820        }
28821        parts {
28822            part {
28823                name: "base_sh";
28824                mouse_events: 0;
28825                description {
28826                    state: "default" 0.0;
28827                    align: 0.0 0.0;
28828                    min: 0 10;
28829                    fixed: 1 1;
28830                    rel1 {
28831                        to: "base";
28832                        relative: 0.0 1.0;
28833                        offset: 0 0;
28834                    }
28835                    rel2 {
28836                        to: "base";
28837                        relative: 1.0 1.0;
28838                        offset: -1 0;
28839                    }
28840                    image {
28841                        normal: "ilist_item_shadow.png";
28842                    }
28843                    fill.smooth: 0;
28844                }
28845            }
28846            part {
28847                name: "base";
28848                mouse_events: 0;
28849                description {
28850                    state: "default" 0.0;
28851                    image {
28852                        normal: "ilist_1.png";
28853                        border: 2 2 2 2;
28854                    }
28855                    fill.smooth: 0;
28856                }
28857                description { state: "active" 0.0;
28858                    inherit: "default" 0.0;
28859                    rel1 {
28860                        offset: -16 0;
28861                    }
28862                }
28863            }
28864            part { name: "elm.text";
28865                type:           TEXT;
28866                mouse_events:   0;
28867                scale: 1;
28868                description {
28869                    state: "default" 0.0;
28870                           //               min: 16 16;
28871                    rel1 {
28872                        to: "base";
28873                        relative: 0.0  0.0;
28874                        offset:   4 4;
28875                    }
28876                    rel2 {
28877                        to: "base";
28878                        relative: 0.5  1.0;
28879                        offset:   -1 -1;
28880                    }
28881                    color: 0 0 0 128;
28882                    text {
28883                        font: "Sans";
28884                        size: 10;
28885                        min: 1 1;
28886                             //                  min: 0 1;
28887                        align: 0.5 0.5;
28888                    }
28889                }
28890                description { state: "active" 0.0;
28891                    inherit: "default" 0.0;
28892                    color: 0 0 0 255;
28893                }
28894            }
28895        }
28896        programs {
28897            program { name: "active";
28898                signal: "elm,state,active";
28899                source: "elm";
28900                action: STATE_SET "active" 0.0;
28901                transition: DECELERATE 0.5;
28902                target: "elm.text";
28903                target: "base";
28904            }
28905            program { name: "inactive";
28906                signal: "elm,state,inactive";
28907                source: "elm";
28908                action: STATE_SET "default" 0.0;
28909                transition: DECELERATE 0.5;
28910                target: "elm.text";
28911                target: "base";
28912            }
28913        }
28914    }
28915
28916    group { name: "elm/index/item_odd/vertical/default";
28917        data.item: "stacking" "below";
28918        images {
28919            image: "ilist_2.png" COMP;
28920        }
28921        parts {
28922            part {
28923                name: "base";
28924                mouse_events: 0;
28925                description {
28926                    state: "default" 0.0;
28927                    image {
28928                        normal: "ilist_2.png";
28929                        border: 2 2 2 2;
28930                    }
28931                    fill.smooth: 0;
28932                }
28933                description { state: "active" 0.0;
28934                    inherit: "default" 0.0;
28935                    rel1 {
28936                        offset: -16 0;
28937                    }
28938                }
28939            }
28940            part { name: "elm.text";
28941                type:           TEXT;
28942                mouse_events:   0;
28943                scale: 1;
28944                description {
28945                    state: "default" 0.0;
28946                           //               min: 16 16;
28947                    rel1 {
28948                        to: "base";
28949                        relative: 0.0  0.0;
28950                        offset:   4 4;
28951                    }
28952                    rel2 {
28953                        to: "base";
28954                        relative: 0.5  1.0;
28955                        offset:   -1 -1;
28956                    }
28957                    color: 0 0 0 128;
28958                    text {
28959                        font: "Sans";
28960                        size: 10;
28961                        min: 1 1;
28962                             //                  min: 0 1;
28963                        align: 0.5 0.5;
28964                    }
28965                }
28966                description { state: "active" 0.0;
28967                    inherit: "default" 0.0;
28968                    color: 0 0 0 255;
28969                }
28970            }
28971        }
28972        programs {
28973            program { name: "active";
28974                signal: "elm,state,active";
28975                source: "elm";
28976                action: STATE_SET "active" 0.0;
28977                transition: DECELERATE 0.5;
28978                target: "elm.text";
28979                target: "base";
28980            }
28981            program { name: "inactive";
28982                signal: "elm,state,inactive";
28983                source: "elm";
28984                action: STATE_SET "default" 0.0;
28985                transition: DECELERATE 0.5;
28986                target: "elm.text";
28987                target: "base";
28988            }
28989        }
28990    }
28991
28992 ///////////////////////////////////////////////////////////////////////////////
28993    group { name: "elm/gengrid/item/default/default";
28994       data.item: "labels" "elm.text";
28995       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28996       images {
28997          image: "bt_sm_base1.png" COMP;
28998          image: "bt_sm_shine.png" COMP;
28999          image: "bt_sm_hilight.png" COMP;
29000          image: "ilist_1.png" COMP;
29001          image: "ilist_item_shadow.png" COMP;
29002       }
29003       parts {
29004          part { name: "event";
29005             type: RECT;
29006             repeat_events: 1;
29007             description {
29008                state: "default" 0.0;
29009                color: 0 0 0 0;
29010             }
29011          }
29012          part { name: "reorder_bg";
29013             mouse_events: 0;
29014             description { state: "default" 0.0;
29015                visible: 0;
29016                color: 255 255 255 0;
29017                rel1 {
29018                   relative: 0.0 0.0;
29019                   offset: -10 -10;
29020                }
29021                rel2 {
29022                   relative: 1.0 1.0;
29023                   offset: 12 12;
29024                }
29025                image {
29026                   normal: "bt_bases.png";
29027                   border: 6 6 6 6;
29028                }
29029             }
29030             description { state: "enabled" 0.0;
29031                inherit: "default" 0.0;
29032                visible: 1;
29033                color: 255 255 255 255;
29034             }
29035          }
29036          part { name: "base_sh";
29037             mouse_events: 0;
29038             description { state: "default" 0.0;
29039                align: 0.0 0.0;
29040                min: 0 10;
29041                fixed: 1 1;
29042                rel1 {
29043                   to: "base";
29044                   relative: 0.0 1.0;
29045                   offset: 0 0;
29046                }
29047                rel2 {
29048                   to: "base";
29049                   relative: 1.0 1.0;
29050                   offset: -1 0;
29051                }
29052                image {
29053                   normal: "ilist_item_shadow.png";
29054                }
29055                fill.smooth: 0;
29056             }
29057          }
29058          part { name: "base";
29059             mouse_events: 0;
29060             description { state: "default" 0.0;
29061                image {
29062                   normal: "ilist_1.png";
29063                   border: 2 2 2 2;
29064                }
29065                fill.smooth: 0;
29066             }
29067          }
29068          part { name: "bg";
29069             clip_to: "disclip";
29070             mouse_events: 0;
29071             description { state: "default" 0.0;
29072                visible: 0;
29073                color: 255 255 255 0;
29074                rel1 {
29075                   relative: 0.0 0.0;
29076                   offset: -5 -5;
29077                }
29078                rel2 {
29079                   relative: 1.0 1.0;
29080                   offset: 4 4;
29081                }
29082                image {
29083                   normal: "bt_sm_base1.png";
29084                   border: 6 6 6 6;
29085                }
29086                image.middle: SOLID;
29087             }
29088             description { state: "selected" 0.0;
29089                inherit: "default" 0.0;
29090                visible: 1;
29091                color: 255 255 255 255;
29092                rel1 {
29093                   relative: 0.0 0.0;
29094                   offset: -2 -2;
29095                }
29096                rel2 {
29097                   relative: 1.0 1.0;
29098                   offset: 1 1;
29099                }
29100             }
29101          }
29102          part { name: "elm.swallow.pad";
29103             type: SWALLOW;
29104             description { state: "default" 0.0;
29105                fixed: 1 0;
29106                align: 0.0 0.5;
29107                rel1 {
29108                   relative: 0.0  1.0;
29109                   offset:   0    -10;
29110                }
29111                rel2 {
29112                   to_y: "elm.text";
29113                   relative: 0.0  0.0;
29114                   offset:   -1   -1;
29115                }
29116             }
29117          }
29118          part { name: "elm.swallow.icon";
29119             clip_to: "disclip";
29120             type: SWALLOW;
29121             description { state: "default" 0.0;
29122                fixed: 1 0;
29123                align: 0.5 0.5;
29124                rel1 {
29125                   relative: 0.0  0.0;
29126                   offset:   -1    4;
29127                }
29128                rel2 {
29129                   to_y: "elm.swallow.pad";
29130                   relative: 1.0  0.0;
29131                   offset:   -1   -5;
29132                }
29133             }
29134          }
29135          part { name: "elm.swallow.end";
29136             clip_to: "disclip";
29137             type: SWALLOW;
29138             description { state: "default" 0.0;
29139                fixed: 1 0;
29140                align: 1.0 0.0;
29141                aspect: 1.0 1.0;
29142                aspect_preference: HORIZONTAL;
29143                rel1 {
29144                   relative: 1.0 0.0;
29145                   offset: -5 -5;
29146                }
29147                rel2 {
29148                   relative: 1.0 1.0;
29149                   offset: 5 5;
29150                }
29151             }
29152          }
29153          part { name: "elm.text";
29154             clip_to: "disclip";
29155             type: TEXT;
29156             effect: SOFT_SHADOW;
29157             mouse_events: 0;
29158             scale: 1;
29159             description { state: "default" 0.0;
29160                rel1 {
29161                   relative: 0.0  1.0;
29162                   offset: 0 0;
29163                }
29164                rel2 {
29165                   relative: 1.0  1.0;
29166                   offset: -5 -5;
29167                }
29168                color: 0 0 0 255;
29169                color3: 0 0 0 0;
29170                text {
29171                   font: "Sans";
29172                   size: 10;
29173                   min: 0 1;
29174                   align: 0.5 0.0;
29175                   text_class: "grid_item";
29176                }
29177             }
29178             description { state: "selected" 0.0;
29179                inherit: "default" 0.0;
29180                color: 224 224 224 255;
29181                color3: 0 0 0 64;
29182             }
29183          }
29184          part { name: "fg1";
29185             clip_to: "disclip";
29186             mouse_events: 0;
29187             description { state: "default" 0.0;
29188                visible: 0;
29189                color: 255 255 255 0;
29190                rel1.to: "bg";
29191                rel2.relative: 1.0 0.5;
29192                rel2.to: "bg";
29193                image {
29194                   normal: "bt_sm_hilight.png";
29195                   border: 6 6 6 0;
29196                }
29197             }
29198             description { state: "selected" 0.0;
29199                inherit: "default" 0.0;
29200                visible: 1;
29201                color: 255 255 255 255;
29202             }
29203          }
29204          part { name: "fg2";
29205             clip_to: "disclip";
29206             mouse_events: 0;
29207             description { state: "default" 0.0;
29208                visible: 0;
29209                color: 255 255 255 0;
29210                rel1.to: "bg";
29211                rel2.to: "bg";
29212                image {
29213                   normal: "bt_sm_shine.png";
29214                   border: 6 6 6 0;
29215                }
29216             }
29217             description { state: "selected" 0.0;
29218                inherit: "default" 0.0;
29219                visible: 1;
29220                color: 255 255 255 255;
29221             }
29222          }
29223          part { name: "disclip";
29224             type: RECT;
29225             description { state: "default" 0.0;
29226                rel1.to: "bg";
29227                rel2.to: "bg";
29228             }
29229             description { state: "disabled" 0.0;
29230                inherit: "default" 0.0;
29231                color: 255 255 255 64;
29232             }
29233          }
29234       }
29235       programs {
29236          // signal: elm,state,%s,active
29237          //   a "check" item named %s went active
29238          // signal: elm,state,%s,passive
29239          //   a "check" item named %s went passive
29240          // default is passive
29241          program { name:    "go_active";
29242             signal:  "elm,state,selected";
29243             source:  "elm";
29244             action:  STATE_SET "selected" 0.0;
29245             target:  "bg";
29246             target:  "fg1";
29247             target:  "fg2";
29248             target:  "elm.text";
29249          }
29250          program { name:    "go_passive";
29251             signal:  "elm,state,unselected";
29252             source:  "elm";
29253             action:  STATE_SET "default" 0.0;
29254             target:  "bg";
29255             target:  "fg1";
29256             target:  "fg2";
29257             target:  "elm.text";
29258             transition: LINEAR 0.1;
29259          }
29260          program { name:    "go_disabled";
29261             signal:  "elm,state,disabled";
29262             source:  "elm";
29263             action:  STATE_SET "disabled" 0.0;
29264             target:  "disclip";
29265          }
29266          program { name:    "go_enabled";
29267             signal:  "elm,state,enabled";
29268             source:  "elm";
29269             action:  STATE_SET "default" 0.0;
29270             target:  "disclip";
29271          }
29272          program { name:    "go_reorder_disabled";
29273             signal:  "elm,state,reorder,disabled";
29274             source:  "elm";
29275             action:  STATE_SET "default" 0.0;
29276             target:  "reorder_bg";
29277             transition: DECELERATE 0.5;
29278          }
29279          program { name:    "go_reorder_enabled";
29280             signal:  "elm,state,reorder,enabled";
29281             source:  "elm";
29282             action:  STATE_SET "enabled" 0.0;
29283             target:  "reorder_bg";
29284             transition: DECELERATE 0.5;
29285          }
29286       }
29287    }
29288    group { name: "elm/gengrid/item/default_style/default";
29289        styles
29290        {
29291            style { name: "gengrid_style";
29292                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29293                tag:  "br" "\n";
29294                tag:  "ps" "ps";
29295                tag:  "hilight" "+ font=Sans:style=Bold";
29296                tag:  "b" "+ font=Sans:style=Bold";
29297                tag:  "tab" "\t";
29298            }
29299            style { name: "gengrid_selected_style";
29300                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29301                tag:  "br" "\n";
29302                tag:  "ps" "ps";
29303                tag:  "hilight" "+ font=Sans:style=Bold";
29304                tag:  "b" "+ font=Sans:style=Bold";
29305                tag:  "tab" "\t";
29306            }
29307        }
29308        data.item: "labels" "elm.text";
29309        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29310        images {
29311            image: "bt_sm_base1.png" COMP;
29312            image: "bt_sm_shine.png" COMP;
29313            image: "bt_sm_hilight.png" COMP;
29314            image: "ilist_1.png" COMP;
29315            image: "ilist_item_shadow.png" COMP;
29316        }
29317        parts {
29318            part { name: "event";
29319                type: RECT;
29320                repeat_events: 1;
29321                description { state: "default" 0.0;
29322                    color: 0 0 0 0;
29323                }
29324            }
29325            part { name: "base_sh";
29326                mouse_events: 0;
29327                description { state: "default" 0.0;
29328                    align: 0.0 0.0;
29329                    min: 0 10;
29330                    fixed: 1 1;
29331                    rel1 {
29332                        to: "base";
29333                        relative: 0.0 1.0;
29334                        offset: 0 0;
29335                    }
29336                    rel2 {
29337                        to: "base";
29338                        relative: 1.0 1.0;
29339                        offset: -1 0;
29340                    }
29341                    image {
29342                        normal: "ilist_item_shadow.png";
29343                    }
29344                    fill.smooth: 0;
29345                }
29346            }
29347            part { name: "base";
29348                mouse_events: 0;
29349                description { state: "default" 0.0;
29350                    min: 16 28;
29351                    image {
29352                        normal: "ilist_1.png";
29353                        border: 2 2 2 2;
29354                    }
29355                    fill.smooth: 0;
29356                }
29357            }
29358            part { name: "bg";
29359                clip_to: "disclip";
29360                mouse_events: 0;
29361                description { state: "default" 0.0;
29362                    visible: 0;
29363                    color: 255 255 255 0;
29364                    rel1 {
29365                        relative: 0.0 0.0;
29366                        offset: -5 -5;
29367                    }
29368                    rel2 {
29369                        relative: 1.0 1.0;
29370                        offset: 4 4;
29371                    }
29372                    image {
29373                        normal: "bt_sm_base1.png";
29374                        border: 6 6 6 6;
29375                    }
29376                    image.middle: SOLID;
29377                }
29378                description { state: "selected" 0.0;
29379                    inherit: "default" 0.0;
29380                    visible: 1;
29381                    color: 255 255 255 255;
29382                    rel1 {
29383                        relative: 0.0 0.0;
29384                        offset: -2 -2;
29385                    }
29386                    rel2 {
29387                        relative: 1.0 1.0;
29388                        offset: 1 1;
29389                    }
29390                }
29391            }
29392            part { name: "elm.swallow.pad";
29393                type: SWALLOW;
29394                description { state: "default" 0.0;
29395                    fixed: 1 0;
29396                    align: 0.0 0.5;
29397                    rel1 {
29398                        relative: 0.0  0.0;
29399                        offset:   4    4;
29400                    }
29401                    rel2 {
29402                        relative: 0.0  1.0;
29403                        offset:   4   -5;
29404                    }
29405                }
29406            }
29407            part { name: "elm.swallow.icon";
29408                clip_to: "disclip";
29409                type: SWALLOW;
29410                description { state: "default" 0.0;
29411                    fixed: 1 0;
29412                    align: 0.0 0.5;
29413                    rel1 {
29414                        to_x: "elm.swallow.pad";
29415                        relative: 1.0  0.0;
29416                        offset:   -1    4;
29417                    }
29418                    rel2 {
29419                        to_x: "elm.swallow.pad";
29420                        relative: 1.0  1.0;
29421                        offset:   -1   -5;
29422                    }
29423                }
29424            }
29425            part { name: "elm.swallow.end";
29426                clip_to: "disclip";
29427                type: SWALLOW;
29428                description { state: "default" 0.0;
29429                    fixed: 1 0;
29430                    align: 1.0 0.5;
29431                    aspect: 1.0 1.0;
29432                    aspect_preference: VERTICAL;
29433                    rel1 {
29434                        relative: 1.0  0.0;
29435                        offset:   -5    4;
29436                    }
29437                    rel2 {
29438                        relative: 1.0  1.0;
29439                        offset:   -5   -5;
29440                    }
29441                }
29442            }
29443            part { name: "elm.text";
29444                clip_to: "disclip";
29445                type: TEXTBLOCK;
29446                mouse_events: 0;
29447                scale: 1;
29448                description {
29449                    state: "default" 0.0;
29450                    align: 0.0 0.5;
29451                    fixed: 0 1;
29452                    rel1 {
29453                        to_x: "elm.swallow.icon";
29454                        to_y: "base";
29455                        relative: 1.0  0.5;
29456                        offset:   0 4;
29457                    }
29458                    rel2 {
29459                        to_x: "elm.swallow.end";
29460                        to_y: "base";
29461                        relative: 0.0  0.5;
29462                        offset:   -1 -5;
29463                    }
29464                    text {
29465                        style: "gengrid_style";
29466                        min: 1 1;
29467                    }
29468                }
29469                description { state: "selected" 0.0;
29470                    inherit: "default" 0.0;
29471                    text {
29472                        style: "gengrid_selected_style";
29473                    }
29474                }
29475            }
29476            part { name: "fg1";
29477                clip_to: "disclip";
29478                mouse_events: 0;
29479                description { state: "default" 0.0;
29480                    visible: 0;
29481                    color: 255 255 255 0;
29482                    rel1.to: "bg";
29483                    rel2.relative: 1.0 0.5;
29484                    rel2.to: "bg";
29485                    image {
29486                        normal: "bt_sm_hilight.png";
29487                        border: 6 6 6 0;
29488                    }
29489                }
29490                description { state: "selected" 0.0;
29491                    inherit: "default" 0.0;
29492                    visible: 1;
29493                    color: 255 255 255 255;
29494                }
29495            }
29496            part { name: "fg2";
29497                clip_to: "disclip";
29498                mouse_events: 0;
29499                description { state: "default" 0.0;
29500                    visible: 0;
29501                    color: 255 255 255 0;
29502                    rel1.to: "bg";
29503                    rel2.to: "bg";
29504                    image {
29505                        normal: "bt_sm_shine.png";
29506                        border: 6 6 6 0;
29507                    }
29508                }
29509                description { state: "selected" 0.0;
29510                    inherit: "default" 0.0;
29511                    visible: 1;
29512                    color: 255 255 255 255;
29513                }
29514            }
29515            part { name: "disclip";
29516                type: RECT;
29517                description { state: "default" 0.0;
29518                    rel1.to: "bg";
29519                    rel2.to: "bg";
29520                }
29521                description { state: "disabled" 0.0;
29522                    inherit: "default" 0.0;
29523                    color: 255 255 255 64;
29524                }
29525            }
29526        }
29527        programs {
29528            // signal: elm,state,%s,active
29529            //   a "check" item named %s went active
29530            // signal: elm,state,%s,passive
29531            //   a "check" item named %s went passive
29532            // default is passive
29533            program { name:    "go_active";
29534                signal:  "elm,state,selected";
29535                source:  "elm";
29536                action:  STATE_SET "selected" 0.0;
29537                target:  "bg";
29538                target:  "fg1";
29539                target:  "fg2";
29540                target:  "elm.text";
29541            }
29542            program { name:    "go_passive";
29543                signal:  "elm,state,unselected";
29544                source:  "elm";
29545                action:  STATE_SET "default" 0.0;
29546                target:  "bg";
29547                target:  "fg1";
29548                target:  "fg2";
29549                target:  "elm.text";
29550                transition: LINEAR 0.1;
29551            }
29552            program { name:    "go_disabled";
29553                signal:  "elm,state,disabled";
29554                source:  "elm";
29555                action:  STATE_SET "disabled" 0.0;
29556                target:  "disclip";
29557            }
29558            program { name:    "go_enabled";
29559                signal:  "elm,state,enabled";
29560                source:  "elm";
29561                action:  STATE_SET "default" 0.0;
29562                target:  "disclip";
29563            }
29564        }
29565    }
29566
29567    group { name: "elm/gengrid/item/up/default";
29568       data.item: "labels" "elm.text";
29569       images {
29570           image: "bt_sm_base1.png" COMP;
29571           image: "bt_sm_shine.png" COMP;
29572           image: "bt_sm_hilight.png" COMP;
29573           image: "arrow_up.png" COMP;
29574       }
29575       parts {
29576          part { name: "event";
29577             type: RECT;
29578             repeat_events: 1;
29579             description { state: "default" 0.0;
29580                color: 0 0 0 0;
29581             }
29582          }
29583          part { name: "bg";
29584             clip_to: "disclip";
29585             mouse_events: 0;
29586             description { state: "default" 0.0;
29587                visible: 0;
29588                color: 255 255 255 0;
29589                rel1.offset: -3 -3;
29590                rel2.offset: 2 2;
29591                image { normal: "bt_sm_base1.png";
29592                   border: 6 6 6 6;
29593                   middle: SOLID;
29594                }
29595             }
29596             description { state: "selected" 0.0;
29597                inherit: "default" 0.0;
29598                visible: 1;
29599                color: 255 255 255 255;
29600             }
29601          }
29602          part { name: "image";
29603              type: IMAGE;
29604              mouse_events: 0;
29605              description { state: "default" 0.0;
29606                  aspect_preference: BOTH;
29607                  aspect: 1.0 1.0;
29608                  image.normal: "arrow_up.png";
29609                  rel2 {
29610                      to_y: "elm.text";
29611                      relative: 1.0 0.0;
29612                      offset: -1 -2;
29613                  }
29614              }
29615          }
29616          part { name: "elm.text";
29617             clip_to: "disclip";
29618             type: TEXT;
29619             effect: SOFT_SHADOW;
29620             mouse_events: 0;
29621             scale: 1;
29622             description { state: "default" 0.0;
29623                rel1 {
29624                   relative: 0.0  1.0;
29625                   offset: 20 -25;
29626                }
29627                rel2 {
29628                   relative: 1.0  1.0;
29629                   offset: -21 -3;
29630                }
29631                color: 0 0 0 255;
29632                color3: 0 0 0 0;
29633                text {
29634                   font: "Sans";
29635                   size: 10;
29636                   min: 0 1;
29637                   align: 0.5 0.0;
29638                   text_class: "grid_item";
29639                }
29640             }
29641             description { state: "selected" 0.0;
29642                inherit: "default" 0.0;
29643                color: 224 224 224 255;
29644                color3: 0 0 0 64;
29645             }
29646          }
29647          part { name: "fg1";
29648             clip_to: "disclip";
29649             mouse_events: 0;
29650             description { state: "default" 0.0;
29651                visible: 0;
29652                color: 255 255 255 0;
29653                rel1.offset: -3 -3;
29654                rel2 {
29655                    relative: 1.0 0.5;
29656                    offset: 2 -1;
29657                }
29658                image {
29659                   normal: "bt_sm_hilight.png";
29660                   border: 6 6 6 0;
29661                }
29662             }
29663             description { state: "selected" 0.0;
29664                inherit: "default" 0.0;
29665                visible: 1;
29666                color: 255 255 255 255;
29667             }
29668          }
29669          part { name: "fg2";
29670             clip_to: "disclip";
29671             mouse_events: 0;
29672             description { state: "default" 0.0;
29673                visible: 0;
29674                color: 255 255 255 0;
29675                rel1.offset: -3 -3;
29676                rel2.offset: 2 2;
29677                image {
29678                   normal: "bt_sm_shine.png";
29679                   border: 6 6 6 0;
29680                }
29681             }
29682             description { state: "selected" 0.0;
29683                inherit: "default" 0.0;
29684                visible: 1;
29685                color: 255 255 255 255;
29686             }
29687          }
29688          part { name: "disclip";
29689             type: RECT;
29690             description { state: "default" 0.0;
29691                rel1.to: "bg";
29692                rel2.to: "bg";
29693             }
29694             description { state: "disabled" 0.0;
29695                inherit: "default" 0.0;
29696                color: 255 255 255 64;
29697             }
29698          }
29699       }
29700       programs {
29701          program { name:    "go_active";
29702             signal:  "elm,state,selected";
29703             source:  "elm";
29704             action:  STATE_SET "selected" 0.0;
29705             target:  "bg";
29706             target:  "fg1";
29707             target:  "fg2";
29708             target:  "elm.text";
29709          }
29710          program { name:    "go_passive";
29711             signal:  "elm,state,unselected";
29712             source:  "elm";
29713             action:  STATE_SET "default" 0.0;
29714             target:  "bg";
29715             target:  "fg1";
29716             target:  "fg2";
29717             target:  "elm.text";
29718             transition: LINEAR 0.1;
29719          }
29720          program { name:    "go_disabled";
29721             signal:  "elm,state,disabled";
29722             source:  "elm";
29723             action:  STATE_SET "disabled" 0.0;
29724             target:  "disclip";
29725          }
29726          program { name:    "go_enabled";
29727             signal:  "elm,state,enabled";
29728             source:  "elm";
29729             action:  STATE_SET "default" 0.0;
29730             target:  "disclip";
29731          }
29732       }
29733    }
29734
29735    group { name: "elm/gengrid/item/album-preview/default";
29736       data.item: "labels" "elm.text";
29737       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29738       data.item: "states" "have_files";
29739       images {
29740          image: "bt_sm_base1.png" COMP;
29741          image: "bt_sm_shine.png" COMP;
29742          image: "bt_sm_hilight.png" COMP;
29743          image: "icon_folder.png" COMP;
29744       }
29745       parts {
29746          part { name: "event";
29747             type: RECT;
29748             repeat_events: 1;
29749             description { state: "default" 0.0;
29750                color: 0 0 0 0;
29751             }
29752          }
29753          part { name: "bg";
29754             clip_to: "disclip";
29755             mouse_events: 0;
29756             description { state: "default" 0.0;
29757                visible: 0;
29758                color: 255 255 255 0;
29759                rel1.offset: -3 -3;
29760                rel2.offset: 2 2;
29761                image {
29762                   normal: "bt_sm_base1.png";
29763                   border: 6 6 6 6;
29764                   middle: SOLID;
29765                }
29766             }
29767             description { state: "selected" 0.0;
29768                inherit: "default" 0.0;
29769                visible: 1;
29770                color: 255 255 255 255;
29771             }
29772          }
29773          part { name: "image";
29774              type: IMAGE;
29775              mouse_events: 0;
29776              description { state: "default" 0.0;
29777                  aspect_preference: BOTH;
29778                  aspect: 1.0 1.0;
29779                  image.normal: "icon_folder.png";
29780                  rel2 {
29781                      to_y: "elm.text";
29782                      relative: 1.0 0.0;
29783                      offset: -1 -2;
29784                  }
29785              }
29786          }
29787          part { name: "have-files-clipper";
29788              type: RECT;
29789              description { state: "default" 0.0;
29790                  color: 255 255 255 0;
29791                  visible: 0;
29792              }
29793              description { state: "visible" 0.0;
29794                  inherit: "default" 0.0;
29795                  color: 255 255 255 255;
29796                  visible: 1;
29797              }
29798          }
29799          part { name: "icon_box_margin";
29800              type: RECT;
29801              mouse_events: 0;
29802              clip_to: "have-files-clipper";
29803              description { state: "default" 0.0;
29804                  color: 0 0 0 255;
29805                  rel1 {
29806                      to: "icon_box";
29807                      offset: -1 -1;
29808                  }
29809                  rel2 {
29810                      to: "icon_box";
29811                      offset: 0 0;
29812                  }
29813              }
29814          }
29815          part { name: "icon_box";
29816              type: RECT;
29817              mouse_events: 0;
29818              clip_to: "have-files-clipper";
29819              description { state: "default" 0.0;
29820                  color: 255 255 255 255;
29821                  align: 1.0 1.0;
29822                  min: 32 32;
29823                  rel1 {
29824                      relative: 0.25 0.25;
29825                      offset: 0 0;
29826                  }
29827                  rel2 {
29828                      relative: 1.0 0.0;
29829                      offset: -11 -4;
29830                      to_y: "elm.text";
29831                  }
29832              }
29833          }
29834          part { name: "elm.swallow.icon.1";
29835              type: SWALLOW;
29836              mouse_events: 0;
29837              clip_to: "have-files-clipper";
29838              description { state: "default" 0.0;
29839                rel1 {
29840                   relative: 0.0  0.0;
29841                   to: "icon_box";
29842                }
29843                rel2 {
29844                   relative: 0.5  0.5;
29845                   offset: -1 -1;
29846                   to: "icon_box";
29847                }
29848             }
29849          }
29850          part { name: "elm.swallow.icon.2";
29851              type: SWALLOW;
29852              mouse_events: 0;
29853              clip_to: "have-files-clipper";
29854              description { state: "default" 0.0;
29855                rel1 {
29856                   relative: 0.5  0.0;
29857                   to: "icon_box";
29858                }
29859                rel2 {
29860                   relative: 1.0  0.5;
29861                   offset: -1 -1;
29862                   to: "icon_box";
29863                }
29864             }
29865          }
29866          part { name: "elm.swallow.icon.3";
29867              type: SWALLOW;
29868              mouse_events: 0;
29869              clip_to: "have-files-clipper";
29870              description { state: "default" 0.0;
29871                rel1 {
29872                   relative: 0.0  0.5;
29873                   to: "icon_box";
29874                }
29875                rel2 {
29876                   relative: 0.5  1.0;
29877                   offset: -1 -1;
29878                   to: "icon_box";
29879                }
29880             }
29881          }
29882          part { name: "elm.swallow.icon.4";
29883              type: SWALLOW;
29884              mouse_events: 0;
29885              clip_to: "have-files-clipper";
29886              description { state: "default" 0.0;
29887                rel1 {
29888                   relative: 0.5  0.5;
29889                   to: "icon_box";
29890                }
29891                rel2 {
29892                   relative: 1.0  1.0;
29893                   offset: -1 -1;
29894                   to: "icon_box";
29895                }
29896             }
29897          }
29898          part { name: "elm.text";
29899             clip_to: "disclip";
29900             type: TEXT;
29901             effect: SOFT_SHADOW;
29902             mouse_events: 0;
29903             scale: 1;
29904             description { state: "default" 0.0;
29905                rel1 {
29906                   relative: 0.0  1.0;
29907                   offset: 20 -30;
29908                }
29909                rel2 {
29910                   relative: 1.0  1.0;
29911                   offset: -21 -15;
29912                }
29913                color: 0 0 0 255;
29914                color3: 0 0 0 0;
29915                text {
29916                   font: "Sans";
29917                   size: 10;
29918                   min: 0 1;
29919                   align: 0.5 0.0;
29920                   text_class: "grid_item";
29921                }
29922             }
29923             description { state: "selected" 0.0;
29924                 inherit: "default" 0.0;
29925                 color: 255 255 255 255;
29926             }
29927          }
29928          part { name: "fg1";
29929             clip_to: "disclip";
29930             mouse_events: 0;
29931             description { state: "default" 0.0;
29932                visible: 0;
29933                color: 255 255 255 0;
29934                rel1.offset: -3 -3;
29935                rel2 {
29936                    relative: 1.0 0.5;
29937                    offset: 2 -1;
29938                }
29939                image {
29940                   normal: "bt_sm_hilight.png";
29941                   border: 6 6 6 0;
29942                }
29943             }
29944             description { state: "selected" 0.0;
29945                inherit: "default" 0.0;
29946                visible: 1;
29947                color: 255 255 255 255;
29948             }
29949          }
29950          part { name: "fg2";
29951             clip_to: "disclip";
29952             mouse_events: 0;
29953             description { state: "default" 0.0;
29954                visible: 0;
29955                color: 255 255 255 0;
29956                rel1.offset: -3 -3;
29957                rel2.offset: 2 2;
29958                image {
29959                   normal: "bt_sm_shine.png";
29960                   border: 6 6 6 0;
29961                }
29962             }
29963             description { state: "selected" 0.0;
29964                inherit: "default" 0.0;
29965                visible: 1;
29966                color: 255 255 255 255;
29967             }
29968          }
29969          part { name: "disclip";
29970             type: RECT;
29971             description { state: "default" 0.0;
29972                rel1.to: "bg";
29973                rel2.to: "bg";
29974             }
29975             description { state: "disabled" 0.0;
29976                inherit: "default" 0.0;
29977                color: 255 255 255 64;
29978             }
29979          }
29980       }
29981       programs {
29982          program { name:    "go_active";
29983             signal:  "elm,state,selected";
29984             source:  "elm";
29985             action:  STATE_SET "selected" 0.0;
29986             target:  "bg";
29987             target:  "fg1";
29988             target:  "fg2";
29989             target:  "elm.text";
29990          }
29991          program { name:    "go_passive";
29992             signal:  "elm,state,unselected";
29993             source:  "elm";
29994             action:  STATE_SET "default" 0.0;
29995             target:  "bg";
29996             target:  "fg1";
29997             target:  "fg2";
29998             target:  "elm.text";
29999             transition: LINEAR 0.1;
30000          }
30001          program { name:    "go_disabled";
30002             signal:  "elm,state,disabled";
30003             source:  "elm";
30004             action:  STATE_SET "disabled" 0.0;
30005             target:  "disclip";
30006          }
30007          program { name:    "go_enabled";
30008             signal:  "elm,state,enabled";
30009             source:  "elm";
30010             action:  STATE_SET "default" 0.0;
30011             target:  "disclip";
30012          }
30013          program {
30014              signal: "elm,state,have_files,active";
30015              source: "elm";
30016              action: STATE_SET "visible" 0.0;
30017              target: "have-files-clipper";
30018          }
30019       }
30020    }
30021
30022    group { name: "elm/gengrid/item/thumb/default";
30023        data {
30024            item: "icons" "elm.swallow.icon";
30025            item: "labels" "elm.text";
30026        }
30027        images {
30028            image: "bt_sm_base1.png" COMP;
30029            image: "bt_sm_shine.png" COMP;
30030            image: "bt_sm_hilight.png" COMP;
30031            image: "thumb_shadow.png" COMP;
30032        }
30033        parts {
30034            part { name: "event";
30035                type: RECT;
30036                repeat_events: 1;
30037                description { state: "default" 0.0;
30038                    color: 0 0 0 0;
30039                }
30040            }
30041            part { name: "bg";
30042                mouse_events: 0;
30043                description { state: "default" 0.0;
30044                    visible: 0;
30045                    color: 255 255 255 0;
30046                    rel1.offset: -3 -3;
30047                    rel2.offset: 2 2;
30048                    image {
30049                        normal: "bt_sm_base1.png";
30050                        border: 6 6 6 6;
30051                        middle: SOLID;
30052                    }
30053                }
30054                description { state: "selected" 0.0;
30055                    inherit: "default" 0.0;
30056                    visible: 1;
30057                    color: 255 255 255 255;
30058                }
30059            }
30060            part { name: "border-shadow";
30061                type: IMAGE;
30062                mouse_events: 0;
30063                description { state: "default" 0.0;
30064                    rel1 {
30065                        to: "elm.swallow.icon";
30066                        offset: -18 -18;
30067                    }
30068                    rel2 {
30069                        to_x: "elm.swallow.icon";
30070                        to_y: "elm.text";
30071                        offset: 17 17;
30072                    }
30073                    image {
30074                        normal: "thumb_shadow.png";
30075                        border: 17 17 17 17;
30076                        middle: NONE;
30077                    }
30078                }
30079            }
30080            part { name: "border";
30081                type: RECT;
30082                mouse_events: 0;
30083                description { state: "default" 0.0;
30084                    rel1 {
30085                        to: "border-shadow";
30086                        offset: 16 16;
30087                    }
30088                    rel2 {
30089                        to: "border-shadow";
30090                        offset: -15 -15;
30091                    }
30092                }
30093            }
30094            part { name: "elm.swallow.icon";
30095                type: SWALLOW;
30096                mouse_events: 0;
30097                description { state: "default" 0.0;
30098                    aspect_preference: BOTH;
30099                    aspect: 1.0 1.0;
30100                    rel1.offset: 0 8;
30101                    rel2 {
30102                        to_y: "elm.text";
30103                        relative: 1.0 0.0;
30104                        offset: -1 -2;
30105                    }
30106                }
30107            }
30108            part { name: "elm.text";
30109                type: TEXT;
30110                effect: SOFT_SHADOW;
30111                mouse_events: 0;
30112                scale: 1;
30113                description { state: "default" 0.0;
30114                    color: 0 0 0 255;
30115                    color3: 0 0 0 0;
30116                    align: 0.5 1.0;
30117                    rel1 {
30118                        relative: 0.0 1.0;
30119                        offset: 20 -30;
30120                    }
30121                    rel2 {
30122                        relative: 1.0 1.0;
30123                        offset: -21 -15;
30124                    }
30125                    text {
30126                        font: "Sans";
30127                        size: 10;
30128                        min: 0 1;
30129                        align: 0.5 0.0;
30130                        text_class: "grid_item";
30131                    }
30132                }
30133            }
30134            part { name: "fg1";
30135                mouse_events: 0;
30136                description { state: "default" 0.0;
30137                    visible: 0;
30138                    color: 255 255 255 0;
30139                    rel1.offset: -3 -3;
30140                    rel2 {
30141                        relative: 1.0 0.5;
30142                        offset: 2 -1;
30143                    }
30144                    image {
30145                        normal: "bt_sm_hilight.png";
30146                        border: 6 6 6 0;
30147                    }
30148                }
30149                description { state: "selected" 0.0;
30150                    inherit: "default" 0.0;
30151                    visible: 1;
30152                    color: 255 255 255 255;
30153                }
30154            }
30155            part { name: "fg2";
30156                mouse_events: 0;
30157                description { state: "default" 0.0;
30158                    visible: 0;
30159                    color: 255 255 255 0;
30160                    rel1.offset: -3 -3;
30161                    rel2.offset: 2 2;
30162                    image {
30163                        image: "bt_sm_shine.png";
30164                        border: 6 6 6 0;
30165                    }
30166                }
30167                description { state: "selected" 0.0;
30168                    inherit: "default" 0.0;
30169                    visible: 1;
30170                    color: 255 255 255 255;
30171                }
30172            }
30173        }
30174        programs {
30175            program {
30176                signal: "elm,state,selected";
30177                source: "elm";
30178                action: STATE_SET "selected" 0.0;
30179                target: "bg";
30180                target: "fg1";
30181                target: "fg2";
30182            }
30183            program {
30184                signal: "elm,state,unselected";
30185                source: "elm";
30186                action:  STATE_SET "default" 0.0;
30187                target: "bg";
30188                target: "fg1";
30189                target: "fg2";
30190                transition: LINEAR 0.1;
30191            }
30192        }
30193    }
30194
30195 ///////////////////////////////////////////////////////////////////////////////
30196    group { name: "elm/photocam/base/default";
30197        script {
30198            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30199            public timer0(val) {
30200                new v;
30201                v = get_int(sbvis_v);
30202                if (v) {
30203                    v = get_int(sbalways_v);
30204                    if (!v) {
30205                        emit("do-hide-vbar", "");
30206                        set_int(sbvis_v, 0);
30207                    }
30208                }
30209                v = get_int(sbvis_h);
30210                if (v) {
30211                    v = get_int(sbalways_h);
30212                    if (!v) {
30213                        emit("do-hide-hbar", "");
30214                        set_int(sbvis_h, 0);
30215                    }
30216                }
30217                set_int(sbvis_timer, 0);
30218                return 0;
30219            }
30220        }
30221        images {
30222            image: "shelf_inset.png" COMP;
30223            image: "bt_sm_base2.png" COMP;
30224            image: "bt_sm_shine.png" COMP;
30225            image: "bt_sm_hilight.png" COMP;
30226            image: "busy-1.png" COMP;
30227            image: "busy-2.png" COMP;
30228            image: "busy-3.png" COMP;
30229            image: "busy-4.png" COMP;
30230            image: "busy-5.png" COMP;
30231            image: "busy-6.png" COMP;
30232            image: "busy-7.png" COMP;
30233            image: "busy-8.png" COMP;
30234            image: "busy-9.png" COMP;
30235        }
30236        parts {
30237            part { name: "bg";
30238                type: RECT;
30239                description { state: "default" 0.0;
30240                    rel1.offset: 1 1;
30241                    rel2.offset: -2 -2;
30242                    color: 255 255 255 0;
30243                }
30244            }
30245            part { name: "clipper";
30246                type: RECT;
30247                mouse_events: 0;
30248                description { state: "default" 0.0;
30249                    rel1.to: "bg";
30250                    rel2.to: "bg";
30251                }
30252            }
30253            part { name: "elm.swallow.content";
30254                clip_to: "clipper";
30255                type: SWALLOW;
30256                description { state: "default" 0.0;
30257                    rel1.offset: 1 1;
30258                    rel2.offset: -2 -2;
30259                }
30260            }
30261            part { name: "busy_clip";
30262                type: RECT;
30263                mouse_events: 0;
30264                description { state: "default" 0.0;
30265                    visible: 0;
30266                    color: 255 255 255 0;
30267                }
30268                description { state: "active" 0.0;
30269                    visible: 1;
30270                    color: 255 255 255 255;
30271                }
30272            }
30273            part { name: "busy";
30274                clip_to: "busy_clip";
30275                mouse_events: 0;
30276                description { state: "default" 0.0;
30277                    fixed: 1 1;
30278                    min: 32 32;
30279                    aspect: 1.0 1.0;
30280                    align: 1.0 1.0;
30281                    aspect_preference: BOTH;
30282                    rel1 {
30283                        relative: 0.9 0.9;
30284                        offset:   -9 -9;
30285                    }
30286                    rel2 {
30287                        relative: 0.9 0.9;
30288                        offset:   -9 -9;
30289                    }
30290                    image {
30291                        normal: "busy-9.png";
30292                        tween:  "busy-1.png";
30293                        tween:  "busy-2.png";
30294                        tween:  "busy-3.png";
30295                        tween:  "busy-4.png";
30296                        tween:  "busy-5.png";
30297                        tween:  "busy-6.png";
30298                        tween:  "busy-7.png";
30299                        tween:  "busy-8.png";
30300                    }
30301                }
30302            }
30303            part { name: "conf_over";
30304                mouse_events:  0;
30305                description { state: "default" 0.0;
30306                    rel1.offset: 0 0;
30307                    rel2.offset: -1 -1;
30308                    image {
30309                        normal: "shelf_inset.png";
30310                        border: 7 7 7 7;
30311                        middle: 0;
30312                    }
30313                    fill.smooth : 0;
30314                }
30315            }
30316            part { name: "sb_vbar_clip_master";
30317                type: RECT;
30318                mouse_events: 0;
30319                description { state: "default" 0.0;
30320                }
30321                description { state: "hidden" 0.0;
30322                    visible: 0;
30323                    color: 255 255 255 0;
30324                }
30325            }
30326            part { name: "sb_vbar_clip";
30327                clip_to: "sb_vbar_clip_master";
30328                type: RECT;
30329                mouse_events: 0;
30330                description { state: "default" 0.0;
30331                }
30332                description { state: "hidden" 0.0;
30333                    visible: 0;
30334                    color: 255 255 255 0;
30335                }
30336            }
30337            part { name: "sb_vbar";
30338                type: RECT;
30339                mouse_events: 0;
30340                description { state: "default" 0.0;
30341                    fixed: 1 1;
30342                    visible: 0;
30343                    min: 10 17;
30344                    align: 1.0 0.0;
30345                    rel1 {
30346                        relative: 1.0 0.0;
30347                        offset:   -2 0;
30348                    }
30349                    rel2 {
30350                        relative: 1.0 0.0;
30351                        offset:   -2 -1;
30352                        to_y:     "sb_hbar";
30353                    }
30354                }
30355            }
30356            part { name: "elm.dragable.vbar";
30357                clip_to: "sb_vbar_clip";
30358                mouse_events: 0;
30359                dragable {
30360                    x: 0 0 0;
30361                    y: 1 1 0;
30362                    confine: "sb_vbar";
30363                }
30364                description { state: "default" 0.0;
30365                    fixed: 1 1;
30366                    min: 10 17;
30367                    max: 10 99999;
30368                    rel1 {
30369                        relative: 0.5  0.5;
30370                        offset:   0    0;
30371                        to: "sb_vbar";
30372                    }
30373                    rel2 {
30374                        relative: 0.5  0.5;
30375                        offset:   0    0;
30376                        to: "sb_vbar";
30377                    }
30378                    image {
30379                        normal: "bt_sm_base2.png";
30380                        border: 6 6 6 6;
30381                        middle: SOLID;
30382                    }
30383                }
30384            }
30385            part { name: "sb_vbar_over1";
30386                clip_to: "sb_vbar_clip";
30387                mouse_events: 0;
30388                description { state: "default" 0.0;
30389                    rel1.to: "elm.dragable.vbar";
30390                    rel2.relative: 1.0 0.5;
30391                    rel2.to: "elm.dragable.vbar";
30392                    image {
30393                        normal: "bt_sm_hilight.png";
30394                        border: 6 6 6 0;
30395                    }
30396                }
30397            }
30398            part { name: "sb_vbar_over2";
30399                clip_to: "sb_vbar_clip";
30400                mouse_events: 0;
30401                description { state: "default" 0.0;
30402                    rel1.to: "elm.dragable.vbar";
30403                    rel2.to: "elm.dragable.vbar";
30404                    image {
30405                        normal: "bt_sm_shine.png";
30406                        border: 6 6 6 0;
30407                    }
30408                }
30409            }
30410
30411            part { name: "sb_hbar_clip_master";
30412                type: RECT;
30413                mouse_events: 0;
30414                description { state: "default" 0.0;
30415                }
30416                description { state: "hidden" 0.0;
30417                    visible: 0;
30418                    color: 255 255 255 0;
30419                }
30420            }
30421            part { name: "sb_hbar_clip";
30422                clip_to: "sb_hbar_clip_master";
30423                type: RECT;
30424                mouse_events: 0;
30425                description { state: "default" 0.0;
30426                }
30427                description { state: "hidden" 0.0;
30428                    visible: 0;
30429                    color: 255 255 255 0;
30430                }
30431            }
30432            part { name: "sb_hbar";
30433                type: RECT;
30434                mouse_events: 0;
30435                description { state: "default" 0.0;
30436                    fixed: 1 1;
30437                    visible: 0;
30438                    min: 17 10;
30439                    align: 0.0 1.0;
30440                    rel1 {
30441                        relative: 0.0 1.0;
30442                        offset:   0 -2;
30443                    }
30444                    rel2 {
30445                        relative: 0.0 1.0;
30446                        offset:   -1 -2;
30447                        to_x:     "sb_vbar";
30448                    }
30449                }
30450            }
30451            part { name: "elm.dragable.hbar";
30452                clip_to: "sb_hbar_clip";
30453                mouse_events: 0;
30454                dragable {
30455                    x: 1 1 0;
30456                    y: 0 0 0;
30457                    confine: "sb_hbar";
30458                }
30459                description { state: "default" 0.0;
30460                    fixed: 1 1;
30461                    min: 17 10;
30462                    max: 99999 10;
30463                    rel1 {
30464                        relative: 0.5  0.5;
30465                        offset:   0    0;
30466                        to: "sb_hbar";
30467                    }
30468                    rel2 {
30469                        relative: 0.5  0.5;
30470                        offset:   0    0;
30471                        to: "sb_hbar";
30472                    }
30473                    image {
30474                        normal: "bt_sm_base2.png";
30475                        border: 4 4 4 4;
30476                        middle: SOLID;
30477                    }
30478                }
30479            }
30480            part { name: "sb_hbar_over1";
30481                clip_to: "sb_hbar_clip";
30482                mouse_events: 0;
30483                description { state: "default" 0.0;
30484                    rel1.to: "elm.dragable.hbar";
30485                    rel2.relative: 1.0 0.5;
30486                    rel2.to: "elm.dragable.hbar";
30487                    image {
30488                        normal: "bt_sm_hilight.png";
30489                        border: 4 4 4 0;
30490                    }
30491                }
30492            }
30493            part { name: "sb_hbar_over2";
30494                clip_to: "sb_hbar_clip";
30495                mouse_events: 0;
30496                description { state: "default" 0.0;
30497                    rel1.to: "elm.dragable.hbar";
30498                    rel2.to: "elm.dragable.hbar";
30499                    image {
30500                        normal: "bt_sm_shine.png";
30501                        border: 4 4 4 0;
30502                    }
30503                }
30504            }
30505        }
30506        programs {
30507            program { name: "load";
30508                signal: "load";
30509                source: "";
30510                script {
30511                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30512                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30513                    set_int(sbvis_h, 0);
30514                    set_int(sbvis_v, 0);
30515                    set_int(sbalways_v, 0);
30516                    set_int(sbalways_h, 0);
30517                    set_int(sbvis_timer, 0);
30518                }
30519            }
30520
30521            program { name: "vbar_show";
30522                signal: "elm,action,show,vbar";
30523                source: "elm";
30524                action:  STATE_SET "default" 0.0;
30525                target: "sb_vbar_clip_master";
30526            }
30527            program { name: "vbar_hide";
30528                signal: "elm,action,hide,vbar";
30529                source: "elm";
30530                action:  STATE_SET "hidden" 0.0;
30531                target: "sb_vbar_clip_master";
30532            }
30533            program { name: "vbar_show_always";
30534                signal: "elm,action,show_always,vbar";
30535                source: "elm";
30536                script {
30537                    new v;
30538                    v = get_int(sbvis_v);
30539                    v |= get_int(sbalways_v);
30540                    if (!v) {
30541                        set_int(sbalways_v, 1);
30542                        emit("do-show-vbar", "");
30543                        set_int(sbvis_v, 1);
30544                    }
30545                }
30546            }
30547            program { name: "vbar_show_notalways";
30548                signal: "elm,action,show_notalways,vbar";
30549                source: "elm";
30550                script {
30551                    new v;
30552                    v = get_int(sbalways_v);
30553                    if (v) {
30554                        set_int(sbalways_v, 0);
30555                        v = get_int(sbvis_v);
30556                        if (!v) {
30557                            emit("do-hide-vbar", "");
30558                            set_int(sbvis_v, 0);
30559                        }
30560                    }
30561                }
30562            }
30563            program { name: "sb_vbar_show";
30564                signal: "do-show-vbar";
30565                source: "";
30566                action:  STATE_SET "default" 0.0;
30567                transition: LINEAR 0.5;
30568                target: "sb_vbar_clip";
30569            }
30570            program { name: "sb_vbar_hide";
30571                signal: "do-hide-vbar";
30572                source: "";
30573                action:  STATE_SET "hidden" 0.0;
30574                transition: LINEAR 0.5;
30575                target: "sb_vbar_clip";
30576            }
30577
30578            program { name: "hbar_show";
30579                signal: "elm,action,show,hbar";
30580                source: "elm";
30581                action:  STATE_SET "default" 0.0;
30582                target: "sb_hbar_clip_master";
30583            }
30584            program { name: "hbar_hide";
30585                signal: "elm,action,hide,hbar";
30586                source: "elm";
30587                action:  STATE_SET "hidden" 0.0;
30588                target: "sb_hbar_clip_master";
30589            }
30590            program { name: "hbar_show_always";
30591                signal: "elm,action,show_always,hbar";
30592                source: "elm";
30593                script {
30594                    new v;
30595                    v = get_int(sbvis_h);
30596                    v |= get_int(sbalways_h);
30597                    if (!v) {
30598                        set_int(sbalways_h, 1);
30599                        emit("do-show-hbar", "");
30600                        set_int(sbvis_h, 1);
30601                    }
30602                }
30603            }
30604            program { name: "hbar_show_notalways";
30605                signal: "elm,action,show_notalways,hbar";
30606                source: "elm";
30607                script {
30608                    new v;
30609                    v = get_int(sbalways_h);
30610                    if (v) {
30611                        set_int(sbalways_h, 0);
30612                        v = get_int(sbvis_h);
30613                        if (!v) {
30614                            emit("do-hide-hbar", "");
30615                            set_int(sbvis_h, 0);
30616                        }
30617                    }
30618                }
30619            }
30620            program { name: "sb_hbar_show";
30621                signal: "do-show-hbar";
30622                source: "";
30623                action:  STATE_SET "default" 0.0;
30624                transition: LINEAR 0.5;
30625                target: "sb_hbar_clip";
30626            }
30627            program { name: "sb_hbar_hide";
30628                signal: "do-hide-hbar";
30629                source: "";
30630                action:  STATE_SET "hidden" 0.0;
30631                transition: LINEAR 0.5;
30632                target: "sb_hbar_clip";
30633            }
30634
30635            program { name: "scroll";
30636                signal: "elm,action,scroll";
30637                source: "elm";
30638                script {
30639                    new v;
30640                    v = get_int(sbvis_v);
30641                    v |= get_int(sbalways_v);
30642                    if (!v) {
30643                        emit("do-show-vbar", "");
30644                        set_int(sbvis_v, 1);
30645                    }
30646                    v = get_int(sbvis_h);
30647                    v |= get_int(sbalways_h);
30648                    if (!v) {
30649                        emit("do-show-hbar", "");
30650                        set_int(sbvis_h, 1);
30651                    }
30652                    v = get_int(sbvis_timer);
30653                    if (v > 0) cancel_timer(v);
30654                    v = timer(1.0, "timer0", 0);
30655                    set_int(sbvis_timer, v);
30656                }
30657            }
30658            program { name: "go1";
30659                signal: "elm,state,busy,start";
30660                source: "elm";
30661                action: STATE_SET "active" 0.0;
30662                transition: SINUSOIDAL 1.0;
30663                target:  "busy_clip";
30664            }
30665            program { name: "go2";
30666                signal: "elm,state,busy,start";
30667                source: "elm";
30668                action: STATE_SET "default" 0.0;
30669                transition: LINEAR 0.5;
30670                target: "busy";
30671                after:  "go2";
30672            }
30673            program { name: "stop1";
30674                signal: "elm,state,busy,stop";
30675                source: "elm";
30676                action: STATE_SET "default" 0.0;
30677                transition: SINUSOIDAL 1.0;
30678                target: "busy_clip";
30679                after: "stop2";
30680            }
30681          program { name: "stop2";
30682             action: ACTION_STOP;
30683             target: "go2";
30684          }
30685       }
30686    }
30687
30688    ///////////////////////////////////////////////////////////////////////////////
30689    group { name: "elm/map/base/default";
30690        script {
30691            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30692            public timer0(val) {
30693                new v;
30694                v = get_int(sbvis_v);
30695                if (v) {
30696                    v = get_int(sbalways_v);
30697                    if (!v) {
30698                        emit("do-hide-vbar", "");
30699                        set_int(sbvis_v, 0);
30700                    }
30701                }
30702                v = get_int(sbvis_h);
30703                if (v) {
30704                    v = get_int(sbalways_h);
30705                    if (!v) {
30706                        emit("do-hide-hbar", "");
30707                        set_int(sbvis_h, 0);
30708                    }
30709                }
30710                set_int(sbvis_timer, 0);
30711                return 0;
30712            }
30713        }
30714        images {
30715            image: "shelf_inset.png" COMP;
30716            image: "bt_sm_base2.png" COMP;
30717            image: "bt_sm_shine.png" COMP;
30718            image: "bt_sm_hilight.png" COMP;
30719            image: "busy-1.png" COMP;
30720            image: "busy-2.png" COMP;
30721            image: "busy-3.png" COMP;
30722            image: "busy-4.png" COMP;
30723            image: "busy-5.png" COMP;
30724            image: "busy-6.png" COMP;
30725            image: "busy-7.png" COMP;
30726            image: "busy-8.png" COMP;
30727            image: "busy-9.png" COMP;
30728        }
30729        parts {
30730            part { name: "bg";
30731                type: RECT;
30732                description { state: "default" 0.0;
30733                    rel1.offset: 1 1;
30734                    rel2.offset: -2 -2;
30735                    color: 255 255 255 0;
30736                }
30737            }
30738            part { name: "clipper";
30739                type: RECT;
30740                mouse_events: 0;
30741                description { state: "default" 0.0;
30742                    rel1.to: "bg";
30743                    rel2.to: "bg";
30744                }
30745            }
30746            part { name: "elm.swallow.content";
30747                clip_to: "clipper";
30748                type: SWALLOW;
30749                description { state: "default" 0.0;
30750                    rel1.offset: 1 1;
30751                    rel2.offset: -2 -2;
30752                }
30753            }
30754            part { name: "busy_clip";
30755                type: RECT;
30756                mouse_events: 0;
30757                description { state: "default" 0.0;
30758                    visible: 0;
30759                    color: 255 255 255 0;
30760                }
30761                description { state: "active" 0.0;
30762                    visible: 1;
30763                    color: 255 255 255 255;
30764                }
30765            }
30766            part { name: "busy";
30767                clip_to: "busy_clip";
30768                mouse_events: 0;
30769                description { state: "default" 0.0;
30770                    fixed: 1 1;
30771                    min: 32 32;
30772                    aspect: 1.0 1.0;
30773                    align: 1.0 1.0;
30774                    aspect_preference: BOTH;
30775                    rel1 {
30776                        relative: 0.9 0.9;
30777                        offset:   -9 -9;
30778                    }
30779                    rel2 {
30780                        relative: 0.9 0.9;
30781                        offset:   -9 -9;
30782                    }
30783                    image {
30784                        normal: "busy-9.png";
30785                        tween:  "busy-1.png";
30786                        tween:  "busy-2.png";
30787                        tween:  "busy-3.png";
30788                        tween:  "busy-4.png";
30789                        tween:  "busy-5.png";
30790                        tween:  "busy-6.png";
30791                        tween:  "busy-7.png";
30792                        tween:  "busy-8.png";
30793                    }
30794                }
30795            }
30796            part { name: "conf_over";
30797                mouse_events:  0;
30798                description { state: "default" 0.0;
30799                    rel1.offset: 0 0;
30800                    rel2.offset: -1 -1;
30801                    image {
30802                        normal: "shelf_inset.png";
30803                        border: 7 7 7 7;
30804                        middle: 0;
30805                    }
30806                    fill.smooth : 0;
30807                }
30808            }
30809            part { name: "sb_vbar_clip_master";
30810                type: RECT;
30811                mouse_events: 0;
30812                description { state: "default" 0.0;
30813                }
30814                description { state: "hidden" 0.0;
30815                    visible: 0;
30816                    color: 255 255 255 0;
30817                }
30818            }
30819            part { name: "sb_vbar_clip";
30820                clip_to: "sb_vbar_clip_master";
30821                type: RECT;
30822                mouse_events: 0;
30823                description { state: "default" 0.0;
30824                }
30825                description { state: "hidden" 0.0;
30826                    visible: 0;
30827                    color: 255 255 255 0;
30828                }
30829            }
30830            part { name: "sb_vbar";
30831                type: RECT;
30832                mouse_events: 0;
30833                description { state: "default" 0.0;
30834                    fixed: 1 1;
30835                    visible: 0;
30836                    min: 10 17;
30837                    align: 1.0 0.0;
30838                    rel1 {
30839                        relative: 1.0 0.0;
30840                        offset:   -2 0;
30841                    }
30842                    rel2 {
30843                        relative: 1.0 0.0;
30844                        offset:   -2 -1;
30845                        to_y:     "sb_hbar";
30846                    }
30847                }
30848            }
30849            part { name: "elm.dragable.vbar";
30850                clip_to: "sb_vbar_clip";
30851                mouse_events: 0;
30852                dragable {
30853                    x: 0 0 0;
30854                    y: 1 1 0;
30855                    confine: "sb_vbar";
30856                }
30857                description { state: "default" 0.0;
30858                    fixed: 1 1;
30859                    min: 10 17;
30860                    max: 10 99999;
30861                    rel1 {
30862                        relative: 0.5  0.5;
30863                        offset:   0    0;
30864                        to: "sb_vbar";
30865                    }
30866                    rel2 {
30867                        relative: 0.5  0.5;
30868                        offset:   0    0;
30869                        to: "sb_vbar";
30870                    }
30871                    image {
30872                        normal: "bt_sm_base2.png";
30873                        border: 6 6 6 6;
30874                        middle: SOLID;
30875                    }
30876                }
30877            }
30878            part { name: "sb_vbar_over1";
30879                clip_to: "sb_vbar_clip";
30880                mouse_events: 0;
30881                description { state: "default" 0.0;
30882                    rel1.to: "elm.dragable.vbar";
30883                    rel2.relative: 1.0 0.5;
30884                    rel2.to: "elm.dragable.vbar";
30885                    image {
30886                        normal: "bt_sm_hilight.png";
30887                        border: 6 6 6 0;
30888                    }
30889                }
30890            }
30891            part { name: "sb_vbar_over2";
30892                clip_to: "sb_vbar_clip";
30893                mouse_events: 0;
30894                description { state: "default" 0.0;
30895                    rel1.to: "elm.dragable.vbar";
30896                    rel2.to: "elm.dragable.vbar";
30897                    image {
30898                        normal: "bt_sm_shine.png";
30899                        border: 6 6 6 0;
30900                    }
30901                }
30902            }
30903
30904            part { name: "sb_hbar_clip_master";
30905                type: RECT;
30906                mouse_events: 0;
30907                description { state: "default" 0.0;
30908                }
30909                description { state: "hidden" 0.0;
30910                    visible: 0;
30911                    color: 255 255 255 0;
30912                }
30913            }
30914            part { name: "sb_hbar_clip";
30915                clip_to: "sb_hbar_clip_master";
30916                type: RECT;
30917                mouse_events: 0;
30918                description { state: "default" 0.0;
30919                }
30920                description { state: "hidden" 0.0;
30921                    visible: 0;
30922                    color: 255 255 255 0;
30923                }
30924            }
30925            part { name: "sb_hbar";
30926                type: RECT;
30927                mouse_events: 0;
30928                description { state: "default" 0.0;
30929                    fixed: 1 1;
30930                    visible: 0;
30931                    min: 17 10;
30932                    align: 0.0 1.0;
30933                    rel1 {
30934                        relative: 0.0 1.0;
30935                        offset:   0 -2;
30936                    }
30937                    rel2 {
30938                        relative: 0.0 1.0;
30939                        offset:   -1 -2;
30940                        to_x:     "sb_vbar";
30941                    }
30942                }
30943            }
30944            part { name: "elm.dragable.hbar";
30945                clip_to: "sb_hbar_clip";
30946                mouse_events: 0;
30947                dragable {
30948                    x: 1 1 0;
30949                    y: 0 0 0;
30950                    confine: "sb_hbar";
30951                }
30952                description { state: "default" 0.0;
30953                    fixed: 1 1;
30954                    min: 17 10;
30955                    max: 99999 10;
30956                    rel1 {
30957                        relative: 0.5  0.5;
30958                        offset:   0    0;
30959                        to: "sb_hbar";
30960                    }
30961                    rel2 {
30962                        relative: 0.5  0.5;
30963                        offset:   0    0;
30964                        to: "sb_hbar";
30965                    }
30966                    image {
30967                        normal: "bt_sm_base2.png";
30968                        border: 4 4 4 4;
30969                        middle: SOLID;
30970                    }
30971                }
30972            }
30973            part { name: "sb_hbar_over1";
30974                clip_to: "sb_hbar_clip";
30975                mouse_events: 0;
30976                description { state: "default" 0.0;
30977                    rel1.to: "elm.dragable.hbar";
30978                    rel2.relative: 1.0 0.5;
30979                    rel2.to: "elm.dragable.hbar";
30980                    image {
30981                        normal: "bt_sm_hilight.png";
30982                        border: 4 4 4 0;
30983                    }
30984                }
30985            }
30986            part { name: "sb_hbar_over2";
30987                clip_to: "sb_hbar_clip";
30988                mouse_events: 0;
30989                description { state: "default" 0.0;
30990                    rel1.to: "elm.dragable.hbar";
30991                    rel2.to: "elm.dragable.hbar";
30992                    image {
30993                        normal: "bt_sm_shine.png";
30994                        border: 4 4 4 0;
30995                    }
30996                }
30997            }
30998        }
30999        programs {
31000            program { name: "load";
31001                signal: "load";
31002                source: "";
31003                script {
31004                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31005                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31006                    set_int(sbvis_h, 0);
31007                    set_int(sbvis_v, 0);
31008                    set_int(sbalways_v, 0);
31009                    set_int(sbalways_h, 0);
31010                    set_int(sbvis_timer, 0);
31011                }
31012            }
31013
31014            program { name: "vbar_show";
31015                signal: "elm,action,show,vbar";
31016                source: "elm";
31017                action:  STATE_SET "default" 0.0;
31018                target: "sb_vbar_clip_master";
31019            }
31020            program { name: "vbar_hide";
31021                signal: "elm,action,hide,vbar";
31022                source: "elm";
31023                action:  STATE_SET "hidden" 0.0;
31024                target: "sb_vbar_clip_master";
31025            }
31026            program { name: "vbar_show_always";
31027                signal: "elm,action,show_always,vbar";
31028                source: "elm";
31029                script {
31030                    new v;
31031                    v = get_int(sbvis_v);
31032                    v |= get_int(sbalways_v);
31033                    if (!v) {
31034                        set_int(sbalways_v, 1);
31035                        emit("do-show-vbar", "");
31036                        set_int(sbvis_v, 1);
31037                    }
31038                }
31039            }
31040            program { name: "vbar_show_notalways";
31041                signal: "elm,action,show_notalways,vbar";
31042                source: "elm";
31043                script {
31044                    new v;
31045                    v = get_int(sbalways_v);
31046                    if (v) {
31047                        set_int(sbalways_v, 0);
31048                        v = get_int(sbvis_v);
31049                        if (!v) {
31050                            emit("do-hide-vbar", "");
31051                            set_int(sbvis_v, 0);
31052                        }
31053                    }
31054                }
31055            }
31056            program { name: "sb_vbar_show";
31057                signal: "do-show-vbar";
31058                source: "";
31059                action:  STATE_SET "default" 0.0;
31060                transition: LINEAR 0.5;
31061                target: "sb_vbar_clip";
31062            }
31063            program { name: "sb_vbar_hide";
31064                signal: "do-hide-vbar";
31065                source: "";
31066                action:  STATE_SET "hidden" 0.0;
31067                transition: LINEAR 0.5;
31068                target: "sb_vbar_clip";
31069            }
31070
31071            program { name: "hbar_show";
31072                signal: "elm,action,show,hbar";
31073                source: "elm";
31074                action:  STATE_SET "default" 0.0;
31075                target: "sb_hbar_clip_master";
31076            }
31077            program { name: "hbar_hide";
31078                signal: "elm,action,hide,hbar";
31079                source: "elm";
31080                action:  STATE_SET "hidden" 0.0;
31081                target: "sb_hbar_clip_master";
31082            }
31083            program { name: "hbar_show_always";
31084                signal: "elm,action,show_always,hbar";
31085                source: "elm";
31086                script {
31087                    new v;
31088                    v = get_int(sbvis_h);
31089                    v |= get_int(sbalways_h);
31090                    if (!v) {
31091                        set_int(sbalways_h, 1);
31092                        emit("do-show-hbar", "");
31093                        set_int(sbvis_h, 1);
31094                    }
31095                }
31096            }
31097            program { name: "hbar_show_notalways";
31098                signal: "elm,action,show_notalways,hbar";
31099                source: "elm";
31100                script {
31101                    new v;
31102                    v = get_int(sbalways_h);
31103                    if (v) {
31104                        set_int(sbalways_h, 0);
31105                        v = get_int(sbvis_h);
31106                        if (!v) {
31107                            emit("do-hide-hbar", "");
31108                            set_int(sbvis_h, 0);
31109                        }
31110                    }
31111                }
31112            }
31113            program { name: "sb_hbar_show";
31114                signal: "do-show-hbar";
31115                source: "";
31116                action:  STATE_SET "default" 0.0;
31117                transition: LINEAR 0.5;
31118                target: "sb_hbar_clip";
31119            }
31120            program { name: "sb_hbar_hide";
31121                signal: "do-hide-hbar";
31122                source: "";
31123                action:  STATE_SET "hidden" 0.0;
31124                transition: LINEAR 0.5;
31125                target: "sb_hbar_clip";
31126            }
31127
31128            program { name: "scroll";
31129                signal: "elm,action,scroll";
31130                source: "elm";
31131                script {
31132                    new v;
31133                    v = get_int(sbvis_v);
31134                    v |= get_int(sbalways_v);
31135                    if (!v) {
31136                        emit("do-show-vbar", "");
31137                        set_int(sbvis_v, 1);
31138                    }
31139                    v = get_int(sbvis_h);
31140                    v |= get_int(sbalways_h);
31141                    if (!v) {
31142                        emit("do-show-hbar", "");
31143                        set_int(sbvis_h, 1);
31144                    }
31145                    v = get_int(sbvis_timer);
31146                    if (v > 0) cancel_timer(v);
31147                    v = timer(1.0, "timer0", 0);
31148                    set_int(sbvis_timer, v);
31149                }
31150            }
31151            program { name: "go1";
31152                signal: "elm,state,busy,start";
31153                source: "elm";
31154                action: STATE_SET "active" 0.0;
31155                transition: SINUSOIDAL 1.0;
31156                target:  "busy_clip";
31157            }
31158            program { name: "go2";
31159                signal: "elm,state,busy,start";
31160                source: "elm";
31161                action: STATE_SET "default" 0.0;
31162                transition: LINEAR 0.5;
31163                target: "busy";
31164                after:  "go2";
31165            }
31166            program { name: "stop1";
31167                signal: "elm,state,busy,stop";
31168                source: "elm";
31169                action: STATE_SET "default" 0.0;
31170                transition: SINUSOIDAL 1.0;
31171                target: "busy_clip";
31172                after: "stop2";
31173            }
31174          program { name: "stop2";
31175             action: ACTION_STOP;
31176             target: "go2";
31177          }
31178       }
31179    }
31180    group { name: "elm/map/marker/radio/default";
31181         data {
31182             item: size_w 24;
31183             item: size_h 24;
31184             item: size_max_w 58;
31185             item: size_max_h 58;
31186         }
31187         images {
31188                 image: "map_item.png" COMP;
31189         }
31190         parts {
31191             part { name: "whole";
31192                 description { state: "default" 0.0;
31193                 }
31194             }
31195             part { name: "base";
31196                 ignore_flags: ON_HOLD;
31197                 description { state: "default" 0.0;
31198                     image.normal: "map_item.png";
31199                 }
31200             }
31201             part { name: "elm.icon";
31202                 type: SWALLOW;
31203                 clip_to: "whole";
31204                 mouse_events:  0;
31205                 description { state: "default" 0.0;
31206                     rel1.relative: 0.27 0.27;
31207                     rel2.relative: 0.73 0.73;
31208                 }
31209             }
31210             part { name: "elm.text";
31211                 type:          TEXT;
31212                 effect:        SOFT_SHADOW;
31213                 mouse_events:  0;
31214                 scale: 1;
31215                 description { state: "default" 0.0;
31216                     align:    0.5 0.5;
31217                     color: 224 224 224 255;
31218                     color3: 0 0 0 64;
31219                     rel1.relative: 0.28 0.25;
31220                     rel2.relative: 0.75 0.75;
31221                     text {
31222                         font:     "Sans,Edje-Vera";
31223                         size:     10;
31224                         min:      0 0;
31225                         align:    0.5 0.5;
31226                     }
31227                 }
31228             }
31229        }
31230        programs {
31231             program { name: "open";
31232                 signal: "mouse,clicked,1";
31233                 source: "base";
31234                 action: SIGNAL_EMIT "open" "elm";
31235             }
31236             program { name: "bringin";
31237                 signal: "mouse,down,1,double";
31238                 source: "base";
31239                 action: SIGNAL_EMIT "bringin" "elm";
31240             }
31241        }
31242    }
31243    group { name: "elm/map/marker/radio2/default";
31244         data {
31245             item: size_w 24;
31246             item: size_h 24;
31247             item: size_max_w 58;
31248             item: size_max_h 58;
31249         }
31250         images {
31251                 image: "map_item_2.png" COMP;
31252         }
31253         parts {
31254             part { name: "base";
31255                 ignore_flags: ON_HOLD;
31256                 description { state: "default" 0.0;
31257                     image.normal: "map_item_2.png";
31258                 }
31259             }
31260             part { name: "elm.text";
31261                 type:          TEXT;
31262                 effect:        SOFT_SHADOW;
31263                 mouse_events:  0;
31264                 scale: 1;
31265                 description { state: "default" 0.0;
31266                     align:    0.5 0.5;
31267                     color: 224 224 224 255;
31268                     color3: 0 0 0 64;
31269                     rel1.relative: 0.28 0.25;
31270                     rel2.relative: 0.75 0.75;
31271                     text {
31272                         font:     "Sans,Edje-Vera";
31273                         size:     10;
31274                         min:      0 0;
31275                         align:    0.5 0.5;
31276                     }
31277                 }
31278             }
31279        }
31280        programs {
31281             program { name: "open";
31282                 signal: "mouse,clicked,1";
31283                 source: "base";
31284                 action: SIGNAL_EMIT "open" "elm";
31285             }
31286             program { name: "bringin";
31287                 signal: "mouse,down,1,double";
31288                 source: "base";
31289                 action: SIGNAL_EMIT "bringin" "elm";
31290             }
31291        }
31292    }
31293    group { name: "elm/map/marker/empty/default";
31294         data {
31295             item: size_w 22;
31296             item: size_h 22;
31297             item: size_max_w 64;
31298             item: size_max_h 64;
31299         }
31300         parts {
31301             part { name: "whole";
31302                 description { state: "default" 0.0;
31303                 }
31304             }
31305             part { name: "base";
31306                 ignore_flags: ON_HOLD;
31307                 description { state: "default" 0.0;
31308                 }
31309             }
31310             part { name: "elm.icon";
31311                 type: SWALLOW;
31312                 clip_to: "whole";
31313                 mouse_events:  0;
31314                 description { state: "default" 0.0;
31315                 }
31316             }
31317             part { name: "elm.text";
31318                 type:          TEXT;
31319                 effect:        SOFT_SHADOW;
31320                 mouse_events:  0;
31321                 scale: 1;
31322                 description { state: "default" 0.0;
31323                     align:    0.5 0.5;
31324                     color: 224 224 224 255;
31325                     color3: 0 0 0 64;
31326                     rel1.relative: 0.28 0.25;
31327                     rel2.relative: 0.75 0.75;
31328                     text {
31329                         font:     "Sans,Edje-Vera";
31330                         size:     10;
31331                         min:      0 0;
31332                         align:    0.5 0.5;
31333                     }
31334                 }
31335             }
31336        }
31337        programs {
31338             program { name: "open";
31339                 signal: "mouse,clicked,1";
31340                 source: "base";
31341                 action: SIGNAL_EMIT "open" "elm";
31342             }
31343             program { name: "bringin";
31344                 signal: "mouse,down,1,double";
31345                 source: "base";
31346                 action: SIGNAL_EMIT "bringin" "elm";
31347             }
31348        }
31349    }
31350    group { name: "elm/map/marker_bubble/default";
31351     images {
31352       image: "bubble.png" COMP;
31353       image: "bubble_shine.png" COMP;
31354     }
31355     data {
31356             item: size_w 400;
31357             item: size_h 100;
31358         }
31359     parts {
31360     part { name: "clipper";
31361         mouse_events:  1;
31362         description { state: "default" 0.0;
31363           color: 255 255 255 0;
31364         }
31365         description { state: "show" 0.0;
31366             inherit: "default" 0.0;
31367             color: 255 255 255 255;
31368         }
31369       }
31370      part { name: "base0";
31371         mouse_events:  0;
31372         clip_to: "clipper";
31373         description { state: "default" 0.0;
31374           image {
31375             normal: "bubble.png";
31376             border: 11 36 10 19;
31377           }
31378           image.middle: SOLID;
31379           fill.smooth: 0;
31380         }
31381         description { state: "rtl" 0.0;
31382            inherit: "default" 0.0;
31383            image {
31384               normal: "bubble_4.png";
31385               border: 11 36 18 9;
31386            }
31387         }
31388       }
31389       part { name: "elm.swallow.content";
31390         type: SWALLOW;
31391         clip_to: "clipper";
31392         description { state: "default" 0.0;
31393             align: 0.5 0.5;
31394           rel1 {
31395             offset: 9 8;
31396           }
31397           rel2 {
31398             offset: -10 -17;
31399           }
31400         }
31401       }
31402       part { name: "shine";
31403         mouse_events:  0;
31404         clip_to: "clipper";
31405         description { state:    "default" 0.0;
31406           rel1 {
31407             to: "base0";
31408           }
31409           rel2 {
31410             to: "base0";
31411             relative: 1.0 0.5;
31412           }
31413           image {
31414             normal: "bubble_shine.png";
31415             border: 5 5 5 0;
31416           }
31417           fill.smooth: 0;
31418         }
31419         }
31420     }
31421     programs {
31422         program { name: "show";
31423             signal: "show";
31424             action: STATE_SET "show" 0.0;
31425             target: "clipper";
31426             transition: ACCELERATE 0.5;
31427         }
31428     }
31429   }
31430
31431 /////////////////////////////////////////////////////////////////////////////
31432 // PANES
31433 /////////////////////////////////////////////////////////////////////////////
31434   group {
31435      name: "elm/panes/vertical/default";
31436       images {
31437          image: "bt_base1.png" COMP;
31438          image: "bt_base2.png" COMP;
31439          image: "bt_hilight.png" COMP;
31440          image: "bt_shine.png" COMP;
31441          image: "bt_glow.png" COMP;
31442          image: "bt_dis_base.png" COMP;
31443          image: "bt_dis_hilight.png" COMP;
31444          image: "arrow_right.png" COMP;
31445          image: "arrow_left.png" COMP;
31446       }
31447      parts
31448        {
31449           part
31450             {
31451                name: "whole";
31452                type: RECT;
31453                mouse_events: 0;
31454                description
31455                  {
31456                     state: "default" 0.0;
31457                     visible: 0;
31458                  }
31459             }
31460
31461          //2 contents
31462           part
31463             {
31464                name: "whole_left";
31465                type: RECT;
31466                mouse_events: 0;
31467                description
31468                  {
31469                     state: "default" 0.0;
31470                     rel2.to_x: "elm.bar";
31471                     rel2.relative: 0.0 1.0;
31472                     visible: 1;
31473                  }
31474             }
31475           part
31476             {
31477                name: "elm.swallow.left";
31478                type: SWALLOW;
31479                clip_to: "whole_left";
31480                description
31481                  {
31482                     state: "default" 0.0;
31483                     rel1.to: "whole_left";
31484                     rel2.to: "whole_left";
31485                  }
31486             }
31487
31488             part
31489             {
31490                name: "whole_right";
31491                type: RECT;
31492                mouse_events: 0;
31493                description
31494                  {
31495                     state: "default" 0.0;
31496                     rel1.to_x: "elm.bar";
31497                     rel1.relative: 1.0 0.0;
31498                     visible: 1;
31499                  }
31500             }
31501           part
31502             {
31503                name: "elm.swallow.right";
31504                type: SWALLOW;
31505                clip_to: "whole_right";
31506                description
31507                  {
31508                     state: "default" 0.0;
31509                     rel1.to: "whole_right";
31510                     rel2.to: "whole_right";
31511                  }
31512             }
31513          //BAR
31514          part { name: "elm.bar";
31515             mouse_events: 1;
31516             dragable {
31517                confine: "whole";
31518                x: 1 1 1;
31519                y: 0 0 0;
31520             }
31521             description { state: "default" 0.0;
31522                max: 15 9999;
31523                min: 15 100;
31524                rel1.relative: 0.0 0.5;
31525                rel2.relative: 1.0 0.5;
31526                image {
31527                   normal: "bt_base2.png";
31528                   border: 7 7 7 7;
31529                }
31530                image.middle: SOLID;
31531             }
31532             description { state: "clicked" 0.0;
31533                inherit: "default" 0.0;
31534                image.normal: "bt_base1.png";
31535                image.middle: SOLID;
31536             }
31537             description { state: "disabled" 0.0;
31538                inherit:  "default" 0.0;
31539                image {
31540                   normal: "bt_dis_base.png";
31541                   border: 4 4 4 4;
31542                }
31543             }
31544          }
31545          part {          name: "over1";
31546             mouse_events: 0;
31547             description { state: "default" 0.0;
31548             rel1.to: "elm.bar";
31549             rel2.to: "elm.bar";
31550                rel2.relative: 1.0 0.5;
31551                image {
31552                   normal: "bt_hilight.png";
31553                   border: 7 7 7 0;
31554                }
31555             }
31556             description { state: "disabled" 0.0;
31557                inherit:  "default" 0.0;
31558                image {
31559                   normal: "bt_dis_hilight.png";
31560                   border: 4 4 4 0;
31561                }
31562             }
31563          }
31564          part { name: "over2";
31565             mouse_events: 1;
31566             repeat_events: 1;
31567             ignore_flags: ON_HOLD;
31568             description { state: "default" 0.0;
31569             rel1.to: "elm.bar";
31570             rel2.to: "elm.bar";
31571                image {
31572                   normal: "bt_shine.png";
31573                   border: 7 7 7 7;
31574                }
31575             }
31576             description { state: "disabled" 0.0;
31577                inherit:  "default" 0.0;
31578                visible: 0;
31579             }
31580          }
31581          part { name: "over3";
31582             mouse_events: 1;
31583             repeat_events: 1;
31584             description { state: "default" 0.0;
31585                color: 255 255 255 0;
31586             rel1.to: "elm.bar";
31587             rel2.to: "elm.bar";
31588                image {
31589                   normal: "bt_glow.png";
31590                   border: 12 12 12 12;
31591                }
31592                fill.smooth : 0;
31593             }
31594             description { state: "clicked" 0.0;
31595                inherit:  "default" 0.0;
31596                visible: 1;
31597                color: 255 255 255 255;
31598             }
31599          }
31600
31601          //Arrow
31602          part {
31603             name: "arrow_right";
31604             repeat_events: 1;
31605             description { state: "default" 0.0;
31606                 min: 45 45;
31607                 max: 45 45;
31608                 color: 255 255 255 0;
31609
31610                 rel1.relative: 1.0 0.5;
31611                 rel1.to_x: "elm.bar";
31612                 rel1.offset: 45/2 -45/2;
31613
31614                 rel2.relative: 1.0 0.5;
31615                 rel2.to_x: "elm.bar";
31616                 rel2.offset: 45/2 45/2;
31617
31618                 image.normal: "arrow_right.png";
31619
31620                 fixed: 1 1;
31621             }
31622             description { state: "default" 0.1;
31623                 inherit: "default" 0.0;
31624                 image.normal: "arrow_left.png";
31625             }
31626             description { state: "anim_1" 0.0;
31627                 inherit: "default" 0.0;
31628                 color: 255 255 255 200;
31629                 rel1.offset: (45/2 + 10) -45/2;
31630                 rel2.offset: (45/2 +10) 45/2;
31631             }
31632             description { state: "anim_1" 0.1;
31633                 inherit: "default" 0.0;
31634                 image.normal: "arrow_left.png";
31635                 color: 255 255 255 200;
31636                 rel1.offset: (45/2 + 10) -45/2;
31637                 rel2.offset: (45/2 +10) 45/2;
31638             }
31639             description { state: "anim_2" 0.0;
31640                 inherit: "default" 0.0;
31641                 color: 255 255 255 0;
31642                 rel1.offset: (45/2 + 20) -45/2;
31643                 rel2.offset: (45/2 + 20) 45/2;
31644             }
31645             description { state: "anim_2" 0.1;
31646                 inherit: "default" 0.0;
31647                 image.normal: "arrow_left.png";
31648                 color: 255 255 255 0;
31649                 rel1.offset: (45/2 + 20) -45/2;
31650                 rel2.offset: (45/2 + 20) 45/2;
31651             }
31652          }
31653         part {
31654             name: "arrow_left";
31655             repeat_events: 1;
31656             description { state: "default" 0.0;
31657                 min: 45 45;
31658                 max: 45 45;
31659                 color: 255 255 255 0;
31660
31661                 rel1.relative: 0.0 0.5;
31662                 rel1.to_x: "elm.bar";
31663                 rel1.offset: -45/2 -45/2;
31664
31665                 rel2.relative: 0.0 0.5;
31666                 rel2.to_x: "elm.bar";
31667                 rel2.offset: -45/2 45/2;
31668
31669                 image.normal: "arrow_left.png";
31670
31671                 fixed: 1 1;
31672             }
31673             description { state: "default" 0.1;
31674                 inherit: "default" 0.0;
31675                 image.normal: "arrow_right.png";
31676             }
31677             description { state: "anim_1" 0.0;
31678                 inherit: "default" 0.0;
31679                 color: 255 255 255 200;
31680                 rel1.offset: (-45/2 - 10) -45/2;
31681                 rel2.offset: (-45/2 - 10) 45/2;
31682             }
31683             description { state: "anim_1" 0.1;
31684                 inherit: "default" 0.0;
31685                 image.normal: "arrow_right.png";
31686                 color: 255 255 255 200;
31687                 rel1.offset: (-45/2 - 10) -45/2;
31688                 rel2.offset: (-45/2 - 10) 45/2;
31689             }
31690             description { state: "anim_2" 0.0;
31691                 inherit: "default" 0.0;
31692                 color: 255 255 255 0;
31693                 rel1.offset: (-45/2 - 20) -45/2;
31694                 rel2.offset: (-45/2 - 20) 45/2;
31695             }
31696             description { state: "anim_2" 0.1;
31697                 inherit: "default" 0.0;
31698                 image.normal: "arrow_right.png";
31699                 color: 255 255 255 0;
31700                 rel1.offset: (-45/2 - 20) -45/2;
31701                 rel2.offset: (-45/2 - 20) 45/2;
31702             }
31703          }
31704
31705        }
31706         programs {
31707          program {
31708             name:   "button_click";
31709             signal: "mouse,down,1";
31710             source: "over2";
31711             action: SIGNAL_EMIT "elm,action,press" "";
31712             after: "button_click_anim";
31713             after: "arrow_anim_start";
31714          }
31715          program {
31716             name:   "button_click_anim";
31717             action: STATE_SET "clicked" 0.0;
31718             target: "elm.bar";
31719          }
31720          program {
31721             name:   "button_unclick";
31722             signal: "mouse,up,1";
31723             source: "over2";
31724             action: SIGNAL_EMIT "elm,action,unpress" "";
31725             after: "button_unclick_anim";
31726             after: "arrow_anim_stop";
31727          }
31728          program {
31729             name:   "button_unclick_anim";
31730             action: STATE_SET "default" 0.0;
31731             target: "elm.bar";
31732          }
31733          program {
31734             name:   "button_click2";
31735             signal: "mouse,down,1";
31736             source: "over3";
31737             action: STATE_SET "clicked" 0.0;
31738             target: "over3";
31739          }
31740          program {
31741             name:   "button_unclick2";
31742             signal: "mouse,up,1";
31743             source: "over3";
31744             action: STATE_SET "default" 0.0;
31745             transition: DECELERATE 0.5;
31746             target: "over3";
31747          }
31748          program {
31749             name:   "button_unclick3";
31750             signal: "mouse,up,1";
31751             source: "over2";
31752             action: SIGNAL_EMIT "elm,action,click" "";
31753          }
31754          program {
31755             name:   "button_down_double";
31756             signal: "mouse,down,1,double";
31757             source: "over3";
31758             action: SIGNAL_EMIT "elm,action,click,double" "";
31759          }
31760
31761          //arrows animation
31762          program {
31763             name: "arrow_anim_start";
31764             script {
31765                new st[31];
31766                new Float:vl;
31767                get_state(PART:"arrow_left", st, 30, vl);
31768                if (vl == 0.0) {
31769                   run_program(PROGRAM:"arrow_anim_start_ltr");
31770                }
31771                else {
31772                   run_program(PROGRAM:"arrow_anim_start_rtl");
31773                }
31774             }
31775          }
31776          program {
31777             name: "arrow_anim_stop";
31778             script {
31779                new st[31];
31780                new Float:vl;
31781                get_state(PART:"arrow_left", st, 30, vl);
31782                if (vl == 0.0) {
31783                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31784                }
31785                else {
31786                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31787                }
31788             }
31789          }
31790
31791          program {
31792             name: "arrow_anim_start_ltr";
31793             action: STATE_SET "anim_1" 0.0;
31794             target: "arrow_right";
31795             target: "arrow_left";
31796             transition: LINEAR 0.6;
31797             after: "arrow_anim_1_ltr";
31798          }
31799          program {
31800             name: "arrow_anim_1_ltr";
31801             action: STATE_SET "anim_2" 0.0;
31802             target: "arrow_right";
31803             target: "arrow_left";
31804             transition: LINEAR 0.6;
31805             after: "arrow_anim_2_ltr";
31806          }
31807          program {
31808             name: "arrow_anim_2_ltr";
31809             action: STATE_SET "default" 0.0;
31810             target: "arrow_right";
31811             target: "arrow_left";
31812             after: "arrow_anim_start_ltr";
31813          }
31814          program {
31815             name: "arrow_anim_stop_ltr";
31816             action: ACTION_STOP;
31817             target: "arrow_anim_start_ltr";
31818             target: "arrow_anim_1_ltr";
31819             target: "arrow_anim_2_ltr";
31820             after: "arrow_anim_stop_1_ltr";
31821          }
31822          program {
31823             name: "arrow_anim_stop_1_ltr";
31824             action: STATE_SET "default" 0.0;
31825             target: "arrow_right";
31826             target: "arrow_left";
31827             transition: DECELERATE 0.4;
31828         }
31829          program {
31830             name: "arrow_anim_start_rtl";
31831             action: STATE_SET "anim_1" 0.1;
31832             target: "arrow_right";
31833             target: "arrow_left";
31834             transition: LINEAR 0.6;
31835             after: "arrow_anim_1_rtl";
31836          }
31837          program {
31838             name: "arrow_anim_1_rtl";
31839             action: STATE_SET "anim_2" 0.1;
31840             target: "arrow_right";
31841             target: "arrow_left";
31842             transition: LINEAR 0.6;
31843             after: "arrow_anim_2_rtl";
31844          }
31845          program {
31846             name: "arrow_anim_2_rtl";
31847             action: STATE_SET "default" 0.1;
31848             target: "arrow_right";
31849             target: "arrow_left";
31850             after: "arrow_anim_start_rtl";
31851          }
31852          program {
31853             name: "arrow_anim_stop_rtl";
31854             action: ACTION_STOP;
31855             target: "arrow_anim_start_rtl";
31856             target: "arrow_anim_1_rtl";
31857             target: "arrow_anim_2_rtl";
31858             after: "arrow_anim_stop_1_rtl";
31859          }
31860          program {
31861             name: "arrow_anim_stop_1_rtl";
31862             action: STATE_SET "default" 0.1;
31863             target: "arrow_right";
31864             target: "arrow_left";
31865             transition: DECELERATE 0.4;
31866         }
31867          program { name: "to_rtl";
31868             signal: "edje,state,rtl";
31869             source: "edje";
31870             script {
31871                new st[31];
31872                new Float:vl;
31873                get_state(PART:"arrow_left", st, 30, vl);
31874                if (vl == 0.0) {
31875                   set_state(PART:"arrow_left", st, 0.1);
31876                }
31877                get_state(PART:"arrow_right", st, 30, vl);
31878                if (vl == 0.0) {
31879                   set_state(PART:"arrow_right", st, 0.1);
31880                }
31881             }
31882          }
31883          program { name: "to_ltr";
31884             signal: "edje,state,ltr";
31885             source: "edje";
31886             script {
31887                new st[31];
31888                new Float:vl;
31889                get_state(PART:"arrow_left", st, 30, vl);
31890                if (vl == 0.1) {
31891                   set_state(PART:"arrow_left", st, 0.0);
31892                }
31893                get_state(PART:"arrow_right", st, 30, vl);
31894                if (vl == 0.1) {
31895                   set_state(PART:"arrow_right", st, 0.0);
31896                }
31897             }
31898          }
31899       }
31900   }
31901
31902   group {
31903      name: "elm/panes/horizontal/default";
31904       images {
31905          image: "bt_base1.png" COMP;
31906          image: "bt_base2.png" COMP;
31907          image: "bt_hilight.png" COMP;
31908          image: "bt_shine.png" COMP;
31909          image: "bt_glow.png" COMP;
31910          image: "bt_dis_base.png" COMP;
31911          image: "bt_dis_hilight.png" COMP;
31912          image: "arrow_up.png" COMP;
31913          image: "arrow_down.png" COMP;
31914       }
31915      parts
31916        {
31917           part
31918             {
31919                name: "whole";
31920                type: RECT;
31921                mouse_events: 0;
31922                description
31923                  {
31924                     state: "default" 0.0;
31925                     visible: 0;
31926                  }
31927             }
31928
31929          //2 contents
31930           part
31931             {
31932                name: "whole_left";
31933                type: RECT;
31934                mouse_events: 0;
31935                description
31936                  {
31937                     state: "default" 0.0;
31938                     rel2.to_y: "elm.bar";
31939                     rel2.relative: 1.0 0.0;
31940                     visible: 1;
31941                  }
31942             }
31943           part
31944             {
31945                name: "elm.swallow.left";
31946                type: SWALLOW;
31947                clip_to: "whole_left";
31948                description
31949                  {
31950                     state: "default" 0.0;
31951                     rel1.to: "whole_left";
31952                     rel2.to: "whole_left";
31953                  }
31954             }
31955
31956             part
31957             {
31958                name: "whole_right";
31959                type: RECT;
31960                mouse_events: 0;
31961                description
31962                  {
31963                     state: "default" 0.0;
31964                     rel1.to_y: "elm.bar";
31965                     rel1.relative: 0.0 1.0;
31966                     visible: 1;
31967                  }
31968             }
31969           part
31970             {
31971                name: "elm.swallow.right";
31972                type: SWALLOW;
31973                clip_to: "whole_right";
31974                description
31975                  {
31976                     state: "default" 0.0;
31977                     rel1.to: "whole_right";
31978                     rel2.to: "whole_right";
31979                  }
31980             }
31981          //BAR
31982          part { name: "elm.bar";
31983             mouse_events: 1;
31984             dragable {
31985                confine: "whole";
31986                x: 0 0 0;
31987                y: 1 1 1;
31988             }
31989             description { state: "default" 0.0;
31990                max: 999 15;
31991                min: 100 15;
31992                rel1.relative: 0.5 0.0;
31993                rel2.relative: 0.5 1.0;
31994                image {
31995                   normal: "bt_base2.png";
31996                   border: 7 7 7 7;
31997                }
31998                image.middle: SOLID;
31999             }
32000             description { state: "clicked" 0.0;
32001                inherit: "default" 0.0;
32002                image.normal: "bt_base1.png";
32003                image.middle: SOLID;
32004             }
32005             description { state: "disabled" 0.0;
32006                inherit:  "default" 0.0;
32007                image {
32008                   normal: "bt_dis_base.png";
32009                   border: 4 4 4 4;
32010                }
32011             }
32012          }
32013          part {          name: "over1";
32014             mouse_events: 0;
32015             description { state: "default" 0.0;
32016             rel1.to: "elm.bar";
32017             rel2.to: "elm.bar";
32018                rel2.relative: 1.0 0.5;
32019                image {
32020                   normal: "bt_hilight.png";
32021                   border: 7 7 7 0;
32022                }
32023             }
32024             description { state: "disabled" 0.0;
32025                inherit:  "default" 0.0;
32026                image {
32027                   normal: "bt_dis_hilight.png";
32028                   border: 4 4 4 0;
32029                }
32030             }
32031          }
32032          part { name: "over2";
32033             mouse_events: 1;
32034             repeat_events: 1;
32035             ignore_flags: ON_HOLD;
32036             description { state: "default" 0.0;
32037             rel1.to: "elm.bar";
32038             rel2.to: "elm.bar";
32039                image {
32040                   normal: "bt_shine.png";
32041                   border: 7 7 7 7;
32042                }
32043             }
32044             description { state: "disabled" 0.0;
32045                inherit:  "default" 0.0;
32046                visible: 0;
32047             }
32048          }
32049          part { name: "over3";
32050             mouse_events: 1;
32051             repeat_events: 1;
32052             description { state: "default" 0.0;
32053                color: 255 255 255 0;
32054             rel1.to: "elm.bar";
32055             rel2.to: "elm.bar";
32056                image {
32057                   normal: "bt_glow.png";
32058                   border: 12 12 12 12;
32059                }
32060                fill.smooth : 0;
32061             }
32062             description { state: "clicked" 0.0;
32063                inherit:  "default" 0.0;
32064                visible: 1;
32065                color: 255 255 255 255;
32066             }
32067          }
32068
32069          //Arrow
32070          part {
32071             name: "arrow_right";
32072             repeat_events: 1;
32073             description { state: "default" 0.0;
32074                 min: 45 45;
32075                 max: 45 45;
32076                 color: 255 255 255 0;
32077
32078                 rel1.relative: 0.5 1.0;
32079                 rel1.to_y: "elm.bar";
32080                 rel1.offset: -45/2 45/2;
32081
32082                 rel2.relative: 0.5 1.0;
32083                 rel2.to_y: "elm.bar";
32084                 rel2.offset: 45/2 45/2;
32085
32086                 image.normal: "arrow_down.png";
32087
32088                 fixed: 1 1;
32089             }
32090             description { state: "anim_1" 0.0;
32091                 inherit: "default" 0.0;
32092                 color: 255 255 255 200;
32093                 rel1.offset: -45/2 (45/2 +10);
32094                 rel2.offset: 45/2 (45/2 +10);
32095             }
32096             description { state: "anim_2" 0.0;
32097                 inherit: "default" 0.0;
32098                 color: 255 255 255 0;
32099                 rel1.offset: -45/2 (45/2 + 20);
32100                 rel2.offset: 45/2 (45/2 + 20);
32101             }
32102          }
32103         part {
32104             name: "arrow_left";
32105             repeat_events: 1;
32106             description { state: "default" 0.0;
32107                 min: 45 45;
32108                 max: 45 45;
32109                 color: 255 255 255 0;
32110
32111                 rel1.relative: 0.5 0.0;
32112                 rel1.to_y: "elm.bar";
32113                 rel1.offset: -45/2 -45/2;
32114
32115                 rel2.relative: 0.5 0.0;
32116                 rel2.to_y: "elm.bar";
32117                 rel2.offset: 45/2 -45/2;
32118
32119                 image.normal: "arrow_up.png";
32120
32121                 fixed: 1 1;
32122             }
32123             description { state: "anim_1" 0.0;
32124                 inherit: "default" 0.0;
32125                 color: 255 255 255 200;
32126                 rel1.offset: -45/2 (-45/2 - 10);
32127                 rel2.offset: 45/2 (-45/2 - 10);
32128             }
32129             description { state: "anim_2" 0.0;
32130                 inherit: "default" 0.0;
32131                 color: 255 255 255 0;
32132                 rel1.offset: -45/2 (-45/2 - 20);
32133                 rel2.offset: 45/2 (-45/2 - 20);
32134             }
32135          }
32136
32137        }
32138         programs {
32139          program {
32140             name:   "button_click";
32141             signal: "mouse,down,1";
32142             source: "over2";
32143             action: SIGNAL_EMIT "elm,action,press" "";
32144             after: "button_click_anim";
32145             after: "arrow_anim_start";
32146          }
32147          program {
32148             name:   "button_click_anim";
32149             action: STATE_SET "clicked" 0.0;
32150             target: "elm.bar";
32151          }
32152          program {
32153             name:   "button_unclick";
32154             signal: "mouse,up,1";
32155             source: "over2";
32156             action: SIGNAL_EMIT "elm,action,unpress" "";
32157             after: "button_unclick_anim";
32158             after: "arrow_anim_stop";
32159          }
32160          program {
32161             name:   "button_unclick_anim";
32162             action: STATE_SET "default" 0.0;
32163             target: "elm.bar";
32164          }
32165          program {
32166             name:   "button_click2";
32167             signal: "mouse,down,1";
32168             source: "over3";
32169             action: STATE_SET "clicked" 0.0;
32170             target: "over3";
32171          }
32172          program {
32173             name:   "button_unclick2";
32174             signal: "mouse,up,1";
32175             source: "over3";
32176             action: STATE_SET "default" 0.0;
32177             transition: DECELERATE 0.5;
32178             target: "over3";
32179          }
32180          program {
32181             name:   "button_unclick3";
32182             signal: "mouse,up,1";
32183             source: "over2";
32184             action: SIGNAL_EMIT "elm,action,click" "";
32185          }
32186          program {
32187             name:   "button_down_double";
32188             signal: "mouse,down,1,double";
32189             source: "over3";
32190             action: SIGNAL_EMIT "elm,action,click,double" "";
32191          }
32192
32193          //arrows animation
32194          program {
32195             name: "arrow_anim_start";
32196             action: STATE_SET "anim_1" 0.0;
32197             target: "arrow_right";
32198             target: "arrow_left";
32199             transition: LINEAR 0.6;
32200             after: "arrow_anim_1";
32201          }
32202          program {
32203             name: "arrow_anim_1";
32204             action: STATE_SET "anim_2" 0.0;
32205             target: "arrow_right";
32206             target: "arrow_left";
32207             transition: LINEAR 0.6;
32208             after: "arrow_anim_2";
32209          }
32210          program {
32211             name: "arrow_anim_2";
32212             action: STATE_SET "default" 0.0;
32213             target: "arrow_right";
32214             target: "arrow_left";
32215             after: "arrow_anim_start";
32216          }
32217          program {
32218             name: "arrow_anim_stop";
32219             action: ACTION_STOP;
32220             target: "arrow_anim_start";
32221             target: "arrow_anim_1";
32222             target: "arrow_anim_2";
32223             after: "arrow_anim_stop_1";
32224          }
32225          program {
32226             name: "arrow_anim_stop_1";
32227             action: STATE_SET "default" 0.0;
32228             target: "arrow_right";
32229             target: "arrow_left";
32230             transition: DECELERATE 0.4;
32231         }
32232       }
32233   }
32234
32235
32236
32237 /////////////////////////////////////////////////////////////////////////////
32238 // PANEL
32239 /////////////////////////////////////////////////////////////////////////////
32240   group {
32241      name: "elm/panel/base/left";
32242      alias: "elm/panel/base/top";
32243      images
32244        {
32245           image: "bt_base1.png" COMP;
32246           image: "bt_hilight.png" COMP;
32247           image: "bt_shine.png" COMP;
32248           image: "bt_glow.png" COMP;
32249           image: "bt_dis_base.png" COMP;
32250           image: "icon_arrow_left.png" COMP;
32251           image: "icon_arrow_right.png" COMP;
32252        }
32253        data {
32254           item: "focus_highlight" "on";
32255        }
32256      parts
32257        {
32258             part { name: "focus_highlight";
32259                description { state: "default" 0.0;
32260                   visible: 0;
32261                   color: 255 255 255 0;
32262                   rel1 {
32263                      to: "btn";
32264                      offset: -8 -8;
32265                   }
32266                   rel2 {
32267                      to: "btn";
32268                      offset: 7 7;
32269                   }
32270                   image {
32271                      normal: "frame_2.png";
32272                      border: 5 5 32 26;
32273                      middle: 0;
32274                   }
32275                }
32276                description { state: "enabled" 0.0;
32277                   inherit: "default" 0.0;
32278                   visible: 1;
32279                   color: 255 255 255 255;
32280                }
32281             }
32282           part
32283             {
32284                name: "bg";
32285                type: RECT;
32286                mouse_events: 0;
32287                description
32288                  {
32289                     state: "default" 0.0;
32290                     color: 255 255 255 0;
32291                     rel1.relative: 0.0 0.0;
32292                     rel1.offset: 0 0;
32293                     rel2.relative: 1.0 1.0;
32294                     rel2.offset: -1 -1;
32295                  }
32296                description
32297                  {
32298                     state: "hidden" 0.0;
32299                     inherit: "default" 0.0;
32300                     rel1.relative: -1.0 0.0;
32301                     rel1.offset: 21 0;
32302                     rel2.relative: 0.0 1.0;
32303                     rel2.offset: 20 -1;
32304                  }
32305             }
32306           part
32307             {
32308                name: "base";
32309                type: IMAGE;
32310                mouse_events: 0;
32311                description
32312                  {
32313                     state: "default" 0.0;
32314                     rel1.to: "bg";
32315                     rel2.to: "bg";
32316                     rel2.offset: -20 -1;
32317                     image
32318                       {
32319                          normal: "bt_dis_base.png";
32320                          border: 4 4 4 4;
32321                       }
32322                  }
32323             }
32324           part
32325             {
32326                name: "clipper";
32327                type: RECT;
32328                mouse_events: 0;
32329                description
32330                  {
32331                     state: "default" 0.0;
32332                     rel1
32333                       {
32334                          offset: 4 4;
32335                          to: "base";
32336                       }
32337                     rel2
32338                       {
32339                          offset: -5 -5;
32340                          to: "base";
32341                       }
32342                  }
32343             }
32344           part
32345             {
32346                name: "elm.swallow.content";
32347                type: SWALLOW;
32348                clip_to: "clipper";
32349                description
32350                  {
32351                     state: "default" 0.0;
32352                     rel1.to: "clipper";
32353                     rel2.to: "clipper";
32354                  }
32355             }
32356           part
32357             {
32358                name: "btn";
32359                type: IMAGE;
32360                mouse_events: 1;
32361                description
32362                  {
32363                     state: "default" 0.0;
32364                     max: 32 48;
32365                     fixed: 1 1;
32366                     align: 0.0 0.5;
32367                     rel1
32368                       {
32369                          relative: 1.0 0.0;
32370                          offset: -3 0;
32371                          to_x: "base";
32372                       }
32373                     rel2.to_x: "bg";
32374                     image
32375                       {
32376                          normal: "bt_base1.png";
32377                          border: 0 5 4 12;
32378                       }
32379                     fill.smooth: 0;
32380                  }
32381                description
32382                  {
32383                     state: "clicked" 0.0;
32384                     inherit: "default" 0.0;
32385                  }
32386             }
32387           part
32388             {
32389                name: "btn_over";
32390                type: IMAGE;
32391                mouse_events: 0;
32392                description
32393                  {
32394                     state: "default" 0.0;
32395                     rel1.to: "btn";
32396                     rel2
32397                       {
32398                          relative: 1.0 0.5;
32399                          to: "btn";
32400                       }
32401                     image
32402                       {
32403                          normal: "bt_hilight.png";
32404                          border: 0 7 7 0;
32405                       }
32406                  }
32407             }
32408           part
32409             {
32410                name: "btn_over2";
32411                type: IMAGE;
32412                mouse_events: 1;
32413                repeat_events: 1;
32414                ignore_flags: ON_HOLD;
32415                description
32416                  {
32417                     state: "default" 0.0;
32418                     rel1.to: "btn";
32419                     rel2.to: "btn";
32420                     image
32421                       {
32422                          normal: "bt_shine.png";
32423                          border: 0 7 7 7;
32424                     }
32425                  }
32426             }
32427           part
32428             {
32429                name: "btn_over3";
32430                type: IMAGE;
32431                mouse_events: 1;
32432                repeat_events: 1;
32433                description
32434                  {
32435                     state: "default" 0.0;
32436                     color: 255 255 255 0;
32437                     rel1.to: "btn";
32438                     rel2.to: "btn";
32439                     image
32440                       {
32441                        normal: "bt_glow.png";
32442                        border: 12 12 12 12;
32443                     }
32444                   fill.smooth: 0;
32445                }
32446              description
32447                {
32448                   state: "clicked" 0.0;
32449                   inherit: "default" 0.0;
32450                   visible: 1;
32451                   color: 255 255 255 255;
32452                }
32453             }
32454           part
32455             {
32456                name: "btn_icon";
32457                type: IMAGE;
32458                repeat_events: 1;
32459                description
32460                  {
32461                     state: "default" 0.0;
32462                     rel1.to: "btn";
32463                     rel2.to: "btn";
32464                     align: 0.5 0.5;
32465                     min: 16 16;
32466                     max: 16 16;
32467                     image.normal: "icon_arrow_left.png";
32468                  }
32469                description
32470                  {
32471                     state: "hidden" 0.0;
32472                     inherit: "default" 0.0;
32473                     image.normal: "icon_arrow_right.png";
32474                  }
32475             }
32476        }
32477      programs
32478        {
32479           program
32480             {
32481                name: "show";
32482                signal: "elm,action,show";
32483                source: "elm";
32484                action: STATE_SET "default" 0.0;
32485                target: "bg";
32486                target: "btn_icon";
32487                transition: LINEAR 0.5;
32488             }
32489           program
32490             {
32491                name: "hide";
32492                signal: "elm,action,hide";
32493                source: "elm";
32494                action: STATE_SET "hidden" 0.0;
32495                target: "bg";
32496                target: "btn_icon";
32497                transition: LINEAR 0.5;
32498             }
32499           program
32500             {
32501                name: "btn_click";
32502                signal: "mouse,down,1";
32503                source: "btn_over2";
32504                action: STATE_SET "clicked" 0.0;
32505                target: "btn";
32506             }
32507           program
32508             {
32509                name: "btn_unclick";
32510                signal: "mouse,up,1";
32511                source: "btn_over2";
32512                action: STATE_SET "default" 0.0;
32513                target: "btn";
32514             }
32515           program
32516             {
32517                name: "btn_click2";
32518                signal: "mouse,down,1";
32519                source: "btn_over3";
32520                action: STATE_SET "clicked" 0.0;
32521                target: "btn_over3";
32522             }
32523           program
32524             {
32525                name: "btn_unclick2";
32526                signal: "mouse,up,1";
32527                source: "btn_over3";
32528                action: STATE_SET "default" 0.0;
32529                transition: DECELERATE 0.5;
32530                target: "btn_over3";
32531             }
32532           program
32533             {
32534                name: "btn_unclick3";
32535                signal: "mouse,clicked,1";
32536                source: "btn_over2";
32537                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32538             }
32539          program { name: "highlight_show";
32540             signal: "elm,action,focus_highlight,show";
32541             source: "elm";
32542             action: STATE_SET "enabled" 0.0;
32543             transition: ACCELERATE 0.3;
32544             target: "focus_highlight";
32545          }
32546          program { name: "highlight_hide";
32547             signal: "elm,action,focus_highlight,hide";
32548             source: "elm";
32549             action: STATE_SET "default" 0.0;
32550             transition: DECELERATE 0.3;
32551             target: "focus_highlight";
32552          }
32553        }
32554   }
32555
32556   group {
32557      name: "elm/panel/base/right";
32558      alias: "elm/panel/base/bottom";
32559      images
32560        {
32561           image: "bt_base1.png" COMP;
32562           image: "bt_hilight.png" COMP;
32563           image: "bt_shine.png" COMP;
32564           image: "bt_glow.png" COMP;
32565           image: "bt_dis_base.png" COMP;
32566           image: "icon_arrow_left.png" COMP;
32567           image: "icon_arrow_right.png" COMP;
32568        }
32569      parts
32570        {
32571             part { name: "focus_highlight";
32572                description { state: "default" 0.0;
32573                   visible: 0;
32574                   color: 255 255 255 0;
32575                   rel1 {
32576                      to: "btn";
32577                      offset: -8 -8;
32578                   }
32579                   rel2 {
32580                      to: "btn";
32581                      offset: 7 7;
32582                   }
32583                   image {
32584                      normal: "frame_2.png";
32585                      border: 5 5 32 26;
32586                      middle: 0;
32587                   }
32588                }
32589                description { state: "enabled" 0.0;
32590                   inherit: "default" 0.0;
32591                   visible: 1;
32592                   color: 255 255 255 255;
32593                }
32594             }
32595           part
32596             {
32597                name: "bg";
32598                type: RECT;
32599                mouse_events: 0;
32600                description
32601                  {
32602                     state: "default" 0.0;
32603                     color: 255 255 255 0;
32604                     rel1.relative: 0.0 0.0;
32605                     rel1.offset: 0 0;
32606                     rel2.relative: 1.0 1.0;
32607                     rel2.offset: -1 -1;
32608                  }
32609                description
32610                  {
32611                     state: "hidden" 0.0;
32612                     inherit: "default" 0.0;
32613                     rel1.relative: 1.0 0.0;
32614                     rel1.offset: -22 0;
32615                     rel2.relative: 2.0 1.0;
32616                     rel2.offset: -23 -1;
32617                  }
32618             }
32619           part
32620             {
32621                name: "base";
32622                type: IMAGE;
32623                mouse_events: 0;
32624                description
32625                  {
32626                     state: "default" 0.0;
32627                     rel1.to: "bg";
32628                     rel1.offset: 20 0;
32629                     rel2.to: "bg";
32630                     image
32631                       {
32632                          normal: "bt_dis_base.png";
32633                          border: 4 4 4 4;
32634                       }
32635                  }
32636             }
32637           part
32638             {
32639                name: "clipper";
32640                type: RECT;
32641                mouse_events: 0;
32642                description
32643                  {
32644                     state: "default" 0.0;
32645                     rel1
32646                       {
32647                          offset: 4 4;
32648                          to: "base";
32649                       }
32650                     rel2
32651                       {
32652                          offset: -5 -5;
32653                          to: "base";
32654                       }
32655                  }
32656             }
32657           part
32658             {
32659                name: "elm.swallow.content";
32660                type: SWALLOW;
32661                clip_to: "clipper";
32662                description
32663                  {
32664                     state: "default" 0.0;
32665                     rel1.to: "clipper";
32666                     rel2.to: "clipper";
32667                  }
32668             }
32669           part
32670             {
32671                name: "btn";
32672                type: IMAGE;
32673                mouse_events: 1;
32674                description
32675                  {
32676                     state: "default" 0.0;
32677                     max: 32 48;
32678                     fixed: 1 1;
32679                     align: 1 0.5;
32680                     rel1
32681                       {
32682                          to_x: "bg";
32683                       }
32684                     rel2
32685                       {
32686                          offset: 2 0;
32687                          relative: 0.0 1;
32688                          to_x: "base";
32689                       }
32690                     image
32691                       {
32692                          normal: "bt_base1.png";
32693                          border: 5 0 4 12;
32694                       }
32695                     fill.smooth: 0;
32696                  }
32697                description
32698                  {
32699                     state: "clicked" 0.0;
32700                     inherit: "default" 0.0;
32701                  }
32702             }
32703           part
32704             {
32705                name: "btn_over";
32706                type: IMAGE;
32707                mouse_events: 0;
32708                description
32709                  {
32710                     state: "default" 0.0;
32711                     rel1.to: "btn";
32712                     rel2
32713                       {
32714                          relative: 1.0 0.5;
32715                          to: "btn";
32716                       }
32717                     image
32718                       {
32719                          normal: "bt_hilight.png";
32720                          border: 7 0 7 0;
32721                       }
32722                  }
32723             }
32724           part
32725             {
32726                name: "btn_over2";
32727                type: IMAGE;
32728                mouse_events: 1;
32729                repeat_events: 1;
32730                ignore_flags: ON_HOLD;
32731                description
32732                  {
32733                     state: "default" 0.0;
32734                     rel1.to: "btn";
32735                     rel2.to: "btn";
32736                     image
32737                       {
32738                          normal: "bt_shine.png";
32739                          border: 7 0 7 7;
32740                     }
32741                  }
32742             }
32743           part
32744             {
32745                name: "btn_over3";
32746                type: IMAGE;
32747                mouse_events: 1;
32748                repeat_events: 1;
32749                description
32750                  {
32751                     state: "default" 0.0;
32752                     color: 255 255 255 0;
32753                     rel1.to: "btn";
32754                     rel2.to: "btn";
32755                     image
32756                       {
32757                        normal: "bt_glow.png";
32758                        border: 12 12 12 12;
32759                     }
32760                   fill.smooth: 0;
32761                }
32762              description
32763                {
32764                   state: "clicked" 0.0;
32765                   inherit: "default" 0.0;
32766                   visible: 1;
32767                   color: 255 255 255 255;
32768                }
32769             }
32770           part
32771             {
32772                name: "btn_icon";
32773                type: IMAGE;
32774                repeat_events: 1;
32775                description
32776                  {
32777                     state: "default" 0.0;
32778                     rel1.to: "btn";
32779                     rel2.to: "btn";
32780                     align: 0.5 0.5;
32781                     min: 16 16;
32782                     max: 16 16;
32783                     image.normal: "icon_arrow_right.png";
32784                  }
32785                description
32786                  {
32787                     state: "hidden" 0.0;
32788                     inherit: "default" 0.0;
32789                     image.normal: "icon_arrow_left.png";
32790                  }
32791             }
32792        }
32793      programs
32794        {
32795           program
32796             {
32797                name: "show";
32798                signal: "elm,action,show";
32799                source: "elm";
32800                action: STATE_SET "default" 0.0;
32801                target: "bg";
32802                target: "btn_icon";
32803                transition: LINEAR 0.5;
32804             }
32805           program
32806             {
32807                name: "hide";
32808                signal: "elm,action,hide";
32809                source: "elm";
32810                action: STATE_SET "hidden" 0.0;
32811                target: "bg";
32812                target: "btn_icon";
32813                transition: LINEAR 0.5;
32814             }
32815           program
32816             {
32817                name: "btn_click";
32818                signal: "mouse,down,1";
32819                source: "btn_over2";
32820                action: STATE_SET "clicked" 0.0;
32821                target: "btn";
32822             }
32823           program
32824             {
32825                name: "btn_unclick";
32826                signal: "mouse,up,1";
32827                source: "btn_over2";
32828                action: STATE_SET "default" 0.0;
32829                target: "btn";
32830             }
32831           program
32832             {
32833                name: "btn_click2";
32834                signal: "mouse,down,1";
32835                source: "btn_over3";
32836                action: STATE_SET "clicked" 0.0;
32837                target: "btn_over3";
32838             }
32839           program
32840             {
32841                name: "btn_unclick2";
32842                signal: "mouse,up,1";
32843                source: "btn_over3";
32844                action: STATE_SET "default" 0.0;
32845                transition: DECELERATE 0.5;
32846                target: "btn_over3";
32847             }
32848           program
32849             {
32850                name: "btn_unclick3";
32851                signal: "mouse,up,1";
32852                source: "btn_over2";
32853                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32854             }
32855          program { name: "highlight_show";
32856             signal: "elm,action,focus";
32857             source: "elm";
32858             action: STATE_SET "enabled" 0.0;
32859             transition: ACCELERATE 0.3;
32860             target: "focus_highlight";
32861          }
32862          program { name: "highlight_hide";
32863             signal: "elm,action,unfocus";
32864             source: "elm";
32865             action: STATE_SET "default" 0.0;
32866             transition: DECELERATE 0.3;
32867             target: "focus_highlight";
32868          }
32869        }
32870   }
32871
32872 ///////////////////////////////////////////////////////////////////////////////
32873   group { name: "elm/conformant/base/default";
32874      parts {
32875         part { name: "elm.swallow.shelf";
32876            type: SWALLOW;
32877            description { state: "default" 0.0;
32878               fixed: 0 1;
32879               align: 0.0 0.0;
32880               rel2.relative: 1.0 0.0;
32881            }
32882         }
32883         part { name: "elm.swallow.content";
32884            type: SWALLOW;
32885            description { state: "default" 0.0;
32886               fixed: 0 1;
32887               align: 0.5 0.5;
32888               rel1.relative: 0.0 1.0;
32889               rel1.to_y: "elm.swallow.shelf";
32890               rel2.relative: 1.0 0.0;
32891               rel2.to_y: "elm.swallow.virtualkeypad";
32892            }
32893         }
32894         part { name: "elm.swallow.virtualkeypad";
32895            type: SWALLOW;
32896            description { state: "default" 0.0;
32897               fixed: 0 1;
32898               align: 0.0 1.0;
32899               rel2.relative: 1.0 0.0;
32900               rel2.to_y: "elm.swallow.panel";
32901            }
32902         }
32903         part { name: "elm.swallow.panel";
32904            type: SWALLOW;
32905            description { state: "default" 0.0;
32906               fixed: 0 1;
32907               align: 0.0 1.0;
32908               rel1.relative: 0.0 1.0;
32909            }
32910         }
32911      }
32912   }
32913
32914 /////////////////////////////////////////////////////////////////////////////
32915 // CALENDAR
32916 /////////////////////////////////////////////////////////////////////////////
32917 #define CH(_pos) \
32918          part { name: "ch_"#_pos".base"; \
32919             type: RECT; \
32920             description { state: "default" 0.0; \
32921                rel1 { \
32922                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32923                   to: "header"; \
32924                } \
32925                rel2 { \
32926                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32927                   to: "header"; \
32928                } \
32929                color: 0 0 0 0; \
32930                visible: 0; \
32931             } \
32932          } \
32933          part { name: "ch_"#_pos".text"; \
32934             type: TEXT; \
32935             effect: SOFT_SHADOW; \
32936             mouse_events: 0; \
32937             scale: 1; \
32938             clip_to: "ch_"#_pos".clipper"; \
32939             description { \
32940                state: "default" 0.0; \
32941                rel1.to: "ch_"#_pos".base"; \
32942                rel2.to: "ch_"#_pos".base"; \
32943                color: 0 0 0 255; \
32944                color3: 0 0 0 0; \
32945                text { \
32946                   font: "Sans"; \
32947                   size: 10; \
32948                   min: 1 1; \
32949                   align: 0.5 0.5; \
32950                } \
32951             } \
32952          } \
32953          part { name: "ch_"#_pos".clipper"; \
32954             type: RECT; \
32955             description { state: "default" 0.0; \
32956                rel1.to: "ch_"#_pos".base"; \
32957                rel2.to: "ch_"#_pos".base"; \
32958             } \
32959          }
32960
32961 #define CIT(_pos) \
32962          part { name: "cit_"#_pos".rect"; \
32963             type: RECT; \
32964             description { state: "default" 0.0; \
32965                rel1 { \
32966                   relative: (_pos % 7 * 7 / 8 / 6) \
32967                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32968                   to: "base"; \
32969                } \
32970                rel2 { \
32971                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32972                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32973                   to: "base"; \
32974                } \
32975                color: 0 0 0 0; \
32976                visible: 0; \
32977             } \
32978          } \
32979          part { \
32980             name: "cit_"#_pos".event"; \
32981             type: RECT; \
32982             repeat_events: 1; \
32983             description { \
32984                rel1.to: "cit_"#_pos".rect"; \
32985                rel2.to: "cit_"#_pos".rect"; \
32986                state: "default" 0.0; \
32987                color: 0 0 0 0; \
32988             } \
32989          } \
32990          part { name: "cit_"#_pos".shelf"; \
32991             type: RECT; \
32992             mouse_events: 0; \
32993             description { state: "default" 0.0; \
32994                rel1 { \
32995                   to: "cit_"#_pos".bg"; \
32996                   offset: -1 -1; \
32997                } \
32998                rel2 { \
32999                   to: "cit_"#_pos".bg"; \
33000                } \
33001                color: 200 200 200 255; \
33002             } \
33003          } \
33004          part { name: "cit_"#_pos".hd"; \
33005             type: RECT; \
33006             mouse_events: 0; \
33007             description { state: "default" 0.0; \
33008                rel1 { \
33009                   to: "cit_"#_pos".bg"; \
33010                   offset: -1 -1; \
33011                } \
33012                rel2 { \
33013                   to: "cit_"#_pos".bg"; \
33014                } \
33015                visible: 0; \
33016                color: 160 0 0 255; \
33017             } \
33018             description { state: "visible" 0.0; \
33019                inherit: "default" 0.0; \
33020                visible: 1; \
33021             } \
33022          } \
33023          part { \
33024             name: "cit_"#_pos".base_sh"; \
33025             mouse_events: 0; \
33026             description { \
33027                state: "default" 0.0; \
33028                align: 0.0 0.0; \
33029                min: 0 1; \
33030                rel1 { \
33031                   to: "cit_"#_pos".base"; \
33032                   relative: 0.0 1.0; \
33033                   offset: 0 0; \
33034                } \
33035                rel2 { \
33036                   to: "cit_"#_pos".base"; \
33037                   relative: 1.0 1.05; \
33038                   offset: -1 0; \
33039                } \
33040                image { \
33041                   normal: "ilist_item_shadow.png"; \
33042                } \
33043                fill.smooth: 0; \
33044             } \
33045          } \
33046          part { \
33047             name: "cit_"#_pos".base"; \
33048             mouse_events: 0; \
33049             description { \
33050                state: "default" 0.0; \
33051                rel1.to: "cit_"#_pos".rect"; \
33052                rel2.to: "cit_"#_pos".rect"; \
33053                rel2.offset: -1 -1; \
33054                image { \
33055                   normal: "ilist_1.png"; \
33056                   border: 2 2 2 2; \
33057                } \
33058                fill.smooth: 0; \
33059             } \
33060             description { \
33061                state: "today" 0.0; \
33062                inherit: "default" 0.0; \
33063                image.normal: "ilist_2.png"; \
33064                color: 240 240 240 255; \
33065             } \
33066          } \
33067          part { name: "cit_"#_pos".bg"; \
33068             mouse_events: 0; \
33069             description { state: "default" 0.0; \
33070                visible: 0; \
33071                color: 255 255 255 0; \
33072                rel1 { \
33073                   to: "cit_"#_pos".rect"; \
33074                   relative: 0.0 0.0; \
33075                } \
33076                rel2 { \
33077                   to: "cit_"#_pos".rect"; \
33078                   relative: 1.0 1.0; \
33079                   offset: -1 -1; \
33080                } \
33081                image { \
33082                   normal: "bt_sm_base1.png"; \
33083                   border: 6 6 6 6; \
33084                } \
33085                image.middle: SOLID; \
33086             } \
33087             description { state: "selected" 0.0; \
33088                inherit: "default" 0.0; \
33089                visible: 1; \
33090                color: 255 255 255 255; \
33091             } \
33092          } \
33093          part { name: "cit_"#_pos".text"; \
33094             type: TEXT; \
33095             effect: SOFT_SHADOW; \
33096             mouse_events: 0; \
33097             scale: 1; \
33098             description { \
33099                state: "default" 0.0; \
33100                rel1.to: "cit_"#_pos".bg"; \
33101                rel2.to: "cit_"#_pos".bg"; \
33102                color: 0 0 0 255; \
33103                color3: 0 0 0 0; \
33104                text { \
33105                   font: "Sans"; \
33106                   size: 10; \
33107                   min: 1 1; \
33108                   align: 0.5 0.5; \
33109                } \
33110             } \
33111             description { state: "selected" 0.0; \
33112                inherit: "default" 0.0; \
33113                color: 224 224 224 255; \
33114                color3: 0 0 0 64; \
33115             } \
33116          } \
33117          part { name: "cit_"#_pos".fg1"; \
33118             mouse_events: 0; \
33119             description { state: "default" 0.0; \
33120                visible: 0; \
33121                color: 255 255 255 0; \
33122                rel1.to: "cit_"#_pos".bg"; \
33123                rel2.relative: 1.0 0.5; \
33124                rel2.to: "cit_"#_pos".bg"; \
33125                image { \
33126                   normal: "bt_sm_hilight.png"; \
33127                   border: 6 6 6 0; \
33128                } \
33129             } \
33130             description { state: "selected" 0.0; \
33131                inherit: "default" 0.0; \
33132                visible: 1; \
33133                color: 255 255 255 255; \
33134             } \
33135          } \
33136          part { name: "cit_"#_pos".fg2"; \
33137             mouse_events: 0; \
33138             description { state: "default" 0.0; \
33139                visible: 0; \
33140                color: 255 255 255 0; \
33141                rel1.to: "cit_"#_pos".bg"; \
33142                rel2.to: "cit_"#_pos".bg"; \
33143                image { \
33144                   normal: "bt_sm_shine.png"; \
33145                   border: 6 6 6 0; \
33146                } \
33147             } \
33148             description { state: "selected" 0.0; \
33149                inherit: "default" 0.0; \
33150                visible: 1; \
33151                color: 255 255 255 255; \
33152             } \
33153          } \
33154          part { name: "cit_"#_pos".check"; \
33155             mouse_events: 0; \
33156             description { state: "default" 0.0; \
33157                rel1 { \
33158                   to: "cit_"#_pos".bg"; \
33159                   relative: 0.7 0.6; \
33160                   offset: 1 1; \
33161                } \
33162                rel2 { \
33163                   to: "cit_"#_pos".bg"; \
33164                   relative: 1.1 1.2; \
33165                   offset: -2 -2; \
33166                } \
33167                aspect: 1 1; \
33168                visible: 0; \
33169                color: 255 0 0 255; \
33170                image.normal: "check.png"; \
33171             } \
33172             description { state: "visible" 0.0; \
33173                inherit: "default" 0.0; \
33174                visible: 1; \
33175             } \
33176          } \
33177       programs { \
33178          program { \
33179             name:    "cit_"#_pos".go_active"; \
33180             signal:  "cit_"#_pos",selected"; \
33181             source:  "elm"; \
33182             action:  STATE_SET "selected" 0.0; \
33183             target:  "cit_"#_pos".bg"; \
33184             target:  "cit_"#_pos".fg1"; \
33185             target:  "cit_"#_pos".fg2"; \
33186             target:  "cit_"#_pos".text"; \
33187          } \
33188          program { \
33189             name:    "cit_"#_pos".go_passive"; \
33190             signal:  "cit_"#_pos",unselected"; \
33191             source:  "elm"; \
33192             action:  STATE_SET "default" 0.0; \
33193             target:  "cit_"#_pos".bg"; \
33194             target:  "cit_"#_pos".fg1"; \
33195             target:  "cit_"#_pos".fg2"; \
33196             target:  "cit_"#_pos".text"; \
33197          } \
33198          program { \
33199             name:    "cit_"#_pos".is_today"; \
33200             signal:  "cit_"#_pos",today"; \
33201             source:  "elm"; \
33202             action:  STATE_SET "today" 0.0; \
33203             target: "cit_"#_pos".base"; \
33204          } \
33205          program { \
33206             name:    "cit_"#_pos".not_today"; \
33207             signal:  "cit_"#_pos",not_today"; \
33208             source:  "elm"; \
33209             action:  STATE_SET "default" 0.0; \
33210             target: "cit_"#_pos".base"; \
33211          } \
33212          program { \
33213             source: "cit_"#_pos".clicked"; \
33214             signal: "mouse,clicked,1"; \
33215             source: "cit_"#_pos".event"; \
33216             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33217          } \
33218          program { \
33219             name:    "cit_"#_pos".clear"; \
33220             signal:  "cit_"#_pos",clear"; \
33221             source:  "elm"; \
33222             action:  STATE_SET "default" 0.0; \
33223             target: "cit_"#_pos".check"; \
33224             target: "cit_"#_pos".hd"; \
33225          } \
33226          program { \
33227             name:    "cit_"#_pos".checked"; \
33228             signal:  "cit_"#_pos",checked"; \
33229             source:  "elm"; \
33230             action:  STATE_SET "visible" 0.0; \
33231             target: "cit_"#_pos".check"; \
33232          } \
33233          program { \
33234             name:    "cit_"#_pos".holiday"; \
33235             signal:  "cit_"#_pos",holiday"; \
33236             source:  "elm"; \
33237             action:  STATE_SET "visible" 0.0; \
33238             target: "cit_"#_pos".hd"; \
33239          } \
33240       }
33241
33242    group { name: "elm/calendar/base/default";
33243        images {
33244            image: "shelf_inset.png" COMP;
33245            image: "bt_base1.png" COMP;
33246            image: "bt_hilight.png" COMP;
33247            image: "bt_shine.png" COMP;
33248            image: "bt_glow.png" COMP;
33249            image: "bt_dis_base.png" COMP;
33250            image: "bt_dis_hilight.png" COMP;
33251            image: "sp_bt_l.png" COMP;
33252            image: "sp_bt_r.png" COMP;
33253            image: "bt_sm_base1.png" COMP;
33254            image: "bt_sm_shine.png" COMP;
33255            image: "bt_sm_hilight.png" COMP;
33256            image: "ilist_1.png" COMP;
33257            image: "ilist_2.png" COMP;
33258            image: "ilist_item_shadow.png" COMP;
33259            image: "check.png" COMP;
33260        }
33261        parts {
33262            part { name: "bg";
33263                type: RECT;
33264                description { state: "default" 0.0;
33265                    min: 0 30;
33266                    rel1.offset: 1 1;
33267                    rel2.offset: -2 -2;
33268                    color: 255 255 255 0;
33269                    align: 0.0 0.5;
33270                }
33271            }
33272            part { name: "spinner-base";
33273                type: RECT;
33274                mouse_events: 0;
33275                description { state: "default" 0.0;
33276                    min: 24 24;
33277                    max: 999999 24;
33278                    rel1.to: "bg";
33279                    rel1.offset: 6 6;
33280                    rel2.to: "bg";
33281                    rel2.offset: -7 -7;
33282                    color: 255 255 255 0;
33283                    align: 0.0 0.0;
33284                }
33285            }
33286            part { name: "conf_over_spinner";
33287                mouse_events:  0;
33288                description { state: "default" 0.0;
33289                    rel1.to: "spinner-base";
33290                    rel1.offset: -3 -3;
33291                    rel2.to: "spinner-base";
33292                    rel2.offset: 2 2;
33293                    image {
33294                        normal: "shelf_inset.png";
33295                        border: 7 7 7 7;
33296                        middle: 0;
33297                    }
33298                    fill.smooth : 0;
33299                }
33300            }
33301            part { name: "table-base";
33302                type: RECT;
33303                mouse_events: 0;
33304                description { state: "default" 0.0;
33305                    min: 256 220;
33306                    rel1.to_x: "bg";
33307                    rel1.to_y: "spinner-base";
33308                    rel1.offset: 6 6;
33309                    rel1.relative: 0 1;
33310                    rel2.to: "bg";
33311                    rel2.offset: -7 -7;
33312                    color: 255 255 255 0;
33313                }
33314            }
33315            part { name: "conf_over_table";
33316                mouse_events:  0;
33317                description { state: "default" 0.0;
33318                    rel1.to: "table-base";
33319                    rel1.offset: -3 -3;
33320                    rel2.to: "table-base";
33321                    rel2.offset: 2 2;
33322                    image {
33323                        normal: "shelf_inset.png";
33324                        border: 7 7 7 7;
33325                        middle: 0;
33326                    }
33327                    fill.smooth : 0;
33328                }
33329            }
33330            part { name: "header";
33331                type: RECT;
33332                mouse_events: 0;
33333                description { state: "default" 0.0;
33334                    rel1.to: "table-base";
33335                    rel1.relative: 0 0;
33336                    rel2.to: "table-base";
33337                    rel2.relative: 1 0.1;
33338                    color: 255 255 255 0;
33339                }
33340            }
33341            part { name: "base";
33342                type: RECT;
33343                mouse_events: 0;
33344                description { state: "default" 0.0;
33345                    rel1.to_x: "table-base";
33346                    rel1.to_y: "header";
33347                    rel1.relative: 0 1;
33348                    rel1.offset: 3 0;
33349                    rel2.to: "table-base";
33350                    rel2.offset: -3 0;
33351                    color: 255 255 255 0;
33352                }
33353            }
33354            part { name: "left_bt";
33355                mouse_events:  1;
33356                description { state: "default" 0.0;
33357                    rel1 { to: "spinner-base";
33358                        offset: 2 2;
33359                    }
33360                    rel2 { to: "spinner-base";
33361                        offset: -3 -3;
33362                    }
33363                    align: 0.0 0.5;
33364                    min: 24 24;
33365                    max: 24 24;
33366                    fixed: 1 1;
33367                    image {
33368                        normal: "bt_base1.png";
33369                        border: 6 6 6 6;
33370                    }
33371                    fill.smooth : 0;
33372                }
33373                description { state: "clicked" 0.0;
33374                    inherit: "default" 0.0;
33375                    image.normal: "bt_base1.png";
33376                    image.middle: SOLID;
33377                }
33378            }
33379            part { name: "left_over1";
33380                mouse_events: 0;
33381                description { state: "default" 0.0;
33382                    rel1.to: "left_bt";
33383                    rel2 { to: "left_bt";
33384                        relative: 1.0 0.5;
33385                    }
33386                    image {
33387                        normal: "bt_hilight.png";
33388                        border: 7 7 7 0;
33389                    }
33390                }
33391            }
33392            part { name: "left_over2";
33393                mouse_events: 1;
33394                repeat_events: 1;
33395                description { state: "default" 0.0;
33396                    rel1.to: "left_bt";
33397                    rel2.to: "left_bt";
33398                    image {
33399                        normal: "bt_shine.png";
33400                        border: 7 7 7 7;
33401                    }
33402                }
33403            }
33404            part { name: "left_over3";
33405                mouse_events: 1;
33406                repeat_events: 1;
33407                description { state: "default" 0.0;
33408                    color: 255 255 255 0;
33409                    rel1.to: "left_bt";
33410                    rel2.to: "left_bt";
33411                    image {
33412                        normal: "bt_glow.png";
33413                        border: 12 12 12 12;
33414                    }
33415                    fill.smooth : 0;
33416                }
33417                description { state: "clicked" 0.0;
33418                    inherit:  "default" 0.0;
33419                    visible: 1;
33420                    color: 255 255 255 255;
33421                }
33422            }
33423            part { name: "right_bt";
33424                mouse_events:  1;
33425                description { state: "default" 0.0;
33426                    rel1 { to: "spinner-base";
33427                        offset: -27 3;
33428                    }
33429                    rel2 { to: "spinner-base";
33430                        offset: -3 -3;
33431                    }
33432                    align: 1.0 0.5;
33433                    min: 24 24;
33434                    max: 24 24;
33435                    fixed: 1 1;
33436                    image {
33437                        normal: "bt_base1.png";
33438                        border: 5 5 4 12;
33439                    }
33440                    fill.smooth : 0;
33441                }
33442                description { state: "clicked" 0.0;
33443                    inherit: "default" 0.0;
33444                    image.normal: "bt_base1.png";
33445                    image.middle: SOLID;
33446                }
33447            }
33448            part { name: "right_over1";
33449                mouse_events: 0;
33450                description { state: "default" 0.0;
33451                    rel1.to: "right_bt";
33452                    rel2 { to: "right_bt";
33453                        relative: 1.0 0.5;
33454                    }
33455                    image {
33456                        normal: "bt_hilight.png";
33457                        border: 7 7 7 0;
33458                    }
33459                }
33460            }
33461            part { name: "right_over2";
33462                mouse_events: 1;
33463                repeat_events: 1;
33464                description { state: "default" 0.0;
33465                    rel1.to: "right_bt";
33466                    rel2.to: "right_bt";
33467                    image {
33468                        normal: "bt_shine.png";
33469                        border: 7 7 7 7;
33470                    }
33471                }
33472            }
33473            part { name: "right_over3";
33474                mouse_events: 1;
33475                repeat_events: 1;
33476                description { state: "default" 0.0;
33477                    color: 255 255 255 0;
33478                    rel1.to: "right_bt";
33479                    rel2.to: "right_bt";
33480                    image {
33481                        normal: "bt_glow.png";
33482                        border: 12 12 12 12;
33483                    }
33484                    fill.smooth : 0;
33485                }
33486                description { state: "clicked" 0.0;
33487                    inherit:  "default" 0.0;
33488                    visible: 1;
33489                    color: 255 255 255 255;
33490                }
33491            }
33492            part { name: "left_bt_icon";
33493                repeat_events: 1;
33494                description { state: "default" 0.0;
33495                    rel1.to: "left_bt";
33496                    rel2.to: "left_bt";
33497                    align: 0.5 0.5;
33498                    min: 16 16;
33499                    max: 16 16;
33500                    image.normal: "sp_bt_l.png";
33501                }
33502                description { state: "rtl" 0.0;
33503                    inherit: "default" 0.0;
33504                    image.normal: "sp_bt_r.png";
33505                }
33506            }
33507            part { name: "right_bt_icon";
33508                repeat_events: 1;
33509                description { state: "default" 0.0;
33510                    rel1.to: "right_bt";
33511                    rel2.to: "right_bt";
33512                    align: 0.5 0.5;
33513                    min: 16 16;
33514                    max: 16 16;
33515                    image.normal: "sp_bt_r.png";
33516                }
33517                description { state: "rtl" 0.0;
33518                    inherit: "default" 0.0;
33519                    image.normal: "sp_bt_l.png";
33520                }
33521            }
33522            part { name: "month_text";
33523                type: TEXT;
33524                mouse_events: 0;
33525                scale: 1;
33526                description { state: "default" 0.0;
33527                    align: 0 0.5;
33528                    fixed: 1 1;
33529                    rel1 { relative: 1.0 0.0;
33530                        offset: 3 2;
33531                        to: "left_bt";
33532                        to_y: "spinner-base";
33533                    }
33534                    rel2 { relative: 0.0 1.0;
33535                        offset: -3 -2;
33536                        to_x: "right_bt";
33537                        to_y: "spinner-base";
33538                    }
33539                    color: 0 0 0 255;
33540                    text {
33541                        font: "Sans,Edje-Vera";
33542                        size: 12;
33543                        min: 1 1;
33544                        align: 0.5 0.5;
33545                    }
33546                }
33547            }
33548            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33549            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33550            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33551            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33552            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33553            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33554            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33555        }
33556        programs {
33557            program { name: "dec_start";
33558                signal: "mouse,down,1";
33559                source: "left_bt";
33560                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33561            }
33562            program { name: "dec_stop";
33563                signal: "mouse,up,1";
33564                source: "left_bt";
33565                action: SIGNAL_EMIT "elm,action,stop" "";
33566            }
33567            program { name: "inc_start";
33568                signal: "mouse,down,1";
33569                source: "right_bt";
33570                action: SIGNAL_EMIT "elm,action,increment,start" "";
33571            }
33572            program { name: "inc_stop";
33573                signal: "mouse,up,1";
33574                source: "right_bt";
33575                action: SIGNAL_EMIT "elm,action,stop" "";
33576            }
33577            program {
33578                name:   "left_bt_click";
33579                signal: "mouse,down,1";
33580                source: "left_over2";
33581                action: STATE_SET "clicked" 0.0;
33582                target: "left_bt";
33583            }
33584            program {
33585                name:   "left_bt_unclick";
33586                signal: "mouse,up,1";
33587                source: "left_over2";
33588                action: STATE_SET "default" 0.0;
33589                target: "left_bt";
33590            }
33591            program {
33592                name:   "left_bt_click2";
33593                signal: "mouse,down,1";
33594                source: "left_over3";
33595                action: STATE_SET "clicked" 0.0;
33596                target: "left_over3";
33597            }
33598            program {
33599                name:   "left_bt_unclick2";
33600                signal: "mouse,up,1";
33601                source: "left_over3";
33602                action: STATE_SET "default" 0.0;
33603                transition: DECELERATE 0.5;
33604                target: "left_over3";
33605            }
33606            program {
33607                name:   "right_bt_click";
33608                signal: "mouse,down,1";
33609                source: "right_over2";
33610                action: STATE_SET "clicked" 0.0;
33611                target: "right_bt";
33612            }
33613            program {
33614                name:   "right_bt_unclick";
33615                signal: "mouse,up,1";
33616                source: "right_over2";
33617                action: STATE_SET "default" 0.0;
33618                target: "right_bt";
33619            }
33620            program {
33621                name:   "right_bt_click2";
33622                signal: "mouse,down,1";
33623                source: "right_over3";
33624                action: STATE_SET "clicked" 0.0;
33625                target: "right_over3";
33626            }
33627            program {
33628                name:   "right_bt_unclick2";
33629                signal: "mouse,up,1";
33630                source: "right_over3";
33631                action: STATE_SET "default" 0.0;
33632                transition: DECELERATE 0.5;
33633                target: "right_over3";
33634            }
33635            program { name: "to_rtl";
33636                signal: "edje,state,rtl";
33637                source: "edje";
33638                action: STATE_SET "rtl" 0.0;
33639                target: "right_bt_icon";
33640                target: "left_bt_icon";
33641            }
33642            program { name: "to_ltr";
33643                signal: "edje,state,ltr";
33644                source: "edje";
33645                action: STATE_SET "default" 0.0;
33646                target: "right_bt_icon";
33647                target: "left_bt_icon";
33648            }
33649        }
33650    }
33651
33652 #undef CIT
33653 #undef CH
33654
33655 ////////////////////////////////////////////////////////////////////////////////
33656 // colorselector
33657 ////////////////////////////////////////////////////////////////////////////////
33658    group { name: "elm/colorselector/bg/default";
33659       parts {
33660          part { name: "elm.colorbar_0";
33661             type: SWALLOW;
33662             mouse_events: 1;
33663             description { state: "default" 0.0;
33664                min: 120 30;
33665                rel1.relative: 0.0 0.00653594771;
33666                rel2.relative: 1.0 0.254901961;
33667             }
33668          }
33669          part { name: "elm.colorbar_1";
33670             type: SWALLOW;
33671             mouse_events: 1;
33672             description { state: "default" 0.0;
33673                min: 120 30;
33674                rel1.relative: 0.0 0.254901961;
33675                rel2.relative: 1.0 0.503267974;
33676             }
33677          }
33678          part { name: "elm.colorbar_2";
33679             type: SWALLOW;
33680             mouse_events: 1;
33681             description { state: "default" 0.0;
33682                min: 120 30;
33683                rel1.relative: 0.0 0.503267974;
33684                rel2.relative: 1.0 0.751633987;
33685             }
33686          }
33687          part { name: "elm.colorbar_3";
33688             type: SWALLOW;
33689             mouse_events: 1;
33690             description { state: "default" 0.0;
33691                min: 120 30;
33692                rel1.relative: 0.0 0.751633987;
33693                rel2.relative: 1.0 1.0;
33694             }
33695          }
33696       }
33697    }
33698
33699    group { name: "elm/colorselector/base/default";
33700       parts {
33701          part { name: "elm.bar_bg";
33702             type: SWALLOW;
33703             mouse_events: 0;
33704             description { state: "default" 0.0;
33705                min: 60 22;
33706                rel1 {
33707                   relative: 0.0 0.8;
33708                   to_x: "elm.arrow_bg";
33709                   to_y: "elm.arrow_icon";
33710                   offset: 0 0;
33711                }
33712                rel2 {
33713                   relative: 1.0 0.83;
33714                   to_x: "elm.arrow_bg";
33715                   offset: 0 0;
33716                }
33717             }
33718          }
33719          part { name: "elm.bar";
33720             type: SWALLOW;
33721             mouse_events: 0;
33722             description { state: "default" 0.0;
33723                rel1.to: "elm.bar_bg";
33724                rel2.to: "elm.bar_bg";
33725             }
33726          }
33727          part { name: "elm.arrow_bg";
33728             type: SWALLOW;
33729             mouse_events: 1;
33730             description { state: "default" 0.0;
33731                rel1 {
33732                   relative: 1.0 0.17;
33733                   offset: 3 0;
33734                   to_x: "elm.l_button";
33735                }
33736                rel2 {
33737                   relative: 0.0 0.83;
33738                      offset: -4 0;
33739                   to_x: "elm.r_button";
33740                }
33741             }
33742          }
33743          part { name: "elm.arrow";
33744             type: RECT;
33745             mouse_events: 1;
33746             scale: 1;
33747             description { state: "default" 0.0;
33748                min: 1 1;
33749                fixed: 1 1;
33750                align: 0 0;
33751                rel1 {
33752                   to_x: "elm.arrow_bg";
33753                }
33754                rel2 {
33755                   relative: 0.0 0.17;
33756                   to_x: "elm.arrow_bg";
33757                }
33758                color: 0 0 0 0;
33759                visible: 0;
33760             }
33761             dragable {
33762                confine: "elm.arrow_bg";
33763                x: 1 1 0;
33764                y: 0 0 0;
33765             }
33766          }
33767          part { name: "elm.arrow_icon";
33768             type: SWALLOW;
33769             mouse_events: 0;
33770             description { state: "default" 0.0;
33771                min: 25 15;
33772                max: 25 15;
33773                fixed: 1 1;
33774                align: 0.5 0;
33775                rel1 {
33776                   to_x: "elm.arrow";
33777                }
33778                rel2 {
33779                   relative: 1.0 0.0;
33780                   offset: 0 10;
33781                   to_x: "elm.arrow";
33782                }
33783             }
33784          }
33785          part { name: "event";
33786             type: RECT;
33787             mouse_events: 1;
33788             description { state: "default" 0.0;
33789                rel1 {
33790                   to: "elm.arrow_icon";
33791                }
33792                rel2 {
33793                   to_x: "elm.arrow_icon";
33794                   to_y: "elm.arrow_bg";
33795                   offset: 0 0;
33796                }
33797                color: 0 0 0 0;
33798             }
33799             dragable {
33800                events: "elm.arrow";
33801             }
33802          }
33803          part { name: "elm.l_button";
33804             type: SWALLOW;
33805             mouse_events: 1;
33806             scale: 1;
33807             description { state: "default" 0.0;
33808                min: 24 24;
33809                fixed: 1 1;
33810                rel1 {
33811                   relative: 0.0 0.0;
33812                   to_y: "elm.bar_bg";
33813                }
33814                rel2 {
33815                   relative: 0.0 1.0;
33816                   to_y: "elm.bar_bg";
33817                }
33818                align: 0.0 0.5;
33819             }
33820          }
33821          part { name: "elm.r_button";
33822             type: SWALLOW;
33823             mouse_events: 1;
33824             scale: 1;
33825             description {
33826                state: "default" 0.0;
33827                min: 24 24;
33828                fixed: 1 1;
33829                rel1 {
33830                   relative: 1.0 0.0;
33831                   to_y: "elm.bar_bg";
33832                }
33833                rel2 {
33834                   relative: 1.0 1.0;
33835                   to_y: "elm.bar_bg";
33836                }
33837                align: 1.0 0.5;
33838             }
33839          }
33840       }
33841    }
33842
33843    group{ name: "elm/colorselector/image/colorbar_0";
33844       images {
33845          image: "color_picker_color.png" COMP;
33846       }
33847       parts {
33848          part { name: "colorbar_0_image";
33849             type: IMAGE;
33850             mouse_events: 1;
33851             description { state: "default" 0.0;
33852                rel2.offset: -1 -1;
33853                image.normal: "color_picker_color.png";
33854             }
33855          }
33856       }
33857    }
33858
33859    group { name: "elm/colorselector/image/colorbar_1";
33860       images {
33861          image: "color_picker_opacity.png" COMP;
33862       }
33863       parts {
33864          part { name: "colorbar_1_image";
33865             type: IMAGE;
33866             mouse_events: 1;
33867             description { state: "default" 0.0;
33868                rel2.offset: -1 -1;
33869                image.normal: "color_picker_opacity.png";
33870             }
33871          }
33872       }
33873    }
33874
33875    group { name: "elm/colorselector/image/colorbar_2";
33876       images {
33877          image: "color_picker_brightness.png" COMP;
33878       }
33879       parts {
33880          part { name: "colorbar_2_image";
33881             type: IMAGE;
33882             mouse_events: 1;
33883             description { state: "default" 0.0;
33884                rel2.offset: -1 -1;
33885                image.normal: "color_picker_brightness.png";
33886             }
33887          }
33888       }
33889    }
33890
33891    group { name: "elm/colorselector/image/colorbar_3";
33892       images {
33893          image: "color_picker_alpha.png" COMP;
33894       }
33895       parts {
33896          part { name: "colorbar_3_image";
33897             type: IMAGE;
33898             mouse_events: 1;
33899             description { state: "default" 0.0;
33900                rel2.offset: -1 -1;
33901                image.normal: "color_picker_alpha.png";
33902             }
33903          }
33904       }
33905    }
33906
33907    group { name: "elm/colorselector/bg_image/colorbar_3";
33908       images {
33909          image: "color_picker_alpha_bg.png" COMP;
33910       }
33911       parts {
33912          part { name: "colorbar_3_image";
33913             type: IMAGE;
33914             mouse_events: 1;
33915             description { state: "default" 0.0;
33916                rel2.offset: -1 -1;
33917                image.normal: "color_picker_alpha_bg.png";
33918             }
33919          }
33920       }
33921    }
33922
33923    group { name: "elm/colorselector/image/updown";
33924       images {
33925          image: "icon_arrow_down.png" COMP;
33926       }
33927       parts {
33928          part { name: "bg";
33929             type: RECT;
33930             mouse_events: 1;
33931             description { state: "default" 0.0;
33932                color: 0 0 0 0;
33933             }
33934          }
33935          part { name: "arrow_image";
33936             type: IMAGE;
33937             mouse_events: 1;
33938             description { state: "default" 0.0;
33939                image.normal: "icon_arrow_down.png";
33940             }
33941          }
33942       }
33943    }
33944
33945    group { name: "elm/colorselector/button/left";
33946       images {
33947          image: "bt_base1.png" COMP;
33948          image: "bt_shine.png" COMP;
33949          image: "sp_bt_l.png" COMP;
33950       }
33951       parts {
33952          part { name: "button_image";
33953             mouse_events: 1;
33954             description { state: "default" 0.0;
33955                image.normal: "bt_base1.png";
33956                image.border: 6 6 6 6;
33957                image.middle: SOLID;
33958             }
33959
33960             description { state: "clicked" 0.0;
33961                inherit: "default" 0.0;
33962                image.normal: "bt_shine.png";
33963                image.border: 6 6 6 6;
33964                image.middle: SOLID;
33965             }
33966          }
33967          part { name: "btn_over";
33968             type: IMAGE;
33969             mouse_events: 0;
33970             description { state: "default" 0.0;
33971                rel1.to: "button_image";
33972                rel2 {
33973                   relative: 1.0 0.5;
33974                   to: "button_image";
33975                }
33976                image {
33977                   normal: "bt_hilight.png";
33978                   border: 7 7 7 0;
33979                }
33980             }
33981          }
33982          part { name: "btn_over2";
33983             type: IMAGE;
33984             mouse_events: 1;
33985             repeat_events: 1;
33986             ignore_flags: ON_HOLD;
33987             description { state: "default" 0.0;
33988                rel1.to: "button_image";
33989                rel2.to: "button_image";
33990                image {
33991                   normal: "bt_shine.png";
33992                   border: 7 7 7 7;
33993                }
33994             }
33995          }
33996          part { name: "focus_image";
33997             type: IMAGE;
33998             description { state: "default" 0.0;
33999                color: 255 255 255 0;
34000                rel1.to: "button_image";
34001                rel2.to: "button_image";
34002                image {
34003                   normal: "bt_glow.png";
34004                   border: 12 12 12 12;
34005                }
34006                fill.smooth: 0;
34007
34008             }
34009             description { state: "clicked" 0.0;
34010                inherit: "default" 0.0;
34011                visible: 1;
34012                color: 255 255 255 255;
34013             }
34014          }
34015          part { name: "left_arrow";
34016             mouse_events: 1;
34017             description { state: "default" 0.0;
34018                min: 16 16;
34019                max: 16 16;
34020                image.normal: "sp_bt_l.png";
34021             }
34022          }
34023       }
34024
34025       programs {
34026          program {
34027             name:   "button_down";
34028             signal: "elm,state,left,button,down";
34029             source: "left_button";
34030             action: STATE_SET "clicked" 0.0;
34031             target: "button_image";
34032             target: "focus_image";
34033          }
34034          program {
34035             name:   "button_up";
34036             signal: "elm,state,left,button,up";
34037             source: "left_button";
34038             action: STATE_SET "default" 0.0;
34039             target: "button_image";
34040             target: "focus_image";
34041          }
34042       }
34043    }
34044
34045    group { name: "elm/colorselector/button/right";
34046       images {
34047          image: "bt_base1.png" COMP;
34048          image: "bt_shine.png" COMP;
34049          image: "sp_bt_r.png" COMP;
34050       }
34051       parts {
34052          part { name: "button_image";
34053             mouse_events: 1;
34054             description { state: "default" 0.0;
34055                image.normal: "bt_base1.png";
34056                image.border: 6 6 6 6;
34057                image.middle: SOLID;
34058             }
34059
34060             description { state: "clicked" 0.0;
34061                inherit: "default" 0.0;
34062                image.normal: "bt_shine.png";
34063                image.border: 6 6 6 6;
34064                image.middle: SOLID;
34065             }
34066          }
34067          part { name: "btn_over";
34068             type: IMAGE;
34069             mouse_events: 0;
34070             description { state: "default" 0.0;
34071                rel1.to: "button_image";
34072                rel2 {
34073                   relative: 1.0 0.5;
34074                   to: "button_image";
34075                }
34076                image {
34077                   normal: "bt_hilight.png";
34078                   border: 7 7 7 0;
34079                }
34080             }
34081          }
34082          part { name: "btn_over2";
34083             type: IMAGE;
34084             mouse_events: 1;
34085             repeat_events: 1;
34086             ignore_flags: ON_HOLD;
34087             description { state: "default" 0.0;
34088                rel1.to: "button_image";
34089                rel2.to: "button_image";
34090                image {
34091                   normal: "bt_shine.png";
34092                   border: 7 7 7 7;
34093                }
34094             }
34095          }
34096          part { name: "focus_image";
34097             type: IMAGE;
34098             description { state: "default" 0.0;
34099                color: 255 255 255 0;
34100                rel1.to: "button_image";
34101                rel2.to: "button_image";
34102                image {
34103                   normal: "bt_glow.png";
34104                   border: 12 12 12 12;
34105                }
34106                fill.smooth: 0;
34107
34108             }
34109             description { state: "clicked" 0.0;
34110                inherit: "default" 0.0;
34111                visible: 1;
34112                color: 255 255 255 255;
34113             }
34114          }
34115          part { name: "right_arrow";
34116             mouse_events: 1;
34117             description { state: "default" 0.0;
34118                min: 16 16;
34119                max: 16 16;
34120                image.normal: "sp_bt_r.png";
34121             }
34122          }
34123       }
34124
34125       programs {
34126          program {
34127             name:   "button_down";
34128             signal: "elm,state,right,button,down";
34129             source: "right_button";
34130             action: STATE_SET "clicked" 0.0;
34131             target: "button_image";
34132             target: "focus_image";
34133          }
34134          program {
34135             name:   "button_up";
34136             signal: "elm,state,right,button,up";
34137             source: "right_button";
34138             action: STATE_SET "default" 0.0;
34139             target: "button_image";
34140             target: "focus_image";
34141          }
34142       }
34143    }
34144
34145 ///////////////////////////////////////////////////////////////////////////////
34146 #define FLIP_PICKER_MAX_LEN (50)
34147 #define FLIP_PICKER_MAX_LEN_STR "50"
34148
34149    group { name: "elm/flipselector/base/default";
34150       images {
34151          image: "flip_base.png" COMP;
34152          image: "flip_base_shad.png" COMP;
34153          image: "flip_shad.png" COMP;
34154          image: "arrow_up.png" COMP;
34155          image: "arrow_down.png" COMP;
34156          image: "flip_t.png" COMP;
34157          image: "flip_b.png" COMP;
34158       }
34159
34160       data {
34161          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34162       }
34163
34164       //FIXME: quick successive clicks on, say, up, lead to nastiness
34165       script {
34166          public cur, prev, next, lock;
34167
34168          public animator_bottom_down(val, Float:pos) {
34169             new tmp[FLIP_PICKER_MAX_LEN];
34170
34171             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34172             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34173                             0.0);
34174             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34175                             0.0);
34176
34177             if (pos >= 1.0) {
34178                set_state(PART:"shadow", "default", 0.0);
34179                set_int(lock, 0);
34180
34181                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34182                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34183                   replace_str(next, 0, "");
34184                   message(MSG_STRING, 1, tmp);
34185                }
34186             }
34187          }
34188
34189          public animator_top_down(val, Float:pos) {
34190             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34191             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34192                             0.0);
34193             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34194                             0.0);
34195
34196             if (pos >= 1.0)
34197                anim(0.2, "animator_bottom_down", val);
34198          }
34199
34200          public animator_bottom_up(val, Float:pos) {
34201             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34202             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34203                             0.0);
34204             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34205                             0.0);
34206
34207             if (pos >= 1.0)
34208                anim(0.2, "animator_top_up", val);
34209          }
34210
34211          public animator_top_up(val, Float:pos) {
34212             new tmp[FLIP_PICKER_MAX_LEN];
34213
34214             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34215             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34216                             0.0);
34217             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34218                             0.0);
34219
34220             if (pos >= 1.0) {
34221                set_state(PART:"shadow", "default", 0.0);
34222                set_int(lock, 0);
34223
34224                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34225                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34226                   replace_str(next, 0, "");
34227                   message(MSG_STRING, 2, tmp);
34228                }
34229             }
34230          }
34231
34232          public message(Msg_Type:type, id, ...) {
34233             /* flip down */
34234             if ((type == MSG_STRING) && (id == 1)) {
34235                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34236
34237                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34238
34239                if (get_int(lock) == 1) {
34240                   replace_str(next, 0, value);
34241                   return;
34242                }
34243
34244                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34245
34246                set_text(PART:"bottom_b", tmp);
34247
34248                set_state(PART:"top", "shrink", 0.0);
34249                set_text(PART:"top", tmp);
34250                set_state(PART:"top", "default", 0.0);
34251                set_text(PART:"top", tmp);
34252
34253                replace_str(prev, 0, tmp);
34254
34255                set_state(PART:"bottom", "default", 0.0);
34256                set_text(PART:"bottom", value);
34257                set_state(PART:"bottom", "shrink", 0.0);
34258                set_text(PART:"bottom", value);
34259
34260                set_text(PART:"top_b", value);
34261
34262                replace_str(cur, 0, value);
34263
34264                set_state(PART:"bottom_sheet", "shrink", 0.0);
34265                set_state(PART:"top_sheet", "default", 0.0);
34266
34267                set_int(lock, 1);
34268                set_state(PART:"shadow", "default", 0.0);
34269                anim(0.2, "animator_top_down", 1);
34270             }
34271
34272             /* flip up */
34273             if ((type == MSG_STRING) && (id == 2)) {
34274                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34275
34276                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34277
34278                if (get_int(lock) == 1) {
34279                   replace_str(next, 0, value);
34280                   return;
34281                }
34282
34283                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34284
34285                set_text(PART:"top_b", tmp);
34286
34287                set_state(PART:"bottom", "shrink", 0.0);
34288                set_text(PART:"bottom", tmp);
34289                set_state(PART:"bottom", "default", 0.0);
34290                set_text(PART:"bottom", tmp);
34291
34292                replace_str(prev, 0, tmp);
34293
34294                set_state(PART:"top", "default", 0.0);
34295                set_text(PART:"top", value);
34296                set_state(PART:"top", "shrink", 0.0);
34297                set_text(PART:"top", value);
34298
34299                set_text(PART:"bottom_b", value);
34300
34301                replace_str(cur, 0, value);
34302
34303                set_state(PART:"bottom_sheet", "default", 0.0);
34304                set_state(PART:"top_sheet", "shrink", 0.0);
34305
34306                set_int(lock, 1);
34307                set_state(PART:"shadow", "full", 0.0);
34308                anim(0.2, "animator_bottom_up", 1);
34309             }
34310          }
34311       }
34312
34313       parts {
34314          part { name: "shad";
34315             mouse_events: 0;
34316             description { state: "default" 0.0;
34317                rel1.offset: -4 -4;
34318                rel1.to: "base";
34319                rel2.offset: 3 3;
34320                rel2.to: "base";
34321                image {
34322                   normal: "flip_base_shad.png";
34323                   border: 8 8 8 8;
34324                }
34325             }
34326          }
34327
34328          part { name: "base";
34329             scale: 1;
34330             description { state: "default" 0.0;
34331                rel1.offset: 4 4;
34332                rel2.offset: -5 -5;
34333                min: 24 48;
34334                image.normal: "flip_base.png";
34335             }
34336          }
34337
34338          part { name: "b";
34339             type: RECT;
34340             mouse_events: 1;
34341             description { state: "default" 0.0;
34342                rel1.to: "base";
34343                rel1.relative: 0.0 0.5;
34344                rel2.to: "base";
34345                color: 0 0 0 0;
34346             }
34347             description { state: "hidden" 0.0;
34348                inherit: "default" 0.0;
34349                visible: 0;
34350             }
34351          }
34352
34353          part { name: "t";
34354             type: RECT;
34355             mouse_events: 1;
34356             description { state: "default" 0.0;
34357                rel1.to: "base";
34358                rel2.to: "base";
34359                rel2.relative: 1.0 0.5;
34360                color: 0 0 0 0;
34361             }
34362             description { state: "hidden" 0.0;
34363                inherit: "default" 0.0;
34364                visible: 0;
34365             }
34366          }
34367
34368          part { name: "bottom_sheet_static";
34369             mouse_events: 0;
34370             description { state: "default" 0.0;
34371                visible: 1;
34372                rel1.to: "b";
34373                rel2.to: "b";
34374                image.normal: "flip_b.png";
34375             }
34376          }
34377
34378          part { name: "bottom_b";
34379             mouse_events: 0;
34380             clip_to: "bottom_clipper";
34381             type: TEXT;
34382             scale: 1;
34383             description { state: "default" 0.0;
34384                rel1.to: "base";
34385                rel2.to: "base";
34386                color: 0 0 0 255;
34387                color2: 0 0 0 255;
34388                text {
34389                   font: "Sans:style=Bold,Edje-Vera-Bold";
34390                   size: 30;
34391                   min: 1 1;
34392                   align: 0.5 0.5;
34393                }
34394             }
34395          }
34396
34397          part { name: "shadow";
34398             mouse_events: 0;
34399             description { state: "default" 0.0;
34400                rel1.to: "b";
34401                rel2.to: "b";
34402                rel2.relative: 1.0 0.0;
34403                image.normal: "flip_shad.png";
34404             }
34405             description { state: "half" 0.0;
34406                inherit: "default" 0.0;
34407                rel2.relative: 1.0 0.5;
34408             }
34409             description { state: "full" 0.0;
34410                inherit: "default" 0.0;
34411                rel2.relative: 1.0 1.0;
34412             }
34413          }
34414
34415          part { name: "bottom_sheet";
34416             mouse_events: 0;
34417             description { state: "default" 0.0;
34418                visible: 1;
34419                rel1.to: "b";
34420                rel2.to: "b";
34421                image.normal: "flip_b.png";
34422             }
34423             description { state: "shrink" 0.0;
34424                inherit: "default" 0.0;
34425                visible: 0;
34426                rel2.relative: 1.0 0.0;
34427             }
34428          }
34429
34430          part { name: "bottom";
34431             mouse_events: 0;
34432             clip_to: "bottom_clipper";
34433             type: TEXT;
34434             scale: 1;
34435             description { state: "default" 0.0;
34436                rel1.to: "base";
34437                rel2.to: "base";
34438                color: 0 0 0 255;
34439                color2: 0 0 0 255;
34440                text {
34441                   font: "Sans:style=Bold,Edje-Vera-Bold";
34442                   size: 30;
34443                   min: 1 1;
34444                   align: 0.5 0.5;
34445                }
34446             }
34447             description { state: "shrink" 0.0;
34448                inherit: "default" 0.0;
34449                color: 128 128 128 255;
34450                visible: 0;
34451                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34452             }
34453          }
34454
34455          part { name: "top_sheet_static";
34456             mouse_events: 0;
34457             description { state: "default" 0.0;
34458                visible: 1;
34459                rel1.to: "t";
34460                rel2.to: "t";
34461                image.normal: "flip_t.png";
34462             }
34463          }
34464
34465          part { name: "top_b";
34466             mouse_events: 0;
34467             clip_to: "top_clipper";
34468             type: TEXT;
34469             scale: 1;
34470             description { state: "default" 0.0;
34471                rel1.to: "base";
34472                rel2.to: "base";
34473                color: 0 0 0 255;
34474                color2: 0 0 0 255;
34475                text {
34476                   font: "Sans:style=Bold,Edje-Vera-Bold";
34477                   size: 30;
34478                   min: 1 1;
34479                   align: 0.5 0.5;
34480                   source: "top";
34481                }
34482             }
34483          }
34484
34485          part { name: "top_sheet";
34486             mouse_events: 0;
34487             description { state: "default" 0.0;
34488                visible: 1;
34489                rel1.to: "t";
34490                rel2.to: "t";
34491                image.normal: "flip_t.png";
34492             }
34493             description { state: "shrink" 0.0;
34494                inherit: "default" 0.0;
34495                color: 128 128 128 255;
34496                visible: 0;
34497                rel1.relative: 0.0 1.0;
34498             }
34499          }
34500
34501          part { name: "top";
34502             mouse_events: 0;
34503             clip_to: "top_clipper";
34504             type: TEXT;
34505             scale: 1;
34506             description { state: "default" 0.0;
34507                rel1.to: "base";
34508                rel2.to: "base";
34509                color: 0 0 0 255;
34510                color2: 0 0 0 255;
34511                text {
34512                   font: "Sans:style=Bold,Edje-Vera-Bold";
34513                   size: 30;
34514                   min: 1 1;
34515                   align: 0.5 0.5;
34516                }
34517             }
34518             description { state: "shrink" 0.0;
34519                inherit: "default" 0.0;
34520                visible: 0;
34521                rel1.relative: 0.0 0.5;
34522             }
34523          }
34524
34525          part { name: "arrow_top";
34526             mouse_events: 0;
34527             scale: 1;
34528             description { state: "default" 0.0;
34529                min: 15 15;
34530                max: 15 15;
34531                align: 0.5 0.0;
34532                rel1.to: "t";
34533                rel2.to: "t";
34534                image.normal: "arrow_up.png";
34535             }
34536             description { state: "hidden" 0.0;
34537                inherit: "default" 0.0;
34538                visible: 0;
34539             }
34540          }
34541          part { name: "arrow_bottom";
34542             mouse_events: 0;
34543             scale: 1;
34544             description { state: "default" 0.0;
34545                min: 15 15;
34546                max: 15 15;
34547                align: 0.5 1.0;
34548                rel1.to: "b";
34549                rel2.to: "b";
34550                image.normal: "arrow_down.png";
34551             }
34552             description { state: "hidden" 0.0;
34553                inherit: "default" 0.0;
34554                visible: 0;
34555             }
34556          }
34557
34558          part {
34559             type: RECT;
34560             mouse_events: 0;
34561             name: "top_clipper";
34562             description {
34563                state: "default" 0.0;
34564                rel1.to: "t";
34565                rel2.to: "t";
34566                visible: 1;
34567             }
34568          }
34569
34570          part {
34571             type: RECT;
34572             mouse_events: 0;
34573             name: "bottom_clipper";
34574             description {
34575                state: "default" 0.0;
34576                rel1.to: "b";
34577                rel2.to: "b";
34578                visible: 1;
34579             }
34580          }
34581       }
34582
34583       programs {
34584          program { name: "load";
34585             signal: "load";
34586             source: "";
34587             script {
34588                append_str(cur, "");
34589                append_str(prev, "");
34590                append_str(next, "");
34591                set_int(lock, 0);
34592             }
34593          }
34594
34595          program { name: "hide_arrows";
34596             signal: "elm,state,button,hidden";
34597             source: "elm";
34598             action: STATE_SET "hidden" 0.0;
34599             target: "arrow_top";
34600             target: "arrow_bottom";
34601             target: "t";
34602             target: "b";
34603          }
34604
34605          program { name: "show_arrows";
34606             signal: "elm,state,button,visible";
34607             source: "elm";
34608             action: STATE_SET "default" 0.0;
34609             target: "arrow_top";
34610             target: "arrow_bottom";
34611             target: "t";
34612             target: "b";
34613          }
34614
34615          program { name: "up";
34616             signal: "mouse,down,1";
34617             source: "t";
34618             action: SIGNAL_EMIT "elm,action,up,start" "";
34619          }
34620          program { name: "up,stop";
34621             signal: "mouse,up,1";
34622             source: "t";
34623             action: SIGNAL_EMIT "elm,action,up,stop" "";
34624          }
34625          program { name: "down";
34626             signal: "mouse,down,1";
34627             source: "b";
34628             action: SIGNAL_EMIT "elm,action,down,start" "";
34629          }
34630          program { name: "down,stop";
34631             signal: "mouse,up,1";
34632             source: "b";
34633             action: SIGNAL_EMIT "elm,action,down,stop" "";
34634          }
34635       }
34636    }
34637
34638 ////////////////////////////////////////////////////////////////////////////////
34639 // diskselector
34640 ////////////////////////////////////////////////////////////////////////////////
34641    group { name: "elm/diskselector/base/default";
34642       images {
34643          image: "bar_shine.png" COMP;
34644       }
34645
34646       parts {
34647          part { name: "bg";
34648             type: RECT;
34649             mouse_events: 0;
34650             description { state: "default" 0.0;
34651                color: 0 0 0 255;
34652             }
34653          }
34654          part { name: "shine_left";
34655             mouse_events:  0;
34656             description { state: "default" 0.0;
34657                rel1.to: "bg";
34658                rel1.relative: -0.1 0;
34659                rel2.to: "bg";
34660                rel2.relative: 0.1 1;
34661                image.normal: "bar_shine.png";
34662                color: 255 255 255 120;
34663             }
34664          }
34665          part { name: "shine_center";
34666             mouse_events:  0;
34667             description { state: "default" 0.0;
34668                rel1.to: "bg";
34669                rel1.relative: 0.2 0;
34670                rel2.to: "bg";
34671                rel2.relative: 0.8 1;
34672                image.normal: "bar_shine.png";
34673                color: 255 255 255 180;
34674             }
34675          }
34676          part { name: "shine_right";
34677             mouse_events:  0;
34678             description { state: "default" 0.0;
34679                rel1.to: "bg";
34680                rel1.relative: 0.9 0;
34681                rel2.to: "bg";
34682                rel2.relative: 1.1 1;
34683                image.normal: "bar_shine.png";
34684                color: 255 255 255 120;
34685             }
34686          }
34687          part { name: "clipper";
34688             type: RECT;
34689             mouse_events: 0;
34690             description { state: "default" 0.0;
34691                rel1.to: "bg";
34692                rel2.to: "bg";
34693                rel1.offset: 2 2;
34694                rel2.offset: -3 -3;
34695             }
34696          }
34697          part { name: "elm.swallow.content";
34698             clip_to: "clipper";
34699             type: SWALLOW;
34700             description { state: "default" 0.0;
34701                rel1.to: "bg";
34702                rel2.to: "bg";
34703             }
34704          }
34705       }
34706    }
34707
34708    group { name: "elm/diskselector/item/default";
34709
34710       data {
34711          item: "len_threshold" "14";
34712          item: "display_item_num" "3";
34713          item: "min_height" "-1";
34714          item: "min_width" "-1";
34715       }
34716
34717       parts {
34718          part { name: "elm.swallow.icon";
34719             type: SWALLOW;
34720             description { state: "default" 0.0;
34721                fixed: 1 0;
34722                align: 0.0 0.5;
34723                rel1 {
34724                   relative: 0 0;
34725                   offset: 4 4;
34726                }
34727                rel2 {
34728                   relative: 0 1;
34729                   offset: 4 -5;
34730                }
34731             }
34732             description { state: "show" 0.0;
34733                inherit: "default" 0.0;
34734             }
34735             description { state: "default_small" 0.0;
34736                inherit: "default" 0.0;
34737                rel1.relative: 0 0.2;
34738                rel2.relative: 0 0.8;
34739             }
34740             description { state: "left_side" 0.0;
34741                inherit: "default" 0.0;
34742                rel1.relative: 0 0.2;
34743                rel2.relative: 0 0.8;
34744                color: 255 255 255 160;
34745             }
34746             description { state: "right_side" 0.0;
34747                inherit: "left_side" 0.0;
34748                rel1.relative: 0.4 0.2;
34749                rel2.relative: 0.4 0.8;
34750                color: 255 255 255 160;
34751             }
34752          }
34753          part { name: "elm.text";
34754             type: TEXT;
34755             mouse_events: 0;
34756             scale: 1;
34757             description { state: "default" 0.0;
34758                rel1.relative: 1 0.0;
34759                rel1.to_x: "elm.swallow.icon";
34760                rel2.relative: 1.0 1.0;
34761                color: 255 255 255 255;
34762                visible: 0;
34763                text {
34764                   font: "Sans,Edje-Vera";
34765                   size: 13;
34766                   align: 0.5 0.5;
34767                   min: 0 1;
34768                }
34769             }
34770             description { state: "show" 0.0;
34771                inherit: "default" 0.0;
34772                visible: 1;
34773             }
34774             description { state: "default_small" 0.0;
34775                inherit: "default" 0.0;
34776                visible: 1;
34777                text.size: 10;
34778             }
34779             description { state: "left_side" 0.0;
34780                inherit: "default" 0.0;
34781                color: 172 172 172 255;
34782                text.size: 10;
34783                visible: 1;
34784                text.align: 0.2 0.5;
34785             }
34786             description { state: "right_side" 0.0;
34787                inherit: "default" 0.0;
34788                color: 172 172 172 255;
34789                visible: 1;
34790                text.size: 10;
34791                text.align: 0.8 0.5;
34792             }
34793          }
34794       }
34795
34796       programs {
34797          program { name: "center_text";
34798             signal: "elm,state,center";
34799             source: "elm";
34800             action: STATE_SET "show" 0.0;
34801             target: "elm.text";
34802             target: "elm.swallow.icon";
34803          }
34804          program { name: "center_small_text";
34805             signal: "elm,state,center_small";
34806             source: "elm";
34807             action: STATE_SET "default_small" 0.0;
34808             target: "elm.text";
34809             target: "elm.swallow.icon";
34810          }
34811          program { name: "l_side_text";
34812             signal: "elm,state,left_side";
34813             source: "elm";
34814             action: STATE_SET "left_side" 0.0;
34815             target: "elm.text";
34816             target: "elm.swallow.icon";
34817          }
34818          program { name: "r_side_text";
34819             signal: "elm,state,right_side";
34820             source: "elm";
34821             action: STATE_SET "right_side" 0.0;
34822             target: "elm.text";
34823             target: "elm.swallow.icon";
34824          }
34825       }
34826    }
34827
34828    group { name: "elm/entry/path/separator/default";
34829       images.image: "arrow_right.png" COMP;
34830       parts {
34831          part { name: "icon";
34832             mouse_events: 0;
34833             description { state: "default" 0.0;
34834                image.normal: "arrow_right.png";
34835                max: 64 64;
34836                aspect: 1.0 1.0;
34837             }
34838          }
34839       }
34840    }
34841
34842    group { name: "elm/fileselector/base/default";
34843       data {
34844          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34845       }
34846       parts {
34847          part { name: "elm.swallow.up";
34848             type: SWALLOW;
34849             description { state: "default" 0.0;
34850                align: 0.0 0.0;
34851                min: 10 10;
34852                fixed: 1 1;
34853                rel2 {
34854                   relative: 0.0 0.0;
34855                   offset: 0 0;
34856                }
34857             }
34858          }
34859          part { name: "elm.swallow.home";
34860             type: SWALLOW;
34861             description { state: "default" 0.0;
34862                align: 0.0 0.0;
34863                min: 10 10;
34864                fixed: 1 1;
34865                rel1 {
34866                   to: "elm.swallow.up";
34867                   relative: 1.0 0.0;
34868                   offset: 5 0;
34869                }
34870                rel2 {
34871                   to: "elm.swallow.up";
34872                   relative: 1.0 1.0;
34873                   offset: 20 -1;
34874                }
34875             }
34876          }
34877          part { name: "elm.swallow.files";
34878             type: SWALLOW;
34879             description { state: "default" 0.0;
34880                align: 1.0 0.0;
34881                min: 10 10;
34882                fixed: 1 1;
34883                rel1 {
34884                   to_y: "elm.swallow.home";
34885                   relative: 0.0 1.0;
34886                   offset: 0 0;
34887                }
34888                rel2 {
34889                   to_y: "elm.swallow.path";
34890                   relative: 1.0 0.0;
34891                   offset: -1 -1;
34892                }
34893             }
34894          }
34895          part { name: "elm.swallow.path";
34896             type: SWALLOW;
34897             description { state: "default" 0.0;
34898                align: 0.5 1.0;
34899                fixed: 1 1;
34900                rel1 {
34901                   to_y: "elm.swallow.filename";
34902                   relative: 0.0 0.0;
34903                   offset: 0 -1;
34904                }
34905                rel2 {
34906                   to_y: "elm.swallow.filename";
34907                   relative: 1.0 0.0;
34908                   offset: -1 -1;
34909                }
34910             }
34911          }
34912          part { name: "elm.swallow.filename";
34913             type: SWALLOW;
34914             description { state: "default" 0.0;
34915                align: 0.5 1.0;
34916                fixed: 1 1;
34917                rel1 {
34918                   to_y: "elm.swallow.ok";
34919                   relative: 0.0 0.0;
34920                   offset: 0 -1;
34921                }
34922                rel2 {
34923                   to_y: "elm.swallow.ok";
34924                   relative: 1.0 0.0;
34925                   offset: -1 -1;
34926                }
34927             }
34928          }
34929          part { name: "elm.swallow.cancel";
34930             type: SWALLOW;
34931             description { state: "default" 0.0;
34932                align: 1.0 1.0;
34933                fixed: 1 1;
34934                rel1 {
34935                   to: "elm.swallow.ok";
34936                   relative: 0.0 0.0;
34937                   offset: -3 0;
34938                }
34939                rel2 {
34940                   to: "elm.swallow.ok";
34941                   relative: 0.0 1.0;
34942                   offset: -3 -1;
34943                }
34944             }
34945          }
34946          part { name: "elm.swallow.ok";
34947             type: SWALLOW;
34948             description { state: "default" 0.0;
34949                align: 1.0 1.0;
34950                fixed: 1 1;
34951                rel1 {
34952                   relative: 1.0 1.0;
34953                   offset: -1 -1;
34954                }
34955             }
34956          }
34957       }
34958    }
34959
34960    group { name: "elm/fileselector_entry/base/default";
34961       parts {
34962          part { name: "elm.swallow.entry";
34963             type: SWALLOW;
34964             description { state: "default" 0.0;
34965                align: 0.0 0.0;
34966                min: 50 10;
34967                rel2 { to_x: "elm.swallow.button";
34968                   relative: 0.0 1.0;
34969                   offset: -1 -1;
34970                }
34971             }
34972          }
34973          part { name: "elm.swallow.button";
34974             type: SWALLOW;
34975             description { state: "default" 0.0;
34976                align: 1.0 0.0;
34977                min: 10 10;
34978                fixed: 1 1;
34979                rel1 {
34980                   relative: 1.0 0.0;
34981                   offset: -21 0;
34982                }
34983             }
34984          }
34985       }
34986    }
34987
34988 ////////////////////////////////////////////////////////////////////////
34989 // Standard layouts to be used                                        //
34990 ////////////////////////////////////////////////////////////////////////
34991    /* application with toolbar and main content area */
34992    group { name: "elm/layout/application/toolbar-content";
34993       parts {
34994          part { name: "elm.swallow.content";
34995             type: SWALLOW;
34996             description { state: "default" 0.0;
34997                rel1 { to_y: "elm.external.toolbar";
34998                   relative: 0.0 1.0;
34999                   offset: -1 1;
35000                }
35001             }
35002          }
35003
35004          part { name: "elm.external.toolbar";
35005             type: EXTERNAL;
35006             source: "elm/toolbar";
35007             description { state: "default" 0.0;
35008                align: 0.5 0.0;
35009                fixed: 0 1;
35010                rel2 {
35011                   relative: 1.0 0.0;
35012                   offset: -1 47;
35013                }
35014             }
35015          }
35016       }
35017    }
35018
35019    /* application with toolbar and main content area with a back button and title area */
35020    group { name: "elm/layout/application/toolbar-content-back";
35021       parts {
35022          part { name: "elm.swallow.content";
35023             type: SWALLOW;
35024             description { state: "default" 0.0;
35025                rel1 { to_y: "title_clipper";
35026                   relative: 0.0 1.0;
35027                   offset: -1 1;
35028                }
35029             }
35030          }
35031
35032          part { name: "elm.external.toolbar";
35033             type: EXTERNAL;
35034             source: "elm/toolbar";
35035             description { state: "default" 0.0;
35036                fixed: 0 1;
35037                align: 0.5 0.0;
35038                rel2 {
35039                   relative: 1.0 0.0;
35040                   offset: -1 47;
35041                }
35042             }
35043          }
35044          part { name: "title_clipper";
35045             type: RECT;
35046             description { state: "default" 0.0;
35047                visible: 1;
35048                rel1 {
35049                   to_y: "back";
35050                }
35051                rel2 {
35052                   to_y: "back";
35053                }
35054             }
35055             description { state: "hidden" 0.0;
35056                inherit: "default" 0.0;
35057                visible: 0;
35058                rel2 {
35059                   relative: 1.0 0.0;
35060                }
35061             }
35062          }
35063          part { name: "back_clipper";
35064             type: RECT;
35065             clip_to: "title_clipper";
35066             description { state: "default" 0.0;
35067                visible: 1;
35068             }
35069             description { state: "hidden" 0.0;
35070                visible: 0;
35071             }
35072          }
35073          part { name: "back";
35074             type: EXTERNAL;
35075             source: "elm/button";
35076             clip_to: "back_clipper";
35077             description { state: "default" 0.0;
35078                align: 0.0 0.0;
35079                fixed: 1 1;
35080                rel1 { to_y: "elm.external.toolbar";
35081                   relative: 0.0 1.0;
35082                   offset: 0 1;
35083                }
35084                rel2 { to_y: "elm.external.toolbar";
35085                   relative: 0.0 1.0;
35086                   offset: 50 32;
35087                }
35088                params.string: "label" "Back";
35089             }
35090          }
35091          programs {
35092             program {
35093                signal: "clicked";
35094                source: "back";
35095                action: SIGNAL_EMIT "elm,action,back" "";
35096             }
35097             program {
35098                signal: "elm,back,hide";
35099                source: "elm";
35100                action: STATE_SET "hidden" 0.0;
35101                target: "back_clipper";
35102             }
35103             program {
35104                signal: "elm,back,show";
35105                source: "elm";
35106                action: STATE_SET "default" 0.0;
35107                target: "back_clipper";
35108             }
35109             program {
35110                signal: "elm,title,hide";
35111                source: "elm";
35112                action: STATE_SET "hidden" 0.0;
35113                transition: LINEAR 0.1;
35114                target: "title_clipper";
35115             }
35116             program {
35117                signal: "elm,title,show";
35118                source: "elm";
35119                action: STATE_SET "default" 0.0;
35120                target: "title_clipper";
35121             }
35122          }
35123
35124          part { name: "elm.swallow.end";
35125             type: SWALLOW;
35126             description { state: "default" 0.0;
35127                align: 1.0 0.0;
35128                fixed: 1 1;
35129                rel1 { to_y: "elm.external.toolbar";
35130                   relative: 1.0 1.0;
35131                   offset: -2 1;
35132                }
35133                rel2 { to_y: "elm.external.toolbar";
35134                   relative: 1.0 1.0;
35135                   offset: -1 32;
35136                }
35137             }
35138          }
35139
35140          part { name: "elm.text.title";
35141             type: TEXT;
35142             effect: SOFT_SHADOW;
35143             scale: 1;
35144             description { state: "default" 0.0;
35145                rel1 { to_y: "elm.external.toolbar";
35146                   to_x: "back";
35147                   relative: 1.0 1.0;
35148                   offset: 2 1;
35149                }
35150                rel2 { to_y: "back";
35151                   to_x: "elm.swallow.end";
35152                   relative: 0.0 1.0;
35153                   offset: -3 -1;
35154                }
35155                text {
35156                   font: "Sans:style=Bold";
35157                   size: 12;
35158                }
35159             }
35160          }
35161       }
35162    }
35163
35164    /* application with toolbar and main content area with a back and next buttons and title area */
35165    group { name: "elm/layout/application/toolbar-content-back-next";
35166       parts {
35167          part { name: "elm.swallow.content";
35168             type: SWALLOW;
35169             description { state: "default" 0.0;
35170                rel1 { to_y: "title_clipper";
35171                   relative: 0.0 1.0;
35172                   offset: -1 1;
35173                }
35174             }
35175          }
35176
35177          part { name: "elm.external.toolbar";
35178             type: EXTERNAL;
35179             source: "elm/toolbar";
35180             description { state: "default" 0.0;
35181                fixed: 0 1;
35182                align: 0.5 0.0;
35183                rel2 {
35184                   relative: 1.0 0.0;
35185                   offset: -1 47;
35186                }
35187             }
35188          }
35189          part { name: "title_clipper";
35190             type: RECT;
35191             description { state: "default" 0.0;
35192                visible: 1;
35193                rel1 {
35194                   to_y: "back";
35195                }
35196                rel2 {
35197                   to_y: "back";
35198                }
35199             }
35200             description { state: "hidden" 0.0;
35201                inherit: "default" 0.0;
35202                visible: 0;
35203                rel2 {
35204                   relative: 1.0 0.0;
35205                }
35206             }
35207          }
35208          part { name: "back";
35209             type: EXTERNAL;
35210             source: "elm/button";
35211             clip_to: "back_clipper";
35212             description { state: "default" 0.0;
35213                align: 0.0 0.0;
35214                fixed: 1 1;
35215                rel1 { to_y: "elm.external.toolbar";
35216                   relative: 0.0 1.0;
35217                   offset: 0 1;
35218                }
35219                rel2 { to_y: "elm.external.toolbar";
35220                   relative: 0.0 1.0;
35221                   offset: 50 32;
35222                }
35223                params.string: "label" "Back";
35224             }
35225          }
35226          part { name: "back_clipper";
35227             type: RECT;
35228             clip_to: "title_clipper";
35229             description { state: "default" 0.0;
35230                visible: 1;
35231             }
35232             description { state: "hidden" 0.0;
35233                visible: 0;
35234             }
35235          }
35236          part { name: "next";
35237             type: EXTERNAL;
35238             source: "elm/button";
35239             clip_to: "next_clipper";
35240             description { state: "default" 0.0;
35241                align: 1.0 0.0;
35242                fixed: 1 1;
35243                rel1 { to_y: "elm.external.toolbar";
35244                   relative: 1.0 1.0;
35245                   offset: -2 1;
35246                }
35247                rel2 { to_y: "elm.external.toolbar";
35248                   relative: 1.0 1.0;
35249                   offset: -1 32;
35250                }
35251                params.string: "label" "Next";
35252            }
35253          }
35254          part { name: "next_clipper";
35255             type: RECT;
35256             clip_to: "title_clipper";
35257             description { state: "default" 0.0;
35258                visible: 1;
35259             }
35260             description { state: "hidden" 0.0;
35261                visible: 0;
35262             }
35263          }
35264          programs {
35265             program {
35266                signal: "clicked";
35267                source: "back";
35268                action: SIGNAL_EMIT "elm,action,back" "";
35269             }
35270             program {
35271                signal: "elm,title,hide";
35272                source: "elm";
35273                action: STATE_SET "hidden" 0.0;
35274                transition: LINEAR 0.1;
35275                target: "title_clipper";
35276             }
35277             program {
35278                signal: "elm,title,show";
35279                source: "elm";
35280                action: STATE_SET "default" 0.0;
35281                target: "title_clipper";
35282             }
35283             program {
35284                signal: "elm,back,hide";
35285                source: "elm";
35286                action: STATE_SET "hidden" 0.0;
35287                target: "back_clipper";
35288             }
35289             program {
35290                signal: "elm,back,show";
35291                source: "elm";
35292                action: STATE_SET "default" 0.0;
35293                target: "back_clipper";
35294             }
35295             program {
35296                signal: "clicked";
35297                source: "next";
35298                action: SIGNAL_EMIT "elm,action,next" "";
35299             }
35300             program {
35301                signal: "elm,next,hide";
35302                source: "elm";
35303                action: STATE_SET "hidden" 0.0;
35304                target: "next_clipper";
35305             }
35306             program {
35307                signal: "elm,next,show";
35308                source: "elm";
35309                action: STATE_SET "default" 0.0;
35310                target: "next_clipper";
35311             }
35312          }
35313          part { name: "elm.text.title";
35314             type: TEXT;
35315             effect: SOFT_SHADOW;
35316             scale: 1;
35317             clip_to: "title_clipper";
35318             description { state: "default" 0.0;
35319                rel1 { to_y: "elm.external.toolbar";
35320                   to_x: "back";
35321                   relative: 1.0 1.0;
35322                   offset: 2 1;
35323                }
35324                rel2 { to_y: "back";
35325                   to_x: "next";
35326                   relative: 0.0 1.0;
35327                   offset: -3 -1;
35328                }
35329                text {
35330                   font: "Sans:style=Bold";
35331                   size: 12;
35332                }
35333             }
35334          }
35335       }
35336    }
35337    /* application with a main content area with a back button and title area */
35338    group { name: "elm/layout/application/content-back";
35339       parts {
35340          part { name: "elm.swallow.content";
35341             type: SWALLOW;
35342             description { state: "default" 0.0;
35343                rel1 { to_y: "title_clipper";
35344                   relative: 0.0 1.0;
35345                   offset: -1 1;
35346                }
35347             }
35348          }
35349          part { name: "title_clipper";
35350             type: RECT;
35351             description { state: "default" 0.0;
35352                visible: 1;
35353                rel1 {
35354                   to_y: "back";
35355                }
35356                rel2 {
35357                   to_y: "back";
35358                }
35359             }
35360             description { state: "hidden" 0.0;
35361                inherit: "default" 0.0;
35362                visible: 0;
35363                rel2 {
35364                   relative: 1.0 0.0;
35365                }
35366             }
35367          }
35368          part { name: "back_clipper";
35369             type: RECT;
35370             clip_to: "title_clipper";
35371             description { state: "default" 0.0;
35372                visible: 1;
35373             }
35374             description { state: "hidden" 0.0;
35375                visible: 0;
35376             }
35377          }
35378          part { name: "back";
35379             type: EXTERNAL;
35380             source: "elm/button";
35381             clip_to: "back_clipper";
35382             description { state: "default" 0.0;
35383                align: 0.0 0.0;
35384                fixed: 1 1;
35385                rel1 {
35386                   relative: 0.0 0.0;
35387                   offset: 0 1;
35388                }
35389                rel2 {
35390                   relative: 0.0 0.0;
35391                   offset: 50 32;
35392                }
35393                params.string: "label" "Back";
35394             }
35395          }
35396          programs {
35397             program {
35398                signal: "clicked";
35399                source: "back";
35400                action: SIGNAL_EMIT "elm,action,back" "";
35401             }
35402             program {
35403                signal: "elm,back,hide";
35404                source: "elm";
35405                action: STATE_SET "hidden" 0.0;
35406                target: "back_clipper";
35407             }
35408             program {
35409                signal: "elm,back,show";
35410                source: "elm";
35411                action: STATE_SET "default" 0.0;
35412                target: "back_clipper";
35413             }
35414             program {
35415                signal: "elm,title,hide";
35416                source: "elm";
35417                action: STATE_SET "hidden" 0.0;
35418                transition: LINEAR 0.1;
35419                target: "title_clipper";
35420             }
35421             program {
35422                signal: "elm,title,show";
35423                source: "elm";
35424                action: STATE_SET "default" 0.0;
35425                target: "title_clipper";
35426             }
35427          }
35428
35429          part { name: "elm.swallow.end";
35430             type: SWALLOW;
35431             description { state: "default" 0.0;
35432                align: 1.0 0.0;
35433                fixed: 1 1;
35434                rel1 {
35435                   relative: 1.0 0.0;
35436                   offset: -2 1;
35437                }
35438                rel2 {
35439                   relative: 1.0 1.0;
35440                   offset: -1 32;
35441                }
35442             }
35443          }
35444
35445          part { name: "elm.text.title";
35446             type: TEXT;
35447             effect: SOFT_SHADOW;
35448             scale: 1;
35449             description { state: "default" 0.0;
35450                rel1 {
35451                   to_x: "back";
35452                   relative: 1.0 0.0;
35453                   offset: 2 1;
35454                }
35455                rel2 { to_y: "back";
35456                   to_x: "elm.swallow.end";
35457                   relative: 0.0 1.0;
35458                   offset: -3 -1;
35459                }
35460                text {
35461                   font: "Sans:style=Bold";
35462                   size: 12;
35463                }
35464             }
35465          }
35466       }
35467    }
35468
35469    /* application with a main content area with a back and next buttons and title area */
35470    group { name: "elm/layout/application/content-back-next";
35471       parts {
35472          part { name: "elm.swallow.content";
35473             type: SWALLOW;
35474             description { state: "default" 0.0;
35475                rel1 { to_y: "title_clipper";
35476                   relative: 0.0 1.0;
35477                   offset: -1 1;
35478                }
35479             }
35480          }
35481
35482          part { name: "title_clipper";
35483             type: RECT;
35484             description { state: "default" 0.0;
35485                visible: 1;
35486                rel1 {
35487                   to_y: "back";
35488                }
35489                rel2 {
35490                   to_y: "back";
35491                }
35492             }
35493             description { state: "hidden" 0.0;
35494                inherit: "default" 0.0;
35495                visible: 0;
35496                rel2 {
35497                   relative: 1.0 0.0;
35498                }
35499             }
35500          }
35501          part { name: "back";
35502             type: EXTERNAL;
35503             source: "elm/button";
35504             clip_to: "back_clipper";
35505             description { state: "default" 0.0;
35506                align: 0.0 0.0;
35507                fixed: 1 1;
35508                rel1 {
35509                   relative: 0.0 0.0;
35510                   offset: 0 1;
35511                }
35512                rel2 {
35513                   relative: 0.0 0.0;
35514                   offset: 50 32;
35515                }
35516                params.string: "label" "Back";
35517             }
35518          }
35519          part { name: "back_clipper";
35520             type: RECT;
35521             clip_to: "title_clipper";
35522             description { state: "default" 0.0;
35523                visible: 1;
35524             }
35525             description { state: "hidden" 0.0;
35526                visible: 0;
35527             }
35528          }
35529          part { name: "next";
35530             type: EXTERNAL;
35531             source: "elm/button";
35532             clip_to: "next_clipper";
35533             description { state: "default" 0.0;
35534                align: 1.0 0.0;
35535                fixed: 1 1;
35536                rel1 {
35537                   relative: 1.0 0.0;
35538                   offset: -2 1;
35539                }
35540                rel2 {
35541                   relative: 1.0 0.0;
35542                   offset: -1 32;
35543                }
35544                params.string: "label" "Next";
35545            }
35546          }
35547          part { name: "next_clipper";
35548             type: RECT;
35549             clip_to: "title_clipper";
35550             description { state: "default" 0.0;
35551                visible: 1;
35552             }
35553             description { state: "hidden" 0.0;
35554                visible: 0;
35555             }
35556          }
35557          programs {
35558             program {
35559                signal: "clicked";
35560                source: "back";
35561                action: SIGNAL_EMIT "elm,action,back" "";
35562             }
35563             program {
35564                signal: "elm,title,hide";
35565                source: "elm";
35566                action: STATE_SET "hidden" 0.0;
35567                transition: LINEAR 0.1;
35568                target: "title_clipper";
35569             }
35570             program {
35571                signal: "elm,title,show";
35572                source: "elm";
35573                action: STATE_SET "default" 0.0;
35574                target: "title_clipper";
35575             }
35576             program {
35577                signal: "elm,back,hide";
35578                source: "elm";
35579                action: STATE_SET "hidden" 0.0;
35580                target: "back_clipper";
35581             }
35582             program {
35583                signal: "elm,back,show";
35584                source: "elm";
35585                action: STATE_SET "default" 0.0;
35586                target: "back_clipper";
35587             }
35588             program {
35589                signal: "clicked";
35590                source: "next";
35591                action: SIGNAL_EMIT "elm,action,next" "";
35592             }
35593             program {
35594                signal: "elm,next,hide";
35595                source: "elm";
35596                action: STATE_SET "hidden" 0.0;
35597                target: "next_clipper";
35598             }
35599             program {
35600                signal: "elm,next,show";
35601                source: "elm";
35602                action: STATE_SET "default" 0.0;
35603                target: "next_clipper";
35604             }
35605          }
35606          part { name: "elm.text.title";
35607             type: TEXT;
35608             effect: SOFT_SHADOW;
35609             scale: 1;
35610             clip_to: "title_clipper";
35611             description { state: "default" 0.0;
35612                rel1 {
35613                   to_x: "back";
35614                   relative: 1.0 0.0;
35615                   offset: 2 1;
35616                }
35617                rel2 { to_y: "back";
35618                   to_x: "next";
35619                   relative: 0.0 1.0;
35620                   offset: -3 -1;
35621                }
35622                text {
35623                   font: "Sans:style=Bold";
35624                   size: 12;
35625                }
35626             }
35627          }
35628       }
35629    }
35630
35631    /* application with toolbar and main content area as a vertical box */
35632    group { name: "elm/layout/application/toolbar-vbox";
35633       parts {
35634          part { name: "elm.box.content";
35635             type: BOX;
35636             description { state: "default" 0.0;
35637                rel1 { to_y: "elm.external.toolbar";
35638                   relative: 0.0 1.0;
35639                   offset: -1 1;
35640                }
35641                box.layout: "vertical";
35642             }
35643          }
35644
35645          part { name: "elm.external.toolbar";
35646             type: EXTERNAL;
35647             source: "elm/toolbar";
35648             description { state: "default" 0.0;
35649                align: 0.5 0.0;
35650                fixed: 0 1;
35651                rel2 {
35652                   relative: 1.0 0.0;
35653                   offset: -1 47;
35654                }
35655             }
35656          }
35657       }
35658    }
35659
35660    /* application with toolbar and main content area as a table */
35661    group { name: "elm/layout/application/toolbar-table";
35662       parts {
35663          part { name: "elm.table.content";
35664             type: TABLE;
35665             description { state: "default" 0.0;
35666                rel1 { to_y: "elm.external.toolbar";
35667                   relative: 0.0 1.0;
35668                   offset: -1 1;
35669                }
35670             }
35671          }
35672
35673          part { name: "elm.external.toolbar";
35674             type: EXTERNAL;
35675             source: "elm/toolbar";
35676             description { state: "default" 0.0;
35677                align: 0.5 0.0;
35678                fixed: 0 1;
35679                rel2 {
35680                   relative: 1.0 0.0;
35681                   offset: -1 47;
35682                }
35683             }
35684          }
35685       }
35686    }
35687
35688 ///////////////////////////////////////////////////////////////////////////////
35689    group { name: "elm/segment_control/base/default";
35690 #define SEGMENT_TYPE_SINGLE 1
35691 #define SEGMENT_TYPE_LEFT 2
35692 #define SEGMENT_TYPE_MIDDLE 3
35693 #define SEGMENT_TYPE_RIGHT 4
35694 #define SEGMENT_STATE_NORMAL 1
35695 #define SEGMENT_STATE_PRESSED 2
35696 #define SEGMENT_STATE_SELECTED 3
35697 #define SEGMENT_STATUS_ENABLED 0
35698 #define SEGMENT_STATUS_DISABLED 1
35699       parts {
35700          part { name: "bg";
35701             type: RECT;
35702             mouse_events: 0;
35703             scale: 1;
35704             description {
35705                state: "default" 0.0;
35706                color: 0 0 0 0;
35707                min: 100 40;
35708             }
35709          }
35710       }
35711    }
35712    group { name: "elm/segment_control/item/default";
35713       data.item: "label.wrap.part" "label.bg";
35714       styles {
35715          style { name: "seg_text_style_normal";
35716             base: "font=Sans font_size=16 style=shadow \
35717             shadow_color=#2924224d \
35718             align=center \
35719             color=#ffffffff wrap=char text_class=label";
35720             tag:  "br" "\n";
35721             tag:  "hilight" "+ font=Sans:style=Bold";
35722             tag:  "tab" "\t";
35723          }
35724          style { name: "seg_text_style_selected";
35725             base: "font=Sans:style=Bold font_size=16 style=shadow \
35726             shadow_color=#aaaaaa4d \
35727             align=center \
35728             color=#111111ff wrap=char text_class=label";
35729             tag:  "br" "\n";
35730             tag:  "hilight" "+ font=Sans:style=Bold";
35731             tag:  "b" "+ font=Sans:style=Bold";
35732             tag:  "tab" "\t";
35733          }
35734          style { name: "seg_text_style_disabled";
35735             base: "font=Sans:style=Medium font_size=16 style=shadow \
35736             shadow_color=#2924224d \
35737             align=center color=#2924224d \
35738             wrap=char text_class=label";
35739             tag:  "br" "\n";
35740             tag:  "hilight" "+ font=Sans:style=Bold";
35741             tag:  "b" "+ font=Sans:style=Bold";
35742             tag:  "tab" "\t";
35743          }
35744       }
35745       images {
35746          image: "seg_single_pressed.png" COMP;
35747          image: "seg_single_selected.png" COMP;
35748          image: "seg_single_normal.png" COMP;
35749
35750          image: "seg_left_pressed.png" COMP;
35751          image: "seg_left_selected.png" COMP;
35752          image: "seg_left_normal.png" COMP;
35753
35754          image: "seg_middle_pressed.png" COMP;
35755          image: "seg_middle_selected.png" COMP;
35756          image: "seg_middle_normal.png" COMP;
35757
35758          image: "seg_right_pressed.png" COMP;
35759          image: "seg_right_selected.png" COMP;
35760          image: "seg_right_normal.png" COMP;
35761       }
35762       parts {
35763          part { name: "segment";
35764             mouse_events: 1;
35765             scale: 1;
35766             description { state: "default" 0.0;
35767                min: 1 1;
35768                visible: 0;
35769                image {
35770                   normal: "seg_single_normal.png";
35771                   border: 7 7 7 7;
35772                   border_scale: 1;
35773                   middle: 1;
35774                }
35775             }
35776             description { state: "default_single" 0.0;
35777                inherit: "default" 0.0;
35778                visible: 1;
35779                image {
35780                   normal: "seg_single_normal.png";
35781                   border: 7 7 7 7;
35782                }
35783             }
35784             description { state: "default_left" 0.0;
35785                inherit: "default" 0.0;
35786                visible: 1;
35787                image {
35788                normal: "seg_left_normal.png";
35789                   border:  6 1 7 7;
35790                }
35791             }
35792             description { state: "default_right" 0.0;
35793                inherit: "default" 0.0;
35794                visible: 1;
35795                image {
35796                   normal: "seg_right_normal.png";
35797                   border: 1 6 7 7;
35798                }
35799             }
35800             description { state: "default_middle" 0.0;
35801                inherit: "default" 0.0;
35802                visible: 1;
35803                image {
35804                   normal: "seg_middle_normal.png";
35805                   border: 2 2 2 2;
35806                }
35807             }
35808             description { state: "pressed_single" 0.0;
35809                inherit: "default" 0.0;
35810                visible: 1;
35811                image {
35812                   normal: "seg_single_pressed.png";
35813                   border: 7 7 7 7;
35814                }
35815             }
35816             description { state: "pressed_left" 0.0;
35817                inherit: "default" 0.0;
35818                visible: 1;
35819                image {
35820                   normal: "seg_left_pressed.png";
35821                   border:  6 1 7 7;
35822                }
35823             }
35824             description { state: "pressed_right" 0.0;
35825                inherit: "default" 0.0;
35826                visible: 1;
35827                image {
35828                   normal: "seg_right_pressed.png";
35829                   border: 1 6 7 7;
35830                }
35831             }
35832             description { state: "pressed_middle" 0.0;
35833                inherit: "default" 0.0;
35834                visible: 1;
35835                image {
35836                   normal: "seg_middle_pressed.png";
35837                   border: 1 1 2 2;
35838                }
35839             }
35840             description { state: "selected_single" 0.0;
35841                inherit: "default" 0.0;
35842                visible: 1;
35843                image {
35844                   normal: "seg_single_selected.png";
35845                   border: 7 7 7 7;
35846                }
35847             }
35848             description { state: "selected_left" 0.0;
35849                inherit: "default" 0.0;
35850                visible: 1;
35851                image {
35852                   normal: "seg_left_selected.png";
35853                   border:  6 3 7 7;
35854                }
35855             }
35856             description { state: "selected_right" 0.0;
35857                inherit: "default" 0.0;
35858                visible: 1;
35859                image {
35860                   normal: "seg_right_selected.png";
35861                   border: 3 6 7 7;
35862                }
35863             }
35864             description { state: "selected_middle" 0.0;
35865                inherit: "default" 0.0;
35866                visible: 1;
35867                image {
35868                   normal: "seg_middle_selected.png";
35869                   border: 3 3 3 3;
35870                }
35871             }
35872          }
35873          part { name: "padding_left";
35874             type: RECT;
35875             scale: 1;
35876             mouse_events: 0;
35877             description { state: "default" 0.0;
35878                align: 0.0 0.0;
35879                rel1.relative: 0.0 0.0;
35880                rel2.relative: 0.0 1.0;
35881                min: 2 2;
35882                max: 2 2;
35883                fixed: 1 0;
35884                color: 0 0 0 0;
35885             }
35886          }
35887          part { name: "padding_right";
35888             type: RECT;
35889             scale: 1;
35890             mouse_events: 0;
35891             description { state: "default" 0.0;
35892                align: 1.0 0.0;
35893                rel1.relative: 1.0 0.0;
35894                rel2.relative: 1.0 1.0;
35895                min: 2 2;
35896                max: 2 2;
35897                fixed: 1 0;
35898                color: 0 0 0 0;
35899             }
35900          }
35901          part { name: "padding_top";
35902             type: RECT;
35903             scale: 1;
35904             mouse_events: 0;
35905             description { state: "default" 0.0;
35906                align: 0.0 0.0;
35907                rel1.relative: 0.0 0.0;
35908                rel2.relative: 1.0 0.0;
35909                min: 2 2;
35910                max: 2 2;
35911                fixed: 0 1;
35912                color: 0 0 0 0;
35913             }
35914          }
35915          part { name: "padding_bottom";
35916             type: RECT;
35917             scale: 1;
35918             mouse_events: 0;
35919             description { state: "default" 0.0;
35920                align: 1.0 1.0;
35921                rel1.relative: 0.0 1.0;
35922                rel2.relative: 1.0 1.0;
35923                min: 2 2;
35924                max: 2 2;
35925                fixed: 0 1;
35926                color: 0 0 0 0;
35927             }
35928          }
35929          part { name: "icon.bg";
35930             type: RECT;
35931             scale: 1;
35932             mouse_events: 0;
35933             description { state: "default" 0.0;
35934                visible: 1;
35935                fixed: 1 0;
35936                rel1 {
35937                   to_x: "padding_left";
35938                   to_y: "padding_top";
35939                   relative: 1.0 1.0;
35940                }
35941                rel2 {
35942                   to: "elm.swallow.icon";
35943                   relative: 1.0 1.0;
35944                }
35945                align: 0.0 0.5;
35946                color: 0 0 0 0;
35947             }
35948          }
35949          part { name: "padding_icon_text";
35950             type: RECT;
35951             scale: 1;
35952             mouse_events: 0;
35953             description { state: "default" 0.0; //when only icon or no icon is there
35954                align: 0.0 0.0;
35955                rel1 {
35956                   to: "icon.bg";
35957                   relative: 1.0 0.0;
35958                }
35959                rel2 {
35960                   to: "icon.bg";
35961                   relative: 1.0 1.0;
35962                }
35963                fixed: 1 0;
35964                min: 0 0;
35965                color: 0 0 0 0;
35966             }
35967             description { state: "icononly" 0.0;
35968                inherit: "default" 0.0;
35969             }
35970             description { state: "visible" 0.0; //when icon is visible
35971                inherit: "default" 0.0;
35972                min: 2 0;
35973             }
35974          }
35975          part { name: "elm.swallow.icon";
35976             type: SWALLOW;
35977             scale: 1;
35978             description { state: "default" 0.0;
35979                visible: 0;
35980                align: 0.0 0.5;
35981                rel1 {
35982                   to_x: "padding_left";
35983                   to_y: "padding_top";
35984                   relative: 1.0 1.0;
35985                }
35986                rel2 {
35987                   to_y: "padding_bottom";
35988                   relative: 0.0 0.0;
35989                }
35990                fixed: 1 0;
35991                aspect: 1.0 1.0;
35992                aspect_preference: BOTH;
35993             }
35994             description { state: "visible" 0.0;
35995                inherit: "default" 0.0;
35996                visible: 1;
35997                rel2 {
35998                   to_y: "padding_bottom";
35999                   relative: 0.3 0.0;
36000                }
36001             }
36002             description { state: "icononly" 0.0;
36003                inherit: "default" 0.0;
36004                visible: 1;
36005                rel2 {
36006                   to_x: "padding_right";
36007                   to_y: "padding_bottom";
36008                   relative: 0.0 0.0;
36009                }
36010                align: 0.5 0.5;
36011             }
36012          }
36013          part { name: "elm.text";
36014             type: TEXT;
36015             mouse_events: 0;
36016             scale: 1;
36017             description {
36018                state: "default" 0.0;
36019                visible: 0;
36020                fixed: 1 1;
36021                min: 1 1;
36022                rel1 {
36023                   to_x: "padding_icon_text";
36024                   relative: 1.0 1.0;
36025                }
36026                rel2 {
36027                   to_x: "padding_right";
36028                   relative: 0.0 0.0;
36029                }
36030                color: 224 224 224 255;
36031                color3: 0 0 0 64;
36032                text {
36033                   font: "Sans";
36034                   ellipsis: 0.0;
36035                   fit: 1 1;
36036                   size: 24;
36037                   size_range: 8 36;
36038                   min: 0 1;
36039                }
36040             }
36041             description { state: "normal" 0.0;
36042                inherit: "default" 0.0;
36043                visible: 1;
36044             }
36045             description { state: "pressed" 0.0;
36046                inherit: "default" 0.0;
36047                visible: 1;
36048                color: 0 0 0 255;
36049             }
36050             description { state: "selected" 0.0;
36051                inherit: "default" 0.0;
36052                visible: 1;
36053                color: 50 50 50 255;
36054             }
36055             description { state: "disabled" 0.0;
36056                inherit: "default" 0.0;
36057                visible: 1;
36058                color: 200 200 200 255;
36059             }
36060          }
36061          part { name: "disabler";
36062             repeat_events: 0;
36063             scale: 1;
36064             description { state: "default" 0.0;
36065                visible: 0;
36066                fixed: 1 1;
36067                min: 1 1;
36068                align: 0.0 0.5;
36069                rel1 { relative: 0.0 0.0; to: "segment";}
36070                rel2 { relative: 1.0 1.0; to: "segment";}
36071                color: 255 255 255 150;
36072             }
36073             description { state: "disabled_single" 0.0;
36074                inherit: "default" 0.0;
36075                visible: 1;
36076                image {
36077                   normal: "seg_single_normal.png";
36078                   border: 7 7 7 7;
36079                }
36080             }
36081             description { state: "disabled_left" 0.0;
36082                inherit: "default" 0.0;
36083                visible: 1;
36084                image {
36085                   normal: "seg_left_normal.png";
36086                   border:  6 1 7 7;
36087                }
36088             }
36089             description { state: "disabled_right" 0.0;
36090                inherit: "default" 0.0;
36091                visible: 1;
36092                image {
36093                   normal: "seg_right_normal.png";
36094                   border: 1 6 7 7;
36095                }
36096             }
36097             description { state: "disabled_middle" 0.0;
36098                inherit: "default" 0.0;
36099                visible: 1;
36100                image {
36101                   normal: "seg_middle_normal.png";
36102                   border: 2 2 2 2;
36103                }
36104             }
36105          }
36106       }
36107       programs {
36108          script {
36109             public seg_type; // Single, Left, Middle, Right.
36110             public seg_state; // Normal/Default, Pressed, Selected.
36111             public seg_status;// Enabled/Default, Disabled
36112
36113             public update_state() {
36114                new type, state, disabled;
36115                type = get_int(seg_type);
36116                state = get_int(seg_state);
36117                disabled = get_int(seg_status);
36118
36119                if(state == SEGMENT_STATE_NORMAL)
36120                  {
36121                     if(type == SEGMENT_TYPE_SINGLE)
36122                       set_state(PART:"segment", "default_single", 0.0);
36123                     else if(type == SEGMENT_TYPE_LEFT)
36124                       set_state(PART:"segment", "default_left", 0.0);
36125                     else if(type == SEGMENT_TYPE_MIDDLE)
36126                       set_state(PART:"segment", "default_middle", 0.0);
36127                     else if(type == SEGMENT_TYPE_RIGHT)
36128                       set_state(PART:"segment", "default_right", 0.0);
36129                     set_state(PART:"elm.text", "normal", 0.0);
36130                  }
36131                else if(state == SEGMENT_STATE_PRESSED)
36132                  {
36133                     if(type == SEGMENT_TYPE_SINGLE)
36134                       set_state(PART:"segment", "pressed_single", 0.0);
36135                     else if(type == SEGMENT_TYPE_LEFT)
36136                       set_state(PART:"segment", "pressed_left", 0.0);
36137                     else if(type == SEGMENT_TYPE_MIDDLE)
36138                       set_state(PART:"segment", "pressed_middle", 0.0);
36139                     else if(type == SEGMENT_TYPE_RIGHT)
36140                       set_state(PART:"segment", "pressed_right", 0.0);
36141                     set_state(PART:"elm.text", "pressed", 0.0);
36142                  }
36143                else if(state == SEGMENT_STATE_SELECTED)
36144                  {
36145                     if(type == SEGMENT_TYPE_SINGLE)
36146                       set_state(PART:"segment", "selected_single", 0.0);
36147                     else if(type == SEGMENT_TYPE_LEFT)
36148                       set_state(PART:"segment", "selected_left", 0.0);
36149                     else if(type == SEGMENT_TYPE_MIDDLE)
36150                       set_state(PART:"segment", "selected_middle", 0.0);
36151                     else if(type == SEGMENT_TYPE_RIGHT)
36152                       set_state(PART:"segment", "selected_right", 0.0);
36153                     set_state(PART:"elm.text", "selected", 0.0);
36154                  }
36155                if(disabled == SEGMENT_STATUS_DISABLED)
36156                  {
36157                     if(type == SEGMENT_TYPE_SINGLE)
36158                       set_state(PART:"disabler", "disabled_single", 0.0);
36159                     else if(type == SEGMENT_TYPE_LEFT)
36160                       set_state(PART:"disabler", "disabled_left", 0.0);
36161                     else if(type == SEGMENT_TYPE_MIDDLE)
36162                       set_state(PART:"disabler", "disabled_middle", 0.0);
36163                     else if(type == SEGMENT_TYPE_RIGHT)
36164                       set_state(PART:"disabler", "disabled_right", 0.0);
36165                     set_state(PART:"elm.text", "disabled", 0.0);
36166                  }
36167             }
36168          }
36169          program {
36170             name: "segment_type_s";
36171             signal: "elm,type,segment,single";
36172             source: "elm";
36173             script {
36174                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36175                update_state();
36176             }
36177          }
36178          program {
36179             name: "segment_type_l";
36180             signal: "elm,type,segment,left";
36181             source: "elm";
36182             script {
36183                set_int(seg_type, SEGMENT_TYPE_LEFT);
36184                update_state();
36185             }
36186          }
36187          program {
36188             name: "segment_type_m";
36189             signal: "elm,type,segment,middle";
36190             source: "elm";
36191             script {
36192                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36193                update_state();
36194             }
36195          }
36196          program {
36197             name: "segment_type_r";
36198             signal: "elm,type,segment,right";
36199             source: "elm";
36200             script {
36201                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36202                update_state();
36203             }
36204          }
36205          program {
36206             name: "normal_segment";
36207             signal: "elm,state,segment,normal";
36208             source: "elm";
36209             script {
36210                set_int(seg_state, SEGMENT_STATE_NORMAL);
36211                update_state();
36212             }
36213          }
36214          program {
36215             name: "pressed_segment";
36216             signal: "elm,state,segment,pressed";
36217             source: "elm";
36218             script {
36219                set_int(seg_state, SEGMENT_STATE_PRESSED);
36220                update_state();
36221             }
36222          }
36223          program {
36224             name: "selected_segment";
36225             signal: "elm,state,segment,selected";
36226             source: "elm";
36227             script {
36228                set_int(seg_state, SEGMENT_STATE_SELECTED);
36229                update_state();
36230             }
36231          }
36232          program { name: "disable_segment";
36233             signal: "elm,state,disabled";
36234             source: "elm";
36235             script {
36236                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36237                update_state();
36238             }
36239          }
36240          program { name: "enable_segment";
36241             signal: "elm,state,enabled";
36242             source: "elm";
36243             script {
36244                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36245                update_state();
36246             }
36247          }
36248          program { name: "text_show";
36249             signal: "elm,state,text,visible";
36250             source: "elm";
36251             script {
36252                new st[31];
36253                new Float:vl;
36254                get_state(PART:"elm.swallow.icon", st, 30, vl);
36255                if (!strcmp(st, "icononly"))
36256                  {
36257                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36258                     set_state(PART:"padding_icon_text", "visible", 0.0);
36259                  }
36260                get_state(PART:"elm.text", st, 30, vl);
36261                if (!strcmp(st, "selected"))
36262                   set_state(PART:"elm.text", "selected", 0.0);
36263                else
36264                   set_state(PART:"elm.text", "normal", 0.0);
36265             }
36266          }
36267          program { name: "text_hide";
36268             signal: "elm,state,text,hidden";
36269             source: "elm";
36270             script {
36271                new st[31];
36272                new Float:vl;
36273                get_state(PART:"elm.swallow.icon", st, 30, vl);
36274                if (!strcmp(st, "visible"))
36275                  {
36276                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36277                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36278                  }
36279                set_state(PART:"elm.text", "default", 0.0);
36280             }
36281          }
36282          program { name: "icon_show";
36283             signal: "elm,state,icon,visible";
36284             source: "elm";
36285             script {
36286                new st[31];
36287                new Float:vl;
36288                get_state(PART:"elm.text", st, 30, vl);
36289                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36290                  {
36291                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36292                     set_state(PART:"padding_icon_text", "visible", 0.0);
36293                  }
36294                else
36295                  {
36296                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36297                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36298                  }
36299             }
36300          }
36301          program { name: "icon_hide";
36302             signal: "elm,state,icon,hidden";
36303             source: "elm";
36304             action:  STATE_SET "default" 0.0;
36305             target: "elm.swallow.icon";
36306          }
36307       }
36308 #undef SEGMENT_TYPE_SINGLE
36309 #undef SEGMENT_TYPE_LEFT
36310 #undef SEGMENT_TYPE_MIDDLE
36311 #undef SEGMENT_TYPE_RIGHT
36312 #undef SEGMENT_STATE_NORMAL
36313 #undef SEGMENT_STATE_PRESSED
36314 #undef SEGMENT_STATE_SELECTED
36315 #undef SEGMENT_STATUS_ENABLED
36316 #undef SEGMENT_STATUS_DISABLED
36317    }
36318
36319    /* a simple title layout, with a label and two icons */
36320    group { name: "elm/layout/application/titlebar";
36321       images {
36322          image: "toolbar_sel.png" COMP;
36323       }
36324       parts {
36325          part { name: "base";
36326             mouse_events: 0;
36327             scale: 1;
36328             description { state: "default" 0.0;
36329                min: 0 33;
36330                max: 99999 33;
36331                align: 0.5 0.0;
36332                rel1.offset: -1 0;
36333                rel2.offset: 1 0;
36334                image {
36335                   normal: "toolbar_sel.png";
36336                   border: 3 3 0 0;
36337                }
36338             }
36339          }
36340          part { name: "elm.swallow.content";
36341             type: SWALLOW;
36342             description { state: "default" 0.0;
36343                visible: 1;
36344                rel1 {
36345                   to: "base";
36346                   relative: 0.0 1.0;
36347                }
36348             }
36349          }
36350          part { name: "elm.swallow.icon";
36351             type: SWALLOW;
36352             scale: 1;
36353             description { state: "default" 0.0;
36354                visible: 0;
36355                fixed: 1 1;
36356                align: 0.0 0.0;
36357                rel1 {
36358                   to: "base";
36359                   relative: 0.0 0.0;
36360                   offset: 4 0;
36361                }
36362                rel2 {
36363                   to: "base";
36364                   relative: 0.0 1.0;
36365                }
36366             }
36367             description { state: "visible" 0.0;
36368                inherit: "default" 0.0;
36369                visible: 1;
36370             }
36371          }
36372          part { name: "elm.swallow.end";
36373             type: SWALLOW;
36374             scale: 1;
36375             description { state: "default" 0.0;
36376                visible: 0;
36377                fixed: 1 1;
36378                align: 1.0 0.0;
36379                rel1 {
36380                   to: "base";
36381                   relative: 1.0 0.0;
36382                   offset: 0 0;
36383                }
36384                rel2 {
36385                   to: "base";
36386                   relative: 1.0 1.0;
36387                   offset: -5 -1;
36388                }
36389             }
36390             description { state: "visible" 0.0;
36391                inherit: "default" 0.0;
36392                visible: 1;
36393             }
36394          }
36395          part { name: "elm.text";
36396             type: TEXT;
36397             effect: SOFT_SHADOW;
36398             mouse_events: 0;
36399             scale: 1;
36400             description { state: "default" 0.0;
36401                fixed: 1 1;
36402                rel1 {
36403                   to_x: "elm.swallow.icon";
36404                   to_y: "base";
36405                   relative: 1.0 0.0;
36406                }
36407                rel2 {
36408                   to_x: "elm.swallow.end";
36409                   to_y: "base";
36410                   relative: 0.0 1.0;
36411                }
36412                text {
36413                   font: "Sans";
36414                   size: 12;
36415                   min: 0 0;
36416                   align: 0.5 0.5;
36417                   text_class: "title_bar";
36418                }
36419             }
36420          }
36421       }
36422       programs {
36423          program { name: "show_icon";
36424             signal: "elm,state,icon,visible";
36425             source: "elm";
36426             action: STATE_SET "visible" 0.0;
36427             target: "elm.swallow.icon";
36428          }
36429          program { name: "hide_icon";
36430             signal: "elm,state,icon,hidden";
36431             source: "elm";
36432             action: STATE_SET "default" 0.0;
36433             target: "elm.swallow.icon";
36434          }
36435          program { name: "show_end";
36436             signal: "elm,state,end,visible";
36437             source: "elm";
36438             action: STATE_SET "visible" 0.0;
36439             target: "elm.swallow.end";
36440          }
36441          program { name: "hide_end";
36442             signal: "elm,state,end,hidden";
36443             source: "elm";
36444             action: STATE_SET "default" 0.0;
36445             target: "elm.swallow.end";
36446          }
36447       }
36448    }
36449
36450    group {
36451       name: "elm/player/base/default";
36452       min: 290 26;
36453
36454       parts {
36455          part {
36456             type: SWALLOW;
36457             name: "media_player/slider";
36458
36459             description {
36460                rel2 {
36461                   relative: 1.0 0.0;
36462                   to_x: "media_player/forward";
36463                }
36464             }
36465          }
36466          part {
36467             type: SWALLOW;
36468             name: "media_player/rewind";
36469
36470             description {
36471                rel1 {
36472                   to_y: "media_player/slider";
36473                   offset: 42 0;
36474                   relative: 0.0 1.0;
36475                }
36476                rel2 {
36477                   relative: 0.0 1.0;
36478                }
36479             }
36480          }
36481          part {
36482             type: SWALLOW;
36483             name: "media_player/prev";
36484
36485             description {
36486                rel1 {
36487                   to: "media_player/rewind";
36488                   relative: 1.0 0.0;
36489                }
36490                rel2 {
36491                   to: "media_player/rewind";
36492                   relative: 2.0 1.0;
36493                }
36494             }
36495          }
36496          part {
36497             type: SWALLOW;
36498             name: "media_player/play";
36499
36500             description {
36501                rel1 {
36502                   to: "media_player/prev";
36503                   relative: 1.0 0.0;
36504                }
36505                rel2 {
36506                   to: "media_player/prev";
36507                   relative: 2.0 1.0;
36508                }
36509             }
36510             description {
36511                state: hidden 0.0;
36512                inherit: default 0.0;
36513                visible: 0;
36514             }
36515          }
36516          part {
36517             type: SWALLOW;
36518             name: "media_player/pause";
36519
36520             description {
36521                rel1.to: "media_player/play";
36522                rel2.to: "media_player/play";
36523             }
36524             description {
36525                state: hidden 0.0;
36526                inherit: default 0.0;
36527                visible: 0;
36528             }
36529          }
36530          part {
36531             type: SWALLOW;
36532             name: "media_player/info";
36533             description {
36534                rel1 {
36535                   to: "media_player/play";
36536                   relative: 1.0 0.0;
36537                }
36538                rel2 {
36539                   to: "media_player/play";
36540                   relative: 2.0 1.0;
36541                }
36542             }
36543          }
36544
36545          part {
36546             type: SWALLOW;
36547             name: "media_player/stop";
36548             description {
36549                rel1 {
36550                   to: "media_player/info";
36551                   relative: 3.0 0.0;
36552                }
36553                rel2 {
36554                   to: "media_player/info";
36555                   relative: 4.0 1.0;
36556                }
36557             }
36558          }
36559          part {
36560             type: SWALLOW;
36561             name: "media_player/next";
36562             description {
36563                rel1 {
36564                   to: "media_player/stop";
36565                   relative: 1.0 0.0;
36566                }
36567                rel2 {
36568                   to: "media_player/stop";
36569                   relative: 2.0 1.0;
36570                }
36571             }
36572          }
36573          part {
36574             type: SWALLOW;
36575             name: "media_player/forward";
36576             description {
36577                rel1 {
36578                   to: "media_player/next";
36579                   relative: 1.0 0.0;
36580                }
36581                rel2 {
36582                   to: "media_player/next";
36583                   relative: 2.0 1.0;
36584                }
36585             }
36586          }
36587       }
36588       programs {
36589          program {
36590             signal: "show";
36591             source: "";
36592             after: "pause/0";
36593          }
36594          program {
36595             signal: "elm,player,play";
36596             source: "elm";
36597             after: "play/0";
36598          }
36599          program {
36600             signal: "elm,player,pause";
36601             source: "elm";
36602             after: "pause/0";
36603          }
36604          program {
36605             name: "play/0";
36606
36607             action: STATE_SET "hidden" 0.0;
36608             target: "media_player/play";
36609
36610             after: "play/1";
36611          }
36612          program {
36613             name: "play/1";
36614
36615             action: STATE_SET "default" 0.0;
36616             target: "media_player/pause";
36617          }
36618          program {
36619             name: "pause/0";
36620
36621             action: STATE_SET "hidden" 0.0;
36622             target: "media_player/pause";
36623
36624             after: "pause/1";
36625          }
36626          program {
36627             name: "pause/1";
36628
36629             action: STATE_SET "default" 0.0;
36630             target: "media_player/play";
36631          }
36632       }
36633    }
36634
36635    group {
36636       name: "elm/video/base/default";
36637
36638       parts {
36639          part {
36640             name: "clipper";
36641             type: RECT;
36642
36643             description {
36644                color: 255 255 255 255;
36645             }
36646             description {
36647                state: "darker" 0.0;
36648                color: 128 128 128 255;
36649             }
36650          }
36651          part {
36652             name: "elm.swallow.video";
36653             type: SWALLOW;
36654
36655             clip_to: "clipper";
36656             mouse_events: 1;
36657             repeat_events: 1;
36658
36659             description {
36660                aspect_preference: BOTH;
36661                aspect: 1 1;
36662             }
36663          }
36664       }
36665
36666       programs {
36667          program {
36668             signal: "elm,video,load";
36669             source: "elm";
36670
36671             action: STATE_SET "darker" 0.0;
36672             target: "clipper";
36673          }
36674          program {
36675             signal: "elm,video,play";
36676             source: "elm";
36677
36678             action: STATE_SET "default" 0.0;
36679             target: "clipper";
36680          }
36681          program {
36682             signal: "elm,video,end";
36683             source: "elm";
36684
36685             action: STATE_SET "darker" 0.0;
36686             target: "clipper";
36687             transition: LINEAR 0.5;
36688          }
36689          program {
36690             signal: "elm,video,pause";
36691             source: "elm";
36692
36693             action: STATE_SET "darker" 0.0;
36694             target: "clipper";
36695          }
36696       }
36697    }
36698 }