elementary/ctxpopup - trivial changes.
[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 { state: "default" 0.0;
7911                min: 36 20;
7912                fixed: 1 1;
7913                visible: 1;
7914             }
7915          }
7916          part { name: "elm.swallow.arrow_down";
7917             type: SWALLOW;
7918             mouse_events: 0;
7919             scale: 1;
7920             dragable {
7921                x: 1 1 0;
7922                y: 1 1 0;
7923                confine: "arrow_area_down";
7924             }
7925             description { state: "default" 0.0;
7926                min: 36 20;
7927                fixed: 1 1;
7928                visible: 1;
7929             }
7930          }
7931          part { name: "elm.swallow.arrow_left";
7932             type: SWALLOW;
7933             mouse_events: 0;
7934             scale: 1;
7935             dragable {
7936                x: 1 1 0;
7937                y: 1 1 0;
7938                confine: "arrow_area_left";
7939             }
7940             description { state: "default" 0.0;
7941                min: 20 36;
7942                fixed: 1 1;
7943                visible: 1;
7944             }
7945          }
7946          part { name: "elm.swallow.arrow_right";
7947             type: SWALLOW;
7948             mouse_events: 0;
7949             scale: 1;
7950             dragable {
7951                x: 1 1 0;
7952                y: 1 1 0;
7953                confine: "arrow_area_right";
7954             }
7955             description { state: "default" 0.0;
7956                min: 20 36;
7957                fixed: 1 1;
7958                visible: 1;
7959             }
7960          }
7961          part { name: "base";
7962             scale: 1;
7963             description { state: "default" 0.0;
7964                rel1.offset: -3 -3;
7965                rel2.offset: 3 3;
7966                image { normal: "bt_base2.png";
7967                   border: 7 7 7 7;
7968                }
7969             }
7970          }
7971          part { name: "over1";
7972             scale: 1;
7973             description { state: "default" 0.0;
7974                rel1.to: "base";
7975                rel2.to: "base";
7976                rel2.relative: 1.0 0.5;
7977                image { normal: "bt_hilight.png";
7978                   border: 7 7 7 0;
7979                }
7980             }
7981          }
7982          part { name: "over2";
7983             scale: 1;
7984             description { state: "default" 0.0;
7985                rel1.to: "base";
7986                rel2.to: "base";
7987                image { normal: "bt_shine.png";
7988                   border: 7 7 7 7;
7989                }
7990             }
7991          }
7992          part { name: "elm.swallow.content";
7993             type: SWALLOW;
7994             description { state: "default" 0.0;
7995                rel1 { to:"base"; offset: 4 4; }
7996                rel2 { to:"base"; offset: -5 -5; }
7997             }
7998          }
7999       }
8000    }
8001 ///////////////////////////////////////////////////////////////////////////////
8002    group { name: "elm/ctxpopup/arrow/default";
8003       images {
8004          image: "ctxpopup_arrow_left.png" COMP;
8005          image: "ctxpopup_arrow_right.png" COMP;
8006          image: "ctxpopup_arrow_up.png" COMP;
8007          image: "ctxpopup_arrow_down.png" COMP;
8008       }
8009       parts {
8010          part { name: "ctxpopup_arrow";
8011             type: IMAGE;
8012             scale: 1;
8013             description {
8014                state: "default" 0.0;
8015                min: 36 36;
8016                fixed: 1 1;
8017                visible: 0;
8018                align: 0.5 0.5;
8019             }
8020             description {
8021                state: "left" 0.0;
8022                min: 20 36;
8023                fixed: 1 1;
8024                align: 0.0 0.5;
8025                rel1 { offset: 3 0; }
8026                rel2 { offset: 2 -1; }
8027                image { normal: "ctxpopup_arrow_left.png"; }
8028             }
8029             description { state: "right" 0.0;
8030                min: 20 36;
8031                fixed: 1 1;
8032                align: 1.0 0.5;
8033                rel1 { offset: -5 0; }
8034                rel2 { offset: -6 -1; }
8035                image { normal: "ctxpopup_arrow_right.png"; }
8036             }
8037             description { state: "top" 0.0;
8038                min: 36 20;
8039                fixed: 1 1;
8040                align: 0.5 0.0;
8041                rel1 { offset: 0 5; }
8042                rel2 { offset: -1 4; }
8043                image { normal: "ctxpopup_arrow_up.png"; }
8044             }
8045             description { state: "bottom" 0.0;
8046                min: 36 20;
8047                fixed: 1 1;
8048                align: 0.5 1.0;
8049                rel1 { offset: 0 -5; }
8050                rel2 { offset: -1 -6; }
8051                image { normal: "ctxpopup_arrow_down.png"; }
8052             }
8053          }
8054       }
8055       programs {
8056          program { name: "enable_left_arrow";
8057             signal: "elm,state,left";
8058             source: "elm";
8059             action: STATE_SET "left" 0.0;
8060             target: "ctxpopup_arrow";
8061          }
8062          program { name: "enable_right_arrow";
8063             signal: "elm,state,right";
8064             source: "elm";
8065             action: STATE_SET "right" 0.0;
8066             target: "ctxpopup_arrow";
8067          }
8068          program { name: "enable_top_arrow";
8069             signal: "elm,state,top";
8070             source: "elm";
8071             action: STATE_SET "top" 0.0;
8072             target: "ctxpopup_arrow";
8073          }
8074          program { name: "enable_bottom_arrow";
8075             signal: "elm,state,bottom";
8076             source: "elm";
8077             action: STATE_SET "bottom" 0.0;
8078             target: "ctxpopup_arrow";
8079          }
8080       }
8081    }
8082 ///////////////////////////////////////////////////////////////////////////////
8083    group {
8084       name: "elm/ctxpopup/icon_text_style_item/default";
8085         alias: "elm/ctxpopup/text_style_item/default";
8086         alias: "elm/ctxpopup/icon_style_item/default";
8087       images {
8088          image: "hoversel_entry_bg.png" COMP;
8089       }
8090       parts {
8091          part { name: "event";
8092             mouse_events: 1;
8093             description { state: "default" 0.0;
8094             }
8095          }
8096          part { name: "bg";
8097             mouse_events: 0;
8098             description { state: "default" 0.0;
8099                rel1.offset: 2 2;
8100                rel2.offset: -3 -3;
8101                image { normal:"hoversel_entry_bg.png";
8102                   border: 0 0 2 2;
8103                }
8104                fill.smooth: 0;
8105                color: 255 255 255 0;
8106             }
8107             description { state: "clicked" 0.0;
8108                inherit: "default" 0.0;
8109                color: 255 255 255 255;
8110             }
8111          }
8112          part { name: "elm.swallow.icon";
8113             type: SWALLOW;
8114             clip_to: "disclip";
8115             scale: 1;
8116             description { state: "default" 0.0;
8117                min: 25 25;
8118                max: 25 25;
8119                align: 0 0.5;
8120                aspect: 1.0 1.0;
8121                rel1 { offset: 10 10; }
8122                                         rel2 { offset: 0 -10; }
8123             }
8124          }
8125          part { name: "elm.text";
8126             type: TEXT;
8127             mouse_events: 0;
8128             clip_to: "disclip";
8129             scale: 1;
8130             description { state: "default" 0.0;
8131                min: 1 40;
8132                fixed: 0 1;
8133                align: 0.5 0.5;
8134                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8135                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8136                color: 255 255 255 255;
8137                text {
8138                   font: "Sans";
8139                   size: 10;
8140                   align: 0.0 0.5;
8141                   min: 1 1;
8142                }
8143             }
8144             description { state: "clicked" 0.0;
8145                inherit: "default" 0.0;
8146                color: 0 0 0 255;
8147             }
8148          }
8149          part { name: "over1";
8150             mouse_events: 1;
8151             repeat_events: 1;
8152             ignore_flags: ON_HOLD;
8153             description { state: "default" 0.0;
8154                color: 255 255 255 0;
8155             }
8156             description { state: "clicked" 0.0;
8157                inherit: "default" 0.0;
8158                color: 255 255 255 255;
8159             }
8160          }
8161          part { name: "over2";
8162             mouse_events: 1;
8163             repeat_events: 1;
8164             description { state: "default" 0.0;
8165                color: 255 255 255 0;
8166             }
8167             description { state: "clicked" 0.0;
8168                inherit: "default" 0.0;
8169                color: 255 255 255 255;
8170             }
8171          }
8172          part { name: "disclip";
8173             type: RECT;
8174             description { state: "default" 0.0;
8175                color: 255 255 255 255;
8176             }
8177             description { state: "enabled" 0.0;
8178                color: 127 127 127 127;
8179             }
8180          }
8181          part { name: "blocker";
8182             description { state: "default" 0.0;
8183                visible: 0;
8184             }
8185             description { state: "enabled" 0.0;
8186                visible: 1;
8187                color: 0 0 0 0;
8188             }
8189          }
8190       }
8191       programs {
8192          program {
8193             name: "item_unclick";
8194             signal: "mouse,up,1";
8195             source: "over1";
8196             action: SIGNAL_EMIT "elm,action,click" "";
8197          }
8198          program { name: "disable";
8199             signal: "elm,state,disabled";
8200             source: "elm";
8201             action: STATE_SET "enabled" 0.0;
8202             target: "disclip";
8203             target: "blocker";
8204          }
8205          program { name: "enable";
8206             signal: "elm,state,enabled";
8207             source: "elm";
8208             action: STATE_SET "default" 0.0;
8209             target: "disclip";
8210             target: "blocker";
8211          }
8212          program { name: "item_click2";
8213             signal: "mouse,down,1";
8214             source: "over2";
8215             script {
8216                set_state(PART:"elm.text", "clicked", 0.0);
8217                set_state(PART:"bg", "clicked", 0.0);
8218             }
8219          }
8220          program { name: "item_unclick2";
8221             signal: "mouse,up,1";
8222             source: "over2";
8223             script {
8224                set_state(PART:"elm.text", "default", 0.0);
8225                set_state(PART:"bg", "default", 0.0);
8226             }
8227          }
8228       }
8229    }
8230 ///////////////////////////////////////////////////////////////////////////////
8231 // emoticon images from:
8232 // Tanya - Latvia
8233 // http://lazycrazy.deviantart.com/
8234 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8235   group { name: "elm/entry/emoticon/angry/default"; images.image:
8236      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8237         "emo-angry.png"; } } } }
8238   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8239      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8240         "emo-angry-shout.png"; } } } }
8241   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8242      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8243         "emo-crazy-laugh.png"; } } } }
8244   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8245      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8246         "emo-evil-laugh.png"; } } } }
8247   group { name: "elm/entry/emoticon/evil/default"; images.image:
8248      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8249         "emo-evil.png"; } } } }
8250   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8251      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8252         "emo-goggle-smile.png"; } } } }
8253   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8254      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8255         "emo-grumpy.png"; } } } }
8256   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8257      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8258         "emo-grumpy-smile.png"; } } } }
8259   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8260      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8261         "emo-guilty.png"; } } } }
8262   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8263      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8264         "emo-guilty-smile.png"; } } } }
8265   group { name: "elm/entry/emoticon/haha/default"; images.image:
8266      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8267         "emo-haha.png"; } } } }
8268   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8269      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8270         "emo-half-smile.png"; } } } }
8271   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8272      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8273         "emo-happy-panting.png"; } } } }
8274   group { name: "elm/entry/emoticon/happy/default"; images.image:
8275      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8276         "emo-happy.png"; } } } }
8277   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8278      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8279         "emo-indifferent.png"; } } } }
8280   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8281      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8282         "emo-kiss.png"; } } } }
8283   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8284      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8285         "emo-knowing-grin.png"; } } } }
8286   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8287      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8288         "emo-laugh.png"; } } } }
8289   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8290      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8291         "emo-little-bit-sorry.png"; } } } }
8292   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8293      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8294         "emo-love-lots.png"; } } } }
8295   group { name: "elm/entry/emoticon/love/default"; images.image:
8296      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8297         "emo-love.png"; } } } }
8298   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8299      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8300         "emo-minimal-smile.png"; } } } }
8301   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8302      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8303         "emo-not-happy.png"; } } } }
8304   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8305      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8306         "emo-not-impressed.png"; } } } }
8307   group { name: "elm/entry/emoticon/omg/default"; images.image:
8308      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8309         "emo-omg.png"; } } } }
8310   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8311      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8312         "emo-opensmile.png"; } } } }
8313   group { name: "elm/entry/emoticon/smile/default"; images.image:
8314      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8315         "emo-smile.png"; } } } }
8316   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8317      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8318         "emo-sorry.png"; } } } }
8319   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8320      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8321         "emo-squint-laugh.png"; } } } }
8322   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8323      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8324         "emo-surprised.png"; } } } }
8325   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8326      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8327         "emo-suspicious.png"; } } } }
8328   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8329      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8330         "emo-tongue-dangling.png"; } } } }
8331   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8332      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8333         "emo-tongue-poke.png"; } } } }
8334   group { name: "elm/entry/emoticon/uh/default"; images.image:
8335      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8336         "emo-uh.png"; } } } }
8337   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8338      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8339         "emo-unhappy.png"; } } } }
8340   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8341      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8342         "emo-very-sorry.png"; } } } }
8343   group { name: "elm/entry/emoticon/what/default"; images.image:
8344      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8345         "emo-what.png"; } } } }
8346   group { name: "elm/entry/emoticon/wink/default"; images.image:
8347      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8348         "emo-wink.png"; } } } }
8349   group { name: "elm/entry/emoticon/worried/default"; images.image:
8350      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8351         "emo-worried.png"; } } } }
8352   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8353      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8354         "emo-wtf.png"; } } } }
8355 //------------------------------------------------------------
8356    group { name: "elm/entry/base/default";
8357       styles
8358       {
8359          style { name: "entry_textblock_style";
8360             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8361             tag:  "br" "\n";
8362             tag:  "ps" "ps";
8363             tag:  "tab" "\t";
8364             tag:  "em" "+ font=Sans:style=Oblique";
8365             tag:  "b" "+ font=Sans:style=Bold";
8366             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8367             tag:  "hilight" "+ font=Sans:style=Bold";
8368          }
8369          style { name: "entry_textblock_disabled_style";
8370             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8371             tag:  "br" "\n";
8372             tag:  "ps" "ps";
8373             tag:  "tab" "\t";
8374             tag:  "em" "+ font=Sans:style=Oblique";
8375             tag:  "b" "+ font=Sans:style=Bold";
8376             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8377             tag:  "hilight" "+ font=Sans:style=Bold";
8378          }
8379       }
8380       data {
8381 //         item: context_menu_orientation "horizontal";
8382       }
8383       parts {
8384          part { name: "elm.text";
8385             type: TEXTBLOCK;
8386             mouse_events: 1;
8387             scale: 1;
8388             entry_mode: EDITABLE;
8389             select_mode: EXPLICIT;
8390             multiline: 1;
8391             source: "elm/entry/selection/default"; // selection under
8392    //       source2: "X"; // selection over
8393    //       source3: "X"; // cursor under
8394             source4: "elm/entry/cursor/default"; // cursorover
8395             source5: "elm/entry/anchor/default"; // anchor under
8396    //       source6: "X"; // anchor over
8397             description { state: "default" 0.0;
8398                /* we gotta use 0 0 here, because of scrolled entries */
8399                fixed: 0 0;
8400                text {
8401                   style: "entry_textblock_style";
8402                   min: 0 1;
8403                   align: 0.0 0.0;
8404                }
8405             }
8406             description { state: "disabled" 0.0;
8407                inherit: "default" 0.0;
8408                text {
8409                   style: "entry_textblock_disabled_style";
8410                   min: 0 1;
8411                }
8412             }
8413          }
8414       }
8415       programs {
8416          program { name: "focus";
8417             signal: "load";
8418             source: "";
8419             action: FOCUS_SET;
8420             target: "elm.text";
8421          }
8422          program { name: "disable";
8423             signal: "elm,state,disabled";
8424             source: "elm";
8425             action: STATE_SET "disabled" 0.0;
8426             target: "elm.text";
8427          }
8428          program { name: "enable";
8429             signal: "elm,state,enabled";
8430             source: "elm";
8431             action: STATE_SET "default" 0.0;
8432             target: "elm.text";
8433          }
8434       }
8435    }
8436
8437    group { name: "elm/entry/base-mixedwrap/default";
8438       styles
8439       {
8440          style { name: "entry_textblock_style_mixedwrap";
8441             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8442             tag:  "br" "\n";
8443             tag:  "ps" "ps";
8444             tag:  "tab" "\t";
8445             tag:  "em" "+ font=Sans:style=Oblique";
8446             tag:  "b" "+ font=Sans:style=Bold";
8447             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8448             tag:  "hilight" "+ font=Sans:style=Bold";
8449          }
8450          style { name: "entry_textblock_disabled_style_mixedwrap";
8451             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8452             tag:  "br" "\n";
8453             tag:  "ps" "ps";
8454             tag:  "tab" "\t";
8455             tag:  "em" "+ font=Sans:style=Oblique";
8456             tag:  "b" "+ font=Sans:style=Bold";
8457             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8458             tag:  "hilight" "+ font=Sans:style=Bold";
8459          }
8460       }
8461       parts {
8462          part { name: "elm.text";
8463             type: TEXTBLOCK;
8464             mouse_events: 1;
8465             scale: 1;
8466             entry_mode: EDITABLE;
8467             select_mode: EXPLICIT;
8468             multiline: 1;
8469             source: "elm/entry/selection/default"; // selection under
8470 //          source2: "X"; // selection over
8471 //          source3: "X"; // cursor under
8472             source4: "elm/entry/cursor/default"; // cursorover
8473             source5: "elm/entry/anchor/default"; // anchor under
8474 //          source6: "X"; // anchor over
8475             description { state: "default" 0.0;
8476                fixed: 1 0;
8477                text {
8478                   style: "entry_textblock_style_mixedwrap";
8479                   min: 0 1;
8480                   align: 0.0 0.0;
8481                }
8482             }
8483             description { state: "disabled" 0.0;
8484                inherit: "default" 0.0;
8485                text {
8486                   style: "entry_textblock_disabled_style_mixedwrap";
8487                   min: 0 1;
8488                }
8489             }
8490          }
8491       }
8492       programs {
8493          program { name: "focus";
8494             signal: "load";
8495             source: "";
8496             action: FOCUS_SET;
8497             target: "elm.text";
8498          }
8499          program { name: "disable";
8500             signal: "elm,state,disabled";
8501             source: "elm";
8502             action: STATE_SET "disabled" 0.0;
8503             target: "elm.text";
8504          }
8505          program { name: "enable";
8506             signal: "elm,state,enabled";
8507             source: "elm";
8508             action: STATE_SET "default" 0.0;
8509             target: "elm.text";
8510          }
8511       }
8512    }
8513
8514    group { name: "elm/entry/base-charwrap/default";
8515       styles
8516       {
8517          style { name: "entry_textblock_style_charwrap";
8518             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8519             tag:  "br" "\n";
8520             tag:  "ps" "ps";
8521             tag:  "tab" "\t";
8522             tag:  "em" "+ font=Sans:style=Oblique";
8523             tag:  "b" "+ font=Sans:style=Bold";
8524             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8525             tag:  "hilight" "+ font=Sans:style=Bold";
8526          }
8527          style { name: "entry_textblock_disabled_style_charwrap";
8528             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8529             tag:  "br" "\n";
8530             tag:  "ps" "ps";
8531             tag:  "tab" "\t";
8532             tag:  "em" "+ font=Sans:style=Oblique";
8533             tag:  "b" "+ font=Sans:style=Bold";
8534             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8535             tag:  "hilight" "+ font=Sans:style=Bold";
8536          }
8537       }
8538       parts {
8539          part { name: "elm.text";
8540             type: TEXTBLOCK;
8541             mouse_events: 1;
8542             scale: 1;
8543             entry_mode: EDITABLE;
8544             select_mode: EXPLICIT;
8545             multiline: 1;
8546             source: "elm/entry/selection/default"; // selection under
8547 //          source2: "X"; // selection over
8548 //          source3: "X"; // cursor under
8549             source4: "elm/entry/cursor/default"; // cursorover
8550             source5: "elm/entry/anchor/default"; // anchor under
8551 //          source6: "X"; // anchor over
8552             description { state: "default" 0.0;
8553                fixed: 1 0;
8554                text {
8555                   style: "entry_textblock_style_charwrap";
8556                   min: 0 1;
8557                   align: 0.0 0.0;
8558                }
8559             }
8560             description { state: "disabled" 0.0;
8561                inherit: "default" 0.0;
8562                text {
8563                   style: "entry_textblock_disabled_style_charwrap";
8564                   min: 0 1;
8565                }
8566             }
8567          }
8568       }
8569       programs {
8570          program { name: "focus";
8571             signal: "load";
8572             source: "";
8573             action: FOCUS_SET;
8574             target: "elm.text";
8575          }
8576          program { name: "disable";
8577             signal: "elm,state,disabled";
8578             source: "elm";
8579             action: STATE_SET "disabled" 0.0;
8580             target: "elm.text";
8581          }
8582          program { name: "enable";
8583             signal: "elm,state,enabled";
8584             source: "elm";
8585             action: STATE_SET "default" 0.0;
8586             target: "elm.text";
8587          }
8588       }
8589    }
8590
8591    group { name: "elm/entry/base-nowrap/default";
8592       parts {
8593          part { name: "elm.text";
8594             type: TEXTBLOCK;
8595             mouse_events: 1;
8596             scale: 1;
8597             entry_mode: EDITABLE;
8598             select_mode: EXPLICIT;
8599             multiline: 1;
8600             source: "elm/entry/selection/default"; // selection under
8601             source4: "elm/entry/cursor/default"; // cursorover
8602             source5: "elm/entry/anchor/default"; // anchor under
8603             description { state: "default" 0.0;
8604                text {
8605                   style: "entry_textblock_style";
8606                   min: 1 1;
8607                   align: 0.0 0.0;
8608                }
8609             }
8610             description { state: "disabled" 0.0;
8611                inherit: "default" 0.0;
8612                text {
8613                   style: "entry_textblock_disabled_style";
8614                   min: 0 1;
8615                }
8616             }
8617          }
8618 /*
8619          part { name: "sel";
8620             type: RECT;
8621             mouse_events: 0;
8622             description { state: "default" 0.0;
8623                align: 1.0 1.0;
8624                max: 16 16;
8625                aspect: 1.0 1.0;
8626                color: 255 0 0 0;
8627             }
8628             description { state: "visible" 0.0;
8629                inherit: "default" 0.0;
8630                color: 255 0 0 50;
8631             }
8632          }
8633  */
8634       }
8635       programs {
8636          program { name: "focus";
8637             signal: "load";
8638             source: "";
8639             action: FOCUS_SET;
8640             target: "elm.text";
8641          }
8642          program { name: "disable";
8643             signal: "elm,state,disabled";
8644             source: "elm";
8645             action: STATE_SET "disabled" 0.0;
8646             target: "elm.text";
8647          }
8648          program { name: "enable";
8649             signal: "elm,state,enabled";
8650             source: "elm";
8651             action: STATE_SET "default" 0.0;
8652             target: "elm.text";
8653          }
8654 /*
8655          program { name: "selmode0";
8656             signal: "elm,state,select,on";
8657             source: "elm";
8658             action: STATE_SET "visible" 0.0;
8659             target: "sel";
8660          }
8661          program { name: "selmode1";
8662             signal: "elm,state,select,off";
8663             source: "elm";
8664             action: STATE_SET "default" 0.0;
8665             target: "sel";
8666          }
8667  */
8668       }
8669    }
8670
8671    group { name: "elm/entry/base-single/default";
8672       styles
8673       {
8674          style { name: "entry_single_textblock_style";
8675             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8676             tag:  "br" "\n";
8677             tag:  "ps" "ps";
8678             tag:  "tab" "\t";
8679             tag:  "em" "+ font=Sans:style=Oblique";
8680             tag:  "b" "+ font=Sans:style=Bold";
8681             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8682             tag:  "hilight" "+ font=Sans:style=Bold";
8683          }
8684          style { name: "entry_single_textblock_disabled_style";
8685             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8686             tag:  "br" "\n";
8687             tag:  "ps" "ps";
8688             tag:  "tab" "\t";
8689             tag:  "em" "+ font=Sans:style=Oblique";
8690             tag:  "b" "+ font=Sans:style=Bold";
8691             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8692             tag:  "hilight" "+ font=Sans:style=Bold";
8693          }
8694       }
8695       parts {
8696          part { name: "elm.text";
8697             type: TEXTBLOCK;
8698             mouse_events: 1;
8699             scale: 1;
8700             entry_mode: EDITABLE;
8701             select_mode: EXPLICIT;
8702             multiline: 0;
8703             source: "elm/entry/selection/default"; // selection under
8704             source4: "elm/entry/cursor/default"; // cursorover
8705             source5: "elm/entry/anchor/default"; // anchor under
8706             description { state: "default" 0.0;
8707                text {
8708                   style: "entry_single_textblock_style";
8709                   min: 1 1;
8710                   max: 0 0;
8711                   align: 0.0 0.5;
8712                }
8713             }
8714             description { state: "disabled" 0.0;
8715                inherit: "default" 0.0;
8716                text {
8717                   style: "entry_single_textblock_disabled_style";
8718                }
8719             }
8720          }
8721       }
8722       programs {
8723          program { name: "focus";
8724             signal: "load";
8725             source: "";
8726             action: FOCUS_SET;
8727             target: "elm.text";
8728          }
8729          program { name: "disable";
8730             signal: "elm,state,disabled";
8731             source: "elm";
8732             action: STATE_SET "disabled" 0.0;
8733             target: "elm.text";
8734          }
8735          program { name: "enable";
8736             signal: "elm,state,enabled";
8737             source: "elm";
8738             action: STATE_SET "default" 0.0;
8739             target: "elm.text";
8740          }
8741       }
8742    }
8743
8744    group { name: "elm/entry/base-single-noedit/default";
8745       parts {
8746          part { name: "elm.text";
8747             type: TEXTBLOCK;
8748             mouse_events: 1;
8749             scale: 1;
8750             entry_mode: PLAIN;
8751             select_mode: EXPLICIT;
8752             multiline: 0;
8753             source: "elm/entry/selection/default"; // selection under
8754             source5: "elm/entry/anchor/default"; // anchor under
8755             description { state: "default" 0.0;
8756                text {
8757                   style: "entry_single_textblock_style";
8758                   min: 1 1;
8759                   max: 0 0;
8760                   align: 0.0 0.5;
8761                }
8762             }
8763             description { state: "disabled" 0.0;
8764                inherit: "default" 0.0;
8765                text {
8766                style: "entry_single_textblock_disabled_style";
8767                }
8768             }
8769          }
8770       }
8771       programs {
8772          program { name: "focus";
8773             signal: "load";
8774             source: "";
8775             action: FOCUS_SET;
8776             target: "elm.text";
8777          }
8778          program { name: "disable";
8779             signal: "elm,state,disabled";
8780             source: "elm";
8781             action: STATE_SET "disabled" 0.0;
8782             target: "elm.text";
8783          }
8784          program { name: "enable";
8785             signal: "elm,state,enabled";
8786             source: "elm";
8787             action: STATE_SET "default" 0.0;
8788             target: "elm.text";
8789          }
8790       }
8791    }
8792
8793    group { name: "elm/entry/base-noedit/default";
8794       parts {
8795          part { name: "elm.text";
8796             type: TEXTBLOCK;
8797             mouse_events: 1;
8798             scale: 1;
8799             entry_mode: PLAIN;
8800             select_mode: EXPLICIT;
8801             multiline: 1;
8802             source: "elm/entry/selection/default"; // selection under
8803             source5: "elm/entry/anchor/default"; // anchor under
8804             description { state: "default" 0.0;
8805                fixed: 1 0;
8806                text {
8807                   style: "entry_textblock_style";
8808                   min: 0 1;
8809                   align: 0.0 0.0;
8810                }
8811             }
8812             description { state: "disabled" 0.0;
8813                inherit: "default" 0.0;
8814                text {
8815                   style: "entry_textblock_disabled_style";
8816                }
8817             }
8818          }
8819       }
8820       programs {
8821          program { name: "focus";
8822             signal: "load";
8823             source: "";
8824             action: FOCUS_SET;
8825             target: "elm.text";
8826          }
8827          program { name: "disable";
8828             signal: "elm,state,disabled";
8829             source: "elm";
8830             action: STATE_SET "disabled" 0.0;
8831             target: "elm.text";
8832          }
8833          program { name: "enable";
8834             signal: "elm,state,enabled";
8835             source: "elm";
8836             action: STATE_SET "default" 0.0;
8837             target: "elm.text";
8838          }
8839       }
8840    }
8841
8842    group { name: "elm/entry/base-noedit-mixedwrap/default";
8843       parts {
8844          part { name: "elm.text";
8845             type: TEXTBLOCK;
8846             mouse_events: 1;
8847             scale: 1;
8848             entry_mode: PLAIN;
8849             select_mode: EXPLICIT;
8850             multiline: 1;
8851             source: "elm/entry/selection/default"; // selection under
8852             source5: "elm/entry/anchor/default"; // anchor under
8853             description { state: "default" 0.0;
8854                fixed: 1 0;
8855                text {
8856                   style: "entry_textblock_style_mixedwrap";
8857                   min: 0 1;
8858                   align: 0.0 0.0;
8859                }
8860             }
8861             description { state: "disabled" 0.0;
8862                inherit: "default" 0.0;
8863                text {
8864                   style: "entry_textblock_disabled_style_mixedwrap";
8865                }
8866             }
8867          }
8868       }
8869       programs {
8870          program { name: "focus";
8871             signal: "load";
8872             source: "";
8873             action: FOCUS_SET;
8874             target: "elm.text";
8875          }
8876          program { name: "disable";
8877             signal: "elm,state,disabled";
8878             source: "elm";
8879             action: STATE_SET "disabled" 0.0;
8880             target: "elm.text";
8881          }
8882          program { name: "enable";
8883             signal: "elm,state,enabled";
8884             source: "elm";
8885             action: STATE_SET "default" 0.0;
8886             target: "elm.text";
8887          }
8888       }
8889    }
8890
8891    group { name: "elm/entry/base-noedit-charwrap/default";
8892       parts {
8893          part { name: "elm.text";
8894             type: TEXTBLOCK;
8895             mouse_events: 1;
8896             scale: 1;
8897             entry_mode: PLAIN;
8898             select_mode: EXPLICIT;
8899             multiline: 1;
8900             source: "elm/entry/selection/default"; // selection under
8901             source5: "elm/entry/anchor/default"; // anchor under
8902             description { state: "default" 0.0;
8903                fixed: 1 0;
8904                text {
8905                   style: "entry_textblock_style_charwrap";
8906                   min: 0 1;
8907                   align: 0.0 0.0;
8908                }
8909             }
8910             description { state: "disabled" 0.0;
8911                inherit: "default" 0.0;
8912                text {
8913                   style: "entry_textblock_disabled_style_charwrap";
8914                }
8915             }
8916          }
8917       }
8918       programs {
8919          program { name: "focus";
8920             signal: "load";
8921             source: "";
8922             action: FOCUS_SET;
8923             target: "elm.text";
8924          }
8925          program { name: "disable";
8926             signal: "elm,state,disabled";
8927             source: "elm";
8928             action: STATE_SET "disabled" 0.0;
8929             target: "elm.text";
8930          }
8931          program { name: "enable";
8932             signal: "elm,state,enabled";
8933             source: "elm";
8934             action: STATE_SET "default" 0.0;
8935             target: "elm.text";
8936          }
8937       }
8938    }
8939
8940    group { name: "elm/entry/base-nowrap-noedit/default";
8941       parts {
8942          part { name: "elm.text";
8943             type: TEXTBLOCK;
8944             mouse_events: 1;
8945             scale: 1;
8946             entry_mode: PLAIN;
8947             select_mode: EXPLICIT;
8948             multiline: 1;
8949             source: "elm/entry/selection/default"; // selection under
8950             source5: "elm/entry/anchor/default"; // anchor under
8951             description { state: "default" 0.0;
8952                text {
8953                   style: "entry_textblock_style";
8954                   min: 1 1;
8955                   align: 0.0 0.0;
8956                }
8957             }
8958             description { state: "disabled" 0.0;
8959                inherit: "default" 0.0;
8960                text {
8961                   style: "entry_textblock_disabled_style";
8962                }
8963             }
8964          }
8965       }
8966       programs {
8967          program { name: "focus";
8968             signal: "load";
8969             source: "";
8970             action: FOCUS_SET;
8971             target: "elm.text";
8972          }
8973          program { name: "disable";
8974             signal: "elm,state,disabled";
8975             source: "elm";
8976             action: STATE_SET "disabled" 0.0;
8977             target: "elm.text";
8978          }
8979          program { name: "enable";
8980             signal: "elm,state,enabled";
8981             source: "elm";
8982             action: STATE_SET "default" 0.0;
8983             target: "elm.text";
8984          }
8985       }
8986    }
8987
8988    group { name: "elm/entry/base-password/default";
8989       parts {
8990          part { name: "elm.text";
8991             type: TEXTBLOCK;
8992             mouse_events: 1;
8993             scale: 1;
8994             entry_mode: PASSWORD;
8995             select_mode: EXPLICIT;
8996             multiline: 0;
8997             source: "elm/entry/selection/default"; // selection under
8998             source4: "elm/entry/cursor/default"; // cursorover
8999             source5: "elm/entry/anchor/default"; // anchor under
9000             description { state: "default" 0.0;
9001                text {
9002                   style: "entry_single_textblock_style";
9003                   repch: "*";
9004                   min: 1 1;
9005                   max: 0 0;
9006                   align: 0.0 0.5;
9007                }
9008             }
9009             description { state: "disabled" 0.0;
9010                inherit: "default" 0.0;
9011                text {
9012                   style: "entry_single_textblock_disabled_style";
9013                }
9014             }
9015          }
9016       }
9017       programs {
9018          program { name: "focus";
9019             signal: "load";
9020             source: "";
9021             action: FOCUS_SET;
9022             target: "elm.text";
9023          }
9024          program { name: "disable";
9025             signal: "elm,state,disabled";
9026             source: "elm";
9027             action: STATE_SET "disabled" 0.0;
9028             target: "elm.text";
9029          }
9030          program { name: "enable";
9031             signal: "elm,state,enabled";
9032             source: "elm";
9033             action: STATE_SET "default" 0.0;
9034             target: "elm.text";
9035          }
9036       }
9037    }
9038
9039    group { name: "elm/entry/cursor/default";
9040       images {
9041          image: "cur_box.png" COMP;
9042          image: "cur_hi.png" COMP;
9043          image: "cur_shad.png" COMP;
9044          image: "cur_shine.png" COMP;
9045          image: "cur_glow.png" COMP;
9046       }
9047       parts {
9048          part { name: "clip2";
9049             type: RECT;
9050             mouse_events: 0;
9051             description { state: "default" 0.0;
9052                rel1.to: "clip";
9053                rel2.to: "clip";
9054                visible: 0;
9055             }
9056             description { state: "focused" 0.0;
9057                inherit: "default" 0.0;
9058                visible: 1;
9059             }
9060          }
9061          part { name: "clip";
9062             type: RECT;
9063             mouse_events: 0;
9064             clip_to: "clip2";
9065             description { state: "default" 0.0;
9066                rel1.offset: -10 0;
9067                rel2.offset: 9 9;
9068             }
9069             description { state: "hidden" 0.0;
9070                inherit: "default" 0.0;
9071                visible: 0;
9072             }
9073          }
9074          part { name: "bg";
9075             mouse_events: 0;
9076             clip_to: "clip";
9077             description { state: "default" 0.0;
9078                rel1.to: "base";
9079                rel1.offset: -2 0;
9080                rel2.to: "base";
9081                rel2.offset: 1 1;
9082                image.border: 2 2 2 2;
9083                image.normal: "cur_shad.png";
9084             }
9085          }
9086          part { name: "base";
9087             mouse_events: 0;
9088             scale: 1;
9089             clip_to: "clip";
9090             description { state: "default" 0.0;
9091                min: 2 2;
9092                align: 0.5 1.0;
9093                rel1.relative: 0.0 1.0;
9094                rel1.offset: 0 -1;
9095                rel2.relative: 1.0 1.0;
9096                rel2.offset: -1 -1;
9097                image.normal: "cur_box.png";
9098             }
9099          }
9100          part { name: "hi";
9101             mouse_events: 0;
9102             clip_to: "clip";
9103             description { state: "default" 0.0;
9104                rel1.to: "base";
9105                rel2.to: "base";
9106                rel2.relative: 1.0 0.5;
9107                image.normal: "cur_hi.png";
9108             }
9109          }
9110          part { name: "shine";
9111             mouse_events: 0;
9112             clip_to: "clip";
9113             clip_to: "clip2";
9114             description { state: "default" 0.0;
9115                rel1.to: "base";
9116                rel2.to: "base";
9117                rel2.relative: 1.0 0.75;
9118                image.border: 2 2 1 0;
9119                image.normal: "cur_shine.png";
9120                fill.smooth: 0;
9121             }
9122          }
9123          part { name: "glow";
9124             mouse_events: 0;
9125             clip_to: "clip2";
9126             description { state: "default" 0.0;
9127                rel1.to: "base";
9128                rel1.relative: 0.0 -2.0;
9129                rel1.offset: -2 0;
9130                rel2.to: "base";
9131                rel2.relative: 1.0 0.0;
9132                rel2.offset: 1 1;
9133                image.border: 2 2 0 4;
9134                image.normal: "cur_glow.png";
9135                fill.smooth: 0;
9136             }
9137             description { state: "hidden" 0.0;
9138                inherit: "default" 0.0;
9139                color: 255 255 255 0;
9140             }
9141          }
9142       }
9143       programs {
9144          program { name: "show";
9145             signal: "show";
9146             source: "";
9147             action: STATE_SET "hidden" 0.0;
9148             in: 1.0 0.0;
9149             transition: DECELERATE 2.0;
9150             target: "glow";
9151             after: "show2";
9152          }
9153          program { name: "show2";
9154             action: STATE_SET "hidden" 0.0;
9155             in: 0.2 0.0;
9156             target: "clip";
9157             after: "show3";
9158          }
9159          program { name: "show3";
9160             action: STATE_SET "default" 0.0;
9161             in: 0.5 0.0;
9162             target: "clip";
9163             after: "show4";
9164          }
9165          program { name: "show4";
9166             action: STATE_SET "default" 0.0;
9167             in: 0.5 0.0;
9168             transition: DECELERATE 0.5;
9169             target: "glow";
9170             after: "show";
9171          }
9172          program { name: "focused";
9173             signal: "elm,action,focus";
9174             source: "elm";
9175             action: STATE_SET "focused" 0.0;
9176             target: "clip2";
9177          }
9178          program { name: "unfocused";
9179             signal: "elm,action,unfocus";
9180             source: "elm";
9181             action: STATE_SET "default" 0.0;
9182             target: "clip2";
9183          }
9184       }
9185    }
9186
9187    group { name: "elm/entry/selection/default";
9188       parts {
9189          part { name: "bg";
9190             type: RECT;
9191             mouse_events: 0;
9192             description { state: "default" 0.0;
9193                color: 128 128 128 128;
9194             }
9195          }
9196       }
9197    }
9198
9199    group { name: "elm/entry/anchor/default";
9200       parts {
9201          part { name: "bg";
9202             type: RECT;
9203             mouse_events: 0;
9204             description { state: "default" 0.0;
9205                color: 128 0 0 64;
9206             }
9207          }
9208       }
9209    }
9210
9211 ///////////////////////////////////////////////////////////////////////////////
9212   group { name: "elm/bubble/top_left/default";
9213     alias: "elm/bubble/base/default";
9214     images {
9215       image: "bubble_3.png" COMP;
9216       image: "bubble_4.png" COMP;
9217       image: "bubble_shine3.png" COMP;
9218       image: "bubble_shine4.png" COMP;
9219     }
9220     parts {
9221       part { name: "event";
9222          type: RECT;
9223          description {
9224             state: "default" 0.0;
9225             color: 0 0 0 0;
9226          }
9227       }
9228       part { name: "elm.swallow.icon";
9229         type: SWALLOW;
9230         description { state: "default" 0.0;
9231           fixed: 1 1;
9232           visible: 0;
9233           align: 0.0 0.0;
9234           aspect: 1.0 1.0;
9235           aspect_preference: VERTICAL;
9236           rel1 {
9237             relative: 0.0 0.0;
9238             offset: 4 4;
9239           }
9240           rel2 {
9241             to_y: "elm.text";
9242             relative: 0.0 1.0;
9243             offset: 4 -1;
9244           }
9245         }
9246         description { state: "visible" 0.0;
9247           inherit: "default" 0.0;
9248           visible: 1;
9249         }
9250       }
9251       part { name: "elm.text";
9252         type: TEXT;
9253         mouse_events:   0;
9254         scale: 1;
9255         description { state: "default" 0.0;
9256           align: 0.0 0.0;
9257           fixed: 0 1;
9258           rel1 {
9259             to_x: "elm.swallow.icon";
9260             relative: 1.0 0.0;
9261             offset: 4 4;
9262           }
9263           rel2 {
9264             to_x: "elm.info";
9265             relative: 0.0 0.0;
9266             offset: -5 4;
9267           }
9268           color: 0 0 0 255;
9269           text {
9270             font: "Sans:style=Bold,Edje-Vera-Bold";
9271             size: 10;
9272             min: 0 1;
9273             max: 0 1;
9274             align: 0.0 0.0;
9275           }
9276         }
9277       }
9278       part { name: "elm.info";
9279         type: TEXT;
9280         mouse_events:   0;
9281         scale: 1;
9282         description { state: "default" 0.0;
9283           align: 1.0 0.0;
9284           fixed: 1 1;
9285           rel1 {
9286             relative: 1.0 0.0;
9287             offset: -5 4;
9288           }
9289           rel2 {
9290             relative: 1.0 0.0;
9291             offset: -5 4;
9292           }
9293           color: 0 0 0 64;
9294           text {
9295             font: "Sans:style=Bold,Edje-Vera-Bold";
9296             size: 10;
9297             min: 1 1;
9298             max: 1 1;
9299             align: 1.0 0.0;
9300           }
9301         }
9302       }
9303       part { name: "base0";
9304         mouse_events:  0;
9305         description { state: "default" 0.0;
9306           rel1 {
9307             to_y: "elm.swallow.icon";
9308             relative: 0.0 1.0;
9309             offset: 0 0;
9310           }
9311           image {
9312             normal: "bubble_3.png";
9313             border: 36 11 18 9;
9314           }
9315           image.middle: SOLID;
9316           fill.smooth: 0;
9317         }
9318         description { state: "rtl" 0.0;
9319            inherit: "default" 0.0;
9320            image {
9321               normal: "bubble_4.png";
9322               border: 11 36 18 9;
9323            }
9324         }
9325       }
9326       part { name: "elm.swallow.content";
9327         type: SWALLOW;
9328         description { state: "default" 0.0;
9329           rel1 {
9330             to: "base0";
9331             offset: 9 16;
9332           }
9333           rel2 {
9334             to: "base0";
9335             offset: -10 -9;
9336           }
9337         }
9338       }
9339       part { name: "shine";
9340         mouse_events:  0;
9341         description { state:    "default" 0.0;
9342           rel1 {
9343             to: "base0";
9344             offset: 5 4;
9345           }
9346           rel2 {
9347             to: "base0";
9348             relative: 1.0 0.5;
9349             offset: -6 7;
9350           }
9351           image {
9352             normal: "bubble_shine3.png";
9353             border: 36 5 14 0;
9354           }
9355           fill.smooth: 0;
9356         }
9357         description { state: "rtl" 0.0;
9358            inherit: "default" 0.0;
9359            image {
9360               normal: "bubble_shine4.png";
9361               border: 5 36 14 0;
9362            }
9363         }
9364       }
9365     }
9366     programs {
9367       program {
9368         name: "icon_show";
9369         signal: "elm,state,icon,visible";
9370         source: "elm";
9371         action: STATE_SET "visible" 0.0;
9372         target: "elm.swallow.icon";
9373       }
9374       program {
9375         name: "icon_hide";
9376         signal: "elm,state,icon,hidden";
9377         source: "elm";
9378         action: STATE_SET "default" 0.0;
9379         target: "elm.swallow.icon";
9380       }
9381       program { name: "to_rtl";
9382          signal: "edje,state,rtl";
9383          source: "edje";
9384          action: STATE_SET "rtl" 0.0;
9385          target: "base0";
9386          target: "shine";
9387       }
9388       program { name: "to_ltr";
9389          signal: "edje,state,ltr";
9390          source: "edje";
9391          action: STATE_SET "default" 0.0;
9392          target: "base0";
9393          target: "shine";
9394       }
9395     }
9396   }
9397
9398   group { name: "elm/bubble/top_right/default";
9399     images {
9400       image: "bubble_3.png" COMP;
9401       image: "bubble_4.png" COMP;
9402       image: "bubble_shine3.png" COMP;
9403       image: "bubble_shine4.png" COMP;
9404     }
9405     parts {
9406       part { name: "event";
9407          type: RECT;
9408          description {
9409             state: "default" 0.0;
9410             color: 0 0 0 0;
9411          }
9412       }
9413       part { name: "elm.swallow.icon";
9414         type: SWALLOW;
9415         description { state: "default" 0.0;
9416           fixed: 1 1;
9417           visible: 0;
9418           align: 1.0 0.0;
9419           aspect: 1.0 1.0;
9420           aspect_preference: VERTICAL;
9421           rel1 {
9422             relative: 1.0 0.0;
9423             offset: -5 4;
9424           }
9425           rel2 {
9426             to_y: "elm.text";
9427             relative: 1.0 1.0;
9428             offset: -5 -1;
9429           }
9430         }
9431         description { state: "visible" 0.0;
9432           inherit: "default" 0.0;
9433           visible: 1;
9434         }
9435       }
9436       part { name: "elm.text";
9437         type: TEXT;
9438         mouse_events:   0;
9439         scale: 1;
9440         description { state: "default" 0.0;
9441           align: 0.0 0.0;
9442           fixed: 0 1;
9443           rel1 {
9444             relative: 0.0 0.0;
9445             offset: 4 4;
9446           }
9447           rel2 {
9448             to_x: "elm.info";
9449             relative: 0.0 0.0;
9450             offset: -5 4;
9451           }
9452           color: 0 0 0 255;
9453           text {
9454             font: "Sans:style=Bold,Edje-Vera-Bold";
9455             size: 10;
9456             min: 0 1;
9457             max: 0 1;
9458             align: 0.0 0.0;
9459           }
9460         }
9461       }
9462       part { name: "elm.info";
9463         type: TEXT;
9464         mouse_events:   0;
9465         scale: 1;
9466         description { state: "default" 0.0;
9467           align: 1.0 0.0;
9468           fixed: 1 1;
9469           rel1 {
9470             relative: 1.0 0.0;
9471             offset: -5 4;
9472           }
9473           rel2 {
9474             to_x: "elm.swallow.icon";
9475             relative: 0.0 0.0;
9476             offset: -5 4;
9477           }
9478           color: 0 0 0 64;
9479           text {
9480             font: "Sans:style=Bold,Edje-Vera-Bold";
9481             size: 10;
9482             min: 1 1;
9483             max: 1 1;
9484             align: 1.0 0.0;
9485           }
9486         }
9487       }
9488       part { name: "base0";
9489         mouse_events:  0;
9490         description { state: "default" 0.0;
9491           rel1 {
9492             to_y: "elm.swallow.icon";
9493             relative: 0.0 1.0;
9494             offset: 0 0;
9495           }
9496           image {
9497             normal: "bubble_4.png";
9498             border: 11 36 18 9;
9499           }
9500           image.middle: SOLID;
9501           fill.smooth: 0;
9502         }
9503         description { state: "rtl" 0.0;
9504            inherit: "default" 0.0;
9505            image {
9506               normal: "bubble_3.png";
9507               border: 36 11 18 9;
9508            }
9509         }
9510       }
9511       part { name: "elm.swallow.content";
9512         type: SWALLOW;
9513         description { state: "default" 0.0;
9514           rel1 {
9515             to: "base0";
9516             offset: 9 16;
9517           }
9518           rel2 {
9519             to: "base0";
9520             offset: -10 -9;
9521           }
9522         }
9523       }
9524       part { name: "shine";
9525         mouse_events:  0;
9526         description { state:    "default" 0.0;
9527           rel1 {
9528             to: "base0";
9529             offset: 5 4;
9530           }
9531           rel2 {
9532             to: "base0";
9533             relative: 1.0 0.5;
9534             offset: -6 7;
9535           }
9536           image {
9537             normal: "bubble_shine4.png";
9538             border: 5 36 14 0;
9539           }
9540           fill.smooth: 0;
9541         }
9542         description { state: "rtl" 0.0;
9543            inherit: "default" 0.0;
9544            image {
9545               normal: "bubble_shine3.png";
9546               border: 36 5 14 0;
9547            }
9548         }
9549       }
9550     }
9551     programs {
9552       program {
9553         name: "icon_show";
9554         signal: "elm,state,icon,visible";
9555         source: "elm";
9556         action: STATE_SET "visible" 0.0;
9557         target: "elm.swallow.icon";
9558       }
9559       program {
9560         name: "icon_hide";
9561         signal: "elm,state,icon,hidden";
9562         source: "elm";
9563         action: STATE_SET "default" 0.0;
9564         target: "elm.swallow.icon";
9565       }
9566       program { name: "to_rtl";
9567          signal: "edje,state,rtl";
9568          source: "edje";
9569          action: STATE_SET "rtl" 0.0;
9570          target: "base0";
9571          target: "shine";
9572       }
9573       program { name: "to_ltr";
9574          signal: "edje,state,ltr";
9575          source: "edje";
9576          action: STATE_SET "default" 0.0;
9577          target: "base0";
9578          target: "shine";
9579       }
9580     }
9581   }
9582
9583   group { name: "elm/bubble/bottom_left/default";
9584     images {
9585       image: "bubble_1.png" COMP;
9586       image: "bubble_2.png" COMP;
9587       image: "bubble_shine.png" COMP;
9588     }
9589     parts {
9590       part { name: "event";
9591          type: RECT;
9592          description {
9593             state: "default" 0.0;
9594             color: 0 0 0 0;
9595          }
9596       }
9597       part { name: "elm.swallow.icon";
9598         type: SWALLOW;
9599         description { state: "default" 0.0;
9600           fixed: 1 1;
9601           visible: 0;
9602           align: 0.0 1.0;
9603           aspect: 1.0 1.0;
9604           aspect_preference: VERTICAL;
9605           rel1 {
9606             to_y: "elm.text";
9607             relative: 0.0 0.0;
9608             offset: 4 0;
9609           }
9610           rel2 {
9611             relative: 0.0 1.0;
9612             offset: 4 -5;
9613           }
9614         }
9615         description { state: "visible" 0.0;
9616           inherit: "default" 0.0;
9617           visible: 1;
9618         }
9619       }
9620       part { name: "elm.text";
9621         type: TEXT;
9622         mouse_events:   0;
9623         scale: 1;
9624         description { state: "default" 0.0;
9625           align: 0.0 1.0;
9626           fixed: 0 1;
9627           rel1 {
9628             to_x: "elm.swallow.icon";
9629             relative: 1.0 1.0;
9630             offset: 4 -5;
9631           }
9632           rel2 {
9633             to_x: "elm.info";
9634             relative: 0.0 1.0;
9635             offset: -5 -5;
9636           }
9637           color: 0 0 0 255;
9638           text {
9639             font: "Sans:style=Bold,Edje-Vera-Bold";
9640             size: 10;
9641             min: 0 1;
9642             max: 0 1;
9643             align: 0.0 1.0;
9644           }
9645         }
9646       }
9647       part { name: "elm.info";
9648         type: TEXT;
9649         mouse_events:   0;
9650         scale: 1;
9651         description { state: "default" 0.0;
9652           align: 1.0 1.0;
9653           fixed: 1 1;
9654           rel1 {
9655             relative: 1.0 1.0;
9656             offset: -5 -5;
9657           }
9658           rel2 {
9659             relative: 1.0 1.0;
9660             offset: -5 -5;
9661           }
9662           color: 0 0 0 64;
9663           text {
9664             font: "Sans:style=Bold,Edje-Vera-Bold";
9665             size: 10;
9666             min: 1 1;
9667             max: 1 1;
9668             align: 1.0 1.0;
9669           }
9670         }
9671       }
9672       part { name: "base0";
9673         mouse_events:  0;
9674         description { state: "default" 0.0;
9675           rel2 {
9676             to_y: "elm.swallow.icon";
9677             relative: 1.0 0.0;
9678             offset: -1 -1;
9679           }
9680           image {
9681             normal: "bubble_1.png";
9682             border: 36 11 10 19;
9683           }
9684           image.middle: SOLID;
9685           fill.smooth: 0;
9686         }
9687         description { state: "rtl" 0.0;
9688            inherit: "default" 0.0;
9689            image {
9690               normal: "bubble_2.png";
9691               border: 11 36 10 19;
9692            }
9693         }
9694       }
9695       part { name: "elm.swallow.content";
9696         type: SWALLOW;
9697         description { state: "default" 0.0;
9698           rel1 {
9699             to: "base0";
9700             offset: 9 8;
9701           }
9702           rel2 {
9703             to: "base0";
9704             offset: -10 -17;
9705           }
9706         }
9707       }
9708       part { name: "shine";
9709         mouse_events:  0;
9710         description { state:    "default" 0.0;
9711           rel1 {
9712             to: "base0";
9713             offset: 5 4;
9714           }
9715           rel2 {
9716             to: "base0";
9717             relative: 1.0 0.5;
9718             offset: -6 -16;
9719           }
9720           image {
9721             normal: "bubble_shine.png";
9722             border: 5 5 5 0;
9723           }
9724           fill.smooth: 0;
9725         }
9726         description { state: "rtl" 0.0;
9727            inherit: "default" 0.0;
9728            image {
9729               normal: "bubble_shine4.png";
9730               border: 5 36 14 0;
9731            }
9732         }
9733       }
9734     }
9735     programs {
9736       program {
9737         name: "icon_show";
9738         signal: "elm,state,icon,visible";
9739         source: "elm";
9740         action: STATE_SET "visible" 0.0;
9741         target: "elm.swallow.icon";
9742       }
9743       program {
9744         name: "icon_hide";
9745         signal: "elm,state,icon,hidden";
9746         source: "elm";
9747         action: STATE_SET "default" 0.0;
9748         target: "elm.swallow.icon";
9749       }
9750       program { name: "to_rtl";
9751          signal: "edje,state,rtl";
9752          source: "edje";
9753          action: STATE_SET "rtl" 0.0;
9754          target: "base0";
9755       }
9756       program { name: "to_ltr";
9757          signal: "edje,state,ltr";
9758          source: "edje";
9759          action: STATE_SET "default" 0.0;
9760          target: "base0";
9761       }
9762     }
9763   }
9764
9765   group { name: "elm/bubble/bottom_right/default";
9766     images {
9767       image: "bubble_1.png" COMP;
9768       image: "bubble_2.png" COMP;
9769       image: "bubble_shine.png" COMP;
9770     }
9771     parts {
9772       part { name: "event";
9773          type: RECT;
9774          description {
9775             state: "default" 0.0;
9776             color: 0 0 0 0;
9777          }
9778       }
9779       part { name: "elm.swallow.icon";
9780         type: SWALLOW;
9781         description { state: "default" 0.0;
9782           fixed: 1 1;
9783           visible: 0.0;
9784           align: 1.0 1.0;
9785           aspect: 1.0 1.0;
9786           aspect_preference: VERTICAL;
9787           rel1 {
9788             to_y: "elm.text";
9789             relative: 1.0 0.0;
9790             offset: -5 0;
9791           }
9792           rel2 {
9793             relative: 1.0 1.0;
9794             offset: -5 -5;
9795           }
9796         }
9797         description { state: "visible" 0.0;
9798           inherit: "default" 0.0;
9799           visible: 1;
9800         }
9801       }
9802       part { name: "elm.text";
9803         type: TEXT;
9804         mouse_events:   0;
9805         scale: 1;
9806         description { state: "default" 0.0;
9807           align: 0.0 1.0;
9808           fixed: 0 1;
9809           rel1 {
9810             relative: 0.0 1.0;
9811             offset: 4 -5;
9812           }
9813           rel2 {
9814             to_x: "elm.info";
9815             relative: 0.0 1.0;
9816             offset: -5 -5;
9817           }
9818           color: 0 0 0 255;
9819           text {
9820             font: "Sans:style=Bold,Edje-Vera-Bold";
9821             size: 10;
9822             min: 0 1;
9823             max: 0 1;
9824             align: 0.0 1.0;
9825           }
9826         }
9827       }
9828       part { name: "elm.info";
9829         type: TEXT;
9830         mouse_events:   0;
9831         scale: 1;
9832         description { state: "default" 0.0;
9833           align: 1.0 1.0;
9834           fixed: 1 1;
9835           rel1 {
9836             relative: 1.0 1.0;
9837             offset: -5 -5;
9838           }
9839           rel2 {
9840             to_x: "elm.swallow.icon";
9841             relative: 0.0 1.0;
9842             offset: -5 -5;
9843           }
9844           color: 0 0 0 64;
9845           text {
9846             font: "Sans:style=Bold,Edje-Vera-Bold";
9847             size: 10;
9848             min: 1 1;
9849             max: 1 1;
9850             align: 1.0 1.0;
9851           }
9852         }
9853       }
9854       part { name: "base0";
9855         mouse_events:  0;
9856         description { state: "default" 0.0;
9857           rel2 {
9858             to_y: "elm.swallow.icon";
9859             relative: 1.0 0.0;
9860             offset: -1 -1;
9861           }
9862           image {
9863             normal: "bubble_2.png";
9864             border: 11 36 10 19;
9865           }
9866           image.middle: SOLID;
9867           fill.smooth: 0;
9868         }
9869         description { state: "rtl" 0.0;
9870            inherit: "default" 0.0;
9871            image {
9872               normal: "bubble_1.png";
9873               border: 36 11 10 19;
9874            }
9875         }
9876       }
9877       part { name: "elm.swallow.content";
9878         type: SWALLOW;
9879         description { state: "default" 0.0;
9880           rel1 {
9881             to: "base0";
9882             offset: 9 8;
9883           }
9884           rel2 {
9885             to: "base0";
9886             offset: -10 -17;
9887           }
9888         }
9889       }
9890       part { name: "shine";
9891         mouse_events:  0;
9892         description { state:    "default" 0.0;
9893           rel1 {
9894             to: "base0";
9895             offset: 5 4;
9896           }
9897           rel2 {
9898             to: "base0";
9899             relative: 1.0 0.5;
9900             offset: -6 -16;
9901           }
9902           image {
9903             normal: "bubble_shine.png";
9904             border: 5 5 5 0;
9905           }
9906           fill.smooth: 0;
9907         }
9908         description { state: "rtl" 0.0;
9909            inherit: "default" 0.0;
9910            image {
9911               normal: "bubble_shine3.png";
9912               border: 36 5 14 0;
9913            }
9914         }
9915       }
9916     }
9917     programs {
9918       program {
9919         name: "icon_show";
9920         signal: "elm,state,icon,visible";
9921         source: "elm";
9922         action: STATE_SET "visible" 0.0;
9923         target: "elm.swallow.icon";
9924       }
9925       program {
9926         name: "icon_hide";
9927         signal: "elm,state,icon,hidden";
9928         source: "elm";
9929         action: STATE_SET "default" 0.0;
9930         target: "elm.swallow.icon";
9931       }
9932       program { name: "to_rtl";
9933          signal: "edje,state,rtl";
9934          source: "edje";
9935          action: STATE_SET "rtl" 0.0;
9936          target: "base0";
9937       }
9938       program { name: "to_ltr";
9939          signal: "edje,state,ltr";
9940          source: "edje";
9941          action: STATE_SET "default" 0.0;
9942          target: "base0";
9943       }
9944     }
9945   }
9946
9947 ///////////////////////////////////////////////////////////////////////////////
9948    group { name: "elm/photo/base/default";
9949       images {
9950          image: "frame_1.png" COMP;
9951          image: "frame_2.png" COMP;
9952          image: "dia_grad.png" COMP;
9953          image: "head.png" COMP;
9954       }
9955       parts {
9956          part { name: "base0";
9957             mouse_events:  0;
9958             description { state: "default" 0.0;
9959                image.normal: "dia_grad.png";
9960                rel1.to: "over";
9961                rel2.to: "over";
9962                fill {
9963                   smooth: 0;
9964                   size {
9965                      relative: 0.0 1.0;
9966                      offset: 64 0;
9967                   }
9968                }
9969             }
9970          }
9971          part { name: "base";
9972             mouse_events:  0;
9973             description { state:    "default" 0.0;
9974                image {
9975                   normal: "frame_2.png";
9976                   border: 5 5 32 26;
9977                   middle: 0;
9978                }
9979                fill.smooth : 0;
9980             }
9981          }
9982          part { name: "head";
9983             mouse_events:  0;
9984             description { state:    "default" 0.0;
9985                rel1.offset: 4 4;
9986                rel2.offset: -5 -5;
9987                aspect: 1.0 1.0;
9988                aspect_preference: BOTH;
9989                image.normal: "head.png";
9990             }
9991          }
9992          part { name: "clip";
9993             mouse_events:  0;
9994             type: RECT;
9995             description { state:    "default" 0.0;
9996                rel1.offset: 4 4;
9997                rel2.offset: -5 -5;
9998                color: 255 255 255 255;
9999             }
10000          }
10001          part { name: "elm.swallow.content";
10002             type: SWALLOW;
10003             clip_to: "clip";
10004             description { state: "default" 0.0;
10005                rel1.offset: 4 4;
10006                rel2.offset: -5 -5;
10007             }
10008          }
10009          part { name: "over";
10010             mouse_events:  0;
10011             description { state:    "default" 0.0;
10012                rel1.offset: 4 4;
10013                rel2.offset: -5 -5;
10014                image {
10015                   normal: "frame_1.png";
10016                   border: 2 2 28 22;
10017                   middle: 0;
10018                }
10019                fill.smooth: 0;
10020             }
10021          }
10022      }
10023    }
10024
10025    group { name: "elm/photo/base/shadow";
10026               images {
10027                         image: "shadow.png" COMP;
10028                         image: "black.png" COMP;
10029               }
10030               script {
10031               public message(Msg_Type:type, id, ...) {
10032                 if( (type==MSG_INT_SET) && (id==0) )
10033                 {
10034                     new w;
10035                     new h;
10036
10037                     custom_state(PART:"size", "default", 0.0);
10038
10039                     w = getarg(2);
10040                     h = getarg(3);
10041                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10042                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10043                     set_state(PART:"size", "custom", 0.0);
10044                 }
10045             }
10046             }
10047               parts {
10048               part { name: "size";
10049                     type: SWALLOW;
10050                     description { state: "default" 0.0;
10051                             rel1.relative: 0.5 0.5;
10052                             rel2.relative: 0.5 0.5;
10053                     }
10054                  }
10055               part {
10056                 name: "shadow";
10057                 type: IMAGE;
10058                 repeat_events: 1;
10059                 description {
10060                     state: "default" 0.0;
10061                     rel1.to: "size";
10062                     rel2.to: "size";
10063                     rel1.relative: -0.06 -0.06;
10064                     rel2.relative: 1.07 1.07;
10065                     image.normal: "shadow.png";
10066                 }
10067             }
10068
10069
10070                  part { name: "elm.swallow.content";
10071                     type: SWALLOW;
10072                     description { state: "default" 0.0;
10073                     rel1.offset: 3 3;
10074                     rel2.offset: -3 -3;
10075                             fixed: 1 1;
10076                     }
10077                  }
10078
10079                  part {
10080                 name: "border";
10081                 type: IMAGE;
10082                 repeat_events: 1;
10083                 description {
10084                     state: "default" 0.0;
10085                     visible: 1;
10086                     color: 0 0 0 255;
10087                     rel1.to: "size";
10088                     rel2.to: "size";
10089                     image.normal: "black.png";
10090                     image.border: 1 1 1 1;
10091                     image.middle: 0;
10092                 }
10093             }
10094                  }
10095    }
10096
10097 ///////////////////////////////////////////////////////////////////////////////
10098    group { name: "elm/thumb/base/default";
10099       images {
10100          image: "frame_1.png" COMP;
10101          image: "frame_2.png" COMP;
10102          image: "dia_grad.png" COMP;
10103          image: "busy-1.png" COMP;
10104          image: "busy-2.png" COMP;
10105          image: "busy-3.png" COMP;
10106          image: "busy-4.png" COMP;
10107          image: "busy-5.png" COMP;
10108          image: "busy-6.png" COMP;
10109          image: "busy-7.png" COMP;
10110          image: "busy-8.png" COMP;
10111          image: "busy-9.png" COMP;
10112       }
10113       parts {
10114          part { name: "base0";
10115             mouse_events:  0;
10116             description { state:        "default" 0.0;
10117                image.normal: "dia_grad.png";
10118                rel1.to: "over";
10119                rel2.to: "over";
10120                fill {
10121                   smooth: 0;
10122                   size {
10123                      relative: 0.0 1.0;
10124                      offset: 64 0;
10125                   }
10126                }
10127             }
10128          }
10129          part { name: "base";
10130             mouse_events:  0;
10131             description { state:        "default" 0.0;
10132                image {
10133                   normal: "frame_2.png";
10134                   border: 5 5 32 26;
10135                   middle: 0;
10136                }
10137                fill.smooth : 0;
10138             }
10139          }
10140          part { name: "clip";
10141             mouse_events:  0;
10142             type: RECT;
10143             description { state:        "default" 0.0;
10144                rel1.offset: 4 4;
10145                rel2.offset: -5 -5;
10146                color: 255 255 255 255;
10147             }
10148          }
10149          part { name: "elm.swallow.content";
10150             type: SWALLOW;
10151             clip_to: "clip";
10152             description { state:        "default" 0.0;
10153                rel1.offset: 4 4;
10154                rel2.offset: -5 -5;
10155             }
10156          }
10157          part { name: "progress";
10158             mouse_events: 0;
10159
10160             clip_to: "clip";
10161             description { state:        "default" 0.0;
10162                min: 32 32;
10163                max: 32 32;
10164                visible: 0;
10165                aspect: 1.0 1.0;
10166                aspect_preference: BOTH;
10167             }
10168             description { state:        "pulse" 0.0;
10169                inherit: "default" 0.0;
10170                visible: 1;
10171                image {
10172                   normal: "busy-9.png";
10173                   tween:  "busy-1.png";
10174                   tween:  "busy-2.png";
10175                   tween:  "busy-3.png";
10176                   tween:  "busy-4.png";
10177                   tween:  "busy-5.png";
10178                   tween:  "busy-6.png";
10179                   tween:  "busy-7.png";
10180                   tween:  "busy-8.png";
10181                   border: 7 7 7 7;
10182                }
10183             }
10184          }
10185          part { name: "over";
10186             mouse_events:  0;
10187             description { state:        "default" 0.0;
10188                rel1.offset: 4 4;
10189                rel2.offset: -5 -5;
10190                image {
10191                   normal: "frame_1.png";
10192                   border: 2 2 28 22;
10193                   middle: 0;
10194                }
10195                fill.smooth: 0;
10196             }
10197          }
10198          programs {
10199             program { name: "start_pulse";
10200                signal: "elm,state,pulse,start";
10201                source: "elm";
10202                action: STATE_SET "pulse" 0.0;
10203                target: "progress";
10204                transition: LINEAR 0.5;
10205                after: "start_pulse";
10206             }
10207             program { name: "stop_pulse";
10208                signal: "elm,state,pulse,stop";
10209                source: "elm";
10210                action: STATE_SET "default" 0.0;
10211                target: "progress";
10212             }
10213          }
10214       }
10215    }
10216
10217    group { name: "elm/thumb/base/noframe";
10218       images {
10219          image: "busy-1.png" COMP;
10220          image: "busy-2.png" COMP;
10221          image: "busy-3.png" COMP;
10222          image: "busy-4.png" COMP;
10223          image: "busy-5.png" COMP;
10224          image: "busy-6.png" COMP;
10225          image: "busy-7.png" COMP;
10226          image: "busy-8.png" COMP;
10227          image: "busy-9.png" COMP;
10228       }
10229       parts {
10230          part { name: "elm.swallow.content";
10231             type: SWALLOW;
10232             description { state: "default" 0.0;
10233                rel1.offset: 4 4;
10234                rel2.offset: -5 -5;
10235             }
10236          }
10237          part { name: "progress";
10238             mouse_events: 0;
10239             description { state:        "default" 0.0;
10240                min: 32 32;
10241                max: 32 32;
10242                visible: 0;
10243                aspect: 1.0 1.0;
10244                aspect_preference: BOTH;
10245             }
10246             description { state:        "pulse" 0.0;
10247                inherit: "default" 0.0;
10248                visible: 1;
10249                image {
10250                   normal: "busy-9.png";
10251                   tween:  "busy-1.png";
10252                   tween:  "busy-2.png";
10253                   tween:  "busy-3.png";
10254                   tween:  "busy-4.png";
10255                   tween:  "busy-5.png";
10256                   tween:  "busy-6.png";
10257                   tween:  "busy-7.png";
10258                   tween:  "busy-8.png";
10259                   border: 7 7 7 7;
10260                }
10261             }
10262          }
10263          programs {
10264             program { name: "start_pulse";
10265                signal: "elm,state,pulse,start";
10266                source: "elm";
10267                action: STATE_SET "pulse" 0.0;
10268                target: "progress";
10269                transition: LINEAR 0.5;
10270                after: "start_pulse";
10271             }
10272             program { name: "stop_pulse";
10273                signal: "elm,state,pulse,stop";
10274                source: "elm";
10275                action: STATE_SET "default" 0.0;
10276                target: "progress";
10277             }
10278          }
10279       }
10280    }
10281
10282
10283 ///////////////////////////////////////////////////////////////////////////////
10284 #define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max)                   \
10285    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10286       alias: "elm/icon/"##Alias##"/default";                            \
10287       images.image: File COMP; parts { part { name: "base";             \
10288             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10289                image.normal: File; } } } }
10290
10291 #define GROUP_ICON(Name, File, Min, Max)                      \
10292    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10293       images.image: File COMP; parts { part { name: "base";             \
10294             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10295                image.normal: File; } } } }
10296
10297    group { name: "elm/icon/arrow_down/default";
10298            alias: "elm/icon/toolbar/arrow_down/default";
10299            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10300       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10301          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10302             image.normal: "icon_arrow_down.png"; } } } }
10303
10304    GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
10305    GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
10306    GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
10307    GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
10308    GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
10309    GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
10310    GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
10311    GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
10312    GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
10313    GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
10314    GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
10315    GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
10316    GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
10317 ///////////////////////////////////////////////////////////////////////////////
10318    GROUP_ICON("menu/home", "icon_home.png", 24, 24);
10319    GROUP_ICON("menu/close", "icon_close.png", 24, 24);
10320    GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
10321    GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
10322    GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
10323    GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
10324    GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
10325    GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
10326    GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
10327    GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
10328    GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
10329    GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
10330    GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
10331    GROUP_ICON("menu/file", "icon_file.png", 24, 24);
10332
10333    GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
10334    GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
10335    GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
10336    GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
10337    GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
10338    GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
10339    GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
10340    GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
10341
10342 ///////////////////////////////////////////////////////////////////////////////
10343    group { name: "elm/toolbar/base/default";
10344       images {
10345          image: "bt_dis_base.png" COMP;
10346          image: "bt_dis_hilight.png" COMP;
10347          image: "bt_dis_shine.png" COMP;
10348          image: "icon_left_arrow.png" COMP;
10349          image: "icon_right_arrow.png" COMP;
10350       }
10351       parts {
10352          part { name: "base";
10353             mouse_events: 1;
10354             description { state: "default" 0.0;
10355                rel1 {
10356                   relative: 0.0 0.0;
10357                   offset: 2 2;
10358                }
10359                rel2.offset: -3 -3;
10360                image {
10361                   normal: "bt_dis_base.png";
10362                   border: 4 4 4 4;
10363                }
10364                image.middle: SOLID;
10365             }
10366          }
10367          part { name: "clipper";
10368             type: RECT;
10369             mouse_events: 0;
10370             description {
10371                state: "default" 0.0;
10372                rel1 {
10373                   to: "base";
10374                   offset: 2 2;
10375                }
10376                rel2 {
10377                   to: "base";
10378                   offset: -3 -3;
10379                }
10380             }
10381          }
10382          part { name: "elm.swallow.content";
10383             clip_to: "clipper";
10384             type: SWALLOW;
10385             description {
10386                state: "default" 0.0;
10387                rel1.to: "clipper";
10388                rel2.to: "clipper";
10389             }
10390          }
10391          part { name: "over2";
10392             mouse_events: 0;
10393             description { state: "default" 0.0;
10394                rel1.to: "base";
10395                rel2.to: "base";
10396                image {
10397                   normal: "bt_dis_shine.png";
10398                   border: 4 4 4 4;
10399                }
10400             }
10401          }
10402          part { name: "over1";
10403             mouse_events: 0;
10404             description { state: "default" 0.0;
10405                rel1.to: "base";
10406                rel2.to: "base";
10407                rel2.relative: 1.0 0.5;
10408                image {
10409                   normal: "bt_dis_hilight.png";
10410                   border: 4 4 4 0;
10411                }
10412                color: 255 255 255 128;
10413             }
10414          }
10415          part { name: "left_arrow";
10416             mouse_events: 0;
10417             description { state: "default" 0.0;
10418                image.normal: "icon_left_arrow.png";
10419                aspect: 1.0 1.0;
10420                aspect_preference: VERTICAL;
10421                align: 0.0 0.5;
10422                min: 32 32;
10423                max: 32 32;
10424             }
10425             description { state: "hidden" 0.0;
10426                inherit: "default" 0.0;
10427                visible: 0;
10428                color: 255 255 255 0;
10429             }
10430          }
10431          part { name: "right_arrow";
10432             mouse_events: 0;
10433             description { state: "default" 0.0;
10434                image.normal: "icon_right_arrow.png";
10435                aspect: 1.0 1.0;
10436                aspect_preference: VERTICAL;
10437                align: 1.0 0.5;
10438                min: 32 32;
10439                max: 32 32;
10440             }
10441             description { state: "hidden" 0.0;
10442                inherit: "default" 0.0;
10443                visible: 0;
10444                color: 255 255 255 0;
10445             }
10446          }
10447          part { name: "event";
10448             type: RECT;
10449             mouse_events: 1;
10450             repeat_events: 1;
10451             description { state: "default" 0.0;
10452                color: 0 0 0 0;
10453             }
10454          }
10455       }
10456       programs {
10457          program { name: "sb_hbar_show";
10458             signal: "elm,action,show,hbar";
10459             source: "elm";
10460             action:  STATE_SET "default" 0.0;
10461             transition: LINEAR 0.5;
10462             target: "left_arrow";
10463             target: "right_arrow";
10464          }
10465          program { name: "sb_hbar_hide";
10466             signal: "elm,action,hide,hbar";
10467             source: "elm";
10468             action:  STATE_SET "hidden" 0.0;
10469             target: "left_arrow";
10470             target: "right_arrow";
10471             transition: LINEAR 0.5;
10472          }
10473       }
10474    }
10475
10476    group { name: "elm/toolbar/item/default";
10477        images {
10478            image: "toolbar_sel.png" COMP;
10479        }
10480        data.item: "transition_animation_on" "1";
10481        parts {
10482            part { name: "label2";
10483                type: TEXT;
10484                mouse_events:  0;
10485                scale: 1;
10486                clip_to: "elm.text.clipper";
10487                description { state: "default" 0.0;
10488                    align: 0.5 1.0;
10489                    fixed: 0 1;
10490                    rel1.to: "elm.text";
10491                    rel2.to: "elm.text";
10492                    color: 0 0 0 255;
10493                    text {
10494                        font: "Sans";
10495                        text_source: "elm.text";
10496                        size: 10;
10497                        min: 1 1;
10498                        align: 0.5 0.5;
10499                        text_class: "toolbar_item";
10500                    }
10501                }
10502                description { state: "selected" 0.0;
10503                    inherit: "default" 0.0;
10504                    visible: 0;
10505                }
10506                description { state: "disabled" 0.0;
10507                    inherit: "default" 0.0;
10508                    color: 0 0 0 128;
10509                    color3: 0 0 0 0;
10510                }
10511                description { state: "disabled_visible" 0.0;
10512                    inherit: "default" 0.0;
10513                    color: 0 0 0 128;
10514                    color3: 0 0 0 0;
10515                    visible: 1;
10516                    text.min: 1 1;
10517                }
10518            }
10519            part { name: "label2_new";
10520                type: TEXT;
10521                mouse_events:  0;
10522                scale: 1;
10523                clip_to: "elm.text_new.clipper";
10524                description { state: "default" 0.0;
10525                    align: 0.5 1.0;
10526                    fixed: 0 1;
10527                    rel1.to: "elm.text_new";
10528                    rel2.to: "elm.text_new";
10529                    color: 0 0 0 255;
10530                    text {
10531                        font: "Sans";
10532                        text_source: "elm.text_new";
10533                        size: 10;
10534                        min: 1 1;
10535                        align: 0.5 0.5;
10536                        text_class: "toolbar_item";
10537                    }
10538                }
10539                description { state: "selected" 0.0;
10540                    inherit: "default" 0.0;
10541                    visible: 0;
10542                }
10543                description { state: "disabled" 0.0;
10544                    inherit: "default" 0.0;
10545                    color: 0 0 0 128;
10546                    color3: 0 0 0 0;
10547                }
10548                description { state: "disabled_visible" 0.0;
10549                    inherit: "default" 0.0;
10550                    color: 0 0 0 128;
10551                    color3: 0 0 0 0;
10552                    visible: 1;
10553                    text.min: 1 1;
10554                }
10555            }
10556            part { name: "bg";
10557                mouse_events: 0;
10558                description { state: "default" 0.0;
10559                    visible: 0;
10560                    color: 255 255 255 0;
10561                    image {
10562                        normal: "toolbar_sel.png";
10563                        border: 3 3 0 0;
10564                    }
10565                    image.middle: SOLID;
10566                    fill.smooth: 0;
10567                }
10568                description { state: "selected" 0.0;
10569                    inherit: "default" 0.0;
10570                    visible: 1;
10571                    color: 255 255 255 255;
10572                }
10573                description { state: "disabled" 0.0;
10574                    inherit: "default" 0.0;
10575                    visible: 0;
10576                    color: 255 255 255 0;
10577                }
10578            }
10579            part { name: "elm.swallow.icon";
10580                type: SWALLOW;
10581                clip_to: "elm.icon.clipper";
10582                description { state: "default" 0.0;
10583                    align: 0.5 0.5;
10584                    fixed: 0 0;
10585                    rel1 {
10586                        relative: 0.0 0.0;
10587                        offset: 2 2;
10588                    }
10589                    rel2 {
10590                        to_y: "elm.text";
10591                        relative: 1.0 0.0;
10592                        offset: -3 -1;
10593                    }
10594                    color: 0 0 0 0;
10595                }
10596            }
10597            part { name: "elm.swallow.icon_new";
10598                type: SWALLOW;
10599                clip_to: "elm.icon_new.clipper";
10600                description { state: "default" 0.0;
10601                    align: 0.5 0.5;
10602                    fixed: 0 0;
10603                    rel1 {
10604                        relative: 0.0 0.0;
10605                        offset: 2 2;
10606                    }
10607                    rel2 {
10608                        to_y: "elm.text_new";
10609                        relative: 1.0 0.0;
10610                        offset: -3 -1;
10611                    }
10612                    color: 0 0 0 0;
10613                }
10614            }
10615            part { name: "elm.text";
10616                type: TEXT;
10617                effect: SOFT_SHADOW;
10618                mouse_events:  0;
10619                scale: 1;
10620                clip_to: "elm.text.clipper";
10621                description { state: "default" 0.0;
10622                    align: 0.5 1.0;
10623                    fixed: 0 1;
10624                    rel1 {
10625                        relative: 0.0 1.0;
10626                        offset:   0 -1;
10627                    }
10628                    rel2 {
10629                        relative: 1.0 1.0;
10630                        offset:   -1 -1;
10631                    }
10632                    visible: 0;
10633                    color: 224 224 224 255;
10634                    color3: 0 0 0 32;
10635                    text {
10636                        font: "Sans:style=Bold";
10637                        size: 10;
10638                        min: 1 1;
10639                        align: 0.5 0.5;
10640                        text_class: "toolbar_item";
10641                    }
10642                }
10643                description { state: "selected" 0.0;
10644                    inherit: "default" 0.0;
10645                    visible: 1;
10646                }
10647                description { state: "visible" 0.0;
10648                    inherit: "default" 0.0;
10649                    visible: 1;
10650                    text.min: 1 1;
10651                }
10652                description { state: "disabled" 0.0;
10653                    inherit: "default" 0.0;
10654                    color: 0 0 0 128;
10655                    color3: 0 0 0 0;
10656                }
10657                description { state: "disabled_visible" 0.0;
10658                    inherit: "default" 0.0;
10659                    color: 0 0 0 128;
10660                    color3: 0 0 0 0;
10661                    visible: 1;
10662                    text.min: 1 1;
10663                }
10664            }
10665            part { name: "elm.text_new";
10666                type: TEXT;
10667                effect: SOFT_SHADOW;
10668                mouse_events:  0;
10669                clip_to: "elm.text_new.clipper";
10670                scale: 1;
10671                description { state: "default" 0.0;
10672                    align: 0.5 1.0;
10673                    fixed: 0 1;
10674                    rel1 {
10675                        relative: 0.0 1.0;
10676                        offset:   0 -1;
10677                    }
10678                    rel2 {
10679                        relative: 1.0 1.0;
10680                        offset:   -1 -1;
10681                    }
10682                    visible: 0;
10683                    color: 224 224 224 255;
10684                    color3: 0 0 0 32;
10685                    text {
10686                        font: "Sans:style=Bold";
10687                        size: 10;
10688                        min: 1 1;
10689                        align: 0.5 0.5;
10690                        text_class: "toolbar_item";
10691                    }
10692                }
10693                description { state: "selected" 0.0;
10694                    inherit: "default" 0.0;
10695                    visible: 1;
10696                }
10697                description { state: "visible" 0.0;
10698                    inherit: "default" 0.0;
10699                    visible: 1;
10700                    text.min: 1 1;
10701                }
10702                description { state: "disabled" 0.0;
10703                    inherit: "default" 0.0;
10704                    color: 0 0 0 128;
10705                    color3: 0 0 0 0;
10706                }
10707                description { state: "disabled_visible" 0.0;
10708                    inherit: "default" 0.0;
10709                    color: 0 0 0 128;
10710                    color3: 0 0 0 0;
10711                    visible: 1;
10712                    text.min: 1 1;
10713                }
10714            }
10715            part { name: "elm.text.clipper";
10716                type: RECT;
10717                description { state: "default" 0.0;
10718                    color: 255 255 255 255;
10719                }
10720                description { state: "animation" 0.0;
10721                    color: 255 255 255 0;
10722                }
10723            }
10724            part { name: "elm.text_new.clipper";
10725                type: RECT;
10726                description { state: "default" 0.0;
10727                    color: 255 255 255 0;
10728                }
10729                description { state: "animation" 0.0;
10730                    color: 255 255 255 255;
10731                }
10732            }
10733            part { name: "elm.icon.clipper";
10734                type: RECT;
10735                description { state: "default" 0.0;
10736                    color: 255 255 255 255;
10737                }
10738                description { state: "animation" 0.0;
10739                    color: 255 255 255 0;
10740                }
10741            }
10742            part { name: "elm.icon_new.clipper";
10743                type: RECT;
10744                description { state: "default" 0.0;
10745                    color: 255 255 255 0;
10746                }
10747                description { state: "animation" 0.0;
10748                    color: 255 255 255 255;
10749                }
10750            }
10751            part { name: "event";
10752                type: RECT;
10753                mouse_events: 1;
10754                ignore_flags: ON_HOLD;
10755                description { state: "default" 0.0;
10756                    color: 0 0 0 0;
10757                }
10758            }
10759        }
10760        programs {
10761            program { name: "go_active";
10762                signal:  "elm,state,selected";
10763                source:  "elm";
10764                action:  STATE_SET "selected" 0.0;
10765                target:  "bg";
10766                target:  "elm.text";
10767                target:  "label2";
10768                target:  "elm.text_new";
10769                target:  "label2_new";
10770                transition: LINEAR 0.2;
10771            }
10772            program { name: "go_passive";
10773                signal:  "elm,state,unselected";
10774                source:  "elm";
10775                action:  STATE_SET "default" 0.0;
10776                target:  "bg";
10777                target:  "elm.text";
10778                target:  "label2";
10779                target:  "elm.text_new";
10780                target:  "label2_new";
10781                transition: LINEAR 0.1;
10782            }
10783            program { name: "go";
10784                signal:  "mouse,up,1";
10785                source:  "event";
10786                action:  SIGNAL_EMIT "elm,action,click" "elm";
10787            }
10788            program { name: "mouse,in";
10789               signal:  "mouse,in";
10790               source:  "event";
10791               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10792            }
10793            program { name: "mouse,out";
10794               signal:  "mouse,out";
10795               source:  "event";
10796               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10797            }
10798            program { name: "disable";
10799                signal: "elm,state,disabled";
10800                source: "elm";
10801                action: STATE_SET "disabled" 0.0;
10802                target: "label2";
10803                target: "label2_new";
10804                target: "bg";
10805                after: "disable_text";
10806            }
10807            program { name: "disable_text";
10808                script {
10809                    new st[31];
10810                    new Float:vl;
10811                    get_state(PART:"elm.text", st, 30, vl);
10812                    if (!strcmp(st, "visible"))
10813                    {
10814                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10815                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10816                    }
10817                    else
10818                    {
10819                       set_state(PART:"elm.text", "disabled", 0.0);
10820                       set_state(PART:"elm.text_new", "disabled", 0.0);
10821                    }
10822                }
10823            }
10824            program { name: "enable";
10825                signal: "elm,state,enabled";
10826                source: "elm";
10827                action: STATE_SET "default" 0.0;
10828                target: "label2";
10829                target: "label2_new";
10830                target: "bg";
10831                after: "enable_text";
10832            }
10833            program { name: "enable_text";
10834                script {
10835                    new st[31];
10836                    new Float:vl;
10837                    get_state(PART:"elm.text", st, 30, vl);
10838                    if (!strcmp(st, "disabled_visible"))
10839                    {
10840                       set_state(PART:"elm.text", "visible", 0.0);
10841                       set_state(PART:"elm.text_new", "visible", 0.0);
10842                    }
10843                    else
10844                    {
10845                       set_state(PART:"elm.text", "default", 0.0);
10846                       set_state(PART:"elm.text_new", "default", 0.0);
10847                    }
10848                }
10849            }
10850            program { name: "label_set,animation,forward";
10851               signal: "elm,state,label_set,forward";
10852               source: "elm";
10853               after: "label_set,animation";
10854            }
10855            program { name: "label_set,animation,backward";
10856               signal: "elm,state,label_set,backward";
10857               source: "elm";
10858               after: "label_set,animation";
10859            }
10860            program { name: "label_set,animation";
10861               signal: "elm,state,label_set";
10862               source: "elm";
10863               action: STATE_SET "animation" 0.0;
10864               target: "elm.text.clipper";
10865               target: "elm.text_new.clipper";
10866               transition: LINEAR 0.2;
10867               after: "label_set,animation,done";
10868            }
10869            program { name: "label_set,animation,done";
10870               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10871            }
10872            program { name: "label,reset";
10873               signal: "elm,state,label,reset";
10874               source: "elm";
10875               action: STATE_SET "default" 0.0;
10876               target: "elm.text.clipper";
10877               target: "elm.text_new.clipper";
10878            }
10879            program { name: "icon_set,animation,forward";
10880               signal: "elm,state,icon_set,forward";
10881               source: "elm";
10882               after: "icon_set,animation";
10883            }
10884            program { name: "icon_set,animation,backward";
10885               signal: "elm,state,icon_set,backward";
10886               source: "elm";
10887               after: "icon_set,animation";
10888            }
10889            program { name: "icon_set,animation";
10890               signal: "elm,state,icon_set";
10891               source: "elm";
10892               action: STATE_SET "animation" 0.0;
10893               target: "elm.icon.clipper";
10894               target: "elm.icon_new.clipper";
10895               transition: LINEAR 0.2;
10896               after: "icon_set,animation,done";
10897            }
10898            program { name: "icon_set,animation,done";
10899               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10900            }
10901            program { name: "icon,reset";
10902               signal: "elm,state,icon,reset";
10903               source: "elm";
10904               action: STATE_SET "default" 0.0;
10905               target: "elm.icon.clipper";
10906               target: "elm.icon_new.clipper";
10907            }
10908        }
10909    }
10910
10911    group { name: "elm/toolbar/separator/default";
10912       images {
10913          image: "toolbar_separator_v.png" COMP;
10914       }
10915       parts {
10916          part { name: "separator"; // separator group
10917             description { state: "default" 0.0;
10918                min: 2 2;
10919                max: 2 9999;
10920                rel1.offset: 4 4;
10921                rel2.offset: -5 -5;
10922                image {
10923                   normal: "toolbar_separator_v.png";
10924                }
10925                fill {
10926                   smooth: 0;
10927                }
10928             }
10929          }
10930       }
10931    }
10932
10933    ///////////////////////////////////////////////////////////////////////////////
10934    group { name: "elm/notify/block_events/default";
10935        parts {
10936            part { name: "block_events";
10937                type: RECT;
10938                description { state: "default" 0.0;
10939                    color: 0 0 0 64;
10940                    visible: 1;
10941                }
10942            }
10943        }
10944            programs {
10945                    program {
10946                                 name: "block_clicked";
10947                                 signal: "mouse,clicked,1";
10948                                 source: "block_events";
10949                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10950                    }
10951            }
10952    }
10953    group { name: "elm/notify/top/default";
10954        //this group is a design similar to the inwin group
10955        images {
10956            image: "shad_circ.png" COMP;
10957            image: "bt_dis_base.png" COMP;
10958            image: "bt_dis_hilight.png" COMP;
10959        }
10960        parts {
10961            part { name: "base";
10962                type: RECT;
10963                mouse_events: 0;
10964                repeat_events: 1;
10965                description { state: "default" 0.0;
10966                    color: 0 0 0 0;
10967                    rel1.offset: 10 10;
10968                    rel2.offset: -10 -10;
10969                    rel1.relative: 0.0 -1.0;
10970                    rel2.relative: 1.0 0.0;
10971                }
10972                description { state: "visible" 0.0;
10973                    inherit: "default" 0.0;
10974                    color: 0 0 0 64;
10975                    rel1.relative: 0.0 0.0;
10976                    rel2.relative: 1.0 1.0;
10977                }
10978            }
10979            part { name: "shad";
10980                mouse_events:  0;
10981                description { state: "default" 0.0;
10982                    image.normal: "shad_circ.png";
10983                    rel1.to: "elm.swallow.content";
10984                    rel1.offset: -64 -64;
10985                    rel2.to: "elm.swallow.content";
10986                    rel2.offset: 63 63;
10987                    fill.smooth: 0;
10988                }
10989            }
10990            part { name: "pop";
10991                mouse_events: 1;
10992                description { state: "default" 0.0;
10993                    rel1.to: "elm.swallow.content";
10994                    rel1.offset: -5 -5;
10995                    rel2.to: "elm.swallow.content";
10996                    rel2.offset: 4 4;
10997                    image {
10998                        normal: "bt_dis_base.png";
10999                        border: 4 4 4 4;
11000                    }
11001                    image.middle: SOLID;
11002                }
11003            }
11004            part { name: "popover";
11005                mouse_events: 0;
11006                description { state: "default" 0.0;
11007                    rel1.to: "pop";
11008                    rel2.to: "pop";
11009                    rel2.relative: 1.0 0.5;
11010                    image {
11011                        normal: "bt_dis_hilight.png";
11012                        border: 4 4 4 0;
11013                    }
11014                }
11015            }
11016            part { name: "elm.swallow.content";
11017                type: SWALLOW;
11018                description { state: "default" 0.0;
11019                    rel1.to: "base";
11020                    rel2.to: "base";
11021                }
11022            }
11023        }
11024        programs {
11025            program { name: "show";
11026                signal: "elm,action,show";
11027                source: "elm";
11028                action: STATE_SET "visible" 0.0;
11029                target: "base";
11030            }
11031            program { name: "show_2";
11032                 signal: "show";
11033                 action: STATE_SET "default" 0.0;
11034                 target: "base";
11035                 after: "show_3";
11036            }
11037            program { name: "show_3";
11038                 signal: "show";
11039                 action: STATE_SET "visible" 0.0;
11040                 target: "base";
11041                 transition: LINEAR 0.5;
11042            }
11043            program { name: "hide";
11044                signal: "elm,action,hide";
11045                source: "elm";
11046                action: STATE_SET "default" 0.0;
11047                target: "base";
11048            }
11049        }
11050    }
11051    group { name: "elm/notify/center/default";
11052        //this group is a design similar to the inwin group
11053        images {
11054            image: "bt_dis_base.png" COMP;
11055        }
11056        parts {
11057            part { name: "base";
11058                type: RECT;
11059                mouse_events: 0;
11060                repeat_events: 1;
11061                description { state: "default" 0.0;
11062                    color: 0 0 0 0;
11063                    rel1.relative: 0.0 0.0;
11064                    rel2.relative: 1.0 1.0;
11065                }
11066            }
11067            part { name: "pop";
11068                mouse_events: 1;
11069                description { state: "default" 0.0;
11070                    rel1.to: "elm.swallow.content";
11071                    rel1.offset: -5 -5;
11072                    rel2.to: "elm.swallow.content";
11073                    rel2.offset: 4 4;
11074                    image {
11075                        normal: "bt_dis_base.png";
11076                        border: 4 4 4 4;
11077                    }
11078                }
11079            }
11080            part { name: "elm.swallow.content";
11081                type: SWALLOW;
11082                description { state: "default" 0.0;
11083                    rel1.to: "base";
11084                    rel2.to: "base";
11085                }
11086            }
11087        }
11088        programs {
11089            program { name: "show";
11090                signal: "elm,action,show";
11091                source: "elm";
11092                action: STATE_SET "default" 0.0;
11093                target: "base";
11094            }
11095            program { name: "show_2";
11096                 signal: "show";
11097                 action: STATE_SET "default" 0.0;
11098                 target: "base";
11099            }
11100            program { name: "hide";
11101                signal: "elm,action,hide";
11102                source: "elm";
11103                action: STATE_SET "default" 0.0;
11104                target: "base";
11105            }
11106        }
11107    }
11108    group { name: "elm/notify/bottom/default";
11109        //this group is a design similar to the inwin group
11110        images {
11111            image: "shad_circ.png" COMP;
11112            image: "bt_dis_base.png" COMP;
11113            image: "bt_dis_hilight.png" COMP;
11114        }
11115        parts {
11116            part { name: "base";
11117                type: RECT;
11118                mouse_events: 0;
11119                repeat_events: 1;
11120                description { state: "default" 0.0;
11121                    color: 0 0 0 0;
11122                    rel1.offset: 10 10;
11123                    rel2.offset: -10 -10;
11124                    rel1.relative: 0.0 1.0;
11125                    rel2.relative: 1.0 2.0;
11126                }
11127                description { state: "visible" 0.0;
11128                    inherit: "default" 0.0;
11129                    color: 0 0 0 64;
11130                    rel1.relative: 0.0 0.0;
11131                    rel2.relative: 1.0 1.0;
11132                }
11133            }
11134            part { name: "shad";
11135                mouse_events:  0;
11136                description { state: "default" 0.0;
11137                    image.normal: "shad_circ.png";
11138                    rel1.to: "elm.swallow.content";
11139                    rel1.offset: -64 -64;
11140                    rel2.to: "elm.swallow.content";
11141                    rel2.offset: 63 63;
11142                    fill.smooth: 0;
11143                }
11144            }
11145            part { name: "pop";
11146                mouse_events: 1;
11147                description { state: "default" 0.0;
11148                    rel1.to: "elm.swallow.content";
11149                    rel1.offset: -5 -5;
11150                    rel2.to: "elm.swallow.content";
11151                    rel2.offset: 4 4;
11152                    image {
11153                        normal: "bt_dis_base.png";
11154                        border: 4 4 4 4;
11155                    }
11156                    image.middle: SOLID;
11157                }
11158            }
11159            part { name: "popover";
11160                mouse_events: 0;
11161                description { state: "default" 0.0;
11162                    rel1.to: "pop";
11163                    rel2.to: "pop";
11164                    rel2.relative: 1.0 0.5;
11165                    image {
11166                        normal: "bt_dis_hilight.png";
11167                        border: 4 4 4 0;
11168                    }
11169                }
11170            }
11171            part { name: "elm.swallow.content";
11172                type: SWALLOW;
11173                description { state: "default" 0.0;
11174                    rel1.to: "base";
11175                    rel2.to: "base";
11176                }
11177            }
11178        }
11179        programs {
11180            program { name: "show";
11181                signal: "elm,action,show";
11182                source: "elm";
11183                action: STATE_SET "visible" 0.0;
11184                target: "base";
11185            }
11186            program { name: "show_2";
11187                 signal: "show";
11188                 action: STATE_SET "default" 0.0;
11189                 target: "base";
11190                 after: "show_3";
11191            }
11192            program { name: "show_3";
11193                 signal: "show";
11194                 action: STATE_SET "visible" 0.0;
11195                 target: "base";
11196                 transition: LINEAR 0.5;
11197            }
11198            program { name: "hide";
11199                signal: "elm,action,hide";
11200                source: "elm";
11201                action: STATE_SET "default" 0.0;
11202                target: "base";
11203            }
11204        }
11205    }
11206    group { name: "elm/notify/left/default";
11207        //this group is a design similar to the inwin group
11208        images {
11209            image: "shad_circ.png" COMP;
11210            image: "bt_dis_base.png" COMP;
11211            image: "bt_dis_hilight.png" COMP;
11212        }
11213        parts {
11214            part { name: "base";
11215                type: RECT;
11216                mouse_events: 0;
11217                repeat_events: 1;
11218                description { state: "default" 0.0;
11219                    color: 0 0 0 0;
11220                    rel1.offset: 10 10;
11221                    rel2.offset: -10 -10;
11222                    rel1.relative: -1.0 0.0;
11223                    rel2.relative: 0.0 1.0;
11224                }
11225                description { state: "visible" 0.0;
11226                    inherit: "default" 0.0;
11227                    color: 0 0 0 64;
11228                    rel1.relative: 0.0 0.0;
11229                    rel2.relative: 1.0 1.0;
11230                }
11231            }
11232            part { name: "shad";
11233                mouse_events:  0;
11234                description { state: "default" 0.0;
11235                    image.normal: "shad_circ.png";
11236                    rel1.to: "elm.swallow.content";
11237                    rel1.offset: -64 -64;
11238                    rel2.to: "elm.swallow.content";
11239                    rel2.offset: 63 63;
11240                    fill.smooth: 0;
11241                }
11242            }
11243            part { name: "pop";
11244                mouse_events: 1;
11245                description { state: "default" 0.0;
11246                    rel1.to: "elm.swallow.content";
11247                    rel1.offset: -5 -5;
11248                    rel2.to: "elm.swallow.content";
11249                    rel2.offset: 4 4;
11250                    image {
11251                        normal: "bt_dis_base.png";
11252                        border: 4 4 4 4;
11253                    }
11254                    image.middle: SOLID;
11255                }
11256            }
11257            part { name: "popover";
11258                mouse_events: 0;
11259                description { state: "default" 0.0;
11260                    rel1.to: "pop";
11261                    rel2.to: "pop";
11262                    rel2.relative: 1.0 0.5;
11263                    image {
11264                        normal: "bt_dis_hilight.png";
11265                        border: 4 4 4 0;
11266                    }
11267                }
11268            }
11269            part { name: "elm.swallow.content";
11270                type: SWALLOW;
11271                description { state: "default" 0.0;
11272                    rel1.to: "base";
11273                    rel2.to: "base";
11274                }
11275            }
11276        }
11277        programs {
11278            program { name: "show";
11279                signal: "elm,action,show";
11280                source: "elm";
11281                action: STATE_SET "visible" 0.0;
11282                target: "base";
11283            }
11284            program { name: "show_2";
11285                signal: "show";
11286                action: STATE_SET "default" 0.0;
11287                target: "base";
11288                after: "show_3";
11289            }
11290            program { name: "show_3";
11291                signal: "show";
11292                action: STATE_SET "visible" 0.0;
11293                target: "base";
11294                transition: LINEAR 0.5;
11295            }
11296            program { name: "hide";
11297                signal: "elm,action,hide";
11298                source: "elm";
11299                action: STATE_SET "default" 0.0;
11300                target: "base";
11301            }
11302        }
11303    }
11304    group { name: "elm/notify/right/default";
11305        //this group is a design similar to the inwin group
11306        images {
11307            image: "shad_circ.png" COMP;
11308            image: "bt_dis_base.png" COMP;
11309            image: "bt_dis_hilight.png" COMP;
11310        }
11311        parts {
11312            part { name: "base";
11313                type: RECT;
11314                mouse_events: 0;
11315                repeat_events: 1;
11316                 description { state: "default" 0.0;
11317                    color: 0 0 0 0;
11318                    rel1.offset: 10 10;
11319                    rel2.offset: -10 -10;
11320                    rel1.relative: 1.0 0.0;
11321                    rel2.relative: 2.0 1.0;
11322                }
11323                description { state: "visible" 0.0;
11324                    inherit: "default" 0.0;
11325                    color: 0 0 0 64;
11326                    rel1.relative: 0.0 0.0;
11327                    rel2.relative: 1.0 1.0;
11328                }
11329            }
11330            part { name: "shad";
11331                mouse_events:  0;
11332                description { state: "default" 0.0;
11333                    image.normal: "shad_circ.png";
11334                    rel1.to: "elm.swallow.content";
11335                    rel1.offset: -64 -64;
11336                    rel2.to: "elm.swallow.content";
11337                    rel2.offset: 63 63;
11338                    fill.smooth: 0;
11339                }
11340            }
11341            part { name: "pop";
11342                mouse_events: 1;
11343                description { state: "default" 0.0;
11344                    rel1.to: "elm.swallow.content";
11345                    rel1.offset: -5 -5;
11346                    rel2.to: "elm.swallow.content";
11347                    rel2.offset: 4 4;
11348                    image {
11349                        normal: "bt_dis_base.png";
11350                        border: 4 4 4 4;
11351                    }
11352                    image.middle: SOLID;
11353                }
11354            }
11355            part { name: "popover";
11356                mouse_events: 0;
11357                description { state: "default" 0.0;
11358                    rel1.to: "pop";
11359                    rel2.to: "pop";
11360                    rel2.relative: 1.0 0.5;
11361                    image {
11362                        normal: "bt_dis_hilight.png";
11363                        border: 4 4 4 0;
11364                    }
11365                }
11366            }
11367            part { name: "elm.swallow.content";
11368                type: SWALLOW;
11369                description { state: "default" 0.0;
11370                    rel1.to: "base";
11371                    rel2.to: "base";
11372                }
11373            }
11374        }
11375        programs {
11376            program { name: "show";
11377                signal: "elm,action,show";
11378                source: "elm";
11379                action: STATE_SET "visible" 0.0;
11380                target: "base";
11381            }
11382            program { name: "show_2";
11383                signal: "show";
11384                action: STATE_SET "default" 0.0;
11385                target: "base";
11386                after: "show_3";
11387            }
11388            program { name: "show_3";
11389                signal: "show";
11390                action: STATE_SET "visible" 0.0;
11391                target: "base";
11392                transition: LINEAR 0.5;
11393            }
11394            program { name: "hide";
11395                signal: "elm,action,hide";
11396                source: "elm";
11397                action: STATE_SET "default" 0.0;
11398                target: "base";
11399            }
11400        }
11401    }
11402    group { name: "elm/notify/top_left/default";
11403        //this group is a design similar to the inwin group
11404        images {
11405            image: "shad_circ.png" COMP;
11406            image: "bt_dis_base.png" COMP;
11407            image: "bt_dis_hilight.png" COMP;
11408        }
11409        parts {
11410            part { name: "base";
11411                type: RECT;
11412                mouse_events: 0;
11413                repeat_events: 1;
11414                 description { state: "default" 0.0;
11415                    color: 0 0 0 0;
11416                    rel1.offset: 10 10;
11417                    rel2.offset: -10 -10;
11418                    rel1.relative: 0.0 -1.0;
11419                    rel2.relative: 1.0 0.0;
11420                }
11421                description { state: "visible" 0.0;
11422                    inherit: "default" 0.0;
11423                    color: 0 0 0 64;
11424                    rel1.relative: 0.0 0.0;
11425                    rel2.relative: 1.0 1.0;
11426                }
11427            }
11428            part { name: "shad";
11429                mouse_events:  0;
11430                description { state: "default" 0.0;
11431                    image.normal: "shad_circ.png";
11432                    rel1.to: "elm.swallow.content";
11433                    rel1.offset: -64 -64;
11434                    rel2.to: "elm.swallow.content";
11435                    rel2.offset: 63 63;
11436                    fill.smooth: 0;
11437                }
11438            }
11439            part { name: "pop";
11440                mouse_events: 1;
11441                description { state: "default" 0.0;
11442                    rel1.to: "elm.swallow.content";
11443                    rel1.offset: -5 -5;
11444                    rel2.to: "elm.swallow.content";
11445                    rel2.offset: 4 4;
11446                    image {
11447                        normal: "bt_dis_base.png";
11448                        border: 4 4 4 4;
11449                    }
11450                    image.middle: SOLID;
11451                }
11452            }
11453            part { name: "popover";
11454                mouse_events: 0;
11455                description { state: "default" 0.0;
11456                    rel1.to: "pop";
11457                    rel2.to: "pop";
11458                    rel2.relative: 1.0 0.5;
11459                    image {
11460                        normal: "bt_dis_hilight.png";
11461                        border: 4 4 4 0;
11462                    }
11463                }
11464            }
11465            part { name: "elm.swallow.content";
11466                type: SWALLOW;
11467                description { state: "default" 0.0;
11468                    rel1.to: "base";
11469                    rel2.to: "base";
11470                }
11471            }
11472        }
11473        programs {
11474            program { name: "show";
11475                signal: "elm,action,show";
11476                source: "elm";
11477                action: STATE_SET "visible" 0.0;
11478                target: "base";
11479            }
11480            program { name: "show_2";
11481                signal: "show";
11482                action: STATE_SET "default" 0.0;
11483                target: "base";
11484                after: "show_3";
11485            }
11486            program { name: "show_3";
11487                signal: "show";
11488                action: STATE_SET "visible" 0.0;
11489                target: "base";
11490                transition: LINEAR 0.5;
11491            }
11492            program { name: "hide";
11493                signal: "elm,action,hide";
11494                source: "elm";
11495                action: STATE_SET "default" 0.0;
11496                target: "base";
11497            }
11498        }
11499    }
11500    group { name: "elm/notify/top_right/default";
11501        //this group is a design similar to the inwin group
11502        images {
11503            image: "shad_circ.png" COMP;
11504            image: "bt_dis_base.png" COMP;
11505            image: "bt_dis_hilight.png" COMP;
11506        }
11507        parts {
11508            part { name: "base";
11509                type: RECT;
11510                mouse_events: 0;
11511                repeat_events: 1;
11512                description { state: "default" 0.0;
11513                    color: 0 0 0 0;
11514                    rel1.offset: 10 10;
11515                    rel2.offset: -10 -10;
11516                    rel1.relative: 0.0 -1.0;
11517                    rel2.relative: 1.0 0.0;
11518                }
11519                description { state: "visible" 0.0;
11520                    inherit: "default" 0.0;
11521                    color: 0 0 0 64;
11522                    rel1.relative: 0.0 0.0;
11523                    rel2.relative: 1.0 1.0;
11524                }
11525            }
11526            part { name: "shad";
11527                mouse_events:  0;
11528                description { state: "default" 0.0;
11529                    image.normal: "shad_circ.png";
11530                    rel1.to: "elm.swallow.content";
11531                    rel1.offset: -64 -64;
11532                    rel2.to: "elm.swallow.content";
11533                    rel2.offset: 63 63;
11534                    fill.smooth: 0;
11535                }
11536            }
11537            part { name: "pop";
11538                mouse_events: 1;
11539                description { state: "default" 0.0;
11540                    rel1.to: "elm.swallow.content";
11541                    rel1.offset: -5 -5;
11542                    rel2.to: "elm.swallow.content";
11543                    rel2.offset: 4 4;
11544                    image {
11545                        normal: "bt_dis_base.png";
11546                        border: 4 4 4 4;
11547                    }
11548                    image.middle: SOLID;
11549                }
11550            }
11551            part { name: "popover";
11552                mouse_events: 0;
11553                description { state: "default" 0.0;
11554                    rel1.to: "pop";
11555                    rel2.to: "pop";
11556                    rel2.relative: 1.0 0.5;
11557                    image {
11558                        normal: "bt_dis_hilight.png";
11559                        border: 4 4 4 0;
11560                    }
11561                }
11562            }
11563            part { name: "elm.swallow.content";
11564                type: SWALLOW;
11565                description { state: "default" 0.0;
11566                    rel1.to: "base";
11567                    rel2.to: "base";
11568                }
11569            }
11570        }
11571        programs {
11572            program { name: "show";
11573                signal: "elm,action,show";
11574                source: "elm";
11575                action: STATE_SET "visible" 0.0;
11576                target: "base";
11577            }
11578            program { name: "show_2";
11579                signal: "show";
11580                action: STATE_SET "default" 0.0;
11581                target: "base";
11582                after: "show_3";
11583            }
11584            program { name: "show_3";
11585                signal: "show";
11586                action: STATE_SET "visible" 0.0;
11587                target: "base";
11588                transition: LINEAR 0.5;
11589            }
11590            program { name: "hide";
11591                signal: "elm,action,hide";
11592                source: "elm";
11593                action: STATE_SET "default" 0.0;
11594                target: "base";
11595            }
11596        }
11597    }
11598    group { name: "elm/notify/bottom_left/default";
11599        //this group is a design similar to the inwin group
11600        images {
11601            image: "shad_circ.png" COMP;
11602            image: "bt_dis_base.png" COMP;
11603            image: "bt_dis_hilight.png" COMP;
11604        }
11605        parts {
11606            part { name: "base";
11607                type: RECT;
11608                mouse_events: 0;
11609                repeat_events: 1;
11610                description { state: "default" 0.0;
11611                    color: 0 0 0 0;
11612                    rel1.offset: 10 10;
11613                    rel2.offset: -10 -10;
11614                    rel1.relative: 0.0 1.0;
11615                    rel2.relative: 1.0 2.0;
11616                }
11617                description { state: "visible" 0.0;
11618                    inherit: "default" 0.0;
11619                    color: 0 0 0 64;
11620                    rel1.relative: 0.0 0.0;
11621                    rel2.relative: 1.0 1.0;
11622                }
11623            }
11624            part { name: "shad";
11625                mouse_events:  0;
11626                description { state: "default" 0.0;
11627                    image.normal: "shad_circ.png";
11628                    rel1.to: "elm.swallow.content";
11629                    rel1.offset: -64 -64;
11630                    rel2.to: "elm.swallow.content";
11631                    rel2.offset: 63 63;
11632                    fill.smooth: 0;
11633                }
11634            }
11635            part { name: "pop";
11636                mouse_events: 1;
11637                description { state: "default" 0.0;
11638                    rel1.to: "elm.swallow.content";
11639                    rel1.offset: -5 -5;
11640                    rel2.to: "elm.swallow.content";
11641                    rel2.offset: 4 4;
11642                    image {
11643                        normal: "bt_dis_base.png";
11644                        border: 4 4 4 4;
11645                    }
11646                    image.middle: SOLID;
11647                }
11648            }
11649            part { name: "popover";
11650                mouse_events: 0;
11651                description { state: "default" 0.0;
11652                    rel1.to: "pop";
11653                    rel2.to: "pop";
11654                    rel2.relative: 1.0 0.5;
11655                    image {
11656                        normal: "bt_dis_hilight.png";
11657                        border: 4 4 4 0;
11658                    }
11659                }
11660            }
11661            part { name: "elm.swallow.content";
11662                type: SWALLOW;
11663                description { state: "default" 0.0;
11664                    rel1.to: "base";
11665                    rel2.to: "base";
11666                }
11667            }
11668        }
11669        programs {
11670            program { name: "show";
11671                signal: "elm,action,show";
11672                source: "elm";
11673                action: STATE_SET "visible" 0.0;
11674                target: "base";
11675            }
11676            program { name: "show_2";
11677                signal: "show";
11678                action: STATE_SET "default" 0.0;
11679                target: "base";
11680                after: "show_3";
11681            }
11682            program { name: "show_3";
11683                signal: "show";
11684                action: STATE_SET "visible" 0.0;
11685                target: "base";
11686                transition: LINEAR 0.5;
11687            }
11688            program { name: "hide";
11689                signal: "elm,action,hide";
11690                source: "elm";
11691                action: STATE_SET "default" 0.0;
11692                target: "base";
11693            }
11694        }
11695    }
11696    group { name: "elm/notify/bottom_right/default";
11697        //this group is a design similar to the inwin group
11698        images {
11699            image: "shad_circ.png" COMP;
11700            image: "bt_dis_base.png" COMP;
11701            image: "bt_dis_hilight.png" COMP;
11702        }
11703        parts {
11704            part { name: "base";
11705                type: RECT;
11706                mouse_events: 0;
11707                repeat_events: 1;
11708               description { state: "default" 0.0;
11709                    color: 0 0 0 0;
11710                    rel1.offset: 10 10;
11711                    rel2.offset: -10 -10;
11712                    rel1.relative: 0.0 1.0;
11713                    rel2.relative: 1.0 2.0;
11714                }
11715                description { state: "visible" 0.0;
11716                    inherit: "default" 0.0;
11717                    color: 0 0 0 64;
11718                    rel1.relative: 0.0 0.0;
11719                    rel2.relative: 1.0 1.0;
11720                }
11721            }
11722            part { name: "shad";
11723                mouse_events:  0;
11724                description { state: "default" 0.0;
11725                    image.normal: "shad_circ.png";
11726                    rel1.to: "elm.swallow.content";
11727                    rel1.offset: -64 -64;
11728                    rel2.to: "elm.swallow.content";
11729                    rel2.offset: 63 63;
11730                    fill.smooth: 0;
11731                }
11732            }
11733            part { name: "pop";
11734                mouse_events: 1;
11735                description { state: "default" 0.0;
11736                    rel1.to: "elm.swallow.content";
11737                    rel1.offset: -5 -5;
11738                    rel2.to: "elm.swallow.content";
11739                    rel2.offset: 4 4;
11740                    image {
11741                        normal: "bt_dis_base.png";
11742                        border: 4 4 4 4;
11743                    }
11744                    image.middle: SOLID;
11745                }
11746            }
11747            part { name: "popover";
11748                mouse_events: 0;
11749                description { state: "default" 0.0;
11750                    rel1.to: "pop";
11751                    rel2.to: "pop";
11752                    rel2.relative: 1.0 0.5;
11753                    image {
11754                        normal: "bt_dis_hilight.png";
11755                        border: 4 4 4 0;
11756                    }
11757                }
11758            }
11759            part { name: "elm.swallow.content";
11760                type: SWALLOW;
11761                description { state: "default" 0.0;
11762                    rel1.to: "base";
11763                    rel2.to: "base";
11764                }
11765            }
11766        }
11767        programs {
11768            program { name: "show";
11769                signal: "elm,action,show";
11770                source: "elm";
11771                action: STATE_SET "visible" 0.0;
11772                target: "base";
11773            }
11774            program { name: "show_2";
11775                signal: "show";
11776                action: STATE_SET "default" 0.0;
11777                target: "base";
11778                after: "show_3";
11779            }
11780            program { name: "show_3";
11781                signal: "show";
11782                action: STATE_SET "visible" 0.0;
11783                target: "base";
11784                transition: LINEAR 0.5;
11785            }
11786            program { name: "hide";
11787                signal: "elm,action,hide";
11788                source: "elm";
11789                action: STATE_SET "default" 0.0;
11790                target: "base";
11791            }
11792        }
11793    }
11794
11795 ///////////////////////////////////////////////////////////////////////////////
11796    group { name: "elm/slideshow/base/default";
11797       data {
11798          item: transitions "fade black_fade horizontal vertical square";
11799          item: layouts "fullscreen not_fullscreen";
11800       }
11801       parts {
11802          part { name: "whole";
11803                  type: RECT;
11804             description {
11805                state: "default" 0.0;
11806                visible: 1;
11807                color: 20 20 20 255;
11808             }
11809          }
11810          part { name: "image_1_whole";
11811             type: RECT;
11812             description {
11813                state: "default" 0.0;
11814                color: 255 255 255 255;
11815             }
11816             description {
11817                state: "fade_prev_next" 0.0;
11818                inherit: "default" 0.0;
11819                color: 255 255 255 0;
11820             }
11821             description {
11822                state: "black_fade_prev_next_init" 0.0;
11823                inherit: "default" 0.0;
11824                color: 255 255 255 255;
11825             }
11826             description {
11827                state: "black_fade_prev_next" 0.0;
11828                inherit: "default" 0.0;
11829                color: 0 0 0 255;
11830             }
11831             description {
11832                state: "horizontal_next_init" 0.0;
11833                inherit: "default" 0.0;
11834             }
11835             description {
11836                state: "horizontal_next" 0.0;
11837                inherit: "default" 0.0;
11838                rel1.relative: -1.0 0.0;
11839                rel2.relative: 0.0 1.0;
11840             }
11841             description {
11842                state: "horizontal_prev_init" 0.0;
11843                inherit: "default" 0.0;
11844             }
11845             description {
11846                state: "horizontal_prev" 0.0;
11847                inherit: "default" 0.0;
11848                rel1.relative: 1.0 0.0;
11849                rel2.relative: 2.0 1.0;
11850             }
11851             description {
11852                state: "vertical_next_init" 0.0;
11853                inherit: "default" 0.0;
11854             }
11855             description {
11856                state: "vertical_next" 0.0;
11857                inherit: "default" 0.0;
11858                rel1.relative: 0.0 -1.0;
11859                rel2.relative: 1.0 0.0;
11860             }
11861             description {
11862                state: "vertical_prev_init" 0.0;
11863                inherit: "default" 0.0;
11864             }
11865             description {
11866                state: "vertical_prev" 0.0;
11867                inherit: "default" 0.0;
11868                rel1.relative: 0.0 1.0;
11869                rel2.relative: 1.0 2.0;
11870             }
11871             description {
11872                state: "square_prev_next" 0.0;
11873                inherit: "default" 0.0;
11874                color: 255 255 255 0;
11875             }
11876          }
11877          part { name: "image_2_whole";
11878             type: RECT;
11879             description {
11880                state: "default" 0.0;
11881                visible: 1;
11882                color: 255 255 255 0;
11883             }
11884             description {
11885                state: "fade_prev_next" 0.0;
11886                inherit: "default" 0.0;
11887                color: 255 255 255 255;
11888             }
11889             description {
11890                state: "black_fade_prev_next_init" 0.0;
11891                inherit: "default" 0.0;
11892                color: 0 0 0 0;
11893             }
11894             description {
11895                state: "black_fade_prev_next" 0.0;
11896                inherit: "default" 0.0;
11897                color: 255 255 255 255;
11898             }
11899             description {
11900                state: "horizontal_next_init" 0.0;
11901                inherit: "default" 0.0;
11902                rel1.relative: 1.0 0.0;
11903                rel2.relative: 2.0 1.0;
11904                color: 255 255 255 255;
11905             }
11906             description {
11907                state: "horizontal_next" 0.0;
11908                inherit: "default" 0.0;
11909                color: 255 255 255 255;
11910             }
11911             description {
11912                state: "horizontal_prev_init" 0.0;
11913                inherit: "default" 0.0;
11914                rel1.relative: -1.0 0.0;
11915                rel2.relative: 0.0 1.0;
11916                color: 255 255 255 255;
11917             }
11918             description {
11919                state: "horizontal_prev" 0.0;
11920                inherit: "default" 0.0;
11921                color: 255 255 255 255;
11922             }
11923             description {
11924                state: "vertical_next_init" 0.0;
11925                inherit: "default" 0.0;
11926                rel1.relative: 0.0 1.0;
11927                rel2.relative: 1.0 2.0;
11928                color: 255 255 255 255;
11929             }
11930             description {
11931                state: "vertical_next" 0.0;
11932                inherit: "default" 0.0;
11933                color: 255 255 255 255;
11934             }
11935             description {
11936                state: "vertical_prev_init" 0.0;
11937                inherit: "default" 0.0;
11938                rel1.relative: 0.0 -1.0;
11939                rel2.relative: 1.0 0.0;
11940                color: 255 255 255 255;
11941             }
11942             description {
11943                state: "vertical_prev" 0.0;
11944                inherit: "default" 0.0;
11945                color: 255 255 255 255;
11946             }
11947             description {
11948                state: "square_prev_next_init" 0.0;
11949                inherit: "default" 0.0;
11950                rel1.relative: 0.5 0.5;
11951                rel2.relative: 0.5 0.5;
11952                color: 255 255 255 255;
11953             }
11954             description {
11955                state: "square_prev_next" 0.0;
11956                inherit: "default" 0.0;
11957                rel1.relative: 0.0 0.0;
11958                rel2.relative: 1.0 1.0;
11959                color: 255 255 255 255;
11960             }
11961          }
11962          part { name: "elm.swallow.1";
11963             type: SWALLOW;
11964             clip_to: "image_1_whole";
11965             description {
11966                state: "default" 0.0;
11967                rel1.to: "image_1_whole";
11968                rel2.to: "image_1_whole";
11969                color: 255 255 255 255;
11970             }
11971             description {
11972                state: "not_fullscreen" 0.0;
11973                rel1.relative: 0.1 0.1;
11974                rel1.to: "image_1_whole";
11975                rel2.relative: 0.9 0.9;
11976                rel2.to: "image_1_whole";
11977                color: 255 255 255 255;
11978             }
11979          }
11980          part { name: "elm.swallow.2";
11981             type: SWALLOW;
11982             clip_to: "image_2_whole";
11983             description {
11984                state: "default" 0.0;
11985                color: 255 255 255 255;
11986                rel1.to: "image_2_whole";
11987                rel2.to: "image_2_whole";
11988             }
11989             description {
11990                state: "not_fullscreen" 0.0;
11991                color: 255 255 255 255;
11992                rel1.relative: 0.1 0.1;
11993                rel1.to: "image_2_whole";
11994                rel2.relative: 0.9 0.9;
11995                rel2.to: "image_2_whole";
11996             }
11997          }
11998          part { name: "events_catcher";
11999             type: RECT;
12000             repeat_events: 1;
12001             description {
12002                state: "default" 0.0;
12003                visible: 1;
12004                color: 0 0 0 0;
12005             }
12006          }
12007       }
12008       programs {
12009               //Substyle
12010               program { name: "layout_fullscreen";
12011             signal: "layout,fullscreen";
12012             source: "slideshow";
12013             action: STATE_SET "default" 0.0;
12014             target: "elm.swallow.1";
12015             target: "elm.swallow.2";
12016             transition: SINUSOIDAL 1.0;
12017         }
12018         program { name: "layout_not_fullscreen";
12019             signal: "layout,not_fullscreen";
12020             source: "slideshow";
12021             action: STATE_SET "not_fullscreen" 0.0;
12022             target: "elm.swallow.1";
12023             target: "elm.swallow.2";
12024             transition: SINUSOIDAL 1.0;
12025          }
12026                //
12027          program { name: "fade_next";
12028             signal: "fade,next";
12029             source: "slideshow";
12030             action: STATE_SET "default" 0.0;
12031             target: "image_1_whole";
12032             target: "image_2_whole";
12033             after: "fade_next_2";
12034          }
12035          program { name: "fade_next_2";
12036             action: STATE_SET "fade_prev_next" 0.0;
12037             target: "image_1_whole";
12038             target: "image_2_whole";
12039             transition: SINUSOIDAL 1.5;
12040             after: "end";
12041          }
12042          program { name: "fade_previous";
12043             signal: "fade,previous";
12044             source: "slideshow";
12045             action: STATE_SET "default" 0.0;
12046             target: "image_1_whole";
12047             target: "image_2_whole";
12048             after: "fade_previous_2";
12049          }
12050          program { name: "fade_previous_2";
12051             action: STATE_SET "fade_prev_next" 0.0;
12052             target: "image_1_whole";
12053             target: "image_2_whole";
12054             transition: SINUSOIDAL 1.5;
12055             after: "end";
12056          }
12057          program { name: "black_fade_next";
12058             signal: "black_fade,next";
12059             source: "slideshow";
12060             action: STATE_SET "black_fade_prev_next_init" 0.0;
12061             target: "image_1_whole";
12062             target: "image_2_whole";
12063             after: "black_fade_next_2";
12064          }
12065          program { name: "black_fade_next_2";
12066             action: STATE_SET "black_fade_prev_next" 0.0;
12067             target: "image_1_whole";
12068             transition: SINUSOIDAL 0.75;
12069             after: "black_fade_next_3";
12070          }
12071          program { name: "black_fade_next_3";
12072             action: STATE_SET "black_fade_prev_next" 0.0;
12073             target: "image_2_whole";
12074             transition: SINUSOIDAL 0.75;
12075             after: "end";
12076          }
12077          program { name: "black_fade_previous";
12078             signal: "black_fade,previous";
12079             source: "slideshow";
12080             action: STATE_SET "black_fade_prev_next_init" 0.0;
12081             target: "image_1_whole";
12082             target: "image_2_whole";
12083             after: "black_fade_previous_2";
12084          }
12085          program { name: "black_fade_previous_2";
12086             action: STATE_SET "black_fade_prev_next" 0.0;
12087             target: "image_1_whole";
12088             transition: SINUSOIDAL 0.75;
12089             after: "black_fade_previous_3";
12090          }
12091          program { name: "black_fade_previous_3";
12092             action: STATE_SET "black_fade_prev_next" 0.0;
12093             target: "image_2_whole";
12094             transition: SINUSOIDAL 0.75;
12095             after: "end";
12096          }
12097          program { name: "horizontal_next";
12098             signal: "horizontal,next";
12099             source: "slideshow";
12100             action: STATE_SET "horizontal_next_init" 0.0;
12101             target: "image_1_whole";
12102             target: "image_2_whole";
12103             after: "horizontal_next_2";
12104          }
12105          program { name: "horizontal_next_2";
12106             action: STATE_SET "horizontal_next" 0.0;
12107             target: "image_1_whole";
12108             target: "image_2_whole";
12109             transition: SINUSOIDAL 1.5;
12110             after: "end";
12111          }
12112          program { name: "horizontal_previous";
12113             signal: "horizontal,previous";
12114             source: "slideshow";
12115             action: STATE_SET "horizontal_prev_init" 0.0;
12116             target: "image_1_whole";
12117             target: "image_2_whole";
12118             after: "horizontal_previous_2";
12119          }
12120          program { name: "horizontal_previous_2";
12121             action: STATE_SET "horizontal_prev" 0.0;
12122             target: "image_1_whole";
12123             target: "image_2_whole";
12124             transition: SINUSOIDAL 1.5;
12125             after: "end";
12126          }
12127          program { name: "vertical_next";
12128             signal: "vertical,next";
12129             source: "slideshow";
12130             action: STATE_SET "vertical_next_init" 0.0;
12131             target: "image_1_whole";
12132             target: "image_2_whole";
12133             after: "vertical_next_2";
12134          }
12135          program { name: "vertical_next_2";
12136             action: STATE_SET "vertical_next" 0.0;
12137             target: "image_1_whole";
12138             target: "image_2_whole";
12139             transition: SINUSOIDAL 1.5;
12140             after: "end";
12141          }
12142          program { name: "vertical_previous";
12143             signal: "vertical,previous";
12144             source: "slideshow";
12145             action: STATE_SET "vertical_prev_init" 0.0;
12146             target: "image_1_whole";
12147             target: "image_2_whole";
12148             after: "vertical_previous_2";
12149          }
12150          program { name: "vertical_previous_2";
12151             action: STATE_SET "vertical_prev" 0.0;
12152             target: "image_1_whole";
12153             target: "image_2_whole";
12154             transition: SINUSOIDAL 1.5;
12155             after: "end";
12156          }
12157          program { name: "square_next";
12158             signal: "square,next";
12159             source: "slideshow";
12160             action: STATE_SET "square_prev_next_init" 0.0;
12161             target: "image_2_whole";
12162             after: "square_next_2";
12163          }
12164          program { name: "square_next_2";
12165             action: STATE_SET "square_prev_next" 0.0;
12166             target: "image_2_whole";
12167             target: "image_1_whole";
12168             transition: SINUSOIDAL 1.5;
12169             after: "end";
12170          }
12171          program { name: "square_previous";
12172             signal: "square,previous";
12173             source: "slideshow";
12174             action: STATE_SET "square_prev_next_init" 0.0;
12175             target: "image_2_whole";
12176             after: "square_next_2";
12177          }
12178          program { name: "end";
12179             action: SIGNAL_EMIT "end" "slideshow";
12180          }
12181          program { name: "end_signal";
12182             signal: "anim,end";
12183             source: "slideshow";
12184             action: STATE_SET "default" 0.0;
12185             target: "image_1_whole";
12186             target: "image_2_whole";
12187          }
12188       }
12189    }
12190
12191 ///////////////////////////////////////////////////////////////////////////////
12192    group { name: "elm/win/inwin/default";
12193       images {
12194          image: "shad_circ.png" COMP;
12195          image: "bt_dis_base.png" COMP;
12196          image: "bt_dis_hilight.png" COMP;
12197       }
12198       parts {
12199          part { name: "base";
12200             type: RECT;
12201             mouse_events: 1;
12202             description { state: "default" 0.0;
12203                color: 0 0 0 0;
12204             }
12205             description { state: "visible" 0.0;
12206                inherit: "default" 1.0;
12207                color: 0 0 0 64;
12208             }
12209          }
12210          part { name: "shad";
12211             mouse_events:  0;
12212             description { state: "default" 0.0;
12213                image.normal: "shad_circ.png";
12214                rel1.to: "elm.swallow.content";
12215                rel1.offset: -64 -64;
12216                rel2.to: "elm.swallow.content";
12217                rel2.offset: 63 63;
12218                fill.smooth: 0;
12219             }
12220          }
12221          part { name: "pop";
12222             mouse_events: 1;
12223             description { state: "default" 0.0;
12224                rel1.to: "elm.swallow.content";
12225                rel1.offset: -5 -5;
12226                rel2.to: "elm.swallow.content";
12227                rel2.offset: 4 4;
12228                image {
12229                   normal: "bt_dis_base.png";
12230                   border: 4 4 4 4;
12231                }
12232                image.middle: SOLID;
12233             }
12234          }
12235          part { name: "popover";
12236             mouse_events: 0;
12237             description { state: "default" 0.0;
12238                rel1.to: "pop";
12239                rel2.to: "pop";
12240                rel2.relative: 1.0 0.5;
12241                image {
12242                   normal: "bt_dis_hilight.png";
12243                   border: 4 4 4 0;
12244                }
12245             }
12246          }
12247          part { name: "elm.swallow.content";
12248             type: SWALLOW;
12249             description { state: "default" 0.0;
12250                rel1.relative: 0.1 0.1;
12251                rel2.relative: 0.9 0.9;
12252             }
12253          }
12254       }
12255       programs {
12256          program { name: "show";
12257             signal: "elm,action,show";
12258             source: "elm";
12259             action: STATE_SET "visible" 0.0;
12260 //            transition: DECELERATE 0.5;
12261             target: "base";
12262          }
12263          program { name: "hide";
12264             signal: "elm,action,hide";
12265             source: "elm";
12266             action: STATE_SET "default" 0.0;
12267 //            transition: DECELERATE 0.5;
12268             target: "base";
12269          }
12270       }
12271    }
12272
12273    group { name: "elm/win/inwin/minimal";
12274       images {
12275          image: "shad_circ.png" COMP;
12276          image: "bt_dis_base.png" COMP;
12277          image: "bt_dis_hilight.png" COMP;
12278       }
12279       parts {
12280          part { name: "base";
12281             type: RECT;
12282             mouse_events: 1;
12283             description { state: "default" 0.0;
12284                color: 0 0 0 0;
12285             }
12286             description { state: "visible" 0.0;
12287                inherit: "default" 1.0;
12288                color: 0 0 0 64;
12289             }
12290          }
12291          part { name: "shad";
12292             mouse_events:  0;
12293             description { state: "default" 0.0;
12294                image.normal: "shad_circ.png";
12295                rel1.to: "elm.swallow.content";
12296                rel1.offset: -64 -64;
12297                rel2.to: "elm.swallow.content";
12298                rel2.offset: 63 63;
12299                fill.smooth: 0;
12300             }
12301          }
12302          part { name: "pop";
12303             mouse_events: 1;
12304             description { state: "default" 0.0;
12305                rel1.to: "elm.swallow.content";
12306                rel1.offset: -5 -5;
12307                rel2.to: "elm.swallow.content";
12308                rel2.offset: 4 4;
12309                image {
12310                   normal: "bt_dis_base.png";
12311                   border: 4 4 4 4;
12312                }
12313                image.middle: SOLID;
12314             }
12315          }
12316          part { name: "popover";
12317             mouse_events: 0;
12318             description { state: "default" 0.0;
12319                rel1.to: "pop";
12320                rel2.to: "pop";
12321                rel2.relative: 1.0 0.5;
12322                image {
12323                   normal: "bt_dis_hilight.png";
12324                   border: 4 4 4 0;
12325                }
12326             }
12327          }
12328          part { name: "elm.swallow.content";
12329             type: SWALLOW;
12330             description { state: "default" 0.0;
12331                fixed: 1 1;
12332                rel1.relative: 0.5 0.5;
12333                rel2.relative: 0.5 0.5;
12334             }
12335          }
12336       }
12337       programs {
12338          program { name: "show";
12339             signal: "elm,action,show";
12340             source: "elm";
12341             action: STATE_SET "visible" 0.0;
12342 //            transition: DECELERATE 0.5;
12343             target: "base";
12344          }
12345          program { name: "hide";
12346             signal: "elm,action,hide";
12347             source: "elm";
12348             action: STATE_SET "default" 0.0;
12349 //            transition: DECELERATE 0.5;
12350             target: "base";
12351          }
12352       }
12353    }
12354
12355    group { name: "elm/win/inwin/minimal_vertical";
12356       images {
12357          image: "shad_circ.png" COMP;
12358          image: "bt_dis_base.png" COMP;
12359          image: "bt_dis_hilight.png" COMP;
12360       }
12361       parts {
12362          part { name: "base";
12363             type: RECT;
12364             mouse_events: 1;
12365             description { state: "default" 0.0;
12366                color: 0 0 0 0;
12367             }
12368             description { state: "visible" 0.0;
12369                inherit: "default" 1.0;
12370                color: 0 0 0 64;
12371             }
12372          }
12373          part { name: "shad";
12374             mouse_events:  0;
12375             description { state: "default" 0.0;
12376                image.normal: "shad_circ.png";
12377                rel1.to: "elm.swallow.content";
12378                rel1.offset: -64 -64;
12379                rel2.to: "elm.swallow.content";
12380                rel2.offset: 63 63;
12381                fill.smooth: 0;
12382             }
12383          }
12384          part { name: "pop";
12385             mouse_events: 1;
12386             description { state: "default" 0.0;
12387                rel1.to: "elm.swallow.content";
12388                rel1.offset: -5 -5;
12389                rel2.to: "elm.swallow.content";
12390                rel2.offset: 4 4;
12391                image {
12392                   normal: "bt_dis_base.png";
12393                   border: 4 4 4 4;
12394                }
12395                image.middle: SOLID;
12396             }
12397          }
12398          part { name: "popover";
12399             mouse_events: 0;
12400             description { state: "default" 0.0;
12401                rel1.to: "pop";
12402                rel2.to: "pop";
12403                rel2.relative: 1.0 0.5;
12404                image {
12405                   normal: "bt_dis_hilight.png";
12406                   border: 4 4 4 0;
12407                }
12408             }
12409          }
12410          part { name: "elm.swallow.content";
12411             type: SWALLOW;
12412             description { state: "default" 0.0;
12413                fixed: 1 1;
12414                rel1.relative: 0.1 0.5;
12415                rel2.relative: 0.9 0.5;
12416             }
12417          }
12418       }
12419       programs {
12420          program { name: "show";
12421             signal: "elm,action,show";
12422             source: "elm";
12423             action: STATE_SET "visible" 0.0;
12424 //            transition: DECELERATE 0.5;
12425             target: "base";
12426          }
12427          program { name: "hide";
12428             signal: "elm,action,hide";
12429             source: "elm";
12430             action: STATE_SET "default" 0.0;
12431 //            transition: DECELERATE 0.5;
12432             target: "base";
12433          }
12434       }
12435    }
12436
12437 ///////////////////////////////////////////////////////////////////////////////
12438
12439 ///////////////////////////////////////////////////////////////////////////////
12440    group { name: "elm/list/item/default";
12441       data.item: "stacking" "above";
12442       images {
12443          image: "bt_sm_base1.png" COMP;
12444          image: "bt_sm_shine.png" COMP;
12445          image: "bt_sm_hilight.png" COMP;
12446          image: "ilist_1.png" COMP;
12447          image: "ilist_item_shadow.png" COMP;
12448       }
12449       parts {
12450          part {
12451             name:           "event";
12452             type:           RECT;
12453             repeat_events: 1;
12454             description {
12455                state: "default" 0.0;
12456                color: 0 0 0 0;
12457             }
12458          }
12459          part {
12460             name: "base_sh";
12461             mouse_events: 0;
12462             description {
12463                state: "default" 0.0;
12464                align: 0.0 0.0;
12465                min: 0 10;
12466                fixed: 1 1;
12467                rel1 {
12468                   to: "base";
12469                   relative: 0.0 1.0;
12470                   offset: 0 0;
12471                }
12472                rel2 {
12473                   to: "base";
12474                   relative: 1.0 1.0;
12475                   offset: -1 0;
12476                }
12477                image {
12478                   normal: "ilist_item_shadow.png";
12479                }
12480                fill.smooth: 0;
12481             }
12482          }
12483          part {
12484             name: "base";
12485             mouse_events: 0;
12486             description {
12487                state: "default" 0.0;
12488                image {
12489                   normal: "ilist_1.png";
12490                   border: 2 2 2 2;
12491                }
12492                fill.smooth: 0;
12493             }
12494          }
12495          part { name: "bg";
12496             mouse_events: 0;
12497             description { state: "default" 0.0;
12498                visible: 0;
12499                color: 255 255 255 0;
12500                rel1 {
12501                   relative: 0.0 0.0;
12502                   offset: -5 -5;
12503                }
12504                rel2 {
12505                   relative: 1.0 1.0;
12506                   offset: 4 4;
12507                }
12508                image {
12509                   normal: "bt_sm_base1.png";
12510                   border: 6 6 6 6;
12511                }
12512                image.middle: SOLID;
12513             }
12514             description { state: "selected" 0.0;
12515                inherit: "default" 0.0;
12516                visible: 1;
12517                color: 255 255 255 255;
12518                rel1 {
12519                   relative: 0.0 0.0;
12520                   offset: -2 -2;
12521                }
12522                rel2 {
12523                   relative: 1.0 1.0;
12524                   offset: 1 1;
12525                }
12526             }
12527          }
12528          part { name: "elm.swallow.icon";
12529             type: SWALLOW;
12530             description { state: "default" 0.0;
12531                fixed: 1 0;
12532                align: 0.0 0.5;
12533                rel1 {
12534                   relative: 0.0  0.0;
12535                   offset:   4    4;
12536                }
12537                rel2 {
12538                   relative: 0.0  1.0;
12539                   offset:   4   -5;
12540                }
12541             }
12542          }
12543          part { name: "elm.swallow.end";
12544             type: SWALLOW;
12545             description { state: "default" 0.0;
12546                fixed: 1 0;
12547                align: 1.0 0.5;
12548                rel1 {
12549                   relative: 1.0  0.0;
12550                   offset:   -5    4;
12551                }
12552                rel2 {
12553                   relative: 1.0  1.0;
12554                   offset:   -5   -5;
12555                }
12556             }
12557          }
12558          part { name: "elm.text";
12559             type:           TEXT;
12560             effect:         SOFT_SHADOW;
12561             mouse_events:   0;
12562             scale: 1;
12563             description {
12564                state: "default" 0.0;
12565 //               min: 16 16;
12566                rel1 {
12567                   to_x:     "elm.swallow.icon";
12568                   relative: 1.0  0.0;
12569                   offset:   4 4;
12570                }
12571                rel2 {
12572                   to_x:     "elm.swallow.end";
12573                   relative: 0.0  1.0;
12574                   offset:   -1 -5;
12575                }
12576                color: 0 0 0 255;
12577                color3: 0 0 0 0;
12578                text {
12579                   font: "Sans";
12580                   size: 10;
12581                   min: 1 1;
12582 //                  min: 0 1;
12583                   align: -1.0 0.5;
12584                   text_class: "list_item";
12585                }
12586             }
12587             description { state: "selected" 0.0;
12588                inherit: "default" 0.0;
12589                color: 224 224 224 255;
12590                color3: 0 0 0 64;
12591             }
12592          }
12593          part { name: "fg1";
12594             mouse_events: 0;
12595             description { state: "default" 0.0;
12596                visible: 0;
12597                color: 255 255 255 0;
12598                rel1.to: "bg";
12599                rel2.relative: 1.0 0.5;
12600                rel2.to: "bg";
12601                image {
12602                   normal: "bt_sm_hilight.png";
12603                   border: 6 6 6 0;
12604                }
12605             }
12606             description { state: "selected" 0.0;
12607                inherit: "default" 0.0;
12608                visible: 1;
12609                color: 255 255 255 255;
12610             }
12611          }
12612          part { name: "fg2";
12613             mouse_events: 0;
12614             description { state: "default" 0.0;
12615                visible: 0;
12616                color: 255 255 255 0;
12617                rel1.to: "bg";
12618                rel2.to: "bg";
12619                image {
12620                   normal: "bt_sm_shine.png";
12621                   border: 6 6 6 0;
12622                }
12623             }
12624             description { state: "selected" 0.0;
12625                inherit: "default" 0.0;
12626                visible: 1;
12627                color: 255 255 255 255;
12628             }
12629          }
12630       }
12631       programs {
12632          program {
12633             name:    "go_active";
12634             signal:  "elm,state,selected";
12635             source:  "elm";
12636             action:  STATE_SET "selected" 0.0;
12637             target:  "bg";
12638             target:  "fg1";
12639             target:  "fg2";
12640             target:  "elm.text";
12641          }
12642          program {
12643             name:    "go_passive";
12644             signal:  "elm,state,unselected";
12645             source:  "elm";
12646             action:  STATE_SET "default" 0.0;
12647             target:  "bg";
12648             target:  "fg1";
12649             target:  "fg2";
12650             target:  "elm.text";
12651             transition: LINEAR 0.1;
12652          }
12653       }
12654    }
12655    group { name: "elm/list/item_odd/default";
12656       data.item: "stacking" "below";
12657       data.item: "selectraise" "on";
12658       images {
12659          image: "bt_sm_base1.png" COMP;
12660          image: "bt_sm_shine.png" COMP;
12661          image: "bt_sm_hilight.png" COMP;
12662          image: "ilist_2.png" COMP;
12663       }
12664       parts {
12665          part {
12666             name:           "event";
12667             type:           RECT;
12668             repeat_events: 1;
12669             description {
12670                state: "default" 0.0;
12671                color: 0 0 0 0;
12672             }
12673          }
12674          part {
12675             name: "base";
12676             mouse_events: 0;
12677             description {
12678                state: "default" 0.0;
12679                image {
12680                   normal: "ilist_2.png";
12681                   border: 2 2 2 2;
12682                }
12683                fill.smooth: 0;
12684             }
12685          }
12686          part { name: "bg";
12687             mouse_events: 0;
12688             description { state: "default" 0.0;
12689                visible: 0;
12690                color: 255 255 255 0;
12691                rel1 {
12692                   relative: 0.0 0.0;
12693                   offset: -5 -5;
12694                }
12695                rel2 {
12696                   relative: 1.0 1.0;
12697                   offset: 4 4;
12698                }
12699                image {
12700                   normal: "bt_sm_base1.png";
12701                   border: 6 6 6 6;
12702                }
12703                image.middle: SOLID;
12704             }
12705             description { state: "selected" 0.0;
12706                inherit: "default" 0.0;
12707                visible: 1;
12708                color: 255 255 255 255;
12709                rel1 {
12710                   relative: 0.0 0.0;
12711                   offset: -2 -2;
12712                }
12713                rel2 {
12714                   relative: 1.0 1.0;
12715                   offset: 1 1;
12716                }
12717             }
12718          }
12719          part {
12720             name:          "elm.swallow.icon";
12721             type:          SWALLOW;
12722             description { state:    "default" 0.0;
12723                fixed: 1 0;
12724                align:    0.0 0.5;
12725                rel1 {
12726                   relative: 0.0  0.0;
12727                   offset:   4    4;
12728                }
12729                rel2 {
12730                   relative: 0.0  1.0;
12731                   offset:   4   -5;
12732                }
12733             }
12734          }
12735          part {
12736             name:          "elm.swallow.end";
12737             type:          SWALLOW;
12738             description { state:    "default" 0.0;
12739                fixed: 1 0;
12740                align: 1.0 0.5;
12741                rel1 {
12742                   relative: 1.0  0.0;
12743                   offset:   -5    4;
12744                }
12745                rel2 {
12746                   relative: 1.0  1.0;
12747                   offset:   -5   -5;
12748                }
12749             }
12750          }
12751          part {
12752             name:           "elm.text";
12753             type:           TEXT;
12754             effect:         SOFT_SHADOW;
12755             mouse_events:   0;
12756             scale: 1;
12757             description {
12758                state: "default" 0.0;
12759 //               min:      16 16;
12760                rel1 {
12761                   to_x:     "elm.swallow.icon";
12762                   relative: 1.0  0.0;
12763                   offset:   4 4;
12764                }
12765                rel2 {
12766                   to_x:     "elm.swallow.end";
12767                   relative: 0.0  1.0;
12768                   offset:   -1 -5;
12769                }
12770                color: 0 0 0 255;
12771                color3: 0 0 0 0;
12772                text {
12773                   font: "Sans";
12774                   size: 10;
12775                   min: 1 1;
12776 //                  min: 0 1;
12777                   align: -1.0 0.5;
12778                   text_class: "list_item";
12779                }
12780             }
12781             description { state: "selected" 0.0;
12782                inherit: "default" 0.0;
12783                color: 224 224 224 255;
12784                color3: 0 0 0 64;
12785             }
12786          }
12787          part { name: "fg1";
12788             mouse_events: 0;
12789             description { state: "default" 0.0;
12790                visible: 0;
12791                color: 255 255 255 0;
12792                rel1.to: "bg";
12793                rel2.relative: 1.0 0.5;
12794                rel2.to: "bg";
12795                image {
12796                   normal: "bt_sm_hilight.png";
12797                   border: 6 6 6 0;
12798                }
12799             }
12800             description { state: "selected" 0.0;
12801                inherit: "default" 0.0;
12802                visible: 1;
12803                color: 255 255 255 255;
12804             }
12805          }
12806          part { name: "fg2";
12807             mouse_events: 0;
12808             description { state: "default" 0.0;
12809                visible: 0;
12810                color: 255 255 255 0;
12811                rel1.to: "bg";
12812                rel2.to: "bg";
12813                image {
12814                   normal: "bt_sm_shine.png";
12815                   border: 6 6 6 0;
12816                }
12817             }
12818             description { state: "selected" 0.0;
12819                inherit: "default" 0.0;
12820                visible: 1;
12821                color: 255 255 255 255;
12822             }
12823          }
12824       }
12825       programs {
12826          program {
12827             name:    "go_active";
12828             signal:  "elm,state,selected";
12829             source:  "elm";
12830             action:  STATE_SET "selected" 0.0;
12831             target:  "bg";
12832             target:  "fg1";
12833             target:  "fg2";
12834             target:  "elm.text";
12835          }
12836          program {
12837             name:    "go_passive";
12838             signal:  "elm,state,unselected";
12839             source:  "elm";
12840             action:  STATE_SET "default" 0.0;
12841             target:  "bg";
12842             target:  "fg1";
12843             target:  "fg2";
12844             target:  "elm.text";
12845             transition: LINEAR 0.1;
12846          }
12847       }
12848    }
12849    group { name: "elm/list/item_compress/default";
12850       data.item: "stacking" "above";
12851       data.item: "selectraise" "on";
12852       images {
12853          image: "bt_sm_base1.png" COMP;
12854          image: "bt_sm_shine.png" COMP;
12855          image: "bt_sm_hilight.png" COMP;
12856          image: "ilist_1.png" COMP;
12857          image: "ilist_item_shadow.png" COMP;
12858       }
12859       parts {
12860          part {
12861             name:           "event";
12862             type:           RECT;
12863             repeat_events: 1;
12864             description {
12865                state: "default" 0.0;
12866                color: 0 0 0 0;
12867             }
12868          }
12869          part {
12870             name: "base_sh";
12871             mouse_events: 0;
12872             description { state: "default" 0.0;
12873                fixed: 1 1;
12874                align: 0.0 0.0;
12875                min: 0 10;
12876                rel1 {
12877                   to: "base";
12878                   relative: 0.0 1.0;
12879                   offset: 0 0;
12880                }
12881                rel2 {
12882                   to: "base";
12883                   relative: 1.0 1.0;
12884                   offset: -1 0;
12885                }
12886                image {
12887                   normal: "ilist_item_shadow.png";
12888                }
12889                fill.smooth: 0;
12890             }
12891          }
12892          part {
12893             name: "base";
12894             mouse_events: 0;
12895             description {
12896                state: "default" 0.0;
12897                image {
12898                   normal: "ilist_1.png";
12899                   border: 2 2 2 2;
12900                }
12901                fill.smooth: 0;
12902             }
12903          }
12904          part { name: "bg";
12905             mouse_events: 0;
12906             description { state: "default" 0.0;
12907                visible: 0;
12908                color: 255 255 255 0;
12909                rel1 {
12910                   relative: 0.0 0.0;
12911                   offset: -5 -5;
12912                }
12913                rel2 {
12914                   relative: 1.0 1.0;
12915                   offset: 4 4;
12916                }
12917                image {
12918                   normal: "bt_sm_base1.png";
12919                   border: 6 6 6 6;
12920                }
12921                image.middle: SOLID;
12922             }
12923             description { state: "selected" 0.0;
12924                inherit: "default" 0.0;
12925                visible: 1;
12926                color: 255 255 255 255;
12927                rel1 {
12928                   relative: 0.0 0.0;
12929                   offset: -2 -2;
12930                }
12931                rel2 {
12932                   relative: 1.0 1.0;
12933                   offset: 1 1;
12934                }
12935             }
12936          }
12937          part { name:          "elm.swallow.icon";
12938             type:          SWALLOW;
12939             description { state:    "default" 0.0;
12940                fixed: 1 0;
12941                align:    0.0 0.5;
12942                rel1 {
12943                   relative: 0.0  0.0;
12944                   offset:   4    4;
12945                }
12946                rel2 {
12947                   relative: 0.0  1.0;
12948                   offset:   4   -5;
12949                }
12950             }
12951          }
12952          part { name:          "elm.swallow.end";
12953             type:          SWALLOW;
12954             description { state:    "default" 0.0;
12955                fixed: 1 0;
12956                align:    1.0 0.5;
12957                rel1 {
12958                   relative: 1.0  0.0;
12959                   offset:   -5    4;
12960                }
12961                rel2 {
12962                   relative: 1.0  1.0;
12963                   offset:   -5   -5;
12964                }
12965             }
12966          }
12967          part {
12968             name:           "elm.text";
12969             type:           TEXT;
12970             effect:         SOFT_SHADOW;
12971             mouse_events:   0;
12972             scale: 1;
12973             description { state: "default" 0.0;
12974 //               min:      16 16;
12975                rel1 {
12976                   to_x:     "elm.swallow.icon";
12977                   relative: 1.0  0.0;
12978                   offset:   4 4;
12979                }
12980                rel2 {
12981                   to_x:     "elm.swallow.end";
12982                   relative: 0.0  1.0;
12983                   offset:   -1 -5;
12984                }
12985                color: 0 0 0 255;
12986                color3: 0 0 0 0;
12987                text {
12988                   font: "Sans";
12989                   size: 10;
12990 //                  min: 1 1;
12991                   min: 0 1;
12992                   align: 0.0 0.5;
12993                   text_class: "list_item";
12994                }
12995             }
12996             description { state: "selected" 0.0;
12997                inherit: "default" 0.0;
12998                color: 224 224 224 255;
12999                color3: 0 0 0 64;
13000             }
13001          }
13002          part { name: "fg1";
13003             mouse_events: 0;
13004             description { state: "default" 0.0;
13005                visible: 0;
13006                color: 255 255 255 0;
13007                rel1.to: "bg";
13008                rel2.relative: 1.0 0.5;
13009                rel2.to: "bg";
13010                image {
13011                   normal: "bt_sm_hilight.png";
13012                   border: 6 6 6 0;
13013                }
13014             }
13015             description { state: "selected" 0.0;
13016                inherit: "default" 0.0;
13017                visible: 1;
13018                color: 255 255 255 255;
13019             }
13020          }
13021          part { name: "fg2";
13022             mouse_events: 0;
13023             description { state: "default" 0.0;
13024                visible: 0;
13025                color: 255 255 255 0;
13026                rel1.to: "bg";
13027                rel2.to: "bg";
13028                image {
13029                   normal: "bt_sm_shine.png";
13030                   border: 6 6 6 0;
13031                }
13032             }
13033             description { state: "selected" 0.0;
13034                inherit: "default" 0.0;
13035                visible: 1;
13036                color: 255 255 255 255;
13037             }
13038          }
13039       }
13040       programs {
13041          program {
13042             name:    "go_active";
13043             signal:  "elm,state,selected";
13044             source:  "elm";
13045             action:  STATE_SET "selected" 0.0;
13046             target:  "bg";
13047             target:  "fg1";
13048             target:  "fg2";
13049             target:  "elm.text";
13050          }
13051          program {
13052             name:    "go_passive";
13053             signal:  "elm,state,unselected";
13054             source:  "elm";
13055             action:  STATE_SET "default" 0.0;
13056             target:  "bg";
13057             target:  "fg1";
13058             target:  "fg2";
13059             target:  "elm.text";
13060             transition: LINEAR 0.1;
13061          }
13062       }
13063    }
13064    group { name: "elm/list/item_compress_odd/default";
13065       data.item: "stacking" "below";
13066       data.item: "selectraise" "on";
13067       images {
13068          image: "bt_sm_base1.png" COMP;
13069          image: "bt_sm_shine.png" COMP;
13070          image: "bt_sm_hilight.png" COMP;
13071          image: "ilist_2.png" COMP;
13072       }
13073       parts {
13074          part {
13075             name:           "event";
13076             type:           RECT;
13077             repeat_events: 1;
13078             description {
13079                state: "default" 0.0;
13080                color: 0 0 0 0;
13081             }
13082          }
13083          part {
13084             name: "base";
13085             mouse_events: 0;
13086             description {
13087                state: "default" 0.0;
13088                image {
13089                   normal: "ilist_2.png";
13090                   border: 2 2 2 2;
13091                }
13092                fill.smooth: 0;
13093             }
13094          }
13095          part { name: "bg";
13096             mouse_events: 0;
13097             description { state: "default" 0.0;
13098                visible: 0;
13099                color: 255 255 255 0;
13100                rel1 {
13101                   relative: 0.0 0.0;
13102                   offset: -5 -5;
13103                }
13104                rel2 {
13105                   relative: 1.0 1.0;
13106                   offset: 4 4;
13107                }
13108                image {
13109                   normal: "bt_sm_base1.png";
13110                   border: 6 6 6 6;
13111                }
13112                image.middle: SOLID;
13113             }
13114             description { state: "selected" 0.0;
13115                inherit: "default" 0.0;
13116                visible: 1;
13117                color: 255 255 255 255;
13118                rel1 {
13119                   relative: 0.0 0.0;
13120                   offset: -2 -2;
13121                }
13122                rel2 {
13123                   relative: 1.0 1.0;
13124                   offset: 1 1;
13125                }
13126             }
13127          }
13128          part { name:          "elm.swallow.icon";
13129             type:          SWALLOW;
13130             description { state:    "default" 0.0;
13131                fixed: 1 0;
13132                align:    0.0 0.5;
13133                rel1 {
13134                   relative: 0.0  0.0;
13135                   offset:   4    4;
13136                }
13137                rel2 {
13138                   relative: 0.0  1.0;
13139                   offset:   4   -5;
13140                }
13141             }
13142          }
13143          part { name:          "elm.swallow.end";
13144             type:          SWALLOW;
13145             description { state:    "default" 0.0;
13146                fixed: 1 0;
13147                align:    1.0 0.5;
13148                rel1 {
13149                   relative: 1.0  0.0;
13150                   offset:   -5    4;
13151                }
13152                rel2 {
13153                   relative: 1.0  1.0;
13154                   offset:   -5   -5;
13155                }
13156             }
13157          }
13158          part {
13159             name:           "elm.text";
13160             type:           TEXT;
13161             effect:         SOFT_SHADOW;
13162             mouse_events:   0;
13163             scale: 1;
13164             description {
13165                state: "default" 0.0;
13166 //               min:      16 16;
13167                rel1 {
13168                   to_x:     "elm.swallow.icon";
13169                   relative: 1.0  0.0;
13170                   offset:   4 4;
13171                }
13172                rel2 {
13173                   to_x:     "elm.swallow.end";
13174                   relative: 0.0  1.0;
13175                   offset:   -1 -5;
13176                }
13177                color: 0 0 0 255;
13178                color3: 0 0 0 0;
13179                text {
13180                   font: "Sans";
13181                   size: 10;
13182 //                  min: 1 1;
13183                   min: 0 1;
13184                   align: 0.0 0.5;
13185                   text_class: "list_item";
13186                }
13187             }
13188             description { state: "selected" 0.0;
13189                inherit: "default" 0.0;
13190                color: 224 224 224 255;
13191                color3: 0 0 0 64;
13192             }
13193          }
13194          part { name: "fg1";
13195             mouse_events: 0;
13196             description { state: "default" 0.0;
13197                visible: 0;
13198                color: 255 255 255 0;
13199                rel1.to: "bg";
13200                rel2.relative: 1.0 0.5;
13201                rel2.to: "bg";
13202                image {
13203                   normal: "bt_sm_hilight.png";
13204                   border: 6 6 6 0;
13205                }
13206             }
13207             description { state: "selected" 0.0;
13208                inherit: "default" 0.0;
13209                visible: 1;
13210                color: 255 255 255 255;
13211             }
13212          }
13213          part { name: "fg2";
13214             mouse_events: 0;
13215             description { state: "default" 0.0;
13216                visible: 0;
13217                color: 255 255 255 0;
13218                rel1.to: "bg";
13219                rel2.to: "bg";
13220                image {
13221                   normal: "bt_sm_shine.png";
13222                   border: 6 6 6 0;
13223                }
13224             }
13225             description { state: "selected" 0.0;
13226                inherit: "default" 0.0;
13227                visible: 1;
13228                color: 255 255 255 255;
13229             }
13230          }
13231       }
13232       programs {
13233          program {
13234             name:    "go_active";
13235             signal:  "elm,state,selected";
13236             source:  "elm";
13237             action:  STATE_SET "selected" 0.0;
13238             target:  "bg";
13239             target:  "fg1";
13240             target:  "fg2";
13241             target:  "elm.text";
13242          }
13243          program {
13244             name:    "go_passive";
13245             signal:  "elm,state,unselected";
13246             source:  "elm";
13247             action:  STATE_SET "default" 0.0;
13248             target:  "bg";
13249             target:  "fg1";
13250             target:  "fg2";
13251             target:  "elm.text";
13252             transition: LINEAR 0.1;
13253          }
13254       }
13255    }
13256
13257 ///////////////////////////////////////////////////////////////////////////////
13258    group { name: "elm/list/h_item/default";
13259       data.item: "stacking" "above";
13260       images {
13261          image: "bt_sm_base1.png" COMP;
13262          image: "bt_sm_shine.png" COMP;
13263          image: "bt_sm_hilight.png" COMP;
13264          image: "ilist_1_h.png" COMP;
13265          image: "ilist_item_shadow_h.png" COMP;
13266       }
13267       parts {
13268          part {
13269             name: "event";
13270             type: RECT;
13271             repeat_events: 1;
13272             description {
13273                state: "default" 0.0;
13274                color: 0 0 0 0;
13275             }
13276          }
13277          part {
13278             name: "base_sh";
13279             mouse_events: 0;
13280             description {
13281                state: "default" 0.0;
13282                align: 0.0 0.0;
13283                min: 10 0;
13284                fixed: 1 1;
13285                rel1 {
13286                   to: "base";
13287                   relative: 1.0 0.0;
13288                   offset: 0 0;
13289                }
13290                rel2 {
13291                   to: "base";
13292                   relative: 1.0 1.0;
13293                   offset: 0 -1;
13294                }
13295                image {
13296                   normal: "ilist_item_shadow_h.png";
13297                }
13298                fill.smooth: 0;
13299             }
13300          }
13301          part {
13302             name: "base";
13303             mouse_events: 0;
13304             description {
13305                state: "default" 0.0;
13306                image {
13307                   normal: "ilist_1_h.png";
13308                   border: 2 2 2 2;
13309                }
13310                fill.smooth: 0;
13311             }
13312          }
13313          part { name: "bg";
13314             mouse_events: 0;
13315             description { state: "default" 0.0;
13316                visible: 0;
13317                color: 255 255 255 0;
13318                rel1 {
13319                   relative: 0.0 0.0;
13320                   offset: -5 -5;
13321                }
13322                rel2 {
13323                   relative: 1.0 1.0;
13324                   offset: 4 4;
13325                }
13326                image {
13327                   normal: "bt_sm_base1.png";
13328                   border: 6 6 6 6;
13329                }
13330                image.middle: SOLID;
13331             }
13332             description { state: "selected" 0.0;
13333                inherit: "default" 0.0;
13334                visible: 1;
13335                color: 255 255 255 255;
13336                rel1 {
13337                   relative: 0.0 0.0;
13338                   offset: -2 -2;
13339                }
13340                rel2 {
13341                   relative: 1.0 1.0;
13342                   offset: 1 1;
13343                }
13344             }
13345          }
13346          part { name: "elm.swallow.icon";
13347             type: SWALLOW;
13348             description { state: "default" 0.0;
13349                fixed: 0 1;
13350                align: 0.5 0.0;
13351                rel1 {
13352                   relative: 0.0 0.0;
13353                   offset: 4 4;
13354                }
13355                rel2 {
13356                   relative: 1.0 0.0;
13357                   offset: -5 4;
13358                }
13359             }
13360          }
13361          part { name: "elm.swallow.end";
13362             type: SWALLOW;
13363             description { state: "default" 0.0;
13364                fixed: 0 1;
13365                align: 0.5 1.0;
13366                rel1 {
13367                   relative: 0.0 1.0;
13368                   offset: 4 -5;
13369                }
13370                rel2 {
13371                   relative: 1.0 1.0;
13372                   offset: -5 -5;
13373                }
13374             }
13375          }
13376          part { name: "elm.text";
13377             type: TEXT;
13378             effect: SOFT_SHADOW;
13379             mouse_events: 0;
13380             scale: 1;
13381             description {
13382                state: "default" 0.0;
13383                fixed: 0 1;
13384                rel1 {
13385                   to_x: "elm.swallow.icon";
13386                   relative: 0.0 1.0;
13387                   offset: 4 4;
13388                }
13389                rel2 {
13390                   to_x: "elm.swallow.end";
13391                   relative: 1.0 0.0;
13392                   offset: -5 -1;
13393                }
13394                color: 0 0 0 255;
13395                color3: 0 0 0 0;
13396                text {
13397                   font: "Sans";
13398                   size: 10;
13399                   min: 1 1;
13400                   align: 0.5 0.5;
13401                   text_class: "list_item";
13402                }
13403             }
13404             description { state: "selected" 0.0;
13405                inherit: "default" 0.0;
13406                color: 224 224 224 255;
13407                color3: 0 0 0 64;
13408             }
13409          }
13410          part { name: "fg1";
13411             mouse_events: 0;
13412             description { state: "default" 0.0;
13413                visible: 0;
13414                color: 255 255 255 0;
13415                rel1.to: "bg";
13416                rel2.relative: 1.0 0.5;
13417                rel2.to: "bg";
13418                image {
13419                   normal: "bt_sm_hilight.png";
13420                   border: 6 6 6 0;
13421                }
13422             }
13423             description { state: "selected" 0.0;
13424                inherit: "default" 0.0;
13425                visible: 1;
13426                color: 255 255 255 255;
13427             }
13428          }
13429          part { name: "fg2";
13430             mouse_events: 0;
13431             description { state: "default" 0.0;
13432                visible: 0;
13433                color: 255 255 255 0;
13434                rel1.to: "bg";
13435                rel2.to: "bg";
13436                image {
13437                   normal: "bt_sm_shine.png";
13438                   border: 6 6 6 0;
13439                }
13440             }
13441             description { state: "selected" 0.0;
13442                inherit: "default" 0.0;
13443                visible: 1;
13444                color: 255 255 255 255;
13445             }
13446          }
13447       }
13448       programs {
13449          program {
13450             name: "go_active";
13451             signal: "elm,state,selected";
13452             source: "elm";
13453             action: STATE_SET "selected" 0.0;
13454             target: "bg";
13455             target: "fg1";
13456             target: "fg2";
13457             target: "elm.text";
13458          }
13459          program {
13460             name: "go_passive";
13461             signal: "elm,state,unselected";
13462             source: "elm";
13463             action: STATE_SET "default" 0.0;
13464             target: "bg";
13465             target: "fg1";
13466             target: "fg2";
13467             target: "elm.text";
13468             transition: LINEAR 0.1;
13469          }
13470       }
13471    }
13472    group { name: "elm/list/h_item_odd/default";
13473       data.item: "stacking" "below";
13474       data.item: "selectraise" "on";
13475       images {
13476          image: "bt_sm_base1.png" COMP;
13477          image: "bt_sm_shine.png" COMP;
13478          image: "bt_sm_hilight.png" COMP;
13479          image: "ilist_2_h.png" COMP;
13480       }
13481       parts {
13482          part {
13483             name: "event";
13484             type: RECT;
13485             repeat_events: 1;
13486             description {
13487                state: "default" 0.0;
13488                color: 0 0 0 0;
13489             }
13490          }
13491          part {
13492             name: "base";
13493             mouse_events: 0;
13494             description {
13495                state: "default" 0.0;
13496                image {
13497                   normal: "ilist_2_h.png";
13498                   border: 2 2 2 2;
13499                }
13500                fill.smooth: 0;
13501             }
13502          }
13503          part { name: "bg";
13504             mouse_events: 0;
13505             description { state: "default" 0.0;
13506                visible: 0;
13507                color: 255 255 255 0;
13508                rel1 {
13509                   relative: 0.0 0.0;
13510                   offset: -5 -5;
13511                }
13512                rel2 {
13513                   relative: 1.0 1.0;
13514                   offset: 4 4;
13515                }
13516                image {
13517                   normal: "bt_sm_base1.png";
13518                   border: 6 6 6 6;
13519                }
13520                image.middle: SOLID;
13521             }
13522             description { state: "selected" 0.0;
13523                inherit: "default" 0.0;
13524                visible: 1;
13525                color: 255 255 255 255;
13526                rel1 {
13527                   relative: 0.0 0.0;
13528                   offset: -2 -2;
13529                }
13530                rel2 {
13531                   relative: 1.0 1.0;
13532                   offset: 1 1;
13533                }
13534             }
13535          }
13536          part {
13537             name: "elm.swallow.icon";
13538             type: SWALLOW;
13539             description { state: "default" 0.0;
13540                fixed: 0 1;
13541                align: 0.5 0.0;
13542                rel1 {
13543                   relative: 0.0 0.0;
13544                   offset: 4 4;
13545                }
13546                rel2 {
13547                   relative: 1.0 0.0;
13548                   offset: -5 4;
13549                }
13550             }
13551          }
13552          part {
13553             name: "elm.swallow.end";
13554             type: SWALLOW;
13555             description { state: "default" 0.0;
13556                fixed: 0 1;
13557                align: 0.5 1.0;
13558                rel1 {
13559                   relative: 0.0 1.0;
13560                   offset: 4 -5;
13561                }
13562                rel2 {
13563                   relative: 1.0 1.0;
13564                   offset: -5 -5;
13565                }
13566             }
13567          }
13568          part { name: "elm.text";
13569             type: TEXT;
13570             effect: SOFT_SHADOW;
13571             mouse_events: 0;
13572             scale: 1;
13573             description {
13574                state: "default" 0.0;
13575                fixed: 1 1;
13576                rel1 {
13577                   to_x: "elm.swallow.icon";
13578                   relative: 0.0 1.0;
13579                   offset: 4 4;
13580                }
13581                rel2 {
13582                   to_x: "elm.swallow.end";
13583                   relative: 1.0 0.0;
13584                   offset: -5 -1;
13585                }
13586                color: 0 0 0 255;
13587                color3: 0 0 0 0;
13588                text {
13589                   font: "Sans";
13590                   size: 10;
13591                   min: 1 1;
13592                   align: 0.5 0.5;
13593                   text_class: "list_item";
13594                }
13595             }
13596             description { state: "selected" 0.0;
13597                inherit: "default" 0.0;
13598                color: 224 224 224 255;
13599                color3: 0 0 0 64;
13600             }
13601          }
13602          part { name: "fg1";
13603             mouse_events: 0;
13604             description { state: "default" 0.0;
13605                visible: 0;
13606                color: 255 255 255 0;
13607                rel1.to: "bg";
13608                rel2.relative: 1.0 0.5;
13609                rel2.to: "bg";
13610                image {
13611                   normal: "bt_sm_hilight.png";
13612                   border: 6 6 6 0;
13613                }
13614             }
13615             description { state: "selected" 0.0;
13616                inherit: "default" 0.0;
13617                visible: 1;
13618                color: 255 255 255 255;
13619             }
13620          }
13621          part { name: "fg2";
13622             mouse_events: 0;
13623             description { state: "default" 0.0;
13624                visible: 0;
13625                color: 255 255 255 0;
13626                rel1.to: "bg";
13627                rel2.to: "bg";
13628                image {
13629                   normal: "bt_sm_shine.png";
13630                   border: 6 6 6 0;
13631                }
13632             }
13633             description { state: "selected" 0.0;
13634                inherit: "default" 0.0;
13635                visible: 1;
13636                color: 255 255 255 255;
13637             }
13638          }
13639       }
13640       programs {
13641          program {
13642             name: "go_active";
13643             signal: "elm,state,selected";
13644             source: "elm";
13645             action: STATE_SET "selected" 0.0;
13646             target: "bg";
13647             target: "fg1";
13648             target: "fg2";
13649             target: "elm.text";
13650          }
13651          program {
13652             name: "go_passive";
13653             signal: "elm,state,unselected";
13654             source: "elm";
13655             action: STATE_SET "default" 0.0;
13656             target: "bg";
13657             target: "fg1";
13658             target: "fg2";
13659             target: "elm.text";
13660             transition: LINEAR 0.1;
13661          }
13662       }
13663    }
13664    group { name: "elm/list/h_item_compress/default";
13665       data.item: "stacking" "above";
13666       data.item: "selectraise" "on";
13667       images {
13668          image: "bt_sm_base1.png" COMP;
13669          image: "bt_sm_shine.png" COMP;
13670          image: "bt_sm_hilight.png" COMP;
13671          image: "ilist_1_h.png" COMP;
13672          image: "ilist_item_shadow_h.png" COMP;
13673       }
13674       parts {
13675          part {
13676             name: "event";
13677             type: RECT;
13678             repeat_events: 1;
13679             description {
13680                state: "default" 0.0;
13681                color: 0 0 0 0;
13682             }
13683          }
13684          part {
13685             name: "base_sh";
13686             mouse_events: 0;
13687             description { state: "default" 0.0;
13688                fixed: 1 1;
13689                align: 0.0 0.0;
13690                min: 10 0;
13691                rel1 {
13692                   to: "base";
13693                   relative: 1.0 0.0;
13694                   offset: 0 0;
13695                }
13696                rel2 {
13697                   to: "base";
13698                   relative: 1.0 1.0;
13699                   offset: 0 -1;
13700                }
13701                image {
13702                   normal: "ilist_item_shadow_h.png";
13703                }
13704                fill.smooth: 0;
13705             }
13706          }
13707          part {
13708             name: "base";
13709             mouse_events: 0;
13710             description {
13711                state: "default" 0.0;
13712                image {
13713                   normal: "ilist_1_h.png";
13714                   border: 2 2 2 2;
13715                }
13716                fill.smooth: 0;
13717             }
13718          }
13719          part { name: "bg";
13720             mouse_events: 0;
13721             description { state: "default" 0.0;
13722                visible: 0;
13723                color: 255 255 255 0;
13724                rel1 {
13725                   relative: 0.0 0.0;
13726                   offset: -5 -5;
13727                }
13728                rel2 {
13729                   relative: 1.0 1.0;
13730                   offset: 4 4;
13731                }
13732                image {
13733                   normal: "bt_sm_base1.png";
13734                   border: 6 6 6 6;
13735                }
13736                image.middle: SOLID;
13737             }
13738             description { state: "selected" 0.0;
13739                inherit: "default" 0.0;
13740                visible: 1;
13741                color: 255 255 255 255;
13742                rel1 {
13743                   relative: 0.0 0.0;
13744                   offset: -2 -2;
13745                }
13746                rel2 {
13747                   relative: 1.0 1.0;
13748                   offset: 1 1;
13749                }
13750             }
13751          }
13752          part { name: "elm.swallow.icon";
13753             type: SWALLOW;
13754             description { state: "default" 0.0;
13755                fixed: 0 1;
13756                align: 0.5 0.0;
13757                rel1 {
13758                   relative: 0.0 0.0;
13759                   offset: 4 4;
13760                }
13761                rel2 {
13762                   relative: 1.0 0.0;
13763                   offset: -5 4;
13764                }
13765             }
13766          }
13767          part { name: "elm.swallow.end";
13768             type: SWALLOW;
13769             description { state: "default" 0.0;
13770                fixed: 0 1;
13771                align: 0.5 1.0;
13772                rel1 {
13773                   relative: 0.0 1.0;
13774                   offset: 4 -5;
13775                }
13776                rel2 {
13777                   relative: 1.0 1.0;
13778                   offset: -5 -5;
13779                }
13780             }
13781          }
13782          part {
13783             name: "elm.text";
13784             type: TEXT;
13785             effect: SOFT_SHADOW;
13786             mouse_events: 0;
13787             scale: 1;
13788             description { state: "default" 0.0;
13789                fixed: 1 1;
13790                rel1 {
13791                   to_x: "elm.swallow.icon";
13792                   relative: 0.0 1.0;
13793                   offset: 4 4;
13794                }
13795                rel2 {
13796                   to_x: "elm.swallow.end";
13797                   relative: 1.0 0.0;
13798                   offset: -5 -1;
13799                }
13800                color: 0 0 0 255;
13801                color3: 0 0 0 0;
13802                text {
13803                   font: "Sans";
13804                   size: 10;
13805                   min: 1 1;
13806                   align: 0.5 0.5;
13807                   text_class: "list_item";
13808                }
13809             }
13810             description { state: "selected" 0.0;
13811                inherit: "default" 0.0;
13812                color: 224 224 224 255;
13813                color3: 0 0 0 64;
13814             }
13815          }
13816          part { name: "fg1";
13817             mouse_events: 0;
13818             description { state: "default" 0.0;
13819                visible: 0;
13820                color: 255 255 255 0;
13821                rel1.to: "bg";
13822                rel2.relative: 1.0 0.5;
13823                rel2.to: "bg";
13824                image {
13825                   normal: "bt_sm_hilight.png";
13826                   border: 6 6 6 0;
13827                }
13828             }
13829             description { state: "selected" 0.0;
13830                inherit: "default" 0.0;
13831                visible: 1;
13832                color: 255 255 255 255;
13833             }
13834          }
13835          part { name: "fg2";
13836             mouse_events: 0;
13837             description { state: "default" 0.0;
13838                visible: 0;
13839                color: 255 255 255 0;
13840                rel1.to: "bg";
13841                rel2.to: "bg";
13842                image {
13843                   normal: "bt_sm_shine.png";
13844                   border: 6 6 6 0;
13845                }
13846             }
13847             description { state: "selected" 0.0;
13848                inherit: "default" 0.0;
13849                visible: 1;
13850                color: 255 255 255 255;
13851             }
13852          }
13853       }
13854       programs {
13855          program {
13856             name: "go_active";
13857             signal: "elm,state,selected";
13858             source: "elm";
13859             action: STATE_SET "selected" 0.0;
13860             target: "bg";
13861             target: "fg1";
13862             target: "fg2";
13863             target: "elm.text";
13864          }
13865          program {
13866             name: "go_passive";
13867             signal: "elm,state,unselected";
13868             source: "elm";
13869             action: STATE_SET "default" 0.0;
13870             target: "bg";
13871             target: "fg1";
13872             target: "fg2";
13873             target: "elm.text";
13874             transition: LINEAR 0.1;
13875          }
13876       }
13877    }
13878    group { name: "elm/list/h_item_compress_odd/default";
13879       data.item: "stacking" "below";
13880       data.item: "selectraise" "on";
13881       images {
13882          image: "bt_sm_base1.png" COMP;
13883          image: "bt_sm_shine.png" COMP;
13884          image: "bt_sm_hilight.png" COMP;
13885          image: "ilist_2_h.png" COMP;
13886       }
13887       parts {
13888          part {
13889             name: "event";
13890             type: RECT;
13891             repeat_events: 1;
13892             description {
13893                state: "default" 0.0;
13894                color: 0 0 0 0;
13895             }
13896          }
13897          part {
13898             name: "base";
13899             mouse_events: 0;
13900             description {
13901                state: "default" 0.0;
13902                image {
13903                   normal: "ilist_2_h.png";
13904                   border: 2 2 2 2;
13905                }
13906                fill.smooth: 0;
13907             }
13908          }
13909          part { name: "bg";
13910             mouse_events: 0;
13911             description { state: "default" 0.0;
13912                visible: 0;
13913                color: 255 255 255 0;
13914                rel1 {
13915                   relative: 0.0 0.0;
13916                   offset: -5 -5;
13917                }
13918                rel2 {
13919                   relative: 1.0 1.0;
13920                   offset: 4 4;
13921                }
13922                image {
13923                   normal: "bt_sm_base1.png";
13924                   border: 6 6 6 6;
13925                }
13926                image.middle: SOLID;
13927             }
13928             description { state: "selected" 0.0;
13929                inherit: "default" 0.0;
13930                visible: 1;
13931                color: 255 255 255 255;
13932                rel1 {
13933                   relative: 0.0 0.0;
13934                   offset: -2 -2;
13935                }
13936                rel2 {
13937                   relative: 1.0 1.0;
13938                   offset: 1 1;
13939                }
13940             }
13941          }
13942          part { name: "elm.swallow.icon";
13943             type: SWALLOW;
13944             description { state: "default" 0.0;
13945                fixed: 0 1;
13946                align: 0.5 0.0;
13947                rel1 {
13948                   relative: 0.0 0.0;
13949                   offset: 4 4;
13950                }
13951                rel2 {
13952                   relative: 1.0 0.0;
13953                   offset: -5 4;
13954                }
13955             }
13956          }
13957          part { name: "elm.swallow.end";
13958             type: SWALLOW;
13959             description { state: "default" 0.0;
13960                fixed: 0 1;
13961                align: 0.5 1.0;
13962                rel1 {
13963                   relative: 0.0 1.0;
13964                   offset: 4 -5;
13965                }
13966                rel2 {
13967                   relative: 1.0 1.0;
13968                   offset: -5 -5;
13969                }
13970             }
13971          }
13972          part { name: "elm.text";
13973             type: TEXT;
13974             effect: SOFT_SHADOW;
13975             mouse_events: 0;
13976             scale: 1;
13977             description {
13978                state: "default" 0.0;
13979                fixed: 1 1;
13980                rel1 {
13981                   to_x: "elm.swallow.icon";
13982                   relative: 0.0 1.0;
13983                   offset: 4 4;
13984                }
13985                rel2 {
13986                   to_x: "elm.swallow.end";
13987                   relative: 1.0 0.0;
13988                   offset: -5 -1;
13989                }
13990                color: 0 0 0 255;
13991                color3: 0 0 0 0;
13992                text {
13993                   font: "Sans";
13994                   size: 10;
13995                   min: 1 1;
13996                   align: 0.5 0.5;
13997                   text_class: "list_item";
13998                }
13999             }
14000             description { state: "selected" 0.0;
14001                inherit: "default" 0.0;
14002                color: 224 224 224 255;
14003                color3: 0 0 0 64;
14004             }
14005          }
14006          part { name: "fg1";
14007             mouse_events: 0;
14008             description { state: "default" 0.0;
14009                visible: 0;
14010                color: 255 255 255 0;
14011                rel1.to: "bg";
14012                rel2.relative: 1.0 0.5;
14013                rel2.to: "bg";
14014                image {
14015                   normal: "bt_sm_hilight.png";
14016                   border: 6 6 6 0;
14017                }
14018             }
14019             description { state: "selected" 0.0;
14020                inherit: "default" 0.0;
14021                visible: 1;
14022                color: 255 255 255 255;
14023             }
14024          }
14025          part { name: "fg2";
14026             mouse_events: 0;
14027             description { state: "default" 0.0;
14028                visible: 0;
14029                color: 255 255 255 0;
14030                rel1.to: "bg";
14031                rel2.to: "bg";
14032                image {
14033                   normal: "bt_sm_shine.png";
14034                   border: 6 6 6 0;
14035                }
14036             }
14037             description { state: "selected" 0.0;
14038                inherit: "default" 0.0;
14039                visible: 1;
14040                color: 255 255 255 255;
14041             }
14042          }
14043       }
14044       programs {
14045          program {
14046             name: "go_active";
14047             signal: "elm,state,selected";
14048             source: "elm";
14049             action: STATE_SET "selected" 0.0;
14050             target: "bg";
14051             target: "fg1";
14052             target: "fg2";
14053             target: "elm.text";
14054          }
14055          program {
14056             name: "go_passive";
14057             signal: "elm,state,unselected";
14058             source: "elm";
14059             action: STATE_SET "default" 0.0;
14060             target: "bg";
14061             target: "fg1";
14062             target: "fg2";
14063             target: "elm.text";
14064             transition: LINEAR 0.1;
14065          }
14066       }
14067    }
14068
14069 ///////////////////////////////////////////////////////////////////////////////
14070    group { name: "elm/slider/horizontal/default";
14071            alias: "elm/slider/horizontal/disabled";
14072       images {
14073          image: "sl_bg.png" COMP;
14074          image: "sl_bg_over.png" COMP;
14075
14076          image: "sl_units.png" COMP;
14077       }
14078       parts {
14079          part { name: "base";
14080             mouse_events: 0;
14081             description { state: "default" 0.0;
14082                max: 99999 6;
14083                min: 0 6;
14084                rel1 { to: "bg";
14085                   offset: 1 0;
14086                }
14087                rel2 { to: "bg";
14088                   offset: -2 -1;
14089                }
14090                image.normal: "sl_bg.png";
14091                fill.smooth: 0;
14092             }
14093          }
14094          part { name: "level";
14095             type: RECT;
14096             mouse_events: 0;
14097             description { state: "default" 0.0;
14098                fixed: 1 1;
14099                rel1.to: "base";
14100                rel2 {
14101                   to_y: "base";
14102                   to_x: "elm.dragable.slider";
14103                   relative: 0.5 1.0;
14104                }
14105                color: 255 0 0 200;
14106             }
14107             description { state: "inverted" 0.0;
14108                inherit: "default" 0.0;
14109                visible: 0;
14110             }
14111             description { state: "disabled" 0.0;
14112                inherit: "default" 0.0;
14113                color: 255 0 0 100;
14114             }
14115             description { state: "disabled_inverted" 0.0;
14116                inherit: "default" 0.0;
14117                visible: 0;
14118             }
14119          }
14120          part { name: "level2";
14121             type: RECT;
14122             mouse_events: 0;
14123             description { state: "default" 0.0;
14124                fixed: 1 1;
14125                visible: 0;
14126                rel1 {
14127                   to_y: "base";
14128                   to_x: "elm.dragable.slider";
14129                   relative: 0.5 0.0;
14130                }
14131                rel2.to: "base";
14132                color: 255 0 0 200;
14133             }
14134             description { state: "inverted" 0.0;
14135                inherit: "default" 0.0;
14136                visible: 1;
14137             }
14138             description { state: "disabled" 0.0;
14139                inherit: "default" 0.0;
14140             }
14141             description { state: "disabled_inverted" 0.0;
14142                inherit: "default" 0.0;
14143                color: 255 0 0 100;
14144                visible: 1;
14145             }
14146          }
14147          part {
14148             name: "base_over";
14149             mouse_events: 0;
14150             description { state: "default" 0.0;
14151                rel1.to: "base";
14152                rel1.offset: -1 -1;
14153                rel2.to: "base";
14154                rel2.offset: 0 0;
14155                image {
14156                   normal: "sl_bg_over.png";
14157                   border: 3 3 3 3;
14158                }
14159                fill.smooth: 0;
14160             }
14161          }
14162          part { name: "bg";
14163             type: RECT;
14164             mouse_events: 0;
14165             scale: 1;
14166             description { state: "default" 0.0;
14167                visible: 0;
14168                rel1.to: "elm.swallow.bar";
14169                rel2.to: "elm.swallow.bar";
14170                color: 0 0 0 0;
14171             }
14172          }
14173          part { name: "elm.swallow.bar";
14174             type: SWALLOW;
14175             scale: 1;
14176             description { state: "default" 0.0;
14177                min: 48 24;
14178                max: 99999 24;
14179                align: 1.0 0.5;
14180                rel1 {
14181                   to_x: "elm.text";
14182                   relative: 1.0 0.0;
14183                   offset: 8 0;
14184                }
14185                rel2 {
14186                   to_x: "elm.units";
14187                   relative: 0.0 1.0;
14188                   offset: -10 -1;
14189                }
14190             }
14191          }
14192          part { name: "elm.swallow.icon";
14193             type: SWALLOW;
14194             description { state: "default" 0.0;
14195                visible: 0;
14196                align: 0.0 0.5;
14197                rel1 {
14198                   offset: 4 0;
14199                   to_y: "elm.swallow.bar";
14200                }
14201                rel2 {
14202                   offset: 3 -1;
14203                   relative: 0.0 1.0;
14204                   to_y: "elm.swallow.bar";
14205                }
14206             }
14207             description { state: "visible" 0.0;
14208                inherit: "default" 0.0;
14209                visible: 1;
14210                aspect: 1.0 1.0;
14211                aspect_preference: VERTICAL;
14212                rel2.offset: 4 -1;
14213             }
14214          }
14215          part { name: "elm.text";
14216             type: TEXT;
14217             mouse_events: 0;
14218             scale: 1;
14219             description { state: "default" 0.0;
14220                visible: 0;
14221                fixed: 1 1;
14222                align: 0.0 0.5;
14223                rel1.to_x: "elm.swallow.icon";
14224                rel1.relative: 1.0 0.0;
14225                rel1.offset: -1 4;
14226                rel2.to_x: "elm.swallow.icon";
14227                rel2.relative: 1.0 1.0;
14228                rel2.offset: -1 -5;
14229                color: 0 0 0 255;
14230                text {
14231                   font: "Sans,Edje-Vera";
14232                   size: 10;
14233                   min: 0 0;
14234                   align: 0.0 0.5;
14235                }
14236             }
14237             description { state: "visible" 0.0;
14238                inherit: "default" 0.0;
14239                visible: 1;
14240                text.min: 1 1;
14241                rel1.offset: 0 4;
14242                rel2.offset: 0 -5;
14243             }
14244             description { state: "disabled" 0.0;
14245                inherit: "default" 0.0;
14246                color: 255 128 128 128;
14247                visible: 0;
14248             }
14249             description { state: "disabled_visible" 0.0;
14250                inherit: "default" 0.0;
14251                color: 0 0 0 128;
14252                color3: 0 0 0 0;
14253                visible: 1;
14254                text.min: 1 1;
14255             }
14256          }
14257          part {
14258             name: "elm.swallow.end";
14259             type: SWALLOW;
14260             description {
14261                state: "default" 0.0;
14262                visible: 0;
14263                align: 1.0 0.5;
14264                rel1 {
14265                   offset: -4 0;
14266                   relative: 1.0 0.0;
14267                   to_y: "elm.swallow.bar";
14268                }
14269                rel2 {
14270                   offset: -3 -1;
14271                   to_y: "elm.swallow.bar";
14272                }
14273             }
14274             description { state: "visible" 0.0;
14275                inherit: "default" 0.0;
14276                visible: 1;
14277                aspect: 1.0 1.0;
14278                aspect_preference: VERTICAL;
14279                rel2.offset: -4 -1;
14280             }
14281          }
14282          part { name: "units";
14283             mouse_events: 0;
14284             description { state: "default" 0.0;
14285                visible: 0;
14286                rel1 {
14287                   to_x: "elm.units";
14288                   offset: 0 5;
14289                }
14290                rel2 {
14291                   to_x: "elm.units";
14292                   offset: 5 -3;
14293                }
14294                image {
14295                   normal: "sl_units.png";
14296                   border: 0 5 3 8;
14297                }
14298                fill.smooth: 0;
14299             }
14300             description { state: "visible" 0.0;
14301                inherit: "default" 0.0;
14302                visible: 1;
14303             }
14304          }
14305          part { name: "elm.units";
14306             type: TEXT;
14307             mouse_events: 0;
14308             scale: 1;
14309             description { state: "default" 0.0;
14310                visible: 0;
14311                fixed: 1 1;
14312                align: 1.0 0.5;
14313                rel1.to_x: "elm.swallow.end";
14314                rel1.relative: 0.0 0.0;
14315                rel1.offset: 0 8;
14316                rel2.to_x: "elm.swallow.end";
14317                rel2.relative: 0.0 1.0;
14318                rel2.offset: 0 -9;
14319                color: 0 0 0 255;
14320                text {
14321                   font: "Sans,Edje-Vera";
14322                   size: 10;
14323                   min: 0 0;
14324                   align: 0.0 0.5;
14325                }
14326             }
14327             description { state: "visible" 0.0;
14328                inherit: "default" 0.0;
14329                fixed: 1 1;
14330                visible: 1;
14331                text.min: 1 1;
14332                rel1.offset: -5 0;
14333                rel2.offset: -5 -1;
14334             }
14335             description { state: "disabled" 0.0;
14336                inherit: "default" 0.0;
14337                color: 255 128 128 128;
14338                visible: 0;
14339             }
14340             description { state: "disabled_visible" 0.0;
14341                inherit: "default" 0.0;
14342                color: 0 0 0 128;
14343                color3: 0 0 0 0;
14344                visible: 1;
14345                text.min: 1 1;
14346             }
14347          }
14348          part { name: "elm.dragable.slider";
14349             type: GROUP;
14350             source: "elm/slider/horizontal/indicator/default";
14351             mouse_events: 1;
14352             repeat_events: 1;
14353             scale: 1;
14354             dragable {
14355                x: 1 1 0;
14356                y: 0 0 0;
14357                confine: "bg";
14358             }
14359             description { state: "default" 0.0;
14360                min: 0 24;
14361                max: 0 24;
14362                fixed: 1 1;
14363                rel1 {
14364                   relative: 0.5 0.0;
14365                   to_x: "bg";
14366                }
14367                rel2 {
14368                   relative: 0.5 1.0;
14369                   to_x: "bg";
14370                }
14371                color: 255 0 0 100;
14372             }
14373          }
14374           part { name: "disabler";
14375             type: RECT;
14376             description { state: "default" 0.0;
14377                color: 0 0 0 0;
14378                visible: 0;
14379             }
14380             description { state: "disabled" 0.0;
14381                inherit: "default" 0.0;
14382                visible: 1;
14383             }
14384          }
14385       }
14386       programs {
14387          program { name: "text_show";
14388             signal: "elm,state,text,visible";
14389             source: "elm";
14390             action:  STATE_SET "visible" 0.0;
14391             target: "elm.text";
14392          }
14393          program { name: "text_hide";
14394             signal: "elm,state,text,hidden";
14395             source: "elm";
14396             action:  STATE_SET "default" 0.0;
14397             target: "elm.text";
14398          }
14399          program { name: "icon_show";
14400             signal: "elm,state,icon,visible";
14401             source: "elm";
14402             action:  STATE_SET "visible" 0.0;
14403             target: "elm.swallow.icon";
14404          }
14405          program { name: "icon_hide";
14406             signal: "elm,state,icon,hidden";
14407             source: "elm";
14408             action:  STATE_SET "default" 0.0;
14409             target: "elm.swallow.icon";
14410          }
14411           program { name: "end_show";
14412             signal: "elm,state,end,visible";
14413             source: "elm";
14414             action:  STATE_SET "visible" 0.0;
14415             target: "elm.swallow.end";
14416          }
14417          program { name: "end_hide";
14418             signal: "elm,state,end,hidden";
14419             source: "elm";
14420             action:  STATE_SET "default" 0.0;
14421             target: "elm.swallow.end";
14422          }
14423          program { name: "units_show";
14424             signal: "elm,state,units,visible";
14425             source: "elm";
14426             action:  STATE_SET "visible" 0.0;
14427             target: "elm.units";
14428             target: "units";
14429          }
14430          program { name: "units_hide";
14431             signal: "elm,state,units,hidden";
14432             source: "elm";
14433             action:  STATE_SET "default" 0.0;
14434             target: "elm.units";
14435             target: "units";
14436          }
14437          program { name: "invert_on";
14438             signal: "elm,state,inverted,on";
14439             source: "elm";
14440             action:  STATE_SET "inverted" 0.0;
14441             target: "level";
14442             target: "level2";
14443          }
14444          program { name: "invert_off";
14445             signal: "elm,state,inverted,off";
14446             source: "elm";
14447             action:  STATE_SET "default" 0.0;
14448             target: "level";
14449             target: "level2";
14450          }
14451          program {
14452             name:    "go_disabled";
14453             signal:  "elm,state,disabled";
14454             source:  "elm";
14455             action:  STATE_SET "disabled" 0.0;
14456 //            target: "button0";
14457             target: "disabler";
14458             after: "disable_text";
14459             after: "disable_ind";
14460          }
14461
14462          program { name: "disable_ind";
14463             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14464          }
14465          program { name: "disable_text";
14466             script {
14467                new st[31];
14468                new Float:vl;
14469                get_state(PART:"elm.text", st, 30, vl);
14470                if (!strcmp(st, "visible"))
14471                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14472                else
14473                   set_state(PART:"elm.text", "disabled", 0.0);
14474
14475                get_state(PART:"elm.units", st, 30, vl);
14476                if (!strcmp(st, "visible"))
14477                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14478                else
14479                   set_state(PART:"elm.units", "disabled", 0.0);
14480
14481                get_state(PART:"level2", st, 30, vl);
14482                if (!strcmp(st, "inverted"))
14483                {
14484                   set_state(PART:"level", "disabled_inverted", 0.0);
14485                   set_state(PART:"level2", "disabled_inverted", 0.0);
14486                }
14487                else
14488                {
14489                   set_state(PART:"level", "disabled", 0.0);
14490                   set_state(PART:"level2", "disabled", 0.0);
14491                }
14492             }
14493          }
14494          program { name: "enable";
14495             signal: "elm,state,enabled";
14496             source: "elm";
14497             action: STATE_SET "default" 0.0;
14498 //            target: "button0";
14499             target: "disabler";
14500             after: "enable_text";
14501             after: "enable_ind";
14502          }
14503
14504          program { name: "enable_ind";
14505             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14506          }
14507
14508          program { name: "enable_text";
14509             script {
14510                new st[31];
14511                new Float:vl;
14512                get_state(PART:"elm.text", st, 30, vl);
14513                if (!strcmp(st, "disabled_visible"))
14514                   set_state(PART:"elm.text", "visible", 0.0);
14515                else
14516                   set_state(PART:"elm.text", "default", 0.0);
14517
14518                get_state(PART:"elm.units", st, 30, vl);
14519                if (!strcmp(st, "disabled_visible"))
14520                   set_state(PART:"elm.units", "visible", 0.0);
14521                else
14522                   set_state(PART:"elm.units", "default", 0.0);
14523
14524                get_state(PART:"level2", st, 30, vl);
14525                if (!strcmp(st, "disabled_inverted"))
14526                {
14527                   set_state(PART:"level", "inverted", 0.0);
14528                   set_state(PART:"level2", "inverted", 0.0);
14529                }
14530                else
14531                {
14532                   set_state(PART:"level", "default", 0.0);
14533                   set_state(PART:"level2", "default", 0.0);
14534                }
14535             }
14536          }
14537       }
14538    }
14539
14540    group { name: "elm/slider/vertical/default";
14541       images {
14542          image: "slv_bg.png" COMP;
14543          image: "slv_bg_over.png" COMP;
14544
14545          image: "slv_units.png" COMP;
14546       }
14547       parts {
14548          part { name: "base";
14549             mouse_events: 0;
14550             description { state: "default" 0.0;
14551                max: 6 99999;
14552                min: 6 0;
14553                rel1 { to: "bg";
14554                   offset: 1 0;
14555                }
14556                rel2 { to: "bg";
14557                   offset: -2 -1;
14558                }
14559                image.normal: "slv_bg.png";
14560                fill.smooth: 0;
14561             }
14562          }
14563          part { name: "level";
14564             type: RECT;
14565             mouse_events: 0;
14566             description { state: "default" 0.0;
14567                fixed: 1 1;
14568                rel1.to: "base";
14569                rel2 {
14570                   to_x: "base";
14571                   to_y: "elm.dragable.slider";
14572                   relative: 1.0 0.5;
14573                }
14574                color: 255 0 0 200;
14575             }
14576             description { state: "inverted" 0.0;
14577                inherit: "default" 0.0;
14578                visible: 0;
14579             }
14580             description { state: "disabled" 0.0;
14581                inherit: "default" 0.0;
14582                color: 255 0 0 100;
14583             }
14584             description { state: "disabled_inverted" 0.0;
14585                inherit: "default" 0.0;
14586                visible: 0;
14587             }
14588          }
14589          part { name: "level2";
14590             type: RECT;
14591             mouse_events: 0;
14592             description { state: "default" 0.0;
14593                fixed: 1 1;
14594                visible: 0;
14595                rel1 {
14596                   to_x: "base";
14597                   to_y: "elm.dragable.slider";
14598                   relative: 0.0 0.5;
14599                }
14600                rel2.to: "base";
14601                color: 255 0 0 200;
14602             }
14603             description { state: "inverted" 0.0;
14604                inherit: "default" 0.0;
14605                visible: 1;
14606             }
14607             description { state: "disabled" 0.0;
14608                inherit: "default" 0.0;
14609                color: 255 0 0 100;
14610             }
14611             description { state: "disabled_inverted" 0.0;
14612                inherit: "default" 0.0;
14613                color: 255 0 0 100;
14614                visible: 1;
14615             }
14616          }
14617          part {
14618             name: "base_over";
14619             mouse_events: 0;
14620             description { state: "default" 0.0;
14621                rel1.to: "base";
14622                rel1.offset: -1 -1;
14623                rel2.to: "base";
14624                rel2.offset: 0 0;
14625                image {
14626                   normal: "slv_bg_over.png";
14627                   border: 3 3 3 3;
14628                }
14629                fill.smooth: 0;
14630             }
14631          }
14632          part { name: "bg";
14633             type: RECT;
14634             mouse_events: 0;
14635             scale: 1;
14636             description { state: "default" 0.0;
14637                visible: 0;
14638                rel1.to: "elm.swallow.bar";
14639                rel2.to: "elm.swallow.bar";
14640                color: 0 0 0 0;
14641             }
14642          }
14643          part { name: "elm.swallow.bar";
14644             type: SWALLOW;
14645             scale: 1;
14646             description { state: "default" 0.0;
14647                min: 24 48;
14648                max: 24 9999;
14649                align: 0.5 1.0;
14650                rel1 {
14651                   to_y: "elm.text";
14652                   relative: 0.0 1.0;
14653                   offset: 0 10;
14654                }
14655                rel2 {
14656                   to_y: "elm.units";
14657                   relative: 1.0 0.0;
14658                   offset: -1 -8;
14659                }
14660             }
14661          }
14662          part { name: "elm.swallow.icon";
14663             type: SWALLOW;
14664             description { state: "default" 0.0;
14665                visible: 0;
14666                align: 0.5 0.0;
14667                rel1 {
14668                   offset: 0 4;
14669                   to_x: "elm.swallow.bar";
14670                }
14671                rel2 {
14672                   offset: -1 3;
14673                   relative: 1.0 0.0;
14674                   to_x: "elm.swallow.bar";
14675                }
14676             }
14677             description { state: "visible" 0.0;
14678                inherit: "default" 0.0;
14679                visible: 1;
14680                aspect: 1.0 1.0;
14681                aspect_preference: HORIZONTAL;
14682                rel2.offset: -1 4;
14683             }
14684          }
14685          part { name: "elm.text";
14686             type: TEXT;
14687             mouse_events: 0;
14688             scale: 1;
14689             description { state: "default" 0.0;
14690                visible: 0;
14691                fixed: 0 1;
14692                align: 0.5 0.0;
14693                rel1.to_y: "elm.swallow.icon";
14694                rel1.relative: 0.0 1.0;
14695                rel1.offset: 0 -1;
14696                rel2.to_y: "elm.swallow.icon";
14697                rel2.relative: 1.0 1.0;
14698                rel2.offset: -1 -1;
14699                color: 0 0 0 255;
14700                text {
14701                   font: "Sans,Edje-Vera";
14702                   size: 10;
14703                   min: 0 0;
14704                   align: 0.5 0.0;
14705                }
14706             }
14707             description { state: "visible" 0.0;
14708                inherit: "default" 0.0;
14709                visible: 1;
14710                text.min: 1 1;
14711                rel1.offset: 4 0;
14712                rel2.offset: -5 0;
14713             }
14714             description { state: "disabled" 0.0;
14715                inherit: "default" 0.0;
14716                color: 255 128 128 128;
14717                visible: 0;
14718             }
14719             description { state: "disabled_visible" 0.0;
14720                inherit: "default" 0.0;
14721                color: 0 0 0 128;
14722                color3: 0 0 0 0;
14723                visible: 1;
14724                text.min: 1 1;
14725             }
14726          }
14727          part {
14728             name: "elm.swallow.end";
14729             type: SWALLOW;
14730             description {
14731                state: "default" 0.0;
14732                visible: 0;
14733                align: 0.5 1.0;
14734                rel1 {
14735                   offset: 0 -4;
14736                   relative: 0.0 1.0;
14737                   to_x: "elm.swallow.bar";
14738                }
14739                rel2 {
14740                   offset: -1 -3;
14741                   to_x: "elm.swallow.bar";
14742                }
14743             }
14744             description { state: "visible" 0.0;
14745                inherit: "default" 0.0;
14746                visible: 1;
14747                aspect: 1.0 1.0;
14748                aspect_preference: HORIZONTAL;
14749                rel2.offset: -1 -4;
14750             }
14751          }
14752          part { name: "units";
14753             mouse_events: 0;
14754             description { state: "default" 0.0;
14755                visible: 0;
14756                rel1 {
14757                   to: "elm.units";
14758                   offset: -8 0;
14759                }
14760                rel2 {
14761                   to: "elm.units";
14762                   offset: 7 8;
14763                }
14764                image {
14765                   normal: "slv_units.png";
14766                   border: 8 8 0 9;
14767                }
14768                fill.smooth: 0;
14769             }
14770             description { state: "visible" 0.0;
14771                inherit: "default" 0.0;
14772                visible: 1;
14773             }
14774          }
14775          part { name: "elm.units";
14776             type: TEXT;
14777             mouse_events: 0;
14778             scale: 1;
14779             description { state: "default" 0.0;
14780                visible: 0;
14781                fixed: 1 1;
14782                align: 0.5 1.0;
14783                rel1.relative: 0.0 0.0;
14784                rel1.to_y: "elm.swallow.end";
14785                rel1.offset: 8 0;
14786                rel2.relative: 1.0 0.0;
14787                rel2.to_y: "elm.swallow.end";
14788                rel2.offset: -9 0;
14789                color: 0 0 0 255;
14790                text {
14791                   font: "Sans,Edje-Vera";
14792                   size: 10;
14793                   min: 0 0;
14794                   align: 0.5 0.0;
14795                }
14796             }
14797             description { state: "visible" 0.0;
14798                inherit: "default" 0.0;
14799                fixed: 1 1;
14800                visible: 1;
14801                text.min: 1 1;
14802                rel1.offset: 8 -9;
14803                rel2.offset: -9 -9;
14804             }
14805             description { state: "disabled" 0.0;
14806                inherit: "default" 0.0;
14807                color:  0 0 0 128;
14808                color3: 0 0 0 0;
14809                visible: 0;
14810             }
14811             description { state: "disabled_visible" 0.0;
14812                inherit: "default" 0.0;
14813                fixed: 1 1;
14814                visible: 1;
14815                text.min: 1 1;
14816                rel1.offset: 8 -9;
14817                rel2.offset: -9 -9;
14818                color: 0 0 0 128;
14819                color3: 0 0 0 0;
14820             }
14821          }
14822          part { name: "elm.dragable.slider";
14823             type: GROUP;
14824             source: "elm/slider/vertical/indicator/default";
14825             mouse_events: 1;
14826             repeat_events: 1;
14827             scale: 1;
14828             dragable {
14829                x: 0 0 0;
14830                y: 1 1 0;
14831                confine: "bg";
14832             }
14833             description { state: "default" 0.0;
14834                min: 24 0;
14835                max: 24 0;
14836                fixed: 1 1;
14837                rel1 {
14838                   relative: 0.5  0.0;
14839                   to_y: "bg";
14840                }
14841                rel2 {
14842                   relative: 0.5  1.0;
14843                   to_y: "bg";
14844                }
14845                color: 0 0 0 0;
14846             }
14847          }
14848               part { name: "disabler";
14849                 type: RECT;
14850                 description { state: "default" 0.0;
14851                    color: 0 0 0 0;
14852                    visible: 0;
14853                 }
14854                 description { state: "disabled" 0.0;
14855                    inherit: "default" 0.0;
14856                    visible: 1;
14857                 }
14858              }
14859           }
14860
14861       programs {
14862          program { name: "text_show";
14863             signal: "elm,state,text,visible";
14864             source: "elm";
14865             action:  STATE_SET "visible" 0.0;
14866             target: "elm.text";
14867          }
14868          program { name: "text_hide";
14869             signal: "elm,state,text,hidden";
14870             source: "elm";
14871             action:  STATE_SET "default" 0.0;
14872             target: "elm.text";
14873          }
14874          program { name: "icon_show";
14875             signal: "elm,state,icon,visible";
14876             source: "elm";
14877             action:  STATE_SET "visible" 0.0;
14878             target: "elm.swallow.icon";
14879          }
14880          program { name: "icon_hide";
14881             signal: "elm,state,icon,hidden";
14882             source: "elm";
14883             action:  STATE_SET "default" 0.0;
14884             target: "elm.swallow.icon";
14885          }
14886          program { name: "end_show";
14887             signal: "elm,state,end,visible";
14888             source: "elm";
14889             action:  STATE_SET "visible" 0.0;
14890             target: "elm.swallow.end";
14891          }
14892          program { name: "end_hide";
14893             signal: "elm,state,end,hidden";
14894             source: "elm";
14895             action:  STATE_SET "default" 0.0;
14896             target: "elm.swallow.end";
14897          }
14898          program { name: "units_show";
14899             signal: "elm,state,units,visible";
14900             source: "elm";
14901             action:  STATE_SET "visible" 0.0;
14902             target: "elm.units";
14903             target: "units";
14904          }
14905          program { name: "units_hide";
14906             signal: "elm,state,units,hidden";
14907             source: "elm";
14908             action:  STATE_SET "default" 0.0;
14909             target: "elm.units";
14910             target: "units";
14911          }
14912          program { name: "invert_on";
14913             signal: "elm,state,inverted,on";
14914             source: "elm";
14915             action:  STATE_SET "inverted" 0.0;
14916             target: "level";
14917             target: "level2";
14918          }
14919          program { name: "invert_off";
14920             signal: "elm,state,inverted,off";
14921             source: "elm";
14922             action:  STATE_SET "default" 0.0;
14923             target: "level";
14924             target: "level2";
14925          }
14926          program {
14927             name:   "go_disabled";
14928             signal: "elm,state,disabled";
14929             source: "elm";
14930             action: STATE_SET "disabled" 0.0;
14931 //            target: "button0";
14932             target: "disabler";
14933             after: "disable_text";
14934             after: "disable_ind";
14935          }
14936
14937          program { name: "disable_ind";
14938             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14939          }
14940
14941          program { name: "disable_text";
14942             script {
14943             new st[31];
14944             new Float:vl;
14945                get_state(PART:"elm.text", st, 30, vl);
14946                if (!strcmp(st, "visible"))
14947                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14948                else
14949                   set_state(PART:"elm.text", "disabled", 0.0);
14950
14951                get_state(PART:"elm.units", st, 30, vl);
14952                if (!strcmp(st, "visible"))
14953                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14954                else
14955                   set_state(PART:"elm.units", "disabled", 0.0);
14956
14957                get_state(PART:"level2", st, 30, vl);
14958                if (!strcmp(st, "inverted"))
14959                {
14960                   set_state(PART:"level", "disabled_inverted", 0.0);
14961                   set_state(PART:"level2", "disabled_inverted", 0.0);
14962                }
14963                else
14964                {
14965                   set_state(PART:"level", "disabled", 0.0);
14966                   set_state(PART:"level2", "disabled", 0.0);
14967                }
14968             }
14969          }
14970
14971          program { name: "enable";
14972             signal: "elm,state,enabled";
14973             source: "elm";
14974             action: STATE_SET "default" 0.0;
14975 //            target: "button0";
14976             target: "disabler";
14977             after: "enable_text";
14978             after: "enable_ind";
14979          }
14980
14981          program { name: "enable_ind";
14982             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14983          }
14984          program { name: "enable_text";
14985             script {
14986                new st[31];
14987                new Float:vl;
14988                get_state(PART:"elm.text", st, 30, vl);
14989                if (!strcmp(st, "disabled_visible"))
14990                   set_state(PART:"elm.text", "visible", 0.0);
14991                else
14992                   set_state(PART:"elm.text", "default", 0.0);
14993
14994                get_state(PART:"elm.units", st, 30, vl);
14995                if (!strcmp(st, "disabled_visible"))
14996                   set_state(PART:"elm.units", "visible", 0.0);
14997                else
14998                   set_state(PART:"elm.units", "default", 0.0);
14999
15000                get_state(PART:"level2", st, 30, vl);
15001                if (!strcmp(st, "disabled_inverted"))
15002                {
15003                   set_state(PART:"level", "inverted", 0.0);
15004                   set_state(PART:"level2", "inverted", 0.0);
15005                }
15006                else
15007                {
15008                   set_state(PART:"level", "default", 0.0);
15009                   set_state(PART:"level2", "default", 0.0);
15010                }
15011             }
15012          }
15013       }
15014    }
15015    group { name: "elm/slider/horizontal/indicator/default";
15016            alias: "elm/slider/horizontal/indicator/disabled";
15017            alias: "elm/slider/vertical/indicator/default";
15018            alias: "elm/slider/vertical/indicator/disabled";
15019       images {
15020          image: "sl_bt_0.png" COMP;
15021          image: "sl_bt_1.png" COMP;
15022          image: "sl_bt_2.png" COMP;
15023          image: "sl_bt_3.png" COMP;
15024          image: "sl_bt2_0_0.png" COMP;
15025          image: "sl_bt2_0_1.png" COMP;
15026          image: "sl_bt2_0_2.png" COMP;
15027          image: "sl_bt2_1.png" COMP;
15028          image: "sl_bt2_2.png" COMP;
15029       }
15030       script {
15031          public value_hide = 0;
15032          public set_value_show() {
15033             set_int(value_hide, 0);
15034          }
15035          public set_value_hide() {
15036             set_int(value_hide, 1);
15037          }
15038          public thumb_down() {
15039             if (get_int(value_hide) == 1) {
15040                set_state(PART:"elm.indicator", "default", 0.0);
15041                set_state(PART:"button3", "default", 0.0);
15042                set_state(PART:"button4", "default", 0.0);
15043                set_state(PART:"button5", "default", 0.0);
15044                set_state(PART:"button6", "default", 0.0);
15045                set_state(PART:"button7", "default", 0.0);
15046             } else {
15047                set_state(PART:"elm.indicator", "visible", 0.0);
15048                set_state(PART:"button3", "visible", 0.0);
15049                set_state(PART:"button4", "visible", 0.0);
15050                set_state(PART:"button5", "visible", 0.0);
15051                set_state(PART:"button6", "visible", 0.0);
15052                set_state(PART:"button7", "visible", 0.0);
15053             }
15054          }
15055          public thumb_up() {
15056             set_state(PART:"elm.indicator", "default", 0.0);
15057             set_state(PART:"button3", "default", 0.0);
15058             set_state(PART:"button4", "default", 0.0);
15059             set_state(PART:"button5", "default", 0.0);
15060             set_state(PART:"button6", "default", 0.0);
15061             set_state(PART:"button7", "default", 0.0);
15062          }
15063       }
15064       parts {
15065          part { name: "button_events";
15066             type: RECT;
15067             mouse_events: 1;
15068             description { state: "default" 0.0;
15069                fixed: 1 1;
15070                min: 16 16;
15071                aspect: 1.0 1.0;
15072                aspect_preference: VERTICAL;
15073                color: 0 0 0 0;
15074             }
15075          }
15076          part { name: "button0";
15077             mouse_events: 0;
15078             description { state: "default" 0.0;
15079                fixed: 1 1;
15080                max: 17 999;
15081                min: 17 24;
15082                image {
15083                   normal: "sl_bt_0.png";
15084                   border: 5 5 5 10;
15085                }
15086                fill.smooth: 0;
15087             }
15088             description { state: "disabled" 0.0;
15089                inherit: "default" 0.0;
15090                image {
15091                   normal: "sl_bt_3.png";
15092                   border: 5 5 5 10;
15093                }
15094             }
15095          }
15096          part { name: "button1";
15097             mouse_events: 0;
15098             description { state: "default" 0.0;
15099                rel1.to: "button0";
15100                rel2 {
15101                   to: "button0";
15102                   relative: 1.0 0.5;
15103                   offset: -1 -5;
15104                }
15105                image {
15106                   normal: "sl_bt_1.png";
15107                   border: 5 5 5 0;
15108                }
15109             }
15110          }
15111          part { name: "button2";
15112             mouse_events: 0;
15113             description { state: "default" 0.0;
15114                rel1.to: "button0";
15115                rel2.to: "button0";
15116                image {
15117                   normal: "sl_bt_2.png";
15118                   border: 5 5 5 10;
15119                }
15120                fill.smooth: 0;
15121             }
15122          }
15123          part { name: "button3";
15124             mouse_events: 0;
15125             description { state: "default" 0.0;
15126                fixed: 1 1;
15127                visible: 0;
15128                min: 8 32;
15129                align: 1.0 0.5;
15130                rel1 {
15131                   to_x: "elm.indicator";
15132                   to_y: "button4";
15133                   relative: 0.0 0.0;
15134                   offset: -7 0;
15135                }
15136                rel2 {
15137                   to: "button4";
15138                   relative: 0.0 1.0;
15139                   offset: -1 -1;
15140                }
15141                image {
15142                   normal: "sl_bt2_0_0.png";
15143                   border: 6 0 6 12;
15144                }
15145                fill.smooth: 0;
15146             }
15147             description { state: "visible" 0.0;
15148                inherit: "default" 0.0;
15149                visible: 1;
15150             }
15151          }
15152          part { name: "button4";
15153             mouse_events: 0;
15154             description { state: "default" 0.0;
15155                visible: 0;
15156                max: 15 999;
15157                min: 15 32;
15158                rel1 {
15159                   to_x: "button0";
15160                   to_y: "elm.indicator";
15161                   offset: 0 0;
15162                }
15163                rel2.to: "button0";
15164                image {
15165                   normal: "sl_bt2_0_1.png";
15166                   border: 0 0 6 12;
15167                }
15168                fill.smooth: 0;
15169             }
15170             description { state: "visible" 0.0;
15171                inherit: "default" 0.0;
15172                visible: 1;
15173             }
15174          }
15175          part { name: "button5";
15176             mouse_events: 0;
15177             description { state: "default" 0.0;
15178                fixed: 1 1;
15179                visible: 0;
15180                min: 8 32;
15181                align: 0.0 0.5;
15182                rel1 {
15183                   to: "button4";
15184                   relative: 1.0 0.0;
15185                   offset: 0 0;
15186                }
15187                rel2 {
15188                   to_x: "elm.indicator";
15189                   to_y: "button4";
15190                   relative: 1.0 1.0;
15191                   offset: 6 -1;
15192                }
15193                image {
15194                   normal: "sl_bt2_0_2.png";
15195                   border: 0 6 6 12;
15196                }
15197                fill.smooth: 0;
15198             }
15199             description { state: "visible" 0.0;
15200                inherit: "default" 0.0;
15201                visible: 1;
15202             }
15203          }
15204          part { name: "elm.indicator";
15205             type: TEXT;
15206             mouse_events: 0;
15207             effect: SOFT_SHADOW;
15208             scale: 1;
15209             description { state: "default" 0.0;
15210                visible: 0;
15211                fixed: 1 1;
15212                align: 0.5 1.0;
15213                rel1 {
15214                   to: "button0";
15215                   relative: 0.0 -0.25;
15216                   offset: 0 0;
15217                }
15218                rel2 {
15219                   to_x: "button0";
15220                   relative: 1.0 -0.25;
15221                   offset: -1 0;
15222                }
15223                color: 224 224 224 255;
15224                color3: 0 0 0 64;
15225                text {
15226                   font:     "Sans,Edje-Vera";
15227                   size:     10;
15228                   min:      0 0;
15229                   align:    0.5 0.5;
15230                }
15231             }
15232             description { state: "visible" 0.0;
15233                inherit: "default" 0.0;
15234                visible: 1;
15235                text.min: 1 1;
15236                rel1.offset: 0 -1;
15237                rel2.offset: -1 -1;
15238             }
15239          }
15240          part { name: "button6";
15241             mouse_events: 0;
15242             description { state: "default" 0.0;
15243                visible: 0;
15244                rel1.to: "button3";
15245                rel2 {
15246                   to: "button5";
15247                   relative: 1.0 0.3;
15248                   offset: -1 -1;
15249                }
15250                image {
15251                   normal: "sl_bt2_1.png";
15252                   border: 5 5 5 0;
15253                }
15254                fill.smooth: 0;
15255             }
15256             description { state: "visible" 0.0;
15257                inherit: "default" 0.0;
15258                visible: 1;
15259             }
15260          }
15261          part { name: "button7";
15262             mouse_events: 0;
15263             description { state: "default" 0.0;
15264                visible: 0;
15265                rel1.to: "button3";
15266                rel2.to: "button5";
15267                image {
15268                   normal: "sl_bt2_2.png";
15269                   border: 5 5 5 0;
15270                   middle: 0;
15271                }
15272                fill.smooth: 0;
15273             }
15274             description { state: "visible" 0.0;
15275                inherit: "default" 0.0;
15276                visible: 1;
15277             }
15278          }
15279       }
15280       programs {
15281          program { name: "set_val_show";
15282             signal: "elm,state,val,show";
15283             source: "elm";
15284             script {
15285                set_value_show();
15286             }
15287          }
15288          program { name: "set_val_hide";
15289             signal: "elm,state,val,hide";
15290             source: "elm";
15291             script {
15292                set_value_hide();
15293             }
15294          }
15295          program { name: "val_show";
15296             signal: "mouse,down,*";
15297             source: "button_events";
15298             script {
15299                thumb_down();
15300             }
15301
15302          }
15303          program { name: "val_hide";
15304             signal: "mouse,up,*";
15305             source: "button_events";
15306             script {
15307                thumb_up();
15308             }
15309          }
15310          program {
15311             name:    "go_disabled";
15312             signal:  "elm,state,disabled";
15313             source:  "elm";
15314             action:  STATE_SET "disabled" 0.0;
15315             target:  "button0";
15316          }
15317          program {
15318             name:    "go_enabled";
15319             signal:  "elm,state,enabled";
15320             source:  "elm";
15321             action:  STATE_SET "default" 0.0;
15322             target:  "button0";
15323          }
15324       }
15325    }
15326
15327
15328 ////////////////////////////////////////////////////////////////////////////////
15329 // actionslider
15330 ////////////////////////////////////////////////////////////////////////////////
15331    group { name: "elm/actionslider/base/default";
15332
15333       images {
15334          image: "shelf_inset.png" COMP;
15335          image: "ilist_1.png" COMP;
15336          image: "bt_bases.png" COMP;
15337          image: "bt_basew.png" COMP;
15338          image: "bt_hilightw.png" COMP;
15339       }
15340
15341       parts {
15342          part {
15343             name: "base";
15344             mouse_events: 0;
15345             description {
15346                state: "default" 0.0;
15347                min: 75 25;
15348                rel1.offset: 1 1;
15349                rel2.offset: -2 -2;
15350                image {
15351                   normal: "ilist_1.png";
15352                   border: 2 2 2 2;
15353                }
15354                fill.smooth: 0;
15355             }
15356          }
15357          part { name: "conf_over";
15358             mouse_events:  0;
15359             description { state: "default" 0.0;
15360                rel1.to: "base";
15361                rel2.to: "base";
15362                image {
15363                   normal: "shelf_inset.png";
15364                   border: 7 7 7 7;
15365                   middle: 0;
15366                }
15367                fill.smooth : 0;
15368             }
15369          }
15370          part { name: "icon.dragable.area";
15371            type: RECT;
15372             mouse_events: 0;
15373             description { state: "default" 0.0;
15374                visible: 0;
15375                rel1.to: "base";
15376                rel2.to: "base";
15377             }
15378          }
15379          part { name: "elm.text.left";
15380             type: TEXT;
15381             mouse_events: 0;
15382             scale: 1;
15383             description { state: "default" 0.0;
15384                color: 0 0 0 255;
15385                text {
15386                   font: "Sans,Edje-Vera";
15387                   size: 10;
15388                   align: 0.05 0.5;
15389                   min: 1 1;
15390                }
15391             }
15392          }
15393          part { name: "elm.text.center";
15394             type: TEXT;
15395             mouse_events: 0;
15396             scale: 1;
15397             description { state: "default" 0.0;
15398                color: 0 0 0 255;
15399                text {
15400                   font: "Sans,Edje-Vera";
15401                   size: 10;
15402                   align: 0.5 0.5;
15403                   min: 1 1;
15404                }
15405             }
15406          }
15407          part { name: "elm.text.right";
15408             type: TEXT;
15409             mouse_events: 0;
15410             scale: 1;
15411             description { state: "default" 0.0;
15412                color: 0 0 0 255;
15413                text {
15414                   font: "Sans,Edje-Vera";
15415                   size: 10;
15416                   align: 0.95 0.5;
15417                   min: 1 1;
15418                }
15419             }
15420          }
15421          part { name: "elm.drag_button_base";
15422             type: SWALLOW;
15423             mouse_events: 0;
15424             scale: 1;
15425             description { state: "default" 0.0;
15426                fixed: 1 1;
15427                min: 50 25;
15428                align: 0.5 0.5;
15429                rel1.to: "icon.dragable.area";
15430                rel2 {
15431                   relative: 0.0 1.0;
15432                   to: "icon.dragable.area";
15433                }
15434             }
15435             dragable {
15436                confine: "icon.dragable.area";
15437                x: 1 1 0;
15438                y: 0 0 0;
15439             }
15440          }
15441          part { name: "elm.drag_button";
15442             type: RECT;
15443             mouse_events: 1;
15444             description { state: "default" 0.0;
15445                min: 50 25;
15446                color: 255 255 255 0;
15447                rel1.to_x: "elm.drag_button_base";
15448                rel1.to_y: "icon.dragable.area";
15449                rel2.to_x: "elm.drag_button_base";
15450                rel2.to_y: "icon.dragable.area";
15451             }
15452             dragable {
15453                events: "elm.drag_button_base";
15454             }
15455          }
15456          part { name: "button0";
15457             mouse_events: 0;
15458             description { state: "default" 0.0;
15459                rel1.to: "button2";
15460                rel1.offset: -4 -4;
15461                rel2.to: "button2";
15462                rel2.offset: 3 3;
15463                image {
15464                   normal: "bt_bases.png";
15465                   border: 11 11 11 11;
15466                   middle: SOLID;
15467                }
15468                color: 255 255 255 128;
15469             }
15470          }
15471          part { name: "button2";
15472             mouse_events: 0;
15473             description { state: "default" 0.0;
15474                rel1.to: "elm.drag_button";
15475                rel2.to: "elm.drag_button";
15476                image {
15477                   normal: "bt_basew.png";
15478                   border: 7 7 7 7;
15479                   middle: SOLID;
15480                }
15481                color: 255 255 255 210;
15482             }
15483          }
15484          part { name: "button3";
15485             mouse_events: 0;
15486             description { state: "default" 0.0;
15487                rel1.to: "button2";
15488                rel2.to: "button2";
15489                rel2.relative: 1.0 0.5;
15490                image {
15491                   normal: "bt_hilightw.png";
15492                   border: 4 4 4 0;
15493                }
15494                color: 255 255 255 190;
15495             }
15496          }
15497          part { name: "elm.text.indicator";
15498             type: TEXT;
15499             scale: 1;
15500             mouse_events: 0;
15501             description { state: "default" 0.0;
15502                rel1 {
15503                   to: "elm.drag_button";
15504                   offset: 5 0;
15505                }
15506                rel2 {
15507                   to: "elm.drag_button";
15508                   offset: -5 0;
15509                }
15510                color: 0 0 0 255;
15511                text {
15512                   font: "Sans,Edje-Vera";
15513                   size: 10;
15514                   align: 0.5 0.5;
15515                   min: 0 1;
15516                }
15517             }
15518          }
15519       }
15520       programs {
15521          program { name: "elm.drag_button,mouse,up";
15522             signal: "mouse,up,1";
15523             source: "elm.drag_button";
15524             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15525          }
15526          program { name: "elm.drag_button,mouse,down";
15527             signal: "mouse,down,1";
15528             source: "elm.drag_button";
15529             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15530          }
15531          program { name: "elm.drag_button,mouse,move";
15532             signal: "mouse,move";
15533             source: "elm.drag_button_base";
15534             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15535          }
15536       }
15537    }
15538
15539    group { name: "elm/actionslider/base/bar";
15540
15541       images {
15542          image: "shelf_inset.png" COMP;
15543          image: "ilist_1.png" COMP;
15544          image: "bt_bases.png" COMP;
15545          image: "bt_basew.png" COMP;
15546          image: "bt_hilightw.png" COMP;
15547       }
15548
15549       parts {
15550          part {
15551             name: "base";
15552             mouse_events: 0;
15553             description {
15554                state: "default" 0.0;
15555                min: 150 30;
15556                rel1.offset: 1 1;
15557                rel2.offset: -2 -2;
15558                image {
15559                   normal: "ilist_1.png";
15560                   border: 2 2 2 2;
15561                }
15562                fill.smooth: 0;
15563             }
15564          }
15565          part { name: "conf_over";
15566             mouse_events:  0;
15567             description { state: "default" 0.0;
15568                rel1.to: "base";
15569                rel2.to: "base";
15570                image {
15571                   normal: "shelf_inset.png";
15572                   border: 7 7 7 7;
15573                   middle: 0;
15574                }
15575                fill.smooth : 0;
15576             }
15577          }
15578          part { name: "icon.dragable.area";
15579            type: RECT;
15580             mouse_events: 0;
15581             description { state: "default" 0.0;
15582                visible: 0;
15583                rel1.to: "base";
15584                rel2.to: "base";
15585             }
15586          }
15587          part { name: "elm.text.left";
15588             type: TEXT;
15589             mouse_events: 0;
15590             scale: 1;
15591             description { state: "default" 0.0;
15592                color: 0 0 0 255;
15593                text {
15594                   font: "Sans,Edje-Vera";
15595                   size: 10;
15596                   align: 0.05 0.5;
15597                   min: 1 1;
15598                }
15599             }
15600          }
15601          part { name: "elm.text.center";
15602             type: TEXT;
15603             mouse_events: 0;
15604             scale: 1;
15605             description { state: "default" 0.0;
15606                color: 0 0 0 255;
15607                text {
15608                   font: "Sans,Edje-Vera";
15609                   size: 10;
15610                   align: 0.5 0.5;
15611                   min: 1 1;
15612                }
15613             }
15614          }
15615          part { name: "elm.text.right";
15616             type: TEXT;
15617             mouse_events: 0;
15618             scale: 1;
15619             description { state: "default" 0.0;
15620                color: 0 0 0 255;
15621                text {
15622                   font: "Sans,Edje-Vera";
15623                   size: 10;
15624                   align: 0.95 0.5;
15625                   min: 1 1;
15626                }
15627             }
15628          }
15629          part { name: "bar";
15630             type: RECT;
15631             mouse_events: 0;
15632             description { state: "default" 0.0;
15633                rel1.to: "base";
15634                rel1.offset: 0 2;
15635                rel2 {
15636                   relative: 0 1;
15637                   offset: 3 -3;
15638                   to_x: "elm.drag_button_base";
15639                   to_y: "base";
15640                }
15641                color: 0 0 0 180;
15642             }
15643          }
15644          part { name: "elm.drag_button_base";
15645             type: SWALLOW;
15646             mouse_events: 1;
15647             scale: 1;
15648             description { state: "default" 0.0;
15649                fixed: 1 1;
15650                min: 50 25;
15651                align: 0.5 0.5;
15652                rel1.to: "icon.dragable.area";
15653                rel2 {
15654                   relative: 0.0 1.0;
15655                   to: "icon.dragable.area";
15656                }
15657             }
15658             dragable {
15659                confine: "icon.dragable.area";
15660                x: 1 1 0;
15661                y: 0 0 0;
15662             }
15663          }
15664          part { name: "elm.drag_button";
15665             type: RECT;
15666             mouse_events: 1;
15667             description { state: "default" 0.0;
15668                min: 50 25;
15669                color: 255 255 255 0;
15670                rel1.to_x: "elm.drag_button_base";
15671                rel1.to_y: "icon.dragable.area";
15672                rel2.to_x: "elm.drag_button_base";
15673                rel2.to_y: "icon.dragable.area";
15674             }
15675             dragable {
15676                events: "elm.drag_button_base";
15677             }
15678          }
15679          part { name: "button0";
15680             mouse_events: 0;
15681             description { state: "default" 0.0;
15682                rel1.to: "button2";
15683                rel1.offset: -4 -4;
15684                rel2.to: "button2";
15685                rel2.offset: 3 3;
15686                image {
15687                   normal: "bt_bases.png";
15688                   border: 11 11 11 11;
15689                   middle: SOLID;
15690                }
15691                color: 255 255 255 128;
15692             }
15693          }
15694          part { name: "button2";
15695             mouse_events: 0;
15696             description { state: "default" 0.0;
15697                rel1.to: "elm.drag_button";
15698                rel2.to: "elm.drag_button";
15699                image {
15700                   normal: "bt_basew.png";
15701                   border: 7 7 7 7;
15702                   middle: SOLID;
15703                }
15704                color: 255 255 255 210;
15705             }
15706          }
15707          part { name: "button3";
15708             mouse_events: 0;
15709             description { state: "default" 0.0;
15710                rel1.to: "button2";
15711                rel2.to: "button2";
15712                rel2.relative: 1.0 0.5;
15713                image {
15714                   normal: "bt_hilightw.png";
15715                   border: 4 4 4 0;
15716                }
15717                color: 255 255 255 190;
15718             }
15719          }
15720          part { name: "elm.text.indicator";
15721             type: TEXT;
15722             scale: 1;
15723             mouse_events: 0;
15724             description { state: "default" 0.0;
15725                rel1 {
15726                   to: "elm.drag_button";
15727                   offset: 5 0;
15728                }
15729                rel2 {
15730                   to: "elm.drag_button";
15731                   offset: -5 0;
15732                }
15733                color: 0 0 0 255;
15734                text {
15735                   font: "Sans,Edje-Vera";
15736                   size: 10;
15737                   align: 0.5 0.5;
15738                   min: 0 1;
15739                }
15740             }
15741          }
15742       }
15743       programs {
15744          program { name: "elm.drag_button,mouse,up";
15745             signal: "mouse,up,1";
15746             source: "elm.drag_button";
15747             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15748          }
15749          program { name: "elm.drag_button,mouse,down";
15750             signal: "mouse,down,1";
15751             source: "elm.drag_button";
15752             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15753          }
15754          program { name: "elm.drag_button,mouse,move";
15755             signal: "mouse,move";
15756             source: "elm.drag_button_base";
15757             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15758          }
15759       }
15760    }
15761
15762 ///////////////////////////////////////////////////////////////////////////////
15763    group { name: "elm/genlist/item/default/default";
15764       data.item: "selectraise" "on";
15765       data.item: "labels" "elm.text";
15766       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15767       data.item: "treesize" "20";
15768 //      data.item: "states" "";
15769       images {
15770          image: "bt_sm_base1.png" COMP;
15771          image: "bt_sm_shine.png" COMP;
15772          image: "bt_sm_hilight.png" COMP;
15773          image: "ilist_1.png" COMP;
15774          image: "ilist_2.png" COMP;
15775          image: "ilist_item_shadow.png" COMP;
15776       }
15777       parts {
15778          part {
15779             name:           "event";
15780             type:           RECT;
15781             repeat_events: 1;
15782             description {
15783                state: "default" 0.0;
15784                color: 0 0 0 0;
15785             }
15786          }
15787          part { name: "reorder_bg";
15788             mouse_events: 0;
15789             description { state: "default" 0.0;
15790                visible: 0;
15791                color: 255 255 255 0;
15792                rel1 {
15793                   relative: 0.0 0.0;
15794                   offset: -7 -7;
15795                }
15796                rel2 {
15797                   relative: 1.0 1.0;
15798                   offset: 9 9;
15799                }
15800                image {
15801                   normal: "bt_bases.png";
15802                   border: 6 6 6 6;
15803                }
15804             }
15805             description { state: "enabled" 0.0;
15806                inherit: "default" 0.0;
15807                visible: 1;
15808                color: 255 255 255 255;
15809             }
15810          }
15811          part {
15812             name: "base_sh";
15813             mouse_events: 0;
15814             description {
15815                state: "default" 0.0;
15816                align: 0.0 0.0;
15817                min: 0 10;
15818                fixed: 1 1;
15819                rel1 {
15820                   to: "base";
15821                   relative: 0.0 1.0;
15822                   offset: 0 0;
15823                }
15824                rel2 {
15825                   to: "base";
15826                   relative: 1.0 1.0;
15827                   offset: -1 0;
15828                }
15829                image {
15830                   normal: "ilist_item_shadow.png";
15831                }
15832                fill.smooth: 0;
15833             }
15834             description {
15835                state: "default" 1.0;
15836                inherit: "default" 0.0;
15837                visible: 0;
15838             }
15839          }
15840          part {
15841             name: "base";
15842             mouse_events: 0;
15843             description {
15844                state: "default" 0.0;
15845                image {
15846                   normal: "ilist_1.png";
15847                   border: 2 2 2 2;
15848                }
15849                fill.smooth: 0;
15850             }
15851             description {
15852                state: "default" 1.0;
15853                inherit: "default" 0.0;
15854                image.normal: "ilist_2.png";
15855             }
15856          }
15857          part { name: "bg";
15858             clip_to: "disclip";
15859             mouse_events: 0;
15860             description { state: "default" 0.0;
15861                visible: 0;
15862                color: 255 255 255 0;
15863                rel1 {
15864                   relative: 0.0 0.0;
15865                   offset: -5 -5;
15866                }
15867                rel2 {
15868                   relative: 1.0 1.0;
15869                   offset: 4 4;
15870                }
15871                image {
15872                   normal: "bt_sm_base1.png";
15873                   border: 6 6 6 6;
15874                }
15875                image.middle: SOLID;
15876             }
15877             description { state: "default" 0.1;
15878                inherit: "default" 0.0;
15879             }
15880             description { state: "selected" 0.0;
15881                inherit: "default" 0.0;
15882                visible: 1;
15883                color: 255 255 255 255;
15884                rel1 {
15885                   relative: 0.0 0.0;
15886                   offset: -2 -2;
15887                }
15888                rel2 {
15889                   relative: 1.0 1.0;
15890                   offset: 1 1;
15891                }
15892             }
15893             description {
15894                state: "selected" 1.0;
15895                inherit: "selected" 0.0;
15896             }
15897          }
15898          part { name: "elm.swallow.pad";
15899             type: SWALLOW;
15900             description { state: "default" 0.0;
15901                fixed: 1 0;
15902                align: 0.0 0.5;
15903                rel1 {
15904                   relative: 0.0  0.0;
15905                   offset:   4    4;
15906                }
15907                rel2 {
15908                   relative: 0.0  1.0;
15909                   offset:   4   -5;
15910                }
15911             }
15912          }
15913          part { name: "elm.swallow.icon";
15914             clip_to: "disclip";
15915             type: SWALLOW;
15916             description { state: "default" 0.0;
15917                fixed: 1 0;
15918                align: 0.0 0.5;
15919                rel1 {
15920                   to_x: "elm.swallow.pad";
15921                   relative: 1.0  0.0;
15922                   offset:   -1    4;
15923                }
15924                rel2 {
15925                   to_x: "elm.swallow.pad";
15926                   relative: 1.0  1.0;
15927                   offset:   -1   -5;
15928                }
15929             }
15930          }
15931          part { name: "elm.swallow.end";
15932             clip_to: "disclip";
15933             type: SWALLOW;
15934             description { state: "default" 0.0;
15935                fixed: 1 0;
15936                align: 1.0 0.5;
15937                aspect: 1.0 1.0;
15938                aspect_preference: VERTICAL;
15939                rel1 {
15940                   relative: 1.0  0.0;
15941                   offset:   -5    4;
15942                }
15943                rel2 {
15944                   relative: 1.0  1.0;
15945                   offset:   -5   -5;
15946                }
15947             }
15948          }
15949          part { name: "elm.text";
15950             clip_to: "disclip";
15951             type:           TEXT;
15952             effect:         SOFT_SHADOW;
15953             mouse_events:   0;
15954             scale: 1;
15955             description {
15956                state: "default" 0.0;
15957 //               min: 16 16;
15958                rel1 {
15959                   to_x:     "elm.swallow.icon";
15960                   relative: 1.0  0.0;
15961                   offset:   0 4;
15962                }
15963                rel2 {
15964                   to_x:     "elm.swallow.end";
15965                   relative: 0.0  1.0;
15966                   offset:   -1 -5;
15967                }
15968                color: 0 0 0 255;
15969                color3: 0 0 0 0;
15970                text {
15971                   font: "Sans";
15972                   size: 10;
15973                   min: 1 1;
15974 //                  min: 0 1;
15975                   align: -1.0 0.5;
15976                   text_class: "list_item";
15977                }
15978             }
15979             description { state: "selected" 0.0;
15980                inherit: "default" 0.0;
15981                color: 224 224 224 255;
15982                color3: 0 0 0 64;
15983             }
15984          }
15985          part { name: "fg1";
15986             clip_to: "disclip";
15987             mouse_events: 0;
15988             description { state: "default" 0.0;
15989                visible: 0;
15990                color: 255 255 255 0;
15991                rel1.to: "bg";
15992                rel2.relative: 1.0 0.5;
15993                rel2.to: "bg";
15994                image {
15995                   normal: "bt_sm_hilight.png";
15996                   border: 6 6 6 0;
15997                }
15998             }
15999             description { state: "selected" 0.0;
16000                inherit: "default" 0.0;
16001                visible: 1;
16002                color: 255 255 255 255;
16003             }
16004             description {
16005                state: "selected" 1.0;
16006                inherit: "default" 0.0;
16007                visible: 1;
16008                color: 255 255 255 255;
16009             }
16010          }
16011          part { name: "fg2";
16012             clip_to: "disclip";
16013             mouse_events: 0;
16014             description { state: "default" 0.0;
16015                visible: 0;
16016                color: 255 255 255 0;
16017                rel1.to: "bg";
16018                rel2.to: "bg";
16019                image {
16020                   normal: "bt_sm_shine.png";
16021                   border: 6 6 6 0;
16022                }
16023             }
16024             description { state: "selected" 0.0;
16025                inherit: "default" 0.0;
16026                visible: 1;
16027                color: 255 255 255 255;
16028             }
16029             description {
16030                state: "selected" 1.0;
16031                inherit: "default" 0.0;
16032                visible: 1;
16033                color: 255 255 255 255;
16034             }
16035          }
16036          part { name: "disclip";
16037             type: RECT;
16038             description { state: "default" 0.0;
16039                rel1.to: "bg";
16040                rel2.to: "bg";
16041             }
16042             description { state: "disabled" 0.0;
16043                inherit: "default" 0.0;
16044                color: 255 255 255 64;
16045             }
16046          }
16047       }
16048       programs {
16049          // signal: elm,state,%s,active
16050          //   a "check" item named %s went active
16051          // signal: elm,state,%s,passive
16052          //   a "check" item named %s went passive
16053          // default is passive
16054          program {
16055             name:    "odd";
16056             signal:  "elm,state,odd";
16057             source:  "elm";
16058             action:  STATE_SET "default" 1.0;
16059             target:  "base_sh";
16060             target:  "base";
16061          }
16062          program {
16063             name:    "even";
16064             signal:  "elm,state,even";
16065             source:  "elm";
16066             action:  STATE_SET "default" 0.0;
16067             target:  "base_sh";
16068             target:  "base";
16069          }
16070          program {
16071             name:    "go_active";
16072             signal:  "elm,state,selected";
16073             source:  "elm";
16074             script {
16075                new st[31];
16076                new Float:vl;
16077                get_state(PART:"base", st, 30, vl);
16078                set_state(PART:"bg", "selected", vl);
16079                set_state(PART:"fg1", "selected", vl);
16080                set_state(PART:"fg2", "selected", vl);
16081                set_state(PART:"elm.text", "selected", vl);
16082             }
16083          }
16084          program {
16085             name:    "go_passive";
16086             signal:  "elm,state,unselected";
16087             source:  "elm";
16088             script {
16089                new st[31];
16090                new Float:vl;
16091                get_state(PART:"base", st, 30, vl);
16092                set_state(PART:"bg", "default", vl);
16093                set_state(PART:"fg1", "default", vl);
16094                set_state(PART:"fg2", "default", vl);
16095                set_state(PART:"elm.text", "default", vl);
16096             }
16097          }
16098          program {
16099             name:    "go_disabled";
16100             signal:  "elm,state,disabled";
16101             source:  "elm";
16102             action:  STATE_SET "disabled" 0.0;
16103             target:  "disclip";
16104          }
16105          program {
16106             name:    "go_enabled";
16107             signal:  "elm,state,enabled";
16108             source:  "elm";
16109             action:  STATE_SET "default" 0.0;
16110             target:  "disclip";
16111          }
16112          program {
16113             name:    "go_reorder_disabled";
16114             signal:  "elm,state,reorder,disabled";
16115             source:  "elm";
16116             action:  STATE_SET "default" 0.0;
16117             target:  "reorder_bg";
16118             transition: DECELERATE 0.5;
16119          }
16120          program {
16121             name:    "go_reorder_enabled";
16122             signal:  "elm,state,reorder,enabled";
16123             source:  "elm";
16124             action:  STATE_SET "enabled" 0.0;
16125             target:  "reorder_bg";
16126             transition: DECELERATE 0.5;
16127          }
16128       }
16129    }
16130    group { name: "elm/genlist/item/group_index/default";
16131       alias: "elm/genlist/item_compress/group_index/default";
16132       data.item: "selectraise" "on";
16133       data.item: "labels" "elm.text";
16134       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16135       data.item: "treesize" "20";
16136 //      data.item: "states" "";
16137       images {
16138          image: "bt_sm_base1.png" COMP;
16139          image: "bt_sm_shine.png" COMP;
16140          image: "bt_sm_hilight.png" COMP;
16141          image: "ilist_item_shadow.png" COMP;
16142          image: "group_index.png" COMP;
16143       }
16144       parts {
16145          part {
16146             name: "event";
16147             type: RECT;
16148             repeat_events: 0;
16149             description {
16150                state: "default" 0.0;
16151                color: 0 0 0 0;
16152             }
16153          }
16154          part {
16155             name: "base_sh";
16156             mouse_events: 0;
16157             description {
16158                state: "default" 0.0;
16159                align: 0.0 0.0;
16160                min: 0 10;
16161                fixed: 1 1;
16162                rel1 {
16163                   to: "base";
16164                   relative: 0.0 1.0;
16165                   offset: 0 0;
16166                }
16167                rel2 {
16168                   to: "base";
16169                   relative: 1.0 1.0;
16170                   offset: -1 0;
16171                }
16172                image {
16173                   normal: "ilist_item_shadow.png";
16174                }
16175                fill.smooth: 0;
16176             }
16177          }
16178          part {
16179             name: "base";
16180             mouse_events: 0;
16181             description {
16182                state: "default" 0.0;
16183                image {
16184                   normal: "group_index.png";
16185                   border: 2 2 2 2;
16186                }
16187                fill.smooth: 0;
16188             }
16189          }
16190          part { name: "bg";
16191             clip_to: "disclip";
16192             mouse_events: 0;
16193             description { state: "default" 0.0;
16194                visible: 0;
16195                color: 255 255 255 0;
16196                rel1 {
16197                   relative: 0.0 0.0;
16198                   offset: -5 -5;
16199                }
16200                rel2 {
16201                   relative: 1.0 1.0;
16202                   offset: 4 4;
16203                }
16204                image {
16205                   normal: "bt_sm_base1.png";
16206                   border: 6 6 6 6;
16207                }
16208                image.middle: SOLID;
16209             }
16210             description { state: "selected" 0.0;
16211                inherit: "default" 0.0;
16212                visible: 1;
16213                color: 255 255 255 255;
16214                rel1 {
16215                   relative: 0.0 0.0;
16216                   offset: -2 -2;
16217                }
16218                rel2 {
16219                   relative: 1.0 1.0;
16220                   offset: 1 1;
16221                }
16222             }
16223          }
16224          part { name: "elm.swallow.pad";
16225             type: SWALLOW;
16226             description { state: "default" 0.0;
16227                fixed: 1 0;
16228                align: 0.0 0.5;
16229                rel1 {
16230                   relative: 0.0  0.0;
16231                   offset: 4 4;
16232                }
16233                rel2 {
16234                   relative: 0.0  1.0;
16235                   offset: 4 -5;
16236                }
16237             }
16238          }
16239          part { name: "elm.swallow.icon";
16240             clip_to: "disclip";
16241             type: SWALLOW;
16242             description { state: "default" 0.0;
16243                fixed: 1 0;
16244                align: 0.0 0.5;
16245                rel1 {
16246                   to_x: "elm.swallow.pad";
16247                   relative: 1.0 0.0;
16248                   offset: -1 4;
16249                }
16250                rel2 {
16251                   to_x: "elm.swallow.pad";
16252                   relative: 1.0 1.0;
16253                   offset: -1 -5;
16254                }
16255             }
16256          }
16257          part { name: "elm.swallow.end";
16258             clip_to: "disclip";
16259             type: SWALLOW;
16260             description { state: "default" 0.0;
16261                fixed: 1 0;
16262                align: 1.0 0.5;
16263                aspect: 1.0 1.0;
16264                aspect_preference: VERTICAL;
16265                rel1 {
16266                   relative: 1.0 0.0;
16267                   offset: -5 4;
16268                }
16269                rel2 {
16270                   relative: 1.0 1.0;
16271                   offset: -5 -5;
16272                }
16273             }
16274          }
16275          part { name: "elm.text";
16276             clip_to: "disclip";
16277             type: TEXT;
16278             effect: SOFT_SHADOW;
16279             mouse_events: 0;
16280             scale: 1;
16281             description {
16282                state: "default" 0.0;
16283 //               min: 16 16;
16284                rel1 {
16285                   to_x: "elm.swallow.icon";
16286                   relative: 1.0  0.0;
16287                   offset: 0 4;
16288                }
16289                rel2 {
16290                   to_x: "elm.swallow.end";
16291                   relative: 0.0  1.0;
16292                   offset: -1 -5;
16293                }
16294                color: 0 0 0 255;
16295                color3: 0 0 0 0;
16296                text {
16297                   font: "Sans";
16298                   size: 10;
16299                   min: 1 1;
16300 //                  min: 0 1;
16301                   align: -1.0 0.5;
16302                   text_class: "list_item";
16303                }
16304             }
16305             description { state: "selected" 0.0;
16306                inherit: "default" 0.0;
16307                color: 224 224 224 255;
16308                color3: 0 0 0 64;
16309             }
16310          }
16311          part { name: "fg1";
16312             clip_to: "disclip";
16313             mouse_events: 0;
16314             description { state: "default" 0.0;
16315                visible: 0;
16316                color: 255 255 255 0;
16317                rel1.to: "bg";
16318                rel2.relative: 1.0 0.5;
16319                rel2.to: "bg";
16320                image {
16321                   normal: "bt_sm_hilight.png";
16322                   border: 6 6 6 0;
16323                }
16324             }
16325             description { state: "selected" 0.0;
16326                inherit: "default" 0.0;
16327                visible: 1;
16328                color: 255 255 255 255;
16329             }
16330          }
16331          part { name: "fg2";
16332             clip_to: "disclip";
16333             mouse_events: 0;
16334             description { state: "default" 0.0;
16335                visible: 0;
16336                color: 255 255 255 0;
16337                rel1.to: "bg";
16338                rel2.to: "bg";
16339                image {
16340                   normal: "bt_sm_shine.png";
16341                   border: 6 6 6 0;
16342                }
16343             }
16344             description { state: "selected" 0.0;
16345                inherit: "default" 0.0;
16346                visible: 1;
16347                color: 255 255 255 255;
16348             }
16349          }
16350          part { name: "disclip";
16351             type: RECT;
16352             description { state: "default" 0.0;
16353                rel1.to: "bg";
16354                rel2.to: "bg";
16355             }
16356             description { state: "disabled" 0.0;
16357                inherit: "default" 0.0;
16358                color: 255 255 255 64;
16359             }
16360          }
16361       }
16362       programs {
16363          // signal: elm,state,%s,active
16364          //   a "check" item named %s went active
16365          // signal: elm,state,%s,passive
16366          //   a "check" item named %s went passive
16367          // default is passive
16368          program {
16369             name:    "go_active";
16370             signal:  "elm,state,selected";
16371             source:  "elm";
16372             action:  STATE_SET "selected" 0.0;
16373             target:  "bg";
16374             target:  "fg1";
16375             target:  "fg2";
16376             target:  "elm.text";
16377          }
16378          program {
16379             name:    "go_passive";
16380             signal:  "elm,state,unselected";
16381             source:  "elm";
16382             action:  STATE_SET "default" 0.0;
16383             target:  "bg";
16384             target:  "fg1";
16385             target:  "fg2";
16386             target:  "elm.text";
16387             transition: LINEAR 0.1;
16388          }
16389          program {
16390             name:    "go_disabled";
16391             signal:  "elm,state,disabled";
16392             source:  "elm";
16393             action:  STATE_SET "disabled" 0.0;
16394             target:  "disclip";
16395          }
16396          program {
16397             name:    "go_enabled";
16398             signal:  "elm,state,enabled";
16399             source:  "elm";
16400             action:  STATE_SET "default" 0.0;
16401             target:  "disclip";
16402          }
16403       }
16404    }
16405    group { name: "elm/genlist/item_compress/message/default";
16406       data.item: "selectraise" "on";
16407       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16408 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16409       data.item: "treesize" "20";
16410 //      data.item: "states" "";
16411       images {
16412          image: "bt_sm_base1.png" COMP;
16413          image: "bt_sm_shine.png" COMP;
16414          image: "bt_sm_hilight.png" COMP;
16415          image: "ilist_1.png" COMP;
16416          image: "ilist_2.png" COMP;
16417          image: "ilist_item_shadow.png" COMP;
16418       }
16419       styles {
16420         style { name: "genlist_textblock_style";
16421           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16422           tag:  "br" "\n";
16423           tag:  "ps" "ps";
16424           tag:  "tab" "\t";
16425         }
16426         style { name: "genlist_textblock_style2";
16427           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16428           tag:  "br" "\n";
16429           tag:  "ps" "ps";
16430           tag:  "tab" "\t";
16431         }
16432       }
16433      parts {
16434          part {
16435             name:           "event";
16436             type:           RECT;
16437             repeat_events: 1;
16438             description {
16439                state: "default" 0.0;
16440                color: 0 0 0 0;
16441             }
16442          }
16443          part {
16444             name: "base_sh";
16445             mouse_events: 0;
16446             description {
16447                state: "default" 0.0;
16448                align: 0.0 0.0;
16449                min: 0 10;
16450                fixed: 1 1;
16451                rel1 {
16452                   to: "base";
16453                   relative: 0.0 1.0;
16454                   offset: 0 0;
16455                }
16456                rel2 {
16457                   to: "base";
16458                   relative: 1.0 1.0;
16459                   offset: -1 0;
16460                }
16461                image {
16462                   normal: "ilist_item_shadow.png";
16463                }
16464                fill.smooth: 0;
16465             }
16466             description {
16467                state: "default" 1.0;
16468                inherit: "default" 0.0;
16469                visible: 0;
16470             }
16471          }
16472          part {
16473             name: "base";
16474             mouse_events: 0;
16475             description {
16476                state: "default" 0.0;
16477                image {
16478                   normal: "ilist_1.png";
16479                   border: 2 2 2 2;
16480                }
16481                fill.smooth: 0;
16482             }
16483             description {
16484                state: "default" 1.0;
16485                inherit: "default" 0.0;
16486                image.normal: "ilist_2.png";
16487             }
16488          }
16489          part { name: "bg";
16490             clip_to: "disclip";
16491             mouse_events: 0;
16492             description { state: "default" 0.0;
16493                visible: 0;
16494                color: 255 255 255 0;
16495                rel1 {
16496                   relative: 0.0 0.0;
16497                   offset: -5 -5;
16498                }
16499                rel2 {
16500                   relative: 1.0 1.0;
16501                   offset: 4 4;
16502                }
16503                image {
16504                   normal: "bt_sm_base1.png";
16505                   border: 6 6 6 6;
16506                }
16507                image.middle: SOLID;
16508             }
16509             description { state: "selected" 0.0;
16510                inherit: "default" 0.0;
16511                visible: 1;
16512                color: 255 255 255 255;
16513                rel1 {
16514                   relative: 0.0 0.0;
16515                   offset: -2 -2;
16516                }
16517                rel2 {
16518                   relative: 1.0 1.0;
16519                   offset: 1 1;
16520                }
16521             }
16522          }
16523          part { name: "elm.title.1";
16524             clip_to: "disclip";
16525             type:           TEXT;
16526             effect:         SOFT_SHADOW;
16527             mouse_events:   0;
16528             scale: 1;
16529             description {
16530                state: "default" 0.0;
16531                fixed: 0 1;
16532 //               min: 16 16;
16533                rel1 {
16534                   relative: 0.0  0.0;
16535                   offset:   4 4;
16536                }
16537                rel2 {
16538                   relative: 1.0  0.0;
16539                   offset:   -5 4;
16540                }
16541                color: 0 0 0 255;
16542                color3: 0 0 0 0;
16543                align: 0.0 0.0;
16544                text {
16545                   font: "Sans";
16546                   size: 10;
16547                   min: 0 1;
16548 //                  min: 1 1;
16549                   align: 0.0 0.0;
16550                   text_class: "list_item";
16551                }
16552             }
16553             description { state: "selected" 0.0;
16554                inherit: "default" 0.0;
16555                color: 224 224 224 255;
16556                color3: 0 0 0 64;
16557             }
16558          }
16559          part { name: "elm.title.2";
16560             clip_to: "disclip";
16561             type:           TEXT;
16562             effect:         SOFT_SHADOW;
16563             mouse_events:   0;
16564             scale: 1;
16565             description {
16566                state: "default" 0.0;
16567                fixed: 0 1;
16568 //               min: 16 16;
16569                rel1 {
16570                   to_y:     "elm.title.1";
16571                   relative: 0.0  1.0;
16572                   offset:   4 0;
16573                }
16574                rel2 {
16575                   to_y:     "elm.title.1";
16576                   relative: 1.0  1.0;
16577                   offset:   -5 0;
16578                }
16579                color: 0 0 0 255;
16580                color3: 0 0 0 0;
16581                align: 0.0 0.0;
16582                text {
16583                   font: "Sans";
16584                   size: 10;
16585                   min: 0 1;
16586 //                  min: 1 1;
16587                   align: 0.0 0.0;
16588                   text_class: "list_item";
16589                }
16590             }
16591             description { state: "selected" 0.0;
16592                inherit: "default" 0.0;
16593                color: 224 224 224 255;
16594                color3: 0 0 0 64;
16595             }
16596          }
16597          part { name: "elm.text";
16598             clip_to: "disclip";
16599             type:           TEXTBLOCK;
16600             mouse_events:   0;
16601             scale: 1;
16602             description {
16603                state: "default" 0.0;
16604 //               fixed: 0 1;
16605 //               min: 16 16;
16606                rel1 {
16607                   to_y:     "elm.title.2";
16608                   relative: 0.0  1.0;
16609                   offset:   4 0;
16610                }
16611                rel2 {
16612                   relative: 1.0  1.0;
16613                   offset:   -5 -5;
16614                }
16615                align: 0.0 0.0;
16616                text {
16617                   style: "genlist_textblock_style";
16618                   min: 0 1;
16619 //                  min: 1 1;
16620                   align: 0.0 0.0;
16621                }
16622             }
16623             description { state: "selected" 0.0;
16624                inherit: "default" 0.0;
16625                text {
16626                   style: "genlist_textblock_style2";
16627                }
16628             }
16629          }
16630          part { name: "fg1";
16631             clip_to: "disclip";
16632             mouse_events: 0;
16633             description { state: "default" 0.0;
16634                visible: 0;
16635                color: 255 255 255 0;
16636                rel1.to: "bg";
16637                rel2.relative: 1.0 0.5;
16638                rel2.to: "bg";
16639                image {
16640                   normal: "bt_sm_hilight.png";
16641                   border: 6 6 6 0;
16642                }
16643             }
16644             description { state: "selected" 0.0;
16645                inherit: "default" 0.0;
16646                visible: 1;
16647                color: 255 255 255 255;
16648             }
16649          }
16650          part { name: "fg2";
16651             clip_to: "disclip";
16652             mouse_events: 0;
16653             description { state: "default" 0.0;
16654                visible: 0;
16655                color: 255 255 255 0;
16656                rel1.to: "bg";
16657                rel2.to: "bg";
16658                image {
16659                   normal: "bt_sm_shine.png";
16660                   border: 6 6 6 0;
16661                }
16662             }
16663             description { state: "selected" 0.0;
16664                inherit: "default" 0.0;
16665                visible: 1;
16666                color: 255 255 255 255;
16667             }
16668          }
16669          part { name: "disclip";
16670             type: RECT;
16671             description { state: "default" 0.0;
16672                rel1.to: "bg";
16673                rel2.to: "bg";
16674             }
16675             description { state: "disabled" 0.0;
16676                inherit: "default" 0.0;
16677                color: 255 255 255 64;
16678             }
16679          }
16680       }
16681       programs {
16682          // signal: elm,state,%s,active
16683          //   a "check" item named %s went active
16684          // signal: elm,state,%s,passive
16685          //   a "check" item named %s went passive
16686          // default is passive
16687          program {
16688             name:    "odd";
16689             signal:  "elm,state,odd";
16690             source:  "elm";
16691             action:  STATE_SET "default" 1.0;
16692             target:  "base_sh";
16693             target:  "base";
16694          }
16695          program {
16696             name:    "even";
16697             signal:  "elm,state,even";
16698             source:  "elm";
16699             action:  STATE_SET "default" 0.0;
16700             target:  "base_sh";
16701             target:  "base";
16702          }
16703          program {
16704             name:    "go_active";
16705             signal:  "elm,state,selected";
16706             source:  "elm";
16707             action:  STATE_SET "selected" 0.0;
16708             target:  "bg";
16709             target:  "fg1";
16710             target:  "fg2";
16711             target:  "elm.title.1";
16712             target:  "elm.title.2";
16713             target:  "elm.text";
16714          }
16715          program {
16716             name:    "go_passive";
16717             signal:  "elm,state,unselected";
16718             source:  "elm";
16719             action:  STATE_SET "default" 0.0;
16720             target:  "bg";
16721             target:  "fg1";
16722             target:  "fg2";
16723             target:  "elm.title.1";
16724             target:  "elm.title.2";
16725             target:  "elm.text";
16726             transition: LINEAR 0.1;
16727          }
16728          program {
16729             name:    "go_disabled";
16730             signal:  "elm,state,disabled";
16731             source:  "elm";
16732             action:  STATE_SET "disabled" 0.0;
16733             target:  "disclip";
16734          }
16735          program {
16736             name:    "go_enabled";
16737             signal:  "elm,state,enabled";
16738             source:  "elm";
16739             action:  STATE_SET "default" 0.0;
16740             target:  "disclip";
16741          }
16742       }
16743    }
16744
16745    group { name: "elm/genlist/item_compress/default/default";
16746       data.item: "selectraise" "on";
16747       data.item: "labels" "elm.text";
16748       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16749       data.item: "treesize" "20";
16750 //      data.item: "states" "";
16751       images {
16752          image: "bt_sm_base1.png" COMP;
16753          image: "bt_sm_shine.png" COMP;
16754          image: "bt_sm_hilight.png" COMP;
16755          image: "ilist_1.png" COMP;
16756          image: "ilist_2.png" COMP;
16757          image: "ilist_item_shadow.png" COMP;
16758       }
16759       parts {
16760          part {
16761             name:           "event";
16762             type:           RECT;
16763             repeat_events: 1;
16764             description {
16765                state: "default" 0.0;
16766                color: 0 0 0 0;
16767             }
16768          }
16769          part {
16770             name: "base_sh";
16771             mouse_events: 0;
16772             description {
16773                state: "default" 0.0;
16774                align: 0.0 0.0;
16775                min: 0 10;
16776                fixed: 1 1;
16777                rel1 {
16778                   to: "base";
16779                   relative: 0.0 1.0;
16780                   offset: 0 0;
16781                }
16782                rel2 {
16783                   to: "base";
16784                   relative: 1.0 1.0;
16785                   offset: -1 0;
16786                }
16787                image {
16788                   normal: "ilist_item_shadow.png";
16789                }
16790                fill.smooth: 0;
16791             }
16792             description {
16793                state: "default" 1.0;
16794                inherit: "default" 0.0;
16795                visible: 0;
16796             }
16797          }
16798          part {
16799             name: "base";
16800             mouse_events: 0;
16801             description {
16802                state: "default" 0.0;
16803                image {
16804                   normal: "ilist_1.png";
16805                   border: 2 2 2 2;
16806                }
16807                fill.smooth: 0;
16808             }
16809             description {
16810                state: "default" 1.0;
16811                inherit: "default" 0.0;
16812                image.normal: "ilist_2.png";
16813             }
16814          }
16815          part { name: "bg";
16816             clip_to: "disclip";
16817             mouse_events: 0;
16818             description { state: "default" 0.0;
16819                visible: 0;
16820                color: 255 255 255 0;
16821                rel1 {
16822                   relative: 0.0 0.0;
16823                   offset: -5 -5;
16824                }
16825                rel2 {
16826                   relative: 1.0 1.0;
16827                   offset: 4 4;
16828                }
16829                image {
16830                   normal: "bt_sm_base1.png";
16831                   border: 6 6 6 6;
16832                }
16833                image.middle: SOLID;
16834             }
16835             description { state: "selected" 0.0;
16836                inherit: "default" 0.0;
16837                visible: 1;
16838                color: 255 255 255 255;
16839                rel1 {
16840                   relative: 0.0 0.0;
16841                   offset: -2 -2;
16842                }
16843                rel2 {
16844                   relative: 1.0 1.0;
16845                   offset: 1 1;
16846                }
16847             }
16848          }
16849          part { name: "elm.swallow.pad";
16850             type: SWALLOW;
16851             description { state: "default" 0.0;
16852                fixed: 1 0;
16853                align: 0.0 0.5;
16854                rel1 {
16855                   relative: 0.0  0.0;
16856                   offset:   4    4;
16857                }
16858                rel2 {
16859                   relative: 0.0  1.0;
16860                   offset:   4   -5;
16861                }
16862             }
16863          }
16864          part { name: "elm.swallow.icon";
16865             clip_to: "disclip";
16866             type: SWALLOW;
16867             description { state: "default" 0.0;
16868                fixed: 1 0;
16869                align: 0.0 0.5;
16870                rel1 {
16871                   to_x: "elm.swallow.pad";
16872                   relative: 1.0  0.0;
16873                   offset:   -1    4;
16874                }
16875                rel2 {
16876                   to_x: "elm.swallow.pad";
16877                   relative: 1.0  1.0;
16878                   offset:   -1   -5;
16879                }
16880             }
16881          }
16882          part { name: "elm.swallow.end";
16883             clip_to: "disclip";
16884             type: SWALLOW;
16885             description { state: "default" 0.0;
16886                fixed: 1 0;
16887                align: 1.0 0.5;
16888                aspect: 1.0 1.0;
16889                aspect_preference: VERTICAL;
16890                rel1 {
16891                   relative: 1.0  0.0;
16892                   offset:   -5    4;
16893                }
16894                rel2 {
16895                   relative: 1.0  1.0;
16896                   offset:   -5   -5;
16897                }
16898             }
16899          }
16900          part { name: "elm.text";
16901             clip_to: "disclip";
16902             type:           TEXT;
16903             effect:         SOFT_SHADOW;
16904             mouse_events:   0;
16905             scale: 1;
16906             description {
16907                state: "default" 0.0;
16908 //               min: 16 16;
16909                rel1 {
16910                   to_x:     "elm.swallow.icon";
16911                   relative: 1.0  0.0;
16912                   offset:   0 4;
16913                }
16914                rel2 {
16915                   to_x:     "elm.swallow.end";
16916                   relative: 0.0  1.0;
16917                   offset:   -1 -5;
16918                }
16919                color: 0 0 0 255;
16920                color3: 0 0 0 0;
16921                text {
16922                   font: "Sans";
16923                   size: 10;
16924                   min: 0 1;
16925 //                  min: 1 1;
16926                   align: 0.0 0.5;
16927                   text_class: "list_item";
16928                }
16929             }
16930             description { state: "selected" 0.0;
16931                inherit: "default" 0.0;
16932                color: 224 224 224 255;
16933                color3: 0 0 0 64;
16934             }
16935          }
16936          part { name: "fg1";
16937             clip_to: "disclip";
16938             mouse_events: 0;
16939             description { state: "default" 0.0;
16940                visible: 0;
16941                color: 255 255 255 0;
16942                rel1.to: "bg";
16943                rel2.relative: 1.0 0.5;
16944                rel2.to: "bg";
16945                image {
16946                   normal: "bt_sm_hilight.png";
16947                   border: 6 6 6 0;
16948                }
16949             }
16950             description { state: "selected" 0.0;
16951                inherit: "default" 0.0;
16952                visible: 1;
16953                color: 255 255 255 255;
16954             }
16955          }
16956          part { name: "fg2";
16957             clip_to: "disclip";
16958             mouse_events: 0;
16959             description { state: "default" 0.0;
16960                visible: 0;
16961                color: 255 255 255 0;
16962                rel1.to: "bg";
16963                rel2.to: "bg";
16964                image {
16965                   normal: "bt_sm_shine.png";
16966                   border: 6 6 6 0;
16967                }
16968             }
16969             description { state: "selected" 0.0;
16970                inherit: "default" 0.0;
16971                visible: 1;
16972                color: 255 255 255 255;
16973             }
16974          }
16975          part { name: "disclip";
16976             type: RECT;
16977             description { state: "default" 0.0;
16978                rel1.to: "bg";
16979                rel2.to: "bg";
16980             }
16981             description { state: "disabled" 0.0;
16982                inherit: "default" 0.0;
16983                color: 255 255 255 64;
16984             }
16985          }
16986       }
16987       programs {
16988          // signal: elm,state,%s,active
16989          //   a "check" item named %s went active
16990          // signal: elm,state,%s,passive
16991          //   a "check" item named %s went passive
16992          // default is passive
16993          program {
16994             name:    "odd";
16995             signal:  "elm,state,odd";
16996             source:  "elm";
16997             action:  STATE_SET "default" 1.0;
16998             target:  "base_sh";
16999             target:  "base";
17000          }
17001          program {
17002             name:    "even";
17003             signal:  "elm,state,even";
17004             source:  "elm";
17005             action:  STATE_SET "default" 0.0;
17006             target:  "base_sh";
17007             target:  "base";
17008          }
17009          program {
17010             name:    "go_active";
17011             signal:  "elm,state,selected";
17012             source:  "elm";
17013             action:  STATE_SET "selected" 0.0;
17014             target:  "bg";
17015             target:  "fg1";
17016             target:  "fg2";
17017             target:  "elm.text";
17018          }
17019          program {
17020             name:    "go_passive";
17021             signal:  "elm,state,unselected";
17022             source:  "elm";
17023             action:  STATE_SET "default" 0.0;
17024             target:  "bg";
17025             target:  "fg1";
17026             target:  "fg2";
17027             target:  "elm.text";
17028             transition: LINEAR 0.1;
17029          }
17030          program {
17031             name:    "go_disabled";
17032             signal:  "elm,state,disabled";
17033             source:  "elm";
17034             action:  STATE_SET "disabled" 0.0;
17035             target:  "disclip";
17036          }
17037          program {
17038             name:    "go_enabled";
17039             signal:  "elm,state,enabled";
17040             source:  "elm";
17041             action:  STATE_SET "default" 0.0;
17042             target:  "disclip";
17043          }
17044       }
17045    }
17046
17047    group { name: "elm/genlist/tree/default/default";
17048       data.item: "selectraise" "on";
17049       data.item: "labels" "elm.text";
17050       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17051       data.item: "treesize" "20";
17052 //      data.item: "states" "";
17053       images {
17054          image: "bt_sm_base1.png" COMP;
17055          image: "bt_sm_shine.png" COMP;
17056          image: "bt_sm_hilight.png" COMP;
17057          image: "ilist_1.png" COMP;
17058          image: "ilist_2.png" COMP;
17059          image: "ilist_item_shadow.png" COMP;
17060          image: "icon_arrow_left.png" COMP;
17061          image: "icon_arrow_right.png" COMP;
17062          image: "icon_arrow_down.png" COMP;
17063       }
17064       parts {
17065          part {
17066             name:           "event";
17067             type:           RECT;
17068             repeat_events: 1;
17069             description {
17070                state: "default" 0.0;
17071                color: 0 0 0 0;
17072             }
17073          }
17074          part {
17075             name: "base_sh";
17076             mouse_events: 0;
17077             description {
17078                state: "default" 0.0;
17079                align: 0.0 0.0;
17080                min: 0 10;
17081                fixed: 1 1;
17082                rel1 {
17083                   to: "base";
17084                   relative: 0.0 1.0;
17085                   offset: 0 0;
17086                }
17087                rel2 {
17088                   to: "base";
17089                   relative: 1.0 1.0;
17090                   offset: -1 0;
17091                }
17092                image {
17093                   normal: "ilist_item_shadow.png";
17094                }
17095                fill.smooth: 0;
17096             }
17097             description {
17098                state: "default" 1.0;
17099                inherit: "default" 0.0;
17100                visible: 0;
17101             }
17102          }
17103          part {
17104             name: "base";
17105             mouse_events: 0;
17106             description {
17107                state: "default" 0.0;
17108                image {
17109                   normal: "ilist_1.png";
17110                   border: 2 2 2 2;
17111                }
17112                fill.smooth: 0;
17113             }
17114             description {
17115                state: "default" 1.0;
17116                inherit: "default" 0.0;
17117                image.normal: "ilist_2.png";
17118             }
17119          }
17120          part { name: "bg";
17121             clip_to: "disclip";
17122             mouse_events: 0;
17123             description { state: "default" 0.0;
17124                visible: 0;
17125                color: 255 255 255 0;
17126                rel1 {
17127                   relative: 0.0 0.0;
17128                   offset: -5 -5;
17129                }
17130                rel2 {
17131                   relative: 1.0 1.0;
17132                   offset: 4 4;
17133                }
17134                image {
17135                   normal: "bt_sm_base1.png";
17136                   border: 6 6 6 6;
17137                }
17138                image.middle: SOLID;
17139             }
17140             description { state: "selected" 0.0;
17141                inherit: "default" 0.0;
17142                visible: 1;
17143                color: 255 255 255 255;
17144                rel1 {
17145                   relative: 0.0 0.0;
17146                   offset: -2 -2;
17147                }
17148                rel2 {
17149                   relative: 1.0 1.0;
17150                   offset: 1 1;
17151                }
17152             }
17153          }
17154          part { name: "elm.swallow.pad";
17155             type: SWALLOW;
17156             description { state: "default" 0.0;
17157                fixed: 1 0;
17158                align: 0.0 0.5;
17159                rel1 {
17160                   relative: 0.0  0.0;
17161                   offset:   4    4;
17162                }
17163                rel2 {
17164                   relative: 0.0  1.0;
17165                   offset:   4   -5;
17166                }
17167             }
17168          }
17169          part { name: "arrow";
17170             clip_to: "disclip";
17171             ignore_flags: ON_HOLD;
17172             description { state: "default" 0.0;
17173                fixed: 1 0;
17174                align: 0.0 0.5;
17175                aspect: 1.0 1.0;
17176                rel1 {
17177                   to_x: "elm.swallow.pad";
17178                   relative: 1.0  0.0;
17179                   offset:   -1    4;
17180                }
17181                rel2 {
17182                   to_x: "elm.swallow.pad";
17183                   relative: 1.0  1.0;
17184                   offset:   -1   -5;
17185                }
17186                image.normal: "icon_arrow_right.png";
17187             }
17188             description { state: "default" 0.1;
17189                inherit: "default" 0.0;
17190                image.normal: "icon_arrow_left.png";
17191             }
17192             description { state: "active" 0.0;
17193                inherit: "default" 0.0;
17194                image.normal: "icon_arrow_down.png";
17195             }
17196             description { state: "active" 0.1;
17197                inherit: "default" 0.0;
17198                image.normal: "icon_arrow_down.png";
17199             }
17200          }
17201          part { name: "elm.swallow.icon";
17202             clip_to: "disclip";
17203             type: SWALLOW;
17204             description { state: "default" 0.0;
17205                fixed: 1 0;
17206                align: 0.0 0.5;
17207                rel1 {
17208                   to_x: "arrow";
17209                   relative: 1.0  0.0;
17210                   offset:   4    4;
17211                }
17212                rel2 {
17213                   to_x: "arrow";
17214                   relative: 1.0  1.0;
17215                   offset:   4   -5;
17216                }
17217             }
17218          }
17219          part { name: "elm.swallow.end";
17220             clip_to: "disclip";
17221             type: SWALLOW;
17222             description { state: "default" 0.0;
17223                fixed: 1 0;
17224                align: 1.0 0.5;
17225                aspect: 1.0 1.0;
17226                aspect_preference: VERTICAL;
17227                rel1 {
17228                   relative: 1.0  0.0;
17229                   offset:   -5    4;
17230                }
17231                rel2 {
17232                   relative: 1.0  1.0;
17233                   offset:   -5   -5;
17234                }
17235             }
17236          }
17237          part { name: "elm.text";
17238             clip_to: "disclip";
17239             type:           TEXT;
17240             effect:         SOFT_SHADOW;
17241             mouse_events:   0;
17242             scale: 1;
17243             description {
17244                state: "default" 0.0;
17245 //               min: 16 16;
17246                rel1 {
17247                   to_x:     "elm.swallow.icon";
17248                   relative: 1.0  0.0;
17249                   offset:   0 4;
17250                }
17251                rel2 {
17252                   to_x:     "elm.swallow.end";
17253                   relative: 0.0  1.0;
17254                   offset:   -1 -5;
17255                }
17256                color: 0 0 0 255;
17257                color3: 0 0 0 0;
17258                text {
17259                   font: "Sans";
17260                   size: 10;
17261                   min: 1 1;
17262 //                  min: 0 1;
17263                   align: -1.0 0.5;
17264                   text_class: "list_item";
17265                }
17266             }
17267             description { state: "selected" 0.0;
17268                inherit: "default" 0.0;
17269                color: 224 224 224 255;
17270                color3: 0 0 0 64;
17271             }
17272          }
17273          part { name: "fg1";
17274             clip_to: "disclip";
17275             mouse_events: 0;
17276             description { state: "default" 0.0;
17277                visible: 0;
17278                color: 255 255 255 0;
17279                rel1.to: "bg";
17280                rel2.relative: 1.0 0.5;
17281                rel2.to: "bg";
17282                image {
17283                   normal: "bt_sm_hilight.png";
17284                   border: 6 6 6 0;
17285                }
17286             }
17287             description { state: "selected" 0.0;
17288                inherit: "default" 0.0;
17289                visible: 1;
17290                color: 255 255 255 255;
17291             }
17292          }
17293          part { name: "fg2";
17294             clip_to: "disclip";
17295             mouse_events: 0;
17296             description { state: "default" 0.0;
17297                visible: 0;
17298                color: 255 255 255 0;
17299                rel1.to: "bg";
17300                rel2.to: "bg";
17301                image {
17302                   normal: "bt_sm_shine.png";
17303                   border: 6 6 6 0;
17304                }
17305             }
17306             description { state: "selected" 0.0;
17307                inherit: "default" 0.0;
17308                visible: 1;
17309                color: 255 255 255 255;
17310             }
17311          }
17312          part { name: "disclip";
17313             type: RECT;
17314             description { state: "default" 0.0;
17315                rel1.to: "bg";
17316                rel2.to: "bg";
17317             }
17318             description { state: "disabled" 0.0;
17319                inherit: "default" 0.0;
17320                color: 255 255 255 64;
17321             }
17322          }
17323       }
17324       programs {
17325          // signal: elm,state,%s,active
17326          //   a "check" item named %s went active
17327          // signal: elm,state,%s,passive
17328          //   a "check" item named %s went passive
17329          // default is passive
17330          program {
17331             name:    "odd";
17332             signal:  "elm,state,odd";
17333             source:  "elm";
17334             action:  STATE_SET "default" 1.0;
17335             target:  "base_sh";
17336             target:  "base";
17337          }
17338          program {
17339             name:    "even";
17340             signal:  "elm,state,even";
17341             source:  "elm";
17342             action:  STATE_SET "default" 0.0;
17343             target:  "base_sh";
17344             target:  "base";
17345          }
17346          program {
17347             name:    "go_active";
17348             signal:  "elm,state,selected";
17349             source:  "elm";
17350             action:  STATE_SET "selected" 0.0;
17351             target:  "bg";
17352             target:  "fg1";
17353             target:  "fg2";
17354             target:  "elm.text";
17355          }
17356          program {
17357             name:    "go_passive";
17358             signal:  "elm,state,unselected";
17359             source:  "elm";
17360             action:  STATE_SET "default" 0.0;
17361             target:  "bg";
17362             target:  "fg1";
17363             target:  "fg2";
17364             target:  "elm.text";
17365             transition: LINEAR 0.1;
17366          }
17367          program {
17368             name:    "go_disabled";
17369             signal:  "elm,state,disabled";
17370             source:  "elm";
17371             action:  STATE_SET "disabled" 0.0;
17372             target:  "disclip";
17373          }
17374          program {
17375             name:    "go_enabled";
17376             signal:  "elm,state,enabled";
17377             source:  "elm";
17378             action:  STATE_SET "default" 0.0;
17379             target:  "disclip";
17380          }
17381          program {
17382             name:    "expand";
17383             signal:  "mouse,up,1";
17384             source:  "arrow";
17385             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17386          }
17387          program {
17388             name:    "go_expanded";
17389             signal:  "elm,state,expanded";
17390             source:  "elm";
17391             script {
17392                new st[31];
17393                new Float:vl;
17394                get_state(PART:"arrow", st, 30, vl);
17395                set_state(PART:"arrow", "active", vl);
17396             }
17397          }
17398          program {
17399             name:    "go_contracted";
17400             signal:  "elm,state,contracted";
17401             source:  "elm";
17402             script {
17403                new st[31];
17404                new Float:vl;
17405                get_state(PART:"arrow", st, 30, vl);
17406                set_state(PART:"arrow", "default", vl);
17407             }
17408          }
17409          program { name: "to_rtl";
17410             signal: "edje,state,rtl";
17411             source: "edje";
17412             script {
17413                new st[31];
17414                new Float:vl;
17415                get_state(PART:"arrow", st, 30, vl);
17416                if (vl == 0.0) {
17417                   set_state(PART:"arrow", st, 0.1);
17418                }
17419             }
17420          }
17421          program { name: "to_ltr";
17422             signal: "edje,state,ltr";
17423             source: "edje";
17424             script {
17425                new st[31];
17426                new Float:vl;
17427                get_state(PART:"arrow", st, 30, vl);
17428                if (vl == 0.1) {
17429                   set_state(PART:"arrow", st, 0.0);
17430                }
17431             }
17432          }
17433       }
17434    }
17435    group { name: "elm/genlist/tree_compress/default/default";
17436       data.item: "stacking" "above";
17437       data.item: "selectraise" "on";
17438       data.item: "labels" "elm.text";
17439       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17440       data.item: "treesize" "20";
17441 //      data.item: "states" "";
17442       images {
17443          image: "bt_sm_base1.png" COMP;
17444          image: "bt_sm_shine.png" COMP;
17445          image: "bt_sm_hilight.png" COMP;
17446          image: "ilist_1.png" COMP;
17447          image: "ilist_item_shadow.png" COMP;
17448          image: "icon_arrow_left.png" COMP;
17449          image: "icon_arrow_right.png" COMP;
17450          image: "icon_arrow_down.png" COMP;
17451       }
17452       parts {
17453          part {
17454             name:           "event";
17455             type:           RECT;
17456             repeat_events: 1;
17457             description {
17458                state: "default" 0.0;
17459                color: 0 0 0 0;
17460             }
17461          }
17462          part {
17463             name: "base_sh";
17464             mouse_events: 0;
17465             description {
17466                state: "default" 0.0;
17467                align: 0.0 0.0;
17468                min: 0 10;
17469                fixed: 1 1;
17470                rel1 {
17471                   to: "base";
17472                   relative: 0.0 1.0;
17473                   offset: 0 0;
17474                }
17475                rel2 {
17476                   to: "base";
17477                   relative: 1.0 1.0;
17478                   offset: -1 0;
17479                }
17480                image {
17481                   normal: "ilist_item_shadow.png";
17482                }
17483                fill.smooth: 0;
17484             }
17485             description {
17486                state: "default" 1.0;
17487                inherit: "default" 0.0;
17488                visible: 0;
17489             }
17490          }
17491          part {
17492             name: "base";
17493             mouse_events: 0;
17494             description {
17495                state: "default" 0.0;
17496                image {
17497                   normal: "ilist_1.png";
17498                   border: 2 2 2 2;
17499                }
17500                fill.smooth: 0;
17501             }
17502             description {
17503                state: "default" 1.0;
17504                inherit: "default" 0.0;
17505                image.normal: "ilist_2.png";
17506             }
17507          }
17508          part { name: "bg";
17509             clip_to: "disclip";
17510             mouse_events: 0;
17511             description { state: "default" 0.0;
17512                visible: 0;
17513                color: 255 255 255 0;
17514                rel1 {
17515                   relative: 0.0 0.0;
17516                   offset: -5 -5;
17517                }
17518                rel2 {
17519                   relative: 1.0 1.0;
17520                   offset: 4 4;
17521                }
17522                image {
17523                   normal: "bt_sm_base1.png";
17524                   border: 6 6 6 6;
17525                }
17526                image.middle: SOLID;
17527             }
17528             description { state: "selected" 0.0;
17529                inherit: "default" 0.0;
17530                visible: 1;
17531                color: 255 255 255 255;
17532                rel1 {
17533                   relative: 0.0 0.0;
17534                   offset: -2 -2;
17535                }
17536                rel2 {
17537                   relative: 1.0 1.0;
17538                   offset: 1 1;
17539                }
17540             }
17541          }
17542          part { name: "elm.swallow.pad";
17543             type: SWALLOW;
17544             description { state: "default" 0.0;
17545                fixed: 1 0;
17546                align: 0.0 0.5;
17547                rel1 {
17548                   relative: 0.0  0.0;
17549                   offset:   4    4;
17550                }
17551                rel2 {
17552                   relative: 0.0  1.0;
17553                   offset:   4   -5;
17554                }
17555             }
17556          }
17557          part { name: "arrow";
17558             clip_to: "disclip";
17559             ignore_flags: ON_HOLD;
17560             description { state: "default" 0.0;
17561                fixed: 1 0;
17562                align: 0.0 0.5;
17563                aspect: 1.0 1.0;
17564                rel1 {
17565                   to_x: "elm.swallow.pad";
17566                   relative: 1.0  0.0;
17567                   offset:   -1    4;
17568                }
17569                rel2 {
17570                   to_x: "elm.swallow.pad";
17571                   relative: 1.0  1.0;
17572                   offset:   -1   -5;
17573                }
17574                image.normal: "icon_arrow_right.png";
17575             }
17576             description { state: "default" 0.1;
17577                inherit: "default" 0.0;
17578                image.normal: "icon_arrow_left.png";
17579             }
17580             description { state: "active" 0.0;
17581                inherit: "default" 0.0;
17582                image.normal: "icon_arrow_down.png";
17583             }
17584             description { state: "active" 0.1;
17585                inherit: "default" 0.0;
17586                image.normal: "icon_arrow_down.png";
17587             }
17588          }
17589          part { name: "elm.swallow.icon";
17590             clip_to: "disclip";
17591             type: SWALLOW;
17592             description { state: "default" 0.0;
17593                fixed: 1 0;
17594                align: 0.0 0.5;
17595                rel1 {
17596                   to_x: "arrow";
17597                   relative: 1.0  0.0;
17598                   offset:   4    4;
17599                }
17600                rel2 {
17601                   to_x: "arrow";
17602                   relative: 1.0  1.0;
17603                   offset:   4   -5;
17604                }
17605             }
17606          }
17607          part { name: "elm.swallow.end";
17608             clip_to: "disclip";
17609             type: SWALLOW;
17610             description { state: "default" 0.0;
17611                fixed: 1 0;
17612                align: 1.0 0.5;
17613                aspect: 1.0 1.0;
17614                aspect_preference: VERTICAL;
17615                rel1 {
17616                   relative: 1.0  0.0;
17617                   offset:   -5    4;
17618                }
17619                rel2 {
17620                   relative: 1.0  1.0;
17621                   offset:   -5   -5;
17622                }
17623             }
17624          }
17625          part { name: "elm.text";
17626             clip_to: "disclip";
17627             type:           TEXT;
17628             effect:         SOFT_SHADOW;
17629             mouse_events:   0;
17630             scale: 1;
17631             description {
17632                state: "default" 0.0;
17633 //               min: 16 16;
17634                rel1 {
17635                   to_x:     "elm.swallow.icon";
17636                   relative: 1.0  0.0;
17637                   offset:   0 4;
17638                }
17639                rel2 {
17640                   to_x:     "elm.swallow.end";
17641                   relative: 0.0  1.0;
17642                   offset:   -1 -5;
17643                }
17644                color: 0 0 0 255;
17645                color3: 0 0 0 0;
17646                text {
17647                   font: "Sans";
17648                   size: 10;
17649 //                  min: 1 1;
17650                   min: 0 1;
17651                   align: 0.0 0.5;
17652                   text_class: "list_item";
17653                }
17654             }
17655             description { state: "selected" 0.0;
17656                inherit: "default" 0.0;
17657                color: 224 224 224 255;
17658                color3: 0 0 0 64;
17659             }
17660          }
17661          part { name: "fg1";
17662             clip_to: "disclip";
17663             mouse_events: 0;
17664             description { state: "default" 0.0;
17665                visible: 0;
17666                color: 255 255 255 0;
17667                rel1.to: "bg";
17668                rel2.relative: 1.0 0.5;
17669                rel2.to: "bg";
17670                image {
17671                   normal: "bt_sm_hilight.png";
17672                   border: 6 6 6 0;
17673                }
17674             }
17675             description { state: "selected" 0.0;
17676                inherit: "default" 0.0;
17677                visible: 1;
17678                color: 255 255 255 255;
17679             }
17680          }
17681          part { name: "fg2";
17682             clip_to: "disclip";
17683             mouse_events: 0;
17684             description { state: "default" 0.0;
17685                visible: 0;
17686                color: 255 255 255 0;
17687                rel1.to: "bg";
17688                rel2.to: "bg";
17689                image {
17690                   normal: "bt_sm_shine.png";
17691                   border: 6 6 6 0;
17692                }
17693             }
17694             description { state: "selected" 0.0;
17695                inherit: "default" 0.0;
17696                visible: 1;
17697                color: 255 255 255 255;
17698             }
17699          }
17700          part { name: "disclip";
17701             type: RECT;
17702             description { state: "default" 0.0;
17703                rel1.to: "bg";
17704                rel2.to: "bg";
17705             }
17706             description { state: "disabled" 0.0;
17707                inherit: "default" 0.0;
17708                color: 255 255 255 64;
17709             }
17710          }
17711       }
17712       programs {
17713          // signal: elm,state,%s,active
17714          //   a "check" item named %s went active
17715          // signal: elm,state,%s,passive
17716          //   a "check" item named %s went passive
17717          // default is passive
17718          program {
17719             name:    "odd";
17720             signal:  "elm,state,odd";
17721             source:  "elm";
17722             action:  STATE_SET "default" 1.0;
17723             target:  "base_sh";
17724             target:  "base";
17725          }
17726          program {
17727             name:    "even";
17728             signal:  "elm,state,even";
17729             source:  "elm";
17730             action:  STATE_SET "default" 0.0;
17731             target:  "base_sh";
17732             target:  "base";
17733          }
17734          program {
17735             name:    "go_active";
17736             signal:  "elm,state,selected";
17737             source:  "elm";
17738             action:  STATE_SET "selected" 0.0;
17739             target:  "bg";
17740             target:  "fg1";
17741             target:  "fg2";
17742             target:  "elm.text";
17743          }
17744          program {
17745             name:    "go_passive";
17746             signal:  "elm,state,unselected";
17747             source:  "elm";
17748             action:  STATE_SET "default" 0.0;
17749             target:  "bg";
17750             target:  "fg1";
17751             target:  "fg2";
17752             target:  "elm.text";
17753             transition: LINEAR 0.1;
17754          }
17755          program {
17756             name:    "go_disabled";
17757             signal:  "elm,state,disabled";
17758             source:  "elm";
17759             action:  STATE_SET "disabled" 0.0;
17760             target:  "disclip";
17761          }
17762          program {
17763             name:    "go_enabled";
17764             signal:  "elm,state,enabled";
17765             source:  "elm";
17766             action:  STATE_SET "default" 0.0;
17767             target:  "disclip";
17768          }
17769          program {
17770             name:    "expand";
17771             signal:  "mouse,up,1";
17772             source:  "arrow";
17773             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17774          }
17775          program {
17776             name:    "go_expanded";
17777             signal:  "elm,state,expanded";
17778             source:  "elm";
17779             script {
17780                new st[31];
17781                new Float:vl;
17782                get_state(PART:"arrow", st, 30, vl);
17783                set_state(PART:"arrow", "active", vl);
17784             }
17785          }
17786          program {
17787             name:    "go_contracted";
17788             signal:  "elm,state,contracted";
17789             source:  "elm";
17790             script {
17791                new st[31];
17792                new Float:vl;
17793                get_state(PART:"arrow", st, 30, vl);
17794                set_state(PART:"arrow", "default", vl);
17795             }
17796          }
17797          program { name: "to_rtl";
17798             signal: "edje,state,rtl";
17799             source: "edje";
17800             script {
17801                new st[31];
17802                new Float:vl;
17803                get_state(PART:"arrow", st, 30, vl);
17804                if (vl == 0.0) {
17805                   set_state(PART:"arrow", st, 0.1);
17806                }
17807             }
17808          }
17809          program { name: "to_ltr";
17810             signal: "edje,state,ltr";
17811             source: "edje";
17812             script {
17813                new st[31];
17814                new Float:vl;
17815                get_state(PART:"arrow", st, 30, vl);
17816                if (vl == 0.1) {
17817                   set_state(PART:"arrow", st, 0.0);
17818                }
17819             }
17820          }
17821       }
17822    }
17823    group { name: "elm/genlist/item/default_style/default";
17824        styles
17825        {
17826            style { name: "genlist_style";
17827                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17828                tag:  "br" "\n";
17829                tag:  "ps" "ps";
17830                tag:  "hilight" "+ font=Sans:style=Bold";
17831                tag:  "b" "+ font=Sans:style=Bold";
17832                tag:  "tab" "\t";
17833            }
17834            style { name: "genlist_selected_style";
17835                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17836                tag:  "br" "\n";
17837                tag:  "ps" "ps";
17838                tag:  "hilight" "+ font=Sans:style=Bold";
17839                tag:  "b" "+ font=Sans:style=Bold";
17840                tag:  "tab" "\t";
17841            }
17842        }
17843        data.item: "stacking" "above";
17844        data.item: "selectraise" "on";
17845        data.item: "labels" "elm.text";
17846        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17847        data.item: "treesize" "20";
17848        images {
17849            image: "bt_sm_base1.png" COMP;
17850            image: "bt_sm_shine.png" COMP;
17851            image: "bt_sm_hilight.png" COMP;
17852            image: "ilist_1.png" COMP;
17853            image: "ilist_item_shadow.png" COMP;
17854        }
17855        parts {
17856            part {
17857                name:           "event";
17858                type:           RECT;
17859                repeat_events: 1;
17860                description {
17861                    state: "default" 0.0;
17862                    color: 0 0 0 0;
17863                }
17864            }
17865            part {
17866                name: "base_sh";
17867                mouse_events: 0;
17868                description {
17869                    state: "default" 0.0;
17870                    align: 0.0 0.0;
17871                    min: 0 10;
17872                    fixed: 1 1;
17873                    rel1 {
17874                        to: "base";
17875                        relative: 0.0 1.0;
17876                        offset: 0 0;
17877                    }
17878                    rel2 {
17879                        to: "base";
17880                        relative: 1.0 1.0;
17881                        offset: -1 0;
17882                    }
17883                    image {
17884                        normal: "ilist_item_shadow.png";
17885                    }
17886                    fill.smooth: 0;
17887                }
17888            }
17889            part {
17890                name: "base";
17891                mouse_events: 0;
17892                description {
17893                    state: "default" 0.0;
17894                    min: 16 28;
17895                    image {
17896                        normal: "ilist_1.png";
17897                        border: 2 2 2 2;
17898                    }
17899                    fill.smooth: 0;
17900                }
17901            }
17902            part { name: "bg";
17903                clip_to: "disclip";
17904                mouse_events: 0;
17905                description { state: "default" 0.0;
17906                    visible: 0;
17907                    color: 255 255 255 0;
17908                    rel1 {
17909                        relative: 0.0 0.0;
17910                        offset: -5 -5;
17911                    }
17912                    rel2 {
17913                        relative: 1.0 1.0;
17914                        offset: 4 4;
17915                    }
17916                    image {
17917                        normal: "bt_sm_base1.png";
17918                        border: 6 6 6 6;
17919                    }
17920                    image.middle: SOLID;
17921                }
17922                description { state: "selected" 0.0;
17923                    inherit: "default" 0.0;
17924                    visible: 1;
17925                    color: 255 255 255 255;
17926                    rel1 {
17927                        relative: 0.0 0.0;
17928                        offset: -2 -2;
17929                    }
17930                    rel2 {
17931                        relative: 1.0 1.0;
17932                        offset: 1 1;
17933                    }
17934                }
17935            }
17936            part { name: "elm.swallow.pad";
17937                type: SWALLOW;
17938                description { state: "default" 0.0;
17939                    fixed: 1 0;
17940                    align: 0.0 0.5;
17941                    rel1 {
17942                        relative: 0.0  0.0;
17943                        offset:   4    4;
17944                    }
17945                    rel2 {
17946                        relative: 0.0  1.0;
17947                        offset:   4   -5;
17948                    }
17949                }
17950            }
17951            part { name: "elm.swallow.icon";
17952                clip_to: "disclip";
17953                type: SWALLOW;
17954                description { state: "default" 0.0;
17955                    fixed: 1 0;
17956                    align: 0.0 0.5;
17957                    rel1 {
17958                        to_x: "elm.swallow.pad";
17959                        relative: 1.0  0.0;
17960                        offset:   -1    4;
17961                    }
17962                    rel2 {
17963                        to_x: "elm.swallow.pad";
17964                        relative: 1.0  1.0;
17965                        offset:   -1   -5;
17966                    }
17967                }
17968            }
17969            part { name: "elm.swallow.end";
17970                clip_to: "disclip";
17971                type: SWALLOW;
17972                description { state: "default" 0.0;
17973                    fixed: 1 0;
17974                    align: 1.0 0.5;
17975                    aspect: 1.0 1.0;
17976                    aspect_preference: VERTICAL;
17977                    rel1 {
17978                        relative: 1.0  0.0;
17979                        offset:   -5    4;
17980                    }
17981                    rel2 {
17982                        relative: 1.0  1.0;
17983                        offset:   -5   -5;
17984                    }
17985                }
17986            }
17987            part { name: "elm.text";
17988                clip_to: "disclip";
17989                type: TEXTBLOCK;
17990                mouse_events: 0;
17991                scale: 1;
17992                description {
17993                    state: "default" 0.0;
17994                    align: 0.0 0.5;
17995                    fixed: 0 1;
17996                    rel1 {
17997                        to_x: "elm.swallow.icon";
17998                        to_y: "base";
17999                        relative: 1.0  0.5;
18000                        offset:   0 4;
18001                    }
18002                    rel2 {
18003                        to_x: "elm.swallow.end";
18004                        to_y: "base";
18005                        relative: 0.0  0.5;
18006                        offset:   -1 -5;
18007                    }
18008                    text {
18009                        style: "genlist_style";
18010                        min: 1 1;
18011                    }
18012                }
18013                description { state: "selected" 0.0;
18014                    inherit: "default" 0.0;
18015                    text {
18016                        style: "genlist_selected_style";
18017                    }
18018                }
18019            }
18020            part { name: "fg1";
18021                clip_to: "disclip";
18022                mouse_events: 0;
18023                description { state: "default" 0.0;
18024                    visible: 0;
18025                    color: 255 255 255 0;
18026                    rel1.to: "bg";
18027                    rel2.relative: 1.0 0.5;
18028                    rel2.to: "bg";
18029                    image {
18030                        normal: "bt_sm_hilight.png";
18031                        border: 6 6 6 0;
18032                    }
18033                }
18034                description { state: "selected" 0.0;
18035                    inherit: "default" 0.0;
18036                    visible: 1;
18037                    color: 255 255 255 255;
18038                }
18039            }
18040            part { name: "fg2";
18041                clip_to: "disclip";
18042                mouse_events: 0;
18043                description { state: "default" 0.0;
18044                    visible: 0;
18045                    color: 255 255 255 0;
18046                    rel1.to: "bg";
18047                    rel2.to: "bg";
18048                    image {
18049                        normal: "bt_sm_shine.png";
18050                        border: 6 6 6 0;
18051                    }
18052                }
18053                description { state: "selected" 0.0;
18054                    inherit: "default" 0.0;
18055                    visible: 1;
18056                    color: 255 255 255 255;
18057                }
18058            }
18059            part { name: "disclip";
18060                type: RECT;
18061                description { state: "default" 0.0;
18062                    rel1.to: "bg";
18063                    rel2.to: "bg";
18064                }
18065                description { state: "disabled" 0.0;
18066                    inherit: "default" 0.0;
18067                    color: 255 255 255 64;
18068                }
18069            }
18070        }
18071        programs {
18072            // signal: elm,state,%s,active
18073            //   a "check" item named %s went active
18074            // signal: elm,state,%s,passive
18075            //   a "check" item named %s went passive
18076            // default is passive
18077            program {
18078                name:    "go_active";
18079                signal:  "elm,state,selected";
18080                source:  "elm";
18081                action:  STATE_SET "selected" 0.0;
18082                target:  "bg";
18083                target:  "fg1";
18084                target:  "fg2";
18085                target:  "elm.text";
18086            }
18087            program {
18088                name:    "go_passive";
18089                signal:  "elm,state,unselected";
18090                source:  "elm";
18091                action:  STATE_SET "default" 0.0;
18092                target:  "bg";
18093                target:  "fg1";
18094                target:  "fg2";
18095                target:  "elm.text";
18096                transition: LINEAR 0.1;
18097            }
18098            program {
18099                name:    "go_disabled";
18100                signal:  "elm,state,disabled";
18101                source:  "elm";
18102                action:  STATE_SET "disabled" 0.0;
18103                target:  "disclip";
18104            }
18105            program {
18106                name:    "go_enabled";
18107                signal:  "elm,state,enabled";
18108                source:  "elm";
18109                action:  STATE_SET "default" 0.0;
18110                target:  "disclip";
18111            }
18112        }
18113    }
18114    group { name: "elm/genlist/item_odd/default_style/default";
18115        data.item: "stacking" "below";
18116        data.item: "selectraise" "on";
18117        data.item: "labels" "elm.text";
18118        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18119        data.item: "treesize" "20";
18120        images {
18121            image: "bt_sm_base1.png" COMP;
18122            image: "bt_sm_shine.png" COMP;
18123            image: "bt_sm_hilight.png" COMP;
18124            image: "ilist_2.png" COMP;
18125        }
18126        parts {
18127            part { name: "event";
18128                type: RECT;
18129                repeat_events: 1;
18130                description {
18131                    state: "default" 0.0;
18132                    color: 0 0 0 0;
18133                }
18134            }
18135            part {
18136                name: "base";
18137                mouse_events: 0;
18138                description {
18139                    state: "default" 0.0;
18140                    min: 16 28;
18141                    image {
18142                        normal: "ilist_2.png";
18143                        border: 2 2 2 2;
18144                    }
18145                    fill.smooth: 0;
18146                }
18147            }
18148            part { name: "bg";
18149                clip_to: "disclip";
18150                mouse_events: 0;
18151                description { state: "default" 0.0;
18152                    visible: 0;
18153                    color: 255 255 255 0;
18154                    rel1 {
18155                        relative: 0.0 0.0;
18156                        offset: -5 -5;
18157                    }
18158                    rel2 {
18159                        relative: 1.0 1.0;
18160                        offset: 4 4;
18161                    }
18162                    image {
18163                        normal: "bt_sm_base1.png";
18164                        border: 6 6 6 6;
18165                    }
18166                    image.middle: SOLID;
18167                }
18168                description { state: "selected" 0.0;
18169                    inherit: "default" 0.0;
18170                    visible: 1;
18171                    color: 255 255 255 255;
18172                    rel1 {
18173                        relative: 0.0 0.0;
18174                        offset: -2 -2;
18175                    }
18176                    rel2 {
18177                        relative: 1.0 1.0;
18178                        offset: 1 1;
18179                    }
18180                }
18181            }
18182            part { name: "elm.swallow.pad";
18183                type: SWALLOW;
18184                description { state: "default" 0.0;
18185                    fixed: 1 0;
18186                    align: 0.0 0.5;
18187                    rel1 {
18188                        relative: 0.0  0.0;
18189                        offset:   4    4;
18190                    }
18191                    rel2 {
18192                        relative: 0.0  1.0;
18193                        offset:   4   -5;
18194                    }
18195                }
18196            }
18197            part { name: "elm.swallow.icon";
18198                clip_to: "disclip";
18199                type: SWALLOW;
18200                description { state: "default" 0.0;
18201                    fixed: 1 0;
18202                    align: 0.0 0.5;
18203                    rel1 {
18204                        to_x: "elm.swallow.pad";
18205                        relative: 1.0  0.0;
18206                        offset:   -1    4;
18207                    }
18208                    rel2 {
18209                        to_x: "elm.swallow.pad";
18210                        relative: 1.0  1.0;
18211                        offset:   -1   -5;
18212                    }
18213                }
18214            }
18215            part { name: "elm.swallow.end";
18216                clip_to: "disclip";
18217                type:          SWALLOW;
18218                description { state:    "default" 0.0;
18219                    fixed: 1 0;
18220                    align:    1.0 0.5;
18221                    aspect: 1.0 1.0;
18222                    aspect_preference: VERTICAL;
18223                    rel1 {
18224                        relative: 1.0  0.0;
18225                        offset:   -5    4;
18226                    }
18227                    rel2 {
18228                        relative: 1.0  1.0;
18229                        offset:   -5   -5;
18230                    }
18231                }
18232            }
18233            part { name: "elm.text";
18234                clip_to: "disclip";
18235                type:           TEXTBLOCK;
18236                mouse_events:   0;
18237                scale: 1;
18238                description {
18239                    state: "default" 0.0;
18240                    align: 0.0 0.5;
18241                    fixed: 0 1;
18242                    rel1 {
18243                        to_x: "elm.swallow.icon";
18244                        to_y: "base";
18245                        relative: 1.0  0.5;
18246                        offset:   0 4;
18247                    }
18248                    rel2 {
18249                        to_x: "elm.swallow.end";
18250                        to_y: "base";
18251                        relative: 0.0  0.5;
18252                        offset:   -1 -5;
18253                    }
18254                    text {
18255                        style: "genlist_style";
18256                        min: 1 1;
18257                    }
18258                }
18259                description { state: "selected" 0.0;
18260                    inherit: "default" 0.0;
18261                    text {
18262                        style: "genlist_selected_style";
18263                    }
18264                }
18265            }
18266            part { name: "fg1";
18267                clip_to: "disclip";
18268                mouse_events: 0;
18269                description { state: "default" 0.0;
18270                    visible: 0;
18271                    color: 255 255 255 0;
18272                    rel1.to: "bg";
18273                    rel2.relative: 1.0 0.5;
18274                    rel2.to: "bg";
18275                    image {
18276                        normal: "bt_sm_hilight.png";
18277                        border: 6 6 6 0;
18278                    }
18279                }
18280                description { state: "selected" 0.0;
18281                    inherit: "default" 0.0;
18282                    visible: 1;
18283                    color: 255 255 255 255;
18284                }
18285            }
18286            part { name: "fg2";
18287                clip_to: "disclip";
18288                mouse_events: 0;
18289                description { state: "default" 0.0;
18290                    visible: 0;
18291                    color: 255 255 255 0;
18292                    rel1.to: "bg";
18293                    rel2.to: "bg";
18294                    image {
18295                        normal: "bt_sm_shine.png";
18296                        border: 6 6 6 0;
18297                    }
18298                }
18299                description { state: "selected" 0.0;
18300                    inherit: "default" 0.0;
18301                    visible: 1;
18302                    color: 255 255 255 255;
18303                }
18304            }
18305            part { name: "disclip";
18306                type: RECT;
18307                description { state: "default" 0.0;
18308                    rel1.to: "bg";
18309                    rel2.to: "bg";
18310                }
18311                description { state: "disabled" 0.0;
18312                    inherit: "default" 0.0;
18313                    color: 255 255 255 64;
18314                }
18315            }
18316        }
18317        programs {
18318            // signal: elm,state,%s,active
18319            //   a "check" item named %s went active
18320            // signal: elm,state,%s,passive
18321            //   a "check" item named %s went passive
18322            // default is passive
18323            program {
18324                name:    "go_active";
18325                signal:  "elm,state,selected";
18326                source:  "elm";
18327                action:  STATE_SET "selected" 0.0;
18328                target:  "bg";
18329                target:  "fg1";
18330                target:  "fg2";
18331                target:  "elm.text";
18332            }
18333            program {
18334                name:    "go_passive";
18335                signal:  "elm,state,unselected";
18336                source:  "elm";
18337                action:  STATE_SET "default" 0.0;
18338                target:  "bg";
18339                target:  "fg1";
18340                target:  "fg2";
18341                target:  "elm.text";
18342                transition: LINEAR 0.1;
18343            }
18344            program {
18345                name:    "go_disabled";
18346                signal:  "elm,state,disabled";
18347                source:  "elm";
18348                action:  STATE_SET "disabled" 0.0;
18349                target:  "disclip";
18350            }
18351            program {
18352                name:    "go_enabled";
18353                signal:  "elm,state,enabled";
18354                source:  "elm";
18355                action:  STATE_SET "default" 0.0;
18356                target:  "disclip";
18357            }
18358        }
18359    }
18360
18361    group { name: "elm/genlist/tree/default_style/default";
18362        data.item: "stacking" "above";
18363        data.item: "selectraise" "on";
18364        data.item: "labels" "elm.text";
18365        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18366        data.item: "treesize" "20";
18367        images {
18368            image: "bt_sm_base1.png" COMP;
18369            image: "bt_sm_shine.png" COMP;
18370            image: "bt_sm_hilight.png" COMP;
18371            image: "ilist_1.png" COMP;
18372            image: "ilist_item_shadow.png" COMP;
18373            image: "icon_arrow_right.png" COMP;
18374            image: "icon_arrow_down.png" COMP;
18375        }
18376        parts {
18377            part {
18378                name:           "event";
18379                type:           RECT;
18380                repeat_events: 1;
18381                description {
18382                    state: "default" 0.0;
18383                    color: 0 0 0 0;
18384                }
18385            }
18386            part {
18387                name: "base_sh";
18388                mouse_events: 0;
18389                description {
18390                    state: "default" 0.0;
18391                    align: 0.0 0.0;
18392                    min: 0 10;
18393                    fixed: 1 1;
18394                    rel1 {
18395                        to: "base";
18396                        relative: 0.0 1.0;
18397                        offset: 0 0;
18398                    }
18399                    rel2 {
18400                        to: "base";
18401                        relative: 1.0 1.0;
18402                        offset: -1 0;
18403                    }
18404                    image {
18405                        normal: "ilist_item_shadow.png";
18406                    }
18407                    fill.smooth: 0;
18408                }
18409            }
18410            part {
18411                name: "base";
18412                mouse_events: 0;
18413                description {
18414                    state: "default" 0.0;
18415                    min: 16 28;
18416                    image {
18417                        normal: "ilist_1.png";
18418                        border: 2 2 2 2;
18419                    }
18420                    fill.smooth: 0;
18421                }
18422            }
18423            part { name: "bg";
18424                clip_to: "disclip";
18425                mouse_events: 0;
18426                description { state: "default" 0.0;
18427                    visible: 0;
18428                    color: 255 255 255 0;
18429                    rel1 {
18430                        relative: 0.0 0.0;
18431                        offset: -5 -5;
18432                    }
18433                    rel2 {
18434                        relative: 1.0 1.0;
18435                        offset: 4 4;
18436                    }
18437                    image {
18438                        normal: "bt_sm_base1.png";
18439                        border: 6 6 6 6;
18440                    }
18441                    image.middle: SOLID;
18442                }
18443                description { state: "selected" 0.0;
18444                    inherit: "default" 0.0;
18445                    visible: 1;
18446                    color: 255 255 255 255;
18447                    rel1 {
18448                        relative: 0.0 0.0;
18449                        offset: -2 -2;
18450                    }
18451                    rel2 {
18452                        relative: 1.0 1.0;
18453                        offset: 1 1;
18454                    }
18455                }
18456            }
18457            part { name: "elm.swallow.pad";
18458                type: SWALLOW;
18459                description { state: "default" 0.0;
18460                    fixed: 1 0;
18461                    align: 0.0 0.5;
18462                    rel1 {
18463                        relative: 0.0  0.0;
18464                        offset:   4    4;
18465                    }
18466                    rel2 {
18467                        relative: 0.0  1.0;
18468                        offset:   4   -5;
18469                    }
18470                }
18471            }
18472            part { name: "arrow";
18473                clip_to: "disclip";
18474                ignore_flags: ON_HOLD;
18475                description { state: "default" 0.0;
18476                    fixed: 1 0;
18477                    align: 0.0 0.5;
18478                    aspect: 1.0 1.0;
18479                    rel1 {
18480                        to_x: "elm.swallow.pad";
18481                        relative: 1.0  0.0;
18482                        offset:   -1    4;
18483                    }
18484                    rel2 {
18485                        to_x: "elm.swallow.pad";
18486                        relative: 1.0  1.0;
18487                        offset:   -1   -5;
18488                    }
18489                    image.normal: "icon_arrow_right.png";
18490                }
18491                description { state: "active" 0.0;
18492                    inherit: "default" 0.0;
18493                    image.normal: "icon_arrow_down.png";
18494                }
18495            }
18496            part { name: "elm.swallow.icon";
18497                clip_to: "disclip";
18498                type: SWALLOW;
18499                description { state: "default" 0.0;
18500                    fixed: 1 0;
18501                    align: 0.0 0.5;
18502                    rel1 {
18503                        to_x: "arrow";
18504                        relative: 1.0  0.0;
18505                        offset:   4    4;
18506                    }
18507                    rel2 {
18508                        to_x: "arrow";
18509                        relative: 1.0  1.0;
18510                        offset:   4   -5;
18511                    }
18512                }
18513            }
18514            part { name: "elm.swallow.end";
18515                clip_to: "disclip";
18516                type: SWALLOW;
18517                description { state: "default" 0.0;
18518                    fixed: 1 0;
18519                    align: 1.0 0.5;
18520                    aspect: 1.0 1.0;
18521                    aspect_preference: VERTICAL;
18522                    rel1 {
18523                        relative: 1.0  0.0;
18524                        offset:   -5    4;
18525                    }
18526                    rel2 {
18527                        relative: 1.0  1.0;
18528                        offset:   -5   -5;
18529                    }
18530                }
18531            }
18532            part { name: "elm.text";
18533                clip_to: "disclip";
18534                type:           TEXTBLOCK;
18535                effect:         SOFT_SHADOW;
18536                mouse_events:   0;
18537                scale: 1;
18538                description {
18539                    state: "default" 0.0;
18540                    align: 0.0 0.5;
18541                    fixed: 0 1;
18542                    rel1 {
18543                        to_x:     "elm.swallow.icon";
18544                        to_y: "base";
18545                        relative: 1.0  0.5;
18546                        offset:   0 4;
18547                    }
18548                    rel2 {
18549                        to_x:     "elm.swallow.end";
18550                        to_y: "base";
18551                        relative: 0.0  0.5;
18552                        offset:   -1 -5;
18553                    }
18554                    text {
18555                        style: "genlist_style";
18556                        min: 1 1;
18557                    }
18558                }
18559                description { state: "selected" 0.0;
18560                    inherit: "default" 0.0;
18561                    text {
18562                        style: "genlist_selected_style";
18563                    }
18564                }
18565            }
18566            part { name: "fg1";
18567                clip_to: "disclip";
18568                mouse_events: 0;
18569                description { state: "default" 0.0;
18570                    visible: 0;
18571                    color: 255 255 255 0;
18572                    rel1.to: "bg";
18573                    rel2.relative: 1.0 0.5;
18574                    rel2.to: "bg";
18575                    image {
18576                        normal: "bt_sm_hilight.png";
18577                        border: 6 6 6 0;
18578                    }
18579                }
18580                description { state: "selected" 0.0;
18581                    inherit: "default" 0.0;
18582                    visible: 1;
18583                    color: 255 255 255 255;
18584                }
18585            }
18586            part { name: "fg2";
18587                clip_to: "disclip";
18588                mouse_events: 0;
18589                description { state: "default" 0.0;
18590                    visible: 0;
18591                    color: 255 255 255 0;
18592                    rel1.to: "bg";
18593                    rel2.to: "bg";
18594                    image {
18595                        normal: "bt_sm_shine.png";
18596                        border: 6 6 6 0;
18597                    }
18598                }
18599                description { state: "selected" 0.0;
18600                    inherit: "default" 0.0;
18601                    visible: 1;
18602                    color: 255 255 255 255;
18603                }
18604            }
18605            part { name: "disclip";
18606                type: RECT;
18607                description { state: "default" 0.0;
18608                    rel1.to: "bg";
18609                    rel2.to: "bg";
18610                }
18611                description { state: "disabled" 0.0;
18612                    inherit: "default" 0.0;
18613                    color: 255 255 255 64;
18614                }
18615            }
18616        }
18617        programs {
18618            // signal: elm,state,%s,active
18619            //   a "check" item named %s went active
18620            // signal: elm,state,%s,passive
18621            //   a "check" item named %s went passive
18622            // default is passive
18623            program {
18624                name:    "go_active";
18625                signal:  "elm,state,selected";
18626                source:  "elm";
18627                action:  STATE_SET "selected" 0.0;
18628                target:  "bg";
18629                target:  "fg1";
18630                target:  "fg2";
18631                target:  "elm.text";
18632            }
18633            program {
18634                name:    "go_passive";
18635                signal:  "elm,state,unselected";
18636                source:  "elm";
18637                action:  STATE_SET "default" 0.0;
18638                target:  "bg";
18639                target:  "fg1";
18640                target:  "fg2";
18641                target:  "elm.text";
18642                transition: LINEAR 0.1;
18643            }
18644            program {
18645                name:    "go_disabled";
18646                signal:  "elm,state,disabled";
18647                source:  "elm";
18648                action:  STATE_SET "disabled" 0.0;
18649                target:  "disclip";
18650            }
18651            program {
18652                name:    "go_enabled";
18653                signal:  "elm,state,enabled";
18654                source:  "elm";
18655                action:  STATE_SET "default" 0.0;
18656                target:  "disclip";
18657            }
18658            program {
18659                name:    "expand";
18660                signal:  "mouse,up,1";
18661                source:  "arrow";
18662                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18663            }
18664            program {
18665                name:    "go_expanded";
18666                signal:  "elm,state,expanded";
18667                source:  "elm";
18668                action:  STATE_SET "active" 0.0;
18669                target:  "arrow";
18670            }
18671            program {
18672                name:    "go_contracted";
18673                signal:  "elm,state,contracted";
18674                source:  "elm";
18675                action:  STATE_SET "default" 0.0;
18676                target:  "arrow";
18677            }
18678        }
18679    }
18680    group { name: "elm/genlist/tree_odd/default_style/default";
18681        data.item: "stacking" "below";
18682        data.item: "selectraise" "on";
18683        data.item: "labels" "elm.text";
18684        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18685        data.item: "treesize" "20";
18686        images {
18687            image: "bt_sm_base1.png" COMP;
18688            image: "bt_sm_shine.png" COMP;
18689            image: "bt_sm_hilight.png" COMP;
18690            image: "ilist_2.png" COMP;
18691            image: "icon_arrow_right.png" COMP;
18692            image: "icon_arrow_down.png" COMP;
18693        }
18694        parts {
18695            part {
18696                name:           "event";
18697                type:           RECT;
18698                repeat_events: 1;
18699                description {
18700                    state: "default" 0.0;
18701                    color: 0 0 0 0;
18702                }
18703            }
18704            part {
18705                name: "base";
18706                mouse_events: 0;
18707                description {
18708                    state: "default" 0.0;
18709                    min: 16 28;
18710                    image {
18711                        normal: "ilist_2.png";
18712                        border: 2 2 2 2;
18713                    }
18714                    fill.smooth: 0;
18715                }
18716            }
18717            part { name: "bg";
18718                clip_to: "disclip";
18719                mouse_events: 0;
18720                description { state: "default" 0.0;
18721                    visible: 0;
18722                    color: 255 255 255 0;
18723                    rel1 {
18724                        relative: 0.0 0.0;
18725                        offset: -5 -5;
18726                    }
18727                    rel2 {
18728                        relative: 1.0 1.0;
18729                        offset: 4 4;
18730                    }
18731                    image {
18732                        normal: "bt_sm_base1.png";
18733                        border: 6 6 6 6;
18734                    }
18735                    image.middle: SOLID;
18736                }
18737                description { state: "selected" 0.0;
18738                    inherit: "default" 0.0;
18739                    visible: 1;
18740                    color: 255 255 255 255;
18741                    rel1 {
18742                        relative: 0.0 0.0;
18743                        offset: -2 -2;
18744                    }
18745                    rel2 {
18746                        relative: 1.0 1.0;
18747                        offset: 1 1;
18748                    }
18749                }
18750            }
18751            part { name: "elm.swallow.pad";
18752                type: SWALLOW;
18753                description { state: "default" 0.0;
18754                    fixed: 1 0;
18755                    align: 0.0 0.5;
18756                    rel1 {
18757                        relative: 0.0  0.0;
18758                        offset:   4    4;
18759                    }
18760                    rel2 {
18761                        relative: 0.0  1.0;
18762                        offset:   4   -5;
18763                    }
18764                }
18765            }
18766            part { name: "arrow";
18767                clip_to: "disclip";
18768                ignore_flags: ON_HOLD;
18769                description { state: "default" 0.0;
18770                    fixed: 1 0;
18771                    align: 0.0 0.5;
18772                    aspect: 1.0 1.0;
18773                    rel1 {
18774                        to_x: "elm.swallow.pad";
18775                        relative: 1.0  0.0;
18776                        offset:   -1    4;
18777                    }
18778                    rel2 {
18779                        to_x: "elm.swallow.pad";
18780                        relative: 1.0  1.0;
18781                        offset:   -1   -5;
18782                    }
18783                    image.normal: "icon_arrow_right.png";
18784                }
18785                description { state: "active" 0.0;
18786                    inherit: "default" 0.0;
18787                    image.normal: "icon_arrow_down.png";
18788                }
18789            }
18790            part { name: "elm.swallow.icon";
18791                clip_to: "disclip";
18792                type: SWALLOW;
18793                description { state: "default" 0.0;
18794                    fixed: 1 0;
18795                    align: 0.0 0.5;
18796                    rel1 {
18797                        to_x: "arrow";
18798                        relative: 1.0  0.0;
18799                        offset:   4    4;
18800                    }
18801                    rel2 {
18802                        to_x: "arrow";
18803                        relative: 1.0  1.0;
18804                        offset:   4   -5;
18805                    }
18806                }
18807            }
18808            part { name: "elm.swallow.end";
18809                clip_to: "disclip";
18810                type: SWALLOW;
18811                description { state: "default" 0.0;
18812                    fixed: 1 0;
18813                    align: 1.0 0.5;
18814                    aspect: 1.0 1.0;
18815                    aspect_preference: VERTICAL;
18816                    rel1 {
18817                        relative: 1.0  0.0;
18818                        offset:   -5    4;
18819                    }
18820                    rel2 {
18821                        relative: 1.0  1.0;
18822                        offset:   -5   -5;
18823                    }
18824                }
18825            }
18826            part { name: "elm.text";
18827                clip_to: "disclip";
18828                type:           TEXTBLOCK;
18829                effect:         SOFT_SHADOW;
18830                mouse_events:   0;
18831                scale: 1;
18832                description {
18833                    state: "default" 0.0;
18834                    align: 0.0 0.5;
18835                    fixed: 0 1;
18836                    rel1 {
18837                        to_x:     "elm.swallow.icon";
18838                        to_y: "base";
18839                        relative: 1.0  0.5;
18840                        offset:   0 4;
18841                    }
18842                    rel2 {
18843                        to_x:     "elm.swallow.end";
18844                        to_y: "base";
18845                        relative: 0.0  0.5;
18846                        offset:   -1 -5;
18847                    }
18848                    text {
18849                        style: "genlist_style";
18850                        min: 1 1;
18851                    }
18852                }
18853                description { state: "selected" 0.0;
18854                    inherit: "default" 0.0;
18855                    text {
18856                        style: "genlist_selected_style";
18857                    }
18858                }
18859            }
18860            part { name: "fg1";
18861                clip_to: "disclip";
18862                mouse_events: 0;
18863                description { state: "default" 0.0;
18864                    visible: 0;
18865                    color: 255 255 255 0;
18866                    rel1.to: "bg";
18867                    rel2.relative: 1.0 0.5;
18868                    rel2.to: "bg";
18869                    image {
18870                        normal: "bt_sm_hilight.png";
18871                        border: 6 6 6 0;
18872                    }
18873                }
18874                description { state: "selected" 0.0;
18875                    inherit: "default" 0.0;
18876                    visible: 1;
18877                    color: 255 255 255 255;
18878                }
18879            }
18880            part { name: "fg2";
18881                clip_to: "disclip";
18882                mouse_events: 0;
18883                description { state: "default" 0.0;
18884                    visible: 0;
18885                    color: 255 255 255 0;
18886                    rel1.to: "bg";
18887                    rel2.to: "bg";
18888                    image {
18889                        normal: "bt_sm_shine.png";
18890                        border: 6 6 6 0;
18891                    }
18892                }
18893                description { state: "selected" 0.0;
18894                    inherit: "default" 0.0;
18895                    visible: 1;
18896                    color: 255 255 255 255;
18897                }
18898            }
18899            part { name: "disclip";
18900                type: RECT;
18901                description { state: "default" 0.0;
18902                    rel1.to: "bg";
18903                    rel2.to: "bg";
18904                }
18905                description { state: "disabled" 0.0;
18906                    inherit: "default" 0.0;
18907                    color: 255 255 255 64;
18908                }
18909            }
18910        }
18911        programs {
18912            // signal: elm,state,%s,active
18913            //   a "check" item named %s went active
18914            // signal: elm,state,%s,passive
18915            //   a "check" item named %s went passive
18916            // default is passive
18917            program {
18918                name:    "go_active";
18919                signal:  "elm,state,selected";
18920                source:  "elm";
18921                action:  STATE_SET "selected" 0.0;
18922                target:  "bg";
18923                target:  "fg1";
18924                target:  "fg2";
18925                target:  "elm.text";
18926            }
18927            program {
18928                name:    "go_passive";
18929                signal:  "elm,state,unselected";
18930                source:  "elm";
18931                action:  STATE_SET "default" 0.0;
18932                target:  "bg";
18933                target:  "fg1";
18934                target:  "fg2";
18935                target:  "elm.text";
18936                transition: LINEAR 0.1;
18937            }
18938            program {
18939                name:    "go_disabled";
18940                signal:  "elm,state,disabled";
18941                source:  "elm";
18942                action:  STATE_SET "disabled" 0.0;
18943                target:  "disclip";
18944            }
18945            program {
18946                name:    "go_enabled";
18947                signal:  "elm,state,enabled";
18948                source:  "elm";
18949                action:  STATE_SET "default" 0.0;
18950                target:  "disclip";
18951            }
18952            program {
18953                name:    "expand";
18954                signal:  "mouse,up,1";
18955                source:  "arrow";
18956                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18957            }
18958            program {
18959                name:    "go_expanded";
18960                signal:  "elm,state,expanded";
18961                source:  "elm";
18962                action:  STATE_SET "active" 0.0;
18963                target:  "arrow";
18964            }
18965            program {
18966                name:    "go_contracted";
18967                signal:  "elm,state,contracted";
18968                source:  "elm";
18969                action:  STATE_SET "default" 0.0;
18970                target:  "arrow";
18971            }
18972        }
18973    }
18974
18975
18976    group { name: "elm/genlist/item/double_label/default";
18977       data.item: "stacking" "above";
18978       data.item: "selectraise" "on";
18979       data.item: "labels" "elm.text elm.text.sub";
18980       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18981       data.item: "treesize" "20";
18982 //      data.item: "states" "";
18983       images {
18984          image: "bt_sm_base1.png" COMP;
18985          image: "bt_sm_shine.png" COMP;
18986          image: "bt_sm_hilight.png" COMP;
18987          image: "ilist_1.png" COMP;
18988          image: "ilist_item_shadow.png" COMP;
18989       }
18990       parts {
18991          part {
18992             name:           "event";
18993             type:           RECT;
18994             repeat_events: 1;
18995             description {
18996                state: "default" 0.0;
18997                color: 0 0 0 0;
18998             }
18999          }
19000          part {
19001             name: "base_sh";
19002             mouse_events: 0;
19003             description {
19004                state: "default" 0.0;
19005                align: 0.0 0.0;
19006                min: 0 10;
19007                fixed: 1 1;
19008                rel1 {
19009                   to: "base";
19010                   relative: 0.0 1.0;
19011                   offset: 0 0;
19012                }
19013                rel2 {
19014                   to: "base";
19015                   relative: 1.0 1.0;
19016                   offset: -1 0;
19017                }
19018                image {
19019                   normal: "ilist_item_shadow.png";
19020                }
19021                fill.smooth: 0;
19022             }
19023          }
19024          part {
19025             name: "base";
19026             mouse_events: 0;
19027             description {
19028                state: "default" 0.0;
19029                image {
19030                   normal: "ilist_1.png";
19031                   border: 2 2 2 2;
19032                }
19033                fill.smooth: 0;
19034             }
19035          }
19036          part { name: "bg";
19037             clip_to: "disclip";
19038             mouse_events: 0;
19039             description { state: "default" 0.0;
19040                visible: 0;
19041                color: 255 255 255 0;
19042                rel1 {
19043                   relative: 0.0 0.0;
19044                   offset: -5 -5;
19045                }
19046                rel2 {
19047                   relative: 1.0 1.0;
19048                   offset: 4 4;
19049                }
19050                image {
19051                   normal: "bt_sm_base1.png";
19052                   border: 6 6 6 6;
19053                }
19054                image.middle: SOLID;
19055             }
19056             description { state: "selected" 0.0;
19057                inherit: "default" 0.0;
19058                visible: 1;
19059                color: 255 255 255 255;
19060                rel1 {
19061                   relative: 0.0 0.0;
19062                   offset: -2 -2;
19063                }
19064                rel2 {
19065                   relative: 1.0 1.0;
19066                   offset: 1 1;
19067                }
19068             }
19069          }
19070          part { name: "elm.swallow.pad";
19071             type: SWALLOW;
19072             description { state: "default" 0.0;
19073                fixed: 1 0;
19074                align: 0.0 0.5;
19075                rel1 {
19076                   relative: 0.0  0.0;
19077                   offset:   4    4;
19078                }
19079                rel2 {
19080                   relative: 0.0  1.0;
19081                   offset:   4   -5;
19082                }
19083             }
19084          }
19085          part { name: "elm.swallow.icon";
19086             clip_to: "disclip";
19087             type: SWALLOW;
19088             description { state: "default" 0.0;
19089                fixed: 1 0;
19090                align: 0.0 0.5;
19091                rel1 {
19092                   to_x: "elm.swallow.pad";
19093                   relative: 1.0  0.0;
19094                   offset:   -1    4;
19095                }
19096                rel2 {
19097                   to_x: "elm.swallow.pad";
19098                   relative: 1.0  1.0;
19099                   offset:   -1   -5;
19100                }
19101             }
19102          }
19103          part { name: "elm.swallow.end";
19104             clip_to: "disclip";
19105             type: SWALLOW;
19106             description { state: "default" 0.0;
19107                fixed: 1 0;
19108                align: 1.0 0.5;
19109                aspect: 1.0 1.0;
19110                aspect_preference: VERTICAL;
19111                rel1 {
19112                   relative: 1.0  0.0;
19113                   offset:   -5    4;
19114                }
19115                rel2 {
19116                   relative: 1.0  1.0;
19117                   offset:   -5   -5;
19118                }
19119             }
19120          }
19121          part { name: "elm.text";
19122             clip_to: "disclip";
19123             type:           TEXT;
19124             effect:         SOFT_SHADOW;
19125             mouse_events:   0;
19126             scale: 1;
19127             description {
19128                state: "default" 0.0;
19129 //               min: 16 16;
19130                rel1 {
19131                   to_x:     "elm.swallow.icon";
19132                   relative: 1.0  0.0;
19133                   offset:   0 4;
19134                }
19135                rel2 {
19136                   to_x:     "elm.swallow.end";
19137                   relative: 0.0  0.5;
19138                   offset:   -1 -5;
19139                }
19140                color: 0 0 0 255;
19141                color3: 0 0 0 0;
19142                text {
19143                   font: "Sans";
19144                   size: 10;
19145                   min: 1 1;
19146 //                  min: 0 1;
19147                   align: 0.0 0.5;
19148                   text_class: "list_item";
19149                }
19150             }
19151             description { state: "selected" 0.0;
19152                inherit: "default" 0.0;
19153                color: 224 224 224 255;
19154                color3: 0 0 0 64;
19155             }
19156          }
19157          part { name: "elm.text.sub";
19158             clip_to: "disclip";
19159             type:           TEXT;
19160             mouse_events:   0;
19161             scale: 1;
19162             description {
19163                state: "default" 0.0;
19164 //               min: 16 16;
19165                rel1 {
19166                   to_x:     "elm.swallow.icon";
19167                   relative: 1.0  0.5;
19168                   offset:   0 4;
19169                }
19170                rel2 {
19171                   to_x:     "elm.swallow.end";
19172                   relative: 0.0  1.0;
19173                   offset:   -1 -5;
19174                }
19175                color: 0 0 0 128;
19176                color3: 0 0 0 0;
19177                text {
19178                   font: "Sans";
19179                   size: 8;
19180                   min: 1 1;
19181 //                  min: 0 1;
19182                   align: 0.0 0.5;
19183                   text_class: "list_item";
19184                }
19185             }
19186             description { state: "selected" 0.0;
19187                inherit: "default" 0.0;
19188                color: 128 128 128 255;
19189                color3: 0 0 0 32;
19190             }
19191          }
19192          part { name: "fg1";
19193             clip_to: "disclip";
19194             mouse_events: 0;
19195             description { state: "default" 0.0;
19196                visible: 0;
19197                color: 255 255 255 0;
19198                rel1.to: "bg";
19199                rel2.relative: 1.0 0.5;
19200                rel2.to: "bg";
19201                image {
19202                   normal: "bt_sm_hilight.png";
19203                   border: 6 6 6 0;
19204                }
19205             }
19206             description { state: "selected" 0.0;
19207                inherit: "default" 0.0;
19208                visible: 1;
19209                color: 255 255 255 255;
19210             }
19211          }
19212          part { name: "fg2";
19213             clip_to: "disclip";
19214             mouse_events: 0;
19215             description { state: "default" 0.0;
19216                visible: 0;
19217                color: 255 255 255 0;
19218                rel1.to: "bg";
19219                rel2.to: "bg";
19220                image {
19221                   normal: "bt_sm_shine.png";
19222                   border: 6 6 6 0;
19223                }
19224             }
19225             description { state: "selected" 0.0;
19226                inherit: "default" 0.0;
19227                visible: 1;
19228                color: 255 255 255 255;
19229             }
19230          }
19231          part { name: "disclip";
19232             type: RECT;
19233             description { state: "default" 0.0;
19234                rel1.to: "bg";
19235                rel2.to: "bg";
19236             }
19237             description { state: "disabled" 0.0;
19238                inherit: "default" 0.0;
19239                color: 255 255 255 64;
19240             }
19241          }
19242       }
19243       programs {
19244          // signal: elm,state,%s,active
19245          //   a "check" item named %s went active
19246          // signal: elm,state,%s,passive
19247          //   a "check" item named %s went passive
19248          // default is passive
19249          program {
19250             name:    "go_active";
19251             signal:  "elm,state,selected";
19252             source:  "elm";
19253             action:  STATE_SET "selected" 0.0;
19254             target:  "bg";
19255             target:  "fg1";
19256             target:  "fg2";
19257             target:  "elm.text";
19258             target:  "elm.text.sub";
19259          }
19260          program {
19261             name:    "go_passive";
19262             signal:  "elm,state,unselected";
19263             source:  "elm";
19264             action:  STATE_SET "default" 0.0;
19265             target:  "bg";
19266             target:  "fg1";
19267             target:  "fg2";
19268             target:  "elm.text";
19269             target:  "elm.text.sub";
19270             transition: LINEAR 0.1;
19271          }
19272          program {
19273             name:    "go_disabled";
19274             signal:  "elm,state,disabled";
19275             source:  "elm";
19276             action:  STATE_SET "disabled" 0.0;
19277             target:  "disclip";
19278          }
19279          program {
19280             name:    "go_enabled";
19281             signal:  "elm,state,enabled";
19282             source:  "elm";
19283             action:  STATE_SET "default" 0.0;
19284             target:  "disclip";
19285          }
19286       }
19287    }
19288    group { name: "elm/genlist/item_compress/double_label/default";
19289       data.item: "stacking" "above";
19290       data.item: "selectraise" "on";
19291       data.item: "labels" "elm.text elm.text.sub";
19292       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19293       data.item: "treesize" "20";
19294 //      data.item: "states" "";
19295       images {
19296          image: "bt_sm_base1.png" COMP;
19297          image: "bt_sm_shine.png" COMP;
19298          image: "bt_sm_hilight.png" COMP;
19299          image: "ilist_1.png" COMP;
19300          image: "ilist_item_shadow.png" COMP;
19301       }
19302       parts {
19303          part {
19304             name:           "event";
19305             type:           RECT;
19306             repeat_events: 1;
19307             description {
19308                state: "default" 0.0;
19309                color: 0 0 0 0;
19310             }
19311          }
19312          part {
19313             name: "base_sh";
19314             mouse_events: 0;
19315             description {
19316                state: "default" 0.0;
19317                align: 0.0 0.0;
19318                min: 0 10;
19319                fixed: 1 1;
19320                rel1 {
19321                   to: "base";
19322                   relative: 0.0 1.0;
19323                   offset: 0 0;
19324                }
19325                rel2 {
19326                   to: "base";
19327                   relative: 1.0 1.0;
19328                   offset: -1 0;
19329                }
19330                image {
19331                   normal: "ilist_item_shadow.png";
19332                }
19333                fill.smooth: 0;
19334             }
19335          }
19336          part {
19337             name: "base";
19338             mouse_events: 0;
19339             description {
19340                state: "default" 0.0;
19341                image {
19342                   normal: "ilist_1.png";
19343                   border: 2 2 2 2;
19344                }
19345                fill.smooth: 0;
19346             }
19347          }
19348          part { name: "bg";
19349             clip_to: "disclip";
19350             mouse_events: 0;
19351             description { state: "default" 0.0;
19352                visible: 0;
19353                color: 255 255 255 0;
19354                rel1 {
19355                   relative: 0.0 0.0;
19356                   offset: -5 -5;
19357                }
19358                rel2 {
19359                   relative: 1.0 1.0;
19360                   offset: 4 4;
19361                }
19362                image {
19363                   normal: "bt_sm_base1.png";
19364                   border: 6 6 6 6;
19365                }
19366                image.middle: SOLID;
19367             }
19368             description { state: "selected" 0.0;
19369                inherit: "default" 0.0;
19370                visible: 1;
19371                color: 255 255 255 255;
19372                rel1 {
19373                   relative: 0.0 0.0;
19374                   offset: -2 -2;
19375                }
19376                rel2 {
19377                   relative: 1.0 1.0;
19378                   offset: 1 1;
19379                }
19380             }
19381          }
19382          part { name: "elm.swallow.pad";
19383             type: SWALLOW;
19384             description { state: "default" 0.0;
19385                fixed: 1 0;
19386                align: 0.0 0.5;
19387                rel1 {
19388                   relative: 0.0  0.0;
19389                   offset:   4    4;
19390                }
19391                rel2 {
19392                   relative: 0.0  1.0;
19393                   offset:   4   -5;
19394                }
19395             }
19396          }
19397          part { name: "elm.swallow.icon";
19398             clip_to: "disclip";
19399             type: SWALLOW;
19400             description { state: "default" 0.0;
19401                fixed: 1 0;
19402                align: 0.0 0.5;
19403                rel1 {
19404                   to_x: "elm.swallow.pad";
19405                   relative: 1.0  0.0;
19406                   offset:   -1    4;
19407                }
19408                rel2 {
19409                   to_x: "elm.swallow.pad";
19410                   relative: 1.0  1.0;
19411                   offset:   -1   -5;
19412                }
19413             }
19414          }
19415          part { name: "elm.swallow.end";
19416             clip_to: "disclip";
19417             type: SWALLOW;
19418             description { state: "default" 0.0;
19419                fixed: 1 0;
19420                align: 1.0 0.5;
19421                aspect: 1.0 1.0;
19422                aspect_preference: VERTICAL;
19423                rel1 {
19424                   relative: 1.0  0.0;
19425                   offset:   -5    4;
19426                }
19427                rel2 {
19428                   relative: 1.0  1.0;
19429                   offset:   -5   -5;
19430                }
19431             }
19432          }
19433          part { name: "elm.text";
19434             clip_to: "disclip";
19435             type:           TEXT;
19436             effect:         SOFT_SHADOW;
19437             mouse_events:   0;
19438             scale: 1;
19439             description {
19440                state: "default" 0.0;
19441 //               min: 16 16;
19442                rel1 {
19443                   to_x:     "elm.swallow.icon";
19444                   relative: 1.0  0.0;
19445                   offset:   0 4;
19446                }
19447                rel2 {
19448                   to_x:     "elm.swallow.end";
19449                   relative: 0.0  0.5;
19450                   offset:   -1 -5;
19451                }
19452                color: 0 0 0 255;
19453                color3: 0 0 0 0;
19454                text {
19455                   font: "Sans";
19456                   size: 10;
19457 //                  min: 1 1;
19458                   min: 0 1;
19459                   align: 0.0 0.5;
19460                   text_class: "list_item";
19461                }
19462             }
19463             description { state: "selected" 0.0;
19464                inherit: "default" 0.0;
19465                color: 224 224 224 255;
19466                color3: 0 0 0 64;
19467             }
19468          }
19469          part { name: "elm.text.sub";
19470             clip_to: "disclip";
19471             type:           TEXT;
19472             mouse_events:   0;
19473             scale: 1;
19474             description {
19475                state: "default" 0.0;
19476 //               min: 16 16;
19477                rel1 {
19478                   to_x:     "elm.swallow.icon";
19479                   relative: 1.0  0.5;
19480                   offset:   0 4;
19481                }
19482                rel2 {
19483                   to_x:     "elm.swallow.end";
19484                   relative: 0.0  1.0;
19485                   offset:   -1 -5;
19486                }
19487                color: 0 0 0 128;
19488                color3: 0 0 0 0;
19489                text {
19490                   font: "Sans";
19491                   size: 8;
19492 //                  min: 1 1;
19493                   min: 0 1;
19494                   align: 0.0 0.5;
19495                   text_class: "list_item";
19496                }
19497             }
19498             description { state: "selected" 0.0;
19499                inherit: "default" 0.0;
19500                color: 128 128 128 255;
19501                color3: 0 0 0 32;
19502             }
19503          }
19504          part { name: "fg1";
19505             clip_to: "disclip";
19506             mouse_events: 0;
19507             description { state: "default" 0.0;
19508                visible: 0;
19509                color: 255 255 255 0;
19510                rel1.to: "bg";
19511                rel2.relative: 1.0 0.5;
19512                rel2.to: "bg";
19513                image {
19514                   normal: "bt_sm_hilight.png";
19515                   border: 6 6 6 0;
19516                }
19517             }
19518             description { state: "selected" 0.0;
19519                inherit: "default" 0.0;
19520                visible: 1;
19521                color: 255 255 255 255;
19522             }
19523          }
19524          part { name: "fg2";
19525             clip_to: "disclip";
19526             mouse_events: 0;
19527             description { state: "default" 0.0;
19528                visible: 0;
19529                color: 255 255 255 0;
19530                rel1.to: "bg";
19531                rel2.to: "bg";
19532                image {
19533                   normal: "bt_sm_shine.png";
19534                   border: 6 6 6 0;
19535                }
19536             }
19537             description { state: "selected" 0.0;
19538                inherit: "default" 0.0;
19539                visible: 1;
19540                color: 255 255 255 255;
19541             }
19542          }
19543          part { name: "disclip";
19544             type: RECT;
19545             description { state: "default" 0.0;
19546                rel1.to: "bg";
19547                rel2.to: "bg";
19548             }
19549             description { state: "disabled" 0.0;
19550                inherit: "default" 0.0;
19551                color: 255 255 255 64;
19552             }
19553          }
19554       }
19555       programs {
19556          // signal: elm,state,%s,active
19557          //   a "check" item named %s went active
19558          // signal: elm,state,%s,passive
19559          //   a "check" item named %s went passive
19560          // default is passive
19561          program {
19562             name:    "go_active";
19563             signal:  "elm,state,selected";
19564             source:  "elm";
19565             action:  STATE_SET "selected" 0.0;
19566             target:  "bg";
19567             target:  "fg1";
19568             target:  "fg2";
19569             target:  "elm.text";
19570             target:  "elm.text.sub";
19571          }
19572          program {
19573             name:    "go_passive";
19574             signal:  "elm,state,unselected";
19575             source:  "elm";
19576             action:  STATE_SET "default" 0.0;
19577             target:  "bg";
19578             target:  "fg1";
19579             target:  "fg2";
19580             target:  "elm.text";
19581             target:  "elm.text.sub";
19582             transition: LINEAR 0.1;
19583          }
19584          program {
19585             name:    "go_disabled";
19586             signal:  "elm,state,disabled";
19587             source:  "elm";
19588             action:  STATE_SET "disabled" 0.0;
19589             target:  "disclip";
19590          }
19591          program {
19592             name:    "go_enabled";
19593             signal:  "elm,state,enabled";
19594             source:  "elm";
19595             action:  STATE_SET "default" 0.0;
19596             target:  "disclip";
19597          }
19598       }
19599    }
19600    group { name: "elm/genlist/item_odd/double_label/default";
19601       data.item: "stacking" "below";
19602       data.item: "selectraise" "on";
19603       data.item: "labels" "elm.text elm.text.sub";
19604       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19605       data.item: "treesize" "20";
19606 //      data.item: "states" "";
19607       images {
19608          image: "bt_sm_base1.png" COMP;
19609          image: "bt_sm_shine.png" COMP;
19610          image: "bt_sm_hilight.png" COMP;
19611          image: "ilist_2.png" COMP;
19612       }
19613       parts {
19614          part { name: "event";
19615             type: RECT;
19616             repeat_events: 1;
19617             description {
19618                state: "default" 0.0;
19619                color: 0 0 0 0;
19620             }
19621          }
19622          part {
19623             name: "base";
19624             mouse_events: 0;
19625             description {
19626                state: "default" 0.0;
19627                image {
19628                   normal: "ilist_2.png";
19629                   border: 2 2 2 2;
19630                }
19631                fill.smooth: 0;
19632             }
19633          }
19634          part { name: "bg";
19635             clip_to: "disclip";
19636             mouse_events: 0;
19637             description { state: "default" 0.0;
19638                visible: 0;
19639                color: 255 255 255 0;
19640                rel1 {
19641                   relative: 0.0 0.0;
19642                   offset: -5 -5;
19643                }
19644                rel2 {
19645                   relative: 1.0 1.0;
19646                   offset: 4 4;
19647                }
19648                image {
19649                   normal: "bt_sm_base1.png";
19650                   border: 6 6 6 6;
19651                }
19652                image.middle: SOLID;
19653             }
19654             description { state: "selected" 0.0;
19655                inherit: "default" 0.0;
19656                visible: 1;
19657                color: 255 255 255 255;
19658                rel1 {
19659                   relative: 0.0 0.0;
19660                   offset: -2 -2;
19661                }
19662                rel2 {
19663                   relative: 1.0 1.0;
19664                   offset: 1 1;
19665                }
19666             }
19667          }
19668          part { name: "elm.swallow.pad";
19669             type: SWALLOW;
19670             description { state: "default" 0.0;
19671                fixed: 1 0;
19672                align: 0.0 0.5;
19673                rel1 {
19674                   relative: 0.0  0.0;
19675                   offset:   4    4;
19676                }
19677                rel2 {
19678                   relative: 0.0  1.0;
19679                   offset:   4   -5;
19680                }
19681             }
19682          }
19683          part { name: "elm.swallow.icon";
19684             clip_to: "disclip";
19685             type: SWALLOW;
19686             description { state: "default" 0.0;
19687                fixed: 1 0;
19688                align: 0.0 0.5;
19689                rel1 {
19690                   to_x: "elm.swallow.pad";
19691                   relative: 1.0  0.0;
19692                   offset:   -1    4;
19693                }
19694                rel2 {
19695                   to_x: "elm.swallow.pad";
19696                   relative: 1.0  1.0;
19697                   offset:   -1   -5;
19698                }
19699             }
19700          }
19701          part { name: "elm.swallow.end";
19702             clip_to: "disclip";
19703             type:          SWALLOW;
19704             description { state:    "default" 0.0;
19705                fixed: 1 0;
19706                align:    1.0 0.5;
19707                aspect: 1.0 1.0;
19708                aspect_preference: VERTICAL;
19709                rel1 {
19710                   relative: 1.0  0.0;
19711                   offset:   -5    4;
19712                }
19713                rel2 {
19714                   relative: 1.0  1.0;
19715                   offset:   -5   -5;
19716                }
19717             }
19718          }
19719          part { name: "elm.text";
19720             clip_to: "disclip";
19721             type:           TEXT;
19722             effect:         SOFT_SHADOW;
19723             mouse_events:   0;
19724             scale: 1;
19725             description {
19726                state: "default" 0.0;
19727 //               min: 16 16;
19728                rel1 {
19729                   to_x:     "elm.swallow.icon";
19730                   relative: 1.0  0.0;
19731                   offset:   0 4;
19732                }
19733                rel2 {
19734                   to_x:     "elm.swallow.end";
19735                   relative: 0.0  0.5;
19736                   offset:   -1 -5;
19737                }
19738                color: 0 0 0 255;
19739                color3: 0 0 0 0;
19740                text {
19741                   font: "Sans";
19742                   size: 10;
19743                   min: 1 1;
19744 //                  min: 0 1;
19745                   align: 0.0 0.5;
19746                   text_class: "list_item";
19747                }
19748             }
19749             description { state: "selected" 0.0;
19750                inherit: "default" 0.0;
19751                color: 224 224 224 255;
19752                color3: 0 0 0 64;
19753             }
19754          }
19755          part { name: "elm.text.sub";
19756             clip_to: "disclip";
19757             type:           TEXT;
19758             mouse_events:   0;
19759             scale: 1;
19760             description {
19761                state: "default" 0.0;
19762 //               min: 16 16;
19763                rel1 {
19764                   to_x:     "elm.swallow.icon";
19765                   relative: 1.0  0.5;
19766                   offset:   0 4;
19767                }
19768                rel2 {
19769                   to_x:     "elm.swallow.end";
19770                   relative: 0.0  1.0;
19771                   offset:   -1 -5;
19772                }
19773                color: 0 0 0 128;
19774                color3: 0 0 0 0;
19775                text {
19776                   font: "Sans";
19777                   size: 8;
19778                   min: 1 1;
19779 //                  min: 0 1;
19780                   align: 0.0 0.5;
19781                   text_class: "list_item";
19782                }
19783             }
19784             description { state: "selected" 0.0;
19785                inherit: "default" 0.0;
19786                color: 128 128 128 255;
19787                color3: 0 0 0 32;
19788             }
19789          }
19790          part { name: "fg1";
19791             clip_to: "disclip";
19792             mouse_events: 0;
19793             description { state: "default" 0.0;
19794                visible: 0;
19795                color: 255 255 255 0;
19796                rel1.to: "bg";
19797                rel2.relative: 1.0 0.5;
19798                rel2.to: "bg";
19799                image {
19800                   normal: "bt_sm_hilight.png";
19801                   border: 6 6 6 0;
19802                }
19803             }
19804             description { state: "selected" 0.0;
19805                inherit: "default" 0.0;
19806                visible: 1;
19807                color: 255 255 255 255;
19808             }
19809          }
19810          part { name: "fg2";
19811             clip_to: "disclip";
19812             mouse_events: 0;
19813             description { state: "default" 0.0;
19814                visible: 0;
19815                color: 255 255 255 0;
19816                rel1.to: "bg";
19817                rel2.to: "bg";
19818                image {
19819                   normal: "bt_sm_shine.png";
19820                   border: 6 6 6 0;
19821                }
19822             }
19823             description { state: "selected" 0.0;
19824                inherit: "default" 0.0;
19825                visible: 1;
19826                color: 255 255 255 255;
19827             }
19828          }
19829          part { name: "disclip";
19830             type: RECT;
19831             description { state: "default" 0.0;
19832                rel1.to: "bg";
19833                rel2.to: "bg";
19834             }
19835             description { state: "disabled" 0.0;
19836                inherit: "default" 0.0;
19837                color: 255 255 255 64;
19838             }
19839          }
19840       }
19841       programs {
19842          // signal: elm,state,%s,active
19843          //   a "check" item named %s went active
19844          // signal: elm,state,%s,passive
19845          //   a "check" item named %s went passive
19846          // default is passive
19847          program {
19848             name:    "go_active";
19849             signal:  "elm,state,selected";
19850             source:  "elm";
19851             action:  STATE_SET "selected" 0.0;
19852             target:  "bg";
19853             target:  "fg1";
19854             target:  "fg2";
19855             target:  "elm.text";
19856             target:  "elm.text.sub";
19857          }
19858          program {
19859             name:    "go_passive";
19860             signal:  "elm,state,unselected";
19861             source:  "elm";
19862             action:  STATE_SET "default" 0.0;
19863             target:  "bg";
19864             target:  "fg1";
19865             target:  "fg2";
19866             target:  "elm.text";
19867             target:  "elm.text.sub";
19868             transition: LINEAR 0.1;
19869          }
19870          program {
19871             name:    "go_disabled";
19872             signal:  "elm,state,disabled";
19873             source:  "elm";
19874             action:  STATE_SET "disabled" 0.0;
19875             target:  "disclip";
19876          }
19877          program {
19878             name:    "go_enabled";
19879             signal:  "elm,state,enabled";
19880             source:  "elm";
19881             action:  STATE_SET "default" 0.0;
19882             target:  "disclip";
19883          }
19884       }
19885    }
19886    group { name: "elm/genlist/item_compress_odd/double_label/default";
19887       data.item: "stacking" "below";
19888       data.item: "selectraise" "on";
19889       data.item: "labels" "elm.text elm.text.sub";
19890       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19891       data.item: "treesize" "20";
19892 //      data.item: "states" "";
19893       images {
19894          image: "bt_sm_base1.png" COMP;
19895          image: "bt_sm_shine.png" COMP;
19896          image: "bt_sm_hilight.png" COMP;
19897          image: "ilist_2.png" COMP;
19898       }
19899       parts {
19900          part { name: "event";
19901             type: RECT;
19902             repeat_events: 1;
19903             description {
19904                state: "default" 0.0;
19905                color: 0 0 0 0;
19906             }
19907          }
19908          part {
19909             name: "base";
19910             mouse_events: 0;
19911             description {
19912                state: "default" 0.0;
19913                image {
19914                   normal: "ilist_2.png";
19915                   border: 2 2 2 2;
19916                }
19917                fill.smooth: 0;
19918             }
19919          }
19920          part { name: "bg";
19921             clip_to: "disclip";
19922             mouse_events: 0;
19923             description { state: "default" 0.0;
19924                visible: 0;
19925                color: 255 255 255 0;
19926                rel1 {
19927                   relative: 0.0 0.0;
19928                   offset: -5 -5;
19929                }
19930                rel2 {
19931                   relative: 1.0 1.0;
19932                   offset: 4 4;
19933                }
19934                image {
19935                   normal: "bt_sm_base1.png";
19936                   border: 6 6 6 6;
19937                }
19938                image.middle: SOLID;
19939             }
19940             description { state: "selected" 0.0;
19941                inherit: "default" 0.0;
19942                visible: 1;
19943                color: 255 255 255 255;
19944                rel1 {
19945                   relative: 0.0 0.0;
19946                   offset: -2 -2;
19947                }
19948                rel2 {
19949                   relative: 1.0 1.0;
19950                   offset: 1 1;
19951                }
19952             }
19953          }
19954          part { name: "elm.swallow.pad";
19955             type: SWALLOW;
19956             description { state: "default" 0.0;
19957                fixed: 1 0;
19958                align: 0.0 0.5;
19959                rel1 {
19960                   relative: 0.0  0.0;
19961                   offset:   4    4;
19962                }
19963                rel2 {
19964                   relative: 0.0  1.0;
19965                   offset:   4   -5;
19966                }
19967             }
19968          }
19969          part { name: "elm.swallow.icon";
19970             clip_to: "disclip";
19971             type: SWALLOW;
19972             description { state: "default" 0.0;
19973                fixed: 1 0;
19974                align: 0.0 0.5;
19975                rel1 {
19976                   to_x: "elm.swallow.pad";
19977                   relative: 1.0  0.0;
19978                   offset:   -1    4;
19979                }
19980                rel2 {
19981                   to_x: "elm.swallow.pad";
19982                   relative: 1.0  1.0;
19983                   offset:   -1   -5;
19984                }
19985             }
19986          }
19987          part { name: "elm.swallow.end";
19988             clip_to: "disclip";
19989             type:          SWALLOW;
19990             description { state:    "default" 0.0;
19991                fixed: 1 0;
19992                align:    1.0 0.5;
19993                aspect: 1.0 1.0;
19994                aspect_preference: VERTICAL;
19995                rel1 {
19996                   relative: 1.0  0.0;
19997                   offset:   -5    4;
19998                }
19999                rel2 {
20000                   relative: 1.0  1.0;
20001                   offset:   -5   -5;
20002                }
20003             }
20004          }
20005          part { name: "elm.text";
20006             clip_to: "disclip";
20007             type:           TEXT;
20008             effect:         SOFT_SHADOW;
20009             mouse_events:   0;
20010             scale: 1;
20011             description {
20012                state: "default" 0.0;
20013 //               min: 16 16;
20014                rel1 {
20015                   to_x:     "elm.swallow.icon";
20016                   relative: 1.0  0.0;
20017                   offset:   0 4;
20018                }
20019                rel2 {
20020                   to_x:     "elm.swallow.end";
20021                   relative: 0.0  0.5;
20022                   offset:   -1 -5;
20023                }
20024                color: 0 0 0 255;
20025                color3: 0 0 0 0;
20026                text {
20027                   font: "Sans";
20028                   size: 10;
20029 //                  min: 1 1;
20030                   min: 0 1;
20031                   align: 0.0 0.5;
20032                   text_class: "list_item";
20033                }
20034             }
20035             description { state: "selected" 0.0;
20036                inherit: "default" 0.0;
20037                color: 224 224 224 255;
20038                color3: 0 0 0 64;
20039             }
20040          }
20041          part { name: "elm.text.sub";
20042             clip_to: "disclip";
20043             type:           TEXT;
20044             mouse_events:   0;
20045             scale: 1;
20046             description {
20047                state: "default" 0.0;
20048 //               min: 16 16;
20049                rel1 {
20050                   to_x:     "elm.swallow.icon";
20051                   relative: 1.0  0.5;
20052                   offset:   0 4;
20053                }
20054                rel2 {
20055                   to_x:     "elm.swallow.end";
20056                   relative: 0.0  1.0;
20057                   offset:   -1 -5;
20058                }
20059                color: 0 0 0 128;
20060                color3: 0 0 0 0;
20061                text {
20062                   font: "Sans";
20063                   size: 8;
20064 //                  min: 1 1;
20065                   min: 0 1;
20066                   align: 0.0 0.5;
20067                   text_class: "list_item";
20068                }
20069             }
20070             description { state: "selected" 0.0;
20071                inherit: "default" 0.0;
20072                color: 128 128 128 255;
20073                color3: 0 0 0 32;
20074             }
20075          }
20076          part { name: "fg1";
20077             clip_to: "disclip";
20078             mouse_events: 0;
20079             description { state: "default" 0.0;
20080                visible: 0;
20081                color: 255 255 255 0;
20082                rel1.to: "bg";
20083                rel2.relative: 1.0 0.5;
20084                rel2.to: "bg";
20085                image {
20086                   normal: "bt_sm_hilight.png";
20087                   border: 6 6 6 0;
20088                }
20089             }
20090             description { state: "selected" 0.0;
20091                inherit: "default" 0.0;
20092                visible: 1;
20093                color: 255 255 255 255;
20094             }
20095          }
20096          part { name: "fg2";
20097             clip_to: "disclip";
20098             mouse_events: 0;
20099             description { state: "default" 0.0;
20100                visible: 0;
20101                color: 255 255 255 0;
20102                rel1.to: "bg";
20103                rel2.to: "bg";
20104                image {
20105                   normal: "bt_sm_shine.png";
20106                   border: 6 6 6 0;
20107                }
20108             }
20109             description { state: "selected" 0.0;
20110                inherit: "default" 0.0;
20111                visible: 1;
20112                color: 255 255 255 255;
20113             }
20114          }
20115          part { name: "disclip";
20116             type: RECT;
20117             description { state: "default" 0.0;
20118                rel1.to: "bg";
20119                rel2.to: "bg";
20120             }
20121             description { state: "disabled" 0.0;
20122                inherit: "default" 0.0;
20123                color: 255 255 255 64;
20124             }
20125          }
20126       }
20127       programs {
20128          // signal: elm,state,%s,active
20129          //   a "check" item named %s went active
20130          // signal: elm,state,%s,passive
20131          //   a "check" item named %s went passive
20132          // default is passive
20133          program {
20134             name:    "go_active";
20135             signal:  "elm,state,selected";
20136             source:  "elm";
20137             action:  STATE_SET "selected" 0.0;
20138             target:  "bg";
20139             target:  "fg1";
20140             target:  "fg2";
20141             target:  "elm.text";
20142             target:  "elm.text.sub";
20143          }
20144          program {
20145             name:    "go_passive";
20146             signal:  "elm,state,unselected";
20147             source:  "elm";
20148             action:  STATE_SET "default" 0.0;
20149             target:  "bg";
20150             target:  "fg1";
20151             target:  "fg2";
20152             target:  "elm.text";
20153             target:  "elm.text.sub";
20154             transition: LINEAR 0.1;
20155          }
20156          program {
20157             name:    "go_disabled";
20158             signal:  "elm,state,disabled";
20159             source:  "elm";
20160             action:  STATE_SET "disabled" 0.0;
20161             target:  "disclip";
20162          }
20163          program {
20164             name:    "go_enabled";
20165             signal:  "elm,state,enabled";
20166             source:  "elm";
20167             action:  STATE_SET "default" 0.0;
20168             target:  "disclip";
20169          }
20170       }
20171    }
20172
20173    group { name: "elm/genlist/tree/double_label/default";
20174       data.item: "stacking" "above";
20175       data.item: "selectraise" "on";
20176       data.item: "labels" "elm.text elm.text.sub";
20177       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20178       data.item: "treesize" "20";
20179 //      data.item: "states" "";
20180       images {
20181          image: "bt_sm_base1.png" COMP;
20182          image: "bt_sm_shine.png" COMP;
20183          image: "bt_sm_hilight.png" COMP;
20184          image: "ilist_1.png" COMP;
20185          image: "ilist_item_shadow.png" COMP;
20186          image: "icon_arrow_right.png" COMP;
20187          image: "icon_arrow_down.png" COMP;
20188       }
20189       parts {
20190          part {
20191             name:           "event";
20192             type:           RECT;
20193             repeat_events: 1;
20194             description {
20195                state: "default" 0.0;
20196                color: 0 0 0 0;
20197             }
20198          }
20199          part {
20200             name: "base_sh";
20201             mouse_events: 0;
20202             description {
20203                state: "default" 0.0;
20204                align: 0.0 0.0;
20205                min: 0 10;
20206                fixed: 1 1;
20207                rel1 {
20208                   to: "base";
20209                   relative: 0.0 1.0;
20210                   offset: 0 0;
20211                }
20212                rel2 {
20213                   to: "base";
20214                   relative: 1.0 1.0;
20215                   offset: -1 0;
20216                }
20217                image {
20218                   normal: "ilist_item_shadow.png";
20219                }
20220                fill.smooth: 0;
20221             }
20222          }
20223          part {
20224             name: "base";
20225             mouse_events: 0;
20226             description {
20227                state: "default" 0.0;
20228                image {
20229                   normal: "ilist_1.png";
20230                   border: 2 2 2 2;
20231                }
20232                fill.smooth: 0;
20233             }
20234          }
20235          part { name: "bg";
20236             clip_to: "disclip";
20237             mouse_events: 0;
20238             description { state: "default" 0.0;
20239                visible: 0;
20240                color: 255 255 255 0;
20241                rel1 {
20242                   relative: 0.0 0.0;
20243                   offset: -5 -5;
20244                }
20245                rel2 {
20246                   relative: 1.0 1.0;
20247                   offset: 4 4;
20248                }
20249                image {
20250                   normal: "bt_sm_base1.png";
20251                   border: 6 6 6 6;
20252                }
20253                image.middle: SOLID;
20254             }
20255             description { state: "selected" 0.0;
20256                inherit: "default" 0.0;
20257                visible: 1;
20258                color: 255 255 255 255;
20259                rel1 {
20260                   relative: 0.0 0.0;
20261                   offset: -2 -2;
20262                }
20263                rel2 {
20264                   relative: 1.0 1.0;
20265                   offset: 1 1;
20266                }
20267             }
20268          }
20269          part { name: "elm.swallow.pad";
20270             type: SWALLOW;
20271             description { state: "default" 0.0;
20272                fixed: 1 0;
20273                align: 0.0 0.5;
20274                rel1 {
20275                   relative: 0.0  0.0;
20276                   offset:   4    4;
20277                }
20278                rel2 {
20279                   relative: 0.0  1.0;
20280                   offset:   4   -5;
20281                }
20282             }
20283          }
20284          part { name: "arrow";
20285             clip_to: "disclip";
20286             ignore_flags: ON_HOLD;
20287             description { state: "default" 0.0;
20288                fixed: 1 0;
20289                align: 0.0 0.5;
20290                aspect: 1.0 1.0;
20291                rel1 {
20292                   to_x: "elm.swallow.pad";
20293                   relative: 1.0  0.0;
20294                   offset:   -1    4;
20295                }
20296                rel2 {
20297                   to_x: "elm.swallow.pad";
20298                   relative: 1.0  1.0;
20299                   offset:   -1   -5;
20300                }
20301                image.normal: "icon_arrow_right.png";
20302             }
20303             description { state: "active" 0.0;
20304                inherit: "default" 0.0;
20305                image.normal: "icon_arrow_down.png";
20306             }
20307          }
20308          part { name: "elm.swallow.icon";
20309             clip_to: "disclip";
20310             type: SWALLOW;
20311             description { state: "default" 0.0;
20312                fixed: 1 0;
20313                align: 0.0 0.5;
20314                rel1 {
20315                   to_x: "arrow";
20316                   relative: 1.0  0.0;
20317                   offset:   4    4;
20318                }
20319                rel2 {
20320                   to_x: "arrow";
20321                   relative: 1.0  1.0;
20322                   offset:   4   -5;
20323                }
20324             }
20325          }
20326          part { name: "elm.swallow.end";
20327             clip_to: "disclip";
20328             type: SWALLOW;
20329             description { state: "default" 0.0;
20330                fixed: 1 0;
20331                align: 1.0 0.5;
20332                aspect: 1.0 1.0;
20333                aspect_preference: VERTICAL;
20334                rel1 {
20335                   relative: 1.0  0.0;
20336                   offset:   -5    4;
20337                }
20338                rel2 {
20339                   relative: 1.0  1.0;
20340                   offset:   -5   -5;
20341                }
20342             }
20343          }
20344          part { name: "elm.text";
20345             clip_to: "disclip";
20346             type:           TEXT;
20347             effect:         SOFT_SHADOW;
20348             mouse_events:   0;
20349             scale: 1;
20350             description {
20351                state: "default" 0.0;
20352 //               min: 16 16;
20353                rel1 {
20354                   to_x:     "elm.swallow.icon";
20355                   relative: 1.0  0.0;
20356                   offset:   0 4;
20357                }
20358                rel2 {
20359                   to_x:     "elm.swallow.end";
20360                   relative: 0.0  0.5;
20361                   offset:   -1 -5;
20362                }
20363                color: 0 0 0 255;
20364                color3: 0 0 0 0;
20365                text {
20366                   font: "Sans";
20367                   size: 10;
20368                   min: 1 1;
20369 //                  min: 0 1;
20370                   align: 0.0 0.5;
20371                   text_class: "list_item";
20372                }
20373             }
20374             description { state: "selected" 0.0;
20375                inherit: "default" 0.0;
20376                color: 224 224 224 255;
20377                color3: 0 0 0 64;
20378             }
20379          }
20380          part { name: "elm.text.sub";
20381             clip_to: "disclip";
20382             type:           TEXT;
20383             mouse_events:   0;
20384             scale: 1;
20385             description {
20386                state: "default" 0.0;
20387 //               min: 16 16;
20388                rel1 {
20389                   to_x:     "elm.swallow.icon";
20390                   relative: 1.0  0.5;
20391                   offset:   0 4;
20392                }
20393                rel2 {
20394                   to_x:     "elm.swallow.end";
20395                   relative: 0.0  1.0;
20396                   offset:   -1 -5;
20397                }
20398                color: 0 0 0 128;
20399                color3: 0 0 0 0;
20400                text {
20401                   font: "Sans";
20402                   size: 8;
20403                   min: 1 1;
20404 //                  min: 0 1;
20405                   align: 0.0 0.5;
20406                   text_class: "list_item";
20407                }
20408             }
20409             description { state: "selected" 0.0;
20410                inherit: "default" 0.0;
20411                color: 128 128 128 255;
20412                color3: 0 0 0 32;
20413             }
20414          }
20415          part { name: "fg1";
20416             clip_to: "disclip";
20417             mouse_events: 0;
20418             description { state: "default" 0.0;
20419                visible: 0;
20420                color: 255 255 255 0;
20421                rel1.to: "bg";
20422                rel2.relative: 1.0 0.5;
20423                rel2.to: "bg";
20424                image {
20425                   normal: "bt_sm_hilight.png";
20426                   border: 6 6 6 0;
20427                }
20428             }
20429             description { state: "selected" 0.0;
20430                inherit: "default" 0.0;
20431                visible: 1;
20432                color: 255 255 255 255;
20433             }
20434          }
20435          part { name: "fg2";
20436             clip_to: "disclip";
20437             mouse_events: 0;
20438             description { state: "default" 0.0;
20439                visible: 0;
20440                color: 255 255 255 0;
20441                rel1.to: "bg";
20442                rel2.to: "bg";
20443                image {
20444                   normal: "bt_sm_shine.png";
20445                   border: 6 6 6 0;
20446                }
20447             }
20448             description { state: "selected" 0.0;
20449                inherit: "default" 0.0;
20450                visible: 1;
20451                color: 255 255 255 255;
20452             }
20453          }
20454          part { name: "disclip";
20455             type: RECT;
20456             description { state: "default" 0.0;
20457                rel1.to: "bg";
20458                rel2.to: "bg";
20459             }
20460             description { state: "disabled" 0.0;
20461                inherit: "default" 0.0;
20462                color: 255 255 255 64;
20463             }
20464          }
20465       }
20466       programs {
20467          // signal: elm,state,%s,active
20468          //   a "check" item named %s went active
20469          // signal: elm,state,%s,passive
20470          //   a "check" item named %s went passive
20471          // default is passive
20472          program {
20473             name:    "go_active";
20474             signal:  "elm,state,selected";
20475             source:  "elm";
20476             action:  STATE_SET "selected" 0.0;
20477             target:  "bg";
20478             target:  "fg1";
20479             target:  "fg2";
20480             target:  "elm.text";
20481             target:  "elm.text.sub";
20482          }
20483          program {
20484             name:    "go_passive";
20485             signal:  "elm,state,unselected";
20486             source:  "elm";
20487             action:  STATE_SET "default" 0.0;
20488             target:  "bg";
20489             target:  "fg1";
20490             target:  "fg2";
20491             target:  "elm.text";
20492             target:  "elm.text.sub";
20493             transition: LINEAR 0.1;
20494          }
20495          program {
20496             name:    "go_disabled";
20497             signal:  "elm,state,disabled";
20498             source:  "elm";
20499             action:  STATE_SET "disabled" 0.0;
20500             target:  "disclip";
20501          }
20502          program {
20503             name:    "go_enabled";
20504             signal:  "elm,state,enabled";
20505             source:  "elm";
20506             action:  STATE_SET "default" 0.0;
20507             target:  "disclip";
20508          }
20509          program {
20510             name:    "expand";
20511             signal:  "mouse,up,1";
20512             source:  "arrow";
20513             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20514          }
20515          program {
20516             name:    "go_expanded";
20517             signal:  "elm,state,expanded";
20518             source:  "elm";
20519             action:  STATE_SET "active" 0.0;
20520             target:  "arrow";
20521          }
20522          program {
20523             name:    "go_contracted";
20524             signal:  "elm,state,contracted";
20525             source:  "elm";
20526             action:  STATE_SET "default" 0.0;
20527             target:  "arrow";
20528          }
20529       }
20530    }
20531    group { name: "elm/genlist/tree_compress/double_label/default";
20532       data.item: "stacking" "above";
20533       data.item: "selectraise" "on";
20534       data.item: "labels" "elm.text elm.text.sub";
20535       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20536       data.item: "treesize" "20";
20537 //      data.item: "states" "";
20538       images {
20539          image: "bt_sm_base1.png" COMP;
20540          image: "bt_sm_shine.png" COMP;
20541          image: "bt_sm_hilight.png" COMP;
20542          image: "ilist_1.png" COMP;
20543          image: "ilist_item_shadow.png" COMP;
20544          image: "icon_arrow_right.png" COMP;
20545          image: "icon_arrow_down.png" COMP;
20546       }
20547       parts {
20548          part {
20549             name:           "event";
20550             type:           RECT;
20551             repeat_events: 1;
20552             description {
20553                state: "default" 0.0;
20554                color: 0 0 0 0;
20555             }
20556          }
20557          part {
20558             name: "base_sh";
20559             mouse_events: 0;
20560             description {
20561                state: "default" 0.0;
20562                align: 0.0 0.0;
20563                min: 0 10;
20564                fixed: 1 1;
20565                rel1 {
20566                   to: "base";
20567                   relative: 0.0 1.0;
20568                   offset: 0 0;
20569                }
20570                rel2 {
20571                   to: "base";
20572                   relative: 1.0 1.0;
20573                   offset: -1 0;
20574                }
20575                image {
20576                   normal: "ilist_item_shadow.png";
20577                }
20578                fill.smooth: 0;
20579             }
20580          }
20581          part {
20582             name: "base";
20583             mouse_events: 0;
20584             description {
20585                state: "default" 0.0;
20586                image {
20587                   normal: "ilist_1.png";
20588                   border: 2 2 2 2;
20589                }
20590                fill.smooth: 0;
20591             }
20592          }
20593          part { name: "bg";
20594             clip_to: "disclip";
20595             mouse_events: 0;
20596             description { state: "default" 0.0;
20597                visible: 0;
20598                color: 255 255 255 0;
20599                rel1 {
20600                   relative: 0.0 0.0;
20601                   offset: -5 -5;
20602                }
20603                rel2 {
20604                   relative: 1.0 1.0;
20605                   offset: 4 4;
20606                }
20607                image {
20608                   normal: "bt_sm_base1.png";
20609                   border: 6 6 6 6;
20610                }
20611                image.middle: SOLID;
20612             }
20613             description { state: "selected" 0.0;
20614                inherit: "default" 0.0;
20615                visible: 1;
20616                color: 255 255 255 255;
20617                rel1 {
20618                   relative: 0.0 0.0;
20619                   offset: -2 -2;
20620                }
20621                rel2 {
20622                   relative: 1.0 1.0;
20623                   offset: 1 1;
20624                }
20625             }
20626          }
20627          part { name: "elm.swallow.pad";
20628             type: SWALLOW;
20629             description { state: "default" 0.0;
20630                fixed: 1 0;
20631                align: 0.0 0.5;
20632                rel1 {
20633                   relative: 0.0  0.0;
20634                   offset:   4    4;
20635                }
20636                rel2 {
20637                   relative: 0.0  1.0;
20638                   offset:   4   -5;
20639                }
20640             }
20641          }
20642          part { name: "arrow";
20643             clip_to: "disclip";
20644             ignore_flags: ON_HOLD;
20645             description { state: "default" 0.0;
20646                fixed: 1 0;
20647                align: 0.0 0.5;
20648                aspect: 1.0 1.0;
20649                rel1 {
20650                   to_x: "elm.swallow.pad";
20651                   relative: 1.0  0.0;
20652                   offset:   -1    4;
20653                }
20654                rel2 {
20655                   to_x: "elm.swallow.pad";
20656                   relative: 1.0  1.0;
20657                   offset:   -1   -5;
20658                }
20659                image.normal: "icon_arrow_right.png";
20660             }
20661             description { state: "active" 0.0;
20662                inherit: "default" 0.0;
20663                image.normal: "icon_arrow_down.png";
20664             }
20665          }
20666          part { name: "elm.swallow.icon";
20667             clip_to: "disclip";
20668             type: SWALLOW;
20669             description { state: "default" 0.0;
20670                fixed: 1 0;
20671                align: 0.0 0.5;
20672                rel1 {
20673                   to_x: "arrow";
20674                   relative: 1.0  0.0;
20675                   offset:   4    4;
20676                }
20677                rel2 {
20678                   to_x: "arrow";
20679                   relative: 1.0  1.0;
20680                   offset:   4   -5;
20681                }
20682             }
20683          }
20684          part { name: "elm.swallow.end";
20685             clip_to: "disclip";
20686             type: SWALLOW;
20687             description { state: "default" 0.0;
20688                fixed: 1 0;
20689                align: 1.0 0.5;
20690                aspect: 1.0 1.0;
20691                aspect_preference: VERTICAL;
20692                rel1 {
20693                   relative: 1.0  0.0;
20694                   offset:   -5    4;
20695                }
20696                rel2 {
20697                   relative: 1.0  1.0;
20698                   offset:   -5   -5;
20699                }
20700             }
20701          }
20702          part { name: "elm.text";
20703             clip_to: "disclip";
20704             type:           TEXT;
20705             effect:         SOFT_SHADOW;
20706             mouse_events:   0;
20707             scale: 1;
20708             description {
20709                state: "default" 0.0;
20710 //               min: 16 16;
20711                rel1 {
20712                   to_x:     "elm.swallow.icon";
20713                   relative: 1.0  0.0;
20714                   offset:   0 4;
20715                }
20716                rel2 {
20717                   to_x:     "elm.swallow.end";
20718                   relative: 0.0  0.5;
20719                   offset:   -1 -5;
20720                }
20721                color: 0 0 0 255;
20722                color3: 0 0 0 0;
20723                text {
20724                   font: "Sans";
20725                   size: 10;
20726 //                  min: 1 1;
20727                   min: 0 1;
20728                   align: 0.0 0.5;
20729                   text_class: "list_item";
20730                }
20731             }
20732             description { state: "selected" 0.0;
20733                inherit: "default" 0.0;
20734                color: 224 224 224 255;
20735                color3: 0 0 0 64;
20736             }
20737          }
20738          part { name: "elm.text.sub";
20739             clip_to: "disclip";
20740             type:           TEXT;
20741             mouse_events:   0;
20742             scale: 1;
20743             description {
20744                state: "default" 0.0;
20745 //               min: 16 16;
20746                rel1 {
20747                   to_x:     "elm.swallow.icon";
20748                   relative: 1.0  0.5;
20749                   offset:   0 4;
20750                }
20751                rel2 {
20752                   to_x:     "elm.swallow.end";
20753                   relative: 0.0  1.0;
20754                   offset:   -1 -5;
20755                }
20756                color: 0 0 0 128;
20757                color3: 0 0 0 0;
20758                text {
20759                   font: "Sans";
20760                   size: 8;
20761 //                  min: 1 1;
20762                   min: 0 1;
20763                   align: 0.0 0.5;
20764                   text_class: "list_item";
20765                }
20766             }
20767             description { state: "selected" 0.0;
20768                inherit: "default" 0.0;
20769                color: 128 128 128 255;
20770                color3: 0 0 0 32;
20771             }
20772          }
20773          part { name: "fg1";
20774             clip_to: "disclip";
20775             mouse_events: 0;
20776             description { state: "default" 0.0;
20777                visible: 0;
20778                color: 255 255 255 0;
20779                rel1.to: "bg";
20780                rel2.relative: 1.0 0.5;
20781                rel2.to: "bg";
20782                image {
20783                   normal: "bt_sm_hilight.png";
20784                   border: 6 6 6 0;
20785                }
20786             }
20787             description { state: "selected" 0.0;
20788                inherit: "default" 0.0;
20789                visible: 1;
20790                color: 255 255 255 255;
20791             }
20792          }
20793          part { name: "fg2";
20794             clip_to: "disclip";
20795             mouse_events: 0;
20796             description { state: "default" 0.0;
20797                visible: 0;
20798                color: 255 255 255 0;
20799                rel1.to: "bg";
20800                rel2.to: "bg";
20801                image {
20802                   normal: "bt_sm_shine.png";
20803                   border: 6 6 6 0;
20804                }
20805             }
20806             description { state: "selected" 0.0;
20807                inherit: "default" 0.0;
20808                visible: 1;
20809                color: 255 255 255 255;
20810             }
20811          }
20812          part { name: "disclip";
20813             type: RECT;
20814             description { state: "default" 0.0;
20815                rel1.to: "bg";
20816                rel2.to: "bg";
20817             }
20818             description { state: "disabled" 0.0;
20819                inherit: "default" 0.0;
20820                color: 255 255 255 64;
20821             }
20822          }
20823       }
20824       programs {
20825          // signal: elm,state,%s,active
20826          //   a "check" item named %s went active
20827          // signal: elm,state,%s,passive
20828          //   a "check" item named %s went passive
20829          // default is passive
20830          program {
20831             name:    "go_active";
20832             signal:  "elm,state,selected";
20833             source:  "elm";
20834             action:  STATE_SET "selected" 0.0;
20835             target:  "bg";
20836             target:  "fg1";
20837             target:  "fg2";
20838             target:  "elm.text";
20839             target:  "elm.text.sub";
20840          }
20841          program {
20842             name:    "go_passive";
20843             signal:  "elm,state,unselected";
20844             source:  "elm";
20845             action:  STATE_SET "default" 0.0;
20846             target:  "bg";
20847             target:  "fg1";
20848             target:  "fg2";
20849             target:  "elm.text";
20850             target:  "elm.text.sub";
20851             transition: LINEAR 0.1;
20852          }
20853          program {
20854             name:    "go_disabled";
20855             signal:  "elm,state,disabled";
20856             source:  "elm";
20857             action:  STATE_SET "disabled" 0.0;
20858             target:  "disclip";
20859          }
20860          program {
20861             name:    "go_enabled";
20862             signal:  "elm,state,enabled";
20863             source:  "elm";
20864             action:  STATE_SET "default" 0.0;
20865             target:  "disclip";
20866          }
20867          program {
20868             name:    "expand";
20869             signal:  "mouse,up,1";
20870             source:  "arrow";
20871             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20872          }
20873          program {
20874             name:    "go_expanded";
20875             signal:  "elm,state,expanded";
20876             source:  "elm";
20877             action:  STATE_SET "active" 0.0;
20878             target:  "arrow";
20879          }
20880          program {
20881             name:    "go_contracted";
20882             signal:  "elm,state,contracted";
20883             source:  "elm";
20884             action:  STATE_SET "default" 0.0;
20885             target:  "arrow";
20886          }
20887       }
20888    }
20889    group { name: "elm/genlist/tree_odd/double_label/default";
20890       data.item: "stacking" "below";
20891       data.item: "selectraise" "on";
20892       data.item: "labels" "elm.text elm.text.sub";
20893       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20894       data.item: "treesize" "20";
20895 //      data.item: "states" "";
20896       images {
20897          image: "bt_sm_base1.png" COMP;
20898          image: "bt_sm_shine.png" COMP;
20899          image: "bt_sm_hilight.png" COMP;
20900          image: "ilist_2.png" COMP;
20901          image: "icon_arrow_right.png" COMP;
20902          image: "icon_arrow_down.png" COMP;
20903       }
20904       parts {
20905          part {
20906             name:           "event";
20907             type:           RECT;
20908             repeat_events: 1;
20909             description {
20910                state: "default" 0.0;
20911                color: 0 0 0 0;
20912             }
20913          }
20914          part {
20915             name: "base";
20916             mouse_events: 0;
20917             description {
20918                state: "default" 0.0;
20919                image {
20920                   normal: "ilist_2.png";
20921                   border: 2 2 2 2;
20922                }
20923                fill.smooth: 0;
20924             }
20925          }
20926          part { name: "bg";
20927             clip_to: "disclip";
20928             mouse_events: 0;
20929             description { state: "default" 0.0;
20930                visible: 0;
20931                color: 255 255 255 0;
20932                rel1 {
20933                   relative: 0.0 0.0;
20934                   offset: -5 -5;
20935                }
20936                rel2 {
20937                   relative: 1.0 1.0;
20938                   offset: 4 4;
20939                }
20940                image {
20941                   normal: "bt_sm_base1.png";
20942                   border: 6 6 6 6;
20943                }
20944                image.middle: SOLID;
20945             }
20946             description { state: "selected" 0.0;
20947                inherit: "default" 0.0;
20948                visible: 1;
20949                color: 255 255 255 255;
20950                rel1 {
20951                   relative: 0.0 0.0;
20952                   offset: -2 -2;
20953                }
20954                rel2 {
20955                   relative: 1.0 1.0;
20956                   offset: 1 1;
20957                }
20958             }
20959          }
20960          part { name: "elm.swallow.pad";
20961             type: SWALLOW;
20962             description { state: "default" 0.0;
20963                fixed: 1 0;
20964                align: 0.0 0.5;
20965                rel1 {
20966                   relative: 0.0  0.0;
20967                   offset:   4    4;
20968                }
20969                rel2 {
20970                   relative: 0.0  1.0;
20971                   offset:   4   -5;
20972                }
20973             }
20974          }
20975          part { name: "arrow";
20976             clip_to: "disclip";
20977             ignore_flags: ON_HOLD;
20978             description { state: "default" 0.0;
20979                fixed: 1 0;
20980                align: 0.0 0.5;
20981                aspect: 1.0 1.0;
20982                rel1 {
20983                   to_x: "elm.swallow.pad";
20984                   relative: 1.0  0.0;
20985                   offset:   -1    4;
20986                }
20987                rel2 {
20988                   to_x: "elm.swallow.pad";
20989                   relative: 1.0  1.0;
20990                   offset:   -1   -5;
20991                }
20992                image.normal: "icon_arrow_right.png";
20993             }
20994             description { state: "active" 0.0;
20995                inherit: "default" 0.0;
20996                image.normal: "icon_arrow_down.png";
20997             }
20998          }
20999          part { name: "elm.swallow.icon";
21000             clip_to: "disclip";
21001             type: SWALLOW;
21002             description { state: "default" 0.0;
21003                fixed: 1 0;
21004                align: 0.0 0.5;
21005                rel1 {
21006                   to_x: "arrow";
21007                   relative: 1.0  0.0;
21008                   offset:   4    4;
21009                }
21010                rel2 {
21011                   to_x: "arrow";
21012                   relative: 1.0  1.0;
21013                   offset:   4   -5;
21014                }
21015             }
21016          }
21017          part { name: "elm.swallow.end";
21018             clip_to: "disclip";
21019             type: SWALLOW;
21020             description { state: "default" 0.0;
21021                fixed: 1 0;
21022                align: 1.0 0.5;
21023                aspect: 1.0 1.0;
21024                aspect_preference: VERTICAL;
21025                rel1 {
21026                   relative: 1.0  0.0;
21027                   offset:   -5    4;
21028                }
21029                rel2 {
21030                   relative: 1.0  1.0;
21031                   offset:   -5   -5;
21032                }
21033             }
21034          }
21035          part { name: "elm.text";
21036             clip_to: "disclip";
21037             type:           TEXT;
21038             effect:         SOFT_SHADOW;
21039             mouse_events:   0;
21040             scale: 1;
21041             description {
21042                state: "default" 0.0;
21043 //               min: 16 16;
21044                rel1 {
21045                   to_x:     "elm.swallow.icon";
21046                   relative: 1.0  0.0;
21047                   offset:   0 4;
21048                }
21049                rel2 {
21050                   to_x:     "elm.swallow.end";
21051                   relative: 0.0  0.5;
21052                   offset:   -1 -5;
21053                }
21054                color: 0 0 0 255;
21055                color3: 0 0 0 0;
21056                text {
21057                   font: "Sans";
21058                   size: 10;
21059                   min: 1 1;
21060 //                  min: 0 1;
21061                   align: 0.0 0.5;
21062                   text_class: "list_item";
21063                }
21064             }
21065             description { state: "selected" 0.0;
21066                inherit: "default" 0.0;
21067                color: 224 224 224 255;
21068                color3: 0 0 0 64;
21069             }
21070          }
21071          part { name: "elm.text.sub";
21072             clip_to: "disclip";
21073             type:           TEXT;
21074             mouse_events:   0;
21075             scale: 1;
21076             description {
21077                state: "default" 0.0;
21078 //               min: 16 16;
21079                rel1 {
21080                   to_x:     "elm.swallow.icon";
21081                   relative: 1.0  0.5;
21082                   offset:   0 4;
21083                }
21084                rel2 {
21085                   to_x:     "elm.swallow.end";
21086                   relative: 0.0  1.0;
21087                   offset:   -1 -5;
21088                }
21089                color: 0 0 0 128;
21090                color3: 0 0 0 0;
21091                text {
21092                   font: "Sans";
21093                   size: 8;
21094                   min: 1 1;
21095 //                  min: 0 1;
21096                   align: 0.0 0.5;
21097                   text_class: "list_item";
21098                }
21099             }
21100             description { state: "selected" 0.0;
21101                inherit: "default" 0.0;
21102                color: 128 128 128 255;
21103                color3: 0 0 0 32;
21104             }
21105          }
21106          part { name: "fg1";
21107             clip_to: "disclip";
21108             mouse_events: 0;
21109             description { state: "default" 0.0;
21110                visible: 0;
21111                color: 255 255 255 0;
21112                rel1.to: "bg";
21113                rel2.relative: 1.0 0.5;
21114                rel2.to: "bg";
21115                image {
21116                   normal: "bt_sm_hilight.png";
21117                   border: 6 6 6 0;
21118                }
21119             }
21120             description { state: "selected" 0.0;
21121                inherit: "default" 0.0;
21122                visible: 1;
21123                color: 255 255 255 255;
21124             }
21125          }
21126          part { name: "fg2";
21127             clip_to: "disclip";
21128             mouse_events: 0;
21129             description { state: "default" 0.0;
21130                visible: 0;
21131                color: 255 255 255 0;
21132                rel1.to: "bg";
21133                rel2.to: "bg";
21134                image {
21135                   normal: "bt_sm_shine.png";
21136                   border: 6 6 6 0;
21137                }
21138             }
21139             description { state: "selected" 0.0;
21140                inherit: "default" 0.0;
21141                visible: 1;
21142                color: 255 255 255 255;
21143             }
21144          }
21145          part { name: "disclip";
21146             type: RECT;
21147             description { state: "default" 0.0;
21148                rel1.to: "bg";
21149                rel2.to: "bg";
21150             }
21151             description { state: "disabled" 0.0;
21152                inherit: "default" 0.0;
21153                color: 255 255 255 64;
21154             }
21155          }
21156       }
21157       programs {
21158          // signal: elm,state,%s,active
21159          //   a "check" item named %s went active
21160          // signal: elm,state,%s,passive
21161          //   a "check" item named %s went passive
21162          // default is passive
21163          program {
21164             name:    "go_active";
21165             signal:  "elm,state,selected";
21166             source:  "elm";
21167             action:  STATE_SET "selected" 0.0;
21168             target:  "bg";
21169             target:  "fg1";
21170             target:  "fg2";
21171             target:  "elm.text";
21172             target:  "elm.text.sub";
21173          }
21174          program {
21175             name:    "go_passive";
21176             signal:  "elm,state,unselected";
21177             source:  "elm";
21178             action:  STATE_SET "default" 0.0;
21179             target:  "bg";
21180             target:  "fg1";
21181             target:  "fg2";
21182             target:  "elm.text";
21183             target:  "elm.text.sub";
21184             transition: LINEAR 0.1;
21185          }
21186          program {
21187             name:    "go_disabled";
21188             signal:  "elm,state,disabled";
21189             source:  "elm";
21190             action:  STATE_SET "disabled" 0.0;
21191             target:  "disclip";
21192          }
21193          program {
21194             name:    "go_enabled";
21195             signal:  "elm,state,enabled";
21196             source:  "elm";
21197             action:  STATE_SET "default" 0.0;
21198             target:  "disclip";
21199          }
21200          program {
21201             name:    "expand";
21202             signal:  "mouse,up,1";
21203             source:  "arrow";
21204             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21205          }
21206          program {
21207             name:    "go_expanded";
21208             signal:  "elm,state,expanded";
21209             source:  "elm";
21210             action:  STATE_SET "active" 0.0;
21211             target:  "arrow";
21212          }
21213          program {
21214             name:    "go_contracted";
21215             signal:  "elm,state,contracted";
21216             source:  "elm";
21217             action:  STATE_SET "default" 0.0;
21218             target:  "arrow";
21219          }
21220       }
21221    }
21222
21223    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21224       data.item: "stacking" "above";
21225       data.item: "selectraise" "on";
21226       data.item: "labels" "elm.text";
21227       data.item: "icons" "elm.swallow.icon";
21228       data.item: "treesize" "20";
21229 //      data.item: "states" "";
21230       images {
21231          image: "bt_sm_base1.png" COMP;
21232          image: "bt_sm_shine.png" COMP;
21233          image: "bt_sm_hilight.png" COMP;
21234          image: "ilist_1.png" COMP;
21235          image: "ilist_item_shadow.png" COMP;
21236       }
21237       parts {
21238          part {
21239             name:           "event";
21240             type:           RECT;
21241             repeat_events: 1;
21242             description {
21243                state: "default" 0.0;
21244                color: 0 0 0 0;
21245             }
21246          }
21247          part {
21248             name: "base_sh";
21249             mouse_events: 0;
21250             description {
21251                state: "default" 0.0;
21252                align: 0.0 0.0;
21253                min: 0 10;
21254                fixed: 1 1;
21255                rel1 {
21256                   to: "base";
21257                   relative: 0.0 1.0;
21258                   offset: 0 0;
21259                }
21260                rel2 {
21261                   to: "base";
21262                   relative: 1.0 1.0;
21263                   offset: -1 0;
21264                }
21265                image {
21266                   normal: "ilist_item_shadow.png";
21267                }
21268                fill.smooth: 0;
21269             }
21270          }
21271          part {
21272             name: "base";
21273             mouse_events: 0;
21274             description {
21275                state: "default" 0.0;
21276                image {
21277                   normal: "ilist_1.png";
21278                   border: 2 2 2 2;
21279                }
21280                fill.smooth: 0;
21281             }
21282          }
21283          part { name: "bg";
21284             clip_to: "disclip";
21285             mouse_events: 0;
21286             description { state: "default" 0.0;
21287                visible: 0;
21288                color: 255 255 255 0;
21289                rel1 {
21290                   relative: 0.0 0.0;
21291                   offset: -5 -5;
21292                }
21293                rel2 {
21294                   relative: 1.0 1.0;
21295                   offset: 4 4;
21296                }
21297                image {
21298                   normal: "bt_sm_base1.png";
21299                   border: 6 6 6 6;
21300                }
21301                image.middle: SOLID;
21302             }
21303             description { state: "selected" 0.0;
21304                inherit: "default" 0.0;
21305                visible: 1;
21306                color: 255 255 255 255;
21307                rel1 {
21308                   relative: 0.0 0.0;
21309                   offset: -2 -2;
21310                }
21311                rel2 {
21312                   relative: 1.0 1.0;
21313                   offset: 1 1;
21314                }
21315             }
21316          }
21317          part { name: "elm.swallow.pad";
21318             type: SWALLOW;
21319             description { state: "default" 0.0;
21320                fixed: 1 0;
21321                align: 0.0 0.5;
21322                rel1 {
21323                   relative: 0.0  0.0;
21324                   offset:   4    4;
21325                }
21326                rel2 {
21327                   relative: 1.0  1.0;
21328                   offset:   -4   -5;
21329                }
21330             }
21331          }
21332          part { name: "elm.swallow.icon";
21333             clip_to: "disclip";
21334             type: SWALLOW;
21335             description { state: "default" 0.0;
21336                fixed: 1 0;
21337                align: 0.5 0.5;
21338                rel1 {
21339                   to_x: "elm.swallow.pad";
21340                   relative: 0.0  0.0;
21341                   offset:   -1    4;
21342                }
21343                rel2 {
21344                   to_x: "elm.swallow.pad";
21345                   relative: 1.0  1.0;
21346                   offset:   -1   -5;
21347                }
21348             }
21349          }
21350          part { name: "elm.text";
21351             clip_to: "disclip";
21352             type:           TEXT;
21353             effect:         SOFT_SHADOW;
21354             mouse_events:   0;
21355             scale: 1;
21356             description {
21357                state: "default" 0.0;
21358 //               min: 16 16;
21359                rel1 {
21360                   to_y:     "elm.swallow.icon";
21361                   relative: 0.0  1.0;
21362                   offset:   0 4;
21363                }
21364                rel2 {
21365                   relative: 1.0  1.0;
21366                   offset:   -5 -5;
21367                }
21368                color: 0 0 0 255;
21369                color3: 0 0 0 0;
21370                text {
21371                   font: "Sans";
21372                   size: 10;
21373                   min: 1 1;
21374 //                  min: 0 1;
21375                   align: 0.5 0.5;
21376                   text_class: "list_item";
21377                }
21378             }
21379             description { state: "selected" 0.0;
21380                inherit: "default" 0.0;
21381                color: 224 224 224 255;
21382                color3: 0 0 0 64;
21383             }
21384          }
21385          part { name: "fg1";
21386             clip_to: "disclip";
21387             mouse_events: 0;
21388             description { state: "default" 0.0;
21389                visible: 0;
21390                color: 255 255 255 0;
21391                rel1.to: "bg";
21392                rel2.relative: 1.0 0.5;
21393                rel2.to: "bg";
21394                image {
21395                   normal: "bt_sm_hilight.png";
21396                   border: 6 6 6 0;
21397                }
21398             }
21399             description { state: "selected" 0.0;
21400                inherit: "default" 0.0;
21401                visible: 1;
21402                color: 255 255 255 255;
21403             }
21404          }
21405          part { name: "fg2";
21406             clip_to: "disclip";
21407             mouse_events: 0;
21408             description { state: "default" 0.0;
21409                visible: 0;
21410                color: 255 255 255 0;
21411                rel1.to: "bg";
21412                rel2.to: "bg";
21413                image {
21414                   normal: "bt_sm_shine.png";
21415                   border: 6 6 6 0;
21416                }
21417             }
21418             description { state: "selected" 0.0;
21419                inherit: "default" 0.0;
21420                visible: 1;
21421                color: 255 255 255 255;
21422             }
21423          }
21424          part { name: "disclip";
21425             type: RECT;
21426             description { state: "default" 0.0;
21427                rel1.to: "bg";
21428                rel2.to: "bg";
21429             }
21430             description { state: "disabled" 0.0;
21431                inherit: "default" 0.0;
21432                color: 255 255 255 64;
21433             }
21434          }
21435       }
21436       programs {
21437          // signal: elm,state,%s,active
21438          //   a "check" item named %s went active
21439          // signal: elm,state,%s,passive
21440          //   a "check" item named %s went passive
21441          // default is passive
21442          program {
21443             name:    "go_active";
21444             signal:  "elm,state,selected";
21445             source:  "elm";
21446             action:  STATE_SET "selected" 0.0;
21447             target:  "bg";
21448             target:  "fg1";
21449             target:  "fg2";
21450             target:  "elm.text";
21451          }
21452          program {
21453             name:    "go_passive";
21454             signal:  "elm,state,unselected";
21455             source:  "elm";
21456             action:  STATE_SET "default" 0.0;
21457             target:  "bg";
21458             target:  "fg1";
21459             target:  "fg2";
21460             target:  "elm.text";
21461             transition: LINEAR 0.1;
21462          }
21463          program {
21464             name:    "go_disabled";
21465             signal:  "elm,state,disabled";
21466             source:  "elm";
21467             action:  STATE_SET "disabled" 0.0;
21468             target:  "disclip";
21469          }
21470          program {
21471             name:    "go_enabled";
21472             signal:  "elm,state,enabled";
21473             source:  "elm";
21474             action:  STATE_SET "default" 0.0;
21475             target:  "disclip";
21476          }
21477       }
21478    }
21479    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21480       data.item: "stacking" "below";
21481       data.item: "selectraise" "on";
21482       data.item: "labels" "elm.text";
21483       data.item: "icons" "elm.swallow.icon";
21484       data.item: "treesize" "20";
21485 //      data.item: "states" "";
21486       images {
21487          image: "bt_sm_base1.png" COMP;
21488          image: "bt_sm_shine.png" COMP;
21489          image: "bt_sm_hilight.png" COMP;
21490          image: "ilist_2.png" COMP;
21491       }
21492       parts {
21493          part { name: "event";
21494             type: RECT;
21495             repeat_events: 1;
21496             description {
21497                state: "default" 0.0;
21498                color: 0 0 0 0;
21499             }
21500          }
21501          part {
21502             name: "base";
21503             mouse_events: 0;
21504             description {
21505                state: "default" 0.0;
21506                image {
21507                   normal: "ilist_2.png";
21508                   border: 2 2 2 2;
21509                }
21510                fill.smooth: 0;
21511             }
21512          }
21513          part { name: "bg";
21514             clip_to: "disclip";
21515             mouse_events: 0;
21516             description { state: "default" 0.0;
21517                visible: 0;
21518                color: 255 255 255 0;
21519                rel1 {
21520                   relative: 0.0 0.0;
21521                   offset: -5 -5;
21522                }
21523                rel2 {
21524                   relative: 1.0 1.0;
21525                   offset: 4 4;
21526                }
21527                image {
21528                   normal: "bt_sm_base1.png";
21529                   border: 6 6 6 6;
21530                }
21531                image.middle: SOLID;
21532             }
21533             description { state: "selected" 0.0;
21534                inherit: "default" 0.0;
21535                visible: 1;
21536                color: 255 255 255 255;
21537                rel1 {
21538                   relative: 0.0 0.0;
21539                   offset: -2 -2;
21540                }
21541                rel2 {
21542                   relative: 1.0 1.0;
21543                   offset: 1 1;
21544                }
21545             }
21546          }
21547          part { name: "elm.swallow.pad";
21548             type: SWALLOW;
21549             description { state: "default" 0.0;
21550                fixed: 1 0;
21551                align: 0.0 0.5;
21552                rel1 {
21553                   relative: 0.0  0.0;
21554                   offset:   4    4;
21555                }
21556                rel2 {
21557                   relative: 1.0  1.0;
21558                   offset:   -4   -5;
21559                }
21560             }
21561          }
21562          part { name: "elm.swallow.icon";
21563             clip_to: "disclip";
21564             type: SWALLOW;
21565             description { state: "default" 0.0;
21566                fixed: 1 0;
21567                align: 0.5 0.5;
21568                rel1 {
21569                   to_x: "elm.swallow.pad";
21570                   relative: 0.0  0.0;
21571                   offset:   -1    4;
21572                }
21573                rel2 {
21574                   to_x: "elm.swallow.pad";
21575                   relative: 1.0  1.0;
21576                   offset:   -1   -5;
21577                }
21578             }
21579          }
21580          part { name: "elm.text";
21581             clip_to: "disclip";
21582             type:           TEXT;
21583             effect:         SOFT_SHADOW;
21584             mouse_events:   0;
21585             scale: 1;
21586             description {
21587                state: "default" 0.0;
21588 //               min:      16 16;
21589                rel1 {
21590                   to_y:     "elm.swallow.icon";
21591                   relative: 0.0  1.0;
21592                   offset:   0 4;
21593                }
21594                rel2 {
21595                   relative: 1.0  1.0;
21596                   offset:   -5 -5;
21597                }
21598                color: 0 0 0 255;
21599                color3: 0 0 0 0;
21600                text {
21601                   font: "Sans";
21602                   size: 10;
21603                   min: 1 1;
21604 //                  min: 0 1;
21605                   align: 0.5 0.5;
21606                   text_class: "list_item";
21607                }
21608             }
21609             description { state: "selected" 0.0;
21610                inherit: "default" 0.0;
21611                color: 224 224 224 255;
21612                color3: 0 0 0 64;
21613             }
21614          }
21615          part { name: "fg1";
21616             clip_to: "disclip";
21617             mouse_events: 0;
21618             description { state: "default" 0.0;
21619                visible: 0;
21620                color: 255 255 255 0;
21621                rel1.to: "bg";
21622                rel2.relative: 1.0 0.5;
21623                rel2.to: "bg";
21624                image {
21625                   normal: "bt_sm_hilight.png";
21626                   border: 6 6 6 0;
21627                }
21628             }
21629             description { state: "selected" 0.0;
21630                inherit: "default" 0.0;
21631                visible: 1;
21632                color: 255 255 255 255;
21633             }
21634          }
21635          part { name: "fg2";
21636             clip_to: "disclip";
21637             mouse_events: 0;
21638             description { state: "default" 0.0;
21639                visible: 0;
21640                color: 255 255 255 0;
21641                rel1.to: "bg";
21642                rel2.to: "bg";
21643                image {
21644                   normal: "bt_sm_shine.png";
21645                   border: 6 6 6 0;
21646                }
21647             }
21648             description { state: "selected" 0.0;
21649                inherit: "default" 0.0;
21650                visible: 1;
21651                color: 255 255 255 255;
21652             }
21653          }
21654          part { name: "disclip";
21655             type: RECT;
21656             description { state: "default" 0.0;
21657                rel1.to: "bg";
21658                rel2.to: "bg";
21659             }
21660             description { state: "disabled" 0.0;
21661                inherit: "default" 0.0;
21662                color: 255 255 255 64;
21663             }
21664          }
21665       }
21666       programs {
21667          // signal: elm,state,%s,active
21668          //   a "check" item named %s went active
21669          // signal: elm,state,%s,passive
21670          //   a "check" item named %s went passive
21671          // default is passive
21672          program {
21673             name:    "go_active";
21674             signal:  "elm,state,selected";
21675             source:  "elm";
21676             action:  STATE_SET "selected" 0.0;
21677             target:  "bg";
21678             target:  "fg1";
21679             target:  "fg2";
21680             target:  "elm.text";
21681          }
21682          program {
21683             name:    "go_passive";
21684             signal:  "elm,state,unselected";
21685             source:  "elm";
21686             action:  STATE_SET "default" 0.0;
21687             target:  "bg";
21688             target:  "fg1";
21689             target:  "fg2";
21690             target:  "elm.text";
21691             transition: LINEAR 0.1;
21692          }
21693          program {
21694             name:    "go_disabled";
21695             signal:  "elm,state,disabled";
21696             source:  "elm";
21697             action:  STATE_SET "disabled" 0.0;
21698             target:  "disclip";
21699          }
21700          program {
21701             name:    "go_enabled";
21702             signal:  "elm,state,enabled";
21703             source:  "elm";
21704             action:  STATE_SET "default" 0.0;
21705             target:  "disclip";
21706          }
21707       }
21708    }
21709
21710    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21711       data.item: "stacking" "above";
21712       data.item: "selectraise" "on";
21713       data.item: "labels" "elm.text";
21714       data.item: "icons" "elm.swallow.icon";
21715       data.item: "treesize" "20";
21716 //      data.item: "states" "";
21717       images {
21718          image: "bt_sm_base1.png" COMP;
21719          image: "bt_sm_shine.png" COMP;
21720          image: "bt_sm_hilight.png" COMP;
21721          image: "ilist_1.png" COMP;
21722          image: "ilist_item_shadow.png" COMP;
21723          image: "icon_arrow_right.png" COMP;
21724          image: "icon_arrow_down.png" COMP;
21725       }
21726       parts {
21727          part {
21728             name:           "event";
21729             type:           RECT;
21730             repeat_events: 1;
21731             description {
21732                state: "default" 0.0;
21733                color: 0 0 0 0;
21734             }
21735          }
21736          part {
21737             name: "base_sh";
21738             mouse_events: 0;
21739             description {
21740                state: "default" 0.0;
21741                align: 0.0 0.0;
21742                min: 0 10;
21743                fixed: 1 1;
21744                rel1 {
21745                   to: "base";
21746                   relative: 0.0 1.0;
21747                   offset: 0 0;
21748                }
21749                rel2 {
21750                   to: "base";
21751                   relative: 1.0 1.0;
21752                   offset: -1 0;
21753                }
21754                image {
21755                   normal: "ilist_item_shadow.png";
21756                }
21757                fill.smooth: 0;
21758             }
21759          }
21760          part {
21761             name: "base";
21762             mouse_events: 0;
21763             description {
21764                state: "default" 0.0;
21765                image {
21766                   normal: "ilist_1.png";
21767                   border: 2 2 2 2;
21768                }
21769                fill.smooth: 0;
21770             }
21771          }
21772          part { name: "bg";
21773             clip_to: "disclip";
21774             mouse_events: 0;
21775             description { state: "default" 0.0;
21776                visible: 0;
21777                color: 255 255 255 0;
21778                rel1 {
21779                   relative: 0.0 0.0;
21780                   offset: -5 -5;
21781                }
21782                rel2 {
21783                   relative: 1.0 1.0;
21784                   offset: 4 4;
21785                }
21786                image {
21787                   normal: "bt_sm_base1.png";
21788                   border: 6 6 6 6;
21789                }
21790                image.middle: SOLID;
21791             }
21792             description { state: "selected" 0.0;
21793                inherit: "default" 0.0;
21794                visible: 1;
21795                color: 255 255 255 255;
21796                rel1 {
21797                   relative: 0.0 0.0;
21798                   offset: -2 -2;
21799                }
21800                rel2 {
21801                   relative: 1.0 1.0;
21802                   offset: 1 1;
21803                }
21804             }
21805          }
21806          part { name: "elm.swallow.pad";
21807             type: SWALLOW;
21808             description { state: "default" 0.0;
21809                fixed: 1 0;
21810                align: 0.0 0.5;
21811                rel1 {
21812                   relative: 0.0  0.0;
21813                   offset:   4    4;
21814                }
21815                rel2 {
21816                   relative: 0.0  1.0;
21817                   offset:   4   -5;
21818                }
21819             }
21820          }
21821          part { name: "arrow";
21822             clip_to: "disclip";
21823             ignore_flags: ON_HOLD;
21824             description { state: "default" 0.0;
21825                fixed: 1 0;
21826                align: 0.0 0.5;
21827                aspect: 1.0 1.0;
21828                rel1 {
21829                   to_x: "elm.swallow.pad";
21830                   relative: 1.0  0.0;
21831                   offset:   -1    4;
21832                }
21833                rel2 {
21834                   to_x: "elm.swallow.pad";
21835                   relative: 1.0  1.0;
21836                   offset:   -1   -5;
21837                }
21838                image.normal: "icon_arrow_right.png";
21839             }
21840             description { state: "active" 0.0;
21841                inherit: "default" 0.0;
21842                image.normal: "icon_arrow_down.png";
21843             }
21844          }
21845          part { name: "elm.swallow.icon";
21846             clip_to: "disclip";
21847             type: SWALLOW;
21848             description { state: "default" 0.0;
21849                fixed: 1 0;
21850                align: 0.5 0.5;
21851                rel1 {
21852                   to_x: "arrow";
21853                   relative: 1.0  0.0;
21854                   offset:   4    4;
21855                }
21856                rel2 {
21857                   relative: 1.0  1.0;
21858                   offset:   -4   -5;
21859                }
21860             }
21861          }
21862          part { name: "elm.text";
21863             clip_to: "disclip";
21864             type:           TEXT;
21865             effect:         SOFT_SHADOW;
21866             mouse_events:   0;
21867             scale: 1;
21868             description {
21869                state: "default" 0.0;
21870 //               min: 16 16;
21871                rel1 {
21872                   to_y:     "elm.swallow.icon";
21873                   relative: 0.0  1.0;
21874                   offset:   0 4;
21875                }
21876                rel2 {
21877                   relative: 1.0  1.0;
21878                   offset:   -5 -5;
21879                }
21880                color: 0 0 0 255;
21881                color3: 0 0 0 0;
21882                text {
21883                   font: "Sans";
21884                   size: 10;
21885                   min: 1 1;
21886 //                  min: 0 1;
21887                   align: 0.5 0.5;
21888                   text_class: "list_item";
21889                }
21890             }
21891             description { state: "selected" 0.0;
21892                inherit: "default" 0.0;
21893                color: 224 224 224 255;
21894                color3: 0 0 0 64;
21895             }
21896          }
21897          part { name: "fg1";
21898             clip_to: "disclip";
21899             mouse_events: 0;
21900             description { state: "default" 0.0;
21901                visible: 0;
21902                color: 255 255 255 0;
21903                rel1.to: "bg";
21904                rel2.relative: 1.0 0.5;
21905                rel2.to: "bg";
21906                image {
21907                   normal: "bt_sm_hilight.png";
21908                   border: 6 6 6 0;
21909                }
21910             }
21911             description { state: "selected" 0.0;
21912                inherit: "default" 0.0;
21913                visible: 1;
21914                color: 255 255 255 255;
21915             }
21916          }
21917          part { name: "fg2";
21918             clip_to: "disclip";
21919             mouse_events: 0;
21920             description { state: "default" 0.0;
21921                visible: 0;
21922                color: 255 255 255 0;
21923                rel1.to: "bg";
21924                rel2.to: "bg";
21925                image {
21926                   normal: "bt_sm_shine.png";
21927                   border: 6 6 6 0;
21928                }
21929             }
21930             description { state: "selected" 0.0;
21931                inherit: "default" 0.0;
21932                visible: 1;
21933                color: 255 255 255 255;
21934             }
21935          }
21936          part { name: "disclip";
21937             type: RECT;
21938             description { state: "default" 0.0;
21939                rel1.to: "bg";
21940                rel2.to: "bg";
21941             }
21942             description { state: "disabled" 0.0;
21943                inherit: "default" 0.0;
21944                color: 255 255 255 64;
21945             }
21946          }
21947       }
21948       programs {
21949          // signal: elm,state,%s,active
21950          //   a "check" item named %s went active
21951          // signal: elm,state,%s,passive
21952          //   a "check" item named %s went passive
21953          // default is passive
21954          program {
21955             name:    "go_active";
21956             signal:  "elm,state,selected";
21957             source:  "elm";
21958             action:  STATE_SET "selected" 0.0;
21959             target:  "bg";
21960             target:  "fg1";
21961             target:  "fg2";
21962             target:  "elm.text";
21963          }
21964          program {
21965             name:    "go_passive";
21966             signal:  "elm,state,unselected";
21967             source:  "elm";
21968             action:  STATE_SET "default" 0.0;
21969             target:  "bg";
21970             target:  "fg1";
21971             target:  "fg2";
21972             target:  "elm.text";
21973             transition: LINEAR 0.1;
21974          }
21975          program {
21976             name:    "go_disabled";
21977             signal:  "elm,state,disabled";
21978             source:  "elm";
21979             action:  STATE_SET "disabled" 0.0;
21980             target:  "disclip";
21981          }
21982          program {
21983             name:    "go_enabled";
21984             signal:  "elm,state,enabled";
21985             source:  "elm";
21986             action:  STATE_SET "default" 0.0;
21987             target:  "disclip";
21988          }
21989          program {
21990             name:    "expand";
21991             signal:  "mouse,up,1";
21992             source:  "arrow";
21993             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21994          }
21995          program {
21996             name:    "go_expanded";
21997             signal:  "elm,state,expanded";
21998             source:  "elm";
21999             action:  STATE_SET "active" 0.0;
22000             target:  "arrow";
22001          }
22002          program {
22003             name:    "go_contracted";
22004             signal:  "elm,state,contracted";
22005             source:  "elm";
22006             action:  STATE_SET "default" 0.0;
22007             target:  "arrow";
22008          }
22009       }
22010    }
22011    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22012       data.item: "stacking" "below";
22013       data.item: "selectraise" "on";
22014       data.item: "labels" "elm.text";
22015       data.item: "icons" "elm.swallow.icon";
22016       data.item: "treesize" "20";
22017 //      data.item: "states" "";
22018       images {
22019          image: "bt_sm_base1.png" COMP;
22020          image: "bt_sm_shine.png" COMP;
22021          image: "bt_sm_hilight.png" COMP;
22022          image: "ilist_2.png" COMP;
22023          image: "icon_arrow_right.png" COMP;
22024          image: "icon_arrow_down.png" COMP;
22025       }
22026       parts {
22027          part {
22028             name:           "event";
22029             type:           RECT;
22030             repeat_events: 1;
22031             description {
22032                state: "default" 0.0;
22033                color: 0 0 0 0;
22034             }
22035          }
22036          part {
22037             name: "base";
22038             mouse_events: 0;
22039             description {
22040                state: "default" 0.0;
22041                image {
22042                   normal: "ilist_2.png";
22043                   border: 2 2 2 2;
22044                }
22045                fill.smooth: 0;
22046             }
22047          }
22048          part { name: "bg";
22049             clip_to: "disclip";
22050             mouse_events: 0;
22051             description { state: "default" 0.0;
22052                visible: 0;
22053                color: 255 255 255 0;
22054                rel1 {
22055                   relative: 0.0 0.0;
22056                   offset: -5 -5;
22057                }
22058                rel2 {
22059                   relative: 1.0 1.0;
22060                   offset: 4 4;
22061                }
22062                image {
22063                   normal: "bt_sm_base1.png";
22064                   border: 6 6 6 6;
22065                }
22066                image.middle: SOLID;
22067             }
22068             description { state: "selected" 0.0;
22069                inherit: "default" 0.0;
22070                visible: 1;
22071                color: 255 255 255 255;
22072                rel1 {
22073                   relative: 0.0 0.0;
22074                   offset: -2 -2;
22075                }
22076                rel2 {
22077                   relative: 1.0 1.0;
22078                   offset: 1 1;
22079                }
22080             }
22081          }
22082          part { name: "elm.swallow.pad";
22083             type: SWALLOW;
22084             description { state: "default" 0.0;
22085                fixed: 1 0;
22086                align: 0.0 0.5;
22087                rel1 {
22088                   relative: 0.0  0.0;
22089                   offset:   4    4;
22090                }
22091                rel2 {
22092                   relative: 0.0  1.0;
22093                   offset:   4   -5;
22094                }
22095             }
22096          }
22097          part { name: "arrow";
22098             clip_to: "disclip";
22099             ignore_flags: ON_HOLD;
22100             description { state: "default" 0.0;
22101                fixed: 1 0;
22102                align: 0.0 0.5;
22103                aspect: 1.0 1.0;
22104                rel1 {
22105                   to_x: "elm.swallow.pad";
22106                   relative: 1.0  0.0;
22107                   offset:   -1    4;
22108                }
22109                rel2 {
22110                   to_x: "elm.swallow.pad";
22111                   relative: 1.0  1.0;
22112                   offset:   -1   -5;
22113                }
22114                image.normal: "icon_arrow_right.png";
22115             }
22116             description { state: "active" 0.0;
22117                inherit: "default" 0.0;
22118                image.normal: "icon_arrow_down.png";
22119             }
22120          }
22121          part { name: "elm.swallow.icon";
22122             clip_to: "disclip";
22123             type: SWALLOW;
22124             description { state: "default" 0.0;
22125                fixed: 1 0;
22126                align: 0.5 0.5;
22127                rel1 {
22128                   to_x: "arrow";
22129                   relative: 1.0  0.0;
22130                   offset:   4    4;
22131                }
22132                rel2 {
22133                   relative: 1.0  1.0;
22134                   offset:   -4   -5;
22135                }
22136             }
22137          }
22138          part { name: "elm.text";
22139             clip_to: "disclip";
22140             type:           TEXT;
22141             effect:         SOFT_SHADOW;
22142             mouse_events:   0;
22143             scale: 1;
22144             description {
22145                state: "default" 0.0;
22146 //               min: 16 16;
22147                rel1 {
22148                   to_y:     "elm.swallow.icon";
22149                   relative: 0.0  1.0;
22150                   offset:   0 4;
22151                }
22152                rel2 {
22153                   relative: 1.0  1.0;
22154                   offset:   -5 -5;
22155                }
22156                color: 0 0 0 255;
22157                color3: 0 0 0 0;
22158                text {
22159                   font: "Sans";
22160                   size: 10;
22161                   min: 1 1;
22162 //                  min: 0 1;
22163                   align: 0.5 0.5;
22164                   text_class: "list_item";
22165                }
22166             }
22167             description { state: "selected" 0.0;
22168                inherit: "default" 0.0;
22169                color: 224 224 224 255;
22170                color3: 0 0 0 64;
22171             }
22172          }
22173          part { name: "fg1";
22174             clip_to: "disclip";
22175             mouse_events: 0;
22176             description { state: "default" 0.0;
22177                visible: 0;
22178                color: 255 255 255 0;
22179                rel1.to: "bg";
22180                rel2.relative: 1.0 0.5;
22181                rel2.to: "bg";
22182                image {
22183                   normal: "bt_sm_hilight.png";
22184                   border: 6 6 6 0;
22185                }
22186             }
22187             description { state: "selected" 0.0;
22188                inherit: "default" 0.0;
22189                visible: 1;
22190                color: 255 255 255 255;
22191             }
22192          }
22193          part { name: "fg2";
22194             clip_to: "disclip";
22195             mouse_events: 0;
22196             description { state: "default" 0.0;
22197                visible: 0;
22198                color: 255 255 255 0;
22199                rel1.to: "bg";
22200                rel2.to: "bg";
22201                image {
22202                   normal: "bt_sm_shine.png";
22203                   border: 6 6 6 0;
22204                }
22205             }
22206             description { state: "selected" 0.0;
22207                inherit: "default" 0.0;
22208                visible: 1;
22209                color: 255 255 255 255;
22210             }
22211          }
22212          part { name: "disclip";
22213             type: RECT;
22214             description { state: "default" 0.0;
22215                rel1.to: "bg";
22216                rel2.to: "bg";
22217             }
22218             description { state: "disabled" 0.0;
22219                inherit: "default" 0.0;
22220                color: 255 255 255 64;
22221             }
22222          }
22223       }
22224       programs {
22225          // signal: elm,state,%s,active
22226          //   a "check" item named %s went active
22227          // signal: elm,state,%s,passive
22228          //   a "check" item named %s went passive
22229          // default is passive
22230          program {
22231             name:    "go_active";
22232             signal:  "elm,state,selected";
22233             source:  "elm";
22234             action:  STATE_SET "selected" 0.0;
22235             target:  "bg";
22236             target:  "fg1";
22237             target:  "fg2";
22238             target:  "elm.text";
22239          }
22240          program {
22241             name:    "go_passive";
22242             signal:  "elm,state,unselected";
22243             source:  "elm";
22244             action:  STATE_SET "default" 0.0;
22245             target:  "bg";
22246             target:  "fg1";
22247             target:  "fg2";
22248             target:  "elm.text";
22249             transition: LINEAR 0.1;
22250          }
22251          program {
22252             name:    "go_disabled";
22253             signal:  "elm,state,disabled";
22254             source:  "elm";
22255             action:  STATE_SET "disabled" 0.0;
22256             target:  "disclip";
22257          }
22258          program {
22259             name:    "go_enabled";
22260             signal:  "elm,state,enabled";
22261             source:  "elm";
22262             action:  STATE_SET "default" 0.0;
22263             target:  "disclip";
22264          }
22265          program {
22266             name:    "expand";
22267             signal:  "mouse,up,1";
22268             source:  "arrow";
22269             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22270          }
22271          program {
22272             name:    "go_expanded";
22273             signal:  "elm,state,expanded";
22274             source:  "elm";
22275             action:  STATE_SET "active" 0.0;
22276             target:  "arrow";
22277          }
22278          program {
22279             name:    "go_contracted";
22280             signal:  "elm,state,contracted";
22281             source:  "elm";
22282             action:  STATE_SET "default" 0.0;
22283             target:  "arrow";
22284          }
22285       }
22286    }
22287
22288
22289 ///////////////////////////////////////////////////////////////////////////////
22290    group { name: "elm/check/base/default";
22291       images {
22292          image: "check_base.png" COMP;
22293          image: "check.png" COMP;
22294          image: "check2.png" COMP;
22295       }
22296       parts {
22297          part { name: "bg";
22298             mouse_events: 0;
22299             scale: 1;
22300             description { state: "default" 0.0;
22301                rel1.offset: 1 1;
22302                rel2.relative: 0.0 1.0;
22303                rel2.offset: 1 -2;
22304                align: 0.0 0.5;
22305                min: 16 16;
22306                max: 16 16;
22307                aspect: 1.0 1.0;
22308                aspect_preference: VERTICAL;
22309                image {
22310                   normal: "check_base.png";
22311                   border: 5 5 5 5;
22312                   middle: 0;
22313                }
22314                fill.smooth : 0;
22315             }
22316          }
22317          part { name: "check";
22318             mouse_events: 0;
22319             scale: 1;
22320             description { state: "default" 0.0;
22321                rel1 {
22322                   to: "bg";
22323                   offset: 1 1;
22324                }
22325                rel2 {
22326                   to: "bg";
22327                   offset: -2 -2;
22328                }
22329                visible: 0;
22330                color: 255 255 255 255;
22331                image.normal: "check.png";
22332             }
22333             description { state: "visible" 0.0;
22334                inherit: "default" 0.0;
22335                visible: 1;
22336             }
22337             description { state: "disabled" 0.0;
22338                inherit: "default" 0.0;
22339                visible: 0;
22340                color: 128 128 128 128;
22341             }
22342             description { state: "disabled_visible" 0.0;
22343                inherit: "default" 0.0;
22344                color: 128 128 128 128;
22345                visible: 1;
22346             }
22347          }
22348          part { name: "elm.swallow.content";
22349             type: SWALLOW;
22350             description { state: "default" 0.0;
22351                fixed: 1 0;
22352                visible: 0;
22353                align: 0.0 0.5;
22354           rel1.to_x: "bg";
22355                rel1.relative: 1.0 0.0;
22356                rel1.offset: 1 1;
22357           rel2.to_x: "bg";
22358                rel2.offset: 1 -2;
22359                rel2.relative: 1.0 1.0;
22360             }
22361             description { state: "visible" 0.0;
22362                inherit: "default" 0.0;
22363           fixed: 1 0;
22364                visible: 1;
22365                aspect: 1.0 1.0;
22366             }
22367             description { state: "disabled" 0.0;
22368                inherit: "default" 0.0;
22369                color: 128 128 128 128;
22370             }
22371             description { state: "disabled_visible" 0.0;
22372                inherit: "default" 0.0;
22373                color: 128 128 128 128;
22374           fixed: 1 0;
22375                visible: 1;
22376                aspect: 1.0 1.0;
22377             }
22378          }
22379          part { name: "elm.text";
22380             type: TEXT;
22381             mouse_events: 0;
22382             scale: 1;
22383             description { state: "default" 0.0;
22384                visible: 0;
22385                rel1.to_x: "elm.swallow.content";
22386                rel1.relative: 1.0 0.0;
22387                rel1.offset: 1 1;
22388                rel2.relative: 1.0 1.0;
22389                rel2.offset: -2 -2;
22390                color: 0 0 0 255;
22391                text {
22392                   font: "Sans,Edje-Vera";
22393                   size: 10;
22394                   min: 0 1;
22395                   align: -1.0 0.5;
22396                }
22397             }
22398             description { state: "visible" 0.0;
22399                inherit: "default" 0.0;
22400                visible: 1;
22401                text.min: 1 1;
22402             }
22403             description { state: "disabled" 0.0;
22404                inherit: "default" 0.0;
22405                color: 0 0 0 128;
22406                color3: 0 0 0 0;
22407             }
22408             description { state: "disabled_visible" 0.0;
22409                inherit: "default" 0.0;
22410                color: 0 0 0 128;
22411                color3: 0 0 0 0;
22412                visible: 1;
22413                text.min: 1 1;
22414             }
22415          }
22416          part { name: "events";
22417             type: RECT;
22418             ignore_flags: ON_HOLD;
22419             description { state: "default" 0.0;
22420                color: 0 0 0 0;
22421             }
22422          }
22423           part { name: "disabler";
22424             type: RECT;
22425             description { state: "default" 0.0;
22426                color: 0 0 0 0;
22427                visible: 0;
22428             }
22429             description { state: "disabled" 0.0;
22430                inherit: "default" 0.0;
22431                visible: 1;
22432             }
22433          }
22434       }
22435       programs {
22436          program { name: "click";
22437             signal: "mouse,up,1";
22438             source: "events";
22439             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22440          }
22441          program { name: "check_on";
22442             signal: "elm,state,check,on";
22443             source: "elm";
22444             action:  STATE_SET "visible" 0.0;
22445             target: "check";
22446          }
22447          program { name: "check_off";
22448             signal: "elm,state,check,off";
22449             source: "elm";
22450             action:  STATE_SET "default" 0.0;
22451             target: "check";
22452          }
22453          program { name: "text_show";
22454             signal: "elm,state,text,visible";
22455             source: "elm";
22456             action:  STATE_SET "visible" 0.0;
22457             target: "elm.text";
22458          }
22459          program { name: "text_hide";
22460             signal: "elm,state,text,hidden";
22461             source: "elm";
22462             action:  STATE_SET "default" 0.0;
22463             target: "elm.text";
22464          }
22465          program { name: "icon_show";
22466             signal: "elm,state,icon,visible";
22467             source: "elm";
22468             action:  STATE_SET "visible" 0.0;
22469             target: "elm.swallow.content";
22470          }
22471          program { name: "icon_hide";
22472             signal: "elm,state,icon,hidden";
22473             source: "elm";
22474             action:  STATE_SET "default" 0.0;
22475             target: "elm.swallow.content";
22476          }
22477          program { name: "disable";
22478             signal: "elm,state,disabled";
22479             source: "elm";
22480             action: STATE_SET "disabled" 0.0;
22481             target: "disabler";
22482             after: "disable_text";
22483          }
22484          program { name: "disable_text";
22485             script {
22486                new st[31];
22487                new Float:vl;
22488                get_state(PART:"elm.text", st, 30, vl);
22489                if (!strcmp(st, "visible"))
22490                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22491                else
22492                  set_state(PART:"elm.text", "disabled", 0.0);
22493
22494                get_state(PART:"elm.swallow.content", st, 30, vl);
22495                if (!strcmp(st, "visible"))
22496                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22497                else
22498                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22499
22500                get_state(PART:"check", st, 30, vl);
22501                if (!strcmp(st, "visible"))
22502                  set_state(PART:"check", "disabled_visible", 0.0);
22503                else
22504                  set_state(PART:"check", "disabled", 0.0);
22505             }
22506          }
22507          program { name: "enable";
22508             signal: "elm,state,enabled";
22509             source: "elm";
22510             action: STATE_SET "default" 0.0;
22511             target: "disabler";
22512             after: "enable_text";
22513          }
22514          program { name: "enable_text";
22515             script {
22516                new st[31];
22517                new Float:vl;
22518                get_state(PART:"elm.text", st, 30, vl);
22519                if (!strcmp(st, "disabled_visible"))
22520                  set_state(PART:"elm.text", "visible", 0.0);
22521                else
22522                  set_state(PART:"elm.text", "default", 0.0);
22523
22524                get_state(PART:"elm.swallow.content", st, 30, vl);
22525                if (!strcmp(st, "visible"))
22526                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22527                else
22528                  set_state(PART:"elm.swallow.content", "default", 0.0);
22529
22530                get_state(PART:"check", st, 30, vl);
22531                if (!strcmp(st, "visible"))
22532                  set_state(PART:"check", "visible", 0.0);
22533                else
22534                  set_state(PART:"check", "default", 0.0);
22535             }
22536          }
22537       }
22538    }
22539 ///////////////////////////////////////////////////////////////////////////////
22540    group { name: "elm/radio/base/default";
22541       images {
22542          image: "radio_base.png" COMP;
22543          image: "radio.png" COMP;
22544          image: "radio2.png" COMP;
22545       }
22546       parts {
22547          part { name: "bg";
22548             mouse_events: 0;
22549             scale: 1;
22550             description { state: "default" 0.0;
22551                rel1.offset: 1 1;
22552                rel2.relative: 0.0 1.0;
22553                rel2.offset: 1 -2;
22554                align: 0.0 0.5;
22555                min: 16 16;
22556                max: 16 16;
22557                aspect: 1.0 1.0;
22558                aspect_preference: VERTICAL;
22559                image.normal: "radio_base.png";
22560             }
22561          }
22562          part { name: "radio";
22563             mouse_events: 0;
22564             scale: 1;
22565             description { state: "default" 0.0;
22566                rel1.to: "bg";
22567                rel2.to: "bg";
22568                visible: 0;
22569                image.normal: "radio.png";
22570             }
22571             description { state: "visible" 0.0;
22572                inherit: "default" 0.0;
22573                visible: 1;
22574             }
22575          }
22576          part { name: "elm.swallow.content";
22577             type: SWALLOW;
22578             description { state: "default" 0.0;
22579                fixed: 1 0;
22580                visible: 0;
22581                align: 0.0 0.5;
22582                color: 0 0 0 0;
22583                rel1.to_x: "bg";
22584                rel1.relative: 1.0 0.0;
22585                rel1.offset: 1 1;
22586                rel2.to_x: "bg";
22587                rel2.relative: 1.0 1.0;
22588                rel2.offset: 2 -2;
22589             }
22590             description { state: "visible" 0.0;
22591                inherit: "default" 0.0;
22592                visible: 1;
22593                color: 255 255 255 255;
22594                aspect: 1.0 1.0;
22595             }
22596             description { state: "disabled" 0.0;
22597                inherit: "default" 0.0;
22598                color: 128 128 128 128;
22599             }
22600             description { state: "disabled_visible" 0.0;
22601                inherit: "default" 0.0;
22602                color: 128 128 128 128;
22603                visible: 1;
22604                aspect: 1.0 1.0;
22605             }
22606          }
22607          part { name: "elm.text";
22608             type: TEXT;
22609             mouse_events: 0;
22610             scale: 1;
22611             description { state: "default" 0.0;
22612                visible: 0;
22613                rel1.to_x: "elm.swallow.content";
22614                rel1.relative: 1.0 0.0;
22615                rel1.offset: 1 1;
22616                rel2.relative: 1.0 1.0;
22617                rel2.offset: -2 -2;
22618                color: 0 0 0 255;
22619                text {
22620                   font: "Sans,Edje-Vera";
22621                   size: 10;
22622                   min: 0 0;
22623                   align: -1.0 0.5;
22624                }
22625             }
22626             description { state: "visible" 0.0;
22627                inherit: "default" 0.0;
22628                visible: 1;
22629                text.min: 1 1;
22630             }
22631             description { state: "disabled" 0.0;
22632                inherit: "default" 0.0;
22633                color: 0 0 0 128;
22634                color3: 0 0 0 0;
22635             }
22636             description { state: "disabled_visible" 0.0;
22637                inherit: "default" 0.0;
22638                color: 0 0 0 128;
22639                color3: 0 0 0 0;
22640                visible: 1;
22641                text.min: 1 1;
22642             }
22643          }
22644          part { name: "events";
22645             type: RECT;
22646             ignore_flags: ON_HOLD;
22647             description { state: "default" 0.0;
22648                color: 0 0 0 0;
22649             }
22650          }
22651           part { name: "disabler";
22652             type: RECT;
22653             description { state: "default" 0.0;
22654                color: 0 0 0 0;
22655                visible: 0;
22656             }
22657             description { state: "disabled" 0.0;
22658                inherit: "default" 0.0;
22659                visible: 1;
22660             }
22661          }
22662       }
22663       programs {
22664          program { name: "click";
22665             signal: "mouse,up,1";
22666             source: "events";
22667             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22668          }
22669          program { name: "radio_on";
22670             signal: "elm,state,radio,on";
22671             source: "elm";
22672             action:  STATE_SET "visible" 0.0;
22673             target: "radio";
22674          }
22675          program { name: "radio_off";
22676             signal: "elm,state,radio,off";
22677             source: "elm";
22678             action:  STATE_SET "default" 0.0;
22679             target: "radio";
22680          }
22681          program { name: "text_show";
22682             signal: "elm,state,text,visible";
22683             source: "elm";
22684             action:  STATE_SET "visible" 0.0;
22685             target: "elm.text";
22686          }
22687          program { name: "text_hide";
22688             signal: "elm,state,text,hidden";
22689             source: "elm";
22690             action:  STATE_SET "default" 0.0;
22691             target: "elm.text";
22692          }
22693          program { name: "icon_show";
22694             signal: "elm,state,icon,visible";
22695             source: "elm";
22696             action:  STATE_SET "visible" 0.0;
22697             target: "elm.swallow.content";
22698          }
22699          program { name: "icon_hide";
22700             signal: "elm,state,icon,hidden";
22701             source: "elm";
22702             action:  STATE_SET "default" 0.0;
22703             target: "elm.swallow.content";
22704          }
22705          program { name: "disable";
22706             signal: "elm,state,disabled";
22707             source: "elm";
22708             action: STATE_SET "disabled" 0.0;
22709             target: "disabler";
22710             after: "disable_text";
22711          }
22712          program { name: "disable_text";
22713             script {
22714                new st[31];
22715                new Float:vl;
22716                get_state(PART:"elm.text", st, 30, vl);
22717                if (!strcmp(st, "visible"))
22718                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22719                else
22720                  set_state(PART:"elm.text", "disabled", 0.0);
22721
22722                get_state(PART:"elm.swallow.content", st, 30, vl);
22723                if (!strcmp(st, "visible"))
22724                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22725                else
22726                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22727             }
22728          }
22729          program { name: "enable";
22730             signal: "elm,state,enabled";
22731             source: "elm";
22732             action: STATE_SET "default" 0.0;
22733             target: "disabler";
22734             after: "enable_text";
22735          }
22736          program { name: "enable_text";
22737             script {
22738                new st[31];
22739                new Float:vl;
22740                get_state(PART:"elm.text", st, 30, vl);
22741                if (!strcmp(st, "disabled_visible"))
22742                  set_state(PART:"elm.text", "visible", 0.0);
22743                else
22744                  set_state(PART:"elm.text", "default", 0.0);
22745
22746                get_state(PART:"elm.swallow.content", st, 30, vl);
22747                if (!strcmp(st, "visible"))
22748                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22749                else
22750                  set_state(PART:"elm.swallow.content", "default", 0.0);
22751             }
22752          }
22753       }
22754    }
22755    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22756       data.item: "stacking" "below";
22757       data.item: "selectraise" "on";
22758       data.item: "labels" "elm.text elm.text.sub";
22759       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22760       data.item: "treesize" "20";
22761 //      data.item: "states" "";
22762       images {
22763          image: "bt_sm_base1.png" COMP;
22764          image: "bt_sm_shine.png" COMP;
22765          image: "bt_sm_hilight.png" COMP;
22766          image: "ilist_2.png" COMP;
22767          image: "icon_arrow_right.png" COMP;
22768          image: "icon_arrow_down.png" COMP;
22769       }
22770       parts {
22771          part {
22772             name:           "event";
22773             type:           RECT;
22774             repeat_events: 1;
22775             description {
22776                state: "default" 0.0;
22777                color: 0 0 0 0;
22778             }
22779          }
22780          part {
22781             name: "base";
22782             mouse_events: 0;
22783             description {
22784                state: "default" 0.0;
22785                image {
22786                   normal: "ilist_2.png";
22787                   border: 2 2 2 2;
22788                }
22789                fill.smooth: 0;
22790             }
22791          }
22792          part { name: "bg";
22793             clip_to: "disclip";
22794             mouse_events: 0;
22795             description { state: "default" 0.0;
22796                visible: 0;
22797                color: 255 255 255 0;
22798                rel1 {
22799                   relative: 0.0 0.0;
22800                   offset: -5 -5;
22801                }
22802                rel2 {
22803                   relative: 1.0 1.0;
22804                   offset: 4 4;
22805                }
22806                image {
22807                   normal: "bt_sm_base1.png";
22808                   border: 6 6 6 6;
22809                }
22810                image.middle: SOLID;
22811             }
22812             description { state: "selected" 0.0;
22813                inherit: "default" 0.0;
22814                visible: 1;
22815                color: 255 255 255 255;
22816                rel1 {
22817                   relative: 0.0 0.0;
22818                   offset: -2 -2;
22819                }
22820                rel2 {
22821                   relative: 1.0 1.0;
22822                   offset: 1 1;
22823                }
22824             }
22825          }
22826          part { name: "elm.swallow.pad";
22827             type: SWALLOW;
22828             description { state: "default" 0.0;
22829                fixed: 1 0;
22830                align: 0.0 0.5;
22831                rel1 {
22832                   relative: 0.0  0.0;
22833                   offset:   4    4;
22834                }
22835                rel2 {
22836                   relative: 0.0  1.0;
22837                   offset:   4   -5;
22838                }
22839             }
22840          }
22841          part { name: "arrow";
22842             clip_to: "disclip";
22843             ignore_flags: ON_HOLD;
22844             description { state: "default" 0.0;
22845                fixed: 1 0;
22846                align: 0.0 0.5;
22847                aspect: 1.0 1.0;
22848                rel1 {
22849                   to_x: "elm.swallow.pad";
22850                   relative: 1.0  0.0;
22851                   offset:   -1    4;
22852                }
22853                rel2 {
22854                   to_x: "elm.swallow.pad";
22855                   relative: 1.0  1.0;
22856                   offset:   -1   -5;
22857                }
22858                image.normal: "icon_arrow_right.png";
22859             }
22860             description { state: "active" 0.0;
22861                inherit: "default" 0.0;
22862                image.normal: "icon_arrow_down.png";
22863             }
22864          }
22865          part { name: "elm.swallow.icon";
22866             clip_to: "disclip";
22867             type: SWALLOW;
22868             description { state: "default" 0.0;
22869                fixed: 1 0;
22870                align: 0.0 0.5;
22871                rel1 {
22872                   to_x: "arrow";
22873                   relative: 1.0  0.0;
22874                   offset:   4    4;
22875                }
22876                rel2 {
22877                   to_x: "arrow";
22878                   relative: 1.0  1.0;
22879                   offset:   4   -5;
22880                }
22881             }
22882          }
22883          part { name: "elm.swallow.end";
22884             clip_to: "disclip";
22885             type: SWALLOW;
22886             description { state: "default" 0.0;
22887                fixed: 1 0;
22888                align: 1.0 0.5;
22889                aspect: 1.0 1.0;
22890                aspect_preference: VERTICAL;
22891                rel1 {
22892                   relative: 1.0  0.0;
22893                   offset:   -5    4;
22894                }
22895                rel2 {
22896                   relative: 1.0  1.0;
22897                   offset:   -5   -5;
22898                }
22899             }
22900          }
22901          part { name: "elm.text";
22902             clip_to: "disclip";
22903             type:           TEXT;
22904             effect:         SOFT_SHADOW;
22905             mouse_events:   0;
22906             scale: 1;
22907             description {
22908                state: "default" 0.0;
22909 //               min: 16 16;
22910                rel1 {
22911                   to_x:     "elm.swallow.icon";
22912                   relative: 1.0  0.0;
22913                   offset:   0 4;
22914                }
22915                rel2 {
22916                   to_x:     "elm.swallow.end";
22917                   relative: 0.0  0.5;
22918                   offset:   -1 -5;
22919                }
22920                color: 0 0 0 255;
22921                color3: 0 0 0 0;
22922                text {
22923                   font: "Sans";
22924                   size: 10;
22925 //                  min: 1 1;
22926                   min: 0 1;
22927                   align: 0.0 0.5;
22928                   text_class: "list_item";
22929                }
22930             }
22931             description { state: "selected" 0.0;
22932                inherit: "default" 0.0;
22933                color: 224 224 224 255;
22934                color3: 0 0 0 64;
22935             }
22936          }
22937          part { name: "elm.text.sub";
22938             clip_to: "disclip";
22939             type:           TEXT;
22940             mouse_events:   0;
22941             scale: 1;
22942             description {
22943                state: "default" 0.0;
22944 //               min: 16 16;
22945                rel1 {
22946                   to_x:     "elm.swallow.icon";
22947                   relative: 1.0  0.5;
22948                   offset:   0 4;
22949                }
22950                rel2 {
22951                   to_x:     "elm.swallow.end";
22952                   relative: 0.0  1.0;
22953                   offset:   -1 -5;
22954                }
22955                color: 0 0 0 128;
22956                color3: 0 0 0 0;
22957                text {
22958                   font: "Sans";
22959                   size: 8;
22960 //                  min: 1 1;
22961                   min: 0 1;
22962                   align: 0.0 0.5;
22963                   text_class: "list_item";
22964                }
22965             }
22966             description { state: "selected" 0.0;
22967                inherit: "default" 0.0;
22968                color: 128 128 128 255;
22969                color3: 0 0 0 32;
22970             }
22971          }
22972          part { name: "fg1";
22973             clip_to: "disclip";
22974             mouse_events: 0;
22975             description { state: "default" 0.0;
22976                visible: 0;
22977                color: 255 255 255 0;
22978                rel1.to: "bg";
22979                rel2.relative: 1.0 0.5;
22980                rel2.to: "bg";
22981                image {
22982                   normal: "bt_sm_hilight.png";
22983                   border: 6 6 6 0;
22984                }
22985             }
22986             description { state: "selected" 0.0;
22987                inherit: "default" 0.0;
22988                visible: 1;
22989                color: 255 255 255 255;
22990             }
22991          }
22992          part { name: "fg2";
22993             clip_to: "disclip";
22994             mouse_events: 0;
22995             description { state: "default" 0.0;
22996                visible: 0;
22997                color: 255 255 255 0;
22998                rel1.to: "bg";
22999                rel2.to: "bg";
23000                image {
23001                   normal: "bt_sm_shine.png";
23002                   border: 6 6 6 0;
23003                }
23004             }
23005             description { state: "selected" 0.0;
23006                inherit: "default" 0.0;
23007                visible: 1;
23008                color: 255 255 255 255;
23009             }
23010          }
23011          part { name: "disclip";
23012             type: RECT;
23013             description { state: "default" 0.0;
23014                rel1.to: "bg";
23015                rel2.to: "bg";
23016             }
23017             description { state: "disabled" 0.0;
23018                inherit: "default" 0.0;
23019                color: 255 255 255 64;
23020             }
23021          }
23022       }
23023       programs {
23024          // signal: elm,state,%s,active
23025          //   a "check" item named %s went active
23026          // signal: elm,state,%s,passive
23027          //   a "check" item named %s went passive
23028          // default is passive
23029          program {
23030             name:    "go_active";
23031             signal:  "elm,state,selected";
23032             source:  "elm";
23033             action:  STATE_SET "selected" 0.0;
23034             target:  "bg";
23035             target:  "fg1";
23036             target:  "fg2";
23037             target:  "elm.text";
23038             target:  "elm.text.sub";
23039          }
23040          program {
23041             name:    "go_passive";
23042             signal:  "elm,state,unselected";
23043             source:  "elm";
23044             action:  STATE_SET "default" 0.0;
23045             target:  "bg";
23046             target:  "fg1";
23047             target:  "fg2";
23048             target:  "elm.text";
23049             target:  "elm.text.sub";
23050             transition: LINEAR 0.1;
23051          }
23052          program {
23053             name:    "go_disabled";
23054             signal:  "elm,state,disabled";
23055             source:  "elm";
23056             action:  STATE_SET "disabled" 0.0;
23057             target:  "disclip";
23058          }
23059          program {
23060             name:    "go_enabled";
23061             signal:  "elm,state,enabled";
23062             source:  "elm";
23063             action:  STATE_SET "default" 0.0;
23064             target:  "disclip";
23065          }
23066          program {
23067             name:    "expand";
23068             signal:  "mouse,up,1";
23069             source:  "arrow";
23070             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23071          }
23072          program {
23073             name:    "go_expanded";
23074             signal:  "elm,state,expanded";
23075             source:  "elm";
23076             action:  STATE_SET "active" 0.0;
23077             target:  "arrow";
23078          }
23079          program {
23080             name:    "go_contracted";
23081             signal:  "elm,state,contracted";
23082             source:  "elm";
23083             action:  STATE_SET "default" 0.0;
23084             target:  "arrow";
23085          }
23086       }
23087    }
23088
23089    group { name: "elm/genlist/item_compress/media/default";
23090       data.item: "stacking" "above";
23091       data.item: "selectraise" "on";
23092       data.item: "labels" "elm.text.title elm.text.album-artist";
23093       data.item: "treesize" "20";
23094       images {
23095          image: "bt_sm_base1.png" COMP;
23096          image: "bt_sm_shine.png" COMP;
23097          image: "bt_sm_hilight.png" COMP;
23098          image: "ilist_1.png" COMP;
23099          image: "ilist_item_shadow.png" COMP;
23100       }
23101       parts {
23102          part {
23103             name:           "event";
23104             type:           RECT;
23105             repeat_events: 1;
23106             description {
23107                state: "default" 0.0;
23108                color: 0 0 0 0;
23109             }
23110          }
23111          part {
23112             name: "base_sh";
23113             mouse_events: 0;
23114             description {
23115                state: "default" 0.0;
23116                align: 0.0 0.0;
23117                min: 0 10;
23118                fixed: 1 1;
23119                rel1 {
23120                   to: "base";
23121                   relative: 0.0 1.0;
23122                   offset: 0 0;
23123                }
23124                rel2 {
23125                   to: "base";
23126                   relative: 1.0 1.0;
23127                   offset: -1 0;
23128                }
23129                image {
23130                   normal: "ilist_item_shadow.png";
23131                }
23132                fill.smooth: 0;
23133             }
23134          }
23135          part {
23136             name: "base";
23137             mouse_events: 0;
23138             description {
23139                state: "default" 0.0;
23140                image {
23141                   normal: "ilist_1.png";
23142                   border: 2 2 2 2;
23143                }
23144                fill.smooth: 0;
23145             }
23146          }
23147          part { name: "bg";
23148             clip_to: "disclip";
23149             mouse_events: 0;
23150             description { state: "default" 0.0;
23151                visible: 0;
23152                color: 255 255 255 0;
23153                rel1 {
23154                   relative: 0.0 0.0;
23155                   offset: -5 -5;
23156                }
23157                rel2 {
23158                   relative: 1.0 1.0;
23159                   offset: 4 4;
23160                }
23161                image {
23162                   normal: "bt_sm_base1.png";
23163                   border: 6 6 6 6;
23164                }
23165                image.middle: SOLID;
23166             }
23167             description { state: "selected" 0.0;
23168                inherit: "default" 0.0;
23169                visible: 1;
23170                color: 255 255 255 255;
23171                rel1 {
23172                   relative: 0.0 0.0;
23173                   offset: -2 -2;
23174                }
23175                rel2 {
23176                   relative: 1.0 1.0;
23177                   offset: 1 1;
23178                }
23179             }
23180          }
23181          part { name: "elm.swallow.pad";
23182             type: SWALLOW;
23183             description { state: "default" 0.0;
23184                fixed: 1 0;
23185                align: 0.0 0.5;
23186                rel1 {
23187                   relative: 0.0  0.0;
23188                   offset:   4    4;
23189                }
23190                rel2 {
23191                   relative: 0.0  1.0;
23192                   offset:   4   -5;
23193                }
23194             }
23195          }
23196          part { name: "elm.text.title";
23197             clip_to: "disclip";
23198             type:           TEXT;
23199             effect:         SOFT_SHADOW;
23200             mouse_events:   0;
23201             scale: 1;
23202             description {
23203                state: "default" 0.0;
23204                rel1 {
23205                   relative: 0.0  0.0;
23206                   offset:   4 4;
23207                }
23208                rel2 {
23209                   relative: 1.0  0.5;
23210                   offset:   -1 -5;
23211                }
23212                color: 0 0 0 255;
23213                color3: 0 0 0 0;
23214                text {
23215                   font: "Sans";
23216                   size: 10;
23217                   min: 0 1;
23218                   align: 0.0 0.5;
23219                }
23220             }
23221             description { state: "selected" 0.0;
23222                inherit: "default" 0.0;
23223                color: 224 224 224 255;
23224                color3: 0 0 0 64;
23225             }
23226          }
23227          part { name: "elm.text.album-artist";
23228             clip_to: "disclip";
23229             type:           TEXT;
23230             mouse_events:   0;
23231             scale: 1;
23232             description {
23233                state: "default" 0.0;
23234                rel1 {
23235                   relative: 0.0  0.5;
23236                   offset:   4 4;
23237                }
23238                rel2 {
23239                   relative: 1.0  1.0;
23240                   offset:   -1 -5;
23241                }
23242                color: 0 0 0 128;
23243                color3: 0 0 0 0;
23244                text {
23245                   font: "Sans";
23246                   size: 8;
23247                   min: 0 1;
23248                   align: 0.0 0.5;
23249                }
23250             }
23251             description { state: "selected" 0.0;
23252                inherit: "default" 0.0;
23253                color: 128 128 128 255;
23254                color3: 0 0 0 32;
23255             }
23256          }
23257          part { name: "fg1";
23258             clip_to: "disclip";
23259             mouse_events: 0;
23260             description { state: "default" 0.0;
23261                visible: 0;
23262                color: 255 255 255 0;
23263                rel1.to: "bg";
23264                rel2.relative: 1.0 0.5;
23265                rel2.to: "bg";
23266                image {
23267                   normal: "bt_sm_hilight.png";
23268                   border: 6 6 6 0;
23269                }
23270             }
23271             description { state: "selected" 0.0;
23272                inherit: "default" 0.0;
23273                visible: 1;
23274                color: 255 255 255 255;
23275             }
23276          }
23277          part { name: "fg2";
23278             clip_to: "disclip";
23279             mouse_events: 0;
23280             description { state: "default" 0.0;
23281                visible: 0;
23282                color: 255 255 255 0;
23283                rel1.to: "bg";
23284                rel2.to: "bg";
23285                image {
23286                   normal: "bt_sm_shine.png";
23287                   border: 6 6 6 0;
23288                }
23289             }
23290             description { state: "selected" 0.0;
23291                inherit: "default" 0.0;
23292                visible: 1;
23293                color: 255 255 255 255;
23294             }
23295          }
23296          part { name: "disclip";
23297             type: RECT;
23298             description { state: "default" 0.0;
23299                rel1.to: "bg";
23300                rel2.to: "bg";
23301             }
23302             description { state: "disabled" 0.0;
23303                inherit: "default" 0.0;
23304                color: 255 255 255 64;
23305             }
23306          }
23307       }
23308       programs {
23309          // signal: elm,state,%s,active
23310          //   a "check" item named %s went active
23311          // signal: elm,state,%s,passive
23312          //   a "check" item named %s went passive
23313          // default is passive
23314          program {
23315             name:    "go_active";
23316             signal:  "elm,state,selected";
23317             source:  "elm";
23318             action:  STATE_SET "selected" 0.0;
23319             target:  "bg";
23320             target:  "fg1";
23321             target:  "fg2";
23322             target:  "elm.text.title";
23323             target:  "elm.text.album-artist";
23324          }
23325          program {
23326             name:    "go_passive";
23327             signal:  "elm,state,unselected";
23328             source:  "elm";
23329             action:  STATE_SET "default" 0.0;
23330             target:  "bg";
23331             target:  "fg1";
23332             target:  "fg2";
23333             target:  "elm.text.title";
23334             target:  "elm.text.album-artist";
23335             transition: LINEAR 0.1;
23336          }
23337          program {
23338             name:    "go_disabled";
23339             signal:  "elm,state,disabled";
23340             source:  "elm";
23341             action:  STATE_SET "disabled" 0.0;
23342             target:  "disclip";
23343          }
23344          program {
23345             name:    "go_enabled";
23346             signal:  "elm,state,enabled";
23347             source:  "elm";
23348             action:  STATE_SET "default" 0.0;
23349             target:  "disclip";
23350          }
23351       }
23352    }
23353    group { name: "elm/genlist/item_compress_odd/media/default";
23354       data.item: "stacking" "below";
23355       data.item: "selectraise" "on";
23356       data.item: "labels" "elm.text.title elm.text.album-artist";
23357       data.item: "treesize" "20";
23358       images {
23359          image: "bt_sm_base1.png" COMP;
23360          image: "bt_sm_shine.png" COMP;
23361          image: "bt_sm_hilight.png" COMP;
23362          image: "ilist_2.png" COMP;
23363       }
23364       parts {
23365          part { name: "event";
23366             type: RECT;
23367             repeat_events: 1;
23368             description {
23369                state: "default" 0.0;
23370                color: 0 0 0 0;
23371             }
23372          }
23373          part {
23374             name: "base";
23375             mouse_events: 0;
23376             description {
23377                state: "default" 0.0;
23378                image {
23379                   normal: "ilist_2.png";
23380                   border: 2 2 2 2;
23381                }
23382                fill.smooth: 0;
23383             }
23384          }
23385          part { name: "bg";
23386             clip_to: "disclip";
23387             mouse_events: 0;
23388             description { state: "default" 0.0;
23389                visible: 0;
23390                color: 255 255 255 0;
23391                rel1 {
23392                   relative: 0.0 0.0;
23393                   offset: -5 -5;
23394                }
23395                rel2 {
23396                   relative: 1.0 1.0;
23397                   offset: 4 4;
23398                }
23399                image {
23400                   normal: "bt_sm_base1.png";
23401                   border: 6 6 6 6;
23402                }
23403                image.middle: SOLID;
23404             }
23405             description { state: "selected" 0.0;
23406                inherit: "default" 0.0;
23407                visible: 1;
23408                color: 255 255 255 255;
23409                rel1 {
23410                   relative: 0.0 0.0;
23411                   offset: -2 -2;
23412                }
23413                rel2 {
23414                   relative: 1.0 1.0;
23415                   offset: 1 1;
23416                }
23417             }
23418          }
23419          part { name: "elm.swallow.pad";
23420             type: SWALLOW;
23421             description { state: "default" 0.0;
23422                fixed: 1 0;
23423                align: 0.0 0.5;
23424                rel1 {
23425                   relative: 0.0  0.0;
23426                   offset:   4    4;
23427                }
23428                rel2 {
23429                   relative: 0.0  1.0;
23430                   offset:   4   -5;
23431                }
23432             }
23433          }
23434          part { name: "elm.text.title";
23435             clip_to: "disclip";
23436             type:           TEXT;
23437             effect:         SOFT_SHADOW;
23438             mouse_events:   0;
23439             scale: 1;
23440             description {
23441                state: "default" 0.0;
23442                rel1 {
23443                   relative: 0.0  0.0;
23444                   offset:   4 4;
23445                }
23446                rel2 {
23447                   relative: 1.0  0.5;
23448                   offset:   -1 -5;
23449                }
23450                color: 0 0 0 255;
23451                color3: 0 0 0 0;
23452                text {
23453                   font: "Sans";
23454                   size: 10;
23455                   min: 0 1;
23456                   align: 0.0 0.5;
23457                }
23458             }
23459             description { state: "selected" 0.0;
23460                inherit: "default" 0.0;
23461                color: 224 224 224 255;
23462                color3: 0 0 0 64;
23463             }
23464          }
23465          part { name: "elm.text.album-artist";
23466             clip_to: "disclip";
23467             type:           TEXT;
23468             mouse_events:   0;
23469             scale: 1;
23470             description {
23471                state: "default" 0.0;
23472                rel1 {
23473                   relative: 0.0  0.5;
23474                   offset:   4 4;
23475                }
23476                rel2 {
23477                   relative: 1.0  1.0;
23478                   offset:   -1 -5;
23479                }
23480                color: 0 0 0 128;
23481                color3: 0 0 0 0;
23482                text {
23483                   font: "Sans";
23484                   size: 8;
23485                   min: 0 1;
23486                   align: 0.0 0.5;
23487                }
23488             }
23489             description { state: "selected" 0.0;
23490                inherit: "default" 0.0;
23491                color: 128 128 128 255;
23492                color3: 0 0 0 32;
23493             }
23494          }
23495          part { name: "fg1";
23496             clip_to: "disclip";
23497             mouse_events: 0;
23498             description { state: "default" 0.0;
23499                visible: 0;
23500                color: 255 255 255 0;
23501                rel1.to: "bg";
23502                rel2.relative: 1.0 0.5;
23503                rel2.to: "bg";
23504                image {
23505                   normal: "bt_sm_hilight.png";
23506                   border: 6 6 6 0;
23507                }
23508             }
23509             description { state: "selected" 0.0;
23510                inherit: "default" 0.0;
23511                visible: 1;
23512                color: 255 255 255 255;
23513             }
23514          }
23515          part { name: "fg2";
23516             clip_to: "disclip";
23517             mouse_events: 0;
23518             description { state: "default" 0.0;
23519                visible: 0;
23520                color: 255 255 255 0;
23521                rel1.to: "bg";
23522                rel2.to: "bg";
23523                image {
23524                   normal: "bt_sm_shine.png";
23525                   border: 6 6 6 0;
23526                }
23527             }
23528             description { state: "selected" 0.0;
23529                inherit: "default" 0.0;
23530                visible: 1;
23531                color: 255 255 255 255;
23532             }
23533          }
23534          part { name: "disclip";
23535             type: RECT;
23536             description { state: "default" 0.0;
23537                rel1.to: "bg";
23538                rel2.to: "bg";
23539             }
23540             description { state: "disabled" 0.0;
23541                inherit: "default" 0.0;
23542                color: 255 255 255 64;
23543             }
23544          }
23545       }
23546       programs {
23547          // signal: elm,state,%s,active
23548          //   a "check" item named %s went active
23549          // signal: elm,state,%s,passive
23550          //   a "check" item named %s went passive
23551          // default is passive
23552          program {
23553             name:    "go_active";
23554             signal:  "elm,state,selected";
23555             source:  "elm";
23556             action:  STATE_SET "selected" 0.0;
23557             target:  "bg";
23558             target:  "fg1";
23559             target:  "fg2";
23560             target:  "elm.text.title";
23561             target:  "elm.text.album-artist";
23562          }
23563          program {
23564             name:    "go_passive";
23565             signal:  "elm,state,unselected";
23566             source:  "elm";
23567             action:  STATE_SET "default" 0.0;
23568             target:  "bg";
23569             target:  "fg1";
23570             target:  "fg2";
23571             target:  "elm.text.title";
23572             target:  "elm.text.album-artist";
23573             transition: LINEAR 0.1;
23574          }
23575          program {
23576             name:    "go_disabled";
23577             signal:  "elm,state,disabled";
23578             source:  "elm";
23579             action:  STATE_SET "disabled" 0.0;
23580             target:  "disclip";
23581          }
23582          program {
23583             name:    "go_enabled";
23584             signal:  "elm,state,enabled";
23585             source:  "elm";
23586             action:  STATE_SET "default" 0.0;
23587             target:  "disclip";
23588          }
23589       }
23590    }
23591
23592    group { name: "elm/genlist/item_compress/media-album/default";
23593       data.item: "stacking" "above";
23594       data.item: "selectraise" "on";
23595       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23596       data.item: "states" "elm.state.trackno";
23597       data.item: "treesize" "20";
23598       images {
23599          image: "bt_sm_base1.png" COMP;
23600          image: "bt_sm_shine.png" COMP;
23601          image: "bt_sm_hilight.png" COMP;
23602          image: "ilist_1.png" COMP;
23603          image: "ilist_item_shadow.png" COMP;
23604       }
23605       script {
23606          public dot_visible;
23607       }
23608       parts {
23609          part {
23610             name: "event";
23611             type: RECT;
23612             repeat_events: 1;
23613             description {
23614                state: "default" 0.0;
23615                color: 0 0 0 0;
23616             }
23617          }
23618          part {
23619             name: "base_sh";
23620             mouse_events: 0;
23621             description {
23622                state: "default" 0.0;
23623                align: 0.0 0.0;
23624                min: 0 10;
23625                fixed: 1 1;
23626                rel1 {
23627                   to: "base";
23628                   relative: 0.0 1.0;
23629                   offset: 0 0;
23630                }
23631                rel2 {
23632                   to: "base";
23633                   relative: 1.0 1.0;
23634                   offset: -1 0;
23635                }
23636                image {
23637                   normal: "ilist_item_shadow.png";
23638                }
23639                fill.smooth: 0;
23640             }
23641          }
23642          part {
23643             name: "base";
23644             mouse_events: 0;
23645             description {
23646                state: "default" 0.0;
23647                image {
23648                   normal: "ilist_1.png";
23649                   border: 2 2 2 2;
23650                }
23651                fill.smooth: 0;
23652             }
23653          }
23654          part { name: "bg";
23655             clip_to: "disclip";
23656             mouse_events: 0;
23657             description { state: "default" 0.0;
23658                visible: 0;
23659                color: 255 255 255 0;
23660                rel1 {
23661                   relative: 0.0 0.0;
23662                   offset: -5 -5;
23663                }
23664                rel2 {
23665                   relative: 1.0 1.0;
23666                   offset: 4 4;
23667                }
23668                image {
23669                   normal: "bt_sm_base1.png";
23670                   border: 6 6 6 6;
23671                }
23672                image.middle: SOLID;
23673             }
23674             description { state: "selected" 0.0;
23675                inherit: "default" 0.0;
23676                visible: 1;
23677                color: 255 255 255 255;
23678                rel1 {
23679                   relative: 0.0 0.0;
23680                   offset: -2 -2;
23681                }
23682                rel2 {
23683                   relative: 1.0 1.0;
23684                   offset: 1 1;
23685                }
23686             }
23687          }
23688          part { name: "elm.swallow.pad";
23689             type: SWALLOW;
23690             description { state: "default" 0.0;
23691                fixed: 1 0;
23692                align: 0.0 0.5;
23693                rel1 {
23694                   relative: 0.0  0.0;
23695                   offset:   4    4;
23696                }
23697                rel2 {
23698                   relative: 0.0  1.0;
23699                   offset:   4   -5;
23700                }
23701             }
23702          }
23703          part {
23704             name: "elm.text.trackno";
23705             type: TEXT;
23706             scale: 1;
23707             mouse_events: 0;
23708             description {
23709                state: "default" 0.0;
23710                color: 255 255 255 255;
23711                align: 0.0 0.0;
23712                fixed: 1 0;
23713                rel1 {
23714                   to_y: "elm.text.title";
23715                   relative: 0.0 0.0;
23716                   offset: 5 0;
23717                }
23718                rel2 {
23719                   to_y: "elm.text.title";
23720                   relative: 0.0 1.0;
23721                   offset: 20 0;
23722                }
23723                color: 0 0 0 255;
23724                color3: 0 0 0 0;
23725                text {
23726                   font: "Sans";
23727                   size: 10;
23728                   min: 1 1;
23729                   align: 1.0 0.5;
23730                }
23731             }
23732             description { state: "selected" 0.0;
23733                inherit: "default" 0.0;
23734                color: 224 224 224 255;
23735                color3: 0 0 0 64;
23736             }
23737          }
23738          part {
23739             name: "dot";
23740             type: TEXT;
23741             scale: 1;
23742             mouse_events: 0;
23743             description {
23744                state: "default" 0.0;
23745                color: 255 255 255 255;
23746                visible: 0;
23747                fixed: 1 1;
23748                align: 0.0 0.0;
23749                rel1 {
23750                   to_x: "elm.text.trackno";
23751                   to_y: "elm.text.title";
23752                   relative: 1.0 0.0;
23753                   offset: 1 0;
23754                }
23755                rel2 {
23756                   to_x: "elm.text.trackno";
23757                   to_y: "elm.text.title";
23758                   relative: 1.0 1.0;
23759                   offset: 1 0;
23760
23761                }
23762                color: 0 0 0 255;
23763                color3: 0 0 0 0;
23764                text {
23765                   font: "Sans";
23766                   size: 10;
23767                   min: 1 1;
23768                   align: 0.0 0.5;
23769                   text: ".";
23770                }
23771             }
23772             description {
23773                state: "visible" 0.0;
23774                inherit: "default" 0.0;
23775                visible: 1;
23776             }
23777             description { state: "selected" 0.0;
23778                inherit: "default" 0.0;
23779                color: 224 224 224 255;
23780                color3: 0 0 0 64;
23781                visible: 1;
23782             }
23783          }
23784          programs {
23785             program {
23786                signal: "elm,state,elm.state.trackno,active";
23787                source: "elm";
23788                script {
23789                   set_state(PART:"dot", "visible", 0.0);
23790                   set_int(dot_visible, 1);
23791                }
23792             }
23793          }
23794          part { name: "elm.text.title";
23795             clip_to: "disclip";
23796             type:           TEXT;
23797             effect:         SOFT_SHADOW;
23798             mouse_events:   0;
23799             scale: 1;
23800             description {
23801                state: "default" 0.0;
23802                rel1 {
23803                   to_x: "dot";
23804                   relative: 0.0  0.0;
23805                   offset:   4 4;
23806                }
23807                rel2 {
23808                   relative: 1.0  0.5;
23809                   offset:   -1 -5;
23810                }
23811                color: 0 0 0 255;
23812                color3: 0 0 0 0;
23813                text {
23814                   font: "Sans";
23815                   size: 10;
23816                   min: 0 1;
23817                   align: 0.0 0.5;
23818                }
23819             }
23820             description { state: "selected" 0.0;
23821                inherit: "default" 0.0;
23822                color: 224 224 224 255;
23823                color3: 0 0 0 64;
23824             }
23825          }
23826          part { name: "elm.text.length";
23827             clip_to: "disclip";
23828             type:           TEXT;
23829             mouse_events:   0;
23830             scale: 1;
23831             description {
23832                state: "default" 0.0;
23833                rel1 {
23834                   relative: 0.0  0.5;
23835                   offset:   4 4;
23836                }
23837                rel2 {
23838                   relative: 1.0  1.0;
23839                   offset:   -1 -5;
23840                }
23841                color: 0 0 0 128;
23842                color3: 0 0 0 0;
23843                text {
23844                   font: "Sans";
23845                   size: 8;
23846                   min: 0 1;
23847                   align: 0.0 0.5;
23848                }
23849             }
23850             description { state: "selected" 0.0;
23851                inherit: "default" 0.0;
23852                color: 128 128 128 255;
23853                color3: 0 0 0 32;
23854             }
23855          }
23856          part { name: "fg1";
23857             clip_to: "disclip";
23858             mouse_events: 0;
23859             description { state: "default" 0.0;
23860                visible: 0;
23861                color: 255 255 255 0;
23862                rel1.to: "bg";
23863                rel2.relative: 1.0 0.5;
23864                rel2.to: "bg";
23865                image {
23866                   normal: "bt_sm_hilight.png";
23867                   border: 6 6 6 0;
23868                }
23869             }
23870             description { state: "selected" 0.0;
23871                inherit: "default" 0.0;
23872                visible: 1;
23873                color: 255 255 255 255;
23874             }
23875          }
23876          part { name: "fg2";
23877             clip_to: "disclip";
23878             mouse_events: 0;
23879             description { state: "default" 0.0;
23880                visible: 0;
23881                color: 255 255 255 0;
23882                rel1.to: "bg";
23883                rel2.to: "bg";
23884                image {
23885                   normal: "bt_sm_shine.png";
23886                   border: 6 6 6 0;
23887                }
23888             }
23889             description { state: "selected" 0.0;
23890                inherit: "default" 0.0;
23891                visible: 1;
23892                color: 255 255 255 255;
23893             }
23894          }
23895          part { name: "disclip";
23896             type: RECT;
23897             description { state: "default" 0.0;
23898                rel1.to: "bg";
23899                rel2.to: "bg";
23900             }
23901             description { state: "disabled" 0.0;
23902                inherit: "default" 0.0;
23903                color: 255 255 255 64;
23904             }
23905          }
23906       }
23907       programs {
23908          // signal: elm,state,%s,active
23909          //   a "check" item named %s went active
23910          // signal: elm,state,%s,passive
23911          //   a "check" item named %s went passive
23912          // default is passive
23913          program {
23914             name:    "go_active";
23915             signal:  "elm,state,selected";
23916             source:  "elm";
23917             action:  STATE_SET "selected" 0.0;
23918             target:  "bg";
23919             target:  "fg1";
23920             target:  "fg2";
23921             target:  "elm.text.title";
23922             target:  "elm.text.trackno";
23923             target:  "elm.text.length";
23924             after:   "dot_active";
23925          }
23926          program {
23927             name: "dot_active";
23928             script {
23929                if (get_int(dot_visible) == 1)
23930                   set_state(PART:"dot", "selected", 0.0);
23931             }
23932          }
23933          program {
23934             name:    "go_passive";
23935             signal:  "elm,state,unselected";
23936             source:  "elm";
23937             action:  STATE_SET "default" 0.0;
23938             target:  "bg";
23939             target:  "fg1";
23940             target:  "fg2";
23941             target:  "elm.text.title";
23942             target:  "elm.text.length";
23943             target:  "elm.text.trackno";
23944             transition: LINEAR 0.1;
23945             after:   "dot_passive";
23946          }
23947          program {
23948             name: "dot_passive";
23949             script {
23950                if (get_int(dot_visible) == 1)
23951                   set_state(PART:"dot", "visible", 0.0);
23952             }
23953          }
23954          program {
23955             name:    "go_disabled";
23956             signal:  "elm,state,disabled";
23957             source:  "elm";
23958             action:  STATE_SET "disabled" 0.0;
23959             target:  "disclip";
23960          }
23961          program {
23962             name:    "go_enabled";
23963             signal:  "elm,state,enabled";
23964             source:  "elm";
23965             action:  STATE_SET "default" 0.0;
23966             target:  "disclip";
23967          }
23968       }
23969    }
23970    group { name: "elm/genlist/item_compress_odd/media-album/default";
23971       data.item: "stacking" "below";
23972       data.item: "selectraise" "on";
23973       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23974       data.item: "states" "elm.state.trackno";
23975       data.item: "treesize" "20";
23976       images {
23977          image: "bt_sm_base1.png" COMP;
23978          image: "bt_sm_shine.png" COMP;
23979          image: "bt_sm_hilight.png" COMP;
23980          image: "ilist_2.png" COMP;
23981       }
23982       script {
23983          public dot_visible;
23984       }
23985       parts {
23986          part { name: "event";
23987             type: RECT;
23988             repeat_events: 1;
23989             description {
23990                state: "default" 0.0;
23991                color: 0 0 0 0;
23992             }
23993          }
23994          part {
23995             name: "base";
23996             mouse_events: 0;
23997             description {
23998                state: "default" 0.0;
23999                image {
24000                   normal: "ilist_2.png";
24001                   border: 2 2 2 2;
24002                }
24003                fill.smooth: 0;
24004             }
24005          }
24006          part { name: "bg";
24007             clip_to: "disclip";
24008             mouse_events: 0;
24009             description { state: "default" 0.0;
24010                visible: 0;
24011                color: 255 255 255 0;
24012                rel1 {
24013                   relative: 0.0 0.0;
24014                   offset: -5 -5;
24015                }
24016                rel2 {
24017                   relative: 1.0 1.0;
24018                   offset: 4 4;
24019                }
24020                image {
24021                   normal: "bt_sm_base1.png";
24022                   border: 6 6 6 6;
24023                }
24024                image.middle: SOLID;
24025             }
24026             description { state: "selected" 0.0;
24027                inherit: "default" 0.0;
24028                visible: 1;
24029                color: 255 255 255 255;
24030                rel1 {
24031                   relative: 0.0 0.0;
24032                   offset: -2 -2;
24033                }
24034                rel2 {
24035                   relative: 1.0 1.0;
24036                   offset: 1 1;
24037                }
24038             }
24039          }
24040          part { name: "elm.swallow.pad";
24041             type: SWALLOW;
24042             description { state: "default" 0.0;
24043                fixed: 1 0;
24044                align: 0.0 0.5;
24045                rel1 {
24046                   relative: 0.0  0.0;
24047                   offset:   4    4;
24048                }
24049                rel2 {
24050                   relative: 0.0  1.0;
24051                   offset:   4   -5;
24052                }
24053             }
24054          }
24055          part {
24056             name: "elm.text.trackno";
24057             type: TEXT;
24058             scale: 1;
24059             mouse_events: 0;
24060             description {
24061                state: "default" 0.0;
24062                color: 255 255 255 255;
24063                align: 0.0 0.0;
24064                fixed: 1 0;
24065                rel1 {
24066                   to_y: "elm.text.title";
24067                   relative: 0.0 0.0;
24068                   offset: 5 0;
24069                }
24070                rel2 {
24071                   to_y: "elm.text.title";
24072                   relative: 0.0 1.0;
24073                   offset: 20 0;
24074                }
24075                color: 0 0 0 255;
24076                color3: 0 0 0 0;
24077                text {
24078                   font: "Sans";
24079                   size: 10;
24080                   min: 1 1;
24081                   align: 1.0 0.5;
24082                }
24083             }
24084             description { state: "selected" 0.0;
24085                inherit: "default" 0.0;
24086                color: 224 224 224 255;
24087                color3: 0 0 0 64;
24088             }
24089          }
24090          part {
24091             name: "dot";
24092             type: TEXT;
24093             scale: 1;
24094             mouse_events: 0;
24095             description {
24096                state: "default" 0.0;
24097                color: 255 255 255 255;
24098                visible: 0;
24099                fixed: 1 1;
24100                align: 0.0 0.0;
24101                rel1 {
24102                   to_x: "elm.text.trackno";
24103                   to_y: "elm.text.title";
24104                   relative: 1.0 0.0;
24105                   offset: 1 0;
24106                }
24107                rel2 {
24108                   to_x: "elm.text.trackno";
24109                   to_y: "elm.text.title";
24110                   relative: 1.0 1.0;
24111                   offset: 1 0;
24112
24113                }
24114                color: 0 0 0 255;
24115                color3: 0 0 0 0;
24116                text {
24117                   font: "Sans";
24118                   size: 10;
24119                   min: 1 1;
24120                   align: 0.0 0.5;
24121                   text: ".";
24122                }
24123             }
24124             description {
24125                state: "visible" 0.0;
24126                inherit: "default" 0.0;
24127                visible: 1;
24128             }
24129             description { state: "selected" 0.0;
24130                inherit: "default" 0.0;
24131                color: 224 224 224 255;
24132                color3: 0 0 0 64;
24133                visible: 1;
24134             }
24135          }
24136          programs {
24137             program {
24138                signal: "elm,state,elm.state.trackno,active";
24139                source: "elm";
24140                script {
24141                   set_state(PART:"dot", "visible", 0.0);
24142                   set_int(dot_visible, 1);
24143                }
24144             }
24145          }
24146          part { name: "elm.text.title";
24147             clip_to: "disclip";
24148             type:           TEXT;
24149             effect:         SOFT_SHADOW;
24150             mouse_events:   0;
24151             scale: 1;
24152             description {
24153                state: "default" 0.0;
24154                rel1 {
24155                   to_x: "dot";
24156                   relative: 1.0  0.0;
24157                   offset:   4 4;
24158                }
24159                rel2 {
24160                   relative: 1.0  0.5;
24161                   offset:   -1 -5;
24162                }
24163                color: 0 0 0 255;
24164                color3: 0 0 0 0;
24165                text {
24166                   font: "Sans";
24167                   size: 10;
24168                   min: 0 1;
24169                   align: 0.0 0.5;
24170                }
24171             }
24172             description { state: "selected" 0.0;
24173                inherit: "default" 0.0;
24174                color: 224 224 224 255;
24175                color3: 0 0 0 64;
24176             }
24177          }
24178          part { name: "elm.text.length";
24179             clip_to: "disclip";
24180             type:           TEXT;
24181             mouse_events:   0;
24182             scale: 1;
24183             description {
24184                state: "default" 0.0;
24185                rel1 {
24186                   relative: 0.0  0.5;
24187                   offset:   4 4;
24188                }
24189                rel2 {
24190                   relative: 1.0  1.0;
24191                   offset:   -1 -5;
24192                }
24193                color: 0 0 0 128;
24194                color3: 0 0 0 0;
24195                text {
24196                   font: "Sans";
24197                   size: 8;
24198                   min: 0 1;
24199                   align: 0.0 0.5;
24200                }
24201             }
24202             description { state: "selected" 0.0;
24203                inherit: "default" 0.0;
24204                color: 128 128 128 255;
24205                color3: 0 0 0 32;
24206             }
24207          }
24208          part { name: "fg1";
24209             clip_to: "disclip";
24210             mouse_events: 0;
24211             description { state: "default" 0.0;
24212                visible: 0;
24213                color: 255 255 255 0;
24214                rel1.to: "bg";
24215                rel2.relative: 1.0 0.5;
24216                rel2.to: "bg";
24217                image {
24218                   normal: "bt_sm_hilight.png";
24219                   border: 6 6 6 0;
24220                }
24221             }
24222             description { state: "selected" 0.0;
24223                inherit: "default" 0.0;
24224                visible: 1;
24225                color: 255 255 255 255;
24226             }
24227          }
24228          part { name: "fg2";
24229             clip_to: "disclip";
24230             mouse_events: 0;
24231             description { state: "default" 0.0;
24232                visible: 0;
24233                color: 255 255 255 0;
24234                rel1.to: "bg";
24235                rel2.to: "bg";
24236                image {
24237                   normal: "bt_sm_shine.png";
24238                   border: 6 6 6 0;
24239                }
24240             }
24241             description { state: "selected" 0.0;
24242                inherit: "default" 0.0;
24243                visible: 1;
24244                color: 255 255 255 255;
24245             }
24246          }
24247          part { name: "disclip";
24248             type: RECT;
24249             description { state: "default" 0.0;
24250                rel1.to: "bg";
24251                rel2.to: "bg";
24252             }
24253             description { state: "disabled" 0.0;
24254                inherit: "default" 0.0;
24255                color: 255 255 255 64;
24256             }
24257          }
24258       }
24259       programs {
24260          // signal: elm,state,%s,active
24261          //   a "check" item named %s went active
24262          // signal: elm,state,%s,passive
24263          //   a "check" item named %s went passive
24264          // default is passive
24265          program {
24266             name:    "go_active";
24267             signal:  "elm,state,selected";
24268             source:  "elm";
24269             action:  STATE_SET "selected" 0.0;
24270             target:  "bg";
24271             target:  "fg1";
24272             target:  "fg2";
24273             target:  "elm.text.title";
24274             target:  "elm.text.length";
24275             target:  "elm.text.trackno";
24276             after:   "dot_active";
24277          }
24278          program {
24279             name: "dot_active";
24280             script {
24281                if (get_int(dot_visible) == 1)
24282                   set_state(PART:"dot", "selected", 0.0);
24283             }
24284          }
24285          program {
24286             name:    "go_passive";
24287             signal:  "elm,state,unselected";
24288             source:  "elm";
24289             action:  STATE_SET "default" 0.0;
24290             target:  "bg";
24291             target:  "fg1";
24292             target:  "fg2";
24293             target:  "elm.text.title";
24294             target:  "elm.text.length";
24295             target:  "elm.text.trackno";
24296             transition: LINEAR 0.1;
24297             after:   "dot_passive";
24298          }
24299          program {
24300             name: "dot_passive";
24301             script {
24302                if (get_int(dot_visible) == 1)
24303                   set_state(PART:"dot", "visible", 0.0);
24304             }
24305          }
24306          program {
24307             name:    "go_disabled";
24308             signal:  "elm,state,disabled";
24309             source:  "elm";
24310             action:  STATE_SET "disabled" 0.0;
24311             target:  "disclip";
24312          }
24313          program {
24314             name:    "go_enabled";
24315             signal:  "elm,state,enabled";
24316             source:  "elm";
24317             action:  STATE_SET "default" 0.0;
24318             target:  "disclip";
24319          }
24320       }
24321    }
24322
24323    group { name: "elm/genlist/item_compress/media-preview/default";
24324       data.item: "stacking" "above";
24325       data.item: "selectraise" "on";
24326       data.item: "labels" "elm.text.title elm.text.artist";
24327       data.item: "icons" "elm.swallow.preview";
24328       data.item: "treesize" "20";
24329       images {
24330          image: "bt_sm_base1.png" COMP;
24331          image: "bt_sm_shine.png" COMP;
24332          image: "bt_sm_hilight.png" COMP;
24333          image: "ilist_1.png" COMP;
24334          image: "ilist_item_shadow.png" COMP;
24335       }
24336       parts {
24337          part {
24338             name: "event";
24339             type: RECT;
24340             repeat_events: 1;
24341             description {
24342                state: "default" 0.0;
24343                color: 0 0 0 0;
24344             }
24345          }
24346          part {
24347             name: "base_sh";
24348             mouse_events: 0;
24349             description {
24350                state: "default" 0.0;
24351                align: 0.0 0.0;
24352                min: 0 10;
24353                fixed: 1 1;
24354                rel1 {
24355                   to: "base";
24356                   relative: 0.0 1.0;
24357                   offset: 0 0;
24358                }
24359                rel2 {
24360                   to: "base";
24361                   relative: 1.0 1.0;
24362                   offset: -1 0;
24363                }
24364                image {
24365                   normal: "ilist_item_shadow.png";
24366                }
24367                fill.smooth: 0;
24368             }
24369          }
24370          part {
24371             name: "base";
24372             mouse_events: 0;
24373             description {
24374                state: "default" 0.0;
24375                image {
24376                   normal: "ilist_1.png";
24377                   border: 2 2 2 2;
24378                }
24379                fill.smooth: 0;
24380             }
24381          }
24382          part { name: "bg";
24383             clip_to: "disclip";
24384             mouse_events: 0;
24385             description { state: "default" 0.0;
24386                visible: 0;
24387                color: 255 255 255 0;
24388                rel1 {
24389                   relative: 0.0 0.0;
24390                   offset: -5 -5;
24391                }
24392                rel2 {
24393                   relative: 1.0 1.0;
24394                   offset: 4 4;
24395                }
24396                image {
24397                   normal: "bt_sm_base1.png";
24398                   border: 6 6 6 6;
24399                }
24400                image.middle: SOLID;
24401             }
24402             description { state: "selected" 0.0;
24403                inherit: "default" 0.0;
24404                visible: 1;
24405                color: 255 255 255 255;
24406                rel1 {
24407                   relative: 0.0 0.0;
24408                   offset: -2 -2;
24409                }
24410                rel2 {
24411                   relative: 1.0 1.0;
24412                   offset: 1 1;
24413                }
24414             }
24415          }
24416          part { name: "elm.swallow.pad";
24417             type: SWALLOW;
24418             description { state: "default" 0.0;
24419                fixed: 1 0;
24420                align: 0.0 0.5;
24421                rel1 {
24422                   relative: 0.0  0.0;
24423                   offset:   4    4;
24424                }
24425                rel2 {
24426                   relative: 0.0  1.0;
24427                   offset:   4   -5;
24428                }
24429             }
24430          }
24431          part { name: "elm.swallow.preview";
24432             clip_to: "disclip";
24433             type: SWALLOW;
24434             description { state: "default" 0.0;
24435                fixed: 1 0;
24436                align: 0.0 0.5;
24437                min: 68 68;
24438                max: 68 68;
24439                rel1 {
24440                   to_x: "elm.swallow.pad";
24441                   relative: 1.0  0.0;
24442                   offset:   -1    4;
24443                }
24444                rel2 {
24445                   to_x: "elm.swallow.pad";
24446                   relative: 1.0  1.0;
24447                   offset:   -1   -5;
24448                }
24449             }
24450          }
24451          part { name: "elm.text.title";
24452             clip_to: "disclip";
24453             type:           TEXT;
24454             effect:         SOFT_SHADOW;
24455             mouse_events:   0;
24456             scale: 1;
24457             description {
24458                state: "default" 0.0;
24459                rel1 {
24460                   to_x:     "elm.swallow.preview";
24461                   relative: 1.0  0.0;
24462                   offset:   4 4;
24463                }
24464                rel2 {
24465                   relative: 1.0  0.5;
24466                   offset:   -1 -5;
24467                }
24468                color: 0 0 0 255;
24469                color3: 0 0 0 0;
24470                text {
24471                   font: "Sans";
24472                   size: 10;
24473                   min: 0 1;
24474                   align: 0.0 0.5;
24475                }
24476             }
24477             description { state: "selected" 0.0;
24478                inherit: "default" 0.0;
24479                color: 224 224 224 255;
24480                color3: 0 0 0 64;
24481             }
24482          }
24483          part { name: "elm.text.artist";
24484             clip_to: "disclip";
24485             type:           TEXT;
24486             mouse_events:   0;
24487             scale: 1;
24488             description {
24489                state: "default" 0.0;
24490                rel1 {
24491                   to_x:     "elm.swallow.preview";
24492                   relative: 1.0  0.5;
24493                   offset:   4 4;
24494                }
24495                rel2 {
24496                   relative: 1.0  1.0;
24497                   offset:   -1 -5;
24498                }
24499                color: 0 0 0 128;
24500                color3: 0 0 0 0;
24501                text {
24502                   font: "Sans";
24503                   size: 8;
24504                   min: 0 1;
24505                   align: 0.0 0.5;
24506                }
24507             }
24508             description { state: "selected" 0.0;
24509                inherit: "default" 0.0;
24510                color: 128 128 128 255;
24511                color3: 0 0 0 32;
24512             }
24513          }
24514          part { name: "fg1";
24515             clip_to: "disclip";
24516             mouse_events: 0;
24517             description { state: "default" 0.0;
24518                visible: 0;
24519                color: 255 255 255 0;
24520                rel1.to: "bg";
24521                rel2.relative: 1.0 0.5;
24522                rel2.to: "bg";
24523                image {
24524                   normal: "bt_sm_hilight.png";
24525                   border: 6 6 6 0;
24526                }
24527             }
24528             description { state: "selected" 0.0;
24529                inherit: "default" 0.0;
24530                visible: 1;
24531                color: 255 255 255 255;
24532             }
24533          }
24534          part { name: "fg2";
24535             clip_to: "disclip";
24536             mouse_events: 0;
24537             description { state: "default" 0.0;
24538                visible: 0;
24539                color: 255 255 255 0;
24540                rel1.to: "bg";
24541                rel2.to: "bg";
24542                image {
24543                   normal: "bt_sm_shine.png";
24544                   border: 6 6 6 0;
24545                }
24546             }
24547             description { state: "selected" 0.0;
24548                inherit: "default" 0.0;
24549                visible: 1;
24550                color: 255 255 255 255;
24551             }
24552          }
24553          part { name: "disclip";
24554             type: RECT;
24555             description { state: "default" 0.0;
24556                rel1.to: "bg";
24557                rel2.to: "bg";
24558             }
24559             description { state: "disabled" 0.0;
24560                inherit: "default" 0.0;
24561                color: 255 255 255 64;
24562             }
24563          }
24564       }
24565       programs {
24566          // signal: elm,state,%s,active
24567          //   a "check" item named %s went active
24568          // signal: elm,state,%s,passive
24569          //   a "check" item named %s went passive
24570          // default is passive
24571          program {
24572             name:    "go_active";
24573             signal:  "elm,state,selected";
24574             source:  "elm";
24575             action:  STATE_SET "selected" 0.0;
24576             target:  "bg";
24577             target:  "fg1";
24578             target:  "fg2";
24579             target:  "elm.text.title";
24580             target:  "elm.text.artist";
24581          }
24582          program {
24583             name:    "go_passive";
24584             signal:  "elm,state,unselected";
24585             source:  "elm";
24586             action:  STATE_SET "default" 0.0;
24587             target:  "bg";
24588             target:  "fg1";
24589             target:  "fg2";
24590             target:  "elm.text.title";
24591             target:  "elm.text.artist";
24592             transition: LINEAR 0.1;
24593          }
24594          program {
24595             name:    "go_disabled";
24596             signal:  "elm,state,disabled";
24597             source:  "elm";
24598             action:  STATE_SET "disabled" 0.0;
24599             target:  "disclip";
24600          }
24601          program {
24602             name:    "go_enabled";
24603             signal:  "elm,state,enabled";
24604             source:  "elm";
24605             action:  STATE_SET "default" 0.0;
24606             target:  "disclip";
24607          }
24608       }
24609    }
24610    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24611       data.item: "stacking" "below";
24612       data.item: "selectraise" "on";
24613       data.item: "labels" "elm.text.title elm.text.artist";
24614       data.item: "icons" "elm.swallow.preview";
24615       data.item: "treesize" "20";
24616       images {
24617          image: "bt_sm_base1.png" COMP;
24618          image: "bt_sm_shine.png" COMP;
24619          image: "bt_sm_hilight.png" COMP;
24620          image: "ilist_2.png" COMP;
24621       }
24622       parts {
24623          part { name: "event";
24624             type: RECT;
24625             repeat_events: 1;
24626             description {
24627                state: "default" 0.0;
24628                color: 0 0 0 0;
24629             }
24630          }
24631          part {
24632             name: "base";
24633             mouse_events: 0;
24634             description {
24635                state: "default" 0.0;
24636                image {
24637                   normal: "ilist_2.png";
24638                   border: 2 2 2 2;
24639                }
24640                fill.smooth: 0;
24641             }
24642          }
24643          part { name: "bg";
24644             clip_to: "disclip";
24645             mouse_events: 0;
24646             description { state: "default" 0.0;
24647                visible: 0;
24648                color: 255 255 255 0;
24649                rel1 {
24650                   relative: 0.0 0.0;
24651                   offset: -5 -5;
24652                }
24653                rel2 {
24654                   relative: 1.0 1.0;
24655                   offset: 4 4;
24656                }
24657                image {
24658                   normal: "bt_sm_base1.png";
24659                   border: 6 6 6 6;
24660                }
24661                image.middle: SOLID;
24662             }
24663             description { state: "selected" 0.0;
24664                inherit: "default" 0.0;
24665                visible: 1;
24666                color: 255 255 255 255;
24667                rel1 {
24668                   relative: 0.0 0.0;
24669                   offset: -2 -2;
24670                }
24671                rel2 {
24672                   relative: 1.0 1.0;
24673                   offset: 1 1;
24674                }
24675             }
24676          }
24677          part { name: "elm.swallow.pad";
24678             type: SWALLOW;
24679             description { state: "default" 0.0;
24680                fixed: 1 0;
24681                align: 0.0 0.5;
24682                rel1 {
24683                   relative: 0.0  0.0;
24684                   offset:   4    4;
24685                }
24686                rel2 {
24687                   relative: 0.0  1.0;
24688                   offset:   4   -5;
24689                }
24690             }
24691          }
24692          part { name: "elm.swallow.preview";
24693             clip_to: "disclip";
24694             type: SWALLOW;
24695             description { state: "default" 0.0;
24696                fixed: 1 0;
24697                align: 0.0 0.5;
24698                min: 68 68;
24699                max: 68 68;
24700                rel1 {
24701                   to_x: "elm.swallow.pad";
24702                   relative: 1.0  0.0;
24703                   offset:   -1    4;
24704                }
24705                rel2 {
24706                   to_x: "elm.swallow.pad";
24707                   relative: 1.0  1.0;
24708                   offset:   -1   -5;
24709                }
24710             }
24711          }
24712          part { name: "elm.text.title";
24713             clip_to: "disclip";
24714             type:           TEXT;
24715             effect:         SOFT_SHADOW;
24716             mouse_events:   0;
24717             scale: 1;
24718             description {
24719                state: "default" 0.0;
24720                rel1 {
24721                   to_x:     "elm.swallow.preview";
24722                   relative: 1.0  0.0;
24723                   offset:   4 4;
24724                }
24725                rel2 {
24726                   relative: 1.0  0.5;
24727                   offset:   -1 -5;
24728                }
24729                color: 0 0 0 255;
24730                color3: 0 0 0 0;
24731                text {
24732                   font: "Sans";
24733                   size: 10;
24734                   min: 0 1;
24735                   align: 0.0 0.5;
24736                }
24737             }
24738             description { state: "selected" 0.0;
24739                inherit: "default" 0.0;
24740                color: 224 224 224 255;
24741                color3: 0 0 0 64;
24742             }
24743          }
24744          part { name: "elm.text.artist";
24745             clip_to: "disclip";
24746             type:           TEXT;
24747             mouse_events:   0;
24748             scale: 1;
24749             description {
24750                state: "default" 0.0;
24751                rel1 {
24752                   to_x:     "elm.swallow.preview";
24753                   relative: 1.0  0.5;
24754                   offset:   4 4;
24755                }
24756                rel2 {
24757                   relative: 1.0  1.0;
24758                   offset:   -1 -5;
24759                }
24760                color: 0 0 0 128;
24761                color3: 0 0 0 0;
24762                text {
24763                   font: "Sans";
24764                   size: 8;
24765                   min: 0 1;
24766                   align: 0.0 0.5;
24767                }
24768             }
24769             description { state: "selected" 0.0;
24770                inherit: "default" 0.0;
24771                color: 128 128 128 255;
24772                color3: 0 0 0 32;
24773             }
24774          }
24775          part { name: "fg1";
24776             clip_to: "disclip";
24777             mouse_events: 0;
24778             description { state: "default" 0.0;
24779                visible: 0;
24780                color: 255 255 255 0;
24781                rel1.to: "bg";
24782                rel2.relative: 1.0 0.5;
24783                rel2.to: "bg";
24784                image {
24785                   normal: "bt_sm_hilight.png";
24786                   border: 6 6 6 0;
24787                }
24788             }
24789             description { state: "selected" 0.0;
24790                inherit: "default" 0.0;
24791                visible: 1;
24792                color: 255 255 255 255;
24793             }
24794          }
24795          part { name: "fg2";
24796             clip_to: "disclip";
24797             mouse_events: 0;
24798             description { state: "default" 0.0;
24799                visible: 0;
24800                color: 255 255 255 0;
24801                rel1.to: "bg";
24802                rel2.to: "bg";
24803                image {
24804                   normal: "bt_sm_shine.png";
24805                   border: 6 6 6 0;
24806                }
24807             }
24808             description { state: "selected" 0.0;
24809                inherit: "default" 0.0;
24810                visible: 1;
24811                color: 255 255 255 255;
24812             }
24813          }
24814          part { name: "disclip";
24815             type: RECT;
24816             description { state: "default" 0.0;
24817                rel1.to: "bg";
24818                rel2.to: "bg";
24819             }
24820             description { state: "disabled" 0.0;
24821                inherit: "default" 0.0;
24822                color: 255 255 255 64;
24823             }
24824          }
24825       }
24826       programs {
24827          // signal: elm,state,%s,active
24828          //   a "check" item named %s went active
24829          // signal: elm,state,%s,passive
24830          //   a "check" item named %s went passive
24831          // default is passive
24832          program {
24833             name:    "go_active";
24834             signal:  "elm,state,selected";
24835             source:  "elm";
24836             action:  STATE_SET "selected" 0.0;
24837             target:  "bg";
24838             target:  "fg1";
24839             target:  "fg2";
24840             target:  "elm.text.title";
24841             target:  "elm.text.artist";
24842          }
24843          program {
24844             name:    "go_passive";
24845             signal:  "elm,state,unselected";
24846             source:  "elm";
24847             action:  STATE_SET "default" 0.0;
24848             target:  "bg";
24849             target:  "fg1";
24850             target:  "fg2";
24851             target:  "elm.text.title";
24852             target:  "elm.text.artist";
24853             transition: LINEAR 0.1;
24854          }
24855          program {
24856             name:    "go_disabled";
24857             signal:  "elm,state,disabled";
24858             source:  "elm";
24859             action:  STATE_SET "disabled" 0.0;
24860             target:  "disclip";
24861          }
24862          program {
24863             name:    "go_enabled";
24864             signal:  "elm,state,enabled";
24865             source:  "elm";
24866             action:  STATE_SET "default" 0.0;
24867             target:  "disclip";
24868          }
24869       }
24870    }
24871
24872    group { name: "elm/genlist/item/mode/default";
24873       data.item: "selectraise" "on";
24874       data.item: "labels" "elm.text.mode";
24875       data.item: "icons" "elm.swallow.mode";
24876       data.item: "mode_part" "elm.swallow.origin";
24877       data.item: "treesize" "20";
24878       images {
24879          image: "bt_sm_base1.png" COMP;
24880          image: "bt_sm_shine.png" COMP;
24881          image: "bt_sm_hilight.png" COMP;
24882          image: "ilist_1.png" COMP;
24883          image: "ilist_2.png" COMP;
24884          image: "ilist_item_shadow.png" COMP;
24885       }
24886
24887       parts {
24888          part {
24889             name: "event";
24890             type: RECT;
24891             repeat_events: 1;
24892             description {
24893                state: "default" 0.0;
24894                color: 0 0 0 0;
24895             }
24896          }
24897          part {
24898             name: "base_sh";
24899             mouse_events: 0;
24900             description {
24901                state: "default" 0.0;
24902                align: 0.0 0.0;
24903                min: 0 10;
24904                fixed: 1 1;
24905                rel1 {
24906                   to: "base";
24907                   relative: 0.0 1.0;
24908                   offset: 0 0;
24909                }
24910                rel2 {
24911                   to: "base";
24912                   relative: 1.0 1.0;
24913                   offset: -1 0;
24914                }
24915                image {
24916                   normal: "ilist_item_shadow.png";
24917                }
24918                fill.smooth: 0;
24919             }
24920             description {
24921                state: "default" 1.0;
24922                inherit: "default" 0.0;
24923                visible: 0;
24924             }
24925          }
24926          part {
24927             name: "base";
24928             mouse_events: 0;
24929             description {
24930                state: "default" 0.0;
24931                image {
24932                   normal: "ilist_1.png";
24933                   border: 2 2 2 2;
24934                }
24935                fill.smooth: 0;
24936             }
24937             description {
24938                state: "default" 1.0;
24939                inherit: "default" 0.0;
24940                image.normal: "ilist_2.png";
24941             }
24942          }
24943          part { name: "bg";
24944             clip_to: "disclip";
24945             mouse_events: 0;
24946             description { state: "default" 0.0;
24947                visible: 0;
24948                color: 255 255 255 0;
24949                rel1 {
24950                   relative: 0.0 0.0;
24951                   offset: -5 -5;
24952                }
24953                rel2 {
24954                   relative: 1.0 1.0;
24955                   offset: 4 4;
24956                }
24957                image {
24958                   normal: "bt_sm_base1.png";
24959                   border: 6 6 6 6;
24960                }
24961                image.middle: SOLID;
24962             }
24963             description { state: "default" 0.1;
24964                inherit: "default" 0.0;
24965             }
24966             description { state: "selected" 0.0;
24967                inherit: "default" 0.0;
24968                visible: 1;
24969                color: 255 255 255 255;
24970                rel1 {
24971                   relative: 0.0 0.0;
24972                   offset: -2 -2;
24973                }
24974                rel2 {
24975                   relative: 1.0 1.0;
24976                   offset: 1 1;
24977                }
24978             }
24979             description {
24980                state: "selected" 1.0;
24981                inherit: "selected" 0.0;
24982             }
24983          }
24984          part { name: "elm.text.mode";
24985             clip_to: "disclip";
24986             type: TEXT;
24987             scale: 1;
24988             description { state: "default" 0.0;
24989                rel2.relative: 0.5 1.0;
24990                color: 0 0 0 255;
24991                text {
24992                   font: "Sans";
24993                   size: 10;
24994                   min: 1 1;
24995                   align: -1.0 0.5;
24996                   text_class: "list_item";
24997                }
24998             }
24999          }
25000         part { name: "elm.swallow.mode";
25001             clip_to: "disclip";
25002             type: SWALLOW;
25003             description { state: "default" 0.0;
25004                rel1.relative: 0.5 0.0;
25005             }
25006          }
25007          part { name: "fg1";
25008             clip_to: "disclip";
25009             mouse_events: 0;
25010             description { state: "default" 0.0;
25011                visible: 0;
25012                color: 255 255 255 0;
25013                rel1.to: "bg";
25014                rel2.relative: 1.0 0.5;
25015                rel2.to: "bg";
25016                image {
25017                   normal: "bt_sm_hilight.png";
25018                   border: 6 6 6 0;
25019                }
25020             }
25021             description { state: "selected" 0.0;
25022                inherit: "default" 0.0;
25023                visible: 1;
25024                color: 255 255 255 255;
25025             }
25026             description {
25027                state: "selected" 1.0;
25028                inherit: "default" 0.0;
25029                visible: 1;
25030                color: 255 255 255 255;
25031             }
25032          }
25033          part { name: "fg2";
25034             clip_to: "disclip";
25035             mouse_events: 0;
25036             description { state: "default" 0.0;
25037                visible: 0;
25038                color: 255 255 255 0;
25039                rel1.to: "bg";
25040                rel2.to: "bg";
25041                image {
25042                   normal: "bt_sm_shine.png";
25043                   border: 6 6 6 0;
25044                }
25045             }
25046             description { state: "selected" 0.0;
25047                inherit: "default" 0.0;
25048                visible: 1;
25049                color: 255 255 255 255;
25050             }
25051             description {
25052                state: "selected" 1.0;
25053                inherit: "default" 0.0;
25054                visible: 1;
25055                color: 255 255 255 255;
25056             }
25057          }
25058          // Transparent part between base parts and slidable parts
25059          part { name: "event_block_layer";
25060             type: RECT;
25061             clip_to: "disclip";
25062             mouse_events: 1;
25063             description { state: "default" 0.0;
25064                rel1.to: "base";
25065                rel2.to: "base";
25066                color: 0 0 0 0;
25067             }
25068             description { state: "repeat_events" 0.0;
25069                inherit: "default" 0.0;
25070                visible: 0;
25071             }
25072          }
25073          part { name: "pers";
25074             clip_to: "disclip";
25075             type: RECT;
25076             description { state: "default" 0.0;
25077                rel1.relative: 0.0 1.0;
25078             }
25079          }
25080          part { name: "elm.swallow.origin";
25081             clip_to: "disclip";
25082             type: SWALLOW;
25083             description { state: "default" 0.0;
25084                fixed: 1 0;
25085                align: 0.0 0.5;
25086             }
25087             description { state: "slide" 0.0;
25088                inherit: "default" 0.0;
25089                rel1.relative: 1 0;
25090                rel2.relative: 2 1;
25091             }
25092             description { state: "rotate" 0.0;
25093                inherit: "default" 0.0;
25094                map {
25095                   perspective: "pers";
25096                   on: 1;
25097                   smooth: 1;
25098                   perspective_on: 1;
25099                   backface_cull: 1;
25100                   rotation {
25101                      center: "pers";
25102                      x: 0.0;
25103                      y: 0.0;
25104                      z: 0.0;
25105                   }
25106                }
25107             }
25108             description { state: "rotate" 1.0;
25109                inherit: "default" 0.0;
25110                map {
25111                   perspective: "pers";
25112                   on: 1;
25113                   smooth: 1;
25114                   perspective_on: 1;
25115                   backface_cull: 1;
25116                   rotation {
25117                      center: "pers";
25118                      x: 90.0;
25119                      y: 0.0;
25120                      z: 0.0;
25121                   }
25122                }
25123             }
25124          }
25125          part { name: "disclip";
25126             type: RECT;
25127             description { state: "default" 0.0;
25128                rel1.to: "bg";
25129                rel2.to: "bg";
25130             }
25131             description { state: "disabled" 0.0;
25132                inherit: "default" 0.0;
25133                color: 255 255 255 64;
25134             }
25135          }
25136       }
25137       programs {
25138          program {
25139             name:    "odd";
25140             signal:  "elm,state,odd";
25141             source:  "elm";
25142             action:  STATE_SET "default" 1.0;
25143             target:  "base_sh";
25144             target:  "base";
25145          }
25146          program {
25147             name:    "even";
25148             signal:  "elm,state,even";
25149             source:  "elm";
25150             action:  STATE_SET "default" 0.0;
25151             target:  "base_sh";
25152             target:  "base";
25153          }
25154          program {
25155             name:    "go_active";
25156             signal:  "elm,state,selected";
25157             source:  "elm";
25158             script {
25159                new st[31];
25160                new Float:vl;
25161                get_state(PART:"base", st, 30, vl);
25162                set_state(PART:"bg", "selected", vl);
25163                set_state(PART:"fg1", "selected", vl);
25164                set_state(PART:"fg2", "selected", vl);
25165             }
25166          }
25167          program {
25168             name:    "go_passive";
25169             signal:  "elm,state,unselected";
25170             source:  "elm";
25171             script {
25172                new st[31];
25173                new Float:vl;
25174                get_state(PART:"base", st, 30, vl);
25175                set_state(PART:"bg", "default", vl);
25176                set_state(PART:"fg1", "default", vl);
25177                set_state(PART:"fg2", "default", vl);
25178             }
25179          }
25180          program {
25181             name:    "go_disabled";
25182             signal:  "elm,state,disabled";
25183             source:  "elm";
25184             action:  STATE_SET "disabled" 0.0;
25185             target:  "disclip";
25186          }
25187          program {
25188             name:    "go_enabled";
25189             signal:  "elm,state,enabled";
25190             source:  "elm";
25191             action:  STATE_SET "default" 0.0;
25192             target:  "disclip";
25193          }
25194          program {
25195             name:    "slide_right";
25196             signal:  "elm,state,slide,active";
25197             source:  "elm";
25198             action:  STATE_SET "slide" 0.0;
25199             target:  "elm.swallow.origin";
25200             transition: ACCELERATE 0.5;
25201             after:   "unblock_event";
25202          }
25203          program {
25204             name:    "unblock_event";
25205             action:  STATE_SET "repeat_events" 0.0;
25206             target:  "event_block_layer";
25207          }
25208          program {
25209             name:    "slide_left";
25210             signal:  "elm,state,slide,passive";
25211             source:  "elm";
25212             action:  STATE_SET "default" 0.0;
25213             target:  "event_block_layer";
25214             after:   "slide_left2";
25215          }
25216          program {
25217             name:    "slide_left2";
25218             action:  STATE_SET "default" 0.0;
25219             target:  "elm.swallow.origin";
25220             transition: DECELERATE 0.5;
25221             after:   "slide_left_finished";
25222          }
25223          program {
25224             name:    "slide_left_finished";
25225             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25226          }
25227          program {
25228             name:    "rotate_on";
25229             signal:  "elm,state,rotate,active";
25230             source:  "elm";
25231             action:  STATE_SET "rotate" 0.0;
25232             target:  "elm.swallow.origin";
25233             after:   "rotate_on2";
25234          }
25235          program {
25236             name:    "rotate_on2";
25237             action:  STATE_SET "rotate" 1.0;
25238             target:  "elm.swallow.origin";
25239             transition: LINEAR 0.5;
25240             after:   "unblock_event";
25241          }
25242          program {
25243             name:    "rotate_off";
25244             signal:  "elm,state,rotate,passive";
25245             source:  "elm";
25246             action:  STATE_SET "default" 0.0;
25247             target:  "event_block_layer";
25248             after:   "rotate_off2";
25249          }
25250          program {
25251             name:    "rotate_off2";
25252             action:  STATE_SET "rotate" 0.0;
25253             transition: LINEAR 0.5;
25254             target:  "elm.swallow.origin";
25255             after:   "rotate_off3";
25256          }
25257          program {
25258             name:    "rotate_off3";
25259             action:  STATE_SET "default" 0.0;
25260             target:  "elm.swallow.origin";
25261             after:   "rotate_off_finished";
25262          }
25263          program {
25264             name:    "rotate_off_finished";
25265             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25266          }
25267       }
25268    }
25269
25270    group { name: "elm/genlist/item_odd/mode/default";
25271       data.item: "stacking" "below";
25272       data.item: "selectraise" "on";
25273       data.item: "labels" "elm.text.mode";
25274       data.item: "icons" "elm.swallow.mode";
25275       data.item: "mode_part" "elm.swallow.origin";
25276       data.item: "treesize" "20";
25277       images {
25278          image: "bt_sm_base1.png" COMP;
25279          image: "bt_sm_shine.png" COMP;
25280          image: "bt_sm_hilight.png" COMP;
25281          image: "ilist_2.png" COMP;
25282       }
25283
25284       parts {
25285          part {
25286             name: "event";
25287             type: RECT;
25288             repeat_events: 1;
25289             description {
25290                state: "default" 0.0;
25291                color: 0 0 0 0;
25292             }
25293          }
25294          part {
25295             name: "base";
25296             mouse_events: 0;
25297             description {
25298                state: "default" 0.0;
25299                image {
25300                   normal: "ilist_2.png";
25301                   border: 2 2 2 2;
25302                }
25303                fill.smooth: 0;
25304             }
25305          }
25306          part { name: "bg";
25307             clip_to: "disclip";
25308             mouse_events: 0;
25309             description { state: "default" 0.0;
25310                visible: 0;
25311                color: 255 255 255 0;
25312                rel1 {
25313                   relative: 0.0 0.0;
25314                   offset: -5 -5;
25315                }
25316                rel2 {
25317                   relative: 1.0 1.0;
25318                   offset: 4 4;
25319                }
25320                image {
25321                   normal: "bt_sm_base1.png";
25322                   border: 6 6 6 6;
25323                }
25324                image.middle: SOLID;
25325             }
25326             description { state: "selected" 0.0;
25327                inherit: "default" 0.0;
25328                visible: 1;
25329                color: 255 255 255 255;
25330                rel1 {
25331                   relative: 0.0 0.0;
25332                   offset: -2 -2;
25333                }
25334                rel2 {
25335                   relative: 1.0 1.0;
25336                   offset: 1 1;
25337                }
25338             }
25339          }
25340          part { name: "elm.text.mode";
25341             clip_to: "disclip";
25342             type: TEXT;
25343             scale: 1;
25344             description { state: "default" 0.0;
25345                rel2.relative: 0.5 1.0;
25346                color: 0 0 0 255;
25347                text {
25348                   font: "Sans";
25349                   size: 10;
25350                   min: 1 1;
25351                   align: 0.5 0.5;
25352                   text_class: "list_item";
25353                }
25354             }
25355          }
25356         part { name: "elm.swallow.mode";
25357             clip_to: "disclip";
25358             type: SWALLOW;
25359             description { state: "default" 0.0;
25360                rel1.relative: 0.5 0.0;
25361             }
25362          }
25363          part { name: "fg1";
25364             clip_to: "disclip";
25365             mouse_events: 0;
25366             description { state: "default" 0.0;
25367                visible: 0;
25368                color: 255 255 255 0;
25369                rel1.to: "bg";
25370                rel2.relative: 1.0 0.5;
25371                rel2.to: "bg";
25372                image {
25373                   normal: "bt_sm_hilight.png";
25374                   border: 6 6 6 0;
25375                }
25376             }
25377             description { state: "selected" 0.0;
25378                inherit: "default" 0.0;
25379                visible: 1;
25380                color: 255 255 255 255;
25381             }
25382          }
25383          part { name: "fg2";
25384             clip_to: "disclip";
25385             mouse_events: 0;
25386             description { state: "default" 0.0;
25387                visible: 0;
25388                color: 255 255 255 0;
25389                rel1.to: "bg";
25390                rel2.to: "bg";
25391                image {
25392                   normal: "bt_sm_shine.png";
25393                   border: 6 6 6 0;
25394                }
25395             }
25396             description { state: "selected" 0.0;
25397                inherit: "default" 0.0;
25398                visible: 1;
25399                color: 255 255 255 255;
25400             }
25401          }
25402          // Transparent part between base parts and slidable parts
25403          part { name: "event_block_layer";
25404             type: RECT;
25405             clip_to: "disclip";
25406             mouse_events: 1;
25407             description { state: "default" 0.0;
25408                rel1.to: "base";
25409                rel2.to: "base";
25410                color: 0 0 0 0;
25411             }
25412             description { state: "repeat_events" 0.0;
25413                inherit: "default" 0.0;
25414                visible: 0;
25415             }
25416          }
25417          part { name: "pers";
25418             clip_to: "disclip";
25419             type: RECT;
25420             description { state: "default" 0.0;
25421                rel1.relative: 0.0 1.0;
25422             }
25423          }
25424          part { name: "elm.swallow.origin";
25425             clip_to: "disclip";
25426             type: SWALLOW;
25427             description { state: "default" 0.0;
25428                fixed: 1 0;
25429                align: 0.0 0.5;
25430             }
25431             description { state: "slide" 0.0;
25432                inherit: "default" 0.0;
25433                rel1.relative: 1 0;
25434                rel2.relative: 2 1;
25435             }
25436             description { state: "rotate" 0.0;
25437                inherit: "default" 0.0;
25438                map {
25439                   perspective: "pers";
25440                   on: 1;
25441                   smooth: 1;
25442                   perspective_on: 1;
25443                   backface_cull: 1;
25444                   rotation {
25445                      center: "pers";
25446                      x: 0.0;
25447                      y: 0.0;
25448                      z: 0.0;
25449                   }
25450                }
25451             }
25452             description { state: "rotate" 1.0;
25453                inherit: "default" 0.0;
25454                map {
25455                   perspective: "pers";
25456                   on: 1;
25457                   smooth: 1;
25458                   perspective_on: 1;
25459                   backface_cull: 1;
25460                   rotation {
25461                      center: "pers";
25462                      x: 90.0;
25463                      y: 0.0;
25464                      z: 0.0;
25465                   }
25466                }
25467             }
25468          }
25469          part { name: "disclip";
25470             type: RECT;
25471             description { state: "default" 0.0;
25472                rel1.to: "bg";
25473                rel2.to: "bg";
25474             }
25475             description { state: "disabled" 0.0;
25476                inherit: "default" 0.0;
25477                color: 255 255 255 64;
25478             }
25479          }
25480       }
25481       programs {
25482          program {
25483             name:    "go_active";
25484             signal:  "elm,state,selected";
25485             source:  "elm";
25486             action:  STATE_SET "selected" 0.0;
25487             target:  "bg";
25488             target:  "fg1";
25489             target:  "fg2";
25490          }
25491          program {
25492             name:    "go_passive";
25493             signal:  "elm,state,unselected";
25494             source:  "elm";
25495             action:  STATE_SET "default" 0.0;
25496             target:  "bg";
25497             target:  "fg1";
25498             target:  "fg2";
25499             transition: LINEAR 0.1;
25500          }
25501          program {
25502             name:    "go_disabled";
25503             signal:  "elm,state,disabled";
25504             source:  "elm";
25505             action:  STATE_SET "disabled" 0.0;
25506             target:  "disclip";
25507          }
25508          program {
25509             name:    "go_enabled";
25510             signal:  "elm,state,enabled";
25511             source:  "elm";
25512             action:  STATE_SET "default" 0.0;
25513             target:  "disclip";
25514          }
25515          program {
25516             name:    "slide_right";
25517             signal:  "elm,state,slide,active";
25518             source:  "elm";
25519             action:  STATE_SET "slide" 0.0;
25520             target:  "elm.swallow.origin";
25521             transition: ACCELERATE 0.5;
25522             after:   "unblock_event";
25523          }
25524          program {
25525             name:    "unblock_event";
25526             action:  STATE_SET "repeat_events" 0.0;
25527             target:  "event_block_layer";
25528          }
25529          program {
25530             name:    "slide_left";
25531             signal:  "elm,state,slide,passive";
25532             source:  "elm";
25533             action:  STATE_SET "default" 0.0;
25534             target:   "event_block_layer";
25535             after:   "slide_left2";
25536          }
25537          program {
25538             name:    "slide_left2";
25539             action:  STATE_SET "default" 0.0;
25540             target:  "elm.swallow.origin";
25541             transition: DECELERATE 0.5;
25542             after:   "slide_left_finished";
25543          }
25544          program {
25545             name:    "slide_left_finished";
25546             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25547          }
25548          program {
25549             name:    "rotate_on";
25550             signal:  "elm,state,rotate,active";
25551             source:  "elm";
25552             action:  STATE_SET "rotate" 0.0;
25553             target:  "elm.swallow.origin";
25554             after:   "rotate_on2";
25555          }
25556          program {
25557             name:    "rotate_on2";
25558             action:  STATE_SET "rotate" 1.0;
25559             target:  "elm.swallow.origin";
25560             transition: LINEAR 0.5;
25561             after:   "unblock_event";
25562          }
25563          program {
25564             name:    "rotate_off";
25565             signal:  "elm,state,rotate,passive";
25566             source:  "elm";
25567             action:  STATE_SET "default" 0.0;
25568             target:  "event_block_layer";
25569             after:   "rotate_off2";
25570          }
25571          program {
25572             name:    "rotate_off2";
25573             action:  STATE_SET "rotate" 0.0;
25574             transition: LINEAR 0.5;
25575             target:  "elm.swallow.origin";
25576             after:   "rotate_off3";
25577          }
25578          program {
25579             name:    "rotate_off3";
25580             action:  STATE_SET "default" 0.0;
25581             target:  "elm.swallow.origin";
25582             after:   "rotate_off_finished";
25583          }
25584          program {
25585             name:    "rotate_off_finished";
25586             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25587          }
25588       }
25589    }
25590
25591 ///////////////////////////////////////////////////////////////////////////////
25592    group { name: "elm/pager/base/default";
25593       data.item: "onshow" "raise";
25594 // other options
25595 //      data.item: "onhide" "lower";
25596 //      data.item: "onshow" "lower";
25597       images {
25598          image: "frame_1.png" COMP;
25599          image: "frame_2.png" COMP;
25600          image: "dia_grad.png" COMP;
25601       }
25602       parts {
25603          part { name: "clip";
25604             type: RECT;
25605             mouse_events: 0;
25606             description { state: "default" 0.0;
25607                rel1 {
25608                   to: "base";
25609                   offset: -9999 -9999;
25610                }
25611                rel2 {
25612                   to: "base";
25613                   offset: 9999 9999;
25614                }
25615                color: 255 255 255 255;
25616             }
25617             description { state: "visible" 0.0;
25618                inherit: "default" 0.0;
25619             }
25620             description { state: "hidden" 0.0;
25621                inherit: "default" 0.0;
25622                color: 255 255 255 0;
25623                visible: 0;
25624             }
25625          }
25626          part { name: "base0";
25627             mouse_events:  0;
25628             clip_to: "clip";
25629             description { state: "default" 0.0;
25630                image.normal: "dia_grad.png";
25631                rel1.to: "over";
25632                rel2.to: "over";
25633                fill {
25634                   smooth: 0;
25635                   size {
25636                      relative: 0.0 1.0;
25637                      offset: 64 0;
25638                   }
25639                }
25640             }
25641          }
25642          part { name: "base";
25643             mouse_events:  0;
25644             clip_to: "clip";
25645             description { state: "default" 0.0;
25646                image {
25647                   normal: "frame_2.png";
25648                   border: 5 5 32 26;
25649                   middle: 0;
25650                }
25651                fill.smooth : 0;
25652             }
25653             description { state: "hidden" 0.0;
25654                inherit: "default" 0.0;
25655                rel1.relative: -1.0 0.0;
25656                rel2.relative: 0.0 1.0;
25657             }
25658             description { state: "visible" 0.0;
25659                inherit: "default" 0.0;
25660                rel1.relative: 0.0 0.0;
25661                rel2.relative: 1.0 1.0;
25662             }
25663          }
25664          part { name: "over";
25665             mouse_events:  0;
25666             clip_to: "clip";
25667             description { state:    "default" 0.0;
25668                rel1 {
25669                   to: "base";
25670                   offset: 4 4;
25671                }
25672                rel2 {
25673                   to: "base";
25674                   offset: -5 -5;
25675                }
25676                image {
25677                   normal: "frame_1.png";
25678                   border: 2 2 28 22;
25679                   middle: 0;
25680                }
25681                fill.smooth : 0;
25682             }
25683          }
25684          part { name: "elm.swallow.content";
25685             type: SWALLOW;
25686             clip_to: "clip";
25687             description { state: "default" 0.0;
25688                rel1 {
25689                   to: "base";
25690                   offset: 8 8;
25691                }
25692                rel2 {
25693                   to: "base";
25694                   offset: -9 -9;
25695                }
25696             }
25697          }
25698       }
25699       programs {
25700          program { name: "push_start";
25701             signal: "elm,action,push";
25702             source: "elm";
25703             action:  STATE_SET "hidden" 0.0;
25704             target: "base";
25705             target: "clip";
25706             after: "show_start2";
25707          }
25708          program { name: "show_start";
25709             signal: "elm,action,show";
25710             source: "elm";
25711             action:  STATE_SET "hidden" 0.0;
25712             target: "base";
25713             target: "clip";
25714             after: "show_start2";
25715          }
25716          program { name: "show_start2";
25717             action:  STATE_SET "visible" 0.0;
25718             transition: DECELERATE 0.5;
25719             target: "base";
25720             target: "clip";
25721             after: "show_end";
25722          }
25723          program { name: "show_end";
25724             action: SIGNAL_EMIT "elm,action,show,finished" "";
25725          }
25726          program { name: "pop_start";
25727             signal: "elm,action,pop";
25728             source: "elm";
25729             action:  STATE_SET "visible" 0.0;
25730             target: "base";
25731             target: "clip";
25732             after: "hide_start2";
25733          }
25734          program { name: "hide_start";
25735             signal: "elm,action,hide";
25736             source: "elm";
25737             action:  STATE_SET "visible" 0.0;
25738             target: "base";
25739             target: "clip";
25740             after: "hide_start2";
25741          }
25742          program { name: "hide_start2";
25743             action:  STATE_SET "hidden" 0.0;
25744             transition: DECELERATE 0.5;
25745             target: "base";
25746             target: "clip";
25747             after: "hide_end";
25748          }
25749          program { name: "hide_end";
25750             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25751          }
25752          program { name: "reset";
25753             signal: "elm,action,reset";
25754             source: "elm";
25755             action:  STATE_SET "default" 0.0;
25756             target: "base";
25757             target: "clip";
25758          }
25759       }
25760    }
25761
25762    group { name: "elm/pager/base/slide";
25763       images {
25764          image: "frame_1.png" COMP;
25765          image: "frame_2.png" COMP;
25766          image: "dia_grad.png" COMP;
25767       }
25768       parts {
25769          part { name: "clip";
25770             type: RECT;
25771             mouse_events: 0;
25772             description { state: "default" 0.0;
25773                rel1 {
25774                   to: "base";
25775                   offset: -9999 -9999;
25776                }
25777                rel2 {
25778                   to: "base";
25779                   offset: 9999 9999;
25780                }
25781                color: 255 255 255 255;
25782             }
25783             description { state: "visible" 0.0;
25784                inherit: "default" 0.0;
25785             }
25786             description { state: "hidden" 0.0;
25787                inherit: "default" 0.0;
25788                color: 255 255 255 0;
25789                visible: 0;
25790             }
25791             description { state: "hidden2" 0.0;
25792                inherit: "default" 0.0;
25793                color: 255 255 255 0;
25794                visible: 0;
25795             }
25796          }
25797          part { name: "base0";
25798             mouse_events:  0;
25799             clip_to: "clip";
25800             description { state: "default" 0.0;
25801                image.normal: "dia_grad.png";
25802                rel1.to: "over";
25803                rel2.to: "over";
25804                fill {
25805                   smooth: 0;
25806                   size {
25807                      relative: 0.0 1.0;
25808                      offset: 64 0;
25809                   }
25810                }
25811             }
25812          }
25813          part { name: "base";
25814             mouse_events:  0;
25815             clip_to: "clip";
25816             description { state: "default" 0.0;
25817                image {
25818                   normal: "frame_2.png";
25819                   border: 5 5 32 26;
25820                   middle: 0;
25821                }
25822                fill.smooth : 0;
25823             }
25824             description { state: "hidden" 0.0;
25825                inherit: "default" 0.0;
25826                rel1.relative: -1.0 0.0;
25827                rel2.relative: 0.0 1.0;
25828             }
25829             description { state: "hidden2" 0.0;
25830                inherit: "default" 0.0;
25831                rel1.relative: 1.0 0.0;
25832                rel2.relative: 2.0 1.0;
25833             }
25834             description { state: "visible" 0.0;
25835                inherit: "default" 0.0;
25836                rel1.relative: 0.0 0.0;
25837                rel2.relative: 1.0 1.0;
25838             }
25839          }
25840          part { name: "over";
25841             mouse_events:  0;
25842             clip_to: "clip";
25843             description { state:    "default" 0.0;
25844                rel1 {
25845                   to: "base";
25846                   offset: 4 4;
25847                }
25848                rel2 {
25849                   to: "base";
25850                   offset: -5 -5;
25851                }
25852                image {
25853                   normal: "frame_1.png";
25854                   border: 2 2 28 22;
25855                   middle: 0;
25856                }
25857                fill.smooth : 0;
25858             }
25859          }
25860          part { name: "elm.swallow.content";
25861             type: SWALLOW;
25862             clip_to: "clip";
25863             description { state: "default" 0.0;
25864                rel1 {
25865                   to: "base";
25866                   offset: 8 8;
25867                }
25868                rel2 {
25869                   to: "base";
25870                   offset: -9 -9;
25871                }
25872             }
25873          }
25874       }
25875       programs {
25876          program { name: "push_start";
25877             signal: "elm,action,push";
25878             source: "elm";
25879             action:  STATE_SET "hidden2" 0.0;
25880             target: "base";
25881             target: "clip";
25882             after: "show_start2";
25883          }
25884          program { name: "show_start";
25885             signal: "elm,action,show";
25886             source: "elm";
25887             action:  STATE_SET "hidden" 0.0;
25888             target: "base";
25889             target: "clip";
25890             after: "show_start2";
25891          }
25892          program { name: "show_start2";
25893             action:  STATE_SET "visible" 0.0;
25894             transition: DECELERATE 0.5;
25895             target: "base";
25896             target: "clip";
25897             after: "show_end";
25898          }
25899          program { name: "show_end";
25900             action: SIGNAL_EMIT "elm,action,show,finished" "";
25901          }
25902          program { name: "pop_start";
25903             signal: "elm,action,pop";
25904             source: "elm";
25905             action:  STATE_SET "visible" 0.0;
25906             target: "base";
25907             target: "clip";
25908             after: "pop_start2";
25909          }
25910          program { name: "pop_start2";
25911             action:  STATE_SET "hidden2" 0.0;
25912             transition: DECELERATE 0.5;
25913             target: "base";
25914             target: "clip";
25915             after: "hide_end";
25916          }
25917          program { name: "hide_start";
25918             signal: "elm,action,hide";
25919             source: "elm";
25920             action:  STATE_SET "visible" 0.0;
25921             target: "base";
25922             target: "clip";
25923             after: "hide_start2";
25924          }
25925          program { name: "hide_start2";
25926             action:  STATE_SET "hidden" 0.0;
25927             transition: DECELERATE 0.5;
25928             target: "base";
25929             target: "clip";
25930             after: "hide_end";
25931          }
25932          program { name: "hide_end";
25933             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25934          }
25935          program { name: "reset";
25936             signal: "elm,action,reset";
25937             source: "elm";
25938             action:  STATE_SET "default" 0.0;
25939             target: "base";
25940             target: "clip";
25941          }
25942       }
25943    }
25944    group { name: "elm/pager/base/slide_invisible";
25945       parts {
25946          part { name: "clip";
25947             type: RECT;
25948             mouse_events: 0;
25949             description { state: "default" 0.0;
25950                rel1 {
25951                   to: "base";
25952                   offset: -9999 -9999;
25953             }
25954                rel2 {
25955                   to: "base";
25956                   offset: 9999 9999;
25957                }
25958                color: 255 255 255 255;
25959             }
25960             description { state: "visible" 0.0;
25961                inherit: "default" 0.0;
25962             }
25963             description { state: "hidden" 0.0;
25964                inherit: "default" 0.0;
25965                color: 255 255 255 0;
25966                visible: 0;
25967             }
25968             description { state: "hidden2" 0.0;
25969                inherit: "default" 0.0;
25970                color: 255 255 255 0;
25971                visible: 0;
25972             }
25973          }
25974          part { name: "base";
25975             type: RECT;
25976             mouse_events:  0;
25977             clip_to: "clip";
25978             description { state: "default" 0.0;
25979                color: 0 0 0 0;
25980             }
25981             description { state: "hidden" 0.0;
25982                color: 0 0 0 0;
25983                rel1.relative: -1.0 0.0;
25984                rel2.relative: 0.0 1.0;
25985             }
25986             description { state: "hidden2" 0.0;
25987                color: 0 0 0 0;
25988                rel1.relative: 1.0 0.0;
25989                rel2.relative: 2.0 1.0;
25990             }
25991             description { state: "visible" 0.0;
25992                color: 0 0 0 0;
25993                rel1.relative: 0.0 0.0;
25994                rel2.relative: 1.0 1.0;
25995             }
25996          }
25997          part { name: "elm.swallow.content";
25998             type: SWALLOW;
25999             clip_to: "clip";
26000             description { state: "default" 0.0;
26001                rel1.to: "base";
26002                rel2.to: "base";
26003             }
26004          }
26005       }
26006       programs {
26007          program { name: "push_start";
26008             signal: "elm,action,push";
26009             source: "elm";
26010             action:  STATE_SET "hidden2" 0.0;
26011             target: "base";
26012             target: "clip";
26013             after: "show_start2";
26014          }
26015          program { name: "show_start";
26016             signal: "elm,action,show";
26017             source: "elm";
26018             action:  STATE_SET "hidden" 0.0;
26019             target: "base";
26020             target: "clip";
26021             after: "show_start2";
26022          }
26023          program { name: "show_start2";
26024             action:  STATE_SET "visible" 0.0;
26025             transition: DECELERATE 0.5;
26026             target: "base";
26027             target: "clip";
26028             after: "show_end";
26029          }
26030          program { name: "show_end";
26031             action: SIGNAL_EMIT "elm,action,show,finished" "";
26032          }
26033          program { name: "pop_start";
26034             signal: "elm,action,pop";
26035             source: "elm";
26036             action:  STATE_SET "visible" 0.0;
26037             target: "base";
26038             target: "clip";
26039             after: "pop_start2";
26040          }
26041          program { name: "pop_start2";
26042             action:  STATE_SET "hidden2" 0.0;
26043             transition: DECELERATE 0.5;
26044             target: "base";
26045             target: "clip";
26046             after: "hide_end";
26047          }
26048          program { name: "hide_start";
26049             signal: "elm,action,hide";
26050             source: "elm";
26051             action:  STATE_SET "visible" 0.0;
26052             target: "base";
26053             target: "clip";
26054             after: "hide_start2";
26055          }
26056          program { name: "hide_start2";
26057             action:  STATE_SET "hidden" 0.0;
26058             transition: DECELERATE 0.5;
26059             target: "base";
26060             target: "clip";
26061             after: "hide_end";
26062          }
26063          program { name: "hide_end";
26064             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26065          }
26066          program { name: "reset";
26067             signal: "elm,action,reset";
26068             source: "elm";
26069             action:  STATE_SET "default" 0.0;
26070             target: "base";
26071             target: "clip";
26072          }
26073       }
26074    }
26075
26076    group { name: "elm/pager/base/fade";
26077        data.item: "onshow" "raise";
26078        // other options
26079        //      data.item: "onhide" "lower";
26080        //      data.item: "onshow" "lower";
26081        images {
26082            image: "frame_1.png" COMP;
26083            image: "frame_2.png" COMP;
26084            image: "dia_grad.png" COMP;
26085        }
26086        parts {
26087            part { name: "clip_base";
26088                type: RECT;
26089                mouse_events: 0;
26090                description { state: "default" 0.0;
26091                    rel1 {
26092                        to: "base";
26093                        offset: -9999 -9999;
26094                    }
26095                    rel2 {
26096                        to: "base";
26097                        offset: 9999 9999;
26098                    }
26099                    color: 255 255 255 120;
26100                }
26101                description { state: "visible" 0.0;
26102                    inherit: "default" 0.0;
26103                }
26104                description { state: "hidden" 0.0;
26105                    inherit: "default" 0.0;
26106                    color: 255 255 255 0;
26107                    visible: 0;
26108                }
26109            }
26110            part { name: "clip";
26111                type: RECT;
26112                mouse_events: 0;
26113                description { state: "default" 0.0;
26114                    rel1 {
26115                        to: "base";
26116                        offset: -9999 -9999;
26117                    }
26118                    rel2 {
26119                        to: "base";
26120                        offset: 9999 9999;
26121                    }
26122                    color: 255 255 255 255;
26123                }
26124                description { state: "visible" 0.0;
26125                    inherit: "default" 0.0;
26126                }
26127                description { state: "hidden" 0.0;
26128                    inherit: "default" 0.0;
26129                    color: 255 255 255 0;
26130                    visible: 0;
26131                }
26132            }
26133            part { name: "base0";
26134                mouse_events:  0;
26135                clip_to: "clip_base";
26136                description { state: "default" 0.0;
26137                    image.normal: "dia_grad.png";
26138                    rel1.to: "over";
26139                    rel2.to: "over";
26140                    fill {
26141                        smooth: 0;
26142                        size {
26143                            relative: 0.0 1.0;
26144                            offset: 64 0;
26145                        }
26146                    }
26147                }
26148            }
26149            part { name: "base";
26150                mouse_events:  0;
26151                clip_to: "clip_base";
26152                description { state: "default" 0.0;
26153                    image {
26154                        normal: "frame_2.png";
26155                        border: 5 5 32 26;
26156                        middle: 0;
26157                    }
26158                    fill.smooth : 0;
26159                }
26160            }
26161            part { name: "over";
26162                mouse_events:  0;
26163                clip_to: "clip";
26164                description { state:    "default" 0.0;
26165                    rel1 {
26166                        to: "base";
26167                        offset: 4 4;
26168                    }
26169                    rel2 {
26170                        to: "base";
26171                        offset: -5 -5;
26172                    }
26173                    image {
26174                        normal: "frame_1.png";
26175                        border: 2 2 28 22;
26176                        middle: 0;
26177                    }
26178                    fill.smooth : 0;
26179                }
26180            }
26181            part { name: "elm.swallow.content";
26182                type: SWALLOW;
26183                clip_to: "clip";
26184                description { state: "default" 0.0;
26185                    rel1 {
26186                        to: "base";
26187                        offset: 8 8;
26188                    }
26189                    rel2 {
26190                        to: "base";
26191                        offset: -9 -9;
26192                    }
26193                }
26194            }
26195        }
26196        programs {
26197            program { name: "push_start";
26198                signal: "elm,action,push";
26199                source: "elm";
26200                action:  STATE_SET "hidden" 0.0;
26201                target: "clip";
26202                target: "clip_base";
26203                after: "show_start2";
26204            }
26205            program { name: "show_start";
26206                signal: "elm,action,show";
26207                source: "elm";
26208                action:  STATE_SET "hidden" 0.0;
26209                target: "clip";
26210                target: "clip_base";
26211                after: "show_start2";
26212            }
26213            program { name: "show_start2";
26214                action:  STATE_SET "visible" 0.0;
26215                transition: DECELERATE 0.5;
26216                target: "clip";
26217                target: "clip_base";
26218                after: "show_end";
26219            }
26220            program { name: "show_end";
26221                action: SIGNAL_EMIT "elm,action,show,finished" "";
26222            }
26223            program { name: "pop_start";
26224                signal: "elm,action,pop";
26225                source: "elm";
26226                action:  STATE_SET "visible" 0.0;
26227                target: "clip";
26228                target: "clip_base";
26229                after: "hide_start2";
26230            }
26231            program { name: "hide_start";
26232                signal: "elm,action,hide";
26233                source: "elm";
26234                action:  STATE_SET "visible" 0.0;
26235                target: "clip";
26236                target: "clip_base";
26237                after: "hide_start2";
26238            }
26239            program { name: "hide_start2";
26240                action:  STATE_SET "hidden" 0.0;
26241                transition: DECELERATE 0.5;
26242                target: "clip";
26243                target: "clip_base";
26244                after: "hide_end";
26245            }
26246            program { name: "hide_end";
26247                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26248            }
26249            program { name: "reset";
26250                signal: "elm,action,reset";
26251                source: "elm";
26252                action:  STATE_SET "default" 0.0;
26253                target: "clip_base";
26254                target: "clip";
26255            }
26256        }
26257    }
26258    group { name: "elm/pager/base/fade_translucide";
26259        data.item: "onshow" "raise";
26260        // other options
26261        //      data.item: "onhide" "lower";
26262        //      data.item: "onshow" "lower";
26263        images {
26264            image: "frame_1.png" COMP;
26265            image: "frame_2.png" COMP;
26266            image: "dia_grad.png" COMP;
26267        }
26268        parts {
26269            part { name: "clip_base";
26270                type: RECT;
26271                mouse_events: 0;
26272                description { state: "default" 0.0;
26273                    rel1 {
26274                        to: "base";
26275                        offset: -9999 -9999;
26276                    }
26277                    rel2 {
26278                        to: "base";
26279                        offset: 9999 9999;
26280                    }
26281                    color: 255 255 255 120;
26282                }
26283                description { state: "visible" 0.0;
26284                    inherit: "default" 0.0;
26285                }
26286                description { state: "hidden" 0.0;
26287                    inherit: "default" 0.0;
26288                    color: 255 255 255 0;
26289                    visible: 0;
26290                }
26291            }
26292            part { name: "clip";
26293                type: RECT;
26294                mouse_events: 0;
26295                description { state: "default" 0.0;
26296                    rel1 {
26297                        to: "base";
26298                        offset: -9999 -9999;
26299                    }
26300                    rel2 {
26301                        to: "base";
26302                        offset: 9999 9999;
26303                    }
26304                    color: 255 255 255 255;
26305                }
26306                description { state: "visible" 0.0;
26307                    inherit: "default" 0.0;
26308                }
26309                description { state: "hidden" 0.0;
26310                    inherit: "default" 0.0;
26311                    color: 255 255 255 0;
26312                    visible: 0;
26313                }
26314            }
26315            part { name: "base0";
26316                mouse_events:  0;
26317                clip_to: "clip_base";
26318                description { state: "default" 0.0;
26319                    image.normal: "dia_grad.png";
26320                    rel1.to: "over";
26321                    rel2.to: "over";
26322                    fill {
26323                        smooth: 0;
26324                        size {
26325                            relative: 0.0 1.0;
26326                            offset: 64 0;
26327                        }
26328                    }
26329                }
26330            }
26331            part { name: "base";
26332                mouse_events:  0;
26333                clip_to: "clip_base";
26334                description { state: "default" 0.0;
26335                    image {
26336                        normal: "frame_2.png";
26337                        border: 5 5 32 26;
26338                        middle: 0;
26339                    }
26340                    fill.smooth : 0;
26341                }
26342            }
26343            part { name: "over";
26344                mouse_events:  0;
26345                clip_to: "clip";
26346                description { state:    "default" 0.0;
26347                    rel1 {
26348                        to: "base";
26349                        offset: 4 4;
26350                    }
26351                    rel2 {
26352                        to: "base";
26353                        offset: -5 -5;
26354                    }
26355                    image {
26356                        normal: "frame_1.png";
26357                        border: 2 2 28 22;
26358                        middle: 0;
26359                    }
26360                    fill.smooth : 0;
26361                }
26362            }
26363            part { name: "elm.swallow.content";
26364                type: SWALLOW;
26365                clip_to: "clip";
26366                description { state: "default" 0.0;
26367                    rel1 {
26368                        to: "base";
26369                        offset: 8 8;
26370                    }
26371                    rel2 {
26372                        to: "base";
26373                        offset: -9 -9;
26374                    }
26375                }
26376            }
26377        }
26378        programs {
26379            program { name: "push_start";
26380                signal: "elm,action,push";
26381                source: "elm";
26382                action:  STATE_SET "hidden" 0.0;
26383                target: "clip";
26384                target: "clip_base";
26385                after: "show_start2";
26386            }
26387            program { name: "show_start";
26388                signal: "elm,action,show";
26389                source: "elm";
26390                action:  STATE_SET "hidden" 0.0;
26391                target: "clip";
26392                target: "clip_base";
26393                after: "show_start2";
26394            }
26395            program { name: "show_start2";
26396                action:  STATE_SET "visible" 0.0;
26397                transition: DECELERATE 0.5;
26398                target: "clip";
26399                target: "clip_base";
26400                after: "show_end";
26401            }
26402            program { name: "show_end";
26403                action: SIGNAL_EMIT "elm,action,show,finished" "";
26404            }
26405            program { name: "pop_start";
26406                signal: "elm,action,pop";
26407                source: "elm";
26408                action:  STATE_SET "visible" 0.0;
26409                target: "clip";
26410                target: "clip_base";
26411                after: "hide_start2";
26412            }
26413            program { name: "hide_start";
26414                signal: "elm,action,hide";
26415                source: "elm";
26416                action:  STATE_SET "visible" 0.0;
26417                target: "clip";
26418                target: "clip_base";
26419                after: "hide_start2";
26420            }
26421            program { name: "hide_start2";
26422                action:  STATE_SET "hidden" 0.0;
26423                transition: DECELERATE 0.5;
26424                target: "clip";
26425                target: "clip_base";
26426                after: "hide_end";
26427            }
26428            program { name: "hide_end";
26429                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26430            }
26431            program { name: "reset";
26432                signal: "elm,action,reset";
26433                source: "elm";
26434                action:  STATE_SET "default" 0.0;
26435                target: "clip_base";
26436                target: "clip";
26437            }
26438        }
26439    }
26440    group { name: "elm/pager/base/fade_invisible";
26441        data.item: "onshow" "raise";
26442        // other options
26443        //      data.item: "onhide" "lower";
26444        //      data.item: "onshow" "lower";
26445        parts {
26446            part { name: "clip";
26447                type: RECT;
26448                mouse_events: 0;
26449                description { state: "default" 0.0;
26450                    rel1 {
26451                        offset: -9999 -9999;
26452                    }
26453                    rel2 {
26454                        offset: 9999 9999;
26455                    }
26456                    color: 255 255 255 255;
26457                }
26458                description { state: "visible" 0.0;
26459                    inherit: "default" 0.0;
26460                }
26461                description { state: "hidden" 0.0;
26462                    inherit: "default" 0.0;
26463                    color: 255 255 255 0;
26464                    visible: 0;
26465                }
26466            }
26467            part { name: "elm.swallow.content";
26468                type: SWALLOW;
26469                clip_to: "clip";
26470                description { state: "default" 0.0;
26471                    rel1 {
26472                        offset: 8 8;
26473                    }
26474                    rel2 {
26475                        offset: -9 -9;
26476                    }
26477                }
26478            }
26479        }
26480        programs {
26481            program { name: "push_start";
26482                signal: "elm,action,push";
26483                source: "elm";
26484                action:  STATE_SET "hidden" 0.0;
26485                target: "clip";
26486                after: "show_start2";
26487            }
26488            program { name: "show_start";
26489                signal: "elm,action,show";
26490                source: "elm";
26491                action:  STATE_SET "hidden" 0.0;
26492                target: "clip";
26493                after: "show_start2";
26494            }
26495            program { name: "show_start2";
26496                action:  STATE_SET "visible" 0.0;
26497                transition: DECELERATE 0.5;
26498                target: "clip";
26499                after: "show_end";
26500            }
26501            program { name: "show_end";
26502                action: SIGNAL_EMIT "elm,action,show,finished" "";
26503            }
26504            program { name: "pop_start";
26505                signal: "elm,action,pop";
26506                source: "elm";
26507                action:  STATE_SET "visible" 0.0;
26508                target: "clip";
26509                after: "hide_start2";
26510            }
26511            program { name: "hide_start";
26512                signal: "elm,action,hide";
26513                source: "elm";
26514                action:  STATE_SET "visible" 0.0;
26515                target: "clip";
26516                after: "hide_start2";
26517            }
26518            program { name: "hide_start2";
26519                action:  STATE_SET "hidden" 0.0;
26520                transition: DECELERATE 0.5;
26521                target: "clip";
26522                after: "hide_end";
26523            }
26524            program { name: "hide_end";
26525                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26526            }
26527            program { name: "reset";
26528                signal: "elm,action,reset";
26529                source: "elm";
26530                action:  STATE_SET "default" 0.0;
26531                target: "clip";
26532            }
26533        }
26534    }
26535
26536    group { name: "elm/pager/base/flip";
26537       data.item: "onshow" "raise";
26538       images {
26539          image: "frame_1.png" COMP;
26540          image: "frame_2.png" COMP;
26541          image: "dia_grad.png" COMP;
26542       }
26543       parts {
26544          part { name: "elm.swallow.content";
26545             type: SWALLOW;
26546             description { state: "default" 0.0;
26547                map {
26548                   on: 1;
26549                   smooth: 1;
26550                   backface_cull: 1;
26551                   perspective_on: 1;
26552                }
26553                perspective {
26554                   zplane: 0;
26555                   focal: 1000;
26556                }
26557             }
26558             description { state: "hidden" 0.0;
26559                inherit: "default" 0.0;
26560                visible: 0;
26561                map.rotation.y: 90.0;
26562             }
26563             description { state: "before_hidden" 0.0;
26564                inherit: "default" 0.0;
26565                visible: 0;
26566                map.rotation.y: -90.0;
26567             }
26568          }
26569       }
26570       programs {
26571          program { name: "push_start";
26572             signal: "elm,action,push";
26573             source: "elm";
26574             after: "push1";
26575          }
26576          program { name: "push1";
26577             action:  STATE_SET "hidden" 0.0;
26578             target: "elm.swallow.content";
26579             after: "push2";
26580          }
26581          program { name: "push2";
26582             action:  STATE_SET "default" 0.0;
26583             in: 0.5 0.0;
26584             transition: LINEAR 0.5;
26585             target: "elm.swallow.content";
26586             after: "push3";
26587          }
26588          program { name: "push3";
26589             action: SIGNAL_EMIT "elm,action,show,finished" "";
26590          }
26591
26592          program { name: "show_start";
26593             signal: "elm,action,show";
26594             source: "elm";
26595             after: "show1";
26596          }
26597          program { name: "show1";
26598             action:  STATE_SET "before_hidden" 0.0;
26599             target: "elm.swallow.content";
26600             after: "show2";
26601          }
26602          program { name: "show2";
26603             action:  STATE_SET "default" 0.0;
26604             in: 0.5 0.0;
26605             transition: LINEAR 0.5;
26606             target: "elm.swallow.content";
26607             after: "show3";
26608          }
26609          program { name: "show3";
26610             action: SIGNAL_EMIT "elm,action,show,finished" "";
26611          }
26612
26613          program { name: "pop_start";
26614             signal: "elm,action,pop";
26615             source: "elm";
26616             after: "pop1";
26617          }
26618          program { name: "pop1";
26619             action:  STATE_SET "default" 0.0;
26620             target: "elm.swallow.content";
26621             after: "pop2";
26622          }
26623          program { name: "pop2";
26624             action:  STATE_SET "hidden" 0.0;
26625             transition: LINEAR 0.5;
26626             target: "elm.swallow.content";
26627             after: "pop3";
26628          }
26629          program { name: "pop3";
26630             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26631          }
26632
26633          program { name: "hide_start";
26634             signal: "elm,action,hide";
26635             source: "elm";
26636             after: "hide1";
26637          }
26638          program { name: "hide1";
26639             action:  STATE_SET "default" 0.0;
26640             target: "elm.swallow.content";
26641             after: "hide2";
26642          }
26643          program { name: "hide2";
26644             action:  STATE_SET "before_hidden" 0.0;
26645             transition: LINEAR 0.5;
26646             target: "elm.swallow.content";
26647             after: "hide3";
26648          }
26649          program { name: "hide3";
26650             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26651          }
26652
26653          program { name: "reset";
26654             signal: "elm,action,reset";
26655             source: "elm";
26656             action:  STATE_SET "default" 0.0;
26657             target: "elm.swallow.content";
26658          }
26659       }
26660    }
26661
26662
26663
26664 ///////////////////////////////////////////////////////////////////////////////
26665 // FIXME: this doesn't look too hot. need to fix it up
26666    group { name: "elm/progressbar/horizontal/default";
26667       images {
26668          image: "shelf_inset.png" COMP;
26669          image: "bt_sm_base2.png" COMP;
26670          image: "bt_sm_hilight.png" COMP;
26671          image: "bt_sm_shine.png" COMP;
26672       }
26673       parts {
26674          part { name: "elm.background.progressbar";
26675             type: RECT;
26676             mouse_events: 0;
26677             description {
26678                state: "default" 0.0;
26679                rel1 {
26680                   relative: 0.0 0.0;
26681                   offset: 0 0;
26682                }
26683                rel2 {
26684                   relative: 1.0 1.0;
26685                }
26686             }
26687          }
26688          part { name: "elm.swallow.bar";
26689             mouse_events: 0;
26690             type: SWALLOW;
26691             description {
26692                min: 48 28;
26693                max: 99999 28;
26694                state: "default" 0.0;
26695                rel1 {
26696                   to_x: "elm.text";
26697                   to_y: "elm.background.progressbar";
26698                   relative: 1.0 0.0;
26699                }
26700                rel2 {
26701                   to: "elm.background.progressbar";
26702                   relative: 1.0 1.0;
26703                }
26704             }
26705          }
26706          part { name: "elm.swallow.content";
26707             type: SWALLOW;
26708             description { state: "default" 0.0;
26709                visible: 0;
26710                align: 0.0 0.5;
26711                rel1 {
26712                   offset: 4 0;
26713                   to_y: "elm.background.progressbar";
26714                }
26715                rel2 {
26716                   offset: 3 -1;
26717                   relative: 0.0 1.0;
26718                   to_y: "elm.background.progressbar";
26719                }
26720             }
26721             description { state: "visible" 0.0;
26722                inherit: "default" 0.0;
26723                visible: 1;
26724                aspect: 1.0 1.0;
26725                aspect_preference: VERTICAL;
26726                rel2.offset: 4 -1;
26727             }
26728          }
26729          part { name: "elm.text";
26730             type: TEXT;
26731             mouse_events: 0;
26732             scale: 1;
26733             description { state: "default" 0.0;
26734                visible: 0;
26735                fixed: 1 1;
26736                align: 0.0 0.5;
26737                rel1.to_x: "elm.swallow.content";
26738                rel1.relative: 1.0 0.0;
26739                rel1.offset: -1 4;
26740                rel2.to_x: "elm.swallow.content";
26741                rel2.relative: 1.0 1.0;
26742                rel2.offset: -1 -5;
26743                color: 0 0 0 255;
26744                text {
26745                   font: "Sans,Edje-Vera";
26746                   size: 10;
26747                   min: 0 0;
26748                   align: 0.0 0.5;
26749                }
26750             }
26751             description { state: "visible" 0.0;
26752                inherit: "default" 0.0;
26753                visible: 1;
26754                text.min: 1 1;
26755                rel1.offset: 0 4;
26756                rel2.offset: 0 -5;
26757             }
26758          }
26759
26760          part { name: "background";
26761             mouse_events: 0;
26762             clip_to: "elm.background.progressbar";
26763             description {
26764                state: "default" 0.0;
26765                rel1 {
26766                   to: "elm.swallow.bar";
26767                   relative: 0.0 0.0;
26768                }
26769                rel2 {
26770                   to: "elm.swallow.bar";
26771                   relative: 1.0 1.0;
26772                   offset: -1 -1;
26773                }
26774                image {
26775                   normal: "shelf_inset.png";
26776                   border: 7 7 7 7;
26777                }
26778             }
26779          }
26780
26781          part { name: "elm.text.status";
26782             type: TEXT;
26783             mouse_events: 0;
26784             description { state: "default" 0.0;
26785                fixed: 1 1;
26786                visible: 1;
26787                rel1 {
26788                   to: "background";
26789                   relative: 0.5 0.5;
26790                }
26791                rel2 {
26792                   to: "background";
26793                   relative: 0.5 0.5;
26794                }
26795                text {
26796                   font: "Sans:style=Bold,Edje-Vera-Bold";
26797                   size: 10;
26798                   min: 1 1;
26799                   align: 0.5 0.0;
26800                }
26801                color: 0 0 0 255;
26802             }
26803             description { state: "hidden" 0.0;
26804                inherit: "default" 0.0;
26805                visible: 0;
26806                text.min: 0 0;
26807             }
26808          }
26809
26810          part { name: "elm.progress.progressbar";
26811             mouse_events: 0;
26812             clip_to: "elm.background.progressbar";
26813             description {
26814                state: "default" 0.0;
26815                min: 14 28;
26816                fixed: 1 1;
26817                rel1 {
26818                   to: "elm.swallow.bar";
26819                   relative: 0.0 0.0;
26820                }
26821                rel2 {
26822                   to_y: "elm.swallow.bar";
26823                   to_x: "elm.cur.progressbar";
26824                   offset: -1 -1;
26825                }
26826                image {
26827                   normal: "bt_sm_base2.png";
26828                   border: 6 6 6 6;
26829                }
26830             }
26831             description {
26832                state: "invert" 0.0;
26833                inherit: "default" 0.0;
26834                rel1 {
26835                   to_y: "elm.swallow.bar";
26836                   to_x: "elm.cur.progressbar";
26837                }
26838                rel2 {
26839                   to: "elm.swallow.bar";
26840                   relative: 1.0 1.0;
26841                }
26842             }
26843             description {
26844                state: "state_begin" 0.0;
26845                inherit: "default" 0.0;
26846                rel1 {
26847                   to: "elm.swallow.bar";
26848                   relative: 0.0 0.0;
26849                }
26850                rel2 {
26851                   to: "elm.swallow.bar";
26852                   relative: 0.1 1.0;
26853                }
26854             }
26855             description {
26856                state: "state_end" 0.0;
26857                inherit: "default" 0.0;
26858                rel1 {
26859                   to: "elm.swallow.bar";
26860                   relative: 0.9 0.0;
26861                }
26862                rel2 {
26863                   to: "elm.swallow.bar";
26864                   relative: 1.0 1.0;
26865                }
26866             }
26867          }
26868          part { name: "text-bar";
26869             type: TEXT;
26870             mouse_events: 0;
26871             clip_to: "progress-rect";
26872             effect: SOFT_SHADOW;
26873             scale: 1;
26874             description { state: "default" 0.0;
26875                align: 0.0 0.0;
26876                fixed: 1 1;
26877                visible: 1;
26878                rel1.to: "elm.text.status";
26879                rel1.offset: -1 -1;
26880                rel2.to: "elm.text.status";
26881                text {
26882                   text_source: "elm.text.status";
26883                   font: "Sans:style=Bold,Edje-Vera-Bold";
26884                   size: 10;
26885                   min: 1 1;
26886                   align: 0.0 0.0;
26887                }
26888                color: 224 224 224 255;
26889                color3: 0 0 0 64;
26890             }
26891             description { state: "hidden" 0.0;
26892                inherit: "default" 0.0;
26893                visible: 0;
26894                text.min: 0 0;
26895             }
26896          }
26897
26898          part { name: "over1";
26899             mouse_events: 0;
26900             description { state: "default" 0.0;
26901                rel1.to: "elm.progress.progressbar";
26902                rel2.to: "elm.progress.progressbar";
26903                rel2.relative: 1.0 0.5;
26904                image {
26905                   normal: "bt_sm_hilight.png";
26906                   border: 6 6 6 0;
26907                }
26908             }
26909          }
26910
26911          part { name: "over2";
26912             mouse_events: 1;
26913             repeat_events: 1;
26914             description { state: "default" 0.0;
26915                rel1.to: "elm.progress.progressbar";
26916                rel2.to: "elm.progress.progressbar";
26917                image {
26918                   normal: "bt_sm_shine.png";
26919                   border: 6 6 6 0;
26920                }
26921             }
26922          }
26923
26924          part { name: "elm.cur.progressbar";
26925             mouse_events: 0;
26926             dragable {
26927                confine: "background";
26928                x: 1 1 1;
26929                y: 0 0 0;
26930             }
26931             description { state: "default" 0.0;
26932                min: 14 28;
26933                fixed: 1 1;
26934                visible: 0;
26935                rel1 {
26936                   to: "background";
26937                   relative: 0 0;
26938                }
26939                rel2.to: "background";
26940            }
26941          }
26942          part { name: "progress-rect";
26943             type: RECT;
26944             mouse_events: 0;
26945             description {
26946                state: "default" 0.0;
26947                rel1.to: "elm.progress.progressbar";
26948                rel2.to: "elm.progress.progressbar";
26949             }
26950          }
26951       }
26952       programs {
26953          program { name: "label_show";
26954             signal: "elm,state,text,visible";
26955             source: "elm";
26956             action:  STATE_SET "visible" 0.0;
26957             target: "elm.text";
26958          }
26959          program { name: "label_hide";
26960             signal: "elm,state,text,hidden";
26961             source: "elm";
26962             action:  STATE_SET "default" 0.0;
26963             target: "elm.text";
26964          }
26965          program { name: "icon_show";
26966             signal: "elm,state,icon,visible";
26967             source: "elm";
26968             action:  STATE_SET "visible" 0.0;
26969             target: "elm.swallow.content";
26970          }
26971          program { name: "icon_hide";
26972             signal: "elm,state,icon,hidden";
26973             source: "elm";
26974             action:  STATE_SET "default" 0.0;
26975             target: "elm.swallow.content";
26976          }
26977          program { name: "units_show";
26978             signal: "elm,state,units,visible";
26979             source: "elm";
26980             action:  STATE_SET "default" 0.0;
26981             target: "text-bar";
26982             target: "elm.text.status";
26983          }
26984          program { name: "units_hide";
26985             signal: "elm,state,units,hidden";
26986             source: "elm";
26987             action:  STATE_SET "hidden" 0.0;
26988             target: "text-bar";
26989             target: "elm.text.status";
26990          }
26991          program { name: "slide_to_end";
26992             action:  STATE_SET "state_end" 0.0;
26993             transition: LINEAR 0.5;
26994             target: "elm.progress.progressbar";
26995             after: "slide_to_begin";
26996          }
26997          program { name: "slide_to_begin";
26998             signal: "elm,state,slide,begin";
26999             action: STATE_SET "state_begin" 0.0;
27000             target: "elm.progress.progressbar";
27001             transition: LINEAR 0.5;
27002             after: "slide_to_end";
27003          }
27004          program { name: "start_pulse";
27005             signal: "elm,state,pulse,start";
27006             source: "elm";
27007             after: "slide_to_end";
27008          }
27009          program { name: "stop_pulse";
27010             signal: "elm,state,pulse,stop";
27011             source: "elm";
27012             action: ACTION_STOP;
27013             target: "slide_to_begin";
27014             target: "slide_to_end";
27015             target: "start_pulse";
27016             after: "state_pulse";
27017          }
27018          program { name: "state_pulse";
27019             signal: "elm,state,pulse";
27020             source: "elm";
27021             action: STATE_SET "state_begin" 0.0;
27022             target: "elm.progress.progressbar";
27023             after: "units_hide";
27024          }
27025          program { name: "state_fraction";
27026             signal: "elm,state,fraction";
27027             source: "elm";
27028             action: ACTION_STOP;
27029             target: "slide_to_begin";
27030             target: "slide_to_end";
27031             target: "start_pulse";
27032             action: STATE_SET "default" 0.0;
27033             target: "elm.progress.progressbar";
27034          }
27035          program { name: "set_invert_on";
27036             signal: "elm,state,inverted,on";
27037             source: "elm";
27038             action:  STATE_SET "invert" 0.0;
27039             target: "elm.progress.progressbar";
27040          }
27041          program { name: "set_invert_off";
27042             signal: "elm,state,inverted,off";
27043             source: "elm";
27044             action:  STATE_SET "default" 0.0;
27045             target: "elm.progress.progressbar";
27046          }
27047       }
27048    }
27049
27050 ///////////////////////////////////////////////////////////////////////////////
27051    group { name: "elm/progressbar/vertical/default";
27052       images {
27053          image: "shelf_inset.png" COMP;
27054          image: "bt_sm_base2.png" COMP;
27055          image: "bt_sm_hilight.png" COMP;
27056          image: "bt_sm_shine.png" COMP;
27057       }
27058       parts {
27059          part { name: "elm.background.progressbar";
27060             type: RECT;
27061             mouse_events: 0;
27062             description {
27063                state: "default" 0.0;
27064                rel1 {
27065                   relative: 0.0 0.0;
27066                   offset: 0 0;
27067                }
27068                rel2 {
27069                   relative: 1.0 1.0;
27070                   offset: -1 -1;
27071                }
27072             }
27073          }
27074          part { name: "elm.swallow.bar";
27075             type: SWALLOW;
27076             scale: 1;
27077             description { state: "default" 0.0;
27078                min: 28 48;
27079                max: 28 9999;
27080                align: 0.5 1.0;
27081                rel1 {
27082                   to_y: "elm.text";
27083                   relative: 0.0 1.0;
27084                   offset: 0 2;
27085                }
27086                rel2 {
27087                   to_y: "elm.text.box";
27088                   relative: 1.0 0.0;
27089                   offset: -1 -3;
27090                }
27091             }
27092          }
27093          part { name: "elm.swallow.content";
27094             type: SWALLOW;
27095             description { state: "default" 0.0;
27096                visible: 0;
27097                align: 0.5 0.0;
27098                rel1 {
27099                   offset: 0 4;
27100                   to_x: "elm.swallow.bar";
27101                }
27102                rel2 {
27103                   offset: -1 3;
27104                   relative: 1.0 0.0;
27105                   to_x: "elm.swallow.bar";
27106                }
27107             }
27108             description { state: "visible" 0.0;
27109                inherit: "default" 0.0;
27110                visible: 1;
27111                aspect: 1.0 1.0;
27112                aspect_preference: HORIZONTAL;
27113                rel2.offset: -1 4;
27114             }
27115          }
27116          part { name: "elm.text";
27117             type: TEXT;
27118             mouse_events: 0;
27119             scale: 1;
27120             description { state: "default" 0.0;
27121                visible: 0;
27122                fixed: 1 1;
27123                align: 0.5 0.0;
27124                rel1.to_y: "elm.swallow.content";
27125                rel1.relative: 0.5 1.0;
27126                rel1.offset: 0 -1;
27127                rel2.to_y: "elm.swallow.content";
27128                rel2.relative: 0.5 1.0;
27129                rel2.offset: -1 -1;
27130                color: 0 0 0 255;
27131                text {
27132                   font: "Sans,Edje-Vera";
27133                   size: 10;
27134                   min: 0 0;
27135                   align: 0.5 0.0;
27136                }
27137             }
27138             description { state: "visible" 0.0;
27139                inherit: "default" 0.0;
27140                visible: 1;
27141                text.min: 1 1;
27142                rel1.offset: 4 0;
27143                rel2.offset: -5 0;
27144             }
27145          }
27146
27147          part { name: "background";
27148             mouse_events: 0;
27149             clip_to: "elm.background.progressbar";
27150             description {
27151                state: "default" 0.0;
27152                rel1 {
27153                   to: "elm.swallow.bar";
27154                   relative: 0.0 0.0;
27155                }
27156                rel2 {
27157                   to: "elm.swallow.bar";
27158                   relative: 1.0 1.0;
27159                   offset: -1 -1;
27160                }
27161                image {
27162                   normal: "shelf_inset.png";
27163                   border: 7 7 7 7;
27164                }
27165             }
27166          }
27167
27168          part { name: "elm.progress.progressbar";
27169             mouse_events: 0;
27170             clip_to: "elm.background.progressbar";
27171             description {
27172                state: "default" 0.0;
27173                min: 28 14;
27174                fixed: 1 1;
27175                rel1 {
27176                   to: "elm.swallow.bar";
27177                   relative: 0.0 0.0;
27178                }
27179                rel2 {
27180                   to_x: "elm.swallow.bar";
27181                   to_y: "elm.cur.progressbar";
27182                   offset: -1 -1;
27183                }
27184                image {
27185                   normal: "bt_sm_base2.png";
27186                   border: 6 6 6 6;
27187                }
27188             }
27189             description {
27190                state: "invert" 0.0;
27191                inherit: "default" 0.0;
27192                rel1 {
27193                   to_x: "elm.swallow.bar";
27194                   to_y: "elm.cur.progressbar";
27195                }
27196                rel2 {
27197                   to: "elm.swallow.bar";
27198                   relative: 1.0 1.0;
27199                }
27200             }
27201             description {
27202                state: "state_begin" 0.0;
27203                inherit: "default" 0.0;
27204                rel1 {
27205                   to: "elm.swallow.bar";
27206                   relative: 0.0 0.0;
27207                }
27208                rel2 {
27209                   to: "elm.swallow.bar";
27210                   relative: 1.0 0.1;
27211                }
27212             }
27213             description {
27214                state: "state_end" 0.0;
27215                inherit: "default" 0.0;
27216                rel1 {
27217                   to: "elm.swallow.bar";
27218                   relative: 0.0 0.9;
27219                }
27220                rel2 {
27221                   to: "elm.swallow.bar";
27222                   relative: 1.0 1.0;
27223                }
27224             }
27225          }
27226
27227          part { name: "over1";
27228             mouse_events: 0;
27229             description { state: "default" 0.0;
27230                rel1.to: "elm.progress.progressbar";
27231                rel2.to: "elm.progress.progressbar";
27232                rel2.relative: 1.0 0.5;
27233                image {
27234                   normal: "bt_sm_hilight.png";
27235                   border: 6 6 6 0;
27236                }
27237             }
27238          }
27239
27240          part { name: "over2";
27241             mouse_events: 1;
27242             repeat_events: 1;
27243             description { state: "default" 0.0;
27244                rel1.to: "elm.progress.progressbar";
27245                rel2.to: "elm.progress.progressbar";
27246                image {
27247                   normal: "bt_sm_shine.png";
27248                   border: 6 6 6 0;
27249                }
27250             }
27251          }
27252
27253          part { name: "elm.cur.progressbar";
27254             mouse_events: 0;
27255             dragable {
27256                confine: "background";
27257                x: 0 0 0;
27258                y: 1 1 1;
27259             }
27260             description { state: "default" 0.0;
27261                min: 28 14;
27262                fixed: 1 1;
27263                visible: 0;
27264                rel1 {
27265                   to: "background";
27266                   relative: 0 0;
27267                }
27268                rel2.to: "background";
27269            }
27270          }
27271
27272          part { name: "elm.text.box";
27273             mouse_events: 0;
27274             type: RECT;
27275             description { state: "default" 0.0;
27276                visible: 0;
27277                rel1 {
27278                   to: "elm.text.status";
27279                   offset: -2 -2;
27280                }
27281                rel2 {
27282                   to: "elm.text.status";
27283                   offset: 2 2;
27284                }
27285                color: 255 255 255 0;
27286             }
27287             description { state: "visible" 0.0;
27288                inherit: "default" 0.0;
27289                visible: 1;
27290             }
27291          }
27292          part { name: "elm.text.status";
27293             type: TEXT;
27294             mouse_events: 0;
27295             scale: 1;
27296             description { state: "default" 0.0;
27297                visible: 0;
27298                fixed: 1 1;
27299                align: 0.5 1.0;
27300                rel1.relative: 0.0 1.0;
27301                rel1.offset: 2 0;
27302                rel2.relative: 1.0 1.0;
27303                rel2.offset: -2 0;
27304                color: 0 0 0 255;
27305                text {
27306                   font: "Sans:style=Bold,Edje-Vera-Bold";
27307                   size: 10;
27308                   min: 0 0;
27309                   align: 0.5 0.0;
27310                }
27311             }
27312             description { state: "visible" 0.0;
27313                inherit: "default" 0.0;
27314                fixed: 1 1;
27315                visible: 1;
27316                text.min: 1 1;
27317                rel1.offset: 8 -9;
27318                rel2.offset: -9 -9;
27319             }
27320          }
27321       }
27322       programs {
27323          program { name: "label_show";
27324             signal: "elm,state,text,visible";
27325             source: "elm";
27326             action:  STATE_SET "visible" 0.0;
27327             target: "elm.text";
27328          }
27329          program { name: "label_hide";
27330             signal: "elm,state,text,hidden";
27331             source: "elm";
27332             action:  STATE_SET "default" 0.0;
27333             target: "elm.text";
27334          }
27335          program { name: "icon_show";
27336             signal: "elm,state,icon,visible";
27337             source: "elm";
27338             action:  STATE_SET "visible" 0.0;
27339             target: "elm.swallow.content";
27340          }
27341          program { name: "icon_hide";
27342             signal: "elm,state,icon,hidden";
27343             source: "elm";
27344             action:  STATE_SET "default" 0.0;
27345             target: "elm.swallow.content";
27346          }
27347          program { name: "units_show";
27348             signal: "elm,state,units,visible";
27349             source: "elm";
27350             action:  STATE_SET "visible" 0.0;
27351             target: "elm.text.status";
27352             target: "elm.text.box";
27353          }
27354          program { name: "units_hide";
27355             signal: "elm,state,units,hidden";
27356             source: "elm";
27357             action:  STATE_SET "default" 0.0;
27358             target: "elm.text.status";
27359             target: "elm.text.box";
27360          }
27361          program { name: "slide_to_end";
27362             action:  STATE_SET "state_end" 0.0;
27363             transition: LINEAR 0.5;
27364             target: "elm.progress.progressbar";
27365             after: "slide_to_begin";
27366          }
27367          program { name: "slide_to_begin";
27368             action:  STATE_SET "state_begin" 0.0;
27369             target: "elm.progress.progressbar";
27370             transition: LINEAR 0.5;
27371             after: "slide_to_end";
27372          }
27373          program { name: "start_pulse";
27374             signal: "elm,state,pulse,start";
27375             source: "elm";
27376             action: STATE_SET "state_begin" 0.0;
27377             target: "elm.progress.progressbar";
27378             after: "slide_to_end";
27379          }
27380          program { name: "stop_pulse";
27381             signal: "elm,state,pulse,stop";
27382             source: "elm";
27383             action: ACTION_STOP;
27384             target: "slide_to_begin";
27385             target: "slide_to_end";
27386             target: "start_pulse";
27387             after: "state_pulse";
27388          }
27389          program { name: "state_pulse";
27390             signal: "elm,state,pulse";
27391             source: "elm";
27392             action: STATE_SET "state_begin" 0.0;
27393             target: "elm.progress.progressbar";
27394             after: "units_hide";
27395          }
27396          program { name: "state_fraction";
27397             signal: "elm,state,fraction";
27398             source: "elm";
27399             action: ACTION_STOP;
27400             target: "slide_to_begin";
27401             target: "slide_to_end";
27402             target: "start_pulse";
27403             action: STATE_SET "default" 0.0;
27404             target: "elm.progress.progressbar";
27405          }
27406          program { name: "set_invert_on";
27407             signal: "elm,state,inverted,on";
27408             source: "elm";
27409             action:  STATE_SET "invert" 0.0;
27410             target: "elm.progress.progressbar";
27411             target: "elm.cur.progressbar";
27412          }
27413          program { name: "set_invert_off";
27414             signal: "elm,state,inverted,off";
27415             source: "elm";
27416             action:  STATE_SET "default" 0.0;
27417             target: "elm.progress.progressbar";
27418             target: "elm.cur.progressbar";
27419          }
27420       }
27421    }
27422
27423 ///////////////////////////////////////////////////////////////////////////////
27424    group { name: "elm/separator/horizontal/default";
27425        images {
27426            image: "separator_h.png" COMP;
27427        }
27428        parts {
27429            part { name: "separator"; // separator group
27430                description { state: "default" 0.0;
27431                    min: 2 2;
27432                    rel1.offset: 4 4;
27433                    rel2.offset: -5 -5;
27434                    image {
27435                        normal: "separator_h.png";
27436                    }
27437                    fill {
27438                        smooth: 0;
27439                    }
27440                }
27441            }
27442        }
27443    }
27444
27445    ///////////////////////////////////////////////////////////////////////////////
27446    group { name: "elm/separator/vertical/default";
27447        images {
27448            image: "separator_v.png" COMP;
27449        }
27450        parts {
27451            part { name: "separator"; // separator group
27452                description { state: "default" 0.0;
27453                    min: 2 2;
27454                    rel1.offset: 4 4;
27455                    rel2.offset: -5 -5;
27456                    image {
27457                        normal: "separator_v.png";
27458                    }
27459                    fill {
27460                        smooth: 0;
27461                    }
27462                }
27463            }
27464        }
27465    }
27466
27467    group { name: "elm/progressbar/horizontal/wheel";
27468        images {
27469            image: "busy-1.png" COMP;
27470            image: "busy-2.png" COMP;
27471            image: "busy-3.png" COMP;
27472            image: "busy-4.png" COMP;
27473            image: "busy-5.png" COMP;
27474            image: "busy-6.png" COMP;
27475            image: "busy-7.png" COMP;
27476            image: "busy-8.png" COMP;
27477            image: "busy-9.png" COMP;
27478        }
27479        parts {
27480            part { name: "elm.background.progressbar";
27481                mouse_events: 0;
27482                type: RECT;
27483                description {
27484                    state: "default" 0.0;
27485                }
27486            }
27487            part { name: "elm.swallow.bar";
27488                mouse_events: 0;
27489                type: SWALLOW;
27490                description { state: "default" 0.0;
27491                    min: 0 0;
27492                    max: 0 0;
27493                    visible: 0;
27494                }
27495            }
27496            part { name: "elm.swallow.content";
27497                type: SWALLOW;
27498                description { state: "default" 0.0;
27499                    min: 0 0;
27500                    max: 0 0;
27501                    visible: 0;
27502                }
27503            }
27504            part { name: "background";
27505                mouse_events: 0;
27506                clip_to: "elm.background.progressbar";
27507                description {
27508                    state: "default" 0.0;
27509                    min: 32 32;
27510                    max: 32 32;
27511                    visible: 1;
27512                    aspect: 1.0 1.0;
27513                    aspect_preference: BOTH;
27514                    image {
27515                        normal: "busy-9.png";
27516                        border: 7 7 7 7;
27517                    }
27518                }
27519                description {
27520                    state: "pulse" 0.0;
27521                    inherit: "default" 0.0;
27522                    image {
27523                        normal: "busy-9.png";
27524                        tween:  "busy-1.png";
27525                        tween:  "busy-2.png";
27526                        tween:  "busy-3.png";
27527                        tween:  "busy-4.png";
27528                        tween:  "busy-5.png";
27529                        tween:  "busy-6.png";
27530                        tween:  "busy-7.png";
27531                        tween:  "busy-8.png";
27532                        border: 7 7 7 7;
27533                    }
27534                }
27535            }
27536        }
27537        programs {
27538            program { name: "start_pulse";
27539                signal: "elm,state,pulse,start";
27540                source: "elm";
27541                action: STATE_SET "pulse" 0.0;
27542                target: "background";
27543                transition: LINEAR 0.5;
27544                after: "start_pulse";
27545            }
27546            program { name: "stop_pulse";
27547                signal: "elm,state,pulse,stop";
27548                source: "elm";
27549                action: STATE_SET "default" 0.0;
27550                target: "background";
27551            }
27552        }
27553    }
27554
27555
27556 ///////////////////////////////////////////////////////////////////////////////
27557    group { name: "elm/spinner/base/default";
27558        images {
27559            image: "shelf_inset.png" COMP;
27560            image: "bt_base1.png" COMP;
27561            image: "bt_hilight.png" COMP;
27562            image: "bt_shine.png" COMP;
27563            image: "bt_glow.png" COMP;
27564            image: "bt_dis_base.png" COMP;
27565            image: "bt_dis_hilight.png" COMP;
27566            image: "sp_bt_l.png" COMP;
27567            image: "sp_bt_r.png" COMP;
27568        }
27569        parts {
27570            part { name: "bg";
27571                type: RECT;
27572                description { state: "default" 0.0;
27573                    min: 0 30;
27574                    rel1.offset: 1 1;
27575                    rel2.offset: -2 -2;
27576                    color: 255 255 255 0;
27577                }
27578            }
27579            part { name: "conf_over";
27580                mouse_events:  0;
27581                description { state: "default" 0.0;
27582                    rel1.to: "bg";
27583                    rel2.to: "bg";
27584                    image {
27585                        normal: "shelf_inset.png";
27586                        border: 7 7 7 7;
27587                        middle: 0;
27588                    }
27589                    fill.smooth : 0;
27590                }
27591            }
27592            part { name: "left_bt";
27593                mouse_events:  1;
27594                description { state: "default" 0.0;
27595                    rel1 { to: "bg";
27596                        offset: 3 3;
27597                    }
27598                    rel2 { to: "bg";
27599                        offset: -4 -4;
27600                    }
27601                    align: 0.0 0.5;
27602                    min: 24 24;
27603                    aspect: 1.0 1.0;
27604                    aspect_preference: VERTICAL;
27605                    image {
27606                        normal: "bt_base1.png";
27607                        border: 6 6 6 6;
27608                    }
27609                    fill.smooth : 0;
27610                }
27611                description { state: "clicked" 0.0;
27612                    inherit: "default" 0.0;
27613                    image.normal: "bt_base1.png";
27614                    image.middle: SOLID;
27615                }
27616                description { state: "disabled" 0.0;
27617                    inherit:  "default" 0.0;
27618                    image {
27619                        normal: "bt_dis_base.png";
27620                        border: 4 4 4 4;
27621                    }
27622                }
27623            }
27624            part {          name: "left_over1";
27625                mouse_events: 0;
27626                description { state: "default" 0.0;
27627                    rel1.to: "left_bt";
27628                    rel2 { to: "left_bt";
27629                        relative: 1.0 0.5;
27630                    }
27631                    image {
27632                        normal: "bt_hilight.png";
27633                        border: 7 7 7 0;
27634                    }
27635                }
27636                description { state: "disabled" 0.0;
27637                    inherit:  "default" 0.0;
27638                    image {
27639                        normal: "bt_dis_hilight.png";
27640                        border: 4 4 4 0;
27641                    }
27642                }
27643            }
27644            part { name: "left_over2";
27645                mouse_events: 1;
27646                repeat_events: 1;
27647                ignore_flags: ON_HOLD;
27648                description { state: "default" 0.0;
27649                    rel1.to: "left_bt";
27650                    rel2.to: "left_bt";
27651                    image {
27652                        normal: "bt_shine.png";
27653                        border: 7 7 7 7;
27654                    }
27655                }
27656                description { state: "disabled" 0.0;
27657                    inherit:  "default" 0.0;
27658                    visible: 0;
27659                }
27660            }
27661            part { name: "left_over3";
27662                mouse_events: 1;
27663                repeat_events: 1;
27664                description { state: "default" 0.0;
27665                    color: 255 255 255 0;
27666                    rel1.to: "left_bt";
27667                    rel2.to: "left_bt";
27668                    image {
27669                        normal: "bt_glow.png";
27670                        border: 12 12 12 12;
27671                    }
27672                    fill.smooth : 0;
27673                }
27674                description { state: "clicked" 0.0;
27675                    inherit:  "default" 0.0;
27676                    visible: 1;
27677                    color: 255 255 255 255;
27678                }
27679            }
27680            part { name: "right_bt";
27681                mouse_events:  1;
27682                description { state: "default" 0.0;
27683                    rel1 { to: "bg";
27684                        offset: -26 3;
27685                    }
27686                    rel2 { to: "bg";
27687                        offset: -4 -4;
27688                    }
27689                    align: 1.0 0.5;
27690                    min: 24 24;
27691                    aspect: 1.0 1.0;
27692                    aspect_preference: VERTICAL;
27693                    image {
27694                        normal: "bt_base1.png";
27695                        border: 5 5 4 12;
27696                    }
27697                    fill.smooth : 0;
27698                }
27699                description { state: "clicked" 0.0;
27700                    inherit: "default" 0.0;
27701                    image.normal: "bt_base1.png";
27702                    image.middle: SOLID;
27703                }
27704                description { state: "disabled" 0.0;
27705                    inherit:  "default" 0.0;
27706                    image {
27707                        normal: "bt_dis_base.png";
27708                        border: 4 4 4 4;
27709                    }
27710                }
27711            }
27712            part { name: "right_over1";
27713                mouse_events: 0;
27714                description { state: "default" 0.0;
27715                    rel1.to: "right_bt";
27716                    rel2 { to: "right_bt";
27717                        relative: 1.0 0.5;
27718                    }
27719                    image {
27720                        normal: "bt_hilight.png";
27721                        border: 7 7 7 0;
27722                    }
27723                }
27724                description { state: "disabled" 0.0;
27725                    inherit:  "default" 0.0;
27726                    image {
27727                        normal: "bt_dis_hilight.png";
27728                        border: 4 4 4 0;
27729                    }
27730                }
27731            }
27732            part { name: "right_over2";
27733                mouse_events: 1;
27734                repeat_events: 1;
27735                ignore_flags: ON_HOLD;
27736                description { state: "default" 0.0;
27737                    rel1.to: "right_bt";
27738                    rel2.to: "right_bt";
27739                    image {
27740                        normal: "bt_shine.png";
27741                        border: 7 7 7 7;
27742                    }
27743                }
27744                description { state: "disabled" 0.0;
27745                    inherit:  "default" 0.0;
27746                    visible: 0;
27747                }
27748            }
27749            part { name: "right_over3";
27750                mouse_events: 1;
27751                repeat_events: 1;
27752                description { state: "default" 0.0;
27753                    color: 255 255 255 0;
27754                    rel1.to: "right_bt";
27755                    rel2.to: "right_bt";
27756                    image {
27757                        normal: "bt_glow.png";
27758                        border: 12 12 12 12;
27759                    }
27760                    fill.smooth : 0;
27761                }
27762                description { state: "clicked" 0.0;
27763                    inherit:  "default" 0.0;
27764                    visible: 1;
27765                    color: 255 255 255 255;
27766                }
27767            }
27768            part { name: "left_bt_icon";
27769                repeat_events: 1;
27770                description { state: "default" 0.0;
27771                    rel1.to: "left_bt";
27772                    rel1.offset: 4 4;
27773                    rel2.to: "left_bt";
27774                    rel2.offset: -5 -5;
27775                    align: 0.5 0.5;
27776                    min: 16 16;
27777                    aspect: 1.0 1.0;
27778                    aspect_preference: BOTH;
27779                    image.normal: "sp_bt_l.png";
27780                }
27781                description { state: "rtl" 0.0;
27782                    inherit: "default" 0.0;
27783                    image.normal: "sp_bt_r.png";
27784                }
27785            }
27786            part { name: "right_bt_icon";
27787                repeat_events: 1;
27788                description { state: "default" 0.0;
27789                    rel1.to: "right_bt";
27790                    rel1.offset: 4 4;
27791                    rel2.to: "right_bt";
27792                    rel2.offset: -5 -5;
27793                    align: 0.5 0.5;
27794                    min: 16 16;
27795                    aspect: 1.0 1.0;
27796                    aspect_preference: BOTH;
27797                    image.normal: "sp_bt_r.png";
27798                }
27799                description { state: "rtl" 0.0;
27800                    inherit: "default" 0.0;
27801                    image.normal: "sp_bt_l.png";
27802                }
27803            }
27804            part { name: "elm.text";
27805                type: TEXT;
27806                mouse_events: 0;
27807                scale: 1;
27808                description { state: "default" 0.0;
27809                    visible: 1;
27810                    align: 0.0 0.5;
27811                    rel1 { relative: 1.0 0.0;
27812                        offset: 3 2;
27813                        to_x: "left_bt";
27814                        to_y: "bg";
27815                    }
27816                    rel2 { relative: 0.0 1.0;
27817                        offset: -3 -2;
27818                        to_x: "right_bt";
27819                        to_y: "bg";
27820                    }
27821                    color: 0 0 0 255;
27822                    text {
27823                        font: "Sans,Edje-Vera";
27824                        size: 10;
27825                        min: 1 1;
27826                        align: 0.5 0.5;
27827                    }
27828                }
27829                description { state: "active" 0.0;
27830                    inherit: "default" 0.0;
27831                    visible: 0;
27832                }
27833                description { state: "disabled_active" 0.0;
27834                    inherit: "default" 0.0;
27835                    color: 0 0 0 128;
27836                    color3: 0 0 0 0;
27837                }
27838                description { state: "disabled" 0.0;
27839                    inherit: "default" 0.0;
27840                    color: 0 0 0 128;
27841                    color3: 0 0 0 0;
27842                }
27843            }
27844            part { name: "elm.dragable.slider";
27845                type: RECT;
27846                mouse_events: 0;
27847                scale: 1;
27848                dragable {
27849                    x: 1 1 0;
27850                    y: 0 0 0;
27851                }
27852                description { state: "default" 0.0;
27853                    rel1.to: "bg";
27854                    rel2.to: "bg";
27855                    fixed: 1 1;
27856                    color: 0 0 0 0;
27857                }
27858            }
27859            part { name: "button_events";
27860                type: RECT;
27861                dragable {
27862                    events: "elm.dragable.slider";
27863                }
27864                mouse_events: 1;
27865                description { state: "default" 0.0;
27866                    rel1.to: "elm.text";
27867                    rel2.to: "elm.text";
27868                    color: 0 0 0 0;
27869                }
27870            }
27871            part { name: "elm.swallow.entry";
27872                type: SWALLOW;
27873                description { state: "default" 0.0;
27874                    visible: 0;
27875                    align: 0.5 0.5;
27876                    rel1 { relative: 1.0 0.5;
27877                        offset: 3 2;
27878                        to_x: "left_bt";
27879                        to_y: "bg";
27880                    }
27881                    rel2 { relative: 0.0 0.5;
27882                        offset: -3 -2;
27883                        to_x: "right_bt";
27884                        to_y: "bg";
27885                    }
27886                    fixed: 1 1;
27887                    color: 0 0 0 0;
27888                }
27889                description { state: "active" 0.0;
27890                    inherit: "default" 0.0;
27891                    visible: 1;
27892                    color: 255 255 255 255;
27893                }
27894                description { state: "disabled_active" 0.0;
27895                    inherit: "default" 0.0;
27896                    visible: 0;
27897                }
27898                description { state: "disabled" 0.0;
27899                    inherit: "default" 0.0;
27900                    visible: 0;
27901                }
27902            }
27903            part { name: "disabler";
27904                type: RECT;
27905                description { state: "default" 0.0;
27906                    color: 0 0 0 0;
27907                    visible: 0;
27908                }
27909                description { state: "disabled" 0.0;
27910                    inherit: "default" 0.0;
27911                    visible: 1;
27912                }
27913            }
27914        }
27915        programs {
27916            program { name: "text_show";
27917                signal: "elm,state,text,visible";
27918                source: "elm";
27919                action:  STATE_SET "visible" 0.0;
27920                target: "elm.text";
27921            }
27922            program { name: "text_hide";
27923                signal: "elm,state,text,hidden";
27924                source: "elm";
27925                action:  STATE_SET "default" 0.0;
27926                target: "elm.text";
27927            }
27928            program { name: "dec";
27929                signal: "mouse,down,1";
27930                source: "left_bt";
27931                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27932            }
27933            program { name: "dec2";
27934                signal: "mouse,up,1";
27935                source: "left_bt";
27936                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27937            }
27938            program { name: "inc";
27939                signal: "mouse,down,1";
27940                source: "right_bt";
27941                action: SIGNAL_EMIT "elm,action,increment,start" "";
27942            }
27943            program { name: "inc2";
27944                signal: "mouse,up,1";
27945                source: "right_bt";
27946                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27947            }
27948            program {
27949                name:   "left_bt_click";
27950                signal: "mouse,down,1";
27951                source: "left_over2";
27952                action: STATE_SET "clicked" 0.0;
27953                target: "left_bt";
27954            }
27955            program {
27956                name:   "left_bt_unclick";
27957                signal: "mouse,up,1";
27958                source: "left_over2";
27959                action: STATE_SET "default" 0.0;
27960                target: "left_bt";
27961            }
27962            program {
27963                name:   "left_bt_click2";
27964                signal: "mouse,down,1";
27965                source: "left_over3";
27966                action: STATE_SET "clicked" 0.0;
27967                target: "left_over3";
27968            }
27969            program {
27970                name:   "left_bt_unclick2";
27971                signal: "mouse,up,1";
27972                source: "left_over3";
27973                action: STATE_SET "default" 0.0;
27974                transition: DECELERATE 0.5;
27975                target: "left_over3";
27976            }
27977            program {
27978                name:   "left_bt_unclick3";
27979                signal: "mouse,up,1";
27980                source: "left_over2";
27981                action: SIGNAL_EMIT "elm,action,click" "";
27982            }
27983            program {
27984                name:   "left_bt_pressed_anim";
27985                signal: "elm,left,anim,activate";
27986                source: "elm";
27987                action: STATE_SET "clicked" 0.0;
27988                target: "left_bt";
27989                target: "left_over3";
27990                after: "left_bt_unpressed_anim";
27991            }
27992            program {
27993                name:   "left_bt_unpressed_anim";
27994                action: STATE_SET "default" 0.0;
27995                transition: DECELERATE 0.5;
27996                target: "left_bt";
27997                target: "left_over3";
27998            }
27999
28000            program {
28001                name:   "right_bt_click";
28002                signal: "mouse,down,1";
28003                source: "right_over2";
28004                action: STATE_SET "clicked" 0.0;
28005                target: "right_bt";
28006            }
28007            program {
28008                name:   "right_bt_unclick";
28009                signal: "mouse,up,1";
28010                source: "right_over2";
28011                action: STATE_SET "default" 0.0;
28012                target: "right_bt";
28013            }
28014            program {
28015                name:   "right_bt_click2";
28016                signal: "mouse,down,1";
28017                source: "right_over3";
28018                action: STATE_SET "clicked" 0.0;
28019                target: "right_over3";
28020            }
28021            program {
28022                name:   "right_bt_unclick2";
28023                signal: "mouse,up,1";
28024                source: "right_over3";
28025                action: STATE_SET "default" 0.0;
28026                transition: DECELERATE 0.5;
28027                target: "right_over3";
28028            }
28029            program {
28030                name:   "right_bt_unclick3";
28031                signal: "mouse,up,1";
28032                source: "right_over2";
28033                action: SIGNAL_EMIT "elm,action,click" "";
28034            }
28035            program {
28036                name:   "right_bt_pressed_anim";
28037                signal: "elm,right,anim,activate";
28038                source: "elm";
28039                action: STATE_SET "clicked" 0.0;
28040                target: "right_bt";
28041                target: "right_over3";
28042                after: "right_bt_unpressed_anim";
28043            }
28044            program {
28045                name:   "right_bt_unpressed_anim";
28046                action: STATE_SET "default" 0.0;
28047                transition: DECELERATE 0.5;
28048                target: "right_bt";
28049                target: "right_over3";
28050            }
28051
28052            program { name: "disable";
28053                signal: "elm,state,disabled";
28054                source: "elm";
28055                action: STATE_SET "disabled" 0.0;
28056                target: "left_bt";
28057                target: "left_over1";
28058                target: "left_over2";
28059                target: "right_bt";
28060                target: "right_over1";
28061                target: "right_over2";
28062                target: "disabler";
28063                after: "disable_text";
28064            }
28065            program { name: "disable_text";
28066                script {
28067                    new st[31];
28068                    new Float:vl;
28069                    get_state(PART:"elm.text", st, 30, vl);
28070                    if (!strcmp(st, "active"))
28071                    set_state(PART:"elm.text", "disabled_active", 0.0);
28072                    else
28073                    set_state(PART:"elm.text", "disabled", 0.0);
28074
28075                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28076                    if (!strcmp(st, "active"))
28077                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28078                    else
28079                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28080                }
28081            }
28082            program { name: "enable";
28083                signal: "elm,state,enabled";
28084                source: "elm";
28085                action: STATE_SET "default" 0.0;
28086                target: "left_bt";
28087                target: "left_over1";
28088                target: "left_over2";
28089                target: "right_bt";
28090                target: "right_over1";
28091                target: "right_over2";
28092                target: "disabler";
28093                after: "enable_text";
28094            }
28095            program { name: "enable_text";
28096                script {
28097                    new st[31];
28098                    new Float:vl;
28099                    get_state(PART:"elm.text", st, 30, vl);
28100                    if (!strcmp(st, "disabled_active"))
28101                    set_state(PART:"elm.text", "active", 0.0);
28102                    else
28103                    set_state(PART:"elm.text", "default", 0.0);
28104
28105                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28106                    if (!strcmp(st, "disabled_active"))
28107                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28108                    else
28109                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28110                }
28111            }
28112            program { name: "active";
28113                signal: "elm,state,active";
28114                source: "elm";
28115                action: STATE_SET "active" 0.0;
28116                target: "elm.text";
28117                target: "elm.swallow.entry";
28118            }
28119            program { name: "inactive";
28120                signal: "elm,state,inactive";
28121                source: "elm";
28122                action: STATE_SET "default" 0.0;
28123                target: "elm.text";
28124                target: "elm.swallow.entry";
28125            }
28126            program { name: "toggle_text";
28127                signal: "mouse,up,1";
28128                source: "button_events";
28129                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28130            }
28131            program { name: "to_rtl";
28132                signal: "edje,state,rtl";
28133                source: "edje";
28134                action: STATE_SET "rtl" 0.0;
28135                target: "right_bt_icon";
28136                target: "left_bt_icon";
28137            }
28138            program { name: "to_ltr";
28139                signal: "edje,state,ltr";
28140                source: "edje";
28141                action: STATE_SET "default" 0.0;
28142                target: "right_bt_icon";
28143                target: "left_bt_icon";
28144            }
28145        }
28146    }
28147
28148 ///////////////////////////////////////////////////////////////////////////////
28149    group { name: "elm/spinner/base/vertical";
28150        images {
28151            image: "shelf_inset.png" COMP;
28152            image: "bt_hilight.png" COMP;
28153            image: "bt_shine.png" COMP;
28154            image: "bt_glow.png" COMP;
28155            image: "bt_dis_base.png" COMP;
28156            image: "bt_dis_hilight.png" COMP;
28157            image: "up.png" COMP;
28158            image: "down.png" COMP;
28159            image: "bt_spinner_up.png" COMP;
28160            image: "bt_spinner_down.png" COMP;
28161            image: "bt_spinner_hilight.png" COMP;
28162        }
28163        parts {
28164            part { name: "bg";
28165                type: RECT;
28166                description { state: "default" 0.0;
28167                    min: 0 30;
28168                    rel1.offset: 1 1;
28169                    rel2.offset: -2 -2;
28170                    color: 255 255 255 0;
28171                }
28172            }
28173            part { name: "conf_over";
28174                mouse_events:  0;
28175                description { state: "default" 0.0;
28176                    rel1 {
28177                      to: "bg";
28178                      relative: 0.0 0.0;
28179                    }
28180                    rel2 {
28181                       to: "bg";
28182                    }
28183                    image {
28184                        normal: "shelf_inset.png";
28185                        border: 7 7 7 7;
28186                        middle: 0;
28187                    }
28188                    fill.smooth : 0;
28189                }
28190            }
28191            part { name: "down_bt";
28192                mouse_events:  1;
28193                description { state: "default" 0.0;
28194                    fixed: 1 1;
28195                    rel1 {
28196                        to: "up_bt";
28197                        relative: 0 1;
28198                        offset: 0 1;
28199                    }
28200                    rel2 {
28201                        to_y: "bg";
28202                        to_x: "up_bt";
28203                        relative: 1 1;
28204                        offset: -1 -4;
28205                    }
28206                    align: 1.0 0.5;
28207                    min: 24 16;
28208                    image {
28209                        normal: "bt_spinner_down.png";
28210                        border: 6 6 6 6;
28211                    }
28212                    fill.smooth : 0;
28213                }
28214                description { state: "clicked" 0.0;
28215                    inherit: "default" 0.0;
28216                    image.normal: "bt_spinner_down.png";
28217                    image.middle: SOLID;
28218                }
28219                description { state: "disabled" 0.0;
28220                    inherit:  "default" 0.0;
28221                    image {
28222                        normal: "bt_dis_base.png";
28223                        border: 4 4 4 4;
28224                    }
28225                }
28226            }
28227            part { name: "down_over3";
28228                mouse_events: 1;
28229                repeat_events: 1;
28230                description { state: "default" 0.0;
28231                    color: 255 255 255 0;
28232                    rel1.to: "down_bt";
28233                    rel2.to: "down_bt";
28234                    image {
28235                        normal: "bt_glow.png";
28236                        border: 12 12 12 12;
28237                    }
28238                    fill.smooth : 0;
28239                }
28240                description { state: "clicked" 0.0;
28241                    inherit:  "default" 0.0;
28242                    visible: 1;
28243                    color: 255 255 255 255;
28244                }
28245            }
28246            part { name: "up_bt";
28247                mouse_events:  1;
28248                description { state: "default" 0.0;
28249                    fixed: 1 0;
28250                    rel1 { to: "bg";
28251                        relative: 0 0;
28252                        offset: 0 2;
28253                    }
28254                    rel2 { to: "bg";
28255                        relative: 1 0.5;
28256                        offset: -3 0;
28257                    }
28258                    align: 1.0 0.5;
28259                    min: 24 16;
28260                    aspect: 1.5 1.0;
28261                    aspect_preference: BOTH;
28262                    image {
28263                        normal: "bt_spinner_up.png";
28264                        border: 6 6 6 6;
28265                    }
28266                    fill.smooth : 0;
28267                }
28268                description { state: "clicked" 0.0;
28269                    inherit: "default" 0.0;
28270                    image.normal: "bt_spinner_up.png";
28271                    image.middle: SOLID;
28272                }
28273                description { state: "disabled" 0.0;
28274                    inherit:  "default" 0.0;
28275                    image {
28276                        normal: "bt_dis_base.png";
28277                        border: 4 4 4 4;
28278                    }
28279                }
28280            }
28281            part { name: "up_over1";
28282                mouse_events: 0;
28283                description { state: "default" 0.0;
28284                    rel1.to: "up_bt";
28285                    rel2 { to: "up_bt";
28286                        relative: 1.0 0.5;
28287                    }
28288                    image {
28289                        normal: "bt_spinner_hilight.png";
28290                        border: 7 7 7 0;
28291                    }
28292                }
28293                description { state: "disabled" 0.0;
28294                    inherit:  "default" 0.0;
28295                    image {
28296                        normal: "bt_dis_hilight.png";
28297                        border: 4 4 4 0;
28298                    }
28299                }
28300            }
28301            part { name: "up_over3";
28302                mouse_events: 1;
28303                repeat_events: 1;
28304                description { state: "default" 0.0;
28305                    color: 255 255 255 0;
28306                    rel1.to: "up_bt";
28307                    rel2.to: "up_bt";
28308                    image {
28309                        normal: "bt_glow.png";
28310                        border: 12 12 12 12;
28311                    }
28312                    fill.smooth : 0;
28313                }
28314                description { state: "clicked" 0.0;
28315                    inherit:  "default" 0.0;
28316                    visible: 1;
28317                    color: 255 255 255 255;
28318                }
28319            }
28320            part { name: "down_bt_icon";
28321                repeat_events: 1;
28322                description { state: "default" 0.0;
28323                    rel1.to: "down_bt";
28324                    rel1.offset: 5 3;
28325                    rel2.to: "down_bt";
28326                    rel2.offset: -6 -3;
28327                    align: 0.5 0.5;
28328                    image.normal: "down.png";
28329                }
28330            }
28331            part { name: "up_bt_icon";
28332                repeat_events: 1;
28333                description { state: "default" 0.0;
28334                    rel1.to: "up_bt";
28335                    rel1.offset: 5 3;
28336                    rel2.to: "up_bt";
28337                    rel2.offset: -6 -3;
28338                    align: 0.5 0.5;
28339                    image.normal: "up.png";
28340                }
28341            }
28342            part { name: "elm.text";
28343                type: TEXT;
28344                mouse_events: 0;
28345                scale: 1;
28346                description { state: "default" 0.0;
28347                    visible: 1;
28348                    align: 0.0 0.5;
28349                    rel1 { relative: 0.0 0.0;
28350                        offset: 3 2;
28351                        to_x: "bg";
28352                        to_y: "bg";
28353                    }
28354                    rel2 { relative: 0.0 1.0;
28355                        offset: -3 -2;
28356                        to_x: "down_bt";
28357                        to_y: "bg";
28358                    }
28359                    color: 0 0 0 255;
28360                    text {
28361                        font: "Sans,Edje-Vera";
28362                        size: 10;
28363                        min: 1 1;
28364                        align: 0.5 0.5;
28365                    }
28366                }
28367                description { state: "active" 0.0;
28368                    inherit: "default" 0.0;
28369                    visible: 0;
28370                }
28371                description { state: "disabled_active" 0.0;
28372                    inherit: "default" 0.0;
28373                    color: 0 0 0 128;
28374                    color3: 0 0 0 0;
28375                }
28376                description { state: "disabled" 0.0;
28377                    inherit: "default" 0.0;
28378                    color: 0 0 0 128;
28379                    color3: 0 0 0 0;
28380                }
28381            }
28382            part { name: "elm.dragable.slider";
28383                type: RECT;
28384                mouse_events: 0;
28385                scale: 1;
28386                dragable {
28387                    x: 1 1 0;
28388                    y: 0 0 0;
28389                }
28390                description { state: "default" 0.0;
28391                    rel1.to: "bg";
28392                    rel2.to: "bg";
28393                    fixed: 1 1;
28394                    color: 0 0 0 0;
28395                }
28396            }
28397            part { name: "button_events";
28398                type: RECT;
28399                dragable {
28400                    events: "elm.dragable.slider";
28401                }
28402                mouse_events: 1;
28403                description { state: "default" 0.0;
28404                    rel1.to: "elm.text";
28405                    rel2.to: "elm.text";
28406                    color: 0 0 0 0;
28407                }
28408            }
28409            part { name: "elm.swallow.entry";
28410                type: SWALLOW;
28411                description { state: "default" 0.0;
28412                    visible: 0;
28413                    align: 0.5 0.5;
28414                    rel1 { relative: 0.0 0.5;
28415                        offset: 3 2;
28416                        to: "bg";
28417                    }
28418                    rel2 { relative: 1.0 0.5;
28419                        offset: -3 -2;
28420                        to: "bg";
28421                    }
28422                    fixed: 1 1;
28423                    color: 0 0 0 0;
28424                }
28425                description { state: "active" 0.0;
28426                    inherit: "default" 0.0;
28427                    visible: 1;
28428                    color: 255 255 255 255;
28429                }
28430                description { state: "disabled_active" 0.0;
28431                    inherit: "default" 0.0;
28432                    visible: 0;
28433                }
28434                description { state: "disabled" 0.0;
28435                    inherit: "default" 0.0;
28436                    visible: 0;
28437                }
28438            }
28439            part { name: "disabler";
28440                type: RECT;
28441                description { state: "default" 0.0;
28442                    color: 0 0 0 0;
28443                    visible: 0;
28444                }
28445                description { state: "disabled" 0.0;
28446                    inherit: "default" 0.0;
28447                    visible: 1;
28448                }
28449            }
28450        }
28451        programs {
28452            program { name: "text_show";
28453                signal: "elm,state,text,visible";
28454                source: "elm";
28455                action:  STATE_SET "visible" 0.0;
28456                target: "elm.text";
28457            }
28458            program { name: "text_hide";
28459                signal: "elm,state,text,hidden";
28460                source: "elm";
28461                action:  STATE_SET "default" 0.0;
28462                target: "elm.text";
28463            }
28464            program { name: "dec";
28465                signal: "mouse,down,1";
28466                source: "down_bt";
28467                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28468            }
28469            program { name: "dec2";
28470                signal: "mouse,up,1";
28471                source: "down_bt";
28472                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28473            }
28474            program { name: "inc";
28475                signal: "mouse,down,1";
28476                source: "up_bt";
28477                action: SIGNAL_EMIT "elm,action,increment,start" "";
28478            }
28479            program { name: "inc2";
28480                signal: "mouse,up,1";
28481                source: "up_bt";
28482                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28483            }
28484            program {
28485                name:   "down_bt_click2";
28486                signal: "mouse,down,1";
28487                source: "down_over3";
28488                action: STATE_SET "clicked" 0.0;
28489                target: "down_over3";
28490            }
28491            program {
28492                name:   "down_bt_unclick2";
28493                signal: "mouse,up,1";
28494                source: "down_over3";
28495                action: STATE_SET "default" 0.0;
28496                transition: DECELERATE 0.5;
28497                target: "down_over3";
28498            }
28499            program {
28500                name:   "up_bt_click2";
28501                signal: "mouse,down,1";
28502                source: "up_over3";
28503                action: STATE_SET "clicked" 0.0;
28504                target: "up_over3";
28505            }
28506            program {
28507                name:   "up_bt_unclick2";
28508                signal: "mouse,up,1";
28509                source: "up_over3";
28510                action: STATE_SET "default" 0.0;
28511                transition: DECELERATE 0.5;
28512                target: "up_over3";
28513            }
28514            program { name: "disable";
28515                signal: "elm,state,disabled";
28516                source: "elm";
28517                action: STATE_SET "disabled" 0.0;
28518                target: "down_bt";
28519                target: "up_bt";
28520                target: "disabler";
28521                after: "disable_text";
28522            }
28523            program { name: "disable_text";
28524                script {
28525                    new st[31];
28526                    new Float:vl;
28527                    get_state(PART:"elm.text", st, 30, vl);
28528                    if (!strcmp(st, "active"))
28529                    set_state(PART:"elm.text", "disabled_active", 0.0);
28530                    else
28531                    set_state(PART:"elm.text", "disabled", 0.0);
28532
28533                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28534                    if (!strcmp(st, "active"))
28535                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28536                    else
28537                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28538                }
28539            }
28540            program { name: "enable";
28541                signal: "elm,state,enabled";
28542                source: "elm";
28543                action: STATE_SET "default" 0.0;
28544                target: "down_bt";
28545                target: "up_bt";
28546                target: "disabler";
28547                after: "enable_text";
28548            }
28549            program { name: "enable_text";
28550                script {
28551                    new st[31];
28552                    new Float:vl;
28553                    get_state(PART:"elm.text", st, 30, vl);
28554                    if (!strcmp(st, "disabled_active"))
28555                    set_state(PART:"elm.text", "active", 0.0);
28556                    else
28557                    set_state(PART:"elm.text", "default", 0.0);
28558
28559                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28560                    if (!strcmp(st, "disabled_active"))
28561                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28562                    else
28563                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28564                }
28565            }
28566            program { name: "active";
28567                signal: "elm,state,active";
28568                source: "elm";
28569                action: STATE_SET "active" 0.0;
28570                target: "elm.text";
28571                target: "elm.swallow.entry";
28572            }
28573            program { name: "inactive";
28574                signal: "elm,state,inactive";
28575                source: "elm";
28576                action: STATE_SET "default" 0.0;
28577                target: "elm.text";
28578                target: "elm.swallow.entry";
28579            }
28580            program { name: "toggle_text";
28581                signal: "mouse,up,1";
28582                source: "button_events";
28583                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28584            }
28585        }
28586    }
28587
28588
28589    ///////////////////////////////////////////////////////////////////////////////
28590    group { name: "elm/index/base/vertical/default";
28591        images {
28592            image: "bt_base1.png" COMP;
28593            image: "bt_base2.png" COMP;
28594            image: "bt_hilight.png" COMP;
28595            image: "bt_shine.png" COMP;
28596        }
28597        parts {
28598            part { name: "clip";
28599                type: RECT;
28600                mouse_events:  0;
28601                description { state: "default" 0.0;
28602                    visible:  0;
28603                    color: 255 255 255 0;
28604                }
28605                description { state: "active" 0.0;
28606                    visible:  1;
28607                    color: 255 255 255 255;
28608                }
28609            }
28610            part { name: "clip2";
28611                type: RECT;
28612                mouse_events:  0;
28613                clip_to: "clip";
28614                description { state: "default" 0.0;
28615                    visible: 0;
28616                    color: 255 255 255 0;
28617                }
28618                description { state: "active" 0.0;
28619                    visible:  1;
28620                    color: 255 255 255 255;
28621                }
28622            }
28623            part { name: "elm.swallow.index.0";
28624                type: SWALLOW;
28625                clip_to: "clip";
28626                description { state: "default" 0.0;
28627                    align: 1.0 0.5;
28628                    fixed: 1 1;
28629                    rel1 {
28630                        relative: 1.0 0.5;
28631                        offset: -1 5;
28632                    }
28633                    rel2 {
28634                        relative: 1.0 0.5;
28635                        offset: -1 -6;
28636                    }
28637                }
28638            }
28639            part { name: "button_image";
28640                mouse_events: 1;
28641                clip_to: "clip";
28642                description { state: "default" 0.0;
28643                    rel1 {
28644                        to: "elm.text.body";
28645                        offset: -5 -5;
28646                    }
28647                    rel2 {
28648                        to: "elm.text";
28649                        offset: 4 4;
28650                    }
28651                    image {
28652                        normal: "bt_base2.png";
28653                        border: 7 7 7 7;
28654                    }
28655                    image.middle: SOLID;
28656                }
28657            }
28658            part { name: "elm.text.body";
28659                type: TEXT;
28660                effect: SOFT_SHADOW;
28661                mouse_events: 0;
28662                scale: 1;
28663                clip_to: "clip";
28664                description { state: "default" 0.0;
28665                    align: 1.0 0.5;
28666                    fixed: 1 1;
28667                    rel1 {
28668                        to: "elm.text";
28669                        relative: 0.0 0.0;
28670                        offset: 5 0;
28671                    }
28672                    rel2 {
28673                        to: "elm.text";
28674                        relative: 0.0 1.0;
28675                        offset: 5 -1;
28676                    }
28677                    color: 224 224 224 255;
28678                    color3: 0 0 0 64;
28679                    text {
28680                        font:     "Sans,Edje-Vera";
28681                        size:     20;
28682                        min:      1 1;
28683                        align:    1.0 0.5;
28684                    }
28685                }
28686            }
28687            part { name: "elm.text";
28688                type: TEXT;
28689                effect: SOFT_SHADOW;
28690                mouse_events: 0;
28691                scale: 1;
28692                clip_to: "clip";
28693                description { state: "default" 0.0;
28694                    align: 1.0 0.5;
28695                    fixed: 1 1;
28696                    rel1 {
28697                        to_x: "elm.swallow.event.0";
28698                        to_y: "elm.dragable.pointer";
28699                        relative: 0.0 0.5;
28700                        offset: -16 0;
28701                    }
28702                    rel2 {
28703                        to_x: "elm.swallow.event.0";
28704                        to_y: "elm.dragable.pointer";
28705                        relative: 0.0 0.5;
28706                        offset: -16 -1;
28707                    }
28708                    color: 255 0 0 255;
28709                    color3: 0 0 0 64;
28710                    text {
28711                        font:     "Sans,Edje-Vera";
28712                        size:     20;
28713                        min:      1 1;
28714                        align:    1.0 0.5;
28715                    }
28716                }
28717            }
28718            part {        name: "over1";
28719                mouse_events: 0;
28720                clip_to: "clip";
28721                description { state: "default" 0.0;
28722                    rel1 {
28723                        to: "button_image";
28724                    }
28725                    rel2 {
28726                        to: "button_image";
28727                        relative: 1.0 0.5;
28728                    }
28729                    image {
28730                        normal: "bt_hilight.png";
28731                        border: 7 7 7 0;
28732                    }
28733                }
28734            }
28735            part { name: "over2";
28736                mouse_events: 1;
28737                repeat_events: 1;
28738                ignore_flags: ON_HOLD;
28739                clip_to: "clip";
28740                description { state: "default" 0.0;
28741                    rel1 {
28742                        to: "button_image";
28743                    }
28744                    rel2 {
28745                        to: "button_image";
28746                    }
28747                    image {
28748                        normal: "bt_shine.png";
28749                        border: 7 7 7 7;
28750                    }
28751                }
28752            }
28753            part { name: "elm.dragable.pointer";
28754                type: RECT;
28755                mouse_events: 0;
28756                dragable {
28757                    x: 1 1 0;
28758                    y: 1 1 0;
28759                }
28760                clip_to: "clip";
28761                description { state: "default" 0.0;
28762                    fixed: 1 1;
28763                    min: 8 8;
28764                    max: 8 8;
28765                    visible: 0;
28766                    rel1 {
28767                        relative: 0.0 0.0;
28768                        offset:   0 0;
28769                    }
28770                    rel2 {
28771                        relative: 0.0 0.0;
28772                        offset:   0 0;
28773                    }
28774                }
28775            }
28776            part { name: "elm.swallow.event.0";
28777                type: SWALLOW;
28778                description { state: "default" 0.0;
28779                    align: 1.0 0.5;
28780                    fixed: 1 1;
28781                    rel1 {
28782                        relative: 1.0 0.0;
28783                        offset: -1 0;
28784                    }
28785                    rel2 {
28786                        relative: 1.0 1.0;
28787                        offset: -1 -1;
28788                    }
28789                }
28790            }
28791        }
28792        programs {
28793            program { name: "active";
28794                signal: "elm,state,active";
28795                source: "elm";
28796                action: STATE_SET "active" 0.0;
28797                transition: DECELERATE 0.5;
28798                target: "clip";
28799            }
28800            program { name: "inactive";
28801                signal: "elm,state,inactive";
28802                source: "elm";
28803                action: STATE_SET "default" 0.0;
28804                transition: DECELERATE 0.5;
28805                target: "clip";
28806            }
28807        }
28808    }
28809
28810    group { name: "elm/index/item/vertical/default";
28811        data.item: "stacking" "above";
28812        data.item: "selectraise" "on";
28813        images {
28814            image: "ilist_1.png" COMP;
28815            image: "ilist_item_shadow.png" COMP;
28816        }
28817        parts {
28818            part {
28819                name: "base_sh";
28820                mouse_events: 0;
28821                description {
28822                    state: "default" 0.0;
28823                    align: 0.0 0.0;
28824                    min: 0 10;
28825                    fixed: 1 1;
28826                    rel1 {
28827                        to: "base";
28828                        relative: 0.0 1.0;
28829                        offset: 0 0;
28830                    }
28831                    rel2 {
28832                        to: "base";
28833                        relative: 1.0 1.0;
28834                        offset: -1 0;
28835                    }
28836                    image {
28837                        normal: "ilist_item_shadow.png";
28838                    }
28839                    fill.smooth: 0;
28840                }
28841            }
28842            part {
28843                name: "base";
28844                mouse_events: 0;
28845                description {
28846                    state: "default" 0.0;
28847                    image {
28848                        normal: "ilist_1.png";
28849                        border: 2 2 2 2;
28850                    }
28851                    fill.smooth: 0;
28852                }
28853                description { state: "active" 0.0;
28854                    inherit: "default" 0.0;
28855                    rel1 {
28856                        offset: -16 0;
28857                    }
28858                }
28859            }
28860            part { name: "elm.text";
28861                type:           TEXT;
28862                mouse_events:   0;
28863                scale: 1;
28864                description {
28865                    state: "default" 0.0;
28866                           //               min: 16 16;
28867                    rel1 {
28868                        to: "base";
28869                        relative: 0.0  0.0;
28870                        offset:   4 4;
28871                    }
28872                    rel2 {
28873                        to: "base";
28874                        relative: 0.5  1.0;
28875                        offset:   -1 -1;
28876                    }
28877                    color: 0 0 0 128;
28878                    text {
28879                        font: "Sans";
28880                        size: 10;
28881                        min: 1 1;
28882                             //                  min: 0 1;
28883                        align: 0.5 0.5;
28884                    }
28885                }
28886                description { state: "active" 0.0;
28887                    inherit: "default" 0.0;
28888                    color: 0 0 0 255;
28889                }
28890            }
28891        }
28892        programs {
28893            program { name: "active";
28894                signal: "elm,state,active";
28895                source: "elm";
28896                action: STATE_SET "active" 0.0;
28897                transition: DECELERATE 0.5;
28898                target: "elm.text";
28899                target: "base";
28900            }
28901            program { name: "inactive";
28902                signal: "elm,state,inactive";
28903                source: "elm";
28904                action: STATE_SET "default" 0.0;
28905                transition: DECELERATE 0.5;
28906                target: "elm.text";
28907                target: "base";
28908            }
28909        }
28910    }
28911
28912    group { name: "elm/index/item_odd/vertical/default";
28913        data.item: "stacking" "below";
28914        images {
28915            image: "ilist_2.png" COMP;
28916        }
28917        parts {
28918            part {
28919                name: "base";
28920                mouse_events: 0;
28921                description {
28922                    state: "default" 0.0;
28923                    image {
28924                        normal: "ilist_2.png";
28925                        border: 2 2 2 2;
28926                    }
28927                    fill.smooth: 0;
28928                }
28929                description { state: "active" 0.0;
28930                    inherit: "default" 0.0;
28931                    rel1 {
28932                        offset: -16 0;
28933                    }
28934                }
28935            }
28936            part { name: "elm.text";
28937                type:           TEXT;
28938                mouse_events:   0;
28939                scale: 1;
28940                description {
28941                    state: "default" 0.0;
28942                           //               min: 16 16;
28943                    rel1 {
28944                        to: "base";
28945                        relative: 0.0  0.0;
28946                        offset:   4 4;
28947                    }
28948                    rel2 {
28949                        to: "base";
28950                        relative: 0.5  1.0;
28951                        offset:   -1 -1;
28952                    }
28953                    color: 0 0 0 128;
28954                    text {
28955                        font: "Sans";
28956                        size: 10;
28957                        min: 1 1;
28958                             //                  min: 0 1;
28959                        align: 0.5 0.5;
28960                    }
28961                }
28962                description { state: "active" 0.0;
28963                    inherit: "default" 0.0;
28964                    color: 0 0 0 255;
28965                }
28966            }
28967        }
28968        programs {
28969            program { name: "active";
28970                signal: "elm,state,active";
28971                source: "elm";
28972                action: STATE_SET "active" 0.0;
28973                transition: DECELERATE 0.5;
28974                target: "elm.text";
28975                target: "base";
28976            }
28977            program { name: "inactive";
28978                signal: "elm,state,inactive";
28979                source: "elm";
28980                action: STATE_SET "default" 0.0;
28981                transition: DECELERATE 0.5;
28982                target: "elm.text";
28983                target: "base";
28984            }
28985        }
28986    }
28987
28988 ///////////////////////////////////////////////////////////////////////////////
28989    group { name: "elm/gengrid/item/default/default";
28990       data.item: "labels" "elm.text";
28991       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28992       images {
28993          image: "bt_sm_base1.png" COMP;
28994          image: "bt_sm_shine.png" COMP;
28995          image: "bt_sm_hilight.png" COMP;
28996          image: "ilist_1.png" COMP;
28997          image: "ilist_item_shadow.png" COMP;
28998       }
28999       parts {
29000          part { name: "event";
29001             type: RECT;
29002             repeat_events: 1;
29003             description {
29004                state: "default" 0.0;
29005                color: 0 0 0 0;
29006             }
29007          }
29008          part { name: "reorder_bg";
29009             mouse_events: 0;
29010             description { state: "default" 0.0;
29011                visible: 0;
29012                color: 255 255 255 0;
29013                rel1 {
29014                   relative: 0.0 0.0;
29015                   offset: -10 -10;
29016                }
29017                rel2 {
29018                   relative: 1.0 1.0;
29019                   offset: 12 12;
29020                }
29021                image {
29022                   normal: "bt_bases.png";
29023                   border: 6 6 6 6;
29024                }
29025             }
29026             description { state: "enabled" 0.0;
29027                inherit: "default" 0.0;
29028                visible: 1;
29029                color: 255 255 255 255;
29030             }
29031          }
29032          part { name: "base_sh";
29033             mouse_events: 0;
29034             description { state: "default" 0.0;
29035                align: 0.0 0.0;
29036                min: 0 10;
29037                fixed: 1 1;
29038                rel1 {
29039                   to: "base";
29040                   relative: 0.0 1.0;
29041                   offset: 0 0;
29042                }
29043                rel2 {
29044                   to: "base";
29045                   relative: 1.0 1.0;
29046                   offset: -1 0;
29047                }
29048                image {
29049                   normal: "ilist_item_shadow.png";
29050                }
29051                fill.smooth: 0;
29052             }
29053          }
29054          part { name: "base";
29055             mouse_events: 0;
29056             description { state: "default" 0.0;
29057                image {
29058                   normal: "ilist_1.png";
29059                   border: 2 2 2 2;
29060                }
29061                fill.smooth: 0;
29062             }
29063          }
29064          part { name: "bg";
29065             clip_to: "disclip";
29066             mouse_events: 0;
29067             description { state: "default" 0.0;
29068                visible: 0;
29069                color: 255 255 255 0;
29070                rel1 {
29071                   relative: 0.0 0.0;
29072                   offset: -5 -5;
29073                }
29074                rel2 {
29075                   relative: 1.0 1.0;
29076                   offset: 4 4;
29077                }
29078                image {
29079                   normal: "bt_sm_base1.png";
29080                   border: 6 6 6 6;
29081                }
29082                image.middle: SOLID;
29083             }
29084             description { state: "selected" 0.0;
29085                inherit: "default" 0.0;
29086                visible: 1;
29087                color: 255 255 255 255;
29088                rel1 {
29089                   relative: 0.0 0.0;
29090                   offset: -2 -2;
29091                }
29092                rel2 {
29093                   relative: 1.0 1.0;
29094                   offset: 1 1;
29095                }
29096             }
29097          }
29098          part { name: "elm.swallow.pad";
29099             type: SWALLOW;
29100             description { state: "default" 0.0;
29101                fixed: 1 0;
29102                align: 0.0 0.5;
29103                rel1 {
29104                   relative: 0.0  1.0;
29105                   offset:   0    -10;
29106                }
29107                rel2 {
29108                   to_y: "elm.text";
29109                   relative: 0.0  0.0;
29110                   offset:   -1   -1;
29111                }
29112             }
29113          }
29114          part { name: "elm.swallow.icon";
29115             clip_to: "disclip";
29116             type: SWALLOW;
29117             description { state: "default" 0.0;
29118                fixed: 1 0;
29119                align: 0.5 0.5;
29120                rel1 {
29121                   relative: 0.0  0.0;
29122                   offset:   -1    4;
29123                }
29124                rel2 {
29125                   to_y: "elm.swallow.pad";
29126                   relative: 1.0  0.0;
29127                   offset:   -1   -5;
29128                }
29129             }
29130          }
29131          part { name: "elm.swallow.end";
29132             clip_to: "disclip";
29133             type: SWALLOW;
29134             description { state: "default" 0.0;
29135                fixed: 1 0;
29136                align: 1.0 0.0;
29137                aspect: 1.0 1.0;
29138                aspect_preference: HORIZONTAL;
29139                rel1 {
29140                   relative: 1.0 0.0;
29141                   offset: -5 -5;
29142                }
29143                rel2 {
29144                   relative: 1.0 1.0;
29145                   offset: 5 5;
29146                }
29147             }
29148          }
29149          part { name: "elm.text";
29150             clip_to: "disclip";
29151             type: TEXT;
29152             effect: SOFT_SHADOW;
29153             mouse_events: 0;
29154             scale: 1;
29155             description { state: "default" 0.0;
29156                rel1 {
29157                   relative: 0.0  1.0;
29158                   offset: 0 0;
29159                }
29160                rel2 {
29161                   relative: 1.0  1.0;
29162                   offset: -5 -5;
29163                }
29164                color: 0 0 0 255;
29165                color3: 0 0 0 0;
29166                text {
29167                   font: "Sans";
29168                   size: 10;
29169                   min: 0 1;
29170                   align: 0.5 0.0;
29171                   text_class: "grid_item";
29172                }
29173             }
29174             description { state: "selected" 0.0;
29175                inherit: "default" 0.0;
29176                color: 224 224 224 255;
29177                color3: 0 0 0 64;
29178             }
29179          }
29180          part { name: "fg1";
29181             clip_to: "disclip";
29182             mouse_events: 0;
29183             description { state: "default" 0.0;
29184                visible: 0;
29185                color: 255 255 255 0;
29186                rel1.to: "bg";
29187                rel2.relative: 1.0 0.5;
29188                rel2.to: "bg";
29189                image {
29190                   normal: "bt_sm_hilight.png";
29191                   border: 6 6 6 0;
29192                }
29193             }
29194             description { state: "selected" 0.0;
29195                inherit: "default" 0.0;
29196                visible: 1;
29197                color: 255 255 255 255;
29198             }
29199          }
29200          part { name: "fg2";
29201             clip_to: "disclip";
29202             mouse_events: 0;
29203             description { state: "default" 0.0;
29204                visible: 0;
29205                color: 255 255 255 0;
29206                rel1.to: "bg";
29207                rel2.to: "bg";
29208                image {
29209                   normal: "bt_sm_shine.png";
29210                   border: 6 6 6 0;
29211                }
29212             }
29213             description { state: "selected" 0.0;
29214                inherit: "default" 0.0;
29215                visible: 1;
29216                color: 255 255 255 255;
29217             }
29218          }
29219          part { name: "disclip";
29220             type: RECT;
29221             description { state: "default" 0.0;
29222                rel1.to: "bg";
29223                rel2.to: "bg";
29224             }
29225             description { state: "disabled" 0.0;
29226                inherit: "default" 0.0;
29227                color: 255 255 255 64;
29228             }
29229          }
29230       }
29231       programs {
29232          // signal: elm,state,%s,active
29233          //   a "check" item named %s went active
29234          // signal: elm,state,%s,passive
29235          //   a "check" item named %s went passive
29236          // default is passive
29237          program { name:    "go_active";
29238             signal:  "elm,state,selected";
29239             source:  "elm";
29240             action:  STATE_SET "selected" 0.0;
29241             target:  "bg";
29242             target:  "fg1";
29243             target:  "fg2";
29244             target:  "elm.text";
29245          }
29246          program { name:    "go_passive";
29247             signal:  "elm,state,unselected";
29248             source:  "elm";
29249             action:  STATE_SET "default" 0.0;
29250             target:  "bg";
29251             target:  "fg1";
29252             target:  "fg2";
29253             target:  "elm.text";
29254             transition: LINEAR 0.1;
29255          }
29256          program { name:    "go_disabled";
29257             signal:  "elm,state,disabled";
29258             source:  "elm";
29259             action:  STATE_SET "disabled" 0.0;
29260             target:  "disclip";
29261          }
29262          program { name:    "go_enabled";
29263             signal:  "elm,state,enabled";
29264             source:  "elm";
29265             action:  STATE_SET "default" 0.0;
29266             target:  "disclip";
29267          }
29268          program { name:    "go_reorder_disabled";
29269             signal:  "elm,state,reorder,disabled";
29270             source:  "elm";
29271             action:  STATE_SET "default" 0.0;
29272             target:  "reorder_bg";
29273             transition: DECELERATE 0.5;
29274          }
29275          program { name:    "go_reorder_enabled";
29276             signal:  "elm,state,reorder,enabled";
29277             source:  "elm";
29278             action:  STATE_SET "enabled" 0.0;
29279             target:  "reorder_bg";
29280             transition: DECELERATE 0.5;
29281          }
29282       }
29283    }
29284    group { name: "elm/gengrid/item/default_style/default";
29285        styles
29286        {
29287            style { name: "gengrid_style";
29288                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29289                tag:  "br" "\n";
29290                tag:  "ps" "ps";
29291                tag:  "hilight" "+ font=Sans:style=Bold";
29292                tag:  "b" "+ font=Sans:style=Bold";
29293                tag:  "tab" "\t";
29294            }
29295            style { name: "gengrid_selected_style";
29296                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29297                tag:  "br" "\n";
29298                tag:  "ps" "ps";
29299                tag:  "hilight" "+ font=Sans:style=Bold";
29300                tag:  "b" "+ font=Sans:style=Bold";
29301                tag:  "tab" "\t";
29302            }
29303        }
29304        data.item: "labels" "elm.text";
29305        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29306        images {
29307            image: "bt_sm_base1.png" COMP;
29308            image: "bt_sm_shine.png" COMP;
29309            image: "bt_sm_hilight.png" COMP;
29310            image: "ilist_1.png" COMP;
29311            image: "ilist_item_shadow.png" COMP;
29312        }
29313        parts {
29314            part { name: "event";
29315                type: RECT;
29316                repeat_events: 1;
29317                description { state: "default" 0.0;
29318                    color: 0 0 0 0;
29319                }
29320            }
29321            part { name: "base_sh";
29322                mouse_events: 0;
29323                description { state: "default" 0.0;
29324                    align: 0.0 0.0;
29325                    min: 0 10;
29326                    fixed: 1 1;
29327                    rel1 {
29328                        to: "base";
29329                        relative: 0.0 1.0;
29330                        offset: 0 0;
29331                    }
29332                    rel2 {
29333                        to: "base";
29334                        relative: 1.0 1.0;
29335                        offset: -1 0;
29336                    }
29337                    image {
29338                        normal: "ilist_item_shadow.png";
29339                    }
29340                    fill.smooth: 0;
29341                }
29342            }
29343            part { name: "base";
29344                mouse_events: 0;
29345                description { state: "default" 0.0;
29346                    min: 16 28;
29347                    image {
29348                        normal: "ilist_1.png";
29349                        border: 2 2 2 2;
29350                    }
29351                    fill.smooth: 0;
29352                }
29353            }
29354            part { name: "bg";
29355                clip_to: "disclip";
29356                mouse_events: 0;
29357                description { state: "default" 0.0;
29358                    visible: 0;
29359                    color: 255 255 255 0;
29360                    rel1 {
29361                        relative: 0.0 0.0;
29362                        offset: -5 -5;
29363                    }
29364                    rel2 {
29365                        relative: 1.0 1.0;
29366                        offset: 4 4;
29367                    }
29368                    image {
29369                        normal: "bt_sm_base1.png";
29370                        border: 6 6 6 6;
29371                    }
29372                    image.middle: SOLID;
29373                }
29374                description { state: "selected" 0.0;
29375                    inherit: "default" 0.0;
29376                    visible: 1;
29377                    color: 255 255 255 255;
29378                    rel1 {
29379                        relative: 0.0 0.0;
29380                        offset: -2 -2;
29381                    }
29382                    rel2 {
29383                        relative: 1.0 1.0;
29384                        offset: 1 1;
29385                    }
29386                }
29387            }
29388            part { name: "elm.swallow.pad";
29389                type: SWALLOW;
29390                description { state: "default" 0.0;
29391                    fixed: 1 0;
29392                    align: 0.0 0.5;
29393                    rel1 {
29394                        relative: 0.0  0.0;
29395                        offset:   4    4;
29396                    }
29397                    rel2 {
29398                        relative: 0.0  1.0;
29399                        offset:   4   -5;
29400                    }
29401                }
29402            }
29403            part { name: "elm.swallow.icon";
29404                clip_to: "disclip";
29405                type: SWALLOW;
29406                description { state: "default" 0.0;
29407                    fixed: 1 0;
29408                    align: 0.0 0.5;
29409                    rel1 {
29410                        to_x: "elm.swallow.pad";
29411                        relative: 1.0  0.0;
29412                        offset:   -1    4;
29413                    }
29414                    rel2 {
29415                        to_x: "elm.swallow.pad";
29416                        relative: 1.0  1.0;
29417                        offset:   -1   -5;
29418                    }
29419                }
29420            }
29421            part { name: "elm.swallow.end";
29422                clip_to: "disclip";
29423                type: SWALLOW;
29424                description { state: "default" 0.0;
29425                    fixed: 1 0;
29426                    align: 1.0 0.5;
29427                    aspect: 1.0 1.0;
29428                    aspect_preference: VERTICAL;
29429                    rel1 {
29430                        relative: 1.0  0.0;
29431                        offset:   -5    4;
29432                    }
29433                    rel2 {
29434                        relative: 1.0  1.0;
29435                        offset:   -5   -5;
29436                    }
29437                }
29438            }
29439            part { name: "elm.text";
29440                clip_to: "disclip";
29441                type: TEXTBLOCK;
29442                mouse_events: 0;
29443                scale: 1;
29444                description {
29445                    state: "default" 0.0;
29446                    align: 0.0 0.5;
29447                    fixed: 0 1;
29448                    rel1 {
29449                        to_x: "elm.swallow.icon";
29450                        to_y: "base";
29451                        relative: 1.0  0.5;
29452                        offset:   0 4;
29453                    }
29454                    rel2 {
29455                        to_x: "elm.swallow.end";
29456                        to_y: "base";
29457                        relative: 0.0  0.5;
29458                        offset:   -1 -5;
29459                    }
29460                    text {
29461                        style: "gengrid_style";
29462                        min: 1 1;
29463                    }
29464                }
29465                description { state: "selected" 0.0;
29466                    inherit: "default" 0.0;
29467                    text {
29468                        style: "gengrid_selected_style";
29469                    }
29470                }
29471            }
29472            part { name: "fg1";
29473                clip_to: "disclip";
29474                mouse_events: 0;
29475                description { state: "default" 0.0;
29476                    visible: 0;
29477                    color: 255 255 255 0;
29478                    rel1.to: "bg";
29479                    rel2.relative: 1.0 0.5;
29480                    rel2.to: "bg";
29481                    image {
29482                        normal: "bt_sm_hilight.png";
29483                        border: 6 6 6 0;
29484                    }
29485                }
29486                description { state: "selected" 0.0;
29487                    inherit: "default" 0.0;
29488                    visible: 1;
29489                    color: 255 255 255 255;
29490                }
29491            }
29492            part { name: "fg2";
29493                clip_to: "disclip";
29494                mouse_events: 0;
29495                description { state: "default" 0.0;
29496                    visible: 0;
29497                    color: 255 255 255 0;
29498                    rel1.to: "bg";
29499                    rel2.to: "bg";
29500                    image {
29501                        normal: "bt_sm_shine.png";
29502                        border: 6 6 6 0;
29503                    }
29504                }
29505                description { state: "selected" 0.0;
29506                    inherit: "default" 0.0;
29507                    visible: 1;
29508                    color: 255 255 255 255;
29509                }
29510            }
29511            part { name: "disclip";
29512                type: RECT;
29513                description { state: "default" 0.0;
29514                    rel1.to: "bg";
29515                    rel2.to: "bg";
29516                }
29517                description { state: "disabled" 0.0;
29518                    inherit: "default" 0.0;
29519                    color: 255 255 255 64;
29520                }
29521            }
29522        }
29523        programs {
29524            // signal: elm,state,%s,active
29525            //   a "check" item named %s went active
29526            // signal: elm,state,%s,passive
29527            //   a "check" item named %s went passive
29528            // default is passive
29529            program { name:    "go_active";
29530                signal:  "elm,state,selected";
29531                source:  "elm";
29532                action:  STATE_SET "selected" 0.0;
29533                target:  "bg";
29534                target:  "fg1";
29535                target:  "fg2";
29536                target:  "elm.text";
29537            }
29538            program { name:    "go_passive";
29539                signal:  "elm,state,unselected";
29540                source:  "elm";
29541                action:  STATE_SET "default" 0.0;
29542                target:  "bg";
29543                target:  "fg1";
29544                target:  "fg2";
29545                target:  "elm.text";
29546                transition: LINEAR 0.1;
29547            }
29548            program { name:    "go_disabled";
29549                signal:  "elm,state,disabled";
29550                source:  "elm";
29551                action:  STATE_SET "disabled" 0.0;
29552                target:  "disclip";
29553            }
29554            program { name:    "go_enabled";
29555                signal:  "elm,state,enabled";
29556                source:  "elm";
29557                action:  STATE_SET "default" 0.0;
29558                target:  "disclip";
29559            }
29560        }
29561    }
29562
29563    group { name: "elm/gengrid/item/up/default";
29564       data.item: "labels" "elm.text";
29565       images {
29566           image: "bt_sm_base1.png" COMP;
29567           image: "bt_sm_shine.png" COMP;
29568           image: "bt_sm_hilight.png" COMP;
29569           image: "arrow_up.png" COMP;
29570       }
29571       parts {
29572          part { name: "event";
29573             type: RECT;
29574             repeat_events: 1;
29575             description { state: "default" 0.0;
29576                color: 0 0 0 0;
29577             }
29578          }
29579          part { name: "bg";
29580             clip_to: "disclip";
29581             mouse_events: 0;
29582             description { state: "default" 0.0;
29583                visible: 0;
29584                color: 255 255 255 0;
29585                rel1.offset: -3 -3;
29586                rel2.offset: 2 2;
29587                image { normal: "bt_sm_base1.png";
29588                   border: 6 6 6 6;
29589                   middle: SOLID;
29590                }
29591             }
29592             description { state: "selected" 0.0;
29593                inherit: "default" 0.0;
29594                visible: 1;
29595                color: 255 255 255 255;
29596             }
29597          }
29598          part { name: "image";
29599              type: IMAGE;
29600              mouse_events: 0;
29601              description { state: "default" 0.0;
29602                  aspect_preference: BOTH;
29603                  aspect: 1.0 1.0;
29604                  image.normal: "arrow_up.png";
29605                  rel2 {
29606                      to_y: "elm.text";
29607                      relative: 1.0 0.0;
29608                      offset: -1 -2;
29609                  }
29610              }
29611          }
29612          part { name: "elm.text";
29613             clip_to: "disclip";
29614             type: TEXT;
29615             effect: SOFT_SHADOW;
29616             mouse_events: 0;
29617             scale: 1;
29618             description { state: "default" 0.0;
29619                rel1 {
29620                   relative: 0.0  1.0;
29621                   offset: 20 -25;
29622                }
29623                rel2 {
29624                   relative: 1.0  1.0;
29625                   offset: -21 -3;
29626                }
29627                color: 0 0 0 255;
29628                color3: 0 0 0 0;
29629                text {
29630                   font: "Sans";
29631                   size: 10;
29632                   min: 0 1;
29633                   align: 0.5 0.0;
29634                   text_class: "grid_item";
29635                }
29636             }
29637             description { state: "selected" 0.0;
29638                inherit: "default" 0.0;
29639                color: 224 224 224 255;
29640                color3: 0 0 0 64;
29641             }
29642          }
29643          part { name: "fg1";
29644             clip_to: "disclip";
29645             mouse_events: 0;
29646             description { state: "default" 0.0;
29647                visible: 0;
29648                color: 255 255 255 0;
29649                rel1.offset: -3 -3;
29650                rel2 {
29651                    relative: 1.0 0.5;
29652                    offset: 2 -1;
29653                }
29654                image {
29655                   normal: "bt_sm_hilight.png";
29656                   border: 6 6 6 0;
29657                }
29658             }
29659             description { state: "selected" 0.0;
29660                inherit: "default" 0.0;
29661                visible: 1;
29662                color: 255 255 255 255;
29663             }
29664          }
29665          part { name: "fg2";
29666             clip_to: "disclip";
29667             mouse_events: 0;
29668             description { state: "default" 0.0;
29669                visible: 0;
29670                color: 255 255 255 0;
29671                rel1.offset: -3 -3;
29672                rel2.offset: 2 2;
29673                image {
29674                   normal: "bt_sm_shine.png";
29675                   border: 6 6 6 0;
29676                }
29677             }
29678             description { state: "selected" 0.0;
29679                inherit: "default" 0.0;
29680                visible: 1;
29681                color: 255 255 255 255;
29682             }
29683          }
29684          part { name: "disclip";
29685             type: RECT;
29686             description { state: "default" 0.0;
29687                rel1.to: "bg";
29688                rel2.to: "bg";
29689             }
29690             description { state: "disabled" 0.0;
29691                inherit: "default" 0.0;
29692                color: 255 255 255 64;
29693             }
29694          }
29695       }
29696       programs {
29697          program { name:    "go_active";
29698             signal:  "elm,state,selected";
29699             source:  "elm";
29700             action:  STATE_SET "selected" 0.0;
29701             target:  "bg";
29702             target:  "fg1";
29703             target:  "fg2";
29704             target:  "elm.text";
29705          }
29706          program { name:    "go_passive";
29707             signal:  "elm,state,unselected";
29708             source:  "elm";
29709             action:  STATE_SET "default" 0.0;
29710             target:  "bg";
29711             target:  "fg1";
29712             target:  "fg2";
29713             target:  "elm.text";
29714             transition: LINEAR 0.1;
29715          }
29716          program { name:    "go_disabled";
29717             signal:  "elm,state,disabled";
29718             source:  "elm";
29719             action:  STATE_SET "disabled" 0.0;
29720             target:  "disclip";
29721          }
29722          program { name:    "go_enabled";
29723             signal:  "elm,state,enabled";
29724             source:  "elm";
29725             action:  STATE_SET "default" 0.0;
29726             target:  "disclip";
29727          }
29728       }
29729    }
29730
29731    group { name: "elm/gengrid/item/album-preview/default";
29732       data.item: "labels" "elm.text";
29733       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29734       data.item: "states" "have_files";
29735       images {
29736          image: "bt_sm_base1.png" COMP;
29737          image: "bt_sm_shine.png" COMP;
29738          image: "bt_sm_hilight.png" COMP;
29739          image: "icon_folder.png" COMP;
29740       }
29741       parts {
29742          part { name: "event";
29743             type: RECT;
29744             repeat_events: 1;
29745             description { state: "default" 0.0;
29746                color: 0 0 0 0;
29747             }
29748          }
29749          part { name: "bg";
29750             clip_to: "disclip";
29751             mouse_events: 0;
29752             description { state: "default" 0.0;
29753                visible: 0;
29754                color: 255 255 255 0;
29755                rel1.offset: -3 -3;
29756                rel2.offset: 2 2;
29757                image {
29758                   normal: "bt_sm_base1.png";
29759                   border: 6 6 6 6;
29760                   middle: SOLID;
29761                }
29762             }
29763             description { state: "selected" 0.0;
29764                inherit: "default" 0.0;
29765                visible: 1;
29766                color: 255 255 255 255;
29767             }
29768          }
29769          part { name: "image";
29770              type: IMAGE;
29771              mouse_events: 0;
29772              description { state: "default" 0.0;
29773                  aspect_preference: BOTH;
29774                  aspect: 1.0 1.0;
29775                  image.normal: "icon_folder.png";
29776                  rel2 {
29777                      to_y: "elm.text";
29778                      relative: 1.0 0.0;
29779                      offset: -1 -2;
29780                  }
29781              }
29782          }
29783          part { name: "have-files-clipper";
29784              type: RECT;
29785              description { state: "default" 0.0;
29786                  color: 255 255 255 0;
29787                  visible: 0;
29788              }
29789              description { state: "visible" 0.0;
29790                  inherit: "default" 0.0;
29791                  color: 255 255 255 255;
29792                  visible: 1;
29793              }
29794          }
29795          part { name: "icon_box_margin";
29796              type: RECT;
29797              mouse_events: 0;
29798              clip_to: "have-files-clipper";
29799              description { state: "default" 0.0;
29800                  color: 0 0 0 255;
29801                  rel1 {
29802                      to: "icon_box";
29803                      offset: -1 -1;
29804                  }
29805                  rel2 {
29806                      to: "icon_box";
29807                      offset: 0 0;
29808                  }
29809              }
29810          }
29811          part { name: "icon_box";
29812              type: RECT;
29813              mouse_events: 0;
29814              clip_to: "have-files-clipper";
29815              description { state: "default" 0.0;
29816                  color: 255 255 255 255;
29817                  align: 1.0 1.0;
29818                  min: 32 32;
29819                  rel1 {
29820                      relative: 0.25 0.25;
29821                      offset: 0 0;
29822                  }
29823                  rel2 {
29824                      relative: 1.0 0.0;
29825                      offset: -11 -4;
29826                      to_y: "elm.text";
29827                  }
29828              }
29829          }
29830          part { name: "elm.swallow.icon.1";
29831              type: SWALLOW;
29832              mouse_events: 0;
29833              clip_to: "have-files-clipper";
29834              description { state: "default" 0.0;
29835                rel1 {
29836                   relative: 0.0  0.0;
29837                   to: "icon_box";
29838                }
29839                rel2 {
29840                   relative: 0.5  0.5;
29841                   offset: -1 -1;
29842                   to: "icon_box";
29843                }
29844             }
29845          }
29846          part { name: "elm.swallow.icon.2";
29847              type: SWALLOW;
29848              mouse_events: 0;
29849              clip_to: "have-files-clipper";
29850              description { state: "default" 0.0;
29851                rel1 {
29852                   relative: 0.5  0.0;
29853                   to: "icon_box";
29854                }
29855                rel2 {
29856                   relative: 1.0  0.5;
29857                   offset: -1 -1;
29858                   to: "icon_box";
29859                }
29860             }
29861          }
29862          part { name: "elm.swallow.icon.3";
29863              type: SWALLOW;
29864              mouse_events: 0;
29865              clip_to: "have-files-clipper";
29866              description { state: "default" 0.0;
29867                rel1 {
29868                   relative: 0.0  0.5;
29869                   to: "icon_box";
29870                }
29871                rel2 {
29872                   relative: 0.5  1.0;
29873                   offset: -1 -1;
29874                   to: "icon_box";
29875                }
29876             }
29877          }
29878          part { name: "elm.swallow.icon.4";
29879              type: SWALLOW;
29880              mouse_events: 0;
29881              clip_to: "have-files-clipper";
29882              description { state: "default" 0.0;
29883                rel1 {
29884                   relative: 0.5  0.5;
29885                   to: "icon_box";
29886                }
29887                rel2 {
29888                   relative: 1.0  1.0;
29889                   offset: -1 -1;
29890                   to: "icon_box";
29891                }
29892             }
29893          }
29894          part { name: "elm.text";
29895             clip_to: "disclip";
29896             type: TEXT;
29897             effect: SOFT_SHADOW;
29898             mouse_events: 0;
29899             scale: 1;
29900             description { state: "default" 0.0;
29901                rel1 {
29902                   relative: 0.0  1.0;
29903                   offset: 20 -30;
29904                }
29905                rel2 {
29906                   relative: 1.0  1.0;
29907                   offset: -21 -15;
29908                }
29909                color: 0 0 0 255;
29910                color3: 0 0 0 0;
29911                text {
29912                   font: "Sans";
29913                   size: 10;
29914                   min: 0 1;
29915                   align: 0.5 0.0;
29916                   text_class: "grid_item";
29917                }
29918             }
29919             description { state: "selected" 0.0;
29920                 inherit: "default" 0.0;
29921                 color: 255 255 255 255;
29922             }
29923          }
29924          part { name: "fg1";
29925             clip_to: "disclip";
29926             mouse_events: 0;
29927             description { state: "default" 0.0;
29928                visible: 0;
29929                color: 255 255 255 0;
29930                rel1.offset: -3 -3;
29931                rel2 {
29932                    relative: 1.0 0.5;
29933                    offset: 2 -1;
29934                }
29935                image {
29936                   normal: "bt_sm_hilight.png";
29937                   border: 6 6 6 0;
29938                }
29939             }
29940             description { state: "selected" 0.0;
29941                inherit: "default" 0.0;
29942                visible: 1;
29943                color: 255 255 255 255;
29944             }
29945          }
29946          part { name: "fg2";
29947             clip_to: "disclip";
29948             mouse_events: 0;
29949             description { state: "default" 0.0;
29950                visible: 0;
29951                color: 255 255 255 0;
29952                rel1.offset: -3 -3;
29953                rel2.offset: 2 2;
29954                image {
29955                   normal: "bt_sm_shine.png";
29956                   border: 6 6 6 0;
29957                }
29958             }
29959             description { state: "selected" 0.0;
29960                inherit: "default" 0.0;
29961                visible: 1;
29962                color: 255 255 255 255;
29963             }
29964          }
29965          part { name: "disclip";
29966             type: RECT;
29967             description { state: "default" 0.0;
29968                rel1.to: "bg";
29969                rel2.to: "bg";
29970             }
29971             description { state: "disabled" 0.0;
29972                inherit: "default" 0.0;
29973                color: 255 255 255 64;
29974             }
29975          }
29976       }
29977       programs {
29978          program { name:    "go_active";
29979             signal:  "elm,state,selected";
29980             source:  "elm";
29981             action:  STATE_SET "selected" 0.0;
29982             target:  "bg";
29983             target:  "fg1";
29984             target:  "fg2";
29985             target:  "elm.text";
29986          }
29987          program { name:    "go_passive";
29988             signal:  "elm,state,unselected";
29989             source:  "elm";
29990             action:  STATE_SET "default" 0.0;
29991             target:  "bg";
29992             target:  "fg1";
29993             target:  "fg2";
29994             target:  "elm.text";
29995             transition: LINEAR 0.1;
29996          }
29997          program { name:    "go_disabled";
29998             signal:  "elm,state,disabled";
29999             source:  "elm";
30000             action:  STATE_SET "disabled" 0.0;
30001             target:  "disclip";
30002          }
30003          program { name:    "go_enabled";
30004             signal:  "elm,state,enabled";
30005             source:  "elm";
30006             action:  STATE_SET "default" 0.0;
30007             target:  "disclip";
30008          }
30009          program {
30010              signal: "elm,state,have_files,active";
30011              source: "elm";
30012              action: STATE_SET "visible" 0.0;
30013              target: "have-files-clipper";
30014          }
30015       }
30016    }
30017
30018    group { name: "elm/gengrid/item/thumb/default";
30019        data {
30020            item: "icons" "elm.swallow.icon";
30021            item: "labels" "elm.text";
30022        }
30023        images {
30024            image: "bt_sm_base1.png" COMP;
30025            image: "bt_sm_shine.png" COMP;
30026            image: "bt_sm_hilight.png" COMP;
30027            image: "thumb_shadow.png" COMP;
30028        }
30029        parts {
30030            part { name: "event";
30031                type: RECT;
30032                repeat_events: 1;
30033                description { state: "default" 0.0;
30034                    color: 0 0 0 0;
30035                }
30036            }
30037            part { name: "bg";
30038                mouse_events: 0;
30039                description { state: "default" 0.0;
30040                    visible: 0;
30041                    color: 255 255 255 0;
30042                    rel1.offset: -3 -3;
30043                    rel2.offset: 2 2;
30044                    image {
30045                        normal: "bt_sm_base1.png";
30046                        border: 6 6 6 6;
30047                        middle: SOLID;
30048                    }
30049                }
30050                description { state: "selected" 0.0;
30051                    inherit: "default" 0.0;
30052                    visible: 1;
30053                    color: 255 255 255 255;
30054                }
30055            }
30056            part { name: "border-shadow";
30057                type: IMAGE;
30058                mouse_events: 0;
30059                description { state: "default" 0.0;
30060                    rel1 {
30061                        to: "elm.swallow.icon";
30062                        offset: -18 -18;
30063                    }
30064                    rel2 {
30065                        to_x: "elm.swallow.icon";
30066                        to_y: "elm.text";
30067                        offset: 17 17;
30068                    }
30069                    image {
30070                        normal: "thumb_shadow.png";
30071                        border: 17 17 17 17;
30072                        middle: NONE;
30073                    }
30074                }
30075            }
30076            part { name: "border";
30077                type: RECT;
30078                mouse_events: 0;
30079                description { state: "default" 0.0;
30080                    rel1 {
30081                        to: "border-shadow";
30082                        offset: 16 16;
30083                    }
30084                    rel2 {
30085                        to: "border-shadow";
30086                        offset: -15 -15;
30087                    }
30088                }
30089            }
30090            part { name: "elm.swallow.icon";
30091                type: SWALLOW;
30092                mouse_events: 0;
30093                description { state: "default" 0.0;
30094                    aspect_preference: BOTH;
30095                    aspect: 1.0 1.0;
30096                    rel1.offset: 0 8;
30097                    rel2 {
30098                        to_y: "elm.text";
30099                        relative: 1.0 0.0;
30100                        offset: -1 -2;
30101                    }
30102                }
30103            }
30104            part { name: "elm.text";
30105                type: TEXT;
30106                effect: SOFT_SHADOW;
30107                mouse_events: 0;
30108                scale: 1;
30109                description { state: "default" 0.0;
30110                    color: 0 0 0 255;
30111                    color3: 0 0 0 0;
30112                    align: 0.5 1.0;
30113                    rel1 {
30114                        relative: 0.0 1.0;
30115                        offset: 20 -30;
30116                    }
30117                    rel2 {
30118                        relative: 1.0 1.0;
30119                        offset: -21 -15;
30120                    }
30121                    text {
30122                        font: "Sans";
30123                        size: 10;
30124                        min: 0 1;
30125                        align: 0.5 0.0;
30126                        text_class: "grid_item";
30127                    }
30128                }
30129            }
30130            part { name: "fg1";
30131                mouse_events: 0;
30132                description { state: "default" 0.0;
30133                    visible: 0;
30134                    color: 255 255 255 0;
30135                    rel1.offset: -3 -3;
30136                    rel2 {
30137                        relative: 1.0 0.5;
30138                        offset: 2 -1;
30139                    }
30140                    image {
30141                        normal: "bt_sm_hilight.png";
30142                        border: 6 6 6 0;
30143                    }
30144                }
30145                description { state: "selected" 0.0;
30146                    inherit: "default" 0.0;
30147                    visible: 1;
30148                    color: 255 255 255 255;
30149                }
30150            }
30151            part { name: "fg2";
30152                mouse_events: 0;
30153                description { state: "default" 0.0;
30154                    visible: 0;
30155                    color: 255 255 255 0;
30156                    rel1.offset: -3 -3;
30157                    rel2.offset: 2 2;
30158                    image {
30159                        image: "bt_sm_shine.png";
30160                        border: 6 6 6 0;
30161                    }
30162                }
30163                description { state: "selected" 0.0;
30164                    inherit: "default" 0.0;
30165                    visible: 1;
30166                    color: 255 255 255 255;
30167                }
30168            }
30169        }
30170        programs {
30171            program {
30172                signal: "elm,state,selected";
30173                source: "elm";
30174                action: STATE_SET "selected" 0.0;
30175                target: "bg";
30176                target: "fg1";
30177                target: "fg2";
30178            }
30179            program {
30180                signal: "elm,state,unselected";
30181                source: "elm";
30182                action:  STATE_SET "default" 0.0;
30183                target: "bg";
30184                target: "fg1";
30185                target: "fg2";
30186                transition: LINEAR 0.1;
30187            }
30188        }
30189    }
30190
30191 ///////////////////////////////////////////////////////////////////////////////
30192    group { name: "elm/photocam/base/default";
30193        script {
30194            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30195            public timer0(val) {
30196                new v;
30197                v = get_int(sbvis_v);
30198                if (v) {
30199                    v = get_int(sbalways_v);
30200                    if (!v) {
30201                        emit("do-hide-vbar", "");
30202                        set_int(sbvis_v, 0);
30203                    }
30204                }
30205                v = get_int(sbvis_h);
30206                if (v) {
30207                    v = get_int(sbalways_h);
30208                    if (!v) {
30209                        emit("do-hide-hbar", "");
30210                        set_int(sbvis_h, 0);
30211                    }
30212                }
30213                set_int(sbvis_timer, 0);
30214                return 0;
30215            }
30216        }
30217        images {
30218            image: "shelf_inset.png" COMP;
30219            image: "bt_sm_base2.png" COMP;
30220            image: "bt_sm_shine.png" COMP;
30221            image: "bt_sm_hilight.png" COMP;
30222            image: "busy-1.png" COMP;
30223            image: "busy-2.png" COMP;
30224            image: "busy-3.png" COMP;
30225            image: "busy-4.png" COMP;
30226            image: "busy-5.png" COMP;
30227            image: "busy-6.png" COMP;
30228            image: "busy-7.png" COMP;
30229            image: "busy-8.png" COMP;
30230            image: "busy-9.png" COMP;
30231        }
30232        parts {
30233            part { name: "bg";
30234                type: RECT;
30235                description { state: "default" 0.0;
30236                    rel1.offset: 1 1;
30237                    rel2.offset: -2 -2;
30238                    color: 255 255 255 0;
30239                }
30240            }
30241            part { name: "clipper";
30242                type: RECT;
30243                mouse_events: 0;
30244                description { state: "default" 0.0;
30245                    rel1.to: "bg";
30246                    rel2.to: "bg";
30247                }
30248            }
30249            part { name: "elm.swallow.content";
30250                clip_to: "clipper";
30251                type: SWALLOW;
30252                description { state: "default" 0.0;
30253                    rel1.offset: 1 1;
30254                    rel2.offset: -2 -2;
30255                }
30256            }
30257            part { name: "busy_clip";
30258                type: RECT;
30259                mouse_events: 0;
30260                description { state: "default" 0.0;
30261                    visible: 0;
30262                    color: 255 255 255 0;
30263                }
30264                description { state: "active" 0.0;
30265                    visible: 1;
30266                    color: 255 255 255 255;
30267                }
30268            }
30269            part { name: "busy";
30270                clip_to: "busy_clip";
30271                mouse_events: 0;
30272                description { state: "default" 0.0;
30273                    fixed: 1 1;
30274                    min: 32 32;
30275                    aspect: 1.0 1.0;
30276                    align: 1.0 1.0;
30277                    aspect_preference: BOTH;
30278                    rel1 {
30279                        relative: 0.9 0.9;
30280                        offset:   -9 -9;
30281                    }
30282                    rel2 {
30283                        relative: 0.9 0.9;
30284                        offset:   -9 -9;
30285                    }
30286                    image {
30287                        normal: "busy-9.png";
30288                        tween:  "busy-1.png";
30289                        tween:  "busy-2.png";
30290                        tween:  "busy-3.png";
30291                        tween:  "busy-4.png";
30292                        tween:  "busy-5.png";
30293                        tween:  "busy-6.png";
30294                        tween:  "busy-7.png";
30295                        tween:  "busy-8.png";
30296                    }
30297                }
30298            }
30299            part { name: "conf_over";
30300                mouse_events:  0;
30301                description { state: "default" 0.0;
30302                    rel1.offset: 0 0;
30303                    rel2.offset: -1 -1;
30304                    image {
30305                        normal: "shelf_inset.png";
30306                        border: 7 7 7 7;
30307                        middle: 0;
30308                    }
30309                    fill.smooth : 0;
30310                }
30311            }
30312            part { name: "sb_vbar_clip_master";
30313                type: RECT;
30314                mouse_events: 0;
30315                description { state: "default" 0.0;
30316                }
30317                description { state: "hidden" 0.0;
30318                    visible: 0;
30319                    color: 255 255 255 0;
30320                }
30321            }
30322            part { name: "sb_vbar_clip";
30323                clip_to: "sb_vbar_clip_master";
30324                type: RECT;
30325                mouse_events: 0;
30326                description { state: "default" 0.0;
30327                }
30328                description { state: "hidden" 0.0;
30329                    visible: 0;
30330                    color: 255 255 255 0;
30331                }
30332            }
30333            part { name: "sb_vbar";
30334                type: RECT;
30335                mouse_events: 0;
30336                description { state: "default" 0.0;
30337                    fixed: 1 1;
30338                    visible: 0;
30339                    min: 10 17;
30340                    align: 1.0 0.0;
30341                    rel1 {
30342                        relative: 1.0 0.0;
30343                        offset:   -2 0;
30344                    }
30345                    rel2 {
30346                        relative: 1.0 0.0;
30347                        offset:   -2 -1;
30348                        to_y:     "sb_hbar";
30349                    }
30350                }
30351            }
30352            part { name: "elm.dragable.vbar";
30353                clip_to: "sb_vbar_clip";
30354                mouse_events: 0;
30355                dragable {
30356                    x: 0 0 0;
30357                    y: 1 1 0;
30358                    confine: "sb_vbar";
30359                }
30360                description { state: "default" 0.0;
30361                    fixed: 1 1;
30362                    min: 10 17;
30363                    max: 10 99999;
30364                    rel1 {
30365                        relative: 0.5  0.5;
30366                        offset:   0    0;
30367                        to: "sb_vbar";
30368                    }
30369                    rel2 {
30370                        relative: 0.5  0.5;
30371                        offset:   0    0;
30372                        to: "sb_vbar";
30373                    }
30374                    image {
30375                        normal: "bt_sm_base2.png";
30376                        border: 6 6 6 6;
30377                        middle: SOLID;
30378                    }
30379                }
30380            }
30381            part { name: "sb_vbar_over1";
30382                clip_to: "sb_vbar_clip";
30383                mouse_events: 0;
30384                description { state: "default" 0.0;
30385                    rel1.to: "elm.dragable.vbar";
30386                    rel2.relative: 1.0 0.5;
30387                    rel2.to: "elm.dragable.vbar";
30388                    image {
30389                        normal: "bt_sm_hilight.png";
30390                        border: 6 6 6 0;
30391                    }
30392                }
30393            }
30394            part { name: "sb_vbar_over2";
30395                clip_to: "sb_vbar_clip";
30396                mouse_events: 0;
30397                description { state: "default" 0.0;
30398                    rel1.to: "elm.dragable.vbar";
30399                    rel2.to: "elm.dragable.vbar";
30400                    image {
30401                        normal: "bt_sm_shine.png";
30402                        border: 6 6 6 0;
30403                    }
30404                }
30405            }
30406
30407            part { name: "sb_hbar_clip_master";
30408                type: RECT;
30409                mouse_events: 0;
30410                description { state: "default" 0.0;
30411                }
30412                description { state: "hidden" 0.0;
30413                    visible: 0;
30414                    color: 255 255 255 0;
30415                }
30416            }
30417            part { name: "sb_hbar_clip";
30418                clip_to: "sb_hbar_clip_master";
30419                type: RECT;
30420                mouse_events: 0;
30421                description { state: "default" 0.0;
30422                }
30423                description { state: "hidden" 0.0;
30424                    visible: 0;
30425                    color: 255 255 255 0;
30426                }
30427            }
30428            part { name: "sb_hbar";
30429                type: RECT;
30430                mouse_events: 0;
30431                description { state: "default" 0.0;
30432                    fixed: 1 1;
30433                    visible: 0;
30434                    min: 17 10;
30435                    align: 0.0 1.0;
30436                    rel1 {
30437                        relative: 0.0 1.0;
30438                        offset:   0 -2;
30439                    }
30440                    rel2 {
30441                        relative: 0.0 1.0;
30442                        offset:   -1 -2;
30443                        to_x:     "sb_vbar";
30444                    }
30445                }
30446            }
30447            part { name: "elm.dragable.hbar";
30448                clip_to: "sb_hbar_clip";
30449                mouse_events: 0;
30450                dragable {
30451                    x: 1 1 0;
30452                    y: 0 0 0;
30453                    confine: "sb_hbar";
30454                }
30455                description { state: "default" 0.0;
30456                    fixed: 1 1;
30457                    min: 17 10;
30458                    max: 99999 10;
30459                    rel1 {
30460                        relative: 0.5  0.5;
30461                        offset:   0    0;
30462                        to: "sb_hbar";
30463                    }
30464                    rel2 {
30465                        relative: 0.5  0.5;
30466                        offset:   0    0;
30467                        to: "sb_hbar";
30468                    }
30469                    image {
30470                        normal: "bt_sm_base2.png";
30471                        border: 4 4 4 4;
30472                        middle: SOLID;
30473                    }
30474                }
30475            }
30476            part { name: "sb_hbar_over1";
30477                clip_to: "sb_hbar_clip";
30478                mouse_events: 0;
30479                description { state: "default" 0.0;
30480                    rel1.to: "elm.dragable.hbar";
30481                    rel2.relative: 1.0 0.5;
30482                    rel2.to: "elm.dragable.hbar";
30483                    image {
30484                        normal: "bt_sm_hilight.png";
30485                        border: 4 4 4 0;
30486                    }
30487                }
30488            }
30489            part { name: "sb_hbar_over2";
30490                clip_to: "sb_hbar_clip";
30491                mouse_events: 0;
30492                description { state: "default" 0.0;
30493                    rel1.to: "elm.dragable.hbar";
30494                    rel2.to: "elm.dragable.hbar";
30495                    image {
30496                        normal: "bt_sm_shine.png";
30497                        border: 4 4 4 0;
30498                    }
30499                }
30500            }
30501        }
30502        programs {
30503            program { name: "load";
30504                signal: "load";
30505                source: "";
30506                script {
30507                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30508                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30509                    set_int(sbvis_h, 0);
30510                    set_int(sbvis_v, 0);
30511                    set_int(sbalways_v, 0);
30512                    set_int(sbalways_h, 0);
30513                    set_int(sbvis_timer, 0);
30514                }
30515            }
30516
30517            program { name: "vbar_show";
30518                signal: "elm,action,show,vbar";
30519                source: "elm";
30520                action:  STATE_SET "default" 0.0;
30521                target: "sb_vbar_clip_master";
30522            }
30523            program { name: "vbar_hide";
30524                signal: "elm,action,hide,vbar";
30525                source: "elm";
30526                action:  STATE_SET "hidden" 0.0;
30527                target: "sb_vbar_clip_master";
30528            }
30529            program { name: "vbar_show_always";
30530                signal: "elm,action,show_always,vbar";
30531                source: "elm";
30532                script {
30533                    new v;
30534                    v = get_int(sbvis_v);
30535                    v |= get_int(sbalways_v);
30536                    if (!v) {
30537                        set_int(sbalways_v, 1);
30538                        emit("do-show-vbar", "");
30539                        set_int(sbvis_v, 1);
30540                    }
30541                }
30542            }
30543            program { name: "vbar_show_notalways";
30544                signal: "elm,action,show_notalways,vbar";
30545                source: "elm";
30546                script {
30547                    new v;
30548                    v = get_int(sbalways_v);
30549                    if (v) {
30550                        set_int(sbalways_v, 0);
30551                        v = get_int(sbvis_v);
30552                        if (!v) {
30553                            emit("do-hide-vbar", "");
30554                            set_int(sbvis_v, 0);
30555                        }
30556                    }
30557                }
30558            }
30559            program { name: "sb_vbar_show";
30560                signal: "do-show-vbar";
30561                source: "";
30562                action:  STATE_SET "default" 0.0;
30563                transition: LINEAR 0.5;
30564                target: "sb_vbar_clip";
30565            }
30566            program { name: "sb_vbar_hide";
30567                signal: "do-hide-vbar";
30568                source: "";
30569                action:  STATE_SET "hidden" 0.0;
30570                transition: LINEAR 0.5;
30571                target: "sb_vbar_clip";
30572            }
30573
30574            program { name: "hbar_show";
30575                signal: "elm,action,show,hbar";
30576                source: "elm";
30577                action:  STATE_SET "default" 0.0;
30578                target: "sb_hbar_clip_master";
30579            }
30580            program { name: "hbar_hide";
30581                signal: "elm,action,hide,hbar";
30582                source: "elm";
30583                action:  STATE_SET "hidden" 0.0;
30584                target: "sb_hbar_clip_master";
30585            }
30586            program { name: "hbar_show_always";
30587                signal: "elm,action,show_always,hbar";
30588                source: "elm";
30589                script {
30590                    new v;
30591                    v = get_int(sbvis_h);
30592                    v |= get_int(sbalways_h);
30593                    if (!v) {
30594                        set_int(sbalways_h, 1);
30595                        emit("do-show-hbar", "");
30596                        set_int(sbvis_h, 1);
30597                    }
30598                }
30599            }
30600            program { name: "hbar_show_notalways";
30601                signal: "elm,action,show_notalways,hbar";
30602                source: "elm";
30603                script {
30604                    new v;
30605                    v = get_int(sbalways_h);
30606                    if (v) {
30607                        set_int(sbalways_h, 0);
30608                        v = get_int(sbvis_h);
30609                        if (!v) {
30610                            emit("do-hide-hbar", "");
30611                            set_int(sbvis_h, 0);
30612                        }
30613                    }
30614                }
30615            }
30616            program { name: "sb_hbar_show";
30617                signal: "do-show-hbar";
30618                source: "";
30619                action:  STATE_SET "default" 0.0;
30620                transition: LINEAR 0.5;
30621                target: "sb_hbar_clip";
30622            }
30623            program { name: "sb_hbar_hide";
30624                signal: "do-hide-hbar";
30625                source: "";
30626                action:  STATE_SET "hidden" 0.0;
30627                transition: LINEAR 0.5;
30628                target: "sb_hbar_clip";
30629            }
30630
30631            program { name: "scroll";
30632                signal: "elm,action,scroll";
30633                source: "elm";
30634                script {
30635                    new v;
30636                    v = get_int(sbvis_v);
30637                    v |= get_int(sbalways_v);
30638                    if (!v) {
30639                        emit("do-show-vbar", "");
30640                        set_int(sbvis_v, 1);
30641                    }
30642                    v = get_int(sbvis_h);
30643                    v |= get_int(sbalways_h);
30644                    if (!v) {
30645                        emit("do-show-hbar", "");
30646                        set_int(sbvis_h, 1);
30647                    }
30648                    v = get_int(sbvis_timer);
30649                    if (v > 0) cancel_timer(v);
30650                    v = timer(1.0, "timer0", 0);
30651                    set_int(sbvis_timer, v);
30652                }
30653            }
30654            program { name: "go1";
30655                signal: "elm,state,busy,start";
30656                source: "elm";
30657                action: STATE_SET "active" 0.0;
30658                transition: SINUSOIDAL 1.0;
30659                target:  "busy_clip";
30660            }
30661            program { name: "go2";
30662                signal: "elm,state,busy,start";
30663                source: "elm";
30664                action: STATE_SET "default" 0.0;
30665                transition: LINEAR 0.5;
30666                target: "busy";
30667                after:  "go2";
30668            }
30669            program { name: "stop1";
30670                signal: "elm,state,busy,stop";
30671                source: "elm";
30672                action: STATE_SET "default" 0.0;
30673                transition: SINUSOIDAL 1.0;
30674                target: "busy_clip";
30675                after: "stop2";
30676            }
30677          program { name: "stop2";
30678             action: ACTION_STOP;
30679             target: "go2";
30680          }
30681       }
30682    }
30683
30684    ///////////////////////////////////////////////////////////////////////////////
30685    group { name: "elm/map/base/default";
30686        script {
30687            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30688            public timer0(val) {
30689                new v;
30690                v = get_int(sbvis_v);
30691                if (v) {
30692                    v = get_int(sbalways_v);
30693                    if (!v) {
30694                        emit("do-hide-vbar", "");
30695                        set_int(sbvis_v, 0);
30696                    }
30697                }
30698                v = get_int(sbvis_h);
30699                if (v) {
30700                    v = get_int(sbalways_h);
30701                    if (!v) {
30702                        emit("do-hide-hbar", "");
30703                        set_int(sbvis_h, 0);
30704                    }
30705                }
30706                set_int(sbvis_timer, 0);
30707                return 0;
30708            }
30709        }
30710        images {
30711            image: "shelf_inset.png" COMP;
30712            image: "bt_sm_base2.png" COMP;
30713            image: "bt_sm_shine.png" COMP;
30714            image: "bt_sm_hilight.png" COMP;
30715            image: "busy-1.png" COMP;
30716            image: "busy-2.png" COMP;
30717            image: "busy-3.png" COMP;
30718            image: "busy-4.png" COMP;
30719            image: "busy-5.png" COMP;
30720            image: "busy-6.png" COMP;
30721            image: "busy-7.png" COMP;
30722            image: "busy-8.png" COMP;
30723            image: "busy-9.png" COMP;
30724        }
30725        parts {
30726            part { name: "bg";
30727                type: RECT;
30728                description { state: "default" 0.0;
30729                    rel1.offset: 1 1;
30730                    rel2.offset: -2 -2;
30731                    color: 255 255 255 0;
30732                }
30733            }
30734            part { name: "clipper";
30735                type: RECT;
30736                mouse_events: 0;
30737                description { state: "default" 0.0;
30738                    rel1.to: "bg";
30739                    rel2.to: "bg";
30740                }
30741            }
30742            part { name: "elm.swallow.content";
30743                clip_to: "clipper";
30744                type: SWALLOW;
30745                description { state: "default" 0.0;
30746                    rel1.offset: 1 1;
30747                    rel2.offset: -2 -2;
30748                }
30749            }
30750            part { name: "busy_clip";
30751                type: RECT;
30752                mouse_events: 0;
30753                description { state: "default" 0.0;
30754                    visible: 0;
30755                    color: 255 255 255 0;
30756                }
30757                description { state: "active" 0.0;
30758                    visible: 1;
30759                    color: 255 255 255 255;
30760                }
30761            }
30762            part { name: "busy";
30763                clip_to: "busy_clip";
30764                mouse_events: 0;
30765                description { state: "default" 0.0;
30766                    fixed: 1 1;
30767                    min: 32 32;
30768                    aspect: 1.0 1.0;
30769                    align: 1.0 1.0;
30770                    aspect_preference: BOTH;
30771                    rel1 {
30772                        relative: 0.9 0.9;
30773                        offset:   -9 -9;
30774                    }
30775                    rel2 {
30776                        relative: 0.9 0.9;
30777                        offset:   -9 -9;
30778                    }
30779                    image {
30780                        normal: "busy-9.png";
30781                        tween:  "busy-1.png";
30782                        tween:  "busy-2.png";
30783                        tween:  "busy-3.png";
30784                        tween:  "busy-4.png";
30785                        tween:  "busy-5.png";
30786                        tween:  "busy-6.png";
30787                        tween:  "busy-7.png";
30788                        tween:  "busy-8.png";
30789                    }
30790                }
30791            }
30792            part { name: "conf_over";
30793                mouse_events:  0;
30794                description { state: "default" 0.0;
30795                    rel1.offset: 0 0;
30796                    rel2.offset: -1 -1;
30797                    image {
30798                        normal: "shelf_inset.png";
30799                        border: 7 7 7 7;
30800                        middle: 0;
30801                    }
30802                    fill.smooth : 0;
30803                }
30804            }
30805            part { name: "sb_vbar_clip_master";
30806                type: RECT;
30807                mouse_events: 0;
30808                description { state: "default" 0.0;
30809                }
30810                description { state: "hidden" 0.0;
30811                    visible: 0;
30812                    color: 255 255 255 0;
30813                }
30814            }
30815            part { name: "sb_vbar_clip";
30816                clip_to: "sb_vbar_clip_master";
30817                type: RECT;
30818                mouse_events: 0;
30819                description { state: "default" 0.0;
30820                }
30821                description { state: "hidden" 0.0;
30822                    visible: 0;
30823                    color: 255 255 255 0;
30824                }
30825            }
30826            part { name: "sb_vbar";
30827                type: RECT;
30828                mouse_events: 0;
30829                description { state: "default" 0.0;
30830                    fixed: 1 1;
30831                    visible: 0;
30832                    min: 10 17;
30833                    align: 1.0 0.0;
30834                    rel1 {
30835                        relative: 1.0 0.0;
30836                        offset:   -2 0;
30837                    }
30838                    rel2 {
30839                        relative: 1.0 0.0;
30840                        offset:   -2 -1;
30841                        to_y:     "sb_hbar";
30842                    }
30843                }
30844            }
30845            part { name: "elm.dragable.vbar";
30846                clip_to: "sb_vbar_clip";
30847                mouse_events: 0;
30848                dragable {
30849                    x: 0 0 0;
30850                    y: 1 1 0;
30851                    confine: "sb_vbar";
30852                }
30853                description { state: "default" 0.0;
30854                    fixed: 1 1;
30855                    min: 10 17;
30856                    max: 10 99999;
30857                    rel1 {
30858                        relative: 0.5  0.5;
30859                        offset:   0    0;
30860                        to: "sb_vbar";
30861                    }
30862                    rel2 {
30863                        relative: 0.5  0.5;
30864                        offset:   0    0;
30865                        to: "sb_vbar";
30866                    }
30867                    image {
30868                        normal: "bt_sm_base2.png";
30869                        border: 6 6 6 6;
30870                        middle: SOLID;
30871                    }
30872                }
30873            }
30874            part { name: "sb_vbar_over1";
30875                clip_to: "sb_vbar_clip";
30876                mouse_events: 0;
30877                description { state: "default" 0.0;
30878                    rel1.to: "elm.dragable.vbar";
30879                    rel2.relative: 1.0 0.5;
30880                    rel2.to: "elm.dragable.vbar";
30881                    image {
30882                        normal: "bt_sm_hilight.png";
30883                        border: 6 6 6 0;
30884                    }
30885                }
30886            }
30887            part { name: "sb_vbar_over2";
30888                clip_to: "sb_vbar_clip";
30889                mouse_events: 0;
30890                description { state: "default" 0.0;
30891                    rel1.to: "elm.dragable.vbar";
30892                    rel2.to: "elm.dragable.vbar";
30893                    image {
30894                        normal: "bt_sm_shine.png";
30895                        border: 6 6 6 0;
30896                    }
30897                }
30898            }
30899
30900            part { name: "sb_hbar_clip_master";
30901                type: RECT;
30902                mouse_events: 0;
30903                description { state: "default" 0.0;
30904                }
30905                description { state: "hidden" 0.0;
30906                    visible: 0;
30907                    color: 255 255 255 0;
30908                }
30909            }
30910            part { name: "sb_hbar_clip";
30911                clip_to: "sb_hbar_clip_master";
30912                type: RECT;
30913                mouse_events: 0;
30914                description { state: "default" 0.0;
30915                }
30916                description { state: "hidden" 0.0;
30917                    visible: 0;
30918                    color: 255 255 255 0;
30919                }
30920            }
30921            part { name: "sb_hbar";
30922                type: RECT;
30923                mouse_events: 0;
30924                description { state: "default" 0.0;
30925                    fixed: 1 1;
30926                    visible: 0;
30927                    min: 17 10;
30928                    align: 0.0 1.0;
30929                    rel1 {
30930                        relative: 0.0 1.0;
30931                        offset:   0 -2;
30932                    }
30933                    rel2 {
30934                        relative: 0.0 1.0;
30935                        offset:   -1 -2;
30936                        to_x:     "sb_vbar";
30937                    }
30938                }
30939            }
30940            part { name: "elm.dragable.hbar";
30941                clip_to: "sb_hbar_clip";
30942                mouse_events: 0;
30943                dragable {
30944                    x: 1 1 0;
30945                    y: 0 0 0;
30946                    confine: "sb_hbar";
30947                }
30948                description { state: "default" 0.0;
30949                    fixed: 1 1;
30950                    min: 17 10;
30951                    max: 99999 10;
30952                    rel1 {
30953                        relative: 0.5  0.5;
30954                        offset:   0    0;
30955                        to: "sb_hbar";
30956                    }
30957                    rel2 {
30958                        relative: 0.5  0.5;
30959                        offset:   0    0;
30960                        to: "sb_hbar";
30961                    }
30962                    image {
30963                        normal: "bt_sm_base2.png";
30964                        border: 4 4 4 4;
30965                        middle: SOLID;
30966                    }
30967                }
30968            }
30969            part { name: "sb_hbar_over1";
30970                clip_to: "sb_hbar_clip";
30971                mouse_events: 0;
30972                description { state: "default" 0.0;
30973                    rel1.to: "elm.dragable.hbar";
30974                    rel2.relative: 1.0 0.5;
30975                    rel2.to: "elm.dragable.hbar";
30976                    image {
30977                        normal: "bt_sm_hilight.png";
30978                        border: 4 4 4 0;
30979                    }
30980                }
30981            }
30982            part { name: "sb_hbar_over2";
30983                clip_to: "sb_hbar_clip";
30984                mouse_events: 0;
30985                description { state: "default" 0.0;
30986                    rel1.to: "elm.dragable.hbar";
30987                    rel2.to: "elm.dragable.hbar";
30988                    image {
30989                        normal: "bt_sm_shine.png";
30990                        border: 4 4 4 0;
30991                    }
30992                }
30993            }
30994        }
30995        programs {
30996            program { name: "load";
30997                signal: "load";
30998                source: "";
30999                script {
31000                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31001                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31002                    set_int(sbvis_h, 0);
31003                    set_int(sbvis_v, 0);
31004                    set_int(sbalways_v, 0);
31005                    set_int(sbalways_h, 0);
31006                    set_int(sbvis_timer, 0);
31007                }
31008            }
31009
31010            program { name: "vbar_show";
31011                signal: "elm,action,show,vbar";
31012                source: "elm";
31013                action:  STATE_SET "default" 0.0;
31014                target: "sb_vbar_clip_master";
31015            }
31016            program { name: "vbar_hide";
31017                signal: "elm,action,hide,vbar";
31018                source: "elm";
31019                action:  STATE_SET "hidden" 0.0;
31020                target: "sb_vbar_clip_master";
31021            }
31022            program { name: "vbar_show_always";
31023                signal: "elm,action,show_always,vbar";
31024                source: "elm";
31025                script {
31026                    new v;
31027                    v = get_int(sbvis_v);
31028                    v |= get_int(sbalways_v);
31029                    if (!v) {
31030                        set_int(sbalways_v, 1);
31031                        emit("do-show-vbar", "");
31032                        set_int(sbvis_v, 1);
31033                    }
31034                }
31035            }
31036            program { name: "vbar_show_notalways";
31037                signal: "elm,action,show_notalways,vbar";
31038                source: "elm";
31039                script {
31040                    new v;
31041                    v = get_int(sbalways_v);
31042                    if (v) {
31043                        set_int(sbalways_v, 0);
31044                        v = get_int(sbvis_v);
31045                        if (!v) {
31046                            emit("do-hide-vbar", "");
31047                            set_int(sbvis_v, 0);
31048                        }
31049                    }
31050                }
31051            }
31052            program { name: "sb_vbar_show";
31053                signal: "do-show-vbar";
31054                source: "";
31055                action:  STATE_SET "default" 0.0;
31056                transition: LINEAR 0.5;
31057                target: "sb_vbar_clip";
31058            }
31059            program { name: "sb_vbar_hide";
31060                signal: "do-hide-vbar";
31061                source: "";
31062                action:  STATE_SET "hidden" 0.0;
31063                transition: LINEAR 0.5;
31064                target: "sb_vbar_clip";
31065            }
31066
31067            program { name: "hbar_show";
31068                signal: "elm,action,show,hbar";
31069                source: "elm";
31070                action:  STATE_SET "default" 0.0;
31071                target: "sb_hbar_clip_master";
31072            }
31073            program { name: "hbar_hide";
31074                signal: "elm,action,hide,hbar";
31075                source: "elm";
31076                action:  STATE_SET "hidden" 0.0;
31077                target: "sb_hbar_clip_master";
31078            }
31079            program { name: "hbar_show_always";
31080                signal: "elm,action,show_always,hbar";
31081                source: "elm";
31082                script {
31083                    new v;
31084                    v = get_int(sbvis_h);
31085                    v |= get_int(sbalways_h);
31086                    if (!v) {
31087                        set_int(sbalways_h, 1);
31088                        emit("do-show-hbar", "");
31089                        set_int(sbvis_h, 1);
31090                    }
31091                }
31092            }
31093            program { name: "hbar_show_notalways";
31094                signal: "elm,action,show_notalways,hbar";
31095                source: "elm";
31096                script {
31097                    new v;
31098                    v = get_int(sbalways_h);
31099                    if (v) {
31100                        set_int(sbalways_h, 0);
31101                        v = get_int(sbvis_h);
31102                        if (!v) {
31103                            emit("do-hide-hbar", "");
31104                            set_int(sbvis_h, 0);
31105                        }
31106                    }
31107                }
31108            }
31109            program { name: "sb_hbar_show";
31110                signal: "do-show-hbar";
31111                source: "";
31112                action:  STATE_SET "default" 0.0;
31113                transition: LINEAR 0.5;
31114                target: "sb_hbar_clip";
31115            }
31116            program { name: "sb_hbar_hide";
31117                signal: "do-hide-hbar";
31118                source: "";
31119                action:  STATE_SET "hidden" 0.0;
31120                transition: LINEAR 0.5;
31121                target: "sb_hbar_clip";
31122            }
31123
31124            program { name: "scroll";
31125                signal: "elm,action,scroll";
31126                source: "elm";
31127                script {
31128                    new v;
31129                    v = get_int(sbvis_v);
31130                    v |= get_int(sbalways_v);
31131                    if (!v) {
31132                        emit("do-show-vbar", "");
31133                        set_int(sbvis_v, 1);
31134                    }
31135                    v = get_int(sbvis_h);
31136                    v |= get_int(sbalways_h);
31137                    if (!v) {
31138                        emit("do-show-hbar", "");
31139                        set_int(sbvis_h, 1);
31140                    }
31141                    v = get_int(sbvis_timer);
31142                    if (v > 0) cancel_timer(v);
31143                    v = timer(1.0, "timer0", 0);
31144                    set_int(sbvis_timer, v);
31145                }
31146            }
31147            program { name: "go1";
31148                signal: "elm,state,busy,start";
31149                source: "elm";
31150                action: STATE_SET "active" 0.0;
31151                transition: SINUSOIDAL 1.0;
31152                target:  "busy_clip";
31153            }
31154            program { name: "go2";
31155                signal: "elm,state,busy,start";
31156                source: "elm";
31157                action: STATE_SET "default" 0.0;
31158                transition: LINEAR 0.5;
31159                target: "busy";
31160                after:  "go2";
31161            }
31162            program { name: "stop1";
31163                signal: "elm,state,busy,stop";
31164                source: "elm";
31165                action: STATE_SET "default" 0.0;
31166                transition: SINUSOIDAL 1.0;
31167                target: "busy_clip";
31168                after: "stop2";
31169            }
31170          program { name: "stop2";
31171             action: ACTION_STOP;
31172             target: "go2";
31173          }
31174       }
31175    }
31176    group { name: "elm/map/marker/radio/default";
31177         data {
31178             item: size_w 24;
31179             item: size_h 24;
31180             item: size_max_w 58;
31181             item: size_max_h 58;
31182         }
31183         images {
31184                 image: "map_item.png" COMP;
31185         }
31186         parts {
31187             part { name: "whole";
31188                 description { state: "default" 0.0;
31189                 }
31190             }
31191             part { name: "base";
31192                 ignore_flags: ON_HOLD;
31193                 description { state: "default" 0.0;
31194                     image.normal: "map_item.png";
31195                 }
31196             }
31197             part { name: "elm.icon";
31198                 type: SWALLOW;
31199                 clip_to: "whole";
31200                 mouse_events:  0;
31201                 description { state: "default" 0.0;
31202                     rel1.relative: 0.27 0.27;
31203                     rel2.relative: 0.73 0.73;
31204                 }
31205             }
31206             part { name: "elm.text";
31207                 type:          TEXT;
31208                 effect:        SOFT_SHADOW;
31209                 mouse_events:  0;
31210                 scale: 1;
31211                 description { state: "default" 0.0;
31212                     align:    0.5 0.5;
31213                     color: 224 224 224 255;
31214                     color3: 0 0 0 64;
31215                     rel1.relative: 0.28 0.25;
31216                     rel2.relative: 0.75 0.75;
31217                     text {
31218                         font:     "Sans,Edje-Vera";
31219                         size:     10;
31220                         min:      0 0;
31221                         align:    0.5 0.5;
31222                     }
31223                 }
31224             }
31225        }
31226        programs {
31227             program { name: "open";
31228                 signal: "mouse,clicked,1";
31229                 source: "base";
31230                 action: SIGNAL_EMIT "open" "elm";
31231             }
31232             program { name: "bringin";
31233                 signal: "mouse,down,1,double";
31234                 source: "base";
31235                 action: SIGNAL_EMIT "bringin" "elm";
31236             }
31237        }
31238    }
31239    group { name: "elm/map/marker/radio2/default";
31240         data {
31241             item: size_w 24;
31242             item: size_h 24;
31243             item: size_max_w 58;
31244             item: size_max_h 58;
31245         }
31246         images {
31247                 image: "map_item_2.png" COMP;
31248         }
31249         parts {
31250             part { name: "base";
31251                 ignore_flags: ON_HOLD;
31252                 description { state: "default" 0.0;
31253                     image.normal: "map_item_2.png";
31254                 }
31255             }
31256             part { name: "elm.text";
31257                 type:          TEXT;
31258                 effect:        SOFT_SHADOW;
31259                 mouse_events:  0;
31260                 scale: 1;
31261                 description { state: "default" 0.0;
31262                     align:    0.5 0.5;
31263                     color: 224 224 224 255;
31264                     color3: 0 0 0 64;
31265                     rel1.relative: 0.28 0.25;
31266                     rel2.relative: 0.75 0.75;
31267                     text {
31268                         font:     "Sans,Edje-Vera";
31269                         size:     10;
31270                         min:      0 0;
31271                         align:    0.5 0.5;
31272                     }
31273                 }
31274             }
31275        }
31276        programs {
31277             program { name: "open";
31278                 signal: "mouse,clicked,1";
31279                 source: "base";
31280                 action: SIGNAL_EMIT "open" "elm";
31281             }
31282             program { name: "bringin";
31283                 signal: "mouse,down,1,double";
31284                 source: "base";
31285                 action: SIGNAL_EMIT "bringin" "elm";
31286             }
31287        }
31288    }
31289    group { name: "elm/map/marker/empty/default";
31290         data {
31291             item: size_w 22;
31292             item: size_h 22;
31293             item: size_max_w 64;
31294             item: size_max_h 64;
31295         }
31296         parts {
31297             part { name: "whole";
31298                 description { state: "default" 0.0;
31299                 }
31300             }
31301             part { name: "base";
31302                 ignore_flags: ON_HOLD;
31303                 description { state: "default" 0.0;
31304                 }
31305             }
31306             part { name: "elm.icon";
31307                 type: SWALLOW;
31308                 clip_to: "whole";
31309                 mouse_events:  0;
31310                 description { state: "default" 0.0;
31311                 }
31312             }
31313             part { name: "elm.text";
31314                 type:          TEXT;
31315                 effect:        SOFT_SHADOW;
31316                 mouse_events:  0;
31317                 scale: 1;
31318                 description { state: "default" 0.0;
31319                     align:    0.5 0.5;
31320                     color: 224 224 224 255;
31321                     color3: 0 0 0 64;
31322                     rel1.relative: 0.28 0.25;
31323                     rel2.relative: 0.75 0.75;
31324                     text {
31325                         font:     "Sans,Edje-Vera";
31326                         size:     10;
31327                         min:      0 0;
31328                         align:    0.5 0.5;
31329                     }
31330                 }
31331             }
31332        }
31333        programs {
31334             program { name: "open";
31335                 signal: "mouse,clicked,1";
31336                 source: "base";
31337                 action: SIGNAL_EMIT "open" "elm";
31338             }
31339             program { name: "bringin";
31340                 signal: "mouse,down,1,double";
31341                 source: "base";
31342                 action: SIGNAL_EMIT "bringin" "elm";
31343             }
31344        }
31345    }
31346    group { name: "elm/map/marker_bubble/default";
31347     images {
31348       image: "bubble.png" COMP;
31349       image: "bubble_shine.png" COMP;
31350     }
31351     data {
31352             item: size_w 400;
31353             item: size_h 100;
31354         }
31355     parts {
31356     part { name: "clipper";
31357         mouse_events:  1;
31358         description { state: "default" 0.0;
31359           color: 255 255 255 0;
31360         }
31361         description { state: "show" 0.0;
31362             inherit: "default" 0.0;
31363             color: 255 255 255 255;
31364         }
31365       }
31366      part { name: "base0";
31367         mouse_events:  0;
31368         clip_to: "clipper";
31369         description { state: "default" 0.0;
31370           image {
31371             normal: "bubble.png";
31372             border: 11 36 10 19;
31373           }
31374           image.middle: SOLID;
31375           fill.smooth: 0;
31376         }
31377         description { state: "rtl" 0.0;
31378            inherit: "default" 0.0;
31379            image {
31380               normal: "bubble_4.png";
31381               border: 11 36 18 9;
31382            }
31383         }
31384       }
31385       part { name: "elm.swallow.content";
31386         type: SWALLOW;
31387         clip_to: "clipper";
31388         description { state: "default" 0.0;
31389             align: 0.5 0.5;
31390           rel1 {
31391             offset: 9 8;
31392           }
31393           rel2 {
31394             offset: -10 -17;
31395           }
31396         }
31397       }
31398       part { name: "shine";
31399         mouse_events:  0;
31400         clip_to: "clipper";
31401         description { state:    "default" 0.0;
31402           rel1 {
31403             to: "base0";
31404           }
31405           rel2 {
31406             to: "base0";
31407             relative: 1.0 0.5;
31408           }
31409           image {
31410             normal: "bubble_shine.png";
31411             border: 5 5 5 0;
31412           }
31413           fill.smooth: 0;
31414         }
31415         }
31416     }
31417     programs {
31418         program { name: "show";
31419             signal: "show";
31420             action: STATE_SET "show" 0.0;
31421             target: "clipper";
31422             transition: ACCELERATE 0.5;
31423         }
31424     }
31425   }
31426
31427 /////////////////////////////////////////////////////////////////////////////
31428 // PANES
31429 /////////////////////////////////////////////////////////////////////////////
31430   group {
31431      name: "elm/panes/vertical/default";
31432       images {
31433          image: "bt_base1.png" COMP;
31434          image: "bt_base2.png" COMP;
31435          image: "bt_hilight.png" COMP;
31436          image: "bt_shine.png" COMP;
31437          image: "bt_glow.png" COMP;
31438          image: "bt_dis_base.png" COMP;
31439          image: "bt_dis_hilight.png" COMP;
31440          image: "arrow_right.png" COMP;
31441          image: "arrow_left.png" COMP;
31442       }
31443      parts
31444        {
31445           part
31446             {
31447                name: "whole";
31448                type: RECT;
31449                mouse_events: 0;
31450                description
31451                  {
31452                     state: "default" 0.0;
31453                     visible: 0;
31454                  }
31455             }
31456
31457          //2 contents
31458           part
31459             {
31460                name: "whole_left";
31461                type: RECT;
31462                mouse_events: 0;
31463                description
31464                  {
31465                     state: "default" 0.0;
31466                     rel2.to_x: "elm.bar";
31467                     rel2.relative: 0.0 1.0;
31468                     visible: 1;
31469                  }
31470             }
31471           part
31472             {
31473                name: "elm.swallow.left";
31474                type: SWALLOW;
31475                clip_to: "whole_left";
31476                description
31477                  {
31478                     state: "default" 0.0;
31479                     rel1.to: "whole_left";
31480                     rel2.to: "whole_left";
31481                  }
31482             }
31483
31484             part
31485             {
31486                name: "whole_right";
31487                type: RECT;
31488                mouse_events: 0;
31489                description
31490                  {
31491                     state: "default" 0.0;
31492                     rel1.to_x: "elm.bar";
31493                     rel1.relative: 1.0 0.0;
31494                     visible: 1;
31495                  }
31496             }
31497           part
31498             {
31499                name: "elm.swallow.right";
31500                type: SWALLOW;
31501                clip_to: "whole_right";
31502                description
31503                  {
31504                     state: "default" 0.0;
31505                     rel1.to: "whole_right";
31506                     rel2.to: "whole_right";
31507                  }
31508             }
31509          //BAR
31510          part { name: "elm.bar";
31511             mouse_events: 1;
31512             dragable {
31513                confine: "whole";
31514                x: 1 1 1;
31515                y: 0 0 0;
31516             }
31517             description { state: "default" 0.0;
31518                max: 15 9999;
31519                min: 15 100;
31520                rel1.relative: 0.0 0.5;
31521                rel2.relative: 1.0 0.5;
31522                image {
31523                   normal: "bt_base2.png";
31524                   border: 7 7 7 7;
31525                }
31526                image.middle: SOLID;
31527             }
31528             description { state: "clicked" 0.0;
31529                inherit: "default" 0.0;
31530                image.normal: "bt_base1.png";
31531                image.middle: SOLID;
31532             }
31533             description { state: "disabled" 0.0;
31534                inherit:  "default" 0.0;
31535                image {
31536                   normal: "bt_dis_base.png";
31537                   border: 4 4 4 4;
31538                }
31539             }
31540          }
31541          part {          name: "over1";
31542             mouse_events: 0;
31543             description { state: "default" 0.0;
31544             rel1.to: "elm.bar";
31545             rel2.to: "elm.bar";
31546                rel2.relative: 1.0 0.5;
31547                image {
31548                   normal: "bt_hilight.png";
31549                   border: 7 7 7 0;
31550                }
31551             }
31552             description { state: "disabled" 0.0;
31553                inherit:  "default" 0.0;
31554                image {
31555                   normal: "bt_dis_hilight.png";
31556                   border: 4 4 4 0;
31557                }
31558             }
31559          }
31560          part { name: "over2";
31561             mouse_events: 1;
31562             repeat_events: 1;
31563             ignore_flags: ON_HOLD;
31564             description { state: "default" 0.0;
31565             rel1.to: "elm.bar";
31566             rel2.to: "elm.bar";
31567                image {
31568                   normal: "bt_shine.png";
31569                   border: 7 7 7 7;
31570                }
31571             }
31572             description { state: "disabled" 0.0;
31573                inherit:  "default" 0.0;
31574                visible: 0;
31575             }
31576          }
31577          part { name: "over3";
31578             mouse_events: 1;
31579             repeat_events: 1;
31580             description { state: "default" 0.0;
31581                color: 255 255 255 0;
31582             rel1.to: "elm.bar";
31583             rel2.to: "elm.bar";
31584                image {
31585                   normal: "bt_glow.png";
31586                   border: 12 12 12 12;
31587                }
31588                fill.smooth : 0;
31589             }
31590             description { state: "clicked" 0.0;
31591                inherit:  "default" 0.0;
31592                visible: 1;
31593                color: 255 255 255 255;
31594             }
31595          }
31596
31597          //Arrow
31598          part {
31599             name: "arrow_right";
31600             repeat_events: 1;
31601             description { state: "default" 0.0;
31602                 min: 45 45;
31603                 max: 45 45;
31604                 color: 255 255 255 0;
31605
31606                 rel1.relative: 1.0 0.5;
31607                 rel1.to_x: "elm.bar";
31608                 rel1.offset: 45/2 -45/2;
31609
31610                 rel2.relative: 1.0 0.5;
31611                 rel2.to_x: "elm.bar";
31612                 rel2.offset: 45/2 45/2;
31613
31614                 image.normal: "arrow_right.png";
31615
31616                 fixed: 1 1;
31617             }
31618             description { state: "default" 0.1;
31619                 inherit: "default" 0.0;
31620                 image.normal: "arrow_left.png";
31621             }
31622             description { state: "anim_1" 0.0;
31623                 inherit: "default" 0.0;
31624                 color: 255 255 255 200;
31625                 rel1.offset: (45/2 + 10) -45/2;
31626                 rel2.offset: (45/2 +10) 45/2;
31627             }
31628             description { state: "anim_1" 0.1;
31629                 inherit: "default" 0.0;
31630                 image.normal: "arrow_left.png";
31631                 color: 255 255 255 200;
31632                 rel1.offset: (45/2 + 10) -45/2;
31633                 rel2.offset: (45/2 +10) 45/2;
31634             }
31635             description { state: "anim_2" 0.0;
31636                 inherit: "default" 0.0;
31637                 color: 255 255 255 0;
31638                 rel1.offset: (45/2 + 20) -45/2;
31639                 rel2.offset: (45/2 + 20) 45/2;
31640             }
31641             description { state: "anim_2" 0.1;
31642                 inherit: "default" 0.0;
31643                 image.normal: "arrow_left.png";
31644                 color: 255 255 255 0;
31645                 rel1.offset: (45/2 + 20) -45/2;
31646                 rel2.offset: (45/2 + 20) 45/2;
31647             }
31648          }
31649         part {
31650             name: "arrow_left";
31651             repeat_events: 1;
31652             description { state: "default" 0.0;
31653                 min: 45 45;
31654                 max: 45 45;
31655                 color: 255 255 255 0;
31656
31657                 rel1.relative: 0.0 0.5;
31658                 rel1.to_x: "elm.bar";
31659                 rel1.offset: -45/2 -45/2;
31660
31661                 rel2.relative: 0.0 0.5;
31662                 rel2.to_x: "elm.bar";
31663                 rel2.offset: -45/2 45/2;
31664
31665                 image.normal: "arrow_left.png";
31666
31667                 fixed: 1 1;
31668             }
31669             description { state: "default" 0.1;
31670                 inherit: "default" 0.0;
31671                 image.normal: "arrow_right.png";
31672             }
31673             description { state: "anim_1" 0.0;
31674                 inherit: "default" 0.0;
31675                 color: 255 255 255 200;
31676                 rel1.offset: (-45/2 - 10) -45/2;
31677                 rel2.offset: (-45/2 - 10) 45/2;
31678             }
31679             description { state: "anim_1" 0.1;
31680                 inherit: "default" 0.0;
31681                 image.normal: "arrow_right.png";
31682                 color: 255 255 255 200;
31683                 rel1.offset: (-45/2 - 10) -45/2;
31684                 rel2.offset: (-45/2 - 10) 45/2;
31685             }
31686             description { state: "anim_2" 0.0;
31687                 inherit: "default" 0.0;
31688                 color: 255 255 255 0;
31689                 rel1.offset: (-45/2 - 20) -45/2;
31690                 rel2.offset: (-45/2 - 20) 45/2;
31691             }
31692             description { state: "anim_2" 0.1;
31693                 inherit: "default" 0.0;
31694                 image.normal: "arrow_right.png";
31695                 color: 255 255 255 0;
31696                 rel1.offset: (-45/2 - 20) -45/2;
31697                 rel2.offset: (-45/2 - 20) 45/2;
31698             }
31699          }
31700
31701        }
31702         programs {
31703          program {
31704             name:   "button_click";
31705             signal: "mouse,down,1";
31706             source: "over2";
31707             action: SIGNAL_EMIT "elm,action,press" "";
31708             after: "button_click_anim";
31709             after: "arrow_anim_start";
31710          }
31711          program {
31712             name:   "button_click_anim";
31713             action: STATE_SET "clicked" 0.0;
31714             target: "elm.bar";
31715          }
31716          program {
31717             name:   "button_unclick";
31718             signal: "mouse,up,1";
31719             source: "over2";
31720             action: SIGNAL_EMIT "elm,action,unpress" "";
31721             after: "button_unclick_anim";
31722             after: "arrow_anim_stop";
31723          }
31724          program {
31725             name:   "button_unclick_anim";
31726             action: STATE_SET "default" 0.0;
31727             target: "elm.bar";
31728          }
31729          program {
31730             name:   "button_click2";
31731             signal: "mouse,down,1";
31732             source: "over3";
31733             action: STATE_SET "clicked" 0.0;
31734             target: "over3";
31735          }
31736          program {
31737             name:   "button_unclick2";
31738             signal: "mouse,up,1";
31739             source: "over3";
31740             action: STATE_SET "default" 0.0;
31741             transition: DECELERATE 0.5;
31742             target: "over3";
31743          }
31744          program {
31745             name:   "button_unclick3";
31746             signal: "mouse,up,1";
31747             source: "over2";
31748             action: SIGNAL_EMIT "elm,action,click" "";
31749          }
31750          program {
31751             name:   "button_down_double";
31752             signal: "mouse,down,1,double";
31753             source: "over3";
31754             action: SIGNAL_EMIT "elm,action,click,double" "";
31755          }
31756
31757          //arrows animation
31758          program {
31759             name: "arrow_anim_start";
31760             script {
31761                new st[31];
31762                new Float:vl;
31763                get_state(PART:"arrow_left", st, 30, vl);
31764                if (vl == 0.0) {
31765                   run_program(PROGRAM:"arrow_anim_start_ltr");
31766                }
31767                else {
31768                   run_program(PROGRAM:"arrow_anim_start_rtl");
31769                }
31770             }
31771          }
31772          program {
31773             name: "arrow_anim_stop";
31774             script {
31775                new st[31];
31776                new Float:vl;
31777                get_state(PART:"arrow_left", st, 30, vl);
31778                if (vl == 0.0) {
31779                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31780                }
31781                else {
31782                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31783                }
31784             }
31785          }
31786
31787          program {
31788             name: "arrow_anim_start_ltr";
31789             action: STATE_SET "anim_1" 0.0;
31790             target: "arrow_right";
31791             target: "arrow_left";
31792             transition: LINEAR 0.6;
31793             after: "arrow_anim_1_ltr";
31794          }
31795          program {
31796             name: "arrow_anim_1_ltr";
31797             action: STATE_SET "anim_2" 0.0;
31798             target: "arrow_right";
31799             target: "arrow_left";
31800             transition: LINEAR 0.6;
31801             after: "arrow_anim_2_ltr";
31802          }
31803          program {
31804             name: "arrow_anim_2_ltr";
31805             action: STATE_SET "default" 0.0;
31806             target: "arrow_right";
31807             target: "arrow_left";
31808             after: "arrow_anim_start_ltr";
31809          }
31810          program {
31811             name: "arrow_anim_stop_ltr";
31812             action: ACTION_STOP;
31813             target: "arrow_anim_start_ltr";
31814             target: "arrow_anim_1_ltr";
31815             target: "arrow_anim_2_ltr";
31816             after: "arrow_anim_stop_1_ltr";
31817          }
31818          program {
31819             name: "arrow_anim_stop_1_ltr";
31820             action: STATE_SET "default" 0.0;
31821             target: "arrow_right";
31822             target: "arrow_left";
31823             transition: DECELERATE 0.4;
31824         }
31825          program {
31826             name: "arrow_anim_start_rtl";
31827             action: STATE_SET "anim_1" 0.1;
31828             target: "arrow_right";
31829             target: "arrow_left";
31830             transition: LINEAR 0.6;
31831             after: "arrow_anim_1_rtl";
31832          }
31833          program {
31834             name: "arrow_anim_1_rtl";
31835             action: STATE_SET "anim_2" 0.1;
31836             target: "arrow_right";
31837             target: "arrow_left";
31838             transition: LINEAR 0.6;
31839             after: "arrow_anim_2_rtl";
31840          }
31841          program {
31842             name: "arrow_anim_2_rtl";
31843             action: STATE_SET "default" 0.1;
31844             target: "arrow_right";
31845             target: "arrow_left";
31846             after: "arrow_anim_start_rtl";
31847          }
31848          program {
31849             name: "arrow_anim_stop_rtl";
31850             action: ACTION_STOP;
31851             target: "arrow_anim_start_rtl";
31852             target: "arrow_anim_1_rtl";
31853             target: "arrow_anim_2_rtl";
31854             after: "arrow_anim_stop_1_rtl";
31855          }
31856          program {
31857             name: "arrow_anim_stop_1_rtl";
31858             action: STATE_SET "default" 0.1;
31859             target: "arrow_right";
31860             target: "arrow_left";
31861             transition: DECELERATE 0.4;
31862         }
31863          program { name: "to_rtl";
31864             signal: "edje,state,rtl";
31865             source: "edje";
31866             script {
31867                new st[31];
31868                new Float:vl;
31869                get_state(PART:"arrow_left", st, 30, vl);
31870                if (vl == 0.0) {
31871                   set_state(PART:"arrow_left", st, 0.1);
31872                }
31873                get_state(PART:"arrow_right", st, 30, vl);
31874                if (vl == 0.0) {
31875                   set_state(PART:"arrow_right", st, 0.1);
31876                }
31877             }
31878          }
31879          program { name: "to_ltr";
31880             signal: "edje,state,ltr";
31881             source: "edje";
31882             script {
31883                new st[31];
31884                new Float:vl;
31885                get_state(PART:"arrow_left", st, 30, vl);
31886                if (vl == 0.1) {
31887                   set_state(PART:"arrow_left", st, 0.0);
31888                }
31889                get_state(PART:"arrow_right", st, 30, vl);
31890                if (vl == 0.1) {
31891                   set_state(PART:"arrow_right", st, 0.0);
31892                }
31893             }
31894          }
31895       }
31896   }
31897
31898   group {
31899      name: "elm/panes/horizontal/default";
31900       images {
31901          image: "bt_base1.png" COMP;
31902          image: "bt_base2.png" COMP;
31903          image: "bt_hilight.png" COMP;
31904          image: "bt_shine.png" COMP;
31905          image: "bt_glow.png" COMP;
31906          image: "bt_dis_base.png" COMP;
31907          image: "bt_dis_hilight.png" COMP;
31908          image: "arrow_up.png" COMP;
31909          image: "arrow_down.png" COMP;
31910       }
31911      parts
31912        {
31913           part
31914             {
31915                name: "whole";
31916                type: RECT;
31917                mouse_events: 0;
31918                description
31919                  {
31920                     state: "default" 0.0;
31921                     visible: 0;
31922                  }
31923             }
31924
31925          //2 contents
31926           part
31927             {
31928                name: "whole_left";
31929                type: RECT;
31930                mouse_events: 0;
31931                description
31932                  {
31933                     state: "default" 0.0;
31934                     rel2.to_y: "elm.bar";
31935                     rel2.relative: 1.0 0.0;
31936                     visible: 1;
31937                  }
31938             }
31939           part
31940             {
31941                name: "elm.swallow.left";
31942                type: SWALLOW;
31943                clip_to: "whole_left";
31944                description
31945                  {
31946                     state: "default" 0.0;
31947                     rel1.to: "whole_left";
31948                     rel2.to: "whole_left";
31949                  }
31950             }
31951
31952             part
31953             {
31954                name: "whole_right";
31955                type: RECT;
31956                mouse_events: 0;
31957                description
31958                  {
31959                     state: "default" 0.0;
31960                     rel1.to_y: "elm.bar";
31961                     rel1.relative: 0.0 1.0;
31962                     visible: 1;
31963                  }
31964             }
31965           part
31966             {
31967                name: "elm.swallow.right";
31968                type: SWALLOW;
31969                clip_to: "whole_right";
31970                description
31971                  {
31972                     state: "default" 0.0;
31973                     rel1.to: "whole_right";
31974                     rel2.to: "whole_right";
31975                  }
31976             }
31977          //BAR
31978          part { name: "elm.bar";
31979             mouse_events: 1;
31980             dragable {
31981                confine: "whole";
31982                x: 0 0 0;
31983                y: 1 1 1;
31984             }
31985             description { state: "default" 0.0;
31986                max: 999 15;
31987                min: 100 15;
31988                rel1.relative: 0.5 0.0;
31989                rel2.relative: 0.5 1.0;
31990                image {
31991                   normal: "bt_base2.png";
31992                   border: 7 7 7 7;
31993                }
31994                image.middle: SOLID;
31995             }
31996             description { state: "clicked" 0.0;
31997                inherit: "default" 0.0;
31998                image.normal: "bt_base1.png";
31999                image.middle: SOLID;
32000             }
32001             description { state: "disabled" 0.0;
32002                inherit:  "default" 0.0;
32003                image {
32004                   normal: "bt_dis_base.png";
32005                   border: 4 4 4 4;
32006                }
32007             }
32008          }
32009          part {          name: "over1";
32010             mouse_events: 0;
32011             description { state: "default" 0.0;
32012             rel1.to: "elm.bar";
32013             rel2.to: "elm.bar";
32014                rel2.relative: 1.0 0.5;
32015                image {
32016                   normal: "bt_hilight.png";
32017                   border: 7 7 7 0;
32018                }
32019             }
32020             description { state: "disabled" 0.0;
32021                inherit:  "default" 0.0;
32022                image {
32023                   normal: "bt_dis_hilight.png";
32024                   border: 4 4 4 0;
32025                }
32026             }
32027          }
32028          part { name: "over2";
32029             mouse_events: 1;
32030             repeat_events: 1;
32031             ignore_flags: ON_HOLD;
32032             description { state: "default" 0.0;
32033             rel1.to: "elm.bar";
32034             rel2.to: "elm.bar";
32035                image {
32036                   normal: "bt_shine.png";
32037                   border: 7 7 7 7;
32038                }
32039             }
32040             description { state: "disabled" 0.0;
32041                inherit:  "default" 0.0;
32042                visible: 0;
32043             }
32044          }
32045          part { name: "over3";
32046             mouse_events: 1;
32047             repeat_events: 1;
32048             description { state: "default" 0.0;
32049                color: 255 255 255 0;
32050             rel1.to: "elm.bar";
32051             rel2.to: "elm.bar";
32052                image {
32053                   normal: "bt_glow.png";
32054                   border: 12 12 12 12;
32055                }
32056                fill.smooth : 0;
32057             }
32058             description { state: "clicked" 0.0;
32059                inherit:  "default" 0.0;
32060                visible: 1;
32061                color: 255 255 255 255;
32062             }
32063          }
32064
32065          //Arrow
32066          part {
32067             name: "arrow_right";
32068             repeat_events: 1;
32069             description { state: "default" 0.0;
32070                 min: 45 45;
32071                 max: 45 45;
32072                 color: 255 255 255 0;
32073
32074                 rel1.relative: 0.5 1.0;
32075                 rel1.to_y: "elm.bar";
32076                 rel1.offset: -45/2 45/2;
32077
32078                 rel2.relative: 0.5 1.0;
32079                 rel2.to_y: "elm.bar";
32080                 rel2.offset: 45/2 45/2;
32081
32082                 image.normal: "arrow_down.png";
32083
32084                 fixed: 1 1;
32085             }
32086             description { state: "anim_1" 0.0;
32087                 inherit: "default" 0.0;
32088                 color: 255 255 255 200;
32089                 rel1.offset: -45/2 (45/2 +10);
32090                 rel2.offset: 45/2 (45/2 +10);
32091             }
32092             description { state: "anim_2" 0.0;
32093                 inherit: "default" 0.0;
32094                 color: 255 255 255 0;
32095                 rel1.offset: -45/2 (45/2 + 20);
32096                 rel2.offset: 45/2 (45/2 + 20);
32097             }
32098          }
32099         part {
32100             name: "arrow_left";
32101             repeat_events: 1;
32102             description { state: "default" 0.0;
32103                 min: 45 45;
32104                 max: 45 45;
32105                 color: 255 255 255 0;
32106
32107                 rel1.relative: 0.5 0.0;
32108                 rel1.to_y: "elm.bar";
32109                 rel1.offset: -45/2 -45/2;
32110
32111                 rel2.relative: 0.5 0.0;
32112                 rel2.to_y: "elm.bar";
32113                 rel2.offset: 45/2 -45/2;
32114
32115                 image.normal: "arrow_up.png";
32116
32117                 fixed: 1 1;
32118             }
32119             description { state: "anim_1" 0.0;
32120                 inherit: "default" 0.0;
32121                 color: 255 255 255 200;
32122                 rel1.offset: -45/2 (-45/2 - 10);
32123                 rel2.offset: 45/2 (-45/2 - 10);
32124             }
32125             description { state: "anim_2" 0.0;
32126                 inherit: "default" 0.0;
32127                 color: 255 255 255 0;
32128                 rel1.offset: -45/2 (-45/2 - 20);
32129                 rel2.offset: 45/2 (-45/2 - 20);
32130             }
32131          }
32132
32133        }
32134         programs {
32135          program {
32136             name:   "button_click";
32137             signal: "mouse,down,1";
32138             source: "over2";
32139             action: SIGNAL_EMIT "elm,action,press" "";
32140             after: "button_click_anim";
32141             after: "arrow_anim_start";
32142          }
32143          program {
32144             name:   "button_click_anim";
32145             action: STATE_SET "clicked" 0.0;
32146             target: "elm.bar";
32147          }
32148          program {
32149             name:   "button_unclick";
32150             signal: "mouse,up,1";
32151             source: "over2";
32152             action: SIGNAL_EMIT "elm,action,unpress" "";
32153             after: "button_unclick_anim";
32154             after: "arrow_anim_stop";
32155          }
32156          program {
32157             name:   "button_unclick_anim";
32158             action: STATE_SET "default" 0.0;
32159             target: "elm.bar";
32160          }
32161          program {
32162             name:   "button_click2";
32163             signal: "mouse,down,1";
32164             source: "over3";
32165             action: STATE_SET "clicked" 0.0;
32166             target: "over3";
32167          }
32168          program {
32169             name:   "button_unclick2";
32170             signal: "mouse,up,1";
32171             source: "over3";
32172             action: STATE_SET "default" 0.0;
32173             transition: DECELERATE 0.5;
32174             target: "over3";
32175          }
32176          program {
32177             name:   "button_unclick3";
32178             signal: "mouse,up,1";
32179             source: "over2";
32180             action: SIGNAL_EMIT "elm,action,click" "";
32181          }
32182          program {
32183             name:   "button_down_double";
32184             signal: "mouse,down,1,double";
32185             source: "over3";
32186             action: SIGNAL_EMIT "elm,action,click,double" "";
32187          }
32188
32189          //arrows animation
32190          program {
32191             name: "arrow_anim_start";
32192             action: STATE_SET "anim_1" 0.0;
32193             target: "arrow_right";
32194             target: "arrow_left";
32195             transition: LINEAR 0.6;
32196             after: "arrow_anim_1";
32197          }
32198          program {
32199             name: "arrow_anim_1";
32200             action: STATE_SET "anim_2" 0.0;
32201             target: "arrow_right";
32202             target: "arrow_left";
32203             transition: LINEAR 0.6;
32204             after: "arrow_anim_2";
32205          }
32206          program {
32207             name: "arrow_anim_2";
32208             action: STATE_SET "default" 0.0;
32209             target: "arrow_right";
32210             target: "arrow_left";
32211             after: "arrow_anim_start";
32212          }
32213          program {
32214             name: "arrow_anim_stop";
32215             action: ACTION_STOP;
32216             target: "arrow_anim_start";
32217             target: "arrow_anim_1";
32218             target: "arrow_anim_2";
32219             after: "arrow_anim_stop_1";
32220          }
32221          program {
32222             name: "arrow_anim_stop_1";
32223             action: STATE_SET "default" 0.0;
32224             target: "arrow_right";
32225             target: "arrow_left";
32226             transition: DECELERATE 0.4;
32227         }
32228       }
32229   }
32230
32231
32232
32233 /////////////////////////////////////////////////////////////////////////////
32234 // PANEL
32235 /////////////////////////////////////////////////////////////////////////////
32236   group {
32237      name: "elm/panel/base/left";
32238      alias: "elm/panel/base/top";
32239      images
32240        {
32241           image: "bt_base1.png" COMP;
32242           image: "bt_hilight.png" COMP;
32243           image: "bt_shine.png" COMP;
32244           image: "bt_glow.png" COMP;
32245           image: "bt_dis_base.png" COMP;
32246           image: "icon_arrow_left.png" COMP;
32247           image: "icon_arrow_right.png" COMP;
32248        }
32249        data {
32250           item: "focus_highlight" "on";
32251        }
32252      parts
32253        {
32254             part { name: "focus_highlight";
32255                description { state: "default" 0.0;
32256                   visible: 0;
32257                   color: 255 255 255 0;
32258                   rel1 {
32259                      to: "btn";
32260                      offset: -8 -8;
32261                   }
32262                   rel2 {
32263                      to: "btn";
32264                      offset: 7 7;
32265                   }
32266                   image {
32267                      normal: "frame_2.png";
32268                      border: 5 5 32 26;
32269                      middle: 0;
32270                   }
32271                }
32272                description { state: "enabled" 0.0;
32273                   inherit: "default" 0.0;
32274                   visible: 1;
32275                   color: 255 255 255 255;
32276                }
32277             }
32278           part
32279             {
32280                name: "bg";
32281                type: RECT;
32282                mouse_events: 0;
32283                description
32284                  {
32285                     state: "default" 0.0;
32286                     color: 255 255 255 0;
32287                     rel1.relative: 0.0 0.0;
32288                     rel1.offset: 0 0;
32289                     rel2.relative: 1.0 1.0;
32290                     rel2.offset: -1 -1;
32291                  }
32292                description
32293                  {
32294                     state: "hidden" 0.0;
32295                     inherit: "default" 0.0;
32296                     rel1.relative: -1.0 0.0;
32297                     rel1.offset: 21 0;
32298                     rel2.relative: 0.0 1.0;
32299                     rel2.offset: 20 -1;
32300                  }
32301             }
32302           part
32303             {
32304                name: "base";
32305                type: IMAGE;
32306                mouse_events: 0;
32307                description
32308                  {
32309                     state: "default" 0.0;
32310                     rel1.to: "bg";
32311                     rel2.to: "bg";
32312                     rel2.offset: -20 -1;
32313                     image
32314                       {
32315                          normal: "bt_dis_base.png";
32316                          border: 4 4 4 4;
32317                       }
32318                  }
32319             }
32320           part
32321             {
32322                name: "clipper";
32323                type: RECT;
32324                mouse_events: 0;
32325                description
32326                  {
32327                     state: "default" 0.0;
32328                     rel1
32329                       {
32330                          offset: 4 4;
32331                          to: "base";
32332                       }
32333                     rel2
32334                       {
32335                          offset: -5 -5;
32336                          to: "base";
32337                       }
32338                  }
32339             }
32340           part
32341             {
32342                name: "elm.swallow.content";
32343                type: SWALLOW;
32344                clip_to: "clipper";
32345                description
32346                  {
32347                     state: "default" 0.0;
32348                     rel1.to: "clipper";
32349                     rel2.to: "clipper";
32350                  }
32351             }
32352           part
32353             {
32354                name: "btn";
32355                type: IMAGE;
32356                mouse_events: 1;
32357                description
32358                  {
32359                     state: "default" 0.0;
32360                     max: 32 48;
32361                     fixed: 1 1;
32362                     align: 0.0 0.5;
32363                     rel1
32364                       {
32365                          relative: 1.0 0.0;
32366                          offset: -3 0;
32367                          to_x: "base";
32368                       }
32369                     rel2.to_x: "bg";
32370                     image
32371                       {
32372                          normal: "bt_base1.png";
32373                          border: 0 5 4 12;
32374                       }
32375                     fill.smooth: 0;
32376                  }
32377                description
32378                  {
32379                     state: "clicked" 0.0;
32380                     inherit: "default" 0.0;
32381                  }
32382             }
32383           part
32384             {
32385                name: "btn_over";
32386                type: IMAGE;
32387                mouse_events: 0;
32388                description
32389                  {
32390                     state: "default" 0.0;
32391                     rel1.to: "btn";
32392                     rel2
32393                       {
32394                          relative: 1.0 0.5;
32395                          to: "btn";
32396                       }
32397                     image
32398                       {
32399                          normal: "bt_hilight.png";
32400                          border: 0 7 7 0;
32401                       }
32402                  }
32403             }
32404           part
32405             {
32406                name: "btn_over2";
32407                type: IMAGE;
32408                mouse_events: 1;
32409                repeat_events: 1;
32410                ignore_flags: ON_HOLD;
32411                description
32412                  {
32413                     state: "default" 0.0;
32414                     rel1.to: "btn";
32415                     rel2.to: "btn";
32416                     image
32417                       {
32418                          normal: "bt_shine.png";
32419                          border: 0 7 7 7;
32420                     }
32421                  }
32422             }
32423           part
32424             {
32425                name: "btn_over3";
32426                type: IMAGE;
32427                mouse_events: 1;
32428                repeat_events: 1;
32429                description
32430                  {
32431                     state: "default" 0.0;
32432                     color: 255 255 255 0;
32433                     rel1.to: "btn";
32434                     rel2.to: "btn";
32435                     image
32436                       {
32437                        normal: "bt_glow.png";
32438                        border: 12 12 12 12;
32439                     }
32440                   fill.smooth: 0;
32441                }
32442              description
32443                {
32444                   state: "clicked" 0.0;
32445                   inherit: "default" 0.0;
32446                   visible: 1;
32447                   color: 255 255 255 255;
32448                }
32449             }
32450           part
32451             {
32452                name: "btn_icon";
32453                type: IMAGE;
32454                repeat_events: 1;
32455                description
32456                  {
32457                     state: "default" 0.0;
32458                     rel1.to: "btn";
32459                     rel2.to: "btn";
32460                     align: 0.5 0.5;
32461                     min: 16 16;
32462                     max: 16 16;
32463                     image.normal: "icon_arrow_left.png";
32464                  }
32465                description
32466                  {
32467                     state: "hidden" 0.0;
32468                     inherit: "default" 0.0;
32469                     image.normal: "icon_arrow_right.png";
32470                  }
32471             }
32472        }
32473      programs
32474        {
32475           program
32476             {
32477                name: "show";
32478                signal: "elm,action,show";
32479                source: "elm";
32480                action: STATE_SET "default" 0.0;
32481                target: "bg";
32482                target: "btn_icon";
32483                transition: LINEAR 0.5;
32484             }
32485           program
32486             {
32487                name: "hide";
32488                signal: "elm,action,hide";
32489                source: "elm";
32490                action: STATE_SET "hidden" 0.0;
32491                target: "bg";
32492                target: "btn_icon";
32493                transition: LINEAR 0.5;
32494             }
32495           program
32496             {
32497                name: "btn_click";
32498                signal: "mouse,down,1";
32499                source: "btn_over2";
32500                action: STATE_SET "clicked" 0.0;
32501                target: "btn";
32502             }
32503           program
32504             {
32505                name: "btn_unclick";
32506                signal: "mouse,up,1";
32507                source: "btn_over2";
32508                action: STATE_SET "default" 0.0;
32509                target: "btn";
32510             }
32511           program
32512             {
32513                name: "btn_click2";
32514                signal: "mouse,down,1";
32515                source: "btn_over3";
32516                action: STATE_SET "clicked" 0.0;
32517                target: "btn_over3";
32518             }
32519           program
32520             {
32521                name: "btn_unclick2";
32522                signal: "mouse,up,1";
32523                source: "btn_over3";
32524                action: STATE_SET "default" 0.0;
32525                transition: DECELERATE 0.5;
32526                target: "btn_over3";
32527             }
32528           program
32529             {
32530                name: "btn_unclick3";
32531                signal: "mouse,clicked,1";
32532                source: "btn_over2";
32533                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32534             }
32535          program { name: "highlight_show";
32536             signal: "elm,action,focus_highlight,show";
32537             source: "elm";
32538             action: STATE_SET "enabled" 0.0;
32539             transition: ACCELERATE 0.3;
32540             target: "focus_highlight";
32541          }
32542          program { name: "highlight_hide";
32543             signal: "elm,action,focus_highlight,hide";
32544             source: "elm";
32545             action: STATE_SET "default" 0.0;
32546             transition: DECELERATE 0.3;
32547             target: "focus_highlight";
32548          }
32549        }
32550   }
32551
32552   group {
32553      name: "elm/panel/base/right";
32554      alias: "elm/panel/base/bottom";
32555      images
32556        {
32557           image: "bt_base1.png" COMP;
32558           image: "bt_hilight.png" COMP;
32559           image: "bt_shine.png" COMP;
32560           image: "bt_glow.png" COMP;
32561           image: "bt_dis_base.png" COMP;
32562           image: "icon_arrow_left.png" COMP;
32563           image: "icon_arrow_right.png" COMP;
32564        }
32565      parts
32566        {
32567             part { name: "focus_highlight";
32568                description { state: "default" 0.0;
32569                   visible: 0;
32570                   color: 255 255 255 0;
32571                   rel1 {
32572                      to: "btn";
32573                      offset: -8 -8;
32574                   }
32575                   rel2 {
32576                      to: "btn";
32577                      offset: 7 7;
32578                   }
32579                   image {
32580                      normal: "frame_2.png";
32581                      border: 5 5 32 26;
32582                      middle: 0;
32583                   }
32584                }
32585                description { state: "enabled" 0.0;
32586                   inherit: "default" 0.0;
32587                   visible: 1;
32588                   color: 255 255 255 255;
32589                }
32590             }
32591           part
32592             {
32593                name: "bg";
32594                type: RECT;
32595                mouse_events: 0;
32596                description
32597                  {
32598                     state: "default" 0.0;
32599                     color: 255 255 255 0;
32600                     rel1.relative: 0.0 0.0;
32601                     rel1.offset: 0 0;
32602                     rel2.relative: 1.0 1.0;
32603                     rel2.offset: -1 -1;
32604                  }
32605                description
32606                  {
32607                     state: "hidden" 0.0;
32608                     inherit: "default" 0.0;
32609                     rel1.relative: 1.0 0.0;
32610                     rel1.offset: -22 0;
32611                     rel2.relative: 2.0 1.0;
32612                     rel2.offset: -23 -1;
32613                  }
32614             }
32615           part
32616             {
32617                name: "base";
32618                type: IMAGE;
32619                mouse_events: 0;
32620                description
32621                  {
32622                     state: "default" 0.0;
32623                     rel1.to: "bg";
32624                     rel1.offset: 20 0;
32625                     rel2.to: "bg";
32626                     image
32627                       {
32628                          normal: "bt_dis_base.png";
32629                          border: 4 4 4 4;
32630                       }
32631                  }
32632             }
32633           part
32634             {
32635                name: "clipper";
32636                type: RECT;
32637                mouse_events: 0;
32638                description
32639                  {
32640                     state: "default" 0.0;
32641                     rel1
32642                       {
32643                          offset: 4 4;
32644                          to: "base";
32645                       }
32646                     rel2
32647                       {
32648                          offset: -5 -5;
32649                          to: "base";
32650                       }
32651                  }
32652             }
32653           part
32654             {
32655                name: "elm.swallow.content";
32656                type: SWALLOW;
32657                clip_to: "clipper";
32658                description
32659                  {
32660                     state: "default" 0.0;
32661                     rel1.to: "clipper";
32662                     rel2.to: "clipper";
32663                  }
32664             }
32665           part
32666             {
32667                name: "btn";
32668                type: IMAGE;
32669                mouse_events: 1;
32670                description
32671                  {
32672                     state: "default" 0.0;
32673                     max: 32 48;
32674                     fixed: 1 1;
32675                     align: 1 0.5;
32676                     rel1
32677                       {
32678                          to_x: "bg";
32679                       }
32680                     rel2
32681                       {
32682                          offset: 2 0;
32683                          relative: 0.0 1;
32684                          to_x: "base";
32685                       }
32686                     image
32687                       {
32688                          normal: "bt_base1.png";
32689                          border: 5 0 4 12;
32690                       }
32691                     fill.smooth: 0;
32692                  }
32693                description
32694                  {
32695                     state: "clicked" 0.0;
32696                     inherit: "default" 0.0;
32697                  }
32698             }
32699           part
32700             {
32701                name: "btn_over";
32702                type: IMAGE;
32703                mouse_events: 0;
32704                description
32705                  {
32706                     state: "default" 0.0;
32707                     rel1.to: "btn";
32708                     rel2
32709                       {
32710                          relative: 1.0 0.5;
32711                          to: "btn";
32712                       }
32713                     image
32714                       {
32715                          normal: "bt_hilight.png";
32716                          border: 7 0 7 0;
32717                       }
32718                  }
32719             }
32720           part
32721             {
32722                name: "btn_over2";
32723                type: IMAGE;
32724                mouse_events: 1;
32725                repeat_events: 1;
32726                ignore_flags: ON_HOLD;
32727                description
32728                  {
32729                     state: "default" 0.0;
32730                     rel1.to: "btn";
32731                     rel2.to: "btn";
32732                     image
32733                       {
32734                          normal: "bt_shine.png";
32735                          border: 7 0 7 7;
32736                     }
32737                  }
32738             }
32739           part
32740             {
32741                name: "btn_over3";
32742                type: IMAGE;
32743                mouse_events: 1;
32744                repeat_events: 1;
32745                description
32746                  {
32747                     state: "default" 0.0;
32748                     color: 255 255 255 0;
32749                     rel1.to: "btn";
32750                     rel2.to: "btn";
32751                     image
32752                       {
32753                        normal: "bt_glow.png";
32754                        border: 12 12 12 12;
32755                     }
32756                   fill.smooth: 0;
32757                }
32758              description
32759                {
32760                   state: "clicked" 0.0;
32761                   inherit: "default" 0.0;
32762                   visible: 1;
32763                   color: 255 255 255 255;
32764                }
32765             }
32766           part
32767             {
32768                name: "btn_icon";
32769                type: IMAGE;
32770                repeat_events: 1;
32771                description
32772                  {
32773                     state: "default" 0.0;
32774                     rel1.to: "btn";
32775                     rel2.to: "btn";
32776                     align: 0.5 0.5;
32777                     min: 16 16;
32778                     max: 16 16;
32779                     image.normal: "icon_arrow_right.png";
32780                  }
32781                description
32782                  {
32783                     state: "hidden" 0.0;
32784                     inherit: "default" 0.0;
32785                     image.normal: "icon_arrow_left.png";
32786                  }
32787             }
32788        }
32789      programs
32790        {
32791           program
32792             {
32793                name: "show";
32794                signal: "elm,action,show";
32795                source: "elm";
32796                action: STATE_SET "default" 0.0;
32797                target: "bg";
32798                target: "btn_icon";
32799                transition: LINEAR 0.5;
32800             }
32801           program
32802             {
32803                name: "hide";
32804                signal: "elm,action,hide";
32805                source: "elm";
32806                action: STATE_SET "hidden" 0.0;
32807                target: "bg";
32808                target: "btn_icon";
32809                transition: LINEAR 0.5;
32810             }
32811           program
32812             {
32813                name: "btn_click";
32814                signal: "mouse,down,1";
32815                source: "btn_over2";
32816                action: STATE_SET "clicked" 0.0;
32817                target: "btn";
32818             }
32819           program
32820             {
32821                name: "btn_unclick";
32822                signal: "mouse,up,1";
32823                source: "btn_over2";
32824                action: STATE_SET "default" 0.0;
32825                target: "btn";
32826             }
32827           program
32828             {
32829                name: "btn_click2";
32830                signal: "mouse,down,1";
32831                source: "btn_over3";
32832                action: STATE_SET "clicked" 0.0;
32833                target: "btn_over3";
32834             }
32835           program
32836             {
32837                name: "btn_unclick2";
32838                signal: "mouse,up,1";
32839                source: "btn_over3";
32840                action: STATE_SET "default" 0.0;
32841                transition: DECELERATE 0.5;
32842                target: "btn_over3";
32843             }
32844           program
32845             {
32846                name: "btn_unclick3";
32847                signal: "mouse,up,1";
32848                source: "btn_over2";
32849                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32850             }
32851          program { name: "highlight_show";
32852             signal: "elm,action,focus";
32853             source: "elm";
32854             action: STATE_SET "enabled" 0.0;
32855             transition: ACCELERATE 0.3;
32856             target: "focus_highlight";
32857          }
32858          program { name: "highlight_hide";
32859             signal: "elm,action,unfocus";
32860             source: "elm";
32861             action: STATE_SET "default" 0.0;
32862             transition: DECELERATE 0.3;
32863             target: "focus_highlight";
32864          }
32865        }
32866   }
32867
32868 ///////////////////////////////////////////////////////////////////////////////
32869   group { name: "elm/conformant/base/default";
32870      parts {
32871         part { name: "elm.swallow.shelf";
32872            type: SWALLOW;
32873            description { state: "default" 0.0;
32874               fixed: 0 1;
32875               align: 0.0 0.0;
32876               rel2.relative: 1.0 0.0;
32877            }
32878         }
32879         part { name: "elm.swallow.content";
32880            type: SWALLOW;
32881            description { state: "default" 0.0;
32882               fixed: 0 1;
32883               align: 0.5 0.5;
32884               rel1.relative: 0.0 1.0;
32885               rel1.to_y: "elm.swallow.shelf";
32886               rel2.relative: 1.0 0.0;
32887               rel2.to_y: "elm.swallow.virtualkeypad";
32888            }
32889         }
32890         part { name: "elm.swallow.virtualkeypad";
32891            type: SWALLOW;
32892            description { state: "default" 0.0;
32893               fixed: 0 1;
32894               align: 0.0 1.0;
32895               rel2.relative: 1.0 0.0;
32896               rel2.to_y: "elm.swallow.panel";
32897            }
32898         }
32899         part { name: "elm.swallow.panel";
32900            type: SWALLOW;
32901            description { state: "default" 0.0;
32902               fixed: 0 1;
32903               align: 0.0 1.0;
32904               rel1.relative: 0.0 1.0;
32905            }
32906         }
32907      }
32908   }
32909
32910 /////////////////////////////////////////////////////////////////////////////
32911 // CALENDAR
32912 /////////////////////////////////////////////////////////////////////////////
32913 #define CH(_pos) \
32914          part { name: "ch_"#_pos".base"; \
32915             type: RECT; \
32916             description { state: "default" 0.0; \
32917                rel1 { \
32918                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32919                   to: "header"; \
32920                } \
32921                rel2 { \
32922                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32923                   to: "header"; \
32924                } \
32925                color: 0 0 0 0; \
32926                visible: 0; \
32927             } \
32928          } \
32929          part { name: "ch_"#_pos".text"; \
32930             type: TEXT; \
32931             effect: SOFT_SHADOW; \
32932             mouse_events: 0; \
32933             scale: 1; \
32934             clip_to: "ch_"#_pos".clipper"; \
32935             description { \
32936                state: "default" 0.0; \
32937                rel1.to: "ch_"#_pos".base"; \
32938                rel2.to: "ch_"#_pos".base"; \
32939                color: 0 0 0 255; \
32940                color3: 0 0 0 0; \
32941                text { \
32942                   font: "Sans"; \
32943                   size: 10; \
32944                   min: 1 1; \
32945                   align: 0.5 0.5; \
32946                } \
32947             } \
32948          } \
32949          part { name: "ch_"#_pos".clipper"; \
32950             type: RECT; \
32951             description { state: "default" 0.0; \
32952                rel1.to: "ch_"#_pos".base"; \
32953                rel2.to: "ch_"#_pos".base"; \
32954             } \
32955          }
32956
32957 #define CIT(_pos) \
32958          part { name: "cit_"#_pos".rect"; \
32959             type: RECT; \
32960             description { state: "default" 0.0; \
32961                rel1 { \
32962                   relative: (_pos % 7 * 7 / 8 / 6) \
32963                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32964                   to: "base"; \
32965                } \
32966                rel2 { \
32967                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32968                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32969                   to: "base"; \
32970                } \
32971                color: 0 0 0 0; \
32972                visible: 0; \
32973             } \
32974          } \
32975          part { \
32976             name: "cit_"#_pos".event"; \
32977             type: RECT; \
32978             repeat_events: 1; \
32979             description { \
32980                rel1.to: "cit_"#_pos".rect"; \
32981                rel2.to: "cit_"#_pos".rect"; \
32982                state: "default" 0.0; \
32983                color: 0 0 0 0; \
32984             } \
32985          } \
32986          part { name: "cit_"#_pos".shelf"; \
32987             type: RECT; \
32988             mouse_events: 0; \
32989             description { state: "default" 0.0; \
32990                rel1 { \
32991                   to: "cit_"#_pos".bg"; \
32992                   offset: -1 -1; \
32993                } \
32994                rel2 { \
32995                   to: "cit_"#_pos".bg"; \
32996                } \
32997                color: 200 200 200 255; \
32998             } \
32999          } \
33000          part { name: "cit_"#_pos".hd"; \
33001             type: RECT; \
33002             mouse_events: 0; \
33003             description { state: "default" 0.0; \
33004                rel1 { \
33005                   to: "cit_"#_pos".bg"; \
33006                   offset: -1 -1; \
33007                } \
33008                rel2 { \
33009                   to: "cit_"#_pos".bg"; \
33010                } \
33011                visible: 0; \
33012                color: 160 0 0 255; \
33013             } \
33014             description { state: "visible" 0.0; \
33015                inherit: "default" 0.0; \
33016                visible: 1; \
33017             } \
33018          } \
33019          part { \
33020             name: "cit_"#_pos".base_sh"; \
33021             mouse_events: 0; \
33022             description { \
33023                state: "default" 0.0; \
33024                align: 0.0 0.0; \
33025                min: 0 1; \
33026                rel1 { \
33027                   to: "cit_"#_pos".base"; \
33028                   relative: 0.0 1.0; \
33029                   offset: 0 0; \
33030                } \
33031                rel2 { \
33032                   to: "cit_"#_pos".base"; \
33033                   relative: 1.0 1.05; \
33034                   offset: -1 0; \
33035                } \
33036                image { \
33037                   normal: "ilist_item_shadow.png"; \
33038                } \
33039                fill.smooth: 0; \
33040             } \
33041          } \
33042          part { \
33043             name: "cit_"#_pos".base"; \
33044             mouse_events: 0; \
33045             description { \
33046                state: "default" 0.0; \
33047                rel1.to: "cit_"#_pos".rect"; \
33048                rel2.to: "cit_"#_pos".rect"; \
33049                rel2.offset: -1 -1; \
33050                image { \
33051                   normal: "ilist_1.png"; \
33052                   border: 2 2 2 2; \
33053                } \
33054                fill.smooth: 0; \
33055             } \
33056             description { \
33057                state: "today" 0.0; \
33058                inherit: "default" 0.0; \
33059                image.normal: "ilist_2.png"; \
33060                color: 240 240 240 255; \
33061             } \
33062          } \
33063          part { name: "cit_"#_pos".bg"; \
33064             mouse_events: 0; \
33065             description { state: "default" 0.0; \
33066                visible: 0; \
33067                color: 255 255 255 0; \
33068                rel1 { \
33069                   to: "cit_"#_pos".rect"; \
33070                   relative: 0.0 0.0; \
33071                } \
33072                rel2 { \
33073                   to: "cit_"#_pos".rect"; \
33074                   relative: 1.0 1.0; \
33075                   offset: -1 -1; \
33076                } \
33077                image { \
33078                   normal: "bt_sm_base1.png"; \
33079                   border: 6 6 6 6; \
33080                } \
33081                image.middle: SOLID; \
33082             } \
33083             description { state: "selected" 0.0; \
33084                inherit: "default" 0.0; \
33085                visible: 1; \
33086                color: 255 255 255 255; \
33087             } \
33088          } \
33089          part { name: "cit_"#_pos".text"; \
33090             type: TEXT; \
33091             effect: SOFT_SHADOW; \
33092             mouse_events: 0; \
33093             scale: 1; \
33094             description { \
33095                state: "default" 0.0; \
33096                rel1.to: "cit_"#_pos".bg"; \
33097                rel2.to: "cit_"#_pos".bg"; \
33098                color: 0 0 0 255; \
33099                color3: 0 0 0 0; \
33100                text { \
33101                   font: "Sans"; \
33102                   size: 10; \
33103                   min: 1 1; \
33104                   align: 0.5 0.5; \
33105                } \
33106             } \
33107             description { state: "selected" 0.0; \
33108                inherit: "default" 0.0; \
33109                color: 224 224 224 255; \
33110                color3: 0 0 0 64; \
33111             } \
33112          } \
33113          part { name: "cit_"#_pos".fg1"; \
33114             mouse_events: 0; \
33115             description { state: "default" 0.0; \
33116                visible: 0; \
33117                color: 255 255 255 0; \
33118                rel1.to: "cit_"#_pos".bg"; \
33119                rel2.relative: 1.0 0.5; \
33120                rel2.to: "cit_"#_pos".bg"; \
33121                image { \
33122                   normal: "bt_sm_hilight.png"; \
33123                   border: 6 6 6 0; \
33124                } \
33125             } \
33126             description { state: "selected" 0.0; \
33127                inherit: "default" 0.0; \
33128                visible: 1; \
33129                color: 255 255 255 255; \
33130             } \
33131          } \
33132          part { name: "cit_"#_pos".fg2"; \
33133             mouse_events: 0; \
33134             description { state: "default" 0.0; \
33135                visible: 0; \
33136                color: 255 255 255 0; \
33137                rel1.to: "cit_"#_pos".bg"; \
33138                rel2.to: "cit_"#_pos".bg"; \
33139                image { \
33140                   normal: "bt_sm_shine.png"; \
33141                   border: 6 6 6 0; \
33142                } \
33143             } \
33144             description { state: "selected" 0.0; \
33145                inherit: "default" 0.0; \
33146                visible: 1; \
33147                color: 255 255 255 255; \
33148             } \
33149          } \
33150          part { name: "cit_"#_pos".check"; \
33151             mouse_events: 0; \
33152             description { state: "default" 0.0; \
33153                rel1 { \
33154                   to: "cit_"#_pos".bg"; \
33155                   relative: 0.7 0.6; \
33156                   offset: 1 1; \
33157                } \
33158                rel2 { \
33159                   to: "cit_"#_pos".bg"; \
33160                   relative: 1.1 1.2; \
33161                   offset: -2 -2; \
33162                } \
33163                aspect: 1 1; \
33164                visible: 0; \
33165                color: 255 0 0 255; \
33166                image.normal: "check.png"; \
33167             } \
33168             description { state: "visible" 0.0; \
33169                inherit: "default" 0.0; \
33170                visible: 1; \
33171             } \
33172          } \
33173       programs { \
33174          program { \
33175             name:    "cit_"#_pos".go_active"; \
33176             signal:  "cit_"#_pos",selected"; \
33177             source:  "elm"; \
33178             action:  STATE_SET "selected" 0.0; \
33179             target:  "cit_"#_pos".bg"; \
33180             target:  "cit_"#_pos".fg1"; \
33181             target:  "cit_"#_pos".fg2"; \
33182             target:  "cit_"#_pos".text"; \
33183          } \
33184          program { \
33185             name:    "cit_"#_pos".go_passive"; \
33186             signal:  "cit_"#_pos",unselected"; \
33187             source:  "elm"; \
33188             action:  STATE_SET "default" 0.0; \
33189             target:  "cit_"#_pos".bg"; \
33190             target:  "cit_"#_pos".fg1"; \
33191             target:  "cit_"#_pos".fg2"; \
33192             target:  "cit_"#_pos".text"; \
33193          } \
33194          program { \
33195             name:    "cit_"#_pos".is_today"; \
33196             signal:  "cit_"#_pos",today"; \
33197             source:  "elm"; \
33198             action:  STATE_SET "today" 0.0; \
33199             target: "cit_"#_pos".base"; \
33200          } \
33201          program { \
33202             name:    "cit_"#_pos".not_today"; \
33203             signal:  "cit_"#_pos",not_today"; \
33204             source:  "elm"; \
33205             action:  STATE_SET "default" 0.0; \
33206             target: "cit_"#_pos".base"; \
33207          } \
33208          program { \
33209             source: "cit_"#_pos".clicked"; \
33210             signal: "mouse,clicked,1"; \
33211             source: "cit_"#_pos".event"; \
33212             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33213          } \
33214          program { \
33215             name:    "cit_"#_pos".clear"; \
33216             signal:  "cit_"#_pos",clear"; \
33217             source:  "elm"; \
33218             action:  STATE_SET "default" 0.0; \
33219             target: "cit_"#_pos".check"; \
33220             target: "cit_"#_pos".hd"; \
33221          } \
33222          program { \
33223             name:    "cit_"#_pos".checked"; \
33224             signal:  "cit_"#_pos",checked"; \
33225             source:  "elm"; \
33226             action:  STATE_SET "visible" 0.0; \
33227             target: "cit_"#_pos".check"; \
33228          } \
33229          program { \
33230             name:    "cit_"#_pos".holiday"; \
33231             signal:  "cit_"#_pos",holiday"; \
33232             source:  "elm"; \
33233             action:  STATE_SET "visible" 0.0; \
33234             target: "cit_"#_pos".hd"; \
33235          } \
33236       }
33237
33238    group { name: "elm/calendar/base/default";
33239        images {
33240            image: "shelf_inset.png" COMP;
33241            image: "bt_base1.png" COMP;
33242            image: "bt_hilight.png" COMP;
33243            image: "bt_shine.png" COMP;
33244            image: "bt_glow.png" COMP;
33245            image: "bt_dis_base.png" COMP;
33246            image: "bt_dis_hilight.png" COMP;
33247            image: "sp_bt_l.png" COMP;
33248            image: "sp_bt_r.png" COMP;
33249            image: "bt_sm_base1.png" COMP;
33250            image: "bt_sm_shine.png" COMP;
33251            image: "bt_sm_hilight.png" COMP;
33252            image: "ilist_1.png" COMP;
33253            image: "ilist_2.png" COMP;
33254            image: "ilist_item_shadow.png" COMP;
33255            image: "check.png" COMP;
33256        }
33257        parts {
33258            part { name: "bg";
33259                type: RECT;
33260                description { state: "default" 0.0;
33261                    min: 0 30;
33262                    rel1.offset: 1 1;
33263                    rel2.offset: -2 -2;
33264                    color: 255 255 255 0;
33265                    align: 0.0 0.5;
33266                }
33267            }
33268            part { name: "spinner-base";
33269                type: RECT;
33270                mouse_events: 0;
33271                description { state: "default" 0.0;
33272                    min: 24 24;
33273                    max: 999999 24;
33274                    rel1.to: "bg";
33275                    rel1.offset: 6 6;
33276                    rel2.to: "bg";
33277                    rel2.offset: -7 -7;
33278                    color: 255 255 255 0;
33279                    align: 0.0 0.0;
33280                }
33281            }
33282            part { name: "conf_over_spinner";
33283                mouse_events:  0;
33284                description { state: "default" 0.0;
33285                    rel1.to: "spinner-base";
33286                    rel1.offset: -3 -3;
33287                    rel2.to: "spinner-base";
33288                    rel2.offset: 2 2;
33289                    image {
33290                        normal: "shelf_inset.png";
33291                        border: 7 7 7 7;
33292                        middle: 0;
33293                    }
33294                    fill.smooth : 0;
33295                }
33296            }
33297            part { name: "table-base";
33298                type: RECT;
33299                mouse_events: 0;
33300                description { state: "default" 0.0;
33301                    min: 256 220;
33302                    rel1.to_x: "bg";
33303                    rel1.to_y: "spinner-base";
33304                    rel1.offset: 6 6;
33305                    rel1.relative: 0 1;
33306                    rel2.to: "bg";
33307                    rel2.offset: -7 -7;
33308                    color: 255 255 255 0;
33309                }
33310            }
33311            part { name: "conf_over_table";
33312                mouse_events:  0;
33313                description { state: "default" 0.0;
33314                    rel1.to: "table-base";
33315                    rel1.offset: -3 -3;
33316                    rel2.to: "table-base";
33317                    rel2.offset: 2 2;
33318                    image {
33319                        normal: "shelf_inset.png";
33320                        border: 7 7 7 7;
33321                        middle: 0;
33322                    }
33323                    fill.smooth : 0;
33324                }
33325            }
33326            part { name: "header";
33327                type: RECT;
33328                mouse_events: 0;
33329                description { state: "default" 0.0;
33330                    rel1.to: "table-base";
33331                    rel1.relative: 0 0;
33332                    rel2.to: "table-base";
33333                    rel2.relative: 1 0.1;
33334                    color: 255 255 255 0;
33335                }
33336            }
33337            part { name: "base";
33338                type: RECT;
33339                mouse_events: 0;
33340                description { state: "default" 0.0;
33341                    rel1.to_x: "table-base";
33342                    rel1.to_y: "header";
33343                    rel1.relative: 0 1;
33344                    rel1.offset: 3 0;
33345                    rel2.to: "table-base";
33346                    rel2.offset: -3 0;
33347                    color: 255 255 255 0;
33348                }
33349            }
33350            part { name: "left_bt";
33351                mouse_events:  1;
33352                description { state: "default" 0.0;
33353                    rel1 { to: "spinner-base";
33354                        offset: 2 2;
33355                    }
33356                    rel2 { to: "spinner-base";
33357                        offset: -3 -3;
33358                    }
33359                    align: 0.0 0.5;
33360                    min: 24 24;
33361                    max: 24 24;
33362                    fixed: 1 1;
33363                    image {
33364                        normal: "bt_base1.png";
33365                        border: 6 6 6 6;
33366                    }
33367                    fill.smooth : 0;
33368                }
33369                description { state: "clicked" 0.0;
33370                    inherit: "default" 0.0;
33371                    image.normal: "bt_base1.png";
33372                    image.middle: SOLID;
33373                }
33374            }
33375            part { name: "left_over1";
33376                mouse_events: 0;
33377                description { state: "default" 0.0;
33378                    rel1.to: "left_bt";
33379                    rel2 { to: "left_bt";
33380                        relative: 1.0 0.5;
33381                    }
33382                    image {
33383                        normal: "bt_hilight.png";
33384                        border: 7 7 7 0;
33385                    }
33386                }
33387            }
33388            part { name: "left_over2";
33389                mouse_events: 1;
33390                repeat_events: 1;
33391                description { state: "default" 0.0;
33392                    rel1.to: "left_bt";
33393                    rel2.to: "left_bt";
33394                    image {
33395                        normal: "bt_shine.png";
33396                        border: 7 7 7 7;
33397                    }
33398                }
33399            }
33400            part { name: "left_over3";
33401                mouse_events: 1;
33402                repeat_events: 1;
33403                description { state: "default" 0.0;
33404                    color: 255 255 255 0;
33405                    rel1.to: "left_bt";
33406                    rel2.to: "left_bt";
33407                    image {
33408                        normal: "bt_glow.png";
33409                        border: 12 12 12 12;
33410                    }
33411                    fill.smooth : 0;
33412                }
33413                description { state: "clicked" 0.0;
33414                    inherit:  "default" 0.0;
33415                    visible: 1;
33416                    color: 255 255 255 255;
33417                }
33418            }
33419            part { name: "right_bt";
33420                mouse_events:  1;
33421                description { state: "default" 0.0;
33422                    rel1 { to: "spinner-base";
33423                        offset: -27 3;
33424                    }
33425                    rel2 { to: "spinner-base";
33426                        offset: -3 -3;
33427                    }
33428                    align: 1.0 0.5;
33429                    min: 24 24;
33430                    max: 24 24;
33431                    fixed: 1 1;
33432                    image {
33433                        normal: "bt_base1.png";
33434                        border: 5 5 4 12;
33435                    }
33436                    fill.smooth : 0;
33437                }
33438                description { state: "clicked" 0.0;
33439                    inherit: "default" 0.0;
33440                    image.normal: "bt_base1.png";
33441                    image.middle: SOLID;
33442                }
33443            }
33444            part { name: "right_over1";
33445                mouse_events: 0;
33446                description { state: "default" 0.0;
33447                    rel1.to: "right_bt";
33448                    rel2 { to: "right_bt";
33449                        relative: 1.0 0.5;
33450                    }
33451                    image {
33452                        normal: "bt_hilight.png";
33453                        border: 7 7 7 0;
33454                    }
33455                }
33456            }
33457            part { name: "right_over2";
33458                mouse_events: 1;
33459                repeat_events: 1;
33460                description { state: "default" 0.0;
33461                    rel1.to: "right_bt";
33462                    rel2.to: "right_bt";
33463                    image {
33464                        normal: "bt_shine.png";
33465                        border: 7 7 7 7;
33466                    }
33467                }
33468            }
33469            part { name: "right_over3";
33470                mouse_events: 1;
33471                repeat_events: 1;
33472                description { state: "default" 0.0;
33473                    color: 255 255 255 0;
33474                    rel1.to: "right_bt";
33475                    rel2.to: "right_bt";
33476                    image {
33477                        normal: "bt_glow.png";
33478                        border: 12 12 12 12;
33479                    }
33480                    fill.smooth : 0;
33481                }
33482                description { state: "clicked" 0.0;
33483                    inherit:  "default" 0.0;
33484                    visible: 1;
33485                    color: 255 255 255 255;
33486                }
33487            }
33488            part { name: "left_bt_icon";
33489                repeat_events: 1;
33490                description { state: "default" 0.0;
33491                    rel1.to: "left_bt";
33492                    rel2.to: "left_bt";
33493                    align: 0.5 0.5;
33494                    min: 16 16;
33495                    max: 16 16;
33496                    image.normal: "sp_bt_l.png";
33497                }
33498                description { state: "rtl" 0.0;
33499                    inherit: "default" 0.0;
33500                    image.normal: "sp_bt_r.png";
33501                }
33502            }
33503            part { name: "right_bt_icon";
33504                repeat_events: 1;
33505                description { state: "default" 0.0;
33506                    rel1.to: "right_bt";
33507                    rel2.to: "right_bt";
33508                    align: 0.5 0.5;
33509                    min: 16 16;
33510                    max: 16 16;
33511                    image.normal: "sp_bt_r.png";
33512                }
33513                description { state: "rtl" 0.0;
33514                    inherit: "default" 0.0;
33515                    image.normal: "sp_bt_l.png";
33516                }
33517            }
33518            part { name: "month_text";
33519                type: TEXT;
33520                mouse_events: 0;
33521                scale: 1;
33522                description { state: "default" 0.0;
33523                    align: 0 0.5;
33524                    fixed: 1 1;
33525                    rel1 { relative: 1.0 0.0;
33526                        offset: 3 2;
33527                        to: "left_bt";
33528                        to_y: "spinner-base";
33529                    }
33530                    rel2 { relative: 0.0 1.0;
33531                        offset: -3 -2;
33532                        to_x: "right_bt";
33533                        to_y: "spinner-base";
33534                    }
33535                    color: 0 0 0 255;
33536                    text {
33537                        font: "Sans,Edje-Vera";
33538                        size: 12;
33539                        min: 1 1;
33540                        align: 0.5 0.5;
33541                    }
33542                }
33543            }
33544            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33545            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33546            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33547            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33548            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33549            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33550            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33551        }
33552        programs {
33553            program { name: "dec_start";
33554                signal: "mouse,down,1";
33555                source: "left_bt";
33556                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33557            }
33558            program { name: "dec_stop";
33559                signal: "mouse,up,1";
33560                source: "left_bt";
33561                action: SIGNAL_EMIT "elm,action,stop" "";
33562            }
33563            program { name: "inc_start";
33564                signal: "mouse,down,1";
33565                source: "right_bt";
33566                action: SIGNAL_EMIT "elm,action,increment,start" "";
33567            }
33568            program { name: "inc_stop";
33569                signal: "mouse,up,1";
33570                source: "right_bt";
33571                action: SIGNAL_EMIT "elm,action,stop" "";
33572            }
33573            program {
33574                name:   "left_bt_click";
33575                signal: "mouse,down,1";
33576                source: "left_over2";
33577                action: STATE_SET "clicked" 0.0;
33578                target: "left_bt";
33579            }
33580            program {
33581                name:   "left_bt_unclick";
33582                signal: "mouse,up,1";
33583                source: "left_over2";
33584                action: STATE_SET "default" 0.0;
33585                target: "left_bt";
33586            }
33587            program {
33588                name:   "left_bt_click2";
33589                signal: "mouse,down,1";
33590                source: "left_over3";
33591                action: STATE_SET "clicked" 0.0;
33592                target: "left_over3";
33593            }
33594            program {
33595                name:   "left_bt_unclick2";
33596                signal: "mouse,up,1";
33597                source: "left_over3";
33598                action: STATE_SET "default" 0.0;
33599                transition: DECELERATE 0.5;
33600                target: "left_over3";
33601            }
33602            program {
33603                name:   "right_bt_click";
33604                signal: "mouse,down,1";
33605                source: "right_over2";
33606                action: STATE_SET "clicked" 0.0;
33607                target: "right_bt";
33608            }
33609            program {
33610                name:   "right_bt_unclick";
33611                signal: "mouse,up,1";
33612                source: "right_over2";
33613                action: STATE_SET "default" 0.0;
33614                target: "right_bt";
33615            }
33616            program {
33617                name:   "right_bt_click2";
33618                signal: "mouse,down,1";
33619                source: "right_over3";
33620                action: STATE_SET "clicked" 0.0;
33621                target: "right_over3";
33622            }
33623            program {
33624                name:   "right_bt_unclick2";
33625                signal: "mouse,up,1";
33626                source: "right_over3";
33627                action: STATE_SET "default" 0.0;
33628                transition: DECELERATE 0.5;
33629                target: "right_over3";
33630            }
33631            program { name: "to_rtl";
33632                signal: "edje,state,rtl";
33633                source: "edje";
33634                action: STATE_SET "rtl" 0.0;
33635                target: "right_bt_icon";
33636                target: "left_bt_icon";
33637            }
33638            program { name: "to_ltr";
33639                signal: "edje,state,ltr";
33640                source: "edje";
33641                action: STATE_SET "default" 0.0;
33642                target: "right_bt_icon";
33643                target: "left_bt_icon";
33644            }
33645        }
33646    }
33647
33648 #undef CIT
33649 #undef CH
33650
33651 ////////////////////////////////////////////////////////////////////////////////
33652 // colorselector
33653 ////////////////////////////////////////////////////////////////////////////////
33654    group { name: "elm/colorselector/bg/default";
33655       parts {
33656          part { name: "elm.colorbar_0";
33657             type: SWALLOW;
33658             mouse_events: 1;
33659             description { state: "default" 0.0;
33660                min: 120 30;
33661                rel1.relative: 0.0 0.00653594771;
33662                rel2.relative: 1.0 0.254901961;
33663             }
33664          }
33665          part { name: "elm.colorbar_1";
33666             type: SWALLOW;
33667             mouse_events: 1;
33668             description { state: "default" 0.0;
33669                min: 120 30;
33670                rel1.relative: 0.0 0.254901961;
33671                rel2.relative: 1.0 0.503267974;
33672             }
33673          }
33674          part { name: "elm.colorbar_2";
33675             type: SWALLOW;
33676             mouse_events: 1;
33677             description { state: "default" 0.0;
33678                min: 120 30;
33679                rel1.relative: 0.0 0.503267974;
33680                rel2.relative: 1.0 0.751633987;
33681             }
33682          }
33683          part { name: "elm.colorbar_3";
33684             type: SWALLOW;
33685             mouse_events: 1;
33686             description { state: "default" 0.0;
33687                min: 120 30;
33688                rel1.relative: 0.0 0.751633987;
33689                rel2.relative: 1.0 1.0;
33690             }
33691          }
33692       }
33693    }
33694
33695    group { name: "elm/colorselector/base/default";
33696       parts {
33697          part { name: "elm.bar_bg";
33698             type: SWALLOW;
33699             mouse_events: 0;
33700             description { state: "default" 0.0;
33701                min: 60 22;
33702                rel1 {
33703                   relative: 0.0 0.8;
33704                   to_x: "elm.arrow_bg";
33705                   to_y: "elm.arrow_icon";
33706                   offset: 0 0;
33707                }
33708                rel2 {
33709                   relative: 1.0 0.83;
33710                   to_x: "elm.arrow_bg";
33711                   offset: 0 0;
33712                }
33713             }
33714          }
33715          part { name: "elm.bar";
33716             type: SWALLOW;
33717             mouse_events: 0;
33718             description { state: "default" 0.0;
33719                rel1.to: "elm.bar_bg";
33720                rel2.to: "elm.bar_bg";
33721             }
33722          }
33723          part { name: "elm.arrow_bg";
33724             type: SWALLOW;
33725             mouse_events: 1;
33726             description { state: "default" 0.0;
33727                rel1 {
33728                   relative: 1.0 0.17;
33729                   offset: 3 0;
33730                   to_x: "elm.l_button";
33731                }
33732                rel2 {
33733                   relative: 0.0 0.83;
33734                      offset: -4 0;
33735                   to_x: "elm.r_button";
33736                }
33737             }
33738          }
33739          part { name: "elm.arrow";
33740             type: RECT;
33741             mouse_events: 1;
33742             scale: 1;
33743             description { state: "default" 0.0;
33744                min: 1 1;
33745                fixed: 1 1;
33746                align: 0 0;
33747                rel1 {
33748                   to_x: "elm.arrow_bg";
33749                }
33750                rel2 {
33751                   relative: 0.0 0.17;
33752                   to_x: "elm.arrow_bg";
33753                }
33754                color: 0 0 0 0;
33755                visible: 0;
33756             }
33757             dragable {
33758                confine: "elm.arrow_bg";
33759                x: 1 1 0;
33760                y: 0 0 0;
33761             }
33762          }
33763          part { name: "elm.arrow_icon";
33764             type: SWALLOW;
33765             mouse_events: 0;
33766             description { state: "default" 0.0;
33767                min: 25 15;
33768                max: 25 15;
33769                fixed: 1 1;
33770                align: 0.5 0;
33771                rel1 {
33772                   to_x: "elm.arrow";
33773                }
33774                rel2 {
33775                   relative: 1.0 0.0;
33776                   offset: 0 10;
33777                   to_x: "elm.arrow";
33778                }
33779             }
33780          }
33781          part { name: "event";
33782             type: RECT;
33783             mouse_events: 1;
33784             description { state: "default" 0.0;
33785                rel1 {
33786                   to: "elm.arrow_icon";
33787                }
33788                rel2 {
33789                   to_x: "elm.arrow_icon";
33790                   to_y: "elm.arrow_bg";
33791                   offset: 0 0;
33792                }
33793                color: 0 0 0 0;
33794             }
33795             dragable {
33796                events: "elm.arrow";
33797             }
33798          }
33799          part { name: "elm.l_button";
33800             type: SWALLOW;
33801             mouse_events: 1;
33802             scale: 1;
33803             description { state: "default" 0.0;
33804                min: 24 24;
33805                fixed: 1 1;
33806                rel1 {
33807                   relative: 0.0 0.0;
33808                   to_y: "elm.bar_bg";
33809                }
33810                rel2 {
33811                   relative: 0.0 1.0;
33812                   to_y: "elm.bar_bg";
33813                }
33814                align: 0.0 0.5;
33815             }
33816          }
33817          part { name: "elm.r_button";
33818             type: SWALLOW;
33819             mouse_events: 1;
33820             scale: 1;
33821             description {
33822                state: "default" 0.0;
33823                min: 24 24;
33824                fixed: 1 1;
33825                rel1 {
33826                   relative: 1.0 0.0;
33827                   to_y: "elm.bar_bg";
33828                }
33829                rel2 {
33830                   relative: 1.0 1.0;
33831                   to_y: "elm.bar_bg";
33832                }
33833                align: 1.0 0.5;
33834             }
33835          }
33836       }
33837    }
33838
33839    group{ name: "elm/colorselector/image/colorbar_0";
33840       images {
33841          image: "color_picker_color.png" COMP;
33842       }
33843       parts {
33844          part { name: "colorbar_0_image";
33845             type: IMAGE;
33846             mouse_events: 1;
33847             description { state: "default" 0.0;
33848                rel2.offset: -1 -1;
33849                image.normal: "color_picker_color.png";
33850             }
33851          }
33852       }
33853    }
33854
33855    group { name: "elm/colorselector/image/colorbar_1";
33856       images {
33857          image: "color_picker_opacity.png" COMP;
33858       }
33859       parts {
33860          part { name: "colorbar_1_image";
33861             type: IMAGE;
33862             mouse_events: 1;
33863             description { state: "default" 0.0;
33864                rel2.offset: -1 -1;
33865                image.normal: "color_picker_opacity.png";
33866             }
33867          }
33868       }
33869    }
33870
33871    group { name: "elm/colorselector/image/colorbar_2";
33872       images {
33873          image: "color_picker_brightness.png" COMP;
33874       }
33875       parts {
33876          part { name: "colorbar_2_image";
33877             type: IMAGE;
33878             mouse_events: 1;
33879             description { state: "default" 0.0;
33880                rel2.offset: -1 -1;
33881                image.normal: "color_picker_brightness.png";
33882             }
33883          }
33884       }
33885    }
33886
33887    group { name: "elm/colorselector/image/colorbar_3";
33888       images {
33889          image: "color_picker_alpha.png" COMP;
33890       }
33891       parts {
33892          part { name: "colorbar_3_image";
33893             type: IMAGE;
33894             mouse_events: 1;
33895             description { state: "default" 0.0;
33896                rel2.offset: -1 -1;
33897                image.normal: "color_picker_alpha.png";
33898             }
33899          }
33900       }
33901    }
33902
33903    group { name: "elm/colorselector/bg_image/colorbar_3";
33904       images {
33905          image: "color_picker_alpha_bg.png" COMP;
33906       }
33907       parts {
33908          part { name: "colorbar_3_image";
33909             type: IMAGE;
33910             mouse_events: 1;
33911             description { state: "default" 0.0;
33912                rel2.offset: -1 -1;
33913                image.normal: "color_picker_alpha_bg.png";
33914             }
33915          }
33916       }
33917    }
33918
33919    group { name: "elm/colorselector/image/updown";
33920       images {
33921          image: "icon_arrow_down.png" COMP;
33922       }
33923       parts {
33924          part { name: "bg";
33925             type: RECT;
33926             mouse_events: 1;
33927             description { state: "default" 0.0;
33928                color: 0 0 0 0;
33929             }
33930          }
33931          part { name: "arrow_image";
33932             type: IMAGE;
33933             mouse_events: 1;
33934             description { state: "default" 0.0;
33935                image.normal: "icon_arrow_down.png";
33936             }
33937          }
33938       }
33939    }
33940
33941    group { name: "elm/colorselector/button/left";
33942       images {
33943          image: "bt_base1.png" COMP;
33944          image: "bt_shine.png" COMP;
33945          image: "sp_bt_l.png" COMP;
33946       }
33947       parts {
33948          part { name: "button_image";
33949             mouse_events: 1;
33950             description { state: "default" 0.0;
33951                image.normal: "bt_base1.png";
33952                image.border: 6 6 6 6;
33953                image.middle: SOLID;
33954             }
33955
33956             description { state: "clicked" 0.0;
33957                inherit: "default" 0.0;
33958                image.normal: "bt_shine.png";
33959                image.border: 6 6 6 6;
33960                image.middle: SOLID;
33961             }
33962          }
33963          part { name: "btn_over";
33964             type: IMAGE;
33965             mouse_events: 0;
33966             description { state: "default" 0.0;
33967                rel1.to: "button_image";
33968                rel2 {
33969                   relative: 1.0 0.5;
33970                   to: "button_image";
33971                }
33972                image {
33973                   normal: "bt_hilight.png";
33974                   border: 7 7 7 0;
33975                }
33976             }
33977          }
33978          part { name: "btn_over2";
33979             type: IMAGE;
33980             mouse_events: 1;
33981             repeat_events: 1;
33982             ignore_flags: ON_HOLD;
33983             description { state: "default" 0.0;
33984                rel1.to: "button_image";
33985                rel2.to: "button_image";
33986                image {
33987                   normal: "bt_shine.png";
33988                   border: 7 7 7 7;
33989                }
33990             }
33991          }
33992          part { name: "focus_image";
33993             type: IMAGE;
33994             description { state: "default" 0.0;
33995                color: 255 255 255 0;
33996                rel1.to: "button_image";
33997                rel2.to: "button_image";
33998                image {
33999                   normal: "bt_glow.png";
34000                   border: 12 12 12 12;
34001                }
34002                fill.smooth: 0;
34003
34004             }
34005             description { state: "clicked" 0.0;
34006                inherit: "default" 0.0;
34007                visible: 1;
34008                color: 255 255 255 255;
34009             }
34010          }
34011          part { name: "left_arrow";
34012             mouse_events: 1;
34013             description { state: "default" 0.0;
34014                min: 16 16;
34015                max: 16 16;
34016                image.normal: "sp_bt_l.png";
34017             }
34018          }
34019       }
34020
34021       programs {
34022          program {
34023             name:   "button_down";
34024             signal: "elm,state,left,button,down";
34025             source: "left_button";
34026             action: STATE_SET "clicked" 0.0;
34027             target: "button_image";
34028             target: "focus_image";
34029          }
34030          program {
34031             name:   "button_up";
34032             signal: "elm,state,left,button,up";
34033             source: "left_button";
34034             action: STATE_SET "default" 0.0;
34035             target: "button_image";
34036             target: "focus_image";
34037          }
34038       }
34039    }
34040
34041    group { name: "elm/colorselector/button/right";
34042       images {
34043          image: "bt_base1.png" COMP;
34044          image: "bt_shine.png" COMP;
34045          image: "sp_bt_r.png" COMP;
34046       }
34047       parts {
34048          part { name: "button_image";
34049             mouse_events: 1;
34050             description { state: "default" 0.0;
34051                image.normal: "bt_base1.png";
34052                image.border: 6 6 6 6;
34053                image.middle: SOLID;
34054             }
34055
34056             description { state: "clicked" 0.0;
34057                inherit: "default" 0.0;
34058                image.normal: "bt_shine.png";
34059                image.border: 6 6 6 6;
34060                image.middle: SOLID;
34061             }
34062          }
34063          part { name: "btn_over";
34064             type: IMAGE;
34065             mouse_events: 0;
34066             description { state: "default" 0.0;
34067                rel1.to: "button_image";
34068                rel2 {
34069                   relative: 1.0 0.5;
34070                   to: "button_image";
34071                }
34072                image {
34073                   normal: "bt_hilight.png";
34074                   border: 7 7 7 0;
34075                }
34076             }
34077          }
34078          part { name: "btn_over2";
34079             type: IMAGE;
34080             mouse_events: 1;
34081             repeat_events: 1;
34082             ignore_flags: ON_HOLD;
34083             description { state: "default" 0.0;
34084                rel1.to: "button_image";
34085                rel2.to: "button_image";
34086                image {
34087                   normal: "bt_shine.png";
34088                   border: 7 7 7 7;
34089                }
34090             }
34091          }
34092          part { name: "focus_image";
34093             type: IMAGE;
34094             description { state: "default" 0.0;
34095                color: 255 255 255 0;
34096                rel1.to: "button_image";
34097                rel2.to: "button_image";
34098                image {
34099                   normal: "bt_glow.png";
34100                   border: 12 12 12 12;
34101                }
34102                fill.smooth: 0;
34103
34104             }
34105             description { state: "clicked" 0.0;
34106                inherit: "default" 0.0;
34107                visible: 1;
34108                color: 255 255 255 255;
34109             }
34110          }
34111          part { name: "right_arrow";
34112             mouse_events: 1;
34113             description { state: "default" 0.0;
34114                min: 16 16;
34115                max: 16 16;
34116                image.normal: "sp_bt_r.png";
34117             }
34118          }
34119       }
34120
34121       programs {
34122          program {
34123             name:   "button_down";
34124             signal: "elm,state,right,button,down";
34125             source: "right_button";
34126             action: STATE_SET "clicked" 0.0;
34127             target: "button_image";
34128             target: "focus_image";
34129          }
34130          program {
34131             name:   "button_up";
34132             signal: "elm,state,right,button,up";
34133             source: "right_button";
34134             action: STATE_SET "default" 0.0;
34135             target: "button_image";
34136             target: "focus_image";
34137          }
34138       }
34139    }
34140
34141 ///////////////////////////////////////////////////////////////////////////////
34142 #define FLIP_PICKER_MAX_LEN (50)
34143 #define FLIP_PICKER_MAX_LEN_STR "50"
34144
34145    group { name: "elm/flipselector/base/default";
34146       images {
34147          image: "flip_base.png" COMP;
34148          image: "flip_base_shad.png" COMP;
34149          image: "flip_shad.png" COMP;
34150          image: "arrow_up.png" COMP;
34151          image: "arrow_down.png" COMP;
34152          image: "flip_t.png" COMP;
34153          image: "flip_b.png" COMP;
34154       }
34155
34156       data {
34157          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34158       }
34159
34160       //FIXME: quick successive clicks on, say, up, lead to nastiness
34161       script {
34162          public cur, prev, next, lock;
34163
34164          public animator_bottom_down(val, Float:pos) {
34165             new tmp[FLIP_PICKER_MAX_LEN];
34166
34167             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34168             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34169                             0.0);
34170             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34171                             0.0);
34172
34173             if (pos >= 1.0) {
34174                set_state(PART:"shadow", "default", 0.0);
34175                set_int(lock, 0);
34176
34177                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34178                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34179                   replace_str(next, 0, "");
34180                   message(MSG_STRING, 1, tmp);
34181                }
34182             }
34183          }
34184
34185          public animator_top_down(val, Float:pos) {
34186             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34187             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34188                             0.0);
34189             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34190                             0.0);
34191
34192             if (pos >= 1.0)
34193                anim(0.2, "animator_bottom_down", val);
34194          }
34195
34196          public animator_bottom_up(val, Float:pos) {
34197             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34198             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34199                             0.0);
34200             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34201                             0.0);
34202
34203             if (pos >= 1.0)
34204                anim(0.2, "animator_top_up", val);
34205          }
34206
34207          public animator_top_up(val, Float:pos) {
34208             new tmp[FLIP_PICKER_MAX_LEN];
34209
34210             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34211             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34212                             0.0);
34213             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34214                             0.0);
34215
34216             if (pos >= 1.0) {
34217                set_state(PART:"shadow", "default", 0.0);
34218                set_int(lock, 0);
34219
34220                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34221                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34222                   replace_str(next, 0, "");
34223                   message(MSG_STRING, 2, tmp);
34224                }
34225             }
34226          }
34227
34228          public message(Msg_Type:type, id, ...) {
34229             /* flip down */
34230             if ((type == MSG_STRING) && (id == 1)) {
34231                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34232
34233                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34234
34235                if (get_int(lock) == 1) {
34236                   replace_str(next, 0, value);
34237                   return;
34238                }
34239
34240                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34241
34242                set_text(PART:"bottom_b", tmp);
34243
34244                set_state(PART:"top", "shrink", 0.0);
34245                set_text(PART:"top", tmp);
34246                set_state(PART:"top", "default", 0.0);
34247                set_text(PART:"top", tmp);
34248
34249                replace_str(prev, 0, tmp);
34250
34251                set_state(PART:"bottom", "default", 0.0);
34252                set_text(PART:"bottom", value);
34253                set_state(PART:"bottom", "shrink", 0.0);
34254                set_text(PART:"bottom", value);
34255
34256                set_text(PART:"top_b", value);
34257
34258                replace_str(cur, 0, value);
34259
34260                set_state(PART:"bottom_sheet", "shrink", 0.0);
34261                set_state(PART:"top_sheet", "default", 0.0);
34262
34263                set_int(lock, 1);
34264                set_state(PART:"shadow", "default", 0.0);
34265                anim(0.2, "animator_top_down", 1);
34266             }
34267
34268             /* flip up */
34269             if ((type == MSG_STRING) && (id == 2)) {
34270                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34271
34272                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34273
34274                if (get_int(lock) == 1) {
34275                   replace_str(next, 0, value);
34276                   return;
34277                }
34278
34279                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34280
34281                set_text(PART:"top_b", tmp);
34282
34283                set_state(PART:"bottom", "shrink", 0.0);
34284                set_text(PART:"bottom", tmp);
34285                set_state(PART:"bottom", "default", 0.0);
34286                set_text(PART:"bottom", tmp);
34287
34288                replace_str(prev, 0, tmp);
34289
34290                set_state(PART:"top", "default", 0.0);
34291                set_text(PART:"top", value);
34292                set_state(PART:"top", "shrink", 0.0);
34293                set_text(PART:"top", value);
34294
34295                set_text(PART:"bottom_b", value);
34296
34297                replace_str(cur, 0, value);
34298
34299                set_state(PART:"bottom_sheet", "default", 0.0);
34300                set_state(PART:"top_sheet", "shrink", 0.0);
34301
34302                set_int(lock, 1);
34303                set_state(PART:"shadow", "full", 0.0);
34304                anim(0.2, "animator_bottom_up", 1);
34305             }
34306          }
34307       }
34308
34309       parts {
34310          part { name: "shad";
34311             mouse_events: 0;
34312             description { state: "default" 0.0;
34313                rel1.offset: -4 -4;
34314                rel1.to: "base";
34315                rel2.offset: 3 3;
34316                rel2.to: "base";
34317                image {
34318                   normal: "flip_base_shad.png";
34319                   border: 8 8 8 8;
34320                }
34321             }
34322          }
34323
34324          part { name: "base";
34325             scale: 1;
34326             description { state: "default" 0.0;
34327                rel1.offset: 4 4;
34328                rel2.offset: -5 -5;
34329                min: 24 48;
34330                image.normal: "flip_base.png";
34331             }
34332          }
34333
34334          part { name: "b";
34335             type: RECT;
34336             mouse_events: 1;
34337             description { state: "default" 0.0;
34338                rel1.to: "base";
34339                rel1.relative: 0.0 0.5;
34340                rel2.to: "base";
34341                color: 0 0 0 0;
34342             }
34343             description { state: "hidden" 0.0;
34344                inherit: "default" 0.0;
34345                visible: 0;
34346             }
34347          }
34348
34349          part { name: "t";
34350             type: RECT;
34351             mouse_events: 1;
34352             description { state: "default" 0.0;
34353                rel1.to: "base";
34354                rel2.to: "base";
34355                rel2.relative: 1.0 0.5;
34356                color: 0 0 0 0;
34357             }
34358             description { state: "hidden" 0.0;
34359                inherit: "default" 0.0;
34360                visible: 0;
34361             }
34362          }
34363
34364          part { name: "bottom_sheet_static";
34365             mouse_events: 0;
34366             description { state: "default" 0.0;
34367                visible: 1;
34368                rel1.to: "b";
34369                rel2.to: "b";
34370                image.normal: "flip_b.png";
34371             }
34372          }
34373
34374          part { name: "bottom_b";
34375             mouse_events: 0;
34376             clip_to: "bottom_clipper";
34377             type: TEXT;
34378             scale: 1;
34379             description { state: "default" 0.0;
34380                rel1.to: "base";
34381                rel2.to: "base";
34382                color: 0 0 0 255;
34383                color2: 0 0 0 255;
34384                text {
34385                   font: "Sans:style=Bold,Edje-Vera-Bold";
34386                   size: 30;
34387                   min: 1 1;
34388                   align: 0.5 0.5;
34389                }
34390             }
34391          }
34392
34393          part { name: "shadow";
34394             mouse_events: 0;
34395             description { state: "default" 0.0;
34396                rel1.to: "b";
34397                rel2.to: "b";
34398                rel2.relative: 1.0 0.0;
34399                image.normal: "flip_shad.png";
34400             }
34401             description { state: "half" 0.0;
34402                inherit: "default" 0.0;
34403                rel2.relative: 1.0 0.5;
34404             }
34405             description { state: "full" 0.0;
34406                inherit: "default" 0.0;
34407                rel2.relative: 1.0 1.0;
34408             }
34409          }
34410
34411          part { name: "bottom_sheet";
34412             mouse_events: 0;
34413             description { state: "default" 0.0;
34414                visible: 1;
34415                rel1.to: "b";
34416                rel2.to: "b";
34417                image.normal: "flip_b.png";
34418             }
34419             description { state: "shrink" 0.0;
34420                inherit: "default" 0.0;
34421                visible: 0;
34422                rel2.relative: 1.0 0.0;
34423             }
34424          }
34425
34426          part { name: "bottom";
34427             mouse_events: 0;
34428             clip_to: "bottom_clipper";
34429             type: TEXT;
34430             scale: 1;
34431             description { state: "default" 0.0;
34432                rel1.to: "base";
34433                rel2.to: "base";
34434                color: 0 0 0 255;
34435                color2: 0 0 0 255;
34436                text {
34437                   font: "Sans:style=Bold,Edje-Vera-Bold";
34438                   size: 30;
34439                   min: 1 1;
34440                   align: 0.5 0.5;
34441                }
34442             }
34443             description { state: "shrink" 0.0;
34444                inherit: "default" 0.0;
34445                color: 128 128 128 255;
34446                visible: 0;
34447                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34448             }
34449          }
34450
34451          part { name: "top_sheet_static";
34452             mouse_events: 0;
34453             description { state: "default" 0.0;
34454                visible: 1;
34455                rel1.to: "t";
34456                rel2.to: "t";
34457                image.normal: "flip_t.png";
34458             }
34459          }
34460
34461          part { name: "top_b";
34462             mouse_events: 0;
34463             clip_to: "top_clipper";
34464             type: TEXT;
34465             scale: 1;
34466             description { state: "default" 0.0;
34467                rel1.to: "base";
34468                rel2.to: "base";
34469                color: 0 0 0 255;
34470                color2: 0 0 0 255;
34471                text {
34472                   font: "Sans:style=Bold,Edje-Vera-Bold";
34473                   size: 30;
34474                   min: 1 1;
34475                   align: 0.5 0.5;
34476                   source: "top";
34477                }
34478             }
34479          }
34480
34481          part { name: "top_sheet";
34482             mouse_events: 0;
34483             description { state: "default" 0.0;
34484                visible: 1;
34485                rel1.to: "t";
34486                rel2.to: "t";
34487                image.normal: "flip_t.png";
34488             }
34489             description { state: "shrink" 0.0;
34490                inherit: "default" 0.0;
34491                color: 128 128 128 255;
34492                visible: 0;
34493                rel1.relative: 0.0 1.0;
34494             }
34495          }
34496
34497          part { name: "top";
34498             mouse_events: 0;
34499             clip_to: "top_clipper";
34500             type: TEXT;
34501             scale: 1;
34502             description { state: "default" 0.0;
34503                rel1.to: "base";
34504                rel2.to: "base";
34505                color: 0 0 0 255;
34506                color2: 0 0 0 255;
34507                text {
34508                   font: "Sans:style=Bold,Edje-Vera-Bold";
34509                   size: 30;
34510                   min: 1 1;
34511                   align: 0.5 0.5;
34512                }
34513             }
34514             description { state: "shrink" 0.0;
34515                inherit: "default" 0.0;
34516                visible: 0;
34517                rel1.relative: 0.0 0.5;
34518             }
34519          }
34520
34521          part { name: "arrow_top";
34522             mouse_events: 0;
34523             scale: 1;
34524             description { state: "default" 0.0;
34525                min: 15 15;
34526                max: 15 15;
34527                align: 0.5 0.0;
34528                rel1.to: "t";
34529                rel2.to: "t";
34530                image.normal: "arrow_up.png";
34531             }
34532             description { state: "hidden" 0.0;
34533                inherit: "default" 0.0;
34534                visible: 0;
34535             }
34536          }
34537          part { name: "arrow_bottom";
34538             mouse_events: 0;
34539             scale: 1;
34540             description { state: "default" 0.0;
34541                min: 15 15;
34542                max: 15 15;
34543                align: 0.5 1.0;
34544                rel1.to: "b";
34545                rel2.to: "b";
34546                image.normal: "arrow_down.png";
34547             }
34548             description { state: "hidden" 0.0;
34549                inherit: "default" 0.0;
34550                visible: 0;
34551             }
34552          }
34553
34554          part {
34555             type: RECT;
34556             mouse_events: 0;
34557             name: "top_clipper";
34558             description {
34559                state: "default" 0.0;
34560                rel1.to: "t";
34561                rel2.to: "t";
34562                visible: 1;
34563             }
34564          }
34565
34566          part {
34567             type: RECT;
34568             mouse_events: 0;
34569             name: "bottom_clipper";
34570             description {
34571                state: "default" 0.0;
34572                rel1.to: "b";
34573                rel2.to: "b";
34574                visible: 1;
34575             }
34576          }
34577       }
34578
34579       programs {
34580          program { name: "load";
34581             signal: "load";
34582             source: "";
34583             script {
34584                append_str(cur, "");
34585                append_str(prev, "");
34586                append_str(next, "");
34587                set_int(lock, 0);
34588             }
34589          }
34590
34591          program { name: "hide_arrows";
34592             signal: "elm,state,button,hidden";
34593             source: "elm";
34594             action: STATE_SET "hidden" 0.0;
34595             target: "arrow_top";
34596             target: "arrow_bottom";
34597             target: "t";
34598             target: "b";
34599          }
34600
34601          program { name: "show_arrows";
34602             signal: "elm,state,button,visible";
34603             source: "elm";
34604             action: STATE_SET "default" 0.0;
34605             target: "arrow_top";
34606             target: "arrow_bottom";
34607             target: "t";
34608             target: "b";
34609          }
34610
34611          program { name: "up";
34612             signal: "mouse,down,1";
34613             source: "t";
34614             action: SIGNAL_EMIT "elm,action,up,start" "";
34615          }
34616          program { name: "up,stop";
34617             signal: "mouse,up,1";
34618             source: "t";
34619             action: SIGNAL_EMIT "elm,action,up,stop" "";
34620          }
34621          program { name: "down";
34622             signal: "mouse,down,1";
34623             source: "b";
34624             action: SIGNAL_EMIT "elm,action,down,start" "";
34625          }
34626          program { name: "down,stop";
34627             signal: "mouse,up,1";
34628             source: "b";
34629             action: SIGNAL_EMIT "elm,action,down,stop" "";
34630          }
34631       }
34632    }
34633
34634 ////////////////////////////////////////////////////////////////////////////////
34635 // diskselector
34636 ////////////////////////////////////////////////////////////////////////////////
34637    group { name: "elm/diskselector/base/default";
34638       images {
34639          image: "bar_shine.png" COMP;
34640       }
34641
34642       parts {
34643          part { name: "bg";
34644             type: RECT;
34645             mouse_events: 0;
34646             description { state: "default" 0.0;
34647                color: 0 0 0 255;
34648             }
34649          }
34650          part { name: "shine_left";
34651             mouse_events:  0;
34652             description { state: "default" 0.0;
34653                rel1.to: "bg";
34654                rel1.relative: -0.1 0;
34655                rel2.to: "bg";
34656                rel2.relative: 0.1 1;
34657                image.normal: "bar_shine.png";
34658                color: 255 255 255 120;
34659             }
34660          }
34661          part { name: "shine_center";
34662             mouse_events:  0;
34663             description { state: "default" 0.0;
34664                rel1.to: "bg";
34665                rel1.relative: 0.2 0;
34666                rel2.to: "bg";
34667                rel2.relative: 0.8 1;
34668                image.normal: "bar_shine.png";
34669                color: 255 255 255 180;
34670             }
34671          }
34672          part { name: "shine_right";
34673             mouse_events:  0;
34674             description { state: "default" 0.0;
34675                rel1.to: "bg";
34676                rel1.relative: 0.9 0;
34677                rel2.to: "bg";
34678                rel2.relative: 1.1 1;
34679                image.normal: "bar_shine.png";
34680                color: 255 255 255 120;
34681             }
34682          }
34683          part { name: "clipper";
34684             type: RECT;
34685             mouse_events: 0;
34686             description { state: "default" 0.0;
34687                rel1.to: "bg";
34688                rel2.to: "bg";
34689                rel1.offset: 2 2;
34690                rel2.offset: -3 -3;
34691             }
34692          }
34693          part { name: "elm.swallow.content";
34694             clip_to: "clipper";
34695             type: SWALLOW;
34696             description { state: "default" 0.0;
34697                rel1.to: "bg";
34698                rel2.to: "bg";
34699             }
34700          }
34701       }
34702    }
34703
34704    group { name: "elm/diskselector/item/default";
34705
34706       data {
34707          item: "len_threshold" "14";
34708          item: "display_item_num" "3";
34709          item: "min_height" "-1";
34710          item: "min_width" "-1";
34711       }
34712
34713       parts {
34714          part { name: "elm.swallow.icon";
34715             type: SWALLOW;
34716             description { state: "default" 0.0;
34717                fixed: 1 0;
34718                align: 0.0 0.5;
34719                rel1 {
34720                   relative: 0 0;
34721                   offset: 4 4;
34722                }
34723                rel2 {
34724                   relative: 0 1;
34725                   offset: 4 -5;
34726                }
34727             }
34728             description { state: "show" 0.0;
34729                inherit: "default" 0.0;
34730             }
34731             description { state: "default_small" 0.0;
34732                inherit: "default" 0.0;
34733                rel1.relative: 0 0.2;
34734                rel2.relative: 0 0.8;
34735             }
34736             description { state: "left_side" 0.0;
34737                inherit: "default" 0.0;
34738                rel1.relative: 0 0.2;
34739                rel2.relative: 0 0.8;
34740                color: 255 255 255 160;
34741             }
34742             description { state: "right_side" 0.0;
34743                inherit: "left_side" 0.0;
34744                rel1.relative: 0.4 0.2;
34745                rel2.relative: 0.4 0.8;
34746                color: 255 255 255 160;
34747             }
34748          }
34749          part { name: "elm.text";
34750             type: TEXT;
34751             mouse_events: 0;
34752             scale: 1;
34753             description { state: "default" 0.0;
34754                rel1.relative: 1 0.0;
34755                rel1.to_x: "elm.swallow.icon";
34756                rel2.relative: 1.0 1.0;
34757                color: 255 255 255 255;
34758                visible: 0;
34759                text {
34760                   font: "Sans,Edje-Vera";
34761                   size: 13;
34762                   align: 0.5 0.5;
34763                   min: 0 1;
34764                }
34765             }
34766             description { state: "show" 0.0;
34767                inherit: "default" 0.0;
34768                visible: 1;
34769             }
34770             description { state: "default_small" 0.0;
34771                inherit: "default" 0.0;
34772                visible: 1;
34773                text.size: 10;
34774             }
34775             description { state: "left_side" 0.0;
34776                inherit: "default" 0.0;
34777                color: 172 172 172 255;
34778                text.size: 10;
34779                visible: 1;
34780                text.align: 0.2 0.5;
34781             }
34782             description { state: "right_side" 0.0;
34783                inherit: "default" 0.0;
34784                color: 172 172 172 255;
34785                visible: 1;
34786                text.size: 10;
34787                text.align: 0.8 0.5;
34788             }
34789          }
34790       }
34791
34792       programs {
34793          program { name: "center_text";
34794             signal: "elm,state,center";
34795             source: "elm";
34796             action: STATE_SET "show" 0.0;
34797             target: "elm.text";
34798             target: "elm.swallow.icon";
34799          }
34800          program { name: "center_small_text";
34801             signal: "elm,state,center_small";
34802             source: "elm";
34803             action: STATE_SET "default_small" 0.0;
34804             target: "elm.text";
34805             target: "elm.swallow.icon";
34806          }
34807          program { name: "l_side_text";
34808             signal: "elm,state,left_side";
34809             source: "elm";
34810             action: STATE_SET "left_side" 0.0;
34811             target: "elm.text";
34812             target: "elm.swallow.icon";
34813          }
34814          program { name: "r_side_text";
34815             signal: "elm,state,right_side";
34816             source: "elm";
34817             action: STATE_SET "right_side" 0.0;
34818             target: "elm.text";
34819             target: "elm.swallow.icon";
34820          }
34821       }
34822    }
34823
34824    group { name: "elm/entry/path/separator/default";
34825       images.image: "arrow_right.png" COMP;
34826       parts {
34827          part { name: "icon";
34828             mouse_events: 0;
34829             description { state: "default" 0.0;
34830                image.normal: "arrow_right.png";
34831                max: 64 64;
34832                aspect: 1.0 1.0;
34833             }
34834          }
34835       }
34836    }
34837
34838    group { name: "elm/fileselector/base/default";
34839       data {
34840          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34841       }
34842       parts {
34843          part { name: "elm.swallow.up";
34844             type: SWALLOW;
34845             description { state: "default" 0.0;
34846                align: 0.0 0.0;
34847                min: 10 10;
34848                fixed: 1 1;
34849                rel2 {
34850                   relative: 0.0 0.0;
34851                   offset: 0 0;
34852                }
34853             }
34854          }
34855          part { name: "elm.swallow.home";
34856             type: SWALLOW;
34857             description { state: "default" 0.0;
34858                align: 0.0 0.0;
34859                min: 10 10;
34860                fixed: 1 1;
34861                rel1 {
34862                   to: "elm.swallow.up";
34863                   relative: 1.0 0.0;
34864                   offset: 5 0;
34865                }
34866                rel2 {
34867                   to: "elm.swallow.up";
34868                   relative: 1.0 1.0;
34869                   offset: 20 -1;
34870                }
34871             }
34872          }
34873          part { name: "elm.swallow.files";
34874             type: SWALLOW;
34875             description { state: "default" 0.0;
34876                align: 1.0 0.0;
34877                min: 10 10;
34878                fixed: 1 1;
34879                rel1 {
34880                   to_y: "elm.swallow.home";
34881                   relative: 0.0 1.0;
34882                   offset: 0 0;
34883                }
34884                rel2 {
34885                   to_y: "elm.swallow.path";
34886                   relative: 1.0 0.0;
34887                   offset: -1 -1;
34888                }
34889             }
34890          }
34891          part { name: "elm.swallow.path";
34892             type: SWALLOW;
34893             description { state: "default" 0.0;
34894                align: 0.5 1.0;
34895                fixed: 1 1;
34896                rel1 {
34897                   to_y: "elm.swallow.filename";
34898                   relative: 0.0 0.0;
34899                   offset: 0 -1;
34900                }
34901                rel2 {
34902                   to_y: "elm.swallow.filename";
34903                   relative: 1.0 0.0;
34904                   offset: -1 -1;
34905                }
34906             }
34907          }
34908          part { name: "elm.swallow.filename";
34909             type: SWALLOW;
34910             description { state: "default" 0.0;
34911                align: 0.5 1.0;
34912                fixed: 1 1;
34913                rel1 {
34914                   to_y: "elm.swallow.ok";
34915                   relative: 0.0 0.0;
34916                   offset: 0 -1;
34917                }
34918                rel2 {
34919                   to_y: "elm.swallow.ok";
34920                   relative: 1.0 0.0;
34921                   offset: -1 -1;
34922                }
34923             }
34924          }
34925          part { name: "elm.swallow.cancel";
34926             type: SWALLOW;
34927             description { state: "default" 0.0;
34928                align: 1.0 1.0;
34929                fixed: 1 1;
34930                rel1 {
34931                   to: "elm.swallow.ok";
34932                   relative: 0.0 0.0;
34933                   offset: -3 0;
34934                }
34935                rel2 {
34936                   to: "elm.swallow.ok";
34937                   relative: 0.0 1.0;
34938                   offset: -3 -1;
34939                }
34940             }
34941          }
34942          part { name: "elm.swallow.ok";
34943             type: SWALLOW;
34944             description { state: "default" 0.0;
34945                align: 1.0 1.0;
34946                fixed: 1 1;
34947                rel1 {
34948                   relative: 1.0 1.0;
34949                   offset: -1 -1;
34950                }
34951             }
34952          }
34953       }
34954    }
34955
34956    group { name: "elm/fileselector_entry/base/default";
34957       parts {
34958          part { name: "elm.swallow.entry";
34959             type: SWALLOW;
34960             description { state: "default" 0.0;
34961                align: 0.0 0.0;
34962                min: 50 10;
34963                rel2 { to_x: "elm.swallow.button";
34964                   relative: 0.0 1.0;
34965                   offset: -1 -1;
34966                }
34967             }
34968          }
34969          part { name: "elm.swallow.button";
34970             type: SWALLOW;
34971             description { state: "default" 0.0;
34972                align: 1.0 0.0;
34973                min: 10 10;
34974                fixed: 1 1;
34975                rel1 {
34976                   relative: 1.0 0.0;
34977                   offset: -21 0;
34978                }
34979             }
34980          }
34981       }
34982    }
34983
34984 ////////////////////////////////////////////////////////////////////////
34985 // Standard layouts to be used                                        //
34986 ////////////////////////////////////////////////////////////////////////
34987    /* application with toolbar and main content area */
34988    group { name: "elm/layout/application/toolbar-content";
34989       parts {
34990          part { name: "elm.swallow.content";
34991             type: SWALLOW;
34992             description { state: "default" 0.0;
34993                rel1 { to_y: "elm.external.toolbar";
34994                   relative: 0.0 1.0;
34995                   offset: -1 1;
34996                }
34997             }
34998          }
34999
35000          part { name: "elm.external.toolbar";
35001             type: EXTERNAL;
35002             source: "elm/toolbar";
35003             description { state: "default" 0.0;
35004                align: 0.5 0.0;
35005                fixed: 0 1;
35006                rel2 {
35007                   relative: 1.0 0.0;
35008                   offset: -1 47;
35009                }
35010             }
35011          }
35012       }
35013    }
35014
35015    /* application with toolbar and main content area with a back button and title area */
35016    group { name: "elm/layout/application/toolbar-content-back";
35017       parts {
35018          part { name: "elm.swallow.content";
35019             type: SWALLOW;
35020             description { state: "default" 0.0;
35021                rel1 { to_y: "title_clipper";
35022                   relative: 0.0 1.0;
35023                   offset: -1 1;
35024                }
35025             }
35026          }
35027
35028          part { name: "elm.external.toolbar";
35029             type: EXTERNAL;
35030             source: "elm/toolbar";
35031             description { state: "default" 0.0;
35032                fixed: 0 1;
35033                align: 0.5 0.0;
35034                rel2 {
35035                   relative: 1.0 0.0;
35036                   offset: -1 47;
35037                }
35038             }
35039          }
35040          part { name: "title_clipper";
35041             type: RECT;
35042             description { state: "default" 0.0;
35043                visible: 1;
35044                rel1 {
35045                   to_y: "back";
35046                }
35047                rel2 {
35048                   to_y: "back";
35049                }
35050             }
35051             description { state: "hidden" 0.0;
35052                inherit: "default" 0.0;
35053                visible: 0;
35054                rel2 {
35055                   relative: 1.0 0.0;
35056                }
35057             }
35058          }
35059          part { name: "back_clipper";
35060             type: RECT;
35061             clip_to: "title_clipper";
35062             description { state: "default" 0.0;
35063                visible: 1;
35064             }
35065             description { state: "hidden" 0.0;
35066                visible: 0;
35067             }
35068          }
35069          part { name: "back";
35070             type: EXTERNAL;
35071             source: "elm/button";
35072             clip_to: "back_clipper";
35073             description { state: "default" 0.0;
35074                align: 0.0 0.0;
35075                fixed: 1 1;
35076                rel1 { to_y: "elm.external.toolbar";
35077                   relative: 0.0 1.0;
35078                   offset: 0 1;
35079                }
35080                rel2 { to_y: "elm.external.toolbar";
35081                   relative: 0.0 1.0;
35082                   offset: 50 32;
35083                }
35084                params.string: "label" "Back";
35085             }
35086          }
35087          programs {
35088             program {
35089                signal: "clicked";
35090                source: "back";
35091                action: SIGNAL_EMIT "elm,action,back" "";
35092             }
35093             program {
35094                signal: "elm,back,hide";
35095                source: "elm";
35096                action: STATE_SET "hidden" 0.0;
35097                target: "back_clipper";
35098             }
35099             program {
35100                signal: "elm,back,show";
35101                source: "elm";
35102                action: STATE_SET "default" 0.0;
35103                target: "back_clipper";
35104             }
35105             program {
35106                signal: "elm,title,hide";
35107                source: "elm";
35108                action: STATE_SET "hidden" 0.0;
35109                transition: LINEAR 0.1;
35110                target: "title_clipper";
35111             }
35112             program {
35113                signal: "elm,title,show";
35114                source: "elm";
35115                action: STATE_SET "default" 0.0;
35116                target: "title_clipper";
35117             }
35118          }
35119
35120          part { name: "elm.swallow.end";
35121             type: SWALLOW;
35122             description { state: "default" 0.0;
35123                align: 1.0 0.0;
35124                fixed: 1 1;
35125                rel1 { to_y: "elm.external.toolbar";
35126                   relative: 1.0 1.0;
35127                   offset: -2 1;
35128                }
35129                rel2 { to_y: "elm.external.toolbar";
35130                   relative: 1.0 1.0;
35131                   offset: -1 32;
35132                }
35133             }
35134          }
35135
35136          part { name: "elm.text.title";
35137             type: TEXT;
35138             effect: SOFT_SHADOW;
35139             scale: 1;
35140             description { state: "default" 0.0;
35141                rel1 { to_y: "elm.external.toolbar";
35142                   to_x: "back";
35143                   relative: 1.0 1.0;
35144                   offset: 2 1;
35145                }
35146                rel2 { to_y: "back";
35147                   to_x: "elm.swallow.end";
35148                   relative: 0.0 1.0;
35149                   offset: -3 -1;
35150                }
35151                text {
35152                   font: "Sans:style=Bold";
35153                   size: 12;
35154                }
35155             }
35156          }
35157       }
35158    }
35159
35160    /* application with toolbar and main content area with a back and next buttons and title area */
35161    group { name: "elm/layout/application/toolbar-content-back-next";
35162       parts {
35163          part { name: "elm.swallow.content";
35164             type: SWALLOW;
35165             description { state: "default" 0.0;
35166                rel1 { to_y: "title_clipper";
35167                   relative: 0.0 1.0;
35168                   offset: -1 1;
35169                }
35170             }
35171          }
35172
35173          part { name: "elm.external.toolbar";
35174             type: EXTERNAL;
35175             source: "elm/toolbar";
35176             description { state: "default" 0.0;
35177                fixed: 0 1;
35178                align: 0.5 0.0;
35179                rel2 {
35180                   relative: 1.0 0.0;
35181                   offset: -1 47;
35182                }
35183             }
35184          }
35185          part { name: "title_clipper";
35186             type: RECT;
35187             description { state: "default" 0.0;
35188                visible: 1;
35189                rel1 {
35190                   to_y: "back";
35191                }
35192                rel2 {
35193                   to_y: "back";
35194                }
35195             }
35196             description { state: "hidden" 0.0;
35197                inherit: "default" 0.0;
35198                visible: 0;
35199                rel2 {
35200                   relative: 1.0 0.0;
35201                }
35202             }
35203          }
35204          part { name: "back";
35205             type: EXTERNAL;
35206             source: "elm/button";
35207             clip_to: "back_clipper";
35208             description { state: "default" 0.0;
35209                align: 0.0 0.0;
35210                fixed: 1 1;
35211                rel1 { to_y: "elm.external.toolbar";
35212                   relative: 0.0 1.0;
35213                   offset: 0 1;
35214                }
35215                rel2 { to_y: "elm.external.toolbar";
35216                   relative: 0.0 1.0;
35217                   offset: 50 32;
35218                }
35219                params.string: "label" "Back";
35220             }
35221          }
35222          part { name: "back_clipper";
35223             type: RECT;
35224             clip_to: "title_clipper";
35225             description { state: "default" 0.0;
35226                visible: 1;
35227             }
35228             description { state: "hidden" 0.0;
35229                visible: 0;
35230             }
35231          }
35232          part { name: "next";
35233             type: EXTERNAL;
35234             source: "elm/button";
35235             clip_to: "next_clipper";
35236             description { state: "default" 0.0;
35237                align: 1.0 0.0;
35238                fixed: 1 1;
35239                rel1 { to_y: "elm.external.toolbar";
35240                   relative: 1.0 1.0;
35241                   offset: -2 1;
35242                }
35243                rel2 { to_y: "elm.external.toolbar";
35244                   relative: 1.0 1.0;
35245                   offset: -1 32;
35246                }
35247                params.string: "label" "Next";
35248            }
35249          }
35250          part { name: "next_clipper";
35251             type: RECT;
35252             clip_to: "title_clipper";
35253             description { state: "default" 0.0;
35254                visible: 1;
35255             }
35256             description { state: "hidden" 0.0;
35257                visible: 0;
35258             }
35259          }
35260          programs {
35261             program {
35262                signal: "clicked";
35263                source: "back";
35264                action: SIGNAL_EMIT "elm,action,back" "";
35265             }
35266             program {
35267                signal: "elm,title,hide";
35268                source: "elm";
35269                action: STATE_SET "hidden" 0.0;
35270                transition: LINEAR 0.1;
35271                target: "title_clipper";
35272             }
35273             program {
35274                signal: "elm,title,show";
35275                source: "elm";
35276                action: STATE_SET "default" 0.0;
35277                target: "title_clipper";
35278             }
35279             program {
35280                signal: "elm,back,hide";
35281                source: "elm";
35282                action: STATE_SET "hidden" 0.0;
35283                target: "back_clipper";
35284             }
35285             program {
35286                signal: "elm,back,show";
35287                source: "elm";
35288                action: STATE_SET "default" 0.0;
35289                target: "back_clipper";
35290             }
35291             program {
35292                signal: "clicked";
35293                source: "next";
35294                action: SIGNAL_EMIT "elm,action,next" "";
35295             }
35296             program {
35297                signal: "elm,next,hide";
35298                source: "elm";
35299                action: STATE_SET "hidden" 0.0;
35300                target: "next_clipper";
35301             }
35302             program {
35303                signal: "elm,next,show";
35304                source: "elm";
35305                action: STATE_SET "default" 0.0;
35306                target: "next_clipper";
35307             }
35308          }
35309          part { name: "elm.text.title";
35310             type: TEXT;
35311             effect: SOFT_SHADOW;
35312             scale: 1;
35313             clip_to: "title_clipper";
35314             description { state: "default" 0.0;
35315                rel1 { to_y: "elm.external.toolbar";
35316                   to_x: "back";
35317                   relative: 1.0 1.0;
35318                   offset: 2 1;
35319                }
35320                rel2 { to_y: "back";
35321                   to_x: "next";
35322                   relative: 0.0 1.0;
35323                   offset: -3 -1;
35324                }
35325                text {
35326                   font: "Sans:style=Bold";
35327                   size: 12;
35328                }
35329             }
35330          }
35331       }
35332    }
35333    /* application with a main content area with a back button and title area */
35334    group { name: "elm/layout/application/content-back";
35335       parts {
35336          part { name: "elm.swallow.content";
35337             type: SWALLOW;
35338             description { state: "default" 0.0;
35339                rel1 { to_y: "title_clipper";
35340                   relative: 0.0 1.0;
35341                   offset: -1 1;
35342                }
35343             }
35344          }
35345          part { name: "title_clipper";
35346             type: RECT;
35347             description { state: "default" 0.0;
35348                visible: 1;
35349                rel1 {
35350                   to_y: "back";
35351                }
35352                rel2 {
35353                   to_y: "back";
35354                }
35355             }
35356             description { state: "hidden" 0.0;
35357                inherit: "default" 0.0;
35358                visible: 0;
35359                rel2 {
35360                   relative: 1.0 0.0;
35361                }
35362             }
35363          }
35364          part { name: "back_clipper";
35365             type: RECT;
35366             clip_to: "title_clipper";
35367             description { state: "default" 0.0;
35368                visible: 1;
35369             }
35370             description { state: "hidden" 0.0;
35371                visible: 0;
35372             }
35373          }
35374          part { name: "back";
35375             type: EXTERNAL;
35376             source: "elm/button";
35377             clip_to: "back_clipper";
35378             description { state: "default" 0.0;
35379                align: 0.0 0.0;
35380                fixed: 1 1;
35381                rel1 {
35382                   relative: 0.0 0.0;
35383                   offset: 0 1;
35384                }
35385                rel2 {
35386                   relative: 0.0 0.0;
35387                   offset: 50 32;
35388                }
35389                params.string: "label" "Back";
35390             }
35391          }
35392          programs {
35393             program {
35394                signal: "clicked";
35395                source: "back";
35396                action: SIGNAL_EMIT "elm,action,back" "";
35397             }
35398             program {
35399                signal: "elm,back,hide";
35400                source: "elm";
35401                action: STATE_SET "hidden" 0.0;
35402                target: "back_clipper";
35403             }
35404             program {
35405                signal: "elm,back,show";
35406                source: "elm";
35407                action: STATE_SET "default" 0.0;
35408                target: "back_clipper";
35409             }
35410             program {
35411                signal: "elm,title,hide";
35412                source: "elm";
35413                action: STATE_SET "hidden" 0.0;
35414                transition: LINEAR 0.1;
35415                target: "title_clipper";
35416             }
35417             program {
35418                signal: "elm,title,show";
35419                source: "elm";
35420                action: STATE_SET "default" 0.0;
35421                target: "title_clipper";
35422             }
35423          }
35424
35425          part { name: "elm.swallow.end";
35426             type: SWALLOW;
35427             description { state: "default" 0.0;
35428                align: 1.0 0.0;
35429                fixed: 1 1;
35430                rel1 {
35431                   relative: 1.0 0.0;
35432                   offset: -2 1;
35433                }
35434                rel2 {
35435                   relative: 1.0 1.0;
35436                   offset: -1 32;
35437                }
35438             }
35439          }
35440
35441          part { name: "elm.text.title";
35442             type: TEXT;
35443             effect: SOFT_SHADOW;
35444             scale: 1;
35445             description { state: "default" 0.0;
35446                rel1 {
35447                   to_x: "back";
35448                   relative: 1.0 0.0;
35449                   offset: 2 1;
35450                }
35451                rel2 { to_y: "back";
35452                   to_x: "elm.swallow.end";
35453                   relative: 0.0 1.0;
35454                   offset: -3 -1;
35455                }
35456                text {
35457                   font: "Sans:style=Bold";
35458                   size: 12;
35459                }
35460             }
35461          }
35462       }
35463    }
35464
35465    /* application with a main content area with a back and next buttons and title area */
35466    group { name: "elm/layout/application/content-back-next";
35467       parts {
35468          part { name: "elm.swallow.content";
35469             type: SWALLOW;
35470             description { state: "default" 0.0;
35471                rel1 { to_y: "title_clipper";
35472                   relative: 0.0 1.0;
35473                   offset: -1 1;
35474                }
35475             }
35476          }
35477
35478          part { name: "title_clipper";
35479             type: RECT;
35480             description { state: "default" 0.0;
35481                visible: 1;
35482                rel1 {
35483                   to_y: "back";
35484                }
35485                rel2 {
35486                   to_y: "back";
35487                }
35488             }
35489             description { state: "hidden" 0.0;
35490                inherit: "default" 0.0;
35491                visible: 0;
35492                rel2 {
35493                   relative: 1.0 0.0;
35494                }
35495             }
35496          }
35497          part { name: "back";
35498             type: EXTERNAL;
35499             source: "elm/button";
35500             clip_to: "back_clipper";
35501             description { state: "default" 0.0;
35502                align: 0.0 0.0;
35503                fixed: 1 1;
35504                rel1 {
35505                   relative: 0.0 0.0;
35506                   offset: 0 1;
35507                }
35508                rel2 {
35509                   relative: 0.0 0.0;
35510                   offset: 50 32;
35511                }
35512                params.string: "label" "Back";
35513             }
35514          }
35515          part { name: "back_clipper";
35516             type: RECT;
35517             clip_to: "title_clipper";
35518             description { state: "default" 0.0;
35519                visible: 1;
35520             }
35521             description { state: "hidden" 0.0;
35522                visible: 0;
35523             }
35524          }
35525          part { name: "next";
35526             type: EXTERNAL;
35527             source: "elm/button";
35528             clip_to: "next_clipper";
35529             description { state: "default" 0.0;
35530                align: 1.0 0.0;
35531                fixed: 1 1;
35532                rel1 {
35533                   relative: 1.0 0.0;
35534                   offset: -2 1;
35535                }
35536                rel2 {
35537                   relative: 1.0 0.0;
35538                   offset: -1 32;
35539                }
35540                params.string: "label" "Next";
35541            }
35542          }
35543          part { name: "next_clipper";
35544             type: RECT;
35545             clip_to: "title_clipper";
35546             description { state: "default" 0.0;
35547                visible: 1;
35548             }
35549             description { state: "hidden" 0.0;
35550                visible: 0;
35551             }
35552          }
35553          programs {
35554             program {
35555                signal: "clicked";
35556                source: "back";
35557                action: SIGNAL_EMIT "elm,action,back" "";
35558             }
35559             program {
35560                signal: "elm,title,hide";
35561                source: "elm";
35562                action: STATE_SET "hidden" 0.0;
35563                transition: LINEAR 0.1;
35564                target: "title_clipper";
35565             }
35566             program {
35567                signal: "elm,title,show";
35568                source: "elm";
35569                action: STATE_SET "default" 0.0;
35570                target: "title_clipper";
35571             }
35572             program {
35573                signal: "elm,back,hide";
35574                source: "elm";
35575                action: STATE_SET "hidden" 0.0;
35576                target: "back_clipper";
35577             }
35578             program {
35579                signal: "elm,back,show";
35580                source: "elm";
35581                action: STATE_SET "default" 0.0;
35582                target: "back_clipper";
35583             }
35584             program {
35585                signal: "clicked";
35586                source: "next";
35587                action: SIGNAL_EMIT "elm,action,next" "";
35588             }
35589             program {
35590                signal: "elm,next,hide";
35591                source: "elm";
35592                action: STATE_SET "hidden" 0.0;
35593                target: "next_clipper";
35594             }
35595             program {
35596                signal: "elm,next,show";
35597                source: "elm";
35598                action: STATE_SET "default" 0.0;
35599                target: "next_clipper";
35600             }
35601          }
35602          part { name: "elm.text.title";
35603             type: TEXT;
35604             effect: SOFT_SHADOW;
35605             scale: 1;
35606             clip_to: "title_clipper";
35607             description { state: "default" 0.0;
35608                rel1 {
35609                   to_x: "back";
35610                   relative: 1.0 0.0;
35611                   offset: 2 1;
35612                }
35613                rel2 { to_y: "back";
35614                   to_x: "next";
35615                   relative: 0.0 1.0;
35616                   offset: -3 -1;
35617                }
35618                text {
35619                   font: "Sans:style=Bold";
35620                   size: 12;
35621                }
35622             }
35623          }
35624       }
35625    }
35626
35627    /* application with toolbar and main content area as a vertical box */
35628    group { name: "elm/layout/application/toolbar-vbox";
35629       parts {
35630          part { name: "elm.box.content";
35631             type: BOX;
35632             description { state: "default" 0.0;
35633                rel1 { to_y: "elm.external.toolbar";
35634                   relative: 0.0 1.0;
35635                   offset: -1 1;
35636                }
35637                box.layout: "vertical";
35638             }
35639          }
35640
35641          part { name: "elm.external.toolbar";
35642             type: EXTERNAL;
35643             source: "elm/toolbar";
35644             description { state: "default" 0.0;
35645                align: 0.5 0.0;
35646                fixed: 0 1;
35647                rel2 {
35648                   relative: 1.0 0.0;
35649                   offset: -1 47;
35650                }
35651             }
35652          }
35653       }
35654    }
35655
35656    /* application with toolbar and main content area as a table */
35657    group { name: "elm/layout/application/toolbar-table";
35658       parts {
35659          part { name: "elm.table.content";
35660             type: TABLE;
35661             description { state: "default" 0.0;
35662                rel1 { to_y: "elm.external.toolbar";
35663                   relative: 0.0 1.0;
35664                   offset: -1 1;
35665                }
35666             }
35667          }
35668
35669          part { name: "elm.external.toolbar";
35670             type: EXTERNAL;
35671             source: "elm/toolbar";
35672             description { state: "default" 0.0;
35673                align: 0.5 0.0;
35674                fixed: 0 1;
35675                rel2 {
35676                   relative: 1.0 0.0;
35677                   offset: -1 47;
35678                }
35679             }
35680          }
35681       }
35682    }
35683
35684 ///////////////////////////////////////////////////////////////////////////////
35685    group { name: "elm/segment_control/base/default";
35686 #define SEGMENT_TYPE_SINGLE 1
35687 #define SEGMENT_TYPE_LEFT 2
35688 #define SEGMENT_TYPE_MIDDLE 3
35689 #define SEGMENT_TYPE_RIGHT 4
35690 #define SEGMENT_STATE_NORMAL 1
35691 #define SEGMENT_STATE_PRESSED 2
35692 #define SEGMENT_STATE_SELECTED 3
35693 #define SEGMENT_STATUS_ENABLED 0
35694 #define SEGMENT_STATUS_DISABLED 1
35695       parts {
35696          part { name: "bg";
35697             type: RECT;
35698             mouse_events: 0;
35699             scale: 1;
35700             description {
35701                state: "default" 0.0;
35702                color: 0 0 0 0;
35703                min: 100 40;
35704             }
35705          }
35706       }
35707    }
35708    group { name: "elm/segment_control/item/default";
35709       data.item: "label.wrap.part" "label.bg";
35710       styles {
35711          style { name: "seg_text_style_normal";
35712             base: "font=Sans font_size=16 style=shadow \
35713             shadow_color=#2924224d \
35714             align=center \
35715             color=#ffffffff wrap=char text_class=label";
35716             tag:  "br" "\n";
35717             tag:  "hilight" "+ font=Sans:style=Bold";
35718             tag:  "tab" "\t";
35719          }
35720          style { name: "seg_text_style_selected";
35721             base: "font=Sans:style=Bold font_size=16 style=shadow \
35722             shadow_color=#aaaaaa4d \
35723             align=center \
35724             color=#111111ff wrap=char text_class=label";
35725             tag:  "br" "\n";
35726             tag:  "hilight" "+ font=Sans:style=Bold";
35727             tag:  "b" "+ font=Sans:style=Bold";
35728             tag:  "tab" "\t";
35729          }
35730          style { name: "seg_text_style_disabled";
35731             base: "font=Sans:style=Medium font_size=16 style=shadow \
35732             shadow_color=#2924224d \
35733             align=center color=#2924224d \
35734             wrap=char text_class=label";
35735             tag:  "br" "\n";
35736             tag:  "hilight" "+ font=Sans:style=Bold";
35737             tag:  "b" "+ font=Sans:style=Bold";
35738             tag:  "tab" "\t";
35739          }
35740       }
35741       images {
35742          image: "seg_single_pressed.png" COMP;
35743          image: "seg_single_selected.png" COMP;
35744          image: "seg_single_normal.png" COMP;
35745
35746          image: "seg_left_pressed.png" COMP;
35747          image: "seg_left_selected.png" COMP;
35748          image: "seg_left_normal.png" COMP;
35749
35750          image: "seg_middle_pressed.png" COMP;
35751          image: "seg_middle_selected.png" COMP;
35752          image: "seg_middle_normal.png" COMP;
35753
35754          image: "seg_right_pressed.png" COMP;
35755          image: "seg_right_selected.png" COMP;
35756          image: "seg_right_normal.png" COMP;
35757       }
35758       parts {
35759          part { name: "segment";
35760             mouse_events: 1;
35761             scale: 1;
35762             description { state: "default" 0.0;
35763                min: 1 1;
35764                visible: 0;
35765                image {
35766                   normal: "seg_single_normal.png";
35767                   border: 7 7 7 7;
35768                   border_scale: 1;
35769                   middle: 1;
35770                }
35771             }
35772             description { state: "default_single" 0.0;
35773                inherit: "default" 0.0;
35774                visible: 1;
35775                image {
35776                   normal: "seg_single_normal.png";
35777                   border: 7 7 7 7;
35778                }
35779             }
35780             description { state: "default_left" 0.0;
35781                inherit: "default" 0.0;
35782                visible: 1;
35783                image {
35784                normal: "seg_left_normal.png";
35785                   border:  6 1 7 7;
35786                }
35787             }
35788             description { state: "default_right" 0.0;
35789                inherit: "default" 0.0;
35790                visible: 1;
35791                image {
35792                   normal: "seg_right_normal.png";
35793                   border: 1 6 7 7;
35794                }
35795             }
35796             description { state: "default_middle" 0.0;
35797                inherit: "default" 0.0;
35798                visible: 1;
35799                image {
35800                   normal: "seg_middle_normal.png";
35801                   border: 2 2 2 2;
35802                }
35803             }
35804             description { state: "pressed_single" 0.0;
35805                inherit: "default" 0.0;
35806                visible: 1;
35807                image {
35808                   normal: "seg_single_pressed.png";
35809                   border: 7 7 7 7;
35810                }
35811             }
35812             description { state: "pressed_left" 0.0;
35813                inherit: "default" 0.0;
35814                visible: 1;
35815                image {
35816                   normal: "seg_left_pressed.png";
35817                   border:  6 1 7 7;
35818                }
35819             }
35820             description { state: "pressed_right" 0.0;
35821                inherit: "default" 0.0;
35822                visible: 1;
35823                image {
35824                   normal: "seg_right_pressed.png";
35825                   border: 1 6 7 7;
35826                }
35827             }
35828             description { state: "pressed_middle" 0.0;
35829                inherit: "default" 0.0;
35830                visible: 1;
35831                image {
35832                   normal: "seg_middle_pressed.png";
35833                   border: 1 1 2 2;
35834                }
35835             }
35836             description { state: "selected_single" 0.0;
35837                inherit: "default" 0.0;
35838                visible: 1;
35839                image {
35840                   normal: "seg_single_selected.png";
35841                   border: 7 7 7 7;
35842                }
35843             }
35844             description { state: "selected_left" 0.0;
35845                inherit: "default" 0.0;
35846                visible: 1;
35847                image {
35848                   normal: "seg_left_selected.png";
35849                   border:  6 3 7 7;
35850                }
35851             }
35852             description { state: "selected_right" 0.0;
35853                inherit: "default" 0.0;
35854                visible: 1;
35855                image {
35856                   normal: "seg_right_selected.png";
35857                   border: 3 6 7 7;
35858                }
35859             }
35860             description { state: "selected_middle" 0.0;
35861                inherit: "default" 0.0;
35862                visible: 1;
35863                image {
35864                   normal: "seg_middle_selected.png";
35865                   border: 3 3 3 3;
35866                }
35867             }
35868          }
35869          part { name: "padding_left";
35870             type: RECT;
35871             scale: 1;
35872             mouse_events: 0;
35873             description { state: "default" 0.0;
35874                align: 0.0 0.0;
35875                rel1.relative: 0.0 0.0;
35876                rel2.relative: 0.0 1.0;
35877                min: 2 2;
35878                max: 2 2;
35879                fixed: 1 0;
35880                color: 0 0 0 0;
35881             }
35882          }
35883          part { name: "padding_right";
35884             type: RECT;
35885             scale: 1;
35886             mouse_events: 0;
35887             description { state: "default" 0.0;
35888                align: 1.0 0.0;
35889                rel1.relative: 1.0 0.0;
35890                rel2.relative: 1.0 1.0;
35891                min: 2 2;
35892                max: 2 2;
35893                fixed: 1 0;
35894                color: 0 0 0 0;
35895             }
35896          }
35897          part { name: "padding_top";
35898             type: RECT;
35899             scale: 1;
35900             mouse_events: 0;
35901             description { state: "default" 0.0;
35902                align: 0.0 0.0;
35903                rel1.relative: 0.0 0.0;
35904                rel2.relative: 1.0 0.0;
35905                min: 2 2;
35906                max: 2 2;
35907                fixed: 0 1;
35908                color: 0 0 0 0;
35909             }
35910          }
35911          part { name: "padding_bottom";
35912             type: RECT;
35913             scale: 1;
35914             mouse_events: 0;
35915             description { state: "default" 0.0;
35916                align: 1.0 1.0;
35917                rel1.relative: 0.0 1.0;
35918                rel2.relative: 1.0 1.0;
35919                min: 2 2;
35920                max: 2 2;
35921                fixed: 0 1;
35922                color: 0 0 0 0;
35923             }
35924          }
35925          part { name: "icon.bg";
35926             type: RECT;
35927             scale: 1;
35928             mouse_events: 0;
35929             description { state: "default" 0.0;
35930                visible: 1;
35931                fixed: 1 0;
35932                rel1 {
35933                   to_x: "padding_left";
35934                   to_y: "padding_top";
35935                   relative: 1.0 1.0;
35936                }
35937                rel2 {
35938                   to: "elm.swallow.icon";
35939                   relative: 1.0 1.0;
35940                }
35941                align: 0.0 0.5;
35942                color: 0 0 0 0;
35943             }
35944          }
35945          part { name: "padding_icon_text";
35946             type: RECT;
35947             scale: 1;
35948             mouse_events: 0;
35949             description { state: "default" 0.0; //when only icon or no icon is there
35950                align: 0.0 0.0;
35951                rel1 {
35952                   to: "icon.bg";
35953                   relative: 1.0 0.0;
35954                }
35955                rel2 {
35956                   to: "icon.bg";
35957                   relative: 1.0 1.0;
35958                }
35959                fixed: 1 0;
35960                min: 0 0;
35961                color: 0 0 0 0;
35962             }
35963             description { state: "icononly" 0.0;
35964                inherit: "default" 0.0;
35965             }
35966             description { state: "visible" 0.0; //when icon is visible
35967                inherit: "default" 0.0;
35968                min: 2 0;
35969             }
35970          }
35971          part { name: "elm.swallow.icon";
35972             type: SWALLOW;
35973             scale: 1;
35974             description { state: "default" 0.0;
35975                visible: 0;
35976                align: 0.0 0.5;
35977                rel1 {
35978                   to_x: "padding_left";
35979                   to_y: "padding_top";
35980                   relative: 1.0 1.0;
35981                }
35982                rel2 {
35983                   to_y: "padding_bottom";
35984                   relative: 0.0 0.0;
35985                }
35986                fixed: 1 0;
35987                aspect: 1.0 1.0;
35988                aspect_preference: BOTH;
35989             }
35990             description { state: "visible" 0.0;
35991                inherit: "default" 0.0;
35992                visible: 1;
35993                rel2 {
35994                   to_y: "padding_bottom";
35995                   relative: 0.3 0.0;
35996                }
35997             }
35998             description { state: "icononly" 0.0;
35999                inherit: "default" 0.0;
36000                visible: 1;
36001                rel2 {
36002                   to_x: "padding_right";
36003                   to_y: "padding_bottom";
36004                   relative: 0.0 0.0;
36005                }
36006                align: 0.5 0.5;
36007             }
36008          }
36009          part { name: "elm.text";
36010             type: TEXT;
36011             mouse_events: 0;
36012             scale: 1;
36013             description {
36014                state: "default" 0.0;
36015                visible: 0;
36016                fixed: 1 1;
36017                min: 1 1;
36018                rel1 {
36019                   to_x: "padding_icon_text";
36020                   relative: 1.0 1.0;
36021                }
36022                rel2 {
36023                   to_x: "padding_right";
36024                   relative: 0.0 0.0;
36025                }
36026                color: 224 224 224 255;
36027                color3: 0 0 0 64;
36028                text {
36029                   font: "Sans";
36030                   ellipsis: 0.0;
36031                   fit: 1 1;
36032                   size: 24;
36033                   size_range: 8 36;
36034                   min: 0 1;
36035                }
36036             }
36037             description { state: "normal" 0.0;
36038                inherit: "default" 0.0;
36039                visible: 1;
36040             }
36041             description { state: "pressed" 0.0;
36042                inherit: "default" 0.0;
36043                visible: 1;
36044                color: 0 0 0 255;
36045             }
36046             description { state: "selected" 0.0;
36047                inherit: "default" 0.0;
36048                visible: 1;
36049                color: 50 50 50 255;
36050             }
36051             description { state: "disabled" 0.0;
36052                inherit: "default" 0.0;
36053                visible: 1;
36054                color: 200 200 200 255;
36055             }
36056          }
36057          part { name: "disabler";
36058             repeat_events: 0;
36059             scale: 1;
36060             description { state: "default" 0.0;
36061                visible: 0;
36062                fixed: 1 1;
36063                min: 1 1;
36064                align: 0.0 0.5;
36065                rel1 { relative: 0.0 0.0; to: "segment";}
36066                rel2 { relative: 1.0 1.0; to: "segment";}
36067                color: 255 255 255 150;
36068             }
36069             description { state: "disabled_single" 0.0;
36070                inherit: "default" 0.0;
36071                visible: 1;
36072                image {
36073                   normal: "seg_single_normal.png";
36074                   border: 7 7 7 7;
36075                }
36076             }
36077             description { state: "disabled_left" 0.0;
36078                inherit: "default" 0.0;
36079                visible: 1;
36080                image {
36081                   normal: "seg_left_normal.png";
36082                   border:  6 1 7 7;
36083                }
36084             }
36085             description { state: "disabled_right" 0.0;
36086                inherit: "default" 0.0;
36087                visible: 1;
36088                image {
36089                   normal: "seg_right_normal.png";
36090                   border: 1 6 7 7;
36091                }
36092             }
36093             description { state: "disabled_middle" 0.0;
36094                inherit: "default" 0.0;
36095                visible: 1;
36096                image {
36097                   normal: "seg_middle_normal.png";
36098                   border: 2 2 2 2;
36099                }
36100             }
36101          }
36102       }
36103       programs {
36104          script {
36105             public seg_type; // Single, Left, Middle, Right.
36106             public seg_state; // Normal/Default, Pressed, Selected.
36107             public seg_status;// Enabled/Default, Disabled
36108
36109             public update_state() {
36110                new type, state, disabled;
36111                type = get_int(seg_type);
36112                state = get_int(seg_state);
36113                disabled = get_int(seg_status);
36114
36115                if(state == SEGMENT_STATE_NORMAL)
36116                  {
36117                     if(type == SEGMENT_TYPE_SINGLE)
36118                       set_state(PART:"segment", "default_single", 0.0);
36119                     else if(type == SEGMENT_TYPE_LEFT)
36120                       set_state(PART:"segment", "default_left", 0.0);
36121                     else if(type == SEGMENT_TYPE_MIDDLE)
36122                       set_state(PART:"segment", "default_middle", 0.0);
36123                     else if(type == SEGMENT_TYPE_RIGHT)
36124                       set_state(PART:"segment", "default_right", 0.0);
36125                     set_state(PART:"elm.text", "normal", 0.0);
36126                  }
36127                else if(state == SEGMENT_STATE_PRESSED)
36128                  {
36129                     if(type == SEGMENT_TYPE_SINGLE)
36130                       set_state(PART:"segment", "pressed_single", 0.0);
36131                     else if(type == SEGMENT_TYPE_LEFT)
36132                       set_state(PART:"segment", "pressed_left", 0.0);
36133                     else if(type == SEGMENT_TYPE_MIDDLE)
36134                       set_state(PART:"segment", "pressed_middle", 0.0);
36135                     else if(type == SEGMENT_TYPE_RIGHT)
36136                       set_state(PART:"segment", "pressed_right", 0.0);
36137                     set_state(PART:"elm.text", "pressed", 0.0);
36138                  }
36139                else if(state == SEGMENT_STATE_SELECTED)
36140                  {
36141                     if(type == SEGMENT_TYPE_SINGLE)
36142                       set_state(PART:"segment", "selected_single", 0.0);
36143                     else if(type == SEGMENT_TYPE_LEFT)
36144                       set_state(PART:"segment", "selected_left", 0.0);
36145                     else if(type == SEGMENT_TYPE_MIDDLE)
36146                       set_state(PART:"segment", "selected_middle", 0.0);
36147                     else if(type == SEGMENT_TYPE_RIGHT)
36148                       set_state(PART:"segment", "selected_right", 0.0);
36149                     set_state(PART:"elm.text", "selected", 0.0);
36150                  }
36151                if(disabled == SEGMENT_STATUS_DISABLED)
36152                  {
36153                     if(type == SEGMENT_TYPE_SINGLE)
36154                       set_state(PART:"disabler", "disabled_single", 0.0);
36155                     else if(type == SEGMENT_TYPE_LEFT)
36156                       set_state(PART:"disabler", "disabled_left", 0.0);
36157                     else if(type == SEGMENT_TYPE_MIDDLE)
36158                       set_state(PART:"disabler", "disabled_middle", 0.0);
36159                     else if(type == SEGMENT_TYPE_RIGHT)
36160                       set_state(PART:"disabler", "disabled_right", 0.0);
36161                     set_state(PART:"elm.text", "disabled", 0.0);
36162                  }
36163             }
36164          }
36165          program {
36166             name: "segment_type_s";
36167             signal: "elm,type,segment,single";
36168             source: "elm";
36169             script {
36170                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36171                update_state();
36172             }
36173          }
36174          program {
36175             name: "segment_type_l";
36176             signal: "elm,type,segment,left";
36177             source: "elm";
36178             script {
36179                set_int(seg_type, SEGMENT_TYPE_LEFT);
36180                update_state();
36181             }
36182          }
36183          program {
36184             name: "segment_type_m";
36185             signal: "elm,type,segment,middle";
36186             source: "elm";
36187             script {
36188                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36189                update_state();
36190             }
36191          }
36192          program {
36193             name: "segment_type_r";
36194             signal: "elm,type,segment,right";
36195             source: "elm";
36196             script {
36197                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36198                update_state();
36199             }
36200          }
36201          program {
36202             name: "normal_segment";
36203             signal: "elm,state,segment,normal";
36204             source: "elm";
36205             script {
36206                set_int(seg_state, SEGMENT_STATE_NORMAL);
36207                update_state();
36208             }
36209          }
36210          program {
36211             name: "pressed_segment";
36212             signal: "elm,state,segment,pressed";
36213             source: "elm";
36214             script {
36215                set_int(seg_state, SEGMENT_STATE_PRESSED);
36216                update_state();
36217             }
36218          }
36219          program {
36220             name: "selected_segment";
36221             signal: "elm,state,segment,selected";
36222             source: "elm";
36223             script {
36224                set_int(seg_state, SEGMENT_STATE_SELECTED);
36225                update_state();
36226             }
36227          }
36228          program { name: "disable_segment";
36229             signal: "elm,state,disabled";
36230             source: "elm";
36231             script {
36232                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36233                update_state();
36234             }
36235          }
36236          program { name: "enable_segment";
36237             signal: "elm,state,enabled";
36238             source: "elm";
36239             script {
36240                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36241                update_state();
36242             }
36243          }
36244          program { name: "text_show";
36245             signal: "elm,state,text,visible";
36246             source: "elm";
36247             script {
36248                new st[31];
36249                new Float:vl;
36250                get_state(PART:"elm.swallow.icon", st, 30, vl);
36251                if (!strcmp(st, "icononly"))
36252                  {
36253                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36254                     set_state(PART:"padding_icon_text", "visible", 0.0);
36255                  }
36256                get_state(PART:"elm.text", st, 30, vl);
36257                if (!strcmp(st, "selected"))
36258                   set_state(PART:"elm.text", "selected", 0.0);
36259                else
36260                   set_state(PART:"elm.text", "normal", 0.0);
36261             }
36262          }
36263          program { name: "text_hide";
36264             signal: "elm,state,text,hidden";
36265             source: "elm";
36266             script {
36267                new st[31];
36268                new Float:vl;
36269                get_state(PART:"elm.swallow.icon", st, 30, vl);
36270                if (!strcmp(st, "visible"))
36271                  {
36272                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36273                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36274                  }
36275                set_state(PART:"elm.text", "default", 0.0);
36276             }
36277          }
36278          program { name: "icon_show";
36279             signal: "elm,state,icon,visible";
36280             source: "elm";
36281             script {
36282                new st[31];
36283                new Float:vl;
36284                get_state(PART:"elm.text", st, 30, vl);
36285                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36286                  {
36287                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36288                     set_state(PART:"padding_icon_text", "visible", 0.0);
36289                  }
36290                else
36291                  {
36292                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36293                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36294                  }
36295             }
36296          }
36297          program { name: "icon_hide";
36298             signal: "elm,state,icon,hidden";
36299             source: "elm";
36300             action:  STATE_SET "default" 0.0;
36301             target: "elm.swallow.icon";
36302          }
36303       }
36304 #undef SEGMENT_TYPE_SINGLE
36305 #undef SEGMENT_TYPE_LEFT
36306 #undef SEGMENT_TYPE_MIDDLE
36307 #undef SEGMENT_TYPE_RIGHT
36308 #undef SEGMENT_STATE_NORMAL
36309 #undef SEGMENT_STATE_PRESSED
36310 #undef SEGMENT_STATE_SELECTED
36311 #undef SEGMENT_STATUS_ENABLED
36312 #undef SEGMENT_STATUS_DISABLED
36313    }
36314
36315    /* a simple title layout, with a label and two icons */
36316    group { name: "elm/layout/application/titlebar";
36317       images {
36318          image: "toolbar_sel.png" COMP;
36319       }
36320       parts {
36321          part { name: "base";
36322             mouse_events: 0;
36323             scale: 1;
36324             description { state: "default" 0.0;
36325                min: 0 33;
36326                max: 99999 33;
36327                align: 0.5 0.0;
36328                rel1.offset: -1 0;
36329                rel2.offset: 1 0;
36330                image {
36331                   normal: "toolbar_sel.png";
36332                   border: 3 3 0 0;
36333                }
36334             }
36335          }
36336          part { name: "elm.swallow.content";
36337             type: SWALLOW;
36338             description { state: "default" 0.0;
36339                visible: 1;
36340                rel1 {
36341                   to: "base";
36342                   relative: 0.0 1.0;
36343                }
36344             }
36345          }
36346          part { name: "elm.swallow.icon";
36347             type: SWALLOW;
36348             scale: 1;
36349             description { state: "default" 0.0;
36350                visible: 0;
36351                fixed: 1 1;
36352                align: 0.0 0.0;
36353                rel1 {
36354                   to: "base";
36355                   relative: 0.0 0.0;
36356                   offset: 4 0;
36357                }
36358                rel2 {
36359                   to: "base";
36360                   relative: 0.0 1.0;
36361                }
36362             }
36363             description { state: "visible" 0.0;
36364                inherit: "default" 0.0;
36365                visible: 1;
36366             }
36367          }
36368          part { name: "elm.swallow.end";
36369             type: SWALLOW;
36370             scale: 1;
36371             description { state: "default" 0.0;
36372                visible: 0;
36373                fixed: 1 1;
36374                align: 1.0 0.0;
36375                rel1 {
36376                   to: "base";
36377                   relative: 1.0 0.0;
36378                   offset: 0 0;
36379                }
36380                rel2 {
36381                   to: "base";
36382                   relative: 1.0 1.0;
36383                   offset: -5 -1;
36384                }
36385             }
36386             description { state: "visible" 0.0;
36387                inherit: "default" 0.0;
36388                visible: 1;
36389             }
36390          }
36391          part { name: "elm.text";
36392             type: TEXT;
36393             effect: SOFT_SHADOW;
36394             mouse_events: 0;
36395             scale: 1;
36396             description { state: "default" 0.0;
36397                fixed: 1 1;
36398                rel1 {
36399                   to_x: "elm.swallow.icon";
36400                   to_y: "base";
36401                   relative: 1.0 0.0;
36402                }
36403                rel2 {
36404                   to_x: "elm.swallow.end";
36405                   to_y: "base";
36406                   relative: 0.0 1.0;
36407                }
36408                text {
36409                   font: "Sans";
36410                   size: 12;
36411                   min: 0 0;
36412                   align: 0.5 0.5;
36413                   text_class: "title_bar";
36414                }
36415             }
36416          }
36417       }
36418       programs {
36419          program { name: "show_icon";
36420             signal: "elm,state,icon,visible";
36421             source: "elm";
36422             action: STATE_SET "visible" 0.0;
36423             target: "elm.swallow.icon";
36424          }
36425          program { name: "hide_icon";
36426             signal: "elm,state,icon,hidden";
36427             source: "elm";
36428             action: STATE_SET "default" 0.0;
36429             target: "elm.swallow.icon";
36430          }
36431          program { name: "show_end";
36432             signal: "elm,state,end,visible";
36433             source: "elm";
36434             action: STATE_SET "visible" 0.0;
36435             target: "elm.swallow.end";
36436          }
36437          program { name: "hide_end";
36438             signal: "elm,state,end,hidden";
36439             source: "elm";
36440             action: STATE_SET "default" 0.0;
36441             target: "elm.swallow.end";
36442          }
36443       }
36444    }
36445
36446    group {
36447       name: "elm/player/base/default";
36448       min: 290 26;
36449
36450       parts {
36451          part {
36452             type: SWALLOW;
36453             name: "media_player/slider";
36454
36455             description {
36456                rel2 {
36457                   relative: 1.0 0.0;
36458                   to_x: "media_player/forward";
36459                }
36460             }
36461          }
36462          part {
36463             type: SWALLOW;
36464             name: "media_player/rewind";
36465
36466             description {
36467                rel1 {
36468                   to_y: "media_player/slider";
36469                   offset: 42 0;
36470                   relative: 0.0 1.0;
36471                }
36472                rel2 {
36473                   relative: 0.0 1.0;
36474                }
36475             }
36476          }
36477          part {
36478             type: SWALLOW;
36479             name: "media_player/prev";
36480
36481             description {
36482                rel1 {
36483                   to: "media_player/rewind";
36484                   relative: 1.0 0.0;
36485                }
36486                rel2 {
36487                   to: "media_player/rewind";
36488                   relative: 2.0 1.0;
36489                }
36490             }
36491          }
36492          part {
36493             type: SWALLOW;
36494             name: "media_player/play";
36495
36496             description {
36497                rel1 {
36498                   to: "media_player/prev";
36499                   relative: 1.0 0.0;
36500                }
36501                rel2 {
36502                   to: "media_player/prev";
36503                   relative: 2.0 1.0;
36504                }
36505             }
36506             description {
36507                state: hidden 0.0;
36508                inherit: default 0.0;
36509                visible: 0;
36510             }
36511          }
36512          part {
36513             type: SWALLOW;
36514             name: "media_player/pause";
36515
36516             description {
36517                rel1.to: "media_player/play";
36518                rel2.to: "media_player/play";
36519             }
36520             description {
36521                state: hidden 0.0;
36522                inherit: default 0.0;
36523                visible: 0;
36524             }
36525          }
36526          part {
36527             type: SWALLOW;
36528             name: "media_player/info";
36529             description {
36530                rel1 {
36531                   to: "media_player/play";
36532                   relative: 1.0 0.0;
36533                }
36534                rel2 {
36535                   to: "media_player/play";
36536                   relative: 2.0 1.0;
36537                }
36538             }
36539          }
36540
36541          part {
36542             type: SWALLOW;
36543             name: "media_player/stop";
36544             description {
36545                rel1 {
36546                   to: "media_player/info";
36547                   relative: 3.0 0.0;
36548                }
36549                rel2 {
36550                   to: "media_player/info";
36551                   relative: 4.0 1.0;
36552                }
36553             }
36554          }
36555          part {
36556             type: SWALLOW;
36557             name: "media_player/next";
36558             description {
36559                rel1 {
36560                   to: "media_player/stop";
36561                   relative: 1.0 0.0;
36562                }
36563                rel2 {
36564                   to: "media_player/stop";
36565                   relative: 2.0 1.0;
36566                }
36567             }
36568          }
36569          part {
36570             type: SWALLOW;
36571             name: "media_player/forward";
36572             description {
36573                rel1 {
36574                   to: "media_player/next";
36575                   relative: 1.0 0.0;
36576                }
36577                rel2 {
36578                   to: "media_player/next";
36579                   relative: 2.0 1.0;
36580                }
36581             }
36582          }
36583       }
36584       programs {
36585          program {
36586             signal: "show";
36587             source: "";
36588             after: "pause/0";
36589          }
36590          program {
36591             signal: "elm,player,play";
36592             source: "elm";
36593             after: "play/0";
36594          }
36595          program {
36596             signal: "elm,player,pause";
36597             source: "elm";
36598             after: "pause/0";
36599          }
36600          program {
36601             name: "play/0";
36602
36603             action: STATE_SET "hidden" 0.0;
36604             target: "media_player/play";
36605
36606             after: "play/1";
36607          }
36608          program {
36609             name: "play/1";
36610
36611             action: STATE_SET "default" 0.0;
36612             target: "media_player/pause";
36613          }
36614          program {
36615             name: "pause/0";
36616
36617             action: STATE_SET "hidden" 0.0;
36618             target: "media_player/pause";
36619
36620             after: "pause/1";
36621          }
36622          program {
36623             name: "pause/1";
36624
36625             action: STATE_SET "default" 0.0;
36626             target: "media_player/play";
36627          }
36628       }
36629    }
36630
36631    group {
36632       name: "elm/video/base/default";
36633
36634       parts {
36635          part {
36636             name: "clipper";
36637             type: RECT;
36638
36639             description {
36640                color: 255 255 255 255;
36641             }
36642             description {
36643                state: "darker" 0.0;
36644                color: 128 128 128 255;
36645             }
36646          }
36647          part {
36648             name: "elm.swallow.video";
36649             type: SWALLOW;
36650
36651             clip_to: "clipper";
36652             mouse_events: 1;
36653             repeat_events: 1;
36654
36655             description {
36656                aspect_preference: BOTH;
36657                aspect: 1 1;
36658             }
36659          }
36660       }
36661
36662       programs {
36663          program {
36664             signal: "elm,video,load";
36665             source: "elm";
36666
36667             action: STATE_SET "darker" 0.0;
36668             target: "clipper";
36669          }
36670          program {
36671             signal: "elm,video,play";
36672             source: "elm";
36673
36674             action: STATE_SET "default" 0.0;
36675             target: "clipper";
36676          }
36677          program {
36678             signal: "elm,video,end";
36679             source: "elm";
36680
36681             action: STATE_SET "darker" 0.0;
36682             target: "clipper";
36683             transition: LINEAR 0.5;
36684          }
36685          program {
36686             signal: "elm,video,pause";
36687             source: "elm";
36688
36689             action: STATE_SET "darker" 0.0;
36690             target: "clipper";
36691          }
36692       }
36693    }
36694 }