elementary: add higger level elm_video object.
[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: 40 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: 40 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 40;
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 40;
7890                fixed: 1 1;
7891                align: 0.5 0;
7892                rel1 {
7893                   relative: 0 1;
7894                   to:"base";
7895                }
7896                rel2 {
7897                   to_x: "base";
7898                }
7899             }
7900          }
7901          part { name: "elm.swallow.arrow_up";
7902             type: SWALLOW;
7903             mouse_events: 0;
7904             scale: 1;
7905             dragable {
7906                x: 1 1 0;
7907                y: 1 1 0;
7908                confine: "arrow_area_up";
7909             }
7910             description {
7911                state: "default" 0.0;
7912                min: 40 40;
7913                fixed: 1 1;
7914                visible: 1;
7915             }
7916          }
7917          part { name: "elm.swallow.arrow_down";
7918             type: SWALLOW;
7919             mouse_events: 0;
7920             scale: 1;
7921             dragable {
7922                x: 1 1 0;
7923                y: 1 1 0;
7924                confine: "arrow_area_down";
7925             }
7926             description {
7927                state: "default" 0.0;
7928                min: 40 40;
7929                fixed: 1 1;
7930                visible: 1;
7931             }
7932          }
7933          part { name: "elm.swallow.arrow_left";
7934             type: SWALLOW;
7935             mouse_events: 0;
7936             scale: 1;
7937             dragable {
7938                x: 1 1 0;
7939                y: 1 1 0;
7940                confine: "arrow_area_left";
7941             }
7942             description {
7943                state: "default" 0.0;
7944                min: 40 40;
7945                fixed: 1 1;
7946                visible: 1;
7947             }
7948          }
7949          part { name: "elm.swallow.arrow_right";
7950             type: SWALLOW;
7951             mouse_events: 0;
7952             scale: 1;
7953             dragable {
7954                x: 1 1 0;
7955                y: 1 1 0;
7956                confine: "arrow_area_right";
7957             }
7958             description {
7959                state: "default" 0.0;
7960                min: 40 40;
7961                fixed: 1 1;
7962                visible: 1;
7963             }
7964          }
7965          part { name: "base";
7966             scale: 1;
7967             description { state: "default" 0.0;
7968                rel1.offset: -3 -3;
7969                rel2.offset: 3 3;
7970                image { normal: "bt_base2.png";
7971                   border: 7 7 7 7;
7972                }
7973             }
7974          }
7975          part { name: "over1";
7976             scale: 1;
7977             description { state: "default" 0.0;
7978                rel1.to: "base";
7979                rel2.to: "base";
7980                rel2.relative: 1.0 0.5;
7981                image { normal: "bt_hilight.png";
7982                   border: 7 7 7 0;
7983                }
7984             }
7985          }
7986          part { name: "over2";
7987             scale: 1;
7988             description { state: "default" 0.0;
7989                rel1.to: "base";
7990                rel2.to: "base";
7991                image { normal: "bt_shine.png";
7992                   border: 7 7 7 7;
7993                }
7994             }
7995          }
7996          part { name: "elm.swallow.content";
7997             type: SWALLOW;
7998             description { state: "default" 0.0;
7999                rel1 { to:"base"; offset: 4 4; };
8000                rel2 { to:"base"; offset: -5 -5; };
8001             }
8002          }
8003       }
8004    }
8005 ///////////////////////////////////////////////////////////////////////////////
8006    group { name: "elm/ctxpopup/arrow/default";
8007       images {
8008          image: "icon_arrow_left.png" COMP;
8009          image: "icon_arrow_right.png" COMP;
8010          image: "icon_arrow_up.png" COMP;
8011          image: "icon_arrow_down.png" COMP;
8012       }
8013       parts {
8014          part { name: "ctxpopup_arrow";
8015             type: IMAGE;
8016             scale: 1;
8017             description {
8018                state: "default" 0.0;
8019                min: 40 40;
8020                fixed: 1 1;
8021                visible: 0;
8022                align: 0.5 0.5;
8023             }
8024             description {
8025                state: "left" 0.0;
8026                min: 40 40;
8027                fixed: 1 1;
8028                align: 0.0 0.5;
8029                rel1 { offset: 7 0; }
8030                rel2 { offset: 6 -1; }
8031                image { normal: "icon_arrow_left.png"; }
8032             }
8033             description { state: "right" 0.0;
8034                min: 40 40;
8035                fixed: 1 1;
8036                align: 1.0 0.5;
8037                rel1 { offset: -7 0; }
8038                rel2 { offset: -8 -1; }
8039                image { normal: "icon_arrow_right.png"; }
8040             }
8041             description { state: "top" 0.0;
8042                min: 40 40;
8043                fixed: 1 1;
8044                align: 0.5 0.0;
8045                rel1 { offset: 0 7; }
8046                rel2 { offset: -1 6; }
8047                image { normal: "icon_arrow_up.png"; }
8048             }
8049             description { state: "bottom" 0.0;
8050                min: 40 40;
8051                fixed: 1 1;
8052                align: 0.5 1.0;
8053                rel1 { offset: 0 -7; }
8054                rel2 { offset: -1 -8; }
8055                image { normal: "icon_arrow_down.png"; }
8056             }
8057          }
8058       }
8059       programs {
8060          program { name: "enable_left_arrow";
8061             signal: "elm,state,left";
8062             source: "elm";
8063             action: STATE_SET "left" 0.0;
8064             target: "ctxpopup_arrow";
8065          }
8066          program { name: "enable_right_arrow";
8067             signal: "elm,state,right";
8068             source: "elm";
8069             action: STATE_SET "right" 0.0;
8070             target: "ctxpopup_arrow";
8071          }
8072          program { name: "enable_top_arrow";
8073             signal: "elm,state,top";
8074             source: "elm";
8075             action: STATE_SET "top" 0.0;
8076             target: "ctxpopup_arrow";
8077          }
8078          program { name: "enable_bottom_arrow";
8079             signal: "elm,state,bottom";
8080             source: "elm";
8081             action: STATE_SET "bottom" 0.0;
8082             target: "ctxpopup_arrow";
8083          }
8084       }
8085    }
8086 ///////////////////////////////////////////////////////////////////////////////
8087    group {
8088       name: "elm/ctxpopup/icon_text_style_item/default";
8089            alias: "elm/ctxpopup/text_style_item/default";
8090            alias: "elm/ctxpopup/icon_style_item/default";
8091       images {
8092          image: "hoversel_entry_bg.png" COMP;
8093       }
8094       parts {
8095          part { name: "event";
8096             mouse_events: 1;
8097             description { state: "default" 0.0;
8098             }
8099          }
8100          part { name: "bg";
8101             mouse_events: 0;
8102             description { state: "default" 0.0;
8103                rel1.offset: 2 2;
8104                rel2.offset: -3 -3;
8105                image { normal:"hoversel_entry_bg.png";
8106                   border: 0 0 2 2;
8107                }
8108                fill.smooth: 0;
8109                color: 255 255 255 0;
8110             }
8111             description { state: "clicked" 0.0;
8112                inherit: "default" 0.0;
8113                color: 255 255 255 255;
8114             }
8115          }
8116          part { name: "elm.swallow.icon";
8117             type: SWALLOW;
8118             clip_to: "disclip";
8119             scale: 1;
8120             description { state: "default" 0.0;
8121                min: 25 25;
8122                max: 25 25;
8123                align: 0 0.5;
8124                aspect: 1.0 1.0;
8125                rel1 { offset: 10 10; }
8126                                         rel2 { offset: 0 -10; }
8127             }
8128          }
8129          part { name: "elm.text";
8130             type: TEXT;
8131             mouse_events: 0;
8132             clip_to: "disclip";
8133             scale: 1;
8134             description { state: "default" 0.0;
8135                min: 1 40;
8136                fixed: 0 1;
8137                align: 0.5 0.5;
8138                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8139                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8140                color: 255 255 255 255;
8141                text {
8142                   font: "Sans";
8143                   size: 10;
8144                   align: 0.0 0.5;
8145                   min: 1 1;
8146                }
8147             }
8148             description { state: "clicked" 0.0;
8149                inherit: "default" 0.0;
8150                color: 0 0 0 255;
8151             }
8152          }
8153          part { name: "over1";
8154             mouse_events: 1;
8155             repeat_events: 1;
8156             ignore_flags: ON_HOLD;
8157             description { state: "default" 0.0;
8158                color: 255 255 255 0;
8159             }
8160             description { state: "clicked" 0.0;
8161                inherit: "default" 0.0;
8162                color: 255 255 255 255;
8163             }
8164          }
8165          part { name: "over2";
8166             mouse_events: 1;
8167             repeat_events: 1;
8168             description { state: "default" 0.0;
8169                color: 255 255 255 0;
8170             }
8171             description { state: "clicked" 0.0;
8172                inherit: "default" 0.0;
8173                color: 255 255 255 255;
8174             }
8175          }
8176          part { name: "disclip";
8177             type: RECT;
8178             description { state: "default" 0.0;
8179                color: 255 255 255 255;
8180             }
8181             description { state: "enabled" 0.0;
8182                color: 127 127 127 127;
8183             }
8184          }
8185          part { name: "blocker";
8186             description { state: "default" 0.0;
8187                visible: 0;
8188             }
8189             description { state: "enabled" 0.0;
8190                visible: 1;
8191                color: 0 0 0 0;
8192             }
8193          }
8194       }
8195       programs {
8196          program {
8197             name: "item_unclick";
8198             signal: "mouse,up,1";
8199             source: "over1";
8200             action: SIGNAL_EMIT "elm,action,click" "";
8201          }
8202          program { name: "disable";
8203             signal: "elm,state,disabled";
8204             source: "elm";
8205             action: STATE_SET "enabled" 0.0;
8206             target: "disclip";
8207             target: "blocker";
8208          }
8209          program { name: "enable";
8210             signal: "elm,state,enabled";
8211             source: "elm";
8212             action: STATE_SET "default" 0.0;
8213             target: "disclip";
8214             target: "blocker";
8215          }
8216          program { name: "item_click2";
8217             signal: "mouse,down,1";
8218             source: "over2";
8219             script {
8220                set_state(PART:"elm.text", "clicked", 0.0);
8221                set_state(PART:"bg", "clicked", 0.0);
8222             }
8223          }
8224          program { name: "item_unclick2";
8225             signal: "mouse,up,1";
8226             source: "over2";
8227             script {
8228                                         set_state(PART:"elm.text", "default", 0.0);
8229                set_state(PART:"bg", "default", 0.0);
8230             }
8231          }
8232       }
8233    }
8234 ///////////////////////////////////////////////////////////////////////////////
8235 // emoticon images from:
8236 // Tanya - Latvia
8237 // http://lazycrazy.deviantart.com/
8238 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8239   group { name: "elm/entry/emoticon/angry/default"; images.image:
8240      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8241         "emo-angry.png"; } } } }
8242   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8243      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8244         "emo-angry-shout.png"; } } } }
8245   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8246      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8247         "emo-crazy-laugh.png"; } } } }
8248   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8249      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8250         "emo-evil-laugh.png"; } } } }
8251   group { name: "elm/entry/emoticon/evil/default"; images.image:
8252      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8253         "emo-evil.png"; } } } }
8254   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8255      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8256         "emo-goggle-smile.png"; } } } }
8257   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8258      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8259         "emo-grumpy.png"; } } } }
8260   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8261      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8262         "emo-grumpy-smile.png"; } } } }
8263   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8264      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8265         "emo-guilty.png"; } } } }
8266   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8267      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8268         "emo-guilty-smile.png"; } } } }
8269   group { name: "elm/entry/emoticon/haha/default"; images.image:
8270      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8271         "emo-haha.png"; } } } }
8272   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8273      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8274         "emo-half-smile.png"; } } } }
8275   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8276      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8277         "emo-happy-panting.png"; } } } }
8278   group { name: "elm/entry/emoticon/happy/default"; images.image:
8279      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8280         "emo-happy.png"; } } } }
8281   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8282      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8283         "emo-indifferent.png"; } } } }
8284   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8285      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8286         "emo-kiss.png"; } } } }
8287   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8288      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8289         "emo-knowing-grin.png"; } } } }
8290   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8291      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8292         "emo-laugh.png"; } } } }
8293   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8294      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8295         "emo-little-bit-sorry.png"; } } } }
8296   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8297      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8298         "emo-love-lots.png"; } } } }
8299   group { name: "elm/entry/emoticon/love/default"; images.image:
8300      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8301         "emo-love.png"; } } } }
8302   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8303      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8304         "emo-minimal-smile.png"; } } } }
8305   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8306      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8307         "emo-not-happy.png"; } } } }
8308   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8309      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8310         "emo-not-impressed.png"; } } } }
8311   group { name: "elm/entry/emoticon/omg/default"; images.image:
8312      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8313         "emo-omg.png"; } } } }
8314   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8315      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8316         "emo-opensmile.png"; } } } }
8317   group { name: "elm/entry/emoticon/smile/default"; images.image:
8318      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8319         "emo-smile.png"; } } } }
8320   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8321      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8322         "emo-sorry.png"; } } } }
8323   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8324      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8325         "emo-squint-laugh.png"; } } } }
8326   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8327      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8328         "emo-surprised.png"; } } } }
8329   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8330      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8331         "emo-suspicious.png"; } } } }
8332   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8333      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8334         "emo-tongue-dangling.png"; } } } }
8335   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8336      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8337         "emo-tongue-poke.png"; } } } }
8338   group { name: "elm/entry/emoticon/uh/default"; images.image:
8339      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8340         "emo-uh.png"; } } } }
8341   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8342      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8343         "emo-unhappy.png"; } } } }
8344   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8345      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8346         "emo-very-sorry.png"; } } } }
8347   group { name: "elm/entry/emoticon/what/default"; images.image:
8348      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8349         "emo-what.png"; } } } }
8350   group { name: "elm/entry/emoticon/wink/default"; images.image:
8351      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8352         "emo-wink.png"; } } } }
8353   group { name: "elm/entry/emoticon/worried/default"; images.image:
8354      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8355         "emo-worried.png"; } } } }
8356   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8357      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8358         "emo-wtf.png"; } } } }
8359 //------------------------------------------------------------
8360    group { name: "elm/entry/base/default";
8361       styles
8362       {
8363          style { name: "entry_textblock_style";
8364             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8365             tag:  "br" "\n";
8366             tag:  "ps" "ps";
8367             tag:  "tab" "\t";
8368             tag:  "em" "+ font=Sans:style=Oblique";
8369             tag:  "b" "+ font=Sans:style=Bold";
8370             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8371             tag:  "hilight" "+ font=Sans:style=Bold";
8372          }
8373          style { name: "entry_textblock_disabled_style";
8374             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8375             tag:  "br" "\n";
8376             tag:  "ps" "ps";
8377             tag:  "tab" "\t";
8378             tag:  "em" "+ font=Sans:style=Oblique";
8379             tag:  "b" "+ font=Sans:style=Bold";
8380             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8381             tag:  "hilight" "+ font=Sans:style=Bold";
8382          }
8383       }
8384       data {
8385 //         item: context_menu_orientation "horizontal";
8386       }
8387       parts {
8388          part { name: "elm.text";
8389             type: TEXTBLOCK;
8390             mouse_events: 1;
8391             scale: 1;
8392             entry_mode: EDITABLE;
8393             select_mode: EXPLICIT;
8394             multiline: 1;
8395             source: "elm/entry/selection/default"; // selection under
8396    //       source2: "X"; // selection over
8397    //       source3: "X"; // cursor under
8398             source4: "elm/entry/cursor/default"; // cursorover
8399             source5: "elm/entry/anchor/default"; // anchor under
8400    //       source6: "X"; // anchor over
8401             description { state: "default" 0.0;
8402                /* we gotta use 0 0 here, because of scrolled entries */
8403                fixed: 0 0;
8404                text {
8405                   style: "entry_textblock_style";
8406                   min: 0 1;
8407                   align: 0.0 0.0;
8408                }
8409             }
8410             description { state: "disabled" 0.0;
8411                inherit: "default" 0.0;
8412                text {
8413                   style: "entry_textblock_disabled_style";
8414                   min: 0 1;
8415                }
8416             }
8417          }
8418       }
8419       programs {
8420          program { name: "focus";
8421             signal: "load";
8422             source: "";
8423             action: FOCUS_SET;
8424             target: "elm.text";
8425          }
8426          program { name: "disable";
8427             signal: "elm,state,disabled";
8428             source: "elm";
8429             action: STATE_SET "disabled" 0.0;
8430             target: "elm.text";
8431          }
8432          program { name: "enable";
8433             signal: "elm,state,enabled";
8434             source: "elm";
8435             action: STATE_SET "default" 0.0;
8436             target: "elm.text";
8437          }
8438       }
8439    }
8440
8441    group { name: "elm/entry/base-mixedwrap/default";
8442       styles
8443       {
8444          style { name: "entry_textblock_style_mixedwrap";
8445             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8446             tag:  "br" "\n";
8447             tag:  "ps" "ps";
8448             tag:  "tab" "\t";
8449             tag:  "em" "+ font=Sans:style=Oblique";
8450             tag:  "b" "+ font=Sans:style=Bold";
8451             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8452             tag:  "hilight" "+ font=Sans:style=Bold";
8453          }
8454          style { name: "entry_textblock_disabled_style_mixedwrap";
8455             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8456             tag:  "br" "\n";
8457             tag:  "ps" "ps";
8458             tag:  "tab" "\t";
8459             tag:  "em" "+ font=Sans:style=Oblique";
8460             tag:  "b" "+ font=Sans:style=Bold";
8461             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8462             tag:  "hilight" "+ font=Sans:style=Bold";
8463          }
8464       }
8465       parts {
8466          part { name: "elm.text";
8467             type: TEXTBLOCK;
8468             mouse_events: 1;
8469             scale: 1;
8470             entry_mode: EDITABLE;
8471             select_mode: EXPLICIT;
8472             multiline: 1;
8473             source: "elm/entry/selection/default"; // selection under
8474 //          source2: "X"; // selection over
8475 //          source3: "X"; // cursor under
8476             source4: "elm/entry/cursor/default"; // cursorover
8477             source5: "elm/entry/anchor/default"; // anchor under
8478 //          source6: "X"; // anchor over
8479             description { state: "default" 0.0;
8480                fixed: 1 0;
8481                text {
8482                   style: "entry_textblock_style_mixedwrap";
8483                   min: 0 1;
8484                   align: 0.0 0.0;
8485                }
8486             }
8487             description { state: "disabled" 0.0;
8488                inherit: "default" 0.0;
8489                text {
8490                   style: "entry_textblock_disabled_style_mixedwrap";
8491                   min: 0 1;
8492                }
8493             }
8494          }
8495       }
8496       programs {
8497          program { name: "focus";
8498             signal: "load";
8499             source: "";
8500             action: FOCUS_SET;
8501             target: "elm.text";
8502          }
8503          program { name: "disable";
8504             signal: "elm,state,disabled";
8505             source: "elm";
8506             action: STATE_SET "disabled" 0.0;
8507             target: "elm.text";
8508          }
8509          program { name: "enable";
8510             signal: "elm,state,enabled";
8511             source: "elm";
8512             action: STATE_SET "default" 0.0;
8513             target: "elm.text";
8514          }
8515       }
8516    }
8517
8518    group { name: "elm/entry/base-charwrap/default";
8519       styles
8520       {
8521          style { name: "entry_textblock_style_charwrap";
8522             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8523             tag:  "br" "\n";
8524             tag:  "ps" "ps";
8525             tag:  "tab" "\t";
8526             tag:  "em" "+ font=Sans:style=Oblique";
8527             tag:  "b" "+ font=Sans:style=Bold";
8528             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8529             tag:  "hilight" "+ font=Sans:style=Bold";
8530          }
8531          style { name: "entry_textblock_disabled_style_charwrap";
8532             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8533             tag:  "br" "\n";
8534             tag:  "ps" "ps";
8535             tag:  "tab" "\t";
8536             tag:  "em" "+ font=Sans:style=Oblique";
8537             tag:  "b" "+ font=Sans:style=Bold";
8538             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8539             tag:  "hilight" "+ font=Sans:style=Bold";
8540          }
8541       }
8542       parts {
8543          part { name: "elm.text";
8544             type: TEXTBLOCK;
8545             mouse_events: 1;
8546             scale: 1;
8547             entry_mode: EDITABLE;
8548             select_mode: EXPLICIT;
8549             multiline: 1;
8550             source: "elm/entry/selection/default"; // selection under
8551 //          source2: "X"; // selection over
8552 //          source3: "X"; // cursor under
8553             source4: "elm/entry/cursor/default"; // cursorover
8554             source5: "elm/entry/anchor/default"; // anchor under
8555 //          source6: "X"; // anchor over
8556             description { state: "default" 0.0;
8557                fixed: 1 0;
8558                text {
8559                   style: "entry_textblock_style_charwrap";
8560                   min: 0 1;
8561                   align: 0.0 0.0;
8562                }
8563             }
8564             description { state: "disabled" 0.0;
8565                inherit: "default" 0.0;
8566                text {
8567                   style: "entry_textblock_disabled_style_charwrap";
8568                   min: 0 1;
8569                }
8570             }
8571          }
8572       }
8573       programs {
8574          program { name: "focus";
8575             signal: "load";
8576             source: "";
8577             action: FOCUS_SET;
8578             target: "elm.text";
8579          }
8580          program { name: "disable";
8581             signal: "elm,state,disabled";
8582             source: "elm";
8583             action: STATE_SET "disabled" 0.0;
8584             target: "elm.text";
8585          }
8586          program { name: "enable";
8587             signal: "elm,state,enabled";
8588             source: "elm";
8589             action: STATE_SET "default" 0.0;
8590             target: "elm.text";
8591          }
8592       }
8593    }
8594
8595    group { name: "elm/entry/base-nowrap/default";
8596       parts {
8597          part { name: "elm.text";
8598             type: TEXTBLOCK;
8599             mouse_events: 1;
8600             scale: 1;
8601             entry_mode: EDITABLE;
8602             select_mode: EXPLICIT;
8603             multiline: 1;
8604             source: "elm/entry/selection/default"; // selection under
8605             source4: "elm/entry/cursor/default"; // cursorover
8606             source5: "elm/entry/anchor/default"; // anchor under
8607             description { state: "default" 0.0;
8608                text {
8609                   style: "entry_textblock_style";
8610                   min: 1 1;
8611                   align: 0.0 0.0;
8612                }
8613             }
8614             description { state: "disabled" 0.0;
8615                inherit: "default" 0.0;
8616                text {
8617                   style: "entry_textblock_disabled_style";
8618                   min: 0 1;
8619                }
8620             }
8621          }
8622 /*
8623          part { name: "sel";
8624             type: RECT;
8625             mouse_events: 0;
8626             description { state: "default" 0.0;
8627                align: 1.0 1.0;
8628                max: 16 16;
8629                aspect: 1.0 1.0;
8630                color: 255 0 0 0;
8631             }
8632             description { state: "visible" 0.0;
8633                inherit: "default" 0.0;
8634                color: 255 0 0 50;
8635             }
8636          }
8637  */
8638       }
8639       programs {
8640          program { name: "focus";
8641             signal: "load";
8642             source: "";
8643             action: FOCUS_SET;
8644             target: "elm.text";
8645          }
8646          program { name: "disable";
8647             signal: "elm,state,disabled";
8648             source: "elm";
8649             action: STATE_SET "disabled" 0.0;
8650             target: "elm.text";
8651          }
8652          program { name: "enable";
8653             signal: "elm,state,enabled";
8654             source: "elm";
8655             action: STATE_SET "default" 0.0;
8656             target: "elm.text";
8657          }
8658 /*
8659          program { name: "selmode0";
8660             signal: "elm,state,select,on";
8661             source: "elm";
8662             action: STATE_SET "visible" 0.0;
8663             target: "sel";
8664          }
8665          program { name: "selmode1";
8666             signal: "elm,state,select,off";
8667             source: "elm";
8668             action: STATE_SET "default" 0.0;
8669             target: "sel";
8670          }
8671  */
8672       }
8673    }
8674
8675    group { name: "elm/entry/base-single/default";
8676       styles
8677       {
8678          style { name: "entry_single_textblock_style";
8679             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8680             tag:  "br" "\n";
8681             tag:  "ps" "ps";
8682             tag:  "tab" "\t";
8683             tag:  "em" "+ font=Sans:style=Oblique";
8684             tag:  "b" "+ font=Sans:style=Bold";
8685             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8686             tag:  "hilight" "+ font=Sans:style=Bold";
8687          }
8688          style { name: "entry_single_textblock_disabled_style";
8689             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8690             tag:  "br" "\n";
8691             tag:  "ps" "ps";
8692             tag:  "tab" "\t";
8693             tag:  "em" "+ font=Sans:style=Oblique";
8694             tag:  "b" "+ font=Sans:style=Bold";
8695             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8696             tag:  "hilight" "+ font=Sans:style=Bold";
8697          }
8698       }
8699       parts {
8700          part { name: "elm.text";
8701             type: TEXTBLOCK;
8702             mouse_events: 1;
8703             scale: 1;
8704             entry_mode: EDITABLE;
8705             select_mode: EXPLICIT;
8706             multiline: 0;
8707             source: "elm/entry/selection/default"; // selection under
8708             source4: "elm/entry/cursor/default"; // cursorover
8709             source5: "elm/entry/anchor/default"; // anchor under
8710             description { state: "default" 0.0;
8711                text {
8712                   style: "entry_single_textblock_style";
8713                   min: 1 1;
8714                   max: 0 0;
8715                   align: 0.0 0.5;
8716                }
8717             }
8718             description { state: "disabled" 0.0;
8719                inherit: "default" 0.0;
8720                text {
8721                   style: "entry_single_textblock_disabled_style";
8722                }
8723             }
8724          }
8725       }
8726       programs {
8727          program { name: "focus";
8728             signal: "load";
8729             source: "";
8730             action: FOCUS_SET;
8731             target: "elm.text";
8732          }
8733          program { name: "disable";
8734             signal: "elm,state,disabled";
8735             source: "elm";
8736             action: STATE_SET "disabled" 0.0;
8737             target: "elm.text";
8738          }
8739          program { name: "enable";
8740             signal: "elm,state,enabled";
8741             source: "elm";
8742             action: STATE_SET "default" 0.0;
8743             target: "elm.text";
8744          }
8745       }
8746    }
8747
8748    group { name: "elm/entry/base-single-noedit/default";
8749       parts {
8750          part { name: "elm.text";
8751             type: TEXTBLOCK;
8752             mouse_events: 1;
8753             scale: 1;
8754             entry_mode: PLAIN;
8755             select_mode: EXPLICIT;
8756             multiline: 0;
8757             source: "elm/entry/selection/default"; // selection under
8758             source5: "elm/entry/anchor/default"; // anchor under
8759             description { state: "default" 0.0;
8760                text {
8761                   style: "entry_single_textblock_style";
8762                   min: 1 1;
8763                   max: 0 0;
8764                   align: 0.0 0.5;
8765                }
8766             }
8767             description { state: "disabled" 0.0;
8768                inherit: "default" 0.0;
8769                text {
8770                style: "entry_single_textblock_disabled_style";
8771                }
8772             }
8773          }
8774       }
8775       programs {
8776          program { name: "focus";
8777             signal: "load";
8778             source: "";
8779             action: FOCUS_SET;
8780             target: "elm.text";
8781          }
8782          program { name: "disable";
8783             signal: "elm,state,disabled";
8784             source: "elm";
8785             action: STATE_SET "disabled" 0.0;
8786             target: "elm.text";
8787          }
8788          program { name: "enable";
8789             signal: "elm,state,enabled";
8790             source: "elm";
8791             action: STATE_SET "default" 0.0;
8792             target: "elm.text";
8793          }
8794       }
8795    }
8796
8797    group { name: "elm/entry/base-noedit/default";
8798       parts {
8799          part { name: "elm.text";
8800             type: TEXTBLOCK;
8801             mouse_events: 1;
8802             scale: 1;
8803             entry_mode: PLAIN;
8804             select_mode: EXPLICIT;
8805             multiline: 1;
8806             source: "elm/entry/selection/default"; // selection under
8807             source5: "elm/entry/anchor/default"; // anchor under
8808             description { state: "default" 0.0;
8809                fixed: 1 0;
8810                text {
8811                   style: "entry_textblock_style";
8812                   min: 0 1;
8813                   align: 0.0 0.0;
8814                }
8815             }
8816             description { state: "disabled" 0.0;
8817                inherit: "default" 0.0;
8818                text {
8819                   style: "entry_textblock_disabled_style";
8820                }
8821             }
8822          }
8823       }
8824       programs {
8825          program { name: "focus";
8826             signal: "load";
8827             source: "";
8828             action: FOCUS_SET;
8829             target: "elm.text";
8830          }
8831          program { name: "disable";
8832             signal: "elm,state,disabled";
8833             source: "elm";
8834             action: STATE_SET "disabled" 0.0;
8835             target: "elm.text";
8836          }
8837          program { name: "enable";
8838             signal: "elm,state,enabled";
8839             source: "elm";
8840             action: STATE_SET "default" 0.0;
8841             target: "elm.text";
8842          }
8843       }
8844    }
8845
8846    group { name: "elm/entry/base-noedit-mixedwrap/default";
8847       parts {
8848          part { name: "elm.text";
8849             type: TEXTBLOCK;
8850             mouse_events: 1;
8851             scale: 1;
8852             entry_mode: PLAIN;
8853             select_mode: EXPLICIT;
8854             multiline: 1;
8855             source: "elm/entry/selection/default"; // selection under
8856             source5: "elm/entry/anchor/default"; // anchor under
8857             description { state: "default" 0.0;
8858                fixed: 1 0;
8859                text {
8860                   style: "entry_textblock_style_mixedwrap";
8861                   min: 0 1;
8862                   align: 0.0 0.0;
8863                }
8864             }
8865             description { state: "disabled" 0.0;
8866                inherit: "default" 0.0;
8867                text {
8868                   style: "entry_textblock_disabled_style_mixedwrap";
8869                }
8870             }
8871          }
8872       }
8873       programs {
8874          program { name: "focus";
8875             signal: "load";
8876             source: "";
8877             action: FOCUS_SET;
8878             target: "elm.text";
8879          }
8880          program { name: "disable";
8881             signal: "elm,state,disabled";
8882             source: "elm";
8883             action: STATE_SET "disabled" 0.0;
8884             target: "elm.text";
8885          }
8886          program { name: "enable";
8887             signal: "elm,state,enabled";
8888             source: "elm";
8889             action: STATE_SET "default" 0.0;
8890             target: "elm.text";
8891          }
8892       }
8893    }
8894
8895    group { name: "elm/entry/base-noedit-charwrap/default";
8896       parts {
8897          part { name: "elm.text";
8898             type: TEXTBLOCK;
8899             mouse_events: 1;
8900             scale: 1;
8901             entry_mode: PLAIN;
8902             select_mode: EXPLICIT;
8903             multiline: 1;
8904             source: "elm/entry/selection/default"; // selection under
8905             source5: "elm/entry/anchor/default"; // anchor under
8906             description { state: "default" 0.0;
8907                fixed: 1 0;
8908                text {
8909                   style: "entry_textblock_style_charwrap";
8910                   min: 0 1;
8911                   align: 0.0 0.0;
8912                }
8913             }
8914             description { state: "disabled" 0.0;
8915                inherit: "default" 0.0;
8916                text {
8917                   style: "entry_textblock_disabled_style_charwrap";
8918                }
8919             }
8920          }
8921       }
8922       programs {
8923          program { name: "focus";
8924             signal: "load";
8925             source: "";
8926             action: FOCUS_SET;
8927             target: "elm.text";
8928          }
8929          program { name: "disable";
8930             signal: "elm,state,disabled";
8931             source: "elm";
8932             action: STATE_SET "disabled" 0.0;
8933             target: "elm.text";
8934          }
8935          program { name: "enable";
8936             signal: "elm,state,enabled";
8937             source: "elm";
8938             action: STATE_SET "default" 0.0;
8939             target: "elm.text";
8940          }
8941       }
8942    }
8943
8944    group { name: "elm/entry/base-nowrap-noedit/default";
8945       parts {
8946          part { name: "elm.text";
8947             type: TEXTBLOCK;
8948             mouse_events: 1;
8949             scale: 1;
8950             entry_mode: PLAIN;
8951             select_mode: EXPLICIT;
8952             multiline: 1;
8953             source: "elm/entry/selection/default"; // selection under
8954             source5: "elm/entry/anchor/default"; // anchor under
8955             description { state: "default" 0.0;
8956                text {
8957                   style: "entry_textblock_style";
8958                   min: 1 1;
8959                   align: 0.0 0.0;
8960                }
8961             }
8962             description { state: "disabled" 0.0;
8963                inherit: "default" 0.0;
8964                text {
8965                   style: "entry_textblock_disabled_style";
8966                }
8967             }
8968          }
8969       }
8970       programs {
8971          program { name: "focus";
8972             signal: "load";
8973             source: "";
8974             action: FOCUS_SET;
8975             target: "elm.text";
8976          }
8977          program { name: "disable";
8978             signal: "elm,state,disabled";
8979             source: "elm";
8980             action: STATE_SET "disabled" 0.0;
8981             target: "elm.text";
8982          }
8983          program { name: "enable";
8984             signal: "elm,state,enabled";
8985             source: "elm";
8986             action: STATE_SET "default" 0.0;
8987             target: "elm.text";
8988          }
8989       }
8990    }
8991
8992    group { name: "elm/entry/base-password/default";
8993       parts {
8994          part { name: "elm.text";
8995             type: TEXTBLOCK;
8996             mouse_events: 1;
8997             scale: 1;
8998             entry_mode: PASSWORD;
8999             select_mode: EXPLICIT;
9000             multiline: 0;
9001             source: "elm/entry/selection/default"; // selection under
9002             source4: "elm/entry/cursor/default"; // cursorover
9003             source5: "elm/entry/anchor/default"; // anchor under
9004             description { state: "default" 0.0;
9005                text {
9006                   style: "entry_single_textblock_style";
9007                   repch: "*";
9008                   min: 1 1;
9009                   max: 0 0;
9010                   align: 0.0 0.5;
9011                }
9012             }
9013             description { state: "disabled" 0.0;
9014                inherit: "default" 0.0;
9015                text {
9016                   style: "entry_single_textblock_disabled_style";
9017                }
9018             }
9019          }
9020       }
9021       programs {
9022          program { name: "focus";
9023             signal: "load";
9024             source: "";
9025             action: FOCUS_SET;
9026             target: "elm.text";
9027          }
9028          program { name: "disable";
9029             signal: "elm,state,disabled";
9030             source: "elm";
9031             action: STATE_SET "disabled" 0.0;
9032             target: "elm.text";
9033          }
9034          program { name: "enable";
9035             signal: "elm,state,enabled";
9036             source: "elm";
9037             action: STATE_SET "default" 0.0;
9038             target: "elm.text";
9039          }
9040       }
9041    }
9042
9043    group { name: "elm/entry/cursor/default";
9044       images {
9045          image: "cur_box.png" COMP;
9046          image: "cur_hi.png" COMP;
9047          image: "cur_shad.png" COMP;
9048          image: "cur_shine.png" COMP;
9049          image: "cur_glow.png" COMP;
9050       }
9051       parts {
9052          part { name: "clip2";
9053             type: RECT;
9054             mouse_events: 0;
9055             description { state: "default" 0.0;
9056                rel1.to: "clip";
9057                rel2.to: "clip";
9058                visible: 0;
9059             }
9060             description { state: "focused" 0.0;
9061                inherit: "default" 0.0;
9062                visible: 1;
9063             }
9064          }
9065          part { name: "clip";
9066             type: RECT;
9067             mouse_events: 0;
9068             clip_to: "clip2";
9069             description { state: "default" 0.0;
9070                rel1.offset: -10 0;
9071                rel2.offset: 9 9;
9072             }
9073             description { state: "hidden" 0.0;
9074                inherit: "default" 0.0;
9075                visible: 0;
9076             }
9077          }
9078          part { name: "bg";
9079             mouse_events: 0;
9080             clip_to: "clip";
9081             description { state: "default" 0.0;
9082                rel1.to: "base";
9083                rel1.offset: -2 0;
9084                rel2.to: "base";
9085                rel2.offset: 1 1;
9086                image.border: 2 2 2 2;
9087                image.normal: "cur_shad.png";
9088             }
9089          }
9090          part { name: "base";
9091             mouse_events: 0;
9092             scale: 1;
9093             clip_to: "clip";
9094             description { state: "default" 0.0;
9095                min: 2 2;
9096                align: 0.5 1.0;
9097                rel1.relative: 0.0 1.0;
9098                rel1.offset: 0 -1;
9099                rel2.relative: 1.0 1.0;
9100                rel2.offset: -1 -1;
9101                image.normal: "cur_box.png";
9102             }
9103          }
9104          part { name: "hi";
9105             mouse_events: 0;
9106             clip_to: "clip";
9107             description { state: "default" 0.0;
9108                rel1.to: "base";
9109                rel2.to: "base";
9110                rel2.relative: 1.0 0.5;
9111                image.normal: "cur_hi.png";
9112             }
9113          }
9114          part { name: "shine";
9115             mouse_events: 0;
9116             clip_to: "clip";
9117             clip_to: "clip2";
9118             description { state: "default" 0.0;
9119                rel1.to: "base";
9120                rel2.to: "base";
9121                rel2.relative: 1.0 0.75;
9122                image.border: 2 2 1 0;
9123                image.normal: "cur_shine.png";
9124                fill.smooth: 0;
9125             }
9126          }
9127          part { name: "glow";
9128             mouse_events: 0;
9129             clip_to: "clip2";
9130             description { state: "default" 0.0;
9131                rel1.to: "base";
9132                rel1.relative: 0.0 -2.0;
9133                rel1.offset: -2 0;
9134                rel2.to: "base";
9135                rel2.relative: 1.0 0.0;
9136                rel2.offset: 1 1;
9137                image.border: 2 2 0 4;
9138                image.normal: "cur_glow.png";
9139                fill.smooth: 0;
9140             }
9141             description { state: "hidden" 0.0;
9142                inherit: "default" 0.0;
9143                color: 255 255 255 0;
9144             }
9145          }
9146       }
9147       programs {
9148          program { name: "show";
9149             signal: "show";
9150             source: "";
9151             action: STATE_SET "hidden" 0.0;
9152             in: 1.0 0.0;
9153             transition: DECELERATE 2.0;
9154             target: "glow";
9155             after: "show2";
9156          }
9157          program { name: "show2";
9158             action: STATE_SET "hidden" 0.0;
9159             in: 0.2 0.0;
9160             target: "clip";
9161             after: "show3";
9162          }
9163          program { name: "show3";
9164             action: STATE_SET "default" 0.0;
9165             in: 0.5 0.0;
9166             target: "clip";
9167             after: "show4";
9168          }
9169          program { name: "show4";
9170             action: STATE_SET "default" 0.0;
9171             in: 0.5 0.0;
9172             transition: DECELERATE 0.5;
9173             target: "glow";
9174             after: "show";
9175          }
9176          program { name: "focused";
9177             signal: "elm,action,focus";
9178             source: "elm";
9179             action: STATE_SET "focused" 0.0;
9180             target: "clip2";
9181          }
9182          program { name: "unfocused";
9183             signal: "elm,action,unfocus";
9184             source: "elm";
9185             action: STATE_SET "default" 0.0;
9186             target: "clip2";
9187          }
9188       }
9189    }
9190
9191    group { name: "elm/entry/selection/default";
9192       parts {
9193          part { name: "bg";
9194             type: RECT;
9195             mouse_events: 0;
9196             description { state: "default" 0.0;
9197                color: 128 128 128 128;
9198             }
9199          }
9200       }
9201    }
9202
9203    group { name: "elm/entry/anchor/default";
9204       parts {
9205          part { name: "bg";
9206             type: RECT;
9207             mouse_events: 0;
9208             description { state: "default" 0.0;
9209                color: 128 0 0 64;
9210             }
9211          }
9212       }
9213    }
9214
9215 ///////////////////////////////////////////////////////////////////////////////
9216   group { name: "elm/bubble/top_left/default";
9217     alias: "elm/bubble/base/default";
9218     images {
9219       image: "bubble_3.png" COMP;
9220       image: "bubble_4.png" COMP;
9221       image: "bubble_shine3.png" COMP;
9222       image: "bubble_shine4.png" COMP;
9223     }
9224     parts {
9225       part { name: "event";
9226          type: RECT;
9227          description {
9228             state: "default" 0.0;
9229             color: 0 0 0 0;
9230          }
9231       }
9232       part { name: "elm.swallow.icon";
9233         type: SWALLOW;
9234         description { state: "default" 0.0;
9235           fixed: 1 1;
9236           visible: 0;
9237           align: 0.0 0.0;
9238           aspect: 1.0 1.0;
9239           aspect_preference: VERTICAL;
9240           rel1 {
9241             relative: 0.0 0.0;
9242             offset: 4 4;
9243           }
9244           rel2 {
9245             to_y: "elm.text";
9246             relative: 0.0 1.0;
9247             offset: 4 -1;
9248           }
9249         }
9250         description { state: "visible" 0.0;
9251           inherit: "default" 0.0;
9252           visible: 1;
9253         }
9254       }
9255       part { name: "elm.text";
9256         type: TEXT;
9257         mouse_events:   0;
9258         scale: 1;
9259         description { state: "default" 0.0;
9260           align: 0.0 0.0;
9261           fixed: 0 1;
9262           rel1 {
9263             to_x: "elm.swallow.icon";
9264             relative: 1.0 0.0;
9265             offset: 4 4;
9266           }
9267           rel2 {
9268             to_x: "elm.info";
9269             relative: 0.0 0.0;
9270             offset: -5 4;
9271           }
9272           color: 0 0 0 255;
9273           text {
9274             font: "Sans:style=Bold,Edje-Vera-Bold";
9275             size: 10;
9276             min: 0 1;
9277             max: 0 1;
9278             align: 0.0 0.0;
9279           }
9280         }
9281       }
9282       part { name: "elm.info";
9283         type: TEXT;
9284         mouse_events:   0;
9285         scale: 1;
9286         description { state: "default" 0.0;
9287           align: 1.0 0.0;
9288           fixed: 1 1;
9289           rel1 {
9290             relative: 1.0 0.0;
9291             offset: -5 4;
9292           }
9293           rel2 {
9294             relative: 1.0 0.0;
9295             offset: -5 4;
9296           }
9297           color: 0 0 0 64;
9298           text {
9299             font: "Sans:style=Bold,Edje-Vera-Bold";
9300             size: 10;
9301             min: 1 1;
9302             max: 1 1;
9303             align: 1.0 0.0;
9304           }
9305         }
9306       }
9307       part { name: "base0";
9308         mouse_events:  0;
9309         description { state: "default" 0.0;
9310           rel1 {
9311             to_y: "elm.swallow.icon";
9312             relative: 0.0 1.0;
9313             offset: 0 0;
9314           }
9315           image {
9316             normal: "bubble_3.png";
9317             border: 36 11 18 9;
9318           }
9319           image.middle: SOLID;
9320           fill.smooth: 0;
9321         }
9322         description { state: "rtl" 0.0;
9323            inherit: "default" 0.0;
9324            image {
9325               normal: "bubble_4.png";
9326               border: 11 36 18 9;
9327            }
9328         }
9329       }
9330       part { name: "elm.swallow.content";
9331         type: SWALLOW;
9332         description { state: "default" 0.0;
9333           rel1 {
9334             to: "base0";
9335             offset: 9 16;
9336           }
9337           rel2 {
9338             to: "base0";
9339             offset: -10 -9;
9340           }
9341         }
9342       }
9343       part { name: "shine";
9344         mouse_events:  0;
9345         description { state:    "default" 0.0;
9346           rel1 {
9347             to: "base0";
9348             offset: 5 4;
9349           }
9350           rel2 {
9351             to: "base0";
9352             relative: 1.0 0.5;
9353             offset: -6 7;
9354           }
9355           image {
9356             normal: "bubble_shine3.png";
9357             border: 36 5 14 0;
9358           }
9359           fill.smooth: 0;
9360         }
9361         description { state: "rtl" 0.0;
9362            inherit: "default" 0.0;
9363            image {
9364               normal: "bubble_shine4.png";
9365               border: 5 36 14 0;
9366            }
9367         }
9368       }
9369     }
9370     programs {
9371       program {
9372         name: "icon_show";
9373         signal: "elm,state,icon,visible";
9374         source: "elm";
9375         action: STATE_SET "visible" 0.0;
9376         target: "elm.swallow.icon";
9377       }
9378       program {
9379         name: "icon_hide";
9380         signal: "elm,state,icon,hidden";
9381         source: "elm";
9382         action: STATE_SET "default" 0.0;
9383         target: "elm.swallow.icon";
9384       }
9385       program { name: "to_rtl";
9386          signal: "edje,state,rtl";
9387          source: "edje";
9388          action: STATE_SET "rtl" 0.0;
9389          target: "base0";
9390          target: "shine";
9391       }
9392       program { name: "to_ltr";
9393          signal: "edje,state,ltr";
9394          source: "edje";
9395          action: STATE_SET "default" 0.0;
9396          target: "base0";
9397          target: "shine";
9398       }
9399     }
9400   }
9401
9402   group { name: "elm/bubble/top_right/default";
9403     images {
9404       image: "bubble_3.png" COMP;
9405       image: "bubble_4.png" COMP;
9406       image: "bubble_shine3.png" COMP;
9407       image: "bubble_shine4.png" COMP;
9408     }
9409     parts {
9410       part { name: "event";
9411          type: RECT;
9412          description {
9413             state: "default" 0.0;
9414             color: 0 0 0 0;
9415          }
9416       }
9417       part { name: "elm.swallow.icon";
9418         type: SWALLOW;
9419         description { state: "default" 0.0;
9420           fixed: 1 1;
9421           visible: 0;
9422           align: 1.0 0.0;
9423           aspect: 1.0 1.0;
9424           aspect_preference: VERTICAL;
9425           rel1 {
9426             relative: 1.0 0.0;
9427             offset: -5 4;
9428           }
9429           rel2 {
9430             to_y: "elm.text";
9431             relative: 1.0 1.0;
9432             offset: -5 -1;
9433           }
9434         }
9435         description { state: "visible" 0.0;
9436           inherit: "default" 0.0;
9437           visible: 1;
9438         }
9439       }
9440       part { name: "elm.text";
9441         type: TEXT;
9442         mouse_events:   0;
9443         scale: 1;
9444         description { state: "default" 0.0;
9445           align: 0.0 0.0;
9446           fixed: 0 1;
9447           rel1 {
9448             relative: 0.0 0.0;
9449             offset: 4 4;
9450           }
9451           rel2 {
9452             to_x: "elm.info";
9453             relative: 0.0 0.0;
9454             offset: -5 4;
9455           }
9456           color: 0 0 0 255;
9457           text {
9458             font: "Sans:style=Bold,Edje-Vera-Bold";
9459             size: 10;
9460             min: 0 1;
9461             max: 0 1;
9462             align: 0.0 0.0;
9463           }
9464         }
9465       }
9466       part { name: "elm.info";
9467         type: TEXT;
9468         mouse_events:   0;
9469         scale: 1;
9470         description { state: "default" 0.0;
9471           align: 1.0 0.0;
9472           fixed: 1 1;
9473           rel1 {
9474             relative: 1.0 0.0;
9475             offset: -5 4;
9476           }
9477           rel2 {
9478             to_x: "elm.swallow.icon";
9479             relative: 0.0 0.0;
9480             offset: -5 4;
9481           }
9482           color: 0 0 0 64;
9483           text {
9484             font: "Sans:style=Bold,Edje-Vera-Bold";
9485             size: 10;
9486             min: 1 1;
9487             max: 1 1;
9488             align: 1.0 0.0;
9489           }
9490         }
9491       }
9492       part { name: "base0";
9493         mouse_events:  0;
9494         description { state: "default" 0.0;
9495           rel1 {
9496             to_y: "elm.swallow.icon";
9497             relative: 0.0 1.0;
9498             offset: 0 0;
9499           }
9500           image {
9501             normal: "bubble_4.png";
9502             border: 11 36 18 9;
9503           }
9504           image.middle: SOLID;
9505           fill.smooth: 0;
9506         }
9507         description { state: "rtl" 0.0;
9508            inherit: "default" 0.0;
9509            image {
9510               normal: "bubble_3.png";
9511               border: 36 11 18 9;
9512            }
9513         }
9514       }
9515       part { name: "elm.swallow.content";
9516         type: SWALLOW;
9517         description { state: "default" 0.0;
9518           rel1 {
9519             to: "base0";
9520             offset: 9 16;
9521           }
9522           rel2 {
9523             to: "base0";
9524             offset: -10 -9;
9525           }
9526         }
9527       }
9528       part { name: "shine";
9529         mouse_events:  0;
9530         description { state:    "default" 0.0;
9531           rel1 {
9532             to: "base0";
9533             offset: 5 4;
9534           }
9535           rel2 {
9536             to: "base0";
9537             relative: 1.0 0.5;
9538             offset: -6 7;
9539           }
9540           image {
9541             normal: "bubble_shine4.png";
9542             border: 5 36 14 0;
9543           }
9544           fill.smooth: 0;
9545         }
9546         description { state: "rtl" 0.0;
9547            inherit: "default" 0.0;
9548            image {
9549               normal: "bubble_shine3.png";
9550               border: 36 5 14 0;
9551            }
9552         }
9553       }
9554     }
9555     programs {
9556       program {
9557         name: "icon_show";
9558         signal: "elm,state,icon,visible";
9559         source: "elm";
9560         action: STATE_SET "visible" 0.0;
9561         target: "elm.swallow.icon";
9562       }
9563       program {
9564         name: "icon_hide";
9565         signal: "elm,state,icon,hidden";
9566         source: "elm";
9567         action: STATE_SET "default" 0.0;
9568         target: "elm.swallow.icon";
9569       }
9570       program { name: "to_rtl";
9571          signal: "edje,state,rtl";
9572          source: "edje";
9573          action: STATE_SET "rtl" 0.0;
9574          target: "base0";
9575          target: "shine";
9576       }
9577       program { name: "to_ltr";
9578          signal: "edje,state,ltr";
9579          source: "edje";
9580          action: STATE_SET "default" 0.0;
9581          target: "base0";
9582          target: "shine";
9583       }
9584     }
9585   }
9586
9587   group { name: "elm/bubble/bottom_left/default";
9588     images {
9589       image: "bubble_1.png" COMP;
9590       image: "bubble_2.png" COMP;
9591       image: "bubble_shine.png" COMP;
9592     }
9593     parts {
9594       part { name: "event";
9595          type: RECT;
9596          description {
9597             state: "default" 0.0;
9598             color: 0 0 0 0;
9599          }
9600       }
9601       part { name: "elm.swallow.icon";
9602         type: SWALLOW;
9603         description { state: "default" 0.0;
9604           fixed: 1 1;
9605           visible: 0;
9606           align: 0.0 1.0;
9607           aspect: 1.0 1.0;
9608           aspect_preference: VERTICAL;
9609           rel1 {
9610             to_y: "elm.text";
9611             relative: 0.0 0.0;
9612             offset: 4 0;
9613           }
9614           rel2 {
9615             relative: 0.0 1.0;
9616             offset: 4 -5;
9617           }
9618         }
9619         description { state: "visible" 0.0;
9620           inherit: "default" 0.0;
9621           visible: 1;
9622         }
9623       }
9624       part { name: "elm.text";
9625         type: TEXT;
9626         mouse_events:   0;
9627         scale: 1;
9628         description { state: "default" 0.0;
9629           align: 0.0 1.0;
9630           fixed: 0 1;
9631           rel1 {
9632             to_x: "elm.swallow.icon";
9633             relative: 1.0 1.0;
9634             offset: 4 -5;
9635           }
9636           rel2 {
9637             to_x: "elm.info";
9638             relative: 0.0 1.0;
9639             offset: -5 -5;
9640           }
9641           color: 0 0 0 255;
9642           text {
9643             font: "Sans:style=Bold,Edje-Vera-Bold";
9644             size: 10;
9645             min: 0 1;
9646             max: 0 1;
9647             align: 0.0 1.0;
9648           }
9649         }
9650       }
9651       part { name: "elm.info";
9652         type: TEXT;
9653         mouse_events:   0;
9654         scale: 1;
9655         description { state: "default" 0.0;
9656           align: 1.0 1.0;
9657           fixed: 1 1;
9658           rel1 {
9659             relative: 1.0 1.0;
9660             offset: -5 -5;
9661           }
9662           rel2 {
9663             relative: 1.0 1.0;
9664             offset: -5 -5;
9665           }
9666           color: 0 0 0 64;
9667           text {
9668             font: "Sans:style=Bold,Edje-Vera-Bold";
9669             size: 10;
9670             min: 1 1;
9671             max: 1 1;
9672             align: 1.0 1.0;
9673           }
9674         }
9675       }
9676       part { name: "base0";
9677         mouse_events:  0;
9678         description { state: "default" 0.0;
9679           rel2 {
9680             to_y: "elm.swallow.icon";
9681             relative: 1.0 0.0;
9682             offset: -1 -1;
9683           }
9684           image {
9685             normal: "bubble_1.png";
9686             border: 36 11 10 19;
9687           }
9688           image.middle: SOLID;
9689           fill.smooth: 0;
9690         }
9691         description { state: "rtl" 0.0;
9692            inherit: "default" 0.0;
9693            image {
9694               normal: "bubble_2.png";
9695               border: 11 36 10 19;
9696            }
9697         }
9698       }
9699       part { name: "elm.swallow.content";
9700         type: SWALLOW;
9701         description { state: "default" 0.0;
9702           rel1 {
9703             to: "base0";
9704             offset: 9 8;
9705           }
9706           rel2 {
9707             to: "base0";
9708             offset: -10 -17;
9709           }
9710         }
9711       }
9712       part { name: "shine";
9713         mouse_events:  0;
9714         description { state:    "default" 0.0;
9715           rel1 {
9716             to: "base0";
9717             offset: 5 4;
9718           }
9719           rel2 {
9720             to: "base0";
9721             relative: 1.0 0.5;
9722             offset: -6 -16;
9723           }
9724           image {
9725             normal: "bubble_shine.png";
9726             border: 5 5 5 0;
9727           }
9728           fill.smooth: 0;
9729         }
9730         description { state: "rtl" 0.0;
9731            inherit: "default" 0.0;
9732            image {
9733               normal: "bubble_shine4.png";
9734               border: 5 36 14 0;
9735            }
9736         }
9737       }
9738     }
9739     programs {
9740       program {
9741         name: "icon_show";
9742         signal: "elm,state,icon,visible";
9743         source: "elm";
9744         action: STATE_SET "visible" 0.0;
9745         target: "elm.swallow.icon";
9746       }
9747       program {
9748         name: "icon_hide";
9749         signal: "elm,state,icon,hidden";
9750         source: "elm";
9751         action: STATE_SET "default" 0.0;
9752         target: "elm.swallow.icon";
9753       }
9754       program { name: "to_rtl";
9755          signal: "edje,state,rtl";
9756          source: "edje";
9757          action: STATE_SET "rtl" 0.0;
9758          target: "base0";
9759       }
9760       program { name: "to_ltr";
9761          signal: "edje,state,ltr";
9762          source: "edje";
9763          action: STATE_SET "default" 0.0;
9764          target: "base0";
9765       }
9766     }
9767   }
9768
9769   group { name: "elm/bubble/bottom_right/default";
9770     images {
9771       image: "bubble_1.png" COMP;
9772       image: "bubble_2.png" COMP;
9773       image: "bubble_shine.png" COMP;
9774     }
9775     parts {
9776       part { name: "event";
9777          type: RECT;
9778          description {
9779             state: "default" 0.0;
9780             color: 0 0 0 0;
9781          }
9782       }
9783       part { name: "elm.swallow.icon";
9784         type: SWALLOW;
9785         description { state: "default" 0.0;
9786           fixed: 1 1;
9787           visible: 0.0;
9788           align: 1.0 1.0;
9789           aspect: 1.0 1.0;
9790           aspect_preference: VERTICAL;
9791           rel1 {
9792             to_y: "elm.text";
9793             relative: 1.0 0.0;
9794             offset: -5 0;
9795           }
9796           rel2 {
9797             relative: 1.0 1.0;
9798             offset: -5 -5;
9799           }
9800         }
9801         description { state: "visible" 0.0;
9802           inherit: "default" 0.0;
9803           visible: 1;
9804         }
9805       }
9806       part { name: "elm.text";
9807         type: TEXT;
9808         mouse_events:   0;
9809         scale: 1;
9810         description { state: "default" 0.0;
9811           align: 0.0 1.0;
9812           fixed: 0 1;
9813           rel1 {
9814             relative: 0.0 1.0;
9815             offset: 4 -5;
9816           }
9817           rel2 {
9818             to_x: "elm.info";
9819             relative: 0.0 1.0;
9820             offset: -5 -5;
9821           }
9822           color: 0 0 0 255;
9823           text {
9824             font: "Sans:style=Bold,Edje-Vera-Bold";
9825             size: 10;
9826             min: 0 1;
9827             max: 0 1;
9828             align: 0.0 1.0;
9829           }
9830         }
9831       }
9832       part { name: "elm.info";
9833         type: TEXT;
9834         mouse_events:   0;
9835         scale: 1;
9836         description { state: "default" 0.0;
9837           align: 1.0 1.0;
9838           fixed: 1 1;
9839           rel1 {
9840             relative: 1.0 1.0;
9841             offset: -5 -5;
9842           }
9843           rel2 {
9844             to_x: "elm.swallow.icon";
9845             relative: 0.0 1.0;
9846             offset: -5 -5;
9847           }
9848           color: 0 0 0 64;
9849           text {
9850             font: "Sans:style=Bold,Edje-Vera-Bold";
9851             size: 10;
9852             min: 1 1;
9853             max: 1 1;
9854             align: 1.0 1.0;
9855           }
9856         }
9857       }
9858       part { name: "base0";
9859         mouse_events:  0;
9860         description { state: "default" 0.0;
9861           rel2 {
9862             to_y: "elm.swallow.icon";
9863             relative: 1.0 0.0;
9864             offset: -1 -1;
9865           }
9866           image {
9867             normal: "bubble_2.png";
9868             border: 11 36 10 19;
9869           }
9870           image.middle: SOLID;
9871           fill.smooth: 0;
9872         }
9873         description { state: "rtl" 0.0;
9874            inherit: "default" 0.0;
9875            image {
9876               normal: "bubble_1.png";
9877               border: 36 11 10 19;
9878            }
9879         }
9880       }
9881       part { name: "elm.swallow.content";
9882         type: SWALLOW;
9883         description { state: "default" 0.0;
9884           rel1 {
9885             to: "base0";
9886             offset: 9 8;
9887           }
9888           rel2 {
9889             to: "base0";
9890             offset: -10 -17;
9891           }
9892         }
9893       }
9894       part { name: "shine";
9895         mouse_events:  0;
9896         description { state:    "default" 0.0;
9897           rel1 {
9898             to: "base0";
9899             offset: 5 4;
9900           }
9901           rel2 {
9902             to: "base0";
9903             relative: 1.0 0.5;
9904             offset: -6 -16;
9905           }
9906           image {
9907             normal: "bubble_shine.png";
9908             border: 5 5 5 0;
9909           }
9910           fill.smooth: 0;
9911         }
9912         description { state: "rtl" 0.0;
9913            inherit: "default" 0.0;
9914            image {
9915               normal: "bubble_shine3.png";
9916               border: 36 5 14 0;
9917            }
9918         }
9919       }
9920     }
9921     programs {
9922       program {
9923         name: "icon_show";
9924         signal: "elm,state,icon,visible";
9925         source: "elm";
9926         action: STATE_SET "visible" 0.0;
9927         target: "elm.swallow.icon";
9928       }
9929       program {
9930         name: "icon_hide";
9931         signal: "elm,state,icon,hidden";
9932         source: "elm";
9933         action: STATE_SET "default" 0.0;
9934         target: "elm.swallow.icon";
9935       }
9936       program { name: "to_rtl";
9937          signal: "edje,state,rtl";
9938          source: "edje";
9939          action: STATE_SET "rtl" 0.0;
9940          target: "base0";
9941       }
9942       program { name: "to_ltr";
9943          signal: "edje,state,ltr";
9944          source: "edje";
9945          action: STATE_SET "default" 0.0;
9946          target: "base0";
9947       }
9948     }
9949   }
9950
9951 ///////////////////////////////////////////////////////////////////////////////
9952    group { name: "elm/photo/base/default";
9953       images {
9954          image: "frame_1.png" COMP;
9955          image: "frame_2.png" COMP;
9956          image: "dia_grad.png" COMP;
9957          image: "head.png" COMP;
9958       }
9959       parts {
9960          part { name: "base0";
9961             mouse_events:  0;
9962             description { state: "default" 0.0;
9963                image.normal: "dia_grad.png";
9964                rel1.to: "over";
9965                rel2.to: "over";
9966                fill {
9967                   smooth: 0;
9968                   size {
9969                      relative: 0.0 1.0;
9970                      offset: 64 0;
9971                   }
9972                }
9973             }
9974          }
9975          part { name: "base";
9976             mouse_events:  0;
9977             description { state:    "default" 0.0;
9978                image {
9979                   normal: "frame_2.png";
9980                   border: 5 5 32 26;
9981                   middle: 0;
9982                }
9983                fill.smooth : 0;
9984             }
9985          }
9986          part { name: "head";
9987             mouse_events:  0;
9988             description { state:    "default" 0.0;
9989                rel1.offset: 4 4;
9990                rel2.offset: -5 -5;
9991                aspect: 1.0 1.0;
9992                aspect_preference: BOTH;
9993                image.normal: "head.png";
9994             }
9995          }
9996          part { name: "clip";
9997             mouse_events:  0;
9998             type: RECT;
9999             description { state:    "default" 0.0;
10000                rel1.offset: 4 4;
10001                rel2.offset: -5 -5;
10002                color: 255 255 255 255;
10003             }
10004          }
10005          part { name: "elm.swallow.content";
10006             type: SWALLOW;
10007             clip_to: "clip";
10008             description { state: "default" 0.0;
10009                rel1.offset: 4 4;
10010                rel2.offset: -5 -5;
10011             }
10012          }
10013          part { name: "over";
10014             mouse_events:  0;
10015             description { state:    "default" 0.0;
10016                rel1.offset: 4 4;
10017                rel2.offset: -5 -5;
10018                image {
10019                   normal: "frame_1.png";
10020                   border: 2 2 28 22;
10021                   middle: 0;
10022                }
10023                fill.smooth: 0;
10024             }
10025          }
10026      }
10027    }
10028
10029    group { name: "elm/photo/base/shadow";
10030               images {
10031                         image: "shadow.png" COMP;
10032                         image: "black.png" COMP;
10033               }
10034               script {
10035               public message(Msg_Type:type, id, ...) {
10036                 if( (type==MSG_INT_SET) && (id==0) )
10037                 {
10038                     new w;
10039                     new h;
10040
10041                     custom_state(PART:"size", "default", 0.0);
10042
10043                     w = getarg(2);
10044                     h = getarg(3);
10045                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10046                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10047                     set_state(PART:"size", "custom", 0.0);
10048                 }
10049             }
10050             }
10051               parts {
10052               part { name: "size";
10053                     type: SWALLOW;
10054                     description { state: "default" 0.0;
10055                             rel1.relative: 0.5 0.5;
10056                             rel2.relative: 0.5 0.5;
10057                     }
10058                  }
10059               part {
10060                 name: "shadow";
10061                 type: IMAGE;
10062                 repeat_events: 1;
10063                 description {
10064                     state: "default" 0.0;
10065                     rel1.to: "size";
10066                     rel2.to: "size";
10067                     rel1.relative: -0.06 -0.06;
10068                     rel2.relative: 1.07 1.07;
10069                     image.normal: "shadow.png";
10070                 }
10071             }
10072
10073
10074                  part { name: "elm.swallow.content";
10075                     type: SWALLOW;
10076                     description { state: "default" 0.0;
10077                     rel1.offset: 3 3;
10078                     rel2.offset: -3 -3;
10079                             fixed: 1 1;
10080                     }
10081                  }
10082
10083                  part {
10084                 name: "border";
10085                 type: IMAGE;
10086                 repeat_events: 1;
10087                 description {
10088                     state: "default" 0.0;
10089                     visible: 1;
10090                     color: 0 0 0 255;
10091                     rel1.to: "size";
10092                     rel2.to: "size";
10093                     image.normal: "black.png";
10094                     image.border: 1 1 1 1;
10095                     image.middle: 0;
10096                 }
10097             }
10098                  }
10099    }
10100
10101 ///////////////////////////////////////////////////////////////////////////////
10102    group { name: "elm/thumb/base/default";
10103       images {
10104          image: "frame_1.png" COMP;
10105          image: "frame_2.png" COMP;
10106          image: "dia_grad.png" COMP;
10107          image: "busy-1.png" COMP;
10108          image: "busy-2.png" COMP;
10109          image: "busy-3.png" COMP;
10110          image: "busy-4.png" COMP;
10111          image: "busy-5.png" COMP;
10112          image: "busy-6.png" COMP;
10113          image: "busy-7.png" COMP;
10114          image: "busy-8.png" COMP;
10115          image: "busy-9.png" COMP;
10116       }
10117       parts {
10118          part { name: "base0";
10119             mouse_events:  0;
10120             description { state:        "default" 0.0;
10121                image.normal: "dia_grad.png";
10122                rel1.to: "over";
10123                rel2.to: "over";
10124                fill {
10125                   smooth: 0;
10126                   size {
10127                      relative: 0.0 1.0;
10128                      offset: 64 0;
10129                   }
10130                }
10131             }
10132          }
10133          part { name: "base";
10134             mouse_events:  0;
10135             description { state:        "default" 0.0;
10136                image {
10137                   normal: "frame_2.png";
10138                   border: 5 5 32 26;
10139                   middle: 0;
10140                }
10141                fill.smooth : 0;
10142             }
10143          }
10144          part { name: "clip";
10145             mouse_events:  0;
10146             type: RECT;
10147             description { state:        "default" 0.0;
10148                rel1.offset: 4 4;
10149                rel2.offset: -5 -5;
10150                color: 255 255 255 255;
10151             }
10152          }
10153          part { name: "elm.swallow.content";
10154             type: SWALLOW;
10155             clip_to: "clip";
10156             description { state:        "default" 0.0;
10157                rel1.offset: 4 4;
10158                rel2.offset: -5 -5;
10159             }
10160          }
10161          part { name: "progress";
10162             mouse_events: 0;
10163
10164             clip_to: "clip";
10165             description { state:        "default" 0.0;
10166                min: 32 32;
10167                max: 32 32;
10168                visible: 0;
10169                aspect: 1.0 1.0;
10170                aspect_preference: BOTH;
10171             }
10172             description { state:        "pulse" 0.0;
10173                inherit: "default" 0.0;
10174                visible: 1;
10175                image {
10176                   normal: "busy-9.png";
10177                   tween:  "busy-1.png";
10178                   tween:  "busy-2.png";
10179                   tween:  "busy-3.png";
10180                   tween:  "busy-4.png";
10181                   tween:  "busy-5.png";
10182                   tween:  "busy-6.png";
10183                   tween:  "busy-7.png";
10184                   tween:  "busy-8.png";
10185                   border: 7 7 7 7;
10186                }
10187             }
10188          }
10189          part { name: "over";
10190             mouse_events:  0;
10191             description { state:        "default" 0.0;
10192                rel1.offset: 4 4;
10193                rel2.offset: -5 -5;
10194                image {
10195                   normal: "frame_1.png";
10196                   border: 2 2 28 22;
10197                   middle: 0;
10198                }
10199                fill.smooth: 0;
10200             }
10201          }
10202          programs {
10203             program { name: "start_pulse";
10204                signal: "elm,state,pulse,start";
10205                source: "elm";
10206                action: STATE_SET "pulse" 0.0;
10207                target: "progress";
10208                transition: LINEAR 0.5;
10209                after: "start_pulse";
10210             }
10211             program { name: "stop_pulse";
10212                signal: "elm,state,pulse,stop";
10213                source: "elm";
10214                action: STATE_SET "default" 0.0;
10215                target: "progress";
10216             }
10217          }
10218       }
10219    }
10220
10221    group { name: "elm/thumb/base/noframe";
10222       images {
10223          image: "busy-1.png" COMP;
10224          image: "busy-2.png" COMP;
10225          image: "busy-3.png" COMP;
10226          image: "busy-4.png" COMP;
10227          image: "busy-5.png" COMP;
10228          image: "busy-6.png" COMP;
10229          image: "busy-7.png" COMP;
10230          image: "busy-8.png" COMP;
10231          image: "busy-9.png" COMP;
10232       }
10233       parts {
10234          part { name: "elm.swallow.content";
10235             type: SWALLOW;
10236             description { state: "default" 0.0;
10237                rel1.offset: 4 4;
10238                rel2.offset: -5 -5;
10239             }
10240          }
10241          part { name: "progress";
10242             mouse_events: 0;
10243             description { state:        "default" 0.0;
10244                min: 32 32;
10245                max: 32 32;
10246                visible: 0;
10247                aspect: 1.0 1.0;
10248                aspect_preference: BOTH;
10249             }
10250             description { state:        "pulse" 0.0;
10251                inherit: "default" 0.0;
10252                visible: 1;
10253                image {
10254                   normal: "busy-9.png";
10255                   tween:  "busy-1.png";
10256                   tween:  "busy-2.png";
10257                   tween:  "busy-3.png";
10258                   tween:  "busy-4.png";
10259                   tween:  "busy-5.png";
10260                   tween:  "busy-6.png";
10261                   tween:  "busy-7.png";
10262                   tween:  "busy-8.png";
10263                   border: 7 7 7 7;
10264                }
10265             }
10266          }
10267          programs {
10268             program { name: "start_pulse";
10269                signal: "elm,state,pulse,start";
10270                source: "elm";
10271                action: STATE_SET "pulse" 0.0;
10272                target: "progress";
10273                transition: LINEAR 0.5;
10274                after: "start_pulse";
10275             }
10276             program { name: "stop_pulse";
10277                signal: "elm,state,pulse,stop";
10278                source: "elm";
10279                action: STATE_SET "default" 0.0;
10280                target: "progress";
10281             }
10282          }
10283       }
10284    }
10285
10286
10287 ///////////////////////////////////////////////////////////////////////////////
10288    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10289       images.image: "icon_home.png" COMP; parts { part { name: "base";
10290          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10291             image.normal: "icon_home.png"; } } } }
10292    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10293       images.image: "icon_close.png" COMP; parts { part { name: "base";
10294          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10295             image.normal: "icon_close.png"; } } } }
10296    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10297       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10298          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10299             image.normal: "icon_apps.png"; } } } }
10300    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10301       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10302          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10303             image.normal: "icon_arrow_up.png"; } } } }
10304    group { name: "elm/icon/arrow_down/default";
10305            alias: "elm/icon/toolbar/arrow_down/default";
10306            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10307       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10308          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10309             image.normal: "icon_arrow_down.png"; } } } }
10310    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10311       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10312          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10313             image.normal: "icon_arrow_left.png"; } } } }
10314    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10315       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10316          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10317             image.normal: "icon_arrow_right.png"; } } } }
10318    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10319       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10320          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10321             image.normal: "icon_chat.png"; } } } }
10322    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10323       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10324          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10325             image.normal: "icon_clock.png"; } } } }
10326    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10327       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10328          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10329             image.normal: "icon_delete.png"; } } } }
10330    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10331       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10332          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10333             image.normal: "icon_edit.png"; } } } }
10334    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10335       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10336          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10337             image.normal: "icon_refresh.png"; } } } }
10338    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10339       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10340          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10341             image.normal: "icon_folder.png"; } } } }
10342    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10343       images.image: "icon_file.png" COMP; parts { part { name: "base";
10344          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10345             image.normal: "icon_file.png"; } } } }
10346 ///////////////////////////////////////////////////////////////////////////////
10347    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10348       images.image: "icon_home.png" COMP; parts { part { name: "base";
10349          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10350             image.normal: "icon_home.png"; } } } }
10351    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10352       images.image: "icon_close.png" COMP; parts { part { name: "base";
10353          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10354             image.normal: "icon_close.png"; } } } }
10355    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10356       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10357          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10358             image.normal: "icon_apps.png"; } } } }
10359    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10360       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10361          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10362             image.normal: "icon_arrow_up.png"; } } } }
10363    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10364       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10365          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10366             image.normal: "icon_arrow_down.png"; } } } }
10367    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10368       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10369          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10370             image.normal: "icon_arrow_left.png"; } } } }
10371    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10372       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10373          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10374             image.normal: "icon_arrow_right.png"; } } } }
10375    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10376       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10377          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10378             image.normal: "icon_chat.png"; } } } }
10379    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10380       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10381          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10382             image.normal: "icon_clock.png"; } } } }
10383    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10384       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10385          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10386             image.normal: "icon_delete.png"; } } } }
10387    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10388       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10389          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10390             image.normal: "icon_edit.png"; } } } }
10391    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10392       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10393          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10394             image.normal: "icon_refresh.png"; } } } }
10395    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10396       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10397          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10398             image.normal: "icon_folder.png"; } } } }
10399    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10400       images.image: "icon_file.png" COMP; parts { part { name: "base";
10401          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10402             image.normal: "icon_file.png"; } } } }
10403
10404 ///////////////////////////////////////////////////////////////////////////////
10405    group { name: "elm/toolbar/base/default";
10406       images {
10407          image: "bt_dis_base.png" COMP;
10408          image: "bt_dis_hilight.png" COMP;
10409          image: "bt_dis_shine.png" COMP;
10410          image: "icon_left_arrow.png" COMP;
10411          image: "icon_right_arrow.png" COMP;
10412       }
10413       parts {
10414          part { name: "base";
10415             mouse_events: 1;
10416             description { state: "default" 0.0;
10417                rel1 {
10418                   relative: 0.0 0.0;
10419                   offset: 2 2;
10420                }
10421                rel2.offset: -3 -3;
10422                image {
10423                   normal: "bt_dis_base.png";
10424                   border: 4 4 4 4;
10425                }
10426                image.middle: SOLID;
10427             }
10428          }
10429          part { name: "clipper";
10430             type: RECT;
10431             mouse_events: 0;
10432             description {
10433                state: "default" 0.0;
10434                rel1 {
10435                   to: "base";
10436                   offset: 2 2;
10437                }
10438                rel2 {
10439                   to: "base";
10440                   offset: -3 -3;
10441                }
10442             }
10443          }
10444          part { name: "elm.swallow.content";
10445             clip_to: "clipper";
10446             type: SWALLOW;
10447             description {
10448                state: "default" 0.0;
10449                rel1.to: "clipper";
10450                rel2.to: "clipper";
10451             }
10452          }
10453          part { name: "over2";
10454             mouse_events: 0;
10455             description { state: "default" 0.0;
10456                rel1.to: "base";
10457                rel2.to: "base";
10458                image {
10459                   normal: "bt_dis_shine.png";
10460                   border: 4 4 4 4;
10461                }
10462             }
10463          }
10464          part { name: "over1";
10465             mouse_events: 0;
10466             description { state: "default" 0.0;
10467                rel1.to: "base";
10468                rel2.to: "base";
10469                rel2.relative: 1.0 0.5;
10470                image {
10471                   normal: "bt_dis_hilight.png";
10472                   border: 4 4 4 0;
10473                }
10474                color: 255 255 255 128;
10475             }
10476          }
10477          part { name: "left_arrow";
10478             mouse_events: 0;
10479             description { state: "default" 0.0;
10480                image.normal: "icon_left_arrow.png";
10481                aspect: 1.0 1.0;
10482                aspect_preference: VERTICAL;
10483                align: 0.0 0.5;
10484                min: 32 32;
10485                max: 32 32;
10486             }
10487             description { state: "hidden" 0.0;
10488                inherit: "default" 0.0;
10489                visible: 0;
10490                color: 255 255 255 0;
10491             }
10492          }
10493          part { name: "right_arrow";
10494             mouse_events: 0;
10495             description { state: "default" 0.0;
10496                image.normal: "icon_right_arrow.png";
10497                aspect: 1.0 1.0;
10498                aspect_preference: VERTICAL;
10499                align: 1.0 0.5;
10500                min: 32 32;
10501                max: 32 32;
10502             }
10503             description { state: "hidden" 0.0;
10504                inherit: "default" 0.0;
10505                visible: 0;
10506                color: 255 255 255 0;
10507             }
10508          }
10509          part { name: "event";
10510             type: RECT;
10511             mouse_events: 1;
10512             repeat_events: 1;
10513             description { state: "default" 0.0;
10514                color: 0 0 0 0;
10515             }
10516          }
10517       }
10518       programs {
10519          program { name: "sb_hbar_show";
10520             signal: "elm,action,show,hbar";
10521             source: "elm";
10522             action:  STATE_SET "default" 0.0;
10523             transition: LINEAR 0.5;
10524             target: "left_arrow";
10525             target: "right_arrow";
10526          }
10527          program { name: "sb_hbar_hide";
10528             signal: "elm,action,hide,hbar";
10529             source: "elm";
10530             action:  STATE_SET "hidden" 0.0;
10531             target: "left_arrow";
10532             target: "right_arrow";
10533             transition: LINEAR 0.5;
10534          }
10535       }
10536    }
10537
10538    group { name: "elm/toolbar/item/default";
10539        images {
10540            image: "toolbar_sel.png" COMP;
10541        }
10542        data.item: "transition_animation_on" "1";
10543        parts {
10544            part { name: "label2";
10545                type: TEXT;
10546                mouse_events:  0;
10547                scale: 1;
10548                clip_to: "elm.text.clipper";
10549                description { state: "default" 0.0;
10550                    align: 0.5 1.0;
10551                    fixed: 0 1;
10552                    rel1.to: "elm.text";
10553                    rel2.to: "elm.text";
10554                    color: 0 0 0 255;
10555                    text {
10556                        font: "Sans";
10557                        text_source: "elm.text";
10558                        size: 10;
10559                        min: 1 1;
10560                        align: 0.5 0.5;
10561                        text_class: "toolbar_item";
10562                    }
10563                }
10564                description { state: "selected" 0.0;
10565                    inherit: "default" 0.0;
10566                    visible: 0;
10567                }
10568                description { state: "disabled" 0.0;
10569                    inherit: "default" 0.0;
10570                    color: 0 0 0 128;
10571                    color3: 0 0 0 0;
10572                }
10573                description { state: "disabled_visible" 0.0;
10574                    inherit: "default" 0.0;
10575                    color: 0 0 0 128;
10576                    color3: 0 0 0 0;
10577                    visible: 1;
10578                    text.min: 1 1;
10579                }
10580            }
10581            part { name: "label2_new";
10582                type: TEXT;
10583                mouse_events:  0;
10584                scale: 1;
10585                clip_to: "elm.text_new.clipper";
10586                description { state: "default" 0.0;
10587                    align: 0.5 1.0;
10588                    fixed: 0 1;
10589                    rel1.to: "elm.text_new";
10590                    rel2.to: "elm.text_new";
10591                    color: 0 0 0 255;
10592                    text {
10593                        font: "Sans";
10594                        text_source: "elm.text_new";
10595                        size: 10;
10596                        min: 1 1;
10597                        align: 0.5 0.5;
10598                        text_class: "toolbar_item";
10599                    }
10600                }
10601                description { state: "selected" 0.0;
10602                    inherit: "default" 0.0;
10603                    visible: 0;
10604                }
10605                description { state: "disabled" 0.0;
10606                    inherit: "default" 0.0;
10607                    color: 0 0 0 128;
10608                    color3: 0 0 0 0;
10609                }
10610                description { state: "disabled_visible" 0.0;
10611                    inherit: "default" 0.0;
10612                    color: 0 0 0 128;
10613                    color3: 0 0 0 0;
10614                    visible: 1;
10615                    text.min: 1 1;
10616                }
10617            }
10618            part { name: "bg";
10619                mouse_events: 0;
10620                description { state: "default" 0.0;
10621                    visible: 0;
10622                    color: 255 255 255 0;
10623                    image {
10624                        normal: "toolbar_sel.png";
10625                        border: 3 3 0 0;
10626                    }
10627                    image.middle: SOLID;
10628                    fill.smooth: 0;
10629                }
10630                description { state: "selected" 0.0;
10631                    inherit: "default" 0.0;
10632                    visible: 1;
10633                    color: 255 255 255 255;
10634                }
10635                description { state: "disabled" 0.0;
10636                    inherit: "default" 0.0;
10637                    visible: 0;
10638                    color: 255 255 255 0;
10639                }
10640            }
10641            part { name: "elm.swallow.icon";
10642                type: SWALLOW;
10643                clip_to: "elm.icon.clipper";
10644                description { state: "default" 0.0;
10645                    align: 0.5 0.5;
10646                    fixed: 0 0;
10647                    rel1 {
10648                        relative: 0.0 0.0;
10649                        offset: 2 2;
10650                    }
10651                    rel2 {
10652                        to_y: "elm.text";
10653                        relative: 1.0 0.0;
10654                        offset: -3 -1;
10655                    }
10656                    color: 0 0 0 0;
10657                }
10658            }
10659            part { name: "elm.swallow.icon_new";
10660                type: SWALLOW;
10661                clip_to: "elm.icon_new.clipper";
10662                description { state: "default" 0.0;
10663                    align: 0.5 0.5;
10664                    fixed: 0 0;
10665                    rel1 {
10666                        relative: 0.0 0.0;
10667                        offset: 2 2;
10668                    }
10669                    rel2 {
10670                        to_y: "elm.text_new";
10671                        relative: 1.0 0.0;
10672                        offset: -3 -1;
10673                    }
10674                    color: 0 0 0 0;
10675                }
10676            }
10677            part { name: "elm.text";
10678                type: TEXT;
10679                effect: SOFT_SHADOW;
10680                mouse_events:  0;
10681                scale: 1;
10682                clip_to: "elm.text.clipper";
10683                description { state: "default" 0.0;
10684                    align: 0.5 1.0;
10685                    fixed: 0 1;
10686                    rel1 {
10687                        relative: 0.0 1.0;
10688                        offset:   0 -1;
10689                    }
10690                    rel2 {
10691                        relative: 1.0 1.0;
10692                        offset:   -1 -1;
10693                    }
10694                    visible: 0;
10695                    color: 224 224 224 255;
10696                    color3: 0 0 0 32;
10697                    text {
10698                        font: "Sans:style=Bold";
10699                        size: 10;
10700                        min: 1 1;
10701                        align: 0.5 0.5;
10702                        text_class: "toolbar_item";
10703                    }
10704                }
10705                description { state: "selected" 0.0;
10706                    inherit: "default" 0.0;
10707                    visible: 1;
10708                }
10709                description { state: "visible" 0.0;
10710                    inherit: "default" 0.0;
10711                    visible: 1;
10712                    text.min: 1 1;
10713                }
10714                description { state: "disabled" 0.0;
10715                    inherit: "default" 0.0;
10716                    color: 0 0 0 128;
10717                    color3: 0 0 0 0;
10718                }
10719                description { state: "disabled_visible" 0.0;
10720                    inherit: "default" 0.0;
10721                    color: 0 0 0 128;
10722                    color3: 0 0 0 0;
10723                    visible: 1;
10724                    text.min: 1 1;
10725                }
10726            }
10727            part { name: "elm.text_new";
10728                type: TEXT;
10729                effect: SOFT_SHADOW;
10730                mouse_events:  0;
10731                clip_to: "elm.text_new.clipper";
10732                scale: 1;
10733                description { state: "default" 0.0;
10734                    align: 0.5 1.0;
10735                    fixed: 0 1;
10736                    rel1 {
10737                        relative: 0.0 1.0;
10738                        offset:   0 -1;
10739                    }
10740                    rel2 {
10741                        relative: 1.0 1.0;
10742                        offset:   -1 -1;
10743                    }
10744                    visible: 0;
10745                    color: 224 224 224 255;
10746                    color3: 0 0 0 32;
10747                    text {
10748                        font: "Sans:style=Bold";
10749                        size: 10;
10750                        min: 1 1;
10751                        align: 0.5 0.5;
10752                        text_class: "toolbar_item";
10753                    }
10754                }
10755                description { state: "selected" 0.0;
10756                    inherit: "default" 0.0;
10757                    visible: 1;
10758                }
10759                description { state: "visible" 0.0;
10760                    inherit: "default" 0.0;
10761                    visible: 1;
10762                    text.min: 1 1;
10763                }
10764                description { state: "disabled" 0.0;
10765                    inherit: "default" 0.0;
10766                    color: 0 0 0 128;
10767                    color3: 0 0 0 0;
10768                }
10769                description { state: "disabled_visible" 0.0;
10770                    inherit: "default" 0.0;
10771                    color: 0 0 0 128;
10772                    color3: 0 0 0 0;
10773                    visible: 1;
10774                    text.min: 1 1;
10775                }
10776            }
10777            part { name: "elm.text.clipper";
10778                type: RECT;
10779                description { state: "default" 0.0;
10780                    color: 255 255 255 255;
10781                }
10782                description { state: "animation" 0.0;
10783                    color: 255 255 255 0;
10784                }
10785            }
10786            part { name: "elm.text_new.clipper";
10787                type: RECT;
10788                description { state: "default" 0.0;
10789                    color: 255 255 255 0;
10790                }
10791                description { state: "animation" 0.0;
10792                    color: 255 255 255 255;
10793                }
10794            }
10795            part { name: "elm.icon.clipper";
10796                type: RECT;
10797                description { state: "default" 0.0;
10798                    color: 255 255 255 255;
10799                }
10800                description { state: "animation" 0.0;
10801                    color: 255 255 255 0;
10802                }
10803            }
10804            part { name: "elm.icon_new.clipper";
10805                type: RECT;
10806                description { state: "default" 0.0;
10807                    color: 255 255 255 0;
10808                }
10809                description { state: "animation" 0.0;
10810                    color: 255 255 255 255;
10811                }
10812            }
10813            part { name: "event";
10814                type: RECT;
10815                mouse_events: 1;
10816                ignore_flags: ON_HOLD;
10817                description { state: "default" 0.0;
10818                    color: 0 0 0 0;
10819                }
10820            }
10821        }
10822        programs {
10823            program { name: "go_active";
10824                signal:  "elm,state,selected";
10825                source:  "elm";
10826                action:  STATE_SET "selected" 0.0;
10827                target:  "bg";
10828                target:  "elm.text";
10829                target:  "label2";
10830                target:  "elm.text_new";
10831                target:  "label2_new";
10832                transition: LINEAR 0.2;
10833            }
10834            program { name: "go_passive";
10835                signal:  "elm,state,unselected";
10836                source:  "elm";
10837                action:  STATE_SET "default" 0.0;
10838                target:  "bg";
10839                target:  "elm.text";
10840                target:  "label2";
10841                target:  "elm.text_new";
10842                target:  "label2_new";
10843                transition: LINEAR 0.1;
10844            }
10845            program { name: "go";
10846                signal:  "mouse,up,1";
10847                source:  "event";
10848                action:  SIGNAL_EMIT "elm,action,click" "elm";
10849            }
10850            program { name: "mouse,in";
10851               signal:  "mouse,in";
10852               source:  "event";
10853               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10854            }
10855            program { name: "mouse,out";
10856               signal:  "mouse,out";
10857               source:  "event";
10858               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10859            }
10860            program { name: "disable";
10861                signal: "elm,state,disabled";
10862                source: "elm";
10863                action: STATE_SET "disabled" 0.0;
10864                target: "label2";
10865                target: "label2_new";
10866                target: "bg";
10867                after: "disable_text";
10868            }
10869            program { name: "disable_text";
10870                script {
10871                    new st[31];
10872                    new Float:vl;
10873                    get_state(PART:"elm.text", st, 30, vl);
10874                    if (!strcmp(st, "visible"))
10875                    {
10876                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10877                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10878                    }
10879                    else
10880                    {
10881                       set_state(PART:"elm.text", "disabled", 0.0);
10882                       set_state(PART:"elm.text_new", "disabled", 0.0);
10883                    }
10884                }
10885            }
10886            program { name: "enable";
10887                signal: "elm,state,enabled";
10888                source: "elm";
10889                action: STATE_SET "default" 0.0;
10890                target: "label2";
10891                target: "label2_new";
10892                target: "bg";
10893                after: "enable_text";
10894            }
10895            program { name: "enable_text";
10896                script {
10897                    new st[31];
10898                    new Float:vl;
10899                    get_state(PART:"elm.text", st, 30, vl);
10900                    if (!strcmp(st, "disabled_visible"))
10901                    {
10902                       set_state(PART:"elm.text", "visible", 0.0);
10903                       set_state(PART:"elm.text_new", "visible", 0.0);
10904                    }
10905                    else
10906                    {
10907                       set_state(PART:"elm.text", "default", 0.0);
10908                       set_state(PART:"elm.text_new", "default", 0.0);
10909                    }
10910                }
10911            }
10912            program { name: "label_set,animation,forward";
10913               signal: "elm,state,label_set,forward";
10914               source: "elm";
10915               after: "label_set,animation";
10916            }
10917            program { name: "label_set,animation,backward";
10918               signal: "elm,state,label_set,backward";
10919               source: "elm";
10920               after: "label_set,animation";
10921            }
10922            program { name: "label_set,animation";
10923               signal: "elm,state,label_set";
10924               source: "elm";
10925               action: STATE_SET "animation" 0.0;
10926               target: "elm.text.clipper";
10927               target: "elm.text_new.clipper";
10928               transition: LINEAR 0.2;
10929               after: "label_set,animation,done";
10930            }
10931            program { name: "label_set,animation,done";
10932               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10933            }
10934            program { name: "label,reset";
10935               signal: "elm,state,label,reset";
10936               source: "elm";
10937               action: STATE_SET "default" 0.0;
10938               target: "elm.text.clipper";
10939               target: "elm.text_new.clipper";
10940            }
10941            program { name: "icon_set,animation,forward";
10942               signal: "elm,state,icon_set,forward";
10943               source: "elm";
10944               after: "icon_set,animation";
10945            }
10946            program { name: "icon_set,animation,backward";
10947               signal: "elm,state,icon_set,backward";
10948               source: "elm";
10949               after: "icon_set,animation";
10950            }
10951            program { name: "icon_set,animation";
10952               signal: "elm,state,icon_set";
10953               source: "elm";
10954               action: STATE_SET "animation" 0.0;
10955               target: "elm.icon.clipper";
10956               target: "elm.icon_new.clipper";
10957               transition: LINEAR 0.2;
10958               after: "icon_set,animation,done";
10959            }
10960            program { name: "icon_set,animation,done";
10961               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10962            }
10963            program { name: "icon,reset";
10964               signal: "elm,state,icon,reset";
10965               source: "elm";
10966               action: STATE_SET "default" 0.0;
10967               target: "elm.icon.clipper";
10968               target: "elm.icon_new.clipper";
10969            }
10970        }
10971    }
10972
10973    group { name: "elm/toolbar/separator/default";
10974       images {
10975          image: "toolbar_separator_v.png" COMP;
10976       }
10977       parts {
10978          part { name: "separator"; // separator group
10979             description { state: "default" 0.0;
10980                min: 2 2;
10981                max: 2 9999;
10982                rel1.offset: 4 4;
10983                rel2.offset: -5 -5;
10984                image {
10985                   normal: "toolbar_separator_v.png";
10986                }
10987                fill {
10988                   smooth: 0;
10989                }
10990             }
10991          }
10992       }
10993    }
10994
10995    ///////////////////////////////////////////////////////////////////////////////
10996    group { name: "elm/notify/block_events/default";
10997        parts {
10998            part { name: "block_events";
10999                type: RECT;
11000                description { state: "default" 0.0;
11001                    color: 0 0 0 64;
11002                    visible: 1;
11003                }
11004            }
11005        }
11006            programs {
11007                    program {
11008                                 name: "block_clicked";
11009                                 signal: "mouse,clicked,1";
11010                                 source: "block_events";
11011                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11012                    }
11013            }
11014    }
11015    group { name: "elm/notify/top/default";
11016        //this group is a design similar to the inwin group
11017        images {
11018            image: "shad_circ.png" COMP;
11019            image: "bt_dis_base.png" COMP;
11020            image: "bt_dis_hilight.png" COMP;
11021        }
11022        parts {
11023            part { name: "base";
11024                type: RECT;
11025                mouse_events: 0;
11026                repeat_events: 1;
11027                description { state: "default" 0.0;
11028                    color: 0 0 0 0;
11029                    rel1.offset: 10 10;
11030                    rel2.offset: -10 -10;
11031                    rel1.relative: 0.0 -1.0;
11032                    rel2.relative: 1.0 0.0;
11033                }
11034                description { state: "visible" 0.0;
11035                    inherit: "default" 0.0;
11036                    color: 0 0 0 64;
11037                    rel1.relative: 0.0 0.0;
11038                    rel2.relative: 1.0 1.0;
11039                }
11040            }
11041            part { name: "shad";
11042                mouse_events:  0;
11043                description { state: "default" 0.0;
11044                    image.normal: "shad_circ.png";
11045                    rel1.to: "elm.swallow.content";
11046                    rel1.offset: -64 -64;
11047                    rel2.to: "elm.swallow.content";
11048                    rel2.offset: 63 63;
11049                    fill.smooth: 0;
11050                }
11051            }
11052            part { name: "pop";
11053                mouse_events: 1;
11054                description { state: "default" 0.0;
11055                    rel1.to: "elm.swallow.content";
11056                    rel1.offset: -5 -5;
11057                    rel2.to: "elm.swallow.content";
11058                    rel2.offset: 4 4;
11059                    image {
11060                        normal: "bt_dis_base.png";
11061                        border: 4 4 4 4;
11062                    }
11063                    image.middle: SOLID;
11064                }
11065            }
11066            part { name: "popover";
11067                mouse_events: 0;
11068                description { state: "default" 0.0;
11069                    rel1.to: "pop";
11070                    rel2.to: "pop";
11071                    rel2.relative: 1.0 0.5;
11072                    image {
11073                        normal: "bt_dis_hilight.png";
11074                        border: 4 4 4 0;
11075                    }
11076                }
11077            }
11078            part { name: "elm.swallow.content";
11079                type: SWALLOW;
11080                description { state: "default" 0.0;
11081                    rel1.to: "base";
11082                    rel2.to: "base";
11083                }
11084            }
11085        }
11086        programs {
11087            program { name: "show";
11088                signal: "elm,action,show";
11089                source: "elm";
11090                action: STATE_SET "visible" 0.0;
11091                target: "base";
11092            }
11093            program { name: "show_2";
11094                 signal: "show";
11095                 action: STATE_SET "default" 0.0;
11096                 target: "base";
11097                 after: "show_3";
11098            }
11099            program { name: "show_3";
11100                 signal: "show";
11101                 action: STATE_SET "visible" 0.0;
11102                 target: "base";
11103                 transition: LINEAR 0.5;
11104            }
11105            program { name: "hide";
11106                signal: "elm,action,hide";
11107                source: "elm";
11108                action: STATE_SET "default" 0.0;
11109                target: "base";
11110            }
11111        }
11112    }
11113    group { name: "elm/notify/center/default";
11114        //this group is a design similar to the inwin group
11115        images {
11116            image: "bt_dis_base.png" COMP;
11117        }
11118        parts {
11119            part { name: "base";
11120                type: RECT;
11121                mouse_events: 0;
11122                repeat_events: 1;
11123                description { state: "default" 0.0;
11124                    color: 0 0 0 0;
11125                    rel1.relative: 0.0 0.0;
11126                    rel2.relative: 1.0 1.0;
11127                }
11128            }
11129            part { name: "pop";
11130                mouse_events: 1;
11131                description { state: "default" 0.0;
11132                    rel1.to: "elm.swallow.content";
11133                    rel1.offset: -5 -5;
11134                    rel2.to: "elm.swallow.content";
11135                    rel2.offset: 4 4;
11136                    image {
11137                        normal: "bt_dis_base.png";
11138                        border: 4 4 4 4;
11139                    }
11140                }
11141            }
11142            part { name: "elm.swallow.content";
11143                type: SWALLOW;
11144                description { state: "default" 0.0;
11145                    rel1.to: "base";
11146                    rel2.to: "base";
11147                }
11148            }
11149        }
11150        programs {
11151            program { name: "show";
11152                signal: "elm,action,show";
11153                source: "elm";
11154                action: STATE_SET "default" 0.0;
11155                target: "base";
11156            }
11157            program { name: "show_2";
11158                 signal: "show";
11159                 action: STATE_SET "default" 0.0;
11160                 target: "base";
11161            }
11162            program { name: "hide";
11163                signal: "elm,action,hide";
11164                source: "elm";
11165                action: STATE_SET "default" 0.0;
11166                target: "base";
11167            }
11168        }
11169    }
11170    group { name: "elm/notify/bottom/default";
11171        //this group is a design similar to the inwin group
11172        images {
11173            image: "shad_circ.png" COMP;
11174            image: "bt_dis_base.png" COMP;
11175            image: "bt_dis_hilight.png" COMP;
11176        }
11177        parts {
11178            part { name: "base";
11179                type: RECT;
11180                mouse_events: 0;
11181                repeat_events: 1;
11182                description { state: "default" 0.0;
11183                    color: 0 0 0 0;
11184                    rel1.offset: 10 10;
11185                    rel2.offset: -10 -10;
11186                    rel1.relative: 0.0 1.0;
11187                    rel2.relative: 1.0 2.0;
11188                }
11189                description { state: "visible" 0.0;
11190                    inherit: "default" 0.0;
11191                    color: 0 0 0 64;
11192                    rel1.relative: 0.0 0.0;
11193                    rel2.relative: 1.0 1.0;
11194                }
11195            }
11196            part { name: "shad";
11197                mouse_events:  0;
11198                description { state: "default" 0.0;
11199                    image.normal: "shad_circ.png";
11200                    rel1.to: "elm.swallow.content";
11201                    rel1.offset: -64 -64;
11202                    rel2.to: "elm.swallow.content";
11203                    rel2.offset: 63 63;
11204                    fill.smooth: 0;
11205                }
11206            }
11207            part { name: "pop";
11208                mouse_events: 1;
11209                description { state: "default" 0.0;
11210                    rel1.to: "elm.swallow.content";
11211                    rel1.offset: -5 -5;
11212                    rel2.to: "elm.swallow.content";
11213                    rel2.offset: 4 4;
11214                    image {
11215                        normal: "bt_dis_base.png";
11216                        border: 4 4 4 4;
11217                    }
11218                    image.middle: SOLID;
11219                }
11220            }
11221            part { name: "popover";
11222                mouse_events: 0;
11223                description { state: "default" 0.0;
11224                    rel1.to: "pop";
11225                    rel2.to: "pop";
11226                    rel2.relative: 1.0 0.5;
11227                    image {
11228                        normal: "bt_dis_hilight.png";
11229                        border: 4 4 4 0;
11230                    }
11231                }
11232            }
11233            part { name: "elm.swallow.content";
11234                type: SWALLOW;
11235                description { state: "default" 0.0;
11236                    rel1.to: "base";
11237                    rel2.to: "base";
11238                }
11239            }
11240        }
11241        programs {
11242            program { name: "show";
11243                signal: "elm,action,show";
11244                source: "elm";
11245                action: STATE_SET "visible" 0.0;
11246                target: "base";
11247            }
11248            program { name: "show_2";
11249                 signal: "show";
11250                 action: STATE_SET "default" 0.0;
11251                 target: "base";
11252                 after: "show_3";
11253            }
11254            program { name: "show_3";
11255                 signal: "show";
11256                 action: STATE_SET "visible" 0.0;
11257                 target: "base";
11258                 transition: LINEAR 0.5;
11259            }
11260            program { name: "hide";
11261                signal: "elm,action,hide";
11262                source: "elm";
11263                action: STATE_SET "default" 0.0;
11264                target: "base";
11265            }
11266        }
11267    }
11268    group { name: "elm/notify/left/default";
11269        //this group is a design similar to the inwin group
11270        images {
11271            image: "shad_circ.png" COMP;
11272            image: "bt_dis_base.png" COMP;
11273            image: "bt_dis_hilight.png" COMP;
11274        }
11275        parts {
11276            part { name: "base";
11277                type: RECT;
11278                mouse_events: 0;
11279                repeat_events: 1;
11280                description { state: "default" 0.0;
11281                    color: 0 0 0 0;
11282                    rel1.offset: 10 10;
11283                    rel2.offset: -10 -10;
11284                    rel1.relative: -1.0 0.0;
11285                    rel2.relative: 0.0 1.0;
11286                }
11287                description { state: "visible" 0.0;
11288                    inherit: "default" 0.0;
11289                    color: 0 0 0 64;
11290                    rel1.relative: 0.0 0.0;
11291                    rel2.relative: 1.0 1.0;
11292                }
11293            }
11294            part { name: "shad";
11295                mouse_events:  0;
11296                description { state: "default" 0.0;
11297                    image.normal: "shad_circ.png";
11298                    rel1.to: "elm.swallow.content";
11299                    rel1.offset: -64 -64;
11300                    rel2.to: "elm.swallow.content";
11301                    rel2.offset: 63 63;
11302                    fill.smooth: 0;
11303                }
11304            }
11305            part { name: "pop";
11306                mouse_events: 1;
11307                description { state: "default" 0.0;
11308                    rel1.to: "elm.swallow.content";
11309                    rel1.offset: -5 -5;
11310                    rel2.to: "elm.swallow.content";
11311                    rel2.offset: 4 4;
11312                    image {
11313                        normal: "bt_dis_base.png";
11314                        border: 4 4 4 4;
11315                    }
11316                    image.middle: SOLID;
11317                }
11318            }
11319            part { name: "popover";
11320                mouse_events: 0;
11321                description { state: "default" 0.0;
11322                    rel1.to: "pop";
11323                    rel2.to: "pop";
11324                    rel2.relative: 1.0 0.5;
11325                    image {
11326                        normal: "bt_dis_hilight.png";
11327                        border: 4 4 4 0;
11328                    }
11329                }
11330            }
11331            part { name: "elm.swallow.content";
11332                type: SWALLOW;
11333                description { state: "default" 0.0;
11334                    rel1.to: "base";
11335                    rel2.to: "base";
11336                }
11337            }
11338        }
11339        programs {
11340            program { name: "show";
11341                signal: "elm,action,show";
11342                source: "elm";
11343                action: STATE_SET "visible" 0.0;
11344                target: "base";
11345            }
11346            program { name: "show_2";
11347                signal: "show";
11348                action: STATE_SET "default" 0.0;
11349                target: "base";
11350                after: "show_3";
11351            }
11352            program { name: "show_3";
11353                signal: "show";
11354                action: STATE_SET "visible" 0.0;
11355                target: "base";
11356                transition: LINEAR 0.5;
11357            }
11358            program { name: "hide";
11359                signal: "elm,action,hide";
11360                source: "elm";
11361                action: STATE_SET "default" 0.0;
11362                target: "base";
11363            }
11364        }
11365    }
11366    group { name: "elm/notify/right/default";
11367        //this group is a design similar to the inwin group
11368        images {
11369            image: "shad_circ.png" COMP;
11370            image: "bt_dis_base.png" COMP;
11371            image: "bt_dis_hilight.png" COMP;
11372        }
11373        parts {
11374            part { name: "base";
11375                type: RECT;
11376                mouse_events: 0;
11377                repeat_events: 1;
11378                 description { state: "default" 0.0;
11379                    color: 0 0 0 0;
11380                    rel1.offset: 10 10;
11381                    rel2.offset: -10 -10;
11382                    rel1.relative: 1.0 0.0;
11383                    rel2.relative: 2.0 1.0;
11384                }
11385                description { state: "visible" 0.0;
11386                    inherit: "default" 0.0;
11387                    color: 0 0 0 64;
11388                    rel1.relative: 0.0 0.0;
11389                    rel2.relative: 1.0 1.0;
11390                }
11391            }
11392            part { name: "shad";
11393                mouse_events:  0;
11394                description { state: "default" 0.0;
11395                    image.normal: "shad_circ.png";
11396                    rel1.to: "elm.swallow.content";
11397                    rel1.offset: -64 -64;
11398                    rel2.to: "elm.swallow.content";
11399                    rel2.offset: 63 63;
11400                    fill.smooth: 0;
11401                }
11402            }
11403            part { name: "pop";
11404                mouse_events: 1;
11405                description { state: "default" 0.0;
11406                    rel1.to: "elm.swallow.content";
11407                    rel1.offset: -5 -5;
11408                    rel2.to: "elm.swallow.content";
11409                    rel2.offset: 4 4;
11410                    image {
11411                        normal: "bt_dis_base.png";
11412                        border: 4 4 4 4;
11413                    }
11414                    image.middle: SOLID;
11415                }
11416            }
11417            part { name: "popover";
11418                mouse_events: 0;
11419                description { state: "default" 0.0;
11420                    rel1.to: "pop";
11421                    rel2.to: "pop";
11422                    rel2.relative: 1.0 0.5;
11423                    image {
11424                        normal: "bt_dis_hilight.png";
11425                        border: 4 4 4 0;
11426                    }
11427                }
11428            }
11429            part { name: "elm.swallow.content";
11430                type: SWALLOW;
11431                description { state: "default" 0.0;
11432                    rel1.to: "base";
11433                    rel2.to: "base";
11434                }
11435            }
11436        }
11437        programs {
11438            program { name: "show";
11439                signal: "elm,action,show";
11440                source: "elm";
11441                action: STATE_SET "visible" 0.0;
11442                target: "base";
11443            }
11444            program { name: "show_2";
11445                signal: "show";
11446                action: STATE_SET "default" 0.0;
11447                target: "base";
11448                after: "show_3";
11449            }
11450            program { name: "show_3";
11451                signal: "show";
11452                action: STATE_SET "visible" 0.0;
11453                target: "base";
11454                transition: LINEAR 0.5;
11455            }
11456            program { name: "hide";
11457                signal: "elm,action,hide";
11458                source: "elm";
11459                action: STATE_SET "default" 0.0;
11460                target: "base";
11461            }
11462        }
11463    }
11464    group { name: "elm/notify/top_left/default";
11465        //this group is a design similar to the inwin group
11466        images {
11467            image: "shad_circ.png" COMP;
11468            image: "bt_dis_base.png" COMP;
11469            image: "bt_dis_hilight.png" COMP;
11470        }
11471        parts {
11472            part { name: "base";
11473                type: RECT;
11474                mouse_events: 0;
11475                repeat_events: 1;
11476                 description { state: "default" 0.0;
11477                    color: 0 0 0 0;
11478                    rel1.offset: 10 10;
11479                    rel2.offset: -10 -10;
11480                    rel1.relative: 0.0 -1.0;
11481                    rel2.relative: 1.0 0.0;
11482                }
11483                description { state: "visible" 0.0;
11484                    inherit: "default" 0.0;
11485                    color: 0 0 0 64;
11486                    rel1.relative: 0.0 0.0;
11487                    rel2.relative: 1.0 1.0;
11488                }
11489            }
11490            part { name: "shad";
11491                mouse_events:  0;
11492                description { state: "default" 0.0;
11493                    image.normal: "shad_circ.png";
11494                    rel1.to: "elm.swallow.content";
11495                    rel1.offset: -64 -64;
11496                    rel2.to: "elm.swallow.content";
11497                    rel2.offset: 63 63;
11498                    fill.smooth: 0;
11499                }
11500            }
11501            part { name: "pop";
11502                mouse_events: 1;
11503                description { state: "default" 0.0;
11504                    rel1.to: "elm.swallow.content";
11505                    rel1.offset: -5 -5;
11506                    rel2.to: "elm.swallow.content";
11507                    rel2.offset: 4 4;
11508                    image {
11509                        normal: "bt_dis_base.png";
11510                        border: 4 4 4 4;
11511                    }
11512                    image.middle: SOLID;
11513                }
11514            }
11515            part { name: "popover";
11516                mouse_events: 0;
11517                description { state: "default" 0.0;
11518                    rel1.to: "pop";
11519                    rel2.to: "pop";
11520                    rel2.relative: 1.0 0.5;
11521                    image {
11522                        normal: "bt_dis_hilight.png";
11523                        border: 4 4 4 0;
11524                    }
11525                }
11526            }
11527            part { name: "elm.swallow.content";
11528                type: SWALLOW;
11529                description { state: "default" 0.0;
11530                    rel1.to: "base";
11531                    rel2.to: "base";
11532                }
11533            }
11534        }
11535        programs {
11536            program { name: "show";
11537                signal: "elm,action,show";
11538                source: "elm";
11539                action: STATE_SET "visible" 0.0;
11540                target: "base";
11541            }
11542            program { name: "show_2";
11543                signal: "show";
11544                action: STATE_SET "default" 0.0;
11545                target: "base";
11546                after: "show_3";
11547            }
11548            program { name: "show_3";
11549                signal: "show";
11550                action: STATE_SET "visible" 0.0;
11551                target: "base";
11552                transition: LINEAR 0.5;
11553            }
11554            program { name: "hide";
11555                signal: "elm,action,hide";
11556                source: "elm";
11557                action: STATE_SET "default" 0.0;
11558                target: "base";
11559            }
11560        }
11561    }
11562    group { name: "elm/notify/top_right/default";
11563        //this group is a design similar to the inwin group
11564        images {
11565            image: "shad_circ.png" COMP;
11566            image: "bt_dis_base.png" COMP;
11567            image: "bt_dis_hilight.png" COMP;
11568        }
11569        parts {
11570            part { name: "base";
11571                type: RECT;
11572                mouse_events: 0;
11573                repeat_events: 1;
11574                description { state: "default" 0.0;
11575                    color: 0 0 0 0;
11576                    rel1.offset: 10 10;
11577                    rel2.offset: -10 -10;
11578                    rel1.relative: 0.0 -1.0;
11579                    rel2.relative: 1.0 0.0;
11580                }
11581                description { state: "visible" 0.0;
11582                    inherit: "default" 0.0;
11583                    color: 0 0 0 64;
11584                    rel1.relative: 0.0 0.0;
11585                    rel2.relative: 1.0 1.0;
11586                }
11587            }
11588            part { name: "shad";
11589                mouse_events:  0;
11590                description { state: "default" 0.0;
11591                    image.normal: "shad_circ.png";
11592                    rel1.to: "elm.swallow.content";
11593                    rel1.offset: -64 -64;
11594                    rel2.to: "elm.swallow.content";
11595                    rel2.offset: 63 63;
11596                    fill.smooth: 0;
11597                }
11598            }
11599            part { name: "pop";
11600                mouse_events: 1;
11601                description { state: "default" 0.0;
11602                    rel1.to: "elm.swallow.content";
11603                    rel1.offset: -5 -5;
11604                    rel2.to: "elm.swallow.content";
11605                    rel2.offset: 4 4;
11606                    image {
11607                        normal: "bt_dis_base.png";
11608                        border: 4 4 4 4;
11609                    }
11610                    image.middle: SOLID;
11611                }
11612            }
11613            part { name: "popover";
11614                mouse_events: 0;
11615                description { state: "default" 0.0;
11616                    rel1.to: "pop";
11617                    rel2.to: "pop";
11618                    rel2.relative: 1.0 0.5;
11619                    image {
11620                        normal: "bt_dis_hilight.png";
11621                        border: 4 4 4 0;
11622                    }
11623                }
11624            }
11625            part { name: "elm.swallow.content";
11626                type: SWALLOW;
11627                description { state: "default" 0.0;
11628                    rel1.to: "base";
11629                    rel2.to: "base";
11630                }
11631            }
11632        }
11633        programs {
11634            program { name: "show";
11635                signal: "elm,action,show";
11636                source: "elm";
11637                action: STATE_SET "visible" 0.0;
11638                target: "base";
11639            }
11640            program { name: "show_2";
11641                signal: "show";
11642                action: STATE_SET "default" 0.0;
11643                target: "base";
11644                after: "show_3";
11645            }
11646            program { name: "show_3";
11647                signal: "show";
11648                action: STATE_SET "visible" 0.0;
11649                target: "base";
11650                transition: LINEAR 0.5;
11651            }
11652            program { name: "hide";
11653                signal: "elm,action,hide";
11654                source: "elm";
11655                action: STATE_SET "default" 0.0;
11656                target: "base";
11657            }
11658        }
11659    }
11660    group { name: "elm/notify/bottom_left/default";
11661        //this group is a design similar to the inwin group
11662        images {
11663            image: "shad_circ.png" COMP;
11664            image: "bt_dis_base.png" COMP;
11665            image: "bt_dis_hilight.png" COMP;
11666        }
11667        parts {
11668            part { name: "base";
11669                type: RECT;
11670                mouse_events: 0;
11671                repeat_events: 1;
11672                description { state: "default" 0.0;
11673                    color: 0 0 0 0;
11674                    rel1.offset: 10 10;
11675                    rel2.offset: -10 -10;
11676                    rel1.relative: 0.0 1.0;
11677                    rel2.relative: 1.0 2.0;
11678                }
11679                description { state: "visible" 0.0;
11680                    inherit: "default" 0.0;
11681                    color: 0 0 0 64;
11682                    rel1.relative: 0.0 0.0;
11683                    rel2.relative: 1.0 1.0;
11684                }
11685            }
11686            part { name: "shad";
11687                mouse_events:  0;
11688                description { state: "default" 0.0;
11689                    image.normal: "shad_circ.png";
11690                    rel1.to: "elm.swallow.content";
11691                    rel1.offset: -64 -64;
11692                    rel2.to: "elm.swallow.content";
11693                    rel2.offset: 63 63;
11694                    fill.smooth: 0;
11695                }
11696            }
11697            part { name: "pop";
11698                mouse_events: 1;
11699                description { state: "default" 0.0;
11700                    rel1.to: "elm.swallow.content";
11701                    rel1.offset: -5 -5;
11702                    rel2.to: "elm.swallow.content";
11703                    rel2.offset: 4 4;
11704                    image {
11705                        normal: "bt_dis_base.png";
11706                        border: 4 4 4 4;
11707                    }
11708                    image.middle: SOLID;
11709                }
11710            }
11711            part { name: "popover";
11712                mouse_events: 0;
11713                description { state: "default" 0.0;
11714                    rel1.to: "pop";
11715                    rel2.to: "pop";
11716                    rel2.relative: 1.0 0.5;
11717                    image {
11718                        normal: "bt_dis_hilight.png";
11719                        border: 4 4 4 0;
11720                    }
11721                }
11722            }
11723            part { name: "elm.swallow.content";
11724                type: SWALLOW;
11725                description { state: "default" 0.0;
11726                    rel1.to: "base";
11727                    rel2.to: "base";
11728                }
11729            }
11730        }
11731        programs {
11732            program { name: "show";
11733                signal: "elm,action,show";
11734                source: "elm";
11735                action: STATE_SET "visible" 0.0;
11736                target: "base";
11737            }
11738            program { name: "show_2";
11739                signal: "show";
11740                action: STATE_SET "default" 0.0;
11741                target: "base";
11742                after: "show_3";
11743            }
11744            program { name: "show_3";
11745                signal: "show";
11746                action: STATE_SET "visible" 0.0;
11747                target: "base";
11748                transition: LINEAR 0.5;
11749            }
11750            program { name: "hide";
11751                signal: "elm,action,hide";
11752                source: "elm";
11753                action: STATE_SET "default" 0.0;
11754                target: "base";
11755            }
11756        }
11757    }
11758    group { name: "elm/notify/bottom_right/default";
11759        //this group is a design similar to the inwin group
11760        images {
11761            image: "shad_circ.png" COMP;
11762            image: "bt_dis_base.png" COMP;
11763            image: "bt_dis_hilight.png" COMP;
11764        }
11765        parts {
11766            part { name: "base";
11767                type: RECT;
11768                mouse_events: 0;
11769                repeat_events: 1;
11770               description { state: "default" 0.0;
11771                    color: 0 0 0 0;
11772                    rel1.offset: 10 10;
11773                    rel2.offset: -10 -10;
11774                    rel1.relative: 0.0 1.0;
11775                    rel2.relative: 1.0 2.0;
11776                }
11777                description { state: "visible" 0.0;
11778                    inherit: "default" 0.0;
11779                    color: 0 0 0 64;
11780                    rel1.relative: 0.0 0.0;
11781                    rel2.relative: 1.0 1.0;
11782                }
11783            }
11784            part { name: "shad";
11785                mouse_events:  0;
11786                description { state: "default" 0.0;
11787                    image.normal: "shad_circ.png";
11788                    rel1.to: "elm.swallow.content";
11789                    rel1.offset: -64 -64;
11790                    rel2.to: "elm.swallow.content";
11791                    rel2.offset: 63 63;
11792                    fill.smooth: 0;
11793                }
11794            }
11795            part { name: "pop";
11796                mouse_events: 1;
11797                description { state: "default" 0.0;
11798                    rel1.to: "elm.swallow.content";
11799                    rel1.offset: -5 -5;
11800                    rel2.to: "elm.swallow.content";
11801                    rel2.offset: 4 4;
11802                    image {
11803                        normal: "bt_dis_base.png";
11804                        border: 4 4 4 4;
11805                    }
11806                    image.middle: SOLID;
11807                }
11808            }
11809            part { name: "popover";
11810                mouse_events: 0;
11811                description { state: "default" 0.0;
11812                    rel1.to: "pop";
11813                    rel2.to: "pop";
11814                    rel2.relative: 1.0 0.5;
11815                    image {
11816                        normal: "bt_dis_hilight.png";
11817                        border: 4 4 4 0;
11818                    }
11819                }
11820            }
11821            part { name: "elm.swallow.content";
11822                type: SWALLOW;
11823                description { state: "default" 0.0;
11824                    rel1.to: "base";
11825                    rel2.to: "base";
11826                }
11827            }
11828        }
11829        programs {
11830            program { name: "show";
11831                signal: "elm,action,show";
11832                source: "elm";
11833                action: STATE_SET "visible" 0.0;
11834                target: "base";
11835            }
11836            program { name: "show_2";
11837                signal: "show";
11838                action: STATE_SET "default" 0.0;
11839                target: "base";
11840                after: "show_3";
11841            }
11842            program { name: "show_3";
11843                signal: "show";
11844                action: STATE_SET "visible" 0.0;
11845                target: "base";
11846                transition: LINEAR 0.5;
11847            }
11848            program { name: "hide";
11849                signal: "elm,action,hide";
11850                source: "elm";
11851                action: STATE_SET "default" 0.0;
11852                target: "base";
11853            }
11854        }
11855    }
11856
11857 ///////////////////////////////////////////////////////////////////////////////
11858    group { name: "elm/slideshow/base/default";
11859       data {
11860          item: transitions "fade black_fade horizontal vertical square";
11861          item: layouts "fullscreen not_fullscreen";
11862       }
11863       parts {
11864          part { name: "whole";
11865                  type: RECT;
11866             description {
11867                state: "default" 0.0;
11868                visible: 1;
11869                color: 20 20 20 255;
11870             }
11871          }
11872          part { name: "image_1_whole";
11873             type: RECT;
11874             description {
11875                state: "default" 0.0;
11876                color: 255 255 255 255;
11877             }
11878             description {
11879                state: "fade_prev_next" 0.0;
11880                inherit: "default" 0.0;
11881                color: 255 255 255 0;
11882             }
11883             description {
11884                state: "black_fade_prev_next_init" 0.0;
11885                inherit: "default" 0.0;
11886                color: 255 255 255 255;
11887             }
11888             description {
11889                state: "black_fade_prev_next" 0.0;
11890                inherit: "default" 0.0;
11891                color: 0 0 0 255;
11892             }
11893             description {
11894                state: "horizontal_next_init" 0.0;
11895                inherit: "default" 0.0;
11896             }
11897             description {
11898                state: "horizontal_next" 0.0;
11899                inherit: "default" 0.0;
11900                rel1.relative: -1.0 0.0;
11901                rel2.relative: 0.0 1.0;
11902             }
11903             description {
11904                state: "horizontal_prev_init" 0.0;
11905                inherit: "default" 0.0;
11906             }
11907             description {
11908                state: "horizontal_prev" 0.0;
11909                inherit: "default" 0.0;
11910                rel1.relative: 1.0 0.0;
11911                rel2.relative: 2.0 1.0;
11912             }
11913             description {
11914                state: "vertical_next_init" 0.0;
11915                inherit: "default" 0.0;
11916             }
11917             description {
11918                state: "vertical_next" 0.0;
11919                inherit: "default" 0.0;
11920                rel1.relative: 0.0 -1.0;
11921                rel2.relative: 1.0 0.0;
11922             }
11923             description {
11924                state: "vertical_prev_init" 0.0;
11925                inherit: "default" 0.0;
11926             }
11927             description {
11928                state: "vertical_prev" 0.0;
11929                inherit: "default" 0.0;
11930                rel1.relative: 0.0 1.0;
11931                rel2.relative: 1.0 2.0;
11932             }
11933             description {
11934                state: "square_prev_next" 0.0;
11935                inherit: "default" 0.0;
11936                color: 255 255 255 0;
11937             }
11938          }
11939          part { name: "image_2_whole";
11940             type: RECT;
11941             description {
11942                state: "default" 0.0;
11943                visible: 1;
11944                color: 255 255 255 0;
11945             }
11946             description {
11947                state: "fade_prev_next" 0.0;
11948                inherit: "default" 0.0;
11949                color: 255 255 255 255;
11950             }
11951             description {
11952                state: "black_fade_prev_next_init" 0.0;
11953                inherit: "default" 0.0;
11954                color: 0 0 0 0;
11955             }
11956             description {
11957                state: "black_fade_prev_next" 0.0;
11958                inherit: "default" 0.0;
11959                color: 255 255 255 255;
11960             }
11961             description {
11962                state: "horizontal_next_init" 0.0;
11963                inherit: "default" 0.0;
11964                rel1.relative: 1.0 0.0;
11965                rel2.relative: 2.0 1.0;
11966                color: 255 255 255 255;
11967             }
11968             description {
11969                state: "horizontal_next" 0.0;
11970                inherit: "default" 0.0;
11971                color: 255 255 255 255;
11972             }
11973             description {
11974                state: "horizontal_prev_init" 0.0;
11975                inherit: "default" 0.0;
11976                rel1.relative: -1.0 0.0;
11977                rel2.relative: 0.0 1.0;
11978                color: 255 255 255 255;
11979             }
11980             description {
11981                state: "horizontal_prev" 0.0;
11982                inherit: "default" 0.0;
11983                color: 255 255 255 255;
11984             }
11985             description {
11986                state: "vertical_next_init" 0.0;
11987                inherit: "default" 0.0;
11988                rel1.relative: 0.0 1.0;
11989                rel2.relative: 1.0 2.0;
11990                color: 255 255 255 255;
11991             }
11992             description {
11993                state: "vertical_next" 0.0;
11994                inherit: "default" 0.0;
11995                color: 255 255 255 255;
11996             }
11997             description {
11998                state: "vertical_prev_init" 0.0;
11999                inherit: "default" 0.0;
12000                rel1.relative: 0.0 -1.0;
12001                rel2.relative: 1.0 0.0;
12002                color: 255 255 255 255;
12003             }
12004             description {
12005                state: "vertical_prev" 0.0;
12006                inherit: "default" 0.0;
12007                color: 255 255 255 255;
12008             }
12009             description {
12010                state: "square_prev_next_init" 0.0;
12011                inherit: "default" 0.0;
12012                rel1.relative: 0.5 0.5;
12013                rel2.relative: 0.5 0.5;
12014                color: 255 255 255 255;
12015             }
12016             description {
12017                state: "square_prev_next" 0.0;
12018                inherit: "default" 0.0;
12019                rel1.relative: 0.0 0.0;
12020                rel2.relative: 1.0 1.0;
12021                color: 255 255 255 255;
12022             }
12023          }
12024          part { name: "elm.swallow.1";
12025             type: SWALLOW;
12026             clip_to: "image_1_whole";
12027             description {
12028                state: "default" 0.0;
12029                rel1.to: "image_1_whole";
12030                rel2.to: "image_1_whole";
12031                color: 255 255 255 255;
12032             }
12033             description {
12034                state: "not_fullscreen" 0.0;
12035                rel1.relative: 0.1 0.1;
12036                rel1.to: "image_1_whole";
12037                rel2.relative: 0.9 0.9;
12038                rel2.to: "image_1_whole";
12039                color: 255 255 255 255;
12040             }
12041          }
12042          part { name: "elm.swallow.2";
12043             type: SWALLOW;
12044             clip_to: "image_2_whole";
12045             description {
12046                state: "default" 0.0;
12047                color: 255 255 255 255;
12048                rel1.to: "image_2_whole";
12049                rel2.to: "image_2_whole";
12050             }
12051             description {
12052                state: "not_fullscreen" 0.0;
12053                color: 255 255 255 255;
12054                rel1.relative: 0.1 0.1;
12055                rel1.to: "image_2_whole";
12056                rel2.relative: 0.9 0.9;
12057                rel2.to: "image_2_whole";
12058             }
12059          }
12060          part { name: "events_catcher";
12061             type: RECT;
12062             repeat_events: 1;
12063             description {
12064                state: "default" 0.0;
12065                visible: 1;
12066                color: 0 0 0 0;
12067             }
12068          }
12069       }
12070       programs {
12071               //Substyle
12072               program { name: "layout_fullscreen";
12073             signal: "layout,fullscreen";
12074             source: "slideshow";
12075             action: STATE_SET "default" 0.0;
12076             target: "elm.swallow.1";
12077             target: "elm.swallow.2";
12078             transition: SINUSOIDAL 1.0;
12079         }
12080         program { name: "layout_not_fullscreen";
12081             signal: "layout,not_fullscreen";
12082             source: "slideshow";
12083             action: STATE_SET "not_fullscreen" 0.0;
12084             target: "elm.swallow.1";
12085             target: "elm.swallow.2";
12086             transition: SINUSOIDAL 1.0;
12087          }
12088                //
12089          program { name: "fade_next";
12090             signal: "fade,next";
12091             source: "slideshow";
12092             action: STATE_SET "default" 0.0;
12093             target: "image_1_whole";
12094             target: "image_2_whole";
12095             after: "fade_next_2";
12096          }
12097          program { name: "fade_next_2";
12098             action: STATE_SET "fade_prev_next" 0.0;
12099             target: "image_1_whole";
12100             target: "image_2_whole";
12101             transition: SINUSOIDAL 1.5;
12102             after: "end";
12103          }
12104          program { name: "fade_previous";
12105             signal: "fade,previous";
12106             source: "slideshow";
12107             action: STATE_SET "default" 0.0;
12108             target: "image_1_whole";
12109             target: "image_2_whole";
12110             after: "fade_previous_2";
12111          }
12112          program { name: "fade_previous_2";
12113             action: STATE_SET "fade_prev_next" 0.0;
12114             target: "image_1_whole";
12115             target: "image_2_whole";
12116             transition: SINUSOIDAL 1.5;
12117             after: "end";
12118          }
12119          program { name: "black_fade_next";
12120             signal: "black_fade,next";
12121             source: "slideshow";
12122             action: STATE_SET "black_fade_prev_next_init" 0.0;
12123             target: "image_1_whole";
12124             target: "image_2_whole";
12125             after: "black_fade_next_2";
12126          }
12127          program { name: "black_fade_next_2";
12128             action: STATE_SET "black_fade_prev_next" 0.0;
12129             target: "image_1_whole";
12130             transition: SINUSOIDAL 0.75;
12131             after: "black_fade_next_3";
12132          }
12133          program { name: "black_fade_next_3";
12134             action: STATE_SET "black_fade_prev_next" 0.0;
12135             target: "image_2_whole";
12136             transition: SINUSOIDAL 0.75;
12137             after: "end";
12138          }
12139          program { name: "black_fade_previous";
12140             signal: "black_fade,previous";
12141             source: "slideshow";
12142             action: STATE_SET "black_fade_prev_next_init" 0.0;
12143             target: "image_1_whole";
12144             target: "image_2_whole";
12145             after: "black_fade_previous_2";
12146          }
12147          program { name: "black_fade_previous_2";
12148             action: STATE_SET "black_fade_prev_next" 0.0;
12149             target: "image_1_whole";
12150             transition: SINUSOIDAL 0.75;
12151             after: "black_fade_previous_3";
12152          }
12153          program { name: "black_fade_previous_3";
12154             action: STATE_SET "black_fade_prev_next" 0.0;
12155             target: "image_2_whole";
12156             transition: SINUSOIDAL 0.75;
12157             after: "end";
12158          }
12159          program { name: "horizontal_next";
12160             signal: "horizontal,next";
12161             source: "slideshow";
12162             action: STATE_SET "horizontal_next_init" 0.0;
12163             target: "image_1_whole";
12164             target: "image_2_whole";
12165             after: "horizontal_next_2";
12166          }
12167          program { name: "horizontal_next_2";
12168             action: STATE_SET "horizontal_next" 0.0;
12169             target: "image_1_whole";
12170             target: "image_2_whole";
12171             transition: SINUSOIDAL 1.5;
12172             after: "end";
12173          }
12174          program { name: "horizontal_previous";
12175             signal: "horizontal,previous";
12176             source: "slideshow";
12177             action: STATE_SET "horizontal_prev_init" 0.0;
12178             target: "image_1_whole";
12179             target: "image_2_whole";
12180             after: "horizontal_previous_2";
12181          }
12182          program { name: "horizontal_previous_2";
12183             action: STATE_SET "horizontal_prev" 0.0;
12184             target: "image_1_whole";
12185             target: "image_2_whole";
12186             transition: SINUSOIDAL 1.5;
12187             after: "end";
12188          }
12189          program { name: "vertical_next";
12190             signal: "vertical,next";
12191             source: "slideshow";
12192             action: STATE_SET "vertical_next_init" 0.0;
12193             target: "image_1_whole";
12194             target: "image_2_whole";
12195             after: "vertical_next_2";
12196          }
12197          program { name: "vertical_next_2";
12198             action: STATE_SET "vertical_next" 0.0;
12199             target: "image_1_whole";
12200             target: "image_2_whole";
12201             transition: SINUSOIDAL 1.5;
12202             after: "end";
12203          }
12204          program { name: "vertical_previous";
12205             signal: "vertical,previous";
12206             source: "slideshow";
12207             action: STATE_SET "vertical_prev_init" 0.0;
12208             target: "image_1_whole";
12209             target: "image_2_whole";
12210             after: "vertical_previous_2";
12211          }
12212          program { name: "vertical_previous_2";
12213             action: STATE_SET "vertical_prev" 0.0;
12214             target: "image_1_whole";
12215             target: "image_2_whole";
12216             transition: SINUSOIDAL 1.5;
12217             after: "end";
12218          }
12219          program { name: "square_next";
12220             signal: "square,next";
12221             source: "slideshow";
12222             action: STATE_SET "square_prev_next_init" 0.0;
12223             target: "image_2_whole";
12224             after: "square_next_2";
12225          }
12226          program { name: "square_next_2";
12227             action: STATE_SET "square_prev_next" 0.0;
12228             target: "image_2_whole";
12229             target: "image_1_whole";
12230             transition: SINUSOIDAL 1.5;
12231             after: "end";
12232          }
12233          program { name: "square_previous";
12234             signal: "square,previous";
12235             source: "slideshow";
12236             action: STATE_SET "square_prev_next_init" 0.0;
12237             target: "image_2_whole";
12238             after: "square_next_2";
12239          }
12240          program { name: "end";
12241             action: SIGNAL_EMIT "end" "slideshow";
12242          }
12243          program { name: "end_signal";
12244             signal: "anim,end";
12245             source: "slideshow";
12246             action: STATE_SET "default" 0.0;
12247             target: "image_1_whole";
12248             target: "image_2_whole";
12249          }
12250       }
12251    }
12252
12253 ///////////////////////////////////////////////////////////////////////////////
12254    group { name: "elm/win/inwin/default";
12255       images {
12256          image: "shad_circ.png" COMP;
12257          image: "bt_dis_base.png" COMP;
12258          image: "bt_dis_hilight.png" COMP;
12259       }
12260       parts {
12261          part { name: "base";
12262             type: RECT;
12263             mouse_events: 1;
12264             description { state: "default" 0.0;
12265                color: 0 0 0 0;
12266             }
12267             description { state: "visible" 0.0;
12268                inherit: "default" 1.0;
12269                color: 0 0 0 64;
12270             }
12271          }
12272          part { name: "shad";
12273             mouse_events:  0;
12274             description { state: "default" 0.0;
12275                image.normal: "shad_circ.png";
12276                rel1.to: "elm.swallow.content";
12277                rel1.offset: -64 -64;
12278                rel2.to: "elm.swallow.content";
12279                rel2.offset: 63 63;
12280                fill.smooth: 0;
12281             }
12282          }
12283          part { name: "pop";
12284             mouse_events: 1;
12285             description { state: "default" 0.0;
12286                rel1.to: "elm.swallow.content";
12287                rel1.offset: -5 -5;
12288                rel2.to: "elm.swallow.content";
12289                rel2.offset: 4 4;
12290                image {
12291                   normal: "bt_dis_base.png";
12292                   border: 4 4 4 4;
12293                }
12294                image.middle: SOLID;
12295             }
12296          }
12297          part { name: "popover";
12298             mouse_events: 0;
12299             description { state: "default" 0.0;
12300                rel1.to: "pop";
12301                rel2.to: "pop";
12302                rel2.relative: 1.0 0.5;
12303                image {
12304                   normal: "bt_dis_hilight.png";
12305                   border: 4 4 4 0;
12306                }
12307             }
12308          }
12309          part { name: "elm.swallow.content";
12310             type: SWALLOW;
12311             description { state: "default" 0.0;
12312                rel1.relative: 0.1 0.1;
12313                rel2.relative: 0.9 0.9;
12314             }
12315          }
12316       }
12317       programs {
12318          program { name: "show";
12319             signal: "elm,action,show";
12320             source: "elm";
12321             action: STATE_SET "visible" 0.0;
12322 //            transition: DECELERATE 0.5;
12323             target: "base";
12324          }
12325          program { name: "hide";
12326             signal: "elm,action,hide";
12327             source: "elm";
12328             action: STATE_SET "default" 0.0;
12329 //            transition: DECELERATE 0.5;
12330             target: "base";
12331          }
12332       }
12333    }
12334
12335    group { name: "elm/win/inwin/minimal";
12336       images {
12337          image: "shad_circ.png" COMP;
12338          image: "bt_dis_base.png" COMP;
12339          image: "bt_dis_hilight.png" COMP;
12340       }
12341       parts {
12342          part { name: "base";
12343             type: RECT;
12344             mouse_events: 1;
12345             description { state: "default" 0.0;
12346                color: 0 0 0 0;
12347             }
12348             description { state: "visible" 0.0;
12349                inherit: "default" 1.0;
12350                color: 0 0 0 64;
12351             }
12352          }
12353          part { name: "shad";
12354             mouse_events:  0;
12355             description { state: "default" 0.0;
12356                image.normal: "shad_circ.png";
12357                rel1.to: "elm.swallow.content";
12358                rel1.offset: -64 -64;
12359                rel2.to: "elm.swallow.content";
12360                rel2.offset: 63 63;
12361                fill.smooth: 0;
12362             }
12363          }
12364          part { name: "pop";
12365             mouse_events: 1;
12366             description { state: "default" 0.0;
12367                rel1.to: "elm.swallow.content";
12368                rel1.offset: -5 -5;
12369                rel2.to: "elm.swallow.content";
12370                rel2.offset: 4 4;
12371                image {
12372                   normal: "bt_dis_base.png";
12373                   border: 4 4 4 4;
12374                }
12375                image.middle: SOLID;
12376             }
12377          }
12378          part { name: "popover";
12379             mouse_events: 0;
12380             description { state: "default" 0.0;
12381                rel1.to: "pop";
12382                rel2.to: "pop";
12383                rel2.relative: 1.0 0.5;
12384                image {
12385                   normal: "bt_dis_hilight.png";
12386                   border: 4 4 4 0;
12387                }
12388             }
12389          }
12390          part { name: "elm.swallow.content";
12391             type: SWALLOW;
12392             description { state: "default" 0.0;
12393                fixed: 1 1;
12394                rel1.relative: 0.5 0.5;
12395                rel2.relative: 0.5 0.5;
12396             }
12397          }
12398       }
12399       programs {
12400          program { name: "show";
12401             signal: "elm,action,show";
12402             source: "elm";
12403             action: STATE_SET "visible" 0.0;
12404 //            transition: DECELERATE 0.5;
12405             target: "base";
12406          }
12407          program { name: "hide";
12408             signal: "elm,action,hide";
12409             source: "elm";
12410             action: STATE_SET "default" 0.0;
12411 //            transition: DECELERATE 0.5;
12412             target: "base";
12413          }
12414       }
12415    }
12416
12417    group { name: "elm/win/inwin/minimal_vertical";
12418       images {
12419          image: "shad_circ.png" COMP;
12420          image: "bt_dis_base.png" COMP;
12421          image: "bt_dis_hilight.png" COMP;
12422       }
12423       parts {
12424          part { name: "base";
12425             type: RECT;
12426             mouse_events: 1;
12427             description { state: "default" 0.0;
12428                color: 0 0 0 0;
12429             }
12430             description { state: "visible" 0.0;
12431                inherit: "default" 1.0;
12432                color: 0 0 0 64;
12433             }
12434          }
12435          part { name: "shad";
12436             mouse_events:  0;
12437             description { state: "default" 0.0;
12438                image.normal: "shad_circ.png";
12439                rel1.to: "elm.swallow.content";
12440                rel1.offset: -64 -64;
12441                rel2.to: "elm.swallow.content";
12442                rel2.offset: 63 63;
12443                fill.smooth: 0;
12444             }
12445          }
12446          part { name: "pop";
12447             mouse_events: 1;
12448             description { state: "default" 0.0;
12449                rel1.to: "elm.swallow.content";
12450                rel1.offset: -5 -5;
12451                rel2.to: "elm.swallow.content";
12452                rel2.offset: 4 4;
12453                image {
12454                   normal: "bt_dis_base.png";
12455                   border: 4 4 4 4;
12456                }
12457                image.middle: SOLID;
12458             }
12459          }
12460          part { name: "popover";
12461             mouse_events: 0;
12462             description { state: "default" 0.0;
12463                rel1.to: "pop";
12464                rel2.to: "pop";
12465                rel2.relative: 1.0 0.5;
12466                image {
12467                   normal: "bt_dis_hilight.png";
12468                   border: 4 4 4 0;
12469                }
12470             }
12471          }
12472          part { name: "elm.swallow.content";
12473             type: SWALLOW;
12474             description { state: "default" 0.0;
12475                fixed: 1 1;
12476                rel1.relative: 0.1 0.5;
12477                rel2.relative: 0.9 0.5;
12478             }
12479          }
12480       }
12481       programs {
12482          program { name: "show";
12483             signal: "elm,action,show";
12484             source: "elm";
12485             action: STATE_SET "visible" 0.0;
12486 //            transition: DECELERATE 0.5;
12487             target: "base";
12488          }
12489          program { name: "hide";
12490             signal: "elm,action,hide";
12491             source: "elm";
12492             action: STATE_SET "default" 0.0;
12493 //            transition: DECELERATE 0.5;
12494             target: "base";
12495          }
12496       }
12497    }
12498
12499 ///////////////////////////////////////////////////////////////////////////////
12500
12501 ///////////////////////////////////////////////////////////////////////////////
12502    group { name: "elm/list/item/default";
12503       data.item: "stacking" "above";
12504       images {
12505          image: "bt_sm_base1.png" COMP;
12506          image: "bt_sm_shine.png" COMP;
12507          image: "bt_sm_hilight.png" COMP;
12508          image: "ilist_1.png" COMP;
12509          image: "ilist_item_shadow.png" COMP;
12510       }
12511       parts {
12512          part {
12513             name:           "event";
12514             type:           RECT;
12515             repeat_events: 1;
12516             description {
12517                state: "default" 0.0;
12518                color: 0 0 0 0;
12519             }
12520          }
12521          part {
12522             name: "base_sh";
12523             mouse_events: 0;
12524             description {
12525                state: "default" 0.0;
12526                align: 0.0 0.0;
12527                min: 0 10;
12528                fixed: 1 1;
12529                rel1 {
12530                   to: "base";
12531                   relative: 0.0 1.0;
12532                   offset: 0 0;
12533                }
12534                rel2 {
12535                   to: "base";
12536                   relative: 1.0 1.0;
12537                   offset: -1 0;
12538                }
12539                image {
12540                   normal: "ilist_item_shadow.png";
12541                }
12542                fill.smooth: 0;
12543             }
12544          }
12545          part {
12546             name: "base";
12547             mouse_events: 0;
12548             description {
12549                state: "default" 0.0;
12550                image {
12551                   normal: "ilist_1.png";
12552                   border: 2 2 2 2;
12553                }
12554                fill.smooth: 0;
12555             }
12556          }
12557          part { name: "bg";
12558             mouse_events: 0;
12559             description { state: "default" 0.0;
12560                visible: 0;
12561                color: 255 255 255 0;
12562                rel1 {
12563                   relative: 0.0 0.0;
12564                   offset: -5 -5;
12565                }
12566                rel2 {
12567                   relative: 1.0 1.0;
12568                   offset: 4 4;
12569                }
12570                image {
12571                   normal: "bt_sm_base1.png";
12572                   border: 6 6 6 6;
12573                }
12574                image.middle: SOLID;
12575             }
12576             description { state: "selected" 0.0;
12577                inherit: "default" 0.0;
12578                visible: 1;
12579                color: 255 255 255 255;
12580                rel1 {
12581                   relative: 0.0 0.0;
12582                   offset: -2 -2;
12583                }
12584                rel2 {
12585                   relative: 1.0 1.0;
12586                   offset: 1 1;
12587                }
12588             }
12589          }
12590          part { name: "elm.swallow.icon";
12591             type: SWALLOW;
12592             description { state: "default" 0.0;
12593                fixed: 1 0;
12594                align: 0.0 0.5;
12595                rel1 {
12596                   relative: 0.0  0.0;
12597                   offset:   4    4;
12598                }
12599                rel2 {
12600                   relative: 0.0  1.0;
12601                   offset:   4   -5;
12602                }
12603             }
12604          }
12605          part { name: "elm.swallow.end";
12606             type: SWALLOW;
12607             description { state: "default" 0.0;
12608                fixed: 1 0;
12609                align: 1.0 0.5;
12610                rel1 {
12611                   relative: 1.0  0.0;
12612                   offset:   -5    4;
12613                }
12614                rel2 {
12615                   relative: 1.0  1.0;
12616                   offset:   -5   -5;
12617                }
12618             }
12619          }
12620          part { name: "elm.text";
12621             type:           TEXT;
12622             effect:         SOFT_SHADOW;
12623             mouse_events:   0;
12624             scale: 1;
12625             description {
12626                state: "default" 0.0;
12627 //               min: 16 16;
12628                rel1 {
12629                   to_x:     "elm.swallow.icon";
12630                   relative: 1.0  0.0;
12631                   offset:   4 4;
12632                }
12633                rel2 {
12634                   to_x:     "elm.swallow.end";
12635                   relative: 0.0  1.0;
12636                   offset:   -1 -5;
12637                }
12638                color: 0 0 0 255;
12639                color3: 0 0 0 0;
12640                text {
12641                   font: "Sans";
12642                   size: 10;
12643                   min: 1 1;
12644 //                  min: 0 1;
12645                   align: -1.0 0.5;
12646                   text_class: "list_item";
12647                }
12648             }
12649             description { state: "selected" 0.0;
12650                inherit: "default" 0.0;
12651                color: 224 224 224 255;
12652                color3: 0 0 0 64;
12653             }
12654          }
12655          part { name: "fg1";
12656             mouse_events: 0;
12657             description { state: "default" 0.0;
12658                visible: 0;
12659                color: 255 255 255 0;
12660                rel1.to: "bg";
12661                rel2.relative: 1.0 0.5;
12662                rel2.to: "bg";
12663                image {
12664                   normal: "bt_sm_hilight.png";
12665                   border: 6 6 6 0;
12666                }
12667             }
12668             description { state: "selected" 0.0;
12669                inherit: "default" 0.0;
12670                visible: 1;
12671                color: 255 255 255 255;
12672             }
12673          }
12674          part { name: "fg2";
12675             mouse_events: 0;
12676             description { state: "default" 0.0;
12677                visible: 0;
12678                color: 255 255 255 0;
12679                rel1.to: "bg";
12680                rel2.to: "bg";
12681                image {
12682                   normal: "bt_sm_shine.png";
12683                   border: 6 6 6 0;
12684                }
12685             }
12686             description { state: "selected" 0.0;
12687                inherit: "default" 0.0;
12688                visible: 1;
12689                color: 255 255 255 255;
12690             }
12691          }
12692       }
12693       programs {
12694          program {
12695             name:    "go_active";
12696             signal:  "elm,state,selected";
12697             source:  "elm";
12698             action:  STATE_SET "selected" 0.0;
12699             target:  "bg";
12700             target:  "fg1";
12701             target:  "fg2";
12702             target:  "elm.text";
12703          }
12704          program {
12705             name:    "go_passive";
12706             signal:  "elm,state,unselected";
12707             source:  "elm";
12708             action:  STATE_SET "default" 0.0;
12709             target:  "bg";
12710             target:  "fg1";
12711             target:  "fg2";
12712             target:  "elm.text";
12713             transition: LINEAR 0.1;
12714          }
12715       }
12716    }
12717    group { name: "elm/list/item_odd/default";
12718       data.item: "stacking" "below";
12719       data.item: "selectraise" "on";
12720       images {
12721          image: "bt_sm_base1.png" COMP;
12722          image: "bt_sm_shine.png" COMP;
12723          image: "bt_sm_hilight.png" COMP;
12724          image: "ilist_2.png" COMP;
12725       }
12726       parts {
12727          part {
12728             name:           "event";
12729             type:           RECT;
12730             repeat_events: 1;
12731             description {
12732                state: "default" 0.0;
12733                color: 0 0 0 0;
12734             }
12735          }
12736          part {
12737             name: "base";
12738             mouse_events: 0;
12739             description {
12740                state: "default" 0.0;
12741                image {
12742                   normal: "ilist_2.png";
12743                   border: 2 2 2 2;
12744                }
12745                fill.smooth: 0;
12746             }
12747          }
12748          part { name: "bg";
12749             mouse_events: 0;
12750             description { state: "default" 0.0;
12751                visible: 0;
12752                color: 255 255 255 0;
12753                rel1 {
12754                   relative: 0.0 0.0;
12755                   offset: -5 -5;
12756                }
12757                rel2 {
12758                   relative: 1.0 1.0;
12759                   offset: 4 4;
12760                }
12761                image {
12762                   normal: "bt_sm_base1.png";
12763                   border: 6 6 6 6;
12764                }
12765                image.middle: SOLID;
12766             }
12767             description { state: "selected" 0.0;
12768                inherit: "default" 0.0;
12769                visible: 1;
12770                color: 255 255 255 255;
12771                rel1 {
12772                   relative: 0.0 0.0;
12773                   offset: -2 -2;
12774                }
12775                rel2 {
12776                   relative: 1.0 1.0;
12777                   offset: 1 1;
12778                }
12779             }
12780          }
12781          part {
12782             name:          "elm.swallow.icon";
12783             type:          SWALLOW;
12784             description { state:    "default" 0.0;
12785                fixed: 1 0;
12786                align:    0.0 0.5;
12787                rel1 {
12788                   relative: 0.0  0.0;
12789                   offset:   4    4;
12790                }
12791                rel2 {
12792                   relative: 0.0  1.0;
12793                   offset:   4   -5;
12794                }
12795             }
12796          }
12797          part {
12798             name:          "elm.swallow.end";
12799             type:          SWALLOW;
12800             description { state:    "default" 0.0;
12801                fixed: 1 0;
12802                align: 1.0 0.5;
12803                rel1 {
12804                   relative: 1.0  0.0;
12805                   offset:   -5    4;
12806                }
12807                rel2 {
12808                   relative: 1.0  1.0;
12809                   offset:   -5   -5;
12810                }
12811             }
12812          }
12813          part {
12814             name:           "elm.text";
12815             type:           TEXT;
12816             effect:         SOFT_SHADOW;
12817             mouse_events:   0;
12818             scale: 1;
12819             description {
12820                state: "default" 0.0;
12821 //               min:      16 16;
12822                rel1 {
12823                   to_x:     "elm.swallow.icon";
12824                   relative: 1.0  0.0;
12825                   offset:   4 4;
12826                }
12827                rel2 {
12828                   to_x:     "elm.swallow.end";
12829                   relative: 0.0  1.0;
12830                   offset:   -1 -5;
12831                }
12832                color: 0 0 0 255;
12833                color3: 0 0 0 0;
12834                text {
12835                   font: "Sans";
12836                   size: 10;
12837                   min: 1 1;
12838 //                  min: 0 1;
12839                   align: -1.0 0.5;
12840                   text_class: "list_item";
12841                }
12842             }
12843             description { state: "selected" 0.0;
12844                inherit: "default" 0.0;
12845                color: 224 224 224 255;
12846                color3: 0 0 0 64;
12847             }
12848          }
12849          part { name: "fg1";
12850             mouse_events: 0;
12851             description { state: "default" 0.0;
12852                visible: 0;
12853                color: 255 255 255 0;
12854                rel1.to: "bg";
12855                rel2.relative: 1.0 0.5;
12856                rel2.to: "bg";
12857                image {
12858                   normal: "bt_sm_hilight.png";
12859                   border: 6 6 6 0;
12860                }
12861             }
12862             description { state: "selected" 0.0;
12863                inherit: "default" 0.0;
12864                visible: 1;
12865                color: 255 255 255 255;
12866             }
12867          }
12868          part { name: "fg2";
12869             mouse_events: 0;
12870             description { state: "default" 0.0;
12871                visible: 0;
12872                color: 255 255 255 0;
12873                rel1.to: "bg";
12874                rel2.to: "bg";
12875                image {
12876                   normal: "bt_sm_shine.png";
12877                   border: 6 6 6 0;
12878                }
12879             }
12880             description { state: "selected" 0.0;
12881                inherit: "default" 0.0;
12882                visible: 1;
12883                color: 255 255 255 255;
12884             }
12885          }
12886       }
12887       programs {
12888          program {
12889             name:    "go_active";
12890             signal:  "elm,state,selected";
12891             source:  "elm";
12892             action:  STATE_SET "selected" 0.0;
12893             target:  "bg";
12894             target:  "fg1";
12895             target:  "fg2";
12896             target:  "elm.text";
12897          }
12898          program {
12899             name:    "go_passive";
12900             signal:  "elm,state,unselected";
12901             source:  "elm";
12902             action:  STATE_SET "default" 0.0;
12903             target:  "bg";
12904             target:  "fg1";
12905             target:  "fg2";
12906             target:  "elm.text";
12907             transition: LINEAR 0.1;
12908          }
12909       }
12910    }
12911    group { name: "elm/list/item_compress/default";
12912       data.item: "stacking" "above";
12913       data.item: "selectraise" "on";
12914       images {
12915          image: "bt_sm_base1.png" COMP;
12916          image: "bt_sm_shine.png" COMP;
12917          image: "bt_sm_hilight.png" COMP;
12918          image: "ilist_1.png" COMP;
12919          image: "ilist_item_shadow.png" COMP;
12920       }
12921       parts {
12922          part {
12923             name:           "event";
12924             type:           RECT;
12925             repeat_events: 1;
12926             description {
12927                state: "default" 0.0;
12928                color: 0 0 0 0;
12929             }
12930          }
12931          part {
12932             name: "base_sh";
12933             mouse_events: 0;
12934             description { state: "default" 0.0;
12935                fixed: 1 1;
12936                align: 0.0 0.0;
12937                min: 0 10;
12938                rel1 {
12939                   to: "base";
12940                   relative: 0.0 1.0;
12941                   offset: 0 0;
12942                }
12943                rel2 {
12944                   to: "base";
12945                   relative: 1.0 1.0;
12946                   offset: -1 0;
12947                }
12948                image {
12949                   normal: "ilist_item_shadow.png";
12950                }
12951                fill.smooth: 0;
12952             }
12953          }
12954          part {
12955             name: "base";
12956             mouse_events: 0;
12957             description {
12958                state: "default" 0.0;
12959                image {
12960                   normal: "ilist_1.png";
12961                   border: 2 2 2 2;
12962                }
12963                fill.smooth: 0;
12964             }
12965          }
12966          part { name: "bg";
12967             mouse_events: 0;
12968             description { state: "default" 0.0;
12969                visible: 0;
12970                color: 255 255 255 0;
12971                rel1 {
12972                   relative: 0.0 0.0;
12973                   offset: -5 -5;
12974                }
12975                rel2 {
12976                   relative: 1.0 1.0;
12977                   offset: 4 4;
12978                }
12979                image {
12980                   normal: "bt_sm_base1.png";
12981                   border: 6 6 6 6;
12982                }
12983                image.middle: SOLID;
12984             }
12985             description { state: "selected" 0.0;
12986                inherit: "default" 0.0;
12987                visible: 1;
12988                color: 255 255 255 255;
12989                rel1 {
12990                   relative: 0.0 0.0;
12991                   offset: -2 -2;
12992                }
12993                rel2 {
12994                   relative: 1.0 1.0;
12995                   offset: 1 1;
12996                }
12997             }
12998          }
12999          part { name:          "elm.swallow.icon";
13000             type:          SWALLOW;
13001             description { state:    "default" 0.0;
13002                fixed: 1 0;
13003                align:    0.0 0.5;
13004                rel1 {
13005                   relative: 0.0  0.0;
13006                   offset:   4    4;
13007                }
13008                rel2 {
13009                   relative: 0.0  1.0;
13010                   offset:   4   -5;
13011                }
13012             }
13013          }
13014          part { name:          "elm.swallow.end";
13015             type:          SWALLOW;
13016             description { state:    "default" 0.0;
13017                fixed: 1 0;
13018                align:    1.0 0.5;
13019                rel1 {
13020                   relative: 1.0  0.0;
13021                   offset:   -5    4;
13022                }
13023                rel2 {
13024                   relative: 1.0  1.0;
13025                   offset:   -5   -5;
13026                }
13027             }
13028          }
13029          part {
13030             name:           "elm.text";
13031             type:           TEXT;
13032             effect:         SOFT_SHADOW;
13033             mouse_events:   0;
13034             scale: 1;
13035             description { state: "default" 0.0;
13036 //               min:      16 16;
13037                rel1 {
13038                   to_x:     "elm.swallow.icon";
13039                   relative: 1.0  0.0;
13040                   offset:   4 4;
13041                }
13042                rel2 {
13043                   to_x:     "elm.swallow.end";
13044                   relative: 0.0  1.0;
13045                   offset:   -1 -5;
13046                }
13047                color: 0 0 0 255;
13048                color3: 0 0 0 0;
13049                text {
13050                   font: "Sans";
13051                   size: 10;
13052 //                  min: 1 1;
13053                   min: 0 1;
13054                   align: 0.0 0.5;
13055                   text_class: "list_item";
13056                }
13057             }
13058             description { state: "selected" 0.0;
13059                inherit: "default" 0.0;
13060                color: 224 224 224 255;
13061                color3: 0 0 0 64;
13062             }
13063          }
13064          part { name: "fg1";
13065             mouse_events: 0;
13066             description { state: "default" 0.0;
13067                visible: 0;
13068                color: 255 255 255 0;
13069                rel1.to: "bg";
13070                rel2.relative: 1.0 0.5;
13071                rel2.to: "bg";
13072                image {
13073                   normal: "bt_sm_hilight.png";
13074                   border: 6 6 6 0;
13075                }
13076             }
13077             description { state: "selected" 0.0;
13078                inherit: "default" 0.0;
13079                visible: 1;
13080                color: 255 255 255 255;
13081             }
13082          }
13083          part { name: "fg2";
13084             mouse_events: 0;
13085             description { state: "default" 0.0;
13086                visible: 0;
13087                color: 255 255 255 0;
13088                rel1.to: "bg";
13089                rel2.to: "bg";
13090                image {
13091                   normal: "bt_sm_shine.png";
13092                   border: 6 6 6 0;
13093                }
13094             }
13095             description { state: "selected" 0.0;
13096                inherit: "default" 0.0;
13097                visible: 1;
13098                color: 255 255 255 255;
13099             }
13100          }
13101       }
13102       programs {
13103          program {
13104             name:    "go_active";
13105             signal:  "elm,state,selected";
13106             source:  "elm";
13107             action:  STATE_SET "selected" 0.0;
13108             target:  "bg";
13109             target:  "fg1";
13110             target:  "fg2";
13111             target:  "elm.text";
13112          }
13113          program {
13114             name:    "go_passive";
13115             signal:  "elm,state,unselected";
13116             source:  "elm";
13117             action:  STATE_SET "default" 0.0;
13118             target:  "bg";
13119             target:  "fg1";
13120             target:  "fg2";
13121             target:  "elm.text";
13122             transition: LINEAR 0.1;
13123          }
13124       }
13125    }
13126    group { name: "elm/list/item_compress_odd/default";
13127       data.item: "stacking" "below";
13128       data.item: "selectraise" "on";
13129       images {
13130          image: "bt_sm_base1.png" COMP;
13131          image: "bt_sm_shine.png" COMP;
13132          image: "bt_sm_hilight.png" COMP;
13133          image: "ilist_2.png" COMP;
13134       }
13135       parts {
13136          part {
13137             name:           "event";
13138             type:           RECT;
13139             repeat_events: 1;
13140             description {
13141                state: "default" 0.0;
13142                color: 0 0 0 0;
13143             }
13144          }
13145          part {
13146             name: "base";
13147             mouse_events: 0;
13148             description {
13149                state: "default" 0.0;
13150                image {
13151                   normal: "ilist_2.png";
13152                   border: 2 2 2 2;
13153                }
13154                fill.smooth: 0;
13155             }
13156          }
13157          part { name: "bg";
13158             mouse_events: 0;
13159             description { state: "default" 0.0;
13160                visible: 0;
13161                color: 255 255 255 0;
13162                rel1 {
13163                   relative: 0.0 0.0;
13164                   offset: -5 -5;
13165                }
13166                rel2 {
13167                   relative: 1.0 1.0;
13168                   offset: 4 4;
13169                }
13170                image {
13171                   normal: "bt_sm_base1.png";
13172                   border: 6 6 6 6;
13173                }
13174                image.middle: SOLID;
13175             }
13176             description { state: "selected" 0.0;
13177                inherit: "default" 0.0;
13178                visible: 1;
13179                color: 255 255 255 255;
13180                rel1 {
13181                   relative: 0.0 0.0;
13182                   offset: -2 -2;
13183                }
13184                rel2 {
13185                   relative: 1.0 1.0;
13186                   offset: 1 1;
13187                }
13188             }
13189          }
13190          part { name:          "elm.swallow.icon";
13191             type:          SWALLOW;
13192             description { state:    "default" 0.0;
13193                fixed: 1 0;
13194                align:    0.0 0.5;
13195                rel1 {
13196                   relative: 0.0  0.0;
13197                   offset:   4    4;
13198                }
13199                rel2 {
13200                   relative: 0.0  1.0;
13201                   offset:   4   -5;
13202                }
13203             }
13204          }
13205          part { name:          "elm.swallow.end";
13206             type:          SWALLOW;
13207             description { state:    "default" 0.0;
13208                fixed: 1 0;
13209                align:    1.0 0.5;
13210                rel1 {
13211                   relative: 1.0  0.0;
13212                   offset:   -5    4;
13213                }
13214                rel2 {
13215                   relative: 1.0  1.0;
13216                   offset:   -5   -5;
13217                }
13218             }
13219          }
13220          part {
13221             name:           "elm.text";
13222             type:           TEXT;
13223             effect:         SOFT_SHADOW;
13224             mouse_events:   0;
13225             scale: 1;
13226             description {
13227                state: "default" 0.0;
13228 //               min:      16 16;
13229                rel1 {
13230                   to_x:     "elm.swallow.icon";
13231                   relative: 1.0  0.0;
13232                   offset:   4 4;
13233                }
13234                rel2 {
13235                   to_x:     "elm.swallow.end";
13236                   relative: 0.0  1.0;
13237                   offset:   -1 -5;
13238                }
13239                color: 0 0 0 255;
13240                color3: 0 0 0 0;
13241                text {
13242                   font: "Sans";
13243                   size: 10;
13244 //                  min: 1 1;
13245                   min: 0 1;
13246                   align: 0.0 0.5;
13247                   text_class: "list_item";
13248                }
13249             }
13250             description { state: "selected" 0.0;
13251                inherit: "default" 0.0;
13252                color: 224 224 224 255;
13253                color3: 0 0 0 64;
13254             }
13255          }
13256          part { name: "fg1";
13257             mouse_events: 0;
13258             description { state: "default" 0.0;
13259                visible: 0;
13260                color: 255 255 255 0;
13261                rel1.to: "bg";
13262                rel2.relative: 1.0 0.5;
13263                rel2.to: "bg";
13264                image {
13265                   normal: "bt_sm_hilight.png";
13266                   border: 6 6 6 0;
13267                }
13268             }
13269             description { state: "selected" 0.0;
13270                inherit: "default" 0.0;
13271                visible: 1;
13272                color: 255 255 255 255;
13273             }
13274          }
13275          part { name: "fg2";
13276             mouse_events: 0;
13277             description { state: "default" 0.0;
13278                visible: 0;
13279                color: 255 255 255 0;
13280                rel1.to: "bg";
13281                rel2.to: "bg";
13282                image {
13283                   normal: "bt_sm_shine.png";
13284                   border: 6 6 6 0;
13285                }
13286             }
13287             description { state: "selected" 0.0;
13288                inherit: "default" 0.0;
13289                visible: 1;
13290                color: 255 255 255 255;
13291             }
13292          }
13293       }
13294       programs {
13295          program {
13296             name:    "go_active";
13297             signal:  "elm,state,selected";
13298             source:  "elm";
13299             action:  STATE_SET "selected" 0.0;
13300             target:  "bg";
13301             target:  "fg1";
13302             target:  "fg2";
13303             target:  "elm.text";
13304          }
13305          program {
13306             name:    "go_passive";
13307             signal:  "elm,state,unselected";
13308             source:  "elm";
13309             action:  STATE_SET "default" 0.0;
13310             target:  "bg";
13311             target:  "fg1";
13312             target:  "fg2";
13313             target:  "elm.text";
13314             transition: LINEAR 0.1;
13315          }
13316       }
13317    }
13318
13319 ///////////////////////////////////////////////////////////////////////////////
13320    group { name: "elm/list/h_item/default";
13321       data.item: "stacking" "above";
13322       images {
13323          image: "bt_sm_base1.png" COMP;
13324          image: "bt_sm_shine.png" COMP;
13325          image: "bt_sm_hilight.png" COMP;
13326          image: "ilist_1_h.png" COMP;
13327          image: "ilist_item_shadow_h.png" COMP;
13328       }
13329       parts {
13330          part {
13331             name: "event";
13332             type: RECT;
13333             repeat_events: 1;
13334             description {
13335                state: "default" 0.0;
13336                color: 0 0 0 0;
13337             }
13338          }
13339          part {
13340             name: "base_sh";
13341             mouse_events: 0;
13342             description {
13343                state: "default" 0.0;
13344                align: 0.0 0.0;
13345                min: 10 0;
13346                fixed: 1 1;
13347                rel1 {
13348                   to: "base";
13349                   relative: 1.0 0.0;
13350                   offset: 0 0;
13351                }
13352                rel2 {
13353                   to: "base";
13354                   relative: 1.0 1.0;
13355                   offset: 0 -1;
13356                }
13357                image {
13358                   normal: "ilist_item_shadow_h.png";
13359                }
13360                fill.smooth: 0;
13361             }
13362          }
13363          part {
13364             name: "base";
13365             mouse_events: 0;
13366             description {
13367                state: "default" 0.0;
13368                image {
13369                   normal: "ilist_1_h.png";
13370                   border: 2 2 2 2;
13371                }
13372                fill.smooth: 0;
13373             }
13374          }
13375          part { name: "bg";
13376             mouse_events: 0;
13377             description { state: "default" 0.0;
13378                visible: 0;
13379                color: 255 255 255 0;
13380                rel1 {
13381                   relative: 0.0 0.0;
13382                   offset: -5 -5;
13383                }
13384                rel2 {
13385                   relative: 1.0 1.0;
13386                   offset: 4 4;
13387                }
13388                image {
13389                   normal: "bt_sm_base1.png";
13390                   border: 6 6 6 6;
13391                }
13392                image.middle: SOLID;
13393             }
13394             description { state: "selected" 0.0;
13395                inherit: "default" 0.0;
13396                visible: 1;
13397                color: 255 255 255 255;
13398                rel1 {
13399                   relative: 0.0 0.0;
13400                   offset: -2 -2;
13401                }
13402                rel2 {
13403                   relative: 1.0 1.0;
13404                   offset: 1 1;
13405                }
13406             }
13407          }
13408          part { name: "elm.swallow.icon";
13409             type: SWALLOW;
13410             description { state: "default" 0.0;
13411                fixed: 0 1;
13412                align: 0.5 0.0;
13413                rel1 {
13414                   relative: 0.0 0.0;
13415                   offset: 4 4;
13416                }
13417                rel2 {
13418                   relative: 1.0 0.0;
13419                   offset: -5 4;
13420                }
13421             }
13422          }
13423          part { name: "elm.swallow.end";
13424             type: SWALLOW;
13425             description { state: "default" 0.0;
13426                fixed: 0 1;
13427                align: 0.5 1.0;
13428                rel1 {
13429                   relative: 0.0 1.0;
13430                   offset: 4 -5;
13431                }
13432                rel2 {
13433                   relative: 1.0 1.0;
13434                   offset: -5 -5;
13435                }
13436             }
13437          }
13438          part { name: "elm.text";
13439             type: TEXT;
13440             effect: SOFT_SHADOW;
13441             mouse_events: 0;
13442             scale: 1;
13443             description {
13444                state: "default" 0.0;
13445                fixed: 0 1;
13446                rel1 {
13447                   to_x: "elm.swallow.icon";
13448                   relative: 0.0 1.0;
13449                   offset: 4 4;
13450                }
13451                rel2 {
13452                   to_x: "elm.swallow.end";
13453                   relative: 1.0 0.0;
13454                   offset: -5 -1;
13455                }
13456                color: 0 0 0 255;
13457                color3: 0 0 0 0;
13458                text {
13459                   font: "Sans";
13460                   size: 10;
13461                   min: 1 1;
13462                   align: 0.5 0.5;
13463                   text_class: "list_item";
13464                }
13465             }
13466             description { state: "selected" 0.0;
13467                inherit: "default" 0.0;
13468                color: 224 224 224 255;
13469                color3: 0 0 0 64;
13470             }
13471          }
13472          part { name: "fg1";
13473             mouse_events: 0;
13474             description { state: "default" 0.0;
13475                visible: 0;
13476                color: 255 255 255 0;
13477                rel1.to: "bg";
13478                rel2.relative: 1.0 0.5;
13479                rel2.to: "bg";
13480                image {
13481                   normal: "bt_sm_hilight.png";
13482                   border: 6 6 6 0;
13483                }
13484             }
13485             description { state: "selected" 0.0;
13486                inherit: "default" 0.0;
13487                visible: 1;
13488                color: 255 255 255 255;
13489             }
13490          }
13491          part { name: "fg2";
13492             mouse_events: 0;
13493             description { state: "default" 0.0;
13494                visible: 0;
13495                color: 255 255 255 0;
13496                rel1.to: "bg";
13497                rel2.to: "bg";
13498                image {
13499                   normal: "bt_sm_shine.png";
13500                   border: 6 6 6 0;
13501                }
13502             }
13503             description { state: "selected" 0.0;
13504                inherit: "default" 0.0;
13505                visible: 1;
13506                color: 255 255 255 255;
13507             }
13508          }
13509       }
13510       programs {
13511          program {
13512             name: "go_active";
13513             signal: "elm,state,selected";
13514             source: "elm";
13515             action: STATE_SET "selected" 0.0;
13516             target: "bg";
13517             target: "fg1";
13518             target: "fg2";
13519             target: "elm.text";
13520          }
13521          program {
13522             name: "go_passive";
13523             signal: "elm,state,unselected";
13524             source: "elm";
13525             action: STATE_SET "default" 0.0;
13526             target: "bg";
13527             target: "fg1";
13528             target: "fg2";
13529             target: "elm.text";
13530             transition: LINEAR 0.1;
13531          }
13532       }
13533    }
13534    group { name: "elm/list/h_item_odd/default";
13535       data.item: "stacking" "below";
13536       data.item: "selectraise" "on";
13537       images {
13538          image: "bt_sm_base1.png" COMP;
13539          image: "bt_sm_shine.png" COMP;
13540          image: "bt_sm_hilight.png" COMP;
13541          image: "ilist_2_h.png" COMP;
13542       }
13543       parts {
13544          part {
13545             name: "event";
13546             type: RECT;
13547             repeat_events: 1;
13548             description {
13549                state: "default" 0.0;
13550                color: 0 0 0 0;
13551             }
13552          }
13553          part {
13554             name: "base";
13555             mouse_events: 0;
13556             description {
13557                state: "default" 0.0;
13558                image {
13559                   normal: "ilist_2_h.png";
13560                   border: 2 2 2 2;
13561                }
13562                fill.smooth: 0;
13563             }
13564          }
13565          part { name: "bg";
13566             mouse_events: 0;
13567             description { state: "default" 0.0;
13568                visible: 0;
13569                color: 255 255 255 0;
13570                rel1 {
13571                   relative: 0.0 0.0;
13572                   offset: -5 -5;
13573                }
13574                rel2 {
13575                   relative: 1.0 1.0;
13576                   offset: 4 4;
13577                }
13578                image {
13579                   normal: "bt_sm_base1.png";
13580                   border: 6 6 6 6;
13581                }
13582                image.middle: SOLID;
13583             }
13584             description { state: "selected" 0.0;
13585                inherit: "default" 0.0;
13586                visible: 1;
13587                color: 255 255 255 255;
13588                rel1 {
13589                   relative: 0.0 0.0;
13590                   offset: -2 -2;
13591                }
13592                rel2 {
13593                   relative: 1.0 1.0;
13594                   offset: 1 1;
13595                }
13596             }
13597          }
13598          part {
13599             name: "elm.swallow.icon";
13600             type: SWALLOW;
13601             description { state: "default" 0.0;
13602                fixed: 0 1;
13603                align: 0.5 0.0;
13604                rel1 {
13605                   relative: 0.0 0.0;
13606                   offset: 4 4;
13607                }
13608                rel2 {
13609                   relative: 1.0 0.0;
13610                   offset: -5 4;
13611                }
13612             }
13613          }
13614          part {
13615             name: "elm.swallow.end";
13616             type: SWALLOW;
13617             description { state: "default" 0.0;
13618                fixed: 0 1;
13619                align: 0.5 1.0;
13620                rel1 {
13621                   relative: 0.0 1.0;
13622                   offset: 4 -5;
13623                }
13624                rel2 {
13625                   relative: 1.0 1.0;
13626                   offset: -5 -5;
13627                }
13628             }
13629          }
13630          part { name: "elm.text";
13631             type: TEXT;
13632             effect: SOFT_SHADOW;
13633             mouse_events: 0;
13634             scale: 1;
13635             description {
13636                state: "default" 0.0;
13637                fixed: 1 1;
13638                rel1 {
13639                   to_x: "elm.swallow.icon";
13640                   relative: 0.0 1.0;
13641                   offset: 4 4;
13642                }
13643                rel2 {
13644                   to_x: "elm.swallow.end";
13645                   relative: 1.0 0.0;
13646                   offset: -5 -1;
13647                }
13648                color: 0 0 0 255;
13649                color3: 0 0 0 0;
13650                text {
13651                   font: "Sans";
13652                   size: 10;
13653                   min: 1 1;
13654                   align: 0.5 0.5;
13655                   text_class: "list_item";
13656                }
13657             }
13658             description { state: "selected" 0.0;
13659                inherit: "default" 0.0;
13660                color: 224 224 224 255;
13661                color3: 0 0 0 64;
13662             }
13663          }
13664          part { name: "fg1";
13665             mouse_events: 0;
13666             description { state: "default" 0.0;
13667                visible: 0;
13668                color: 255 255 255 0;
13669                rel1.to: "bg";
13670                rel2.relative: 1.0 0.5;
13671                rel2.to: "bg";
13672                image {
13673                   normal: "bt_sm_hilight.png";
13674                   border: 6 6 6 0;
13675                }
13676             }
13677             description { state: "selected" 0.0;
13678                inherit: "default" 0.0;
13679                visible: 1;
13680                color: 255 255 255 255;
13681             }
13682          }
13683          part { name: "fg2";
13684             mouse_events: 0;
13685             description { state: "default" 0.0;
13686                visible: 0;
13687                color: 255 255 255 0;
13688                rel1.to: "bg";
13689                rel2.to: "bg";
13690                image {
13691                   normal: "bt_sm_shine.png";
13692                   border: 6 6 6 0;
13693                }
13694             }
13695             description { state: "selected" 0.0;
13696                inherit: "default" 0.0;
13697                visible: 1;
13698                color: 255 255 255 255;
13699             }
13700          }
13701       }
13702       programs {
13703          program {
13704             name: "go_active";
13705             signal: "elm,state,selected";
13706             source: "elm";
13707             action: STATE_SET "selected" 0.0;
13708             target: "bg";
13709             target: "fg1";
13710             target: "fg2";
13711             target: "elm.text";
13712          }
13713          program {
13714             name: "go_passive";
13715             signal: "elm,state,unselected";
13716             source: "elm";
13717             action: STATE_SET "default" 0.0;
13718             target: "bg";
13719             target: "fg1";
13720             target: "fg2";
13721             target: "elm.text";
13722             transition: LINEAR 0.1;
13723          }
13724       }
13725    }
13726    group { name: "elm/list/h_item_compress/default";
13727       data.item: "stacking" "above";
13728       data.item: "selectraise" "on";
13729       images {
13730          image: "bt_sm_base1.png" COMP;
13731          image: "bt_sm_shine.png" COMP;
13732          image: "bt_sm_hilight.png" COMP;
13733          image: "ilist_1_h.png" COMP;
13734          image: "ilist_item_shadow_h.png" COMP;
13735       }
13736       parts {
13737          part {
13738             name: "event";
13739             type: RECT;
13740             repeat_events: 1;
13741             description {
13742                state: "default" 0.0;
13743                color: 0 0 0 0;
13744             }
13745          }
13746          part {
13747             name: "base_sh";
13748             mouse_events: 0;
13749             description { state: "default" 0.0;
13750                fixed: 1 1;
13751                align: 0.0 0.0;
13752                min: 10 0;
13753                rel1 {
13754                   to: "base";
13755                   relative: 1.0 0.0;
13756                   offset: 0 0;
13757                }
13758                rel2 {
13759                   to: "base";
13760                   relative: 1.0 1.0;
13761                   offset: 0 -1;
13762                }
13763                image {
13764                   normal: "ilist_item_shadow_h.png";
13765                }
13766                fill.smooth: 0;
13767             }
13768          }
13769          part {
13770             name: "base";
13771             mouse_events: 0;
13772             description {
13773                state: "default" 0.0;
13774                image {
13775                   normal: "ilist_1_h.png";
13776                   border: 2 2 2 2;
13777                }
13778                fill.smooth: 0;
13779             }
13780          }
13781          part { name: "bg";
13782             mouse_events: 0;
13783             description { state: "default" 0.0;
13784                visible: 0;
13785                color: 255 255 255 0;
13786                rel1 {
13787                   relative: 0.0 0.0;
13788                   offset: -5 -5;
13789                }
13790                rel2 {
13791                   relative: 1.0 1.0;
13792                   offset: 4 4;
13793                }
13794                image {
13795                   normal: "bt_sm_base1.png";
13796                   border: 6 6 6 6;
13797                }
13798                image.middle: SOLID;
13799             }
13800             description { state: "selected" 0.0;
13801                inherit: "default" 0.0;
13802                visible: 1;
13803                color: 255 255 255 255;
13804                rel1 {
13805                   relative: 0.0 0.0;
13806                   offset: -2 -2;
13807                }
13808                rel2 {
13809                   relative: 1.0 1.0;
13810                   offset: 1 1;
13811                }
13812             }
13813          }
13814          part { name: "elm.swallow.icon";
13815             type: SWALLOW;
13816             description { state: "default" 0.0;
13817                fixed: 0 1;
13818                align: 0.5 0.0;
13819                rel1 {
13820                   relative: 0.0 0.0;
13821                   offset: 4 4;
13822                }
13823                rel2 {
13824                   relative: 1.0 0.0;
13825                   offset: -5 4;
13826                }
13827             }
13828          }
13829          part { name: "elm.swallow.end";
13830             type: SWALLOW;
13831             description { state: "default" 0.0;
13832                fixed: 0 1;
13833                align: 0.5 1.0;
13834                rel1 {
13835                   relative: 0.0 1.0;
13836                   offset: 4 -5;
13837                }
13838                rel2 {
13839                   relative: 1.0 1.0;
13840                   offset: -5 -5;
13841                }
13842             }
13843          }
13844          part {
13845             name: "elm.text";
13846             type: TEXT;
13847             effect: SOFT_SHADOW;
13848             mouse_events: 0;
13849             scale: 1;
13850             description { state: "default" 0.0;
13851                fixed: 1 1;
13852                rel1 {
13853                   to_x: "elm.swallow.icon";
13854                   relative: 0.0 1.0;
13855                   offset: 4 4;
13856                }
13857                rel2 {
13858                   to_x: "elm.swallow.end";
13859                   relative: 1.0 0.0;
13860                   offset: -5 -1;
13861                }
13862                color: 0 0 0 255;
13863                color3: 0 0 0 0;
13864                text {
13865                   font: "Sans";
13866                   size: 10;
13867                   min: 1 1;
13868                   align: 0.5 0.5;
13869                   text_class: "list_item";
13870                }
13871             }
13872             description { state: "selected" 0.0;
13873                inherit: "default" 0.0;
13874                color: 224 224 224 255;
13875                color3: 0 0 0 64;
13876             }
13877          }
13878          part { name: "fg1";
13879             mouse_events: 0;
13880             description { state: "default" 0.0;
13881                visible: 0;
13882                color: 255 255 255 0;
13883                rel1.to: "bg";
13884                rel2.relative: 1.0 0.5;
13885                rel2.to: "bg";
13886                image {
13887                   normal: "bt_sm_hilight.png";
13888                   border: 6 6 6 0;
13889                }
13890             }
13891             description { state: "selected" 0.0;
13892                inherit: "default" 0.0;
13893                visible: 1;
13894                color: 255 255 255 255;
13895             }
13896          }
13897          part { name: "fg2";
13898             mouse_events: 0;
13899             description { state: "default" 0.0;
13900                visible: 0;
13901                color: 255 255 255 0;
13902                rel1.to: "bg";
13903                rel2.to: "bg";
13904                image {
13905                   normal: "bt_sm_shine.png";
13906                   border: 6 6 6 0;
13907                }
13908             }
13909             description { state: "selected" 0.0;
13910                inherit: "default" 0.0;
13911                visible: 1;
13912                color: 255 255 255 255;
13913             }
13914          }
13915       }
13916       programs {
13917          program {
13918             name: "go_active";
13919             signal: "elm,state,selected";
13920             source: "elm";
13921             action: STATE_SET "selected" 0.0;
13922             target: "bg";
13923             target: "fg1";
13924             target: "fg2";
13925             target: "elm.text";
13926          }
13927          program {
13928             name: "go_passive";
13929             signal: "elm,state,unselected";
13930             source: "elm";
13931             action: STATE_SET "default" 0.0;
13932             target: "bg";
13933             target: "fg1";
13934             target: "fg2";
13935             target: "elm.text";
13936             transition: LINEAR 0.1;
13937          }
13938       }
13939    }
13940    group { name: "elm/list/h_item_compress_odd/default";
13941       data.item: "stacking" "below";
13942       data.item: "selectraise" "on";
13943       images {
13944          image: "bt_sm_base1.png" COMP;
13945          image: "bt_sm_shine.png" COMP;
13946          image: "bt_sm_hilight.png" COMP;
13947          image: "ilist_2_h.png" COMP;
13948       }
13949       parts {
13950          part {
13951             name: "event";
13952             type: RECT;
13953             repeat_events: 1;
13954             description {
13955                state: "default" 0.0;
13956                color: 0 0 0 0;
13957             }
13958          }
13959          part {
13960             name: "base";
13961             mouse_events: 0;
13962             description {
13963                state: "default" 0.0;
13964                image {
13965                   normal: "ilist_2_h.png";
13966                   border: 2 2 2 2;
13967                }
13968                fill.smooth: 0;
13969             }
13970          }
13971          part { name: "bg";
13972             mouse_events: 0;
13973             description { state: "default" 0.0;
13974                visible: 0;
13975                color: 255 255 255 0;
13976                rel1 {
13977                   relative: 0.0 0.0;
13978                   offset: -5 -5;
13979                }
13980                rel2 {
13981                   relative: 1.0 1.0;
13982                   offset: 4 4;
13983                }
13984                image {
13985                   normal: "bt_sm_base1.png";
13986                   border: 6 6 6 6;
13987                }
13988                image.middle: SOLID;
13989             }
13990             description { state: "selected" 0.0;
13991                inherit: "default" 0.0;
13992                visible: 1;
13993                color: 255 255 255 255;
13994                rel1 {
13995                   relative: 0.0 0.0;
13996                   offset: -2 -2;
13997                }
13998                rel2 {
13999                   relative: 1.0 1.0;
14000                   offset: 1 1;
14001                }
14002             }
14003          }
14004          part { name: "elm.swallow.icon";
14005             type: SWALLOW;
14006             description { state: "default" 0.0;
14007                fixed: 0 1;
14008                align: 0.5 0.0;
14009                rel1 {
14010                   relative: 0.0 0.0;
14011                   offset: 4 4;
14012                }
14013                rel2 {
14014                   relative: 1.0 0.0;
14015                   offset: -5 4;
14016                }
14017             }
14018          }
14019          part { name: "elm.swallow.end";
14020             type: SWALLOW;
14021             description { state: "default" 0.0;
14022                fixed: 0 1;
14023                align: 0.5 1.0;
14024                rel1 {
14025                   relative: 0.0 1.0;
14026                   offset: 4 -5;
14027                }
14028                rel2 {
14029                   relative: 1.0 1.0;
14030                   offset: -5 -5;
14031                }
14032             }
14033          }
14034          part { name: "elm.text";
14035             type: TEXT;
14036             effect: SOFT_SHADOW;
14037             mouse_events: 0;
14038             scale: 1;
14039             description {
14040                state: "default" 0.0;
14041                fixed: 1 1;
14042                rel1 {
14043                   to_x: "elm.swallow.icon";
14044                   relative: 0.0 1.0;
14045                   offset: 4 4;
14046                }
14047                rel2 {
14048                   to_x: "elm.swallow.end";
14049                   relative: 1.0 0.0;
14050                   offset: -5 -1;
14051                }
14052                color: 0 0 0 255;
14053                color3: 0 0 0 0;
14054                text {
14055                   font: "Sans";
14056                   size: 10;
14057                   min: 1 1;
14058                   align: 0.5 0.5;
14059                   text_class: "list_item";
14060                }
14061             }
14062             description { state: "selected" 0.0;
14063                inherit: "default" 0.0;
14064                color: 224 224 224 255;
14065                color3: 0 0 0 64;
14066             }
14067          }
14068          part { name: "fg1";
14069             mouse_events: 0;
14070             description { state: "default" 0.0;
14071                visible: 0;
14072                color: 255 255 255 0;
14073                rel1.to: "bg";
14074                rel2.relative: 1.0 0.5;
14075                rel2.to: "bg";
14076                image {
14077                   normal: "bt_sm_hilight.png";
14078                   border: 6 6 6 0;
14079                }
14080             }
14081             description { state: "selected" 0.0;
14082                inherit: "default" 0.0;
14083                visible: 1;
14084                color: 255 255 255 255;
14085             }
14086          }
14087          part { name: "fg2";
14088             mouse_events: 0;
14089             description { state: "default" 0.0;
14090                visible: 0;
14091                color: 255 255 255 0;
14092                rel1.to: "bg";
14093                rel2.to: "bg";
14094                image {
14095                   normal: "bt_sm_shine.png";
14096                   border: 6 6 6 0;
14097                }
14098             }
14099             description { state: "selected" 0.0;
14100                inherit: "default" 0.0;
14101                visible: 1;
14102                color: 255 255 255 255;
14103             }
14104          }
14105       }
14106       programs {
14107          program {
14108             name: "go_active";
14109             signal: "elm,state,selected";
14110             source: "elm";
14111             action: STATE_SET "selected" 0.0;
14112             target: "bg";
14113             target: "fg1";
14114             target: "fg2";
14115             target: "elm.text";
14116          }
14117          program {
14118             name: "go_passive";
14119             signal: "elm,state,unselected";
14120             source: "elm";
14121             action: STATE_SET "default" 0.0;
14122             target: "bg";
14123             target: "fg1";
14124             target: "fg2";
14125             target: "elm.text";
14126             transition: LINEAR 0.1;
14127          }
14128       }
14129    }
14130
14131 ///////////////////////////////////////////////////////////////////////////////
14132    group { name: "elm/slider/horizontal/default";
14133            alias: "elm/slider/horizontal/disabled";
14134       images {
14135          image: "sl_bg.png" COMP;
14136          image: "sl_bg_over.png" COMP;
14137
14138          image: "sl_units.png" COMP;
14139       }
14140       parts {
14141          part { name: "base";
14142             mouse_events: 0;
14143             description { state: "default" 0.0;
14144                max: 99999 6;
14145                min: 0 6;
14146                rel1 { to: "bg";
14147                   offset: 1 0;
14148                }
14149                rel2 { to: "bg";
14150                   offset: -2 -1;
14151                }
14152                image.normal: "sl_bg.png";
14153                fill.smooth: 0;
14154             }
14155          }
14156          part { name: "level";
14157             type: RECT;
14158             mouse_events: 0;
14159             description { state: "default" 0.0;
14160                fixed: 1 1;
14161                rel1.to: "base";
14162                rel2 {
14163                   to_y: "base";
14164                   to_x: "elm.dragable.slider";
14165                   relative: 0.5 1.0;
14166                }
14167                color: 255 0 0 200;
14168             }
14169             description { state: "inverted" 0.0;
14170                inherit: "default" 0.0;
14171                visible: 0;
14172             }
14173             description { state: "disabled" 0.0;
14174                inherit: "default" 0.0;
14175                color: 255 0 0 100;
14176             }
14177             description { state: "disabled_inverted" 0.0;
14178                inherit: "default" 0.0;
14179                visible: 0;
14180             }
14181          }
14182          part { name: "level2";
14183             type: RECT;
14184             mouse_events: 0;
14185             description { state: "default" 0.0;
14186                fixed: 1 1;
14187                visible: 0;
14188                rel1 {
14189                   to_y: "base";
14190                   to_x: "elm.dragable.slider";
14191                   relative: 0.5 0.0;
14192                }
14193                rel2.to: "base";
14194                color: 255 0 0 200;
14195             }
14196             description { state: "inverted" 0.0;
14197                inherit: "default" 0.0;
14198                visible: 1;
14199             }
14200             description { state: "disabled" 0.0;
14201                inherit: "default" 0.0;
14202             }
14203             description { state: "disabled_inverted" 0.0;
14204                inherit: "default" 0.0;
14205                color: 255 0 0 100;
14206                visible: 1;
14207             }
14208          }
14209          part {
14210             name: "base_over";
14211             mouse_events: 0;
14212             description { state: "default" 0.0;
14213                rel1.to: "base";
14214                rel1.offset: -1 -1;
14215                rel2.to: "base";
14216                rel2.offset: 0 0;
14217                image {
14218                   normal: "sl_bg_over.png";
14219                   border: 3 3 3 3;
14220                }
14221                fill.smooth: 0;
14222             }
14223          }
14224          part { name: "bg";
14225             type: RECT;
14226             mouse_events: 0;
14227             scale: 1;
14228             description { state: "default" 0.0;
14229                visible: 0;
14230                rel1.to: "elm.swallow.bar";
14231                rel2.to: "elm.swallow.bar";
14232                color: 0 0 0 0;
14233             }
14234          }
14235          part { name: "elm.swallow.bar";
14236             type: SWALLOW;
14237             scale: 1;
14238             description { state: "default" 0.0;
14239                min: 48 24;
14240                max: 99999 24;
14241                align: 1.0 0.5;
14242                rel1 {
14243                   to_x: "elm.text";
14244                   relative: 1.0 0.0;
14245                   offset: 8 0;
14246                }
14247                rel2 {
14248                   to_x: "elm.units";
14249                   relative: 0.0 1.0;
14250                   offset: -10 -1;
14251                }
14252             }
14253          }
14254          part { name: "elm.swallow.icon";
14255             type: SWALLOW;
14256             description { state: "default" 0.0;
14257                visible: 0;
14258                align: 0.0 0.5;
14259                rel1 {
14260                   offset: 4 0;
14261                   to_y: "elm.swallow.bar";
14262                }
14263                rel2 {
14264                   offset: 3 -1;
14265                   relative: 0.0 1.0;
14266                   to_y: "elm.swallow.bar";
14267                }
14268             }
14269             description { state: "visible" 0.0;
14270                inherit: "default" 0.0;
14271                visible: 1;
14272                aspect: 1.0 1.0;
14273                aspect_preference: VERTICAL;
14274                rel2.offset: 4 -1;
14275             }
14276          }
14277          part { name: "elm.text";
14278             type: TEXT;
14279             mouse_events: 0;
14280             scale: 1;
14281             description { state: "default" 0.0;
14282                visible: 0;
14283                fixed: 1 1;
14284                align: 0.0 0.5;
14285                rel1.to_x: "elm.swallow.icon";
14286                rel1.relative: 1.0 0.0;
14287                rel1.offset: -1 4;
14288                rel2.to_x: "elm.swallow.icon";
14289                rel2.relative: 1.0 1.0;
14290                rel2.offset: -1 -5;
14291                color: 0 0 0 255;
14292                text {
14293                   font: "Sans,Edje-Vera";
14294                   size: 10;
14295                   min: 0 0;
14296                   align: 0.0 0.5;
14297                }
14298             }
14299             description { state: "visible" 0.0;
14300                inherit: "default" 0.0;
14301                visible: 1;
14302                text.min: 1 1;
14303                rel1.offset: 0 4;
14304                rel2.offset: 0 -5;
14305             }
14306             description { state: "disabled" 0.0;
14307                inherit: "default" 0.0;
14308                color: 255 128 128 128;
14309                visible: 0;
14310             }
14311             description { state: "disabled_visible" 0.0;
14312                inherit: "default" 0.0;
14313                color: 0 0 0 128;
14314                color3: 0 0 0 0;
14315                visible: 1;
14316                text.min: 1 1;
14317             }
14318          }
14319          part {
14320             name: "elm.swallow.end";
14321             type: SWALLOW;
14322             description {
14323                state: "default" 0.0;
14324                visible: 0;
14325                align: 1.0 0.5;
14326                rel1 {
14327                   offset: -4 0;
14328                   relative: 1.0 0.0;
14329                   to_y: "elm.swallow.bar";
14330                }
14331                rel2 {
14332                   offset: -3 -1;
14333                   to_y: "elm.swallow.bar";
14334                }
14335             }
14336             description { state: "visible" 0.0;
14337                inherit: "default" 0.0;
14338                visible: 1;
14339                aspect: 1.0 1.0;
14340                aspect_preference: VERTICAL;
14341                rel2.offset: -4 -1;
14342             }
14343          }
14344          part { name: "units";
14345             mouse_events: 0;
14346             description { state: "default" 0.0;
14347                visible: 0;
14348                rel1 {
14349                   to_x: "elm.units";
14350                   offset: 0 5;
14351                }
14352                rel2 {
14353                   to_x: "elm.units";
14354                   offset: 5 -3;
14355                }
14356                image {
14357                   normal: "sl_units.png";
14358                   border: 0 5 3 8;
14359                }
14360                fill.smooth: 0;
14361             }
14362             description { state: "visible" 0.0;
14363                inherit: "default" 0.0;
14364                visible: 1;
14365             }
14366          }
14367          part { name: "elm.units";
14368             type: TEXT;
14369             mouse_events: 0;
14370             scale: 1;
14371             description { state: "default" 0.0;
14372                visible: 0;
14373                fixed: 1 1;
14374                align: 1.0 0.5;
14375                rel1.to_x: "elm.swallow.end";
14376                rel1.relative: 0.0 0.0;
14377                rel1.offset: 0 8;
14378                rel2.to_x: "elm.swallow.end";
14379                rel2.relative: 0.0 1.0;
14380                rel2.offset: 0 -9;
14381                color: 0 0 0 255;
14382                text {
14383                   font: "Sans,Edje-Vera";
14384                   size: 10;
14385                   min: 0 0;
14386                   align: 0.0 0.5;
14387                }
14388             }
14389             description { state: "visible" 0.0;
14390                inherit: "default" 0.0;
14391                fixed: 1 1;
14392                visible: 1;
14393                text.min: 1 1;
14394                rel1.offset: -5 0;
14395                rel2.offset: -5 -1;
14396             }
14397             description { state: "disabled" 0.0;
14398                inherit: "default" 0.0;
14399                color: 255 128 128 128;
14400                visible: 0;
14401             }
14402             description { state: "disabled_visible" 0.0;
14403                inherit: "default" 0.0;
14404                color: 0 0 0 128;
14405                color3: 0 0 0 0;
14406                visible: 1;
14407                text.min: 1 1;
14408             }
14409          }
14410          part { name: "elm.dragable.slider";
14411             type: GROUP;
14412             source: "elm/slider/horizontal/indicator/default";
14413             mouse_events: 1;
14414             repeat_events: 1;
14415             scale: 1;
14416             dragable {
14417                x: 1 1 0;
14418                y: 0 0 0;
14419                confine: "bg";
14420             }
14421             description { state: "default" 0.0;
14422                min: 0 24;
14423                max: 0 24;
14424                fixed: 1 1;
14425                rel1 {
14426                   relative: 0.5 0.0;
14427                   to_x: "bg";
14428                }
14429                rel2 {
14430                   relative: 0.5 1.0;
14431                   to_x: "bg";
14432                }
14433                color: 255 0 0 100;
14434             }
14435          }
14436           part { name: "disabler";
14437             type: RECT;
14438             description { state: "default" 0.0;
14439                color: 0 0 0 0;
14440                visible: 0;
14441             }
14442             description { state: "disabled" 0.0;
14443                inherit: "default" 0.0;
14444                visible: 1;
14445             }
14446          }
14447       }
14448       programs {
14449          program { name: "text_show";
14450             signal: "elm,state,text,visible";
14451             source: "elm";
14452             action:  STATE_SET "visible" 0.0;
14453             target: "elm.text";
14454          }
14455          program { name: "text_hide";
14456             signal: "elm,state,text,hidden";
14457             source: "elm";
14458             action:  STATE_SET "default" 0.0;
14459             target: "elm.text";
14460          }
14461          program { name: "icon_show";
14462             signal: "elm,state,icon,visible";
14463             source: "elm";
14464             action:  STATE_SET "visible" 0.0;
14465             target: "elm.swallow.icon";
14466          }
14467          program { name: "icon_hide";
14468             signal: "elm,state,icon,hidden";
14469             source: "elm";
14470             action:  STATE_SET "default" 0.0;
14471             target: "elm.swallow.icon";
14472          }
14473           program { name: "end_show";
14474             signal: "elm,state,end,visible";
14475             source: "elm";
14476             action:  STATE_SET "visible" 0.0;
14477             target: "elm.swallow.end";
14478          }
14479          program { name: "end_hide";
14480             signal: "elm,state,end,hidden";
14481             source: "elm";
14482             action:  STATE_SET "default" 0.0;
14483             target: "elm.swallow.end";
14484          }
14485          program { name: "units_show";
14486             signal: "elm,state,units,visible";
14487             source: "elm";
14488             action:  STATE_SET "visible" 0.0;
14489             target: "elm.units";
14490             target: "units";
14491          }
14492          program { name: "units_hide";
14493             signal: "elm,state,units,hidden";
14494             source: "elm";
14495             action:  STATE_SET "default" 0.0;
14496             target: "elm.units";
14497             target: "units";
14498          }
14499          program { name: "invert_on";
14500             signal: "elm,state,inverted,on";
14501             source: "elm";
14502             action:  STATE_SET "inverted" 0.0;
14503             target: "level";
14504             target: "level2";
14505          }
14506          program { name: "invert_off";
14507             signal: "elm,state,inverted,off";
14508             source: "elm";
14509             action:  STATE_SET "default" 0.0;
14510             target: "level";
14511             target: "level2";
14512          }
14513          program {
14514             name:    "go_disabled";
14515             signal:  "elm,state,disabled";
14516             source:  "elm";
14517             action:  STATE_SET "disabled" 0.0;
14518 //            target: "button0";
14519             target: "disabler";
14520             after: "disable_text";
14521             after: "disable_ind";
14522          }
14523
14524          program { name: "disable_ind";
14525             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14526          }
14527          program { name: "disable_text";
14528             script {
14529                new st[31];
14530                new Float:vl;
14531                get_state(PART:"elm.text", st, 30, vl);
14532                if (!strcmp(st, "visible"))
14533                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14534                else
14535                   set_state(PART:"elm.text", "disabled", 0.0);
14536
14537                get_state(PART:"elm.units", st, 30, vl);
14538                if (!strcmp(st, "visible"))
14539                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14540                else
14541                   set_state(PART:"elm.units", "disabled", 0.0);
14542
14543                get_state(PART:"level2", st, 30, vl);
14544                if (!strcmp(st, "inverted"))
14545                {
14546                   set_state(PART:"level", "disabled_inverted", 0.0);
14547                   set_state(PART:"level2", "disabled_inverted", 0.0);
14548                }
14549                else
14550                {
14551                   set_state(PART:"level", "disabled", 0.0);
14552                   set_state(PART:"level2", "disabled", 0.0);
14553                }
14554             }
14555          }
14556          program { name: "enable";
14557             signal: "elm,state,enabled";
14558             source: "elm";
14559             action: STATE_SET "default" 0.0;
14560 //            target: "button0";
14561             target: "disabler";
14562             after: "enable_text";
14563             after: "enable_ind";
14564          }
14565
14566          program { name: "enable_ind";
14567             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14568          }
14569
14570          program { name: "enable_text";
14571             script {
14572                new st[31];
14573                new Float:vl;
14574                get_state(PART:"elm.text", st, 30, vl);
14575                if (!strcmp(st, "disabled_visible"))
14576                   set_state(PART:"elm.text", "visible", 0.0);
14577                else
14578                   set_state(PART:"elm.text", "default", 0.0);
14579
14580                get_state(PART:"elm.units", st, 30, vl);
14581                if (!strcmp(st, "disabled_visible"))
14582                   set_state(PART:"elm.units", "visible", 0.0);
14583                else
14584                   set_state(PART:"elm.units", "default", 0.0);
14585
14586                get_state(PART:"level2", st, 30, vl);
14587                if (!strcmp(st, "disabled_inverted"))
14588                {
14589                   set_state(PART:"level", "inverted", 0.0);
14590                   set_state(PART:"level2", "inverted", 0.0);
14591                }
14592                else
14593                {
14594                   set_state(PART:"level", "default", 0.0);
14595                   set_state(PART:"level2", "default", 0.0);
14596                }
14597             }
14598          }
14599       }
14600    }
14601
14602    group { name: "elm/slider/vertical/default";
14603       images {
14604          image: "slv_bg.png" COMP;
14605          image: "slv_bg_over.png" COMP;
14606
14607          image: "slv_units.png" COMP;
14608       }
14609       parts {
14610          part { name: "base";
14611             mouse_events: 0;
14612             description { state: "default" 0.0;
14613                max: 6 99999;
14614                min: 6 0;
14615                rel1 { to: "bg";
14616                   offset: 1 0;
14617                }
14618                rel2 { to: "bg";
14619                   offset: -2 -1;
14620                }
14621                image.normal: "slv_bg.png";
14622                fill.smooth: 0;
14623             }
14624          }
14625          part { name: "level";
14626             type: RECT;
14627             mouse_events: 0;
14628             description { state: "default" 0.0;
14629                fixed: 1 1;
14630                rel1.to: "base";
14631                rel2 {
14632                   to_x: "base";
14633                   to_y: "elm.dragable.slider";
14634                   relative: 1.0 0.5;
14635                }
14636                color: 255 0 0 200;
14637             }
14638             description { state: "inverted" 0.0;
14639                inherit: "default" 0.0;
14640                visible: 0;
14641             }
14642             description { state: "disabled" 0.0;
14643                inherit: "default" 0.0;
14644                color: 255 0 0 100;
14645             }
14646             description { state: "disabled_inverted" 0.0;
14647                inherit: "default" 0.0;
14648                visible: 0;
14649             }
14650          }
14651          part { name: "level2";
14652             type: RECT;
14653             mouse_events: 0;
14654             description { state: "default" 0.0;
14655                fixed: 1 1;
14656                visible: 0;
14657                rel1 {
14658                   to_x: "base";
14659                   to_y: "elm.dragable.slider";
14660                   relative: 0.0 0.5;
14661                }
14662                rel2.to: "base";
14663                color: 255 0 0 200;
14664             }
14665             description { state: "inverted" 0.0;
14666                inherit: "default" 0.0;
14667                visible: 1;
14668             }
14669             description { state: "disabled" 0.0;
14670                inherit: "default" 0.0;
14671                color: 255 0 0 100;
14672             }
14673             description { state: "disabled_inverted" 0.0;
14674                inherit: "default" 0.0;
14675                color: 255 0 0 100;
14676                visible: 1;
14677             }
14678          }
14679          part {
14680             name: "base_over";
14681             mouse_events: 0;
14682             description { state: "default" 0.0;
14683                rel1.to: "base";
14684                rel1.offset: -1 -1;
14685                rel2.to: "base";
14686                rel2.offset: 0 0;
14687                image {
14688                   normal: "slv_bg_over.png";
14689                   border: 3 3 3 3;
14690                }
14691                fill.smooth: 0;
14692             }
14693          }
14694          part { name: "bg";
14695             type: RECT;
14696             mouse_events: 0;
14697             scale: 1;
14698             description { state: "default" 0.0;
14699                visible: 0;
14700                rel1.to: "elm.swallow.bar";
14701                rel2.to: "elm.swallow.bar";
14702                color: 0 0 0 0;
14703             }
14704          }
14705          part { name: "elm.swallow.bar";
14706             type: SWALLOW;
14707             scale: 1;
14708             description { state: "default" 0.0;
14709                min: 24 48;
14710                max: 24 9999;
14711                align: 0.5 1.0;
14712                rel1 {
14713                   to_y: "elm.text";
14714                   relative: 0.0 1.0;
14715                   offset: 0 10;
14716                }
14717                rel2 {
14718                   to_y: "elm.units";
14719                   relative: 1.0 0.0;
14720                   offset: -1 -8;
14721                }
14722             }
14723          }
14724          part { name: "elm.swallow.icon";
14725             type: SWALLOW;
14726             description { state: "default" 0.0;
14727                visible: 0;
14728                align: 0.5 0.0;
14729                rel1 {
14730                   offset: 0 4;
14731                   to_x: "elm.swallow.bar";
14732                }
14733                rel2 {
14734                   offset: -1 3;
14735                   relative: 1.0 0.0;
14736                   to_x: "elm.swallow.bar";
14737                }
14738             }
14739             description { state: "visible" 0.0;
14740                inherit: "default" 0.0;
14741                visible: 1;
14742                aspect: 1.0 1.0;
14743                aspect_preference: HORIZONTAL;
14744                rel2.offset: -1 4;
14745             }
14746          }
14747          part { name: "elm.text";
14748             type: TEXT;
14749             mouse_events: 0;
14750             scale: 1;
14751             description { state: "default" 0.0;
14752                visible: 0;
14753                fixed: 0 1;
14754                align: 0.5 0.0;
14755                rel1.to_y: "elm.swallow.icon";
14756                rel1.relative: 0.0 1.0;
14757                rel1.offset: 0 -1;
14758                rel2.to_y: "elm.swallow.icon";
14759                rel2.relative: 1.0 1.0;
14760                rel2.offset: -1 -1;
14761                color: 0 0 0 255;
14762                text {
14763                   font: "Sans,Edje-Vera";
14764                   size: 10;
14765                   min: 0 0;
14766                   align: 0.5 0.0;
14767                }
14768             }
14769             description { state: "visible" 0.0;
14770                inherit: "default" 0.0;
14771                visible: 1;
14772                text.min: 1 1;
14773                rel1.offset: 4 0;
14774                rel2.offset: -5 0;
14775             }
14776             description { state: "disabled" 0.0;
14777                inherit: "default" 0.0;
14778                color: 255 128 128 128;
14779                visible: 0;
14780             }
14781             description { state: "disabled_visible" 0.0;
14782                inherit: "default" 0.0;
14783                color: 0 0 0 128;
14784                color3: 0 0 0 0;
14785                visible: 1;
14786                text.min: 1 1;
14787             }
14788          }
14789          part {
14790             name: "elm.swallow.end";
14791             type: SWALLOW;
14792             description {
14793                state: "default" 0.0;
14794                visible: 0;
14795                align: 0.5 1.0;
14796                rel1 {
14797                   offset: 0 -4;
14798                   relative: 0.0 1.0;
14799                   to_x: "elm.swallow.bar";
14800                }
14801                rel2 {
14802                   offset: -1 -3;
14803                   to_x: "elm.swallow.bar";
14804                }
14805             }
14806             description { state: "visible" 0.0;
14807                inherit: "default" 0.0;
14808                visible: 1;
14809                aspect: 1.0 1.0;
14810                aspect_preference: HORIZONTAL;
14811                rel2.offset: -1 -4;
14812             }
14813          }
14814          part { name: "units";
14815             mouse_events: 0;
14816             description { state: "default" 0.0;
14817                visible: 0;
14818                rel1 {
14819                   to: "elm.units";
14820                   offset: -8 0;
14821                }
14822                rel2 {
14823                   to: "elm.units";
14824                   offset: 7 8;
14825                }
14826                image {
14827                   normal: "slv_units.png";
14828                   border: 8 8 0 9;
14829                }
14830                fill.smooth: 0;
14831             }
14832             description { state: "visible" 0.0;
14833                inherit: "default" 0.0;
14834                visible: 1;
14835             }
14836          }
14837          part { name: "elm.units";
14838             type: TEXT;
14839             mouse_events: 0;
14840             scale: 1;
14841             description { state: "default" 0.0;
14842                visible: 0;
14843                fixed: 1 1;
14844                align: 0.5 1.0;
14845                rel1.relative: 0.0 0.0;
14846                rel1.to_y: "elm.swallow.end";
14847                rel1.offset: 8 0;
14848                rel2.relative: 1.0 0.0;
14849                rel2.to_y: "elm.swallow.end";
14850                rel2.offset: -9 0;
14851                color: 0 0 0 255;
14852                text {
14853                   font: "Sans,Edje-Vera";
14854                   size: 10;
14855                   min: 0 0;
14856                   align: 0.5 0.0;
14857                }
14858             }
14859             description { state: "visible" 0.0;
14860                inherit: "default" 0.0;
14861                fixed: 1 1;
14862                visible: 1;
14863                text.min: 1 1;
14864                rel1.offset: 8 -9;
14865                rel2.offset: -9 -9;
14866             }
14867             description { state: "disabled" 0.0;
14868                inherit: "default" 0.0;
14869                color:  0 0 0 128;
14870                color3: 0 0 0 0;
14871                visible: 0;
14872             }
14873             description { state: "disabled_visible" 0.0;
14874                inherit: "default" 0.0;
14875                fixed: 1 1;
14876                visible: 1;
14877                text.min: 1 1;
14878                rel1.offset: 8 -9;
14879                rel2.offset: -9 -9;
14880                color: 0 0 0 128;
14881                color3: 0 0 0 0;
14882             }
14883          }
14884          part { name: "elm.dragable.slider";
14885             type: GROUP;
14886             source: "elm/slider/vertical/indicator/default";
14887             mouse_events: 1;
14888             repeat_events: 1;
14889             scale: 1;
14890             dragable {
14891                x: 0 0 0;
14892                y: 1 1 0;
14893                confine: "bg";
14894             }
14895             description { state: "default" 0.0;
14896                min: 24 0;
14897                max: 24 0;
14898                fixed: 1 1;
14899                rel1 {
14900                   relative: 0.5  0.0;
14901                   to_y: "bg";
14902                }
14903                rel2 {
14904                   relative: 0.5  1.0;
14905                   to_y: "bg";
14906                }
14907                color: 0 0 0 0;
14908             }
14909          }
14910               part { name: "disabler";
14911                 type: RECT;
14912                 description { state: "default" 0.0;
14913                    color: 0 0 0 0;
14914                    visible: 0;
14915                 }
14916                 description { state: "disabled" 0.0;
14917                    inherit: "default" 0.0;
14918                    visible: 1;
14919                 }
14920              }
14921           }
14922
14923       programs {
14924          program { name: "text_show";
14925             signal: "elm,state,text,visible";
14926             source: "elm";
14927             action:  STATE_SET "visible" 0.0;
14928             target: "elm.text";
14929          }
14930          program { name: "text_hide";
14931             signal: "elm,state,text,hidden";
14932             source: "elm";
14933             action:  STATE_SET "default" 0.0;
14934             target: "elm.text";
14935          }
14936          program { name: "icon_show";
14937             signal: "elm,state,icon,visible";
14938             source: "elm";
14939             action:  STATE_SET "visible" 0.0;
14940             target: "elm.swallow.icon";
14941          }
14942          program { name: "icon_hide";
14943             signal: "elm,state,icon,hidden";
14944             source: "elm";
14945             action:  STATE_SET "default" 0.0;
14946             target: "elm.swallow.icon";
14947          }
14948          program { name: "end_show";
14949             signal: "elm,state,end,visible";
14950             source: "elm";
14951             action:  STATE_SET "visible" 0.0;
14952             target: "elm.swallow.end";
14953          }
14954          program { name: "end_hide";
14955             signal: "elm,state,end,hidden";
14956             source: "elm";
14957             action:  STATE_SET "default" 0.0;
14958             target: "elm.swallow.end";
14959          }
14960          program { name: "units_show";
14961             signal: "elm,state,units,visible";
14962             source: "elm";
14963             action:  STATE_SET "visible" 0.0;
14964             target: "elm.units";
14965             target: "units";
14966          }
14967          program { name: "units_hide";
14968             signal: "elm,state,units,hidden";
14969             source: "elm";
14970             action:  STATE_SET "default" 0.0;
14971             target: "elm.units";
14972             target: "units";
14973          }
14974          program { name: "invert_on";
14975             signal: "elm,state,inverted,on";
14976             source: "elm";
14977             action:  STATE_SET "inverted" 0.0;
14978             target: "level";
14979             target: "level2";
14980          }
14981          program { name: "invert_off";
14982             signal: "elm,state,inverted,off";
14983             source: "elm";
14984             action:  STATE_SET "default" 0.0;
14985             target: "level";
14986             target: "level2";
14987          }
14988          program {
14989             name:   "go_disabled";
14990             signal: "elm,state,disabled";
14991             source: "elm";
14992             action: STATE_SET "disabled" 0.0;
14993 //            target: "button0";
14994             target: "disabler";
14995             after: "disable_text";
14996             after: "disable_ind";
14997          }
14998
14999          program { name: "disable_ind";
15000             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15001          }
15002
15003          program { name: "disable_text";
15004             script {
15005             new st[31];
15006             new Float:vl;
15007                get_state(PART:"elm.text", st, 30, vl);
15008                if (!strcmp(st, "visible"))
15009                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15010                else
15011                   set_state(PART:"elm.text", "disabled", 0.0);
15012
15013                get_state(PART:"elm.units", st, 30, vl);
15014                if (!strcmp(st, "visible"))
15015                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15016                else
15017                   set_state(PART:"elm.units", "disabled", 0.0);
15018
15019                get_state(PART:"level2", st, 30, vl);
15020                if (!strcmp(st, "inverted"))
15021                {
15022                   set_state(PART:"level", "disabled_inverted", 0.0);
15023                   set_state(PART:"level2", "disabled_inverted", 0.0);
15024                }
15025                else
15026                {
15027                   set_state(PART:"level", "disabled", 0.0);
15028                   set_state(PART:"level2", "disabled", 0.0);
15029                }
15030             }
15031          }
15032
15033          program { name: "enable";
15034             signal: "elm,state,enabled";
15035             source: "elm";
15036             action: STATE_SET "default" 0.0;
15037 //            target: "button0";
15038             target: "disabler";
15039             after: "enable_text";
15040             after: "enable_ind";
15041          }
15042
15043          program { name: "enable_ind";
15044             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15045          }
15046          program { name: "enable_text";
15047             script {
15048                new st[31];
15049                new Float:vl;
15050                get_state(PART:"elm.text", st, 30, vl);
15051                if (!strcmp(st, "disabled_visible"))
15052                   set_state(PART:"elm.text", "visible", 0.0);
15053                else
15054                   set_state(PART:"elm.text", "default", 0.0);
15055
15056                get_state(PART:"elm.units", st, 30, vl);
15057                if (!strcmp(st, "disabled_visible"))
15058                   set_state(PART:"elm.units", "visible", 0.0);
15059                else
15060                   set_state(PART:"elm.units", "default", 0.0);
15061
15062                get_state(PART:"level2", st, 30, vl);
15063                if (!strcmp(st, "disabled_inverted"))
15064                {
15065                   set_state(PART:"level", "inverted", 0.0);
15066                   set_state(PART:"level2", "inverted", 0.0);
15067                }
15068                else
15069                {
15070                   set_state(PART:"level", "default", 0.0);
15071                   set_state(PART:"level2", "default", 0.0);
15072                }
15073             }
15074          }
15075       }
15076    }
15077    group { name: "elm/slider/horizontal/indicator/default";
15078            alias: "elm/slider/horizontal/indicator/disabled";
15079            alias: "elm/slider/vertical/indicator/default";
15080            alias: "elm/slider/vertical/indicator/disabled";
15081       images {
15082          image: "sl_bt_0.png" COMP;
15083          image: "sl_bt_1.png" COMP;
15084          image: "sl_bt_2.png" COMP;
15085          image: "sl_bt_3.png" COMP;
15086          image: "sl_bt2_0_0.png" COMP;
15087          image: "sl_bt2_0_1.png" COMP;
15088          image: "sl_bt2_0_2.png" COMP;
15089          image: "sl_bt2_1.png" COMP;
15090          image: "sl_bt2_2.png" COMP;
15091       }
15092       script {
15093          public value_hide = 0;
15094          public set_value_show() {
15095             set_int(value_hide, 0);
15096          }
15097          public set_value_hide() {
15098             set_int(value_hide, 1);
15099          }
15100          public thumb_down() {
15101             if (get_int(value_hide) == 1) {
15102                set_state(PART:"elm.indicator", "default", 0.0);
15103                set_state(PART:"button3", "default", 0.0);
15104                set_state(PART:"button4", "default", 0.0);
15105                set_state(PART:"button5", "default", 0.0);
15106                set_state(PART:"button6", "default", 0.0);
15107                set_state(PART:"button7", "default", 0.0);
15108             } else {
15109                set_state(PART:"elm.indicator", "visible", 0.0);
15110                set_state(PART:"button3", "visible", 0.0);
15111                set_state(PART:"button4", "visible", 0.0);
15112                set_state(PART:"button5", "visible", 0.0);
15113                set_state(PART:"button6", "visible", 0.0);
15114                set_state(PART:"button7", "visible", 0.0);
15115             }
15116          }
15117          public thumb_up() {
15118             set_state(PART:"elm.indicator", "default", 0.0);
15119             set_state(PART:"button3", "default", 0.0);
15120             set_state(PART:"button4", "default", 0.0);
15121             set_state(PART:"button5", "default", 0.0);
15122             set_state(PART:"button6", "default", 0.0);
15123             set_state(PART:"button7", "default", 0.0);
15124          }
15125       }
15126       parts {
15127          part { name: "button_events";
15128             type: RECT;
15129             mouse_events: 1;
15130             description { state: "default" 0.0;
15131                fixed: 1 1;
15132                min: 16 16;
15133                aspect: 1.0 1.0;
15134                aspect_preference: VERTICAL;
15135                color: 0 0 0 0;
15136             }
15137          }
15138          part { name: "button0";
15139             mouse_events: 0;
15140             description { state: "default" 0.0;
15141                fixed: 1 1;
15142                max: 17 999;
15143                min: 17 24;
15144                image {
15145                   normal: "sl_bt_0.png";
15146                   border: 5 5 5 10;
15147                }
15148                fill.smooth: 0;
15149             }
15150             description { state: "disabled" 0.0;
15151                inherit: "default" 0.0;
15152                image {
15153                   normal: "sl_bt_3.png";
15154                   border: 5 5 5 10;
15155                }
15156             }
15157          }
15158          part { name: "button1";
15159             mouse_events: 0;
15160             description { state: "default" 0.0;
15161                rel1.to: "button0";
15162                rel2 {
15163                   to: "button0";
15164                   relative: 1.0 0.5;
15165                   offset: -1 -5;
15166                }
15167                image {
15168                   normal: "sl_bt_1.png";
15169                   border: 5 5 5 0;
15170                }
15171             }
15172          }
15173          part { name: "button2";
15174             mouse_events: 0;
15175             description { state: "default" 0.0;
15176                rel1.to: "button0";
15177                rel2.to: "button0";
15178                image {
15179                   normal: "sl_bt_2.png";
15180                   border: 5 5 5 10;
15181                }
15182                fill.smooth: 0;
15183             }
15184          }
15185          part { name: "button3";
15186             mouse_events: 0;
15187             description { state: "default" 0.0;
15188                fixed: 1 1;
15189                visible: 0;
15190                min: 8 32;
15191                align: 1.0 0.5;
15192                rel1 {
15193                   to_x: "elm.indicator";
15194                   to_y: "button4";
15195                   relative: 0.0 0.0;
15196                   offset: -7 0;
15197                }
15198                rel2 {
15199                   to: "button4";
15200                   relative: 0.0 1.0;
15201                   offset: -1 -1;
15202                }
15203                image {
15204                   normal: "sl_bt2_0_0.png";
15205                   border: 6 0 6 12;
15206                }
15207                fill.smooth: 0;
15208             }
15209             description { state: "visible" 0.0;
15210                inherit: "default" 0.0;
15211                visible: 1;
15212             }
15213          }
15214          part { name: "button4";
15215             mouse_events: 0;
15216             description { state: "default" 0.0;
15217                visible: 0;
15218                max: 15 999;
15219                min: 15 32;
15220                rel1 {
15221                   to_x: "button0";
15222                   to_y: "elm.indicator";
15223                   offset: 0 0;
15224                }
15225                rel2.to: "button0";
15226                image {
15227                   normal: "sl_bt2_0_1.png";
15228                   border: 0 0 6 12;
15229                }
15230                fill.smooth: 0;
15231             }
15232             description { state: "visible" 0.0;
15233                inherit: "default" 0.0;
15234                visible: 1;
15235             }
15236          }
15237          part { name: "button5";
15238             mouse_events: 0;
15239             description { state: "default" 0.0;
15240                fixed: 1 1;
15241                visible: 0;
15242                min: 8 32;
15243                align: 0.0 0.5;
15244                rel1 {
15245                   to: "button4";
15246                   relative: 1.0 0.0;
15247                   offset: 0 0;
15248                }
15249                rel2 {
15250                   to_x: "elm.indicator";
15251                   to_y: "button4";
15252                   relative: 1.0 1.0;
15253                   offset: 6 -1;
15254                }
15255                image {
15256                   normal: "sl_bt2_0_2.png";
15257                   border: 0 6 6 12;
15258                }
15259                fill.smooth: 0;
15260             }
15261             description { state: "visible" 0.0;
15262                inherit: "default" 0.0;
15263                visible: 1;
15264             }
15265          }
15266          part { name: "elm.indicator";
15267             type: TEXT;
15268             mouse_events: 0;
15269             effect: SOFT_SHADOW;
15270             scale: 1;
15271             description { state: "default" 0.0;
15272                visible: 0;
15273                fixed: 1 1;
15274                align: 0.5 1.0;
15275                rel1 {
15276                   to: "button0";
15277                   relative: 0.0 -0.25;
15278                   offset: 0 0;
15279                }
15280                rel2 {
15281                   to_x: "button0";
15282                   relative: 1.0 -0.25;
15283                   offset: -1 0;
15284                }
15285                color: 224 224 224 255;
15286                color3: 0 0 0 64;
15287                text {
15288                   font:     "Sans,Edje-Vera";
15289                   size:     10;
15290                   min:      0 0;
15291                   align:    0.5 0.5;
15292                }
15293             }
15294             description { state: "visible" 0.0;
15295                inherit: "default" 0.0;
15296                visible: 1;
15297                text.min: 1 1;
15298                rel1.offset: 0 -1;
15299                rel2.offset: -1 -1;
15300             }
15301          }
15302          part { name: "button6";
15303             mouse_events: 0;
15304             description { state: "default" 0.0;
15305                visible: 0;
15306                rel1.to: "button3";
15307                rel2 {
15308                   to: "button5";
15309                   relative: 1.0 0.3;
15310                   offset: -1 -1;
15311                }
15312                image {
15313                   normal: "sl_bt2_1.png";
15314                   border: 5 5 5 0;
15315                }
15316                fill.smooth: 0;
15317             }
15318             description { state: "visible" 0.0;
15319                inherit: "default" 0.0;
15320                visible: 1;
15321             }
15322          }
15323          part { name: "button7";
15324             mouse_events: 0;
15325             description { state: "default" 0.0;
15326                visible: 0;
15327                rel1.to: "button3";
15328                rel2.to: "button5";
15329                image {
15330                   normal: "sl_bt2_2.png";
15331                   border: 5 5 5 0;
15332                   middle: 0;
15333                }
15334                fill.smooth: 0;
15335             }
15336             description { state: "visible" 0.0;
15337                inherit: "default" 0.0;
15338                visible: 1;
15339             }
15340          }
15341       }
15342       programs {
15343          program { name: "set_val_show";
15344             signal: "elm,state,val,show";
15345             source: "elm";
15346             script {
15347                set_value_show();
15348             }
15349          }
15350          program { name: "set_val_hide";
15351             signal: "elm,state,val,hide";
15352             source: "elm";
15353             script {
15354                set_value_hide();
15355             }
15356          }
15357          program { name: "val_show";
15358             signal: "mouse,down,*";
15359             source: "button_events";
15360             script {
15361                thumb_down();
15362             }
15363
15364          }
15365          program { name: "val_hide";
15366             signal: "mouse,up,*";
15367             source: "button_events";
15368             script {
15369                thumb_up();
15370             }
15371          }
15372          program {
15373             name:    "go_disabled";
15374             signal:  "elm,state,disabled";
15375             source:  "elm";
15376             action:  STATE_SET "disabled" 0.0;
15377             target:  "button0";
15378          }
15379          program {
15380             name:    "go_enabled";
15381             signal:  "elm,state,enabled";
15382             source:  "elm";
15383             action:  STATE_SET "default" 0.0;
15384             target:  "button0";
15385          }
15386       }
15387    }
15388
15389
15390 ////////////////////////////////////////////////////////////////////////////////
15391 // actionslider
15392 ////////////////////////////////////////////////////////////////////////////////
15393    group { name: "elm/actionslider/base/default";
15394
15395       images {
15396          image: "shelf_inset.png" COMP;
15397          image: "ilist_1.png" COMP;
15398          image: "bt_bases.png" COMP;
15399          image: "bt_basew.png" COMP;
15400          image: "bt_hilightw.png" COMP;
15401       }
15402
15403       parts {
15404          part {
15405             name: "base";
15406             mouse_events: 0;
15407             description {
15408                state: "default" 0.0;
15409                min: 75 25;
15410                rel1.offset: 1 1;
15411                rel2.offset: -2 -2;
15412                image {
15413                   normal: "ilist_1.png";
15414                   border: 2 2 2 2;
15415                }
15416                fill.smooth: 0;
15417             }
15418          }
15419          part { name: "conf_over";
15420             mouse_events:  0;
15421             description { state: "default" 0.0;
15422                rel1.to: "base";
15423                rel2.to: "base";
15424                image {
15425                   normal: "shelf_inset.png";
15426                   border: 7 7 7 7;
15427                   middle: 0;
15428                }
15429                fill.smooth : 0;
15430             }
15431          }
15432          part { name: "icon.dragable.area";
15433            type: RECT;
15434             mouse_events: 0;
15435             description { state: "default" 0.0;
15436                visible: 0;
15437                rel1.to: "base";
15438                rel2.to: "base";
15439             }
15440          }
15441          part { name: "elm.text.left";
15442             type: TEXT;
15443             mouse_events: 0;
15444             scale: 1;
15445             description { state: "default" 0.0;
15446                color: 0 0 0 255;
15447                text {
15448                   font: "Sans,Edje-Vera";
15449                   size: 10;
15450                   align: 0.05 0.5;
15451                   min: 1 1;
15452                }
15453             }
15454          }
15455          part { name: "elm.text.center";
15456             type: TEXT;
15457             mouse_events: 0;
15458             scale: 1;
15459             description { state: "default" 0.0;
15460                color: 0 0 0 255;
15461                text {
15462                   font: "Sans,Edje-Vera";
15463                   size: 10;
15464                   align: 0.5 0.5;
15465                   min: 1 1;
15466                }
15467             }
15468          }
15469          part { name: "elm.text.right";
15470             type: TEXT;
15471             mouse_events: 0;
15472             scale: 1;
15473             description { state: "default" 0.0;
15474                color: 0 0 0 255;
15475                text {
15476                   font: "Sans,Edje-Vera";
15477                   size: 10;
15478                   align: 0.95 0.5;
15479                   min: 1 1;
15480                }
15481             }
15482          }
15483          part { name: "elm.drag_button_base";
15484             type: SWALLOW;
15485             mouse_events: 0;
15486             scale: 1;
15487             description { state: "default" 0.0;
15488                fixed: 1 1;
15489                min: 50 25;
15490                align: 0.5 0.5;
15491                rel1.to: "icon.dragable.area";
15492                rel2 {
15493                   relative: 0.0 1.0;
15494                   to: "icon.dragable.area";
15495                }
15496             }
15497             dragable {
15498                confine: "icon.dragable.area";
15499                x: 1 1 0;
15500                y: 0 0 0;
15501             }
15502          }
15503          part { name: "elm.drag_button";
15504             type: RECT;
15505             mouse_events: 1;
15506             description { state: "default" 0.0;
15507                min: 50 25;
15508                color: 255 255 255 0;
15509                rel1.to_x: "elm.drag_button_base";
15510                rel1.to_y: "icon.dragable.area";
15511                rel2.to_x: "elm.drag_button_base";
15512                rel2.to_y: "icon.dragable.area";
15513             }
15514             dragable {
15515                events: "elm.drag_button_base";
15516             }
15517          }
15518          part { name: "button0";
15519             mouse_events: 0;
15520             description { state: "default" 0.0;
15521                rel1.to: "button2";
15522                rel1.offset: -4 -4;
15523                rel2.to: "button2";
15524                rel2.offset: 3 3;
15525                image {
15526                   normal: "bt_bases.png";
15527                   border: 11 11 11 11;
15528                   middle: SOLID;
15529                }
15530                color: 255 255 255 128;
15531             }
15532          }
15533          part { name: "button2";
15534             mouse_events: 0;
15535             description { state: "default" 0.0;
15536                rel1.to: "elm.drag_button";
15537                rel2.to: "elm.drag_button";
15538                image {
15539                   normal: "bt_basew.png";
15540                   border: 7 7 7 7;
15541                   middle: SOLID;
15542                }
15543                color: 255 255 255 210;
15544             }
15545          }
15546          part { name: "button3";
15547             mouse_events: 0;
15548             description { state: "default" 0.0;
15549                rel1.to: "button2";
15550                rel2.to: "button2";
15551                rel2.relative: 1.0 0.5;
15552                image {
15553                   normal: "bt_hilightw.png";
15554                   border: 4 4 4 0;
15555                }
15556                color: 255 255 255 190;
15557             }
15558          }
15559          part { name: "elm.text.indicator";
15560             type: TEXT;
15561             scale: 1;
15562             mouse_events: 0;
15563             description { state: "default" 0.0;
15564                rel1 {
15565                   to: "elm.drag_button";
15566                   offset: 5 0;
15567                }
15568                rel2 {
15569                   to: "elm.drag_button";
15570                   offset: -5 0;
15571                }
15572                color: 0 0 0 255;
15573                text {
15574                   font: "Sans,Edje-Vera";
15575                   size: 10;
15576                   align: 0.5 0.5;
15577                   min: 0 1;
15578                }
15579             }
15580          }
15581       }
15582       programs {
15583          program { name: "elm.drag_button,mouse,up";
15584             signal: "mouse,up,1";
15585             source: "elm.drag_button";
15586             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15587          }
15588          program { name: "elm.drag_button,mouse,down";
15589             signal: "mouse,down,1";
15590             source: "elm.drag_button";
15591             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15592          }
15593          program { name: "elm.drag_button,mouse,move";
15594             signal: "mouse,move";
15595             source: "elm.drag_button_base";
15596             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15597          }
15598       }
15599    }
15600
15601    group { name: "elm/actionslider/base/bar";
15602
15603       images {
15604          image: "shelf_inset.png" COMP;
15605          image: "ilist_1.png" COMP;
15606          image: "bt_bases.png" COMP;
15607          image: "bt_basew.png" COMP;
15608          image: "bt_hilightw.png" COMP;
15609       }
15610
15611       parts {
15612          part {
15613             name: "base";
15614             mouse_events: 0;
15615             description {
15616                state: "default" 0.0;
15617                min: 150 30;
15618                rel1.offset: 1 1;
15619                rel2.offset: -2 -2;
15620                image {
15621                   normal: "ilist_1.png";
15622                   border: 2 2 2 2;
15623                }
15624                fill.smooth: 0;
15625             }
15626          }
15627          part { name: "conf_over";
15628             mouse_events:  0;
15629             description { state: "default" 0.0;
15630                rel1.to: "base";
15631                rel2.to: "base";
15632                image {
15633                   normal: "shelf_inset.png";
15634                   border: 7 7 7 7;
15635                   middle: 0;
15636                }
15637                fill.smooth : 0;
15638             }
15639          }
15640          part { name: "icon.dragable.area";
15641            type: RECT;
15642             mouse_events: 0;
15643             description { state: "default" 0.0;
15644                visible: 0;
15645                rel1.to: "base";
15646                rel2.to: "base";
15647             }
15648          }
15649          part { name: "elm.text.left";
15650             type: TEXT;
15651             mouse_events: 0;
15652             scale: 1;
15653             description { state: "default" 0.0;
15654                color: 0 0 0 255;
15655                text {
15656                   font: "Sans,Edje-Vera";
15657                   size: 10;
15658                   align: 0.05 0.5;
15659                   min: 1 1;
15660                }
15661             }
15662          }
15663          part { name: "elm.text.center";
15664             type: TEXT;
15665             mouse_events: 0;
15666             scale: 1;
15667             description { state: "default" 0.0;
15668                color: 0 0 0 255;
15669                text {
15670                   font: "Sans,Edje-Vera";
15671                   size: 10;
15672                   align: 0.5 0.5;
15673                   min: 1 1;
15674                }
15675             }
15676          }
15677          part { name: "elm.text.right";
15678             type: TEXT;
15679             mouse_events: 0;
15680             scale: 1;
15681             description { state: "default" 0.0;
15682                color: 0 0 0 255;
15683                text {
15684                   font: "Sans,Edje-Vera";
15685                   size: 10;
15686                   align: 0.95 0.5;
15687                   min: 1 1;
15688                }
15689             }
15690          }
15691          part { name: "bar";
15692             type: RECT;
15693             mouse_events: 0;
15694             description { state: "default" 0.0;
15695                rel1.to: "base";
15696                rel1.offset: 0 2;
15697                rel2 {
15698                   relative: 0 1;
15699                   offset: 3 -3;
15700                   to_x: "elm.drag_button_base";
15701                   to_y: "base";
15702                }
15703                color: 0 0 0 180;
15704             }
15705          }
15706          part { name: "elm.drag_button_base";
15707             type: SWALLOW;
15708             mouse_events: 1;
15709             scale: 1;
15710             description { state: "default" 0.0;
15711                fixed: 1 1;
15712                min: 50 25;
15713                align: 0.5 0.5;
15714                rel1.to: "icon.dragable.area";
15715                rel2 {
15716                   relative: 0.0 1.0;
15717                   to: "icon.dragable.area";
15718                }
15719             }
15720             dragable {
15721                confine: "icon.dragable.area";
15722                x: 1 1 0;
15723                y: 0 0 0;
15724             }
15725          }
15726          part { name: "elm.drag_button";
15727             type: RECT;
15728             mouse_events: 1;
15729             description { state: "default" 0.0;
15730                min: 50 25;
15731                color: 255 255 255 0;
15732                rel1.to_x: "elm.drag_button_base";
15733                rel1.to_y: "icon.dragable.area";
15734                rel2.to_x: "elm.drag_button_base";
15735                rel2.to_y: "icon.dragable.area";
15736             }
15737             dragable {
15738                events: "elm.drag_button_base";
15739             }
15740          }
15741          part { name: "button0";
15742             mouse_events: 0;
15743             description { state: "default" 0.0;
15744                rel1.to: "button2";
15745                rel1.offset: -4 -4;
15746                rel2.to: "button2";
15747                rel2.offset: 3 3;
15748                image {
15749                   normal: "bt_bases.png";
15750                   border: 11 11 11 11;
15751                   middle: SOLID;
15752                }
15753                color: 255 255 255 128;
15754             }
15755          }
15756          part { name: "button2";
15757             mouse_events: 0;
15758             description { state: "default" 0.0;
15759                rel1.to: "elm.drag_button";
15760                rel2.to: "elm.drag_button";
15761                image {
15762                   normal: "bt_basew.png";
15763                   border: 7 7 7 7;
15764                   middle: SOLID;
15765                }
15766                color: 255 255 255 210;
15767             }
15768          }
15769          part { name: "button3";
15770             mouse_events: 0;
15771             description { state: "default" 0.0;
15772                rel1.to: "button2";
15773                rel2.to: "button2";
15774                rel2.relative: 1.0 0.5;
15775                image {
15776                   normal: "bt_hilightw.png";
15777                   border: 4 4 4 0;
15778                }
15779                color: 255 255 255 190;
15780             }
15781          }
15782          part { name: "elm.text.indicator";
15783             type: TEXT;
15784             scale: 1;
15785             mouse_events: 0;
15786             description { state: "default" 0.0;
15787                rel1 {
15788                   to: "elm.drag_button";
15789                   offset: 5 0;
15790                }
15791                rel2 {
15792                   to: "elm.drag_button";
15793                   offset: -5 0;
15794                }
15795                color: 0 0 0 255;
15796                text {
15797                   font: "Sans,Edje-Vera";
15798                   size: 10;
15799                   align: 0.5 0.5;
15800                   min: 0 1;
15801                }
15802             }
15803          }
15804       }
15805       programs {
15806          program { name: "elm.drag_button,mouse,up";
15807             signal: "mouse,up,1";
15808             source: "elm.drag_button";
15809             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15810          }
15811          program { name: "elm.drag_button,mouse,down";
15812             signal: "mouse,down,1";
15813             source: "elm.drag_button";
15814             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15815          }
15816          program { name: "elm.drag_button,mouse,move";
15817             signal: "mouse,move";
15818             source: "elm.drag_button_base";
15819             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15820          }
15821       }
15822    }
15823
15824 ///////////////////////////////////////////////////////////////////////////////
15825    group { name: "elm/genlist/item/default/default";
15826       data.item: "selectraise" "on";
15827       data.item: "labels" "elm.text";
15828       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15829       data.item: "treesize" "20";
15830 //      data.item: "states" "";
15831       images {
15832          image: "bt_sm_base1.png" COMP;
15833          image: "bt_sm_shine.png" COMP;
15834          image: "bt_sm_hilight.png" COMP;
15835          image: "ilist_1.png" COMP;
15836          image: "ilist_2.png" COMP;
15837          image: "ilist_item_shadow.png" COMP;
15838       }
15839       parts {
15840          part {
15841             name:           "event";
15842             type:           RECT;
15843             repeat_events: 1;
15844             description {
15845                state: "default" 0.0;
15846                color: 0 0 0 0;
15847             }
15848          }
15849          part { name: "reorder_bg";
15850             mouse_events: 0;
15851             description { state: "default" 0.0;
15852                visible: 0;
15853                color: 255 255 255 0;
15854                rel1 {
15855                   relative: 0.0 0.0;
15856                   offset: -7 -7;
15857                }
15858                rel2 {
15859                   relative: 1.0 1.0;
15860                   offset: 9 9;
15861                }
15862                image {
15863                   normal: "bt_bases.png";
15864                   border: 6 6 6 6;
15865                }
15866             }
15867             description { state: "enabled" 0.0;
15868                inherit: "default" 0.0;
15869                visible: 1;
15870                color: 255 255 255 255;
15871             }
15872          }
15873          part {
15874             name: "base_sh";
15875             mouse_events: 0;
15876             description {
15877                state: "default" 0.0;
15878                align: 0.0 0.0;
15879                min: 0 10;
15880                fixed: 1 1;
15881                rel1 {
15882                   to: "base";
15883                   relative: 0.0 1.0;
15884                   offset: 0 0;
15885                }
15886                rel2 {
15887                   to: "base";
15888                   relative: 1.0 1.0;
15889                   offset: -1 0;
15890                }
15891                image {
15892                   normal: "ilist_item_shadow.png";
15893                }
15894                fill.smooth: 0;
15895             }
15896             description {
15897                state: "default" 1.0;
15898                inherit: "default" 0.0;
15899                visible: 0;
15900             }
15901          }
15902          part {
15903             name: "base";
15904             mouse_events: 0;
15905             description {
15906                state: "default" 0.0;
15907                image {
15908                   normal: "ilist_1.png";
15909                   border: 2 2 2 2;
15910                }
15911                fill.smooth: 0;
15912             }
15913             description {
15914                state: "default" 1.0;
15915                inherit: "default" 0.0;
15916                image.normal: "ilist_2.png";
15917             }
15918          }
15919          part { name: "bg";
15920             clip_to: "disclip";
15921             mouse_events: 0;
15922             description { state: "default" 0.0;
15923                visible: 0;
15924                color: 255 255 255 0;
15925                rel1 {
15926                   relative: 0.0 0.0;
15927                   offset: -5 -5;
15928                }
15929                rel2 {
15930                   relative: 1.0 1.0;
15931                   offset: 4 4;
15932                }
15933                image {
15934                   normal: "bt_sm_base1.png";
15935                   border: 6 6 6 6;
15936                }
15937                image.middle: SOLID;
15938             }
15939             description { state: "default" 0.1;
15940                inherit: "default" 0.0;
15941             }
15942             description { state: "selected" 0.0;
15943                inherit: "default" 0.0;
15944                visible: 1;
15945                color: 255 255 255 255;
15946                rel1 {
15947                   relative: 0.0 0.0;
15948                   offset: -2 -2;
15949                }
15950                rel2 {
15951                   relative: 1.0 1.0;
15952                   offset: 1 1;
15953                }
15954             }
15955             description {
15956                state: "selected" 1.0;
15957                inherit: "selected" 0.0;
15958             }
15959          }
15960          part { name: "elm.swallow.pad";
15961             type: SWALLOW;
15962             description { state: "default" 0.0;
15963                fixed: 1 0;
15964                align: 0.0 0.5;
15965                rel1 {
15966                   relative: 0.0  0.0;
15967                   offset:   4    4;
15968                }
15969                rel2 {
15970                   relative: 0.0  1.0;
15971                   offset:   4   -5;
15972                }
15973             }
15974          }
15975          part { name: "elm.swallow.icon";
15976             clip_to: "disclip";
15977             type: SWALLOW;
15978             description { state: "default" 0.0;
15979                fixed: 1 0;
15980                align: 0.0 0.5;
15981                rel1 {
15982                   to_x: "elm.swallow.pad";
15983                   relative: 1.0  0.0;
15984                   offset:   -1    4;
15985                }
15986                rel2 {
15987                   to_x: "elm.swallow.pad";
15988                   relative: 1.0  1.0;
15989                   offset:   -1   -5;
15990                }
15991             }
15992          }
15993          part { name: "elm.swallow.end";
15994             clip_to: "disclip";
15995             type: SWALLOW;
15996             description { state: "default" 0.0;
15997                fixed: 1 0;
15998                align: 1.0 0.5;
15999                aspect: 1.0 1.0;
16000                aspect_preference: VERTICAL;
16001                rel1 {
16002                   relative: 1.0  0.0;
16003                   offset:   -5    4;
16004                }
16005                rel2 {
16006                   relative: 1.0  1.0;
16007                   offset:   -5   -5;
16008                }
16009             }
16010          }
16011          part { name: "elm.text";
16012             clip_to: "disclip";
16013             type:           TEXT;
16014             effect:         SOFT_SHADOW;
16015             mouse_events:   0;
16016             scale: 1;
16017             description {
16018                state: "default" 0.0;
16019 //               min: 16 16;
16020                rel1 {
16021                   to_x:     "elm.swallow.icon";
16022                   relative: 1.0  0.0;
16023                   offset:   0 4;
16024                }
16025                rel2 {
16026                   to_x:     "elm.swallow.end";
16027                   relative: 0.0  1.0;
16028                   offset:   -1 -5;
16029                }
16030                color: 0 0 0 255;
16031                color3: 0 0 0 0;
16032                text {
16033                   font: "Sans";
16034                   size: 10;
16035                   min: 1 1;
16036 //                  min: 0 1;
16037                   align: -1.0 0.5;
16038                   text_class: "list_item";
16039                }
16040             }
16041             description { state: "selected" 0.0;
16042                inherit: "default" 0.0;
16043                color: 224 224 224 255;
16044                color3: 0 0 0 64;
16045             }
16046          }
16047          part { name: "fg1";
16048             clip_to: "disclip";
16049             mouse_events: 0;
16050             description { state: "default" 0.0;
16051                visible: 0;
16052                color: 255 255 255 0;
16053                rel1.to: "bg";
16054                rel2.relative: 1.0 0.5;
16055                rel2.to: "bg";
16056                image {
16057                   normal: "bt_sm_hilight.png";
16058                   border: 6 6 6 0;
16059                }
16060             }
16061             description { state: "selected" 0.0;
16062                inherit: "default" 0.0;
16063                visible: 1;
16064                color: 255 255 255 255;
16065             }
16066             description {
16067                state: "selected" 1.0;
16068                inherit: "default" 0.0;
16069                visible: 1;
16070                color: 255 255 255 255;
16071             }
16072          }
16073          part { name: "fg2";
16074             clip_to: "disclip";
16075             mouse_events: 0;
16076             description { state: "default" 0.0;
16077                visible: 0;
16078                color: 255 255 255 0;
16079                rel1.to: "bg";
16080                rel2.to: "bg";
16081                image {
16082                   normal: "bt_sm_shine.png";
16083                   border: 6 6 6 0;
16084                }
16085             }
16086             description { state: "selected" 0.0;
16087                inherit: "default" 0.0;
16088                visible: 1;
16089                color: 255 255 255 255;
16090             }
16091             description {
16092                state: "selected" 1.0;
16093                inherit: "default" 0.0;
16094                visible: 1;
16095                color: 255 255 255 255;
16096             }
16097          }
16098          part { name: "disclip";
16099             type: RECT;
16100             description { state: "default" 0.0;
16101                rel1.to: "bg";
16102                rel2.to: "bg";
16103             }
16104             description { state: "disabled" 0.0;
16105                inherit: "default" 0.0;
16106                color: 255 255 255 64;
16107             }
16108          }
16109       }
16110       programs {
16111          // signal: elm,state,%s,active
16112          //   a "check" item named %s went active
16113          // signal: elm,state,%s,passive
16114          //   a "check" item named %s went passive
16115          // default is passive
16116          program {
16117             name:    "odd";
16118             signal:  "elm,state,odd";
16119             source:  "elm";
16120             action:  STATE_SET "default" 1.0;
16121             target:  "base_sh";
16122             target:  "base";
16123          }
16124          program {
16125             name:    "even";
16126             signal:  "elm,state,even";
16127             source:  "elm";
16128             action:  STATE_SET "default" 0.0;
16129             target:  "base_sh";
16130             target:  "base";
16131          }
16132          program {
16133             name:    "go_active";
16134             signal:  "elm,state,selected";
16135             source:  "elm";
16136             script {
16137                new st[31];
16138                new Float:vl;
16139                get_state(PART:"base", st, 30, vl);
16140                set_state(PART:"bg", "selected", vl);
16141                set_state(PART:"fg1", "selected", vl);
16142                set_state(PART:"fg2", "selected", vl);
16143                set_state(PART:"elm.text", "selected", vl);
16144             }
16145          }
16146          program {
16147             name:    "go_passive";
16148             signal:  "elm,state,unselected";
16149             source:  "elm";
16150             script {
16151                new st[31];
16152                new Float:vl;
16153                get_state(PART:"base", st, 30, vl);
16154                set_state(PART:"bg", "default", vl);
16155                set_state(PART:"fg1", "default", vl);
16156                set_state(PART:"fg2", "default", vl);
16157                set_state(PART:"elm.text", "default", vl);
16158             }
16159          }
16160          program {
16161             name:    "go_disabled";
16162             signal:  "elm,state,disabled";
16163             source:  "elm";
16164             action:  STATE_SET "disabled" 0.0;
16165             target:  "disclip";
16166          }
16167          program {
16168             name:    "go_enabled";
16169             signal:  "elm,state,enabled";
16170             source:  "elm";
16171             action:  STATE_SET "default" 0.0;
16172             target:  "disclip";
16173          }
16174          program {
16175             name:    "go_reorder_disabled";
16176             signal:  "elm,state,reorder,disabled";
16177             source:  "elm";
16178             action:  STATE_SET "default" 0.0;
16179             target:  "reorder_bg";
16180             transition: DECELERATE 0.5;
16181          }
16182          program {
16183             name:    "go_reorder_enabled";
16184             signal:  "elm,state,reorder,enabled";
16185             source:  "elm";
16186             action:  STATE_SET "enabled" 0.0;
16187             target:  "reorder_bg";
16188             transition: DECELERATE 0.5;
16189          }
16190       }
16191    }
16192    group { name: "elm/genlist/item/group_index/default";
16193       alias: "elm/genlist/item_compress/group_index/default";
16194       data.item: "selectraise" "on";
16195       data.item: "labels" "elm.text";
16196       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16197       data.item: "treesize" "20";
16198 //      data.item: "states" "";
16199       images {
16200          image: "bt_sm_base1.png" COMP;
16201          image: "bt_sm_shine.png" COMP;
16202          image: "bt_sm_hilight.png" COMP;
16203          image: "ilist_item_shadow.png" COMP;
16204          image: "group_index.png" COMP;
16205       }
16206       parts {
16207          part {
16208             name: "event";
16209             type: RECT;
16210             repeat_events: 0;
16211             description {
16212                state: "default" 0.0;
16213                color: 0 0 0 0;
16214             }
16215          }
16216          part {
16217             name: "base_sh";
16218             mouse_events: 0;
16219             description {
16220                state: "default" 0.0;
16221                align: 0.0 0.0;
16222                min: 0 10;
16223                fixed: 1 1;
16224                rel1 {
16225                   to: "base";
16226                   relative: 0.0 1.0;
16227                   offset: 0 0;
16228                }
16229                rel2 {
16230                   to: "base";
16231                   relative: 1.0 1.0;
16232                   offset: -1 0;
16233                }
16234                image {
16235                   normal: "ilist_item_shadow.png";
16236                }
16237                fill.smooth: 0;
16238             }
16239          }
16240          part {
16241             name: "base";
16242             mouse_events: 0;
16243             description {
16244                state: "default" 0.0;
16245                image {
16246                   normal: "group_index.png";
16247                   border: 2 2 2 2;
16248                }
16249                fill.smooth: 0;
16250             }
16251          }
16252          part { name: "bg";
16253             clip_to: "disclip";
16254             mouse_events: 0;
16255             description { state: "default" 0.0;
16256                visible: 0;
16257                color: 255 255 255 0;
16258                rel1 {
16259                   relative: 0.0 0.0;
16260                   offset: -5 -5;
16261                }
16262                rel2 {
16263                   relative: 1.0 1.0;
16264                   offset: 4 4;
16265                }
16266                image {
16267                   normal: "bt_sm_base1.png";
16268                   border: 6 6 6 6;
16269                }
16270                image.middle: SOLID;
16271             }
16272             description { state: "selected" 0.0;
16273                inherit: "default" 0.0;
16274                visible: 1;
16275                color: 255 255 255 255;
16276                rel1 {
16277                   relative: 0.0 0.0;
16278                   offset: -2 -2;
16279                }
16280                rel2 {
16281                   relative: 1.0 1.0;
16282                   offset: 1 1;
16283                }
16284             }
16285          }
16286          part { name: "elm.swallow.pad";
16287             type: SWALLOW;
16288             description { state: "default" 0.0;
16289                fixed: 1 0;
16290                align: 0.0 0.5;
16291                rel1 {
16292                   relative: 0.0  0.0;
16293                   offset: 4 4;
16294                }
16295                rel2 {
16296                   relative: 0.0  1.0;
16297                   offset: 4 -5;
16298                }
16299             }
16300          }
16301          part { name: "elm.swallow.icon";
16302             clip_to: "disclip";
16303             type: SWALLOW;
16304             description { state: "default" 0.0;
16305                fixed: 1 0;
16306                align: 0.0 0.5;
16307                rel1 {
16308                   to_x: "elm.swallow.pad";
16309                   relative: 1.0 0.0;
16310                   offset: -1 4;
16311                }
16312                rel2 {
16313                   to_x: "elm.swallow.pad";
16314                   relative: 1.0 1.0;
16315                   offset: -1 -5;
16316                }
16317             }
16318          }
16319          part { name: "elm.swallow.end";
16320             clip_to: "disclip";
16321             type: SWALLOW;
16322             description { state: "default" 0.0;
16323                fixed: 1 0;
16324                align: 1.0 0.5;
16325                aspect: 1.0 1.0;
16326                aspect_preference: VERTICAL;
16327                rel1 {
16328                   relative: 1.0 0.0;
16329                   offset: -5 4;
16330                }
16331                rel2 {
16332                   relative: 1.0 1.0;
16333                   offset: -5 -5;
16334                }
16335             }
16336          }
16337          part { name: "elm.text";
16338             clip_to: "disclip";
16339             type: TEXT;
16340             effect: SOFT_SHADOW;
16341             mouse_events: 0;
16342             scale: 1;
16343             description {
16344                state: "default" 0.0;
16345 //               min: 16 16;
16346                rel1 {
16347                   to_x: "elm.swallow.icon";
16348                   relative: 1.0  0.0;
16349                   offset: 0 4;
16350                }
16351                rel2 {
16352                   to_x: "elm.swallow.end";
16353                   relative: 0.0  1.0;
16354                   offset: -1 -5;
16355                }
16356                color: 0 0 0 255;
16357                color3: 0 0 0 0;
16358                text {
16359                   font: "Sans";
16360                   size: 10;
16361                   min: 1 1;
16362 //                  min: 0 1;
16363                   align: -1.0 0.5;
16364                   text_class: "list_item";
16365                }
16366             }
16367             description { state: "selected" 0.0;
16368                inherit: "default" 0.0;
16369                color: 224 224 224 255;
16370                color3: 0 0 0 64;
16371             }
16372          }
16373          part { name: "fg1";
16374             clip_to: "disclip";
16375             mouse_events: 0;
16376             description { state: "default" 0.0;
16377                visible: 0;
16378                color: 255 255 255 0;
16379                rel1.to: "bg";
16380                rel2.relative: 1.0 0.5;
16381                rel2.to: "bg";
16382                image {
16383                   normal: "bt_sm_hilight.png";
16384                   border: 6 6 6 0;
16385                }
16386             }
16387             description { state: "selected" 0.0;
16388                inherit: "default" 0.0;
16389                visible: 1;
16390                color: 255 255 255 255;
16391             }
16392          }
16393          part { name: "fg2";
16394             clip_to: "disclip";
16395             mouse_events: 0;
16396             description { state: "default" 0.0;
16397                visible: 0;
16398                color: 255 255 255 0;
16399                rel1.to: "bg";
16400                rel2.to: "bg";
16401                image {
16402                   normal: "bt_sm_shine.png";
16403                   border: 6 6 6 0;
16404                }
16405             }
16406             description { state: "selected" 0.0;
16407                inherit: "default" 0.0;
16408                visible: 1;
16409                color: 255 255 255 255;
16410             }
16411          }
16412          part { name: "disclip";
16413             type: RECT;
16414             description { state: "default" 0.0;
16415                rel1.to: "bg";
16416                rel2.to: "bg";
16417             }
16418             description { state: "disabled" 0.0;
16419                inherit: "default" 0.0;
16420                color: 255 255 255 64;
16421             }
16422          }
16423       }
16424       programs {
16425          // signal: elm,state,%s,active
16426          //   a "check" item named %s went active
16427          // signal: elm,state,%s,passive
16428          //   a "check" item named %s went passive
16429          // default is passive
16430          program {
16431             name:    "go_active";
16432             signal:  "elm,state,selected";
16433             source:  "elm";
16434             action:  STATE_SET "selected" 0.0;
16435             target:  "bg";
16436             target:  "fg1";
16437             target:  "fg2";
16438             target:  "elm.text";
16439          }
16440          program {
16441             name:    "go_passive";
16442             signal:  "elm,state,unselected";
16443             source:  "elm";
16444             action:  STATE_SET "default" 0.0;
16445             target:  "bg";
16446             target:  "fg1";
16447             target:  "fg2";
16448             target:  "elm.text";
16449             transition: LINEAR 0.1;
16450          }
16451          program {
16452             name:    "go_disabled";
16453             signal:  "elm,state,disabled";
16454             source:  "elm";
16455             action:  STATE_SET "disabled" 0.0;
16456             target:  "disclip";
16457          }
16458          program {
16459             name:    "go_enabled";
16460             signal:  "elm,state,enabled";
16461             source:  "elm";
16462             action:  STATE_SET "default" 0.0;
16463             target:  "disclip";
16464          }
16465       }
16466    }
16467    group { name: "elm/genlist/item_compress/message/default";
16468       data.item: "selectraise" "on";
16469       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16470 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16471       data.item: "treesize" "20";
16472 //      data.item: "states" "";
16473       images {
16474          image: "bt_sm_base1.png" COMP;
16475          image: "bt_sm_shine.png" COMP;
16476          image: "bt_sm_hilight.png" COMP;
16477          image: "ilist_1.png" COMP;
16478          image: "ilist_2.png" COMP;
16479          image: "ilist_item_shadow.png" COMP;
16480       }
16481       styles {
16482         style { name: "genlist_textblock_style";
16483           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16484           tag:  "br" "\n";
16485           tag:  "ps" "ps";
16486           tag:  "tab" "\t";
16487         }
16488         style { name: "genlist_textblock_style2";
16489           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16490           tag:  "br" "\n";
16491           tag:  "ps" "ps";
16492           tag:  "tab" "\t";
16493         }
16494       }
16495      parts {
16496          part {
16497             name:           "event";
16498             type:           RECT;
16499             repeat_events: 1;
16500             description {
16501                state: "default" 0.0;
16502                color: 0 0 0 0;
16503             }
16504          }
16505          part {
16506             name: "base_sh";
16507             mouse_events: 0;
16508             description {
16509                state: "default" 0.0;
16510                align: 0.0 0.0;
16511                min: 0 10;
16512                fixed: 1 1;
16513                rel1 {
16514                   to: "base";
16515                   relative: 0.0 1.0;
16516                   offset: 0 0;
16517                }
16518                rel2 {
16519                   to: "base";
16520                   relative: 1.0 1.0;
16521                   offset: -1 0;
16522                }
16523                image {
16524                   normal: "ilist_item_shadow.png";
16525                }
16526                fill.smooth: 0;
16527             }
16528             description {
16529                state: "default" 1.0;
16530                inherit: "default" 0.0;
16531                visible: 0;
16532             }
16533          }
16534          part {
16535             name: "base";
16536             mouse_events: 0;
16537             description {
16538                state: "default" 0.0;
16539                image {
16540                   normal: "ilist_1.png";
16541                   border: 2 2 2 2;
16542                }
16543                fill.smooth: 0;
16544             }
16545             description {
16546                state: "default" 1.0;
16547                inherit: "default" 0.0;
16548                image.normal: "ilist_2.png";
16549             }
16550          }
16551          part { name: "bg";
16552             clip_to: "disclip";
16553             mouse_events: 0;
16554             description { state: "default" 0.0;
16555                visible: 0;
16556                color: 255 255 255 0;
16557                rel1 {
16558                   relative: 0.0 0.0;
16559                   offset: -5 -5;
16560                }
16561                rel2 {
16562                   relative: 1.0 1.0;
16563                   offset: 4 4;
16564                }
16565                image {
16566                   normal: "bt_sm_base1.png";
16567                   border: 6 6 6 6;
16568                }
16569                image.middle: SOLID;
16570             }
16571             description { state: "selected" 0.0;
16572                inherit: "default" 0.0;
16573                visible: 1;
16574                color: 255 255 255 255;
16575                rel1 {
16576                   relative: 0.0 0.0;
16577                   offset: -2 -2;
16578                }
16579                rel2 {
16580                   relative: 1.0 1.0;
16581                   offset: 1 1;
16582                }
16583             }
16584          }
16585          part { name: "elm.title.1";
16586             clip_to: "disclip";
16587             type:           TEXT;
16588             effect:         SOFT_SHADOW;
16589             mouse_events:   0;
16590             scale: 1;
16591             description {
16592                state: "default" 0.0;
16593                fixed: 0 1;
16594 //               min: 16 16;
16595                rel1 {
16596                   relative: 0.0  0.0;
16597                   offset:   4 4;
16598                }
16599                rel2 {
16600                   relative: 1.0  0.0;
16601                   offset:   -5 4;
16602                }
16603                color: 0 0 0 255;
16604                color3: 0 0 0 0;
16605                align: 0.0 0.0;
16606                text {
16607                   font: "Sans";
16608                   size: 10;
16609                   min: 0 1;
16610 //                  min: 1 1;
16611                   align: 0.0 0.0;
16612                   text_class: "list_item";
16613                }
16614             }
16615             description { state: "selected" 0.0;
16616                inherit: "default" 0.0;
16617                color: 224 224 224 255;
16618                color3: 0 0 0 64;
16619             }
16620          }
16621          part { name: "elm.title.2";
16622             clip_to: "disclip";
16623             type:           TEXT;
16624             effect:         SOFT_SHADOW;
16625             mouse_events:   0;
16626             scale: 1;
16627             description {
16628                state: "default" 0.0;
16629                fixed: 0 1;
16630 //               min: 16 16;
16631                rel1 {
16632                   to_y:     "elm.title.1";
16633                   relative: 0.0  1.0;
16634                   offset:   4 0;
16635                }
16636                rel2 {
16637                   to_y:     "elm.title.1";
16638                   relative: 1.0  1.0;
16639                   offset:   -5 0;
16640                }
16641                color: 0 0 0 255;
16642                color3: 0 0 0 0;
16643                align: 0.0 0.0;
16644                text {
16645                   font: "Sans";
16646                   size: 10;
16647                   min: 0 1;
16648 //                  min: 1 1;
16649                   align: 0.0 0.0;
16650                   text_class: "list_item";
16651                }
16652             }
16653             description { state: "selected" 0.0;
16654                inherit: "default" 0.0;
16655                color: 224 224 224 255;
16656                color3: 0 0 0 64;
16657             }
16658          }
16659          part { name: "elm.text";
16660             clip_to: "disclip";
16661             type:           TEXTBLOCK;
16662             mouse_events:   0;
16663             scale: 1;
16664             description {
16665                state: "default" 0.0;
16666 //               fixed: 0 1;
16667 //               min: 16 16;
16668                rel1 {
16669                   to_y:     "elm.title.2";
16670                   relative: 0.0  1.0;
16671                   offset:   4 0;
16672                }
16673                rel2 {
16674                   relative: 1.0  1.0;
16675                   offset:   -5 -5;
16676                }
16677                align: 0.0 0.0;
16678                text {
16679                   style: "genlist_textblock_style";
16680                   min: 0 1;
16681 //                  min: 1 1;
16682                   align: 0.0 0.0;
16683                }
16684             }
16685             description { state: "selected" 0.0;
16686                inherit: "default" 0.0;
16687                text {
16688                   style: "genlist_textblock_style2";
16689                }
16690             }
16691          }
16692          part { name: "fg1";
16693             clip_to: "disclip";
16694             mouse_events: 0;
16695             description { state: "default" 0.0;
16696                visible: 0;
16697                color: 255 255 255 0;
16698                rel1.to: "bg";
16699                rel2.relative: 1.0 0.5;
16700                rel2.to: "bg";
16701                image {
16702                   normal: "bt_sm_hilight.png";
16703                   border: 6 6 6 0;
16704                }
16705             }
16706             description { state: "selected" 0.0;
16707                inherit: "default" 0.0;
16708                visible: 1;
16709                color: 255 255 255 255;
16710             }
16711          }
16712          part { name: "fg2";
16713             clip_to: "disclip";
16714             mouse_events: 0;
16715             description { state: "default" 0.0;
16716                visible: 0;
16717                color: 255 255 255 0;
16718                rel1.to: "bg";
16719                rel2.to: "bg";
16720                image {
16721                   normal: "bt_sm_shine.png";
16722                   border: 6 6 6 0;
16723                }
16724             }
16725             description { state: "selected" 0.0;
16726                inherit: "default" 0.0;
16727                visible: 1;
16728                color: 255 255 255 255;
16729             }
16730          }
16731          part { name: "disclip";
16732             type: RECT;
16733             description { state: "default" 0.0;
16734                rel1.to: "bg";
16735                rel2.to: "bg";
16736             }
16737             description { state: "disabled" 0.0;
16738                inherit: "default" 0.0;
16739                color: 255 255 255 64;
16740             }
16741          }
16742       }
16743       programs {
16744          // signal: elm,state,%s,active
16745          //   a "check" item named %s went active
16746          // signal: elm,state,%s,passive
16747          //   a "check" item named %s went passive
16748          // default is passive
16749          program {
16750             name:    "odd";
16751             signal:  "elm,state,odd";
16752             source:  "elm";
16753             action:  STATE_SET "default" 1.0;
16754             target:  "base_sh";
16755             target:  "base";
16756          }
16757          program {
16758             name:    "even";
16759             signal:  "elm,state,even";
16760             source:  "elm";
16761             action:  STATE_SET "default" 0.0;
16762             target:  "base_sh";
16763             target:  "base";
16764          }
16765          program {
16766             name:    "go_active";
16767             signal:  "elm,state,selected";
16768             source:  "elm";
16769             action:  STATE_SET "selected" 0.0;
16770             target:  "bg";
16771             target:  "fg1";
16772             target:  "fg2";
16773             target:  "elm.title.1";
16774             target:  "elm.title.2";
16775             target:  "elm.text";
16776          }
16777          program {
16778             name:    "go_passive";
16779             signal:  "elm,state,unselected";
16780             source:  "elm";
16781             action:  STATE_SET "default" 0.0;
16782             target:  "bg";
16783             target:  "fg1";
16784             target:  "fg2";
16785             target:  "elm.title.1";
16786             target:  "elm.title.2";
16787             target:  "elm.text";
16788             transition: LINEAR 0.1;
16789          }
16790          program {
16791             name:    "go_disabled";
16792             signal:  "elm,state,disabled";
16793             source:  "elm";
16794             action:  STATE_SET "disabled" 0.0;
16795             target:  "disclip";
16796          }
16797          program {
16798             name:    "go_enabled";
16799             signal:  "elm,state,enabled";
16800             source:  "elm";
16801             action:  STATE_SET "default" 0.0;
16802             target:  "disclip";
16803          }
16804       }
16805    }
16806
16807    group { name: "elm/genlist/item_compress/default/default";
16808       data.item: "selectraise" "on";
16809       data.item: "labels" "elm.text";
16810       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16811       data.item: "treesize" "20";
16812 //      data.item: "states" "";
16813       images {
16814          image: "bt_sm_base1.png" COMP;
16815          image: "bt_sm_shine.png" COMP;
16816          image: "bt_sm_hilight.png" COMP;
16817          image: "ilist_1.png" COMP;
16818          image: "ilist_2.png" COMP;
16819          image: "ilist_item_shadow.png" COMP;
16820       }
16821       parts {
16822          part {
16823             name:           "event";
16824             type:           RECT;
16825             repeat_events: 1;
16826             description {
16827                state: "default" 0.0;
16828                color: 0 0 0 0;
16829             }
16830          }
16831          part {
16832             name: "base_sh";
16833             mouse_events: 0;
16834             description {
16835                state: "default" 0.0;
16836                align: 0.0 0.0;
16837                min: 0 10;
16838                fixed: 1 1;
16839                rel1 {
16840                   to: "base";
16841                   relative: 0.0 1.0;
16842                   offset: 0 0;
16843                }
16844                rel2 {
16845                   to: "base";
16846                   relative: 1.0 1.0;
16847                   offset: -1 0;
16848                }
16849                image {
16850                   normal: "ilist_item_shadow.png";
16851                }
16852                fill.smooth: 0;
16853             }
16854             description {
16855                state: "default" 1.0;
16856                inherit: "default" 0.0;
16857                visible: 0;
16858             }
16859          }
16860          part {
16861             name: "base";
16862             mouse_events: 0;
16863             description {
16864                state: "default" 0.0;
16865                image {
16866                   normal: "ilist_1.png";
16867                   border: 2 2 2 2;
16868                }
16869                fill.smooth: 0;
16870             }
16871             description {
16872                state: "default" 1.0;
16873                inherit: "default" 0.0;
16874                image.normal: "ilist_2.png";
16875             }
16876          }
16877          part { name: "bg";
16878             clip_to: "disclip";
16879             mouse_events: 0;
16880             description { state: "default" 0.0;
16881                visible: 0;
16882                color: 255 255 255 0;
16883                rel1 {
16884                   relative: 0.0 0.0;
16885                   offset: -5 -5;
16886                }
16887                rel2 {
16888                   relative: 1.0 1.0;
16889                   offset: 4 4;
16890                }
16891                image {
16892                   normal: "bt_sm_base1.png";
16893                   border: 6 6 6 6;
16894                }
16895                image.middle: SOLID;
16896             }
16897             description { state: "selected" 0.0;
16898                inherit: "default" 0.0;
16899                visible: 1;
16900                color: 255 255 255 255;
16901                rel1 {
16902                   relative: 0.0 0.0;
16903                   offset: -2 -2;
16904                }
16905                rel2 {
16906                   relative: 1.0 1.0;
16907                   offset: 1 1;
16908                }
16909             }
16910          }
16911          part { name: "elm.swallow.pad";
16912             type: SWALLOW;
16913             description { state: "default" 0.0;
16914                fixed: 1 0;
16915                align: 0.0 0.5;
16916                rel1 {
16917                   relative: 0.0  0.0;
16918                   offset:   4    4;
16919                }
16920                rel2 {
16921                   relative: 0.0  1.0;
16922                   offset:   4   -5;
16923                }
16924             }
16925          }
16926          part { name: "elm.swallow.icon";
16927             clip_to: "disclip";
16928             type: SWALLOW;
16929             description { state: "default" 0.0;
16930                fixed: 1 0;
16931                align: 0.0 0.5;
16932                rel1 {
16933                   to_x: "elm.swallow.pad";
16934                   relative: 1.0  0.0;
16935                   offset:   -1    4;
16936                }
16937                rel2 {
16938                   to_x: "elm.swallow.pad";
16939                   relative: 1.0  1.0;
16940                   offset:   -1   -5;
16941                }
16942             }
16943          }
16944          part { name: "elm.swallow.end";
16945             clip_to: "disclip";
16946             type: SWALLOW;
16947             description { state: "default" 0.0;
16948                fixed: 1 0;
16949                align: 1.0 0.5;
16950                aspect: 1.0 1.0;
16951                aspect_preference: VERTICAL;
16952                rel1 {
16953                   relative: 1.0  0.0;
16954                   offset:   -5    4;
16955                }
16956                rel2 {
16957                   relative: 1.0  1.0;
16958                   offset:   -5   -5;
16959                }
16960             }
16961          }
16962          part { name: "elm.text";
16963             clip_to: "disclip";
16964             type:           TEXT;
16965             effect:         SOFT_SHADOW;
16966             mouse_events:   0;
16967             scale: 1;
16968             description {
16969                state: "default" 0.0;
16970 //               min: 16 16;
16971                rel1 {
16972                   to_x:     "elm.swallow.icon";
16973                   relative: 1.0  0.0;
16974                   offset:   0 4;
16975                }
16976                rel2 {
16977                   to_x:     "elm.swallow.end";
16978                   relative: 0.0  1.0;
16979                   offset:   -1 -5;
16980                }
16981                color: 0 0 0 255;
16982                color3: 0 0 0 0;
16983                text {
16984                   font: "Sans";
16985                   size: 10;
16986                   min: 0 1;
16987 //                  min: 1 1;
16988                   align: 0.0 0.5;
16989                   text_class: "list_item";
16990                }
16991             }
16992             description { state: "selected" 0.0;
16993                inherit: "default" 0.0;
16994                color: 224 224 224 255;
16995                color3: 0 0 0 64;
16996             }
16997          }
16998          part { name: "fg1";
16999             clip_to: "disclip";
17000             mouse_events: 0;
17001             description { state: "default" 0.0;
17002                visible: 0;
17003                color: 255 255 255 0;
17004                rel1.to: "bg";
17005                rel2.relative: 1.0 0.5;
17006                rel2.to: "bg";
17007                image {
17008                   normal: "bt_sm_hilight.png";
17009                   border: 6 6 6 0;
17010                }
17011             }
17012             description { state: "selected" 0.0;
17013                inherit: "default" 0.0;
17014                visible: 1;
17015                color: 255 255 255 255;
17016             }
17017          }
17018          part { name: "fg2";
17019             clip_to: "disclip";
17020             mouse_events: 0;
17021             description { state: "default" 0.0;
17022                visible: 0;
17023                color: 255 255 255 0;
17024                rel1.to: "bg";
17025                rel2.to: "bg";
17026                image {
17027                   normal: "bt_sm_shine.png";
17028                   border: 6 6 6 0;
17029                }
17030             }
17031             description { state: "selected" 0.0;
17032                inherit: "default" 0.0;
17033                visible: 1;
17034                color: 255 255 255 255;
17035             }
17036          }
17037          part { name: "disclip";
17038             type: RECT;
17039             description { state: "default" 0.0;
17040                rel1.to: "bg";
17041                rel2.to: "bg";
17042             }
17043             description { state: "disabled" 0.0;
17044                inherit: "default" 0.0;
17045                color: 255 255 255 64;
17046             }
17047          }
17048       }
17049       programs {
17050          // signal: elm,state,%s,active
17051          //   a "check" item named %s went active
17052          // signal: elm,state,%s,passive
17053          //   a "check" item named %s went passive
17054          // default is passive
17055          program {
17056             name:    "odd";
17057             signal:  "elm,state,odd";
17058             source:  "elm";
17059             action:  STATE_SET "default" 1.0;
17060             target:  "base_sh";
17061             target:  "base";
17062          }
17063          program {
17064             name:    "even";
17065             signal:  "elm,state,even";
17066             source:  "elm";
17067             action:  STATE_SET "default" 0.0;
17068             target:  "base_sh";
17069             target:  "base";
17070          }
17071          program {
17072             name:    "go_active";
17073             signal:  "elm,state,selected";
17074             source:  "elm";
17075             action:  STATE_SET "selected" 0.0;
17076             target:  "bg";
17077             target:  "fg1";
17078             target:  "fg2";
17079             target:  "elm.text";
17080          }
17081          program {
17082             name:    "go_passive";
17083             signal:  "elm,state,unselected";
17084             source:  "elm";
17085             action:  STATE_SET "default" 0.0;
17086             target:  "bg";
17087             target:  "fg1";
17088             target:  "fg2";
17089             target:  "elm.text";
17090             transition: LINEAR 0.1;
17091          }
17092          program {
17093             name:    "go_disabled";
17094             signal:  "elm,state,disabled";
17095             source:  "elm";
17096             action:  STATE_SET "disabled" 0.0;
17097             target:  "disclip";
17098          }
17099          program {
17100             name:    "go_enabled";
17101             signal:  "elm,state,enabled";
17102             source:  "elm";
17103             action:  STATE_SET "default" 0.0;
17104             target:  "disclip";
17105          }
17106       }
17107    }
17108
17109    group { name: "elm/genlist/tree/default/default";
17110       data.item: "selectraise" "on";
17111       data.item: "labels" "elm.text";
17112       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17113       data.item: "treesize" "20";
17114 //      data.item: "states" "";
17115       images {
17116          image: "bt_sm_base1.png" COMP;
17117          image: "bt_sm_shine.png" COMP;
17118          image: "bt_sm_hilight.png" COMP;
17119          image: "ilist_1.png" COMP;
17120          image: "ilist_2.png" COMP;
17121          image: "ilist_item_shadow.png" COMP;
17122          image: "icon_arrow_left.png" COMP;
17123          image: "icon_arrow_right.png" COMP;
17124          image: "icon_arrow_down.png" COMP;
17125       }
17126       parts {
17127          part {
17128             name:           "event";
17129             type:           RECT;
17130             repeat_events: 1;
17131             description {
17132                state: "default" 0.0;
17133                color: 0 0 0 0;
17134             }
17135          }
17136          part {
17137             name: "base_sh";
17138             mouse_events: 0;
17139             description {
17140                state: "default" 0.0;
17141                align: 0.0 0.0;
17142                min: 0 10;
17143                fixed: 1 1;
17144                rel1 {
17145                   to: "base";
17146                   relative: 0.0 1.0;
17147                   offset: 0 0;
17148                }
17149                rel2 {
17150                   to: "base";
17151                   relative: 1.0 1.0;
17152                   offset: -1 0;
17153                }
17154                image {
17155                   normal: "ilist_item_shadow.png";
17156                }
17157                fill.smooth: 0;
17158             }
17159             description {
17160                state: "default" 1.0;
17161                inherit: "default" 0.0;
17162                visible: 0;
17163             }
17164          }
17165          part {
17166             name: "base";
17167             mouse_events: 0;
17168             description {
17169                state: "default" 0.0;
17170                image {
17171                   normal: "ilist_1.png";
17172                   border: 2 2 2 2;
17173                }
17174                fill.smooth: 0;
17175             }
17176             description {
17177                state: "default" 1.0;
17178                inherit: "default" 0.0;
17179                image.normal: "ilist_2.png";
17180             }
17181          }
17182          part { name: "bg";
17183             clip_to: "disclip";
17184             mouse_events: 0;
17185             description { state: "default" 0.0;
17186                visible: 0;
17187                color: 255 255 255 0;
17188                rel1 {
17189                   relative: 0.0 0.0;
17190                   offset: -5 -5;
17191                }
17192                rel2 {
17193                   relative: 1.0 1.0;
17194                   offset: 4 4;
17195                }
17196                image {
17197                   normal: "bt_sm_base1.png";
17198                   border: 6 6 6 6;
17199                }
17200                image.middle: SOLID;
17201             }
17202             description { state: "selected" 0.0;
17203                inherit: "default" 0.0;
17204                visible: 1;
17205                color: 255 255 255 255;
17206                rel1 {
17207                   relative: 0.0 0.0;
17208                   offset: -2 -2;
17209                }
17210                rel2 {
17211                   relative: 1.0 1.0;
17212                   offset: 1 1;
17213                }
17214             }
17215          }
17216          part { name: "elm.swallow.pad";
17217             type: SWALLOW;
17218             description { state: "default" 0.0;
17219                fixed: 1 0;
17220                align: 0.0 0.5;
17221                rel1 {
17222                   relative: 0.0  0.0;
17223                   offset:   4    4;
17224                }
17225                rel2 {
17226                   relative: 0.0  1.0;
17227                   offset:   4   -5;
17228                }
17229             }
17230          }
17231          part { name: "arrow";
17232             clip_to: "disclip";
17233             ignore_flags: ON_HOLD;
17234             description { state: "default" 0.0;
17235                fixed: 1 0;
17236                align: 0.0 0.5;
17237                aspect: 1.0 1.0;
17238                rel1 {
17239                   to_x: "elm.swallow.pad";
17240                   relative: 1.0  0.0;
17241                   offset:   -1    4;
17242                }
17243                rel2 {
17244                   to_x: "elm.swallow.pad";
17245                   relative: 1.0  1.0;
17246                   offset:   -1   -5;
17247                }
17248                image.normal: "icon_arrow_right.png";
17249             }
17250             description { state: "default" 0.1;
17251                inherit: "default" 0.0;
17252                image.normal: "icon_arrow_left.png";
17253             }
17254             description { state: "active" 0.0;
17255                inherit: "default" 0.0;
17256                image.normal: "icon_arrow_down.png";
17257             }
17258             description { state: "active" 0.1;
17259                inherit: "default" 0.0;
17260                image.normal: "icon_arrow_down.png";
17261             }
17262          }
17263          part { name: "elm.swallow.icon";
17264             clip_to: "disclip";
17265             type: SWALLOW;
17266             description { state: "default" 0.0;
17267                fixed: 1 0;
17268                align: 0.0 0.5;
17269                rel1 {
17270                   to_x: "arrow";
17271                   relative: 1.0  0.0;
17272                   offset:   4    4;
17273                }
17274                rel2 {
17275                   to_x: "arrow";
17276                   relative: 1.0  1.0;
17277                   offset:   4   -5;
17278                }
17279             }
17280          }
17281          part { name: "elm.swallow.end";
17282             clip_to: "disclip";
17283             type: SWALLOW;
17284             description { state: "default" 0.0;
17285                fixed: 1 0;
17286                align: 1.0 0.5;
17287                aspect: 1.0 1.0;
17288                aspect_preference: VERTICAL;
17289                rel1 {
17290                   relative: 1.0  0.0;
17291                   offset:   -5    4;
17292                }
17293                rel2 {
17294                   relative: 1.0  1.0;
17295                   offset:   -5   -5;
17296                }
17297             }
17298          }
17299          part { name: "elm.text";
17300             clip_to: "disclip";
17301             type:           TEXT;
17302             effect:         SOFT_SHADOW;
17303             mouse_events:   0;
17304             scale: 1;
17305             description {
17306                state: "default" 0.0;
17307 //               min: 16 16;
17308                rel1 {
17309                   to_x:     "elm.swallow.icon";
17310                   relative: 1.0  0.0;
17311                   offset:   0 4;
17312                }
17313                rel2 {
17314                   to_x:     "elm.swallow.end";
17315                   relative: 0.0  1.0;
17316                   offset:   -1 -5;
17317                }
17318                color: 0 0 0 255;
17319                color3: 0 0 0 0;
17320                text {
17321                   font: "Sans";
17322                   size: 10;
17323                   min: 1 1;
17324 //                  min: 0 1;
17325                   align: -1.0 0.5;
17326                   text_class: "list_item";
17327                }
17328             }
17329             description { state: "selected" 0.0;
17330                inherit: "default" 0.0;
17331                color: 224 224 224 255;
17332                color3: 0 0 0 64;
17333             }
17334          }
17335          part { name: "fg1";
17336             clip_to: "disclip";
17337             mouse_events: 0;
17338             description { state: "default" 0.0;
17339                visible: 0;
17340                color: 255 255 255 0;
17341                rel1.to: "bg";
17342                rel2.relative: 1.0 0.5;
17343                rel2.to: "bg";
17344                image {
17345                   normal: "bt_sm_hilight.png";
17346                   border: 6 6 6 0;
17347                }
17348             }
17349             description { state: "selected" 0.0;
17350                inherit: "default" 0.0;
17351                visible: 1;
17352                color: 255 255 255 255;
17353             }
17354          }
17355          part { name: "fg2";
17356             clip_to: "disclip";
17357             mouse_events: 0;
17358             description { state: "default" 0.0;
17359                visible: 0;
17360                color: 255 255 255 0;
17361                rel1.to: "bg";
17362                rel2.to: "bg";
17363                image {
17364                   normal: "bt_sm_shine.png";
17365                   border: 6 6 6 0;
17366                }
17367             }
17368             description { state: "selected" 0.0;
17369                inherit: "default" 0.0;
17370                visible: 1;
17371                color: 255 255 255 255;
17372             }
17373          }
17374          part { name: "disclip";
17375             type: RECT;
17376             description { state: "default" 0.0;
17377                rel1.to: "bg";
17378                rel2.to: "bg";
17379             }
17380             description { state: "disabled" 0.0;
17381                inherit: "default" 0.0;
17382                color: 255 255 255 64;
17383             }
17384          }
17385       }
17386       programs {
17387          // signal: elm,state,%s,active
17388          //   a "check" item named %s went active
17389          // signal: elm,state,%s,passive
17390          //   a "check" item named %s went passive
17391          // default is passive
17392          program {
17393             name:    "odd";
17394             signal:  "elm,state,odd";
17395             source:  "elm";
17396             action:  STATE_SET "default" 1.0;
17397             target:  "base_sh";
17398             target:  "base";
17399          }
17400          program {
17401             name:    "even";
17402             signal:  "elm,state,even";
17403             source:  "elm";
17404             action:  STATE_SET "default" 0.0;
17405             target:  "base_sh";
17406             target:  "base";
17407          }
17408          program {
17409             name:    "go_active";
17410             signal:  "elm,state,selected";
17411             source:  "elm";
17412             action:  STATE_SET "selected" 0.0;
17413             target:  "bg";
17414             target:  "fg1";
17415             target:  "fg2";
17416             target:  "elm.text";
17417          }
17418          program {
17419             name:    "go_passive";
17420             signal:  "elm,state,unselected";
17421             source:  "elm";
17422             action:  STATE_SET "default" 0.0;
17423             target:  "bg";
17424             target:  "fg1";
17425             target:  "fg2";
17426             target:  "elm.text";
17427             transition: LINEAR 0.1;
17428          }
17429          program {
17430             name:    "go_disabled";
17431             signal:  "elm,state,disabled";
17432             source:  "elm";
17433             action:  STATE_SET "disabled" 0.0;
17434             target:  "disclip";
17435          }
17436          program {
17437             name:    "go_enabled";
17438             signal:  "elm,state,enabled";
17439             source:  "elm";
17440             action:  STATE_SET "default" 0.0;
17441             target:  "disclip";
17442          }
17443          program {
17444             name:    "expand";
17445             signal:  "mouse,up,1";
17446             source:  "arrow";
17447             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17448          }
17449          program {
17450             name:    "go_expanded";
17451             signal:  "elm,state,expanded";
17452             source:  "elm";
17453             script {
17454                new st[31];
17455                new Float:vl;
17456                get_state(PART:"arrow", st, 30, vl);
17457                set_state(PART:"arrow", "active", vl);
17458             }
17459          }
17460          program {
17461             name:    "go_contracted";
17462             signal:  "elm,state,contracted";
17463             source:  "elm";
17464             script {
17465                new st[31];
17466                new Float:vl;
17467                get_state(PART:"arrow", st, 30, vl);
17468                set_state(PART:"arrow", "default", vl);
17469             }
17470          }
17471          program { name: "to_rtl";
17472             signal: "edje,state,rtl";
17473             source: "edje";
17474             script {
17475                new st[31];
17476                new Float:vl;
17477                get_state(PART:"arrow", st, 30, vl);
17478                if (vl == 0.0) {
17479                   set_state(PART:"arrow", st, 0.1);
17480                }
17481             }
17482          }
17483          program { name: "to_ltr";
17484             signal: "edje,state,ltr";
17485             source: "edje";
17486             script {
17487                new st[31];
17488                new Float:vl;
17489                get_state(PART:"arrow", st, 30, vl);
17490                if (vl == 0.1) {
17491                   set_state(PART:"arrow", st, 0.0);
17492                }
17493             }
17494          }
17495       }
17496    }
17497    group { name: "elm/genlist/tree_compress/default/default";
17498       data.item: "stacking" "above";
17499       data.item: "selectraise" "on";
17500       data.item: "labels" "elm.text";
17501       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17502       data.item: "treesize" "20";
17503 //      data.item: "states" "";
17504       images {
17505          image: "bt_sm_base1.png" COMP;
17506          image: "bt_sm_shine.png" COMP;
17507          image: "bt_sm_hilight.png" COMP;
17508          image: "ilist_1.png" COMP;
17509          image: "ilist_item_shadow.png" COMP;
17510          image: "icon_arrow_left.png" COMP;
17511          image: "icon_arrow_right.png" COMP;
17512          image: "icon_arrow_down.png" COMP;
17513       }
17514       parts {
17515          part {
17516             name:           "event";
17517             type:           RECT;
17518             repeat_events: 1;
17519             description {
17520                state: "default" 0.0;
17521                color: 0 0 0 0;
17522             }
17523          }
17524          part {
17525             name: "base_sh";
17526             mouse_events: 0;
17527             description {
17528                state: "default" 0.0;
17529                align: 0.0 0.0;
17530                min: 0 10;
17531                fixed: 1 1;
17532                rel1 {
17533                   to: "base";
17534                   relative: 0.0 1.0;
17535                   offset: 0 0;
17536                }
17537                rel2 {
17538                   to: "base";
17539                   relative: 1.0 1.0;
17540                   offset: -1 0;
17541                }
17542                image {
17543                   normal: "ilist_item_shadow.png";
17544                }
17545                fill.smooth: 0;
17546             }
17547             description {
17548                state: "default" 1.0;
17549                inherit: "default" 0.0;
17550                visible: 0;
17551             }
17552          }
17553          part {
17554             name: "base";
17555             mouse_events: 0;
17556             description {
17557                state: "default" 0.0;
17558                image {
17559                   normal: "ilist_1.png";
17560                   border: 2 2 2 2;
17561                }
17562                fill.smooth: 0;
17563             }
17564             description {
17565                state: "default" 1.0;
17566                inherit: "default" 0.0;
17567                image.normal: "ilist_2.png";
17568             }
17569          }
17570          part { name: "bg";
17571             clip_to: "disclip";
17572             mouse_events: 0;
17573             description { state: "default" 0.0;
17574                visible: 0;
17575                color: 255 255 255 0;
17576                rel1 {
17577                   relative: 0.0 0.0;
17578                   offset: -5 -5;
17579                }
17580                rel2 {
17581                   relative: 1.0 1.0;
17582                   offset: 4 4;
17583                }
17584                image {
17585                   normal: "bt_sm_base1.png";
17586                   border: 6 6 6 6;
17587                }
17588                image.middle: SOLID;
17589             }
17590             description { state: "selected" 0.0;
17591                inherit: "default" 0.0;
17592                visible: 1;
17593                color: 255 255 255 255;
17594                rel1 {
17595                   relative: 0.0 0.0;
17596                   offset: -2 -2;
17597                }
17598                rel2 {
17599                   relative: 1.0 1.0;
17600                   offset: 1 1;
17601                }
17602             }
17603          }
17604          part { name: "elm.swallow.pad";
17605             type: SWALLOW;
17606             description { state: "default" 0.0;
17607                fixed: 1 0;
17608                align: 0.0 0.5;
17609                rel1 {
17610                   relative: 0.0  0.0;
17611                   offset:   4    4;
17612                }
17613                rel2 {
17614                   relative: 0.0  1.0;
17615                   offset:   4   -5;
17616                }
17617             }
17618          }
17619          part { name: "arrow";
17620             clip_to: "disclip";
17621             ignore_flags: ON_HOLD;
17622             description { state: "default" 0.0;
17623                fixed: 1 0;
17624                align: 0.0 0.5;
17625                aspect: 1.0 1.0;
17626                rel1 {
17627                   to_x: "elm.swallow.pad";
17628                   relative: 1.0  0.0;
17629                   offset:   -1    4;
17630                }
17631                rel2 {
17632                   to_x: "elm.swallow.pad";
17633                   relative: 1.0  1.0;
17634                   offset:   -1   -5;
17635                }
17636                image.normal: "icon_arrow_right.png";
17637             }
17638             description { state: "default" 0.1;
17639                inherit: "default" 0.0;
17640                image.normal: "icon_arrow_left.png";
17641             }
17642             description { state: "active" 0.0;
17643                inherit: "default" 0.0;
17644                image.normal: "icon_arrow_down.png";
17645             }
17646             description { state: "active" 0.1;
17647                inherit: "default" 0.0;
17648                image.normal: "icon_arrow_down.png";
17649             }
17650          }
17651          part { name: "elm.swallow.icon";
17652             clip_to: "disclip";
17653             type: SWALLOW;
17654             description { state: "default" 0.0;
17655                fixed: 1 0;
17656                align: 0.0 0.5;
17657                rel1 {
17658                   to_x: "arrow";
17659                   relative: 1.0  0.0;
17660                   offset:   4    4;
17661                }
17662                rel2 {
17663                   to_x: "arrow";
17664                   relative: 1.0  1.0;
17665                   offset:   4   -5;
17666                }
17667             }
17668          }
17669          part { name: "elm.swallow.end";
17670             clip_to: "disclip";
17671             type: SWALLOW;
17672             description { state: "default" 0.0;
17673                fixed: 1 0;
17674                align: 1.0 0.5;
17675                aspect: 1.0 1.0;
17676                aspect_preference: VERTICAL;
17677                rel1 {
17678                   relative: 1.0  0.0;
17679                   offset:   -5    4;
17680                }
17681                rel2 {
17682                   relative: 1.0  1.0;
17683                   offset:   -5   -5;
17684                }
17685             }
17686          }
17687          part { name: "elm.text";
17688             clip_to: "disclip";
17689             type:           TEXT;
17690             effect:         SOFT_SHADOW;
17691             mouse_events:   0;
17692             scale: 1;
17693             description {
17694                state: "default" 0.0;
17695 //               min: 16 16;
17696                rel1 {
17697                   to_x:     "elm.swallow.icon";
17698                   relative: 1.0  0.0;
17699                   offset:   0 4;
17700                }
17701                rel2 {
17702                   to_x:     "elm.swallow.end";
17703                   relative: 0.0  1.0;
17704                   offset:   -1 -5;
17705                }
17706                color: 0 0 0 255;
17707                color3: 0 0 0 0;
17708                text {
17709                   font: "Sans";
17710                   size: 10;
17711 //                  min: 1 1;
17712                   min: 0 1;
17713                   align: 0.0 0.5;
17714                   text_class: "list_item";
17715                }
17716             }
17717             description { state: "selected" 0.0;
17718                inherit: "default" 0.0;
17719                color: 224 224 224 255;
17720                color3: 0 0 0 64;
17721             }
17722          }
17723          part { name: "fg1";
17724             clip_to: "disclip";
17725             mouse_events: 0;
17726             description { state: "default" 0.0;
17727                visible: 0;
17728                color: 255 255 255 0;
17729                rel1.to: "bg";
17730                rel2.relative: 1.0 0.5;
17731                rel2.to: "bg";
17732                image {
17733                   normal: "bt_sm_hilight.png";
17734                   border: 6 6 6 0;
17735                }
17736             }
17737             description { state: "selected" 0.0;
17738                inherit: "default" 0.0;
17739                visible: 1;
17740                color: 255 255 255 255;
17741             }
17742          }
17743          part { name: "fg2";
17744             clip_to: "disclip";
17745             mouse_events: 0;
17746             description { state: "default" 0.0;
17747                visible: 0;
17748                color: 255 255 255 0;
17749                rel1.to: "bg";
17750                rel2.to: "bg";
17751                image {
17752                   normal: "bt_sm_shine.png";
17753                   border: 6 6 6 0;
17754                }
17755             }
17756             description { state: "selected" 0.0;
17757                inherit: "default" 0.0;
17758                visible: 1;
17759                color: 255 255 255 255;
17760             }
17761          }
17762          part { name: "disclip";
17763             type: RECT;
17764             description { state: "default" 0.0;
17765                rel1.to: "bg";
17766                rel2.to: "bg";
17767             }
17768             description { state: "disabled" 0.0;
17769                inherit: "default" 0.0;
17770                color: 255 255 255 64;
17771             }
17772          }
17773       }
17774       programs {
17775          // signal: elm,state,%s,active
17776          //   a "check" item named %s went active
17777          // signal: elm,state,%s,passive
17778          //   a "check" item named %s went passive
17779          // default is passive
17780          program {
17781             name:    "odd";
17782             signal:  "elm,state,odd";
17783             source:  "elm";
17784             action:  STATE_SET "default" 1.0;
17785             target:  "base_sh";
17786             target:  "base";
17787          }
17788          program {
17789             name:    "even";
17790             signal:  "elm,state,even";
17791             source:  "elm";
17792             action:  STATE_SET "default" 0.0;
17793             target:  "base_sh";
17794             target:  "base";
17795          }
17796          program {
17797             name:    "go_active";
17798             signal:  "elm,state,selected";
17799             source:  "elm";
17800             action:  STATE_SET "selected" 0.0;
17801             target:  "bg";
17802             target:  "fg1";
17803             target:  "fg2";
17804             target:  "elm.text";
17805          }
17806          program {
17807             name:    "go_passive";
17808             signal:  "elm,state,unselected";
17809             source:  "elm";
17810             action:  STATE_SET "default" 0.0;
17811             target:  "bg";
17812             target:  "fg1";
17813             target:  "fg2";
17814             target:  "elm.text";
17815             transition: LINEAR 0.1;
17816          }
17817          program {
17818             name:    "go_disabled";
17819             signal:  "elm,state,disabled";
17820             source:  "elm";
17821             action:  STATE_SET "disabled" 0.0;
17822             target:  "disclip";
17823          }
17824          program {
17825             name:    "go_enabled";
17826             signal:  "elm,state,enabled";
17827             source:  "elm";
17828             action:  STATE_SET "default" 0.0;
17829             target:  "disclip";
17830          }
17831          program {
17832             name:    "expand";
17833             signal:  "mouse,up,1";
17834             source:  "arrow";
17835             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17836          }
17837          program {
17838             name:    "go_expanded";
17839             signal:  "elm,state,expanded";
17840             source:  "elm";
17841             script {
17842                new st[31];
17843                new Float:vl;
17844                get_state(PART:"arrow", st, 30, vl);
17845                set_state(PART:"arrow", "active", vl);
17846             }
17847          }
17848          program {
17849             name:    "go_contracted";
17850             signal:  "elm,state,contracted";
17851             source:  "elm";
17852             script {
17853                new st[31];
17854                new Float:vl;
17855                get_state(PART:"arrow", st, 30, vl);
17856                set_state(PART:"arrow", "default", vl);
17857             }
17858          }
17859          program { name: "to_rtl";
17860             signal: "edje,state,rtl";
17861             source: "edje";
17862             script {
17863                new st[31];
17864                new Float:vl;
17865                get_state(PART:"arrow", st, 30, vl);
17866                if (vl == 0.0) {
17867                   set_state(PART:"arrow", st, 0.1);
17868                }
17869             }
17870          }
17871          program { name: "to_ltr";
17872             signal: "edje,state,ltr";
17873             source: "edje";
17874             script {
17875                new st[31];
17876                new Float:vl;
17877                get_state(PART:"arrow", st, 30, vl);
17878                if (vl == 0.1) {
17879                   set_state(PART:"arrow", st, 0.0);
17880                }
17881             }
17882          }
17883       }
17884    }
17885    group { name: "elm/genlist/item/default_style/default";
17886        styles
17887        {
17888            style { name: "genlist_style";
17889                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17890                tag:  "br" "\n";
17891                tag:  "ps" "ps";
17892                tag:  "hilight" "+ font=Sans:style=Bold";
17893                tag:  "b" "+ font=Sans:style=Bold";
17894                tag:  "tab" "\t";
17895            }
17896            style { name: "genlist_selected_style";
17897                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17898                tag:  "br" "\n";
17899                tag:  "ps" "ps";
17900                tag:  "hilight" "+ font=Sans:style=Bold";
17901                tag:  "b" "+ font=Sans:style=Bold";
17902                tag:  "tab" "\t";
17903            }
17904        }
17905        data.item: "stacking" "above";
17906        data.item: "selectraise" "on";
17907        data.item: "labels" "elm.text";
17908        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17909        data.item: "treesize" "20";
17910        images {
17911            image: "bt_sm_base1.png" COMP;
17912            image: "bt_sm_shine.png" COMP;
17913            image: "bt_sm_hilight.png" COMP;
17914            image: "ilist_1.png" COMP;
17915            image: "ilist_item_shadow.png" COMP;
17916        }
17917        parts {
17918            part {
17919                name:           "event";
17920                type:           RECT;
17921                repeat_events: 1;
17922                description {
17923                    state: "default" 0.0;
17924                    color: 0 0 0 0;
17925                }
17926            }
17927            part {
17928                name: "base_sh";
17929                mouse_events: 0;
17930                description {
17931                    state: "default" 0.0;
17932                    align: 0.0 0.0;
17933                    min: 0 10;
17934                    fixed: 1 1;
17935                    rel1 {
17936                        to: "base";
17937                        relative: 0.0 1.0;
17938                        offset: 0 0;
17939                    }
17940                    rel2 {
17941                        to: "base";
17942                        relative: 1.0 1.0;
17943                        offset: -1 0;
17944                    }
17945                    image {
17946                        normal: "ilist_item_shadow.png";
17947                    }
17948                    fill.smooth: 0;
17949                }
17950            }
17951            part {
17952                name: "base";
17953                mouse_events: 0;
17954                description {
17955                    state: "default" 0.0;
17956                    min: 16 28;
17957                    image {
17958                        normal: "ilist_1.png";
17959                        border: 2 2 2 2;
17960                    }
17961                    fill.smooth: 0;
17962                }
17963            }
17964            part { name: "bg";
17965                clip_to: "disclip";
17966                mouse_events: 0;
17967                description { state: "default" 0.0;
17968                    visible: 0;
17969                    color: 255 255 255 0;
17970                    rel1 {
17971                        relative: 0.0 0.0;
17972                        offset: -5 -5;
17973                    }
17974                    rel2 {
17975                        relative: 1.0 1.0;
17976                        offset: 4 4;
17977                    }
17978                    image {
17979                        normal: "bt_sm_base1.png";
17980                        border: 6 6 6 6;
17981                    }
17982                    image.middle: SOLID;
17983                }
17984                description { state: "selected" 0.0;
17985                    inherit: "default" 0.0;
17986                    visible: 1;
17987                    color: 255 255 255 255;
17988                    rel1 {
17989                        relative: 0.0 0.0;
17990                        offset: -2 -2;
17991                    }
17992                    rel2 {
17993                        relative: 1.0 1.0;
17994                        offset: 1 1;
17995                    }
17996                }
17997            }
17998            part { name: "elm.swallow.pad";
17999                type: SWALLOW;
18000                description { state: "default" 0.0;
18001                    fixed: 1 0;
18002                    align: 0.0 0.5;
18003                    rel1 {
18004                        relative: 0.0  0.0;
18005                        offset:   4    4;
18006                    }
18007                    rel2 {
18008                        relative: 0.0  1.0;
18009                        offset:   4   -5;
18010                    }
18011                }
18012            }
18013            part { name: "elm.swallow.icon";
18014                clip_to: "disclip";
18015                type: SWALLOW;
18016                description { state: "default" 0.0;
18017                    fixed: 1 0;
18018                    align: 0.0 0.5;
18019                    rel1 {
18020                        to_x: "elm.swallow.pad";
18021                        relative: 1.0  0.0;
18022                        offset:   -1    4;
18023                    }
18024                    rel2 {
18025                        to_x: "elm.swallow.pad";
18026                        relative: 1.0  1.0;
18027                        offset:   -1   -5;
18028                    }
18029                }
18030            }
18031            part { name: "elm.swallow.end";
18032                clip_to: "disclip";
18033                type: SWALLOW;
18034                description { state: "default" 0.0;
18035                    fixed: 1 0;
18036                    align: 1.0 0.5;
18037                    aspect: 1.0 1.0;
18038                    aspect_preference: VERTICAL;
18039                    rel1 {
18040                        relative: 1.0  0.0;
18041                        offset:   -5    4;
18042                    }
18043                    rel2 {
18044                        relative: 1.0  1.0;
18045                        offset:   -5   -5;
18046                    }
18047                }
18048            }
18049            part { name: "elm.text";
18050                clip_to: "disclip";
18051                type: TEXTBLOCK;
18052                mouse_events: 0;
18053                scale: 1;
18054                description {
18055                    state: "default" 0.0;
18056                    align: 0.0 0.5;
18057                    fixed: 0 1;
18058                    rel1 {
18059                        to_x: "elm.swallow.icon";
18060                        to_y: "base";
18061                        relative: 1.0  0.5;
18062                        offset:   0 4;
18063                    }
18064                    rel2 {
18065                        to_x: "elm.swallow.end";
18066                        to_y: "base";
18067                        relative: 0.0  0.5;
18068                        offset:   -1 -5;
18069                    }
18070                    text {
18071                        style: "genlist_style";
18072                        min: 1 1;
18073                    }
18074                }
18075                description { state: "selected" 0.0;
18076                    inherit: "default" 0.0;
18077                    text {
18078                        style: "genlist_selected_style";
18079                    }
18080                }
18081            }
18082            part { name: "fg1";
18083                clip_to: "disclip";
18084                mouse_events: 0;
18085                description { state: "default" 0.0;
18086                    visible: 0;
18087                    color: 255 255 255 0;
18088                    rel1.to: "bg";
18089                    rel2.relative: 1.0 0.5;
18090                    rel2.to: "bg";
18091                    image {
18092                        normal: "bt_sm_hilight.png";
18093                        border: 6 6 6 0;
18094                    }
18095                }
18096                description { state: "selected" 0.0;
18097                    inherit: "default" 0.0;
18098                    visible: 1;
18099                    color: 255 255 255 255;
18100                }
18101            }
18102            part { name: "fg2";
18103                clip_to: "disclip";
18104                mouse_events: 0;
18105                description { state: "default" 0.0;
18106                    visible: 0;
18107                    color: 255 255 255 0;
18108                    rel1.to: "bg";
18109                    rel2.to: "bg";
18110                    image {
18111                        normal: "bt_sm_shine.png";
18112                        border: 6 6 6 0;
18113                    }
18114                }
18115                description { state: "selected" 0.0;
18116                    inherit: "default" 0.0;
18117                    visible: 1;
18118                    color: 255 255 255 255;
18119                }
18120            }
18121            part { name: "disclip";
18122                type: RECT;
18123                description { state: "default" 0.0;
18124                    rel1.to: "bg";
18125                    rel2.to: "bg";
18126                }
18127                description { state: "disabled" 0.0;
18128                    inherit: "default" 0.0;
18129                    color: 255 255 255 64;
18130                }
18131            }
18132        }
18133        programs {
18134            // signal: elm,state,%s,active
18135            //   a "check" item named %s went active
18136            // signal: elm,state,%s,passive
18137            //   a "check" item named %s went passive
18138            // default is passive
18139            program {
18140                name:    "go_active";
18141                signal:  "elm,state,selected";
18142                source:  "elm";
18143                action:  STATE_SET "selected" 0.0;
18144                target:  "bg";
18145                target:  "fg1";
18146                target:  "fg2";
18147                target:  "elm.text";
18148            }
18149            program {
18150                name:    "go_passive";
18151                signal:  "elm,state,unselected";
18152                source:  "elm";
18153                action:  STATE_SET "default" 0.0;
18154                target:  "bg";
18155                target:  "fg1";
18156                target:  "fg2";
18157                target:  "elm.text";
18158                transition: LINEAR 0.1;
18159            }
18160            program {
18161                name:    "go_disabled";
18162                signal:  "elm,state,disabled";
18163                source:  "elm";
18164                action:  STATE_SET "disabled" 0.0;
18165                target:  "disclip";
18166            }
18167            program {
18168                name:    "go_enabled";
18169                signal:  "elm,state,enabled";
18170                source:  "elm";
18171                action:  STATE_SET "default" 0.0;
18172                target:  "disclip";
18173            }
18174        }
18175    }
18176    group { name: "elm/genlist/item_odd/default_style/default";
18177        data.item: "stacking" "below";
18178        data.item: "selectraise" "on";
18179        data.item: "labels" "elm.text";
18180        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18181        data.item: "treesize" "20";
18182        images {
18183            image: "bt_sm_base1.png" COMP;
18184            image: "bt_sm_shine.png" COMP;
18185            image: "bt_sm_hilight.png" COMP;
18186            image: "ilist_2.png" COMP;
18187        }
18188        parts {
18189            part { name: "event";
18190                type: RECT;
18191                repeat_events: 1;
18192                description {
18193                    state: "default" 0.0;
18194                    color: 0 0 0 0;
18195                }
18196            }
18197            part {
18198                name: "base";
18199                mouse_events: 0;
18200                description {
18201                    state: "default" 0.0;
18202                    min: 16 28;
18203                    image {
18204                        normal: "ilist_2.png";
18205                        border: 2 2 2 2;
18206                    }
18207                    fill.smooth: 0;
18208                }
18209            }
18210            part { name: "bg";
18211                clip_to: "disclip";
18212                mouse_events: 0;
18213                description { state: "default" 0.0;
18214                    visible: 0;
18215                    color: 255 255 255 0;
18216                    rel1 {
18217                        relative: 0.0 0.0;
18218                        offset: -5 -5;
18219                    }
18220                    rel2 {
18221                        relative: 1.0 1.0;
18222                        offset: 4 4;
18223                    }
18224                    image {
18225                        normal: "bt_sm_base1.png";
18226                        border: 6 6 6 6;
18227                    }
18228                    image.middle: SOLID;
18229                }
18230                description { state: "selected" 0.0;
18231                    inherit: "default" 0.0;
18232                    visible: 1;
18233                    color: 255 255 255 255;
18234                    rel1 {
18235                        relative: 0.0 0.0;
18236                        offset: -2 -2;
18237                    }
18238                    rel2 {
18239                        relative: 1.0 1.0;
18240                        offset: 1 1;
18241                    }
18242                }
18243            }
18244            part { name: "elm.swallow.pad";
18245                type: SWALLOW;
18246                description { state: "default" 0.0;
18247                    fixed: 1 0;
18248                    align: 0.0 0.5;
18249                    rel1 {
18250                        relative: 0.0  0.0;
18251                        offset:   4    4;
18252                    }
18253                    rel2 {
18254                        relative: 0.0  1.0;
18255                        offset:   4   -5;
18256                    }
18257                }
18258            }
18259            part { name: "elm.swallow.icon";
18260                clip_to: "disclip";
18261                type: SWALLOW;
18262                description { state: "default" 0.0;
18263                    fixed: 1 0;
18264                    align: 0.0 0.5;
18265                    rel1 {
18266                        to_x: "elm.swallow.pad";
18267                        relative: 1.0  0.0;
18268                        offset:   -1    4;
18269                    }
18270                    rel2 {
18271                        to_x: "elm.swallow.pad";
18272                        relative: 1.0  1.0;
18273                        offset:   -1   -5;
18274                    }
18275                }
18276            }
18277            part { name: "elm.swallow.end";
18278                clip_to: "disclip";
18279                type:          SWALLOW;
18280                description { state:    "default" 0.0;
18281                    fixed: 1 0;
18282                    align:    1.0 0.5;
18283                    aspect: 1.0 1.0;
18284                    aspect_preference: VERTICAL;
18285                    rel1 {
18286                        relative: 1.0  0.0;
18287                        offset:   -5    4;
18288                    }
18289                    rel2 {
18290                        relative: 1.0  1.0;
18291                        offset:   -5   -5;
18292                    }
18293                }
18294            }
18295            part { name: "elm.text";
18296                clip_to: "disclip";
18297                type:           TEXTBLOCK;
18298                mouse_events:   0;
18299                scale: 1;
18300                description {
18301                    state: "default" 0.0;
18302                    align: 0.0 0.5;
18303                    fixed: 0 1;
18304                    rel1 {
18305                        to_x: "elm.swallow.icon";
18306                        to_y: "base";
18307                        relative: 1.0  0.5;
18308                        offset:   0 4;
18309                    }
18310                    rel2 {
18311                        to_x: "elm.swallow.end";
18312                        to_y: "base";
18313                        relative: 0.0  0.5;
18314                        offset:   -1 -5;
18315                    }
18316                    text {
18317                        style: "genlist_style";
18318                        min: 1 1;
18319                    }
18320                }
18321                description { state: "selected" 0.0;
18322                    inherit: "default" 0.0;
18323                    text {
18324                        style: "genlist_selected_style";
18325                    }
18326                }
18327            }
18328            part { name: "fg1";
18329                clip_to: "disclip";
18330                mouse_events: 0;
18331                description { state: "default" 0.0;
18332                    visible: 0;
18333                    color: 255 255 255 0;
18334                    rel1.to: "bg";
18335                    rel2.relative: 1.0 0.5;
18336                    rel2.to: "bg";
18337                    image {
18338                        normal: "bt_sm_hilight.png";
18339                        border: 6 6 6 0;
18340                    }
18341                }
18342                description { state: "selected" 0.0;
18343                    inherit: "default" 0.0;
18344                    visible: 1;
18345                    color: 255 255 255 255;
18346                }
18347            }
18348            part { name: "fg2";
18349                clip_to: "disclip";
18350                mouse_events: 0;
18351                description { state: "default" 0.0;
18352                    visible: 0;
18353                    color: 255 255 255 0;
18354                    rel1.to: "bg";
18355                    rel2.to: "bg";
18356                    image {
18357                        normal: "bt_sm_shine.png";
18358                        border: 6 6 6 0;
18359                    }
18360                }
18361                description { state: "selected" 0.0;
18362                    inherit: "default" 0.0;
18363                    visible: 1;
18364                    color: 255 255 255 255;
18365                }
18366            }
18367            part { name: "disclip";
18368                type: RECT;
18369                description { state: "default" 0.0;
18370                    rel1.to: "bg";
18371                    rel2.to: "bg";
18372                }
18373                description { state: "disabled" 0.0;
18374                    inherit: "default" 0.0;
18375                    color: 255 255 255 64;
18376                }
18377            }
18378        }
18379        programs {
18380            // signal: elm,state,%s,active
18381            //   a "check" item named %s went active
18382            // signal: elm,state,%s,passive
18383            //   a "check" item named %s went passive
18384            // default is passive
18385            program {
18386                name:    "go_active";
18387                signal:  "elm,state,selected";
18388                source:  "elm";
18389                action:  STATE_SET "selected" 0.0;
18390                target:  "bg";
18391                target:  "fg1";
18392                target:  "fg2";
18393                target:  "elm.text";
18394            }
18395            program {
18396                name:    "go_passive";
18397                signal:  "elm,state,unselected";
18398                source:  "elm";
18399                action:  STATE_SET "default" 0.0;
18400                target:  "bg";
18401                target:  "fg1";
18402                target:  "fg2";
18403                target:  "elm.text";
18404                transition: LINEAR 0.1;
18405            }
18406            program {
18407                name:    "go_disabled";
18408                signal:  "elm,state,disabled";
18409                source:  "elm";
18410                action:  STATE_SET "disabled" 0.0;
18411                target:  "disclip";
18412            }
18413            program {
18414                name:    "go_enabled";
18415                signal:  "elm,state,enabled";
18416                source:  "elm";
18417                action:  STATE_SET "default" 0.0;
18418                target:  "disclip";
18419            }
18420        }
18421    }
18422
18423    group { name: "elm/genlist/tree/default_style/default";
18424        data.item: "stacking" "above";
18425        data.item: "selectraise" "on";
18426        data.item: "labels" "elm.text";
18427        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18428        data.item: "treesize" "20";
18429        images {
18430            image: "bt_sm_base1.png" COMP;
18431            image: "bt_sm_shine.png" COMP;
18432            image: "bt_sm_hilight.png" COMP;
18433            image: "ilist_1.png" COMP;
18434            image: "ilist_item_shadow.png" COMP;
18435            image: "icon_arrow_right.png" COMP;
18436            image: "icon_arrow_down.png" COMP;
18437        }
18438        parts {
18439            part {
18440                name:           "event";
18441                type:           RECT;
18442                repeat_events: 1;
18443                description {
18444                    state: "default" 0.0;
18445                    color: 0 0 0 0;
18446                }
18447            }
18448            part {
18449                name: "base_sh";
18450                mouse_events: 0;
18451                description {
18452                    state: "default" 0.0;
18453                    align: 0.0 0.0;
18454                    min: 0 10;
18455                    fixed: 1 1;
18456                    rel1 {
18457                        to: "base";
18458                        relative: 0.0 1.0;
18459                        offset: 0 0;
18460                    }
18461                    rel2 {
18462                        to: "base";
18463                        relative: 1.0 1.0;
18464                        offset: -1 0;
18465                    }
18466                    image {
18467                        normal: "ilist_item_shadow.png";
18468                    }
18469                    fill.smooth: 0;
18470                }
18471            }
18472            part {
18473                name: "base";
18474                mouse_events: 0;
18475                description {
18476                    state: "default" 0.0;
18477                    min: 16 28;
18478                    image {
18479                        normal: "ilist_1.png";
18480                        border: 2 2 2 2;
18481                    }
18482                    fill.smooth: 0;
18483                }
18484            }
18485            part { name: "bg";
18486                clip_to: "disclip";
18487                mouse_events: 0;
18488                description { state: "default" 0.0;
18489                    visible: 0;
18490                    color: 255 255 255 0;
18491                    rel1 {
18492                        relative: 0.0 0.0;
18493                        offset: -5 -5;
18494                    }
18495                    rel2 {
18496                        relative: 1.0 1.0;
18497                        offset: 4 4;
18498                    }
18499                    image {
18500                        normal: "bt_sm_base1.png";
18501                        border: 6 6 6 6;
18502                    }
18503                    image.middle: SOLID;
18504                }
18505                description { state: "selected" 0.0;
18506                    inherit: "default" 0.0;
18507                    visible: 1;
18508                    color: 255 255 255 255;
18509                    rel1 {
18510                        relative: 0.0 0.0;
18511                        offset: -2 -2;
18512                    }
18513                    rel2 {
18514                        relative: 1.0 1.0;
18515                        offset: 1 1;
18516                    }
18517                }
18518            }
18519            part { name: "elm.swallow.pad";
18520                type: SWALLOW;
18521                description { state: "default" 0.0;
18522                    fixed: 1 0;
18523                    align: 0.0 0.5;
18524                    rel1 {
18525                        relative: 0.0  0.0;
18526                        offset:   4    4;
18527                    }
18528                    rel2 {
18529                        relative: 0.0  1.0;
18530                        offset:   4   -5;
18531                    }
18532                }
18533            }
18534            part { name: "arrow";
18535                clip_to: "disclip";
18536                ignore_flags: ON_HOLD;
18537                description { state: "default" 0.0;
18538                    fixed: 1 0;
18539                    align: 0.0 0.5;
18540                    aspect: 1.0 1.0;
18541                    rel1 {
18542                        to_x: "elm.swallow.pad";
18543                        relative: 1.0  0.0;
18544                        offset:   -1    4;
18545                    }
18546                    rel2 {
18547                        to_x: "elm.swallow.pad";
18548                        relative: 1.0  1.0;
18549                        offset:   -1   -5;
18550                    }
18551                    image.normal: "icon_arrow_right.png";
18552                }
18553                description { state: "active" 0.0;
18554                    inherit: "default" 0.0;
18555                    image.normal: "icon_arrow_down.png";
18556                }
18557            }
18558            part { name: "elm.swallow.icon";
18559                clip_to: "disclip";
18560                type: SWALLOW;
18561                description { state: "default" 0.0;
18562                    fixed: 1 0;
18563                    align: 0.0 0.5;
18564                    rel1 {
18565                        to_x: "arrow";
18566                        relative: 1.0  0.0;
18567                        offset:   4    4;
18568                    }
18569                    rel2 {
18570                        to_x: "arrow";
18571                        relative: 1.0  1.0;
18572                        offset:   4   -5;
18573                    }
18574                }
18575            }
18576            part { name: "elm.swallow.end";
18577                clip_to: "disclip";
18578                type: SWALLOW;
18579                description { state: "default" 0.0;
18580                    fixed: 1 0;
18581                    align: 1.0 0.5;
18582                    aspect: 1.0 1.0;
18583                    aspect_preference: VERTICAL;
18584                    rel1 {
18585                        relative: 1.0  0.0;
18586                        offset:   -5    4;
18587                    }
18588                    rel2 {
18589                        relative: 1.0  1.0;
18590                        offset:   -5   -5;
18591                    }
18592                }
18593            }
18594            part { name: "elm.text";
18595                clip_to: "disclip";
18596                type:           TEXTBLOCK;
18597                effect:         SOFT_SHADOW;
18598                mouse_events:   0;
18599                scale: 1;
18600                description {
18601                    state: "default" 0.0;
18602                    align: 0.0 0.5;
18603                    fixed: 0 1;
18604                    rel1 {
18605                        to_x:     "elm.swallow.icon";
18606                        to_y: "base";
18607                        relative: 1.0  0.5;
18608                        offset:   0 4;
18609                    }
18610                    rel2 {
18611                        to_x:     "elm.swallow.end";
18612                        to_y: "base";
18613                        relative: 0.0  0.5;
18614                        offset:   -1 -5;
18615                    }
18616                    text {
18617                        style: "genlist_style";
18618                        min: 1 1;
18619                    }
18620                }
18621                description { state: "selected" 0.0;
18622                    inherit: "default" 0.0;
18623                    text {
18624                        style: "genlist_selected_style";
18625                    }
18626                }
18627            }
18628            part { name: "fg1";
18629                clip_to: "disclip";
18630                mouse_events: 0;
18631                description { state: "default" 0.0;
18632                    visible: 0;
18633                    color: 255 255 255 0;
18634                    rel1.to: "bg";
18635                    rel2.relative: 1.0 0.5;
18636                    rel2.to: "bg";
18637                    image {
18638                        normal: "bt_sm_hilight.png";
18639                        border: 6 6 6 0;
18640                    }
18641                }
18642                description { state: "selected" 0.0;
18643                    inherit: "default" 0.0;
18644                    visible: 1;
18645                    color: 255 255 255 255;
18646                }
18647            }
18648            part { name: "fg2";
18649                clip_to: "disclip";
18650                mouse_events: 0;
18651                description { state: "default" 0.0;
18652                    visible: 0;
18653                    color: 255 255 255 0;
18654                    rel1.to: "bg";
18655                    rel2.to: "bg";
18656                    image {
18657                        normal: "bt_sm_shine.png";
18658                        border: 6 6 6 0;
18659                    }
18660                }
18661                description { state: "selected" 0.0;
18662                    inherit: "default" 0.0;
18663                    visible: 1;
18664                    color: 255 255 255 255;
18665                }
18666            }
18667            part { name: "disclip";
18668                type: RECT;
18669                description { state: "default" 0.0;
18670                    rel1.to: "bg";
18671                    rel2.to: "bg";
18672                }
18673                description { state: "disabled" 0.0;
18674                    inherit: "default" 0.0;
18675                    color: 255 255 255 64;
18676                }
18677            }
18678        }
18679        programs {
18680            // signal: elm,state,%s,active
18681            //   a "check" item named %s went active
18682            // signal: elm,state,%s,passive
18683            //   a "check" item named %s went passive
18684            // default is passive
18685            program {
18686                name:    "go_active";
18687                signal:  "elm,state,selected";
18688                source:  "elm";
18689                action:  STATE_SET "selected" 0.0;
18690                target:  "bg";
18691                target:  "fg1";
18692                target:  "fg2";
18693                target:  "elm.text";
18694            }
18695            program {
18696                name:    "go_passive";
18697                signal:  "elm,state,unselected";
18698                source:  "elm";
18699                action:  STATE_SET "default" 0.0;
18700                target:  "bg";
18701                target:  "fg1";
18702                target:  "fg2";
18703                target:  "elm.text";
18704                transition: LINEAR 0.1;
18705            }
18706            program {
18707                name:    "go_disabled";
18708                signal:  "elm,state,disabled";
18709                source:  "elm";
18710                action:  STATE_SET "disabled" 0.0;
18711                target:  "disclip";
18712            }
18713            program {
18714                name:    "go_enabled";
18715                signal:  "elm,state,enabled";
18716                source:  "elm";
18717                action:  STATE_SET "default" 0.0;
18718                target:  "disclip";
18719            }
18720            program {
18721                name:    "expand";
18722                signal:  "mouse,up,1";
18723                source:  "arrow";
18724                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18725            }
18726            program {
18727                name:    "go_expanded";
18728                signal:  "elm,state,expanded";
18729                source:  "elm";
18730                action:  STATE_SET "active" 0.0;
18731                target:  "arrow";
18732            }
18733            program {
18734                name:    "go_contracted";
18735                signal:  "elm,state,contracted";
18736                source:  "elm";
18737                action:  STATE_SET "default" 0.0;
18738                target:  "arrow";
18739            }
18740        }
18741    }
18742    group { name: "elm/genlist/tree_odd/default_style/default";
18743        data.item: "stacking" "below";
18744        data.item: "selectraise" "on";
18745        data.item: "labels" "elm.text";
18746        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18747        data.item: "treesize" "20";
18748        images {
18749            image: "bt_sm_base1.png" COMP;
18750            image: "bt_sm_shine.png" COMP;
18751            image: "bt_sm_hilight.png" COMP;
18752            image: "ilist_2.png" COMP;
18753            image: "icon_arrow_right.png" COMP;
18754            image: "icon_arrow_down.png" COMP;
18755        }
18756        parts {
18757            part {
18758                name:           "event";
18759                type:           RECT;
18760                repeat_events: 1;
18761                description {
18762                    state: "default" 0.0;
18763                    color: 0 0 0 0;
18764                }
18765            }
18766            part {
18767                name: "base";
18768                mouse_events: 0;
18769                description {
18770                    state: "default" 0.0;
18771                    min: 16 28;
18772                    image {
18773                        normal: "ilist_2.png";
18774                        border: 2 2 2 2;
18775                    }
18776                    fill.smooth: 0;
18777                }
18778            }
18779            part { name: "bg";
18780                clip_to: "disclip";
18781                mouse_events: 0;
18782                description { state: "default" 0.0;
18783                    visible: 0;
18784                    color: 255 255 255 0;
18785                    rel1 {
18786                        relative: 0.0 0.0;
18787                        offset: -5 -5;
18788                    }
18789                    rel2 {
18790                        relative: 1.0 1.0;
18791                        offset: 4 4;
18792                    }
18793                    image {
18794                        normal: "bt_sm_base1.png";
18795                        border: 6 6 6 6;
18796                    }
18797                    image.middle: SOLID;
18798                }
18799                description { state: "selected" 0.0;
18800                    inherit: "default" 0.0;
18801                    visible: 1;
18802                    color: 255 255 255 255;
18803                    rel1 {
18804                        relative: 0.0 0.0;
18805                        offset: -2 -2;
18806                    }
18807                    rel2 {
18808                        relative: 1.0 1.0;
18809                        offset: 1 1;
18810                    }
18811                }
18812            }
18813            part { name: "elm.swallow.pad";
18814                type: SWALLOW;
18815                description { state: "default" 0.0;
18816                    fixed: 1 0;
18817                    align: 0.0 0.5;
18818                    rel1 {
18819                        relative: 0.0  0.0;
18820                        offset:   4    4;
18821                    }
18822                    rel2 {
18823                        relative: 0.0  1.0;
18824                        offset:   4   -5;
18825                    }
18826                }
18827            }
18828            part { name: "arrow";
18829                clip_to: "disclip";
18830                ignore_flags: ON_HOLD;
18831                description { state: "default" 0.0;
18832                    fixed: 1 0;
18833                    align: 0.0 0.5;
18834                    aspect: 1.0 1.0;
18835                    rel1 {
18836                        to_x: "elm.swallow.pad";
18837                        relative: 1.0  0.0;
18838                        offset:   -1    4;
18839                    }
18840                    rel2 {
18841                        to_x: "elm.swallow.pad";
18842                        relative: 1.0  1.0;
18843                        offset:   -1   -5;
18844                    }
18845                    image.normal: "icon_arrow_right.png";
18846                }
18847                description { state: "active" 0.0;
18848                    inherit: "default" 0.0;
18849                    image.normal: "icon_arrow_down.png";
18850                }
18851            }
18852            part { name: "elm.swallow.icon";
18853                clip_to: "disclip";
18854                type: SWALLOW;
18855                description { state: "default" 0.0;
18856                    fixed: 1 0;
18857                    align: 0.0 0.5;
18858                    rel1 {
18859                        to_x: "arrow";
18860                        relative: 1.0  0.0;
18861                        offset:   4    4;
18862                    }
18863                    rel2 {
18864                        to_x: "arrow";
18865                        relative: 1.0  1.0;
18866                        offset:   4   -5;
18867                    }
18868                }
18869            }
18870            part { name: "elm.swallow.end";
18871                clip_to: "disclip";
18872                type: SWALLOW;
18873                description { state: "default" 0.0;
18874                    fixed: 1 0;
18875                    align: 1.0 0.5;
18876                    aspect: 1.0 1.0;
18877                    aspect_preference: VERTICAL;
18878                    rel1 {
18879                        relative: 1.0  0.0;
18880                        offset:   -5    4;
18881                    }
18882                    rel2 {
18883                        relative: 1.0  1.0;
18884                        offset:   -5   -5;
18885                    }
18886                }
18887            }
18888            part { name: "elm.text";
18889                clip_to: "disclip";
18890                type:           TEXTBLOCK;
18891                effect:         SOFT_SHADOW;
18892                mouse_events:   0;
18893                scale: 1;
18894                description {
18895                    state: "default" 0.0;
18896                    align: 0.0 0.5;
18897                    fixed: 0 1;
18898                    rel1 {
18899                        to_x:     "elm.swallow.icon";
18900                        to_y: "base";
18901                        relative: 1.0  0.5;
18902                        offset:   0 4;
18903                    }
18904                    rel2 {
18905                        to_x:     "elm.swallow.end";
18906                        to_y: "base";
18907                        relative: 0.0  0.5;
18908                        offset:   -1 -5;
18909                    }
18910                    text {
18911                        style: "genlist_style";
18912                        min: 1 1;
18913                    }
18914                }
18915                description { state: "selected" 0.0;
18916                    inherit: "default" 0.0;
18917                    text {
18918                        style: "genlist_selected_style";
18919                    }
18920                }
18921            }
18922            part { name: "fg1";
18923                clip_to: "disclip";
18924                mouse_events: 0;
18925                description { state: "default" 0.0;
18926                    visible: 0;
18927                    color: 255 255 255 0;
18928                    rel1.to: "bg";
18929                    rel2.relative: 1.0 0.5;
18930                    rel2.to: "bg";
18931                    image {
18932                        normal: "bt_sm_hilight.png";
18933                        border: 6 6 6 0;
18934                    }
18935                }
18936                description { state: "selected" 0.0;
18937                    inherit: "default" 0.0;
18938                    visible: 1;
18939                    color: 255 255 255 255;
18940                }
18941            }
18942            part { name: "fg2";
18943                clip_to: "disclip";
18944                mouse_events: 0;
18945                description { state: "default" 0.0;
18946                    visible: 0;
18947                    color: 255 255 255 0;
18948                    rel1.to: "bg";
18949                    rel2.to: "bg";
18950                    image {
18951                        normal: "bt_sm_shine.png";
18952                        border: 6 6 6 0;
18953                    }
18954                }
18955                description { state: "selected" 0.0;
18956                    inherit: "default" 0.0;
18957                    visible: 1;
18958                    color: 255 255 255 255;
18959                }
18960            }
18961            part { name: "disclip";
18962                type: RECT;
18963                description { state: "default" 0.0;
18964                    rel1.to: "bg";
18965                    rel2.to: "bg";
18966                }
18967                description { state: "disabled" 0.0;
18968                    inherit: "default" 0.0;
18969                    color: 255 255 255 64;
18970                }
18971            }
18972        }
18973        programs {
18974            // signal: elm,state,%s,active
18975            //   a "check" item named %s went active
18976            // signal: elm,state,%s,passive
18977            //   a "check" item named %s went passive
18978            // default is passive
18979            program {
18980                name:    "go_active";
18981                signal:  "elm,state,selected";
18982                source:  "elm";
18983                action:  STATE_SET "selected" 0.0;
18984                target:  "bg";
18985                target:  "fg1";
18986                target:  "fg2";
18987                target:  "elm.text";
18988            }
18989            program {
18990                name:    "go_passive";
18991                signal:  "elm,state,unselected";
18992                source:  "elm";
18993                action:  STATE_SET "default" 0.0;
18994                target:  "bg";
18995                target:  "fg1";
18996                target:  "fg2";
18997                target:  "elm.text";
18998                transition: LINEAR 0.1;
18999            }
19000            program {
19001                name:    "go_disabled";
19002                signal:  "elm,state,disabled";
19003                source:  "elm";
19004                action:  STATE_SET "disabled" 0.0;
19005                target:  "disclip";
19006            }
19007            program {
19008                name:    "go_enabled";
19009                signal:  "elm,state,enabled";
19010                source:  "elm";
19011                action:  STATE_SET "default" 0.0;
19012                target:  "disclip";
19013            }
19014            program {
19015                name:    "expand";
19016                signal:  "mouse,up,1";
19017                source:  "arrow";
19018                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19019            }
19020            program {
19021                name:    "go_expanded";
19022                signal:  "elm,state,expanded";
19023                source:  "elm";
19024                action:  STATE_SET "active" 0.0;
19025                target:  "arrow";
19026            }
19027            program {
19028                name:    "go_contracted";
19029                signal:  "elm,state,contracted";
19030                source:  "elm";
19031                action:  STATE_SET "default" 0.0;
19032                target:  "arrow";
19033            }
19034        }
19035    }
19036
19037
19038    group { name: "elm/genlist/item/double_label/default";
19039       data.item: "stacking" "above";
19040       data.item: "selectraise" "on";
19041       data.item: "labels" "elm.text elm.text.sub";
19042       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19043       data.item: "treesize" "20";
19044 //      data.item: "states" "";
19045       images {
19046          image: "bt_sm_base1.png" COMP;
19047          image: "bt_sm_shine.png" COMP;
19048          image: "bt_sm_hilight.png" COMP;
19049          image: "ilist_1.png" COMP;
19050          image: "ilist_item_shadow.png" COMP;
19051       }
19052       parts {
19053          part {
19054             name:           "event";
19055             type:           RECT;
19056             repeat_events: 1;
19057             description {
19058                state: "default" 0.0;
19059                color: 0 0 0 0;
19060             }
19061          }
19062          part {
19063             name: "base_sh";
19064             mouse_events: 0;
19065             description {
19066                state: "default" 0.0;
19067                align: 0.0 0.0;
19068                min: 0 10;
19069                fixed: 1 1;
19070                rel1 {
19071                   to: "base";
19072                   relative: 0.0 1.0;
19073                   offset: 0 0;
19074                }
19075                rel2 {
19076                   to: "base";
19077                   relative: 1.0 1.0;
19078                   offset: -1 0;
19079                }
19080                image {
19081                   normal: "ilist_item_shadow.png";
19082                }
19083                fill.smooth: 0;
19084             }
19085          }
19086          part {
19087             name: "base";
19088             mouse_events: 0;
19089             description {
19090                state: "default" 0.0;
19091                image {
19092                   normal: "ilist_1.png";
19093                   border: 2 2 2 2;
19094                }
19095                fill.smooth: 0;
19096             }
19097          }
19098          part { name: "bg";
19099             clip_to: "disclip";
19100             mouse_events: 0;
19101             description { state: "default" 0.0;
19102                visible: 0;
19103                color: 255 255 255 0;
19104                rel1 {
19105                   relative: 0.0 0.0;
19106                   offset: -5 -5;
19107                }
19108                rel2 {
19109                   relative: 1.0 1.0;
19110                   offset: 4 4;
19111                }
19112                image {
19113                   normal: "bt_sm_base1.png";
19114                   border: 6 6 6 6;
19115                }
19116                image.middle: SOLID;
19117             }
19118             description { state: "selected" 0.0;
19119                inherit: "default" 0.0;
19120                visible: 1;
19121                color: 255 255 255 255;
19122                rel1 {
19123                   relative: 0.0 0.0;
19124                   offset: -2 -2;
19125                }
19126                rel2 {
19127                   relative: 1.0 1.0;
19128                   offset: 1 1;
19129                }
19130             }
19131          }
19132          part { name: "elm.swallow.pad";
19133             type: SWALLOW;
19134             description { state: "default" 0.0;
19135                fixed: 1 0;
19136                align: 0.0 0.5;
19137                rel1 {
19138                   relative: 0.0  0.0;
19139                   offset:   4    4;
19140                }
19141                rel2 {
19142                   relative: 0.0  1.0;
19143                   offset:   4   -5;
19144                }
19145             }
19146          }
19147          part { name: "elm.swallow.icon";
19148             clip_to: "disclip";
19149             type: SWALLOW;
19150             description { state: "default" 0.0;
19151                fixed: 1 0;
19152                align: 0.0 0.5;
19153                rel1 {
19154                   to_x: "elm.swallow.pad";
19155                   relative: 1.0  0.0;
19156                   offset:   -1    4;
19157                }
19158                rel2 {
19159                   to_x: "elm.swallow.pad";
19160                   relative: 1.0  1.0;
19161                   offset:   -1   -5;
19162                }
19163             }
19164          }
19165          part { name: "elm.swallow.end";
19166             clip_to: "disclip";
19167             type: SWALLOW;
19168             description { state: "default" 0.0;
19169                fixed: 1 0;
19170                align: 1.0 0.5;
19171                aspect: 1.0 1.0;
19172                aspect_preference: VERTICAL;
19173                rel1 {
19174                   relative: 1.0  0.0;
19175                   offset:   -5    4;
19176                }
19177                rel2 {
19178                   relative: 1.0  1.0;
19179                   offset:   -5   -5;
19180                }
19181             }
19182          }
19183          part { name: "elm.text";
19184             clip_to: "disclip";
19185             type:           TEXT;
19186             effect:         SOFT_SHADOW;
19187             mouse_events:   0;
19188             scale: 1;
19189             description {
19190                state: "default" 0.0;
19191 //               min: 16 16;
19192                rel1 {
19193                   to_x:     "elm.swallow.icon";
19194                   relative: 1.0  0.0;
19195                   offset:   0 4;
19196                }
19197                rel2 {
19198                   to_x:     "elm.swallow.end";
19199                   relative: 0.0  0.5;
19200                   offset:   -1 -5;
19201                }
19202                color: 0 0 0 255;
19203                color3: 0 0 0 0;
19204                text {
19205                   font: "Sans";
19206                   size: 10;
19207                   min: 1 1;
19208 //                  min: 0 1;
19209                   align: 0.0 0.5;
19210                   text_class: "list_item";
19211                }
19212             }
19213             description { state: "selected" 0.0;
19214                inherit: "default" 0.0;
19215                color: 224 224 224 255;
19216                color3: 0 0 0 64;
19217             }
19218          }
19219          part { name: "elm.text.sub";
19220             clip_to: "disclip";
19221             type:           TEXT;
19222             mouse_events:   0;
19223             scale: 1;
19224             description {
19225                state: "default" 0.0;
19226 //               min: 16 16;
19227                rel1 {
19228                   to_x:     "elm.swallow.icon";
19229                   relative: 1.0  0.5;
19230                   offset:   0 4;
19231                }
19232                rel2 {
19233                   to_x:     "elm.swallow.end";
19234                   relative: 0.0  1.0;
19235                   offset:   -1 -5;
19236                }
19237                color: 0 0 0 128;
19238                color3: 0 0 0 0;
19239                text {
19240                   font: "Sans";
19241                   size: 8;
19242                   min: 1 1;
19243 //                  min: 0 1;
19244                   align: 0.0 0.5;
19245                   text_class: "list_item";
19246                }
19247             }
19248             description { state: "selected" 0.0;
19249                inherit: "default" 0.0;
19250                color: 128 128 128 255;
19251                color3: 0 0 0 32;
19252             }
19253          }
19254          part { name: "fg1";
19255             clip_to: "disclip";
19256             mouse_events: 0;
19257             description { state: "default" 0.0;
19258                visible: 0;
19259                color: 255 255 255 0;
19260                rel1.to: "bg";
19261                rel2.relative: 1.0 0.5;
19262                rel2.to: "bg";
19263                image {
19264                   normal: "bt_sm_hilight.png";
19265                   border: 6 6 6 0;
19266                }
19267             }
19268             description { state: "selected" 0.0;
19269                inherit: "default" 0.0;
19270                visible: 1;
19271                color: 255 255 255 255;
19272             }
19273          }
19274          part { name: "fg2";
19275             clip_to: "disclip";
19276             mouse_events: 0;
19277             description { state: "default" 0.0;
19278                visible: 0;
19279                color: 255 255 255 0;
19280                rel1.to: "bg";
19281                rel2.to: "bg";
19282                image {
19283                   normal: "bt_sm_shine.png";
19284                   border: 6 6 6 0;
19285                }
19286             }
19287             description { state: "selected" 0.0;
19288                inherit: "default" 0.0;
19289                visible: 1;
19290                color: 255 255 255 255;
19291             }
19292          }
19293          part { name: "disclip";
19294             type: RECT;
19295             description { state: "default" 0.0;
19296                rel1.to: "bg";
19297                rel2.to: "bg";
19298             }
19299             description { state: "disabled" 0.0;
19300                inherit: "default" 0.0;
19301                color: 255 255 255 64;
19302             }
19303          }
19304       }
19305       programs {
19306          // signal: elm,state,%s,active
19307          //   a "check" item named %s went active
19308          // signal: elm,state,%s,passive
19309          //   a "check" item named %s went passive
19310          // default is passive
19311          program {
19312             name:    "go_active";
19313             signal:  "elm,state,selected";
19314             source:  "elm";
19315             action:  STATE_SET "selected" 0.0;
19316             target:  "bg";
19317             target:  "fg1";
19318             target:  "fg2";
19319             target:  "elm.text";
19320             target:  "elm.text.sub";
19321          }
19322          program {
19323             name:    "go_passive";
19324             signal:  "elm,state,unselected";
19325             source:  "elm";
19326             action:  STATE_SET "default" 0.0;
19327             target:  "bg";
19328             target:  "fg1";
19329             target:  "fg2";
19330             target:  "elm.text";
19331             target:  "elm.text.sub";
19332             transition: LINEAR 0.1;
19333          }
19334          program {
19335             name:    "go_disabled";
19336             signal:  "elm,state,disabled";
19337             source:  "elm";
19338             action:  STATE_SET "disabled" 0.0;
19339             target:  "disclip";
19340          }
19341          program {
19342             name:    "go_enabled";
19343             signal:  "elm,state,enabled";
19344             source:  "elm";
19345             action:  STATE_SET "default" 0.0;
19346             target:  "disclip";
19347          }
19348       }
19349    }
19350    group { name: "elm/genlist/item_compress/double_label/default";
19351       data.item: "stacking" "above";
19352       data.item: "selectraise" "on";
19353       data.item: "labels" "elm.text elm.text.sub";
19354       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19355       data.item: "treesize" "20";
19356 //      data.item: "states" "";
19357       images {
19358          image: "bt_sm_base1.png" COMP;
19359          image: "bt_sm_shine.png" COMP;
19360          image: "bt_sm_hilight.png" COMP;
19361          image: "ilist_1.png" COMP;
19362          image: "ilist_item_shadow.png" COMP;
19363       }
19364       parts {
19365          part {
19366             name:           "event";
19367             type:           RECT;
19368             repeat_events: 1;
19369             description {
19370                state: "default" 0.0;
19371                color: 0 0 0 0;
19372             }
19373          }
19374          part {
19375             name: "base_sh";
19376             mouse_events: 0;
19377             description {
19378                state: "default" 0.0;
19379                align: 0.0 0.0;
19380                min: 0 10;
19381                fixed: 1 1;
19382                rel1 {
19383                   to: "base";
19384                   relative: 0.0 1.0;
19385                   offset: 0 0;
19386                }
19387                rel2 {
19388                   to: "base";
19389                   relative: 1.0 1.0;
19390                   offset: -1 0;
19391                }
19392                image {
19393                   normal: "ilist_item_shadow.png";
19394                }
19395                fill.smooth: 0;
19396             }
19397          }
19398          part {
19399             name: "base";
19400             mouse_events: 0;
19401             description {
19402                state: "default" 0.0;
19403                image {
19404                   normal: "ilist_1.png";
19405                   border: 2 2 2 2;
19406                }
19407                fill.smooth: 0;
19408             }
19409          }
19410          part { name: "bg";
19411             clip_to: "disclip";
19412             mouse_events: 0;
19413             description { state: "default" 0.0;
19414                visible: 0;
19415                color: 255 255 255 0;
19416                rel1 {
19417                   relative: 0.0 0.0;
19418                   offset: -5 -5;
19419                }
19420                rel2 {
19421                   relative: 1.0 1.0;
19422                   offset: 4 4;
19423                }
19424                image {
19425                   normal: "bt_sm_base1.png";
19426                   border: 6 6 6 6;
19427                }
19428                image.middle: SOLID;
19429             }
19430             description { state: "selected" 0.0;
19431                inherit: "default" 0.0;
19432                visible: 1;
19433                color: 255 255 255 255;
19434                rel1 {
19435                   relative: 0.0 0.0;
19436                   offset: -2 -2;
19437                }
19438                rel2 {
19439                   relative: 1.0 1.0;
19440                   offset: 1 1;
19441                }
19442             }
19443          }
19444          part { name: "elm.swallow.pad";
19445             type: SWALLOW;
19446             description { state: "default" 0.0;
19447                fixed: 1 0;
19448                align: 0.0 0.5;
19449                rel1 {
19450                   relative: 0.0  0.0;
19451                   offset:   4    4;
19452                }
19453                rel2 {
19454                   relative: 0.0  1.0;
19455                   offset:   4   -5;
19456                }
19457             }
19458          }
19459          part { name: "elm.swallow.icon";
19460             clip_to: "disclip";
19461             type: SWALLOW;
19462             description { state: "default" 0.0;
19463                fixed: 1 0;
19464                align: 0.0 0.5;
19465                rel1 {
19466                   to_x: "elm.swallow.pad";
19467                   relative: 1.0  0.0;
19468                   offset:   -1    4;
19469                }
19470                rel2 {
19471                   to_x: "elm.swallow.pad";
19472                   relative: 1.0  1.0;
19473                   offset:   -1   -5;
19474                }
19475             }
19476          }
19477          part { name: "elm.swallow.end";
19478             clip_to: "disclip";
19479             type: SWALLOW;
19480             description { state: "default" 0.0;
19481                fixed: 1 0;
19482                align: 1.0 0.5;
19483                aspect: 1.0 1.0;
19484                aspect_preference: VERTICAL;
19485                rel1 {
19486                   relative: 1.0  0.0;
19487                   offset:   -5    4;
19488                }
19489                rel2 {
19490                   relative: 1.0  1.0;
19491                   offset:   -5   -5;
19492                }
19493             }
19494          }
19495          part { name: "elm.text";
19496             clip_to: "disclip";
19497             type:           TEXT;
19498             effect:         SOFT_SHADOW;
19499             mouse_events:   0;
19500             scale: 1;
19501             description {
19502                state: "default" 0.0;
19503 //               min: 16 16;
19504                rel1 {
19505                   to_x:     "elm.swallow.icon";
19506                   relative: 1.0  0.0;
19507                   offset:   0 4;
19508                }
19509                rel2 {
19510                   to_x:     "elm.swallow.end";
19511                   relative: 0.0  0.5;
19512                   offset:   -1 -5;
19513                }
19514                color: 0 0 0 255;
19515                color3: 0 0 0 0;
19516                text {
19517                   font: "Sans";
19518                   size: 10;
19519 //                  min: 1 1;
19520                   min: 0 1;
19521                   align: 0.0 0.5;
19522                   text_class: "list_item";
19523                }
19524             }
19525             description { state: "selected" 0.0;
19526                inherit: "default" 0.0;
19527                color: 224 224 224 255;
19528                color3: 0 0 0 64;
19529             }
19530          }
19531          part { name: "elm.text.sub";
19532             clip_to: "disclip";
19533             type:           TEXT;
19534             mouse_events:   0;
19535             scale: 1;
19536             description {
19537                state: "default" 0.0;
19538 //               min: 16 16;
19539                rel1 {
19540                   to_x:     "elm.swallow.icon";
19541                   relative: 1.0  0.5;
19542                   offset:   0 4;
19543                }
19544                rel2 {
19545                   to_x:     "elm.swallow.end";
19546                   relative: 0.0  1.0;
19547                   offset:   -1 -5;
19548                }
19549                color: 0 0 0 128;
19550                color3: 0 0 0 0;
19551                text {
19552                   font: "Sans";
19553                   size: 8;
19554 //                  min: 1 1;
19555                   min: 0 1;
19556                   align: 0.0 0.5;
19557                   text_class: "list_item";
19558                }
19559             }
19560             description { state: "selected" 0.0;
19561                inherit: "default" 0.0;
19562                color: 128 128 128 255;
19563                color3: 0 0 0 32;
19564             }
19565          }
19566          part { name: "fg1";
19567             clip_to: "disclip";
19568             mouse_events: 0;
19569             description { state: "default" 0.0;
19570                visible: 0;
19571                color: 255 255 255 0;
19572                rel1.to: "bg";
19573                rel2.relative: 1.0 0.5;
19574                rel2.to: "bg";
19575                image {
19576                   normal: "bt_sm_hilight.png";
19577                   border: 6 6 6 0;
19578                }
19579             }
19580             description { state: "selected" 0.0;
19581                inherit: "default" 0.0;
19582                visible: 1;
19583                color: 255 255 255 255;
19584             }
19585          }
19586          part { name: "fg2";
19587             clip_to: "disclip";
19588             mouse_events: 0;
19589             description { state: "default" 0.0;
19590                visible: 0;
19591                color: 255 255 255 0;
19592                rel1.to: "bg";
19593                rel2.to: "bg";
19594                image {
19595                   normal: "bt_sm_shine.png";
19596                   border: 6 6 6 0;
19597                }
19598             }
19599             description { state: "selected" 0.0;
19600                inherit: "default" 0.0;
19601                visible: 1;
19602                color: 255 255 255 255;
19603             }
19604          }
19605          part { name: "disclip";
19606             type: RECT;
19607             description { state: "default" 0.0;
19608                rel1.to: "bg";
19609                rel2.to: "bg";
19610             }
19611             description { state: "disabled" 0.0;
19612                inherit: "default" 0.0;
19613                color: 255 255 255 64;
19614             }
19615          }
19616       }
19617       programs {
19618          // signal: elm,state,%s,active
19619          //   a "check" item named %s went active
19620          // signal: elm,state,%s,passive
19621          //   a "check" item named %s went passive
19622          // default is passive
19623          program {
19624             name:    "go_active";
19625             signal:  "elm,state,selected";
19626             source:  "elm";
19627             action:  STATE_SET "selected" 0.0;
19628             target:  "bg";
19629             target:  "fg1";
19630             target:  "fg2";
19631             target:  "elm.text";
19632             target:  "elm.text.sub";
19633          }
19634          program {
19635             name:    "go_passive";
19636             signal:  "elm,state,unselected";
19637             source:  "elm";
19638             action:  STATE_SET "default" 0.0;
19639             target:  "bg";
19640             target:  "fg1";
19641             target:  "fg2";
19642             target:  "elm.text";
19643             target:  "elm.text.sub";
19644             transition: LINEAR 0.1;
19645          }
19646          program {
19647             name:    "go_disabled";
19648             signal:  "elm,state,disabled";
19649             source:  "elm";
19650             action:  STATE_SET "disabled" 0.0;
19651             target:  "disclip";
19652          }
19653          program {
19654             name:    "go_enabled";
19655             signal:  "elm,state,enabled";
19656             source:  "elm";
19657             action:  STATE_SET "default" 0.0;
19658             target:  "disclip";
19659          }
19660       }
19661    }
19662    group { name: "elm/genlist/item_odd/double_label/default";
19663       data.item: "stacking" "below";
19664       data.item: "selectraise" "on";
19665       data.item: "labels" "elm.text elm.text.sub";
19666       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19667       data.item: "treesize" "20";
19668 //      data.item: "states" "";
19669       images {
19670          image: "bt_sm_base1.png" COMP;
19671          image: "bt_sm_shine.png" COMP;
19672          image: "bt_sm_hilight.png" COMP;
19673          image: "ilist_2.png" COMP;
19674       }
19675       parts {
19676          part { name: "event";
19677             type: RECT;
19678             repeat_events: 1;
19679             description {
19680                state: "default" 0.0;
19681                color: 0 0 0 0;
19682             }
19683          }
19684          part {
19685             name: "base";
19686             mouse_events: 0;
19687             description {
19688                state: "default" 0.0;
19689                image {
19690                   normal: "ilist_2.png";
19691                   border: 2 2 2 2;
19692                }
19693                fill.smooth: 0;
19694             }
19695          }
19696          part { name: "bg";
19697             clip_to: "disclip";
19698             mouse_events: 0;
19699             description { state: "default" 0.0;
19700                visible: 0;
19701                color: 255 255 255 0;
19702                rel1 {
19703                   relative: 0.0 0.0;
19704                   offset: -5 -5;
19705                }
19706                rel2 {
19707                   relative: 1.0 1.0;
19708                   offset: 4 4;
19709                }
19710                image {
19711                   normal: "bt_sm_base1.png";
19712                   border: 6 6 6 6;
19713                }
19714                image.middle: SOLID;
19715             }
19716             description { state: "selected" 0.0;
19717                inherit: "default" 0.0;
19718                visible: 1;
19719                color: 255 255 255 255;
19720                rel1 {
19721                   relative: 0.0 0.0;
19722                   offset: -2 -2;
19723                }
19724                rel2 {
19725                   relative: 1.0 1.0;
19726                   offset: 1 1;
19727                }
19728             }
19729          }
19730          part { name: "elm.swallow.pad";
19731             type: SWALLOW;
19732             description { state: "default" 0.0;
19733                fixed: 1 0;
19734                align: 0.0 0.5;
19735                rel1 {
19736                   relative: 0.0  0.0;
19737                   offset:   4    4;
19738                }
19739                rel2 {
19740                   relative: 0.0  1.0;
19741                   offset:   4   -5;
19742                }
19743             }
19744          }
19745          part { name: "elm.swallow.icon";
19746             clip_to: "disclip";
19747             type: SWALLOW;
19748             description { state: "default" 0.0;
19749                fixed: 1 0;
19750                align: 0.0 0.5;
19751                rel1 {
19752                   to_x: "elm.swallow.pad";
19753                   relative: 1.0  0.0;
19754                   offset:   -1    4;
19755                }
19756                rel2 {
19757                   to_x: "elm.swallow.pad";
19758                   relative: 1.0  1.0;
19759                   offset:   -1   -5;
19760                }
19761             }
19762          }
19763          part { name: "elm.swallow.end";
19764             clip_to: "disclip";
19765             type:          SWALLOW;
19766             description { state:    "default" 0.0;
19767                fixed: 1 0;
19768                align:    1.0 0.5;
19769                aspect: 1.0 1.0;
19770                aspect_preference: VERTICAL;
19771                rel1 {
19772                   relative: 1.0  0.0;
19773                   offset:   -5    4;
19774                }
19775                rel2 {
19776                   relative: 1.0  1.0;
19777                   offset:   -5   -5;
19778                }
19779             }
19780          }
19781          part { name: "elm.text";
19782             clip_to: "disclip";
19783             type:           TEXT;
19784             effect:         SOFT_SHADOW;
19785             mouse_events:   0;
19786             scale: 1;
19787             description {
19788                state: "default" 0.0;
19789 //               min: 16 16;
19790                rel1 {
19791                   to_x:     "elm.swallow.icon";
19792                   relative: 1.0  0.0;
19793                   offset:   0 4;
19794                }
19795                rel2 {
19796                   to_x:     "elm.swallow.end";
19797                   relative: 0.0  0.5;
19798                   offset:   -1 -5;
19799                }
19800                color: 0 0 0 255;
19801                color3: 0 0 0 0;
19802                text {
19803                   font: "Sans";
19804                   size: 10;
19805                   min: 1 1;
19806 //                  min: 0 1;
19807                   align: 0.0 0.5;
19808                   text_class: "list_item";
19809                }
19810             }
19811             description { state: "selected" 0.0;
19812                inherit: "default" 0.0;
19813                color: 224 224 224 255;
19814                color3: 0 0 0 64;
19815             }
19816          }
19817          part { name: "elm.text.sub";
19818             clip_to: "disclip";
19819             type:           TEXT;
19820             mouse_events:   0;
19821             scale: 1;
19822             description {
19823                state: "default" 0.0;
19824 //               min: 16 16;
19825                rel1 {
19826                   to_x:     "elm.swallow.icon";
19827                   relative: 1.0  0.5;
19828                   offset:   0 4;
19829                }
19830                rel2 {
19831                   to_x:     "elm.swallow.end";
19832                   relative: 0.0  1.0;
19833                   offset:   -1 -5;
19834                }
19835                color: 0 0 0 128;
19836                color3: 0 0 0 0;
19837                text {
19838                   font: "Sans";
19839                   size: 8;
19840                   min: 1 1;
19841 //                  min: 0 1;
19842                   align: 0.0 0.5;
19843                   text_class: "list_item";
19844                }
19845             }
19846             description { state: "selected" 0.0;
19847                inherit: "default" 0.0;
19848                color: 128 128 128 255;
19849                color3: 0 0 0 32;
19850             }
19851          }
19852          part { name: "fg1";
19853             clip_to: "disclip";
19854             mouse_events: 0;
19855             description { state: "default" 0.0;
19856                visible: 0;
19857                color: 255 255 255 0;
19858                rel1.to: "bg";
19859                rel2.relative: 1.0 0.5;
19860                rel2.to: "bg";
19861                image {
19862                   normal: "bt_sm_hilight.png";
19863                   border: 6 6 6 0;
19864                }
19865             }
19866             description { state: "selected" 0.0;
19867                inherit: "default" 0.0;
19868                visible: 1;
19869                color: 255 255 255 255;
19870             }
19871          }
19872          part { name: "fg2";
19873             clip_to: "disclip";
19874             mouse_events: 0;
19875             description { state: "default" 0.0;
19876                visible: 0;
19877                color: 255 255 255 0;
19878                rel1.to: "bg";
19879                rel2.to: "bg";
19880                image {
19881                   normal: "bt_sm_shine.png";
19882                   border: 6 6 6 0;
19883                }
19884             }
19885             description { state: "selected" 0.0;
19886                inherit: "default" 0.0;
19887                visible: 1;
19888                color: 255 255 255 255;
19889             }
19890          }
19891          part { name: "disclip";
19892             type: RECT;
19893             description { state: "default" 0.0;
19894                rel1.to: "bg";
19895                rel2.to: "bg";
19896             }
19897             description { state: "disabled" 0.0;
19898                inherit: "default" 0.0;
19899                color: 255 255 255 64;
19900             }
19901          }
19902       }
19903       programs {
19904          // signal: elm,state,%s,active
19905          //   a "check" item named %s went active
19906          // signal: elm,state,%s,passive
19907          //   a "check" item named %s went passive
19908          // default is passive
19909          program {
19910             name:    "go_active";
19911             signal:  "elm,state,selected";
19912             source:  "elm";
19913             action:  STATE_SET "selected" 0.0;
19914             target:  "bg";
19915             target:  "fg1";
19916             target:  "fg2";
19917             target:  "elm.text";
19918             target:  "elm.text.sub";
19919          }
19920          program {
19921             name:    "go_passive";
19922             signal:  "elm,state,unselected";
19923             source:  "elm";
19924             action:  STATE_SET "default" 0.0;
19925             target:  "bg";
19926             target:  "fg1";
19927             target:  "fg2";
19928             target:  "elm.text";
19929             target:  "elm.text.sub";
19930             transition: LINEAR 0.1;
19931          }
19932          program {
19933             name:    "go_disabled";
19934             signal:  "elm,state,disabled";
19935             source:  "elm";
19936             action:  STATE_SET "disabled" 0.0;
19937             target:  "disclip";
19938          }
19939          program {
19940             name:    "go_enabled";
19941             signal:  "elm,state,enabled";
19942             source:  "elm";
19943             action:  STATE_SET "default" 0.0;
19944             target:  "disclip";
19945          }
19946       }
19947    }
19948    group { name: "elm/genlist/item_compress_odd/double_label/default";
19949       data.item: "stacking" "below";
19950       data.item: "selectraise" "on";
19951       data.item: "labels" "elm.text elm.text.sub";
19952       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19953       data.item: "treesize" "20";
19954 //      data.item: "states" "";
19955       images {
19956          image: "bt_sm_base1.png" COMP;
19957          image: "bt_sm_shine.png" COMP;
19958          image: "bt_sm_hilight.png" COMP;
19959          image: "ilist_2.png" COMP;
19960       }
19961       parts {
19962          part { name: "event";
19963             type: RECT;
19964             repeat_events: 1;
19965             description {
19966                state: "default" 0.0;
19967                color: 0 0 0 0;
19968             }
19969          }
19970          part {
19971             name: "base";
19972             mouse_events: 0;
19973             description {
19974                state: "default" 0.0;
19975                image {
19976                   normal: "ilist_2.png";
19977                   border: 2 2 2 2;
19978                }
19979                fill.smooth: 0;
19980             }
19981          }
19982          part { name: "bg";
19983             clip_to: "disclip";
19984             mouse_events: 0;
19985             description { state: "default" 0.0;
19986                visible: 0;
19987                color: 255 255 255 0;
19988                rel1 {
19989                   relative: 0.0 0.0;
19990                   offset: -5 -5;
19991                }
19992                rel2 {
19993                   relative: 1.0 1.0;
19994                   offset: 4 4;
19995                }
19996                image {
19997                   normal: "bt_sm_base1.png";
19998                   border: 6 6 6 6;
19999                }
20000                image.middle: SOLID;
20001             }
20002             description { state: "selected" 0.0;
20003                inherit: "default" 0.0;
20004                visible: 1;
20005                color: 255 255 255 255;
20006                rel1 {
20007                   relative: 0.0 0.0;
20008                   offset: -2 -2;
20009                }
20010                rel2 {
20011                   relative: 1.0 1.0;
20012                   offset: 1 1;
20013                }
20014             }
20015          }
20016          part { name: "elm.swallow.pad";
20017             type: SWALLOW;
20018             description { state: "default" 0.0;
20019                fixed: 1 0;
20020                align: 0.0 0.5;
20021                rel1 {
20022                   relative: 0.0  0.0;
20023                   offset:   4    4;
20024                }
20025                rel2 {
20026                   relative: 0.0  1.0;
20027                   offset:   4   -5;
20028                }
20029             }
20030          }
20031          part { name: "elm.swallow.icon";
20032             clip_to: "disclip";
20033             type: SWALLOW;
20034             description { state: "default" 0.0;
20035                fixed: 1 0;
20036                align: 0.0 0.5;
20037                rel1 {
20038                   to_x: "elm.swallow.pad";
20039                   relative: 1.0  0.0;
20040                   offset:   -1    4;
20041                }
20042                rel2 {
20043                   to_x: "elm.swallow.pad";
20044                   relative: 1.0  1.0;
20045                   offset:   -1   -5;
20046                }
20047             }
20048          }
20049          part { name: "elm.swallow.end";
20050             clip_to: "disclip";
20051             type:          SWALLOW;
20052             description { state:    "default" 0.0;
20053                fixed: 1 0;
20054                align:    1.0 0.5;
20055                aspect: 1.0 1.0;
20056                aspect_preference: VERTICAL;
20057                rel1 {
20058                   relative: 1.0  0.0;
20059                   offset:   -5    4;
20060                }
20061                rel2 {
20062                   relative: 1.0  1.0;
20063                   offset:   -5   -5;
20064                }
20065             }
20066          }
20067          part { name: "elm.text";
20068             clip_to: "disclip";
20069             type:           TEXT;
20070             effect:         SOFT_SHADOW;
20071             mouse_events:   0;
20072             scale: 1;
20073             description {
20074                state: "default" 0.0;
20075 //               min: 16 16;
20076                rel1 {
20077                   to_x:     "elm.swallow.icon";
20078                   relative: 1.0  0.0;
20079                   offset:   0 4;
20080                }
20081                rel2 {
20082                   to_x:     "elm.swallow.end";
20083                   relative: 0.0  0.5;
20084                   offset:   -1 -5;
20085                }
20086                color: 0 0 0 255;
20087                color3: 0 0 0 0;
20088                text {
20089                   font: "Sans";
20090                   size: 10;
20091 //                  min: 1 1;
20092                   min: 0 1;
20093                   align: 0.0 0.5;
20094                   text_class: "list_item";
20095                }
20096             }
20097             description { state: "selected" 0.0;
20098                inherit: "default" 0.0;
20099                color: 224 224 224 255;
20100                color3: 0 0 0 64;
20101             }
20102          }
20103          part { name: "elm.text.sub";
20104             clip_to: "disclip";
20105             type:           TEXT;
20106             mouse_events:   0;
20107             scale: 1;
20108             description {
20109                state: "default" 0.0;
20110 //               min: 16 16;
20111                rel1 {
20112                   to_x:     "elm.swallow.icon";
20113                   relative: 1.0  0.5;
20114                   offset:   0 4;
20115                }
20116                rel2 {
20117                   to_x:     "elm.swallow.end";
20118                   relative: 0.0  1.0;
20119                   offset:   -1 -5;
20120                }
20121                color: 0 0 0 128;
20122                color3: 0 0 0 0;
20123                text {
20124                   font: "Sans";
20125                   size: 8;
20126 //                  min: 1 1;
20127                   min: 0 1;
20128                   align: 0.0 0.5;
20129                   text_class: "list_item";
20130                }
20131             }
20132             description { state: "selected" 0.0;
20133                inherit: "default" 0.0;
20134                color: 128 128 128 255;
20135                color3: 0 0 0 32;
20136             }
20137          }
20138          part { name: "fg1";
20139             clip_to: "disclip";
20140             mouse_events: 0;
20141             description { state: "default" 0.0;
20142                visible: 0;
20143                color: 255 255 255 0;
20144                rel1.to: "bg";
20145                rel2.relative: 1.0 0.5;
20146                rel2.to: "bg";
20147                image {
20148                   normal: "bt_sm_hilight.png";
20149                   border: 6 6 6 0;
20150                }
20151             }
20152             description { state: "selected" 0.0;
20153                inherit: "default" 0.0;
20154                visible: 1;
20155                color: 255 255 255 255;
20156             }
20157          }
20158          part { name: "fg2";
20159             clip_to: "disclip";
20160             mouse_events: 0;
20161             description { state: "default" 0.0;
20162                visible: 0;
20163                color: 255 255 255 0;
20164                rel1.to: "bg";
20165                rel2.to: "bg";
20166                image {
20167                   normal: "bt_sm_shine.png";
20168                   border: 6 6 6 0;
20169                }
20170             }
20171             description { state: "selected" 0.0;
20172                inherit: "default" 0.0;
20173                visible: 1;
20174                color: 255 255 255 255;
20175             }
20176          }
20177          part { name: "disclip";
20178             type: RECT;
20179             description { state: "default" 0.0;
20180                rel1.to: "bg";
20181                rel2.to: "bg";
20182             }
20183             description { state: "disabled" 0.0;
20184                inherit: "default" 0.0;
20185                color: 255 255 255 64;
20186             }
20187          }
20188       }
20189       programs {
20190          // signal: elm,state,%s,active
20191          //   a "check" item named %s went active
20192          // signal: elm,state,%s,passive
20193          //   a "check" item named %s went passive
20194          // default is passive
20195          program {
20196             name:    "go_active";
20197             signal:  "elm,state,selected";
20198             source:  "elm";
20199             action:  STATE_SET "selected" 0.0;
20200             target:  "bg";
20201             target:  "fg1";
20202             target:  "fg2";
20203             target:  "elm.text";
20204             target:  "elm.text.sub";
20205          }
20206          program {
20207             name:    "go_passive";
20208             signal:  "elm,state,unselected";
20209             source:  "elm";
20210             action:  STATE_SET "default" 0.0;
20211             target:  "bg";
20212             target:  "fg1";
20213             target:  "fg2";
20214             target:  "elm.text";
20215             target:  "elm.text.sub";
20216             transition: LINEAR 0.1;
20217          }
20218          program {
20219             name:    "go_disabled";
20220             signal:  "elm,state,disabled";
20221             source:  "elm";
20222             action:  STATE_SET "disabled" 0.0;
20223             target:  "disclip";
20224          }
20225          program {
20226             name:    "go_enabled";
20227             signal:  "elm,state,enabled";
20228             source:  "elm";
20229             action:  STATE_SET "default" 0.0;
20230             target:  "disclip";
20231          }
20232       }
20233    }
20234
20235    group { name: "elm/genlist/tree/double_label/default";
20236       data.item: "stacking" "above";
20237       data.item: "selectraise" "on";
20238       data.item: "labels" "elm.text elm.text.sub";
20239       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20240       data.item: "treesize" "20";
20241 //      data.item: "states" "";
20242       images {
20243          image: "bt_sm_base1.png" COMP;
20244          image: "bt_sm_shine.png" COMP;
20245          image: "bt_sm_hilight.png" COMP;
20246          image: "ilist_1.png" COMP;
20247          image: "ilist_item_shadow.png" COMP;
20248          image: "icon_arrow_right.png" COMP;
20249          image: "icon_arrow_down.png" COMP;
20250       }
20251       parts {
20252          part {
20253             name:           "event";
20254             type:           RECT;
20255             repeat_events: 1;
20256             description {
20257                state: "default" 0.0;
20258                color: 0 0 0 0;
20259             }
20260          }
20261          part {
20262             name: "base_sh";
20263             mouse_events: 0;
20264             description {
20265                state: "default" 0.0;
20266                align: 0.0 0.0;
20267                min: 0 10;
20268                fixed: 1 1;
20269                rel1 {
20270                   to: "base";
20271                   relative: 0.0 1.0;
20272                   offset: 0 0;
20273                }
20274                rel2 {
20275                   to: "base";
20276                   relative: 1.0 1.0;
20277                   offset: -1 0;
20278                }
20279                image {
20280                   normal: "ilist_item_shadow.png";
20281                }
20282                fill.smooth: 0;
20283             }
20284          }
20285          part {
20286             name: "base";
20287             mouse_events: 0;
20288             description {
20289                state: "default" 0.0;
20290                image {
20291                   normal: "ilist_1.png";
20292                   border: 2 2 2 2;
20293                }
20294                fill.smooth: 0;
20295             }
20296          }
20297          part { name: "bg";
20298             clip_to: "disclip";
20299             mouse_events: 0;
20300             description { state: "default" 0.0;
20301                visible: 0;
20302                color: 255 255 255 0;
20303                rel1 {
20304                   relative: 0.0 0.0;
20305                   offset: -5 -5;
20306                }
20307                rel2 {
20308                   relative: 1.0 1.0;
20309                   offset: 4 4;
20310                }
20311                image {
20312                   normal: "bt_sm_base1.png";
20313                   border: 6 6 6 6;
20314                }
20315                image.middle: SOLID;
20316             }
20317             description { state: "selected" 0.0;
20318                inherit: "default" 0.0;
20319                visible: 1;
20320                color: 255 255 255 255;
20321                rel1 {
20322                   relative: 0.0 0.0;
20323                   offset: -2 -2;
20324                }
20325                rel2 {
20326                   relative: 1.0 1.0;
20327                   offset: 1 1;
20328                }
20329             }
20330          }
20331          part { name: "elm.swallow.pad";
20332             type: SWALLOW;
20333             description { state: "default" 0.0;
20334                fixed: 1 0;
20335                align: 0.0 0.5;
20336                rel1 {
20337                   relative: 0.0  0.0;
20338                   offset:   4    4;
20339                }
20340                rel2 {
20341                   relative: 0.0  1.0;
20342                   offset:   4   -5;
20343                }
20344             }
20345          }
20346          part { name: "arrow";
20347             clip_to: "disclip";
20348             ignore_flags: ON_HOLD;
20349             description { state: "default" 0.0;
20350                fixed: 1 0;
20351                align: 0.0 0.5;
20352                aspect: 1.0 1.0;
20353                rel1 {
20354                   to_x: "elm.swallow.pad";
20355                   relative: 1.0  0.0;
20356                   offset:   -1    4;
20357                }
20358                rel2 {
20359                   to_x: "elm.swallow.pad";
20360                   relative: 1.0  1.0;
20361                   offset:   -1   -5;
20362                }
20363                image.normal: "icon_arrow_right.png";
20364             }
20365             description { state: "active" 0.0;
20366                inherit: "default" 0.0;
20367                image.normal: "icon_arrow_down.png";
20368             }
20369          }
20370          part { name: "elm.swallow.icon";
20371             clip_to: "disclip";
20372             type: SWALLOW;
20373             description { state: "default" 0.0;
20374                fixed: 1 0;
20375                align: 0.0 0.5;
20376                rel1 {
20377                   to_x: "arrow";
20378                   relative: 1.0  0.0;
20379                   offset:   4    4;
20380                }
20381                rel2 {
20382                   to_x: "arrow";
20383                   relative: 1.0  1.0;
20384                   offset:   4   -5;
20385                }
20386             }
20387          }
20388          part { name: "elm.swallow.end";
20389             clip_to: "disclip";
20390             type: SWALLOW;
20391             description { state: "default" 0.0;
20392                fixed: 1 0;
20393                align: 1.0 0.5;
20394                aspect: 1.0 1.0;
20395                aspect_preference: VERTICAL;
20396                rel1 {
20397                   relative: 1.0  0.0;
20398                   offset:   -5    4;
20399                }
20400                rel2 {
20401                   relative: 1.0  1.0;
20402                   offset:   -5   -5;
20403                }
20404             }
20405          }
20406          part { name: "elm.text";
20407             clip_to: "disclip";
20408             type:           TEXT;
20409             effect:         SOFT_SHADOW;
20410             mouse_events:   0;
20411             scale: 1;
20412             description {
20413                state: "default" 0.0;
20414 //               min: 16 16;
20415                rel1 {
20416                   to_x:     "elm.swallow.icon";
20417                   relative: 1.0  0.0;
20418                   offset:   0 4;
20419                }
20420                rel2 {
20421                   to_x:     "elm.swallow.end";
20422                   relative: 0.0  0.5;
20423                   offset:   -1 -5;
20424                }
20425                color: 0 0 0 255;
20426                color3: 0 0 0 0;
20427                text {
20428                   font: "Sans";
20429                   size: 10;
20430                   min: 1 1;
20431 //                  min: 0 1;
20432                   align: 0.0 0.5;
20433                   text_class: "list_item";
20434                }
20435             }
20436             description { state: "selected" 0.0;
20437                inherit: "default" 0.0;
20438                color: 224 224 224 255;
20439                color3: 0 0 0 64;
20440             }
20441          }
20442          part { name: "elm.text.sub";
20443             clip_to: "disclip";
20444             type:           TEXT;
20445             mouse_events:   0;
20446             scale: 1;
20447             description {
20448                state: "default" 0.0;
20449 //               min: 16 16;
20450                rel1 {
20451                   to_x:     "elm.swallow.icon";
20452                   relative: 1.0  0.5;
20453                   offset:   0 4;
20454                }
20455                rel2 {
20456                   to_x:     "elm.swallow.end";
20457                   relative: 0.0  1.0;
20458                   offset:   -1 -5;
20459                }
20460                color: 0 0 0 128;
20461                color3: 0 0 0 0;
20462                text {
20463                   font: "Sans";
20464                   size: 8;
20465                   min: 1 1;
20466 //                  min: 0 1;
20467                   align: 0.0 0.5;
20468                   text_class: "list_item";
20469                }
20470             }
20471             description { state: "selected" 0.0;
20472                inherit: "default" 0.0;
20473                color: 128 128 128 255;
20474                color3: 0 0 0 32;
20475             }
20476          }
20477          part { name: "fg1";
20478             clip_to: "disclip";
20479             mouse_events: 0;
20480             description { state: "default" 0.0;
20481                visible: 0;
20482                color: 255 255 255 0;
20483                rel1.to: "bg";
20484                rel2.relative: 1.0 0.5;
20485                rel2.to: "bg";
20486                image {
20487                   normal: "bt_sm_hilight.png";
20488                   border: 6 6 6 0;
20489                }
20490             }
20491             description { state: "selected" 0.0;
20492                inherit: "default" 0.0;
20493                visible: 1;
20494                color: 255 255 255 255;
20495             }
20496          }
20497          part { name: "fg2";
20498             clip_to: "disclip";
20499             mouse_events: 0;
20500             description { state: "default" 0.0;
20501                visible: 0;
20502                color: 255 255 255 0;
20503                rel1.to: "bg";
20504                rel2.to: "bg";
20505                image {
20506                   normal: "bt_sm_shine.png";
20507                   border: 6 6 6 0;
20508                }
20509             }
20510             description { state: "selected" 0.0;
20511                inherit: "default" 0.0;
20512                visible: 1;
20513                color: 255 255 255 255;
20514             }
20515          }
20516          part { name: "disclip";
20517             type: RECT;
20518             description { state: "default" 0.0;
20519                rel1.to: "bg";
20520                rel2.to: "bg";
20521             }
20522             description { state: "disabled" 0.0;
20523                inherit: "default" 0.0;
20524                color: 255 255 255 64;
20525             }
20526          }
20527       }
20528       programs {
20529          // signal: elm,state,%s,active
20530          //   a "check" item named %s went active
20531          // signal: elm,state,%s,passive
20532          //   a "check" item named %s went passive
20533          // default is passive
20534          program {
20535             name:    "go_active";
20536             signal:  "elm,state,selected";
20537             source:  "elm";
20538             action:  STATE_SET "selected" 0.0;
20539             target:  "bg";
20540             target:  "fg1";
20541             target:  "fg2";
20542             target:  "elm.text";
20543             target:  "elm.text.sub";
20544          }
20545          program {
20546             name:    "go_passive";
20547             signal:  "elm,state,unselected";
20548             source:  "elm";
20549             action:  STATE_SET "default" 0.0;
20550             target:  "bg";
20551             target:  "fg1";
20552             target:  "fg2";
20553             target:  "elm.text";
20554             target:  "elm.text.sub";
20555             transition: LINEAR 0.1;
20556          }
20557          program {
20558             name:    "go_disabled";
20559             signal:  "elm,state,disabled";
20560             source:  "elm";
20561             action:  STATE_SET "disabled" 0.0;
20562             target:  "disclip";
20563          }
20564          program {
20565             name:    "go_enabled";
20566             signal:  "elm,state,enabled";
20567             source:  "elm";
20568             action:  STATE_SET "default" 0.0;
20569             target:  "disclip";
20570          }
20571          program {
20572             name:    "expand";
20573             signal:  "mouse,up,1";
20574             source:  "arrow";
20575             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20576          }
20577          program {
20578             name:    "go_expanded";
20579             signal:  "elm,state,expanded";
20580             source:  "elm";
20581             action:  STATE_SET "active" 0.0;
20582             target:  "arrow";
20583          }
20584          program {
20585             name:    "go_contracted";
20586             signal:  "elm,state,contracted";
20587             source:  "elm";
20588             action:  STATE_SET "default" 0.0;
20589             target:  "arrow";
20590          }
20591       }
20592    }
20593    group { name: "elm/genlist/tree_compress/double_label/default";
20594       data.item: "stacking" "above";
20595       data.item: "selectraise" "on";
20596       data.item: "labels" "elm.text elm.text.sub";
20597       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20598       data.item: "treesize" "20";
20599 //      data.item: "states" "";
20600       images {
20601          image: "bt_sm_base1.png" COMP;
20602          image: "bt_sm_shine.png" COMP;
20603          image: "bt_sm_hilight.png" COMP;
20604          image: "ilist_1.png" COMP;
20605          image: "ilist_item_shadow.png" COMP;
20606          image: "icon_arrow_right.png" COMP;
20607          image: "icon_arrow_down.png" COMP;
20608       }
20609       parts {
20610          part {
20611             name:           "event";
20612             type:           RECT;
20613             repeat_events: 1;
20614             description {
20615                state: "default" 0.0;
20616                color: 0 0 0 0;
20617             }
20618          }
20619          part {
20620             name: "base_sh";
20621             mouse_events: 0;
20622             description {
20623                state: "default" 0.0;
20624                align: 0.0 0.0;
20625                min: 0 10;
20626                fixed: 1 1;
20627                rel1 {
20628                   to: "base";
20629                   relative: 0.0 1.0;
20630                   offset: 0 0;
20631                }
20632                rel2 {
20633                   to: "base";
20634                   relative: 1.0 1.0;
20635                   offset: -1 0;
20636                }
20637                image {
20638                   normal: "ilist_item_shadow.png";
20639                }
20640                fill.smooth: 0;
20641             }
20642          }
20643          part {
20644             name: "base";
20645             mouse_events: 0;
20646             description {
20647                state: "default" 0.0;
20648                image {
20649                   normal: "ilist_1.png";
20650                   border: 2 2 2 2;
20651                }
20652                fill.smooth: 0;
20653             }
20654          }
20655          part { name: "bg";
20656             clip_to: "disclip";
20657             mouse_events: 0;
20658             description { state: "default" 0.0;
20659                visible: 0;
20660                color: 255 255 255 0;
20661                rel1 {
20662                   relative: 0.0 0.0;
20663                   offset: -5 -5;
20664                }
20665                rel2 {
20666                   relative: 1.0 1.0;
20667                   offset: 4 4;
20668                }
20669                image {
20670                   normal: "bt_sm_base1.png";
20671                   border: 6 6 6 6;
20672                }
20673                image.middle: SOLID;
20674             }
20675             description { state: "selected" 0.0;
20676                inherit: "default" 0.0;
20677                visible: 1;
20678                color: 255 255 255 255;
20679                rel1 {
20680                   relative: 0.0 0.0;
20681                   offset: -2 -2;
20682                }
20683                rel2 {
20684                   relative: 1.0 1.0;
20685                   offset: 1 1;
20686                }
20687             }
20688          }
20689          part { name: "elm.swallow.pad";
20690             type: SWALLOW;
20691             description { state: "default" 0.0;
20692                fixed: 1 0;
20693                align: 0.0 0.5;
20694                rel1 {
20695                   relative: 0.0  0.0;
20696                   offset:   4    4;
20697                }
20698                rel2 {
20699                   relative: 0.0  1.0;
20700                   offset:   4   -5;
20701                }
20702             }
20703          }
20704          part { name: "arrow";
20705             clip_to: "disclip";
20706             ignore_flags: ON_HOLD;
20707             description { state: "default" 0.0;
20708                fixed: 1 0;
20709                align: 0.0 0.5;
20710                aspect: 1.0 1.0;
20711                rel1 {
20712                   to_x: "elm.swallow.pad";
20713                   relative: 1.0  0.0;
20714                   offset:   -1    4;
20715                }
20716                rel2 {
20717                   to_x: "elm.swallow.pad";
20718                   relative: 1.0  1.0;
20719                   offset:   -1   -5;
20720                }
20721                image.normal: "icon_arrow_right.png";
20722             }
20723             description { state: "active" 0.0;
20724                inherit: "default" 0.0;
20725                image.normal: "icon_arrow_down.png";
20726             }
20727          }
20728          part { name: "elm.swallow.icon";
20729             clip_to: "disclip";
20730             type: SWALLOW;
20731             description { state: "default" 0.0;
20732                fixed: 1 0;
20733                align: 0.0 0.5;
20734                rel1 {
20735                   to_x: "arrow";
20736                   relative: 1.0  0.0;
20737                   offset:   4    4;
20738                }
20739                rel2 {
20740                   to_x: "arrow";
20741                   relative: 1.0  1.0;
20742                   offset:   4   -5;
20743                }
20744             }
20745          }
20746          part { name: "elm.swallow.end";
20747             clip_to: "disclip";
20748             type: SWALLOW;
20749             description { state: "default" 0.0;
20750                fixed: 1 0;
20751                align: 1.0 0.5;
20752                aspect: 1.0 1.0;
20753                aspect_preference: VERTICAL;
20754                rel1 {
20755                   relative: 1.0  0.0;
20756                   offset:   -5    4;
20757                }
20758                rel2 {
20759                   relative: 1.0  1.0;
20760                   offset:   -5   -5;
20761                }
20762             }
20763          }
20764          part { name: "elm.text";
20765             clip_to: "disclip";
20766             type:           TEXT;
20767             effect:         SOFT_SHADOW;
20768             mouse_events:   0;
20769             scale: 1;
20770             description {
20771                state: "default" 0.0;
20772 //               min: 16 16;
20773                rel1 {
20774                   to_x:     "elm.swallow.icon";
20775                   relative: 1.0  0.0;
20776                   offset:   0 4;
20777                }
20778                rel2 {
20779                   to_x:     "elm.swallow.end";
20780                   relative: 0.0  0.5;
20781                   offset:   -1 -5;
20782                }
20783                color: 0 0 0 255;
20784                color3: 0 0 0 0;
20785                text {
20786                   font: "Sans";
20787                   size: 10;
20788 //                  min: 1 1;
20789                   min: 0 1;
20790                   align: 0.0 0.5;
20791                   text_class: "list_item";
20792                }
20793             }
20794             description { state: "selected" 0.0;
20795                inherit: "default" 0.0;
20796                color: 224 224 224 255;
20797                color3: 0 0 0 64;
20798             }
20799          }
20800          part { name: "elm.text.sub";
20801             clip_to: "disclip";
20802             type:           TEXT;
20803             mouse_events:   0;
20804             scale: 1;
20805             description {
20806                state: "default" 0.0;
20807 //               min: 16 16;
20808                rel1 {
20809                   to_x:     "elm.swallow.icon";
20810                   relative: 1.0  0.5;
20811                   offset:   0 4;
20812                }
20813                rel2 {
20814                   to_x:     "elm.swallow.end";
20815                   relative: 0.0  1.0;
20816                   offset:   -1 -5;
20817                }
20818                color: 0 0 0 128;
20819                color3: 0 0 0 0;
20820                text {
20821                   font: "Sans";
20822                   size: 8;
20823 //                  min: 1 1;
20824                   min: 0 1;
20825                   align: 0.0 0.5;
20826                   text_class: "list_item";
20827                }
20828             }
20829             description { state: "selected" 0.0;
20830                inherit: "default" 0.0;
20831                color: 128 128 128 255;
20832                color3: 0 0 0 32;
20833             }
20834          }
20835          part { name: "fg1";
20836             clip_to: "disclip";
20837             mouse_events: 0;
20838             description { state: "default" 0.0;
20839                visible: 0;
20840                color: 255 255 255 0;
20841                rel1.to: "bg";
20842                rel2.relative: 1.0 0.5;
20843                rel2.to: "bg";
20844                image {
20845                   normal: "bt_sm_hilight.png";
20846                   border: 6 6 6 0;
20847                }
20848             }
20849             description { state: "selected" 0.0;
20850                inherit: "default" 0.0;
20851                visible: 1;
20852                color: 255 255 255 255;
20853             }
20854          }
20855          part { name: "fg2";
20856             clip_to: "disclip";
20857             mouse_events: 0;
20858             description { state: "default" 0.0;
20859                visible: 0;
20860                color: 255 255 255 0;
20861                rel1.to: "bg";
20862                rel2.to: "bg";
20863                image {
20864                   normal: "bt_sm_shine.png";
20865                   border: 6 6 6 0;
20866                }
20867             }
20868             description { state: "selected" 0.0;
20869                inherit: "default" 0.0;
20870                visible: 1;
20871                color: 255 255 255 255;
20872             }
20873          }
20874          part { name: "disclip";
20875             type: RECT;
20876             description { state: "default" 0.0;
20877                rel1.to: "bg";
20878                rel2.to: "bg";
20879             }
20880             description { state: "disabled" 0.0;
20881                inherit: "default" 0.0;
20882                color: 255 255 255 64;
20883             }
20884          }
20885       }
20886       programs {
20887          // signal: elm,state,%s,active
20888          //   a "check" item named %s went active
20889          // signal: elm,state,%s,passive
20890          //   a "check" item named %s went passive
20891          // default is passive
20892          program {
20893             name:    "go_active";
20894             signal:  "elm,state,selected";
20895             source:  "elm";
20896             action:  STATE_SET "selected" 0.0;
20897             target:  "bg";
20898             target:  "fg1";
20899             target:  "fg2";
20900             target:  "elm.text";
20901             target:  "elm.text.sub";
20902          }
20903          program {
20904             name:    "go_passive";
20905             signal:  "elm,state,unselected";
20906             source:  "elm";
20907             action:  STATE_SET "default" 0.0;
20908             target:  "bg";
20909             target:  "fg1";
20910             target:  "fg2";
20911             target:  "elm.text";
20912             target:  "elm.text.sub";
20913             transition: LINEAR 0.1;
20914          }
20915          program {
20916             name:    "go_disabled";
20917             signal:  "elm,state,disabled";
20918             source:  "elm";
20919             action:  STATE_SET "disabled" 0.0;
20920             target:  "disclip";
20921          }
20922          program {
20923             name:    "go_enabled";
20924             signal:  "elm,state,enabled";
20925             source:  "elm";
20926             action:  STATE_SET "default" 0.0;
20927             target:  "disclip";
20928          }
20929          program {
20930             name:    "expand";
20931             signal:  "mouse,up,1";
20932             source:  "arrow";
20933             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20934          }
20935          program {
20936             name:    "go_expanded";
20937             signal:  "elm,state,expanded";
20938             source:  "elm";
20939             action:  STATE_SET "active" 0.0;
20940             target:  "arrow";
20941          }
20942          program {
20943             name:    "go_contracted";
20944             signal:  "elm,state,contracted";
20945             source:  "elm";
20946             action:  STATE_SET "default" 0.0;
20947             target:  "arrow";
20948          }
20949       }
20950    }
20951    group { name: "elm/genlist/tree_odd/double_label/default";
20952       data.item: "stacking" "below";
20953       data.item: "selectraise" "on";
20954       data.item: "labels" "elm.text elm.text.sub";
20955       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20956       data.item: "treesize" "20";
20957 //      data.item: "states" "";
20958       images {
20959          image: "bt_sm_base1.png" COMP;
20960          image: "bt_sm_shine.png" COMP;
20961          image: "bt_sm_hilight.png" COMP;
20962          image: "ilist_2.png" COMP;
20963          image: "icon_arrow_right.png" COMP;
20964          image: "icon_arrow_down.png" COMP;
20965       }
20966       parts {
20967          part {
20968             name:           "event";
20969             type:           RECT;
20970             repeat_events: 1;
20971             description {
20972                state: "default" 0.0;
20973                color: 0 0 0 0;
20974             }
20975          }
20976          part {
20977             name: "base";
20978             mouse_events: 0;
20979             description {
20980                state: "default" 0.0;
20981                image {
20982                   normal: "ilist_2.png";
20983                   border: 2 2 2 2;
20984                }
20985                fill.smooth: 0;
20986             }
20987          }
20988          part { name: "bg";
20989             clip_to: "disclip";
20990             mouse_events: 0;
20991             description { state: "default" 0.0;
20992                visible: 0;
20993                color: 255 255 255 0;
20994                rel1 {
20995                   relative: 0.0 0.0;
20996                   offset: -5 -5;
20997                }
20998                rel2 {
20999                   relative: 1.0 1.0;
21000                   offset: 4 4;
21001                }
21002                image {
21003                   normal: "bt_sm_base1.png";
21004                   border: 6 6 6 6;
21005                }
21006                image.middle: SOLID;
21007             }
21008             description { state: "selected" 0.0;
21009                inherit: "default" 0.0;
21010                visible: 1;
21011                color: 255 255 255 255;
21012                rel1 {
21013                   relative: 0.0 0.0;
21014                   offset: -2 -2;
21015                }
21016                rel2 {
21017                   relative: 1.0 1.0;
21018                   offset: 1 1;
21019                }
21020             }
21021          }
21022          part { name: "elm.swallow.pad";
21023             type: SWALLOW;
21024             description { state: "default" 0.0;
21025                fixed: 1 0;
21026                align: 0.0 0.5;
21027                rel1 {
21028                   relative: 0.0  0.0;
21029                   offset:   4    4;
21030                }
21031                rel2 {
21032                   relative: 0.0  1.0;
21033                   offset:   4   -5;
21034                }
21035             }
21036          }
21037          part { name: "arrow";
21038             clip_to: "disclip";
21039             ignore_flags: ON_HOLD;
21040             description { state: "default" 0.0;
21041                fixed: 1 0;
21042                align: 0.0 0.5;
21043                aspect: 1.0 1.0;
21044                rel1 {
21045                   to_x: "elm.swallow.pad";
21046                   relative: 1.0  0.0;
21047                   offset:   -1    4;
21048                }
21049                rel2 {
21050                   to_x: "elm.swallow.pad";
21051                   relative: 1.0  1.0;
21052                   offset:   -1   -5;
21053                }
21054                image.normal: "icon_arrow_right.png";
21055             }
21056             description { state: "active" 0.0;
21057                inherit: "default" 0.0;
21058                image.normal: "icon_arrow_down.png";
21059             }
21060          }
21061          part { name: "elm.swallow.icon";
21062             clip_to: "disclip";
21063             type: SWALLOW;
21064             description { state: "default" 0.0;
21065                fixed: 1 0;
21066                align: 0.0 0.5;
21067                rel1 {
21068                   to_x: "arrow";
21069                   relative: 1.0  0.0;
21070                   offset:   4    4;
21071                }
21072                rel2 {
21073                   to_x: "arrow";
21074                   relative: 1.0  1.0;
21075                   offset:   4   -5;
21076                }
21077             }
21078          }
21079          part { name: "elm.swallow.end";
21080             clip_to: "disclip";
21081             type: SWALLOW;
21082             description { state: "default" 0.0;
21083                fixed: 1 0;
21084                align: 1.0 0.5;
21085                aspect: 1.0 1.0;
21086                aspect_preference: VERTICAL;
21087                rel1 {
21088                   relative: 1.0  0.0;
21089                   offset:   -5    4;
21090                }
21091                rel2 {
21092                   relative: 1.0  1.0;
21093                   offset:   -5   -5;
21094                }
21095             }
21096          }
21097          part { name: "elm.text";
21098             clip_to: "disclip";
21099             type:           TEXT;
21100             effect:         SOFT_SHADOW;
21101             mouse_events:   0;
21102             scale: 1;
21103             description {
21104                state: "default" 0.0;
21105 //               min: 16 16;
21106                rel1 {
21107                   to_x:     "elm.swallow.icon";
21108                   relative: 1.0  0.0;
21109                   offset:   0 4;
21110                }
21111                rel2 {
21112                   to_x:     "elm.swallow.end";
21113                   relative: 0.0  0.5;
21114                   offset:   -1 -5;
21115                }
21116                color: 0 0 0 255;
21117                color3: 0 0 0 0;
21118                text {
21119                   font: "Sans";
21120                   size: 10;
21121                   min: 1 1;
21122 //                  min: 0 1;
21123                   align: 0.0 0.5;
21124                   text_class: "list_item";
21125                }
21126             }
21127             description { state: "selected" 0.0;
21128                inherit: "default" 0.0;
21129                color: 224 224 224 255;
21130                color3: 0 0 0 64;
21131             }
21132          }
21133          part { name: "elm.text.sub";
21134             clip_to: "disclip";
21135             type:           TEXT;
21136             mouse_events:   0;
21137             scale: 1;
21138             description {
21139                state: "default" 0.0;
21140 //               min: 16 16;
21141                rel1 {
21142                   to_x:     "elm.swallow.icon";
21143                   relative: 1.0  0.5;
21144                   offset:   0 4;
21145                }
21146                rel2 {
21147                   to_x:     "elm.swallow.end";
21148                   relative: 0.0  1.0;
21149                   offset:   -1 -5;
21150                }
21151                color: 0 0 0 128;
21152                color3: 0 0 0 0;
21153                text {
21154                   font: "Sans";
21155                   size: 8;
21156                   min: 1 1;
21157 //                  min: 0 1;
21158                   align: 0.0 0.5;
21159                   text_class: "list_item";
21160                }
21161             }
21162             description { state: "selected" 0.0;
21163                inherit: "default" 0.0;
21164                color: 128 128 128 255;
21165                color3: 0 0 0 32;
21166             }
21167          }
21168          part { name: "fg1";
21169             clip_to: "disclip";
21170             mouse_events: 0;
21171             description { state: "default" 0.0;
21172                visible: 0;
21173                color: 255 255 255 0;
21174                rel1.to: "bg";
21175                rel2.relative: 1.0 0.5;
21176                rel2.to: "bg";
21177                image {
21178                   normal: "bt_sm_hilight.png";
21179                   border: 6 6 6 0;
21180                }
21181             }
21182             description { state: "selected" 0.0;
21183                inherit: "default" 0.0;
21184                visible: 1;
21185                color: 255 255 255 255;
21186             }
21187          }
21188          part { name: "fg2";
21189             clip_to: "disclip";
21190             mouse_events: 0;
21191             description { state: "default" 0.0;
21192                visible: 0;
21193                color: 255 255 255 0;
21194                rel1.to: "bg";
21195                rel2.to: "bg";
21196                image {
21197                   normal: "bt_sm_shine.png";
21198                   border: 6 6 6 0;
21199                }
21200             }
21201             description { state: "selected" 0.0;
21202                inherit: "default" 0.0;
21203                visible: 1;
21204                color: 255 255 255 255;
21205             }
21206          }
21207          part { name: "disclip";
21208             type: RECT;
21209             description { state: "default" 0.0;
21210                rel1.to: "bg";
21211                rel2.to: "bg";
21212             }
21213             description { state: "disabled" 0.0;
21214                inherit: "default" 0.0;
21215                color: 255 255 255 64;
21216             }
21217          }
21218       }
21219       programs {
21220          // signal: elm,state,%s,active
21221          //   a "check" item named %s went active
21222          // signal: elm,state,%s,passive
21223          //   a "check" item named %s went passive
21224          // default is passive
21225          program {
21226             name:    "go_active";
21227             signal:  "elm,state,selected";
21228             source:  "elm";
21229             action:  STATE_SET "selected" 0.0;
21230             target:  "bg";
21231             target:  "fg1";
21232             target:  "fg2";
21233             target:  "elm.text";
21234             target:  "elm.text.sub";
21235          }
21236          program {
21237             name:    "go_passive";
21238             signal:  "elm,state,unselected";
21239             source:  "elm";
21240             action:  STATE_SET "default" 0.0;
21241             target:  "bg";
21242             target:  "fg1";
21243             target:  "fg2";
21244             target:  "elm.text";
21245             target:  "elm.text.sub";
21246             transition: LINEAR 0.1;
21247          }
21248          program {
21249             name:    "go_disabled";
21250             signal:  "elm,state,disabled";
21251             source:  "elm";
21252             action:  STATE_SET "disabled" 0.0;
21253             target:  "disclip";
21254          }
21255          program {
21256             name:    "go_enabled";
21257             signal:  "elm,state,enabled";
21258             source:  "elm";
21259             action:  STATE_SET "default" 0.0;
21260             target:  "disclip";
21261          }
21262          program {
21263             name:    "expand";
21264             signal:  "mouse,up,1";
21265             source:  "arrow";
21266             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21267          }
21268          program {
21269             name:    "go_expanded";
21270             signal:  "elm,state,expanded";
21271             source:  "elm";
21272             action:  STATE_SET "active" 0.0;
21273             target:  "arrow";
21274          }
21275          program {
21276             name:    "go_contracted";
21277             signal:  "elm,state,contracted";
21278             source:  "elm";
21279             action:  STATE_SET "default" 0.0;
21280             target:  "arrow";
21281          }
21282       }
21283    }
21284
21285    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21286       data.item: "stacking" "above";
21287       data.item: "selectraise" "on";
21288       data.item: "labels" "elm.text";
21289       data.item: "icons" "elm.swallow.icon";
21290       data.item: "treesize" "20";
21291 //      data.item: "states" "";
21292       images {
21293          image: "bt_sm_base1.png" COMP;
21294          image: "bt_sm_shine.png" COMP;
21295          image: "bt_sm_hilight.png" COMP;
21296          image: "ilist_1.png" COMP;
21297          image: "ilist_item_shadow.png" COMP;
21298       }
21299       parts {
21300          part {
21301             name:           "event";
21302             type:           RECT;
21303             repeat_events: 1;
21304             description {
21305                state: "default" 0.0;
21306                color: 0 0 0 0;
21307             }
21308          }
21309          part {
21310             name: "base_sh";
21311             mouse_events: 0;
21312             description {
21313                state: "default" 0.0;
21314                align: 0.0 0.0;
21315                min: 0 10;
21316                fixed: 1 1;
21317                rel1 {
21318                   to: "base";
21319                   relative: 0.0 1.0;
21320                   offset: 0 0;
21321                }
21322                rel2 {
21323                   to: "base";
21324                   relative: 1.0 1.0;
21325                   offset: -1 0;
21326                }
21327                image {
21328                   normal: "ilist_item_shadow.png";
21329                }
21330                fill.smooth: 0;
21331             }
21332          }
21333          part {
21334             name: "base";
21335             mouse_events: 0;
21336             description {
21337                state: "default" 0.0;
21338                image {
21339                   normal: "ilist_1.png";
21340                   border: 2 2 2 2;
21341                }
21342                fill.smooth: 0;
21343             }
21344          }
21345          part { name: "bg";
21346             clip_to: "disclip";
21347             mouse_events: 0;
21348             description { state: "default" 0.0;
21349                visible: 0;
21350                color: 255 255 255 0;
21351                rel1 {
21352                   relative: 0.0 0.0;
21353                   offset: -5 -5;
21354                }
21355                rel2 {
21356                   relative: 1.0 1.0;
21357                   offset: 4 4;
21358                }
21359                image {
21360                   normal: "bt_sm_base1.png";
21361                   border: 6 6 6 6;
21362                }
21363                image.middle: SOLID;
21364             }
21365             description { state: "selected" 0.0;
21366                inherit: "default" 0.0;
21367                visible: 1;
21368                color: 255 255 255 255;
21369                rel1 {
21370                   relative: 0.0 0.0;
21371                   offset: -2 -2;
21372                }
21373                rel2 {
21374                   relative: 1.0 1.0;
21375                   offset: 1 1;
21376                }
21377             }
21378          }
21379          part { name: "elm.swallow.pad";
21380             type: SWALLOW;
21381             description { state: "default" 0.0;
21382                fixed: 1 0;
21383                align: 0.0 0.5;
21384                rel1 {
21385                   relative: 0.0  0.0;
21386                   offset:   4    4;
21387                }
21388                rel2 {
21389                   relative: 1.0  1.0;
21390                   offset:   -4   -5;
21391                }
21392             }
21393          }
21394          part { name: "elm.swallow.icon";
21395             clip_to: "disclip";
21396             type: SWALLOW;
21397             description { state: "default" 0.0;
21398                fixed: 1 0;
21399                align: 0.5 0.5;
21400                rel1 {
21401                   to_x: "elm.swallow.pad";
21402                   relative: 0.0  0.0;
21403                   offset:   -1    4;
21404                }
21405                rel2 {
21406                   to_x: "elm.swallow.pad";
21407                   relative: 1.0  1.0;
21408                   offset:   -1   -5;
21409                }
21410             }
21411          }
21412          part { name: "elm.text";
21413             clip_to: "disclip";
21414             type:           TEXT;
21415             effect:         SOFT_SHADOW;
21416             mouse_events:   0;
21417             scale: 1;
21418             description {
21419                state: "default" 0.0;
21420 //               min: 16 16;
21421                rel1 {
21422                   to_y:     "elm.swallow.icon";
21423                   relative: 0.0  1.0;
21424                   offset:   0 4;
21425                }
21426                rel2 {
21427                   relative: 1.0  1.0;
21428                   offset:   -5 -5;
21429                }
21430                color: 0 0 0 255;
21431                color3: 0 0 0 0;
21432                text {
21433                   font: "Sans";
21434                   size: 10;
21435                   min: 1 1;
21436 //                  min: 0 1;
21437                   align: 0.5 0.5;
21438                   text_class: "list_item";
21439                }
21440             }
21441             description { state: "selected" 0.0;
21442                inherit: "default" 0.0;
21443                color: 224 224 224 255;
21444                color3: 0 0 0 64;
21445             }
21446          }
21447          part { name: "fg1";
21448             clip_to: "disclip";
21449             mouse_events: 0;
21450             description { state: "default" 0.0;
21451                visible: 0;
21452                color: 255 255 255 0;
21453                rel1.to: "bg";
21454                rel2.relative: 1.0 0.5;
21455                rel2.to: "bg";
21456                image {
21457                   normal: "bt_sm_hilight.png";
21458                   border: 6 6 6 0;
21459                }
21460             }
21461             description { state: "selected" 0.0;
21462                inherit: "default" 0.0;
21463                visible: 1;
21464                color: 255 255 255 255;
21465             }
21466          }
21467          part { name: "fg2";
21468             clip_to: "disclip";
21469             mouse_events: 0;
21470             description { state: "default" 0.0;
21471                visible: 0;
21472                color: 255 255 255 0;
21473                rel1.to: "bg";
21474                rel2.to: "bg";
21475                image {
21476                   normal: "bt_sm_shine.png";
21477                   border: 6 6 6 0;
21478                }
21479             }
21480             description { state: "selected" 0.0;
21481                inherit: "default" 0.0;
21482                visible: 1;
21483                color: 255 255 255 255;
21484             }
21485          }
21486          part { name: "disclip";
21487             type: RECT;
21488             description { state: "default" 0.0;
21489                rel1.to: "bg";
21490                rel2.to: "bg";
21491             }
21492             description { state: "disabled" 0.0;
21493                inherit: "default" 0.0;
21494                color: 255 255 255 64;
21495             }
21496          }
21497       }
21498       programs {
21499          // signal: elm,state,%s,active
21500          //   a "check" item named %s went active
21501          // signal: elm,state,%s,passive
21502          //   a "check" item named %s went passive
21503          // default is passive
21504          program {
21505             name:    "go_active";
21506             signal:  "elm,state,selected";
21507             source:  "elm";
21508             action:  STATE_SET "selected" 0.0;
21509             target:  "bg";
21510             target:  "fg1";
21511             target:  "fg2";
21512             target:  "elm.text";
21513          }
21514          program {
21515             name:    "go_passive";
21516             signal:  "elm,state,unselected";
21517             source:  "elm";
21518             action:  STATE_SET "default" 0.0;
21519             target:  "bg";
21520             target:  "fg1";
21521             target:  "fg2";
21522             target:  "elm.text";
21523             transition: LINEAR 0.1;
21524          }
21525          program {
21526             name:    "go_disabled";
21527             signal:  "elm,state,disabled";
21528             source:  "elm";
21529             action:  STATE_SET "disabled" 0.0;
21530             target:  "disclip";
21531          }
21532          program {
21533             name:    "go_enabled";
21534             signal:  "elm,state,enabled";
21535             source:  "elm";
21536             action:  STATE_SET "default" 0.0;
21537             target:  "disclip";
21538          }
21539       }
21540    }
21541    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21542       data.item: "stacking" "below";
21543       data.item: "selectraise" "on";
21544       data.item: "labels" "elm.text";
21545       data.item: "icons" "elm.swallow.icon";
21546       data.item: "treesize" "20";
21547 //      data.item: "states" "";
21548       images {
21549          image: "bt_sm_base1.png" COMP;
21550          image: "bt_sm_shine.png" COMP;
21551          image: "bt_sm_hilight.png" COMP;
21552          image: "ilist_2.png" COMP;
21553       }
21554       parts {
21555          part { name: "event";
21556             type: RECT;
21557             repeat_events: 1;
21558             description {
21559                state: "default" 0.0;
21560                color: 0 0 0 0;
21561             }
21562          }
21563          part {
21564             name: "base";
21565             mouse_events: 0;
21566             description {
21567                state: "default" 0.0;
21568                image {
21569                   normal: "ilist_2.png";
21570                   border: 2 2 2 2;
21571                }
21572                fill.smooth: 0;
21573             }
21574          }
21575          part { name: "bg";
21576             clip_to: "disclip";
21577             mouse_events: 0;
21578             description { state: "default" 0.0;
21579                visible: 0;
21580                color: 255 255 255 0;
21581                rel1 {
21582                   relative: 0.0 0.0;
21583                   offset: -5 -5;
21584                }
21585                rel2 {
21586                   relative: 1.0 1.0;
21587                   offset: 4 4;
21588                }
21589                image {
21590                   normal: "bt_sm_base1.png";
21591                   border: 6 6 6 6;
21592                }
21593                image.middle: SOLID;
21594             }
21595             description { state: "selected" 0.0;
21596                inherit: "default" 0.0;
21597                visible: 1;
21598                color: 255 255 255 255;
21599                rel1 {
21600                   relative: 0.0 0.0;
21601                   offset: -2 -2;
21602                }
21603                rel2 {
21604                   relative: 1.0 1.0;
21605                   offset: 1 1;
21606                }
21607             }
21608          }
21609          part { name: "elm.swallow.pad";
21610             type: SWALLOW;
21611             description { state: "default" 0.0;
21612                fixed: 1 0;
21613                align: 0.0 0.5;
21614                rel1 {
21615                   relative: 0.0  0.0;
21616                   offset:   4    4;
21617                }
21618                rel2 {
21619                   relative: 1.0  1.0;
21620                   offset:   -4   -5;
21621                }
21622             }
21623          }
21624          part { name: "elm.swallow.icon";
21625             clip_to: "disclip";
21626             type: SWALLOW;
21627             description { state: "default" 0.0;
21628                fixed: 1 0;
21629                align: 0.5 0.5;
21630                rel1 {
21631                   to_x: "elm.swallow.pad";
21632                   relative: 0.0  0.0;
21633                   offset:   -1    4;
21634                }
21635                rel2 {
21636                   to_x: "elm.swallow.pad";
21637                   relative: 1.0  1.0;
21638                   offset:   -1   -5;
21639                }
21640             }
21641          }
21642          part { name: "elm.text";
21643             clip_to: "disclip";
21644             type:           TEXT;
21645             effect:         SOFT_SHADOW;
21646             mouse_events:   0;
21647             scale: 1;
21648             description {
21649                state: "default" 0.0;
21650 //               min:      16 16;
21651                rel1 {
21652                   to_y:     "elm.swallow.icon";
21653                   relative: 0.0  1.0;
21654                   offset:   0 4;
21655                }
21656                rel2 {
21657                   relative: 1.0  1.0;
21658                   offset:   -5 -5;
21659                }
21660                color: 0 0 0 255;
21661                color3: 0 0 0 0;
21662                text {
21663                   font: "Sans";
21664                   size: 10;
21665                   min: 1 1;
21666 //                  min: 0 1;
21667                   align: 0.5 0.5;
21668                   text_class: "list_item";
21669                }
21670             }
21671             description { state: "selected" 0.0;
21672                inherit: "default" 0.0;
21673                color: 224 224 224 255;
21674                color3: 0 0 0 64;
21675             }
21676          }
21677          part { name: "fg1";
21678             clip_to: "disclip";
21679             mouse_events: 0;
21680             description { state: "default" 0.0;
21681                visible: 0;
21682                color: 255 255 255 0;
21683                rel1.to: "bg";
21684                rel2.relative: 1.0 0.5;
21685                rel2.to: "bg";
21686                image {
21687                   normal: "bt_sm_hilight.png";
21688                   border: 6 6 6 0;
21689                }
21690             }
21691             description { state: "selected" 0.0;
21692                inherit: "default" 0.0;
21693                visible: 1;
21694                color: 255 255 255 255;
21695             }
21696          }
21697          part { name: "fg2";
21698             clip_to: "disclip";
21699             mouse_events: 0;
21700             description { state: "default" 0.0;
21701                visible: 0;
21702                color: 255 255 255 0;
21703                rel1.to: "bg";
21704                rel2.to: "bg";
21705                image {
21706                   normal: "bt_sm_shine.png";
21707                   border: 6 6 6 0;
21708                }
21709             }
21710             description { state: "selected" 0.0;
21711                inherit: "default" 0.0;
21712                visible: 1;
21713                color: 255 255 255 255;
21714             }
21715          }
21716          part { name: "disclip";
21717             type: RECT;
21718             description { state: "default" 0.0;
21719                rel1.to: "bg";
21720                rel2.to: "bg";
21721             }
21722             description { state: "disabled" 0.0;
21723                inherit: "default" 0.0;
21724                color: 255 255 255 64;
21725             }
21726          }
21727       }
21728       programs {
21729          // signal: elm,state,%s,active
21730          //   a "check" item named %s went active
21731          // signal: elm,state,%s,passive
21732          //   a "check" item named %s went passive
21733          // default is passive
21734          program {
21735             name:    "go_active";
21736             signal:  "elm,state,selected";
21737             source:  "elm";
21738             action:  STATE_SET "selected" 0.0;
21739             target:  "bg";
21740             target:  "fg1";
21741             target:  "fg2";
21742             target:  "elm.text";
21743          }
21744          program {
21745             name:    "go_passive";
21746             signal:  "elm,state,unselected";
21747             source:  "elm";
21748             action:  STATE_SET "default" 0.0;
21749             target:  "bg";
21750             target:  "fg1";
21751             target:  "fg2";
21752             target:  "elm.text";
21753             transition: LINEAR 0.1;
21754          }
21755          program {
21756             name:    "go_disabled";
21757             signal:  "elm,state,disabled";
21758             source:  "elm";
21759             action:  STATE_SET "disabled" 0.0;
21760             target:  "disclip";
21761          }
21762          program {
21763             name:    "go_enabled";
21764             signal:  "elm,state,enabled";
21765             source:  "elm";
21766             action:  STATE_SET "default" 0.0;
21767             target:  "disclip";
21768          }
21769       }
21770    }
21771
21772    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21773       data.item: "stacking" "above";
21774       data.item: "selectraise" "on";
21775       data.item: "labels" "elm.text";
21776       data.item: "icons" "elm.swallow.icon";
21777       data.item: "treesize" "20";
21778 //      data.item: "states" "";
21779       images {
21780          image: "bt_sm_base1.png" COMP;
21781          image: "bt_sm_shine.png" COMP;
21782          image: "bt_sm_hilight.png" COMP;
21783          image: "ilist_1.png" COMP;
21784          image: "ilist_item_shadow.png" COMP;
21785          image: "icon_arrow_right.png" COMP;
21786          image: "icon_arrow_down.png" COMP;
21787       }
21788       parts {
21789          part {
21790             name:           "event";
21791             type:           RECT;
21792             repeat_events: 1;
21793             description {
21794                state: "default" 0.0;
21795                color: 0 0 0 0;
21796             }
21797          }
21798          part {
21799             name: "base_sh";
21800             mouse_events: 0;
21801             description {
21802                state: "default" 0.0;
21803                align: 0.0 0.0;
21804                min: 0 10;
21805                fixed: 1 1;
21806                rel1 {
21807                   to: "base";
21808                   relative: 0.0 1.0;
21809                   offset: 0 0;
21810                }
21811                rel2 {
21812                   to: "base";
21813                   relative: 1.0 1.0;
21814                   offset: -1 0;
21815                }
21816                image {
21817                   normal: "ilist_item_shadow.png";
21818                }
21819                fill.smooth: 0;
21820             }
21821          }
21822          part {
21823             name: "base";
21824             mouse_events: 0;
21825             description {
21826                state: "default" 0.0;
21827                image {
21828                   normal: "ilist_1.png";
21829                   border: 2 2 2 2;
21830                }
21831                fill.smooth: 0;
21832             }
21833          }
21834          part { name: "bg";
21835             clip_to: "disclip";
21836             mouse_events: 0;
21837             description { state: "default" 0.0;
21838                visible: 0;
21839                color: 255 255 255 0;
21840                rel1 {
21841                   relative: 0.0 0.0;
21842                   offset: -5 -5;
21843                }
21844                rel2 {
21845                   relative: 1.0 1.0;
21846                   offset: 4 4;
21847                }
21848                image {
21849                   normal: "bt_sm_base1.png";
21850                   border: 6 6 6 6;
21851                }
21852                image.middle: SOLID;
21853             }
21854             description { state: "selected" 0.0;
21855                inherit: "default" 0.0;
21856                visible: 1;
21857                color: 255 255 255 255;
21858                rel1 {
21859                   relative: 0.0 0.0;
21860                   offset: -2 -2;
21861                }
21862                rel2 {
21863                   relative: 1.0 1.0;
21864                   offset: 1 1;
21865                }
21866             }
21867          }
21868          part { name: "elm.swallow.pad";
21869             type: SWALLOW;
21870             description { state: "default" 0.0;
21871                fixed: 1 0;
21872                align: 0.0 0.5;
21873                rel1 {
21874                   relative: 0.0  0.0;
21875                   offset:   4    4;
21876                }
21877                rel2 {
21878                   relative: 0.0  1.0;
21879                   offset:   4   -5;
21880                }
21881             }
21882          }
21883          part { name: "arrow";
21884             clip_to: "disclip";
21885             ignore_flags: ON_HOLD;
21886             description { state: "default" 0.0;
21887                fixed: 1 0;
21888                align: 0.0 0.5;
21889                aspect: 1.0 1.0;
21890                rel1 {
21891                   to_x: "elm.swallow.pad";
21892                   relative: 1.0  0.0;
21893                   offset:   -1    4;
21894                }
21895                rel2 {
21896                   to_x: "elm.swallow.pad";
21897                   relative: 1.0  1.0;
21898                   offset:   -1   -5;
21899                }
21900                image.normal: "icon_arrow_right.png";
21901             }
21902             description { state: "active" 0.0;
21903                inherit: "default" 0.0;
21904                image.normal: "icon_arrow_down.png";
21905             }
21906          }
21907          part { name: "elm.swallow.icon";
21908             clip_to: "disclip";
21909             type: SWALLOW;
21910             description { state: "default" 0.0;
21911                fixed: 1 0;
21912                align: 0.5 0.5;
21913                rel1 {
21914                   to_x: "arrow";
21915                   relative: 1.0  0.0;
21916                   offset:   4    4;
21917                }
21918                rel2 {
21919                   relative: 1.0  1.0;
21920                   offset:   -4   -5;
21921                }
21922             }
21923          }
21924          part { name: "elm.text";
21925             clip_to: "disclip";
21926             type:           TEXT;
21927             effect:         SOFT_SHADOW;
21928             mouse_events:   0;
21929             scale: 1;
21930             description {
21931                state: "default" 0.0;
21932 //               min: 16 16;
21933                rel1 {
21934                   to_y:     "elm.swallow.icon";
21935                   relative: 0.0  1.0;
21936                   offset:   0 4;
21937                }
21938                rel2 {
21939                   relative: 1.0  1.0;
21940                   offset:   -5 -5;
21941                }
21942                color: 0 0 0 255;
21943                color3: 0 0 0 0;
21944                text {
21945                   font: "Sans";
21946                   size: 10;
21947                   min: 1 1;
21948 //                  min: 0 1;
21949                   align: 0.5 0.5;
21950                   text_class: "list_item";
21951                }
21952             }
21953             description { state: "selected" 0.0;
21954                inherit: "default" 0.0;
21955                color: 224 224 224 255;
21956                color3: 0 0 0 64;
21957             }
21958          }
21959          part { name: "fg1";
21960             clip_to: "disclip";
21961             mouse_events: 0;
21962             description { state: "default" 0.0;
21963                visible: 0;
21964                color: 255 255 255 0;
21965                rel1.to: "bg";
21966                rel2.relative: 1.0 0.5;
21967                rel2.to: "bg";
21968                image {
21969                   normal: "bt_sm_hilight.png";
21970                   border: 6 6 6 0;
21971                }
21972             }
21973             description { state: "selected" 0.0;
21974                inherit: "default" 0.0;
21975                visible: 1;
21976                color: 255 255 255 255;
21977             }
21978          }
21979          part { name: "fg2";
21980             clip_to: "disclip";
21981             mouse_events: 0;
21982             description { state: "default" 0.0;
21983                visible: 0;
21984                color: 255 255 255 0;
21985                rel1.to: "bg";
21986                rel2.to: "bg";
21987                image {
21988                   normal: "bt_sm_shine.png";
21989                   border: 6 6 6 0;
21990                }
21991             }
21992             description { state: "selected" 0.0;
21993                inherit: "default" 0.0;
21994                visible: 1;
21995                color: 255 255 255 255;
21996             }
21997          }
21998          part { name: "disclip";
21999             type: RECT;
22000             description { state: "default" 0.0;
22001                rel1.to: "bg";
22002                rel2.to: "bg";
22003             }
22004             description { state: "disabled" 0.0;
22005                inherit: "default" 0.0;
22006                color: 255 255 255 64;
22007             }
22008          }
22009       }
22010       programs {
22011          // signal: elm,state,%s,active
22012          //   a "check" item named %s went active
22013          // signal: elm,state,%s,passive
22014          //   a "check" item named %s went passive
22015          // default is passive
22016          program {
22017             name:    "go_active";
22018             signal:  "elm,state,selected";
22019             source:  "elm";
22020             action:  STATE_SET "selected" 0.0;
22021             target:  "bg";
22022             target:  "fg1";
22023             target:  "fg2";
22024             target:  "elm.text";
22025          }
22026          program {
22027             name:    "go_passive";
22028             signal:  "elm,state,unselected";
22029             source:  "elm";
22030             action:  STATE_SET "default" 0.0;
22031             target:  "bg";
22032             target:  "fg1";
22033             target:  "fg2";
22034             target:  "elm.text";
22035             transition: LINEAR 0.1;
22036          }
22037          program {
22038             name:    "go_disabled";
22039             signal:  "elm,state,disabled";
22040             source:  "elm";
22041             action:  STATE_SET "disabled" 0.0;
22042             target:  "disclip";
22043          }
22044          program {
22045             name:    "go_enabled";
22046             signal:  "elm,state,enabled";
22047             source:  "elm";
22048             action:  STATE_SET "default" 0.0;
22049             target:  "disclip";
22050          }
22051          program {
22052             name:    "expand";
22053             signal:  "mouse,up,1";
22054             source:  "arrow";
22055             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22056          }
22057          program {
22058             name:    "go_expanded";
22059             signal:  "elm,state,expanded";
22060             source:  "elm";
22061             action:  STATE_SET "active" 0.0;
22062             target:  "arrow";
22063          }
22064          program {
22065             name:    "go_contracted";
22066             signal:  "elm,state,contracted";
22067             source:  "elm";
22068             action:  STATE_SET "default" 0.0;
22069             target:  "arrow";
22070          }
22071       }
22072    }
22073    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22074       data.item: "stacking" "below";
22075       data.item: "selectraise" "on";
22076       data.item: "labels" "elm.text";
22077       data.item: "icons" "elm.swallow.icon";
22078       data.item: "treesize" "20";
22079 //      data.item: "states" "";
22080       images {
22081          image: "bt_sm_base1.png" COMP;
22082          image: "bt_sm_shine.png" COMP;
22083          image: "bt_sm_hilight.png" COMP;
22084          image: "ilist_2.png" COMP;
22085          image: "icon_arrow_right.png" COMP;
22086          image: "icon_arrow_down.png" COMP;
22087       }
22088       parts {
22089          part {
22090             name:           "event";
22091             type:           RECT;
22092             repeat_events: 1;
22093             description {
22094                state: "default" 0.0;
22095                color: 0 0 0 0;
22096             }
22097          }
22098          part {
22099             name: "base";
22100             mouse_events: 0;
22101             description {
22102                state: "default" 0.0;
22103                image {
22104                   normal: "ilist_2.png";
22105                   border: 2 2 2 2;
22106                }
22107                fill.smooth: 0;
22108             }
22109          }
22110          part { name: "bg";
22111             clip_to: "disclip";
22112             mouse_events: 0;
22113             description { state: "default" 0.0;
22114                visible: 0;
22115                color: 255 255 255 0;
22116                rel1 {
22117                   relative: 0.0 0.0;
22118                   offset: -5 -5;
22119                }
22120                rel2 {
22121                   relative: 1.0 1.0;
22122                   offset: 4 4;
22123                }
22124                image {
22125                   normal: "bt_sm_base1.png";
22126                   border: 6 6 6 6;
22127                }
22128                image.middle: SOLID;
22129             }
22130             description { state: "selected" 0.0;
22131                inherit: "default" 0.0;
22132                visible: 1;
22133                color: 255 255 255 255;
22134                rel1 {
22135                   relative: 0.0 0.0;
22136                   offset: -2 -2;
22137                }
22138                rel2 {
22139                   relative: 1.0 1.0;
22140                   offset: 1 1;
22141                }
22142             }
22143          }
22144          part { name: "elm.swallow.pad";
22145             type: SWALLOW;
22146             description { state: "default" 0.0;
22147                fixed: 1 0;
22148                align: 0.0 0.5;
22149                rel1 {
22150                   relative: 0.0  0.0;
22151                   offset:   4    4;
22152                }
22153                rel2 {
22154                   relative: 0.0  1.0;
22155                   offset:   4   -5;
22156                }
22157             }
22158          }
22159          part { name: "arrow";
22160             clip_to: "disclip";
22161             ignore_flags: ON_HOLD;
22162             description { state: "default" 0.0;
22163                fixed: 1 0;
22164                align: 0.0 0.5;
22165                aspect: 1.0 1.0;
22166                rel1 {
22167                   to_x: "elm.swallow.pad";
22168                   relative: 1.0  0.0;
22169                   offset:   -1    4;
22170                }
22171                rel2 {
22172                   to_x: "elm.swallow.pad";
22173                   relative: 1.0  1.0;
22174                   offset:   -1   -5;
22175                }
22176                image.normal: "icon_arrow_right.png";
22177             }
22178             description { state: "active" 0.0;
22179                inherit: "default" 0.0;
22180                image.normal: "icon_arrow_down.png";
22181             }
22182          }
22183          part { name: "elm.swallow.icon";
22184             clip_to: "disclip";
22185             type: SWALLOW;
22186             description { state: "default" 0.0;
22187                fixed: 1 0;
22188                align: 0.5 0.5;
22189                rel1 {
22190                   to_x: "arrow";
22191                   relative: 1.0  0.0;
22192                   offset:   4    4;
22193                }
22194                rel2 {
22195                   relative: 1.0  1.0;
22196                   offset:   -4   -5;
22197                }
22198             }
22199          }
22200          part { name: "elm.text";
22201             clip_to: "disclip";
22202             type:           TEXT;
22203             effect:         SOFT_SHADOW;
22204             mouse_events:   0;
22205             scale: 1;
22206             description {
22207                state: "default" 0.0;
22208 //               min: 16 16;
22209                rel1 {
22210                   to_y:     "elm.swallow.icon";
22211                   relative: 0.0  1.0;
22212                   offset:   0 4;
22213                }
22214                rel2 {
22215                   relative: 1.0  1.0;
22216                   offset:   -5 -5;
22217                }
22218                color: 0 0 0 255;
22219                color3: 0 0 0 0;
22220                text {
22221                   font: "Sans";
22222                   size: 10;
22223                   min: 1 1;
22224 //                  min: 0 1;
22225                   align: 0.5 0.5;
22226                   text_class: "list_item";
22227                }
22228             }
22229             description { state: "selected" 0.0;
22230                inherit: "default" 0.0;
22231                color: 224 224 224 255;
22232                color3: 0 0 0 64;
22233             }
22234          }
22235          part { name: "fg1";
22236             clip_to: "disclip";
22237             mouse_events: 0;
22238             description { state: "default" 0.0;
22239                visible: 0;
22240                color: 255 255 255 0;
22241                rel1.to: "bg";
22242                rel2.relative: 1.0 0.5;
22243                rel2.to: "bg";
22244                image {
22245                   normal: "bt_sm_hilight.png";
22246                   border: 6 6 6 0;
22247                }
22248             }
22249             description { state: "selected" 0.0;
22250                inherit: "default" 0.0;
22251                visible: 1;
22252                color: 255 255 255 255;
22253             }
22254          }
22255          part { name: "fg2";
22256             clip_to: "disclip";
22257             mouse_events: 0;
22258             description { state: "default" 0.0;
22259                visible: 0;
22260                color: 255 255 255 0;
22261                rel1.to: "bg";
22262                rel2.to: "bg";
22263                image {
22264                   normal: "bt_sm_shine.png";
22265                   border: 6 6 6 0;
22266                }
22267             }
22268             description { state: "selected" 0.0;
22269                inherit: "default" 0.0;
22270                visible: 1;
22271                color: 255 255 255 255;
22272             }
22273          }
22274          part { name: "disclip";
22275             type: RECT;
22276             description { state: "default" 0.0;
22277                rel1.to: "bg";
22278                rel2.to: "bg";
22279             }
22280             description { state: "disabled" 0.0;
22281                inherit: "default" 0.0;
22282                color: 255 255 255 64;
22283             }
22284          }
22285       }
22286       programs {
22287          // signal: elm,state,%s,active
22288          //   a "check" item named %s went active
22289          // signal: elm,state,%s,passive
22290          //   a "check" item named %s went passive
22291          // default is passive
22292          program {
22293             name:    "go_active";
22294             signal:  "elm,state,selected";
22295             source:  "elm";
22296             action:  STATE_SET "selected" 0.0;
22297             target:  "bg";
22298             target:  "fg1";
22299             target:  "fg2";
22300             target:  "elm.text";
22301          }
22302          program {
22303             name:    "go_passive";
22304             signal:  "elm,state,unselected";
22305             source:  "elm";
22306             action:  STATE_SET "default" 0.0;
22307             target:  "bg";
22308             target:  "fg1";
22309             target:  "fg2";
22310             target:  "elm.text";
22311             transition: LINEAR 0.1;
22312          }
22313          program {
22314             name:    "go_disabled";
22315             signal:  "elm,state,disabled";
22316             source:  "elm";
22317             action:  STATE_SET "disabled" 0.0;
22318             target:  "disclip";
22319          }
22320          program {
22321             name:    "go_enabled";
22322             signal:  "elm,state,enabled";
22323             source:  "elm";
22324             action:  STATE_SET "default" 0.0;
22325             target:  "disclip";
22326          }
22327          program {
22328             name:    "expand";
22329             signal:  "mouse,up,1";
22330             source:  "arrow";
22331             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22332          }
22333          program {
22334             name:    "go_expanded";
22335             signal:  "elm,state,expanded";
22336             source:  "elm";
22337             action:  STATE_SET "active" 0.0;
22338             target:  "arrow";
22339          }
22340          program {
22341             name:    "go_contracted";
22342             signal:  "elm,state,contracted";
22343             source:  "elm";
22344             action:  STATE_SET "default" 0.0;
22345             target:  "arrow";
22346          }
22347       }
22348    }
22349
22350
22351 ///////////////////////////////////////////////////////////////////////////////
22352    group { name: "elm/check/base/default";
22353       images {
22354          image: "check_base.png" COMP;
22355          image: "check.png" COMP;
22356          image: "check2.png" COMP;
22357       }
22358       parts {
22359          part { name: "bg";
22360             mouse_events: 0;
22361             scale: 1;
22362             description { state: "default" 0.0;
22363                rel1.offset: 1 1;
22364                rel2.relative: 0.0 1.0;
22365                rel2.offset: 1 -2;
22366                align: 0.0 0.5;
22367                min: 16 16;
22368                max: 16 16;
22369                aspect: 1.0 1.0;
22370                aspect_preference: VERTICAL;
22371                image {
22372                   normal: "check_base.png";
22373                   border: 5 5 5 5;
22374                   middle: 0;
22375                }
22376                fill.smooth : 0;
22377             }
22378          }
22379          part { name: "check";
22380             mouse_events: 0;
22381             scale: 1;
22382             description { state: "default" 0.0;
22383                rel1 {
22384                   to: "bg";
22385                   offset: 1 1;
22386                }
22387                rel2 {
22388                   to: "bg";
22389                   offset: -2 -2;
22390                }
22391                visible: 0;
22392                color: 255 255 255 255;
22393                image.normal: "check.png";
22394             }
22395             description { state: "visible" 0.0;
22396                inherit: "default" 0.0;
22397                visible: 1;
22398             }
22399             description { state: "disabled" 0.0;
22400                inherit: "default" 0.0;
22401                visible: 0;
22402                color: 128 128 128 128;
22403             }
22404             description { state: "disabled_visible" 0.0;
22405                inherit: "default" 0.0;
22406                color: 128 128 128 128;
22407                visible: 1;
22408             }
22409          }
22410          part { name: "elm.swallow.content";
22411             type: SWALLOW;
22412             description { state: "default" 0.0;
22413                fixed: 1 0;
22414                visible: 0;
22415                align: 0.0 0.5;
22416           rel1.to_x: "bg";
22417                rel1.relative: 1.0 0.0;
22418                rel1.offset: 1 1;
22419           rel2.to_x: "bg";
22420                rel2.offset: 1 -2;
22421                rel2.relative: 1.0 1.0;
22422             }
22423             description { state: "visible" 0.0;
22424                inherit: "default" 0.0;
22425           fixed: 1 0;
22426                visible: 1;
22427                aspect: 1.0 1.0;
22428             }
22429             description { state: "disabled" 0.0;
22430                inherit: "default" 0.0;
22431                color: 128 128 128 128;
22432             }
22433             description { state: "disabled_visible" 0.0;
22434                inherit: "default" 0.0;
22435                color: 128 128 128 128;
22436           fixed: 1 0;
22437                visible: 1;
22438                aspect: 1.0 1.0;
22439             }
22440          }
22441          part { name: "elm.text";
22442             type: TEXT;
22443             mouse_events: 0;
22444             scale: 1;
22445             description { state: "default" 0.0;
22446                visible: 0;
22447                rel1.to_x: "elm.swallow.content";
22448                rel1.relative: 1.0 0.0;
22449                rel1.offset: 1 1;
22450                rel2.relative: 1.0 1.0;
22451                rel2.offset: -2 -2;
22452                color: 0 0 0 255;
22453                text {
22454                   font: "Sans,Edje-Vera";
22455                   size: 10;
22456                   min: 0 1;
22457                   align: -1.0 0.5;
22458                }
22459             }
22460             description { state: "visible" 0.0;
22461                inherit: "default" 0.0;
22462                visible: 1;
22463                text.min: 1 1;
22464             }
22465             description { state: "disabled" 0.0;
22466                inherit: "default" 0.0;
22467                color: 0 0 0 128;
22468                color3: 0 0 0 0;
22469             }
22470             description { state: "disabled_visible" 0.0;
22471                inherit: "default" 0.0;
22472                color: 0 0 0 128;
22473                color3: 0 0 0 0;
22474                visible: 1;
22475                text.min: 1 1;
22476             }
22477          }
22478          part { name: "events";
22479             type: RECT;
22480             ignore_flags: ON_HOLD;
22481             description { state: "default" 0.0;
22482                color: 0 0 0 0;
22483             }
22484          }
22485           part { name: "disabler";
22486             type: RECT;
22487             description { state: "default" 0.0;
22488                color: 0 0 0 0;
22489                visible: 0;
22490             }
22491             description { state: "disabled" 0.0;
22492                inherit: "default" 0.0;
22493                visible: 1;
22494             }
22495          }
22496       }
22497       programs {
22498          program { name: "click";
22499             signal: "mouse,up,1";
22500             source: "events";
22501             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22502          }
22503          program { name: "check_on";
22504             signal: "elm,state,check,on";
22505             source: "elm";
22506             action:  STATE_SET "visible" 0.0;
22507             target: "check";
22508          }
22509          program { name: "check_off";
22510             signal: "elm,state,check,off";
22511             source: "elm";
22512             action:  STATE_SET "default" 0.0;
22513             target: "check";
22514          }
22515          program { name: "text_show";
22516             signal: "elm,state,text,visible";
22517             source: "elm";
22518             action:  STATE_SET "visible" 0.0;
22519             target: "elm.text";
22520          }
22521          program { name: "text_hide";
22522             signal: "elm,state,text,hidden";
22523             source: "elm";
22524             action:  STATE_SET "default" 0.0;
22525             target: "elm.text";
22526          }
22527          program { name: "icon_show";
22528             signal: "elm,state,icon,visible";
22529             source: "elm";
22530             action:  STATE_SET "visible" 0.0;
22531             target: "elm.swallow.content";
22532          }
22533          program { name: "icon_hide";
22534             signal: "elm,state,icon,hidden";
22535             source: "elm";
22536             action:  STATE_SET "default" 0.0;
22537             target: "elm.swallow.content";
22538          }
22539          program { name: "disable";
22540             signal: "elm,state,disabled";
22541             source: "elm";
22542             action: STATE_SET "disabled" 0.0;
22543             target: "disabler";
22544             after: "disable_text";
22545          }
22546          program { name: "disable_text";
22547             script {
22548                new st[31];
22549                new Float:vl;
22550                get_state(PART:"elm.text", st, 30, vl);
22551                if (!strcmp(st, "visible"))
22552                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22553                else
22554                  set_state(PART:"elm.text", "disabled", 0.0);
22555
22556                get_state(PART:"elm.swallow.content", st, 30, vl);
22557                if (!strcmp(st, "visible"))
22558                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22559                else
22560                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22561
22562                get_state(PART:"check", st, 30, vl);
22563                if (!strcmp(st, "visible"))
22564                  set_state(PART:"check", "disabled_visible", 0.0);
22565                else
22566                  set_state(PART:"check", "disabled", 0.0);
22567             }
22568          }
22569          program { name: "enable";
22570             signal: "elm,state,enabled";
22571             source: "elm";
22572             action: STATE_SET "default" 0.0;
22573             target: "disabler";
22574             after: "enable_text";
22575          }
22576          program { name: "enable_text";
22577             script {
22578                new st[31];
22579                new Float:vl;
22580                get_state(PART:"elm.text", st, 30, vl);
22581                if (!strcmp(st, "disabled_visible"))
22582                  set_state(PART:"elm.text", "visible", 0.0);
22583                else
22584                  set_state(PART:"elm.text", "default", 0.0);
22585
22586                get_state(PART:"elm.swallow.content", st, 30, vl);
22587                if (!strcmp(st, "visible"))
22588                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22589                else
22590                  set_state(PART:"elm.swallow.content", "default", 0.0);
22591
22592                get_state(PART:"check", st, 30, vl);
22593                if (!strcmp(st, "visible"))
22594                  set_state(PART:"check", "visible", 0.0);
22595                else
22596                  set_state(PART:"check", "default", 0.0);
22597             }
22598          }
22599       }
22600    }
22601 ///////////////////////////////////////////////////////////////////////////////
22602    group { name: "elm/radio/base/default";
22603       images {
22604          image: "radio_base.png" COMP;
22605          image: "radio.png" COMP;
22606          image: "radio2.png" COMP;
22607       }
22608       parts {
22609          part { name: "bg";
22610             mouse_events: 0;
22611             scale: 1;
22612             description { state: "default" 0.0;
22613                rel1.offset: 1 1;
22614                rel2.relative: 0.0 1.0;
22615                rel2.offset: 1 -2;
22616                align: 0.0 0.5;
22617                min: 16 16;
22618                max: 16 16;
22619                aspect: 1.0 1.0;
22620                aspect_preference: VERTICAL;
22621                image.normal: "radio_base.png";
22622             }
22623          }
22624          part { name: "radio";
22625             mouse_events: 0;
22626             scale: 1;
22627             description { state: "default" 0.0;
22628                rel1.to: "bg";
22629                rel2.to: "bg";
22630                visible: 0;
22631                image.normal: "radio.png";
22632             }
22633             description { state: "visible" 0.0;
22634                inherit: "default" 0.0;
22635                visible: 1;
22636             }
22637          }
22638          part { name: "elm.swallow.content";
22639             type: SWALLOW;
22640             description { state: "default" 0.0;
22641                fixed: 1 0;
22642                visible: 0;
22643                align: 0.0 0.5;
22644                color: 0 0 0 0;
22645                rel1.to_x: "bg";
22646                rel1.relative: 1.0 0.0;
22647                rel1.offset: 1 1;
22648                rel2.to_x: "bg";
22649                rel2.relative: 1.0 1.0;
22650                rel2.offset: 2 -2;
22651             }
22652             description { state: "visible" 0.0;
22653                inherit: "default" 0.0;
22654                visible: 1;
22655                color: 255 255 255 255;
22656                aspect: 1.0 1.0;
22657             }
22658             description { state: "disabled" 0.0;
22659                inherit: "default" 0.0;
22660                color: 128 128 128 128;
22661             }
22662             description { state: "disabled_visible" 0.0;
22663                inherit: "default" 0.0;
22664                color: 128 128 128 128;
22665                visible: 1;
22666                aspect: 1.0 1.0;
22667             }
22668          }
22669          part { name: "elm.text";
22670             type: TEXT;
22671             mouse_events: 0;
22672             scale: 1;
22673             description { state: "default" 0.0;
22674                visible: 0;
22675                rel1.to_x: "elm.swallow.content";
22676                rel1.relative: 1.0 0.0;
22677                rel1.offset: 1 1;
22678                rel2.relative: 1.0 1.0;
22679                rel2.offset: -2 -2;
22680                color: 0 0 0 255;
22681                text {
22682                   font: "Sans,Edje-Vera";
22683                   size: 10;
22684                   min: 0 0;
22685                   align: -1.0 0.5;
22686                }
22687             }
22688             description { state: "visible" 0.0;
22689                inherit: "default" 0.0;
22690                visible: 1;
22691                text.min: 1 1;
22692             }
22693             description { state: "disabled" 0.0;
22694                inherit: "default" 0.0;
22695                color: 0 0 0 128;
22696                color3: 0 0 0 0;
22697             }
22698             description { state: "disabled_visible" 0.0;
22699                inherit: "default" 0.0;
22700                color: 0 0 0 128;
22701                color3: 0 0 0 0;
22702                visible: 1;
22703                text.min: 1 1;
22704             }
22705          }
22706          part { name: "events";
22707             type: RECT;
22708             ignore_flags: ON_HOLD;
22709             description { state: "default" 0.0;
22710                color: 0 0 0 0;
22711             }
22712          }
22713           part { name: "disabler";
22714             type: RECT;
22715             description { state: "default" 0.0;
22716                color: 0 0 0 0;
22717                visible: 0;
22718             }
22719             description { state: "disabled" 0.0;
22720                inherit: "default" 0.0;
22721                visible: 1;
22722             }
22723          }
22724       }
22725       programs {
22726          program { name: "click";
22727             signal: "mouse,up,1";
22728             source: "events";
22729             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22730          }
22731          program { name: "radio_on";
22732             signal: "elm,state,radio,on";
22733             source: "elm";
22734             action:  STATE_SET "visible" 0.0;
22735             target: "radio";
22736          }
22737          program { name: "radio_off";
22738             signal: "elm,state,radio,off";
22739             source: "elm";
22740             action:  STATE_SET "default" 0.0;
22741             target: "radio";
22742          }
22743          program { name: "text_show";
22744             signal: "elm,state,text,visible";
22745             source: "elm";
22746             action:  STATE_SET "visible" 0.0;
22747             target: "elm.text";
22748          }
22749          program { name: "text_hide";
22750             signal: "elm,state,text,hidden";
22751             source: "elm";
22752             action:  STATE_SET "default" 0.0;
22753             target: "elm.text";
22754          }
22755          program { name: "icon_show";
22756             signal: "elm,state,icon,visible";
22757             source: "elm";
22758             action:  STATE_SET "visible" 0.0;
22759             target: "elm.swallow.content";
22760          }
22761          program { name: "icon_hide";
22762             signal: "elm,state,icon,hidden";
22763             source: "elm";
22764             action:  STATE_SET "default" 0.0;
22765             target: "elm.swallow.content";
22766          }
22767          program { name: "disable";
22768             signal: "elm,state,disabled";
22769             source: "elm";
22770             action: STATE_SET "disabled" 0.0;
22771             target: "disabler";
22772             after: "disable_text";
22773          }
22774          program { name: "disable_text";
22775             script {
22776                new st[31];
22777                new Float:vl;
22778                get_state(PART:"elm.text", st, 30, vl);
22779                if (!strcmp(st, "visible"))
22780                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22781                else
22782                  set_state(PART:"elm.text", "disabled", 0.0);
22783
22784                get_state(PART:"elm.swallow.content", st, 30, vl);
22785                if (!strcmp(st, "visible"))
22786                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22787                else
22788                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22789             }
22790          }
22791          program { name: "enable";
22792             signal: "elm,state,enabled";
22793             source: "elm";
22794             action: STATE_SET "default" 0.0;
22795             target: "disabler";
22796             after: "enable_text";
22797          }
22798          program { name: "enable_text";
22799             script {
22800                new st[31];
22801                new Float:vl;
22802                get_state(PART:"elm.text", st, 30, vl);
22803                if (!strcmp(st, "disabled_visible"))
22804                  set_state(PART:"elm.text", "visible", 0.0);
22805                else
22806                  set_state(PART:"elm.text", "default", 0.0);
22807
22808                get_state(PART:"elm.swallow.content", st, 30, vl);
22809                if (!strcmp(st, "visible"))
22810                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22811                else
22812                  set_state(PART:"elm.swallow.content", "default", 0.0);
22813             }
22814          }
22815       }
22816    }
22817    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22818       data.item: "stacking" "below";
22819       data.item: "selectraise" "on";
22820       data.item: "labels" "elm.text elm.text.sub";
22821       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22822       data.item: "treesize" "20";
22823 //      data.item: "states" "";
22824       images {
22825          image: "bt_sm_base1.png" COMP;
22826          image: "bt_sm_shine.png" COMP;
22827          image: "bt_sm_hilight.png" COMP;
22828          image: "ilist_2.png" COMP;
22829          image: "icon_arrow_right.png" COMP;
22830          image: "icon_arrow_down.png" COMP;
22831       }
22832       parts {
22833          part {
22834             name:           "event";
22835             type:           RECT;
22836             repeat_events: 1;
22837             description {
22838                state: "default" 0.0;
22839                color: 0 0 0 0;
22840             }
22841          }
22842          part {
22843             name: "base";
22844             mouse_events: 0;
22845             description {
22846                state: "default" 0.0;
22847                image {
22848                   normal: "ilist_2.png";
22849                   border: 2 2 2 2;
22850                }
22851                fill.smooth: 0;
22852             }
22853          }
22854          part { name: "bg";
22855             clip_to: "disclip";
22856             mouse_events: 0;
22857             description { state: "default" 0.0;
22858                visible: 0;
22859                color: 255 255 255 0;
22860                rel1 {
22861                   relative: 0.0 0.0;
22862                   offset: -5 -5;
22863                }
22864                rel2 {
22865                   relative: 1.0 1.0;
22866                   offset: 4 4;
22867                }
22868                image {
22869                   normal: "bt_sm_base1.png";
22870                   border: 6 6 6 6;
22871                }
22872                image.middle: SOLID;
22873             }
22874             description { state: "selected" 0.0;
22875                inherit: "default" 0.0;
22876                visible: 1;
22877                color: 255 255 255 255;
22878                rel1 {
22879                   relative: 0.0 0.0;
22880                   offset: -2 -2;
22881                }
22882                rel2 {
22883                   relative: 1.0 1.0;
22884                   offset: 1 1;
22885                }
22886             }
22887          }
22888          part { name: "elm.swallow.pad";
22889             type: SWALLOW;
22890             description { state: "default" 0.0;
22891                fixed: 1 0;
22892                align: 0.0 0.5;
22893                rel1 {
22894                   relative: 0.0  0.0;
22895                   offset:   4    4;
22896                }
22897                rel2 {
22898                   relative: 0.0  1.0;
22899                   offset:   4   -5;
22900                }
22901             }
22902          }
22903          part { name: "arrow";
22904             clip_to: "disclip";
22905             ignore_flags: ON_HOLD;
22906             description { state: "default" 0.0;
22907                fixed: 1 0;
22908                align: 0.0 0.5;
22909                aspect: 1.0 1.0;
22910                rel1 {
22911                   to_x: "elm.swallow.pad";
22912                   relative: 1.0  0.0;
22913                   offset:   -1    4;
22914                }
22915                rel2 {
22916                   to_x: "elm.swallow.pad";
22917                   relative: 1.0  1.0;
22918                   offset:   -1   -5;
22919                }
22920                image.normal: "icon_arrow_right.png";
22921             }
22922             description { state: "active" 0.0;
22923                inherit: "default" 0.0;
22924                image.normal: "icon_arrow_down.png";
22925             }
22926          }
22927          part { name: "elm.swallow.icon";
22928             clip_to: "disclip";
22929             type: SWALLOW;
22930             description { state: "default" 0.0;
22931                fixed: 1 0;
22932                align: 0.0 0.5;
22933                rel1 {
22934                   to_x: "arrow";
22935                   relative: 1.0  0.0;
22936                   offset:   4    4;
22937                }
22938                rel2 {
22939                   to_x: "arrow";
22940                   relative: 1.0  1.0;
22941                   offset:   4   -5;
22942                }
22943             }
22944          }
22945          part { name: "elm.swallow.end";
22946             clip_to: "disclip";
22947             type: SWALLOW;
22948             description { state: "default" 0.0;
22949                fixed: 1 0;
22950                align: 1.0 0.5;
22951                aspect: 1.0 1.0;
22952                aspect_preference: VERTICAL;
22953                rel1 {
22954                   relative: 1.0  0.0;
22955                   offset:   -5    4;
22956                }
22957                rel2 {
22958                   relative: 1.0  1.0;
22959                   offset:   -5   -5;
22960                }
22961             }
22962          }
22963          part { name: "elm.text";
22964             clip_to: "disclip";
22965             type:           TEXT;
22966             effect:         SOFT_SHADOW;
22967             mouse_events:   0;
22968             scale: 1;
22969             description {
22970                state: "default" 0.0;
22971 //               min: 16 16;
22972                rel1 {
22973                   to_x:     "elm.swallow.icon";
22974                   relative: 1.0  0.0;
22975                   offset:   0 4;
22976                }
22977                rel2 {
22978                   to_x:     "elm.swallow.end";
22979                   relative: 0.0  0.5;
22980                   offset:   -1 -5;
22981                }
22982                color: 0 0 0 255;
22983                color3: 0 0 0 0;
22984                text {
22985                   font: "Sans";
22986                   size: 10;
22987 //                  min: 1 1;
22988                   min: 0 1;
22989                   align: 0.0 0.5;
22990                   text_class: "list_item";
22991                }
22992             }
22993             description { state: "selected" 0.0;
22994                inherit: "default" 0.0;
22995                color: 224 224 224 255;
22996                color3: 0 0 0 64;
22997             }
22998          }
22999          part { name: "elm.text.sub";
23000             clip_to: "disclip";
23001             type:           TEXT;
23002             mouse_events:   0;
23003             scale: 1;
23004             description {
23005                state: "default" 0.0;
23006 //               min: 16 16;
23007                rel1 {
23008                   to_x:     "elm.swallow.icon";
23009                   relative: 1.0  0.5;
23010                   offset:   0 4;
23011                }
23012                rel2 {
23013                   to_x:     "elm.swallow.end";
23014                   relative: 0.0  1.0;
23015                   offset:   -1 -5;
23016                }
23017                color: 0 0 0 128;
23018                color3: 0 0 0 0;
23019                text {
23020                   font: "Sans";
23021                   size: 8;
23022 //                  min: 1 1;
23023                   min: 0 1;
23024                   align: 0.0 0.5;
23025                   text_class: "list_item";
23026                }
23027             }
23028             description { state: "selected" 0.0;
23029                inherit: "default" 0.0;
23030                color: 128 128 128 255;
23031                color3: 0 0 0 32;
23032             }
23033          }
23034          part { name: "fg1";
23035             clip_to: "disclip";
23036             mouse_events: 0;
23037             description { state: "default" 0.0;
23038                visible: 0;
23039                color: 255 255 255 0;
23040                rel1.to: "bg";
23041                rel2.relative: 1.0 0.5;
23042                rel2.to: "bg";
23043                image {
23044                   normal: "bt_sm_hilight.png";
23045                   border: 6 6 6 0;
23046                }
23047             }
23048             description { state: "selected" 0.0;
23049                inherit: "default" 0.0;
23050                visible: 1;
23051                color: 255 255 255 255;
23052             }
23053          }
23054          part { name: "fg2";
23055             clip_to: "disclip";
23056             mouse_events: 0;
23057             description { state: "default" 0.0;
23058                visible: 0;
23059                color: 255 255 255 0;
23060                rel1.to: "bg";
23061                rel2.to: "bg";
23062                image {
23063                   normal: "bt_sm_shine.png";
23064                   border: 6 6 6 0;
23065                }
23066             }
23067             description { state: "selected" 0.0;
23068                inherit: "default" 0.0;
23069                visible: 1;
23070                color: 255 255 255 255;
23071             }
23072          }
23073          part { name: "disclip";
23074             type: RECT;
23075             description { state: "default" 0.0;
23076                rel1.to: "bg";
23077                rel2.to: "bg";
23078             }
23079             description { state: "disabled" 0.0;
23080                inherit: "default" 0.0;
23081                color: 255 255 255 64;
23082             }
23083          }
23084       }
23085       programs {
23086          // signal: elm,state,%s,active
23087          //   a "check" item named %s went active
23088          // signal: elm,state,%s,passive
23089          //   a "check" item named %s went passive
23090          // default is passive
23091          program {
23092             name:    "go_active";
23093             signal:  "elm,state,selected";
23094             source:  "elm";
23095             action:  STATE_SET "selected" 0.0;
23096             target:  "bg";
23097             target:  "fg1";
23098             target:  "fg2";
23099             target:  "elm.text";
23100             target:  "elm.text.sub";
23101          }
23102          program {
23103             name:    "go_passive";
23104             signal:  "elm,state,unselected";
23105             source:  "elm";
23106             action:  STATE_SET "default" 0.0;
23107             target:  "bg";
23108             target:  "fg1";
23109             target:  "fg2";
23110             target:  "elm.text";
23111             target:  "elm.text.sub";
23112             transition: LINEAR 0.1;
23113          }
23114          program {
23115             name:    "go_disabled";
23116             signal:  "elm,state,disabled";
23117             source:  "elm";
23118             action:  STATE_SET "disabled" 0.0;
23119             target:  "disclip";
23120          }
23121          program {
23122             name:    "go_enabled";
23123             signal:  "elm,state,enabled";
23124             source:  "elm";
23125             action:  STATE_SET "default" 0.0;
23126             target:  "disclip";
23127          }
23128          program {
23129             name:    "expand";
23130             signal:  "mouse,up,1";
23131             source:  "arrow";
23132             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23133          }
23134          program {
23135             name:    "go_expanded";
23136             signal:  "elm,state,expanded";
23137             source:  "elm";
23138             action:  STATE_SET "active" 0.0;
23139             target:  "arrow";
23140          }
23141          program {
23142             name:    "go_contracted";
23143             signal:  "elm,state,contracted";
23144             source:  "elm";
23145             action:  STATE_SET "default" 0.0;
23146             target:  "arrow";
23147          }
23148       }
23149    }
23150
23151    group { name: "elm/genlist/item_compress/media/default";
23152       data.item: "stacking" "above";
23153       data.item: "selectraise" "on";
23154       data.item: "labels" "elm.text.title elm.text.album-artist";
23155       data.item: "treesize" "20";
23156       images {
23157          image: "bt_sm_base1.png" COMP;
23158          image: "bt_sm_shine.png" COMP;
23159          image: "bt_sm_hilight.png" COMP;
23160          image: "ilist_1.png" COMP;
23161          image: "ilist_item_shadow.png" COMP;
23162       }
23163       parts {
23164          part {
23165             name:           "event";
23166             type:           RECT;
23167             repeat_events: 1;
23168             description {
23169                state: "default" 0.0;
23170                color: 0 0 0 0;
23171             }
23172          }
23173          part {
23174             name: "base_sh";
23175             mouse_events: 0;
23176             description {
23177                state: "default" 0.0;
23178                align: 0.0 0.0;
23179                min: 0 10;
23180                fixed: 1 1;
23181                rel1 {
23182                   to: "base";
23183                   relative: 0.0 1.0;
23184                   offset: 0 0;
23185                }
23186                rel2 {
23187                   to: "base";
23188                   relative: 1.0 1.0;
23189                   offset: -1 0;
23190                }
23191                image {
23192                   normal: "ilist_item_shadow.png";
23193                }
23194                fill.smooth: 0;
23195             }
23196          }
23197          part {
23198             name: "base";
23199             mouse_events: 0;
23200             description {
23201                state: "default" 0.0;
23202                image {
23203                   normal: "ilist_1.png";
23204                   border: 2 2 2 2;
23205                }
23206                fill.smooth: 0;
23207             }
23208          }
23209          part { name: "bg";
23210             clip_to: "disclip";
23211             mouse_events: 0;
23212             description { state: "default" 0.0;
23213                visible: 0;
23214                color: 255 255 255 0;
23215                rel1 {
23216                   relative: 0.0 0.0;
23217                   offset: -5 -5;
23218                }
23219                rel2 {
23220                   relative: 1.0 1.0;
23221                   offset: 4 4;
23222                }
23223                image {
23224                   normal: "bt_sm_base1.png";
23225                   border: 6 6 6 6;
23226                }
23227                image.middle: SOLID;
23228             }
23229             description { state: "selected" 0.0;
23230                inherit: "default" 0.0;
23231                visible: 1;
23232                color: 255 255 255 255;
23233                rel1 {
23234                   relative: 0.0 0.0;
23235                   offset: -2 -2;
23236                }
23237                rel2 {
23238                   relative: 1.0 1.0;
23239                   offset: 1 1;
23240                }
23241             }
23242          }
23243          part { name: "elm.swallow.pad";
23244             type: SWALLOW;
23245             description { state: "default" 0.0;
23246                fixed: 1 0;
23247                align: 0.0 0.5;
23248                rel1 {
23249                   relative: 0.0  0.0;
23250                   offset:   4    4;
23251                }
23252                rel2 {
23253                   relative: 0.0  1.0;
23254                   offset:   4   -5;
23255                }
23256             }
23257          }
23258          part { name: "elm.text.title";
23259             clip_to: "disclip";
23260             type:           TEXT;
23261             effect:         SOFT_SHADOW;
23262             mouse_events:   0;
23263             scale: 1;
23264             description {
23265                state: "default" 0.0;
23266                rel1 {
23267                   relative: 0.0  0.0;
23268                   offset:   4 4;
23269                }
23270                rel2 {
23271                   relative: 1.0  0.5;
23272                   offset:   -1 -5;
23273                }
23274                color: 0 0 0 255;
23275                color3: 0 0 0 0;
23276                text {
23277                   font: "Sans";
23278                   size: 10;
23279                   min: 0 1;
23280                   align: 0.0 0.5;
23281                }
23282             }
23283             description { state: "selected" 0.0;
23284                inherit: "default" 0.0;
23285                color: 224 224 224 255;
23286                color3: 0 0 0 64;
23287             }
23288          }
23289          part { name: "elm.text.album-artist";
23290             clip_to: "disclip";
23291             type:           TEXT;
23292             mouse_events:   0;
23293             scale: 1;
23294             description {
23295                state: "default" 0.0;
23296                rel1 {
23297                   relative: 0.0  0.5;
23298                   offset:   4 4;
23299                }
23300                rel2 {
23301                   relative: 1.0  1.0;
23302                   offset:   -1 -5;
23303                }
23304                color: 0 0 0 128;
23305                color3: 0 0 0 0;
23306                text {
23307                   font: "Sans";
23308                   size: 8;
23309                   min: 0 1;
23310                   align: 0.0 0.5;
23311                }
23312             }
23313             description { state: "selected" 0.0;
23314                inherit: "default" 0.0;
23315                color: 128 128 128 255;
23316                color3: 0 0 0 32;
23317             }
23318          }
23319          part { name: "fg1";
23320             clip_to: "disclip";
23321             mouse_events: 0;
23322             description { state: "default" 0.0;
23323                visible: 0;
23324                color: 255 255 255 0;
23325                rel1.to: "bg";
23326                rel2.relative: 1.0 0.5;
23327                rel2.to: "bg";
23328                image {
23329                   normal: "bt_sm_hilight.png";
23330                   border: 6 6 6 0;
23331                }
23332             }
23333             description { state: "selected" 0.0;
23334                inherit: "default" 0.0;
23335                visible: 1;
23336                color: 255 255 255 255;
23337             }
23338          }
23339          part { name: "fg2";
23340             clip_to: "disclip";
23341             mouse_events: 0;
23342             description { state: "default" 0.0;
23343                visible: 0;
23344                color: 255 255 255 0;
23345                rel1.to: "bg";
23346                rel2.to: "bg";
23347                image {
23348                   normal: "bt_sm_shine.png";
23349                   border: 6 6 6 0;
23350                }
23351             }
23352             description { state: "selected" 0.0;
23353                inherit: "default" 0.0;
23354                visible: 1;
23355                color: 255 255 255 255;
23356             }
23357          }
23358          part { name: "disclip";
23359             type: RECT;
23360             description { state: "default" 0.0;
23361                rel1.to: "bg";
23362                rel2.to: "bg";
23363             }
23364             description { state: "disabled" 0.0;
23365                inherit: "default" 0.0;
23366                color: 255 255 255 64;
23367             }
23368          }
23369       }
23370       programs {
23371          // signal: elm,state,%s,active
23372          //   a "check" item named %s went active
23373          // signal: elm,state,%s,passive
23374          //   a "check" item named %s went passive
23375          // default is passive
23376          program {
23377             name:    "go_active";
23378             signal:  "elm,state,selected";
23379             source:  "elm";
23380             action:  STATE_SET "selected" 0.0;
23381             target:  "bg";
23382             target:  "fg1";
23383             target:  "fg2";
23384             target:  "elm.text.title";
23385             target:  "elm.text.album-artist";
23386          }
23387          program {
23388             name:    "go_passive";
23389             signal:  "elm,state,unselected";
23390             source:  "elm";
23391             action:  STATE_SET "default" 0.0;
23392             target:  "bg";
23393             target:  "fg1";
23394             target:  "fg2";
23395             target:  "elm.text.title";
23396             target:  "elm.text.album-artist";
23397             transition: LINEAR 0.1;
23398          }
23399          program {
23400             name:    "go_disabled";
23401             signal:  "elm,state,disabled";
23402             source:  "elm";
23403             action:  STATE_SET "disabled" 0.0;
23404             target:  "disclip";
23405          }
23406          program {
23407             name:    "go_enabled";
23408             signal:  "elm,state,enabled";
23409             source:  "elm";
23410             action:  STATE_SET "default" 0.0;
23411             target:  "disclip";
23412          }
23413       }
23414    }
23415    group { name: "elm/genlist/item_compress_odd/media/default";
23416       data.item: "stacking" "below";
23417       data.item: "selectraise" "on";
23418       data.item: "labels" "elm.text.title elm.text.album-artist";
23419       data.item: "treesize" "20";
23420       images {
23421          image: "bt_sm_base1.png" COMP;
23422          image: "bt_sm_shine.png" COMP;
23423          image: "bt_sm_hilight.png" COMP;
23424          image: "ilist_2.png" COMP;
23425       }
23426       parts {
23427          part { name: "event";
23428             type: RECT;
23429             repeat_events: 1;
23430             description {
23431                state: "default" 0.0;
23432                color: 0 0 0 0;
23433             }
23434          }
23435          part {
23436             name: "base";
23437             mouse_events: 0;
23438             description {
23439                state: "default" 0.0;
23440                image {
23441                   normal: "ilist_2.png";
23442                   border: 2 2 2 2;
23443                }
23444                fill.smooth: 0;
23445             }
23446          }
23447          part { name: "bg";
23448             clip_to: "disclip";
23449             mouse_events: 0;
23450             description { state: "default" 0.0;
23451                visible: 0;
23452                color: 255 255 255 0;
23453                rel1 {
23454                   relative: 0.0 0.0;
23455                   offset: -5 -5;
23456                }
23457                rel2 {
23458                   relative: 1.0 1.0;
23459                   offset: 4 4;
23460                }
23461                image {
23462                   normal: "bt_sm_base1.png";
23463                   border: 6 6 6 6;
23464                }
23465                image.middle: SOLID;
23466             }
23467             description { state: "selected" 0.0;
23468                inherit: "default" 0.0;
23469                visible: 1;
23470                color: 255 255 255 255;
23471                rel1 {
23472                   relative: 0.0 0.0;
23473                   offset: -2 -2;
23474                }
23475                rel2 {
23476                   relative: 1.0 1.0;
23477                   offset: 1 1;
23478                }
23479             }
23480          }
23481          part { name: "elm.swallow.pad";
23482             type: SWALLOW;
23483             description { state: "default" 0.0;
23484                fixed: 1 0;
23485                align: 0.0 0.5;
23486                rel1 {
23487                   relative: 0.0  0.0;
23488                   offset:   4    4;
23489                }
23490                rel2 {
23491                   relative: 0.0  1.0;
23492                   offset:   4   -5;
23493                }
23494             }
23495          }
23496          part { name: "elm.text.title";
23497             clip_to: "disclip";
23498             type:           TEXT;
23499             effect:         SOFT_SHADOW;
23500             mouse_events:   0;
23501             scale: 1;
23502             description {
23503                state: "default" 0.0;
23504                rel1 {
23505                   relative: 0.0  0.0;
23506                   offset:   4 4;
23507                }
23508                rel2 {
23509                   relative: 1.0  0.5;
23510                   offset:   -1 -5;
23511                }
23512                color: 0 0 0 255;
23513                color3: 0 0 0 0;
23514                text {
23515                   font: "Sans";
23516                   size: 10;
23517                   min: 0 1;
23518                   align: 0.0 0.5;
23519                }
23520             }
23521             description { state: "selected" 0.0;
23522                inherit: "default" 0.0;
23523                color: 224 224 224 255;
23524                color3: 0 0 0 64;
23525             }
23526          }
23527          part { name: "elm.text.album-artist";
23528             clip_to: "disclip";
23529             type:           TEXT;
23530             mouse_events:   0;
23531             scale: 1;
23532             description {
23533                state: "default" 0.0;
23534                rel1 {
23535                   relative: 0.0  0.5;
23536                   offset:   4 4;
23537                }
23538                rel2 {
23539                   relative: 1.0  1.0;
23540                   offset:   -1 -5;
23541                }
23542                color: 0 0 0 128;
23543                color3: 0 0 0 0;
23544                text {
23545                   font: "Sans";
23546                   size: 8;
23547                   min: 0 1;
23548                   align: 0.0 0.5;
23549                }
23550             }
23551             description { state: "selected" 0.0;
23552                inherit: "default" 0.0;
23553                color: 128 128 128 255;
23554                color3: 0 0 0 32;
23555             }
23556          }
23557          part { name: "fg1";
23558             clip_to: "disclip";
23559             mouse_events: 0;
23560             description { state: "default" 0.0;
23561                visible: 0;
23562                color: 255 255 255 0;
23563                rel1.to: "bg";
23564                rel2.relative: 1.0 0.5;
23565                rel2.to: "bg";
23566                image {
23567                   normal: "bt_sm_hilight.png";
23568                   border: 6 6 6 0;
23569                }
23570             }
23571             description { state: "selected" 0.0;
23572                inherit: "default" 0.0;
23573                visible: 1;
23574                color: 255 255 255 255;
23575             }
23576          }
23577          part { name: "fg2";
23578             clip_to: "disclip";
23579             mouse_events: 0;
23580             description { state: "default" 0.0;
23581                visible: 0;
23582                color: 255 255 255 0;
23583                rel1.to: "bg";
23584                rel2.to: "bg";
23585                image {
23586                   normal: "bt_sm_shine.png";
23587                   border: 6 6 6 0;
23588                }
23589             }
23590             description { state: "selected" 0.0;
23591                inherit: "default" 0.0;
23592                visible: 1;
23593                color: 255 255 255 255;
23594             }
23595          }
23596          part { name: "disclip";
23597             type: RECT;
23598             description { state: "default" 0.0;
23599                rel1.to: "bg";
23600                rel2.to: "bg";
23601             }
23602             description { state: "disabled" 0.0;
23603                inherit: "default" 0.0;
23604                color: 255 255 255 64;
23605             }
23606          }
23607       }
23608       programs {
23609          // signal: elm,state,%s,active
23610          //   a "check" item named %s went active
23611          // signal: elm,state,%s,passive
23612          //   a "check" item named %s went passive
23613          // default is passive
23614          program {
23615             name:    "go_active";
23616             signal:  "elm,state,selected";
23617             source:  "elm";
23618             action:  STATE_SET "selected" 0.0;
23619             target:  "bg";
23620             target:  "fg1";
23621             target:  "fg2";
23622             target:  "elm.text.title";
23623             target:  "elm.text.album-artist";
23624          }
23625          program {
23626             name:    "go_passive";
23627             signal:  "elm,state,unselected";
23628             source:  "elm";
23629             action:  STATE_SET "default" 0.0;
23630             target:  "bg";
23631             target:  "fg1";
23632             target:  "fg2";
23633             target:  "elm.text.title";
23634             target:  "elm.text.album-artist";
23635             transition: LINEAR 0.1;
23636          }
23637          program {
23638             name:    "go_disabled";
23639             signal:  "elm,state,disabled";
23640             source:  "elm";
23641             action:  STATE_SET "disabled" 0.0;
23642             target:  "disclip";
23643          }
23644          program {
23645             name:    "go_enabled";
23646             signal:  "elm,state,enabled";
23647             source:  "elm";
23648             action:  STATE_SET "default" 0.0;
23649             target:  "disclip";
23650          }
23651       }
23652    }
23653
23654    group { name: "elm/genlist/item_compress/media-album/default";
23655       data.item: "stacking" "above";
23656       data.item: "selectraise" "on";
23657       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23658       data.item: "states" "elm.state.trackno";
23659       data.item: "treesize" "20";
23660       images {
23661          image: "bt_sm_base1.png" COMP;
23662          image: "bt_sm_shine.png" COMP;
23663          image: "bt_sm_hilight.png" COMP;
23664          image: "ilist_1.png" COMP;
23665          image: "ilist_item_shadow.png" COMP;
23666       }
23667       script {
23668          public dot_visible;
23669       }
23670       parts {
23671          part {
23672             name: "event";
23673             type: RECT;
23674             repeat_events: 1;
23675             description {
23676                state: "default" 0.0;
23677                color: 0 0 0 0;
23678             }
23679          }
23680          part {
23681             name: "base_sh";
23682             mouse_events: 0;
23683             description {
23684                state: "default" 0.0;
23685                align: 0.0 0.0;
23686                min: 0 10;
23687                fixed: 1 1;
23688                rel1 {
23689                   to: "base";
23690                   relative: 0.0 1.0;
23691                   offset: 0 0;
23692                }
23693                rel2 {
23694                   to: "base";
23695                   relative: 1.0 1.0;
23696                   offset: -1 0;
23697                }
23698                image {
23699                   normal: "ilist_item_shadow.png";
23700                }
23701                fill.smooth: 0;
23702             }
23703          }
23704          part {
23705             name: "base";
23706             mouse_events: 0;
23707             description {
23708                state: "default" 0.0;
23709                image {
23710                   normal: "ilist_1.png";
23711                   border: 2 2 2 2;
23712                }
23713                fill.smooth: 0;
23714             }
23715          }
23716          part { name: "bg";
23717             clip_to: "disclip";
23718             mouse_events: 0;
23719             description { state: "default" 0.0;
23720                visible: 0;
23721                color: 255 255 255 0;
23722                rel1 {
23723                   relative: 0.0 0.0;
23724                   offset: -5 -5;
23725                }
23726                rel2 {
23727                   relative: 1.0 1.0;
23728                   offset: 4 4;
23729                }
23730                image {
23731                   normal: "bt_sm_base1.png";
23732                   border: 6 6 6 6;
23733                }
23734                image.middle: SOLID;
23735             }
23736             description { state: "selected" 0.0;
23737                inherit: "default" 0.0;
23738                visible: 1;
23739                color: 255 255 255 255;
23740                rel1 {
23741                   relative: 0.0 0.0;
23742                   offset: -2 -2;
23743                }
23744                rel2 {
23745                   relative: 1.0 1.0;
23746                   offset: 1 1;
23747                }
23748             }
23749          }
23750          part { name: "elm.swallow.pad";
23751             type: SWALLOW;
23752             description { state: "default" 0.0;
23753                fixed: 1 0;
23754                align: 0.0 0.5;
23755                rel1 {
23756                   relative: 0.0  0.0;
23757                   offset:   4    4;
23758                }
23759                rel2 {
23760                   relative: 0.0  1.0;
23761                   offset:   4   -5;
23762                }
23763             }
23764          }
23765          part {
23766             name: "elm.text.trackno";
23767             type: TEXT;
23768             scale: 1;
23769             mouse_events: 0;
23770             description {
23771                state: "default" 0.0;
23772                color: 255 255 255 255;
23773                align: 0.0 0.0;
23774                fixed: 1 0;
23775                rel1 {
23776                   to_y: "elm.text.title";
23777                   relative: 0.0 0.0;
23778                   offset: 5 0;
23779                }
23780                rel2 {
23781                   to_y: "elm.text.title";
23782                   relative: 0.0 1.0;
23783                   offset: 20 0;
23784                }
23785                color: 0 0 0 255;
23786                color3: 0 0 0 0;
23787                text {
23788                   font: "Sans";
23789                   size: 10;
23790                   min: 1 1;
23791                   align: 1.0 0.5;
23792                }
23793             }
23794             description { state: "selected" 0.0;
23795                inherit: "default" 0.0;
23796                color: 224 224 224 255;
23797                color3: 0 0 0 64;
23798             }
23799          }
23800          part {
23801             name: "dot";
23802             type: TEXT;
23803             scale: 1;
23804             mouse_events: 0;
23805             description {
23806                state: "default" 0.0;
23807                color: 255 255 255 255;
23808                visible: 0;
23809                fixed: 1 1;
23810                align: 0.0 0.0;
23811                rel1 {
23812                   to_x: "elm.text.trackno";
23813                   to_y: "elm.text.title";
23814                   relative: 1.0 0.0;
23815                   offset: 1 0;
23816                }
23817                rel2 {
23818                   to_x: "elm.text.trackno";
23819                   to_y: "elm.text.title";
23820                   relative: 1.0 1.0;
23821                   offset: 1 0;
23822
23823                }
23824                color: 0 0 0 255;
23825                color3: 0 0 0 0;
23826                text {
23827                   font: "Sans";
23828                   size: 10;
23829                   min: 1 1;
23830                   align: 0.0 0.5;
23831                   text: ".";
23832                }
23833             }
23834             description {
23835                state: "visible" 0.0;
23836                inherit: "default" 0.0;
23837                visible: 1;
23838             }
23839             description { state: "selected" 0.0;
23840                inherit: "default" 0.0;
23841                color: 224 224 224 255;
23842                color3: 0 0 0 64;
23843                visible: 1;
23844             }
23845          }
23846          programs {
23847             program {
23848                signal: "elm,state,elm.state.trackno,active";
23849                source: "elm";
23850                script {
23851                   set_state(PART:"dot", "visible", 0.0);
23852                   set_int(dot_visible, 1);
23853                }
23854             }
23855          }
23856          part { name: "elm.text.title";
23857             clip_to: "disclip";
23858             type:           TEXT;
23859             effect:         SOFT_SHADOW;
23860             mouse_events:   0;
23861             scale: 1;
23862             description {
23863                state: "default" 0.0;
23864                rel1 {
23865                   to_x: "dot";
23866                   relative: 0.0  0.0;
23867                   offset:   4 4;
23868                }
23869                rel2 {
23870                   relative: 1.0  0.5;
23871                   offset:   -1 -5;
23872                }
23873                color: 0 0 0 255;
23874                color3: 0 0 0 0;
23875                text {
23876                   font: "Sans";
23877                   size: 10;
23878                   min: 0 1;
23879                   align: 0.0 0.5;
23880                }
23881             }
23882             description { state: "selected" 0.0;
23883                inherit: "default" 0.0;
23884                color: 224 224 224 255;
23885                color3: 0 0 0 64;
23886             }
23887          }
23888          part { name: "elm.text.length";
23889             clip_to: "disclip";
23890             type:           TEXT;
23891             mouse_events:   0;
23892             scale: 1;
23893             description {
23894                state: "default" 0.0;
23895                rel1 {
23896                   relative: 0.0  0.5;
23897                   offset:   4 4;
23898                }
23899                rel2 {
23900                   relative: 1.0  1.0;
23901                   offset:   -1 -5;
23902                }
23903                color: 0 0 0 128;
23904                color3: 0 0 0 0;
23905                text {
23906                   font: "Sans";
23907                   size: 8;
23908                   min: 0 1;
23909                   align: 0.0 0.5;
23910                }
23911             }
23912             description { state: "selected" 0.0;
23913                inherit: "default" 0.0;
23914                color: 128 128 128 255;
23915                color3: 0 0 0 32;
23916             }
23917          }
23918          part { name: "fg1";
23919             clip_to: "disclip";
23920             mouse_events: 0;
23921             description { state: "default" 0.0;
23922                visible: 0;
23923                color: 255 255 255 0;
23924                rel1.to: "bg";
23925                rel2.relative: 1.0 0.5;
23926                rel2.to: "bg";
23927                image {
23928                   normal: "bt_sm_hilight.png";
23929                   border: 6 6 6 0;
23930                }
23931             }
23932             description { state: "selected" 0.0;
23933                inherit: "default" 0.0;
23934                visible: 1;
23935                color: 255 255 255 255;
23936             }
23937          }
23938          part { name: "fg2";
23939             clip_to: "disclip";
23940             mouse_events: 0;
23941             description { state: "default" 0.0;
23942                visible: 0;
23943                color: 255 255 255 0;
23944                rel1.to: "bg";
23945                rel2.to: "bg";
23946                image {
23947                   normal: "bt_sm_shine.png";
23948                   border: 6 6 6 0;
23949                }
23950             }
23951             description { state: "selected" 0.0;
23952                inherit: "default" 0.0;
23953                visible: 1;
23954                color: 255 255 255 255;
23955             }
23956          }
23957          part { name: "disclip";
23958             type: RECT;
23959             description { state: "default" 0.0;
23960                rel1.to: "bg";
23961                rel2.to: "bg";
23962             }
23963             description { state: "disabled" 0.0;
23964                inherit: "default" 0.0;
23965                color: 255 255 255 64;
23966             }
23967          }
23968       }
23969       programs {
23970          // signal: elm,state,%s,active
23971          //   a "check" item named %s went active
23972          // signal: elm,state,%s,passive
23973          //   a "check" item named %s went passive
23974          // default is passive
23975          program {
23976             name:    "go_active";
23977             signal:  "elm,state,selected";
23978             source:  "elm";
23979             action:  STATE_SET "selected" 0.0;
23980             target:  "bg";
23981             target:  "fg1";
23982             target:  "fg2";
23983             target:  "elm.text.title";
23984             target:  "elm.text.trackno";
23985             target:  "elm.text.length";
23986             after:   "dot_active";
23987          }
23988          program {
23989             name: "dot_active";
23990             script {
23991                if (get_int(dot_visible) == 1)
23992                   set_state(PART:"dot", "selected", 0.0);
23993             }
23994          }
23995          program {
23996             name:    "go_passive";
23997             signal:  "elm,state,unselected";
23998             source:  "elm";
23999             action:  STATE_SET "default" 0.0;
24000             target:  "bg";
24001             target:  "fg1";
24002             target:  "fg2";
24003             target:  "elm.text.title";
24004             target:  "elm.text.length";
24005             target:  "elm.text.trackno";
24006             transition: LINEAR 0.1;
24007             after:   "dot_passive";
24008          }
24009          program {
24010             name: "dot_passive";
24011             script {
24012                if (get_int(dot_visible) == 1)
24013                   set_state(PART:"dot", "visible", 0.0);
24014             }
24015          }
24016          program {
24017             name:    "go_disabled";
24018             signal:  "elm,state,disabled";
24019             source:  "elm";
24020             action:  STATE_SET "disabled" 0.0;
24021             target:  "disclip";
24022          }
24023          program {
24024             name:    "go_enabled";
24025             signal:  "elm,state,enabled";
24026             source:  "elm";
24027             action:  STATE_SET "default" 0.0;
24028             target:  "disclip";
24029          }
24030       }
24031    }
24032    group { name: "elm/genlist/item_compress_odd/media-album/default";
24033       data.item: "stacking" "below";
24034       data.item: "selectraise" "on";
24035       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24036       data.item: "states" "elm.state.trackno";
24037       data.item: "treesize" "20";
24038       images {
24039          image: "bt_sm_base1.png" COMP;
24040          image: "bt_sm_shine.png" COMP;
24041          image: "bt_sm_hilight.png" COMP;
24042          image: "ilist_2.png" COMP;
24043       }
24044       script {
24045          public dot_visible;
24046       }
24047       parts {
24048          part { name: "event";
24049             type: RECT;
24050             repeat_events: 1;
24051             description {
24052                state: "default" 0.0;
24053                color: 0 0 0 0;
24054             }
24055          }
24056          part {
24057             name: "base";
24058             mouse_events: 0;
24059             description {
24060                state: "default" 0.0;
24061                image {
24062                   normal: "ilist_2.png";
24063                   border: 2 2 2 2;
24064                }
24065                fill.smooth: 0;
24066             }
24067          }
24068          part { name: "bg";
24069             clip_to: "disclip";
24070             mouse_events: 0;
24071             description { state: "default" 0.0;
24072                visible: 0;
24073                color: 255 255 255 0;
24074                rel1 {
24075                   relative: 0.0 0.0;
24076                   offset: -5 -5;
24077                }
24078                rel2 {
24079                   relative: 1.0 1.0;
24080                   offset: 4 4;
24081                }
24082                image {
24083                   normal: "bt_sm_base1.png";
24084                   border: 6 6 6 6;
24085                }
24086                image.middle: SOLID;
24087             }
24088             description { state: "selected" 0.0;
24089                inherit: "default" 0.0;
24090                visible: 1;
24091                color: 255 255 255 255;
24092                rel1 {
24093                   relative: 0.0 0.0;
24094                   offset: -2 -2;
24095                }
24096                rel2 {
24097                   relative: 1.0 1.0;
24098                   offset: 1 1;
24099                }
24100             }
24101          }
24102          part { name: "elm.swallow.pad";
24103             type: SWALLOW;
24104             description { state: "default" 0.0;
24105                fixed: 1 0;
24106                align: 0.0 0.5;
24107                rel1 {
24108                   relative: 0.0  0.0;
24109                   offset:   4    4;
24110                }
24111                rel2 {
24112                   relative: 0.0  1.0;
24113                   offset:   4   -5;
24114                }
24115             }
24116          }
24117          part {
24118             name: "elm.text.trackno";
24119             type: TEXT;
24120             scale: 1;
24121             mouse_events: 0;
24122             description {
24123                state: "default" 0.0;
24124                color: 255 255 255 255;
24125                align: 0.0 0.0;
24126                fixed: 1 0;
24127                rel1 {
24128                   to_y: "elm.text.title";
24129                   relative: 0.0 0.0;
24130                   offset: 5 0;
24131                }
24132                rel2 {
24133                   to_y: "elm.text.title";
24134                   relative: 0.0 1.0;
24135                   offset: 20 0;
24136                }
24137                color: 0 0 0 255;
24138                color3: 0 0 0 0;
24139                text {
24140                   font: "Sans";
24141                   size: 10;
24142                   min: 1 1;
24143                   align: 1.0 0.5;
24144                }
24145             }
24146             description { state: "selected" 0.0;
24147                inherit: "default" 0.0;
24148                color: 224 224 224 255;
24149                color3: 0 0 0 64;
24150             }
24151          }
24152          part {
24153             name: "dot";
24154             type: TEXT;
24155             scale: 1;
24156             mouse_events: 0;
24157             description {
24158                state: "default" 0.0;
24159                color: 255 255 255 255;
24160                visible: 0;
24161                fixed: 1 1;
24162                align: 0.0 0.0;
24163                rel1 {
24164                   to_x: "elm.text.trackno";
24165                   to_y: "elm.text.title";
24166                   relative: 1.0 0.0;
24167                   offset: 1 0;
24168                }
24169                rel2 {
24170                   to_x: "elm.text.trackno";
24171                   to_y: "elm.text.title";
24172                   relative: 1.0 1.0;
24173                   offset: 1 0;
24174
24175                }
24176                color: 0 0 0 255;
24177                color3: 0 0 0 0;
24178                text {
24179                   font: "Sans";
24180                   size: 10;
24181                   min: 1 1;
24182                   align: 0.0 0.5;
24183                   text: ".";
24184                }
24185             }
24186             description {
24187                state: "visible" 0.0;
24188                inherit: "default" 0.0;
24189                visible: 1;
24190             }
24191             description { state: "selected" 0.0;
24192                inherit: "default" 0.0;
24193                color: 224 224 224 255;
24194                color3: 0 0 0 64;
24195                visible: 1;
24196             }
24197          }
24198          programs {
24199             program {
24200                signal: "elm,state,elm.state.trackno,active";
24201                source: "elm";
24202                script {
24203                   set_state(PART:"dot", "visible", 0.0);
24204                   set_int(dot_visible, 1);
24205                }
24206             }
24207          }
24208          part { name: "elm.text.title";
24209             clip_to: "disclip";
24210             type:           TEXT;
24211             effect:         SOFT_SHADOW;
24212             mouse_events:   0;
24213             scale: 1;
24214             description {
24215                state: "default" 0.0;
24216                rel1 {
24217                   to_x: "dot";
24218                   relative: 1.0  0.0;
24219                   offset:   4 4;
24220                }
24221                rel2 {
24222                   relative: 1.0  0.5;
24223                   offset:   -1 -5;
24224                }
24225                color: 0 0 0 255;
24226                color3: 0 0 0 0;
24227                text {
24228                   font: "Sans";
24229                   size: 10;
24230                   min: 0 1;
24231                   align: 0.0 0.5;
24232                }
24233             }
24234             description { state: "selected" 0.0;
24235                inherit: "default" 0.0;
24236                color: 224 224 224 255;
24237                color3: 0 0 0 64;
24238             }
24239          }
24240          part { name: "elm.text.length";
24241             clip_to: "disclip";
24242             type:           TEXT;
24243             mouse_events:   0;
24244             scale: 1;
24245             description {
24246                state: "default" 0.0;
24247                rel1 {
24248                   relative: 0.0  0.5;
24249                   offset:   4 4;
24250                }
24251                rel2 {
24252                   relative: 1.0  1.0;
24253                   offset:   -1 -5;
24254                }
24255                color: 0 0 0 128;
24256                color3: 0 0 0 0;
24257                text {
24258                   font: "Sans";
24259                   size: 8;
24260                   min: 0 1;
24261                   align: 0.0 0.5;
24262                }
24263             }
24264             description { state: "selected" 0.0;
24265                inherit: "default" 0.0;
24266                color: 128 128 128 255;
24267                color3: 0 0 0 32;
24268             }
24269          }
24270          part { name: "fg1";
24271             clip_to: "disclip";
24272             mouse_events: 0;
24273             description { state: "default" 0.0;
24274                visible: 0;
24275                color: 255 255 255 0;
24276                rel1.to: "bg";
24277                rel2.relative: 1.0 0.5;
24278                rel2.to: "bg";
24279                image {
24280                   normal: "bt_sm_hilight.png";
24281                   border: 6 6 6 0;
24282                }
24283             }
24284             description { state: "selected" 0.0;
24285                inherit: "default" 0.0;
24286                visible: 1;
24287                color: 255 255 255 255;
24288             }
24289          }
24290          part { name: "fg2";
24291             clip_to: "disclip";
24292             mouse_events: 0;
24293             description { state: "default" 0.0;
24294                visible: 0;
24295                color: 255 255 255 0;
24296                rel1.to: "bg";
24297                rel2.to: "bg";
24298                image {
24299                   normal: "bt_sm_shine.png";
24300                   border: 6 6 6 0;
24301                }
24302             }
24303             description { state: "selected" 0.0;
24304                inherit: "default" 0.0;
24305                visible: 1;
24306                color: 255 255 255 255;
24307             }
24308          }
24309          part { name: "disclip";
24310             type: RECT;
24311             description { state: "default" 0.0;
24312                rel1.to: "bg";
24313                rel2.to: "bg";
24314             }
24315             description { state: "disabled" 0.0;
24316                inherit: "default" 0.0;
24317                color: 255 255 255 64;
24318             }
24319          }
24320       }
24321       programs {
24322          // signal: elm,state,%s,active
24323          //   a "check" item named %s went active
24324          // signal: elm,state,%s,passive
24325          //   a "check" item named %s went passive
24326          // default is passive
24327          program {
24328             name:    "go_active";
24329             signal:  "elm,state,selected";
24330             source:  "elm";
24331             action:  STATE_SET "selected" 0.0;
24332             target:  "bg";
24333             target:  "fg1";
24334             target:  "fg2";
24335             target:  "elm.text.title";
24336             target:  "elm.text.length";
24337             target:  "elm.text.trackno";
24338             after:   "dot_active";
24339          }
24340          program {
24341             name: "dot_active";
24342             script {
24343                if (get_int(dot_visible) == 1)
24344                   set_state(PART:"dot", "selected", 0.0);
24345             }
24346          }
24347          program {
24348             name:    "go_passive";
24349             signal:  "elm,state,unselected";
24350             source:  "elm";
24351             action:  STATE_SET "default" 0.0;
24352             target:  "bg";
24353             target:  "fg1";
24354             target:  "fg2";
24355             target:  "elm.text.title";
24356             target:  "elm.text.length";
24357             target:  "elm.text.trackno";
24358             transition: LINEAR 0.1;
24359             after:   "dot_passive";
24360          }
24361          program {
24362             name: "dot_passive";
24363             script {
24364                if (get_int(dot_visible) == 1)
24365                   set_state(PART:"dot", "visible", 0.0);
24366             }
24367          }
24368          program {
24369             name:    "go_disabled";
24370             signal:  "elm,state,disabled";
24371             source:  "elm";
24372             action:  STATE_SET "disabled" 0.0;
24373             target:  "disclip";
24374          }
24375          program {
24376             name:    "go_enabled";
24377             signal:  "elm,state,enabled";
24378             source:  "elm";
24379             action:  STATE_SET "default" 0.0;
24380             target:  "disclip";
24381          }
24382       }
24383    }
24384
24385    group { name: "elm/genlist/item_compress/media-preview/default";
24386       data.item: "stacking" "above";
24387       data.item: "selectraise" "on";
24388       data.item: "labels" "elm.text.title elm.text.artist";
24389       data.item: "icons" "elm.swallow.preview";
24390       data.item: "treesize" "20";
24391       images {
24392          image: "bt_sm_base1.png" COMP;
24393          image: "bt_sm_shine.png" COMP;
24394          image: "bt_sm_hilight.png" COMP;
24395          image: "ilist_1.png" COMP;
24396          image: "ilist_item_shadow.png" COMP;
24397       }
24398       parts {
24399          part {
24400             name: "event";
24401             type: RECT;
24402             repeat_events: 1;
24403             description {
24404                state: "default" 0.0;
24405                color: 0 0 0 0;
24406             }
24407          }
24408          part {
24409             name: "base_sh";
24410             mouse_events: 0;
24411             description {
24412                state: "default" 0.0;
24413                align: 0.0 0.0;
24414                min: 0 10;
24415                fixed: 1 1;
24416                rel1 {
24417                   to: "base";
24418                   relative: 0.0 1.0;
24419                   offset: 0 0;
24420                }
24421                rel2 {
24422                   to: "base";
24423                   relative: 1.0 1.0;
24424                   offset: -1 0;
24425                }
24426                image {
24427                   normal: "ilist_item_shadow.png";
24428                }
24429                fill.smooth: 0;
24430             }
24431          }
24432          part {
24433             name: "base";
24434             mouse_events: 0;
24435             description {
24436                state: "default" 0.0;
24437                image {
24438                   normal: "ilist_1.png";
24439                   border: 2 2 2 2;
24440                }
24441                fill.smooth: 0;
24442             }
24443          }
24444          part { name: "bg";
24445             clip_to: "disclip";
24446             mouse_events: 0;
24447             description { state: "default" 0.0;
24448                visible: 0;
24449                color: 255 255 255 0;
24450                rel1 {
24451                   relative: 0.0 0.0;
24452                   offset: -5 -5;
24453                }
24454                rel2 {
24455                   relative: 1.0 1.0;
24456                   offset: 4 4;
24457                }
24458                image {
24459                   normal: "bt_sm_base1.png";
24460                   border: 6 6 6 6;
24461                }
24462                image.middle: SOLID;
24463             }
24464             description { state: "selected" 0.0;
24465                inherit: "default" 0.0;
24466                visible: 1;
24467                color: 255 255 255 255;
24468                rel1 {
24469                   relative: 0.0 0.0;
24470                   offset: -2 -2;
24471                }
24472                rel2 {
24473                   relative: 1.0 1.0;
24474                   offset: 1 1;
24475                }
24476             }
24477          }
24478          part { name: "elm.swallow.pad";
24479             type: SWALLOW;
24480             description { state: "default" 0.0;
24481                fixed: 1 0;
24482                align: 0.0 0.5;
24483                rel1 {
24484                   relative: 0.0  0.0;
24485                   offset:   4    4;
24486                }
24487                rel2 {
24488                   relative: 0.0  1.0;
24489                   offset:   4   -5;
24490                }
24491             }
24492          }
24493          part { name: "elm.swallow.preview";
24494             clip_to: "disclip";
24495             type: SWALLOW;
24496             description { state: "default" 0.0;
24497                fixed: 1 0;
24498                align: 0.0 0.5;
24499                min: 68 68;
24500                max: 68 68;
24501                rel1 {
24502                   to_x: "elm.swallow.pad";
24503                   relative: 1.0  0.0;
24504                   offset:   -1    4;
24505                }
24506                rel2 {
24507                   to_x: "elm.swallow.pad";
24508                   relative: 1.0  1.0;
24509                   offset:   -1   -5;
24510                }
24511             }
24512          }
24513          part { name: "elm.text.title";
24514             clip_to: "disclip";
24515             type:           TEXT;
24516             effect:         SOFT_SHADOW;
24517             mouse_events:   0;
24518             scale: 1;
24519             description {
24520                state: "default" 0.0;
24521                rel1 {
24522                   to_x:     "elm.swallow.preview";
24523                   relative: 1.0  0.0;
24524                   offset:   4 4;
24525                }
24526                rel2 {
24527                   relative: 1.0  0.5;
24528                   offset:   -1 -5;
24529                }
24530                color: 0 0 0 255;
24531                color3: 0 0 0 0;
24532                text {
24533                   font: "Sans";
24534                   size: 10;
24535                   min: 0 1;
24536                   align: 0.0 0.5;
24537                }
24538             }
24539             description { state: "selected" 0.0;
24540                inherit: "default" 0.0;
24541                color: 224 224 224 255;
24542                color3: 0 0 0 64;
24543             }
24544          }
24545          part { name: "elm.text.artist";
24546             clip_to: "disclip";
24547             type:           TEXT;
24548             mouse_events:   0;
24549             scale: 1;
24550             description {
24551                state: "default" 0.0;
24552                rel1 {
24553                   to_x:     "elm.swallow.preview";
24554                   relative: 1.0  0.5;
24555                   offset:   4 4;
24556                }
24557                rel2 {
24558                   relative: 1.0  1.0;
24559                   offset:   -1 -5;
24560                }
24561                color: 0 0 0 128;
24562                color3: 0 0 0 0;
24563                text {
24564                   font: "Sans";
24565                   size: 8;
24566                   min: 0 1;
24567                   align: 0.0 0.5;
24568                }
24569             }
24570             description { state: "selected" 0.0;
24571                inherit: "default" 0.0;
24572                color: 128 128 128 255;
24573                color3: 0 0 0 32;
24574             }
24575          }
24576          part { name: "fg1";
24577             clip_to: "disclip";
24578             mouse_events: 0;
24579             description { state: "default" 0.0;
24580                visible: 0;
24581                color: 255 255 255 0;
24582                rel1.to: "bg";
24583                rel2.relative: 1.0 0.5;
24584                rel2.to: "bg";
24585                image {
24586                   normal: "bt_sm_hilight.png";
24587                   border: 6 6 6 0;
24588                }
24589             }
24590             description { state: "selected" 0.0;
24591                inherit: "default" 0.0;
24592                visible: 1;
24593                color: 255 255 255 255;
24594             }
24595          }
24596          part { name: "fg2";
24597             clip_to: "disclip";
24598             mouse_events: 0;
24599             description { state: "default" 0.0;
24600                visible: 0;
24601                color: 255 255 255 0;
24602                rel1.to: "bg";
24603                rel2.to: "bg";
24604                image {
24605                   normal: "bt_sm_shine.png";
24606                   border: 6 6 6 0;
24607                }
24608             }
24609             description { state: "selected" 0.0;
24610                inherit: "default" 0.0;
24611                visible: 1;
24612                color: 255 255 255 255;
24613             }
24614          }
24615          part { name: "disclip";
24616             type: RECT;
24617             description { state: "default" 0.0;
24618                rel1.to: "bg";
24619                rel2.to: "bg";
24620             }
24621             description { state: "disabled" 0.0;
24622                inherit: "default" 0.0;
24623                color: 255 255 255 64;
24624             }
24625          }
24626       }
24627       programs {
24628          // signal: elm,state,%s,active
24629          //   a "check" item named %s went active
24630          // signal: elm,state,%s,passive
24631          //   a "check" item named %s went passive
24632          // default is passive
24633          program {
24634             name:    "go_active";
24635             signal:  "elm,state,selected";
24636             source:  "elm";
24637             action:  STATE_SET "selected" 0.0;
24638             target:  "bg";
24639             target:  "fg1";
24640             target:  "fg2";
24641             target:  "elm.text.title";
24642             target:  "elm.text.artist";
24643          }
24644          program {
24645             name:    "go_passive";
24646             signal:  "elm,state,unselected";
24647             source:  "elm";
24648             action:  STATE_SET "default" 0.0;
24649             target:  "bg";
24650             target:  "fg1";
24651             target:  "fg2";
24652             target:  "elm.text.title";
24653             target:  "elm.text.artist";
24654             transition: LINEAR 0.1;
24655          }
24656          program {
24657             name:    "go_disabled";
24658             signal:  "elm,state,disabled";
24659             source:  "elm";
24660             action:  STATE_SET "disabled" 0.0;
24661             target:  "disclip";
24662          }
24663          program {
24664             name:    "go_enabled";
24665             signal:  "elm,state,enabled";
24666             source:  "elm";
24667             action:  STATE_SET "default" 0.0;
24668             target:  "disclip";
24669          }
24670       }
24671    }
24672    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24673       data.item: "stacking" "below";
24674       data.item: "selectraise" "on";
24675       data.item: "labels" "elm.text.title elm.text.artist";
24676       data.item: "icons" "elm.swallow.preview";
24677       data.item: "treesize" "20";
24678       images {
24679          image: "bt_sm_base1.png" COMP;
24680          image: "bt_sm_shine.png" COMP;
24681          image: "bt_sm_hilight.png" COMP;
24682          image: "ilist_2.png" COMP;
24683       }
24684       parts {
24685          part { name: "event";
24686             type: RECT;
24687             repeat_events: 1;
24688             description {
24689                state: "default" 0.0;
24690                color: 0 0 0 0;
24691             }
24692          }
24693          part {
24694             name: "base";
24695             mouse_events: 0;
24696             description {
24697                state: "default" 0.0;
24698                image {
24699                   normal: "ilist_2.png";
24700                   border: 2 2 2 2;
24701                }
24702                fill.smooth: 0;
24703             }
24704          }
24705          part { name: "bg";
24706             clip_to: "disclip";
24707             mouse_events: 0;
24708             description { state: "default" 0.0;
24709                visible: 0;
24710                color: 255 255 255 0;
24711                rel1 {
24712                   relative: 0.0 0.0;
24713                   offset: -5 -5;
24714                }
24715                rel2 {
24716                   relative: 1.0 1.0;
24717                   offset: 4 4;
24718                }
24719                image {
24720                   normal: "bt_sm_base1.png";
24721                   border: 6 6 6 6;
24722                }
24723                image.middle: SOLID;
24724             }
24725             description { state: "selected" 0.0;
24726                inherit: "default" 0.0;
24727                visible: 1;
24728                color: 255 255 255 255;
24729                rel1 {
24730                   relative: 0.0 0.0;
24731                   offset: -2 -2;
24732                }
24733                rel2 {
24734                   relative: 1.0 1.0;
24735                   offset: 1 1;
24736                }
24737             }
24738          }
24739          part { name: "elm.swallow.pad";
24740             type: SWALLOW;
24741             description { state: "default" 0.0;
24742                fixed: 1 0;
24743                align: 0.0 0.5;
24744                rel1 {
24745                   relative: 0.0  0.0;
24746                   offset:   4    4;
24747                }
24748                rel2 {
24749                   relative: 0.0  1.0;
24750                   offset:   4   -5;
24751                }
24752             }
24753          }
24754          part { name: "elm.swallow.preview";
24755             clip_to: "disclip";
24756             type: SWALLOW;
24757             description { state: "default" 0.0;
24758                fixed: 1 0;
24759                align: 0.0 0.5;
24760                min: 68 68;
24761                max: 68 68;
24762                rel1 {
24763                   to_x: "elm.swallow.pad";
24764                   relative: 1.0  0.0;
24765                   offset:   -1    4;
24766                }
24767                rel2 {
24768                   to_x: "elm.swallow.pad";
24769                   relative: 1.0  1.0;
24770                   offset:   -1   -5;
24771                }
24772             }
24773          }
24774          part { name: "elm.text.title";
24775             clip_to: "disclip";
24776             type:           TEXT;
24777             effect:         SOFT_SHADOW;
24778             mouse_events:   0;
24779             scale: 1;
24780             description {
24781                state: "default" 0.0;
24782                rel1 {
24783                   to_x:     "elm.swallow.preview";
24784                   relative: 1.0  0.0;
24785                   offset:   4 4;
24786                }
24787                rel2 {
24788                   relative: 1.0  0.5;
24789                   offset:   -1 -5;
24790                }
24791                color: 0 0 0 255;
24792                color3: 0 0 0 0;
24793                text {
24794                   font: "Sans";
24795                   size: 10;
24796                   min: 0 1;
24797                   align: 0.0 0.5;
24798                }
24799             }
24800             description { state: "selected" 0.0;
24801                inherit: "default" 0.0;
24802                color: 224 224 224 255;
24803                color3: 0 0 0 64;
24804             }
24805          }
24806          part { name: "elm.text.artist";
24807             clip_to: "disclip";
24808             type:           TEXT;
24809             mouse_events:   0;
24810             scale: 1;
24811             description {
24812                state: "default" 0.0;
24813                rel1 {
24814                   to_x:     "elm.swallow.preview";
24815                   relative: 1.0  0.5;
24816                   offset:   4 4;
24817                }
24818                rel2 {
24819                   relative: 1.0  1.0;
24820                   offset:   -1 -5;
24821                }
24822                color: 0 0 0 128;
24823                color3: 0 0 0 0;
24824                text {
24825                   font: "Sans";
24826                   size: 8;
24827                   min: 0 1;
24828                   align: 0.0 0.5;
24829                }
24830             }
24831             description { state: "selected" 0.0;
24832                inherit: "default" 0.0;
24833                color: 128 128 128 255;
24834                color3: 0 0 0 32;
24835             }
24836          }
24837          part { name: "fg1";
24838             clip_to: "disclip";
24839             mouse_events: 0;
24840             description { state: "default" 0.0;
24841                visible: 0;
24842                color: 255 255 255 0;
24843                rel1.to: "bg";
24844                rel2.relative: 1.0 0.5;
24845                rel2.to: "bg";
24846                image {
24847                   normal: "bt_sm_hilight.png";
24848                   border: 6 6 6 0;
24849                }
24850             }
24851             description { state: "selected" 0.0;
24852                inherit: "default" 0.0;
24853                visible: 1;
24854                color: 255 255 255 255;
24855             }
24856          }
24857          part { name: "fg2";
24858             clip_to: "disclip";
24859             mouse_events: 0;
24860             description { state: "default" 0.0;
24861                visible: 0;
24862                color: 255 255 255 0;
24863                rel1.to: "bg";
24864                rel2.to: "bg";
24865                image {
24866                   normal: "bt_sm_shine.png";
24867                   border: 6 6 6 0;
24868                }
24869             }
24870             description { state: "selected" 0.0;
24871                inherit: "default" 0.0;
24872                visible: 1;
24873                color: 255 255 255 255;
24874             }
24875          }
24876          part { name: "disclip";
24877             type: RECT;
24878             description { state: "default" 0.0;
24879                rel1.to: "bg";
24880                rel2.to: "bg";
24881             }
24882             description { state: "disabled" 0.0;
24883                inherit: "default" 0.0;
24884                color: 255 255 255 64;
24885             }
24886          }
24887       }
24888       programs {
24889          // signal: elm,state,%s,active
24890          //   a "check" item named %s went active
24891          // signal: elm,state,%s,passive
24892          //   a "check" item named %s went passive
24893          // default is passive
24894          program {
24895             name:    "go_active";
24896             signal:  "elm,state,selected";
24897             source:  "elm";
24898             action:  STATE_SET "selected" 0.0;
24899             target:  "bg";
24900             target:  "fg1";
24901             target:  "fg2";
24902             target:  "elm.text.title";
24903             target:  "elm.text.artist";
24904          }
24905          program {
24906             name:    "go_passive";
24907             signal:  "elm,state,unselected";
24908             source:  "elm";
24909             action:  STATE_SET "default" 0.0;
24910             target:  "bg";
24911             target:  "fg1";
24912             target:  "fg2";
24913             target:  "elm.text.title";
24914             target:  "elm.text.artist";
24915             transition: LINEAR 0.1;
24916          }
24917          program {
24918             name:    "go_disabled";
24919             signal:  "elm,state,disabled";
24920             source:  "elm";
24921             action:  STATE_SET "disabled" 0.0;
24922             target:  "disclip";
24923          }
24924          program {
24925             name:    "go_enabled";
24926             signal:  "elm,state,enabled";
24927             source:  "elm";
24928             action:  STATE_SET "default" 0.0;
24929             target:  "disclip";
24930          }
24931       }
24932    }
24933
24934    group { name: "elm/genlist/item/mode/default";
24935       data.item: "selectraise" "on";
24936       data.item: "labels" "elm.text.mode";
24937       data.item: "icons" "elm.swallow.mode";
24938       data.item: "mode_part" "elm.swallow.origin";
24939       data.item: "treesize" "20";
24940       images {
24941          image: "bt_sm_base1.png" COMP;
24942          image: "bt_sm_shine.png" COMP;
24943          image: "bt_sm_hilight.png" COMP;
24944          image: "ilist_1.png" COMP;
24945          image: "ilist_2.png" COMP;
24946          image: "ilist_item_shadow.png" COMP;
24947       }
24948
24949       parts {
24950          part {
24951             name: "event";
24952             type: RECT;
24953             repeat_events: 1;
24954             description {
24955                state: "default" 0.0;
24956                color: 0 0 0 0;
24957             }
24958          }
24959          part {
24960             name: "base_sh";
24961             mouse_events: 0;
24962             description {
24963                state: "default" 0.0;
24964                align: 0.0 0.0;
24965                min: 0 10;
24966                fixed: 1 1;
24967                rel1 {
24968                   to: "base";
24969                   relative: 0.0 1.0;
24970                   offset: 0 0;
24971                }
24972                rel2 {
24973                   to: "base";
24974                   relative: 1.0 1.0;
24975                   offset: -1 0;
24976                }
24977                image {
24978                   normal: "ilist_item_shadow.png";
24979                }
24980                fill.smooth: 0;
24981             }
24982             description {
24983                state: "default" 1.0;
24984                inherit: "default" 0.0;
24985                visible: 0;
24986             }
24987          }
24988          part {
24989             name: "base";
24990             mouse_events: 0;
24991             description {
24992                state: "default" 0.0;
24993                image {
24994                   normal: "ilist_1.png";
24995                   border: 2 2 2 2;
24996                }
24997                fill.smooth: 0;
24998             }
24999             description {
25000                state: "default" 1.0;
25001                inherit: "default" 0.0;
25002                image.normal: "ilist_2.png";
25003             }
25004          }
25005          part { name: "bg";
25006             clip_to: "disclip";
25007             mouse_events: 0;
25008             description { state: "default" 0.0;
25009                visible: 0;
25010                color: 255 255 255 0;
25011                rel1 {
25012                   relative: 0.0 0.0;
25013                   offset: -5 -5;
25014                }
25015                rel2 {
25016                   relative: 1.0 1.0;
25017                   offset: 4 4;
25018                }
25019                image {
25020                   normal: "bt_sm_base1.png";
25021                   border: 6 6 6 6;
25022                }
25023                image.middle: SOLID;
25024             }
25025             description { state: "default" 0.1;
25026                inherit: "default" 0.0;
25027             }
25028             description { state: "selected" 0.0;
25029                inherit: "default" 0.0;
25030                visible: 1;
25031                color: 255 255 255 255;
25032                rel1 {
25033                   relative: 0.0 0.0;
25034                   offset: -2 -2;
25035                }
25036                rel2 {
25037                   relative: 1.0 1.0;
25038                   offset: 1 1;
25039                }
25040             }
25041             description {
25042                state: "selected" 1.0;
25043                inherit: "selected" 0.0;
25044             }
25045          }
25046          part { name: "elm.text.mode";
25047             clip_to: "disclip";
25048             type: TEXT;
25049             scale: 1;
25050             description { state: "default" 0.0;
25051                rel2.relative: 0.5 1.0;
25052                color: 0 0 0 255;
25053                text {
25054                   font: "Sans";
25055                   size: 10;
25056                   min: 1 1;
25057                   align: -1.0 0.5;
25058                   text_class: "list_item";
25059                }
25060             }
25061          }
25062         part { name: "elm.swallow.mode";
25063             clip_to: "disclip";
25064             type: SWALLOW;
25065             description { state: "default" 0.0;
25066                rel1.relative: 0.5 0.0;
25067             }
25068          }
25069          part { name: "fg1";
25070             clip_to: "disclip";
25071             mouse_events: 0;
25072             description { state: "default" 0.0;
25073                visible: 0;
25074                color: 255 255 255 0;
25075                rel1.to: "bg";
25076                rel2.relative: 1.0 0.5;
25077                rel2.to: "bg";
25078                image {
25079                   normal: "bt_sm_hilight.png";
25080                   border: 6 6 6 0;
25081                }
25082             }
25083             description { state: "selected" 0.0;
25084                inherit: "default" 0.0;
25085                visible: 1;
25086                color: 255 255 255 255;
25087             }
25088             description {
25089                state: "selected" 1.0;
25090                inherit: "default" 0.0;
25091                visible: 1;
25092                color: 255 255 255 255;
25093             }
25094          }
25095          part { name: "fg2";
25096             clip_to: "disclip";
25097             mouse_events: 0;
25098             description { state: "default" 0.0;
25099                visible: 0;
25100                color: 255 255 255 0;
25101                rel1.to: "bg";
25102                rel2.to: "bg";
25103                image {
25104                   normal: "bt_sm_shine.png";
25105                   border: 6 6 6 0;
25106                }
25107             }
25108             description { state: "selected" 0.0;
25109                inherit: "default" 0.0;
25110                visible: 1;
25111                color: 255 255 255 255;
25112             }
25113             description {
25114                state: "selected" 1.0;
25115                inherit: "default" 0.0;
25116                visible: 1;
25117                color: 255 255 255 255;
25118             }
25119          }
25120          // Transparent part between base parts and slidable parts
25121          part { name: "event_block_layer";
25122             type: RECT;
25123             clip_to: "disclip";
25124             mouse_events: 1;
25125             description { state: "default" 0.0;
25126                rel1.to: "base";
25127                rel2.to: "base";
25128                color: 0 0 0 0;
25129             }
25130             description { state: "repeat_events" 0.0;
25131                inherit: "default" 0.0;
25132                visible: 0;
25133             }
25134          }
25135          part { name: "pers";
25136             clip_to: "disclip";
25137             type: RECT;
25138             description { state: "default" 0.0;
25139                rel1.relative: 0.0 1.0;
25140             }
25141          }
25142          part { name: "elm.swallow.origin";
25143             clip_to: "disclip";
25144             type: SWALLOW;
25145             description { state: "default" 0.0;
25146                fixed: 1 0;
25147                align: 0.0 0.5;
25148             }
25149             description { state: "slide" 0.0;
25150                inherit: "default" 0.0;
25151                rel1.relative: 1 0;
25152                rel2.relative: 2 1;
25153             }
25154             description { state: "rotate" 0.0;
25155                inherit: "default" 0.0;
25156                map {
25157                   perspective: "pers";
25158                   on: 1;
25159                   smooth: 1;
25160                   perspective_on: 1;
25161                   backface_cull: 1;
25162                   rotation {
25163                      center: "pers";
25164                      x: 0.0;
25165                      y: 0.0;
25166                      z: 0.0;
25167                   }
25168                }
25169             }
25170             description { state: "rotate" 1.0;
25171                inherit: "default" 0.0;
25172                map {
25173                   perspective: "pers";
25174                   on: 1;
25175                   smooth: 1;
25176                   perspective_on: 1;
25177                   backface_cull: 1;
25178                   rotation {
25179                      center: "pers";
25180                      x: 90.0;
25181                      y: 0.0;
25182                      z: 0.0;
25183                   }
25184                }
25185             }
25186          }
25187          part { name: "disclip";
25188             type: RECT;
25189             description { state: "default" 0.0;
25190                rel1.to: "bg";
25191                rel2.to: "bg";
25192             }
25193             description { state: "disabled" 0.0;
25194                inherit: "default" 0.0;
25195                color: 255 255 255 64;
25196             }
25197          }
25198       }
25199       programs {
25200          program {
25201             name:    "odd";
25202             signal:  "elm,state,odd";
25203             source:  "elm";
25204             action:  STATE_SET "default" 1.0;
25205             target:  "base_sh";
25206             target:  "base";
25207          }
25208          program {
25209             name:    "even";
25210             signal:  "elm,state,even";
25211             source:  "elm";
25212             action:  STATE_SET "default" 0.0;
25213             target:  "base_sh";
25214             target:  "base";
25215          }
25216          program {
25217             name:    "go_active";
25218             signal:  "elm,state,selected";
25219             source:  "elm";
25220             script {
25221                new st[31];
25222                new Float:vl;
25223                get_state(PART:"base", st, 30, vl);
25224                set_state(PART:"bg", "selected", vl);
25225                set_state(PART:"fg1", "selected", vl);
25226                set_state(PART:"fg2", "selected", vl);
25227             }
25228          }
25229          program {
25230             name:    "go_passive";
25231             signal:  "elm,state,unselected";
25232             source:  "elm";
25233             script {
25234                new st[31];
25235                new Float:vl;
25236                get_state(PART:"base", st, 30, vl);
25237                set_state(PART:"bg", "default", vl);
25238                set_state(PART:"fg1", "default", vl);
25239                set_state(PART:"fg2", "default", vl);
25240             }
25241          }
25242          program {
25243             name:    "go_disabled";
25244             signal:  "elm,state,disabled";
25245             source:  "elm";
25246             action:  STATE_SET "disabled" 0.0;
25247             target:  "disclip";
25248          }
25249          program {
25250             name:    "go_enabled";
25251             signal:  "elm,state,enabled";
25252             source:  "elm";
25253             action:  STATE_SET "default" 0.0;
25254             target:  "disclip";
25255          }
25256          program {
25257             name:    "slide_right";
25258             signal:  "elm,state,slide,active";
25259             source:  "elm";
25260             action:  STATE_SET "slide" 0.0;
25261             target:  "elm.swallow.origin";
25262             transition: ACCELERATE 0.5;
25263             after:   "unblock_event";
25264          }
25265          program {
25266             name:    "unblock_event";
25267             action:  STATE_SET "repeat_events" 0.0;
25268             target:  "event_block_layer";
25269          }
25270          program {
25271             name:    "slide_left";
25272             signal:  "elm,state,slide,passive";
25273             source:  "elm";
25274             action:  STATE_SET "default" 0.0;
25275             target:  "event_block_layer";
25276             after:   "slide_left2";
25277          }
25278          program {
25279             name:    "slide_left2";
25280             action:  STATE_SET "default" 0.0;
25281             target:  "elm.swallow.origin";
25282             transition: DECELERATE 0.5;
25283             after:   "slide_left_finished";
25284          }
25285          program {
25286             name:    "slide_left_finished";
25287             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25288          }
25289          program {
25290             name:    "rotate_on";
25291             signal:  "elm,state,rotate,active";
25292             source:  "elm";
25293             action:  STATE_SET "rotate" 0.0;
25294             target:  "elm.swallow.origin";
25295             after:   "rotate_on2";
25296          }
25297          program {
25298             name:    "rotate_on2";
25299             action:  STATE_SET "rotate" 1.0;
25300             target:  "elm.swallow.origin";
25301             transition: LINEAR 0.5;
25302             after:   "unblock_event";
25303          }
25304          program {
25305             name:    "rotate_off";
25306             signal:  "elm,state,rotate,passive";
25307             source:  "elm";
25308             action:  STATE_SET "default" 0.0;
25309             target:  "event_block_layer";
25310             after:   "rotate_off2";
25311          }
25312          program {
25313             name:    "rotate_off2";
25314             action:  STATE_SET "rotate" 0.0;
25315             transition: LINEAR 0.5;
25316             target:  "elm.swallow.origin";
25317             after:   "rotate_off3";
25318          }
25319          program {
25320             name:    "rotate_off3";
25321             action:  STATE_SET "default" 0.0;
25322             target:  "elm.swallow.origin";
25323             after:   "rotate_off_finished";
25324          }
25325          program {
25326             name:    "rotate_off_finished";
25327             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25328          }
25329       }
25330    }
25331
25332    group { name: "elm/genlist/item_odd/mode/default";
25333       data.item: "stacking" "below";
25334       data.item: "selectraise" "on";
25335       data.item: "labels" "elm.text.mode";
25336       data.item: "icons" "elm.swallow.mode";
25337       data.item: "mode_part" "elm.swallow.origin";
25338       data.item: "treesize" "20";
25339       images {
25340          image: "bt_sm_base1.png" COMP;
25341          image: "bt_sm_shine.png" COMP;
25342          image: "bt_sm_hilight.png" COMP;
25343          image: "ilist_2.png" COMP;
25344       }
25345
25346       parts {
25347          part {
25348             name: "event";
25349             type: RECT;
25350             repeat_events: 1;
25351             description {
25352                state: "default" 0.0;
25353                color: 0 0 0 0;
25354             }
25355          }
25356          part {
25357             name: "base";
25358             mouse_events: 0;
25359             description {
25360                state: "default" 0.0;
25361                image {
25362                   normal: "ilist_2.png";
25363                   border: 2 2 2 2;
25364                }
25365                fill.smooth: 0;
25366             }
25367          }
25368          part { name: "bg";
25369             clip_to: "disclip";
25370             mouse_events: 0;
25371             description { state: "default" 0.0;
25372                visible: 0;
25373                color: 255 255 255 0;
25374                rel1 {
25375                   relative: 0.0 0.0;
25376                   offset: -5 -5;
25377                }
25378                rel2 {
25379                   relative: 1.0 1.0;
25380                   offset: 4 4;
25381                }
25382                image {
25383                   normal: "bt_sm_base1.png";
25384                   border: 6 6 6 6;
25385                }
25386                image.middle: SOLID;
25387             }
25388             description { state: "selected" 0.0;
25389                inherit: "default" 0.0;
25390                visible: 1;
25391                color: 255 255 255 255;
25392                rel1 {
25393                   relative: 0.0 0.0;
25394                   offset: -2 -2;
25395                }
25396                rel2 {
25397                   relative: 1.0 1.0;
25398                   offset: 1 1;
25399                }
25400             }
25401          }
25402          part { name: "elm.text.mode";
25403             clip_to: "disclip";
25404             type: TEXT;
25405             scale: 1;
25406             description { state: "default" 0.0;
25407                rel2.relative: 0.5 1.0;
25408                color: 0 0 0 255;
25409                text {
25410                   font: "Sans";
25411                   size: 10;
25412                   min: 1 1;
25413                   align: 0.5 0.5;
25414                   text_class: "list_item";
25415                }
25416             }
25417          }
25418         part { name: "elm.swallow.mode";
25419             clip_to: "disclip";
25420             type: SWALLOW;
25421             description { state: "default" 0.0;
25422                rel1.relative: 0.5 0.0;
25423             }
25424          }
25425          part { name: "fg1";
25426             clip_to: "disclip";
25427             mouse_events: 0;
25428             description { state: "default" 0.0;
25429                visible: 0;
25430                color: 255 255 255 0;
25431                rel1.to: "bg";
25432                rel2.relative: 1.0 0.5;
25433                rel2.to: "bg";
25434                image {
25435                   normal: "bt_sm_hilight.png";
25436                   border: 6 6 6 0;
25437                }
25438             }
25439             description { state: "selected" 0.0;
25440                inherit: "default" 0.0;
25441                visible: 1;
25442                color: 255 255 255 255;
25443             }
25444          }
25445          part { name: "fg2";
25446             clip_to: "disclip";
25447             mouse_events: 0;
25448             description { state: "default" 0.0;
25449                visible: 0;
25450                color: 255 255 255 0;
25451                rel1.to: "bg";
25452                rel2.to: "bg";
25453                image {
25454                   normal: "bt_sm_shine.png";
25455                   border: 6 6 6 0;
25456                }
25457             }
25458             description { state: "selected" 0.0;
25459                inherit: "default" 0.0;
25460                visible: 1;
25461                color: 255 255 255 255;
25462             }
25463          }
25464          // Transparent part between base parts and slidable parts
25465          part { name: "event_block_layer";
25466             type: RECT;
25467             clip_to: "disclip";
25468             mouse_events: 1;
25469             description { state: "default" 0.0;
25470                rel1.to: "base";
25471                rel2.to: "base";
25472                color: 0 0 0 0;
25473             }
25474             description { state: "repeat_events" 0.0;
25475                inherit: "default" 0.0;
25476                visible: 0;
25477             }
25478          }
25479          part { name: "pers";
25480             clip_to: "disclip";
25481             type: RECT;
25482             description { state: "default" 0.0;
25483                rel1.relative: 0.0 1.0;
25484             }
25485          }
25486          part { name: "elm.swallow.origin";
25487             clip_to: "disclip";
25488             type: SWALLOW;
25489             description { state: "default" 0.0;
25490                fixed: 1 0;
25491                align: 0.0 0.5;
25492             }
25493             description { state: "slide" 0.0;
25494                inherit: "default" 0.0;
25495                rel1.relative: 1 0;
25496                rel2.relative: 2 1;
25497             }
25498             description { state: "rotate" 0.0;
25499                inherit: "default" 0.0;
25500                map {
25501                   perspective: "pers";
25502                   on: 1;
25503                   smooth: 1;
25504                   perspective_on: 1;
25505                   backface_cull: 1;
25506                   rotation {
25507                      center: "pers";
25508                      x: 0.0;
25509                      y: 0.0;
25510                      z: 0.0;
25511                   }
25512                }
25513             }
25514             description { state: "rotate" 1.0;
25515                inherit: "default" 0.0;
25516                map {
25517                   perspective: "pers";
25518                   on: 1;
25519                   smooth: 1;
25520                   perspective_on: 1;
25521                   backface_cull: 1;
25522                   rotation {
25523                      center: "pers";
25524                      x: 90.0;
25525                      y: 0.0;
25526                      z: 0.0;
25527                   }
25528                }
25529             }
25530          }
25531          part { name: "disclip";
25532             type: RECT;
25533             description { state: "default" 0.0;
25534                rel1.to: "bg";
25535                rel2.to: "bg";
25536             }
25537             description { state: "disabled" 0.0;
25538                inherit: "default" 0.0;
25539                color: 255 255 255 64;
25540             }
25541          }
25542       }
25543       programs {
25544          program {
25545             name:    "go_active";
25546             signal:  "elm,state,selected";
25547             source:  "elm";
25548             action:  STATE_SET "selected" 0.0;
25549             target:  "bg";
25550             target:  "fg1";
25551             target:  "fg2";
25552          }
25553          program {
25554             name:    "go_passive";
25555             signal:  "elm,state,unselected";
25556             source:  "elm";
25557             action:  STATE_SET "default" 0.0;
25558             target:  "bg";
25559             target:  "fg1";
25560             target:  "fg2";
25561             transition: LINEAR 0.1;
25562          }
25563          program {
25564             name:    "go_disabled";
25565             signal:  "elm,state,disabled";
25566             source:  "elm";
25567             action:  STATE_SET "disabled" 0.0;
25568             target:  "disclip";
25569          }
25570          program {
25571             name:    "go_enabled";
25572             signal:  "elm,state,enabled";
25573             source:  "elm";
25574             action:  STATE_SET "default" 0.0;
25575             target:  "disclip";
25576          }
25577          program {
25578             name:    "slide_right";
25579             signal:  "elm,state,slide,active";
25580             source:  "elm";
25581             action:  STATE_SET "slide" 0.0;
25582             target:  "elm.swallow.origin";
25583             transition: ACCELERATE 0.5;
25584             after:   "unblock_event";
25585          }
25586          program {
25587             name:    "unblock_event";
25588             action:  STATE_SET "repeat_events" 0.0;
25589             target:  "event_block_layer";
25590          }
25591          program {
25592             name:    "slide_left";
25593             signal:  "elm,state,slide,passive";
25594             source:  "elm";
25595             action:  STATE_SET "default" 0.0;
25596             target:   "event_block_layer";
25597             after:   "slide_left2";
25598          }
25599          program {
25600             name:    "slide_left2";
25601             action:  STATE_SET "default" 0.0;
25602             target:  "elm.swallow.origin";
25603             transition: DECELERATE 0.5;
25604             after:   "slide_left_finished";
25605          }
25606          program {
25607             name:    "slide_left_finished";
25608             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25609          }
25610          program {
25611             name:    "rotate_on";
25612             signal:  "elm,state,rotate,active";
25613             source:  "elm";
25614             action:  STATE_SET "rotate" 0.0;
25615             target:  "elm.swallow.origin";
25616             after:   "rotate_on2";
25617          }
25618          program {
25619             name:    "rotate_on2";
25620             action:  STATE_SET "rotate" 1.0;
25621             target:  "elm.swallow.origin";
25622             transition: LINEAR 0.5;
25623             after:   "unblock_event";
25624          }
25625          program {
25626             name:    "rotate_off";
25627             signal:  "elm,state,rotate,passive";
25628             source:  "elm";
25629             action:  STATE_SET "default" 0.0;
25630             target:  "event_block_layer";
25631             after:   "rotate_off2";
25632          }
25633          program {
25634             name:    "rotate_off2";
25635             action:  STATE_SET "rotate" 0.0;
25636             transition: LINEAR 0.5;
25637             target:  "elm.swallow.origin";
25638             after:   "rotate_off3";
25639          }
25640          program {
25641             name:    "rotate_off3";
25642             action:  STATE_SET "default" 0.0;
25643             target:  "elm.swallow.origin";
25644             after:   "rotate_off_finished";
25645          }
25646          program {
25647             name:    "rotate_off_finished";
25648             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25649          }
25650       }
25651    }
25652
25653 ///////////////////////////////////////////////////////////////////////////////
25654    group { name: "elm/pager/base/default";
25655       data.item: "onshow" "raise";
25656 // other options
25657 //      data.item: "onhide" "lower";
25658 //      data.item: "onshow" "lower";
25659       images {
25660          image: "frame_1.png" COMP;
25661          image: "frame_2.png" COMP;
25662          image: "dia_grad.png" COMP;
25663       }
25664       parts {
25665          part { name: "clip";
25666             type: RECT;
25667             mouse_events: 0;
25668             description { state: "default" 0.0;
25669                rel1 {
25670                   to: "base";
25671                   offset: -9999 -9999;
25672                }
25673                rel2 {
25674                   to: "base";
25675                   offset: 9999 9999;
25676                }
25677                color: 255 255 255 255;
25678             }
25679             description { state: "visible" 0.0;
25680                inherit: "default" 0.0;
25681             }
25682             description { state: "hidden" 0.0;
25683                inherit: "default" 0.0;
25684                color: 255 255 255 0;
25685                visible: 0;
25686             }
25687          }
25688          part { name: "base0";
25689             mouse_events:  0;
25690             clip_to: "clip";
25691             description { state: "default" 0.0;
25692                image.normal: "dia_grad.png";
25693                rel1.to: "over";
25694                rel2.to: "over";
25695                fill {
25696                   smooth: 0;
25697                   size {
25698                      relative: 0.0 1.0;
25699                      offset: 64 0;
25700                   }
25701                }
25702             }
25703          }
25704          part { name: "base";
25705             mouse_events:  0;
25706             clip_to: "clip";
25707             description { state: "default" 0.0;
25708                image {
25709                   normal: "frame_2.png";
25710                   border: 5 5 32 26;
25711                   middle: 0;
25712                }
25713                fill.smooth : 0;
25714             }
25715             description { state: "hidden" 0.0;
25716                inherit: "default" 0.0;
25717                rel1.relative: -1.0 0.0;
25718                rel2.relative: 0.0 1.0;
25719             }
25720             description { state: "visible" 0.0;
25721                inherit: "default" 0.0;
25722                rel1.relative: 0.0 0.0;
25723                rel2.relative: 1.0 1.0;
25724             }
25725          }
25726          part { name: "over";
25727             mouse_events:  0;
25728             clip_to: "clip";
25729             description { state:    "default" 0.0;
25730                rel1 {
25731                   to: "base";
25732                   offset: 4 4;
25733                }
25734                rel2 {
25735                   to: "base";
25736                   offset: -5 -5;
25737                }
25738                image {
25739                   normal: "frame_1.png";
25740                   border: 2 2 28 22;
25741                   middle: 0;
25742                }
25743                fill.smooth : 0;
25744             }
25745          }
25746          part { name: "elm.swallow.content";
25747             type: SWALLOW;
25748             clip_to: "clip";
25749             description { state: "default" 0.0;
25750                rel1 {
25751                   to: "base";
25752                   offset: 8 8;
25753                }
25754                rel2 {
25755                   to: "base";
25756                   offset: -9 -9;
25757                }
25758             }
25759          }
25760       }
25761       programs {
25762          program { name: "push_start";
25763             signal: "elm,action,push";
25764             source: "elm";
25765             action:  STATE_SET "hidden" 0.0;
25766             target: "base";
25767             target: "clip";
25768             after: "show_start2";
25769          }
25770          program { name: "show_start";
25771             signal: "elm,action,show";
25772             source: "elm";
25773             action:  STATE_SET "hidden" 0.0;
25774             target: "base";
25775             target: "clip";
25776             after: "show_start2";
25777          }
25778          program { name: "show_start2";
25779             action:  STATE_SET "visible" 0.0;
25780             transition: DECELERATE 0.5;
25781             target: "base";
25782             target: "clip";
25783             after: "show_end";
25784          }
25785          program { name: "show_end";
25786             action: SIGNAL_EMIT "elm,action,show,finished" "";
25787          }
25788          program { name: "pop_start";
25789             signal: "elm,action,pop";
25790             source: "elm";
25791             action:  STATE_SET "visible" 0.0;
25792             target: "base";
25793             target: "clip";
25794             after: "hide_start2";
25795          }
25796          program { name: "hide_start";
25797             signal: "elm,action,hide";
25798             source: "elm";
25799             action:  STATE_SET "visible" 0.0;
25800             target: "base";
25801             target: "clip";
25802             after: "hide_start2";
25803          }
25804          program { name: "hide_start2";
25805             action:  STATE_SET "hidden" 0.0;
25806             transition: DECELERATE 0.5;
25807             target: "base";
25808             target: "clip";
25809             after: "hide_end";
25810          }
25811          program { name: "hide_end";
25812             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25813          }
25814          program { name: "reset";
25815             signal: "elm,action,reset";
25816             source: "elm";
25817             action:  STATE_SET "default" 0.0;
25818             target: "base";
25819             target: "clip";
25820          }
25821       }
25822    }
25823
25824    group { name: "elm/pager/base/slide";
25825       images {
25826          image: "frame_1.png" COMP;
25827          image: "frame_2.png" COMP;
25828          image: "dia_grad.png" COMP;
25829       }
25830       parts {
25831          part { name: "clip";
25832             type: RECT;
25833             mouse_events: 0;
25834             description { state: "default" 0.0;
25835                rel1 {
25836                   to: "base";
25837                   offset: -9999 -9999;
25838                }
25839                rel2 {
25840                   to: "base";
25841                   offset: 9999 9999;
25842                }
25843                color: 255 255 255 255;
25844             }
25845             description { state: "visible" 0.0;
25846                inherit: "default" 0.0;
25847             }
25848             description { state: "hidden" 0.0;
25849                inherit: "default" 0.0;
25850                color: 255 255 255 0;
25851                visible: 0;
25852             }
25853             description { state: "hidden2" 0.0;
25854                inherit: "default" 0.0;
25855                color: 255 255 255 0;
25856                visible: 0;
25857             }
25858          }
25859          part { name: "base0";
25860             mouse_events:  0;
25861             clip_to: "clip";
25862             description { state: "default" 0.0;
25863                image.normal: "dia_grad.png";
25864                rel1.to: "over";
25865                rel2.to: "over";
25866                fill {
25867                   smooth: 0;
25868                   size {
25869                      relative: 0.0 1.0;
25870                      offset: 64 0;
25871                   }
25872                }
25873             }
25874          }
25875          part { name: "base";
25876             mouse_events:  0;
25877             clip_to: "clip";
25878             description { state: "default" 0.0;
25879                image {
25880                   normal: "frame_2.png";
25881                   border: 5 5 32 26;
25882                   middle: 0;
25883                }
25884                fill.smooth : 0;
25885             }
25886             description { state: "hidden" 0.0;
25887                inherit: "default" 0.0;
25888                rel1.relative: -1.0 0.0;
25889                rel2.relative: 0.0 1.0;
25890             }
25891             description { state: "hidden2" 0.0;
25892                inherit: "default" 0.0;
25893                rel1.relative: 1.0 0.0;
25894                rel2.relative: 2.0 1.0;
25895             }
25896             description { state: "visible" 0.0;
25897                inherit: "default" 0.0;
25898                rel1.relative: 0.0 0.0;
25899                rel2.relative: 1.0 1.0;
25900             }
25901          }
25902          part { name: "over";
25903             mouse_events:  0;
25904             clip_to: "clip";
25905             description { state:    "default" 0.0;
25906                rel1 {
25907                   to: "base";
25908                   offset: 4 4;
25909                }
25910                rel2 {
25911                   to: "base";
25912                   offset: -5 -5;
25913                }
25914                image {
25915                   normal: "frame_1.png";
25916                   border: 2 2 28 22;
25917                   middle: 0;
25918                }
25919                fill.smooth : 0;
25920             }
25921          }
25922          part { name: "elm.swallow.content";
25923             type: SWALLOW;
25924             clip_to: "clip";
25925             description { state: "default" 0.0;
25926                rel1 {
25927                   to: "base";
25928                   offset: 8 8;
25929                }
25930                rel2 {
25931                   to: "base";
25932                   offset: -9 -9;
25933                }
25934             }
25935          }
25936       }
25937       programs {
25938          program { name: "push_start";
25939             signal: "elm,action,push";
25940             source: "elm";
25941             action:  STATE_SET "hidden2" 0.0;
25942             target: "base";
25943             target: "clip";
25944             after: "show_start2";
25945          }
25946          program { name: "show_start";
25947             signal: "elm,action,show";
25948             source: "elm";
25949             action:  STATE_SET "hidden" 0.0;
25950             target: "base";
25951             target: "clip";
25952             after: "show_start2";
25953          }
25954          program { name: "show_start2";
25955             action:  STATE_SET "visible" 0.0;
25956             transition: DECELERATE 0.5;
25957             target: "base";
25958             target: "clip";
25959             after: "show_end";
25960          }
25961          program { name: "show_end";
25962             action: SIGNAL_EMIT "elm,action,show,finished" "";
25963          }
25964          program { name: "pop_start";
25965             signal: "elm,action,pop";
25966             source: "elm";
25967             action:  STATE_SET "visible" 0.0;
25968             target: "base";
25969             target: "clip";
25970             after: "pop_start2";
25971          }
25972          program { name: "pop_start2";
25973             action:  STATE_SET "hidden2" 0.0;
25974             transition: DECELERATE 0.5;
25975             target: "base";
25976             target: "clip";
25977             after: "hide_end";
25978          }
25979          program { name: "hide_start";
25980             signal: "elm,action,hide";
25981             source: "elm";
25982             action:  STATE_SET "visible" 0.0;
25983             target: "base";
25984             target: "clip";
25985             after: "hide_start2";
25986          }
25987          program { name: "hide_start2";
25988             action:  STATE_SET "hidden" 0.0;
25989             transition: DECELERATE 0.5;
25990             target: "base";
25991             target: "clip";
25992             after: "hide_end";
25993          }
25994          program { name: "hide_end";
25995             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25996          }
25997          program { name: "reset";
25998             signal: "elm,action,reset";
25999             source: "elm";
26000             action:  STATE_SET "default" 0.0;
26001             target: "base";
26002             target: "clip";
26003          }
26004       }
26005    }
26006    group { name: "elm/pager/base/slide_invisible";
26007       parts {
26008          part { name: "clip";
26009             type: RECT;
26010             mouse_events: 0;
26011             description { state: "default" 0.0;
26012                rel1 {
26013                   to: "base";
26014                   offset: -9999 -9999;
26015             }
26016                rel2 {
26017                   to: "base";
26018                   offset: 9999 9999;
26019                }
26020                color: 255 255 255 255;
26021             }
26022             description { state: "visible" 0.0;
26023                inherit: "default" 0.0;
26024             }
26025             description { state: "hidden" 0.0;
26026                inherit: "default" 0.0;
26027                color: 255 255 255 0;
26028                visible: 0;
26029             }
26030             description { state: "hidden2" 0.0;
26031                inherit: "default" 0.0;
26032                color: 255 255 255 0;
26033                visible: 0;
26034             }
26035          }
26036          part { name: "base";
26037             type: RECT;
26038             mouse_events:  0;
26039             clip_to: "clip";
26040             description { state: "default" 0.0;
26041                color: 0 0 0 0;
26042             }
26043             description { state: "hidden" 0.0;
26044                color: 0 0 0 0;
26045                rel1.relative: -1.0 0.0;
26046                rel2.relative: 0.0 1.0;
26047             }
26048             description { state: "hidden2" 0.0;
26049                color: 0 0 0 0;
26050                rel1.relative: 1.0 0.0;
26051                rel2.relative: 2.0 1.0;
26052             }
26053             description { state: "visible" 0.0;
26054                color: 0 0 0 0;
26055                rel1.relative: 0.0 0.0;
26056                rel2.relative: 1.0 1.0;
26057             }
26058          }
26059          part { name: "elm.swallow.content";
26060             type: SWALLOW;
26061             clip_to: "clip";
26062             description { state: "default" 0.0;
26063                rel1.to: "base";
26064                rel2.to: "base";
26065             }
26066          }
26067       }
26068       programs {
26069          program { name: "push_start";
26070             signal: "elm,action,push";
26071             source: "elm";
26072             action:  STATE_SET "hidden2" 0.0;
26073             target: "base";
26074             target: "clip";
26075             after: "show_start2";
26076          }
26077          program { name: "show_start";
26078             signal: "elm,action,show";
26079             source: "elm";
26080             action:  STATE_SET "hidden" 0.0;
26081             target: "base";
26082             target: "clip";
26083             after: "show_start2";
26084          }
26085          program { name: "show_start2";
26086             action:  STATE_SET "visible" 0.0;
26087             transition: DECELERATE 0.5;
26088             target: "base";
26089             target: "clip";
26090             after: "show_end";
26091          }
26092          program { name: "show_end";
26093             action: SIGNAL_EMIT "elm,action,show,finished" "";
26094          }
26095          program { name: "pop_start";
26096             signal: "elm,action,pop";
26097             source: "elm";
26098             action:  STATE_SET "visible" 0.0;
26099             target: "base";
26100             target: "clip";
26101             after: "pop_start2";
26102          }
26103          program { name: "pop_start2";
26104             action:  STATE_SET "hidden2" 0.0;
26105             transition: DECELERATE 0.5;
26106             target: "base";
26107             target: "clip";
26108             after: "hide_end";
26109          }
26110          program { name: "hide_start";
26111             signal: "elm,action,hide";
26112             source: "elm";
26113             action:  STATE_SET "visible" 0.0;
26114             target: "base";
26115             target: "clip";
26116             after: "hide_start2";
26117          }
26118          program { name: "hide_start2";
26119             action:  STATE_SET "hidden" 0.0;
26120             transition: DECELERATE 0.5;
26121             target: "base";
26122             target: "clip";
26123             after: "hide_end";
26124          }
26125          program { name: "hide_end";
26126             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26127          }
26128          program { name: "reset";
26129             signal: "elm,action,reset";
26130             source: "elm";
26131             action:  STATE_SET "default" 0.0;
26132             target: "base";
26133             target: "clip";
26134          }
26135       }
26136    }
26137
26138    group { name: "elm/pager/base/fade";
26139        data.item: "onshow" "raise";
26140        // other options
26141        //      data.item: "onhide" "lower";
26142        //      data.item: "onshow" "lower";
26143        images {
26144            image: "frame_1.png" COMP;
26145            image: "frame_2.png" COMP;
26146            image: "dia_grad.png" COMP;
26147        }
26148        parts {
26149            part { name: "clip_base";
26150                type: RECT;
26151                mouse_events: 0;
26152                description { state: "default" 0.0;
26153                    rel1 {
26154                        to: "base";
26155                        offset: -9999 -9999;
26156                    }
26157                    rel2 {
26158                        to: "base";
26159                        offset: 9999 9999;
26160                    }
26161                    color: 255 255 255 120;
26162                }
26163                description { state: "visible" 0.0;
26164                    inherit: "default" 0.0;
26165                }
26166                description { state: "hidden" 0.0;
26167                    inherit: "default" 0.0;
26168                    color: 255 255 255 0;
26169                    visible: 0;
26170                }
26171            }
26172            part { name: "clip";
26173                type: RECT;
26174                mouse_events: 0;
26175                description { state: "default" 0.0;
26176                    rel1 {
26177                        to: "base";
26178                        offset: -9999 -9999;
26179                    }
26180                    rel2 {
26181                        to: "base";
26182                        offset: 9999 9999;
26183                    }
26184                    color: 255 255 255 255;
26185                }
26186                description { state: "visible" 0.0;
26187                    inherit: "default" 0.0;
26188                }
26189                description { state: "hidden" 0.0;
26190                    inherit: "default" 0.0;
26191                    color: 255 255 255 0;
26192                    visible: 0;
26193                }
26194            }
26195            part { name: "base0";
26196                mouse_events:  0;
26197                clip_to: "clip_base";
26198                description { state: "default" 0.0;
26199                    image.normal: "dia_grad.png";
26200                    rel1.to: "over";
26201                    rel2.to: "over";
26202                    fill {
26203                        smooth: 0;
26204                        size {
26205                            relative: 0.0 1.0;
26206                            offset: 64 0;
26207                        }
26208                    }
26209                }
26210            }
26211            part { name: "base";
26212                mouse_events:  0;
26213                clip_to: "clip_base";
26214                description { state: "default" 0.0;
26215                    image {
26216                        normal: "frame_2.png";
26217                        border: 5 5 32 26;
26218                        middle: 0;
26219                    }
26220                    fill.smooth : 0;
26221                }
26222            }
26223            part { name: "over";
26224                mouse_events:  0;
26225                clip_to: "clip";
26226                description { state:    "default" 0.0;
26227                    rel1 {
26228                        to: "base";
26229                        offset: 4 4;
26230                    }
26231                    rel2 {
26232                        to: "base";
26233                        offset: -5 -5;
26234                    }
26235                    image {
26236                        normal: "frame_1.png";
26237                        border: 2 2 28 22;
26238                        middle: 0;
26239                    }
26240                    fill.smooth : 0;
26241                }
26242            }
26243            part { name: "elm.swallow.content";
26244                type: SWALLOW;
26245                clip_to: "clip";
26246                description { state: "default" 0.0;
26247                    rel1 {
26248                        to: "base";
26249                        offset: 8 8;
26250                    }
26251                    rel2 {
26252                        to: "base";
26253                        offset: -9 -9;
26254                    }
26255                }
26256            }
26257        }
26258        programs {
26259            program { name: "push_start";
26260                signal: "elm,action,push";
26261                source: "elm";
26262                action:  STATE_SET "hidden" 0.0;
26263                target: "clip";
26264                target: "clip_base";
26265                after: "show_start2";
26266            }
26267            program { name: "show_start";
26268                signal: "elm,action,show";
26269                source: "elm";
26270                action:  STATE_SET "hidden" 0.0;
26271                target: "clip";
26272                target: "clip_base";
26273                after: "show_start2";
26274            }
26275            program { name: "show_start2";
26276                action:  STATE_SET "visible" 0.0;
26277                transition: DECELERATE 0.5;
26278                target: "clip";
26279                target: "clip_base";
26280                after: "show_end";
26281            }
26282            program { name: "show_end";
26283                action: SIGNAL_EMIT "elm,action,show,finished" "";
26284            }
26285            program { name: "pop_start";
26286                signal: "elm,action,pop";
26287                source: "elm";
26288                action:  STATE_SET "visible" 0.0;
26289                target: "clip";
26290                target: "clip_base";
26291                after: "hide_start2";
26292            }
26293            program { name: "hide_start";
26294                signal: "elm,action,hide";
26295                source: "elm";
26296                action:  STATE_SET "visible" 0.0;
26297                target: "clip";
26298                target: "clip_base";
26299                after: "hide_start2";
26300            }
26301            program { name: "hide_start2";
26302                action:  STATE_SET "hidden" 0.0;
26303                transition: DECELERATE 0.5;
26304                target: "clip";
26305                target: "clip_base";
26306                after: "hide_end";
26307            }
26308            program { name: "hide_end";
26309                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26310            }
26311            program { name: "reset";
26312                signal: "elm,action,reset";
26313                source: "elm";
26314                action:  STATE_SET "default" 0.0;
26315                target: "clip_base";
26316                target: "clip";
26317            }
26318        }
26319    }
26320    group { name: "elm/pager/base/fade_translucide";
26321        data.item: "onshow" "raise";
26322        // other options
26323        //      data.item: "onhide" "lower";
26324        //      data.item: "onshow" "lower";
26325        images {
26326            image: "frame_1.png" COMP;
26327            image: "frame_2.png" COMP;
26328            image: "dia_grad.png" COMP;
26329        }
26330        parts {
26331            part { name: "clip_base";
26332                type: RECT;
26333                mouse_events: 0;
26334                description { state: "default" 0.0;
26335                    rel1 {
26336                        to: "base";
26337                        offset: -9999 -9999;
26338                    }
26339                    rel2 {
26340                        to: "base";
26341                        offset: 9999 9999;
26342                    }
26343                    color: 255 255 255 120;
26344                }
26345                description { state: "visible" 0.0;
26346                    inherit: "default" 0.0;
26347                }
26348                description { state: "hidden" 0.0;
26349                    inherit: "default" 0.0;
26350                    color: 255 255 255 0;
26351                    visible: 0;
26352                }
26353            }
26354            part { name: "clip";
26355                type: RECT;
26356                mouse_events: 0;
26357                description { state: "default" 0.0;
26358                    rel1 {
26359                        to: "base";
26360                        offset: -9999 -9999;
26361                    }
26362                    rel2 {
26363                        to: "base";
26364                        offset: 9999 9999;
26365                    }
26366                    color: 255 255 255 255;
26367                }
26368                description { state: "visible" 0.0;
26369                    inherit: "default" 0.0;
26370                }
26371                description { state: "hidden" 0.0;
26372                    inherit: "default" 0.0;
26373                    color: 255 255 255 0;
26374                    visible: 0;
26375                }
26376            }
26377            part { name: "base0";
26378                mouse_events:  0;
26379                clip_to: "clip_base";
26380                description { state: "default" 0.0;
26381                    image.normal: "dia_grad.png";
26382                    rel1.to: "over";
26383                    rel2.to: "over";
26384                    fill {
26385                        smooth: 0;
26386                        size {
26387                            relative: 0.0 1.0;
26388                            offset: 64 0;
26389                        }
26390                    }
26391                }
26392            }
26393            part { name: "base";
26394                mouse_events:  0;
26395                clip_to: "clip_base";
26396                description { state: "default" 0.0;
26397                    image {
26398                        normal: "frame_2.png";
26399                        border: 5 5 32 26;
26400                        middle: 0;
26401                    }
26402                    fill.smooth : 0;
26403                }
26404            }
26405            part { name: "over";
26406                mouse_events:  0;
26407                clip_to: "clip";
26408                description { state:    "default" 0.0;
26409                    rel1 {
26410                        to: "base";
26411                        offset: 4 4;
26412                    }
26413                    rel2 {
26414                        to: "base";
26415                        offset: -5 -5;
26416                    }
26417                    image {
26418                        normal: "frame_1.png";
26419                        border: 2 2 28 22;
26420                        middle: 0;
26421                    }
26422                    fill.smooth : 0;
26423                }
26424            }
26425            part { name: "elm.swallow.content";
26426                type: SWALLOW;
26427                clip_to: "clip";
26428                description { state: "default" 0.0;
26429                    rel1 {
26430                        to: "base";
26431                        offset: 8 8;
26432                    }
26433                    rel2 {
26434                        to: "base";
26435                        offset: -9 -9;
26436                    }
26437                }
26438            }
26439        }
26440        programs {
26441            program { name: "push_start";
26442                signal: "elm,action,push";
26443                source: "elm";
26444                action:  STATE_SET "hidden" 0.0;
26445                target: "clip";
26446                target: "clip_base";
26447                after: "show_start2";
26448            }
26449            program { name: "show_start";
26450                signal: "elm,action,show";
26451                source: "elm";
26452                action:  STATE_SET "hidden" 0.0;
26453                target: "clip";
26454                target: "clip_base";
26455                after: "show_start2";
26456            }
26457            program { name: "show_start2";
26458                action:  STATE_SET "visible" 0.0;
26459                transition: DECELERATE 0.5;
26460                target: "clip";
26461                target: "clip_base";
26462                after: "show_end";
26463            }
26464            program { name: "show_end";
26465                action: SIGNAL_EMIT "elm,action,show,finished" "";
26466            }
26467            program { name: "pop_start";
26468                signal: "elm,action,pop";
26469                source: "elm";
26470                action:  STATE_SET "visible" 0.0;
26471                target: "clip";
26472                target: "clip_base";
26473                after: "hide_start2";
26474            }
26475            program { name: "hide_start";
26476                signal: "elm,action,hide";
26477                source: "elm";
26478                action:  STATE_SET "visible" 0.0;
26479                target: "clip";
26480                target: "clip_base";
26481                after: "hide_start2";
26482            }
26483            program { name: "hide_start2";
26484                action:  STATE_SET "hidden" 0.0;
26485                transition: DECELERATE 0.5;
26486                target: "clip";
26487                target: "clip_base";
26488                after: "hide_end";
26489            }
26490            program { name: "hide_end";
26491                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26492            }
26493            program { name: "reset";
26494                signal: "elm,action,reset";
26495                source: "elm";
26496                action:  STATE_SET "default" 0.0;
26497                target: "clip_base";
26498                target: "clip";
26499            }
26500        }
26501    }
26502    group { name: "elm/pager/base/fade_invisible";
26503        data.item: "onshow" "raise";
26504        // other options
26505        //      data.item: "onhide" "lower";
26506        //      data.item: "onshow" "lower";
26507        parts {
26508            part { name: "clip";
26509                type: RECT;
26510                mouse_events: 0;
26511                description { state: "default" 0.0;
26512                    rel1 {
26513                        offset: -9999 -9999;
26514                    }
26515                    rel2 {
26516                        offset: 9999 9999;
26517                    }
26518                    color: 255 255 255 255;
26519                }
26520                description { state: "visible" 0.0;
26521                    inherit: "default" 0.0;
26522                }
26523                description { state: "hidden" 0.0;
26524                    inherit: "default" 0.0;
26525                    color: 255 255 255 0;
26526                    visible: 0;
26527                }
26528            }
26529            part { name: "elm.swallow.content";
26530                type: SWALLOW;
26531                clip_to: "clip";
26532                description { state: "default" 0.0;
26533                    rel1 {
26534                        offset: 8 8;
26535                    }
26536                    rel2 {
26537                        offset: -9 -9;
26538                    }
26539                }
26540            }
26541        }
26542        programs {
26543            program { name: "push_start";
26544                signal: "elm,action,push";
26545                source: "elm";
26546                action:  STATE_SET "hidden" 0.0;
26547                target: "clip";
26548                after: "show_start2";
26549            }
26550            program { name: "show_start";
26551                signal: "elm,action,show";
26552                source: "elm";
26553                action:  STATE_SET "hidden" 0.0;
26554                target: "clip";
26555                after: "show_start2";
26556            }
26557            program { name: "show_start2";
26558                action:  STATE_SET "visible" 0.0;
26559                transition: DECELERATE 0.5;
26560                target: "clip";
26561                after: "show_end";
26562            }
26563            program { name: "show_end";
26564                action: SIGNAL_EMIT "elm,action,show,finished" "";
26565            }
26566            program { name: "pop_start";
26567                signal: "elm,action,pop";
26568                source: "elm";
26569                action:  STATE_SET "visible" 0.0;
26570                target: "clip";
26571                after: "hide_start2";
26572            }
26573            program { name: "hide_start";
26574                signal: "elm,action,hide";
26575                source: "elm";
26576                action:  STATE_SET "visible" 0.0;
26577                target: "clip";
26578                after: "hide_start2";
26579            }
26580            program { name: "hide_start2";
26581                action:  STATE_SET "hidden" 0.0;
26582                transition: DECELERATE 0.5;
26583                target: "clip";
26584                after: "hide_end";
26585            }
26586            program { name: "hide_end";
26587                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26588            }
26589            program { name: "reset";
26590                signal: "elm,action,reset";
26591                source: "elm";
26592                action:  STATE_SET "default" 0.0;
26593                target: "clip";
26594            }
26595        }
26596    }
26597
26598    group { name: "elm/pager/base/flip";
26599       data.item: "onshow" "raise";
26600       images {
26601          image: "frame_1.png" COMP;
26602          image: "frame_2.png" COMP;
26603          image: "dia_grad.png" COMP;
26604       }
26605       parts {
26606          part { name: "elm.swallow.content";
26607             type: SWALLOW;
26608             description { state: "default" 0.0;
26609                map {
26610                   on: 1;
26611                   smooth: 1;
26612                   backface_cull: 1;
26613                   perspective_on: 1;
26614                }
26615                perspective {
26616                   zplane: 0;
26617                   focal: 1000;
26618                }
26619             }
26620             description { state: "hidden" 0.0;
26621                inherit: "default" 0.0;
26622                visible: 0;
26623                map.rotation.y: 90.0;
26624             }
26625             description { state: "before_hidden" 0.0;
26626                inherit: "default" 0.0;
26627                visible: 0;
26628                map.rotation.y: -90.0;
26629             }
26630          }
26631       }
26632       programs {
26633          program { name: "push_start";
26634             signal: "elm,action,push";
26635             source: "elm";
26636             after: "push1";
26637          }
26638          program { name: "push1";
26639             action:  STATE_SET "hidden" 0.0;
26640             target: "elm.swallow.content";
26641             after: "push2";
26642          }
26643          program { name: "push2";
26644             action:  STATE_SET "default" 0.0;
26645             in: 0.5 0.0;
26646             transition: LINEAR 0.5;
26647             target: "elm.swallow.content";
26648             after: "push3";
26649          }
26650          program { name: "push3";
26651             action: SIGNAL_EMIT "elm,action,show,finished" "";
26652          }
26653
26654          program { name: "show_start";
26655             signal: "elm,action,show";
26656             source: "elm";
26657             after: "show1";
26658          }
26659          program { name: "show1";
26660             action:  STATE_SET "before_hidden" 0.0;
26661             target: "elm.swallow.content";
26662             after: "show2";
26663          }
26664          program { name: "show2";
26665             action:  STATE_SET "default" 0.0;
26666             in: 0.5 0.0;
26667             transition: LINEAR 0.5;
26668             target: "elm.swallow.content";
26669             after: "show3";
26670          }
26671          program { name: "show3";
26672             action: SIGNAL_EMIT "elm,action,show,finished" "";
26673          }
26674
26675          program { name: "pop_start";
26676             signal: "elm,action,pop";
26677             source: "elm";
26678             after: "pop1";
26679          }
26680          program { name: "pop1";
26681             action:  STATE_SET "default" 0.0;
26682             target: "elm.swallow.content";
26683             after: "pop2";
26684          }
26685          program { name: "pop2";
26686             action:  STATE_SET "hidden" 0.0;
26687             transition: LINEAR 0.5;
26688             target: "elm.swallow.content";
26689             after: "pop3";
26690          }
26691          program { name: "pop3";
26692             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26693          }
26694
26695          program { name: "hide_start";
26696             signal: "elm,action,hide";
26697             source: "elm";
26698             after: "hide1";
26699          }
26700          program { name: "hide1";
26701             action:  STATE_SET "default" 0.0;
26702             target: "elm.swallow.content";
26703             after: "hide2";
26704          }
26705          program { name: "hide2";
26706             action:  STATE_SET "before_hidden" 0.0;
26707             transition: LINEAR 0.5;
26708             target: "elm.swallow.content";
26709             after: "hide3";
26710          }
26711          program { name: "hide3";
26712             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26713          }
26714
26715          program { name: "reset";
26716             signal: "elm,action,reset";
26717             source: "elm";
26718             action:  STATE_SET "default" 0.0;
26719             target: "elm.swallow.content";
26720          }
26721       }
26722    }
26723
26724
26725
26726 ///////////////////////////////////////////////////////////////////////////////
26727 // FIXME: this doesn't look too hot. need to fix it up
26728    group { name: "elm/progressbar/horizontal/default";
26729       images {
26730          image: "shelf_inset.png" COMP;
26731          image: "bt_sm_base2.png" COMP;
26732          image: "bt_sm_hilight.png" COMP;
26733          image: "bt_sm_shine.png" COMP;
26734       }
26735       parts {
26736          part { name: "elm.background.progressbar";
26737             type: RECT;
26738             mouse_events: 0;
26739             description {
26740                state: "default" 0.0;
26741                rel1 {
26742                   relative: 0.0 0.0;
26743                   offset: 0 0;
26744                }
26745                rel2 {
26746                   relative: 1.0 1.0;
26747                }
26748             }
26749          }
26750          part { name: "elm.swallow.bar";
26751             mouse_events: 0;
26752             type: SWALLOW;
26753             description {
26754                min: 48 28;
26755                max: 99999 28;
26756                state: "default" 0.0;
26757                rel1 {
26758                   to_x: "elm.text";
26759                   to_y: "elm.background.progressbar";
26760                   relative: 1.0 0.0;
26761                }
26762                rel2 {
26763                   to: "elm.background.progressbar";
26764                   relative: 1.0 1.0;
26765                }
26766             }
26767          }
26768          part { name: "elm.swallow.content";
26769             type: SWALLOW;
26770             description { state: "default" 0.0;
26771                visible: 0;
26772                align: 0.0 0.5;
26773                rel1 {
26774                   offset: 4 0;
26775                   to_y: "elm.background.progressbar";
26776                }
26777                rel2 {
26778                   offset: 3 -1;
26779                   relative: 0.0 1.0;
26780                   to_y: "elm.background.progressbar";
26781                }
26782             }
26783             description { state: "visible" 0.0;
26784                inherit: "default" 0.0;
26785                visible: 1;
26786                aspect: 1.0 1.0;
26787                aspect_preference: VERTICAL;
26788                rel2.offset: 4 -1;
26789             }
26790          }
26791          part { name: "elm.text";
26792             type: TEXT;
26793             mouse_events: 0;
26794             scale: 1;
26795             description { state: "default" 0.0;
26796                visible: 0;
26797                fixed: 1 1;
26798                align: 0.0 0.5;
26799                rel1.to_x: "elm.swallow.content";
26800                rel1.relative: 1.0 0.0;
26801                rel1.offset: -1 4;
26802                rel2.to_x: "elm.swallow.content";
26803                rel2.relative: 1.0 1.0;
26804                rel2.offset: -1 -5;
26805                color: 0 0 0 255;
26806                text {
26807                   font: "Sans,Edje-Vera";
26808                   size: 10;
26809                   min: 0 0;
26810                   align: 0.0 0.5;
26811                }
26812             }
26813             description { state: "visible" 0.0;
26814                inherit: "default" 0.0;
26815                visible: 1;
26816                text.min: 1 1;
26817                rel1.offset: 0 4;
26818                rel2.offset: 0 -5;
26819             }
26820          }
26821
26822          part { name: "background";
26823             mouse_events: 0;
26824             clip_to: "elm.background.progressbar";
26825             description {
26826                state: "default" 0.0;
26827                rel1 {
26828                   to: "elm.swallow.bar";
26829                   relative: 0.0 0.0;
26830                }
26831                rel2 {
26832                   to: "elm.swallow.bar";
26833                   relative: 1.0 1.0;
26834                   offset: -1 -1;
26835                }
26836                image {
26837                   normal: "shelf_inset.png";
26838                   border: 7 7 7 7;
26839                }
26840             }
26841          }
26842
26843          part { name: "elm.text.status";
26844             type: TEXT;
26845             mouse_events: 0;
26846             description { state: "default" 0.0;
26847                fixed: 1 1;
26848                visible: 1;
26849                rel1 {
26850                   to: "background";
26851                   relative: 0.5 0.5;
26852                }
26853                rel2 {
26854                   to: "background";
26855                   relative: 0.5 0.5;
26856                }
26857                text {
26858                   font: "Sans:style=Bold,Edje-Vera-Bold";
26859                   size: 10;
26860                   min: 1 1;
26861                   align: 0.5 0.0;
26862                }
26863                color: 0 0 0 255;
26864             }
26865             description { state: "hidden" 0.0;
26866                inherit: "default" 0.0;
26867                visible: 0;
26868                text.min: 0 0;
26869             }
26870          }
26871
26872          part { name: "elm.progress.progressbar";
26873             mouse_events: 0;
26874             clip_to: "elm.background.progressbar";
26875             description {
26876                state: "default" 0.0;
26877                min: 14 28;
26878                fixed: 1 1;
26879                rel1 {
26880                   to: "elm.swallow.bar";
26881                   relative: 0.0 0.0;
26882                }
26883                rel2 {
26884                   to_y: "elm.swallow.bar";
26885                   to_x: "elm.cur.progressbar";
26886                   offset: -1 -1;
26887                }
26888                image {
26889                   normal: "bt_sm_base2.png";
26890                   border: 6 6 6 6;
26891                }
26892             }
26893             description {
26894                state: "invert" 0.0;
26895                inherit: "default" 0.0;
26896                rel1 {
26897                   to_y: "elm.swallow.bar";
26898                   to_x: "elm.cur.progressbar";
26899                }
26900                rel2 {
26901                   to: "elm.swallow.bar";
26902                   relative: 1.0 1.0;
26903                }
26904             }
26905             description {
26906                state: "state_begin" 0.0;
26907                inherit: "default" 0.0;
26908                rel1 {
26909                   to: "elm.swallow.bar";
26910                   relative: 0.0 0.0;
26911                }
26912                rel2 {
26913                   to: "elm.swallow.bar";
26914                   relative: 0.1 1.0;
26915                }
26916             }
26917             description {
26918                state: "state_end" 0.0;
26919                inherit: "default" 0.0;
26920                rel1 {
26921                   to: "elm.swallow.bar";
26922                   relative: 0.9 0.0;
26923                }
26924                rel2 {
26925                   to: "elm.swallow.bar";
26926                   relative: 1.0 1.0;
26927                }
26928             }
26929          }
26930          part { name: "text-bar";
26931             type: TEXT;
26932             mouse_events: 0;
26933             clip_to: "progress-rect";
26934             effect: SOFT_SHADOW;
26935             scale: 1;
26936             description { state: "default" 0.0;
26937                align: 0.0 0.0;
26938                fixed: 1 1;
26939                visible: 1;
26940                rel1.to: "elm.text.status";
26941                rel1.offset: -1 -1;
26942                rel2.to: "elm.text.status";
26943                text {
26944                   text_source: "elm.text.status";
26945                   font: "Sans:style=Bold,Edje-Vera-Bold";
26946                   size: 10;
26947                   min: 1 1;
26948                   align: 0.0 0.0;
26949                }
26950                color: 224 224 224 255;
26951                color3: 0 0 0 64;
26952             }
26953             description { state: "hidden" 0.0;
26954                inherit: "default" 0.0;
26955                visible: 0;
26956                text.min: 0 0;
26957             }
26958          }
26959
26960          part { name: "over1";
26961             mouse_events: 0;
26962             description { state: "default" 0.0;
26963                rel1.to: "elm.progress.progressbar";
26964                rel2.to: "elm.progress.progressbar";
26965                rel2.relative: 1.0 0.5;
26966                image {
26967                   normal: "bt_sm_hilight.png";
26968                   border: 6 6 6 0;
26969                }
26970             }
26971          }
26972
26973          part { name: "over2";
26974             mouse_events: 1;
26975             repeat_events: 1;
26976             description { state: "default" 0.0;
26977                rel1.to: "elm.progress.progressbar";
26978                rel2.to: "elm.progress.progressbar";
26979                image {
26980                   normal: "bt_sm_shine.png";
26981                   border: 6 6 6 0;
26982                }
26983             }
26984          }
26985
26986          part { name: "elm.cur.progressbar";
26987             mouse_events: 0;
26988             dragable {
26989                confine: "background";
26990                x: 1 1 1;
26991                y: 0 0 0;
26992             }
26993             description { state: "default" 0.0;
26994                min: 14 28;
26995                fixed: 1 1;
26996                visible: 0;
26997                rel1 {
26998                   to: "background";
26999                   relative: 0 0;
27000                }
27001                rel2.to: "background";
27002            }
27003          }
27004          part { name: "progress-rect";
27005             type: RECT;
27006             mouse_events: 0;
27007             description {
27008                state: "default" 0.0;
27009                rel1.to: "elm.progress.progressbar";
27010                rel2.to: "elm.progress.progressbar";
27011             }
27012          }
27013       }
27014       programs {
27015          program { name: "label_show";
27016             signal: "elm,state,text,visible";
27017             source: "elm";
27018             action:  STATE_SET "visible" 0.0;
27019             target: "elm.text";
27020          }
27021          program { name: "label_hide";
27022             signal: "elm,state,text,hidden";
27023             source: "elm";
27024             action:  STATE_SET "default" 0.0;
27025             target: "elm.text";
27026          }
27027          program { name: "icon_show";
27028             signal: "elm,state,icon,visible";
27029             source: "elm";
27030             action:  STATE_SET "visible" 0.0;
27031             target: "elm.swallow.content";
27032          }
27033          program { name: "icon_hide";
27034             signal: "elm,state,icon,hidden";
27035             source: "elm";
27036             action:  STATE_SET "default" 0.0;
27037             target: "elm.swallow.content";
27038          }
27039          program { name: "units_show";
27040             signal: "elm,state,units,visible";
27041             source: "elm";
27042             action:  STATE_SET "default" 0.0;
27043             target: "text-bar";
27044             target: "elm.text.status";
27045          }
27046          program { name: "units_hide";
27047             signal: "elm,state,units,hidden";
27048             source: "elm";
27049             action:  STATE_SET "hidden" 0.0;
27050             target: "text-bar";
27051             target: "elm.text.status";
27052          }
27053          program { name: "slide_to_end";
27054             action:  STATE_SET "state_end" 0.0;
27055             transition: LINEAR 0.5;
27056             target: "elm.progress.progressbar";
27057             after: "slide_to_begin";
27058          }
27059          program { name: "slide_to_begin";
27060             signal: "elm,state,slide,begin";
27061             action: STATE_SET "state_begin" 0.0;
27062             target: "elm.progress.progressbar";
27063             transition: LINEAR 0.5;
27064             after: "slide_to_end";
27065          }
27066          program { name: "start_pulse";
27067             signal: "elm,state,pulse,start";
27068             source: "elm";
27069             after: "slide_to_end";
27070          }
27071          program { name: "stop_pulse";
27072             signal: "elm,state,pulse,stop";
27073             source: "elm";
27074             action: ACTION_STOP;
27075             target: "slide_to_begin";
27076             target: "slide_to_end";
27077             target: "start_pulse";
27078             after: "state_pulse";
27079          }
27080          program { name: "state_pulse";
27081             signal: "elm,state,pulse";
27082             source: "elm";
27083             action: STATE_SET "state_begin" 0.0;
27084             target: "elm.progress.progressbar";
27085             after: "units_hide";
27086          }
27087          program { name: "state_fraction";
27088             signal: "elm,state,fraction";
27089             source: "elm";
27090             action: ACTION_STOP;
27091             target: "slide_to_begin";
27092             target: "slide_to_end";
27093             target: "start_pulse";
27094             action: STATE_SET "default" 0.0;
27095             target: "elm.progress.progressbar";
27096          }
27097          program { name: "set_invert_on";
27098             signal: "elm,state,inverted,on";
27099             source: "elm";
27100             action:  STATE_SET "invert" 0.0;
27101             target: "elm.progress.progressbar";
27102          }
27103          program { name: "set_invert_off";
27104             signal: "elm,state,inverted,off";
27105             source: "elm";
27106             action:  STATE_SET "default" 0.0;
27107             target: "elm.progress.progressbar";
27108          }
27109       }
27110    }
27111
27112 ///////////////////////////////////////////////////////////////////////////////
27113    group { name: "elm/progressbar/vertical/default";
27114       images {
27115          image: "shelf_inset.png" COMP;
27116          image: "bt_sm_base2.png" COMP;
27117          image: "bt_sm_hilight.png" COMP;
27118          image: "bt_sm_shine.png" COMP;
27119       }
27120       parts {
27121          part { name: "elm.background.progressbar";
27122             type: RECT;
27123             mouse_events: 0;
27124             description {
27125                state: "default" 0.0;
27126                rel1 {
27127                   relative: 0.0 0.0;
27128                   offset: 0 0;
27129                }
27130                rel2 {
27131                   relative: 1.0 1.0;
27132                   offset: -1 -1;
27133                }
27134             }
27135          }
27136          part { name: "elm.swallow.bar";
27137             type: SWALLOW;
27138             scale: 1;
27139             description { state: "default" 0.0;
27140                min: 28 48;
27141                max: 28 9999;
27142                align: 0.5 1.0;
27143                rel1 {
27144                   to_y: "elm.text";
27145                   relative: 0.0 1.0;
27146                   offset: 0 2;
27147                }
27148                rel2 {
27149                   to_y: "elm.text.box";
27150                   relative: 1.0 0.0;
27151                   offset: -1 -3;
27152                }
27153             }
27154          }
27155          part { name: "elm.swallow.content";
27156             type: SWALLOW;
27157             description { state: "default" 0.0;
27158                visible: 0;
27159                align: 0.5 0.0;
27160                rel1 {
27161                   offset: 0 4;
27162                   to_x: "elm.swallow.bar";
27163                }
27164                rel2 {
27165                   offset: -1 3;
27166                   relative: 1.0 0.0;
27167                   to_x: "elm.swallow.bar";
27168                }
27169             }
27170             description { state: "visible" 0.0;
27171                inherit: "default" 0.0;
27172                visible: 1;
27173                aspect: 1.0 1.0;
27174                aspect_preference: HORIZONTAL;
27175                rel2.offset: -1 4;
27176             }
27177          }
27178          part { name: "elm.text";
27179             type: TEXT;
27180             mouse_events: 0;
27181             scale: 1;
27182             description { state: "default" 0.0;
27183                visible: 0;
27184                fixed: 1 1;
27185                align: 0.5 0.0;
27186                rel1.to_y: "elm.swallow.content";
27187                rel1.relative: 0.5 1.0;
27188                rel1.offset: 0 -1;
27189                rel2.to_y: "elm.swallow.content";
27190                rel2.relative: 0.5 1.0;
27191                rel2.offset: -1 -1;
27192                color: 0 0 0 255;
27193                text {
27194                   font: "Sans,Edje-Vera";
27195                   size: 10;
27196                   min: 0 0;
27197                   align: 0.5 0.0;
27198                }
27199             }
27200             description { state: "visible" 0.0;
27201                inherit: "default" 0.0;
27202                visible: 1;
27203                text.min: 1 1;
27204                rel1.offset: 4 0;
27205                rel2.offset: -5 0;
27206             }
27207          }
27208
27209          part { name: "background";
27210             mouse_events: 0;
27211             clip_to: "elm.background.progressbar";
27212             description {
27213                state: "default" 0.0;
27214                rel1 {
27215                   to: "elm.swallow.bar";
27216                   relative: 0.0 0.0;
27217                }
27218                rel2 {
27219                   to: "elm.swallow.bar";
27220                   relative: 1.0 1.0;
27221                   offset: -1 -1;
27222                }
27223                image {
27224                   normal: "shelf_inset.png";
27225                   border: 7 7 7 7;
27226                }
27227             }
27228          }
27229
27230          part { name: "elm.progress.progressbar";
27231             mouse_events: 0;
27232             clip_to: "elm.background.progressbar";
27233             description {
27234                state: "default" 0.0;
27235                min: 28 14;
27236                fixed: 1 1;
27237                rel1 {
27238                   to: "elm.swallow.bar";
27239                   relative: 0.0 0.0;
27240                }
27241                rel2 {
27242                   to_x: "elm.swallow.bar";
27243                   to_y: "elm.cur.progressbar";
27244                   offset: -1 -1;
27245                }
27246                image {
27247                   normal: "bt_sm_base2.png";
27248                   border: 6 6 6 6;
27249                }
27250             }
27251             description {
27252                state: "invert" 0.0;
27253                inherit: "default" 0.0;
27254                rel1 {
27255                   to_x: "elm.swallow.bar";
27256                   to_y: "elm.cur.progressbar";
27257                }
27258                rel2 {
27259                   to: "elm.swallow.bar";
27260                   relative: 1.0 1.0;
27261                }
27262             }
27263             description {
27264                state: "state_begin" 0.0;
27265                inherit: "default" 0.0;
27266                rel1 {
27267                   to: "elm.swallow.bar";
27268                   relative: 0.0 0.0;
27269                }
27270                rel2 {
27271                   to: "elm.swallow.bar";
27272                   relative: 1.0 0.1;
27273                }
27274             }
27275             description {
27276                state: "state_end" 0.0;
27277                inherit: "default" 0.0;
27278                rel1 {
27279                   to: "elm.swallow.bar";
27280                   relative: 0.0 0.9;
27281                }
27282                rel2 {
27283                   to: "elm.swallow.bar";
27284                   relative: 1.0 1.0;
27285                }
27286             }
27287          }
27288
27289          part { name: "over1";
27290             mouse_events: 0;
27291             description { state: "default" 0.0;
27292                rel1.to: "elm.progress.progressbar";
27293                rel2.to: "elm.progress.progressbar";
27294                rel2.relative: 1.0 0.5;
27295                image {
27296                   normal: "bt_sm_hilight.png";
27297                   border: 6 6 6 0;
27298                }
27299             }
27300          }
27301
27302          part { name: "over2";
27303             mouse_events: 1;
27304             repeat_events: 1;
27305             description { state: "default" 0.0;
27306                rel1.to: "elm.progress.progressbar";
27307                rel2.to: "elm.progress.progressbar";
27308                image {
27309                   normal: "bt_sm_shine.png";
27310                   border: 6 6 6 0;
27311                }
27312             }
27313          }
27314
27315          part { name: "elm.cur.progressbar";
27316             mouse_events: 0;
27317             dragable {
27318                confine: "background";
27319                x: 0 0 0;
27320                y: 1 1 1;
27321             }
27322             description { state: "default" 0.0;
27323                min: 28 14;
27324                fixed: 1 1;
27325                visible: 0;
27326                rel1 {
27327                   to: "background";
27328                   relative: 0 0;
27329                }
27330                rel2.to: "background";
27331            }
27332          }
27333
27334          part { name: "elm.text.box";
27335             mouse_events: 0;
27336             type: RECT;
27337             description { state: "default" 0.0;
27338                visible: 0;
27339                rel1 {
27340                   to: "elm.text.status";
27341                   offset: -2 -2;
27342                }
27343                rel2 {
27344                   to: "elm.text.status";
27345                   offset: 2 2;
27346                }
27347                color: 255 255 255 0;
27348             }
27349             description { state: "visible" 0.0;
27350                inherit: "default" 0.0;
27351                visible: 1;
27352             }
27353          }
27354          part { name: "elm.text.status";
27355             type: TEXT;
27356             mouse_events: 0;
27357             scale: 1;
27358             description { state: "default" 0.0;
27359                visible: 0;
27360                fixed: 1 1;
27361                align: 0.5 1.0;
27362                rel1.relative: 0.0 1.0;
27363                rel1.offset: 2 0;
27364                rel2.relative: 1.0 1.0;
27365                rel2.offset: -2 0;
27366                color: 0 0 0 255;
27367                text {
27368                   font: "Sans:style=Bold,Edje-Vera-Bold";
27369                   size: 10;
27370                   min: 0 0;
27371                   align: 0.5 0.0;
27372                }
27373             }
27374             description { state: "visible" 0.0;
27375                inherit: "default" 0.0;
27376                fixed: 1 1;
27377                visible: 1;
27378                text.min: 1 1;
27379                rel1.offset: 8 -9;
27380                rel2.offset: -9 -9;
27381             }
27382          }
27383       }
27384       programs {
27385          program { name: "label_show";
27386             signal: "elm,state,text,visible";
27387             source: "elm";
27388             action:  STATE_SET "visible" 0.0;
27389             target: "elm.text";
27390          }
27391          program { name: "label_hide";
27392             signal: "elm,state,text,hidden";
27393             source: "elm";
27394             action:  STATE_SET "default" 0.0;
27395             target: "elm.text";
27396          }
27397          program { name: "icon_show";
27398             signal: "elm,state,icon,visible";
27399             source: "elm";
27400             action:  STATE_SET "visible" 0.0;
27401             target: "elm.swallow.content";
27402          }
27403          program { name: "icon_hide";
27404             signal: "elm,state,icon,hidden";
27405             source: "elm";
27406             action:  STATE_SET "default" 0.0;
27407             target: "elm.swallow.content";
27408          }
27409          program { name: "units_show";
27410             signal: "elm,state,units,visible";
27411             source: "elm";
27412             action:  STATE_SET "visible" 0.0;
27413             target: "elm.text.status";
27414             target: "elm.text.box";
27415          }
27416          program { name: "units_hide";
27417             signal: "elm,state,units,hidden";
27418             source: "elm";
27419             action:  STATE_SET "default" 0.0;
27420             target: "elm.text.status";
27421             target: "elm.text.box";
27422          }
27423          program { name: "slide_to_end";
27424             action:  STATE_SET "state_end" 0.0;
27425             transition: LINEAR 0.5;
27426             target: "elm.progress.progressbar";
27427             after: "slide_to_begin";
27428          }
27429          program { name: "slide_to_begin";
27430             action:  STATE_SET "state_begin" 0.0;
27431             target: "elm.progress.progressbar";
27432             transition: LINEAR 0.5;
27433             after: "slide_to_end";
27434          }
27435          program { name: "start_pulse";
27436             signal: "elm,state,pulse,start";
27437             source: "elm";
27438             action: STATE_SET "state_begin" 0.0;
27439             target: "elm.progress.progressbar";
27440             after: "slide_to_end";
27441          }
27442          program { name: "stop_pulse";
27443             signal: "elm,state,pulse,stop";
27444             source: "elm";
27445             action: ACTION_STOP;
27446             target: "slide_to_begin";
27447             target: "slide_to_end";
27448             target: "start_pulse";
27449             after: "state_pulse";
27450          }
27451          program { name: "state_pulse";
27452             signal: "elm,state,pulse";
27453             source: "elm";
27454             action: STATE_SET "state_begin" 0.0;
27455             target: "elm.progress.progressbar";
27456             after: "units_hide";
27457          }
27458          program { name: "state_fraction";
27459             signal: "elm,state,fraction";
27460             source: "elm";
27461             action: ACTION_STOP;
27462             target: "slide_to_begin";
27463             target: "slide_to_end";
27464             target: "start_pulse";
27465             action: STATE_SET "default" 0.0;
27466             target: "elm.progress.progressbar";
27467          }
27468          program { name: "set_invert_on";
27469             signal: "elm,state,inverted,on";
27470             source: "elm";
27471             action:  STATE_SET "invert" 0.0;
27472             target: "elm.progress.progressbar";
27473             target: "elm.cur.progressbar";
27474          }
27475          program { name: "set_invert_off";
27476             signal: "elm,state,inverted,off";
27477             source: "elm";
27478             action:  STATE_SET "default" 0.0;
27479             target: "elm.progress.progressbar";
27480             target: "elm.cur.progressbar";
27481          }
27482       }
27483    }
27484
27485 ///////////////////////////////////////////////////////////////////////////////
27486    group { name: "elm/separator/horizontal/default";
27487        images {
27488            image: "separator_h.png" COMP;
27489        }
27490        parts {
27491            part { name: "separator"; // separator group
27492                description { state: "default" 0.0;
27493                    min: 2 2;
27494                    rel1.offset: 4 4;
27495                    rel2.offset: -5 -5;
27496                    image {
27497                        normal: "separator_h.png";
27498                    }
27499                    fill {
27500                        smooth: 0;
27501                    }
27502                }
27503            }
27504        }
27505    }
27506
27507    ///////////////////////////////////////////////////////////////////////////////
27508    group { name: "elm/separator/vertical/default";
27509        images {
27510            image: "separator_v.png" COMP;
27511        }
27512        parts {
27513            part { name: "separator"; // separator group
27514                description { state: "default" 0.0;
27515                    min: 2 2;
27516                    rel1.offset: 4 4;
27517                    rel2.offset: -5 -5;
27518                    image {
27519                        normal: "separator_v.png";
27520                    }
27521                    fill {
27522                        smooth: 0;
27523                    }
27524                }
27525            }
27526        }
27527    }
27528
27529    group { name: "elm/progressbar/horizontal/wheel";
27530        images {
27531            image: "busy-1.png" COMP;
27532            image: "busy-2.png" COMP;
27533            image: "busy-3.png" COMP;
27534            image: "busy-4.png" COMP;
27535            image: "busy-5.png" COMP;
27536            image: "busy-6.png" COMP;
27537            image: "busy-7.png" COMP;
27538            image: "busy-8.png" COMP;
27539            image: "busy-9.png" COMP;
27540        }
27541        parts {
27542            part { name: "elm.background.progressbar";
27543                mouse_events: 0;
27544                type: RECT;
27545                description {
27546                    state: "default" 0.0;
27547                }
27548            }
27549            part { name: "elm.swallow.bar";
27550                mouse_events: 0;
27551                type: SWALLOW;
27552                description { state: "default" 0.0;
27553                    min: 0 0;
27554                    max: 0 0;
27555                    visible: 0;
27556                }
27557            }
27558            part { name: "elm.swallow.content";
27559                type: SWALLOW;
27560                description { state: "default" 0.0;
27561                    min: 0 0;
27562                    max: 0 0;
27563                    visible: 0;
27564                }
27565            }
27566            part { name: "background";
27567                mouse_events: 0;
27568                clip_to: "elm.background.progressbar";
27569                description {
27570                    state: "default" 0.0;
27571                    min: 32 32;
27572                    max: 32 32;
27573                    visible: 1;
27574                    aspect: 1.0 1.0;
27575                    aspect_preference: BOTH;
27576                    image {
27577                        normal: "busy-9.png";
27578                        border: 7 7 7 7;
27579                    }
27580                }
27581                description {
27582                    state: "pulse" 0.0;
27583                    inherit: "default" 0.0;
27584                    image {
27585                        normal: "busy-9.png";
27586                        tween:  "busy-1.png";
27587                        tween:  "busy-2.png";
27588                        tween:  "busy-3.png";
27589                        tween:  "busy-4.png";
27590                        tween:  "busy-5.png";
27591                        tween:  "busy-6.png";
27592                        tween:  "busy-7.png";
27593                        tween:  "busy-8.png";
27594                        border: 7 7 7 7;
27595                    }
27596                }
27597            }
27598        }
27599        programs {
27600            program { name: "start_pulse";
27601                signal: "elm,state,pulse,start";
27602                source: "elm";
27603                action: STATE_SET "pulse" 0.0;
27604                target: "background";
27605                transition: LINEAR 0.5;
27606                after: "start_pulse";
27607            }
27608            program { name: "stop_pulse";
27609                signal: "elm,state,pulse,stop";
27610                source: "elm";
27611                action: STATE_SET "default" 0.0;
27612                target: "background";
27613            }
27614        }
27615    }
27616
27617
27618 ///////////////////////////////////////////////////////////////////////////////
27619    group { name: "elm/spinner/base/default";
27620        images {
27621            image: "shelf_inset.png" COMP;
27622            image: "bt_base1.png" COMP;
27623            image: "bt_hilight.png" COMP;
27624            image: "bt_shine.png" COMP;
27625            image: "bt_glow.png" COMP;
27626            image: "bt_dis_base.png" COMP;
27627            image: "bt_dis_hilight.png" COMP;
27628            image: "sp_bt_l.png" COMP;
27629            image: "sp_bt_r.png" COMP;
27630        }
27631        parts {
27632            part { name: "bg";
27633                type: RECT;
27634                description { state: "default" 0.0;
27635                    min: 0 30;
27636                    rel1.offset: 1 1;
27637                    rel2.offset: -2 -2;
27638                    color: 255 255 255 0;
27639                }
27640            }
27641            part { name: "conf_over";
27642                mouse_events:  0;
27643                description { state: "default" 0.0;
27644                    rel1.to: "bg";
27645                    rel2.to: "bg";
27646                    image {
27647                        normal: "shelf_inset.png";
27648                        border: 7 7 7 7;
27649                        middle: 0;
27650                    }
27651                    fill.smooth : 0;
27652                }
27653            }
27654            part { name: "left_bt";
27655                mouse_events:  1;
27656                description { state: "default" 0.0;
27657                    rel1 { to: "bg";
27658                        offset: 3 3;
27659                    }
27660                    rel2 { to: "bg";
27661                        offset: -4 -4;
27662                    }
27663                    align: 0.0 0.5;
27664                    min: 24 24;
27665                    aspect: 1.0 1.0;
27666                    aspect_preference: VERTICAL;
27667                    image {
27668                        normal: "bt_base1.png";
27669                        border: 6 6 6 6;
27670                    }
27671                    fill.smooth : 0;
27672                }
27673                description { state: "clicked" 0.0;
27674                    inherit: "default" 0.0;
27675                    image.normal: "bt_base1.png";
27676                    image.middle: SOLID;
27677                }
27678                description { state: "disabled" 0.0;
27679                    inherit:  "default" 0.0;
27680                    image {
27681                        normal: "bt_dis_base.png";
27682                        border: 4 4 4 4;
27683                    }
27684                }
27685            }
27686            part {          name: "left_over1";
27687                mouse_events: 0;
27688                description { state: "default" 0.0;
27689                    rel1.to: "left_bt";
27690                    rel2 { to: "left_bt";
27691                        relative: 1.0 0.5;
27692                    }
27693                    image {
27694                        normal: "bt_hilight.png";
27695                        border: 7 7 7 0;
27696                    }
27697                }
27698                description { state: "disabled" 0.0;
27699                    inherit:  "default" 0.0;
27700                    image {
27701                        normal: "bt_dis_hilight.png";
27702                        border: 4 4 4 0;
27703                    }
27704                }
27705            }
27706            part { name: "left_over2";
27707                mouse_events: 1;
27708                repeat_events: 1;
27709                ignore_flags: ON_HOLD;
27710                description { state: "default" 0.0;
27711                    rel1.to: "left_bt";
27712                    rel2.to: "left_bt";
27713                    image {
27714                        normal: "bt_shine.png";
27715                        border: 7 7 7 7;
27716                    }
27717                }
27718                description { state: "disabled" 0.0;
27719                    inherit:  "default" 0.0;
27720                    visible: 0;
27721                }
27722            }
27723            part { name: "left_over3";
27724                mouse_events: 1;
27725                repeat_events: 1;
27726                description { state: "default" 0.0;
27727                    color: 255 255 255 0;
27728                    rel1.to: "left_bt";
27729                    rel2.to: "left_bt";
27730                    image {
27731                        normal: "bt_glow.png";
27732                        border: 12 12 12 12;
27733                    }
27734                    fill.smooth : 0;
27735                }
27736                description { state: "clicked" 0.0;
27737                    inherit:  "default" 0.0;
27738                    visible: 1;
27739                    color: 255 255 255 255;
27740                }
27741            }
27742            part { name: "right_bt";
27743                mouse_events:  1;
27744                description { state: "default" 0.0;
27745                    rel1 { to: "bg";
27746                        offset: -26 3;
27747                    }
27748                    rel2 { to: "bg";
27749                        offset: -4 -4;
27750                    }
27751                    align: 1.0 0.5;
27752                    min: 24 24;
27753                    aspect: 1.0 1.0;
27754                    aspect_preference: VERTICAL;
27755                    image {
27756                        normal: "bt_base1.png";
27757                        border: 5 5 4 12;
27758                    }
27759                    fill.smooth : 0;
27760                }
27761                description { state: "clicked" 0.0;
27762                    inherit: "default" 0.0;
27763                    image.normal: "bt_base1.png";
27764                    image.middle: SOLID;
27765                }
27766                description { state: "disabled" 0.0;
27767                    inherit:  "default" 0.0;
27768                    image {
27769                        normal: "bt_dis_base.png";
27770                        border: 4 4 4 4;
27771                    }
27772                }
27773            }
27774            part { name: "right_over1";
27775                mouse_events: 0;
27776                description { state: "default" 0.0;
27777                    rel1.to: "right_bt";
27778                    rel2 { to: "right_bt";
27779                        relative: 1.0 0.5;
27780                    }
27781                    image {
27782                        normal: "bt_hilight.png";
27783                        border: 7 7 7 0;
27784                    }
27785                }
27786                description { state: "disabled" 0.0;
27787                    inherit:  "default" 0.0;
27788                    image {
27789                        normal: "bt_dis_hilight.png";
27790                        border: 4 4 4 0;
27791                    }
27792                }
27793            }
27794            part { name: "right_over2";
27795                mouse_events: 1;
27796                repeat_events: 1;
27797                ignore_flags: ON_HOLD;
27798                description { state: "default" 0.0;
27799                    rel1.to: "right_bt";
27800                    rel2.to: "right_bt";
27801                    image {
27802                        normal: "bt_shine.png";
27803                        border: 7 7 7 7;
27804                    }
27805                }
27806                description { state: "disabled" 0.0;
27807                    inherit:  "default" 0.0;
27808                    visible: 0;
27809                }
27810            }
27811            part { name: "right_over3";
27812                mouse_events: 1;
27813                repeat_events: 1;
27814                description { state: "default" 0.0;
27815                    color: 255 255 255 0;
27816                    rel1.to: "right_bt";
27817                    rel2.to: "right_bt";
27818                    image {
27819                        normal: "bt_glow.png";
27820                        border: 12 12 12 12;
27821                    }
27822                    fill.smooth : 0;
27823                }
27824                description { state: "clicked" 0.0;
27825                    inherit:  "default" 0.0;
27826                    visible: 1;
27827                    color: 255 255 255 255;
27828                }
27829            }
27830            part { name: "left_bt_icon";
27831                repeat_events: 1;
27832                description { state: "default" 0.0;
27833                    rel1.to: "left_bt";
27834                    rel1.offset: 4 4;
27835                    rel2.to: "left_bt";
27836                    rel2.offset: -5 -5;
27837                    align: 0.5 0.5;
27838                    min: 16 16;
27839                    aspect: 1.0 1.0;
27840                    aspect_preference: BOTH;
27841                    image.normal: "sp_bt_l.png";
27842                }
27843                description { state: "rtl" 0.0;
27844                    inherit: "default" 0.0;
27845                    image.normal: "sp_bt_r.png";
27846                }
27847            }
27848            part { name: "right_bt_icon";
27849                repeat_events: 1;
27850                description { state: "default" 0.0;
27851                    rel1.to: "right_bt";
27852                    rel1.offset: 4 4;
27853                    rel2.to: "right_bt";
27854                    rel2.offset: -5 -5;
27855                    align: 0.5 0.5;
27856                    min: 16 16;
27857                    aspect: 1.0 1.0;
27858                    aspect_preference: BOTH;
27859                    image.normal: "sp_bt_r.png";
27860                }
27861                description { state: "rtl" 0.0;
27862                    inherit: "default" 0.0;
27863                    image.normal: "sp_bt_l.png";
27864                }
27865            }
27866            part { name: "elm.text";
27867                type: TEXT;
27868                mouse_events: 0;
27869                scale: 1;
27870                description { state: "default" 0.0;
27871                    visible: 1;
27872                    align: 0.0 0.5;
27873                    rel1 { relative: 1.0 0.0;
27874                        offset: 3 2;
27875                        to_x: "left_bt";
27876                        to_y: "bg";
27877                    }
27878                    rel2 { relative: 0.0 1.0;
27879                        offset: -3 -2;
27880                        to_x: "right_bt";
27881                        to_y: "bg";
27882                    }
27883                    color: 0 0 0 255;
27884                    text {
27885                        font: "Sans,Edje-Vera";
27886                        size: 10;
27887                        min: 1 1;
27888                        align: 0.5 0.5;
27889                    }
27890                }
27891                description { state: "active" 0.0;
27892                    inherit: "default" 0.0;
27893                    visible: 0;
27894                }
27895                description { state: "disabled_active" 0.0;
27896                    inherit: "default" 0.0;
27897                    color: 0 0 0 128;
27898                    color3: 0 0 0 0;
27899                }
27900                description { state: "disabled" 0.0;
27901                    inherit: "default" 0.0;
27902                    color: 0 0 0 128;
27903                    color3: 0 0 0 0;
27904                }
27905            }
27906            part { name: "elm.dragable.slider";
27907                type: RECT;
27908                mouse_events: 0;
27909                scale: 1;
27910                dragable {
27911                    x: 1 1 0;
27912                    y: 0 0 0;
27913                }
27914                description { state: "default" 0.0;
27915                    rel1.to: "bg";
27916                    rel2.to: "bg";
27917                    fixed: 1 1;
27918                    color: 0 0 0 0;
27919                }
27920            }
27921            part { name: "button_events";
27922                type: RECT;
27923                dragable {
27924                    events: "elm.dragable.slider";
27925                }
27926                mouse_events: 1;
27927                description { state: "default" 0.0;
27928                    rel1.to: "elm.text";
27929                    rel2.to: "elm.text";
27930                    color: 0 0 0 0;
27931                }
27932            }
27933            part { name: "elm.swallow.entry";
27934                type: SWALLOW;
27935                description { state: "default" 0.0;
27936                    visible: 0;
27937                    align: 0.5 0.5;
27938                    rel1 { relative: 1.0 0.5;
27939                        offset: 3 2;
27940                        to_x: "left_bt";
27941                        to_y: "bg";
27942                    }
27943                    rel2 { relative: 0.0 0.5;
27944                        offset: -3 -2;
27945                        to_x: "right_bt";
27946                        to_y: "bg";
27947                    }
27948                    fixed: 1 1;
27949                    color: 0 0 0 0;
27950                }
27951                description { state: "active" 0.0;
27952                    inherit: "default" 0.0;
27953                    visible: 1;
27954                    color: 255 255 255 255;
27955                }
27956                description { state: "disabled_active" 0.0;
27957                    inherit: "default" 0.0;
27958                    visible: 0;
27959                }
27960                description { state: "disabled" 0.0;
27961                    inherit: "default" 0.0;
27962                    visible: 0;
27963                }
27964            }
27965            part { name: "disabler";
27966                type: RECT;
27967                description { state: "default" 0.0;
27968                    color: 0 0 0 0;
27969                    visible: 0;
27970                }
27971                description { state: "disabled" 0.0;
27972                    inherit: "default" 0.0;
27973                    visible: 1;
27974                }
27975            }
27976        }
27977        programs {
27978            program { name: "text_show";
27979                signal: "elm,state,text,visible";
27980                source: "elm";
27981                action:  STATE_SET "visible" 0.0;
27982                target: "elm.text";
27983            }
27984            program { name: "text_hide";
27985                signal: "elm,state,text,hidden";
27986                source: "elm";
27987                action:  STATE_SET "default" 0.0;
27988                target: "elm.text";
27989            }
27990            program { name: "dec";
27991                signal: "mouse,down,1";
27992                source: "left_bt";
27993                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27994            }
27995            program { name: "dec2";
27996                signal: "mouse,up,1";
27997                source: "left_bt";
27998                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27999            }
28000            program { name: "inc";
28001                signal: "mouse,down,1";
28002                source: "right_bt";
28003                action: SIGNAL_EMIT "elm,action,increment,start" "";
28004            }
28005            program { name: "inc2";
28006                signal: "mouse,up,1";
28007                source: "right_bt";
28008                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28009            }
28010            program {
28011                name:   "left_bt_click";
28012                signal: "mouse,down,1";
28013                source: "left_over2";
28014                action: STATE_SET "clicked" 0.0;
28015                target: "left_bt";
28016            }
28017            program {
28018                name:   "left_bt_unclick";
28019                signal: "mouse,up,1";
28020                source: "left_over2";
28021                action: STATE_SET "default" 0.0;
28022                target: "left_bt";
28023            }
28024            program {
28025                name:   "left_bt_click2";
28026                signal: "mouse,down,1";
28027                source: "left_over3";
28028                action: STATE_SET "clicked" 0.0;
28029                target: "left_over3";
28030            }
28031            program {
28032                name:   "left_bt_unclick2";
28033                signal: "mouse,up,1";
28034                source: "left_over3";
28035                action: STATE_SET "default" 0.0;
28036                transition: DECELERATE 0.5;
28037                target: "left_over3";
28038            }
28039            program {
28040                name:   "left_bt_unclick3";
28041                signal: "mouse,up,1";
28042                source: "left_over2";
28043                action: SIGNAL_EMIT "elm,action,click" "";
28044            }
28045            program {
28046                name:   "left_bt_pressed_anim";
28047                signal: "elm,left,anim,activate";
28048                source: "elm";
28049                action: STATE_SET "clicked" 0.0;
28050                target: "left_bt";
28051                target: "left_over3";
28052                after: "left_bt_unpressed_anim";
28053            }
28054            program {
28055                name:   "left_bt_unpressed_anim";
28056                action: STATE_SET "default" 0.0;
28057                transition: DECELERATE 0.5;
28058                target: "left_bt";
28059                target: "left_over3";
28060            }
28061
28062            program {
28063                name:   "right_bt_click";
28064                signal: "mouse,down,1";
28065                source: "right_over2";
28066                action: STATE_SET "clicked" 0.0;
28067                target: "right_bt";
28068            }
28069            program {
28070                name:   "right_bt_unclick";
28071                signal: "mouse,up,1";
28072                source: "right_over2";
28073                action: STATE_SET "default" 0.0;
28074                target: "right_bt";
28075            }
28076            program {
28077                name:   "right_bt_click2";
28078                signal: "mouse,down,1";
28079                source: "right_over3";
28080                action: STATE_SET "clicked" 0.0;
28081                target: "right_over3";
28082            }
28083            program {
28084                name:   "right_bt_unclick2";
28085                signal: "mouse,up,1";
28086                source: "right_over3";
28087                action: STATE_SET "default" 0.0;
28088                transition: DECELERATE 0.5;
28089                target: "right_over3";
28090            }
28091            program {
28092                name:   "right_bt_unclick3";
28093                signal: "mouse,up,1";
28094                source: "right_over2";
28095                action: SIGNAL_EMIT "elm,action,click" "";
28096            }
28097            program {
28098                name:   "right_bt_pressed_anim";
28099                signal: "elm,right,anim,activate";
28100                source: "elm";
28101                action: STATE_SET "clicked" 0.0;
28102                target: "right_bt";
28103                target: "right_over3";
28104                after: "right_bt_unpressed_anim";
28105            }
28106            program {
28107                name:   "right_bt_unpressed_anim";
28108                action: STATE_SET "default" 0.0;
28109                transition: DECELERATE 0.5;
28110                target: "right_bt";
28111                target: "right_over3";
28112            }
28113
28114            program { name: "disable";
28115                signal: "elm,state,disabled";
28116                source: "elm";
28117                action: STATE_SET "disabled" 0.0;
28118                target: "left_bt";
28119                target: "left_over1";
28120                target: "left_over2";
28121                target: "right_bt";
28122                target: "right_over1";
28123                target: "right_over2";
28124                target: "disabler";
28125                after: "disable_text";
28126            }
28127            program { name: "disable_text";
28128                script {
28129                    new st[31];
28130                    new Float:vl;
28131                    get_state(PART:"elm.text", st, 30, vl);
28132                    if (!strcmp(st, "active"))
28133                    set_state(PART:"elm.text", "disabled_active", 0.0);
28134                    else
28135                    set_state(PART:"elm.text", "disabled", 0.0);
28136
28137                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28138                    if (!strcmp(st, "active"))
28139                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28140                    else
28141                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28142                }
28143            }
28144            program { name: "enable";
28145                signal: "elm,state,enabled";
28146                source: "elm";
28147                action: STATE_SET "default" 0.0;
28148                target: "left_bt";
28149                target: "left_over1";
28150                target: "left_over2";
28151                target: "right_bt";
28152                target: "right_over1";
28153                target: "right_over2";
28154                target: "disabler";
28155                after: "enable_text";
28156            }
28157            program { name: "enable_text";
28158                script {
28159                    new st[31];
28160                    new Float:vl;
28161                    get_state(PART:"elm.text", st, 30, vl);
28162                    if (!strcmp(st, "disabled_active"))
28163                    set_state(PART:"elm.text", "active", 0.0);
28164                    else
28165                    set_state(PART:"elm.text", "default", 0.0);
28166
28167                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28168                    if (!strcmp(st, "disabled_active"))
28169                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28170                    else
28171                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28172                }
28173            }
28174            program { name: "active";
28175                signal: "elm,state,active";
28176                source: "elm";
28177                action: STATE_SET "active" 0.0;
28178                target: "elm.text";
28179                target: "elm.swallow.entry";
28180            }
28181            program { name: "inactive";
28182                signal: "elm,state,inactive";
28183                source: "elm";
28184                action: STATE_SET "default" 0.0;
28185                target: "elm.text";
28186                target: "elm.swallow.entry";
28187            }
28188            program { name: "toggle_text";
28189                signal: "mouse,up,1";
28190                source: "button_events";
28191                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28192            }
28193            program { name: "to_rtl";
28194                signal: "edje,state,rtl";
28195                source: "edje";
28196                action: STATE_SET "rtl" 0.0;
28197                target: "right_bt_icon";
28198                target: "left_bt_icon";
28199            }
28200            program { name: "to_ltr";
28201                signal: "edje,state,ltr";
28202                source: "edje";
28203                action: STATE_SET "default" 0.0;
28204                target: "right_bt_icon";
28205                target: "left_bt_icon";
28206            }
28207        }
28208    }
28209
28210 ///////////////////////////////////////////////////////////////////////////////
28211    group { name: "elm/spinner/base/vertical";
28212        images {
28213            image: "shelf_inset.png" COMP;
28214            image: "bt_hilight.png" COMP;
28215            image: "bt_shine.png" COMP;
28216            image: "bt_glow.png" COMP;
28217            image: "bt_dis_base.png" COMP;
28218            image: "bt_dis_hilight.png" COMP;
28219            image: "up.png" COMP;
28220            image: "down.png" COMP;
28221            image: "bt_spinner_up.png" COMP;
28222            image: "bt_spinner_down.png" COMP;
28223            image: "bt_spinner_hilight.png" COMP;
28224        }
28225        parts {
28226            part { name: "bg";
28227                type: RECT;
28228                description { state: "default" 0.0;
28229                    min: 0 30;
28230                    rel1.offset: 1 1;
28231                    rel2.offset: -2 -2;
28232                    color: 255 255 255 0;
28233                }
28234            }
28235            part { name: "conf_over";
28236                mouse_events:  0;
28237                description { state: "default" 0.0;
28238                    rel1 {
28239                      to: "bg";
28240                      relative: 0.0 0.0;
28241                    }
28242                    rel2 {
28243                       to: "bg";
28244                    }
28245                    image {
28246                        normal: "shelf_inset.png";
28247                        border: 7 7 7 7;
28248                        middle: 0;
28249                    }
28250                    fill.smooth : 0;
28251                }
28252            }
28253            part { name: "down_bt";
28254                mouse_events:  1;
28255                description { state: "default" 0.0;
28256                    fixed: 1 1;
28257                    rel1 {
28258                        to: "up_bt";
28259                        relative: 0 1;
28260                        offset: 0 1;
28261                    }
28262                    rel2 {
28263                        to_y: "bg";
28264                        to_x: "up_bt";
28265                        relative: 1 1;
28266                        offset: -1 -4;
28267                    }
28268                    align: 1.0 0.5;
28269                    min: 24 16;
28270                    image {
28271                        normal: "bt_spinner_down.png";
28272                        border: 6 6 6 6;
28273                    }
28274                    fill.smooth : 0;
28275                }
28276                description { state: "clicked" 0.0;
28277                    inherit: "default" 0.0;
28278                    image.normal: "bt_spinner_down.png";
28279                    image.middle: SOLID;
28280                }
28281                description { state: "disabled" 0.0;
28282                    inherit:  "default" 0.0;
28283                    image {
28284                        normal: "bt_dis_base.png";
28285                        border: 4 4 4 4;
28286                    }
28287                }
28288            }
28289            part { name: "down_over3";
28290                mouse_events: 1;
28291                repeat_events: 1;
28292                description { state: "default" 0.0;
28293                    color: 255 255 255 0;
28294                    rel1.to: "down_bt";
28295                    rel2.to: "down_bt";
28296                    image {
28297                        normal: "bt_glow.png";
28298                        border: 12 12 12 12;
28299                    }
28300                    fill.smooth : 0;
28301                }
28302                description { state: "clicked" 0.0;
28303                    inherit:  "default" 0.0;
28304                    visible: 1;
28305                    color: 255 255 255 255;
28306                }
28307            }
28308            part { name: "up_bt";
28309                mouse_events:  1;
28310                description { state: "default" 0.0;
28311                    fixed: 1 0;
28312                    rel1 { to: "bg";
28313                        relative: 0 0;
28314                        offset: 0 2;
28315                    }
28316                    rel2 { to: "bg";
28317                        relative: 1 0.5;
28318                        offset: -3 0;
28319                    }
28320                    align: 1.0 0.5;
28321                    min: 24 16;
28322                    aspect: 1.5 1.0;
28323                    aspect_preference: BOTH;
28324                    image {
28325                        normal: "bt_spinner_up.png";
28326                        border: 6 6 6 6;
28327                    }
28328                    fill.smooth : 0;
28329                }
28330                description { state: "clicked" 0.0;
28331                    inherit: "default" 0.0;
28332                    image.normal: "bt_spinner_up.png";
28333                    image.middle: SOLID;
28334                }
28335                description { state: "disabled" 0.0;
28336                    inherit:  "default" 0.0;
28337                    image {
28338                        normal: "bt_dis_base.png";
28339                        border: 4 4 4 4;
28340                    }
28341                }
28342            }
28343            part { name: "up_over1";
28344                mouse_events: 0;
28345                description { state: "default" 0.0;
28346                    rel1.to: "up_bt";
28347                    rel2 { to: "up_bt";
28348                        relative: 1.0 0.5;
28349                    }
28350                    image {
28351                        normal: "bt_spinner_hilight.png";
28352                        border: 7 7 7 0;
28353                    }
28354                }
28355                description { state: "disabled" 0.0;
28356                    inherit:  "default" 0.0;
28357                    image {
28358                        normal: "bt_dis_hilight.png";
28359                        border: 4 4 4 0;
28360                    }
28361                }
28362            }
28363            part { name: "up_over3";
28364                mouse_events: 1;
28365                repeat_events: 1;
28366                description { state: "default" 0.0;
28367                    color: 255 255 255 0;
28368                    rel1.to: "up_bt";
28369                    rel2.to: "up_bt";
28370                    image {
28371                        normal: "bt_glow.png";
28372                        border: 12 12 12 12;
28373                    }
28374                    fill.smooth : 0;
28375                }
28376                description { state: "clicked" 0.0;
28377                    inherit:  "default" 0.0;
28378                    visible: 1;
28379                    color: 255 255 255 255;
28380                }
28381            }
28382            part { name: "down_bt_icon";
28383                repeat_events: 1;
28384                description { state: "default" 0.0;
28385                    rel1.to: "down_bt";
28386                    rel1.offset: 5 3;
28387                    rel2.to: "down_bt";
28388                    rel2.offset: -6 -3;
28389                    align: 0.5 0.5;
28390                    image.normal: "down.png";
28391                }
28392            }
28393            part { name: "up_bt_icon";
28394                repeat_events: 1;
28395                description { state: "default" 0.0;
28396                    rel1.to: "up_bt";
28397                    rel1.offset: 5 3;
28398                    rel2.to: "up_bt";
28399                    rel2.offset: -6 -3;
28400                    align: 0.5 0.5;
28401                    image.normal: "up.png";
28402                }
28403            }
28404            part { name: "elm.text";
28405                type: TEXT;
28406                mouse_events: 0;
28407                scale: 1;
28408                description { state: "default" 0.0;
28409                    visible: 1;
28410                    align: 0.0 0.5;
28411                    rel1 { relative: 0.0 0.0;
28412                        offset: 3 2;
28413                        to_x: "bg";
28414                        to_y: "bg";
28415                    }
28416                    rel2 { relative: 0.0 1.0;
28417                        offset: -3 -2;
28418                        to_x: "down_bt";
28419                        to_y: "bg";
28420                    }
28421                    color: 0 0 0 255;
28422                    text {
28423                        font: "Sans,Edje-Vera";
28424                        size: 10;
28425                        min: 1 1;
28426                        align: 0.5 0.5;
28427                    }
28428                }
28429                description { state: "active" 0.0;
28430                    inherit: "default" 0.0;
28431                    visible: 0;
28432                }
28433                description { state: "disabled_active" 0.0;
28434                    inherit: "default" 0.0;
28435                    color: 0 0 0 128;
28436                    color3: 0 0 0 0;
28437                }
28438                description { state: "disabled" 0.0;
28439                    inherit: "default" 0.0;
28440                    color: 0 0 0 128;
28441                    color3: 0 0 0 0;
28442                }
28443            }
28444            part { name: "elm.dragable.slider";
28445                type: RECT;
28446                mouse_events: 0;
28447                scale: 1;
28448                dragable {
28449                    x: 1 1 0;
28450                    y: 0 0 0;
28451                }
28452                description { state: "default" 0.0;
28453                    rel1.to: "bg";
28454                    rel2.to: "bg";
28455                    fixed: 1 1;
28456                    color: 0 0 0 0;
28457                }
28458            }
28459            part { name: "button_events";
28460                type: RECT;
28461                dragable {
28462                    events: "elm.dragable.slider";
28463                }
28464                mouse_events: 1;
28465                description { state: "default" 0.0;
28466                    rel1.to: "elm.text";
28467                    rel2.to: "elm.text";
28468                    color: 0 0 0 0;
28469                }
28470            }
28471            part { name: "elm.swallow.entry";
28472                type: SWALLOW;
28473                description { state: "default" 0.0;
28474                    visible: 0;
28475                    align: 0.5 0.5;
28476                    rel1 { relative: 0.0 0.5;
28477                        offset: 3 2;
28478                        to: "bg";
28479                    }
28480                    rel2 { relative: 1.0 0.5;
28481                        offset: -3 -2;
28482                        to: "bg";
28483                    }
28484                    fixed: 1 1;
28485                    color: 0 0 0 0;
28486                }
28487                description { state: "active" 0.0;
28488                    inherit: "default" 0.0;
28489                    visible: 1;
28490                    color: 255 255 255 255;
28491                }
28492                description { state: "disabled_active" 0.0;
28493                    inherit: "default" 0.0;
28494                    visible: 0;
28495                }
28496                description { state: "disabled" 0.0;
28497                    inherit: "default" 0.0;
28498                    visible: 0;
28499                }
28500            }
28501            part { name: "disabler";
28502                type: RECT;
28503                description { state: "default" 0.0;
28504                    color: 0 0 0 0;
28505                    visible: 0;
28506                }
28507                description { state: "disabled" 0.0;
28508                    inherit: "default" 0.0;
28509                    visible: 1;
28510                }
28511            }
28512        }
28513        programs {
28514            program { name: "text_show";
28515                signal: "elm,state,text,visible";
28516                source: "elm";
28517                action:  STATE_SET "visible" 0.0;
28518                target: "elm.text";
28519            }
28520            program { name: "text_hide";
28521                signal: "elm,state,text,hidden";
28522                source: "elm";
28523                action:  STATE_SET "default" 0.0;
28524                target: "elm.text";
28525            }
28526            program { name: "dec";
28527                signal: "mouse,down,1";
28528                source: "down_bt";
28529                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28530            }
28531            program { name: "dec2";
28532                signal: "mouse,up,1";
28533                source: "down_bt";
28534                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28535            }
28536            program { name: "inc";
28537                signal: "mouse,down,1";
28538                source: "up_bt";
28539                action: SIGNAL_EMIT "elm,action,increment,start" "";
28540            }
28541            program { name: "inc2";
28542                signal: "mouse,up,1";
28543                source: "up_bt";
28544                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28545            }
28546            program {
28547                name:   "down_bt_click2";
28548                signal: "mouse,down,1";
28549                source: "down_over3";
28550                action: STATE_SET "clicked" 0.0;
28551                target: "down_over3";
28552            }
28553            program {
28554                name:   "down_bt_unclick2";
28555                signal: "mouse,up,1";
28556                source: "down_over3";
28557                action: STATE_SET "default" 0.0;
28558                transition: DECELERATE 0.5;
28559                target: "down_over3";
28560            }
28561            program {
28562                name:   "up_bt_click2";
28563                signal: "mouse,down,1";
28564                source: "up_over3";
28565                action: STATE_SET "clicked" 0.0;
28566                target: "up_over3";
28567            }
28568            program {
28569                name:   "up_bt_unclick2";
28570                signal: "mouse,up,1";
28571                source: "up_over3";
28572                action: STATE_SET "default" 0.0;
28573                transition: DECELERATE 0.5;
28574                target: "up_over3";
28575            }
28576            program { name: "disable";
28577                signal: "elm,state,disabled";
28578                source: "elm";
28579                action: STATE_SET "disabled" 0.0;
28580                target: "down_bt";
28581                target: "up_bt";
28582                target: "disabler";
28583                after: "disable_text";
28584            }
28585            program { name: "disable_text";
28586                script {
28587                    new st[31];
28588                    new Float:vl;
28589                    get_state(PART:"elm.text", st, 30, vl);
28590                    if (!strcmp(st, "active"))
28591                    set_state(PART:"elm.text", "disabled_active", 0.0);
28592                    else
28593                    set_state(PART:"elm.text", "disabled", 0.0);
28594
28595                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28596                    if (!strcmp(st, "active"))
28597                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28598                    else
28599                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28600                }
28601            }
28602            program { name: "enable";
28603                signal: "elm,state,enabled";
28604                source: "elm";
28605                action: STATE_SET "default" 0.0;
28606                target: "down_bt";
28607                target: "up_bt";
28608                target: "disabler";
28609                after: "enable_text";
28610            }
28611            program { name: "enable_text";
28612                script {
28613                    new st[31];
28614                    new Float:vl;
28615                    get_state(PART:"elm.text", st, 30, vl);
28616                    if (!strcmp(st, "disabled_active"))
28617                    set_state(PART:"elm.text", "active", 0.0);
28618                    else
28619                    set_state(PART:"elm.text", "default", 0.0);
28620
28621                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28622                    if (!strcmp(st, "disabled_active"))
28623                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28624                    else
28625                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28626                }
28627            }
28628            program { name: "active";
28629                signal: "elm,state,active";
28630                source: "elm";
28631                action: STATE_SET "active" 0.0;
28632                target: "elm.text";
28633                target: "elm.swallow.entry";
28634            }
28635            program { name: "inactive";
28636                signal: "elm,state,inactive";
28637                source: "elm";
28638                action: STATE_SET "default" 0.0;
28639                target: "elm.text";
28640                target: "elm.swallow.entry";
28641            }
28642            program { name: "toggle_text";
28643                signal: "mouse,up,1";
28644                source: "button_events";
28645                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28646            }
28647        }
28648    }
28649
28650
28651    ///////////////////////////////////////////////////////////////////////////////
28652    group { name: "elm/index/base/vertical/default";
28653        images {
28654            image: "bt_base1.png" COMP;
28655            image: "bt_base2.png" COMP;
28656            image: "bt_hilight.png" COMP;
28657            image: "bt_shine.png" COMP;
28658        }
28659        parts {
28660            part { name: "clip";
28661                type: RECT;
28662                mouse_events:  0;
28663                description { state: "default" 0.0;
28664                    visible:  0;
28665                    color: 255 255 255 0;
28666                }
28667                description { state: "active" 0.0;
28668                    visible:  1;
28669                    color: 255 255 255 255;
28670                }
28671            }
28672            part { name: "clip2";
28673                type: RECT;
28674                mouse_events:  0;
28675                clip_to: "clip";
28676                description { state: "default" 0.0;
28677                    visible: 0;
28678                    color: 255 255 255 0;
28679                }
28680                description { state: "active" 0.0;
28681                    visible:  1;
28682                    color: 255 255 255 255;
28683                }
28684            }
28685            part { name: "elm.swallow.index.0";
28686                type: SWALLOW;
28687                clip_to: "clip";
28688                description { state: "default" 0.0;
28689                    align: 1.0 0.5;
28690                    fixed: 1 1;
28691                    rel1 {
28692                        relative: 1.0 0.5;
28693                        offset: -1 5;
28694                    }
28695                    rel2 {
28696                        relative: 1.0 0.5;
28697                        offset: -1 -6;
28698                    }
28699                }
28700            }
28701            part { name: "button_image";
28702                mouse_events: 1;
28703                clip_to: "clip";
28704                description { state: "default" 0.0;
28705                    rel1 {
28706                        to: "elm.text.body";
28707                        offset: -5 -5;
28708                    }
28709                    rel2 {
28710                        to: "elm.text";
28711                        offset: 4 4;
28712                    }
28713                    image {
28714                        normal: "bt_base2.png";
28715                        border: 7 7 7 7;
28716                    }
28717                    image.middle: SOLID;
28718                }
28719            }
28720            part { name: "elm.text.body";
28721                type: TEXT;
28722                effect: SOFT_SHADOW;
28723                mouse_events: 0;
28724                scale: 1;
28725                clip_to: "clip";
28726                description { state: "default" 0.0;
28727                    align: 1.0 0.5;
28728                    fixed: 1 1;
28729                    rel1 {
28730                        to: "elm.text";
28731                        relative: 0.0 0.0;
28732                        offset: 5 0;
28733                    }
28734                    rel2 {
28735                        to: "elm.text";
28736                        relative: 0.0 1.0;
28737                        offset: 5 -1;
28738                    }
28739                    color: 224 224 224 255;
28740                    color3: 0 0 0 64;
28741                    text {
28742                        font:     "Sans,Edje-Vera";
28743                        size:     20;
28744                        min:      1 1;
28745                        align:    1.0 0.5;
28746                    }
28747                }
28748            }
28749            part { name: "elm.text";
28750                type: TEXT;
28751                effect: SOFT_SHADOW;
28752                mouse_events: 0;
28753                scale: 1;
28754                clip_to: "clip";
28755                description { state: "default" 0.0;
28756                    align: 1.0 0.5;
28757                    fixed: 1 1;
28758                    rel1 {
28759                        to_x: "elm.swallow.event.0";
28760                        to_y: "elm.dragable.pointer";
28761                        relative: 0.0 0.5;
28762                        offset: -16 0;
28763                    }
28764                    rel2 {
28765                        to_x: "elm.swallow.event.0";
28766                        to_y: "elm.dragable.pointer";
28767                        relative: 0.0 0.5;
28768                        offset: -16 -1;
28769                    }
28770                    color: 255 0 0 255;
28771                    color3: 0 0 0 64;
28772                    text {
28773                        font:     "Sans,Edje-Vera";
28774                        size:     20;
28775                        min:      1 1;
28776                        align:    1.0 0.5;
28777                    }
28778                }
28779            }
28780            part {        name: "over1";
28781                mouse_events: 0;
28782                clip_to: "clip";
28783                description { state: "default" 0.0;
28784                    rel1 {
28785                        to: "button_image";
28786                    }
28787                    rel2 {
28788                        to: "button_image";
28789                        relative: 1.0 0.5;
28790                    }
28791                    image {
28792                        normal: "bt_hilight.png";
28793                        border: 7 7 7 0;
28794                    }
28795                }
28796            }
28797            part { name: "over2";
28798                mouse_events: 1;
28799                repeat_events: 1;
28800                ignore_flags: ON_HOLD;
28801                clip_to: "clip";
28802                description { state: "default" 0.0;
28803                    rel1 {
28804                        to: "button_image";
28805                    }
28806                    rel2 {
28807                        to: "button_image";
28808                    }
28809                    image {
28810                        normal: "bt_shine.png";
28811                        border: 7 7 7 7;
28812                    }
28813                }
28814            }
28815            part { name: "elm.dragable.pointer";
28816                type: RECT;
28817                mouse_events: 0;
28818                dragable {
28819                    x: 1 1 0;
28820                    y: 1 1 0;
28821                }
28822                clip_to: "clip";
28823                description { state: "default" 0.0;
28824                    fixed: 1 1;
28825                    min: 8 8;
28826                    max: 8 8;
28827                    visible: 0;
28828                    rel1 {
28829                        relative: 0.0 0.0;
28830                        offset:   0 0;
28831                    }
28832                    rel2 {
28833                        relative: 0.0 0.0;
28834                        offset:   0 0;
28835                    }
28836                }
28837            }
28838            part { name: "elm.swallow.event.0";
28839                type: SWALLOW;
28840                description { state: "default" 0.0;
28841                    align: 1.0 0.5;
28842                    fixed: 1 1;
28843                    rel1 {
28844                        relative: 1.0 0.0;
28845                        offset: -1 0;
28846                    }
28847                    rel2 {
28848                        relative: 1.0 1.0;
28849                        offset: -1 -1;
28850                    }
28851                }
28852            }
28853        }
28854        programs {
28855            program { name: "active";
28856                signal: "elm,state,active";
28857                source: "elm";
28858                action: STATE_SET "active" 0.0;
28859                transition: DECELERATE 0.5;
28860                target: "clip";
28861            }
28862            program { name: "inactive";
28863                signal: "elm,state,inactive";
28864                source: "elm";
28865                action: STATE_SET "default" 0.0;
28866                transition: DECELERATE 0.5;
28867                target: "clip";
28868            }
28869        }
28870    }
28871
28872    group { name: "elm/index/item/vertical/default";
28873        data.item: "stacking" "above";
28874        data.item: "selectraise" "on";
28875        images {
28876            image: "ilist_1.png" COMP;
28877            image: "ilist_item_shadow.png" COMP;
28878        }
28879        parts {
28880            part {
28881                name: "base_sh";
28882                mouse_events: 0;
28883                description {
28884                    state: "default" 0.0;
28885                    align: 0.0 0.0;
28886                    min: 0 10;
28887                    fixed: 1 1;
28888                    rel1 {
28889                        to: "base";
28890                        relative: 0.0 1.0;
28891                        offset: 0 0;
28892                    }
28893                    rel2 {
28894                        to: "base";
28895                        relative: 1.0 1.0;
28896                        offset: -1 0;
28897                    }
28898                    image {
28899                        normal: "ilist_item_shadow.png";
28900                    }
28901                    fill.smooth: 0;
28902                }
28903            }
28904            part {
28905                name: "base";
28906                mouse_events: 0;
28907                description {
28908                    state: "default" 0.0;
28909                    image {
28910                        normal: "ilist_1.png";
28911                        border: 2 2 2 2;
28912                    }
28913                    fill.smooth: 0;
28914                }
28915                description { state: "active" 0.0;
28916                    inherit: "default" 0.0;
28917                    rel1 {
28918                        offset: -16 0;
28919                    }
28920                }
28921            }
28922            part { name: "elm.text";
28923                type:           TEXT;
28924                mouse_events:   0;
28925                scale: 1;
28926                description {
28927                    state: "default" 0.0;
28928                           //               min: 16 16;
28929                    rel1 {
28930                        to: "base";
28931                        relative: 0.0  0.0;
28932                        offset:   4 4;
28933                    }
28934                    rel2 {
28935                        to: "base";
28936                        relative: 0.5  1.0;
28937                        offset:   -1 -1;
28938                    }
28939                    color: 0 0 0 128;
28940                    text {
28941                        font: "Sans";
28942                        size: 10;
28943                        min: 1 1;
28944                             //                  min: 0 1;
28945                        align: 0.5 0.5;
28946                    }
28947                }
28948                description { state: "active" 0.0;
28949                    inherit: "default" 0.0;
28950                    color: 0 0 0 255;
28951                }
28952            }
28953        }
28954        programs {
28955            program { name: "active";
28956                signal: "elm,state,active";
28957                source: "elm";
28958                action: STATE_SET "active" 0.0;
28959                transition: DECELERATE 0.5;
28960                target: "elm.text";
28961                target: "base";
28962            }
28963            program { name: "inactive";
28964                signal: "elm,state,inactive";
28965                source: "elm";
28966                action: STATE_SET "default" 0.0;
28967                transition: DECELERATE 0.5;
28968                target: "elm.text";
28969                target: "base";
28970            }
28971        }
28972    }
28973
28974    group { name: "elm/index/item_odd/vertical/default";
28975        data.item: "stacking" "below";
28976        images {
28977            image: "ilist_2.png" COMP;
28978        }
28979        parts {
28980            part {
28981                name: "base";
28982                mouse_events: 0;
28983                description {
28984                    state: "default" 0.0;
28985                    image {
28986                        normal: "ilist_2.png";
28987                        border: 2 2 2 2;
28988                    }
28989                    fill.smooth: 0;
28990                }
28991                description { state: "active" 0.0;
28992                    inherit: "default" 0.0;
28993                    rel1 {
28994                        offset: -16 0;
28995                    }
28996                }
28997            }
28998            part { name: "elm.text";
28999                type:           TEXT;
29000                mouse_events:   0;
29001                scale: 1;
29002                description {
29003                    state: "default" 0.0;
29004                           //               min: 16 16;
29005                    rel1 {
29006                        to: "base";
29007                        relative: 0.0  0.0;
29008                        offset:   4 4;
29009                    }
29010                    rel2 {
29011                        to: "base";
29012                        relative: 0.5  1.0;
29013                        offset:   -1 -1;
29014                    }
29015                    color: 0 0 0 128;
29016                    text {
29017                        font: "Sans";
29018                        size: 10;
29019                        min: 1 1;
29020                             //                  min: 0 1;
29021                        align: 0.5 0.5;
29022                    }
29023                }
29024                description { state: "active" 0.0;
29025                    inherit: "default" 0.0;
29026                    color: 0 0 0 255;
29027                }
29028            }
29029        }
29030        programs {
29031            program { name: "active";
29032                signal: "elm,state,active";
29033                source: "elm";
29034                action: STATE_SET "active" 0.0;
29035                transition: DECELERATE 0.5;
29036                target: "elm.text";
29037                target: "base";
29038            }
29039            program { name: "inactive";
29040                signal: "elm,state,inactive";
29041                source: "elm";
29042                action: STATE_SET "default" 0.0;
29043                transition: DECELERATE 0.5;
29044                target: "elm.text";
29045                target: "base";
29046            }
29047        }
29048    }
29049
29050 ///////////////////////////////////////////////////////////////////////////////
29051    group { name: "elm/gengrid/item/default/default";
29052       data.item: "labels" "elm.text";
29053       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29054       images {
29055          image: "bt_sm_base1.png" COMP;
29056          image: "bt_sm_shine.png" COMP;
29057          image: "bt_sm_hilight.png" COMP;
29058          image: "ilist_1.png" COMP;
29059          image: "ilist_item_shadow.png" COMP;
29060       }
29061       parts {
29062          part { name: "event";
29063             type: RECT;
29064             repeat_events: 1;
29065             description {
29066                state: "default" 0.0;
29067                color: 0 0 0 0;
29068             }
29069          }
29070          part { name: "reorder_bg";
29071             mouse_events: 0;
29072             description { state: "default" 0.0;
29073                visible: 0;
29074                color: 255 255 255 0;
29075                rel1 {
29076                   relative: 0.0 0.0;
29077                   offset: -10 -10;
29078                }
29079                rel2 {
29080                   relative: 1.0 1.0;
29081                   offset: 12 12;
29082                }
29083                image {
29084                   normal: "bt_bases.png";
29085                   border: 6 6 6 6;
29086                }
29087             }
29088             description { state: "enabled" 0.0;
29089                inherit: "default" 0.0;
29090                visible: 1;
29091                color: 255 255 255 255;
29092             }
29093          }
29094          part { name: "base_sh";
29095             mouse_events: 0;
29096             description { state: "default" 0.0;
29097                align: 0.0 0.0;
29098                min: 0 10;
29099                fixed: 1 1;
29100                rel1 {
29101                   to: "base";
29102                   relative: 0.0 1.0;
29103                   offset: 0 0;
29104                }
29105                rel2 {
29106                   to: "base";
29107                   relative: 1.0 1.0;
29108                   offset: -1 0;
29109                }
29110                image {
29111                   normal: "ilist_item_shadow.png";
29112                }
29113                fill.smooth: 0;
29114             }
29115          }
29116          part { name: "base";
29117             mouse_events: 0;
29118             description { state: "default" 0.0;
29119                image {
29120                   normal: "ilist_1.png";
29121                   border: 2 2 2 2;
29122                }
29123                fill.smooth: 0;
29124             }
29125          }
29126          part { name: "bg";
29127             clip_to: "disclip";
29128             mouse_events: 0;
29129             description { state: "default" 0.0;
29130                visible: 0;
29131                color: 255 255 255 0;
29132                rel1 {
29133                   relative: 0.0 0.0;
29134                   offset: -5 -5;
29135                }
29136                rel2 {
29137                   relative: 1.0 1.0;
29138                   offset: 4 4;
29139                }
29140                image {
29141                   normal: "bt_sm_base1.png";
29142                   border: 6 6 6 6;
29143                }
29144                image.middle: SOLID;
29145             }
29146             description { state: "selected" 0.0;
29147                inherit: "default" 0.0;
29148                visible: 1;
29149                color: 255 255 255 255;
29150                rel1 {
29151                   relative: 0.0 0.0;
29152                   offset: -2 -2;
29153                }
29154                rel2 {
29155                   relative: 1.0 1.0;
29156                   offset: 1 1;
29157                }
29158             }
29159          }
29160          part { name: "elm.swallow.pad";
29161             type: SWALLOW;
29162             description { state: "default" 0.0;
29163                fixed: 1 0;
29164                align: 0.0 0.5;
29165                rel1 {
29166                   relative: 0.0  1.0;
29167                   offset:   0    -10;
29168                }
29169                rel2 {
29170                   to_y: "elm.text";
29171                   relative: 0.0  0.0;
29172                   offset:   -1   -1;
29173                }
29174             }
29175          }
29176          part { name: "elm.swallow.icon";
29177             clip_to: "disclip";
29178             type: SWALLOW;
29179             description { state: "default" 0.0;
29180                fixed: 1 0;
29181                align: 0.5 0.5;
29182                rel1 {
29183                   relative: 0.0  0.0;
29184                   offset:   -1    4;
29185                }
29186                rel2 {
29187                   to_y: "elm.swallow.pad";
29188                   relative: 1.0  0.0;
29189                   offset:   -1   -5;
29190                }
29191             }
29192          }
29193          part { name: "elm.swallow.end";
29194             clip_to: "disclip";
29195             type: SWALLOW;
29196             description { state: "default" 0.0;
29197                fixed: 1 0;
29198                align: 1.0 0.0;
29199                aspect: 1.0 1.0;
29200                aspect_preference: HORIZONTAL;
29201                rel1 {
29202                   relative: 1.0 0.0;
29203                   offset: -5 -5;
29204                }
29205                rel2 {
29206                   relative: 1.0 1.0;
29207                   offset: 5 5;
29208                }
29209             }
29210          }
29211          part { name: "elm.text";
29212             clip_to: "disclip";
29213             type: TEXT;
29214             effect: SOFT_SHADOW;
29215             mouse_events: 0;
29216             scale: 1;
29217             description { state: "default" 0.0;
29218                rel1 {
29219                   relative: 0.0  1.0;
29220                   offset: 0 0;
29221                }
29222                rel2 {
29223                   relative: 1.0  1.0;
29224                   offset: -5 -5;
29225                }
29226                color: 0 0 0 255;
29227                color3: 0 0 0 0;
29228                text {
29229                   font: "Sans";
29230                   size: 10;
29231                   min: 0 1;
29232                   align: 0.5 0.0;
29233                   text_class: "grid_item";
29234                }
29235             }
29236             description { state: "selected" 0.0;
29237                inherit: "default" 0.0;
29238                color: 224 224 224 255;
29239                color3: 0 0 0 64;
29240             }
29241          }
29242          part { name: "fg1";
29243             clip_to: "disclip";
29244             mouse_events: 0;
29245             description { state: "default" 0.0;
29246                visible: 0;
29247                color: 255 255 255 0;
29248                rel1.to: "bg";
29249                rel2.relative: 1.0 0.5;
29250                rel2.to: "bg";
29251                image {
29252                   normal: "bt_sm_hilight.png";
29253                   border: 6 6 6 0;
29254                }
29255             }
29256             description { state: "selected" 0.0;
29257                inherit: "default" 0.0;
29258                visible: 1;
29259                color: 255 255 255 255;
29260             }
29261          }
29262          part { name: "fg2";
29263             clip_to: "disclip";
29264             mouse_events: 0;
29265             description { state: "default" 0.0;
29266                visible: 0;
29267                color: 255 255 255 0;
29268                rel1.to: "bg";
29269                rel2.to: "bg";
29270                image {
29271                   normal: "bt_sm_shine.png";
29272                   border: 6 6 6 0;
29273                }
29274             }
29275             description { state: "selected" 0.0;
29276                inherit: "default" 0.0;
29277                visible: 1;
29278                color: 255 255 255 255;
29279             }
29280          }
29281          part { name: "disclip";
29282             type: RECT;
29283             description { state: "default" 0.0;
29284                rel1.to: "bg";
29285                rel2.to: "bg";
29286             }
29287             description { state: "disabled" 0.0;
29288                inherit: "default" 0.0;
29289                color: 255 255 255 64;
29290             }
29291          }
29292       }
29293       programs {
29294          // signal: elm,state,%s,active
29295          //   a "check" item named %s went active
29296          // signal: elm,state,%s,passive
29297          //   a "check" item named %s went passive
29298          // default is passive
29299          program { name:    "go_active";
29300             signal:  "elm,state,selected";
29301             source:  "elm";
29302             action:  STATE_SET "selected" 0.0;
29303             target:  "bg";
29304             target:  "fg1";
29305             target:  "fg2";
29306             target:  "elm.text";
29307          }
29308          program { name:    "go_passive";
29309             signal:  "elm,state,unselected";
29310             source:  "elm";
29311             action:  STATE_SET "default" 0.0;
29312             target:  "bg";
29313             target:  "fg1";
29314             target:  "fg2";
29315             target:  "elm.text";
29316             transition: LINEAR 0.1;
29317          }
29318          program { name:    "go_disabled";
29319             signal:  "elm,state,disabled";
29320             source:  "elm";
29321             action:  STATE_SET "disabled" 0.0;
29322             target:  "disclip";
29323          }
29324          program { name:    "go_enabled";
29325             signal:  "elm,state,enabled";
29326             source:  "elm";
29327             action:  STATE_SET "default" 0.0;
29328             target:  "disclip";
29329          }
29330          program { name:    "go_reorder_disabled";
29331             signal:  "elm,state,reorder,disabled";
29332             source:  "elm";
29333             action:  STATE_SET "default" 0.0;
29334             target:  "reorder_bg";
29335             transition: DECELERATE 0.5;
29336          }
29337          program { name:    "go_reorder_enabled";
29338             signal:  "elm,state,reorder,enabled";
29339             source:  "elm";
29340             action:  STATE_SET "enabled" 0.0;
29341             target:  "reorder_bg";
29342             transition: DECELERATE 0.5;
29343          }
29344       }
29345    }
29346    group { name: "elm/gengrid/item/default_style/default";
29347        styles
29348        {
29349            style { name: "gengrid_style";
29350                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29351                tag:  "br" "\n";
29352                tag:  "ps" "ps";
29353                tag:  "hilight" "+ font=Sans:style=Bold";
29354                tag:  "b" "+ font=Sans:style=Bold";
29355                tag:  "tab" "\t";
29356            }
29357            style { name: "gengrid_selected_style";
29358                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29359                tag:  "br" "\n";
29360                tag:  "ps" "ps";
29361                tag:  "hilight" "+ font=Sans:style=Bold";
29362                tag:  "b" "+ font=Sans:style=Bold";
29363                tag:  "tab" "\t";
29364            }
29365        }
29366        data.item: "labels" "elm.text";
29367        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29368        images {
29369            image: "bt_sm_base1.png" COMP;
29370            image: "bt_sm_shine.png" COMP;
29371            image: "bt_sm_hilight.png" COMP;
29372            image: "ilist_1.png" COMP;
29373            image: "ilist_item_shadow.png" COMP;
29374        }
29375        parts {
29376            part { name: "event";
29377                type: RECT;
29378                repeat_events: 1;
29379                description { state: "default" 0.0;
29380                    color: 0 0 0 0;
29381                }
29382            }
29383            part { name: "base_sh";
29384                mouse_events: 0;
29385                description { state: "default" 0.0;
29386                    align: 0.0 0.0;
29387                    min: 0 10;
29388                    fixed: 1 1;
29389                    rel1 {
29390                        to: "base";
29391                        relative: 0.0 1.0;
29392                        offset: 0 0;
29393                    }
29394                    rel2 {
29395                        to: "base";
29396                        relative: 1.0 1.0;
29397                        offset: -1 0;
29398                    }
29399                    image {
29400                        normal: "ilist_item_shadow.png";
29401                    }
29402                    fill.smooth: 0;
29403                }
29404            }
29405            part { name: "base";
29406                mouse_events: 0;
29407                description { state: "default" 0.0;
29408                    min: 16 28;
29409                    image {
29410                        normal: "ilist_1.png";
29411                        border: 2 2 2 2;
29412                    }
29413                    fill.smooth: 0;
29414                }
29415            }
29416            part { name: "bg";
29417                clip_to: "disclip";
29418                mouse_events: 0;
29419                description { state: "default" 0.0;
29420                    visible: 0;
29421                    color: 255 255 255 0;
29422                    rel1 {
29423                        relative: 0.0 0.0;
29424                        offset: -5 -5;
29425                    }
29426                    rel2 {
29427                        relative: 1.0 1.0;
29428                        offset: 4 4;
29429                    }
29430                    image {
29431                        normal: "bt_sm_base1.png";
29432                        border: 6 6 6 6;
29433                    }
29434                    image.middle: SOLID;
29435                }
29436                description { state: "selected" 0.0;
29437                    inherit: "default" 0.0;
29438                    visible: 1;
29439                    color: 255 255 255 255;
29440                    rel1 {
29441                        relative: 0.0 0.0;
29442                        offset: -2 -2;
29443                    }
29444                    rel2 {
29445                        relative: 1.0 1.0;
29446                        offset: 1 1;
29447                    }
29448                }
29449            }
29450            part { name: "elm.swallow.pad";
29451                type: SWALLOW;
29452                description { state: "default" 0.0;
29453                    fixed: 1 0;
29454                    align: 0.0 0.5;
29455                    rel1 {
29456                        relative: 0.0  0.0;
29457                        offset:   4    4;
29458                    }
29459                    rel2 {
29460                        relative: 0.0  1.0;
29461                        offset:   4   -5;
29462                    }
29463                }
29464            }
29465            part { name: "elm.swallow.icon";
29466                clip_to: "disclip";
29467                type: SWALLOW;
29468                description { state: "default" 0.0;
29469                    fixed: 1 0;
29470                    align: 0.0 0.5;
29471                    rel1 {
29472                        to_x: "elm.swallow.pad";
29473                        relative: 1.0  0.0;
29474                        offset:   -1    4;
29475                    }
29476                    rel2 {
29477                        to_x: "elm.swallow.pad";
29478                        relative: 1.0  1.0;
29479                        offset:   -1   -5;
29480                    }
29481                }
29482            }
29483            part { name: "elm.swallow.end";
29484                clip_to: "disclip";
29485                type: SWALLOW;
29486                description { state: "default" 0.0;
29487                    fixed: 1 0;
29488                    align: 1.0 0.5;
29489                    aspect: 1.0 1.0;
29490                    aspect_preference: VERTICAL;
29491                    rel1 {
29492                        relative: 1.0  0.0;
29493                        offset:   -5    4;
29494                    }
29495                    rel2 {
29496                        relative: 1.0  1.0;
29497                        offset:   -5   -5;
29498                    }
29499                }
29500            }
29501            part { name: "elm.text";
29502                clip_to: "disclip";
29503                type: TEXTBLOCK;
29504                mouse_events: 0;
29505                scale: 1;
29506                description {
29507                    state: "default" 0.0;
29508                    align: 0.0 0.5;
29509                    fixed: 0 1;
29510                    rel1 {
29511                        to_x: "elm.swallow.icon";
29512                        to_y: "base";
29513                        relative: 1.0  0.5;
29514                        offset:   0 4;
29515                    }
29516                    rel2 {
29517                        to_x: "elm.swallow.end";
29518                        to_y: "base";
29519                        relative: 0.0  0.5;
29520                        offset:   -1 -5;
29521                    }
29522                    text {
29523                        style: "gengrid_style";
29524                        min: 1 1;
29525                    }
29526                }
29527                description { state: "selected" 0.0;
29528                    inherit: "default" 0.0;
29529                    text {
29530                        style: "gengrid_selected_style";
29531                    }
29532                }
29533            }
29534            part { name: "fg1";
29535                clip_to: "disclip";
29536                mouse_events: 0;
29537                description { state: "default" 0.0;
29538                    visible: 0;
29539                    color: 255 255 255 0;
29540                    rel1.to: "bg";
29541                    rel2.relative: 1.0 0.5;
29542                    rel2.to: "bg";
29543                    image {
29544                        normal: "bt_sm_hilight.png";
29545                        border: 6 6 6 0;
29546                    }
29547                }
29548                description { state: "selected" 0.0;
29549                    inherit: "default" 0.0;
29550                    visible: 1;
29551                    color: 255 255 255 255;
29552                }
29553            }
29554            part { name: "fg2";
29555                clip_to: "disclip";
29556                mouse_events: 0;
29557                description { state: "default" 0.0;
29558                    visible: 0;
29559                    color: 255 255 255 0;
29560                    rel1.to: "bg";
29561                    rel2.to: "bg";
29562                    image {
29563                        normal: "bt_sm_shine.png";
29564                        border: 6 6 6 0;
29565                    }
29566                }
29567                description { state: "selected" 0.0;
29568                    inherit: "default" 0.0;
29569                    visible: 1;
29570                    color: 255 255 255 255;
29571                }
29572            }
29573            part { name: "disclip";
29574                type: RECT;
29575                description { state: "default" 0.0;
29576                    rel1.to: "bg";
29577                    rel2.to: "bg";
29578                }
29579                description { state: "disabled" 0.0;
29580                    inherit: "default" 0.0;
29581                    color: 255 255 255 64;
29582                }
29583            }
29584        }
29585        programs {
29586            // signal: elm,state,%s,active
29587            //   a "check" item named %s went active
29588            // signal: elm,state,%s,passive
29589            //   a "check" item named %s went passive
29590            // default is passive
29591            program { name:    "go_active";
29592                signal:  "elm,state,selected";
29593                source:  "elm";
29594                action:  STATE_SET "selected" 0.0;
29595                target:  "bg";
29596                target:  "fg1";
29597                target:  "fg2";
29598                target:  "elm.text";
29599            }
29600            program { name:    "go_passive";
29601                signal:  "elm,state,unselected";
29602                source:  "elm";
29603                action:  STATE_SET "default" 0.0;
29604                target:  "bg";
29605                target:  "fg1";
29606                target:  "fg2";
29607                target:  "elm.text";
29608                transition: LINEAR 0.1;
29609            }
29610            program { name:    "go_disabled";
29611                signal:  "elm,state,disabled";
29612                source:  "elm";
29613                action:  STATE_SET "disabled" 0.0;
29614                target:  "disclip";
29615            }
29616            program { name:    "go_enabled";
29617                signal:  "elm,state,enabled";
29618                source:  "elm";
29619                action:  STATE_SET "default" 0.0;
29620                target:  "disclip";
29621            }
29622        }
29623    }
29624
29625    group { name: "elm/gengrid/item/up/default";
29626       data.item: "labels" "elm.text";
29627       images {
29628           image: "bt_sm_base1.png" COMP;
29629           image: "bt_sm_shine.png" COMP;
29630           image: "bt_sm_hilight.png" COMP;
29631           image: "arrow_up.png" COMP;
29632       }
29633       parts {
29634          part { name: "event";
29635             type: RECT;
29636             repeat_events: 1;
29637             description { state: "default" 0.0;
29638                color: 0 0 0 0;
29639             }
29640          }
29641          part { name: "bg";
29642             clip_to: "disclip";
29643             mouse_events: 0;
29644             description { state: "default" 0.0;
29645                visible: 0;
29646                color: 255 255 255 0;
29647                rel1.offset: -3 -3;
29648                rel2.offset: 2 2;
29649                image { normal: "bt_sm_base1.png";
29650                   border: 6 6 6 6;
29651                   middle: SOLID;
29652                }
29653             }
29654             description { state: "selected" 0.0;
29655                inherit: "default" 0.0;
29656                visible: 1;
29657                color: 255 255 255 255;
29658             }
29659          }
29660          part { name: "image";
29661              type: IMAGE;
29662              mouse_events: 0;
29663              description { state: "default" 0.0;
29664                  aspect_preference: BOTH;
29665                  aspect: 1.0 1.0;
29666                  image.normal: "arrow_up.png";
29667                  rel2 {
29668                      to_y: "elm.text";
29669                      relative: 1.0 0.0;
29670                      offset: -1 -2;
29671                  }
29672              }
29673          }
29674          part { name: "elm.text";
29675             clip_to: "disclip";
29676             type: TEXT;
29677             effect: SOFT_SHADOW;
29678             mouse_events: 0;
29679             scale: 1;
29680             description { state: "default" 0.0;
29681                rel1 {
29682                   relative: 0.0  1.0;
29683                   offset: 20 -25;
29684                }
29685                rel2 {
29686                   relative: 1.0  1.0;
29687                   offset: -21 -3;
29688                }
29689                color: 0 0 0 255;
29690                color3: 0 0 0 0;
29691                text {
29692                   font: "Sans";
29693                   size: 10;
29694                   min: 0 1;
29695                   align: 0.5 0.0;
29696                   text_class: "grid_item";
29697                }
29698             }
29699             description { state: "selected" 0.0;
29700                inherit: "default" 0.0;
29701                color: 224 224 224 255;
29702                color3: 0 0 0 64;
29703             }
29704          }
29705          part { name: "fg1";
29706             clip_to: "disclip";
29707             mouse_events: 0;
29708             description { state: "default" 0.0;
29709                visible: 0;
29710                color: 255 255 255 0;
29711                rel1.offset: -3 -3;
29712                rel2 {
29713                    relative: 1.0 0.5;
29714                    offset: 2 -1;
29715                }
29716                image {
29717                   normal: "bt_sm_hilight.png";
29718                   border: 6 6 6 0;
29719                }
29720             }
29721             description { state: "selected" 0.0;
29722                inherit: "default" 0.0;
29723                visible: 1;
29724                color: 255 255 255 255;
29725             }
29726          }
29727          part { name: "fg2";
29728             clip_to: "disclip";
29729             mouse_events: 0;
29730             description { state: "default" 0.0;
29731                visible: 0;
29732                color: 255 255 255 0;
29733                rel1.offset: -3 -3;
29734                rel2.offset: 2 2;
29735                image {
29736                   normal: "bt_sm_shine.png";
29737                   border: 6 6 6 0;
29738                }
29739             }
29740             description { state: "selected" 0.0;
29741                inherit: "default" 0.0;
29742                visible: 1;
29743                color: 255 255 255 255;
29744             }
29745          }
29746          part { name: "disclip";
29747             type: RECT;
29748             description { state: "default" 0.0;
29749                rel1.to: "bg";
29750                rel2.to: "bg";
29751             }
29752             description { state: "disabled" 0.0;
29753                inherit: "default" 0.0;
29754                color: 255 255 255 64;
29755             }
29756          }
29757       }
29758       programs {
29759          program { name:    "go_active";
29760             signal:  "elm,state,selected";
29761             source:  "elm";
29762             action:  STATE_SET "selected" 0.0;
29763             target:  "bg";
29764             target:  "fg1";
29765             target:  "fg2";
29766             target:  "elm.text";
29767          }
29768          program { name:    "go_passive";
29769             signal:  "elm,state,unselected";
29770             source:  "elm";
29771             action:  STATE_SET "default" 0.0;
29772             target:  "bg";
29773             target:  "fg1";
29774             target:  "fg2";
29775             target:  "elm.text";
29776             transition: LINEAR 0.1;
29777          }
29778          program { name:    "go_disabled";
29779             signal:  "elm,state,disabled";
29780             source:  "elm";
29781             action:  STATE_SET "disabled" 0.0;
29782             target:  "disclip";
29783          }
29784          program { name:    "go_enabled";
29785             signal:  "elm,state,enabled";
29786             source:  "elm";
29787             action:  STATE_SET "default" 0.0;
29788             target:  "disclip";
29789          }
29790       }
29791    }
29792
29793    group { name: "elm/gengrid/item/album-preview/default";
29794       data.item: "labels" "elm.text";
29795       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29796       data.item: "states" "have_files";
29797       images {
29798          image: "bt_sm_base1.png" COMP;
29799          image: "bt_sm_shine.png" COMP;
29800          image: "bt_sm_hilight.png" COMP;
29801          image: "icon_folder.png" COMP;
29802       }
29803       parts {
29804          part { name: "event";
29805             type: RECT;
29806             repeat_events: 1;
29807             description { state: "default" 0.0;
29808                color: 0 0 0 0;
29809             }
29810          }
29811          part { name: "bg";
29812             clip_to: "disclip";
29813             mouse_events: 0;
29814             description { state: "default" 0.0;
29815                visible: 0;
29816                color: 255 255 255 0;
29817                rel1.offset: -3 -3;
29818                rel2.offset: 2 2;
29819                image {
29820                   normal: "bt_sm_base1.png";
29821                   border: 6 6 6 6;
29822                   middle: SOLID;
29823                }
29824             }
29825             description { state: "selected" 0.0;
29826                inherit: "default" 0.0;
29827                visible: 1;
29828                color: 255 255 255 255;
29829             }
29830          }
29831          part { name: "image";
29832              type: IMAGE;
29833              mouse_events: 0;
29834              description { state: "default" 0.0;
29835                  aspect_preference: BOTH;
29836                  aspect: 1.0 1.0;
29837                  image.normal: "icon_folder.png";
29838                  rel2 {
29839                      to_y: "elm.text";
29840                      relative: 1.0 0.0;
29841                      offset: -1 -2;
29842                  }
29843              }
29844          }
29845          part { name: "have-files-clipper";
29846              type: RECT;
29847              description { state: "default" 0.0;
29848                  color: 255 255 255 0;
29849                  visible: 0;
29850              }
29851              description { state: "visible" 0.0;
29852                  inherit: "default" 0.0;
29853                  color: 255 255 255 255;
29854                  visible: 1;
29855              }
29856          }
29857          part { name: "icon_box_margin";
29858              type: RECT;
29859              mouse_events: 0;
29860              clip_to: "have-files-clipper";
29861              description { state: "default" 0.0;
29862                  color: 0 0 0 255;
29863                  rel1 {
29864                      to: "icon_box";
29865                      offset: -1 -1;
29866                  }
29867                  rel2 {
29868                      to: "icon_box";
29869                      offset: 0 0;
29870                  }
29871              }
29872          }
29873          part { name: "icon_box";
29874              type: RECT;
29875              mouse_events: 0;
29876              clip_to: "have-files-clipper";
29877              description { state: "default" 0.0;
29878                  color: 255 255 255 255;
29879                  align: 1.0 1.0;
29880                  min: 32 32;
29881                  rel1 {
29882                      relative: 0.25 0.25;
29883                      offset: 0 0;
29884                  }
29885                  rel2 {
29886                      relative: 1.0 0.0;
29887                      offset: -11 -4;
29888                      to_y: "elm.text";
29889                  }
29890              }
29891          }
29892          part { name: "elm.swallow.icon.1";
29893              type: SWALLOW;
29894              mouse_events: 0;
29895              clip_to: "have-files-clipper";
29896              description { state: "default" 0.0;
29897                rel1 {
29898                   relative: 0.0  0.0;
29899                   to: "icon_box";
29900                }
29901                rel2 {
29902                   relative: 0.5  0.5;
29903                   offset: -1 -1;
29904                   to: "icon_box";
29905                }
29906             }
29907          }
29908          part { name: "elm.swallow.icon.2";
29909              type: SWALLOW;
29910              mouse_events: 0;
29911              clip_to: "have-files-clipper";
29912              description { state: "default" 0.0;
29913                rel1 {
29914                   relative: 0.5  0.0;
29915                   to: "icon_box";
29916                }
29917                rel2 {
29918                   relative: 1.0  0.5;
29919                   offset: -1 -1;
29920                   to: "icon_box";
29921                }
29922             }
29923          }
29924          part { name: "elm.swallow.icon.3";
29925              type: SWALLOW;
29926              mouse_events: 0;
29927              clip_to: "have-files-clipper";
29928              description { state: "default" 0.0;
29929                rel1 {
29930                   relative: 0.0  0.5;
29931                   to: "icon_box";
29932                }
29933                rel2 {
29934                   relative: 0.5  1.0;
29935                   offset: -1 -1;
29936                   to: "icon_box";
29937                }
29938             }
29939          }
29940          part { name: "elm.swallow.icon.4";
29941              type: SWALLOW;
29942              mouse_events: 0;
29943              clip_to: "have-files-clipper";
29944              description { state: "default" 0.0;
29945                rel1 {
29946                   relative: 0.5  0.5;
29947                   to: "icon_box";
29948                }
29949                rel2 {
29950                   relative: 1.0  1.0;
29951                   offset: -1 -1;
29952                   to: "icon_box";
29953                }
29954             }
29955          }
29956          part { name: "elm.text";
29957             clip_to: "disclip";
29958             type: TEXT;
29959             effect: SOFT_SHADOW;
29960             mouse_events: 0;
29961             scale: 1;
29962             description { state: "default" 0.0;
29963                rel1 {
29964                   relative: 0.0  1.0;
29965                   offset: 20 -30;
29966                }
29967                rel2 {
29968                   relative: 1.0  1.0;
29969                   offset: -21 -15;
29970                }
29971                color: 0 0 0 255;
29972                color3: 0 0 0 0;
29973                text {
29974                   font: "Sans";
29975                   size: 10;
29976                   min: 0 1;
29977                   align: 0.5 0.0;
29978                   text_class: "grid_item";
29979                }
29980             }
29981             description { state: "selected" 0.0;
29982                 inherit: "default" 0.0;
29983                 color: 255 255 255 255;
29984             }
29985          }
29986          part { name: "fg1";
29987             clip_to: "disclip";
29988             mouse_events: 0;
29989             description { state: "default" 0.0;
29990                visible: 0;
29991                color: 255 255 255 0;
29992                rel1.offset: -3 -3;
29993                rel2 {
29994                    relative: 1.0 0.5;
29995                    offset: 2 -1;
29996                }
29997                image {
29998                   normal: "bt_sm_hilight.png";
29999                   border: 6 6 6 0;
30000                }
30001             }
30002             description { state: "selected" 0.0;
30003                inherit: "default" 0.0;
30004                visible: 1;
30005                color: 255 255 255 255;
30006             }
30007          }
30008          part { name: "fg2";
30009             clip_to: "disclip";
30010             mouse_events: 0;
30011             description { state: "default" 0.0;
30012                visible: 0;
30013                color: 255 255 255 0;
30014                rel1.offset: -3 -3;
30015                rel2.offset: 2 2;
30016                image {
30017                   normal: "bt_sm_shine.png";
30018                   border: 6 6 6 0;
30019                }
30020             }
30021             description { state: "selected" 0.0;
30022                inherit: "default" 0.0;
30023                visible: 1;
30024                color: 255 255 255 255;
30025             }
30026          }
30027          part { name: "disclip";
30028             type: RECT;
30029             description { state: "default" 0.0;
30030                rel1.to: "bg";
30031                rel2.to: "bg";
30032             }
30033             description { state: "disabled" 0.0;
30034                inherit: "default" 0.0;
30035                color: 255 255 255 64;
30036             }
30037          }
30038       }
30039       programs {
30040          program { name:    "go_active";
30041             signal:  "elm,state,selected";
30042             source:  "elm";
30043             action:  STATE_SET "selected" 0.0;
30044             target:  "bg";
30045             target:  "fg1";
30046             target:  "fg2";
30047             target:  "elm.text";
30048          }
30049          program { name:    "go_passive";
30050             signal:  "elm,state,unselected";
30051             source:  "elm";
30052             action:  STATE_SET "default" 0.0;
30053             target:  "bg";
30054             target:  "fg1";
30055             target:  "fg2";
30056             target:  "elm.text";
30057             transition: LINEAR 0.1;
30058          }
30059          program { name:    "go_disabled";
30060             signal:  "elm,state,disabled";
30061             source:  "elm";
30062             action:  STATE_SET "disabled" 0.0;
30063             target:  "disclip";
30064          }
30065          program { name:    "go_enabled";
30066             signal:  "elm,state,enabled";
30067             source:  "elm";
30068             action:  STATE_SET "default" 0.0;
30069             target:  "disclip";
30070          }
30071          program {
30072              signal: "elm,state,have_files,active";
30073              source: "elm";
30074              action: STATE_SET "visible" 0.0;
30075              target: "have-files-clipper";
30076          }
30077       }
30078    }
30079
30080    group { name: "elm/gengrid/item/thumb/default";
30081        data {
30082            item: "icons" "elm.swallow.icon";
30083            item: "labels" "elm.text";
30084        }
30085        images {
30086            image: "bt_sm_base1.png" COMP;
30087            image: "bt_sm_shine.png" COMP;
30088            image: "bt_sm_hilight.png" COMP;
30089            image: "thumb_shadow.png" COMP;
30090        }
30091        parts {
30092            part { name: "event";
30093                type: RECT;
30094                repeat_events: 1;
30095                description { state: "default" 0.0;
30096                    color: 0 0 0 0;
30097                }
30098            }
30099            part { name: "bg";
30100                mouse_events: 0;
30101                description { state: "default" 0.0;
30102                    visible: 0;
30103                    color: 255 255 255 0;
30104                    rel1.offset: -3 -3;
30105                    rel2.offset: 2 2;
30106                    image {
30107                        normal: "bt_sm_base1.png";
30108                        border: 6 6 6 6;
30109                        middle: SOLID;
30110                    }
30111                }
30112                description { state: "selected" 0.0;
30113                    inherit: "default" 0.0;
30114                    visible: 1;
30115                    color: 255 255 255 255;
30116                }
30117            }
30118            part { name: "border-shadow";
30119                type: IMAGE;
30120                mouse_events: 0;
30121                description { state: "default" 0.0;
30122                    rel1 {
30123                        to: "elm.swallow.icon";
30124                        offset: -18 -18;
30125                    }
30126                    rel2 {
30127                        to_x: "elm.swallow.icon";
30128                        to_y: "elm.text";
30129                        offset: 17 17;
30130                    }
30131                    image {
30132                        normal: "thumb_shadow.png";
30133                        border: 17 17 17 17;
30134                        middle: NONE;
30135                    }
30136                }
30137            }
30138            part { name: "border";
30139                type: RECT;
30140                mouse_events: 0;
30141                description { state: "default" 0.0;
30142                    rel1 {
30143                        to: "border-shadow";
30144                        offset: 16 16;
30145                    }
30146                    rel2 {
30147                        to: "border-shadow";
30148                        offset: -15 -15;
30149                    }
30150                }
30151            }
30152            part { name: "elm.swallow.icon";
30153                type: SWALLOW;
30154                mouse_events: 0;
30155                description { state: "default" 0.0;
30156                    aspect_preference: BOTH;
30157                    aspect: 1.0 1.0;
30158                    rel1.offset: 0 8;
30159                    rel2 {
30160                        to_y: "elm.text";
30161                        relative: 1.0 0.0;
30162                        offset: -1 -2;
30163                    }
30164                }
30165            }
30166            part { name: "elm.text";
30167                type: TEXT;
30168                effect: SOFT_SHADOW;
30169                mouse_events: 0;
30170                scale: 1;
30171                description { state: "default" 0.0;
30172                    color: 0 0 0 255;
30173                    color3: 0 0 0 0;
30174                    align: 0.5 1.0;
30175                    rel1 {
30176                        relative: 0.0 1.0;
30177                        offset: 20 -30;
30178                    }
30179                    rel2 {
30180                        relative: 1.0 1.0;
30181                        offset: -21 -15;
30182                    }
30183                    text {
30184                        font: "Sans";
30185                        size: 10;
30186                        min: 0 1;
30187                        align: 0.5 0.0;
30188                        text_class: "grid_item";
30189                    }
30190                }
30191            }
30192            part { name: "fg1";
30193                mouse_events: 0;
30194                description { state: "default" 0.0;
30195                    visible: 0;
30196                    color: 255 255 255 0;
30197                    rel1.offset: -3 -3;
30198                    rel2 {
30199                        relative: 1.0 0.5;
30200                        offset: 2 -1;
30201                    }
30202                    image {
30203                        normal: "bt_sm_hilight.png";
30204                        border: 6 6 6 0;
30205                    }
30206                }
30207                description { state: "selected" 0.0;
30208                    inherit: "default" 0.0;
30209                    visible: 1;
30210                    color: 255 255 255 255;
30211                }
30212            }
30213            part { name: "fg2";
30214                mouse_events: 0;
30215                description { state: "default" 0.0;
30216                    visible: 0;
30217                    color: 255 255 255 0;
30218                    rel1.offset: -3 -3;
30219                    rel2.offset: 2 2;
30220                    image {
30221                        image: "bt_sm_shine.png";
30222                        border: 6 6 6 0;
30223                    }
30224                }
30225                description { state: "selected" 0.0;
30226                    inherit: "default" 0.0;
30227                    visible: 1;
30228                    color: 255 255 255 255;
30229                }
30230            }
30231        }
30232        programs {
30233            program {
30234                signal: "elm,state,selected";
30235                source: "elm";
30236                action: STATE_SET "selected" 0.0;
30237                target: "bg";
30238                target: "fg1";
30239                target: "fg2";
30240            }
30241            program {
30242                signal: "elm,state,unselected";
30243                source: "elm";
30244                action:  STATE_SET "default" 0.0;
30245                target: "bg";
30246                target: "fg1";
30247                target: "fg2";
30248                transition: LINEAR 0.1;
30249            }
30250        }
30251    }
30252
30253 ///////////////////////////////////////////////////////////////////////////////
30254    group { name: "elm/photocam/base/default";
30255        script {
30256            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30257            public timer0(val) {
30258                new v;
30259                v = get_int(sbvis_v);
30260                if (v) {
30261                    v = get_int(sbalways_v);
30262                    if (!v) {
30263                        emit("do-hide-vbar", "");
30264                        set_int(sbvis_v, 0);
30265                    }
30266                }
30267                v = get_int(sbvis_h);
30268                if (v) {
30269                    v = get_int(sbalways_h);
30270                    if (!v) {
30271                        emit("do-hide-hbar", "");
30272                        set_int(sbvis_h, 0);
30273                    }
30274                }
30275                set_int(sbvis_timer, 0);
30276                return 0;
30277            }
30278        }
30279        images {
30280            image: "shelf_inset.png" COMP;
30281            image: "bt_sm_base2.png" COMP;
30282            image: "bt_sm_shine.png" COMP;
30283            image: "bt_sm_hilight.png" COMP;
30284            image: "busy-1.png" COMP;
30285            image: "busy-2.png" COMP;
30286            image: "busy-3.png" COMP;
30287            image: "busy-4.png" COMP;
30288            image: "busy-5.png" COMP;
30289            image: "busy-6.png" COMP;
30290            image: "busy-7.png" COMP;
30291            image: "busy-8.png" COMP;
30292            image: "busy-9.png" COMP;
30293        }
30294        parts {
30295            part { name: "bg";
30296                type: RECT;
30297                description { state: "default" 0.0;
30298                    rel1.offset: 1 1;
30299                    rel2.offset: -2 -2;
30300                    color: 255 255 255 0;
30301                }
30302            }
30303            part { name: "clipper";
30304                type: RECT;
30305                mouse_events: 0;
30306                description { state: "default" 0.0;
30307                    rel1.to: "bg";
30308                    rel2.to: "bg";
30309                }
30310            }
30311            part { name: "elm.swallow.content";
30312                clip_to: "clipper";
30313                type: SWALLOW;
30314                description { state: "default" 0.0;
30315                    rel1.offset: 1 1;
30316                    rel2.offset: -2 -2;
30317                }
30318            }
30319            part { name: "busy_clip";
30320                type: RECT;
30321                mouse_events: 0;
30322                description { state: "default" 0.0;
30323                    visible: 0;
30324                    color: 255 255 255 0;
30325                }
30326                description { state: "active" 0.0;
30327                    visible: 1;
30328                    color: 255 255 255 255;
30329                }
30330            }
30331            part { name: "busy";
30332                clip_to: "busy_clip";
30333                mouse_events: 0;
30334                description { state: "default" 0.0;
30335                    fixed: 1 1;
30336                    min: 32 32;
30337                    aspect: 1.0 1.0;
30338                    align: 1.0 1.0;
30339                    aspect_preference: BOTH;
30340                    rel1 {
30341                        relative: 0.9 0.9;
30342                        offset:   -9 -9;
30343                    }
30344                    rel2 {
30345                        relative: 0.9 0.9;
30346                        offset:   -9 -9;
30347                    }
30348                    image {
30349                        normal: "busy-9.png";
30350                        tween:  "busy-1.png";
30351                        tween:  "busy-2.png";
30352                        tween:  "busy-3.png";
30353                        tween:  "busy-4.png";
30354                        tween:  "busy-5.png";
30355                        tween:  "busy-6.png";
30356                        tween:  "busy-7.png";
30357                        tween:  "busy-8.png";
30358                    }
30359                }
30360            }
30361            part { name: "conf_over";
30362                mouse_events:  0;
30363                description { state: "default" 0.0;
30364                    rel1.offset: 0 0;
30365                    rel2.offset: -1 -1;
30366                    image {
30367                        normal: "shelf_inset.png";
30368                        border: 7 7 7 7;
30369                        middle: 0;
30370                    }
30371                    fill.smooth : 0;
30372                }
30373            }
30374            part { name: "sb_vbar_clip_master";
30375                type: RECT;
30376                mouse_events: 0;
30377                description { state: "default" 0.0;
30378                }
30379                description { state: "hidden" 0.0;
30380                    visible: 0;
30381                    color: 255 255 255 0;
30382                }
30383            }
30384            part { name: "sb_vbar_clip";
30385                clip_to: "sb_vbar_clip_master";
30386                type: RECT;
30387                mouse_events: 0;
30388                description { state: "default" 0.0;
30389                }
30390                description { state: "hidden" 0.0;
30391                    visible: 0;
30392                    color: 255 255 255 0;
30393                }
30394            }
30395            part { name: "sb_vbar";
30396                type: RECT;
30397                mouse_events: 0;
30398                description { state: "default" 0.0;
30399                    fixed: 1 1;
30400                    visible: 0;
30401                    min: 10 17;
30402                    align: 1.0 0.0;
30403                    rel1 {
30404                        relative: 1.0 0.0;
30405                        offset:   -2 0;
30406                    }
30407                    rel2 {
30408                        relative: 1.0 0.0;
30409                        offset:   -2 -1;
30410                        to_y:     "sb_hbar";
30411                    }
30412                }
30413            }
30414            part { name: "elm.dragable.vbar";
30415                clip_to: "sb_vbar_clip";
30416                mouse_events: 0;
30417                dragable {
30418                    x: 0 0 0;
30419                    y: 1 1 0;
30420                    confine: "sb_vbar";
30421                }
30422                description { state: "default" 0.0;
30423                    fixed: 1 1;
30424                    min: 10 17;
30425                    max: 10 99999;
30426                    rel1 {
30427                        relative: 0.5  0.5;
30428                        offset:   0    0;
30429                        to: "sb_vbar";
30430                    }
30431                    rel2 {
30432                        relative: 0.5  0.5;
30433                        offset:   0    0;
30434                        to: "sb_vbar";
30435                    }
30436                    image {
30437                        normal: "bt_sm_base2.png";
30438                        border: 6 6 6 6;
30439                        middle: SOLID;
30440                    }
30441                }
30442            }
30443            part { name: "sb_vbar_over1";
30444                clip_to: "sb_vbar_clip";
30445                mouse_events: 0;
30446                description { state: "default" 0.0;
30447                    rel1.to: "elm.dragable.vbar";
30448                    rel2.relative: 1.0 0.5;
30449                    rel2.to: "elm.dragable.vbar";
30450                    image {
30451                        normal: "bt_sm_hilight.png";
30452                        border: 6 6 6 0;
30453                    }
30454                }
30455            }
30456            part { name: "sb_vbar_over2";
30457                clip_to: "sb_vbar_clip";
30458                mouse_events: 0;
30459                description { state: "default" 0.0;
30460                    rel1.to: "elm.dragable.vbar";
30461                    rel2.to: "elm.dragable.vbar";
30462                    image {
30463                        normal: "bt_sm_shine.png";
30464                        border: 6 6 6 0;
30465                    }
30466                }
30467            }
30468
30469            part { name: "sb_hbar_clip_master";
30470                type: RECT;
30471                mouse_events: 0;
30472                description { state: "default" 0.0;
30473                }
30474                description { state: "hidden" 0.0;
30475                    visible: 0;
30476                    color: 255 255 255 0;
30477                }
30478            }
30479            part { name: "sb_hbar_clip";
30480                clip_to: "sb_hbar_clip_master";
30481                type: RECT;
30482                mouse_events: 0;
30483                description { state: "default" 0.0;
30484                }
30485                description { state: "hidden" 0.0;
30486                    visible: 0;
30487                    color: 255 255 255 0;
30488                }
30489            }
30490            part { name: "sb_hbar";
30491                type: RECT;
30492                mouse_events: 0;
30493                description { state: "default" 0.0;
30494                    fixed: 1 1;
30495                    visible: 0;
30496                    min: 17 10;
30497                    align: 0.0 1.0;
30498                    rel1 {
30499                        relative: 0.0 1.0;
30500                        offset:   0 -2;
30501                    }
30502                    rel2 {
30503                        relative: 0.0 1.0;
30504                        offset:   -1 -2;
30505                        to_x:     "sb_vbar";
30506                    }
30507                }
30508            }
30509            part { name: "elm.dragable.hbar";
30510                clip_to: "sb_hbar_clip";
30511                mouse_events: 0;
30512                dragable {
30513                    x: 1 1 0;
30514                    y: 0 0 0;
30515                    confine: "sb_hbar";
30516                }
30517                description { state: "default" 0.0;
30518                    fixed: 1 1;
30519                    min: 17 10;
30520                    max: 99999 10;
30521                    rel1 {
30522                        relative: 0.5  0.5;
30523                        offset:   0    0;
30524                        to: "sb_hbar";
30525                    }
30526                    rel2 {
30527                        relative: 0.5  0.5;
30528                        offset:   0    0;
30529                        to: "sb_hbar";
30530                    }
30531                    image {
30532                        normal: "bt_sm_base2.png";
30533                        border: 4 4 4 4;
30534                        middle: SOLID;
30535                    }
30536                }
30537            }
30538            part { name: "sb_hbar_over1";
30539                clip_to: "sb_hbar_clip";
30540                mouse_events: 0;
30541                description { state: "default" 0.0;
30542                    rel1.to: "elm.dragable.hbar";
30543                    rel2.relative: 1.0 0.5;
30544                    rel2.to: "elm.dragable.hbar";
30545                    image {
30546                        normal: "bt_sm_hilight.png";
30547                        border: 4 4 4 0;
30548                    }
30549                }
30550            }
30551            part { name: "sb_hbar_over2";
30552                clip_to: "sb_hbar_clip";
30553                mouse_events: 0;
30554                description { state: "default" 0.0;
30555                    rel1.to: "elm.dragable.hbar";
30556                    rel2.to: "elm.dragable.hbar";
30557                    image {
30558                        normal: "bt_sm_shine.png";
30559                        border: 4 4 4 0;
30560                    }
30561                }
30562            }
30563        }
30564        programs {
30565            program { name: "load";
30566                signal: "load";
30567                source: "";
30568                script {
30569                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30570                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30571                    set_int(sbvis_h, 0);
30572                    set_int(sbvis_v, 0);
30573                    set_int(sbalways_v, 0);
30574                    set_int(sbalways_h, 0);
30575                    set_int(sbvis_timer, 0);
30576                }
30577            }
30578
30579            program { name: "vbar_show";
30580                signal: "elm,action,show,vbar";
30581                source: "elm";
30582                action:  STATE_SET "default" 0.0;
30583                target: "sb_vbar_clip_master";
30584            }
30585            program { name: "vbar_hide";
30586                signal: "elm,action,hide,vbar";
30587                source: "elm";
30588                action:  STATE_SET "hidden" 0.0;
30589                target: "sb_vbar_clip_master";
30590            }
30591            program { name: "vbar_show_always";
30592                signal: "elm,action,show_always,vbar";
30593                source: "elm";
30594                script {
30595                    new v;
30596                    v = get_int(sbvis_v);
30597                    v |= get_int(sbalways_v);
30598                    if (!v) {
30599                        set_int(sbalways_v, 1);
30600                        emit("do-show-vbar", "");
30601                        set_int(sbvis_v, 1);
30602                    }
30603                }
30604            }
30605            program { name: "vbar_show_notalways";
30606                signal: "elm,action,show_notalways,vbar";
30607                source: "elm";
30608                script {
30609                    new v;
30610                    v = get_int(sbalways_v);
30611                    if (v) {
30612                        set_int(sbalways_v, 0);
30613                        v = get_int(sbvis_v);
30614                        if (!v) {
30615                            emit("do-hide-vbar", "");
30616                            set_int(sbvis_v, 0);
30617                        }
30618                    }
30619                }
30620            }
30621            program { name: "sb_vbar_show";
30622                signal: "do-show-vbar";
30623                source: "";
30624                action:  STATE_SET "default" 0.0;
30625                transition: LINEAR 0.5;
30626                target: "sb_vbar_clip";
30627            }
30628            program { name: "sb_vbar_hide";
30629                signal: "do-hide-vbar";
30630                source: "";
30631                action:  STATE_SET "hidden" 0.0;
30632                transition: LINEAR 0.5;
30633                target: "sb_vbar_clip";
30634            }
30635
30636            program { name: "hbar_show";
30637                signal: "elm,action,show,hbar";
30638                source: "elm";
30639                action:  STATE_SET "default" 0.0;
30640                target: "sb_hbar_clip_master";
30641            }
30642            program { name: "hbar_hide";
30643                signal: "elm,action,hide,hbar";
30644                source: "elm";
30645                action:  STATE_SET "hidden" 0.0;
30646                target: "sb_hbar_clip_master";
30647            }
30648            program { name: "hbar_show_always";
30649                signal: "elm,action,show_always,hbar";
30650                source: "elm";
30651                script {
30652                    new v;
30653                    v = get_int(sbvis_h);
30654                    v |= get_int(sbalways_h);
30655                    if (!v) {
30656                        set_int(sbalways_h, 1);
30657                        emit("do-show-hbar", "");
30658                        set_int(sbvis_h, 1);
30659                    }
30660                }
30661            }
30662            program { name: "hbar_show_notalways";
30663                signal: "elm,action,show_notalways,hbar";
30664                source: "elm";
30665                script {
30666                    new v;
30667                    v = get_int(sbalways_h);
30668                    if (v) {
30669                        set_int(sbalways_h, 0);
30670                        v = get_int(sbvis_h);
30671                        if (!v) {
30672                            emit("do-hide-hbar", "");
30673                            set_int(sbvis_h, 0);
30674                        }
30675                    }
30676                }
30677            }
30678            program { name: "sb_hbar_show";
30679                signal: "do-show-hbar";
30680                source: "";
30681                action:  STATE_SET "default" 0.0;
30682                transition: LINEAR 0.5;
30683                target: "sb_hbar_clip";
30684            }
30685            program { name: "sb_hbar_hide";
30686                signal: "do-hide-hbar";
30687                source: "";
30688                action:  STATE_SET "hidden" 0.0;
30689                transition: LINEAR 0.5;
30690                target: "sb_hbar_clip";
30691            }
30692
30693            program { name: "scroll";
30694                signal: "elm,action,scroll";
30695                source: "elm";
30696                script {
30697                    new v;
30698                    v = get_int(sbvis_v);
30699                    v |= get_int(sbalways_v);
30700                    if (!v) {
30701                        emit("do-show-vbar", "");
30702                        set_int(sbvis_v, 1);
30703                    }
30704                    v = get_int(sbvis_h);
30705                    v |= get_int(sbalways_h);
30706                    if (!v) {
30707                        emit("do-show-hbar", "");
30708                        set_int(sbvis_h, 1);
30709                    }
30710                    v = get_int(sbvis_timer);
30711                    if (v > 0) cancel_timer(v);
30712                    v = timer(1.0, "timer0", 0);
30713                    set_int(sbvis_timer, v);
30714                }
30715            }
30716            program { name: "go1";
30717                signal: "elm,state,busy,start";
30718                source: "elm";
30719                action: STATE_SET "active" 0.0;
30720                transition: SINUSOIDAL 1.0;
30721                target:  "busy_clip";
30722            }
30723            program { name: "go2";
30724                signal: "elm,state,busy,start";
30725                source: "elm";
30726                action: STATE_SET "default" 0.0;
30727                transition: LINEAR 0.5;
30728                target: "busy";
30729                after:  "go2";
30730            }
30731            program { name: "stop1";
30732                signal: "elm,state,busy,stop";
30733                source: "elm";
30734                action: STATE_SET "default" 0.0;
30735                transition: SINUSOIDAL 1.0;
30736                target: "busy_clip";
30737                after: "stop2";
30738            }
30739          program { name: "stop2";
30740             action: ACTION_STOP;
30741             target: "go2";
30742          }
30743       }
30744    }
30745
30746    ///////////////////////////////////////////////////////////////////////////////
30747    group { name: "elm/map/base/default";
30748        script {
30749            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30750            public timer0(val) {
30751                new v;
30752                v = get_int(sbvis_v);
30753                if (v) {
30754                    v = get_int(sbalways_v);
30755                    if (!v) {
30756                        emit("do-hide-vbar", "");
30757                        set_int(sbvis_v, 0);
30758                    }
30759                }
30760                v = get_int(sbvis_h);
30761                if (v) {
30762                    v = get_int(sbalways_h);
30763                    if (!v) {
30764                        emit("do-hide-hbar", "");
30765                        set_int(sbvis_h, 0);
30766                    }
30767                }
30768                set_int(sbvis_timer, 0);
30769                return 0;
30770            }
30771        }
30772        images {
30773            image: "shelf_inset.png" COMP;
30774            image: "bt_sm_base2.png" COMP;
30775            image: "bt_sm_shine.png" COMP;
30776            image: "bt_sm_hilight.png" COMP;
30777            image: "busy-1.png" COMP;
30778            image: "busy-2.png" COMP;
30779            image: "busy-3.png" COMP;
30780            image: "busy-4.png" COMP;
30781            image: "busy-5.png" COMP;
30782            image: "busy-6.png" COMP;
30783            image: "busy-7.png" COMP;
30784            image: "busy-8.png" COMP;
30785            image: "busy-9.png" COMP;
30786        }
30787        parts {
30788            part { name: "bg";
30789                type: RECT;
30790                description { state: "default" 0.0;
30791                    rel1.offset: 1 1;
30792                    rel2.offset: -2 -2;
30793                    color: 255 255 255 0;
30794                }
30795            }
30796            part { name: "clipper";
30797                type: RECT;
30798                mouse_events: 0;
30799                description { state: "default" 0.0;
30800                    rel1.to: "bg";
30801                    rel2.to: "bg";
30802                }
30803            }
30804            part { name: "elm.swallow.content";
30805                clip_to: "clipper";
30806                type: SWALLOW;
30807                description { state: "default" 0.0;
30808                    rel1.offset: 1 1;
30809                    rel2.offset: -2 -2;
30810                }
30811            }
30812            part { name: "busy_clip";
30813                type: RECT;
30814                mouse_events: 0;
30815                description { state: "default" 0.0;
30816                    visible: 0;
30817                    color: 255 255 255 0;
30818                }
30819                description { state: "active" 0.0;
30820                    visible: 1;
30821                    color: 255 255 255 255;
30822                }
30823            }
30824            part { name: "busy";
30825                clip_to: "busy_clip";
30826                mouse_events: 0;
30827                description { state: "default" 0.0;
30828                    fixed: 1 1;
30829                    min: 32 32;
30830                    aspect: 1.0 1.0;
30831                    align: 1.0 1.0;
30832                    aspect_preference: BOTH;
30833                    rel1 {
30834                        relative: 0.9 0.9;
30835                        offset:   -9 -9;
30836                    }
30837                    rel2 {
30838                        relative: 0.9 0.9;
30839                        offset:   -9 -9;
30840                    }
30841                    image {
30842                        normal: "busy-9.png";
30843                        tween:  "busy-1.png";
30844                        tween:  "busy-2.png";
30845                        tween:  "busy-3.png";
30846                        tween:  "busy-4.png";
30847                        tween:  "busy-5.png";
30848                        tween:  "busy-6.png";
30849                        tween:  "busy-7.png";
30850                        tween:  "busy-8.png";
30851                    }
30852                }
30853            }
30854            part { name: "conf_over";
30855                mouse_events:  0;
30856                description { state: "default" 0.0;
30857                    rel1.offset: 0 0;
30858                    rel2.offset: -1 -1;
30859                    image {
30860                        normal: "shelf_inset.png";
30861                        border: 7 7 7 7;
30862                        middle: 0;
30863                    }
30864                    fill.smooth : 0;
30865                }
30866            }
30867            part { name: "sb_vbar_clip_master";
30868                type: RECT;
30869                mouse_events: 0;
30870                description { state: "default" 0.0;
30871                }
30872                description { state: "hidden" 0.0;
30873                    visible: 0;
30874                    color: 255 255 255 0;
30875                }
30876            }
30877            part { name: "sb_vbar_clip";
30878                clip_to: "sb_vbar_clip_master";
30879                type: RECT;
30880                mouse_events: 0;
30881                description { state: "default" 0.0;
30882                }
30883                description { state: "hidden" 0.0;
30884                    visible: 0;
30885                    color: 255 255 255 0;
30886                }
30887            }
30888            part { name: "sb_vbar";
30889                type: RECT;
30890                mouse_events: 0;
30891                description { state: "default" 0.0;
30892                    fixed: 1 1;
30893                    visible: 0;
30894                    min: 10 17;
30895                    align: 1.0 0.0;
30896                    rel1 {
30897                        relative: 1.0 0.0;
30898                        offset:   -2 0;
30899                    }
30900                    rel2 {
30901                        relative: 1.0 0.0;
30902                        offset:   -2 -1;
30903                        to_y:     "sb_hbar";
30904                    }
30905                }
30906            }
30907            part { name: "elm.dragable.vbar";
30908                clip_to: "sb_vbar_clip";
30909                mouse_events: 0;
30910                dragable {
30911                    x: 0 0 0;
30912                    y: 1 1 0;
30913                    confine: "sb_vbar";
30914                }
30915                description { state: "default" 0.0;
30916                    fixed: 1 1;
30917                    min: 10 17;
30918                    max: 10 99999;
30919                    rel1 {
30920                        relative: 0.5  0.5;
30921                        offset:   0    0;
30922                        to: "sb_vbar";
30923                    }
30924                    rel2 {
30925                        relative: 0.5  0.5;
30926                        offset:   0    0;
30927                        to: "sb_vbar";
30928                    }
30929                    image {
30930                        normal: "bt_sm_base2.png";
30931                        border: 6 6 6 6;
30932                        middle: SOLID;
30933                    }
30934                }
30935            }
30936            part { name: "sb_vbar_over1";
30937                clip_to: "sb_vbar_clip";
30938                mouse_events: 0;
30939                description { state: "default" 0.0;
30940                    rel1.to: "elm.dragable.vbar";
30941                    rel2.relative: 1.0 0.5;
30942                    rel2.to: "elm.dragable.vbar";
30943                    image {
30944                        normal: "bt_sm_hilight.png";
30945                        border: 6 6 6 0;
30946                    }
30947                }
30948            }
30949            part { name: "sb_vbar_over2";
30950                clip_to: "sb_vbar_clip";
30951                mouse_events: 0;
30952                description { state: "default" 0.0;
30953                    rel1.to: "elm.dragable.vbar";
30954                    rel2.to: "elm.dragable.vbar";
30955                    image {
30956                        normal: "bt_sm_shine.png";
30957                        border: 6 6 6 0;
30958                    }
30959                }
30960            }
30961
30962            part { name: "sb_hbar_clip_master";
30963                type: RECT;
30964                mouse_events: 0;
30965                description { state: "default" 0.0;
30966                }
30967                description { state: "hidden" 0.0;
30968                    visible: 0;
30969                    color: 255 255 255 0;
30970                }
30971            }
30972            part { name: "sb_hbar_clip";
30973                clip_to: "sb_hbar_clip_master";
30974                type: RECT;
30975                mouse_events: 0;
30976                description { state: "default" 0.0;
30977                }
30978                description { state: "hidden" 0.0;
30979                    visible: 0;
30980                    color: 255 255 255 0;
30981                }
30982            }
30983            part { name: "sb_hbar";
30984                type: RECT;
30985                mouse_events: 0;
30986                description { state: "default" 0.0;
30987                    fixed: 1 1;
30988                    visible: 0;
30989                    min: 17 10;
30990                    align: 0.0 1.0;
30991                    rel1 {
30992                        relative: 0.0 1.0;
30993                        offset:   0 -2;
30994                    }
30995                    rel2 {
30996                        relative: 0.0 1.0;
30997                        offset:   -1 -2;
30998                        to_x:     "sb_vbar";
30999                    }
31000                }
31001            }
31002            part { name: "elm.dragable.hbar";
31003                clip_to: "sb_hbar_clip";
31004                mouse_events: 0;
31005                dragable {
31006                    x: 1 1 0;
31007                    y: 0 0 0;
31008                    confine: "sb_hbar";
31009                }
31010                description { state: "default" 0.0;
31011                    fixed: 1 1;
31012                    min: 17 10;
31013                    max: 99999 10;
31014                    rel1 {
31015                        relative: 0.5  0.5;
31016                        offset:   0    0;
31017                        to: "sb_hbar";
31018                    }
31019                    rel2 {
31020                        relative: 0.5  0.5;
31021                        offset:   0    0;
31022                        to: "sb_hbar";
31023                    }
31024                    image {
31025                        normal: "bt_sm_base2.png";
31026                        border: 4 4 4 4;
31027                        middle: SOLID;
31028                    }
31029                }
31030            }
31031            part { name: "sb_hbar_over1";
31032                clip_to: "sb_hbar_clip";
31033                mouse_events: 0;
31034                description { state: "default" 0.0;
31035                    rel1.to: "elm.dragable.hbar";
31036                    rel2.relative: 1.0 0.5;
31037                    rel2.to: "elm.dragable.hbar";
31038                    image {
31039                        normal: "bt_sm_hilight.png";
31040                        border: 4 4 4 0;
31041                    }
31042                }
31043            }
31044            part { name: "sb_hbar_over2";
31045                clip_to: "sb_hbar_clip";
31046                mouse_events: 0;
31047                description { state: "default" 0.0;
31048                    rel1.to: "elm.dragable.hbar";
31049                    rel2.to: "elm.dragable.hbar";
31050                    image {
31051                        normal: "bt_sm_shine.png";
31052                        border: 4 4 4 0;
31053                    }
31054                }
31055            }
31056        }
31057        programs {
31058            program { name: "load";
31059                signal: "load";
31060                source: "";
31061                script {
31062                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31063                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31064                    set_int(sbvis_h, 0);
31065                    set_int(sbvis_v, 0);
31066                    set_int(sbalways_v, 0);
31067                    set_int(sbalways_h, 0);
31068                    set_int(sbvis_timer, 0);
31069                }
31070            }
31071
31072            program { name: "vbar_show";
31073                signal: "elm,action,show,vbar";
31074                source: "elm";
31075                action:  STATE_SET "default" 0.0;
31076                target: "sb_vbar_clip_master";
31077            }
31078            program { name: "vbar_hide";
31079                signal: "elm,action,hide,vbar";
31080                source: "elm";
31081                action:  STATE_SET "hidden" 0.0;
31082                target: "sb_vbar_clip_master";
31083            }
31084            program { name: "vbar_show_always";
31085                signal: "elm,action,show_always,vbar";
31086                source: "elm";
31087                script {
31088                    new v;
31089                    v = get_int(sbvis_v);
31090                    v |= get_int(sbalways_v);
31091                    if (!v) {
31092                        set_int(sbalways_v, 1);
31093                        emit("do-show-vbar", "");
31094                        set_int(sbvis_v, 1);
31095                    }
31096                }
31097            }
31098            program { name: "vbar_show_notalways";
31099                signal: "elm,action,show_notalways,vbar";
31100                source: "elm";
31101                script {
31102                    new v;
31103                    v = get_int(sbalways_v);
31104                    if (v) {
31105                        set_int(sbalways_v, 0);
31106                        v = get_int(sbvis_v);
31107                        if (!v) {
31108                            emit("do-hide-vbar", "");
31109                            set_int(sbvis_v, 0);
31110                        }
31111                    }
31112                }
31113            }
31114            program { name: "sb_vbar_show";
31115                signal: "do-show-vbar";
31116                source: "";
31117                action:  STATE_SET "default" 0.0;
31118                transition: LINEAR 0.5;
31119                target: "sb_vbar_clip";
31120            }
31121            program { name: "sb_vbar_hide";
31122                signal: "do-hide-vbar";
31123                source: "";
31124                action:  STATE_SET "hidden" 0.0;
31125                transition: LINEAR 0.5;
31126                target: "sb_vbar_clip";
31127            }
31128
31129            program { name: "hbar_show";
31130                signal: "elm,action,show,hbar";
31131                source: "elm";
31132                action:  STATE_SET "default" 0.0;
31133                target: "sb_hbar_clip_master";
31134            }
31135            program { name: "hbar_hide";
31136                signal: "elm,action,hide,hbar";
31137                source: "elm";
31138                action:  STATE_SET "hidden" 0.0;
31139                target: "sb_hbar_clip_master";
31140            }
31141            program { name: "hbar_show_always";
31142                signal: "elm,action,show_always,hbar";
31143                source: "elm";
31144                script {
31145                    new v;
31146                    v = get_int(sbvis_h);
31147                    v |= get_int(sbalways_h);
31148                    if (!v) {
31149                        set_int(sbalways_h, 1);
31150                        emit("do-show-hbar", "");
31151                        set_int(sbvis_h, 1);
31152                    }
31153                }
31154            }
31155            program { name: "hbar_show_notalways";
31156                signal: "elm,action,show_notalways,hbar";
31157                source: "elm";
31158                script {
31159                    new v;
31160                    v = get_int(sbalways_h);
31161                    if (v) {
31162                        set_int(sbalways_h, 0);
31163                        v = get_int(sbvis_h);
31164                        if (!v) {
31165                            emit("do-hide-hbar", "");
31166                            set_int(sbvis_h, 0);
31167                        }
31168                    }
31169                }
31170            }
31171            program { name: "sb_hbar_show";
31172                signal: "do-show-hbar";
31173                source: "";
31174                action:  STATE_SET "default" 0.0;
31175                transition: LINEAR 0.5;
31176                target: "sb_hbar_clip";
31177            }
31178            program { name: "sb_hbar_hide";
31179                signal: "do-hide-hbar";
31180                source: "";
31181                action:  STATE_SET "hidden" 0.0;
31182                transition: LINEAR 0.5;
31183                target: "sb_hbar_clip";
31184            }
31185
31186            program { name: "scroll";
31187                signal: "elm,action,scroll";
31188                source: "elm";
31189                script {
31190                    new v;
31191                    v = get_int(sbvis_v);
31192                    v |= get_int(sbalways_v);
31193                    if (!v) {
31194                        emit("do-show-vbar", "");
31195                        set_int(sbvis_v, 1);
31196                    }
31197                    v = get_int(sbvis_h);
31198                    v |= get_int(sbalways_h);
31199                    if (!v) {
31200                        emit("do-show-hbar", "");
31201                        set_int(sbvis_h, 1);
31202                    }
31203                    v = get_int(sbvis_timer);
31204                    if (v > 0) cancel_timer(v);
31205                    v = timer(1.0, "timer0", 0);
31206                    set_int(sbvis_timer, v);
31207                }
31208            }
31209            program { name: "go1";
31210                signal: "elm,state,busy,start";
31211                source: "elm";
31212                action: STATE_SET "active" 0.0;
31213                transition: SINUSOIDAL 1.0;
31214                target:  "busy_clip";
31215            }
31216            program { name: "go2";
31217                signal: "elm,state,busy,start";
31218                source: "elm";
31219                action: STATE_SET "default" 0.0;
31220                transition: LINEAR 0.5;
31221                target: "busy";
31222                after:  "go2";
31223            }
31224            program { name: "stop1";
31225                signal: "elm,state,busy,stop";
31226                source: "elm";
31227                action: STATE_SET "default" 0.0;
31228                transition: SINUSOIDAL 1.0;
31229                target: "busy_clip";
31230                after: "stop2";
31231            }
31232          program { name: "stop2";
31233             action: ACTION_STOP;
31234             target: "go2";
31235          }
31236       }
31237    }
31238    group { name: "elm/map/marker/radio/default";
31239         data {
31240             item: size_w 24;
31241             item: size_h 24;
31242             item: size_max_w 58;
31243             item: size_max_h 58;
31244         }
31245         images {
31246                 image: "map_item.png" COMP;
31247         }
31248         parts {
31249             part { name: "whole";
31250                 description { state: "default" 0.0;
31251                 }
31252             }
31253             part { name: "base";
31254                 ignore_flags: ON_HOLD;
31255                 description { state: "default" 0.0;
31256                     image.normal: "map_item.png";
31257                 }
31258             }
31259             part { name: "elm.icon";
31260                 type: SWALLOW;
31261                 clip_to: "whole";
31262                 mouse_events:  0;
31263                 description { state: "default" 0.0;
31264                     rel1.relative: 0.27 0.27;
31265                     rel2.relative: 0.73 0.73;
31266                 }
31267             }
31268             part { name: "elm.text";
31269                 type:          TEXT;
31270                 effect:        SOFT_SHADOW;
31271                 mouse_events:  0;
31272                 scale: 1;
31273                 description { state: "default" 0.0;
31274                     align:    0.5 0.5;
31275                     color: 224 224 224 255;
31276                     color3: 0 0 0 64;
31277                     rel1.relative: 0.28 0.25;
31278                     rel2.relative: 0.75 0.75;
31279                     text {
31280                         font:     "Sans,Edje-Vera";
31281                         size:     10;
31282                         min:      0 0;
31283                         align:    0.5 0.5;
31284                     }
31285                 }
31286             }
31287        }
31288        programs {
31289             program { name: "open";
31290                 signal: "mouse,clicked,1";
31291                 source: "base";
31292                 action: SIGNAL_EMIT "open" "elm";
31293             }
31294             program { name: "bringin";
31295                 signal: "mouse,down,1,double";
31296                 source: "base";
31297                 action: SIGNAL_EMIT "bringin" "elm";
31298             }
31299        }
31300    }
31301    group { name: "elm/map/marker/radio2/default";
31302         data {
31303             item: size_w 24;
31304             item: size_h 24;
31305             item: size_max_w 58;
31306             item: size_max_h 58;
31307         }
31308         images {
31309                 image: "map_item_2.png" COMP;
31310         }
31311         parts {
31312             part { name: "base";
31313                 ignore_flags: ON_HOLD;
31314                 description { state: "default" 0.0;
31315                     image.normal: "map_item_2.png";
31316                 }
31317             }
31318             part { name: "elm.text";
31319                 type:          TEXT;
31320                 effect:        SOFT_SHADOW;
31321                 mouse_events:  0;
31322                 scale: 1;
31323                 description { state: "default" 0.0;
31324                     align:    0.5 0.5;
31325                     color: 224 224 224 255;
31326                     color3: 0 0 0 64;
31327                     rel1.relative: 0.28 0.25;
31328                     rel2.relative: 0.75 0.75;
31329                     text {
31330                         font:     "Sans,Edje-Vera";
31331                         size:     10;
31332                         min:      0 0;
31333                         align:    0.5 0.5;
31334                     }
31335                 }
31336             }
31337        }
31338        programs {
31339             program { name: "open";
31340                 signal: "mouse,clicked,1";
31341                 source: "base";
31342                 action: SIGNAL_EMIT "open" "elm";
31343             }
31344             program { name: "bringin";
31345                 signal: "mouse,down,1,double";
31346                 source: "base";
31347                 action: SIGNAL_EMIT "bringin" "elm";
31348             }
31349        }
31350    }
31351    group { name: "elm/map/marker/empty/default";
31352         data {
31353             item: size_w 22;
31354             item: size_h 22;
31355             item: size_max_w 64;
31356             item: size_max_h 64;
31357         }
31358         parts {
31359             part { name: "whole";
31360                 description { state: "default" 0.0;
31361                 }
31362             }
31363             part { name: "base";
31364                 ignore_flags: ON_HOLD;
31365                 description { state: "default" 0.0;
31366                 }
31367             }
31368             part { name: "elm.icon";
31369                 type: SWALLOW;
31370                 clip_to: "whole";
31371                 mouse_events:  0;
31372                 description { state: "default" 0.0;
31373                 }
31374             }
31375             part { name: "elm.text";
31376                 type:          TEXT;
31377                 effect:        SOFT_SHADOW;
31378                 mouse_events:  0;
31379                 scale: 1;
31380                 description { state: "default" 0.0;
31381                     align:    0.5 0.5;
31382                     color: 224 224 224 255;
31383                     color3: 0 0 0 64;
31384                     rel1.relative: 0.28 0.25;
31385                     rel2.relative: 0.75 0.75;
31386                     text {
31387                         font:     "Sans,Edje-Vera";
31388                         size:     10;
31389                         min:      0 0;
31390                         align:    0.5 0.5;
31391                     }
31392                 }
31393             }
31394        }
31395        programs {
31396             program { name: "open";
31397                 signal: "mouse,clicked,1";
31398                 source: "base";
31399                 action: SIGNAL_EMIT "open" "elm";
31400             }
31401             program { name: "bringin";
31402                 signal: "mouse,down,1,double";
31403                 source: "base";
31404                 action: SIGNAL_EMIT "bringin" "elm";
31405             }
31406        }
31407    }
31408    group { name: "elm/map/marker_bubble/default";
31409     images {
31410       image: "bubble.png" COMP;
31411       image: "bubble_shine.png" COMP;
31412     }
31413     data {
31414             item: size_w 400;
31415             item: size_h 100;
31416         }
31417     parts {
31418     part { name: "clipper";
31419         mouse_events:  1;
31420         description { state: "default" 0.0;
31421           color: 255 255 255 0;
31422         }
31423         description { state: "show" 0.0;
31424             inherit: "default" 0.0;
31425             color: 255 255 255 255;
31426         }
31427       }
31428      part { name: "base0";
31429         mouse_events:  0;
31430         clip_to: "clipper";
31431         description { state: "default" 0.0;
31432           image {
31433             normal: "bubble.png";
31434             border: 11 36 10 19;
31435           }
31436           image.middle: SOLID;
31437           fill.smooth: 0;
31438         }
31439         description { state: "rtl" 0.0;
31440            inherit: "default" 0.0;
31441            image {
31442               normal: "bubble_4.png";
31443               border: 11 36 18 9;
31444            }
31445         }
31446       }
31447       part { name: "elm.swallow.content";
31448         type: SWALLOW;
31449         clip_to: "clipper";
31450         description { state: "default" 0.0;
31451             align: 0.5 0.5;
31452           rel1 {
31453             offset: 9 8;
31454           }
31455           rel2 {
31456             offset: -10 -17;
31457           }
31458         }
31459       }
31460       part { name: "shine";
31461         mouse_events:  0;
31462         clip_to: "clipper";
31463         description { state:    "default" 0.0;
31464           rel1 {
31465             to: "base0";
31466           }
31467           rel2 {
31468             to: "base0";
31469             relative: 1.0 0.5;
31470           }
31471           image {
31472             normal: "bubble_shine.png";
31473             border: 5 5 5 0;
31474           }
31475           fill.smooth: 0;
31476         }
31477         }
31478     }
31479     programs {
31480         program { name: "show";
31481             signal: "show";
31482             action: STATE_SET "show" 0.0;
31483             target: "clipper";
31484             transition: ACCELERATE 0.5;
31485         }
31486     }
31487   }
31488
31489 /////////////////////////////////////////////////////////////////////////////
31490 // PANES
31491 /////////////////////////////////////////////////////////////////////////////
31492   group {
31493      name: "elm/panes/vertical/default";
31494       images {
31495          image: "bt_base1.png" COMP;
31496          image: "bt_base2.png" COMP;
31497          image: "bt_hilight.png" COMP;
31498          image: "bt_shine.png" COMP;
31499          image: "bt_glow.png" COMP;
31500          image: "bt_dis_base.png" COMP;
31501          image: "bt_dis_hilight.png" COMP;
31502          image: "arrow_right.png" COMP;
31503          image: "arrow_left.png" COMP;
31504       }
31505      parts
31506        {
31507           part
31508             {
31509                name: "whole";
31510                type: RECT;
31511                mouse_events: 0;
31512                description
31513                  {
31514                     state: "default" 0.0;
31515                     visible: 0;
31516                  }
31517             }
31518
31519          //2 contents
31520           part
31521             {
31522                name: "whole_left";
31523                type: RECT;
31524                mouse_events: 0;
31525                description
31526                  {
31527                     state: "default" 0.0;
31528                     rel2.to_x: "elm.bar";
31529                     rel2.relative: 0.0 1.0;
31530                     visible: 1;
31531                  }
31532             }
31533           part
31534             {
31535                name: "elm.swallow.left";
31536                type: SWALLOW;
31537                clip_to: "whole_left";
31538                description
31539                  {
31540                     state: "default" 0.0;
31541                     rel1.to: "whole_left";
31542                     rel2.to: "whole_left";
31543                  }
31544             }
31545
31546             part
31547             {
31548                name: "whole_right";
31549                type: RECT;
31550                mouse_events: 0;
31551                description
31552                  {
31553                     state: "default" 0.0;
31554                     rel1.to_x: "elm.bar";
31555                     rel1.relative: 1.0 0.0;
31556                     visible: 1;
31557                  }
31558             }
31559           part
31560             {
31561                name: "elm.swallow.right";
31562                type: SWALLOW;
31563                clip_to: "whole_right";
31564                description
31565                  {
31566                     state: "default" 0.0;
31567                     rel1.to: "whole_right";
31568                     rel2.to: "whole_right";
31569                  }
31570             }
31571          //BAR
31572          part { name: "elm.bar";
31573             mouse_events: 1;
31574             dragable {
31575                confine: "whole";
31576                x: 1 1 1;
31577                y: 0 0 0;
31578             }
31579             description { state: "default" 0.0;
31580                max: 15 9999;
31581                min: 15 100;
31582                rel1.relative: 0.0 0.5;
31583                rel2.relative: 1.0 0.5;
31584                image {
31585                   normal: "bt_base2.png";
31586                   border: 7 7 7 7;
31587                }
31588                image.middle: SOLID;
31589             }
31590             description { state: "clicked" 0.0;
31591                inherit: "default" 0.0;
31592                image.normal: "bt_base1.png";
31593                image.middle: SOLID;
31594             }
31595             description { state: "disabled" 0.0;
31596                inherit:  "default" 0.0;
31597                image {
31598                   normal: "bt_dis_base.png";
31599                   border: 4 4 4 4;
31600                }
31601             }
31602          }
31603          part {          name: "over1";
31604             mouse_events: 0;
31605             description { state: "default" 0.0;
31606             rel1.to: "elm.bar";
31607             rel2.to: "elm.bar";
31608                rel2.relative: 1.0 0.5;
31609                image {
31610                   normal: "bt_hilight.png";
31611                   border: 7 7 7 0;
31612                }
31613             }
31614             description { state: "disabled" 0.0;
31615                inherit:  "default" 0.0;
31616                image {
31617                   normal: "bt_dis_hilight.png";
31618                   border: 4 4 4 0;
31619                }
31620             }
31621          }
31622          part { name: "over2";
31623             mouse_events: 1;
31624             repeat_events: 1;
31625             ignore_flags: ON_HOLD;
31626             description { state: "default" 0.0;
31627             rel1.to: "elm.bar";
31628             rel2.to: "elm.bar";
31629                image {
31630                   normal: "bt_shine.png";
31631                   border: 7 7 7 7;
31632                }
31633             }
31634             description { state: "disabled" 0.0;
31635                inherit:  "default" 0.0;
31636                visible: 0;
31637             }
31638          }
31639          part { name: "over3";
31640             mouse_events: 1;
31641             repeat_events: 1;
31642             description { state: "default" 0.0;
31643                color: 255 255 255 0;
31644             rel1.to: "elm.bar";
31645             rel2.to: "elm.bar";
31646                image {
31647                   normal: "bt_glow.png";
31648                   border: 12 12 12 12;
31649                }
31650                fill.smooth : 0;
31651             }
31652             description { state: "clicked" 0.0;
31653                inherit:  "default" 0.0;
31654                visible: 1;
31655                color: 255 255 255 255;
31656             }
31657          }
31658
31659          //Arrow
31660          part {
31661             name: "arrow_right";
31662             repeat_events: 1;
31663             description { state: "default" 0.0;
31664                 min: 45 45;
31665                 max: 45 45;
31666                 color: 255 255 255 0;
31667
31668                 rel1.relative: 1.0 0.5;
31669                 rel1.to_x: "elm.bar";
31670                 rel1.offset: 45/2 -45/2;
31671
31672                 rel2.relative: 1.0 0.5;
31673                 rel2.to_x: "elm.bar";
31674                 rel2.offset: 45/2 45/2;
31675
31676                 image.normal: "arrow_right.png";
31677
31678                 fixed: 1 1;
31679             }
31680             description { state: "default" 0.1;
31681                 inherit: "default" 0.0;
31682                 image.normal: "arrow_left.png";
31683             }
31684             description { state: "anim_1" 0.0;
31685                 inherit: "default" 0.0;
31686                 color: 255 255 255 200;
31687                 rel1.offset: (45/2 + 10) -45/2;
31688                 rel2.offset: (45/2 +10) 45/2;
31689             }
31690             description { state: "anim_1" 0.1;
31691                 inherit: "default" 0.0;
31692                 image.normal: "arrow_left.png";
31693                 color: 255 255 255 200;
31694                 rel1.offset: (45/2 + 10) -45/2;
31695                 rel2.offset: (45/2 +10) 45/2;
31696             }
31697             description { state: "anim_2" 0.0;
31698                 inherit: "default" 0.0;
31699                 color: 255 255 255 0;
31700                 rel1.offset: (45/2 + 20) -45/2;
31701                 rel2.offset: (45/2 + 20) 45/2;
31702             }
31703             description { state: "anim_2" 0.1;
31704                 inherit: "default" 0.0;
31705                 image.normal: "arrow_left.png";
31706                 color: 255 255 255 0;
31707                 rel1.offset: (45/2 + 20) -45/2;
31708                 rel2.offset: (45/2 + 20) 45/2;
31709             }
31710          }
31711         part {
31712             name: "arrow_left";
31713             repeat_events: 1;
31714             description { state: "default" 0.0;
31715                 min: 45 45;
31716                 max: 45 45;
31717                 color: 255 255 255 0;
31718
31719                 rel1.relative: 0.0 0.5;
31720                 rel1.to_x: "elm.bar";
31721                 rel1.offset: -45/2 -45/2;
31722
31723                 rel2.relative: 0.0 0.5;
31724                 rel2.to_x: "elm.bar";
31725                 rel2.offset: -45/2 45/2;
31726
31727                 image.normal: "arrow_left.png";
31728
31729                 fixed: 1 1;
31730             }
31731             description { state: "default" 0.1;
31732                 inherit: "default" 0.0;
31733                 image.normal: "arrow_right.png";
31734             }
31735             description { state: "anim_1" 0.0;
31736                 inherit: "default" 0.0;
31737                 color: 255 255 255 200;
31738                 rel1.offset: (-45/2 - 10) -45/2;
31739                 rel2.offset: (-45/2 - 10) 45/2;
31740             }
31741             description { state: "anim_1" 0.1;
31742                 inherit: "default" 0.0;
31743                 image.normal: "arrow_right.png";
31744                 color: 255 255 255 200;
31745                 rel1.offset: (-45/2 - 10) -45/2;
31746                 rel2.offset: (-45/2 - 10) 45/2;
31747             }
31748             description { state: "anim_2" 0.0;
31749                 inherit: "default" 0.0;
31750                 color: 255 255 255 0;
31751                 rel1.offset: (-45/2 - 20) -45/2;
31752                 rel2.offset: (-45/2 - 20) 45/2;
31753             }
31754             description { state: "anim_2" 0.1;
31755                 inherit: "default" 0.0;
31756                 image.normal: "arrow_right.png";
31757                 color: 255 255 255 0;
31758                 rel1.offset: (-45/2 - 20) -45/2;
31759                 rel2.offset: (-45/2 - 20) 45/2;
31760             }
31761          }
31762
31763        }
31764         programs {
31765          program {
31766             name:   "button_click";
31767             signal: "mouse,down,1";
31768             source: "over2";
31769             action: SIGNAL_EMIT "elm,action,press" "";
31770             after: "button_click_anim";
31771             after: "arrow_anim_start";
31772          }
31773          program {
31774             name:   "button_click_anim";
31775             action: STATE_SET "clicked" 0.0;
31776             target: "elm.bar";
31777          }
31778          program {
31779             name:   "button_unclick";
31780             signal: "mouse,up,1";
31781             source: "over2";
31782             action: SIGNAL_EMIT "elm,action,unpress" "";
31783             after: "button_unclick_anim";
31784             after: "arrow_anim_stop";
31785          }
31786          program {
31787             name:   "button_unclick_anim";
31788             action: STATE_SET "default" 0.0;
31789             target: "elm.bar";
31790          }
31791          program {
31792             name:   "button_click2";
31793             signal: "mouse,down,1";
31794             source: "over3";
31795             action: STATE_SET "clicked" 0.0;
31796             target: "over3";
31797          }
31798          program {
31799             name:   "button_unclick2";
31800             signal: "mouse,up,1";
31801             source: "over3";
31802             action: STATE_SET "default" 0.0;
31803             transition: DECELERATE 0.5;
31804             target: "over3";
31805          }
31806          program {
31807             name:   "button_unclick3";
31808             signal: "mouse,up,1";
31809             source: "over2";
31810             action: SIGNAL_EMIT "elm,action,click" "";
31811          }
31812          program {
31813             name:   "button_down_double";
31814             signal: "mouse,down,1,double";
31815             source: "over3";
31816             action: SIGNAL_EMIT "elm,action,click,double" "";
31817          }
31818
31819          //arrows animation
31820          program {
31821             name: "arrow_anim_start";
31822             script {
31823                new st[31];
31824                new Float:vl;
31825                get_state(PART:"arrow_left", st, 30, vl);
31826                if (vl == 0.0) {
31827                   run_program(PROGRAM:"arrow_anim_start_ltr");
31828                }
31829                else {
31830                   run_program(PROGRAM:"arrow_anim_start_rtl");
31831                }
31832             }
31833          }
31834          program {
31835             name: "arrow_anim_stop";
31836             script {
31837                new st[31];
31838                new Float:vl;
31839                get_state(PART:"arrow_left", st, 30, vl);
31840                if (vl == 0.0) {
31841                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31842                }
31843                else {
31844                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31845                }
31846             }
31847          }
31848
31849          program {
31850             name: "arrow_anim_start_ltr";
31851             action: STATE_SET "anim_1" 0.0;
31852             target: "arrow_right";
31853             target: "arrow_left";
31854             transition: LINEAR 0.6;
31855             after: "arrow_anim_1_ltr";
31856          }
31857          program {
31858             name: "arrow_anim_1_ltr";
31859             action: STATE_SET "anim_2" 0.0;
31860             target: "arrow_right";
31861             target: "arrow_left";
31862             transition: LINEAR 0.6;
31863             after: "arrow_anim_2_ltr";
31864          }
31865          program {
31866             name: "arrow_anim_2_ltr";
31867             action: STATE_SET "default" 0.0;
31868             target: "arrow_right";
31869             target: "arrow_left";
31870             after: "arrow_anim_start_ltr";
31871          }
31872          program {
31873             name: "arrow_anim_stop_ltr";
31874             action: ACTION_STOP;
31875             target: "arrow_anim_start_ltr";
31876             target: "arrow_anim_1_ltr";
31877             target: "arrow_anim_2_ltr";
31878             after: "arrow_anim_stop_1_ltr";
31879          }
31880          program {
31881             name: "arrow_anim_stop_1_ltr";
31882             action: STATE_SET "default" 0.0;
31883             target: "arrow_right";
31884             target: "arrow_left";
31885             transition: DECELERATE 0.4;
31886         }
31887          program {
31888             name: "arrow_anim_start_rtl";
31889             action: STATE_SET "anim_1" 0.1;
31890             target: "arrow_right";
31891             target: "arrow_left";
31892             transition: LINEAR 0.6;
31893             after: "arrow_anim_1_rtl";
31894          }
31895          program {
31896             name: "arrow_anim_1_rtl";
31897             action: STATE_SET "anim_2" 0.1;
31898             target: "arrow_right";
31899             target: "arrow_left";
31900             transition: LINEAR 0.6;
31901             after: "arrow_anim_2_rtl";
31902          }
31903          program {
31904             name: "arrow_anim_2_rtl";
31905             action: STATE_SET "default" 0.1;
31906             target: "arrow_right";
31907             target: "arrow_left";
31908             after: "arrow_anim_start_rtl";
31909          }
31910          program {
31911             name: "arrow_anim_stop_rtl";
31912             action: ACTION_STOP;
31913             target: "arrow_anim_start_rtl";
31914             target: "arrow_anim_1_rtl";
31915             target: "arrow_anim_2_rtl";
31916             after: "arrow_anim_stop_1_rtl";
31917          }
31918          program {
31919             name: "arrow_anim_stop_1_rtl";
31920             action: STATE_SET "default" 0.1;
31921             target: "arrow_right";
31922             target: "arrow_left";
31923             transition: DECELERATE 0.4;
31924         }
31925          program { name: "to_rtl";
31926             signal: "edje,state,rtl";
31927             source: "edje";
31928             script {
31929                new st[31];
31930                new Float:vl;
31931                get_state(PART:"arrow_left", st, 30, vl);
31932                if (vl == 0.0) {
31933                   set_state(PART:"arrow_left", st, 0.1);
31934                }
31935                get_state(PART:"arrow_right", st, 30, vl);
31936                if (vl == 0.0) {
31937                   set_state(PART:"arrow_right", st, 0.1);
31938                }
31939             }
31940          }
31941          program { name: "to_ltr";
31942             signal: "edje,state,ltr";
31943             source: "edje";
31944             script {
31945                new st[31];
31946                new Float:vl;
31947                get_state(PART:"arrow_left", st, 30, vl);
31948                if (vl == 0.1) {
31949                   set_state(PART:"arrow_left", st, 0.0);
31950                }
31951                get_state(PART:"arrow_right", st, 30, vl);
31952                if (vl == 0.1) {
31953                   set_state(PART:"arrow_right", st, 0.0);
31954                }
31955             }
31956          }
31957       }
31958   }
31959
31960   group {
31961      name: "elm/panes/horizontal/default";
31962       images {
31963          image: "bt_base1.png" COMP;
31964          image: "bt_base2.png" COMP;
31965          image: "bt_hilight.png" COMP;
31966          image: "bt_shine.png" COMP;
31967          image: "bt_glow.png" COMP;
31968          image: "bt_dis_base.png" COMP;
31969          image: "bt_dis_hilight.png" COMP;
31970          image: "arrow_up.png" COMP;
31971          image: "arrow_down.png" COMP;
31972       }
31973      parts
31974        {
31975           part
31976             {
31977                name: "whole";
31978                type: RECT;
31979                mouse_events: 0;
31980                description
31981                  {
31982                     state: "default" 0.0;
31983                     visible: 0;
31984                  }
31985             }
31986
31987          //2 contents
31988           part
31989             {
31990                name: "whole_left";
31991                type: RECT;
31992                mouse_events: 0;
31993                description
31994                  {
31995                     state: "default" 0.0;
31996                     rel2.to_y: "elm.bar";
31997                     rel2.relative: 1.0 0.0;
31998                     visible: 1;
31999                  }
32000             }
32001           part
32002             {
32003                name: "elm.swallow.left";
32004                type: SWALLOW;
32005                clip_to: "whole_left";
32006                description
32007                  {
32008                     state: "default" 0.0;
32009                     rel1.to: "whole_left";
32010                     rel2.to: "whole_left";
32011                  }
32012             }
32013
32014             part
32015             {
32016                name: "whole_right";
32017                type: RECT;
32018                mouse_events: 0;
32019                description
32020                  {
32021                     state: "default" 0.0;
32022                     rel1.to_y: "elm.bar";
32023                     rel1.relative: 0.0 1.0;
32024                     visible: 1;
32025                  }
32026             }
32027           part
32028             {
32029                name: "elm.swallow.right";
32030                type: SWALLOW;
32031                clip_to: "whole_right";
32032                description
32033                  {
32034                     state: "default" 0.0;
32035                     rel1.to: "whole_right";
32036                     rel2.to: "whole_right";
32037                  }
32038             }
32039          //BAR
32040          part { name: "elm.bar";
32041             mouse_events: 1;
32042             dragable {
32043                confine: "whole";
32044                x: 0 0 0;
32045                y: 1 1 1;
32046             }
32047             description { state: "default" 0.0;
32048                max: 999 15;
32049                min: 100 15;
32050                rel1.relative: 0.5 0.0;
32051                rel2.relative: 0.5 1.0;
32052                image {
32053                   normal: "bt_base2.png";
32054                   border: 7 7 7 7;
32055                }
32056                image.middle: SOLID;
32057             }
32058             description { state: "clicked" 0.0;
32059                inherit: "default" 0.0;
32060                image.normal: "bt_base1.png";
32061                image.middle: SOLID;
32062             }
32063             description { state: "disabled" 0.0;
32064                inherit:  "default" 0.0;
32065                image {
32066                   normal: "bt_dis_base.png";
32067                   border: 4 4 4 4;
32068                }
32069             }
32070          }
32071          part {          name: "over1";
32072             mouse_events: 0;
32073             description { state: "default" 0.0;
32074             rel1.to: "elm.bar";
32075             rel2.to: "elm.bar";
32076                rel2.relative: 1.0 0.5;
32077                image {
32078                   normal: "bt_hilight.png";
32079                   border: 7 7 7 0;
32080                }
32081             }
32082             description { state: "disabled" 0.0;
32083                inherit:  "default" 0.0;
32084                image {
32085                   normal: "bt_dis_hilight.png";
32086                   border: 4 4 4 0;
32087                }
32088             }
32089          }
32090          part { name: "over2";
32091             mouse_events: 1;
32092             repeat_events: 1;
32093             ignore_flags: ON_HOLD;
32094             description { state: "default" 0.0;
32095             rel1.to: "elm.bar";
32096             rel2.to: "elm.bar";
32097                image {
32098                   normal: "bt_shine.png";
32099                   border: 7 7 7 7;
32100                }
32101             }
32102             description { state: "disabled" 0.0;
32103                inherit:  "default" 0.0;
32104                visible: 0;
32105             }
32106          }
32107          part { name: "over3";
32108             mouse_events: 1;
32109             repeat_events: 1;
32110             description { state: "default" 0.0;
32111                color: 255 255 255 0;
32112             rel1.to: "elm.bar";
32113             rel2.to: "elm.bar";
32114                image {
32115                   normal: "bt_glow.png";
32116                   border: 12 12 12 12;
32117                }
32118                fill.smooth : 0;
32119             }
32120             description { state: "clicked" 0.0;
32121                inherit:  "default" 0.0;
32122                visible: 1;
32123                color: 255 255 255 255;
32124             }
32125          }
32126
32127          //Arrow
32128          part {
32129             name: "arrow_right";
32130             repeat_events: 1;
32131             description { state: "default" 0.0;
32132                 min: 45 45;
32133                 max: 45 45;
32134                 color: 255 255 255 0;
32135
32136                 rel1.relative: 0.5 1.0;
32137                 rel1.to_y: "elm.bar";
32138                 rel1.offset: -45/2 45/2;
32139
32140                 rel2.relative: 0.5 1.0;
32141                 rel2.to_y: "elm.bar";
32142                 rel2.offset: 45/2 45/2;
32143
32144                 image.normal: "arrow_down.png";
32145
32146                 fixed: 1 1;
32147             }
32148             description { state: "anim_1" 0.0;
32149                 inherit: "default" 0.0;
32150                 color: 255 255 255 200;
32151                 rel1.offset: -45/2 (45/2 +10);
32152                 rel2.offset: 45/2 (45/2 +10);
32153             }
32154             description { state: "anim_2" 0.0;
32155                 inherit: "default" 0.0;
32156                 color: 255 255 255 0;
32157                 rel1.offset: -45/2 (45/2 + 20);
32158                 rel2.offset: 45/2 (45/2 + 20);
32159             }
32160          }
32161         part {
32162             name: "arrow_left";
32163             repeat_events: 1;
32164             description { state: "default" 0.0;
32165                 min: 45 45;
32166                 max: 45 45;
32167                 color: 255 255 255 0;
32168
32169                 rel1.relative: 0.5 0.0;
32170                 rel1.to_y: "elm.bar";
32171                 rel1.offset: -45/2 -45/2;
32172
32173                 rel2.relative: 0.5 0.0;
32174                 rel2.to_y: "elm.bar";
32175                 rel2.offset: 45/2 -45/2;
32176
32177                 image.normal: "arrow_up.png";
32178
32179                 fixed: 1 1;
32180             }
32181             description { state: "anim_1" 0.0;
32182                 inherit: "default" 0.0;
32183                 color: 255 255 255 200;
32184                 rel1.offset: -45/2 (-45/2 - 10);
32185                 rel2.offset: 45/2 (-45/2 - 10);
32186             }
32187             description { state: "anim_2" 0.0;
32188                 inherit: "default" 0.0;
32189                 color: 255 255 255 0;
32190                 rel1.offset: -45/2 (-45/2 - 20);
32191                 rel2.offset: 45/2 (-45/2 - 20);
32192             }
32193          }
32194
32195        }
32196         programs {
32197          program {
32198             name:   "button_click";
32199             signal: "mouse,down,1";
32200             source: "over2";
32201             action: SIGNAL_EMIT "elm,action,press" "";
32202             after: "button_click_anim";
32203             after: "arrow_anim_start";
32204          }
32205          program {
32206             name:   "button_click_anim";
32207             action: STATE_SET "clicked" 0.0;
32208             target: "elm.bar";
32209          }
32210          program {
32211             name:   "button_unclick";
32212             signal: "mouse,up,1";
32213             source: "over2";
32214             action: SIGNAL_EMIT "elm,action,unpress" "";
32215             after: "button_unclick_anim";
32216             after: "arrow_anim_stop";
32217          }
32218          program {
32219             name:   "button_unclick_anim";
32220             action: STATE_SET "default" 0.0;
32221             target: "elm.bar";
32222          }
32223          program {
32224             name:   "button_click2";
32225             signal: "mouse,down,1";
32226             source: "over3";
32227             action: STATE_SET "clicked" 0.0;
32228             target: "over3";
32229          }
32230          program {
32231             name:   "button_unclick2";
32232             signal: "mouse,up,1";
32233             source: "over3";
32234             action: STATE_SET "default" 0.0;
32235             transition: DECELERATE 0.5;
32236             target: "over3";
32237          }
32238          program {
32239             name:   "button_unclick3";
32240             signal: "mouse,up,1";
32241             source: "over2";
32242             action: SIGNAL_EMIT "elm,action,click" "";
32243          }
32244          program {
32245             name:   "button_down_double";
32246             signal: "mouse,down,1,double";
32247             source: "over3";
32248             action: SIGNAL_EMIT "elm,action,click,double" "";
32249          }
32250
32251          //arrows animation
32252          program {
32253             name: "arrow_anim_start";
32254             action: STATE_SET "anim_1" 0.0;
32255             target: "arrow_right";
32256             target: "arrow_left";
32257             transition: LINEAR 0.6;
32258             after: "arrow_anim_1";
32259          }
32260          program {
32261             name: "arrow_anim_1";
32262             action: STATE_SET "anim_2" 0.0;
32263             target: "arrow_right";
32264             target: "arrow_left";
32265             transition: LINEAR 0.6;
32266             after: "arrow_anim_2";
32267          }
32268          program {
32269             name: "arrow_anim_2";
32270             action: STATE_SET "default" 0.0;
32271             target: "arrow_right";
32272             target: "arrow_left";
32273             after: "arrow_anim_start";
32274          }
32275          program {
32276             name: "arrow_anim_stop";
32277             action: ACTION_STOP;
32278             target: "arrow_anim_start";
32279             target: "arrow_anim_1";
32280             target: "arrow_anim_2";
32281             after: "arrow_anim_stop_1";
32282          }
32283          program {
32284             name: "arrow_anim_stop_1";
32285             action: STATE_SET "default" 0.0;
32286             target: "arrow_right";
32287             target: "arrow_left";
32288             transition: DECELERATE 0.4;
32289         }
32290       }
32291   }
32292
32293
32294
32295 /////////////////////////////////////////////////////////////////////////////
32296 // PANEL
32297 /////////////////////////////////////////////////////////////////////////////
32298   group {
32299      name: "elm/panel/base/left";
32300      alias: "elm/panel/base/top";
32301      images
32302        {
32303           image: "bt_base1.png" COMP;
32304           image: "bt_hilight.png" COMP;
32305           image: "bt_shine.png" COMP;
32306           image: "bt_glow.png" COMP;
32307           image: "bt_dis_base.png" COMP;
32308           image: "icon_arrow_left.png" COMP;
32309           image: "icon_arrow_right.png" COMP;
32310        }
32311        data {
32312           item: "focus_highlight" "on";
32313        }
32314      parts
32315        {
32316             part { name: "focus_highlight";
32317                description { state: "default" 0.0;
32318                   visible: 0;
32319                   color: 255 255 255 0;
32320                   rel1 {
32321                      to: "btn";
32322                      offset: -8 -8;
32323                   }
32324                   rel2 {
32325                      to: "btn";
32326                      offset: 7 7;
32327                   }
32328                   image {
32329                      normal: "frame_2.png";
32330                      border: 5 5 32 26;
32331                      middle: 0;
32332                   }
32333                }
32334                description { state: "enabled" 0.0;
32335                   inherit: "default" 0.0;
32336                   visible: 1;
32337                   color: 255 255 255 255;
32338                }
32339             }
32340           part
32341             {
32342                name: "bg";
32343                type: RECT;
32344                mouse_events: 0;
32345                description
32346                  {
32347                     state: "default" 0.0;
32348                     color: 255 255 255 0;
32349                     rel1.relative: 0.0 0.0;
32350                     rel1.offset: 0 0;
32351                     rel2.relative: 1.0 1.0;
32352                     rel2.offset: -1 -1;
32353                  }
32354                description
32355                  {
32356                     state: "hidden" 0.0;
32357                     inherit: "default" 0.0;
32358                     rel1.relative: -1.0 0.0;
32359                     rel1.offset: 21 0;
32360                     rel2.relative: 0.0 1.0;
32361                     rel2.offset: 20 -1;
32362                  }
32363             }
32364           part
32365             {
32366                name: "base";
32367                type: IMAGE;
32368                mouse_events: 0;
32369                description
32370                  {
32371                     state: "default" 0.0;
32372                     rel1.to: "bg";
32373                     rel2.to: "bg";
32374                     rel2.offset: -20 -1;
32375                     image
32376                       {
32377                          normal: "bt_dis_base.png";
32378                          border: 4 4 4 4;
32379                       }
32380                  }
32381             }
32382           part
32383             {
32384                name: "clipper";
32385                type: RECT;
32386                mouse_events: 0;
32387                description
32388                  {
32389                     state: "default" 0.0;
32390                     rel1
32391                       {
32392                          offset: 4 4;
32393                          to: "base";
32394                       }
32395                     rel2
32396                       {
32397                          offset: -5 -5;
32398                          to: "base";
32399                       }
32400                  }
32401             }
32402           part
32403             {
32404                name: "elm.swallow.content";
32405                type: SWALLOW;
32406                clip_to: "clipper";
32407                description
32408                  {
32409                     state: "default" 0.0;
32410                     rel1.to: "clipper";
32411                     rel2.to: "clipper";
32412                  }
32413             }
32414           part
32415             {
32416                name: "btn";
32417                type: IMAGE;
32418                mouse_events: 1;
32419                description
32420                  {
32421                     state: "default" 0.0;
32422                     max: 32 48;
32423                     fixed: 1 1;
32424                     align: 0.0 0.5;
32425                     rel1
32426                       {
32427                          relative: 1.0 0.0;
32428                          offset: -3 0;
32429                          to_x: "base";
32430                       }
32431                     rel2.to_x: "bg";
32432                     image
32433                       {
32434                          normal: "bt_base1.png";
32435                          border: 0 5 4 12;
32436                       }
32437                     fill.smooth: 0;
32438                  }
32439                description
32440                  {
32441                     state: "clicked" 0.0;
32442                     inherit: "default" 0.0;
32443                  }
32444             }
32445           part
32446             {
32447                name: "btn_over";
32448                type: IMAGE;
32449                mouse_events: 0;
32450                description
32451                  {
32452                     state: "default" 0.0;
32453                     rel1.to: "btn";
32454                     rel2
32455                       {
32456                          relative: 1.0 0.5;
32457                          to: "btn";
32458                       }
32459                     image
32460                       {
32461                          normal: "bt_hilight.png";
32462                          border: 0 7 7 0;
32463                       }
32464                  }
32465             }
32466           part
32467             {
32468                name: "btn_over2";
32469                type: IMAGE;
32470                mouse_events: 1;
32471                repeat_events: 1;
32472                ignore_flags: ON_HOLD;
32473                description
32474                  {
32475                     state: "default" 0.0;
32476                     rel1.to: "btn";
32477                     rel2.to: "btn";
32478                     image
32479                       {
32480                          normal: "bt_shine.png";
32481                          border: 0 7 7 7;
32482                     }
32483                  }
32484             }
32485           part
32486             {
32487                name: "btn_over3";
32488                type: IMAGE;
32489                mouse_events: 1;
32490                repeat_events: 1;
32491                description
32492                  {
32493                     state: "default" 0.0;
32494                     color: 255 255 255 0;
32495                     rel1.to: "btn";
32496                     rel2.to: "btn";
32497                     image
32498                       {
32499                        normal: "bt_glow.png";
32500                        border: 12 12 12 12;
32501                     }
32502                   fill.smooth: 0;
32503                }
32504              description
32505                {
32506                   state: "clicked" 0.0;
32507                   inherit: "default" 0.0;
32508                   visible: 1;
32509                   color: 255 255 255 255;
32510                }
32511             }
32512           part
32513             {
32514                name: "btn_icon";
32515                type: IMAGE;
32516                repeat_events: 1;
32517                description
32518                  {
32519                     state: "default" 0.0;
32520                     rel1.to: "btn";
32521                     rel2.to: "btn";
32522                     align: 0.5 0.5;
32523                     min: 16 16;
32524                     max: 16 16;
32525                     image.normal: "icon_arrow_left.png";
32526                  }
32527                description
32528                  {
32529                     state: "hidden" 0.0;
32530                     inherit: "default" 0.0;
32531                     image.normal: "icon_arrow_right.png";
32532                  }
32533             }
32534        }
32535      programs
32536        {
32537           program
32538             {
32539                name: "show";
32540                signal: "elm,action,show";
32541                source: "elm";
32542                action: STATE_SET "default" 0.0;
32543                target: "bg";
32544                target: "btn_icon";
32545                transition: LINEAR 0.5;
32546             }
32547           program
32548             {
32549                name: "hide";
32550                signal: "elm,action,hide";
32551                source: "elm";
32552                action: STATE_SET "hidden" 0.0;
32553                target: "bg";
32554                target: "btn_icon";
32555                transition: LINEAR 0.5;
32556             }
32557           program
32558             {
32559                name: "btn_click";
32560                signal: "mouse,down,1";
32561                source: "btn_over2";
32562                action: STATE_SET "clicked" 0.0;
32563                target: "btn";
32564             }
32565           program
32566             {
32567                name: "btn_unclick";
32568                signal: "mouse,up,1";
32569                source: "btn_over2";
32570                action: STATE_SET "default" 0.0;
32571                target: "btn";
32572             }
32573           program
32574             {
32575                name: "btn_click2";
32576                signal: "mouse,down,1";
32577                source: "btn_over3";
32578                action: STATE_SET "clicked" 0.0;
32579                target: "btn_over3";
32580             }
32581           program
32582             {
32583                name: "btn_unclick2";
32584                signal: "mouse,up,1";
32585                source: "btn_over3";
32586                action: STATE_SET "default" 0.0;
32587                transition: DECELERATE 0.5;
32588                target: "btn_over3";
32589             }
32590           program
32591             {
32592                name: "btn_unclick3";
32593                signal: "mouse,clicked,1";
32594                source: "btn_over2";
32595                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32596             }
32597          program { name: "highlight_show";
32598             signal: "elm,action,focus_highlight,show";
32599             source: "elm";
32600             action: STATE_SET "enabled" 0.0;
32601             transition: ACCELERATE 0.3;
32602             target: "focus_highlight";
32603          }
32604          program { name: "highlight_hide";
32605             signal: "elm,action,focus_highlight,hide";
32606             source: "elm";
32607             action: STATE_SET "default" 0.0;
32608             transition: DECELERATE 0.3;
32609             target: "focus_highlight";
32610          }
32611        }
32612   }
32613
32614   group {
32615      name: "elm/panel/base/right";
32616      alias: "elm/panel/base/bottom";
32617      images
32618        {
32619           image: "bt_base1.png" COMP;
32620           image: "bt_hilight.png" COMP;
32621           image: "bt_shine.png" COMP;
32622           image: "bt_glow.png" COMP;
32623           image: "bt_dis_base.png" COMP;
32624           image: "icon_arrow_left.png" COMP;
32625           image: "icon_arrow_right.png" COMP;
32626        }
32627      parts
32628        {
32629             part { name: "focus_highlight";
32630                description { state: "default" 0.0;
32631                   visible: 0;
32632                   color: 255 255 255 0;
32633                   rel1 {
32634                      to: "btn";
32635                      offset: -8 -8;
32636                   }
32637                   rel2 {
32638                      to: "btn";
32639                      offset: 7 7;
32640                   }
32641                   image {
32642                      normal: "frame_2.png";
32643                      border: 5 5 32 26;
32644                      middle: 0;
32645                   }
32646                }
32647                description { state: "enabled" 0.0;
32648                   inherit: "default" 0.0;
32649                   visible: 1;
32650                   color: 255 255 255 255;
32651                }
32652             }
32653           part
32654             {
32655                name: "bg";
32656                type: RECT;
32657                mouse_events: 0;
32658                description
32659                  {
32660                     state: "default" 0.0;
32661                     color: 255 255 255 0;
32662                     rel1.relative: 0.0 0.0;
32663                     rel1.offset: 0 0;
32664                     rel2.relative: 1.0 1.0;
32665                     rel2.offset: -1 -1;
32666                  }
32667                description
32668                  {
32669                     state: "hidden" 0.0;
32670                     inherit: "default" 0.0;
32671                     rel1.relative: 1.0 0.0;
32672                     rel1.offset: -22 0;
32673                     rel2.relative: 2.0 1.0;
32674                     rel2.offset: -23 -1;
32675                  }
32676             }
32677           part
32678             {
32679                name: "base";
32680                type: IMAGE;
32681                mouse_events: 0;
32682                description
32683                  {
32684                     state: "default" 0.0;
32685                     rel1.to: "bg";
32686                     rel1.offset: 20 0;
32687                     rel2.to: "bg";
32688                     image
32689                       {
32690                          normal: "bt_dis_base.png";
32691                          border: 4 4 4 4;
32692                       }
32693                  }
32694             }
32695           part
32696             {
32697                name: "clipper";
32698                type: RECT;
32699                mouse_events: 0;
32700                description
32701                  {
32702                     state: "default" 0.0;
32703                     rel1
32704                       {
32705                          offset: 4 4;
32706                          to: "base";
32707                       }
32708                     rel2
32709                       {
32710                          offset: -5 -5;
32711                          to: "base";
32712                       }
32713                  }
32714             }
32715           part
32716             {
32717                name: "elm.swallow.content";
32718                type: SWALLOW;
32719                clip_to: "clipper";
32720                description
32721                  {
32722                     state: "default" 0.0;
32723                     rel1.to: "clipper";
32724                     rel2.to: "clipper";
32725                  }
32726             }
32727           part
32728             {
32729                name: "btn";
32730                type: IMAGE;
32731                mouse_events: 1;
32732                description
32733                  {
32734                     state: "default" 0.0;
32735                     max: 32 48;
32736                     fixed: 1 1;
32737                     align: 1 0.5;
32738                     rel1
32739                       {
32740                          to_x: "bg";
32741                       }
32742                     rel2
32743                       {
32744                          offset: 2 0;
32745                          relative: 0.0 1;
32746                          to_x: "base";
32747                       }
32748                     image
32749                       {
32750                          normal: "bt_base1.png";
32751                          border: 5 0 4 12;
32752                       }
32753                     fill.smooth: 0;
32754                  }
32755                description
32756                  {
32757                     state: "clicked" 0.0;
32758                     inherit: "default" 0.0;
32759                  }
32760             }
32761           part
32762             {
32763                name: "btn_over";
32764                type: IMAGE;
32765                mouse_events: 0;
32766                description
32767                  {
32768                     state: "default" 0.0;
32769                     rel1.to: "btn";
32770                     rel2
32771                       {
32772                          relative: 1.0 0.5;
32773                          to: "btn";
32774                       }
32775                     image
32776                       {
32777                          normal: "bt_hilight.png";
32778                          border: 7 0 7 0;
32779                       }
32780                  }
32781             }
32782           part
32783             {
32784                name: "btn_over2";
32785                type: IMAGE;
32786                mouse_events: 1;
32787                repeat_events: 1;
32788                ignore_flags: ON_HOLD;
32789                description
32790                  {
32791                     state: "default" 0.0;
32792                     rel1.to: "btn";
32793                     rel2.to: "btn";
32794                     image
32795                       {
32796                          normal: "bt_shine.png";
32797                          border: 7 0 7 7;
32798                     }
32799                  }
32800             }
32801           part
32802             {
32803                name: "btn_over3";
32804                type: IMAGE;
32805                mouse_events: 1;
32806                repeat_events: 1;
32807                description
32808                  {
32809                     state: "default" 0.0;
32810                     color: 255 255 255 0;
32811                     rel1.to: "btn";
32812                     rel2.to: "btn";
32813                     image
32814                       {
32815                        normal: "bt_glow.png";
32816                        border: 12 12 12 12;
32817                     }
32818                   fill.smooth: 0;
32819                }
32820              description
32821                {
32822                   state: "clicked" 0.0;
32823                   inherit: "default" 0.0;
32824                   visible: 1;
32825                   color: 255 255 255 255;
32826                }
32827             }
32828           part
32829             {
32830                name: "btn_icon";
32831                type: IMAGE;
32832                repeat_events: 1;
32833                description
32834                  {
32835                     state: "default" 0.0;
32836                     rel1.to: "btn";
32837                     rel2.to: "btn";
32838                     align: 0.5 0.5;
32839                     min: 16 16;
32840                     max: 16 16;
32841                     image.normal: "icon_arrow_right.png";
32842                  }
32843                description
32844                  {
32845                     state: "hidden" 0.0;
32846                     inherit: "default" 0.0;
32847                     image.normal: "icon_arrow_left.png";
32848                  }
32849             }
32850        }
32851      programs
32852        {
32853           program
32854             {
32855                name: "show";
32856                signal: "elm,action,show";
32857                source: "elm";
32858                action: STATE_SET "default" 0.0;
32859                target: "bg";
32860                target: "btn_icon";
32861                transition: LINEAR 0.5;
32862             }
32863           program
32864             {
32865                name: "hide";
32866                signal: "elm,action,hide";
32867                source: "elm";
32868                action: STATE_SET "hidden" 0.0;
32869                target: "bg";
32870                target: "btn_icon";
32871                transition: LINEAR 0.5;
32872             }
32873           program
32874             {
32875                name: "btn_click";
32876                signal: "mouse,down,1";
32877                source: "btn_over2";
32878                action: STATE_SET "clicked" 0.0;
32879                target: "btn";
32880             }
32881           program
32882             {
32883                name: "btn_unclick";
32884                signal: "mouse,up,1";
32885                source: "btn_over2";
32886                action: STATE_SET "default" 0.0;
32887                target: "btn";
32888             }
32889           program
32890             {
32891                name: "btn_click2";
32892                signal: "mouse,down,1";
32893                source: "btn_over3";
32894                action: STATE_SET "clicked" 0.0;
32895                target: "btn_over3";
32896             }
32897           program
32898             {
32899                name: "btn_unclick2";
32900                signal: "mouse,up,1";
32901                source: "btn_over3";
32902                action: STATE_SET "default" 0.0;
32903                transition: DECELERATE 0.5;
32904                target: "btn_over3";
32905             }
32906           program
32907             {
32908                name: "btn_unclick3";
32909                signal: "mouse,up,1";
32910                source: "btn_over2";
32911                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32912             }
32913          program { name: "highlight_show";
32914             signal: "elm,action,focus";
32915             source: "elm";
32916             action: STATE_SET "enabled" 0.0;
32917             transition: ACCELERATE 0.3;
32918             target: "focus_highlight";
32919          }
32920          program { name: "highlight_hide";
32921             signal: "elm,action,unfocus";
32922             source: "elm";
32923             action: STATE_SET "default" 0.0;
32924             transition: DECELERATE 0.3;
32925             target: "focus_highlight";
32926          }
32927        }
32928   }
32929
32930 ///////////////////////////////////////////////////////////////////////////////
32931   group { name: "elm/conformant/base/default";
32932      parts {
32933         part { name: "elm.swallow.shelf";
32934            type: SWALLOW;
32935            description { state: "default" 0.0;
32936               fixed: 0 1;
32937               align: 0.0 0.0;
32938               rel2.relative: 1.0 0.0;
32939            }
32940         }
32941         part { name: "elm.swallow.content";
32942            type: SWALLOW;
32943            description { state: "default" 0.0;
32944               fixed: 0 1;
32945               align: 0.5 0.5;
32946               rel1.relative: 0.0 1.0;
32947               rel1.to_y: "elm.swallow.shelf";
32948               rel2.relative: 1.0 0.0;
32949               rel2.to_y: "elm.swallow.virtualkeypad";
32950            }
32951         }
32952         part { name: "elm.swallow.virtualkeypad";
32953            type: SWALLOW;
32954            description { state: "default" 0.0;
32955               fixed: 0 1;
32956               align: 0.0 1.0;
32957               rel2.relative: 1.0 0.0;
32958               rel2.to_y: "elm.swallow.panel";
32959            }
32960         }
32961         part { name: "elm.swallow.panel";
32962            type: SWALLOW;
32963            description { state: "default" 0.0;
32964               fixed: 0 1;
32965               align: 0.0 1.0;
32966               rel1.relative: 0.0 1.0;
32967            }
32968         }
32969      }
32970   }
32971
32972 /////////////////////////////////////////////////////////////////////////////
32973 // CALENDAR
32974 /////////////////////////////////////////////////////////////////////////////
32975 #define CH(_pos) \
32976          part { name: "ch_"#_pos".base"; \
32977             type: RECT; \
32978             description { state: "default" 0.0; \
32979                rel1 { \
32980                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32981                   to: "header"; \
32982                } \
32983                rel2 { \
32984                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32985                   to: "header"; \
32986                } \
32987                color: 0 0 0 0; \
32988                visible: 0; \
32989             } \
32990          } \
32991          part { name: "ch_"#_pos".text"; \
32992             type: TEXT; \
32993             effect: SOFT_SHADOW; \
32994             mouse_events: 0; \
32995             scale: 1; \
32996             clip_to: "ch_"#_pos".clipper"; \
32997             description { \
32998                state: "default" 0.0; \
32999                rel1.to: "ch_"#_pos".base"; \
33000                rel2.to: "ch_"#_pos".base"; \
33001                color: 0 0 0 255; \
33002                color3: 0 0 0 0; \
33003                text { \
33004                   font: "Sans"; \
33005                   size: 10; \
33006                   min: 1 1; \
33007                   align: 0.5 0.5; \
33008                } \
33009             } \
33010          } \
33011          part { name: "ch_"#_pos".clipper"; \
33012             type: RECT; \
33013             description { state: "default" 0.0; \
33014                rel1.to: "ch_"#_pos".base"; \
33015                rel2.to: "ch_"#_pos".base"; \
33016             } \
33017          }
33018
33019 #define CIT(_pos) \
33020          part { name: "cit_"#_pos".rect"; \
33021             type: RECT; \
33022             description { state: "default" 0.0; \
33023                rel1 { \
33024                   relative: (_pos % 7 * 7 / 8 / 6) \
33025                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33026                   to: "base"; \
33027                } \
33028                rel2 { \
33029                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33030                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33031                   to: "base"; \
33032                } \
33033                color: 0 0 0 0; \
33034                visible: 0; \
33035             } \
33036          } \
33037          part { \
33038             name: "cit_"#_pos".event"; \
33039             type: RECT; \
33040             repeat_events: 1; \
33041             description { \
33042                rel1.to: "cit_"#_pos".rect"; \
33043                rel2.to: "cit_"#_pos".rect"; \
33044                state: "default" 0.0; \
33045                color: 0 0 0 0; \
33046             } \
33047          } \
33048          part { name: "cit_"#_pos".shelf"; \
33049             type: RECT; \
33050             mouse_events: 0; \
33051             description { state: "default" 0.0; \
33052                rel1 { \
33053                   to: "cit_"#_pos".bg"; \
33054                   offset: -1 -1; \
33055                } \
33056                rel2 { \
33057                   to: "cit_"#_pos".bg"; \
33058                } \
33059                color: 200 200 200 255; \
33060             } \
33061          } \
33062          part { name: "cit_"#_pos".hd"; \
33063             type: RECT; \
33064             mouse_events: 0; \
33065             description { state: "default" 0.0; \
33066                rel1 { \
33067                   to: "cit_"#_pos".bg"; \
33068                   offset: -1 -1; \
33069                } \
33070                rel2 { \
33071                   to: "cit_"#_pos".bg"; \
33072                } \
33073                visible: 0; \
33074                color: 160 0 0 255; \
33075             } \
33076             description { state: "visible" 0.0; \
33077                inherit: "default" 0.0; \
33078                visible: 1; \
33079             } \
33080          } \
33081          part { \
33082             name: "cit_"#_pos".base_sh"; \
33083             mouse_events: 0; \
33084             description { \
33085                state: "default" 0.0; \
33086                align: 0.0 0.0; \
33087                min: 0 1; \
33088                rel1 { \
33089                   to: "cit_"#_pos".base"; \
33090                   relative: 0.0 1.0; \
33091                   offset: 0 0; \
33092                } \
33093                rel2 { \
33094                   to: "cit_"#_pos".base"; \
33095                   relative: 1.0 1.05; \
33096                   offset: -1 0; \
33097                } \
33098                image { \
33099                   normal: "ilist_item_shadow.png"; \
33100                } \
33101                fill.smooth: 0; \
33102             } \
33103          } \
33104          part { \
33105             name: "cit_"#_pos".base"; \
33106             mouse_events: 0; \
33107             description { \
33108                state: "default" 0.0; \
33109                rel1.to: "cit_"#_pos".rect"; \
33110                rel2.to: "cit_"#_pos".rect"; \
33111                rel2.offset: -1 -1; \
33112                image { \
33113                   normal: "ilist_1.png"; \
33114                   border: 2 2 2 2; \
33115                } \
33116                fill.smooth: 0; \
33117             } \
33118             description { \
33119                state: "today" 0.0; \
33120                inherit: "default" 0.0; \
33121                image.normal: "ilist_2.png"; \
33122                color: 240 240 240 255; \
33123             } \
33124          } \
33125          part { name: "cit_"#_pos".bg"; \
33126             mouse_events: 0; \
33127             description { state: "default" 0.0; \
33128                visible: 0; \
33129                color: 255 255 255 0; \
33130                rel1 { \
33131                   to: "cit_"#_pos".rect"; \
33132                   relative: 0.0 0.0; \
33133                } \
33134                rel2 { \
33135                   to: "cit_"#_pos".rect"; \
33136                   relative: 1.0 1.0; \
33137                   offset: -1 -1; \
33138                } \
33139                image { \
33140                   normal: "bt_sm_base1.png"; \
33141                   border: 6 6 6 6; \
33142                } \
33143                image.middle: SOLID; \
33144             } \
33145             description { state: "selected" 0.0; \
33146                inherit: "default" 0.0; \
33147                visible: 1; \
33148                color: 255 255 255 255; \
33149             } \
33150          } \
33151          part { name: "cit_"#_pos".text"; \
33152             type: TEXT; \
33153             effect: SOFT_SHADOW; \
33154             mouse_events: 0; \
33155             scale: 1; \
33156             description { \
33157                state: "default" 0.0; \
33158                rel1.to: "cit_"#_pos".bg"; \
33159                rel2.to: "cit_"#_pos".bg"; \
33160                color: 0 0 0 255; \
33161                color3: 0 0 0 0; \
33162                text { \
33163                   font: "Sans"; \
33164                   size: 10; \
33165                   min: 1 1; \
33166                   align: 0.5 0.5; \
33167                } \
33168             } \
33169             description { state: "selected" 0.0; \
33170                inherit: "default" 0.0; \
33171                color: 224 224 224 255; \
33172                color3: 0 0 0 64; \
33173             } \
33174          } \
33175          part { name: "cit_"#_pos".fg1"; \
33176             mouse_events: 0; \
33177             description { state: "default" 0.0; \
33178                visible: 0; \
33179                color: 255 255 255 0; \
33180                rel1.to: "cit_"#_pos".bg"; \
33181                rel2.relative: 1.0 0.5; \
33182                rel2.to: "cit_"#_pos".bg"; \
33183                image { \
33184                   normal: "bt_sm_hilight.png"; \
33185                   border: 6 6 6 0; \
33186                } \
33187             } \
33188             description { state: "selected" 0.0; \
33189                inherit: "default" 0.0; \
33190                visible: 1; \
33191                color: 255 255 255 255; \
33192             } \
33193          } \
33194          part { name: "cit_"#_pos".fg2"; \
33195             mouse_events: 0; \
33196             description { state: "default" 0.0; \
33197                visible: 0; \
33198                color: 255 255 255 0; \
33199                rel1.to: "cit_"#_pos".bg"; \
33200                rel2.to: "cit_"#_pos".bg"; \
33201                image { \
33202                   normal: "bt_sm_shine.png"; \
33203                   border: 6 6 6 0; \
33204                } \
33205             } \
33206             description { state: "selected" 0.0; \
33207                inherit: "default" 0.0; \
33208                visible: 1; \
33209                color: 255 255 255 255; \
33210             } \
33211          } \
33212          part { name: "cit_"#_pos".check"; \
33213             mouse_events: 0; \
33214             description { state: "default" 0.0; \
33215                rel1 { \
33216                   to: "cit_"#_pos".bg"; \
33217                   relative: 0.7 0.6; \
33218                   offset: 1 1; \
33219                } \
33220                rel2 { \
33221                   to: "cit_"#_pos".bg"; \
33222                   relative: 1.1 1.2; \
33223                   offset: -2 -2; \
33224                } \
33225                aspect: 1 1; \
33226                visible: 0; \
33227                color: 255 0 0 255; \
33228                image.normal: "check.png"; \
33229             } \
33230             description { state: "visible" 0.0; \
33231                inherit: "default" 0.0; \
33232                visible: 1; \
33233             } \
33234          } \
33235       programs { \
33236          program { \
33237             name:    "cit_"#_pos".go_active"; \
33238             signal:  "cit_"#_pos",selected"; \
33239             source:  "elm"; \
33240             action:  STATE_SET "selected" 0.0; \
33241             target:  "cit_"#_pos".bg"; \
33242             target:  "cit_"#_pos".fg1"; \
33243             target:  "cit_"#_pos".fg2"; \
33244             target:  "cit_"#_pos".text"; \
33245          } \
33246          program { \
33247             name:    "cit_"#_pos".go_passive"; \
33248             signal:  "cit_"#_pos",unselected"; \
33249             source:  "elm"; \
33250             action:  STATE_SET "default" 0.0; \
33251             target:  "cit_"#_pos".bg"; \
33252             target:  "cit_"#_pos".fg1"; \
33253             target:  "cit_"#_pos".fg2"; \
33254             target:  "cit_"#_pos".text"; \
33255          } \
33256          program { \
33257             name:    "cit_"#_pos".is_today"; \
33258             signal:  "cit_"#_pos",today"; \
33259             source:  "elm"; \
33260             action:  STATE_SET "today" 0.0; \
33261             target: "cit_"#_pos".base"; \
33262          } \
33263          program { \
33264             name:    "cit_"#_pos".not_today"; \
33265             signal:  "cit_"#_pos",not_today"; \
33266             source:  "elm"; \
33267             action:  STATE_SET "default" 0.0; \
33268             target: "cit_"#_pos".base"; \
33269          } \
33270          program { \
33271             source: "cit_"#_pos".clicked"; \
33272             signal: "mouse,clicked,1"; \
33273             source: "cit_"#_pos".event"; \
33274             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33275          } \
33276          program { \
33277             name:    "cit_"#_pos".clear"; \
33278             signal:  "cit_"#_pos",clear"; \
33279             source:  "elm"; \
33280             action:  STATE_SET "default" 0.0; \
33281             target: "cit_"#_pos".check"; \
33282             target: "cit_"#_pos".hd"; \
33283          } \
33284          program { \
33285             name:    "cit_"#_pos".checked"; \
33286             signal:  "cit_"#_pos",checked"; \
33287             source:  "elm"; \
33288             action:  STATE_SET "visible" 0.0; \
33289             target: "cit_"#_pos".check"; \
33290          } \
33291          program { \
33292             name:    "cit_"#_pos".holiday"; \
33293             signal:  "cit_"#_pos",holiday"; \
33294             source:  "elm"; \
33295             action:  STATE_SET "visible" 0.0; \
33296             target: "cit_"#_pos".hd"; \
33297          } \
33298       }
33299
33300    group { name: "elm/calendar/base/default";
33301        images {
33302            image: "shelf_inset.png" COMP;
33303            image: "bt_base1.png" COMP;
33304            image: "bt_hilight.png" COMP;
33305            image: "bt_shine.png" COMP;
33306            image: "bt_glow.png" COMP;
33307            image: "bt_dis_base.png" COMP;
33308            image: "bt_dis_hilight.png" COMP;
33309            image: "sp_bt_l.png" COMP;
33310            image: "sp_bt_r.png" COMP;
33311            image: "bt_sm_base1.png" COMP;
33312            image: "bt_sm_shine.png" COMP;
33313            image: "bt_sm_hilight.png" COMP;
33314            image: "ilist_1.png" COMP;
33315            image: "ilist_2.png" COMP;
33316            image: "ilist_item_shadow.png" COMP;
33317            image: "check.png" COMP;
33318        }
33319        parts {
33320            part { name: "bg";
33321                type: RECT;
33322                description { state: "default" 0.0;
33323                    min: 0 30;
33324                    rel1.offset: 1 1;
33325                    rel2.offset: -2 -2;
33326                    color: 255 255 255 0;
33327                    align: 0.0 0.5;
33328                }
33329            }
33330            part { name: "spinner-base";
33331                type: RECT;
33332                mouse_events: 0;
33333                description { state: "default" 0.0;
33334                    min: 24 24;
33335                    max: 999999 24;
33336                    rel1.to: "bg";
33337                    rel1.offset: 6 6;
33338                    rel2.to: "bg";
33339                    rel2.offset: -7 -7;
33340                    color: 255 255 255 0;
33341                    align: 0.0 0.0;
33342                }
33343            }
33344            part { name: "conf_over_spinner";
33345                mouse_events:  0;
33346                description { state: "default" 0.0;
33347                    rel1.to: "spinner-base";
33348                    rel1.offset: -3 -3;
33349                    rel2.to: "spinner-base";
33350                    rel2.offset: 2 2;
33351                    image {
33352                        normal: "shelf_inset.png";
33353                        border: 7 7 7 7;
33354                        middle: 0;
33355                    }
33356                    fill.smooth : 0;
33357                }
33358            }
33359            part { name: "table-base";
33360                type: RECT;
33361                mouse_events: 0;
33362                description { state: "default" 0.0;
33363                    min: 256 220;
33364                    rel1.to_x: "bg";
33365                    rel1.to_y: "spinner-base";
33366                    rel1.offset: 6 6;
33367                    rel1.relative: 0 1;
33368                    rel2.to: "bg";
33369                    rel2.offset: -7 -7;
33370                    color: 255 255 255 0;
33371                }
33372            }
33373            part { name: "conf_over_table";
33374                mouse_events:  0;
33375                description { state: "default" 0.0;
33376                    rel1.to: "table-base";
33377                    rel1.offset: -3 -3;
33378                    rel2.to: "table-base";
33379                    rel2.offset: 2 2;
33380                    image {
33381                        normal: "shelf_inset.png";
33382                        border: 7 7 7 7;
33383                        middle: 0;
33384                    }
33385                    fill.smooth : 0;
33386                }
33387            }
33388            part { name: "header";
33389                type: RECT;
33390                mouse_events: 0;
33391                description { state: "default" 0.0;
33392                    rel1.to: "table-base";
33393                    rel1.relative: 0 0;
33394                    rel2.to: "table-base";
33395                    rel2.relative: 1 0.1;
33396                    color: 255 255 255 0;
33397                }
33398            }
33399            part { name: "base";
33400                type: RECT;
33401                mouse_events: 0;
33402                description { state: "default" 0.0;
33403                    rel1.to_x: "table-base";
33404                    rel1.to_y: "header";
33405                    rel1.relative: 0 1;
33406                    rel1.offset: 3 0;
33407                    rel2.to: "table-base";
33408                    rel2.offset: -3 0;
33409                    color: 255 255 255 0;
33410                }
33411            }
33412            part { name: "left_bt";
33413                mouse_events:  1;
33414                description { state: "default" 0.0;
33415                    rel1 { to: "spinner-base";
33416                        offset: 2 2;
33417                    }
33418                    rel2 { to: "spinner-base";
33419                        offset: -3 -3;
33420                    }
33421                    align: 0.0 0.5;
33422                    min: 24 24;
33423                    max: 24 24;
33424                    fixed: 1 1;
33425                    image {
33426                        normal: "bt_base1.png";
33427                        border: 6 6 6 6;
33428                    }
33429                    fill.smooth : 0;
33430                }
33431                description { state: "clicked" 0.0;
33432                    inherit: "default" 0.0;
33433                    image.normal: "bt_base1.png";
33434                    image.middle: SOLID;
33435                }
33436            }
33437            part { name: "left_over1";
33438                mouse_events: 0;
33439                description { state: "default" 0.0;
33440                    rel1.to: "left_bt";
33441                    rel2 { to: "left_bt";
33442                        relative: 1.0 0.5;
33443                    }
33444                    image {
33445                        normal: "bt_hilight.png";
33446                        border: 7 7 7 0;
33447                    }
33448                }
33449            }
33450            part { name: "left_over2";
33451                mouse_events: 1;
33452                repeat_events: 1;
33453                description { state: "default" 0.0;
33454                    rel1.to: "left_bt";
33455                    rel2.to: "left_bt";
33456                    image {
33457                        normal: "bt_shine.png";
33458                        border: 7 7 7 7;
33459                    }
33460                }
33461            }
33462            part { name: "left_over3";
33463                mouse_events: 1;
33464                repeat_events: 1;
33465                description { state: "default" 0.0;
33466                    color: 255 255 255 0;
33467                    rel1.to: "left_bt";
33468                    rel2.to: "left_bt";
33469                    image {
33470                        normal: "bt_glow.png";
33471                        border: 12 12 12 12;
33472                    }
33473                    fill.smooth : 0;
33474                }
33475                description { state: "clicked" 0.0;
33476                    inherit:  "default" 0.0;
33477                    visible: 1;
33478                    color: 255 255 255 255;
33479                }
33480            }
33481            part { name: "right_bt";
33482                mouse_events:  1;
33483                description { state: "default" 0.0;
33484                    rel1 { to: "spinner-base";
33485                        offset: -27 3;
33486                    }
33487                    rel2 { to: "spinner-base";
33488                        offset: -3 -3;
33489                    }
33490                    align: 1.0 0.5;
33491                    min: 24 24;
33492                    max: 24 24;
33493                    fixed: 1 1;
33494                    image {
33495                        normal: "bt_base1.png";
33496                        border: 5 5 4 12;
33497                    }
33498                    fill.smooth : 0;
33499                }
33500                description { state: "clicked" 0.0;
33501                    inherit: "default" 0.0;
33502                    image.normal: "bt_base1.png";
33503                    image.middle: SOLID;
33504                }
33505            }
33506            part { name: "right_over1";
33507                mouse_events: 0;
33508                description { state: "default" 0.0;
33509                    rel1.to: "right_bt";
33510                    rel2 { to: "right_bt";
33511                        relative: 1.0 0.5;
33512                    }
33513                    image {
33514                        normal: "bt_hilight.png";
33515                        border: 7 7 7 0;
33516                    }
33517                }
33518            }
33519            part { name: "right_over2";
33520                mouse_events: 1;
33521                repeat_events: 1;
33522                description { state: "default" 0.0;
33523                    rel1.to: "right_bt";
33524                    rel2.to: "right_bt";
33525                    image {
33526                        normal: "bt_shine.png";
33527                        border: 7 7 7 7;
33528                    }
33529                }
33530            }
33531            part { name: "right_over3";
33532                mouse_events: 1;
33533                repeat_events: 1;
33534                description { state: "default" 0.0;
33535                    color: 255 255 255 0;
33536                    rel1.to: "right_bt";
33537                    rel2.to: "right_bt";
33538                    image {
33539                        normal: "bt_glow.png";
33540                        border: 12 12 12 12;
33541                    }
33542                    fill.smooth : 0;
33543                }
33544                description { state: "clicked" 0.0;
33545                    inherit:  "default" 0.0;
33546                    visible: 1;
33547                    color: 255 255 255 255;
33548                }
33549            }
33550            part { name: "left_bt_icon";
33551                repeat_events: 1;
33552                description { state: "default" 0.0;
33553                    rel1.to: "left_bt";
33554                    rel2.to: "left_bt";
33555                    align: 0.5 0.5;
33556                    min: 16 16;
33557                    max: 16 16;
33558                    image.normal: "sp_bt_l.png";
33559                }
33560                description { state: "rtl" 0.0;
33561                    inherit: "default" 0.0;
33562                    image.normal: "sp_bt_r.png";
33563                }
33564            }
33565            part { name: "right_bt_icon";
33566                repeat_events: 1;
33567                description { state: "default" 0.0;
33568                    rel1.to: "right_bt";
33569                    rel2.to: "right_bt";
33570                    align: 0.5 0.5;
33571                    min: 16 16;
33572                    max: 16 16;
33573                    image.normal: "sp_bt_r.png";
33574                }
33575                description { state: "rtl" 0.0;
33576                    inherit: "default" 0.0;
33577                    image.normal: "sp_bt_l.png";
33578                }
33579            }
33580            part { name: "month_text";
33581                type: TEXT;
33582                mouse_events: 0;
33583                scale: 1;
33584                description { state: "default" 0.0;
33585                    align: 0 0.5;
33586                    fixed: 1 1;
33587                    rel1 { relative: 1.0 0.0;
33588                        offset: 3 2;
33589                        to: "left_bt";
33590                        to_y: "spinner-base";
33591                    }
33592                    rel2 { relative: 0.0 1.0;
33593                        offset: -3 -2;
33594                        to_x: "right_bt";
33595                        to_y: "spinner-base";
33596                    }
33597                    color: 0 0 0 255;
33598                    text {
33599                        font: "Sans,Edje-Vera";
33600                        size: 12;
33601                        min: 1 1;
33602                        align: 0.5 0.5;
33603                    }
33604                }
33605            }
33606            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33607            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33608            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33609            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33610            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33611            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33612            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33613        }
33614        programs {
33615            program { name: "dec_start";
33616                signal: "mouse,down,1";
33617                source: "left_bt";
33618                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33619            }
33620            program { name: "dec_stop";
33621                signal: "mouse,up,1";
33622                source: "left_bt";
33623                action: SIGNAL_EMIT "elm,action,stop" "";
33624            }
33625            program { name: "inc_start";
33626                signal: "mouse,down,1";
33627                source: "right_bt";
33628                action: SIGNAL_EMIT "elm,action,increment,start" "";
33629            }
33630            program { name: "inc_stop";
33631                signal: "mouse,up,1";
33632                source: "right_bt";
33633                action: SIGNAL_EMIT "elm,action,stop" "";
33634            }
33635            program {
33636                name:   "left_bt_click";
33637                signal: "mouse,down,1";
33638                source: "left_over2";
33639                action: STATE_SET "clicked" 0.0;
33640                target: "left_bt";
33641            }
33642            program {
33643                name:   "left_bt_unclick";
33644                signal: "mouse,up,1";
33645                source: "left_over2";
33646                action: STATE_SET "default" 0.0;
33647                target: "left_bt";
33648            }
33649            program {
33650                name:   "left_bt_click2";
33651                signal: "mouse,down,1";
33652                source: "left_over3";
33653                action: STATE_SET "clicked" 0.0;
33654                target: "left_over3";
33655            }
33656            program {
33657                name:   "left_bt_unclick2";
33658                signal: "mouse,up,1";
33659                source: "left_over3";
33660                action: STATE_SET "default" 0.0;
33661                transition: DECELERATE 0.5;
33662                target: "left_over3";
33663            }
33664            program {
33665                name:   "right_bt_click";
33666                signal: "mouse,down,1";
33667                source: "right_over2";
33668                action: STATE_SET "clicked" 0.0;
33669                target: "right_bt";
33670            }
33671            program {
33672                name:   "right_bt_unclick";
33673                signal: "mouse,up,1";
33674                source: "right_over2";
33675                action: STATE_SET "default" 0.0;
33676                target: "right_bt";
33677            }
33678            program {
33679                name:   "right_bt_click2";
33680                signal: "mouse,down,1";
33681                source: "right_over3";
33682                action: STATE_SET "clicked" 0.0;
33683                target: "right_over3";
33684            }
33685            program {
33686                name:   "right_bt_unclick2";
33687                signal: "mouse,up,1";
33688                source: "right_over3";
33689                action: STATE_SET "default" 0.0;
33690                transition: DECELERATE 0.5;
33691                target: "right_over3";
33692            }
33693            program { name: "to_rtl";
33694                signal: "edje,state,rtl";
33695                source: "edje";
33696                action: STATE_SET "rtl" 0.0;
33697                target: "right_bt_icon";
33698                target: "left_bt_icon";
33699            }
33700            program { name: "to_ltr";
33701                signal: "edje,state,ltr";
33702                source: "edje";
33703                action: STATE_SET "default" 0.0;
33704                target: "right_bt_icon";
33705                target: "left_bt_icon";
33706            }
33707        }
33708    }
33709
33710 #undef CIT
33711 #undef CH
33712
33713 ////////////////////////////////////////////////////////////////////////////////
33714 // colorselector
33715 ////////////////////////////////////////////////////////////////////////////////
33716    group { name: "elm/colorselector/bg/default";
33717       parts {
33718          part { name: "elm.colorbar_0";
33719             type: SWALLOW;
33720             mouse_events: 1;
33721             description { state: "default" 0.0;
33722                min: 120 30;
33723                rel1.relative: 0.0 0.00653594771;
33724                rel2.relative: 1.0 0.254901961;
33725             }
33726          }
33727          part { name: "elm.colorbar_1";
33728             type: SWALLOW;
33729             mouse_events: 1;
33730             description { state: "default" 0.0;
33731                min: 120 30;
33732                rel1.relative: 0.0 0.254901961;
33733                rel2.relative: 1.0 0.503267974;
33734             }
33735          }
33736          part { name: "elm.colorbar_2";
33737             type: SWALLOW;
33738             mouse_events: 1;
33739             description { state: "default" 0.0;
33740                min: 120 30;
33741                rel1.relative: 0.0 0.503267974;
33742                rel2.relative: 1.0 0.751633987;
33743             }
33744          }
33745          part { name: "elm.colorbar_3";
33746             type: SWALLOW;
33747             mouse_events: 1;
33748             description { state: "default" 0.0;
33749                min: 120 30;
33750                rel1.relative: 0.0 0.751633987;
33751                rel2.relative: 1.0 1.0;
33752             }
33753          }
33754       }
33755    }
33756
33757    group { name: "elm/colorselector/base/default";
33758       parts {
33759          part { name: "elm.bar_bg";
33760             type: SWALLOW;
33761             mouse_events: 0;
33762             description { state: "default" 0.0;
33763                min: 60 22;
33764                rel1 {
33765                   relative: 0.0 0.8;
33766                   to_x: "elm.arrow_bg";
33767                   to_y: "elm.arrow_icon";
33768                   offset: 0 0;
33769                }
33770                rel2 {
33771                   relative: 1.0 0.83;
33772                   to_x: "elm.arrow_bg";
33773                   offset: 0 0;
33774                }
33775             }
33776          }
33777          part { name: "elm.bar";
33778             type: SWALLOW;
33779             mouse_events: 0;
33780             description { state: "default" 0.0;
33781                rel1.to: "elm.bar_bg";
33782                rel2.to: "elm.bar_bg";
33783             }
33784          }
33785          part { name: "elm.arrow_bg";
33786             type: SWALLOW;
33787             mouse_events: 1;
33788             description { state: "default" 0.0;
33789                rel1 {
33790                   relative: 1.0 0.17;
33791                   offset: 3 0;
33792                   to_x: "elm.l_button";
33793                }
33794                rel2 {
33795                   relative: 0.0 0.83;
33796                      offset: -4 0;
33797                   to_x: "elm.r_button";
33798                }
33799             }
33800          }
33801          part { name: "elm.arrow";
33802             type: RECT;
33803             mouse_events: 1;
33804             scale: 1;
33805             description { state: "default" 0.0;
33806                min: 1 1;
33807                fixed: 1 1;
33808                align: 0 0;
33809                rel1 {
33810                   to_x: "elm.arrow_bg";
33811                }
33812                rel2 {
33813                   relative: 0.0 0.17;
33814                   to_x: "elm.arrow_bg";
33815                }
33816                color: 0 0 0 0;
33817                visible: 0;
33818             }
33819             dragable {
33820                confine: "elm.arrow_bg";
33821                x: 1 1 0;
33822                y: 0 0 0;
33823             }
33824          }
33825          part { name: "elm.arrow_icon";
33826             type: SWALLOW;
33827             mouse_events: 0;
33828             description { state: "default" 0.0;
33829                min: 25 15;
33830                max: 25 15;
33831                fixed: 1 1;
33832                align: 0.5 0;
33833                rel1 {
33834                   to_x: "elm.arrow";
33835                }
33836                rel2 {
33837                   relative: 1.0 0.0;
33838                   offset: 0 10;
33839                   to_x: "elm.arrow";
33840                }
33841             }
33842          }
33843          part { name: "event";
33844             type: RECT;
33845             mouse_events: 1;
33846             description { state: "default" 0.0;
33847                rel1 {
33848                   to: "elm.arrow_icon";
33849                }
33850                rel2 {
33851                   to_x: "elm.arrow_icon";
33852                   to_y: "elm.arrow_bg";
33853                   offset: 0 0;
33854                }
33855                color: 0 0 0 0;
33856             }
33857             dragable {
33858                events: "elm.arrow";
33859             }
33860          }
33861          part { name: "elm.l_button";
33862             type: SWALLOW;
33863             mouse_events: 1;
33864             scale: 1;
33865             description { state: "default" 0.0;
33866                min: 24 24;
33867                fixed: 1 1;
33868                rel1 {
33869                   relative: 0.0 0.0;
33870                   to_y: "elm.bar_bg";
33871                }
33872                rel2 {
33873                   relative: 0.0 1.0;
33874                   to_y: "elm.bar_bg";
33875                }
33876                align: 0.0 0.5;
33877             }
33878          }
33879          part { name: "elm.r_button";
33880             type: SWALLOW;
33881             mouse_events: 1;
33882             scale: 1;
33883             description {
33884                state: "default" 0.0;
33885                min: 24 24;
33886                fixed: 1 1;
33887                rel1 {
33888                   relative: 1.0 0.0;
33889                   to_y: "elm.bar_bg";
33890                }
33891                rel2 {
33892                   relative: 1.0 1.0;
33893                   to_y: "elm.bar_bg";
33894                }
33895                align: 1.0 0.5;
33896             }
33897          }
33898       }
33899    }
33900
33901    group{ name: "elm/colorselector/image/colorbar_0";
33902       images {
33903          image: "color_picker_color.png" COMP;
33904       }
33905       parts {
33906          part { name: "colorbar_0_image";
33907             type: IMAGE;
33908             mouse_events: 1;
33909             description { state: "default" 0.0;
33910                rel2.offset: -1 -1;
33911                image.normal: "color_picker_color.png";
33912             }
33913          }
33914       }
33915    }
33916
33917    group { name: "elm/colorselector/image/colorbar_1";
33918       images {
33919          image: "color_picker_opacity.png" COMP;
33920       }
33921       parts {
33922          part { name: "colorbar_1_image";
33923             type: IMAGE;
33924             mouse_events: 1;
33925             description { state: "default" 0.0;
33926                rel2.offset: -1 -1;
33927                image.normal: "color_picker_opacity.png";
33928             }
33929          }
33930       }
33931    }
33932
33933    group { name: "elm/colorselector/image/colorbar_2";
33934       images {
33935          image: "color_picker_brightness.png" COMP;
33936       }
33937       parts {
33938          part { name: "colorbar_2_image";
33939             type: IMAGE;
33940             mouse_events: 1;
33941             description { state: "default" 0.0;
33942                rel2.offset: -1 -1;
33943                image.normal: "color_picker_brightness.png";
33944             }
33945          }
33946       }
33947    }
33948
33949    group { name: "elm/colorselector/image/colorbar_3";
33950       images {
33951          image: "color_picker_alpha.png" COMP;
33952       }
33953       parts {
33954          part { name: "colorbar_3_image";
33955             type: IMAGE;
33956             mouse_events: 1;
33957             description { state: "default" 0.0;
33958                rel2.offset: -1 -1;
33959                image.normal: "color_picker_alpha.png";
33960             }
33961          }
33962       }
33963    }
33964
33965    group { name: "elm/colorselector/bg_image/colorbar_3";
33966       images {
33967          image: "color_picker_alpha_bg.png" COMP;
33968       }
33969       parts {
33970          part { name: "colorbar_3_image";
33971             type: IMAGE;
33972             mouse_events: 1;
33973             description { state: "default" 0.0;
33974                rel2.offset: -1 -1;
33975                image.normal: "color_picker_alpha_bg.png";
33976             }
33977          }
33978       }
33979    }
33980
33981    group { name: "elm/colorselector/image/updown";
33982       images {
33983          image: "icon_arrow_down.png" COMP;
33984       }
33985       parts {
33986          part { name: "bg";
33987             type: RECT;
33988             mouse_events: 1;
33989             description { state: "default" 0.0;
33990                color: 0 0 0 0;
33991             }
33992          }
33993          part { name: "arrow_image";
33994             type: IMAGE;
33995             mouse_events: 1;
33996             description { state: "default" 0.0;
33997                image.normal: "icon_arrow_down.png";
33998             }
33999          }
34000       }
34001    }
34002
34003    group { name: "elm/colorselector/button/left";
34004       images {
34005          image: "bt_base1.png" COMP;
34006          image: "bt_shine.png" COMP;
34007          image: "sp_bt_l.png" COMP;
34008       }
34009       parts {
34010          part { name: "button_image";
34011             mouse_events: 1;
34012             description { state: "default" 0.0;
34013                image.normal: "bt_base1.png";
34014                image.border: 6 6 6 6;
34015                image.middle: SOLID;
34016             }
34017
34018             description { state: "clicked" 0.0;
34019                inherit: "default" 0.0;
34020                image.normal: "bt_shine.png";
34021                image.border: 6 6 6 6;
34022                image.middle: SOLID;
34023             }
34024          }
34025          part { name: "btn_over";
34026             type: IMAGE;
34027             mouse_events: 0;
34028             description { state: "default" 0.0;
34029                rel1.to: "button_image";
34030                rel2 {
34031                   relative: 1.0 0.5;
34032                   to: "button_image";
34033                }
34034                image {
34035                   normal: "bt_hilight.png";
34036                   border: 7 7 7 0;
34037                }
34038             }
34039          }
34040          part { name: "btn_over2";
34041             type: IMAGE;
34042             mouse_events: 1;
34043             repeat_events: 1;
34044             ignore_flags: ON_HOLD;
34045             description { state: "default" 0.0;
34046                rel1.to: "button_image";
34047                rel2.to: "button_image";
34048                image {
34049                   normal: "bt_shine.png";
34050                   border: 7 7 7 7;
34051                }
34052             }
34053          }
34054          part { name: "focus_image";
34055             type: IMAGE;
34056             description { state: "default" 0.0;
34057                color: 255 255 255 0;
34058                rel1.to: "button_image";
34059                rel2.to: "button_image";
34060                image {
34061                   normal: "bt_glow.png";
34062                   border: 12 12 12 12;
34063                }
34064                fill.smooth: 0;
34065
34066             }
34067             description { state: "clicked" 0.0;
34068                inherit: "default" 0.0;
34069                visible: 1;
34070                color: 255 255 255 255;
34071             }
34072          }
34073          part { name: "left_arrow";
34074             mouse_events: 1;
34075             description { state: "default" 0.0;
34076                min: 16 16;
34077                max: 16 16;
34078                image.normal: "sp_bt_l.png";
34079             }
34080          }
34081       }
34082
34083       programs {
34084          program {
34085             name:   "button_down";
34086             signal: "elm,state,left,button,down";
34087             source: "left_button";
34088             action: STATE_SET "clicked" 0.0;
34089             target: "button_image";
34090             target: "focus_image";
34091          }
34092          program {
34093             name:   "button_up";
34094             signal: "elm,state,left,button,up";
34095             source: "left_button";
34096             action: STATE_SET "default" 0.0;
34097             target: "button_image";
34098             target: "focus_image";
34099          }
34100       }
34101    }
34102
34103    group { name: "elm/colorselector/button/right";
34104       images {
34105          image: "bt_base1.png" COMP;
34106          image: "bt_shine.png" COMP;
34107          image: "sp_bt_r.png" COMP;
34108       }
34109       parts {
34110          part { name: "button_image";
34111             mouse_events: 1;
34112             description { state: "default" 0.0;
34113                image.normal: "bt_base1.png";
34114                image.border: 6 6 6 6;
34115                image.middle: SOLID;
34116             }
34117
34118             description { state: "clicked" 0.0;
34119                inherit: "default" 0.0;
34120                image.normal: "bt_shine.png";
34121                image.border: 6 6 6 6;
34122                image.middle: SOLID;
34123             }
34124          }
34125          part { name: "btn_over";
34126             type: IMAGE;
34127             mouse_events: 0;
34128             description { state: "default" 0.0;
34129                rel1.to: "button_image";
34130                rel2 {
34131                   relative: 1.0 0.5;
34132                   to: "button_image";
34133                }
34134                image {
34135                   normal: "bt_hilight.png";
34136                   border: 7 7 7 0;
34137                }
34138             }
34139          }
34140          part { name: "btn_over2";
34141             type: IMAGE;
34142             mouse_events: 1;
34143             repeat_events: 1;
34144             ignore_flags: ON_HOLD;
34145             description { state: "default" 0.0;
34146                rel1.to: "button_image";
34147                rel2.to: "button_image";
34148                image {
34149                   normal: "bt_shine.png";
34150                   border: 7 7 7 7;
34151                }
34152             }
34153          }
34154          part { name: "focus_image";
34155             type: IMAGE;
34156             description { state: "default" 0.0;
34157                color: 255 255 255 0;
34158                rel1.to: "button_image";
34159                rel2.to: "button_image";
34160                image {
34161                   normal: "bt_glow.png";
34162                   border: 12 12 12 12;
34163                }
34164                fill.smooth: 0;
34165
34166             }
34167             description { state: "clicked" 0.0;
34168                inherit: "default" 0.0;
34169                visible: 1;
34170                color: 255 255 255 255;
34171             }
34172          }
34173          part { name: "right_arrow";
34174             mouse_events: 1;
34175             description { state: "default" 0.0;
34176                min: 16 16;
34177                max: 16 16;
34178                image.normal: "sp_bt_r.png";
34179             }
34180          }
34181       }
34182
34183       programs {
34184          program {
34185             name:   "button_down";
34186             signal: "elm,state,right,button,down";
34187             source: "right_button";
34188             action: STATE_SET "clicked" 0.0;
34189             target: "button_image";
34190             target: "focus_image";
34191          }
34192          program {
34193             name:   "button_up";
34194             signal: "elm,state,right,button,up";
34195             source: "right_button";
34196             action: STATE_SET "default" 0.0;
34197             target: "button_image";
34198             target: "focus_image";
34199          }
34200       }
34201    }
34202
34203 ///////////////////////////////////////////////////////////////////////////////
34204 #define FLIP_PICKER_MAX_LEN (50)
34205 #define FLIP_PICKER_MAX_LEN_STR "50"
34206
34207    group { name: "elm/flipselector/base/default";
34208       images {
34209          image: "flip_base.png" COMP;
34210          image: "flip_base_shad.png" COMP;
34211          image: "flip_shad.png" COMP;
34212          image: "arrow_up.png" COMP;
34213          image: "arrow_down.png" COMP;
34214          image: "flip_t.png" COMP;
34215          image: "flip_b.png" COMP;
34216       }
34217
34218       data {
34219          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34220       }
34221
34222       //FIXME: quick successive clicks on, say, up, lead to nastiness
34223       script {
34224          public cur, prev, next, lock;
34225
34226          public animator_bottom_down(val, Float:pos) {
34227             new tmp[FLIP_PICKER_MAX_LEN];
34228
34229             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34230             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34231                             0.0);
34232             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34233                             0.0);
34234
34235             if (pos >= 1.0) {
34236                set_state(PART:"shadow", "default", 0.0);
34237                set_int(lock, 0);
34238
34239                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34240                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34241                   replace_str(next, 0, "");
34242                   message(MSG_STRING, 1, tmp);
34243                }
34244             }
34245          }
34246
34247          public animator_top_down(val, Float:pos) {
34248             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34249             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34250                             0.0);
34251             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34252                             0.0);
34253
34254             if (pos >= 1.0)
34255                anim(0.2, "animator_bottom_down", val);
34256          }
34257
34258          public animator_bottom_up(val, Float:pos) {
34259             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34260             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34261                             0.0);
34262             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34263                             0.0);
34264
34265             if (pos >= 1.0)
34266                anim(0.2, "animator_top_up", val);
34267          }
34268
34269          public animator_top_up(val, Float:pos) {
34270             new tmp[FLIP_PICKER_MAX_LEN];
34271
34272             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34273             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34274                             0.0);
34275             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34276                             0.0);
34277
34278             if (pos >= 1.0) {
34279                set_state(PART:"shadow", "default", 0.0);
34280                set_int(lock, 0);
34281
34282                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34283                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34284                   replace_str(next, 0, "");
34285                   message(MSG_STRING, 2, tmp);
34286                }
34287             }
34288          }
34289
34290          public message(Msg_Type:type, id, ...) {
34291             /* flip down */
34292             if ((type == MSG_STRING) && (id == 1)) {
34293                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34294
34295                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34296
34297                if (get_int(lock) == 1) {
34298                   replace_str(next, 0, value);
34299                   return;
34300                }
34301
34302                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34303
34304                set_text(PART:"bottom_b", tmp);
34305
34306                set_state(PART:"top", "shrink", 0.0);
34307                set_text(PART:"top", tmp);
34308                set_state(PART:"top", "default", 0.0);
34309                set_text(PART:"top", tmp);
34310
34311                replace_str(prev, 0, tmp);
34312
34313                set_state(PART:"bottom", "default", 0.0);
34314                set_text(PART:"bottom", value);
34315                set_state(PART:"bottom", "shrink", 0.0);
34316                set_text(PART:"bottom", value);
34317
34318                set_text(PART:"top_b", value);
34319
34320                replace_str(cur, 0, value);
34321
34322                set_state(PART:"bottom_sheet", "shrink", 0.0);
34323                set_state(PART:"top_sheet", "default", 0.0);
34324
34325                set_int(lock, 1);
34326                set_state(PART:"shadow", "default", 0.0);
34327                anim(0.2, "animator_top_down", 1);
34328             }
34329
34330             /* flip up */
34331             if ((type == MSG_STRING) && (id == 2)) {
34332                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34333
34334                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34335
34336                if (get_int(lock) == 1) {
34337                   replace_str(next, 0, value);
34338                   return;
34339                }
34340
34341                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34342
34343                set_text(PART:"top_b", tmp);
34344
34345                set_state(PART:"bottom", "shrink", 0.0);
34346                set_text(PART:"bottom", tmp);
34347                set_state(PART:"bottom", "default", 0.0);
34348                set_text(PART:"bottom", tmp);
34349
34350                replace_str(prev, 0, tmp);
34351
34352                set_state(PART:"top", "default", 0.0);
34353                set_text(PART:"top", value);
34354                set_state(PART:"top", "shrink", 0.0);
34355                set_text(PART:"top", value);
34356
34357                set_text(PART:"bottom_b", value);
34358
34359                replace_str(cur, 0, value);
34360
34361                set_state(PART:"bottom_sheet", "default", 0.0);
34362                set_state(PART:"top_sheet", "shrink", 0.0);
34363
34364                set_int(lock, 1);
34365                set_state(PART:"shadow", "full", 0.0);
34366                anim(0.2, "animator_bottom_up", 1);
34367             }
34368          }
34369       }
34370
34371       parts {
34372          part { name: "shad";
34373             mouse_events: 0;
34374             description { state: "default" 0.0;
34375                rel1.offset: -4 -4;
34376                rel1.to: "base";
34377                rel2.offset: 3 3;
34378                rel2.to: "base";
34379                image {
34380                   normal: "flip_base_shad.png";
34381                   border: 8 8 8 8;
34382                }
34383             }
34384          }
34385
34386          part { name: "base";
34387             scale: 1;
34388             description { state: "default" 0.0;
34389                rel1.offset: 4 4;
34390                rel2.offset: -5 -5;
34391                min: 24 48;
34392                image.normal: "flip_base.png";
34393             }
34394          }
34395
34396          part { name: "b";
34397             type: RECT;
34398             mouse_events: 1;
34399             description { state: "default" 0.0;
34400                rel1.to: "base";
34401                rel1.relative: 0.0 0.5;
34402                rel2.to: "base";
34403                color: 0 0 0 0;
34404             }
34405             description { state: "hidden" 0.0;
34406                inherit: "default" 0.0;
34407                visible: 0;
34408             }
34409          }
34410
34411          part { name: "t";
34412             type: RECT;
34413             mouse_events: 1;
34414             description { state: "default" 0.0;
34415                rel1.to: "base";
34416                rel2.to: "base";
34417                rel2.relative: 1.0 0.5;
34418                color: 0 0 0 0;
34419             }
34420             description { state: "hidden" 0.0;
34421                inherit: "default" 0.0;
34422                visible: 0;
34423             }
34424          }
34425
34426          part { name: "bottom_sheet_static";
34427             mouse_events: 0;
34428             description { state: "default" 0.0;
34429                visible: 1;
34430                rel1.to: "b";
34431                rel2.to: "b";
34432                image.normal: "flip_b.png";
34433             }
34434          }
34435
34436          part { name: "bottom_b";
34437             mouse_events: 0;
34438             clip_to: "bottom_clipper";
34439             type: TEXT;
34440             scale: 1;
34441             description { state: "default" 0.0;
34442                rel1.to: "base";
34443                rel2.to: "base";
34444                color: 0 0 0 255;
34445                color2: 0 0 0 255;
34446                text {
34447                   font: "Sans:style=Bold,Edje-Vera-Bold";
34448                   size: 30;
34449                   min: 1 1;
34450                   align: 0.5 0.5;
34451                }
34452             }
34453          }
34454
34455          part { name: "shadow";
34456             mouse_events: 0;
34457             description { state: "default" 0.0;
34458                rel1.to: "b";
34459                rel2.to: "b";
34460                rel2.relative: 1.0 0.0;
34461                image.normal: "flip_shad.png";
34462             }
34463             description { state: "half" 0.0;
34464                inherit: "default" 0.0;
34465                rel2.relative: 1.0 0.5;
34466             }
34467             description { state: "full" 0.0;
34468                inherit: "default" 0.0;
34469                rel2.relative: 1.0 1.0;
34470             }
34471          }
34472
34473          part { name: "bottom_sheet";
34474             mouse_events: 0;
34475             description { state: "default" 0.0;
34476                visible: 1;
34477                rel1.to: "b";
34478                rel2.to: "b";
34479                image.normal: "flip_b.png";
34480             }
34481             description { state: "shrink" 0.0;
34482                inherit: "default" 0.0;
34483                visible: 0;
34484                rel2.relative: 1.0 0.0;
34485             }
34486          }
34487
34488          part { name: "bottom";
34489             mouse_events: 0;
34490             clip_to: "bottom_clipper";
34491             type: TEXT;
34492             scale: 1;
34493             description { state: "default" 0.0;
34494                rel1.to: "base";
34495                rel2.to: "base";
34496                color: 0 0 0 255;
34497                color2: 0 0 0 255;
34498                text {
34499                   font: "Sans:style=Bold,Edje-Vera-Bold";
34500                   size: 30;
34501                   min: 1 1;
34502                   align: 0.5 0.5;
34503                }
34504             }
34505             description { state: "shrink" 0.0;
34506                inherit: "default" 0.0;
34507                color: 128 128 128 255;
34508                visible: 0;
34509                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34510             }
34511          }
34512
34513          part { name: "top_sheet_static";
34514             mouse_events: 0;
34515             description { state: "default" 0.0;
34516                visible: 1;
34517                rel1.to: "t";
34518                rel2.to: "t";
34519                image.normal: "flip_t.png";
34520             }
34521          }
34522
34523          part { name: "top_b";
34524             mouse_events: 0;
34525             clip_to: "top_clipper";
34526             type: TEXT;
34527             scale: 1;
34528             description { state: "default" 0.0;
34529                rel1.to: "base";
34530                rel2.to: "base";
34531                color: 0 0 0 255;
34532                color2: 0 0 0 255;
34533                text {
34534                   font: "Sans:style=Bold,Edje-Vera-Bold";
34535                   size: 30;
34536                   min: 1 1;
34537                   align: 0.5 0.5;
34538                   source: "top";
34539                }
34540             }
34541          }
34542
34543          part { name: "top_sheet";
34544             mouse_events: 0;
34545             description { state: "default" 0.0;
34546                visible: 1;
34547                rel1.to: "t";
34548                rel2.to: "t";
34549                image.normal: "flip_t.png";
34550             }
34551             description { state: "shrink" 0.0;
34552                inherit: "default" 0.0;
34553                color: 128 128 128 255;
34554                visible: 0;
34555                rel1.relative: 0.0 1.0;
34556             }
34557          }
34558
34559          part { name: "top";
34560             mouse_events: 0;
34561             clip_to: "top_clipper";
34562             type: TEXT;
34563             scale: 1;
34564             description { state: "default" 0.0;
34565                rel1.to: "base";
34566                rel2.to: "base";
34567                color: 0 0 0 255;
34568                color2: 0 0 0 255;
34569                text {
34570                   font: "Sans:style=Bold,Edje-Vera-Bold";
34571                   size: 30;
34572                   min: 1 1;
34573                   align: 0.5 0.5;
34574                }
34575             }
34576             description { state: "shrink" 0.0;
34577                inherit: "default" 0.0;
34578                visible: 0;
34579                rel1.relative: 0.0 0.5;
34580             }
34581          }
34582
34583          part { name: "arrow_top";
34584             mouse_events: 0;
34585             scale: 1;
34586             description { state: "default" 0.0;
34587                min: 15 15;
34588                max: 15 15;
34589                align: 0.5 0.0;
34590                rel1.to: "t";
34591                rel2.to: "t";
34592                image.normal: "arrow_up.png";
34593             }
34594             description { state: "hidden" 0.0;
34595                inherit: "default" 0.0;
34596                visible: 0;
34597             }
34598          }
34599          part { name: "arrow_bottom";
34600             mouse_events: 0;
34601             scale: 1;
34602             description { state: "default" 0.0;
34603                min: 15 15;
34604                max: 15 15;
34605                align: 0.5 1.0;
34606                rel1.to: "b";
34607                rel2.to: "b";
34608                image.normal: "arrow_down.png";
34609             }
34610             description { state: "hidden" 0.0;
34611                inherit: "default" 0.0;
34612                visible: 0;
34613             }
34614          }
34615
34616          part {
34617             type: RECT;
34618             mouse_events: 0;
34619             name: "top_clipper";
34620             description {
34621                state: "default" 0.0;
34622                rel1.to: "t";
34623                rel2.to: "t";
34624                visible: 1;
34625             }
34626          }
34627
34628          part {
34629             type: RECT;
34630             mouse_events: 0;
34631             name: "bottom_clipper";
34632             description {
34633                state: "default" 0.0;
34634                rel1.to: "b";
34635                rel2.to: "b";
34636                visible: 1;
34637             }
34638          }
34639       }
34640
34641       programs {
34642          program { name: "load";
34643             signal: "load";
34644             source: "";
34645             script {
34646                append_str(cur, "");
34647                append_str(prev, "");
34648                append_str(next, "");
34649                set_int(lock, 0);
34650             }
34651          }
34652
34653          program { name: "hide_arrows";
34654             signal: "elm,state,button,hidden";
34655             source: "elm";
34656             action: STATE_SET "hidden" 0.0;
34657             target: "arrow_top";
34658             target: "arrow_bottom";
34659             target: "t";
34660             target: "b";
34661          }
34662
34663          program { name: "show_arrows";
34664             signal: "elm,state,button,visible";
34665             source: "elm";
34666             action: STATE_SET "default" 0.0;
34667             target: "arrow_top";
34668             target: "arrow_bottom";
34669             target: "t";
34670             target: "b";
34671          }
34672
34673          program { name: "up";
34674             signal: "mouse,down,1";
34675             source: "t";
34676             action: SIGNAL_EMIT "elm,action,up,start" "";
34677          }
34678          program { name: "up,stop";
34679             signal: "mouse,up,1";
34680             source: "t";
34681             action: SIGNAL_EMIT "elm,action,up,stop" "";
34682          }
34683          program { name: "down";
34684             signal: "mouse,down,1";
34685             source: "b";
34686             action: SIGNAL_EMIT "elm,action,down,start" "";
34687          }
34688          program { name: "down,stop";
34689             signal: "mouse,up,1";
34690             source: "b";
34691             action: SIGNAL_EMIT "elm,action,down,stop" "";
34692          }
34693       }
34694    }
34695
34696 ////////////////////////////////////////////////////////////////////////////////
34697 // diskselector
34698 ////////////////////////////////////////////////////////////////////////////////
34699    group { name: "elm/diskselector/base/default";
34700       images {
34701          image: "bar_shine.png" COMP;
34702       }
34703
34704       parts {
34705          part { name: "bg";
34706             type: RECT;
34707             mouse_events: 0;
34708             description { state: "default" 0.0;
34709                color: 0 0 0 255;
34710             }
34711          }
34712          part { name: "shine_left";
34713             mouse_events:  0;
34714             description { state: "default" 0.0;
34715                rel1.to: "bg";
34716                rel1.relative: -0.1 0;
34717                rel2.to: "bg";
34718                rel2.relative: 0.1 1;
34719                image.normal: "bar_shine.png";
34720                color: 255 255 255 120;
34721             }
34722          }
34723          part { name: "shine_center";
34724             mouse_events:  0;
34725             description { state: "default" 0.0;
34726                rel1.to: "bg";
34727                rel1.relative: 0.2 0;
34728                rel2.to: "bg";
34729                rel2.relative: 0.8 1;
34730                image.normal: "bar_shine.png";
34731                color: 255 255 255 180;
34732             }
34733          }
34734          part { name: "shine_right";
34735             mouse_events:  0;
34736             description { state: "default" 0.0;
34737                rel1.to: "bg";
34738                rel1.relative: 0.9 0;
34739                rel2.to: "bg";
34740                rel2.relative: 1.1 1;
34741                image.normal: "bar_shine.png";
34742                color: 255 255 255 120;
34743             }
34744          }
34745          part { name: "clipper";
34746             type: RECT;
34747             mouse_events: 0;
34748             description { state: "default" 0.0;
34749                rel1.to: "bg";
34750                rel2.to: "bg";
34751                rel1.offset: 2 2;
34752                rel2.offset: -3 -3;
34753             }
34754          }
34755          part { name: "elm.swallow.content";
34756             clip_to: "clipper";
34757             type: SWALLOW;
34758             description { state: "default" 0.0;
34759                rel1.to: "bg";
34760                rel2.to: "bg";
34761             }
34762          }
34763       }
34764    }
34765
34766    group { name: "elm/diskselector/item/default";
34767
34768       data {
34769          item: "len_threshold" "14";
34770          item: "display_item_num" "3";
34771          item: "min_height" "-1";
34772          item: "min_width" "-1";
34773       }
34774
34775       parts {
34776          part { name: "elm.swallow.icon";
34777             type: SWALLOW;
34778             description { state: "default" 0.0;
34779                fixed: 1 0;
34780                align: 0.0 0.5;
34781                rel1 {
34782                   relative: 0 0;
34783                   offset: 4 4;
34784                }
34785                rel2 {
34786                   relative: 0 1;
34787                   offset: 4 -5;
34788                }
34789             }
34790             description { state: "show" 0.0;
34791                inherit: "default" 0.0;
34792             }
34793             description { state: "default_small" 0.0;
34794                inherit: "default" 0.0;
34795                rel1.relative: 0 0.2;
34796                rel2.relative: 0 0.8;
34797             }
34798             description { state: "left_side" 0.0;
34799                inherit: "default" 0.0;
34800                rel1.relative: 0 0.2;
34801                rel2.relative: 0 0.8;
34802                color: 255 255 255 160;
34803             }
34804             description { state: "right_side" 0.0;
34805                inherit: "left_side" 0.0;
34806                rel1.relative: 0.4 0.2;
34807                rel2.relative: 0.4 0.8;
34808                color: 255 255 255 160;
34809             }
34810          }
34811          part { name: "elm.text";
34812             type: TEXT;
34813             mouse_events: 0;
34814             scale: 1;
34815             description { state: "default" 0.0;
34816                rel1.relative: 1 0.0;
34817                rel1.to_x: "elm.swallow.icon";
34818                rel2.relative: 1.0 1.0;
34819                color: 255 255 255 255;
34820                visible: 0;
34821                text {
34822                   font: "Sans,Edje-Vera";
34823                   size: 13;
34824                   align: 0.5 0.5;
34825                   min: 0 1;
34826                }
34827             }
34828             description { state: "show" 0.0;
34829                inherit: "default" 0.0;
34830                visible: 1;
34831             }
34832             description { state: "default_small" 0.0;
34833                inherit: "default" 0.0;
34834                visible: 1;
34835                text.size: 10;
34836             }
34837             description { state: "left_side" 0.0;
34838                inherit: "default" 0.0;
34839                color: 172 172 172 255;
34840                text.size: 10;
34841                visible: 1;
34842                text.align: 0.2 0.5;
34843             }
34844             description { state: "right_side" 0.0;
34845                inherit: "default" 0.0;
34846                color: 172 172 172 255;
34847                visible: 1;
34848                text.size: 10;
34849                text.align: 0.8 0.5;
34850             }
34851          }
34852       }
34853
34854       programs {
34855          program { name: "center_text";
34856             signal: "elm,state,center";
34857             source: "elm";
34858             action: STATE_SET "show" 0.0;
34859             target: "elm.text";
34860             target: "elm.swallow.icon";
34861          }
34862          program { name: "center_small_text";
34863             signal: "elm,state,center_small";
34864             source: "elm";
34865             action: STATE_SET "default_small" 0.0;
34866             target: "elm.text";
34867             target: "elm.swallow.icon";
34868          }
34869          program { name: "l_side_text";
34870             signal: "elm,state,left_side";
34871             source: "elm";
34872             action: STATE_SET "left_side" 0.0;
34873             target: "elm.text";
34874             target: "elm.swallow.icon";
34875          }
34876          program { name: "r_side_text";
34877             signal: "elm,state,right_side";
34878             source: "elm";
34879             action: STATE_SET "right_side" 0.0;
34880             target: "elm.text";
34881             target: "elm.swallow.icon";
34882          }
34883       }
34884    }
34885
34886    group { name: "elm/entry/path/separator/default";
34887       images.image: "arrow_right.png" COMP;
34888       parts {
34889          part { name: "icon";
34890             mouse_events: 0;
34891             description { state: "default" 0.0;
34892                image.normal: "arrow_right.png";
34893                max: 64 64;
34894                aspect: 1.0 1.0;
34895             }
34896          }
34897       }
34898    }
34899
34900    group { name: "elm/fileselector/base/default";
34901       data {
34902          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34903       }
34904       parts {
34905          part { name: "elm.swallow.up";
34906             type: SWALLOW;
34907             description { state: "default" 0.0;
34908                align: 0.0 0.0;
34909                min: 10 10;
34910                fixed: 1 1;
34911                rel2 {
34912                   relative: 0.0 0.0;
34913                   offset: 0 0;
34914                }
34915             }
34916          }
34917          part { name: "elm.swallow.home";
34918             type: SWALLOW;
34919             description { state: "default" 0.0;
34920                align: 0.0 0.0;
34921                min: 10 10;
34922                fixed: 1 1;
34923                rel1 {
34924                   to: "elm.swallow.up";
34925                   relative: 1.0 0.0;
34926                   offset: 5 0;
34927                }
34928                rel2 {
34929                   to: "elm.swallow.up";
34930                   relative: 1.0 1.0;
34931                   offset: 20 -1;
34932                }
34933             }
34934          }
34935          part { name: "elm.swallow.files";
34936             type: SWALLOW;
34937             description { state: "default" 0.0;
34938                align: 1.0 0.0;
34939                min: 10 10;
34940                fixed: 1 1;
34941                rel1 {
34942                   to_y: "elm.swallow.home";
34943                   relative: 0.0 1.0;
34944                   offset: 0 0;
34945                }
34946                rel2 {
34947                   to_y: "elm.swallow.path";
34948                   relative: 1.0 0.0;
34949                   offset: -1 -1;
34950                }
34951             }
34952          }
34953          part { name: "elm.swallow.path";
34954             type: SWALLOW;
34955             description { state: "default" 0.0;
34956                align: 0.5 1.0;
34957                fixed: 1 1;
34958                rel1 {
34959                   to_y: "elm.swallow.filename";
34960                   relative: 0.0 0.0;
34961                   offset: 0 -1;
34962                }
34963                rel2 {
34964                   to_y: "elm.swallow.filename";
34965                   relative: 1.0 0.0;
34966                   offset: -1 -1;
34967                }
34968             }
34969          }
34970          part { name: "elm.swallow.filename";
34971             type: SWALLOW;
34972             description { state: "default" 0.0;
34973                align: 0.5 1.0;
34974                fixed: 1 1;
34975                rel1 {
34976                   to_y: "elm.swallow.ok";
34977                   relative: 0.0 0.0;
34978                   offset: 0 -1;
34979                }
34980                rel2 {
34981                   to_y: "elm.swallow.ok";
34982                   relative: 1.0 0.0;
34983                   offset: -1 -1;
34984                }
34985             }
34986          }
34987          part { name: "elm.swallow.cancel";
34988             type: SWALLOW;
34989             description { state: "default" 0.0;
34990                align: 1.0 1.0;
34991                fixed: 1 1;
34992                rel1 {
34993                   to: "elm.swallow.ok";
34994                   relative: 0.0 0.0;
34995                   offset: -3 0;
34996                }
34997                rel2 {
34998                   to: "elm.swallow.ok";
34999                   relative: 0.0 1.0;
35000                   offset: -3 -1;
35001                }
35002             }
35003          }
35004          part { name: "elm.swallow.ok";
35005             type: SWALLOW;
35006             description { state: "default" 0.0;
35007                align: 1.0 1.0;
35008                fixed: 1 1;
35009                rel1 {
35010                   relative: 1.0 1.0;
35011                   offset: -1 -1;
35012                }
35013             }
35014          }
35015       }
35016    }
35017
35018    group { name: "elm/fileselector_entry/base/default";
35019       parts {
35020          part { name: "elm.swallow.entry";
35021             type: SWALLOW;
35022             description { state: "default" 0.0;
35023                align: 0.0 0.0;
35024                min: 50 10;
35025                rel2 { to_x: "elm.swallow.button";
35026                   relative: 0.0 1.0;
35027                   offset: -1 -1;
35028                }
35029             }
35030          }
35031          part { name: "elm.swallow.button";
35032             type: SWALLOW;
35033             description { state: "default" 0.0;
35034                align: 1.0 0.0;
35035                min: 10 10;
35036                fixed: 1 1;
35037                rel1 {
35038                   relative: 1.0 0.0;
35039                   offset: -21 0;
35040                }
35041             }
35042          }
35043       }
35044    }
35045
35046 ////////////////////////////////////////////////////////////////////////
35047 // Standard layouts to be used                                        //
35048 ////////////////////////////////////////////////////////////////////////
35049    /* application with toolbar and main content area */
35050    group { name: "elm/layout/application/toolbar-content";
35051       parts {
35052          part { name: "elm.swallow.content";
35053             type: SWALLOW;
35054             description { state: "default" 0.0;
35055                rel1 { to_y: "elm.external.toolbar";
35056                   relative: 0.0 1.0;
35057                   offset: -1 1;
35058                }
35059             }
35060          }
35061
35062          part { name: "elm.external.toolbar";
35063             type: EXTERNAL;
35064             source: "elm/toolbar";
35065             description { state: "default" 0.0;
35066                align: 0.5 0.0;
35067                fixed: 0 1;
35068                rel2 {
35069                   relative: 1.0 0.0;
35070                   offset: -1 47;
35071                }
35072             }
35073          }
35074       }
35075    }
35076
35077    /* application with toolbar and main content area with a back button and title area */
35078    group { name: "elm/layout/application/toolbar-content-back";
35079       parts {
35080          part { name: "elm.swallow.content";
35081             type: SWALLOW;
35082             description { state: "default" 0.0;
35083                rel1 { to_y: "title_clipper";
35084                   relative: 0.0 1.0;
35085                   offset: -1 1;
35086                }
35087             }
35088          }
35089
35090          part { name: "elm.external.toolbar";
35091             type: EXTERNAL;
35092             source: "elm/toolbar";
35093             description { state: "default" 0.0;
35094                fixed: 0 1;
35095                align: 0.5 0.0;
35096                rel2 {
35097                   relative: 1.0 0.0;
35098                   offset: -1 47;
35099                }
35100             }
35101          }
35102          part { name: "title_clipper";
35103             type: RECT;
35104             description { state: "default" 0.0;
35105                visible: 1;
35106                rel1 {
35107                   to_y: "back";
35108                }
35109                rel2 {
35110                   to_y: "back";
35111                }
35112             }
35113             description { state: "hidden" 0.0;
35114                inherit: "default" 0.0;
35115                visible: 0;
35116                rel2 {
35117                   relative: 1.0 0.0;
35118                }
35119             }
35120          }
35121          part { name: "back_clipper";
35122             type: RECT;
35123             clip_to: "title_clipper";
35124             description { state: "default" 0.0;
35125                visible: 1;
35126             }
35127             description { state: "hidden" 0.0;
35128                visible: 0;
35129             }
35130          }
35131          part { name: "back";
35132             type: EXTERNAL;
35133             source: "elm/button";
35134             clip_to: "back_clipper";
35135             description { state: "default" 0.0;
35136                align: 0.0 0.0;
35137                fixed: 1 1;
35138                rel1 { to_y: "elm.external.toolbar";
35139                   relative: 0.0 1.0;
35140                   offset: 0 1;
35141                }
35142                rel2 { to_y: "elm.external.toolbar";
35143                   relative: 0.0 1.0;
35144                   offset: 50 32;
35145                }
35146                params.string: "label" "Back";
35147             }
35148          }
35149          programs {
35150             program {
35151                signal: "clicked";
35152                source: "back";
35153                action: SIGNAL_EMIT "elm,action,back" "";
35154             }
35155             program {
35156                signal: "elm,back,hide";
35157                source: "elm";
35158                action: STATE_SET "hidden" 0.0;
35159                target: "back_clipper";
35160             }
35161             program {
35162                signal: "elm,back,show";
35163                source: "elm";
35164                action: STATE_SET "default" 0.0;
35165                target: "back_clipper";
35166             }
35167             program {
35168                signal: "elm,title,hide";
35169                source: "elm";
35170                action: STATE_SET "hidden" 0.0;
35171                transition: LINEAR 0.1;
35172                target: "title_clipper";
35173             }
35174             program {
35175                signal: "elm,title,show";
35176                source: "elm";
35177                action: STATE_SET "default" 0.0;
35178                target: "title_clipper";
35179             }
35180          }
35181
35182          part { name: "elm.swallow.end";
35183             type: SWALLOW;
35184             description { state: "default" 0.0;
35185                align: 1.0 0.0;
35186                fixed: 1 1;
35187                rel1 { to_y: "elm.external.toolbar";
35188                   relative: 1.0 1.0;
35189                   offset: -2 1;
35190                }
35191                rel2 { to_y: "elm.external.toolbar";
35192                   relative: 1.0 1.0;
35193                   offset: -1 32;
35194                }
35195             }
35196          }
35197
35198          part { name: "elm.text.title";
35199             type: TEXT;
35200             effect: SOFT_SHADOW;
35201             scale: 1;
35202             description { state: "default" 0.0;
35203                rel1 { to_y: "elm.external.toolbar";
35204                   to_x: "back";
35205                   relative: 1.0 1.0;
35206                   offset: 2 1;
35207                }
35208                rel2 { to_y: "back";
35209                   to_x: "elm.swallow.end";
35210                   relative: 0.0 1.0;
35211                   offset: -3 -1;
35212                }
35213                text {
35214                   font: "Sans:style=Bold";
35215                   size: 12;
35216                }
35217             }
35218          }
35219       }
35220    }
35221
35222    /* application with toolbar and main content area with a back and next buttons and title area */
35223    group { name: "elm/layout/application/toolbar-content-back-next";
35224       parts {
35225          part { name: "elm.swallow.content";
35226             type: SWALLOW;
35227             description { state: "default" 0.0;
35228                rel1 { to_y: "title_clipper";
35229                   relative: 0.0 1.0;
35230                   offset: -1 1;
35231                }
35232             }
35233          }
35234
35235          part { name: "elm.external.toolbar";
35236             type: EXTERNAL;
35237             source: "elm/toolbar";
35238             description { state: "default" 0.0;
35239                fixed: 0 1;
35240                align: 0.5 0.0;
35241                rel2 {
35242                   relative: 1.0 0.0;
35243                   offset: -1 47;
35244                }
35245             }
35246          }
35247          part { name: "title_clipper";
35248             type: RECT;
35249             description { state: "default" 0.0;
35250                visible: 1;
35251                rel1 {
35252                   to_y: "back";
35253                }
35254                rel2 {
35255                   to_y: "back";
35256                }
35257             }
35258             description { state: "hidden" 0.0;
35259                inherit: "default" 0.0;
35260                visible: 0;
35261                rel2 {
35262                   relative: 1.0 0.0;
35263                }
35264             }
35265          }
35266          part { name: "back";
35267             type: EXTERNAL;
35268             source: "elm/button";
35269             clip_to: "back_clipper";
35270             description { state: "default" 0.0;
35271                align: 0.0 0.0;
35272                fixed: 1 1;
35273                rel1 { to_y: "elm.external.toolbar";
35274                   relative: 0.0 1.0;
35275                   offset: 0 1;
35276                }
35277                rel2 { to_y: "elm.external.toolbar";
35278                   relative: 0.0 1.0;
35279                   offset: 50 32;
35280                }
35281                params.string: "label" "Back";
35282             }
35283          }
35284          part { name: "back_clipper";
35285             type: RECT;
35286             clip_to: "title_clipper";
35287             description { state: "default" 0.0;
35288                visible: 1;
35289             }
35290             description { state: "hidden" 0.0;
35291                visible: 0;
35292             }
35293          }
35294          part { name: "next";
35295             type: EXTERNAL;
35296             source: "elm/button";
35297             clip_to: "next_clipper";
35298             description { state: "default" 0.0;
35299                align: 1.0 0.0;
35300                fixed: 1 1;
35301                rel1 { to_y: "elm.external.toolbar";
35302                   relative: 1.0 1.0;
35303                   offset: -2 1;
35304                }
35305                rel2 { to_y: "elm.external.toolbar";
35306                   relative: 1.0 1.0;
35307                   offset: -1 32;
35308                }
35309                params.string: "label" "Next";
35310            }
35311          }
35312          part { name: "next_clipper";
35313             type: RECT;
35314             clip_to: "title_clipper";
35315             description { state: "default" 0.0;
35316                visible: 1;
35317             }
35318             description { state: "hidden" 0.0;
35319                visible: 0;
35320             }
35321          }
35322          programs {
35323             program {
35324                signal: "clicked";
35325                source: "back";
35326                action: SIGNAL_EMIT "elm,action,back" "";
35327             }
35328             program {
35329                signal: "elm,title,hide";
35330                source: "elm";
35331                action: STATE_SET "hidden" 0.0;
35332                transition: LINEAR 0.1;
35333                target: "title_clipper";
35334             }
35335             program {
35336                signal: "elm,title,show";
35337                source: "elm";
35338                action: STATE_SET "default" 0.0;
35339                target: "title_clipper";
35340             }
35341             program {
35342                signal: "elm,back,hide";
35343                source: "elm";
35344                action: STATE_SET "hidden" 0.0;
35345                target: "back_clipper";
35346             }
35347             program {
35348                signal: "elm,back,show";
35349                source: "elm";
35350                action: STATE_SET "default" 0.0;
35351                target: "back_clipper";
35352             }
35353             program {
35354                signal: "clicked";
35355                source: "next";
35356                action: SIGNAL_EMIT "elm,action,next" "";
35357             }
35358             program {
35359                signal: "elm,next,hide";
35360                source: "elm";
35361                action: STATE_SET "hidden" 0.0;
35362                target: "next_clipper";
35363             }
35364             program {
35365                signal: "elm,next,show";
35366                source: "elm";
35367                action: STATE_SET "default" 0.0;
35368                target: "next_clipper";
35369             }
35370          }
35371          part { name: "elm.text.title";
35372             type: TEXT;
35373             effect: SOFT_SHADOW;
35374             scale: 1;
35375             clip_to: "title_clipper";
35376             description { state: "default" 0.0;
35377                rel1 { to_y: "elm.external.toolbar";
35378                   to_x: "back";
35379                   relative: 1.0 1.0;
35380                   offset: 2 1;
35381                }
35382                rel2 { to_y: "back";
35383                   to_x: "next";
35384                   relative: 0.0 1.0;
35385                   offset: -3 -1;
35386                }
35387                text {
35388                   font: "Sans:style=Bold";
35389                   size: 12;
35390                }
35391             }
35392          }
35393       }
35394    }
35395    /* application with a main content area with a back button and title area */
35396    group { name: "elm/layout/application/content-back";
35397       parts {
35398          part { name: "elm.swallow.content";
35399             type: SWALLOW;
35400             description { state: "default" 0.0;
35401                rel1 { to_y: "title_clipper";
35402                   relative: 0.0 1.0;
35403                   offset: -1 1;
35404                }
35405             }
35406          }
35407          part { name: "title_clipper";
35408             type: RECT;
35409             description { state: "default" 0.0;
35410                visible: 1;
35411                rel1 {
35412                   to_y: "back";
35413                }
35414                rel2 {
35415                   to_y: "back";
35416                }
35417             }
35418             description { state: "hidden" 0.0;
35419                inherit: "default" 0.0;
35420                visible: 0;
35421                rel2 {
35422                   relative: 1.0 0.0;
35423                }
35424             }
35425          }
35426          part { name: "back_clipper";
35427             type: RECT;
35428             clip_to: "title_clipper";
35429             description { state: "default" 0.0;
35430                visible: 1;
35431             }
35432             description { state: "hidden" 0.0;
35433                visible: 0;
35434             }
35435          }
35436          part { name: "back";
35437             type: EXTERNAL;
35438             source: "elm/button";
35439             clip_to: "back_clipper";
35440             description { state: "default" 0.0;
35441                align: 0.0 0.0;
35442                fixed: 1 1;
35443                rel1 {
35444                   relative: 0.0 0.0;
35445                   offset: 0 1;
35446                }
35447                rel2 {
35448                   relative: 0.0 0.0;
35449                   offset: 50 32;
35450                }
35451                params.string: "label" "Back";
35452             }
35453          }
35454          programs {
35455             program {
35456                signal: "clicked";
35457                source: "back";
35458                action: SIGNAL_EMIT "elm,action,back" "";
35459             }
35460             program {
35461                signal: "elm,back,hide";
35462                source: "elm";
35463                action: STATE_SET "hidden" 0.0;
35464                target: "back_clipper";
35465             }
35466             program {
35467                signal: "elm,back,show";
35468                source: "elm";
35469                action: STATE_SET "default" 0.0;
35470                target: "back_clipper";
35471             }
35472             program {
35473                signal: "elm,title,hide";
35474                source: "elm";
35475                action: STATE_SET "hidden" 0.0;
35476                transition: LINEAR 0.1;
35477                target: "title_clipper";
35478             }
35479             program {
35480                signal: "elm,title,show";
35481                source: "elm";
35482                action: STATE_SET "default" 0.0;
35483                target: "title_clipper";
35484             }
35485          }
35486
35487          part { name: "elm.swallow.end";
35488             type: SWALLOW;
35489             description { state: "default" 0.0;
35490                align: 1.0 0.0;
35491                fixed: 1 1;
35492                rel1 {
35493                   relative: 1.0 0.0;
35494                   offset: -2 1;
35495                }
35496                rel2 {
35497                   relative: 1.0 1.0;
35498                   offset: -1 32;
35499                }
35500             }
35501          }
35502
35503          part { name: "elm.text.title";
35504             type: TEXT;
35505             effect: SOFT_SHADOW;
35506             scale: 1; 
35507             description { state: "default" 0.0;
35508                rel1 {
35509                   to_x: "back";
35510                   relative: 1.0 0.0;
35511                   offset: 2 1;
35512                }
35513                rel2 { to_y: "back";
35514                   to_x: "elm.swallow.end";
35515                   relative: 0.0 1.0;
35516                   offset: -3 -1;
35517                }
35518                text {
35519                   font: "Sans:style=Bold";
35520                   size: 12;
35521                }
35522             }
35523          }
35524       }
35525    }
35526
35527    /* application with a main content area with a back and next buttons and title area */
35528    group { name: "elm/layout/application/content-back-next";
35529       parts {
35530          part { name: "elm.swallow.content";
35531             type: SWALLOW;
35532             description { state: "default" 0.0;
35533                rel1 { to_y: "title_clipper";
35534                   relative: 0.0 1.0;
35535                   offset: -1 1;
35536                }
35537             }
35538          }
35539
35540          part { name: "title_clipper";
35541             type: RECT;
35542             description { state: "default" 0.0;
35543                visible: 1;
35544                rel1 {
35545                   to_y: "back";
35546                }
35547                rel2 {
35548                   to_y: "back";
35549                }
35550             }
35551             description { state: "hidden" 0.0;
35552                inherit: "default" 0.0;
35553                visible: 0;
35554                rel2 {
35555                   relative: 1.0 0.0;
35556                }
35557             }
35558          }
35559          part { name: "back";
35560             type: EXTERNAL;
35561             source: "elm/button";
35562             clip_to: "back_clipper";
35563             description { state: "default" 0.0;
35564                align: 0.0 0.0;
35565                fixed: 1 1;
35566                rel1 {
35567                   relative: 0.0 0.0;
35568                   offset: 0 1;
35569                }
35570                rel2 {
35571                   relative: 0.0 0.0;
35572                   offset: 50 32;
35573                }
35574                params.string: "label" "Back";
35575             }
35576          }
35577          part { name: "back_clipper";
35578             type: RECT;
35579             clip_to: "title_clipper";
35580             description { state: "default" 0.0;
35581                visible: 1;
35582             }
35583             description { state: "hidden" 0.0;
35584                visible: 0;
35585             }
35586          }
35587          part { name: "next";
35588             type: EXTERNAL;
35589             source: "elm/button";
35590             clip_to: "next_clipper";
35591             description { state: "default" 0.0;
35592                align: 1.0 0.0;
35593                fixed: 1 1;
35594                rel1 {
35595                   relative: 1.0 0.0;
35596                   offset: -2 1;
35597                }
35598                rel2 {
35599                   relative: 1.0 0.0;
35600                   offset: -1 32;
35601                }
35602                params.string: "label" "Next";
35603            }
35604          }
35605          part { name: "next_clipper";
35606             type: RECT;
35607             clip_to: "title_clipper";
35608             description { state: "default" 0.0;
35609                visible: 1;
35610             }
35611             description { state: "hidden" 0.0;
35612                visible: 0;
35613             }
35614          }
35615          programs {
35616             program {
35617                signal: "clicked";
35618                source: "back";
35619                action: SIGNAL_EMIT "elm,action,back" "";
35620             }
35621             program {
35622                signal: "elm,title,hide";
35623                source: "elm";
35624                action: STATE_SET "hidden" 0.0;
35625                transition: LINEAR 0.1;
35626                target: "title_clipper";
35627             }
35628             program {
35629                signal: "elm,title,show";
35630                source: "elm";
35631                action: STATE_SET "default" 0.0;
35632                target: "title_clipper";
35633             }
35634             program {
35635                signal: "elm,back,hide";
35636                source: "elm";
35637                action: STATE_SET "hidden" 0.0;
35638                target: "back_clipper";
35639             }
35640             program {
35641                signal: "elm,back,show";
35642                source: "elm";
35643                action: STATE_SET "default" 0.0;
35644                target: "back_clipper";
35645             }
35646             program {
35647                signal: "clicked";
35648                source: "next";
35649                action: SIGNAL_EMIT "elm,action,next" "";
35650             }
35651             program {
35652                signal: "elm,next,hide";
35653                source: "elm";
35654                action: STATE_SET "hidden" 0.0;
35655                target: "next_clipper";
35656             }
35657             program {
35658                signal: "elm,next,show";
35659                source: "elm";
35660                action: STATE_SET "default" 0.0;
35661                target: "next_clipper";
35662             }
35663          }
35664          part { name: "elm.text.title";
35665             type: TEXT;
35666             effect: SOFT_SHADOW;
35667             scale: 1;
35668             clip_to: "title_clipper";
35669             description { state: "default" 0.0;
35670                rel1 {
35671                   to_x: "back";
35672                   relative: 1.0 0.0;
35673                   offset: 2 1;
35674                }
35675                rel2 { to_y: "back";
35676                   to_x: "next";
35677                   relative: 0.0 1.0;
35678                   offset: -3 -1;
35679                }
35680                text {
35681                   font: "Sans:style=Bold";
35682                   size: 12;
35683                }
35684             }
35685          }
35686       }
35687    }
35688
35689    /* application with toolbar and main content area as a vertical box */
35690    group { name: "elm/layout/application/toolbar-vbox";
35691       parts {
35692          part { name: "elm.box.content";
35693             type: BOX;
35694             description { state: "default" 0.0;
35695                rel1 { to_y: "elm.external.toolbar";
35696                   relative: 0.0 1.0;
35697                   offset: -1 1;
35698                }
35699                box.layout: "vertical";
35700             }
35701          }
35702
35703          part { name: "elm.external.toolbar";
35704             type: EXTERNAL;
35705             source: "elm/toolbar";
35706             description { state: "default" 0.0;
35707                align: 0.5 0.0;
35708                fixed: 0 1;
35709                rel2 {
35710                   relative: 1.0 0.0;
35711                   offset: -1 47;
35712                }
35713             }
35714          }
35715       }
35716    }
35717
35718    /* application with toolbar and main content area as a table */
35719    group { name: "elm/layout/application/toolbar-table";
35720       parts {
35721          part { name: "elm.table.content";
35722             type: TABLE;
35723             description { state: "default" 0.0;
35724                rel1 { to_y: "elm.external.toolbar";
35725                   relative: 0.0 1.0;
35726                   offset: -1 1;
35727                }
35728             }
35729          }
35730
35731          part { name: "elm.external.toolbar";
35732             type: EXTERNAL;
35733             source: "elm/toolbar";
35734             description { state: "default" 0.0;
35735                align: 0.5 0.0;
35736                fixed: 0 1;
35737                rel2 {
35738                   relative: 1.0 0.0;
35739                   offset: -1 47;
35740                }
35741             }
35742          }
35743       }
35744    }
35745
35746 ///////////////////////////////////////////////////////////////////////////////
35747    group { name: "elm/segment_control/base/default";
35748 #define SEGMENT_TYPE_SINGLE 1
35749 #define SEGMENT_TYPE_LEFT 2
35750 #define SEGMENT_TYPE_MIDDLE 3
35751 #define SEGMENT_TYPE_RIGHT 4
35752 #define SEGMENT_STATE_NORMAL 1
35753 #define SEGMENT_STATE_PRESSED 2
35754 #define SEGMENT_STATE_SELECTED 3
35755 #define SEGMENT_STATUS_ENABLED 0
35756 #define SEGMENT_STATUS_DISABLED 1
35757       parts {
35758          part { name: "bg";
35759             type: RECT;
35760             mouse_events: 0;
35761             scale: 1;
35762             description {
35763                state: "default" 0.0;
35764                color: 0 0 0 0;
35765                min: 100 40;
35766             }
35767          }
35768       }
35769    }
35770    group { name: "elm/segment_control/item/default";
35771       data.item: "label.wrap.part" "label.bg";
35772       styles {
35773          style { name: "seg_text_style_normal";
35774             base: "font=Sans font_size=16 style=shadow \
35775             shadow_color=#2924224d \
35776             align=center \
35777             color=#ffffffff wrap=char text_class=label";
35778             tag:  "br" "\n";
35779             tag:  "hilight" "+ font=Sans:style=Bold";
35780             tag:  "tab" "\t";
35781          }
35782          style { name: "seg_text_style_selected";
35783             base: "font=Sans:style=Bold font_size=16 style=shadow \
35784             shadow_color=#aaaaaa4d \
35785             align=center \
35786             color=#111111ff wrap=char text_class=label";
35787             tag:  "br" "\n";
35788             tag:  "hilight" "+ font=Sans:style=Bold";
35789             tag:  "b" "+ font=Sans:style=Bold";
35790             tag:  "tab" "\t";
35791          }
35792          style { name: "seg_text_style_disabled";
35793             base: "font=Sans:style=Medium font_size=16 style=shadow \
35794             shadow_color=#2924224d \
35795             align=center color=#2924224d \
35796             wrap=char text_class=label";
35797             tag:  "br" "\n";
35798             tag:  "hilight" "+ font=Sans:style=Bold";
35799             tag:  "b" "+ font=Sans:style=Bold";
35800             tag:  "tab" "\t";
35801          }
35802       }
35803       images {
35804          image: "seg_single_pressed.png" COMP;
35805          image: "seg_single_selected.png" COMP;
35806          image: "seg_single_normal.png" COMP;
35807
35808          image: "seg_left_pressed.png" COMP;
35809          image: "seg_left_selected.png" COMP;
35810          image: "seg_left_normal.png" COMP;
35811
35812          image: "seg_middle_pressed.png" COMP;
35813          image: "seg_middle_selected.png" COMP;
35814          image: "seg_middle_normal.png" COMP;
35815
35816          image: "seg_right_pressed.png" COMP;
35817          image: "seg_right_selected.png" COMP;
35818          image: "seg_right_normal.png" COMP;
35819       }
35820       parts {
35821          part { name: "segment";
35822             mouse_events: 1;
35823             scale: 1;
35824             description { state: "default" 0.0;
35825                min: 1 1;
35826                visible: 0;
35827                image {
35828                   normal: "seg_single_normal.png";
35829                   border: 7 7 7 7;
35830                   border_scale: 1;
35831                   middle: 1;
35832                }
35833             }
35834             description { state: "default_single" 0.0;
35835                inherit: "default" 0.0;
35836                visible: 1;
35837                image {
35838                   normal: "seg_single_normal.png";
35839                   border: 7 7 7 7;
35840                }
35841             }
35842             description { state: "default_left" 0.0;
35843                inherit: "default" 0.0;
35844                visible: 1;
35845                image {
35846                normal: "seg_left_normal.png";
35847                   border:  6 1 7 7;
35848                }
35849             }
35850             description { state: "default_right" 0.0;
35851                inherit: "default" 0.0;
35852                visible: 1;
35853                image {
35854                   normal: "seg_right_normal.png";
35855                   border: 1 6 7 7;
35856                }
35857             }
35858             description { state: "default_middle" 0.0;
35859                inherit: "default" 0.0;
35860                visible: 1;
35861                image {
35862                   normal: "seg_middle_normal.png";
35863                   border: 2 2 2 2;
35864                }
35865             }
35866             description { state: "pressed_single" 0.0;
35867                inherit: "default" 0.0;
35868                visible: 1;
35869                image {
35870                   normal: "seg_single_pressed.png";
35871                   border: 7 7 7 7;
35872                }
35873             }
35874             description { state: "pressed_left" 0.0;
35875                inherit: "default" 0.0;
35876                visible: 1;
35877                image {
35878                   normal: "seg_left_pressed.png";
35879                   border:  6 1 7 7;
35880                }
35881             }
35882             description { state: "pressed_right" 0.0;
35883                inherit: "default" 0.0;
35884                visible: 1;
35885                image {
35886                   normal: "seg_right_pressed.png";
35887                   border: 1 6 7 7;
35888                }
35889             }
35890             description { state: "pressed_middle" 0.0;
35891                inherit: "default" 0.0;
35892                visible: 1;
35893                image {
35894                   normal: "seg_middle_pressed.png";
35895                   border: 1 1 2 2;
35896                }
35897             }
35898             description { state: "selected_single" 0.0;
35899                inherit: "default" 0.0;
35900                visible: 1;
35901                image {
35902                   normal: "seg_single_selected.png";
35903                   border: 7 7 7 7;
35904                }
35905             }
35906             description { state: "selected_left" 0.0;
35907                inherit: "default" 0.0;
35908                visible: 1;
35909                image {
35910                   normal: "seg_left_selected.png";
35911                   border:  6 3 7 7;
35912                }
35913             }
35914             description { state: "selected_right" 0.0;
35915                inherit: "default" 0.0;
35916                visible: 1;
35917                image {
35918                   normal: "seg_right_selected.png";
35919                   border: 3 6 7 7;
35920                }
35921             }
35922             description { state: "selected_middle" 0.0;
35923                inherit: "default" 0.0;
35924                visible: 1;
35925                image {
35926                   normal: "seg_middle_selected.png";
35927                   border: 3 3 3 3;
35928                }
35929             }
35930          }
35931          part { name: "padding_left";
35932             type: RECT;
35933             scale: 1;
35934             mouse_events: 0;
35935             description { state: "default" 0.0;
35936                align: 0.0 0.0;
35937                rel1.relative: 0.0 0.0;
35938                rel2.relative: 0.0 1.0;
35939                min: 2 2;
35940                max: 2 2;
35941                fixed: 1 0;
35942                color: 0 0 0 0;
35943             }
35944          }
35945          part { name: "padding_right";
35946             type: RECT;
35947             scale: 1;
35948             mouse_events: 0;
35949             description { state: "default" 0.0;
35950                align: 1.0 0.0;
35951                rel1.relative: 1.0 0.0;
35952                rel2.relative: 1.0 1.0;
35953                min: 2 2;
35954                max: 2 2;
35955                fixed: 1 0;
35956                color: 0 0 0 0;
35957             }
35958          }
35959          part { name: "padding_top";
35960             type: RECT;
35961             scale: 1;
35962             mouse_events: 0;
35963             description { state: "default" 0.0;
35964                align: 0.0 0.0;
35965                rel1.relative: 0.0 0.0;
35966                rel2.relative: 1.0 0.0;
35967                min: 2 2;
35968                max: 2 2;
35969                fixed: 0 1;
35970                color: 0 0 0 0;
35971             }
35972          }
35973          part { name: "padding_bottom";
35974             type: RECT;
35975             scale: 1;
35976             mouse_events: 0;
35977             description { state: "default" 0.0;
35978                align: 1.0 1.0;
35979                rel1.relative: 0.0 1.0;
35980                rel2.relative: 1.0 1.0;
35981                min: 2 2;
35982                max: 2 2;
35983                fixed: 0 1;
35984                color: 0 0 0 0;
35985             }
35986          }
35987          part { name: "icon.bg";
35988             type: RECT;
35989             scale: 1;
35990             mouse_events: 0;
35991             description { state: "default" 0.0;
35992                visible: 1;
35993                fixed: 1 0;
35994                rel1 {
35995                   to_x: "padding_left";
35996                   to_y: "padding_top";
35997                   relative: 1.0 1.0;
35998                }
35999                rel2 {
36000                   to: "elm.swallow.icon";
36001                   relative: 1.0 1.0;
36002                }
36003                align: 0.0 0.5;
36004                color: 0 0 0 0;
36005             }
36006          }
36007          part { name: "padding_icon_text";
36008             type: RECT;
36009             scale: 1;
36010             mouse_events: 0;
36011             description { state: "default" 0.0; //when only icon or no icon is there
36012                align: 0.0 0.0;
36013                rel1 {
36014                   to: "icon.bg";
36015                   relative: 1.0 0.0;
36016                }
36017                rel2 {
36018                   to: "icon.bg";
36019                   relative: 1.0 1.0;
36020                }
36021                fixed: 1 0;
36022                min: 0 0;
36023                color: 0 0 0 0;
36024             }
36025             description { state: "icononly" 0.0;
36026                inherit: "default" 0.0;
36027             }
36028             description { state: "visible" 0.0; //when icon is visible
36029                inherit: "default" 0.0;
36030                min: 2 0;
36031             }
36032          }
36033          part { name: "elm.swallow.icon";
36034             type: SWALLOW;
36035             scale: 1;
36036             description { state: "default" 0.0;
36037                visible: 0;
36038                align: 0.0 0.5;
36039                rel1 {
36040                   to_x: "padding_left";
36041                   to_y: "padding_top";
36042                   relative: 1.0 1.0;
36043                }
36044                rel2 {
36045                   to_y: "padding_bottom";
36046                   relative: 0.0 0.0;
36047                }
36048                fixed: 1 0;
36049                aspect: 1.0 1.0;
36050                aspect_preference: BOTH;
36051             }
36052             description { state: "visible" 0.0;
36053                inherit: "default" 0.0;
36054                visible: 1;
36055                rel2 {
36056                   to_y: "padding_bottom";
36057                   relative: 0.3 0.0;
36058                }
36059             }
36060             description { state: "icononly" 0.0;
36061                inherit: "default" 0.0;
36062                visible: 1;
36063                rel2 {
36064                   to_x: "padding_right";
36065                   to_y: "padding_bottom";
36066                   relative: 0.0 0.0;
36067                }
36068                align: 0.5 0.5;
36069             }
36070          }
36071          part { name: "elm.text";
36072             type: TEXT;
36073             mouse_events: 0;
36074             scale: 1;
36075             description {
36076                state: "default" 0.0;
36077                visible: 0;
36078                fixed: 1 1;
36079                min: 1 1;
36080                rel1 {
36081                   to_x: "padding_icon_text";
36082                   relative: 1.0 1.0;
36083                }
36084                rel2 {
36085                   to_x: "padding_right";
36086                   relative: 0.0 0.0;
36087                }
36088                color: 224 224 224 255;
36089                color3: 0 0 0 64;
36090                text {
36091                   font: "Sans";
36092                   ellipsis: 0.0;
36093                   fit: 1 1;
36094                   size: 24;
36095                   size_range: 8 36;
36096                   min: 0 1;
36097                }
36098             }
36099             description { state: "normal" 0.0;
36100                inherit: "default" 0.0;
36101                visible: 1;
36102             }
36103             description { state: "pressed" 0.0;
36104                inherit: "default" 0.0;
36105                visible: 1;
36106                color: 0 0 0 255;
36107             }
36108             description { state: "selected" 0.0;
36109                inherit: "default" 0.0;
36110                visible: 1;
36111                color: 50 50 50 255;
36112             }
36113             description { state: "disabled" 0.0;
36114                inherit: "default" 0.0;
36115                visible: 1;
36116                color: 200 200 200 255;
36117             }
36118          }
36119          part { name: "disabler";
36120             repeat_events: 0;
36121             scale: 1;
36122             description { state: "default" 0.0;
36123                visible: 0;
36124                fixed: 1 1;
36125                min: 1 1;
36126                align: 0.0 0.5;
36127                rel1 { relative: 0.0 0.0; to: "segment";}
36128                rel2 { relative: 1.0 1.0; to: "segment";}
36129                color: 255 255 255 150;
36130             }
36131             description { state: "disabled_single" 0.0;
36132                inherit: "default" 0.0;
36133                visible: 1;
36134                image {
36135                   normal: "seg_single_normal.png";
36136                   border: 7 7 7 7;
36137                }
36138             }
36139             description { state: "disabled_left" 0.0;
36140                inherit: "default" 0.0;
36141                visible: 1;
36142                image {
36143                   normal: "seg_left_normal.png";
36144                   border:  6 1 7 7;
36145                }
36146             }
36147             description { state: "disabled_right" 0.0;
36148                inherit: "default" 0.0;
36149                visible: 1;
36150                image {
36151                   normal: "seg_right_normal.png";
36152                   border: 1 6 7 7;
36153                }
36154             }
36155             description { state: "disabled_middle" 0.0;
36156                inherit: "default" 0.0;
36157                visible: 1;
36158                image {
36159                   normal: "seg_middle_normal.png";
36160                   border: 2 2 2 2;
36161                }
36162             }
36163          }
36164       }
36165       programs {
36166          script {
36167             public seg_type; // Single, Left, Middle, Right.
36168             public seg_state; // Normal/Default, Pressed, Selected.
36169             public seg_status;// Enabled/Default, Disabled
36170
36171             public update_state() {
36172                new type, state, disabled;
36173                type = get_int(seg_type);
36174                state = get_int(seg_state);
36175                disabled = get_int(seg_status);
36176
36177                if(state == SEGMENT_STATE_NORMAL)
36178                  {
36179                     if(type == SEGMENT_TYPE_SINGLE)
36180                       set_state(PART:"segment", "default_single", 0.0);
36181                     else if(type == SEGMENT_TYPE_LEFT)
36182                       set_state(PART:"segment", "default_left", 0.0);
36183                     else if(type == SEGMENT_TYPE_MIDDLE)
36184                       set_state(PART:"segment", "default_middle", 0.0);
36185                     else if(type == SEGMENT_TYPE_RIGHT)
36186                       set_state(PART:"segment", "default_right", 0.0);
36187                     set_state(PART:"elm.text", "normal", 0.0);
36188                  }
36189                else if(state == SEGMENT_STATE_PRESSED)
36190                  {
36191                     if(type == SEGMENT_TYPE_SINGLE)
36192                       set_state(PART:"segment", "pressed_single", 0.0);
36193                     else if(type == SEGMENT_TYPE_LEFT)
36194                       set_state(PART:"segment", "pressed_left", 0.0);
36195                     else if(type == SEGMENT_TYPE_MIDDLE)
36196                       set_state(PART:"segment", "pressed_middle", 0.0);
36197                     else if(type == SEGMENT_TYPE_RIGHT)
36198                       set_state(PART:"segment", "pressed_right", 0.0);
36199                     set_state(PART:"elm.text", "pressed", 0.0);
36200                  }
36201                else if(state == SEGMENT_STATE_SELECTED)
36202                  {
36203                     if(type == SEGMENT_TYPE_SINGLE)
36204                       set_state(PART:"segment", "selected_single", 0.0);
36205                     else if(type == SEGMENT_TYPE_LEFT)
36206                       set_state(PART:"segment", "selected_left", 0.0);
36207                     else if(type == SEGMENT_TYPE_MIDDLE)
36208                       set_state(PART:"segment", "selected_middle", 0.0);
36209                     else if(type == SEGMENT_TYPE_RIGHT)
36210                       set_state(PART:"segment", "selected_right", 0.0);
36211                     set_state(PART:"elm.text", "selected", 0.0);
36212                  }
36213                if(disabled == SEGMENT_STATUS_DISABLED)
36214                  {
36215                     if(type == SEGMENT_TYPE_SINGLE)
36216                       set_state(PART:"disabler", "disabled_single", 0.0);
36217                     else if(type == SEGMENT_TYPE_LEFT)
36218                       set_state(PART:"disabler", "disabled_left", 0.0);
36219                     else if(type == SEGMENT_TYPE_MIDDLE)
36220                       set_state(PART:"disabler", "disabled_middle", 0.0);
36221                     else if(type == SEGMENT_TYPE_RIGHT)
36222                       set_state(PART:"disabler", "disabled_right", 0.0);
36223                     set_state(PART:"elm.text", "disabled", 0.0);
36224                  }
36225             }
36226          }
36227          program {
36228             name: "segment_type_s";
36229             signal: "elm,type,segment,single";
36230             source: "elm";
36231             script {
36232                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36233                update_state();
36234             }
36235          }
36236          program {
36237             name: "segment_type_l";
36238             signal: "elm,type,segment,left";
36239             source: "elm";
36240             script {
36241                set_int(seg_type, SEGMENT_TYPE_LEFT);
36242                update_state();
36243             }
36244          }
36245          program {
36246             name: "segment_type_m";
36247             signal: "elm,type,segment,middle";
36248             source: "elm";
36249             script {
36250                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36251                update_state();
36252             }
36253          }
36254          program {
36255             name: "segment_type_r";
36256             signal: "elm,type,segment,right";
36257             source: "elm";
36258             script {
36259                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36260                update_state();
36261             }
36262          }
36263          program {
36264             name: "normal_segment";
36265             signal: "elm,state,segment,normal";
36266             source: "elm";
36267             script {
36268                set_int(seg_state, SEGMENT_STATE_NORMAL);
36269                update_state();
36270             }
36271          }
36272          program {
36273             name: "pressed_segment";
36274             signal: "elm,state,segment,pressed";
36275             source: "elm";
36276             script {
36277                set_int(seg_state, SEGMENT_STATE_PRESSED);
36278                update_state();
36279             }
36280          }
36281          program {
36282             name: "selected_segment";
36283             signal: "elm,state,segment,selected";
36284             source: "elm";
36285             script {
36286                set_int(seg_state, SEGMENT_STATE_SELECTED);
36287                update_state();
36288             }
36289          }
36290          program { name: "disable_segment";
36291             signal: "elm,state,disabled";
36292             source: "elm";
36293             script {
36294                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36295                update_state();
36296             }
36297          }
36298          program { name: "enable_segment";
36299             signal: "elm,state,enabled";
36300             source: "elm";
36301             script {
36302                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36303                update_state();
36304             }
36305          }
36306          program { name: "text_show";
36307             signal: "elm,state,text,visible";
36308             source: "elm";
36309             script {
36310                new st[31];
36311                new Float:vl;
36312                get_state(PART:"elm.swallow.icon", st, 30, vl);
36313                if (!strcmp(st, "icononly"))
36314                  {
36315                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36316                     set_state(PART:"padding_icon_text", "visible", 0.0);
36317                  }
36318                get_state(PART:"elm.text", st, 30, vl);
36319                if (!strcmp(st, "selected"))
36320                   set_state(PART:"elm.text", "selected", 0.0);
36321                else
36322                   set_state(PART:"elm.text", "normal", 0.0);
36323             }
36324          }
36325          program { name: "text_hide";
36326             signal: "elm,state,text,hidden";
36327             source: "elm";
36328             script {
36329                new st[31];
36330                new Float:vl;
36331                get_state(PART:"elm.swallow.icon", st, 30, vl);
36332                if (!strcmp(st, "visible"))
36333                  {
36334                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36335                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36336                  }
36337                set_state(PART:"elm.text", "default", 0.0);
36338             }
36339          }
36340          program { name: "icon_show";
36341             signal: "elm,state,icon,visible";
36342             source: "elm";
36343             script {
36344                new st[31];
36345                new Float:vl;
36346                get_state(PART:"elm.text", st, 30, vl);
36347                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36348                  {
36349                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36350                     set_state(PART:"padding_icon_text", "visible", 0.0);
36351                  }
36352                else
36353                  {
36354                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36355                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36356                  }
36357             }
36358          }
36359          program { name: "icon_hide";
36360             signal: "elm,state,icon,hidden";
36361             source: "elm";
36362             action:  STATE_SET "default" 0.0;
36363             target: "elm.swallow.icon";
36364          }
36365       }
36366 #undef SEGMENT_TYPE_SINGLE
36367 #undef SEGMENT_TYPE_LEFT
36368 #undef SEGMENT_TYPE_MIDDLE
36369 #undef SEGMENT_TYPE_RIGHT
36370 #undef SEGMENT_STATE_NORMAL
36371 #undef SEGMENT_STATE_PRESSED
36372 #undef SEGMENT_STATE_SELECTED
36373 #undef SEGMENT_STATUS_ENABLED
36374 #undef SEGMENT_STATUS_DISABLED
36375    }
36376
36377    /* a simple title layout, with a label and two icons */
36378    group { name: "elm/layout/application/titlebar";
36379       images {
36380          image: "toolbar_sel.png" COMP;
36381       }
36382       parts {
36383          part { name: "base";
36384             mouse_events: 0;
36385             scale: 1;
36386             description { state: "default" 0.0;
36387                min: 0 33;
36388                max: 99999 33;
36389                align: 0.5 0.0;
36390                rel1.offset: -1 0;
36391                rel2.offset: 1 0;
36392                image {
36393                   normal: "toolbar_sel.png";
36394                   border: 3 3 0 0;
36395                }
36396             }
36397          }
36398          part { name: "elm.swallow.content";
36399             type: SWALLOW;
36400             description { state: "default" 0.0;
36401                visible: 1;
36402                rel1 {
36403                   to: "base";
36404                   relative: 0.0 1.0;
36405                }
36406             }
36407          }
36408          part { name: "elm.swallow.icon";
36409             type: SWALLOW;
36410             scale: 1;
36411             description { state: "default" 0.0;
36412                visible: 0;
36413                fixed: 1 1;
36414                align: 0.0 0.0;
36415                rel1 {
36416                   to: "base";
36417                   relative: 0.0 0.0;
36418                   offset: 4 0;
36419                }
36420                rel2 {
36421                   to: "base";
36422                   relative: 0.0 1.0;
36423                }
36424             }
36425             description { state: "visible" 0.0;
36426                inherit: "default" 0.0;
36427                visible: 1;
36428             }
36429          }
36430          part { name: "elm.swallow.end";
36431             type: SWALLOW;
36432             scale: 1;
36433             description { state: "default" 0.0;
36434                visible: 0;
36435                fixed: 1 1;
36436                align: 1.0 0.0;
36437                rel1 {
36438                   to: "base";
36439                   relative: 1.0 0.0;
36440                   offset: 0 0;
36441                }
36442                rel2 {
36443                   to: "base";
36444                   relative: 1.0 1.0;
36445                   offset: -5 -1;
36446                }
36447             }
36448             description { state: "visible" 0.0;
36449                inherit: "default" 0.0;
36450                visible: 1;
36451             }
36452          }
36453          part { name: "elm.text";
36454             type: TEXT;
36455             effect: SOFT_SHADOW;
36456             mouse_events: 0;
36457             scale: 1;
36458             description { state: "default" 0.0;
36459                fixed: 1 1;
36460                rel1 {
36461                   to_x: "elm.swallow.icon";
36462                   to_y: "base";
36463                   relative: 1.0 0.0;
36464                }
36465                rel2 {
36466                   to_x: "elm.swallow.end";
36467                   to_y: "base";
36468                   relative: 0.0 1.0;
36469                }
36470                text {
36471                   font: "Sans";
36472                   size: 12;
36473                   min: 0 0;
36474                   align: 0.5 0.5;
36475                   text_class: "title_bar";
36476                }
36477             }
36478          }
36479       }
36480       programs {
36481          program { name: "show_icon";
36482             signal: "elm,state,icon,visible";
36483             source: "elm";
36484             action: STATE_SET "visible" 0.0;
36485             target: "elm.swallow.icon";
36486          }
36487          program { name: "hide_icon";
36488             signal: "elm,state,icon,hidden";
36489             source: "elm";
36490             action: STATE_SET "default" 0.0;
36491             target: "elm.swallow.icon";
36492          }
36493          program { name: "show_end";
36494             signal: "elm,state,end,visible";
36495             source: "elm";
36496             action: STATE_SET "visible" 0.0;
36497             target: "elm.swallow.end";
36498          }
36499          program { name: "hide_end";
36500             signal: "elm,state,end,hidden";
36501             source: "elm";
36502             action: STATE_SET "default" 0.0;
36503             target: "elm.swallow.end";
36504          }
36505       }
36506    }
36507
36508    group {
36509       name: "elm/video/base/default";
36510
36511       parts {
36512          part {
36513             name: "clipper";
36514             type: RECT;
36515
36516             description {
36517                color: 255 255 255 255;
36518             }
36519             description {
36520                state: darker 0.0;
36521                color: 128 128 128 255;
36522             }
36523          }
36524          part {
36525             name: "elm.swallow.video";
36526             type: SWALLOW;
36527
36528             clip_to: "clipper";
36529             mouse_events: 0;
36530
36531             description {
36532                aspect_preference: BOTH;
36533                aspect: 1 1;
36534             }
36535          }
36536       }
36537
36538       programs {
36539          program {
36540             signal: "elm,video,load";
36541             source: "elm";
36542
36543             action: STATE_SET darker 0.0;
36544             target: clipper;
36545          }
36546          program {
36547             signal: "elm,video,play";
36548             source: "elm";
36549
36550             action: STATE_SET default 0.0;
36551             target: clipper;
36552          }
36553          program {
36554             signal: "elm,video,end";
36555             source: "elm";
36556
36557             action: STATE_SET darker 0.0;
36558             target: clipper;
36559             transition: LINEAR 0.5;
36560          }
36561          program {
36562             signal: "elm,video,pause";
36563             source: "elm";
36564
36565             action: STATE_SET darker 0.0;
36566             target: clipper;
36567          }
36568       }
36569    }
36570 }