[SLP Merge] Thu Jul 7 13:20:56 2011 +0900
[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          program { name: "toggle_on";
3297             signal: "elm,state,toggle,on";
3298             source: "elm";
3299             script {
3300                new Float:drag;
3301                if (get_int(is_rtl) == 0) {
3302                   drag = 100.0;
3303                }
3304                else {
3305                   drag = 0.0;
3306                }
3307                set_drag(PART:"button", drag, 0.0);
3308             }
3309          }
3310          program { name: "toggle_off";
3311             signal: "elm,state,toggle,off";
3312             source: "elm";
3313             script {
3314                new Float:drag;
3315                if (get_int(is_rtl) == 0) {
3316                   drag = 0.0;
3317                }
3318                else {
3319                   drag = 100.0;
3320                }
3321                set_drag(PART:"button", drag, 0.0);
3322             }
3323          }
3324          program { name: "text_show";
3325             signal: "elm,state,text,visible";
3326             source: "elm";
3327             action:  STATE_SET "visible" 0.0;
3328             target: "elm.text";
3329          }
3330          program { name: "text_hide";
3331             signal: "elm,state,text,hidden";
3332             source: "elm";
3333             action:  STATE_SET "default" 0.0;
3334             target: "elm.text";
3335          }
3336          program { name: "icon_show";
3337             signal: "elm,state,icon,visible";
3338             source: "elm";
3339             action:  STATE_SET "visible" 0.0;
3340             target: "elm.swallow.content";
3341          }
3342          program { name: "icon_hide";
3343             signal: "elm,state,icon,hidden";
3344             source: "elm";
3345             action:  STATE_SET "default" 0.0;
3346             target: "elm.swallow.content";
3347          }
3348          program { name: "disable";
3349             signal: "elm,state,disabled";
3350             source: "elm";
3351             action: STATE_SET "disabled" 0.0;
3352             target: "elm.offtext";
3353             target: "elm.ontext";
3354             target: "onrect";
3355             target: "offrect";
3356             target: "disabler";
3357             after: "disable_text";
3358          }
3359          program { name: "disable_text";
3360             script {
3361                new st[31];
3362                new Float:vl;
3363                get_state(PART:"elm.text", st, 30, vl);
3364                if (!strcmp(st, "visible"))
3365                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3366                else
3367                  set_state(PART:"elm.text", "disabled", 0.0);
3368
3369                get_state(PART:"elm.swallow.content", st, 30, vl);
3370                if (!strcmp(st, "visible"))
3371                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3372                else
3373                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3374             }
3375          }
3376          program { name: "enable";
3377             signal: "elm,state,enabled";
3378             source: "elm";
3379             action: STATE_SET "default" 0.0;
3380             target: "disabler";
3381             target: "onrect";
3382             target: "offrect";
3383             after: "enable_text";
3384          }
3385          program { name: "enable_text";
3386             script {
3387                new st[31];
3388                new Float:vl;
3389                get_state(PART:"elm.text", st, 30, vl);
3390                if (!strcmp(st, "disabled_visible"))
3391                  set_state(PART:"elm.text", "visible", 0.0);
3392                else
3393                  set_state(PART:"elm.text", "default", 0.0);
3394
3395                get_state(PART:"elm.swallow.content", st, 30, vl);
3396                if (!strcmp(st, "visible"))
3397                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3398                else
3399                  set_state(PART:"elm.swallow.content", "default", 0.0);
3400             }
3401          }
3402          program { name: "to_rtl";
3403             signal: "edje,state,rtl";
3404             source: "edje";
3405             script {
3406                set_int(is_rtl, 1);
3407             }
3408          }
3409          program { name: "to_ltr";
3410             signal: "edje,state,ltr";
3411             source: "edje";
3412             script {
3413                set_int(is_rtl, 0);
3414             }
3415          }
3416       }
3417    }
3418
3419 ///////////////////////////////////////////////////////////////////////////////
3420    group { name: "elm/clock/flipdigit/default";
3421       images {
3422          image: "flip_base.png" COMP;
3423          image: "flip_base_shad.png" COMP;
3424          image: "flip_shad.png" COMP;
3425          image: "flip_0t.png" COMP;
3426          image: "flip_0b.png" COMP;
3427          image: "flip_1t.png" COMP;
3428          image: "flip_1b.png" COMP;
3429          image: "flip_2t.png" COMP;
3430          image: "flip_2b.png" COMP;
3431          image: "flip_3t.png" COMP;
3432          image: "flip_3b.png" COMP;
3433          image: "flip_4t.png" COMP;
3434          image: "flip_4b.png" COMP;
3435          image: "flip_5t.png" COMP;
3436          image: "flip_5b.png" COMP;
3437          image: "flip_6t.png" COMP;
3438          image: "flip_6b.png" COMP;
3439          image: "flip_7t.png" COMP;
3440          image: "flip_7b.png" COMP;
3441          image: "flip_8t.png" COMP;
3442          image: "flip_8b.png" COMP;
3443          image: "flip_9t.png" COMP;
3444          image: "flip_9b.png" COMP;
3445          image: "arrow_up.png" COMP;
3446          image: "arrow_down.png" COMP;
3447       }
3448       script {
3449          public v0_cur, v0_pre, v0_lock, v0_next;
3450
3451        public animator2(val, Float:pos) {
3452           new st1[11], st2[11], v;
3453
3454           v = get_int(v0_cur);
3455           snprintf(st1, 10, "%ih", v);
3456           snprintf(st2, 10, "%i", v);
3457           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3458           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3459           if (pos >= 1.0) {
3460              set_state(PART:"sh", "default", 0.0);
3461              set_int(v0_lock, 0);
3462              v = get_int(v0_next);
3463              if (v >= 0) {
3464                 set_int(v0_next, -1);
3465                 message(MSG_INT, 1, v);
3466              }
3467           }
3468        }
3469        public animator1(val, Float:pos) {
3470           new st1[11], st2[11], v;
3471
3472           v = get_int(v0_pre);
3473           snprintf(st1, 10, "%i", v);
3474           snprintf(st2, 10, "%ih", v);
3475           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3476           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3477           if (pos >= 1.0) anim(0.2, "animator2", val);
3478        }
3479        public message(Msg_Type:type, id, ...) {
3480           if ((type == MSG_INT) && (id == 1)) {
3481              new value, v, buf[11];
3482
3483              value = getarg(2);
3484              if (get_int(v0_lock) == 1) {
3485                 set_int(v0_next, value);
3486                 return;
3487              }
3488              v = get_int(v0_cur);
3489              set_int(v0_pre, v);
3490              set_int(v0_cur, value);
3491              set_int(v0_lock, 1);
3492              snprintf(buf, 10, "%i", get_int(v0_pre));
3493              set_state(PART:"bot0", buf, 0.0);
3494              snprintf(buf, 10, "%ih", get_int(v0_cur));
3495              set_state(PART:"bot", buf, 0.0);
3496              snprintf(buf, 10, "%i", get_int(v0_cur));
3497              set_state(PART:"top0", buf, 0.0);
3498              snprintf(buf, 10, "%i", get_int(v0_pre));
3499              set_state(PART:"top", buf, 0.0);
3500              set_state(PART:"sh", "default", 0.0);
3501              anim(0.2, "animator1", 1);
3502           }
3503        }
3504       }
3505       parts {
3506          part { name: "shad";
3507             mouse_events: 0;
3508             description { state: "default" 0.0;
3509                rel1.offset: -4 -4;
3510                rel1.to: "base";
3511                rel2.offset: 3 3;
3512                rel2.to: "base";
3513                image {
3514                   normal: "flip_base_shad.png";
3515                   border: 8 8 8 8;
3516                }
3517             }
3518          }
3519          part { name: "base";
3520             scale: 1;
3521             description { state: "default" 0.0;
3522                rel1.offset: 4 4;
3523                rel2.offset: -5 -5;
3524                // FIXME 48x96 should be the native pixel design, right now
3525                // its 80x160. fix int he artwork later
3526                min: 24 48;
3527                aspect: 0.5 0.5;
3528 //               max: 24 48;
3529                image.normal: "flip_base.png";
3530             }
3531          }
3532          part { name: "b";
3533             type: RECT;
3534             mouse_events: 1;
3535             description { state: "default" 0.0;
3536                visible: 0;
3537                rel1.to: "base";
3538                rel1.relative: 0.0 0.5;
3539                rel2.to: "base";
3540                color: 0 0 0 0;
3541             }
3542             description { state: "visible" 0.0;
3543                inherit: "default" 0.0;
3544                visible: 1;
3545             }
3546          }
3547          part { name: "t";
3548             type: RECT;
3549             mouse_events: 1;
3550             description { state: "default" 0.0;
3551                visible: 0;
3552                rel1.to: "base";
3553                rel2.to: "base";
3554                rel2.relative: 1.0 0.5;
3555                color: 0 0 0 0;
3556             }
3557             description { state: "visible" 0.0;
3558                inherit: "default" 0.0;
3559                visible: 1;
3560             }
3561          }
3562          part { name: "bot0";
3563             mouse_events: 0;
3564             description { state: "default" 0.0;
3565                rel1.to: "b";
3566                rel2.to: "b";
3567                image.normal: "flip_0b.png";
3568             }
3569             description { state: "0" 0.0;
3570                inherit: "default" 0.0;
3571                image.normal: "flip_0b.png";
3572             }
3573             description { state: "1" 0.0;
3574                inherit: "default" 0.0;
3575                image.normal: "flip_1b.png";
3576             }
3577             description { state: "2" 0.0;
3578                inherit: "default" 0.0;
3579                image.normal: "flip_2b.png";
3580             }
3581             description { state: "3" 0.0;
3582                inherit: "default" 0.0;
3583                image.normal: "flip_3b.png";
3584             }
3585             description { state: "4" 0.0;
3586                inherit: "default" 0.0;
3587                image.normal: "flip_4b.png";
3588             }
3589             description { state: "5" 0.0;
3590                inherit: "default" 0.0;
3591                image.normal: "flip_5b.png";
3592             }
3593             description { state: "6" 0.0;
3594                inherit: "default" 0.0;
3595                image.normal: "flip_6b.png";
3596             }
3597             description { state: "7" 0.0;
3598                inherit: "default" 0.0;
3599                image.normal: "flip_7b.png";
3600             }
3601             description { state: "8" 0.0;
3602                inherit: "default" 0.0;
3603                image.normal: "flip_8b.png";
3604             }
3605             description { state: "9" 0.0;
3606                inherit: "default" 0.0;
3607                image.normal: "flip_9b.png";
3608             }
3609          }
3610          part { name: "sh";
3611             mouse_events: 0;
3612             description { state: "default" 0.0;
3613                rel1.to: "b";
3614                rel2.to: "b";
3615                rel2.relative: 1.0 0.0;
3616                image.normal: "flip_shad.png";
3617             }
3618             description { state: "half" 0.0;
3619                inherit: "default" 0.0;
3620                rel2.relative: 1.0 0.5;
3621             }
3622             description { state: "full" 0.0;
3623                inherit: "default" 0.0;
3624                rel2.relative: 1.0 1.0;
3625             }
3626          }
3627          part { name: "bot";
3628             mouse_events: 0;
3629             description { state: "default" 0.0;
3630                visible: 1;
3631                rel1.to: "b";
3632                rel2.to: "b";
3633                image.normal: "flip_0b.png";
3634             }
3635             description { state: "0" 0.0;
3636                inherit: "default" 0.0;
3637                visible: 1;
3638                rel2.relative: 1.0 1.0;
3639                image.normal: "flip_0b.png";
3640             }
3641             description { state: "0h" 0.0;
3642                inherit: "default" 0.0;
3643                visible: 0;
3644                rel2.relative: 1.0 0.0;
3645                image.normal: "flip_0b.png";
3646             }
3647             description { state: "1" 0.0;
3648                inherit: "default" 0.0;
3649                visible: 1;
3650                rel2.relative: 1.0 1.0;
3651                image.normal: "flip_1b.png";
3652             }
3653             description { state: "1h" 0.0;
3654                inherit: "default" 0.0;
3655                visible: 0;
3656                rel2.relative: 1.0 0.0;
3657                image.normal: "flip_1b.png";
3658             }
3659             description { state: "2" 0.0;
3660                inherit: "default" 0.0;
3661                visible: 1;
3662                rel2.relative: 1.0 1.0;
3663                image.normal: "flip_2b.png";
3664             }
3665             description { state: "2h" 0.0;
3666                inherit: "default" 0.0;
3667                visible: 0;
3668                rel2.relative: 1.0 0.0;
3669                image.normal: "flip_2b.png";
3670             }
3671             description { state: "3" 0.0;
3672                inherit: "default" 0.0;
3673                visible: 1;
3674                rel2.relative: 1.0 1.0;
3675                image.normal: "flip_3b.png";
3676             }
3677             description { state: "3h" 0.0;
3678                inherit: "default" 0.0;
3679                visible: 0;
3680                rel2.relative: 1.0 0.0;
3681                image.normal: "flip_3b.png";
3682             }
3683             description { state: "4" 0.0;
3684                inherit: "default" 0.0;
3685                visible: 1;
3686                rel2.relative: 1.0 1.0;
3687                image.normal: "flip_4b.png";
3688             }
3689             description { state: "4h" 0.0;
3690                inherit: "default" 0.0;
3691                visible: 0;
3692                rel2.relative: 1.0 0.0;
3693                image.normal: "flip_4b.png";
3694             }
3695             description { state: "5" 0.0;
3696                inherit: "default" 0.0;
3697                visible: 1;
3698                rel2.relative: 1.0 1.0;
3699                image.normal: "flip_5b.png";
3700             }
3701             description { state: "5h" 0.0;
3702                inherit: "default" 0.0;
3703                visible: 0;
3704                rel2.relative: 1.0 0.0;
3705                image.normal: "flip_5b.png";
3706             }
3707             description { state: "6" 0.0;
3708                inherit: "default" 0.0;
3709                visible: 1;
3710                rel2.relative: 1.0 1.0;
3711                image.normal: "flip_6b.png";
3712             }
3713             description { state: "6h" 0.0;
3714                inherit: "default" 0.0;
3715                visible: 0;
3716                rel2.relative: 1.0 0.0;
3717                image.normal: "flip_6b.png";
3718             }
3719             description { state: "7" 0.0;
3720                inherit: "default" 0.0;
3721                visible: 1;
3722                rel2.relative: 1.0 1.0;
3723                image.normal: "flip_7b.png";
3724             }
3725             description { state: "7h" 0.0;
3726                inherit: "default" 0.0;
3727                visible: 0;
3728                rel2.relative: 1.0 0.0;
3729                image.normal: "flip_7b.png";
3730             }
3731             description { state: "8" 0.0;
3732                inherit: "default" 0.0;
3733                visible: 1;
3734                rel2.relative: 1.0 1.0;
3735                image.normal: "flip_8b.png";
3736             }
3737             description { state: "8h" 0.0;
3738                inherit: "default" 0.0;
3739                visible: 0;
3740                rel2.relative: 1.0 0.0;
3741                image.normal: "flip_8b.png";
3742             }
3743             description { state: "9" 0.0;
3744                inherit: "default" 0.0;
3745                visible: 1;
3746                rel2.relative: 1.0 1.0;
3747                image.normal: "flip_9b.png";
3748             }
3749             description { state: "9h" 0.0;
3750                inherit: "default" 0.0;
3751                visible: 0;
3752                rel2.relative: 1.0 0.0;
3753                image.normal: "flip_9b.png";
3754             }
3755          }
3756          part { name: "top0";
3757             mouse_events: 0;
3758             description { state: "default" 0.0;
3759                rel1.to: "t";
3760                rel2.to: "t";
3761                image.normal: "flip_0t.png";
3762             }
3763             description { state: "0" 0.0;
3764                inherit: "default" 0.0;
3765                image.normal: "flip_0t.png";
3766             }
3767             description { state: "1" 0.0;
3768                inherit: "default" 0.0;
3769                image.normal: "flip_1t.png";
3770             }
3771             description { state: "2" 0.0;
3772                inherit: "default" 0.0;
3773                image.normal: "flip_2t.png";
3774             }
3775             description { state: "3" 0.0;
3776                inherit: "default" 0.0;
3777                image.normal: "flip_3t.png";
3778             }
3779             description { state: "4" 0.0;
3780                inherit: "default" 0.0;
3781                image.normal: "flip_4t.png";
3782             }
3783             description { state: "5" 0.0;
3784                inherit: "default" 0.0;
3785                image.normal: "flip_5t.png";
3786             }
3787             description { state: "6" 0.0;
3788                inherit: "default" 0.0;
3789                image.normal: "flip_6t.png";
3790             }
3791             description { state: "7" 0.0;
3792                inherit: "default" 0.0;
3793                image.normal: "flip_7t.png";
3794             }
3795             description { state: "8" 0.0;
3796                inherit: "default" 0.0;
3797                image.normal: "flip_8t.png";
3798             }
3799             description { state: "9" 0.0;
3800                inherit: "default" 0.0;
3801                image.normal: "flip_9t.png";
3802             }
3803          }
3804          part { name: "top";
3805             mouse_events: 0;
3806             description { state: "default" 0.0;
3807                visible: 1;
3808                rel1.to: "t";
3809                rel2.to: "t";
3810                image.normal: "flip_0t.png";
3811             }
3812             description { state: "0" 0.0;
3813                inherit: "default" 0.0;
3814                visible: 1;
3815                rel1.relative: 0.0 0.0;
3816                image.normal: "flip_0t.png";
3817             }
3818             description { state: "0h" 0.0;
3819                inherit: "default" 0.0;
3820                color: 128 128 128 255;
3821                visible: 0;
3822                rel1.relative: 0.0 1.0;
3823                image.normal: "flip_0t.png";
3824             }
3825             description { state: "1" 0.0;
3826                inherit: "default" 0.0;
3827                visible: 1;
3828                rel1.relative: 0.0 0.0;
3829                image.normal: "flip_1t.png";
3830             }
3831             description { state: "1h" 0.0;
3832                inherit: "default" 0.0;
3833                color: 128 128 128 255;
3834                visible: 0;
3835                rel1.relative: 0.0 1.0;
3836                image.normal: "flip_1t.png";
3837             }
3838             description { state: "2" 0.0;
3839                inherit: "default" 0.0;
3840                visible: 1;
3841                rel1.relative: 0.0 0.0;
3842                image.normal: "flip_2t.png";
3843             }
3844             description { state: "2h" 0.0;
3845                inherit: "default" 0.0;
3846                color: 128 128 128 255;
3847                visible: 0;
3848                rel1.relative: 0.0 1.0;
3849                image.normal: "flip_2t.png";
3850             }
3851             description { state: "3" 0.0;
3852                inherit: "default" 0.0;
3853                visible: 1;
3854                rel1.relative: 0.0 0.0;
3855                image.normal: "flip_3t.png";
3856             }
3857             description { state: "3h" 0.0;
3858                inherit: "default" 0.0;
3859                color: 128 128 128 255;
3860                visible: 0;
3861                rel1.relative: 0.0 1.0;
3862                image.normal: "flip_3t.png";
3863             }
3864             description { state: "4" 0.0;
3865                inherit: "default" 0.0;
3866                visible: 1;
3867                rel1.relative: 0.0 0.0;
3868                image.normal: "flip_4t.png";
3869             }
3870             description { state: "4h" 0.0;
3871                inherit: "default" 0.0;
3872                color: 128 128 128 255;
3873                visible: 0;
3874                rel1.relative: 0.0 1.0;
3875                image.normal: "flip_4t.png";
3876             }
3877             description { state: "5" 0.0;
3878                inherit: "default" 0.0;
3879                visible: 1;
3880                rel1.relative: 0.0 0.0;
3881                image.normal: "flip_5t.png";
3882             }
3883             description { state: "5h" 0.0;
3884                inherit: "default" 0.0;
3885                color: 128 128 128 255;
3886                visible: 0;
3887                rel1.relative: 0.0 1.0;
3888                image.normal: "flip_5t.png";
3889             }
3890             description { state: "6" 0.0;
3891                inherit: "default" 0.0;
3892                visible: 1;
3893                rel1.relative: 0.0 0.0;
3894                image.normal: "flip_6t.png";
3895             }
3896             description { state: "6h" 0.0;
3897                inherit: "default" 0.0;
3898                color: 128 128 128 255;
3899                visible: 0;
3900                rel1.relative: 0.0 1.0;
3901                image.normal: "flip_6t.png";
3902             }
3903             description { state: "7" 0.0;
3904                inherit: "default" 0.0;
3905                visible: 1;
3906                rel1.relative: 0.0 0.0;
3907                image.normal: "flip_7t.png";
3908             }
3909             description { state: "7h" 0.0;
3910                inherit: "default" 0.0;
3911                color: 128 128 128 255;
3912                visible: 0;
3913                rel1.relative: 0.0 1.0;
3914                image.normal: "flip_7t.png";
3915             }
3916             description { state: "8" 0.0;
3917                inherit: "default" 0.0;
3918                visible: 1;
3919                rel1.relative: 0.0 0.0;
3920                image.normal: "flip_8t.png";
3921             }
3922             description { state: "8h" 0.0;
3923                inherit: "default" 0.0;
3924                color: 128 128 128 255;
3925                visible: 0;
3926                rel1.relative: 0.0 1.0;
3927                image.normal: "flip_8t.png";
3928             }
3929             description { state: "9" 0.0;
3930                inherit: "default" 0.0;
3931                visible: 1;
3932                rel1.relative: 0.0 0.0;
3933                image.normal: "flip_9t.png";
3934             }
3935             description { state: "9h" 0.0;
3936                inherit: "default" 0.0;
3937                color: 128 128 128 255;
3938                visible: 0;
3939                rel1.relative: 0.0 1.0;
3940                image.normal: "flip_9t.png";
3941             }
3942          }
3943          part { name: "atop";
3944             mouse_events: 0;
3945             scale: 1;
3946             description { state: "default" 0.0;
3947                visible: 0;
3948                min: 15 15;
3949                max: 15 15;
3950                align: 0.5 0.0;
3951                rel1.to: "t";
3952                rel2.to: "t";
3953                image.normal: "arrow_up.png";
3954             }
3955             description { state: "visible" 0.0;
3956                inherit: "default" 0.0;
3957                visible: 1;
3958             }
3959          }
3960          part { name: "abot";
3961             mouse_events: 0;
3962             scale: 1;
3963             description { state: "default" 0.0;
3964                visible: 0;
3965                min: 15 15;
3966                max: 15 15;
3967                align: 0.5 1.0;
3968                rel1.to: "b";
3969                rel2.to: "b";
3970                image.normal: "arrow_down.png";
3971             }
3972             description { state: "visible" 0.0;
3973                inherit: "default" 0.0;
3974                visible: 1;
3975             }
3976          }
3977       }
3978       programs {
3979          program { name: "load";
3980             signal: "load";
3981             source: "";
3982             script {
3983                set_int(v0_cur, 0);
3984                set_int(v0_pre, 0);
3985                set_int(v0_lock, 0);
3986                set_int(v0_next, -1);
3987             }
3988          }
3989          program { name: "edit_on";
3990             signal: "elm,state,edit,on";
3991             source: "elm";
3992             action: STATE_SET "visible" 0.0;
3993             target: "atop";
3994             target: "abot";
3995             target: "t";
3996             target: "b";
3997          }
3998          program { name: "edit_off";
3999             signal: "elm,state,edit,off";
4000             source: "elm";
4001             action: STATE_SET "default" 0.0;
4002             target: "atop";
4003             target: "abot";
4004             target: "t";
4005             target: "b";
4006          }
4007          program { name: "up";
4008             signal: "mouse,down,1";
4009             source: "t";
4010             action: SIGNAL_EMIT "elm,action,up,start" "";
4011          }
4012          program { name: "up,stop";
4013             signal: "mouse,up,1";
4014             source: "t";
4015             action: SIGNAL_EMIT "elm,action,up,stop" "";
4016          }
4017          program { name: "down";
4018             signal: "mouse,down,1";
4019             source: "b";
4020             action: SIGNAL_EMIT "elm,action,down,start" "";
4021          }
4022          program { name: "down,stop";
4023             signal: "mouse,up,1";
4024             source: "b";
4025             action: SIGNAL_EMIT "elm,action,down,stop" "";
4026          }
4027       }
4028    }
4029
4030 ///////////////////////////////////////////////////////////////////////////////
4031    group { name: "elm/clock/flipampm/default";
4032       images {
4033          image: "flip_base.png" COMP;
4034          image: "flip_base_shad.png" COMP;
4035          image: "flip_shad.png" COMP;
4036          image: "flip_amt.png" COMP;
4037          image: "flip_amb.png" COMP;
4038          image: "flip_pmt.png" COMP;
4039          image: "flip_pmb.png" COMP;
4040          image: "arrow_up.png" COMP;
4041          image: "arrow_down.png" COMP;
4042       }
4043       script {
4044          public v0_cur, v0_pre, v0_lock, v0_next;
4045
4046        public animator2(val, Float:pos) {
4047           new st1[11], st2[11], v;
4048
4049           v = get_int(v0_cur);
4050           snprintf(st1, 10, "%ih", v);
4051           snprintf(st2, 10, "%i", v);
4052           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4053           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4054           if (pos >= 1.0) {
4055              set_state(PART:"sh", "default", 0.0);
4056              set_int(v0_lock, 0);
4057              v = get_int(v0_next);
4058              if (v >= 0) {
4059                 set_int(v0_next, -1);
4060                 message(MSG_INT, 1, v);
4061              }
4062           }
4063        }
4064        public animator1(val, Float:pos) {
4065           new st1[11], st2[11], v;
4066
4067           v = get_int(v0_pre);
4068           snprintf(st1, 10, "%i", v);
4069           snprintf(st2, 10, "%ih", v);
4070           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4071           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4072           if (pos >= 1.0) anim(0.2, "animator2", val);
4073        }
4074        public message(Msg_Type:type, id, ...) {
4075           if ((type == MSG_INT) && (id == 1)) {
4076              new value, v, buf[11];
4077
4078              value = getarg(2);
4079              if (get_int(v0_lock) == 1) {
4080                 set_int(v0_next, value);
4081                 return;
4082              }
4083              v = get_int(v0_cur);
4084              set_int(v0_pre, v);
4085              set_int(v0_cur, value);
4086              set_int(v0_lock, 1);
4087              snprintf(buf, 10, "%i", get_int(v0_pre));
4088              set_state(PART:"bot0", buf, 0.0);
4089              snprintf(buf, 10, "%ih", get_int(v0_cur));
4090              set_state(PART:"bot", buf, 0.0);
4091              snprintf(buf, 10, "%i", get_int(v0_cur));
4092              set_state(PART:"top0", buf, 0.0);
4093              snprintf(buf, 10, "%i", get_int(v0_pre));
4094              set_state(PART:"top", buf, 0.0);
4095              set_state(PART:"sh", "default", 0.0);
4096              anim(0.2, "animator1", 1);
4097           }
4098        }
4099       }
4100       parts {
4101          part { name: "shad";
4102             mouse_events: 0;
4103             description { state: "default" 0.0;
4104                rel1.offset: -4 -4;
4105                rel1.to: "base";
4106                rel2.offset: 3 3;
4107                rel2.to: "base";
4108                image {
4109                   normal: "flip_base_shad.png";
4110                   border: 8 8 8 8;
4111                }
4112             }
4113          }
4114          part { name: "base";
4115             mouse_events: 0;
4116             scale: 1;
4117             description { state: "default" 0.0;
4118                rel1.offset: 4 4;
4119                rel2.offset: -5 -5;
4120                // FIXME 48x96 should be the native pixel design, right now
4121                // its 80x160. fix int he artwork later
4122                aspect: 0.5 0.5;
4123                min: 24 48;
4124 //               max: 24 48;
4125                image.normal: "flip_base.png";
4126             }
4127          }
4128          part { name: "b";
4129             type: RECT;
4130             mouse_events: 1;
4131             description { state: "default" 0.0;
4132                rel1.to: "base";
4133                rel1.relative: 0.0 0.5;
4134                rel2.to: "base";
4135                color: 0 0 0 0;
4136             }
4137          }
4138          part { name: "t";
4139             type: RECT;
4140             mouse_events: 1;
4141             description { state: "default" 0.0;
4142                rel1.to: "base";
4143                rel2.to: "base";
4144                rel2.relative: 1.0 0.5;
4145                color: 0 0 0 0;
4146             }
4147          }
4148          part { name: "bot0";
4149             mouse_events: 0;
4150             description { state: "default" 0.0;
4151                rel1.to: "b";
4152                rel2.to: "b";
4153                image.normal: "flip_amb.png";
4154             }
4155             description { state: "0" 0.0;
4156                inherit: "default" 0.0;
4157                image.normal: "flip_amb.png";
4158             }
4159             description { state: "1" 0.0;
4160                inherit: "default" 0.0;
4161                image.normal: "flip_pmb.png";
4162             }
4163          }
4164          part { name: "sh";
4165             mouse_events: 0;
4166             description { state: "default" 0.0;
4167                rel1.to: "b";
4168                rel2.to: "b";
4169                rel2.relative: 1.0 0.0;
4170                image.normal: "flip_shad.png";
4171             }
4172             description { state: "half" 0.0;
4173                inherit: "default" 0.0;
4174                rel2.relative: 1.0 0.5;
4175             }
4176             description { state: "full" 0.0;
4177                inherit: "default" 0.0;
4178                rel2.relative: 1.0 1.0;
4179             }
4180          }
4181          part { name: "bot";
4182             mouse_events: 0;
4183             description { state: "default" 0.0;
4184                visible: 1;
4185                rel1.to: "b";
4186                rel2.to: "b";
4187                image.normal: "flip_amb.png";
4188             }
4189             description { state: "0" 0.0;
4190                inherit: "default" 0.0;
4191                visible: 1;
4192                rel2.relative: 1.0 1.0;
4193                image.normal: "flip_amb.png";
4194             }
4195             description { state: "0h" 0.0;
4196                inherit: "default" 0.0;
4197                visible: 0;
4198                rel2.relative: 1.0 0.0;
4199                image.normal: "flip_amb.png";
4200             }
4201             description { state: "1" 0.0;
4202                inherit: "default" 0.0;
4203                visible: 1;
4204                rel2.relative: 1.0 1.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207             description { state: "1h" 0.0;
4208                inherit: "default" 0.0;
4209                visible: 0;
4210                rel2.relative: 1.0 0.0;
4211                image.normal: "flip_pmb.png";
4212             }
4213          }
4214          part { name: "top0";
4215             mouse_events: 0;
4216             description { state: "default" 0.0;
4217                rel1.to: "t";
4218                rel2.to: "t";
4219                image.normal: "flip_amt.png";
4220             }
4221             description { state: "0" 0.0;
4222                inherit: "default" 0.0;
4223                image.normal: "flip_amt.png";
4224             }
4225             description { state: "1" 0.0;
4226                inherit: "default" 0.0;
4227                image.normal: "flip_pmt.png";
4228             }
4229          }
4230          part { name: "top";
4231             mouse_events: 0;
4232             description { state: "default" 0.0;
4233                visible: 1;
4234                rel1.to: "t";
4235                rel2.to: "t";
4236                image.normal: "flip_amt.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                visible: 1;
4241                rel1.relative: 0.0 0.0;
4242                image.normal: "flip_amt.png";
4243             }
4244             description { state: "0h" 0.0;
4245                inherit: "default" 0.0;
4246                color: 128 128 128 255;
4247                visible: 0;
4248                rel1.relative: 0.0 1.0;
4249                image.normal: "flip_amt.png";
4250             }
4251             description { state: "1" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 1;
4254                rel1.relative: 0.0 0.0;
4255                image.normal: "flip_pmt.png";
4256             }
4257             description { state: "1h" 0.0;
4258                inherit: "default" 0.0;
4259                color: 128 128 128 255;
4260                visible: 0;
4261                rel1.relative: 0.0 1.0;
4262                image.normal: "flip_pmt.png";
4263             }
4264          }
4265          part { name: "atop";
4266             mouse_events: 0;
4267             scale: 1;
4268             description { state: "default" 0.0;
4269                visible: 0;
4270                min: 15 15;
4271                max: 15 15;
4272                align: 0.5 0.0;
4273                rel1.to: "t";
4274                rel2.to: "t";
4275                image.normal: "arrow_up.png";
4276             }
4277             description { state: "visible" 0.0;
4278                inherit: "default" 0.0;
4279                visible: 1;
4280             }
4281          }
4282          part { name: "abot";
4283             mouse_events: 0;
4284             scale: 1;
4285             description { state: "default" 0.0;
4286                visible: 0;
4287                min: 15 15;
4288                max: 15 15;
4289                align: 0.5 1.0;
4290                rel1.to: "b";
4291                rel2.to: "b";
4292                image.normal: "arrow_down.png";
4293             }
4294             description { state: "visible" 0.0;
4295                inherit: "default" 0.0;
4296                visible: 1;
4297             }
4298          }
4299       }
4300       programs {
4301          program { name: "load";
4302             signal: "load";
4303             source: "";
4304             script {
4305                set_int(v0_cur, 0);
4306                set_int(v0_pre, 0);
4307                set_int(v0_lock, 0);
4308                set_int(v0_next, -1);
4309             }
4310          }
4311          program { name: "edit_on";
4312             signal: "elm,state,edit,on";
4313             source: "elm";
4314             action: STATE_SET "visible" 0.0;
4315             target: "atop";
4316             target: "abot";
4317          }
4318 /*
4319          program { name: "edit_off";
4320             signal: "elm,state,edit,off";
4321             source: "elm";
4322             action: STATE_SET "default" 0.0;
4323             target: "atop";
4324             target: "abot";
4325          }
4326  */
4327          program { name: "up";
4328             signal: "mouse,down,1";
4329             source: "t";
4330             action: SIGNAL_EMIT "elm,action,up,start" "";
4331          }
4332          program { name: "up,stop";
4333             signal: "mouse,up,1";
4334             source: "t";
4335             action: SIGNAL_EMIT "elm,action,up,stop" "";
4336          }
4337          program { name: "down";
4338             signal: "mouse,down,1";
4339             source: "b";
4340             action: SIGNAL_EMIT "elm,action,down,start" "";
4341          }
4342          program { name: "down,stop";
4343             signal: "mouse,up,1";
4344             source: "b";
4345             action: SIGNAL_EMIT "elm,action,down,stop" "";
4346          }
4347       }
4348    }
4349
4350    ///////////////////////////////////////////////////////////////////////////////
4351    group { name: "elm/menu/item/default";
4352        images {
4353            image: "bt_base1.png" COMP;
4354            image: "bt_base2.png" COMP;
4355            image: "bt_hilight.png" COMP;
4356            image: "bt_shine.png" COMP;
4357            image: "bt_glow.png" COMP;
4358            image: "bt_dis_base.png" COMP;
4359            image: "bt_dis_hilight.png" COMP;
4360        }
4361        script {
4362             public menu_text_visible; //0:hide (default), 1:visible
4363             public menu_disable; //0:enable, 1:disable
4364        }
4365        parts {
4366            part { name: "item_image";
4367                mouse_events: 1;
4368                description { state: "default" 0.0;
4369                    color: 255 255 255 0;
4370                    image {
4371                        normal: "bt_base2.png";
4372                        border: 7 7 7 7;
4373                    }
4374                    image.middle: SOLID;
4375                }
4376                description { state: "visible" 0.0;
4377                    inherit: "default" 0.0;
4378                    color: 255 255 255 255;
4379                }
4380                description { state: "clicked" 0.0;
4381                    inherit: "default" 0.0;
4382                    inherit: "visible" 0.0;
4383                    image.normal: "bt_base1.png";
4384                    image.middle: SOLID;
4385                }
4386                description { state: "disabled" 0.0;
4387                    inherit:  "default" 0.0;
4388                }
4389            }
4390            part { name: "item_image_disabled";
4391                mouse_events: 1;
4392                description { state: "default" 0.0;
4393                    color: 255 255 255 0;
4394                    image {
4395                        normal: "bt_dis_base.png";
4396                        border: 4 4 4 4;
4397                    }
4398                    image.middle: SOLID;
4399                }
4400                description { state: "disabled" 0.0;
4401                    inherit:  "default" 0.0;
4402                    color: 255 255 255 255;
4403                }
4404            }
4405            part { name: "elm.swallow.content";
4406                type: SWALLOW;
4407                description { state: "default" 0.0;
4408                    fixed: 1 0;
4409                    visible: 1;
4410                    align: 0.0 0.5;
4411                    rel1.offset: 4 4;
4412                    rel2.offset: 3 -5;
4413                    rel2.relative: 0.0 1.0;
4414                    aspect: 1.0 1.0;
4415                    aspect_preference: VERTICAL;
4416                    rel2.offset: 4 -5;
4417                }
4418            }
4419            part {
4420                name:          "elm.text";
4421                type:          TEXT;
4422                mouse_events:  0;
4423                scale: 1;
4424                description { state: "default" 0.0;
4425                    visible: 0;
4426                    rel1.to_x: "elm.swallow.content";
4427                    rel1.relative: 1.0 0.0;
4428                    rel1.offset: 5 7;
4429                    rel2.offset: -10 -8;
4430                    color: 0 0 0 255;
4431                    text {
4432                        font:     "Sans,Edje-Vera";
4433                        size:     10;
4434                        min:      1 1;
4435                        align:    0.0 0.5;
4436                        text_class: "menu_item";
4437                    }
4438                }
4439                description { state: "visible" 0.0;
4440                    inherit: "default" 0.0;
4441                    visible: 1;
4442                    text.min: 1 1;
4443                }
4444                description { state: "selected" 0.0;
4445                    inherit: "default" 0.0;
4446                    inherit: "visible" 0.0;
4447                    color: 254 254 254 255;
4448                }
4449                description { state: "disabled" 0.0;
4450                    inherit: "default" 0.0;
4451                    color: 0 0 0 128;
4452                }
4453                description { state: "disabled_visible" 0.0;
4454                    inherit: "default" 0.0;
4455                    inherit: "visible" 0.0;
4456                    color: 0 0 0 128;
4457                }
4458            }
4459            part {          name: "over1";
4460                mouse_events: 0;
4461                description { state: "default" 0.0;
4462                    color: 255 255 255 0;
4463                    rel2.relative: 1.0 0.5;
4464                    image {
4465                        normal: "bt_hilight.png";
4466                        border: 7 7 7 0;
4467                    }
4468                }
4469                description { state: "visible" 0.0;
4470                    inherit:  "default" 0.0;
4471                    color: 255 255 255 255;
4472                }
4473                description { state: "disabled" 0.0;
4474                    inherit:  "default" 0.0;
4475                }
4476            }
4477            part {          name: "over_disabled";
4478                mouse_events: 0;
4479                description { state: "default" 0.0;
4480                    color: 255 255 255 0;
4481                    rel2.relative: 1.0 0.5;
4482                    image {
4483                        normal: "bt_dis_hilight.png";
4484                        border: 4 4 4 0;
4485                    }
4486                }
4487                description { state: "disabled" 0.0;
4488                    inherit:  "default" 0.0;
4489                    color: 255 255 255 255;
4490                }
4491            }
4492            part { name: "over2";
4493                mouse_events: 1;
4494                repeat_events: 1;
4495                ignore_flags: ON_HOLD;
4496                description { state: "default" 0.0;
4497                    image {
4498                        normal: "bt_shine.png";
4499                        border: 7 7 7 7;
4500                    }
4501                }
4502                description { state: "disabled" 0.0;
4503                    inherit:  "default" 0.0;
4504                    visible: 0;
4505                }
4506            }
4507            part { name: "over3";
4508                mouse_events: 1;
4509                repeat_events: 1;
4510                description { state: "default" 0.0;
4511                    color: 255 255 255 0;
4512                    image {
4513                        normal: "bt_glow.png";
4514                        border: 12 12 12 12;
4515                    }
4516                    fill.smooth : 0;
4517                }
4518                description { state: "clicked" 0.0;
4519                    inherit:  "default" 0.0;
4520                    visible: 1;
4521                    color: 255 255 255 255;
4522                }
4523            }
4524            part { name: "disabler";
4525                type: RECT;
4526                description { state: "default" 0.0;
4527                    color: 0 0 0 0;
4528                    visible: 0;
4529                }
4530                description { state: "disabled" 0.0;
4531                    inherit: "default" 0.0;
4532                    visible: 1;
4533                }
4534            }
4535        }
4536        programs {
4537           //
4538            program {
4539                name:   "item_mouse_in";
4540                signal: "mouse,in";
4541                source: "over2";
4542                action: SIGNAL_EMIT "elm,action,activate" "";
4543                after: "item_mouse_in_2";
4544                after: "item_mouse_in_3";
4545            }
4546            program {
4547                name:   "item_mouse_in_2";
4548                transition: DECELERATE 0.5;
4549                script {
4550                    new v, d;
4551                    v = get_int(menu_text_visible);
4552                    d = get_int(menu_disable);
4553
4554                    if (v==1 && d==0)
4555                         run_program(PROGRAM:"selected_text");
4556                }
4557            }
4558            program {
4559                name:   "item_mouse_in_3";
4560                action : STATE_SET "visible" 0.0;
4561                target: "item_image";
4562                target: "over1";
4563                transition: DECELERATE 0.5;
4564            }
4565            program {
4566                name:   "selected_text";
4567                action: STATE_SET "selected" 0.0;
4568                target: "elm.text";
4569                transition: DECELERATE 0.5;
4570            }
4571            //
4572
4573            //
4574            program {
4575                name:   "item_mouse_out";
4576                signal: "mouse,out";
4577                source: "over2";
4578                action: SIGNAL_EMIT "elm,action,inactivate" "";
4579                after: "item_mouse_out_2";
4580                after: "item_mouse_out_3";
4581            }
4582            program {
4583                name:   "item_mouse_out_2";
4584                transition: DECELERATE 0.5;
4585                script {
4586                    new v, d;
4587                    v = get_int(menu_text_visible);
4588                    d = get_int(menu_disable);
4589
4590                    if (v==1 && d==0)
4591                         run_program(PROGRAM:"visible_text");
4592                }
4593            }
4594            program {
4595                name:   "item_mouse_out_3";
4596                action: STATE_SET "default" 0.0;
4597                target: "item_image";
4598                target: "over1";
4599                transition: DECELERATE 0.5;
4600            }
4601            program {
4602                name:   "visible_text";
4603                action: STATE_SET "visible" 0.0;
4604                target: "elm.text";
4605                transition: DECELERATE 0.5;
4606            }
4607            //
4608
4609            program {
4610                name:   "item_unclick";
4611                signal: "mouse,up,1";
4612                source: "over2";
4613                action: STATE_SET "visible" 0.0;
4614                target: "item_image";
4615            }
4616            program {
4617                name:   "item_click2";
4618                signal: "mouse,down,1";
4619                source: "over3";
4620                action: STATE_SET "clicked" 0.0;
4621                target: "over3";
4622            }
4623            program {
4624                name:   "item_unclick2";
4625                signal: "mouse,up,1";
4626                source: "over3";
4627                action: STATE_SET "default" 0.0;
4628                transition: DECELERATE 0.5;
4629                target: "over3";
4630            }
4631            program {
4632                name:   "item_unclick3";
4633                signal: "mouse,up,1";
4634                source: "over2";
4635                action: SIGNAL_EMIT "elm,action,click" "";
4636            }
4637            program { name: "text_show";
4638                signal: "elm,state,text,visible";
4639                source: "elm";
4640                script {
4641                    set_int(menu_text_visible, 1);
4642                    set_state(PART:"elm.text", "visible", 0.0);
4643                }
4644            }
4645            program { name: "text_hide";
4646                signal: "elm,state,text,hidden";
4647                source: "elm";
4648                script {
4649                    set_int(menu_text_visible, 0);
4650                    set_state(PART:"elm.text", "default", 0.0);
4651                }
4652            }
4653            program { name: "disable";
4654                signal: "elm,state,disabled";
4655                source: "elm";
4656                action: STATE_SET "disabled" 0.0;
4657                target: "item_image";
4658                target: "item_image_disabled";
4659                target: "over1";
4660                target: "over2";
4661                target: "over_disabled";
4662                target: "disabler";
4663                after: "disable_text";
4664            }
4665            program { name: "disable_text";
4666                script {
4667                    new v;
4668                    v = get_int(menu_text_visible);
4669                    if (v==1)
4670                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4671                    else if (v==0)
4672                     set_state(PART:"elm.text", "disabled", 0.0);
4673                    set_int(menu_disable, 1);
4674                }
4675            }
4676            program { name: "item_select";
4677                signal: "elm,state,selected";
4678                source: "elm";
4679                after: "item_mouse_in_2";
4680                after: "item_mouse_in_3";
4681            }
4682            program { name: "item_unselect";
4683                signal: "elm,state,unselected";
4684                source: "elm";
4685                after: "item_mouse_out_2";
4686                after: "item_mouse_out_3";
4687            }
4688            program { name: "enable";
4689                signal: "elm,state,enabled";
4690                source: "elm";
4691                action: STATE_SET "default" 0.0;
4692                target: "item_image";
4693                target: "item_image_disabled";
4694                target: "over1";
4695                target: "over2";
4696                target: "over_disabled";
4697                target: "disabler";
4698                after: "enable_text";
4699            }
4700            program { name: "enable_text";
4701                script {
4702                    new v;
4703                    v = get_int(menu_text_visible);
4704                    if (v==1)
4705                     set_state(PART:"elm.text", "visible", 0.0);
4706                    else  if (v==0)
4707                     set_state(PART:"elm.text", "default", 0.0);
4708                    set_int(menu_disable, 0);
4709                }
4710            }
4711        }
4712    }
4713
4714    group { name: "elm/menu/item_with_submenu/default";
4715        images {
4716            image: "bt_base1.png" COMP;
4717            image: "bt_base2.png" COMP;
4718            image: "bt_hilight.png" COMP;
4719            image: "bt_shine.png" COMP;
4720            image: "bt_glow.png" COMP;
4721            image: "bt_dis_base.png" COMP;
4722            image: "bt_dis_hilight.png" COMP;
4723            image: "arrow_right.png" COMP;
4724            image: "arrow_left.png" COMP;
4725        }
4726        script {
4727             public menu_text_visible; //0:hide (default), 1:visible
4728             public menu_disable; //0:enable, 1:disable
4729        }
4730        parts {
4731            part { name: "item_image";
4732                mouse_events: 1;
4733                description { state: "default" 0.0;
4734                    color: 255 255 255 0;
4735                    image {
4736                        normal: "bt_base2.png";
4737                        border: 7 7 7 7;
4738                    }
4739                    image.middle: SOLID;
4740                }
4741                description { state: "visible" 0.0;
4742                    inherit: "default" 0.0;
4743                    color: 255 255 255 255;
4744                }
4745                description { state: "clicked" 0.0;
4746                    inherit: "default" 0.0;
4747                    inherit: "visible" 0.0;
4748                    image.normal: "bt_base1.png";
4749                    image.middle: SOLID;
4750                }
4751                description { state: "disabled" 0.0;
4752                    inherit:  "default" 0.0;
4753                }
4754            }
4755            part { name: "item_image_disabled";
4756                mouse_events: 1;
4757                description { state: "default" 0.0;
4758                    color: 255 255 255 0;
4759                    image {
4760                        normal: "bt_dis_base.png";
4761                        border: 4 4 4 4;
4762                    }
4763                    image.middle: SOLID;
4764                }
4765                description { state: "disabled" 0.0;
4766                    inherit:  "default" 0.0;
4767                    color: 255 255 255 255;
4768                }
4769            }
4770            part { name: "arrow";
4771                mouse_events: 1;
4772                description { state: "default" 0.0;
4773                    color: 255 255 255 255;
4774                    align: 1.0 0.5;
4775                    aspect: 1 1;
4776                    aspect_preference: BOTH;
4777                    image {
4778                        normal: "arrow_right.png";
4779                    }
4780                }
4781                description { state: "rtl" 0.0;
4782                   inherit: "default" 0.0;
4783                   image.normal: "arrow_left.png";
4784                }
4785            }
4786            part { name: "elm.swallow.content";
4787                type: SWALLOW;
4788                description { state: "default" 0.0;
4789                    fixed: 1 0;
4790                    visible: 1;
4791                    align: 0.0 0.5;
4792                    rel1.offset: 4 4;
4793                    rel2.offset: 3 -5;
4794                    rel2.relative: 0.0 1.0;
4795                    aspect: 1.0 1.0;
4796                    aspect_preference: VERTICAL;
4797                    rel2.offset: 4 -5;
4798                }
4799            }
4800            part {
4801                name:          "elm.text";
4802                type:          TEXT;
4803                mouse_events:  0;
4804                scale: 1;
4805                description { state: "default" 0.0;
4806                    visible: 0;
4807                    rel1.to_x: "elm.swallow.content";
4808                    rel1.relative: 1.0 0.0;
4809                    rel1.offset: 5 7;
4810                    rel2.offset: -10 -8;
4811                    color: 0 0 0 255;
4812                    text {
4813                        font:     "Sans,Edje-Vera";
4814                        size:     10;
4815                        min:      1 1;
4816                        align:    0.0 0.5;
4817                        text_class: "menu_item";
4818                    }
4819                }
4820                description { state: "visible" 0.0;
4821                    inherit: "default" 0.0;
4822                    visible: 1;
4823                    text.min: 1 1;
4824                }
4825                description { state: "selected" 0.0;
4826                    inherit: "default" 0.0;
4827                    inherit: "visible" 0.0;
4828                    color: 254 254 254 255;
4829                }
4830                description { state: "disabled" 0.0;
4831                    inherit: "default" 0.0;
4832                    color: 0 0 0 128;
4833                }
4834                description { state: "disabled_visible" 0.0;
4835                    inherit: "default" 0.0;
4836                    inherit: "visible" 0.0;
4837                    color: 0 0 0 128;
4838                }
4839            }
4840            part {          name: "over1";
4841                mouse_events: 0;
4842                description { state: "default" 0.0;
4843                    color: 255 255 255 0;
4844                    rel2.relative: 1.0 0.5;
4845                    image {
4846                        normal: "bt_hilight.png";
4847                        border: 7 7 7 0;
4848                    }
4849                }
4850                description { state: "visible" 0.0;
4851                    inherit:  "default" 0.0;
4852                    color: 255 255 255 255;
4853                }
4854                description { state: "disabled" 0.0;
4855                    inherit:  "default" 0.0;
4856                }
4857            }
4858            part { name: "over_disabled";
4859                mouse_events: 0;
4860                description { state: "default" 0.0;
4861                    color: 255 255 255 0;
4862                    rel2.relative: 1.0 0.5;
4863                    image {
4864                        normal: "bt_dis_hilight.png";
4865                        border: 4 4 4 0;
4866                    }
4867                }
4868                description { state: "disabled" 0.0;
4869                    inherit:  "default" 0.0;
4870                    color: 255 255 255 255;
4871                }
4872            }
4873            part { name: "over2";
4874                mouse_events: 1;
4875                repeat_events: 1;
4876                ignore_flags: ON_HOLD;
4877                description { state: "default" 0.0;
4878                    image {
4879                        normal: "bt_shine.png";
4880                        border: 7 7 7 7;
4881                    }
4882                }
4883                description { state: "disabled" 0.0;
4884                    inherit:  "default" 0.0;
4885                    visible: 0;
4886                }
4887            }
4888            part { name: "over3";
4889                mouse_events: 1;
4890                repeat_events: 1;
4891                description { state: "default" 0.0;
4892                    color: 255 255 255 0;
4893                    image {
4894                        normal: "bt_glow.png";
4895                        border: 12 12 12 12;
4896                    }
4897                    fill.smooth : 0;
4898                }
4899                description { state: "clicked" 0.0;
4900                    inherit:  "default" 0.0;
4901                    visible: 1;
4902                    color: 255 255 255 255;
4903                }
4904            }
4905            part { name: "disabler";
4906                type: RECT;
4907                description { state: "default" 0.0;
4908                    color: 0 0 0 0;
4909                    visible: 0;
4910                }
4911                description { state: "disabled" 0.0;
4912                    inherit: "default" 0.0;
4913                    visible: 1;
4914                }
4915            }
4916        }
4917        programs {
4918            //
4919            program {
4920                name:   "item_mouse_in";
4921                signal: "mouse,in";
4922                source: "over2";
4923                action: SIGNAL_EMIT "elm,action,activate" "";
4924                after: "item_mouse_in_2";
4925                after: "item_mouse_in_3";
4926            }
4927            program {
4928                name:   "item_mouse_in_2";
4929                transition: DECELERATE 0.5;
4930                script {
4931                    new v, d;
4932                    v = get_int(menu_text_visible);
4933                    d = get_int(menu_disable);
4934
4935                    if (v==1 && d==0)
4936                         run_program(PROGRAM:"selected_text");
4937                }
4938            }
4939            program {
4940                name:   "item_mouse_in_3";
4941                action : STATE_SET "visible" 0.0;
4942                target: "item_image";
4943                target: "over1";
4944                transition: DECELERATE 0.5;
4945            }
4946            program {
4947                name:   "selected_text";
4948                action: STATE_SET "selected" 0.0;
4949                target: "elm.text";
4950                transition: DECELERATE 0.5;
4951            }
4952            //
4953
4954            //
4955            program {
4956                name:   "item_mouse_out";
4957                signal: "mouse,out";
4958                source: "over2";
4959                after: "item_mouse_out_2";
4960                after: "item_mouse_out_3";
4961            }
4962            program {
4963                name:   "item_mouse_out_2";
4964                transition: DECELERATE 0.5;
4965                script {
4966                    new v, d;
4967                    v = get_int(menu_text_visible);
4968                    d = get_int(menu_disable);
4969
4970                    if (v==1 && d==0)
4971                         run_program(PROGRAM:"visible_text");
4972                }
4973            }
4974            program {
4975                name:   "item_mouse_out_3";
4976                action: STATE_SET "default" 0.0;
4977                target: "item_image";
4978                target: "over1";
4979                transition: DECELERATE 0.5;
4980            }
4981            program {
4982                name:   "visible_text";
4983                action: STATE_SET "visible" 0.0;
4984                target: "elm.text";
4985                transition: DECELERATE 0.5;
4986            }
4987            //
4988
4989            program {
4990                name:   "item_unclick";
4991                signal: "mouse,up,1";
4992                source: "over2";
4993                action: STATE_SET "visible" 0.0;
4994                target: "item_image";
4995            }
4996            program {
4997                name:   "item_click2";
4998                signal: "mouse,down,1";
4999                source: "over3";
5000                action: STATE_SET "clicked" 0.0;
5001                target: "over3";
5002            }
5003            program {
5004                name:   "item_unclick2";
5005                signal: "mouse,up,1";
5006                source: "over3";
5007                action: STATE_SET "default" 0.0;
5008                transition: DECELERATE 0.5;
5009                target: "over3";
5010            }
5011            program {
5012                name:   "item_unclick3";
5013                signal: "mouse,up,1";
5014                source: "over2";
5015                action: SIGNAL_EMIT "elm,action,click" "";
5016            }
5017            program {
5018                name:   "menu_open";
5019                signal: "mouse,in";
5020                source: "over2";
5021                action: SIGNAL_EMIT "elm,action,open" "";
5022            }
5023             program { name: "text_show";
5024                signal: "elm,state,text,visible";
5025                source: "elm";
5026                script {
5027                    set_int(menu_text_visible, 1);
5028                    set_state(PART:"elm.text", "visible", 0.0);
5029                }
5030            }
5031            program { name: "text_hide";
5032                signal: "elm,state,text,hidden";
5033                source: "elm";
5034                script {
5035                    set_int(menu_text_visible, 0);
5036                    set_state(PART:"elm.text", "default", 0.0);
5037                }
5038            }
5039            program { name: "disable";
5040                signal: "elm,state,disabled";
5041                source: "elm";
5042                action: STATE_SET "disabled" 0.0;
5043                target: "item_image";
5044                target: "item_image_disabled";
5045                target: "over1";
5046                target: "over2";
5047                target: "over_disabled";
5048                target: "disabler";
5049                after: "disable_text";
5050            }
5051            program { name: "disable_text";
5052                script {
5053                    new st[31];
5054                    new Float:vl;
5055                    get_state(PART:"elm.text", st, 30, vl);
5056                    if (!strcmp(st, "visible"))
5057                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5058                    else if (!strcmp(st, "default"))
5059                    set_state(PART:"elm.text", "disabled", 0.0);
5060                }
5061            }
5062            program { name: "enable";
5063                signal: "elm,state,enabled";
5064                source: "elm";
5065                action: STATE_SET "default" 0.0;
5066                target: "item_image";
5067                target: "item_image_disabled";
5068                target: "over1";
5069                target: "over2";
5070                target: "over_disabled";
5071                target: "disabler";
5072                after: "enable_text";
5073            }
5074            program { name: "enable_text";
5075                script {
5076                    new v;
5077                    v = get_int(menu_text_visible);
5078                    if (v==1)
5079                     set_state(PART:"elm.text", "visible", 0.0);
5080                    else  if (v==0)
5081                     set_state(PART:"elm.text", "default", 0.0);
5082                    set_int(menu_disable, 0);
5083                }
5084            }
5085            program { name: "to_rtl";
5086                signal: "edje,state,rtl";
5087                source: "edje";
5088                action: STATE_SET "rtl" 0.0;
5089                target: "arrow";
5090            }
5091            program { name: "to_ltr";
5092                signal: "edje,state,ltr";
5093                source: "edje";
5094                action: STATE_SET "default" 0.0;
5095                target: "arrow";
5096            }
5097        }
5098    }
5099
5100    group { name: "elm/menu/separator/default";
5101        images {
5102            image: "separator_h.png" COMP;
5103        }
5104        parts {
5105            part { name: "separator"; // separator group
5106                description { state: "default" 0.0;
5107                    min: 2 2;
5108                    rel1.offset: 4 4;
5109                    rel2.offset: -5 -5;
5110                    image {
5111                        normal: "separator_h.png";
5112                    }
5113                    fill {
5114                        smooth: 0;
5115                    }
5116                }
5117            }
5118        }
5119    }
5120 ///////////////////////////////////////////////////////////////////////////////
5121    group { name: "elm/clock/base-all/default";
5122       parts {
5123          part { name: "d0";
5124             type: SWALLOW;
5125             description { state: "default" 0.0;
5126                rel1.relative: 0.0000000 0.0;
5127                rel2.relative: 0.1250000 1.0;
5128             }
5129          }
5130          part { name: "d1";
5131             type: SWALLOW;
5132             description { state: "default" 0.0;
5133                rel1.relative: 0.1250000 0.0;
5134                rel2.relative: 0.2500000 1.0;
5135             }
5136          }
5137          part { name: "c0";
5138             type: SWALLOW;
5139             type: TEXT;
5140             mouse_events:  0;
5141             scale: 1;
5142             description { state: "default" 0.0;
5143                rel1.relative: 0.2500000 0.0;
5144                rel2.relative: 0.3125000 1.0;
5145                color: 0 0 0 255;
5146                text {
5147                   font:     "Sans,Edje-Vera";
5148                   text:     ":";
5149                   size:     10;
5150                   min:      1 1;
5151                   align:    0.5 0.5;
5152                }
5153             }
5154          }
5155          part { name: "d2";
5156             type: SWALLOW;
5157             description { state: "default" 0.0;
5158                rel1.relative: 0.3125000 0.0;
5159                rel2.relative: 0.4375000 1.0;
5160             }
5161          }
5162          part { name: "d3";
5163             type: SWALLOW;
5164             description { state: "default" 0.0;
5165                rel1.relative: 0.4375000 0.0;
5166                rel2.relative: 0.5625000 1.0;
5167             }
5168          }
5169          // (if seconds)
5170          part { name: "c1";
5171             type: SWALLOW;
5172             type: TEXT;
5173             mouse_events:  0;
5174             scale: 1;
5175             description { state: "default" 0.0;
5176                rel1.relative: 0.5625000 0.0;
5177                rel2.relative: 0.6250000 1.0;
5178                color: 0 0 0 255;
5179                text {
5180                   font:     "Sans,Edje-Vera";
5181                   text:     ":";
5182                   size:     10;
5183                   min:      1 1;
5184                   align:    0.5 0.5;
5185                }
5186             }
5187          }
5188          // (if seconds)
5189          part { name: "d4";
5190             type: SWALLOW;
5191             description { state: "default" 0.0;
5192                rel1.relative: 0.6250000 0.0;
5193                rel2.relative: 0.7500000 1.0;
5194             }
5195          }
5196          // (if seconds)
5197          part { name: "d5";
5198             type: SWALLOW;
5199             description { state: "default" 0.0;
5200                rel1.relative: 0.7500000 0.0;
5201                rel2.relative: 0.8750000 1.0;
5202             }
5203          }
5204          // (if am_pm)
5205          part { name: "ampm";
5206             type: SWALLOW;
5207             description { state: "default" 0.0;
5208                rel1.relative: 0.8750000 0.0;
5209                rel2.relative: 1.0 1.0;
5210             }
5211          }
5212       }
5213    }
5214
5215 ///////////////////////////////////////////////////////////////////////////////
5216    group { name: "elm/clock/base-seconds/default";
5217       parts {
5218          part { name: "d0";
5219             type: SWALLOW;
5220             description { state: "default" 0.0;
5221                rel1.relative: 0.000000000 0.0;
5222                rel2.relative: 0.142857143 1.0;
5223             }
5224          }
5225          part { name: "d1";
5226             type: SWALLOW;
5227             description { state: "default" 0.0;
5228                rel1.relative: 0.142857143 0.0;
5229                rel2.relative: 0.285714286 1.0;
5230             }
5231          }
5232          part { name: "c0";
5233             type: SWALLOW;
5234             type: TEXT;
5235             mouse_events:  0;
5236             scale: 1;
5237             description { state: "default" 0.0;
5238                rel1.relative: 0.285714286 0.0;
5239                rel2.relative: 0.357142857 1.0;
5240                color: 0 0 0 255;
5241                text {
5242                   font:     "Sans,Edje-Vera";
5243                   text:     ":";
5244                   size:     10;
5245                   min:      1 1;
5246                   align:    0.5 0.5;
5247                }
5248             }
5249          }
5250          part { name: "d2";
5251             type: SWALLOW;
5252             description { state: "default" 0.0;
5253                rel1.relative: 0.357142857 0.0;
5254                rel2.relative: 0.500000000 1.0;
5255             }
5256          }
5257          part { name: "d3";
5258             type: SWALLOW;
5259             description { state: "default" 0.0;
5260                rel1.relative: 0.500000000 0.0;
5261                rel2.relative: 0.642857143 1.0;
5262             }
5263          }
5264          // (if seconds)
5265          part { name: "c1";
5266             type: SWALLOW;
5267             type: TEXT;
5268             mouse_events:  0;
5269             scale: 1;
5270             description { state: "default" 0.0;
5271                rel1.relative: 0.642857143 0.0;
5272                rel2.relative: 0.714285714 1.0;
5273                color: 0 0 0 255;
5274                text {
5275                   font:     "Sans,Edje-Vera";
5276                   text:     ":";
5277                   size:     10;
5278                   min:      1 1;
5279                   align:    0.5 0.5;
5280                }
5281             }
5282          }
5283          // (if seconds)
5284          part { name: "d4";
5285             type: SWALLOW;
5286             description { state: "default" 0.0;
5287                rel1.relative: 0.714285714 0.0;
5288                rel2.relative: 0.857142857 1.0;
5289             }
5290          }
5291          // (if seconds)
5292          part { name: "d5";
5293             type: SWALLOW;
5294             description { state: "default" 0.0;
5295                rel1.relative: 0.857142857 0.0;
5296                rel2.relative: 1.000000000 1.0;
5297             }
5298          }
5299       }
5300    }
5301
5302 ///////////////////////////////////////////////////////////////////////////////
5303    group { name: "elm/clock/base-am_pm/default";
5304       parts {
5305          part { name: "d0";
5306             type: SWALLOW;
5307             description { state: "default" 0.0;
5308                rel1.relative: 0.000000000 0.0;
5309                rel2.relative: 0.181818182 1.0;
5310             }
5311          }
5312          part { name: "d1";
5313             type: SWALLOW;
5314             description { state: "default" 0.0;
5315                rel1.relative: 0.181818182 0.0;
5316                rel2.relative: 0.363636364 1.0;
5317             }
5318          }
5319          part { name: "c0";
5320             type: SWALLOW;
5321             type: TEXT;
5322             mouse_events:  0;
5323             scale: 1;
5324             description { state: "default" 0.0;
5325                rel1.relative: 0.363636364 0.0;
5326                rel2.relative: 0.454545455 1.0;
5327                color: 0 0 0 255;
5328                text {
5329                   font:     "Sans,Edje-Vera";
5330                   text:     ":";
5331                   size:     10;
5332                   min:      1 1;
5333                   align:    0.5 0.5;
5334                }
5335             }
5336          }
5337          part { name: "d2";
5338             type: SWALLOW;
5339             description { state: "default" 0.0;
5340                rel1.relative: 0.454545455 0.0;
5341                rel2.relative: 0.636363636 1.0;
5342             }
5343          }
5344          part { name: "d3";
5345             type: SWALLOW;
5346             description { state: "default" 0.0;
5347                rel1.relative: 0.636363636 0.0;
5348                rel2.relative: 0.818181818 1.0;
5349             }
5350          }
5351          // (if am_pm)
5352          part { name: "ampm";
5353             type: SWALLOW;
5354             description { state: "default" 0.0;
5355                rel1.relative: 0.818181818 0.0;
5356                rel2.relative: 1.0 1.0;
5357             }
5358          }
5359       }
5360    }
5361
5362 ///////////////////////////////////////////////////////////////////////////////
5363    group { name: "elm/clock/base/default";
5364       parts {
5365          part { name: "d0";
5366             type: SWALLOW;
5367             description { state: "default" 0.0;
5368                rel1.relative: 0.000000000 0.0;
5369                rel2.relative: 0.222222222 1.0;
5370             }
5371          }
5372          part { name: "d1";
5373             type: SWALLOW;
5374             description { state: "default" 0.0;
5375                rel1.relative: 0.222222222 0.0;
5376                rel2.relative: 0.444444444 1.0;
5377             }
5378          }
5379          part { name: "c0";
5380             type: SWALLOW;
5381             type: TEXT;
5382             mouse_events:  0;
5383             scale: 1;
5384             description { state: "default" 0.0;
5385                rel1.relative: 0.444444444 0.0;
5386                rel2.relative: 0.555555556 1.0;
5387                color: 0 0 0 255;
5388                text {
5389                   font:     "Sans,Edje-Vera";
5390                   text:     ":";
5391                   size:     10;
5392                   min:      1 1;
5393                   align:    0.5 0.5;
5394                }
5395             }
5396          }
5397          part { name: "d2";
5398             type: SWALLOW;
5399             description { state: "default" 0.0;
5400                rel1.relative: 0.555555556 0.0;
5401                rel2.relative: 0.777777778 1.0;
5402             }
5403          }
5404          part { name: "d3";
5405             type: SWALLOW;
5406             description { state: "default" 0.0;
5407                rel1.relative: 0.777777778 0.0;
5408                rel2.relative: 1.000000000 1.0;
5409             }
5410          }
5411       }
5412    }
5413
5414 ///////////////////////////////////////////////////////////////////////////////
5415    group { name: "elm/frame/base/default";
5416        images {
5417            image: "frame_1.png" COMP;
5418            image: "frame_2.png" COMP;
5419            image: "dia_grad.png" COMP;
5420        }
5421        parts {
5422            part { name: "base0";
5423                mouse_events:  0;
5424                description { state: "default" 0.0;
5425                    image.normal: "dia_grad.png";
5426                    rel1.to: "over";
5427                    rel2.to: "over";
5428                    fill {
5429                        smooth: 0;
5430                        size {
5431                            relative: 0.0 1.0;
5432                            offset: 64 0;
5433                        }
5434                    }
5435                }
5436            }
5437            part { name: "base";
5438                mouse_events:  0;
5439                description { state:    "default" 0.0;
5440                    rel2.to: "elm.swallow.content";
5441                    rel2.offset: 9 9;
5442                    image {
5443                        normal: "frame_2.png";
5444                        border: 5 5 32 26;
5445                        middle: 0;
5446                    }
5447                    fill.smooth : 0;
5448                }
5449            }
5450            part { name: "elm.text";
5451                type: TEXT;
5452                mouse_events:   0;
5453                scale: 1;
5454                description { state: "default" 0.0;
5455                    align: 0.0 0.0;
5456                    fixed: 0 1;
5457                    rel1 {
5458                        relative: 0.0 0.0;
5459                        offset: 6 6;
5460                    }
5461                    rel2 {
5462                        relative: 1.0 0.0;
5463                        offset: -7 6;
5464                    }
5465                    color: 0 0 0 64;
5466                    text {
5467                        font: "Sans:style=Bold,Edje-Vera-Bold";
5468                        size: 10;
5469                        min: 1 1;
5470                        max: 1 1;
5471                        align: 0.0 0.0;
5472                    }
5473                }
5474            }
5475            part { name: "over";
5476                mouse_events:  0;
5477                description { state:    "default" 0.0;
5478                    rel1.offset: 4 4;
5479                    rel2.to: "elm.swallow.content";
5480                    rel2.offset: 5 5;
5481                    image {
5482                        normal: "frame_1.png";
5483                        border: 2 2 28 22;
5484                        middle: 0;
5485                    }
5486                    fill.smooth : 0;
5487                }
5488            }
5489            part { name: "elm.swallow.content";
5490                type: SWALLOW;
5491                description { state: "default" 0.0;
5492                    align: 0.0 0.0;
5493                    rel1 {
5494                        to_y: "elm.text";
5495                        relative: 0.0 1.0;
5496                        offset: 8 2;
5497                    }
5498                    rel2.offset: -9 -9;
5499                }
5500            }
5501        }
5502    }
5503
5504    group { name: "elm/frame/base/pad_small";
5505        parts {
5506            part { name: "b0";
5507                mouse_events:  0;
5508                type: RECT;
5509                scale: 1;
5510                description { state: "default" 0.0;
5511                    visible: 0;
5512                    min: 4 4;
5513                    max: 4 4;
5514                    align: 0.0 0.0;
5515                }
5516            }
5517            part { name: "b1";
5518                mouse_events:  0;
5519                type: RECT;
5520                scale: 1;
5521                description { state: "default" 0.0;
5522                    visible: 0;
5523                    min: 4 4;
5524                    max: 4 4;
5525                    align: 1.0 1.0;
5526                }
5527            }
5528            part { name: "elm.swallow.content";
5529                type: SWALLOW;
5530                description { state: "default" 0.0;
5531                    rel1 {
5532                        to: "b0";
5533                        relative: 1.0 1.0;
5534                        offset: 0 0;
5535                    }
5536                    rel2 {
5537                        to: "b1";
5538                        relative: 0.0 0.0;
5539                        offset: -1 -1;
5540                    }
5541                }
5542            }
5543        }
5544    }
5545
5546    group { name: "elm/frame/base/pad_medium";
5547        parts {
5548            part { name: "b0";
5549                mouse_events:  0;
5550                type: RECT;
5551                scale: 1;
5552                description { state: "default" 0.0;
5553                    visible: 0;
5554                    min: 8 8;
5555                    max: 8 8;
5556                    align: 0.0 0.0;
5557                }
5558            }
5559            part { name: "b1";
5560                mouse_events:  0;
5561                type: RECT;
5562                scale: 1;
5563                description { state: "default" 0.0;
5564                    visible: 0;
5565                    min: 8 8;
5566                    max: 8 8;
5567                    align: 1.0 1.0;
5568                }
5569            }
5570            part { name: "elm.swallow.content";
5571                type: SWALLOW;
5572                description { state: "default" 0.0;
5573                    rel1 {
5574                        to: "b0";
5575                        relative: 1.0 1.0;
5576                        offset: 0 0;
5577                    }
5578                    rel2 {
5579                        to: "b1";
5580                        relative: 0.0 0.0;
5581                        offset: -1 -1;
5582                    }
5583                }
5584            }
5585        }
5586    }
5587
5588    group { name: "elm/frame/base/pad_large";
5589        parts {
5590            part { name: "b0";
5591                mouse_events:  0;
5592                type: RECT;
5593                scale: 1;
5594                description { state: "default" 0.0;
5595                    visible: 0;
5596                    min: 16 16;
5597                    max: 16 16;
5598                    align: 0.0 0.0;
5599                }
5600            }
5601            part { name: "b1";
5602                mouse_events:  0;
5603                type: RECT;
5604                scale: 1;
5605                description { state: "default" 0.0;
5606                    visible: 0;
5607                    min: 16 16;
5608                    max: 16 16;
5609                    align: 1.0 1.0;
5610                }
5611            }
5612            part { name: "elm.swallow.content";
5613                type: SWALLOW;
5614                description { state: "default" 0.0;
5615                    rel1 {
5616                        to: "b0";
5617                        relative: 1.0 1.0;
5618                        offset: 0 0;
5619                    }
5620                    rel2 {
5621                        to: "b1";
5622                        relative: 0.0 0.0;
5623                        offset: -1 -1;
5624                    }
5625                }
5626            }
5627        }
5628    }
5629
5630    group { name: "elm/frame/base/pad_huge";
5631        parts {
5632            part { name: "b0";
5633                mouse_events:  0;
5634                type: RECT;
5635                scale: 1;
5636                description { state: "default" 0.0;
5637                    visible: 0;
5638                    min: 32 32;
5639                    max: 32 32;
5640                    align: 0.0 0.0;
5641                }
5642            }
5643            part { name: "b1";
5644                mouse_events:  0;
5645                type: RECT;
5646                scale: 1;
5647                description { state: "default" 0.0;
5648                    visible: 0;
5649                    min: 32 32;
5650                    max: 32 32;
5651                    align: 1.0 1.0;
5652                }
5653            }
5654            part { name: "elm.swallow.content";
5655                type: SWALLOW;
5656                description { state: "default" 0.0;
5657                    rel1 {
5658                        to: "b0";
5659                        relative: 1.0 1.0;
5660                        offset: 0 0;
5661                    }
5662                    rel2 {
5663                        to: "b1";
5664                        relative: 0.0 0.0;
5665                        offset: -1 -1;
5666                    }
5667                }
5668            }
5669        }
5670    }
5671
5672    group { name: "elm/frame/base/outdent_top";
5673        images {
5674            image: "outdent-top.png" COMP;
5675        }
5676        parts {
5677            part { name: "base0";
5678                mouse_events:  0;
5679                description { state: "default" 0.0;
5680                    image.normal: "outdent-top.png";
5681                    image.border: 0 0 0 13;
5682                    fill.smooth: 0;
5683                }
5684            }
5685            part { name: "elm.swallow.content";
5686                type: SWALLOW;
5687                description { state: "default" 0.0;
5688                    rel1.offset: 2 2;
5689                    rel2.offset: -3 -13;
5690                }
5691            }
5692        }
5693    }
5694
5695    group { name: "elm/frame/base/outdent_bottom";
5696        images {
5697            image: "outdent-bottom.png" COMP;
5698        }
5699        parts {
5700            part { name: "base0";
5701                mouse_events:  0;
5702                description { state: "default" 0.0;
5703                    image.normal: "outdent-bottom.png";
5704                    image.border: 0 0 13 0;
5705                    fill.smooth: 0;
5706                }
5707            }
5708            part { name: "elm.swallow.content";
5709                type: SWALLOW;
5710                description { state: "default" 0.0;
5711                    rel1.offset: 2 12;
5712                    rel2.offset: -3 -3;
5713                }
5714            }
5715        }
5716    }
5717
5718 ///////////////////////////////////////////////////////////////////////////////
5719    group { name: "elm/label/base/tooltip";
5720       styles {
5721          style { name: "tooltip_style";
5722             base: "font=Sans font_size=8 color=#666 wrap=word";
5723             tag:  "br" "\n";
5724             tag:  "hilight" "+ font=Sans:style=Bold";
5725             tag:  "b" "+ font=Sans:style=Bold";
5726             tag:  "tab" "\t";
5727          }
5728       }
5729       parts {
5730          part { name: "elm.text";
5731             type: TEXTBLOCK;
5732             mouse_events: 0;
5733             scale: 1;
5734             description { state: "default" 0.0;
5735                text {
5736                   style: "tooltip_style";
5737                   min: 1 1;
5738                }
5739             }
5740          }
5741       }
5742    }
5743
5744    group { name: "elm/tooltip/base/default";
5745        min: 30 30;
5746        data {
5747            item: "pad_x" "20";
5748            item: "pad_y" "20";
5749            item: "pad_border_x" "10";
5750            item: "pad_border_y" "10";
5751            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5752        }
5753        images {
5754            image: "tooltip-base.png" COMP;
5755            image: "tooltip-corner-top-left-tip.png" COMP;
5756            image: "tooltip-corner-top-right-tip.png" COMP;
5757            image: "tooltip-corner-bottom-left-tip.png" COMP;
5758            image: "tooltip-corner-bottom-right-tip.png" COMP;
5759            image: "tooltip-edge-left-tip.png" COMP;
5760            image: "tooltip-edge-right-tip.png" COMP;
5761            image: "tooltip-edge-bottom-tip.png" COMP;
5762            image: "tooltip-edge-top-tip.png" COMP;
5763        }
5764        script {
5765           hide_corners() {
5766              set_state(PART:"corner-top-left", "default", 0.0);
5767              set_state(PART:"corner-top-right", "default", 0.0);
5768              set_state(PART:"corner-bottom-left", "default", 0.0);
5769              set_state(PART:"corner-bottom-right", "default", 0.0);
5770           }
5771           hide_edges() {
5772              set_state(PART:"clipper-edge-left", "default", 0.0);
5773              set_state(PART:"clipper-edge-right", "default", 0.0);
5774              set_state(PART:"clipper-edge-top", "default", 0.0);
5775              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5776           }
5777
5778           show_corner_top_left() {
5779              set_state(PART:"corner-top-left", "visible", 0.0);
5780
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784              hide_edges();
5785           }
5786           show_corner_top_right() {
5787              set_state(PART:"corner-top-right", "visible", 0.0);
5788
5789              set_state(PART:"corner-top-left", "default", 0.0);
5790              set_state(PART:"corner-bottom-left", "default", 0.0);
5791              set_state(PART:"corner-bottom-right", "default", 0.0);
5792              hide_edges();
5793           }
5794
5795           show_corner_bottom_left() {
5796              set_state(PART:"corner-bottom-left", "visible", 0.0);
5797
5798              set_state(PART:"corner-bottom-right", "default", 0.0);
5799              set_state(PART:"corner-top-left", "default", 0.0);
5800              set_state(PART:"corner-top-right", "default", 0.0);
5801              hide_edges();
5802           }
5803           show_corner_bottom_right() {
5804              set_state(PART:"corner-bottom-right", "visible", 0.0);
5805
5806              set_state(PART:"corner-bottom-left", "default", 0.0);
5807              set_state(PART:"corner-top-left", "default", 0.0);
5808              set_state(PART:"corner-top-right", "default", 0.0);
5809              hide_edges();
5810           }
5811
5812           show_edge_left(Float:val) {
5813              set_state(PART:"clipper-edge-left", "visible", 0.0);
5814              set_drag(PART:"edge-drag-left", 0.0, val);
5815
5816              set_state(PART:"clipper-edge-right", "default", 0.0);
5817              set_state(PART:"clipper-edge-top", "default", 0.0);
5818              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5819              hide_corners();
5820           }
5821           show_edge_right(Float:val) {
5822              set_state(PART:"clipper-edge-right", "visible", 0.0);
5823              set_drag(PART:"edge-drag-right", 0.0, val);
5824
5825              set_state(PART:"clipper-edge-left", "default", 0.0);
5826              set_state(PART:"clipper-edge-top", "default", 0.0);
5827              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5828              hide_corners();
5829           }
5830
5831           show_edge_top(Float:val) {
5832              set_state(PART:"clipper-edge-top", "visible", 0.0);
5833              set_drag(PART:"edge-drag-top", val, 0.0);
5834
5835              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5836              set_state(PART:"clipper-edge-left", "default", 0.0);
5837              set_state(PART:"clipper-edge-right", "default", 0.0);
5838              hide_corners();
5839           }
5840           show_edge_bottom(Float:val) {
5841              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5842              set_drag(PART:"edge-drag-bottom", val, 0.0);
5843
5844              set_state(PART:"clipper-edge-top", "default", 0.0);
5845              set_state(PART:"clipper-edge-left", "default", 0.0);
5846              set_state(PART:"clipper-edge-right", "default", 0.0);
5847              hide_corners();
5848           }
5849
5850           public message(Msg_Type:type, id, ...) {
5851              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5852                 new Float:x, Float:y;
5853
5854                 x = getfarg(2);
5855                 y = getfarg(3);
5856
5857                 if (x < 0.0)
5858                   {
5859                      if (y < 0.0)      show_corner_top_left();
5860                      else if (y > 1.0) show_corner_bottom_left();
5861                      else              show_edge_left(y);
5862                   }
5863                 else if (x > 1.0)
5864                   {
5865                      if (y < 0.0)      show_corner_top_right();
5866                      else if (y > 1.0) show_corner_bottom_right();
5867                      else              show_edge_right(y);
5868                   }
5869                 else
5870                   {
5871                      if (y < 0.0)      show_edge_top(x);
5872                      else if (y > 1.0) show_edge_bottom(x);
5873                      else
5874                        {
5875                           hide_corners();
5876                           hide_edges();
5877                        }
5878                   }
5879              }
5880           }
5881        }
5882        parts {
5883            part { name: "clipper";
5884                type: RECT;
5885                description { state: "default" 0.0;
5886                    color: 255 255 255 0;
5887                    rel1.to: "elm.swallow.content";
5888                    rel1.offset: -64 -64;
5889                    rel2.to: "elm.swallow.content";
5890                    rel2.offset: 63 63;
5891                }
5892                description { state: "visible" 0.0;
5893                    inherit: "default" 0.0;
5894                    color: 255 255 255 255;
5895                }
5896            }
5897            part { name: "pop";
5898                mouse_events: 0;
5899                clip_to: "clipper";
5900                description { state: "default" 0.0;
5901                    min: 30 30;
5902                    rel1 {
5903                        to: "elm.swallow.content";
5904                        offset: -15 -15;
5905                    }
5906                    rel2 {
5907                        to: "elm.swallow.content";
5908                        offset: 14 14;
5909                    }
5910                    image {
5911                        normal: "tooltip-base.png";
5912                        border: 14 14 14 14;
5913                    }
5914                    image.middle: SOLID;
5915                }
5916            }
5917
5918 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5919            part { name: "corner-"name_;                                 \
5920               type: IMAGE;                                              \
5921               mouse_events: 0;                                          \
5922               clip_to: "clipper";                                       \
5923               description { state: "default" 0.0;                       \
5924                  color: 255 255 255 0;                                  \
5925                  visible: 0;                                            \
5926                  min: 14 14;                                            \
5927                  max: 14 14;                                            \
5928                  align: ax ay;                                          \
5929                  fixed: 1 1;                                            \
5930                  rel1 {                                                 \
5931                     relative: rx ry;                                    \
5932                     offset: ox oy;                                      \
5933                     to: "elm.swallow.content";                          \
5934                  }                                                      \
5935                  rel2 {                                                 \
5936                     relative: rx ry;                                    \
5937                     offset: ox oy;                                      \
5938                     to: "elm.swallow.content";                          \
5939                  }                                                      \
5940                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5941               }                                                         \
5942               description { state: "visible" 0.0;                       \
5943                  inherit: "default" 0.0;                                \
5944                  color: 255 255 255 255;                                \
5945                  visible: 1;                                            \
5946               }                                                         \
5947            }
5948            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5949            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5950            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5951            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5952 #undef TT_CORNER
5953
5954 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5955            part { name: "clipper-edge-"name_;                           \
5956               type: RECT;                                               \
5957               clip_to: "clipper";                                       \
5958               description { state: "default" 0.0;                       \
5959                  color: 255 255 255 0;                                  \
5960                  visible: 0;                                            \
5961                  min: 14 14;                                            \
5962                  align: ax 0.5;                                         \
5963                  fixed: 1 1;                                            \
5964                  rel1 {                                                 \
5965                     relative: rx 0.0;                                   \
5966                     offset: ox 0;                                       \
5967                     to: "elm.swallow.content";                          \
5968                  }                                                      \
5969                  rel2 {                                                 \
5970                     relative: rx 1.0;                                   \
5971                     offset: ox 0;                                       \
5972                     to: "elm.swallow.content";                          \
5973                  }                                                      \
5974               }                                                         \
5975               description { state: "visible" 0.0;                       \
5976                  inherit: "default" 0.0;                                \
5977                  color: 255 255 255 255;                                \
5978                  visible: 1;                                            \
5979               }                                                         \
5980            }                                                            \
5981            part { name: "edge-area-"name_;                              \
5982               type: RECT;                                               \
5983               mouse_events: 0;                                          \
5984               clip_to: "clipper-edge-"name_;                            \
5985               description { state: "default" 0.0;                       \
5986                  color: 0 0 0 0;                                        \
5987                  min: 14 14;                                            \
5988                  align: ax 0.5;                                         \
5989                  fixed: 1 1;                                            \
5990                  rel1 {                                                 \
5991                     relative: rx 0.0;                                   \
5992                     offset: ox 0;                                       \
5993                     to: "elm.swallow.content";                          \
5994                  }                                                      \
5995                  rel2 {                                                 \
5996                     relative: rx 1.0;                                   \
5997                     offset: ox 0;                                       \
5998                     to: "elm.swallow.content";                          \
5999                  }                                                      \
6000               }                                                         \
6001            }                                                            \
6002            part { name: "edge-drag-"name_;                              \
6003               type: RECT;                                               \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper-edge-"name_;                            \
6006               dragable {                                                \
6007                   x: 0 0 0;                                             \
6008                   y: 1 1 0;                                             \
6009                   confine: "edge-area-"name_;                           \
6010               }                                                         \
6011               description { state: "default" 0.0;                       \
6012                  color: 0 0 0 0;                                        \
6013                  min: 14 14;                                            \
6014                  rel1.to: "edge-area-"name_;                            \
6015                  rel2.to: "edge-area-"name_;                            \
6016               }                                                         \
6017            }                                                            \
6018            part { name: "edge-img-"name_;                               \
6019               type: IMAGE;                                              \
6020               mouse_events: 0;                                          \
6021               clip_to: "clipper-edge-"name_;                            \
6022               description { state: "default" 0.0;                       \
6023                  min: 14 14;                                            \
6024                  max: 14 14;                                            \
6025                  align: ax 0.5;                                         \
6026                  fixed: 1 1;                                            \
6027                  rel1.to: "edge-drag-"name_;                            \
6028                  rel2.to: "edge-drag-"name_;                            \
6029                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6030               }                                                         \
6031            }
6032            TT_EDGE_VERT("left", 0, 1, -2);
6033            TT_EDGE_VERT("right", 1, 0, 1);
6034 #undef TT_EDGE_VERT
6035
6036 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6037            part { name: "clipper-edge-"name_;                           \
6038               type: RECT;                                               \
6039               clip_to: "clipper";                                       \
6040               description { state: "default" 0.0;                       \
6041                  color: 255 255 255 0;                                  \
6042                  visible: 0;                                            \
6043                  min: 14 14;                                            \
6044                  align: 0.5 ay;                                         \
6045                  fixed: 1 1;                                            \
6046                  rel1 {                                                 \
6047                     relative: 0.0 ry;                                   \
6048                     offset: 0 oy;                                       \
6049                     to: "elm.swallow.content";                          \
6050                  }                                                      \
6051                  rel2 {                                                 \
6052                     relative: 1.0 ry;                                   \
6053                     offset: 0 oy;                                       \
6054                     to: "elm.swallow.content";                          \
6055                  }                                                      \
6056               }                                                         \
6057               description { state: "visible" 0.0;                       \
6058                  inherit: "default" 0.0;                                \
6059                  color: 255 255 255 255;                                \
6060                  visible: 1;                                            \
6061               }                                                         \
6062            }                                                            \
6063            part { name: "edge-area-"name_;                              \
6064               type: RECT;                                               \
6065               mouse_events: 0;                                          \
6066               clip_to: "clipper-edge-"name_;                            \
6067               description { state: "default" 0.0;                       \
6068                  color: 0 0 0 0;                                        \
6069                  min: 14 14;                                            \
6070                  align: 0.5 ay;                                         \
6071                  fixed: 1 1;                                            \
6072                  rel1 {                                                 \
6073                     relative: 0.0 ry;                                   \
6074                     offset: 0 oy;                                       \
6075                     to: "elm.swallow.content";                          \
6076                  }                                                      \
6077                  rel2 {                                                 \
6078                     relative: 1.0 ry;                                   \
6079                     offset: 0 oy;                                       \
6080                     to: "elm.swallow.content";                          \
6081                  }                                                      \
6082               }                                                         \
6083            }                                                            \
6084            part { name: "edge-drag-"name_;                              \
6085               type: RECT;                                               \
6086               mouse_events: 0;                                          \
6087               clip_to: "clipper-edge-"name_;                            \
6088               dragable {                                                \
6089                   x: 1 1 0;                                             \
6090                   y: 0 0 0;                                             \
6091                   confine: "edge-area-"name_;                           \
6092               }                                                         \
6093               description { state: "default" 0.0;                       \
6094                  color: 0 0 0 0;                                        \
6095                  min: 14 14;                                            \
6096                  rel1.to: "edge-area-"name_;                            \
6097                  rel2.to: "edge-area-"name_;                            \
6098               }                                                         \
6099            }                                                            \
6100            part { name: "edge-img-"name_;                               \
6101               type: IMAGE;                                              \
6102               mouse_events: 0;                                          \
6103               clip_to: "clipper-edge-"name_;                            \
6104               description { state: "default" 0.0;                       \
6105                  min: 14 14;                                            \
6106                  max: 14 14;                                            \
6107                  align: 0.5 ay;                                         \
6108                  fixed: 1 1;                                            \
6109                  rel1.to: "edge-drag-"name_;                            \
6110                  rel2.to: "edge-drag-"name_;                            \
6111                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6112               }                                                         \
6113            }
6114            TT_EDGE_HORIZ("top", 0, 1, -2);
6115            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6116 #undef TT_EDGE_HORIZ
6117
6118            part { name: "clipper_content";
6119                type: RECT;
6120                description { state: "default" 0.0;
6121                    color: 255 255 255 0;
6122                    rel1.to: "elm.swallow.content";
6123                    rel1.offset: -64 -64;
6124                    rel2.to: "elm.swallow.content";
6125                    rel2.offset: 63 63;
6126                }
6127                description { state: "visible" 0.0;
6128                    inherit: "default" 0.0;
6129                    color: 255 255 255 255;
6130                }
6131            }
6132            part { name: "elm.swallow.content";
6133                type: SWALLOW;
6134                clip_to: "clipper_content";
6135                description { state: "default" 0.0; }
6136            }
6137            programs {
6138                program {
6139                    name: "show0";
6140                    signal: "elm,action,show";
6141                    source: "elm";
6142                    action: ACTION_STOP;
6143                    target: "hide0";
6144                    target: "hide1";
6145                    target: "hide2";
6146                    target: "hide3";
6147                    after: "show1";
6148                    after: "show2";
6149                }
6150                program {
6151                    name: "show1";
6152                    action: STATE_SET "visible" 0.0;
6153                    transition: LINEAR 0.15;
6154                    target: "clipper";
6155                }
6156                program {
6157                    name: "show2";
6158                    in: 0.1 0.0;
6159                    action: STATE_SET "visible" 0.0;
6160                    transition: LINEAR 0.15;
6161                    target: "clipper_content";
6162                }
6163
6164                program {
6165                    name: "hide0";
6166                    signal: "elm,action,hide";
6167                    source: "elm";
6168                    action: ACTION_STOP;
6169                    target: "show0";
6170                    target: "show1";
6171                    target: "show2";
6172                    after: "hide1";
6173                    after: "hide2";
6174                    after: "hide3";
6175                }
6176                program {
6177                    name: "hide1";
6178                    script {
6179                       hide_corners();
6180                       hide_edges();
6181                    }
6182                }
6183                program {
6184                    name: "hide2";
6185                    action: STATE_SET "default" 0.0;
6186                    transition: LINEAR 0.1;
6187                    target: "clipper_content";
6188                }
6189                program {
6190                    name: "hide3";
6191                    in: 0.1 0.0;
6192                    action: STATE_SET "default" 0.0;
6193                    transition: LINEAR 0.1;
6194                    target: "clipper";
6195                }
6196            }
6197        }
6198    }
6199    group { name: "elm/tooltip/base/transparent";
6200       parts {
6201          part { name: "elm.swallow.content";
6202             type: SWALLOW;
6203             mouse_events:   0;
6204             scale: 1;
6205             description { state: "default" 0.0; }
6206          }
6207       }
6208    }
6209
6210 ///////////////////////////////////////////////////////////////////////////////
6211
6212    /* TODO: replicate diagonal swallow slots to the other hover styles */
6213    group { name: "elm/hover/base/default";
6214       images {
6215          image: "shad_circ.png" COMP;
6216       }
6217       parts {
6218          part { name: "elm.swallow.offset";
6219             type: SWALLOW;
6220             description { state: "default" 0.0;
6221                align: 0.0 0.0;
6222                rel1.relative: 0.0 0.0;
6223                rel2.relative: 0.0 0.0;
6224             }
6225          }
6226          part { name: "elm.swallow.size";
6227             type: SWALLOW;
6228             description { state: "default" 0.0;
6229                align: 0.0 0.0;
6230                rel1.to: "elm.swallow.offset";
6231                rel1.relative: 1.0 1.0;
6232                rel2.to: "elm.swallow.offset";
6233                rel2.relative: 1.0 1.0;
6234             }
6235          }
6236          part { name: "base";
6237             type: RECT;
6238             mouse_events: 1;
6239             description { state: "default" 0.0;
6240                color: 0 0 0 64;
6241             }
6242          }
6243          part { name: "shad";
6244             mouse_events:  0;
6245             description { state: "default" 0.0;
6246                image.normal: "shad_circ.png";
6247                rel1.to: "elm.swallow.size";
6248                rel1.offset: -32 -32;
6249                rel2.to: "elm.swallow.size";
6250                rel2.offset: 31 31;
6251                fill.smooth: 0;
6252             }
6253          }
6254          part { name: "box";
6255             type: RECT;
6256             mouse_events: 0;
6257             description { state: "default" 0.0;
6258                color: 0 0 0 0;
6259                rel1.to: "elm.swallow.size";
6260                rel1.offset: -2 -2;
6261                rel2.to: "elm.swallow.size";
6262                rel2.offset: 1 1;
6263             }
6264          }
6265          part { name: "elm.swallow.slot.left";
6266             type: SWALLOW;
6267             description { state: "default" 0.0;
6268                align: 1.0 0.5;
6269                rel1.to: "elm.swallow.slot.middle";
6270                rel1.relative: 0.0 0.0;
6271                rel1.offset: -1 0;
6272                rel2.to: "elm.swallow.slot.middle";
6273                rel2.relative: 0.0 1.0;
6274                rel2.offset: -1 -1;
6275             }
6276          }
6277          part { name: "elm.swallow.slot.top-left";
6278             type: SWALLOW;
6279             description { state: "default" 0.0;
6280                align: 1.0 1.0;
6281                rel1.to: "elm.swallow.slot.middle";
6282                rel1.relative: 0.0 0.0;
6283                rel1.offset: 0 0;
6284                rel2.to: "elm.swallow.slot.middle";
6285                rel2.relative: 0.0 0.0;
6286                rel2.offset: -1 -1;
6287             }
6288          }
6289          part { name: "elm.swallow.slot.top";
6290             type: SWALLOW;
6291             description { state: "default" 0.0;
6292                align: 0.5 1.0;
6293                rel1.to: "elm.swallow.slot.middle";
6294                rel1.relative: 0.0 0.0;
6295                rel1.offset: 0 -1;
6296                rel2.to: "elm.swallow.slot.middle";
6297                rel2.relative: 1.0 0.0;
6298                rel2.offset: -1 -1;
6299             }
6300          }
6301          part { name: "elm.swallow.slot.top-right";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 1.0;
6305                rel1.to: "elm.swallow.slot.middle";
6306                rel1.relative: 1.0 0.0;
6307                rel1.offset: 0 0;
6308                rel2.to: "elm.swallow.slot.middle";
6309                rel2.relative: 1.0 0.0;
6310                rel2.offset: -1 -1;
6311             }
6312          }
6313          part { name: "elm.swallow.slot.right";
6314             type: SWALLOW;
6315             description { state: "default" 0.0;
6316                align: 0.0 0.5;
6317                rel1.to: "elm.swallow.slot.middle";
6318                rel1.relative: 1.0 0.0;
6319                rel1.offset: 0 0;
6320                rel2.to: "elm.swallow.slot.middle";
6321                rel2.relative: 1.0 1.0;
6322                rel2.offset: 0 -1;
6323             }
6324          }
6325          part { name: "elm.swallow.slot.bottom-right";
6326             type: SWALLOW;
6327             description { state: "default" 0.0;
6328                align: 0.0 0.0;
6329                rel1.to: "elm.swallow.slot.middle";
6330                rel1.relative: 1.0 1.0;
6331                rel1.offset: 0 0;
6332                rel2.to: "elm.swallow.slot.middle";
6333                rel2.relative: 1.0 1.0;
6334                rel2.offset: -1 -1;
6335             }
6336          }
6337          part { name: "elm.swallow.slot.bottom";
6338             type: SWALLOW;
6339             description { state: "default" 0.0;
6340                align: 0.5 0.0;
6341                rel1.to: "elm.swallow.slot.middle";
6342                rel1.relative: 0.0 1.0;
6343                rel1.offset: 0 0;
6344                rel2.to: "elm.swallow.slot.middle";
6345                rel2.relative: 1.0 1.0;
6346                rel2.offset: -1 0;
6347             }
6348          }
6349          part { name: "elm.swallow.slot.bottom-left";
6350             type: SWALLOW;
6351             description { state: "default" 0.0;
6352                align: 1.0 0.0;
6353                rel1.to: "elm.swallow.slot.middle";
6354                rel1.relative: 0.0 1.0;
6355                rel1.offset: 0 0;
6356                rel2.to: "elm.swallow.slot.middle";
6357                rel2.relative: 0.0 1.0;
6358                rel2.offset: -1 0;
6359             }
6360          }
6361          part { name: "elm.swallow.slot.middle";
6362             type: SWALLOW;
6363             description { state: "default" 0.0;
6364                rel1.to: "elm.swallow.size";
6365                rel2.to: "elm.swallow.size";
6366             }
6367          }
6368       }
6369       programs {
6370          program { name: "end";
6371             signal: "mouse,up,1";
6372             source: "base";
6373             action: SIGNAL_EMIT "elm,action,dismiss" "";
6374          }
6375       }
6376    }
6377
6378    group { name: "elm/hover/base/popout";
6379       images {
6380          image: "shad_circ.png" COMP;
6381          image: "bt_dis_base.png" COMP;
6382          image: "bt_dis_hilight.png" COMP;
6383       }
6384       parts {
6385          part { name: "elm.swallow.offset";
6386             type: SWALLOW;
6387             description { state: "default" 0.0;
6388                align: 0.0 0.0;
6389                rel1.relative: 0.0 0.0;
6390                rel2.relative: 0.0 0.0;
6391             }
6392          }
6393          part { name: "elm.swallow.size";
6394             type: SWALLOW;
6395             description { state: "default" 0.0;
6396                align: 0.0 0.0;
6397                rel1.to: "elm.swallow.offset";
6398                rel1.relative: 1.0 1.0;
6399                rel2.to: "elm.swallow.offset";
6400                rel2.relative: 1.0 1.0;
6401             }
6402          }
6403          part { name: "base";
6404             type: RECT;
6405             mouse_events: 1;
6406             description { state: "default" 0.0;
6407                color: 0 0 0 0;
6408             }
6409             description { state: "visible" 0.0;
6410                inherit: "default" 1.0;
6411                color: 0 0 0 64;
6412             }
6413          }
6414          part { name: "leftclip";
6415             type: RECT;
6416             description { state: "default" 0.0;
6417                rel2.to_x: "pop";
6418                rel2.relative: 0.0 1.0;
6419                rel2.offset: 1 -1;
6420             }
6421          }
6422          part { name: "left";
6423             clip_to: "leftclip";
6424             description { state: "default" 0.0;
6425                visible: 0;
6426                rel1.to: "elm.swallow.slot.left";
6427                rel1.offset: -5 -5;
6428                rel2.to: "elm.swallow.slot.left";
6429                rel2.offset: 4 4;
6430                image {
6431                   normal: "bt_dis_base.png";
6432                   border: 4 4 4 4;
6433                }
6434                image.middle: SOLID;
6435             }
6436             description { state: "visible" 0.0;
6437                inherit: "default" 0.0;
6438                visible: 1;
6439             }
6440          }
6441          part { name: "elm.swallow.slot.left";
6442             type: SWALLOW;
6443             clip_to: "leftclip";
6444             description { state: "default" 0.0;
6445                align: 0.0 0.5;
6446                rel1.to: "elm.swallow.slot.middle";
6447                rel1.relative: 0.0 0.0;
6448                rel1.offset: -1 0;
6449                rel2.to: "elm.swallow.slot.middle";
6450                rel2.relative: 0.0 1.0;
6451                rel2.offset: -1 -1;
6452             }
6453             description { state: "visible" 0.0;
6454                inherit: "default" 0.0;
6455                rel1.offset: -7 0;
6456                rel2.offset: -7 -1;
6457                align: 1.0 0.5;
6458             }
6459          }
6460          part { name: "leftover";
6461             clip_to: "leftclip";
6462             mouse_events: 0;
6463             description { state: "default" 0.0;
6464                rel1.to: "left";
6465                rel2.to: "left";
6466                rel2.relative: 1.0 0.5;
6467                image {
6468                   normal: "bt_dis_hilight.png";
6469                   border: 4 4 4 0;
6470                }
6471             }
6472          }
6473          part { name: "rightclip";
6474             type: RECT;
6475             description { state: "default" 0.0;
6476                rel1.to_x: "pop";
6477                rel1.relative: 1.0 0.0;
6478                rel1.offset: -2 0;
6479             }
6480          }
6481          part { name: "right";
6482             clip_to: "rightclip";
6483             description { state: "default" 0.0;
6484                visible: 0;
6485                rel1.to: "elm.swallow.slot.right";
6486                rel1.offset: -5 -5;
6487                rel2.to: "elm.swallow.slot.right";
6488                rel2.offset: 4 4;
6489                image {
6490                   normal: "bt_dis_base.png";
6491                   border: 4 4 4 4;
6492                }
6493                image.middle: SOLID;
6494             }
6495             description { state: "visible" 0.0;
6496                inherit: "default" 0.0;
6497                visible: 1;
6498             }
6499          }
6500          part { name: "elm.swallow.slot.right";
6501             type: SWALLOW;
6502             clip_to: "rightclip";
6503             description { state: "default" 0.0;
6504                align: 1.0 0.5;
6505                rel1.to: "elm.swallow.slot.middle";
6506                rel1.relative: 1.0 0.0;
6507                rel1.offset: 0 0;
6508                rel2.to: "elm.swallow.slot.middle";
6509                rel2.relative: 1.0 1.0;
6510                rel2.offset: 0 -1;
6511             }
6512             description { state: "visible" 0.0;
6513                inherit: "default" 0.0;
6514                rel1.offset: 6 0;
6515                rel2.offset: 6 -1;
6516                align: 0.0 0.5;
6517             }
6518          }
6519          part { name: "rightover";
6520             clip_to: "rightclip";
6521             mouse_events: 0;
6522             description { state: "default" 0.0;
6523                rel1.to: "right";
6524                rel2.to: "right";
6525                rel2.relative: 1.0 0.5;
6526                image {
6527                   normal: "bt_dis_hilight.png";
6528                   border: 4 4 4 0;
6529                }
6530             }
6531          }
6532          part { name: "topclip";
6533             type: RECT;
6534             description { state: "default" 0.0;
6535                rel2.to_y: "pop";
6536                rel2.relative: 1.0 0.0;
6537                rel2.offset: -1 1;
6538             }
6539          }
6540          part { name: "top";
6541             clip_to: "topclip";
6542             description { state: "default" 0.0;
6543                visible: 0;
6544                rel1.to: "elm.swallow.slot.top";
6545                rel1.offset: -5 -5;
6546                rel2.to: "elm.swallow.slot.top";
6547                rel2.offset: 4 4;
6548                image {
6549                   normal: "bt_dis_base.png";
6550                   border: 4 4 4 4;
6551                }
6552                image.middle: SOLID;
6553             }
6554             description { state: "visible" 0.0;
6555                inherit: "default" 0.0;
6556                visible: 1;
6557             }
6558          }
6559          part { name: "elm.swallow.slot.top";
6560             type: SWALLOW;
6561             clip_to: "topclip";
6562             description { state: "default" 0.0;
6563                visible: 1;
6564                align: 0.5 0.0;
6565                rel1.to: "elm.swallow.slot.middle";
6566                rel1.relative: 0.0 0.0;
6567                rel1.offset: 0 -1;
6568                rel2.to: "elm.swallow.slot.middle";
6569                rel2.relative: 1.0 0.0;
6570                rel2.offset: -1 -1;
6571             }
6572             description { state: "visible" 0.0;
6573                inherit: "default" 0.0;
6574                rel1.offset: 0 -7;
6575                rel2.offset: -1 -7;
6576                align: 0.5 1.0;
6577             }
6578          }
6579          part { name: "topover";
6580             clip_to: "topclip";
6581             mouse_events: 0;
6582             description { state: "default" 0.0;
6583                rel1.to: "top";
6584                rel2.to: "top";
6585                rel2.relative: 1.0 0.5;
6586                image {
6587                   normal: "bt_dis_hilight.png";
6588                   border: 4 4 4 0;
6589                }
6590             }
6591          }
6592          part { name: "bottomclip";
6593             type: RECT;
6594             description { state: "default" 0.0;
6595                rel1.to_y: "pop";
6596                rel1.relative: 0.0 1.0;
6597                rel1.offset: -1 -2;
6598             }
6599          }
6600          part { name: "bottom";
6601             clip_to: "bottomclip";
6602             description { state: "default" 0.0;
6603                visible: 0;
6604                rel1.to: "elm.swallow.slot.bottom";
6605                rel1.offset: -5 -5;
6606                rel2.to: "elm.swallow.slot.bottom";
6607                rel2.offset: 4 4;
6608                image {
6609                   normal: "bt_dis_base.png";
6610                   border: 4 4 4 4;
6611                }
6612                image.middle: SOLID;
6613             }
6614             description { state: "visible" 0.0;
6615                inherit: "default" 0.0;
6616                visible: 1;
6617             }
6618          }
6619          part { name: "elm.swallow.slot.bottom";
6620             type: SWALLOW;
6621             clip_to: "bottomclip";
6622             description { state: "default" 0.0;
6623                align: 0.5 1.0;
6624                rel1.to: "elm.swallow.slot.middle";
6625                rel1.relative: 0.0 1.0;
6626                rel1.offset: 0 0;
6627                rel2.to: "elm.swallow.slot.middle";
6628                rel2.relative: 1.0 1.0;
6629                rel2.offset: -1 0;
6630             }
6631             description { state: "visible" 0.0;
6632                inherit: "default" 0.0;
6633                rel1.offset: 0 6;
6634                rel2.offset: -1 6;
6635                align: 0.5 0.0;
6636             }
6637          }
6638          part { name: "bottomover";
6639             clip_to: "bottomclip";
6640             mouse_events: 0;
6641             description { state: "default" 0.0;
6642                rel1.to: "bottom";
6643                rel2.to: "bottom";
6644                rel2.relative: 1.0 0.5;
6645                image {
6646                   normal: "bt_dis_hilight.png";
6647                   border: 4 4 4 0;
6648                }
6649             }
6650          }
6651          part { name: "shad";
6652             mouse_events:  0;
6653             description { state: "default" 0.0;
6654                image.normal: "shad_circ.png";
6655                rel1.to: "elm.swallow.size";
6656                rel1.offset: -64 -64;
6657                rel2.to: "elm.swallow.size";
6658                rel2.offset: 63 63;
6659                fill.smooth: 0;
6660             }
6661          }
6662          part { name: "pop";
6663             mouse_events: 1;
6664             description { state: "default" 0.0;
6665                rel1.to: "elm.swallow.slot.middle";
6666                rel1.offset: -5 -5;
6667                rel2.to: "elm.swallow.slot.middle";
6668                rel2.offset: 4 4;
6669                image {
6670                   normal: "bt_dis_base.png";
6671                   border: 4 4 4 4;
6672                }
6673                image.middle: SOLID;
6674             }
6675          }
6676          part { name: "elm.swallow.slot.middle";
6677             type: SWALLOW;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.size";
6680                rel2.to: "elm.swallow.size";
6681             }
6682          }
6683          part { name: "popover";
6684             mouse_events: 0;
6685             description { state: "default" 0.0;
6686                rel1.to: "pop";
6687                rel2.to: "pop";
6688                rel2.relative: 1.0 0.5;
6689                image {
6690                   normal: "bt_dis_hilight.png";
6691                   border: 4 4 4 0;
6692                }
6693             }
6694          }
6695       }
6696       programs {
6697          program { name: "end";
6698             signal: "mouse,up,1";
6699             source: "base";
6700             action: SIGNAL_EMIT "elm,action,dismiss" "";
6701          }
6702
6703          program { name: "show";
6704             signal: "elm,action,show";
6705             source: "elm";
6706             action: STATE_SET "visible" 0.0;
6707 //            transition: DECELERATE 0.5;
6708             target: "base";
6709          }
6710          program { name: "hide";
6711             signal: "elm,action,hide";
6712             source: "elm";
6713             action: STATE_SET "default" 0.0;
6714 //            transition: DECELERATE 0.5;
6715             target: "base";
6716          }
6717
6718          program { name: "leftshow";
6719             signal: "elm,action,slot,left,show";
6720             source: "elm";
6721             action: STATE_SET "visible" 0.0;
6722             transition: DECELERATE 0.5;
6723             target: "left";
6724             target: "elm.swallow.slot.left";
6725          }
6726          program { name: "lefthide";
6727             signal: "elm,action,slot,left,hide";
6728             source: "elm";
6729             action: STATE_SET "default" 0.0;
6730             transition: DECELERATE 0.5;
6731             target: "left";
6732             target: "elm.swallow.slot.left";
6733          }
6734          program { name: "rightshow";
6735             signal: "elm,action,slot,right,show";
6736             source: "elm";
6737             action: STATE_SET "visible" 0.0;
6738             transition: DECELERATE 0.5;
6739             target: "right";
6740             target: "elm.swallow.slot.right";
6741          }
6742          program { name: "righthide";
6743             signal: "elm,action,slot,right,hide";
6744             source: "elm";
6745             action: STATE_SET "default" 0.0;
6746             transition: DECELERATE 0.5;
6747             target: "right";
6748             target: "elm.swallow.slot.right";
6749          }
6750          program { name: "topshow";
6751             signal: "elm,action,slot,top,show";
6752             source: "elm";
6753             action: STATE_SET "visible" 0.0;
6754             transition: DECELERATE 0.5;
6755             target: "top";
6756             target: "elm.swallow.slot.top";
6757          }
6758          program { name: "tophide";
6759             signal: "elm,action,slot,top,hide";
6760             source: "elm";
6761             action: STATE_SET "default" 0.0;
6762             transition: DECELERATE 0.5;
6763             target: "top";
6764             target: "elm.swallow.slot.top";
6765          }
6766          program { name: "bottomshow";
6767             signal: "elm,action,slot,bottom,show";
6768             source: "elm";
6769             action: STATE_SET "visible" 0.0;
6770             transition: DECELERATE 0.5;
6771             target: "bottom";
6772             target: "elm.swallow.slot.bottom";
6773          }
6774          program { name: "bottomhide";
6775             signal: "elm,action,slot,bottom,hide";
6776             source: "elm";
6777             action: STATE_SET "default" 0.0;
6778             transition: DECELERATE 0.5;
6779             target: "bottom";
6780             target: "elm.swallow.slot.bottom";
6781          }
6782       }
6783    }
6784
6785    //In the hover used by the menu only the bottom part is used.
6786    group { name: "elm/hover/base/menu";
6787        images {
6788            image: "shad_circ.png" COMP;
6789            image: "bt_dis_base.png" COMP;
6790        }
6791        parts {
6792            part { name: "elm.swallow.offset";
6793                type: SWALLOW;
6794                description { state: "default" 0.0;
6795                    align: 0.0 0.0;
6796                    rel1.relative: 0.0 0.0;
6797                    rel2.relative: 0.0 0.0;
6798                }
6799            }
6800            part { name: "elm.swallow.size";
6801                type: SWALLOW;
6802                description { state: "default" 0.0;
6803                    align: 0.0 0.0;
6804                    rel1.to: "elm.swallow.offset";
6805                    rel1.relative: 1.0 1.0;
6806                    rel2.to: "elm.swallow.offset";
6807                    rel2.relative: 1.0 1.0;
6808                }
6809            }
6810            part { name: "base";
6811                type: RECT;
6812                mouse_events: 1;
6813                description { state: "default" 0.0;
6814                    color: 0 0 0 0;
6815                }
6816                description { state: "visible" 0.0;
6817                    inherit: "default" 1.0;
6818                    color: 0 0 0 64;
6819                }
6820            }
6821            part { name: "elm.swallow.slot.left";
6822                type: SWALLOW;
6823                description { state: "default" 0.0;
6824                }
6825            }
6826            part { name: "elm.swallow.slot.right";
6827                type: SWALLOW;
6828                description { state: "default" 0.0;
6829                }
6830            }
6831            part { name: "elm.swallow.slot.top";
6832                type: SWALLOW;
6833                description { state: "default" 0.0;
6834                }
6835                description { state: "visible" 0.0;
6836                    inherit: "default" 0.0;
6837                }
6838            }
6839            part { name: "bottomclip";
6840                type: RECT;
6841                description { state: "default" 0.0;
6842                    rel1.to_y: "pop";
6843                    rel1.relative: 0.0 1.0;
6844                    rel1.offset: -1 -2;
6845                }
6846            }
6847            part { name: "bottom";
6848                clip_to: "bottomclip";
6849                description { state: "default" 0.0;
6850                    visible: 0;
6851                    rel1.to: "elm.swallow.slot.bottom";
6852                    rel1.offset: -5 -5;
6853                    rel2.to: "elm.swallow.slot.bottom";
6854                    rel2.offset: 4 4;
6855                    image {
6856                        normal: "bt_dis_base.png";
6857                        border: 4 4 4 4;
6858                    }
6859                    image.middle: SOLID;
6860                }
6861                description { state: "visible" 0.0;
6862                    inherit: "default" 0.0;
6863                    visible: 1;
6864                }
6865            }
6866            part { name: "elm.swallow.slot.bottom";
6867                type: SWALLOW;
6868                clip_to: "bottomclip";
6869                description { state: "default" 0.0;
6870                    align: 0.5 1.0;
6871                    rel1.to: "elm.swallow.slot.middle";
6872                    rel1.relative: 0.0 1.0;
6873                    rel1.offset: 0 0;
6874                    rel2.to: "elm.swallow.slot.middle";
6875                    rel2.relative: 1.0 1.0;
6876                    rel2.offset: -1 0;
6877                }
6878                description { state: "visible" 0.0;
6879                    inherit: "default" 0.0;
6880                    rel1.offset: 0 6;
6881                    rel2.offset: -1 6;
6882                    align: 0.5 0.0;
6883                }
6884            }
6885            part { name: "pop";
6886                mouse_events: 1;
6887                repeat_events:1;
6888                description { state: "default" 0.0;
6889                    rel1.to: "elm.swallow.slot.middle";
6890                    rel1.offset: -5 -5;
6891                    rel2.to: "elm.swallow.slot.middle";
6892                    rel2.offset: 4 4;
6893                }
6894            }
6895            part { name: "elm.swallow.slot.middle";
6896                type: SWALLOW;
6897                repeat_events:1;
6898                description { state: "default" 0.0;
6899                    rel1.to: "elm.swallow.size";
6900                    rel2.to: "elm.swallow.size";
6901                }
6902            }
6903        }
6904        programs {
6905            program { name: "end";
6906                signal: "mouse,up,1";
6907                source: "base";
6908                action: SIGNAL_EMIT "elm,action,dismiss" "";
6909            }
6910            program { name: "show";
6911                signal: "elm,action,show";
6912                source: "elm";
6913                action: STATE_SET "visible" 0.0;
6914                        //            transition: DECELERATE 0.5;
6915                target: "base";
6916            }
6917            program { name: "hide";
6918                signal: "elm,action,hide";
6919                source: "elm";
6920                action: STATE_SET "default" 0.0;
6921                        //            transition: DECELERATE 0.5;
6922                target: "base";
6923            }
6924            program { name: "bottomshow";
6925                signal: "elm,action,slot,bottom,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                transition: DECELERATE 0.3;
6929                target: "bottom";
6930                target: "elm.swallow.slot.bottom";
6931            }
6932            program { name: "bottomhide";
6933                signal: "elm,action,slot,bottom,hide";
6934                source: "elm";
6935                action: STATE_SET "default" 0.0;
6936                transition: DECELERATE 0.5;
6937                target: "bottom";
6938                target: "elm.swallow.slot.bottom";
6939            }
6940        }
6941    }
6942
6943    //In the hover used by the submenu only the bottom part is used
6944    //and no part should interact except the bottom area
6945    group { name: "elm/hover/base/submenu";
6946        images {
6947            image: "shad_circ.png" COMP;
6948            image: "bt_dis_base.png" COMP;
6949        }
6950        parts {
6951            part { name: "elm.swallow.offset";
6952                type: SWALLOW;
6953                repeat_events:1;
6954                description { state: "default" 0.0;
6955                    align: 0.0 0.0;
6956                    rel1.relative: 0.0 0.0;
6957                    rel2.relative: 0.0 0.0;
6958                }
6959            }
6960            part { name: "elm.swallow.size";
6961                type: SWALLOW;
6962                description { state: "default" 0.0;
6963                    align: 0.0 0.0;
6964                    rel1.to: "elm.swallow.offset";
6965                    rel1.relative: 1.0 1.0;
6966                    rel2.to: "elm.swallow.offset";
6967                    rel2.relative: 1.0 1.0;
6968                }
6969            }
6970            //here we do non catch events like the hover hover does
6971            part { name: "base";
6972                type: RECT;
6973                mouse_events: 1;
6974                description { state: "default" 0.0;
6975                    color: 0 0 0 0;
6976                    visible: 0;
6977                }
6978            }
6979            part { name: "elm.swallow.slot.left";
6980                type: SWALLOW;
6981                description { state: "default" 0.0;
6982                }
6983            }
6984            part { name: "elm.swallow.slot.right";
6985                type: SWALLOW;
6986                description { state: "default" 0.0;
6987                }
6988            }
6989            part { name: "elm.swallow.slot.top";
6990                type: SWALLOW;
6991                description { state: "default" 0.0;
6992                }
6993            }
6994            part { name: "bottomclip";
6995                type: RECT;
6996                description { state: "default" 0.0;
6997                    rel1.to_y: "pop";
6998                    rel1.relative: 0.0 1.0;
6999                    rel1.offset: -1 -2;
7000                }
7001            }
7002            part { name: "bottom";
7003                clip_to: "bottomclip";
7004                description { state: "default" 0.0;
7005                    visible: 0;
7006                    rel1.to: "elm.swallow.slot.bottom";
7007                    rel1.offset: -5 -5;
7008                    rel2.to: "elm.swallow.slot.bottom";
7009                    rel2.offset: 4 4;
7010                    image {
7011                        normal: "bt_dis_base.png";
7012                        border: 4 4 4 4;
7013                    }
7014                    image.middle: SOLID;
7015                }
7016                description { state: "visible" 0.0;
7017                    inherit: "default" 0.0;
7018                    visible: 1;
7019                }
7020            }
7021            part { name: "elm.swallow.slot.bottom";
7022                type: SWALLOW;
7023                clip_to: "bottomclip";
7024                description { state: "default" 0.0;
7025                    align: 0.5 1.0;
7026                    rel1.to: "elm.swallow.slot.middle";
7027                    rel1.relative: 0.0 1.0;
7028                    rel1.offset: 0 0;
7029                    rel2.to: "elm.swallow.slot.middle";
7030                    rel2.relative: 1.0 1.0;
7031                    rel2.offset: -1 0;
7032                }
7033                description { state: "visible" 0.0;
7034                    inherit: "default" 0.0;
7035                    rel1.offset: 0 6;
7036                    rel2.offset: -1 6;
7037                    align: 0.5 0.0;
7038                }
7039            }
7040            part { name: "pop";
7041                mouse_events: 1;
7042                repeat_events:1;
7043                description { state: "default" 0.0;
7044                    rel1.to: "elm.swallow.slot.middle";
7045                    rel1.offset: -5 -5;
7046                    rel2.to: "elm.swallow.slot.middle";
7047                    rel2.offset: 4 4;
7048                }
7049            }
7050            part { name: "elm.swallow.slot.middle";
7051                type: SWALLOW;
7052                repeat_events:1;
7053                description { state: "default" 0.0;
7054                    rel1.to: "elm.swallow.size";
7055                    rel2.to: "elm.swallow.size";
7056                }
7057            }
7058        }
7059        programs {
7060            program { name: "end";
7061                signal: "mouse,up,1";
7062                source: "base";
7063                action: SIGNAL_EMIT "elm,action,dismiss" "";
7064            }
7065            program { name: "show";
7066                signal: "elm,action,show";
7067                source: "elm";
7068                action: STATE_SET "visible" 0.0;
7069                        //            transition: DECELERATE 0.5;
7070                target: "base";
7071            }
7072            program { name: "hide";
7073                signal: "elm,action,hide";
7074                source: "elm";
7075                action: STATE_SET "default" 0.0;
7076                        //            transition: DECELERATE 0.5;
7077                target: "base";
7078            }
7079            program { name: "bottomshow";
7080                signal: "elm,action,slot,bottom,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                transition: DECELERATE 0.3;
7084                target: "bottom";
7085                target: "elm.swallow.slot.bottom";
7086            }
7087            program { name: "bottomhide";
7088                signal: "elm,action,slot,bottom,hide";
7089                source: "elm";
7090                action: STATE_SET "default" 0.0;
7091                transition: DECELERATE 0.5;
7092                target: "bottom";
7093                target: "elm.swallow.slot.bottom";
7094            }
7095        }
7096    }
7097
7098    group { name: "elm/hover/base/hoversel_vertical/default";
7099       alias: "elm/hover/base/hoversel_vertical/entry";
7100       images {
7101 //         image: "shad_circ.png" COMP;
7102          image: "bt_base2.png" COMP;
7103          image: "bt_hilight.png" COMP;
7104          image: "bt_shine.png" COMP;
7105          image: "outdent-top.png" COMP;
7106          image: "outdent-bottom.png" COMP;
7107       }
7108       parts {
7109          part { name: "elm.swallow.offset";
7110             type: SWALLOW;
7111             description { state: "default" 0.0;
7112                align: 0.0 0.0;
7113                rel1.relative: 0.0 0.0;
7114                rel2.relative: 0.0 0.0;
7115             }
7116          }
7117          part { name: "elm.swallow.size";
7118             type: SWALLOW;
7119             description { state: "default" 0.0;
7120                align: 0.0 0.0;
7121                rel1.to: "elm.swallow.offset";
7122                rel1.relative: 1.0 1.0;
7123                rel2.to: "elm.swallow.offset";
7124                rel2.relative: 1.0 1.0;
7125             }
7126          }
7127 /*
7128         part { name: "shad";
7129             mouse_events:  0;
7130             description { state: "default" 0.0;
7131                image.normal: "shad_circ.png";
7132                rel1.to: "button_image";
7133                rel1.offset: -64 -64;
7134                rel2.to: "button_image";
7135                rel2.offset: 63 63;
7136                fill.smooth: 0;
7137             }
7138          }
7139  */
7140          part { name: "button_image";
7141             mouse_events: 1;
7142             description { state: "default" 0.0;
7143                rel1.to_x: "elm.swallow.slot.top";
7144                rel1.to_y: "elm.swallow.slot.top";
7145                rel1.offset: -2 -6;
7146                rel2.to_x: "elm.swallow.slot.top";
7147                rel2.to_y: "elm.swallow.slot.bottom";
7148                rel2.offset: 1 5;
7149                image {
7150                   normal: "bt_base2.png";
7151                   border: 7 7 7 7;
7152                }
7153                image.middle: SOLID;
7154             }
7155             description { state: "bottom" 0.0;
7156                rel1.to_x: "elm.swallow.slot.bottom";
7157                rel1.to_y: "elm.swallow.slot.top";
7158                rel1.offset: -2 -6;
7159                rel2.to_x: "elm.swallow.slot.bottom";
7160                rel2.to_y: "elm.swallow.slot.bottom";
7161                rel2.offset: 1 5;
7162                image {
7163                   normal: "bt_base2.png";
7164                   border: 7 7 7 7;
7165                }
7166                image.middle: SOLID;
7167             }
7168          }
7169
7170          part { name: "base";
7171             type: RECT;
7172             mouse_events: 1;
7173             description { state: "default" 0.0;
7174                color: 0 0 0 0;
7175             }
7176             description { state: "visible" 0.0;
7177                inherit: "default" 1.0;
7178                color: 0 0 0 64;
7179             }
7180          }
7181
7182          part { name: "topclip";
7183             type: RECT;
7184             description { state: "default" 0.0;
7185                rel2.to_y: "edge_top";
7186                rel2.relative: 1.0 0.0;
7187                rel2.offset: -1 7;
7188             }
7189          }
7190          part { name: "elm.swallow.slot.top";
7191             type: SWALLOW;
7192             clip_to: "topclip";
7193             description { state: "default" 0.0;
7194                visible: 1;
7195                align: 0.5 0.0;
7196                rel1.to: "elm.swallow.slot.middle";
7197                rel1.relative: 0.0 0.0;
7198                rel1.offset: 0 -1;
7199                rel2.to: "elm.swallow.slot.middle";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 -1;
7202             }
7203             description { state: "visible" 0.0;
7204                inherit: "default" 0.0;
7205                rel1.offset: 0 -7;
7206                rel2.offset: -1 -7;
7207                align: 0.5 1.0;
7208             }
7209          }
7210
7211          part { name: "bottomclip";
7212             type: RECT;
7213             description { state: "default" 0.0;
7214                rel1.to_y: "edge_bottom";
7215                rel1.relative: 0.0 1.0;
7216                rel1.offset: -1 -8;
7217             }
7218          }
7219          part { name: "elm.swallow.slot.bottom";
7220             type: SWALLOW;
7221             clip_to: "bottomclip";
7222             description { state: "default" 0.0;
7223                align: 0.5 1.0;
7224                rel1.to: "elm.swallow.slot.middle";
7225                rel1.relative: 0.0 1.0;
7226                rel1.offset: 0 0;
7227                rel2.to: "elm.swallow.slot.middle";
7228                rel2.relative: 1.0 1.0;
7229                rel2.offset: -1 0;
7230             }
7231             description { state: "visible" 0.0;
7232                inherit: "default" 0.0;
7233                rel1.offset: 0 6;
7234                rel2.offset: -1 6;
7235                align: 0.5 0.0;
7236             }
7237          }
7238
7239          part {          name: "over1";
7240             mouse_events: 0;
7241             description { state: "default" 0.0;
7242                rel1.to: "button_image";
7243                rel2.to: "button_image";
7244                rel2.relative: 1.0 0.5;
7245                image {
7246                   normal: "bt_hilight.png";
7247                   border: 7 7 7 0;
7248                }
7249             }
7250          }
7251          part { name: "over2";
7252             mouse_events: 1;
7253             repeat_events: 1;
7254             ignore_flags: ON_HOLD;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                image {
7259                   normal: "bt_shine.png";
7260                   border: 7 7 7 7;
7261                }
7262             }
7263          }
7264          part { name: "edge_top";
7265             mouse_events:  0;
7266             description { state: "default" 0.0;
7267                visible: 0;
7268                rel1 {
7269                   to: "elm.swallow.size";
7270                   offset: 0 -10;
7271                }
7272                rel2 {
7273                   to: "elm.swallow.size";
7274                }
7275                image.normal: "outdent-bottom.png";
7276                image.border: 0 0 13 0;
7277                fill.smooth: 0;
7278             }
7279             description { state: "visible" 0.0;
7280                inherit: "default" 0.0;
7281                visible: 1;
7282             }
7283          }
7284          part { name: "edge_bottom";
7285             mouse_events:  0;
7286             description { state: "default" 0.0;
7287                visible: 0;
7288                rel1 {
7289                   to: "elm.swallow.size";
7290                }
7291                rel2 {
7292                   to: "elm.swallow.size";
7293                   offset: -1 9;
7294                }
7295                image.normal: "outdent-top.png";
7296                image.border: 0 0 0 13;
7297                fill.smooth: 0;
7298             }
7299             description { state: "visible" 0.0;
7300                inherit: "default" 0.0;
7301                visible: 1;
7302             }
7303          }
7304          part { name: "elm.swallow.slot.middle";
7305             type: SWALLOW;
7306             description { state: "default" 0.0;
7307                rel1.to: "elm.swallow.size";
7308                rel2.to: "elm.swallow.size";
7309             }
7310          }
7311       }
7312       programs {
7313          program { name: "end";
7314             signal: "mouse,up,1";
7315             source: "base";
7316             action: SIGNAL_EMIT "elm,action,dismiss" "";
7317          }
7318
7319          program { name: "show";
7320             signal: "elm,action,show";
7321             source: "elm";
7322             action: STATE_SET "visible" 0.0;
7323 //            transition: DECELERATE 0.5;
7324             target: "base";
7325          }
7326          program { name: "hide";
7327             signal: "elm,action,hide";
7328             source: "elm";
7329             action: STATE_SET "default" 0.0;
7330 //            transition: DECELERATE 0.5;
7331             target: "base";
7332          }
7333          program { name: "topshow";
7334             signal: "elm,action,slot,top,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337             target: "edge_top";
7338             after: "topshow2";
7339          }
7340          program { name: "topshow2";
7341             action: STATE_SET "visible" 0.0;
7342             transition: DECELERATE 0.5;
7343             target: "elm.swallow.slot.top";
7344          }
7345          program { name: "topshow3";
7346             signal: "elm,action,slot,top,show";
7347             source: "elm";
7348             action: STATE_SET "default" 0.0;
7349             target: "button_image";
7350          }
7351          program { name: "tophide";
7352             signal: "elm,action,slot,top,hide";
7353             source: "elm";
7354             action: STATE_SET "default" 0.0;
7355             transition: DECELERATE 0.5;
7356             target: "elm.swallow.slot.top";
7357             after: "tophide2";
7358          }
7359          program { name: "tophide2";
7360             action: STATE_SET "default" 0.0;
7361             target: "edge_top";
7362          }
7363          program { name: "bottomshow";
7364             signal: "elm,action,slot,bottom,show";
7365             source: "elm";
7366             action: STATE_SET "visible" 0.0;
7367             target: "edge_bottom";
7368             after: "bottomshow2";
7369          }
7370          program { name: "bottomshow2";
7371             action: STATE_SET "visible" 0.0;
7372             transition: DECELERATE 0.5;
7373             target: "elm.swallow.slot.bottom";
7374          }
7375          program { name: "bottomshow3";
7376             signal: "elm,action,slot,bottom,show";
7377             source: "elm";
7378             action: STATE_SET "bottom" 0.0;
7379             target: "button_image";
7380          }
7381          program { name: "bottomhide";
7382             signal: "elm,action,slot,bottom,hide";
7383             source: "elm";
7384             action: STATE_SET "default" 0.0;
7385             transition: DECELERATE 0.5;
7386             target: "elm.swallow.slot.bottom";
7387             after: "bottomhide2";
7388          }
7389          program { name: "bottomhide2";
7390             action: STATE_SET "default" 0.0;
7391             target: "edge_bottom";
7392          }
7393       }
7394    }
7395 ///////////////////////////////////////////////////////////////////////////////
7396    group { name: "elm/scroller/base/ctxpopup";
7397       data {
7398          item: "focus_highlight" "on";
7399       }
7400       script {
7401          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7402          public timer0(val) {
7403             new v;
7404             v = get_int(sbvis_v);
7405             if (v) {
7406                v = get_int(sbalways_v);
7407                if(!v) {
7408                   emit("do-hide-vbar", "");
7409                   set_int(sbvis_v, 0);
7410                }
7411             }
7412             v = get_int(sbvis_h);
7413             if (v) {
7414                v = get_int(sbalways_h);
7415                if(!v) {
7416                   emit("do-hide-hbar", "");
7417                   set_int(sbvis_h, 0);
7418                }
7419             }
7420             set_int(sbvis_timer, 0);
7421             return 0;
7422          }
7423       }
7424       images {
7425          image: "bt_sm_base2.png" COMP;
7426          image: "bt_sm_shine.png" COMP;
7427          image: "bt_sm_hilight.png" COMP;
7428          image: "sl_bt2_2.png" COMP;
7429       }
7430       parts {
7431          part { name: "clipper";
7432             type: RECT;
7433             mouse_events: 0;
7434             scale: 1;
7435             description { state: "default" 0.0;
7436             }
7437          }
7438          part { name: "elm.swallow.content";
7439             clip_to: "clipper";
7440             type: SWALLOW;
7441             scale: 1;
7442             description { state: "default" 0.0;
7443                align: 0.5 0.5;
7444             }
7445          }
7446          part { name: "focus_highlight";
7447             mouse_events: 0;
7448             description { state: "default" 0.0;
7449                rel1.offset: -1 -1;
7450                rel2.offset: 0 0;
7451                image { normal: "sl_bt2_2.png";
7452                   border: 7 7 7 7;
7453                   middle: 0;
7454                }
7455                fill.smooth : 0;
7456                color: 200 155 0 0;
7457             }
7458             description { state: "enabled" 0.0;
7459                inherit: "default" 0.0;
7460                color: 200 155 0 255;
7461             }
7462          }
7463          part { name: "sb_vbar_clip_master";
7464             type: RECT;
7465             mouse_events: 0;
7466             description { state: "default" 0.0;
7467             }
7468             description { state: "hidden" 0.0;
7469                visible: 0;
7470                color: 255 255 255 0;
7471             }
7472          }
7473          part { name: "sb_vbar_clip";
7474             clip_to:"sb_vbar_clip_master";
7475             type: RECT;
7476             mouse_events: 0;
7477             scale: 1;
7478             description { state: "default" 0.0;
7479                align: 0.0 0.0;
7480                rel2{ to:"clipper"; relative: 1.0 1.0;}
7481             }
7482             description { state: "hidden" 0.0;
7483                visible: 0;
7484                color: 255 255 255 0;
7485             }
7486          }
7487          part { name: "sb_vbar";
7488             type: RECT;
7489             mouse_events: 0;
7490             scale: 1;
7491             description { state: "default" 0.0;
7492                fixed: 1 1;
7493                visible: 0;
7494                align: 1.0 0.0;
7495                rel1{ to:"clipper"; relative: 1.0 0.0; }
7496                rel2{ to:"clipper"; relative: 1.0 1.0; }
7497             }
7498          }
7499          part { name: "elm.dragable.vbar";
7500             clip_to: "sb_vbar_clip";
7501             mouse_events: 0;
7502             scale: 1;
7503             dragable {
7504                x: 0 0 0;
7505                y: 1 1 0;
7506                confine: "sb_vbar";
7507             }
7508             description { state: "default" 0.0;
7509                fixed: 1 1;
7510                min: 10 17;
7511                max: 10 99999;
7512                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7513                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7514                image { normal: "bt_sm_base2.png";
7515                   border: 6 6 6 6;
7516                   middle: SOLID;
7517                }
7518             }
7519          }
7520          part { name: "sb_vbar_over1";
7521             clip_to: "sb_vbar_clip";
7522             mouse_events: 0;
7523             description { state: "default" 0.0;
7524                rel1.to: "elm.dragable.vbar";
7525                rel2.relative: 1.0 0.5;
7526                rel2.to: "elm.dragable.vbar";
7527                image { normal: "bt_sm_hilight.png";
7528                   border: 6 6 6 0;
7529                }
7530             }
7531          }
7532          part { name: "sb_vbar_over2";
7533             clip_to: "sb_vbar_clip";
7534             mouse_events: 0;
7535             description { state: "default" 0.0;
7536                rel1.to: "elm.dragable.vbar";
7537                rel2.to: "elm.dragable.vbar";
7538                image { normal: "bt_sm_shine.png";
7539                   border: 6 6 6 0;
7540                }
7541             }
7542          }
7543          part { name: "sb_hbar_clip_master";
7544             type: RECT;
7545             mouse_events: 0;
7546             description { state: "default" 0.0;
7547             }
7548             description { state: "hidden" 0.0;
7549                visible: 0;
7550                color: 255 255 255 0;
7551             }
7552          }
7553          part { name: "sb_hbar_clip";
7554             clip_to: "sb_hbar_clip_master";
7555             type: RECT;
7556             mouse_events: 0;
7557             scale: 1;
7558             description { state: "default" 0.0;
7559                align: 0.0 0.0;
7560                rel2{ to:"clipper"; relative: 1.0 1.0;}
7561             }
7562             description { state: "hidden" 0.0;
7563                visible: 0;
7564                color: 255 255 255 0;
7565             }
7566          }
7567          part { name: "sb_hbar";
7568             type: RECT;
7569             mouse_events: 0;
7570             scale: 1;
7571             description { state: "default" 0.0;
7572                fixed: 1 1;
7573                visible: 0;
7574                align: 0.0 1.0;
7575                rel1 { to:"clipper"; relative: 0.0 1.0; }
7576                rel2 { to:"clipper"; relative: 1.0 1.0; }
7577             }
7578          }
7579          part { name: "elm.dragable.hbar";
7580             clip_to: "sb_hbar_clip";
7581             mouse_events: 0;
7582             scale: 1;
7583             dragable {
7584                x: 1 1 0;
7585                y: 0 0 0;
7586                confine: "sb_hbar";
7587             }
7588             description { state: "default" 0.0;
7589                min: 17 10;
7590                max: 99999 10;
7591                fixed: 1 1;
7592                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7593                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7594                image { normal: "bt_sm_base2.png";
7595                   border: 4 4 4 4;
7596                   middle: SOLID;
7597                }
7598             }
7599          }
7600          part { name: "sb_hbar_over1";
7601             clip_to: "sb_hbar_clip";
7602             mouse_events: 0;
7603             description { state: "default" 0.0;
7604                rel1.to: "elm.dragable.hbar";
7605                rel2.relative: 1.0 0.5;
7606                rel2.to: "elm.dragable.hbar";
7607                image { normal: "bt_sm_hilight.png";
7608                   border: 6 6 6 0;
7609                }
7610             }
7611          }
7612          part { name: "sb_hbar_over2";
7613             clip_to: "sb_hbar_clip";
7614             mouse_events: 0;
7615             description { state: "default" 0.0;
7616                rel1.to: "elm.dragable.hbar";
7617                rel2.to: "elm.dragable.hbar";
7618                image { normal: "bt_sm_shine.png";
7619                   border: 6 6 6 0;
7620                }
7621             }
7622          }
7623       }
7624       programs {
7625          program { name: "load";
7626             signal: "load";
7627             source: "";
7628             script {
7629                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7630                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7631                set_int(sbvis_v, 0);
7632                set_int(sbvis_h, 0);
7633                set_int(sbalways_v, 0);
7634                                    set_int(sbalways_h, 0);
7635                set_int(sbvis_timer, 0);
7636             }
7637          }
7638          program { name: "vbar_show";
7639             signal: "elm,action,show,vbar";
7640             source: "elm";
7641             action: STATE_SET "default" 0.0;
7642             target: "sb_vbar_clip_master";
7643          }
7644          program { name: "vbar_hide";
7645             signal: "elm,action,hide,vbar";
7646             source: "elm";
7647             action:  STATE_SET "hidden" 0.0;
7648             target: "sb_vbar_clip_master";
7649          }
7650          program { name: "vbar_show_always";
7651             signal: "elm,action,show_always,vbar";
7652             source: "elm";
7653             script {
7654                new v;
7655                v = get_int(sbvis_v);
7656                v |= get_int(sbalways_v);
7657                if (!v) {
7658                   set_int(sbalways_v, 1);
7659                   emit("do-show-vbar", "");
7660                   set_int(sbvis_v, 1);
7661                }
7662             }
7663          }
7664          program { name: "vbar_show_notalways";
7665             signal: "elm,action,show_notalways,vbar";
7666             source: "elm";
7667             script {
7668                new v;
7669                v = get_int(sbalways_v);
7670                if (v) {
7671                   set_int(sbalways_v, 0);
7672                   v = get_int(sbvis_v);
7673                   if (!v) {
7674                      emit("do-hide-vbar", "");
7675                      set_int(sbvis_v, 0);
7676                   }
7677                }
7678             }
7679          }
7680          program { name: "sb_vbar_show";
7681             signal: "do-show-vbar";
7682             source: "";
7683             action:  STATE_SET "default" 0.0;
7684             transition: LINEAR 1.0;
7685             target: "sb_vbar_clip";
7686          }
7687          program { name: "sb_vbar_hide";
7688             signal: "do-hide-vbar";
7689             source: "";
7690             action:  STATE_SET "hidden" 0.0;
7691             transition: LINEAR 1.0;
7692             target: "sb_vbar_clip";
7693          }
7694          program { name: "hbar_show";
7695             signal: "elm,action,show,hbar";
7696             source: "elm";
7697             action:  STATE_SET "default" 0.0;
7698             target: "sb_hbar_clip_master";
7699          }
7700          program { name: "hbar_hide";
7701             signal: "elm,action,hide,hbar";
7702             source: "elm";
7703             action:  STATE_SET "hidden" 0.0;
7704             target: "sb_hbar_clip_master";
7705          }
7706          program { name: "hbar_show_always";
7707             signal: "elm,action,show_always,hbar";
7708             source: "elm";
7709             script {
7710                new v;
7711                v = get_int(sbvis_h);
7712                v |= get_int(sbalways_h);
7713                if (!v) {
7714                   set_int(sbalways_h, 1);
7715                   emit("do-show-hbar", "");
7716                   set_int(sbvis_h, 1);
7717                }
7718             }
7719          }
7720          program { name: "hbar_show_notalways";
7721             signal: "elm,action,show_notalways,hbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbalways_h);
7726                if (v) {
7727                   set_int(sbalways_h, 0);
7728                   v = get_int(sbvis_h);
7729                   if (!v) {
7730                      emit("do-hide-hbar", "");
7731                      set_int(sbvis_h, 0);
7732                   }
7733                }
7734             }
7735          }
7736          program { name: "sb_hbar_show";
7737             signal: "do-show-hbar";
7738             source: "";
7739             action:  STATE_SET "default" 0.0;
7740             transition: LINEAR 1.0;
7741             target: "sb_hbar_clip";
7742          }
7743          program { name: "sb_hbar_hide";
7744             signal: "do-hide-hbar";
7745             source: "";
7746             action:  STATE_SET "hidden" 0.0;
7747             transition: LINEAR 1.0;
7748             target: "sb_hbar_clip";
7749          }
7750          program { name: "scroll";
7751             signal: "elm,action,scroll";
7752             source: "elm";
7753             script {
7754                new v;
7755                v = get_int(sbvis_v);
7756                v |= get_int(sbalways_v);
7757                if (!v) {
7758                   emit("do-show-vbar", "")
7759                   set_int(sbvis_v, 1);
7760                }
7761                v = get_int(sbvis_h);
7762                v |= get_int(sbalways_h);
7763                if (!v) {
7764                   emit("do-show-hbar", "");
7765                   set_int(sbvis_h, 1);
7766                }
7767                v = get_int(sbvis_timer);
7768                if (v > 0) cancel_timer(v);
7769                v = timer(1.0, "timer0", 0);
7770                set_int(sbvis_timer, v);
7771             }
7772          }
7773          program { name: "highlight_show";
7774             signal: "elm,action,focus_highlight,show";
7775             source: "elm";
7776             action: STATE_SET "enabled" 0.0;
7777             transition: ACCELERATE 0.3;
7778             target: "focus_highlight";
7779           }
7780          program { name: "highlight_hide";
7781             signal: "elm,action,focus_highlight,hide";
7782             source: "elm";
7783             action: STATE_SET "default" 0.0;
7784             transition: DECELERATE 0.3;
7785             target: "focus_highlight";
7786          }
7787       }
7788    }
7789 ///////////////////////////////////////////////////////////////////////////////
7790    group { name: "elm/ctxpopup/bg/default";
7791       parts {
7792          part { name: "ctxpopup_bg";
7793             type: RECT;
7794             mouse_events: 1;
7795             description { state: "default" 0.0;
7796                color: 0 0 0 0;
7797             }
7798             description { state: "visible" 0.0;
7799                inherit: "default" 0.0;
7800                color: 0 0 0 64;
7801             }
7802          }
7803       }
7804       programs {
7805          program { name: "clicked_event";
7806             signal: "mouse,clicked,1";
7807             source: "ctxpopup_bg";
7808             action: SIGNAL_EMIT "elm,action,click" "";
7809          }
7810          program { name: "show";
7811             signal: "elm,state,show";
7812             source: "elm";
7813             action: STATE_SET "visible" 0.0;
7814             target: "ctxpopup_bg";
7815          }
7816          program { name: "hide";
7817             signal: "elm,state,hide";
7818             source: "elm";
7819             action: STATE_SET "default" 0.0;
7820             target: "ctxpopup_bg";
7821          }
7822       }
7823    }
7824 ///////////////////////////////////////////////////////////////////////////////
7825    group { name: "elm/ctxpopup/base/default";
7826       images {
7827          image: "bt_base2.png" COMP;
7828          image: "bt_hilight.png" COMP;
7829          image: "bt_shine.png" COMP;
7830       }
7831       parts {
7832          part { name: "arrow_area_left";
7833             type: RECT;
7834             mouse_events: 0;
7835             description { state: "default" 0.0;
7836                visible: 0;
7837                min: 40 0;
7838                fixed: 1 1;
7839                align: 1 0.5;
7840                rel1 {
7841                   to_y: "base";
7842                }
7843                rel2 {
7844                   relative:0 1;
7845                   to:"base";
7846                }
7847             }
7848          }
7849          part { name: "arrow_area_right";
7850             type: RECT;
7851             mouse_events: 0;
7852             description { state: "default" 0.0;
7853                visible: 0;
7854                min: 40 0;
7855                fixed: 1 1;
7856                align: 0 0.5;
7857                rel1 {
7858                   relative: 1 0;
7859                   to:"base";
7860                }
7861                rel2 {
7862                   to_y: "base";
7863                }
7864             }
7865          }
7866          part { name: "arrow_area_up";
7867             type: RECT;
7868             mouse_events: 0;
7869             description { state: "default" 0.0;
7870                visible: 0;
7871                min: 0 40;
7872                fixed: 1 1;
7873                align: 0.5 1;
7874                rel1 {
7875                   to_x: "base";
7876                }
7877                rel2 {
7878                   relative: 1 0;
7879                   to:"base";
7880                }
7881             }
7882          }
7883          part { name: "arrow_area_down";
7884             type: RECT;
7885             mouse_events: 0;
7886             description { state: "default" 0.0;
7887                visible: 0;
7888                min: 0 40;
7889                fixed: 1 1;
7890                align: 0.5 0;
7891                rel1 {
7892                   relative: 0 1;
7893                   to:"base";
7894                }
7895                rel2 {
7896                   to_x: "base";
7897                }
7898             }
7899          }
7900          part { name: "elm.swallow.arrow_up";
7901             type: SWALLOW;
7902             mouse_events: 0;
7903             scale: 1;
7904             dragable {
7905                x: 1 1 0;
7906                y: 1 1 0;
7907                confine: "arrow_area_up";
7908             }
7909             description {
7910                state: "default" 0.0;
7911                min: 40 40;
7912                fixed: 1 1;
7913                visible: 1;
7914             }
7915          }
7916          part { name: "elm.swallow.arrow_down";
7917             type: SWALLOW;
7918             mouse_events: 0;
7919             scale: 1;
7920             dragable {
7921                x: 1 1 0;
7922                y: 1 1 0;
7923                confine: "arrow_area_down";
7924             }
7925             description {
7926                state: "default" 0.0;
7927                min: 40 40;
7928                fixed: 1 1;
7929                visible: 1;
7930             }
7931          }
7932          part { name: "elm.swallow.arrow_left";
7933             type: SWALLOW;
7934             mouse_events: 0;
7935             scale: 1;
7936             dragable {
7937                x: 1 1 0;
7938                y: 1 1 0;
7939                confine: "arrow_area_left";
7940             }
7941             description {
7942                state: "default" 0.0;
7943                min: 40 40;
7944                fixed: 1 1;
7945                visible: 1;
7946             }
7947          }
7948          part { name: "elm.swallow.arrow_right";
7949             type: SWALLOW;
7950             mouse_events: 0;
7951             scale: 1;
7952             dragable {
7953                x: 1 1 0;
7954                y: 1 1 0;
7955                confine: "arrow_area_right";
7956             }
7957             description {
7958                state: "default" 0.0;
7959                min: 40 40;
7960                fixed: 1 1;
7961                visible: 1;
7962             }
7963          }
7964          part { name: "base";
7965             scale: 1;
7966             description { state: "default" 0.0;
7967                rel1.offset: -3 -3;
7968                rel2.offset: 3 3;
7969                image { normal: "bt_base2.png";
7970                   border: 7 7 7 7;
7971                }
7972             }
7973          }
7974          part { name: "over1";
7975             scale: 1;
7976             description { state: "default" 0.0;
7977                rel1.to: "base";
7978                rel2.to: "base";
7979                rel2.relative: 1.0 0.5;
7980                image { normal: "bt_hilight.png";
7981                   border: 7 7 7 0;
7982                }
7983             }
7984          }
7985          part { name: "over2";
7986             scale: 1;
7987             description { state: "default" 0.0;
7988                rel1.to: "base";
7989                rel2.to: "base";
7990                image { normal: "bt_shine.png";
7991                   border: 7 7 7 7;
7992                }
7993             }
7994          }
7995          part { name: "elm.swallow.content";
7996             type: SWALLOW;
7997             description { state: "default" 0.0;
7998                rel1 { to:"base"; offset: 4 4; };
7999                rel2 { to:"base"; offset: -5 -5; };
8000             }
8001          }
8002       }
8003    }
8004 ///////////////////////////////////////////////////////////////////////////////
8005    group { name: "elm/ctxpopup/arrow/default";
8006       images {
8007          image: "icon_arrow_left.png" COMP;
8008          image: "icon_arrow_right.png" COMP;
8009          image: "icon_arrow_up.png" COMP;
8010          image: "icon_arrow_down.png" COMP;
8011       }
8012       parts {
8013          part { name: "ctxpopup_arrow";
8014             type: IMAGE;
8015             scale: 1;
8016             description {
8017                state: "default" 0.0;
8018                min: 40 40;
8019                fixed: 1 1;
8020                visible: 0;
8021                align: 0.5 0.5;
8022             }
8023             description {
8024                state: "left" 0.0;
8025                min: 40 40;
8026                fixed: 1 1;
8027                align: 0.0 0.5;
8028                image { normal: "icon_arrow_left.png";
8029                }
8030             }
8031             description { state: "right" 0.0;
8032                min: 40 40;
8033                fixed: 1 1;
8034                align: 1.0 0.5;
8035                image { normal: "icon_arrow_right.png";                
8036                                         }
8037             }
8038             description { state: "top" 0.0;
8039                min: 40 40;
8040                fixed: 1 1;
8041                align: 0.5 0.0;
8042                image { normal: "icon_arrow_up.png";
8043                }
8044             }
8045             description { state: "bottom" 0.0;
8046                min: 40 40;
8047                fixed: 1 1;
8048                align: 0.5 1.0;
8049                image { normal: "icon_arrow_down.png";
8050                }
8051             }
8052          }
8053       }
8054       programs {
8055          program { name: "enable_left_arrow";
8056             signal: "elm,state,left";
8057             source: "elm";
8058             action: STATE_SET "left" 0.0;
8059             target: "ctxpopup_arrow";
8060          }
8061          program { name: "enable_right_arrow";
8062             signal: "elm,state,right";
8063             source: "elm";
8064             action: STATE_SET "right" 0.0;
8065             target: "ctxpopup_arrow";
8066          }
8067          program { name: "enable_top_arrow";
8068             signal: "elm,state,top";
8069             source: "elm";
8070             action: STATE_SET "top" 0.0;
8071             target: "ctxpopup_arrow";
8072          }
8073          program { name: "enable_bottom_arrow";
8074             signal: "elm,state,bottom";
8075             source: "elm";
8076             action: STATE_SET "bottom" 0.0;
8077             target: "ctxpopup_arrow";
8078          }
8079       }
8080    }
8081 ///////////////////////////////////////////////////////////////////////////////
8082    group {
8083       name: "elm/ctxpopup/icon_text_style_item/default";
8084            alias: "elm/ctxpopup/text_style_item/default";
8085            alias: "elm/ctxpopup/icon_style_item/default";
8086       images {
8087          image: "hoversel_entry_bg.png" COMP;
8088       }
8089       parts {
8090          part { name: "event";
8091             mouse_events: 1;
8092             description { state: "default" 0.0;
8093             }
8094          }
8095          part { name: "bg";
8096             mouse_events: 0;
8097             description { state: "default" 0.0;
8098                rel1.offset: 2 2;
8099                rel2.offset: -3 -3;
8100                image { normal:"hoversel_entry_bg.png";
8101                   border: 0 0 2 2;
8102                }
8103                fill.smooth: 0;
8104                color: 255 255 255 0;
8105             }
8106             description { state: "clicked" 0.0;
8107                inherit: "default" 0.0;
8108                color: 255 255 255 255;
8109             }
8110          }
8111          part { name: "elm.swallow.icon";
8112             type: SWALLOW;
8113             scale: 1;
8114             description { state: "default" 0.0;
8115                min: 25 25;
8116                max: 25 25;  
8117                align: 0 0.5;
8118                aspect: 1.0 1.0;
8119                rel1 { offset: 10 10; }  
8120                rel2 { offset: 0 -10; }
8121             }
8122          }
8123          part { name: "elm.text";
8124             type: TEXT;
8125             mouse_events: 0;
8126             scale: 1;
8127             description { state: "default" 0.0;
8128                min: 1 40;
8129                fixed: 0 1;
8130                align: 0.5 0.5;
8131                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8132                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8133                color: 255 255 255 255;
8134                text {
8135                   font: "Sans";
8136                   size: 10;
8137                   align: 0.0 0.5;
8138                   min: 1 1;
8139                }
8140             }
8141             description { state: "clicked" 0.0;
8142                inherit: "default" 0.0;
8143                color: 0 0 0 255;
8144             }
8145          }
8146          part { name: "over1";
8147             mouse_events: 1;
8148             repeat_events: 1;
8149             ignore_flags: ON_HOLD;
8150             description { state: "default" 0.0;
8151                color: 255 255 255 0;
8152             }
8153             description { state: "clicked" 0.0;
8154                inherit: "default" 0.0;
8155                color: 255 255 255 255;
8156             }
8157          }
8158          part { name: "over2";
8159             mouse_events: 1;
8160             repeat_events: 1;
8161             description { state: "default" 0.0;
8162                color: 255 255 255 0;
8163             }
8164             description { state: "clicked" 0.0;
8165                inherit: "default" 0.0;
8166                color: 255 255 255 255;
8167             }
8168          }
8169          part { name: "disclip";
8170             type: RECT;
8171             description { state: "default" 0.0;
8172                visible: 0;
8173             }
8174             description { state: "enabled" 0.0;
8175                visible: 1;
8176                color: 50 50 50 127;
8177                rel1.offset: 4 4;
8178                rel2.offset: -5 -5;
8179             }
8180          }
8181       }
8182       programs {
8183          program {
8184             name: "item_unclick";
8185             signal: "mouse,up,1";
8186             source: "over1";
8187             action: SIGNAL_EMIT "elm,action,click" "";
8188          }
8189          program { name: "disable";
8190             signal: "elm,state,disabled";
8191             source: "elm";
8192             action: STATE_SET "enabled" 0.0;
8193             target: "disclip";
8194          }
8195          program { name: "enable";
8196             signal: "elm,state,enabled";
8197             source: "elm";
8198             action: STATE_SET "default" 0.0;
8199             target: "disclip";
8200          }
8201          program { name: "item_click2";
8202             signal: "mouse,down,1";
8203             source: "over2";
8204             script {
8205                set_state(PART:"elm.text", "clicked", 0.0);
8206                set_state(PART:"bg", "clicked", 0.0);
8207             }
8208          }
8209          program { name: "item_unclick2";
8210             signal: "mouse,up,1";
8211             source: "over2";
8212             script {
8213                                         set_state(PART:"elm.text", "default", 0.0);
8214                set_state(PART:"bg", "default", 0.0);
8215             }
8216          }
8217       }
8218    }
8219 ///////////////////////////////////////////////////////////////////////////////
8220 // emoticon images from:
8221 // Tanya - Latvia
8222 // http://lazycrazy.deviantart.com/
8223 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8224   group { name: "elm/entry/emoticon/angry/default"; images.image:
8225      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8226         "emo-angry.png"; } } } }
8227   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8228      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8229         "emo-angry-shout.png"; } } } }
8230   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8231      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8232         "emo-crazy-laugh.png"; } } } }
8233   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8234      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8235         "emo-evil-laugh.png"; } } } }
8236   group { name: "elm/entry/emoticon/evil/default"; images.image:
8237      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8238         "emo-evil.png"; } } } }
8239   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8240      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8241         "emo-goggle-smile.png"; } } } }
8242   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8243      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8244         "emo-grumpy.png"; } } } }
8245   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8246      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8247         "emo-grumpy-smile.png"; } } } }
8248   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8249      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8250         "emo-guilty.png"; } } } }
8251   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8252      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8253         "emo-guilty-smile.png"; } } } }
8254   group { name: "elm/entry/emoticon/haha/default"; images.image:
8255      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8256         "emo-haha.png"; } } } }
8257   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8258      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8259         "emo-half-smile.png"; } } } }
8260   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8261      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8262         "emo-happy-panting.png"; } } } }
8263   group { name: "elm/entry/emoticon/happy/default"; images.image:
8264      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8265         "emo-happy.png"; } } } }
8266   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8267      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8268         "emo-indifferent.png"; } } } }
8269   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8270      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8271         "emo-kiss.png"; } } } }
8272   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8273      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8274         "emo-knowing-grin.png"; } } } }
8275   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8276      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8277         "emo-laugh.png"; } } } }
8278   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8279      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8280         "emo-little-bit-sorry.png"; } } } }
8281   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8282      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8283         "emo-love-lots.png"; } } } }
8284   group { name: "elm/entry/emoticon/love/default"; images.image:
8285      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8286         "emo-love.png"; } } } }
8287   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8288      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8289         "emo-minimal-smile.png"; } } } }
8290   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8291      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8292         "emo-not-happy.png"; } } } }
8293   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8294      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8295         "emo-not-impressed.png"; } } } }
8296   group { name: "elm/entry/emoticon/omg/default"; images.image:
8297      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8298         "emo-omg.png"; } } } }
8299   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8300      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8301         "emo-opensmile.png"; } } } }
8302   group { name: "elm/entry/emoticon/smile/default"; images.image:
8303      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8304         "emo-smile.png"; } } } }
8305   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8306      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8307         "emo-sorry.png"; } } } }
8308   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8309      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8310         "emo-squint-laugh.png"; } } } }
8311   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8312      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8313         "emo-surprised.png"; } } } }
8314   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8315      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8316         "emo-suspicious.png"; } } } }
8317   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8318      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8319         "emo-tongue-dangling.png"; } } } }
8320   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8321      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8322         "emo-tongue-poke.png"; } } } }
8323   group { name: "elm/entry/emoticon/uh/default"; images.image:
8324      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8325         "emo-uh.png"; } } } }
8326   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8327      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8328         "emo-unhappy.png"; } } } }
8329   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8330      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8331         "emo-very-sorry.png"; } } } }
8332   group { name: "elm/entry/emoticon/what/default"; images.image:
8333      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8334         "emo-what.png"; } } } }
8335   group { name: "elm/entry/emoticon/wink/default"; images.image:
8336      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8337         "emo-wink.png"; } } } }
8338   group { name: "elm/entry/emoticon/worried/default"; images.image:
8339      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8340         "emo-worried.png"; } } } }
8341   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8342      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8343         "emo-wtf.png"; } } } }
8344 //------------------------------------------------------------
8345    group { name: "elm/entry/base/default";
8346       styles
8347       {
8348          style { name: "entry_textblock_style";
8349             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8350             tag:  "br" "\n";
8351             tag:  "ps" "ps";
8352             tag:  "tab" "\t";
8353             tag:  "em" "+ font=Sans:style=Oblique";
8354             tag:  "b" "+ font=Sans:style=Bold";
8355             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8356             tag:  "hilight" "+ font=Sans:style=Bold";
8357          }
8358          style { name: "entry_textblock_disabled_style";
8359             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8360             tag:  "br" "\n";
8361             tag:  "ps" "ps";
8362             tag:  "tab" "\t";
8363             tag:  "em" "+ font=Sans:style=Oblique";
8364             tag:  "b" "+ font=Sans:style=Bold";
8365             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8366             tag:  "hilight" "+ font=Sans:style=Bold";
8367          }
8368       }
8369       data {
8370 //         item: context_menu_orientation "horizontal";
8371       }
8372       parts {
8373          part { name: "elm.text";
8374             type: TEXTBLOCK;
8375             mouse_events: 1;
8376             scale: 1;
8377             entry_mode: EDITABLE;
8378             select_mode: EXPLICIT;
8379             multiline: 1;
8380             source: "elm/entry/selection/default"; // selection under
8381    //       source2: "X"; // selection over
8382    //       source3: "X"; // cursor under
8383             source4: "elm/entry/cursor/default"; // cursorover
8384             source5: "elm/entry/anchor/default"; // anchor under
8385    //       source6: "X"; // anchor over
8386             description { state: "default" 0.0;
8387                /* we gotta use 0 0 here, because of scrolled entries */
8388                fixed: 0 0;
8389                text {
8390                   style: "entry_textblock_style";
8391                   min: 0 1;
8392                   align: 0.0 0.0;
8393                }
8394             }
8395             description { state: "disabled" 0.0;
8396                inherit: "default" 0.0;
8397                text {
8398                   style: "entry_textblock_disabled_style";
8399                   min: 0 1;
8400                }
8401             }
8402          }
8403       }
8404       programs {
8405          program { name: "focus";
8406             signal: "load";
8407             source: "";
8408             action: FOCUS_SET;
8409             target: "elm.text";
8410          }
8411          program { name: "disable";
8412             signal: "elm,state,disabled";
8413             source: "elm";
8414             action: STATE_SET "disabled" 0.0;
8415             target: "elm.text";
8416          }
8417          program { name: "enable";
8418             signal: "elm,state,enabled";
8419             source: "elm";
8420             action: STATE_SET "default" 0.0;
8421             target: "elm.text";
8422          }
8423       }
8424    }
8425
8426    group { name: "elm/entry/base-mixedwrap/default";
8427       styles
8428       {
8429          style { name: "entry_textblock_style_mixedwrap";
8430             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8431             tag:  "br" "\n";
8432             tag:  "ps" "ps";
8433             tag:  "tab" "\t";
8434             tag:  "em" "+ font=Sans:style=Oblique";
8435             tag:  "b" "+ font=Sans:style=Bold";
8436             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8437             tag:  "hilight" "+ font=Sans:style=Bold";
8438          }
8439          style { name: "entry_textblock_disabled_style_mixedwrap";
8440             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8441             tag:  "br" "\n";
8442             tag:  "ps" "ps";
8443             tag:  "tab" "\t";
8444             tag:  "em" "+ font=Sans:style=Oblique";
8445             tag:  "b" "+ font=Sans:style=Bold";
8446             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8447             tag:  "hilight" "+ font=Sans:style=Bold";
8448          }
8449       }
8450       parts {
8451          part { name: "elm.text";
8452             type: TEXTBLOCK;
8453             mouse_events: 1;
8454             scale: 1;
8455             entry_mode: EDITABLE;
8456             select_mode: EXPLICIT;
8457             multiline: 1;
8458             source: "elm/entry/selection/default"; // selection under
8459 //          source2: "X"; // selection over
8460 //          source3: "X"; // cursor under
8461             source4: "elm/entry/cursor/default"; // cursorover
8462             source5: "elm/entry/anchor/default"; // anchor under
8463 //          source6: "X"; // anchor over
8464             description { state: "default" 0.0;
8465                fixed: 1 0;
8466                text {
8467                   style: "entry_textblock_style_mixedwrap";
8468                   min: 0 1;
8469                   align: 0.0 0.0;
8470                }
8471             }
8472             description { state: "disabled" 0.0;
8473                inherit: "default" 0.0;
8474                text {
8475                   style: "entry_textblock_disabled_style_mixedwrap";
8476                   min: 0 1;
8477                }
8478             }
8479          }
8480       }
8481       programs {
8482          program { name: "focus";
8483             signal: "load";
8484             source: "";
8485             action: FOCUS_SET;
8486             target: "elm.text";
8487          }
8488          program { name: "disable";
8489             signal: "elm,state,disabled";
8490             source: "elm";
8491             action: STATE_SET "disabled" 0.0;
8492             target: "elm.text";
8493          }
8494          program { name: "enable";
8495             signal: "elm,state,enabled";
8496             source: "elm";
8497             action: STATE_SET "default" 0.0;
8498             target: "elm.text";
8499          }
8500       }
8501    }
8502
8503    group { name: "elm/entry/base-charwrap/default";
8504       styles
8505       {
8506          style { name: "entry_textblock_style_charwrap";
8507             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8508             tag:  "br" "\n";
8509             tag:  "ps" "ps";
8510             tag:  "tab" "\t";
8511             tag:  "em" "+ font=Sans:style=Oblique";
8512             tag:  "b" "+ font=Sans:style=Bold";
8513             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8514             tag:  "hilight" "+ font=Sans:style=Bold";
8515          }
8516          style { name: "entry_textblock_disabled_style_charwrap";
8517             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8518             tag:  "br" "\n";
8519             tag:  "ps" "ps";
8520             tag:  "tab" "\t";
8521             tag:  "em" "+ font=Sans:style=Oblique";
8522             tag:  "b" "+ font=Sans:style=Bold";
8523             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8524             tag:  "hilight" "+ font=Sans:style=Bold";
8525          }
8526       }
8527       parts {
8528          part { name: "elm.text";
8529             type: TEXTBLOCK;
8530             mouse_events: 1;
8531             scale: 1;
8532             entry_mode: EDITABLE;
8533             select_mode: EXPLICIT;
8534             multiline: 1;
8535             source: "elm/entry/selection/default"; // selection under
8536 //          source2: "X"; // selection over
8537 //          source3: "X"; // cursor under
8538             source4: "elm/entry/cursor/default"; // cursorover
8539             source5: "elm/entry/anchor/default"; // anchor under
8540 //          source6: "X"; // anchor over
8541             description { state: "default" 0.0;
8542                fixed: 1 0;
8543                text {
8544                   style: "entry_textblock_style_charwrap";
8545                   min: 0 1;
8546                   align: 0.0 0.0;
8547                }
8548             }
8549             description { state: "disabled" 0.0;
8550                inherit: "default" 0.0;
8551                text {
8552                   style: "entry_textblock_disabled_style_charwrap";
8553                   min: 0 1;
8554                }
8555             }
8556          }
8557       }
8558       programs {
8559          program { name: "focus";
8560             signal: "load";
8561             source: "";
8562             action: FOCUS_SET;
8563             target: "elm.text";
8564          }
8565          program { name: "disable";
8566             signal: "elm,state,disabled";
8567             source: "elm";
8568             action: STATE_SET "disabled" 0.0;
8569             target: "elm.text";
8570          }
8571          program { name: "enable";
8572             signal: "elm,state,enabled";
8573             source: "elm";
8574             action: STATE_SET "default" 0.0;
8575             target: "elm.text";
8576          }
8577       }
8578    }
8579
8580    group { name: "elm/entry/base-nowrap/default";
8581       parts {
8582          part { name: "elm.text";
8583             type: TEXTBLOCK;
8584             mouse_events: 1;
8585             scale: 1;
8586             entry_mode: EDITABLE;
8587             select_mode: EXPLICIT;
8588             multiline: 1;
8589             source: "elm/entry/selection/default"; // selection under
8590             source4: "elm/entry/cursor/default"; // cursorover
8591             source5: "elm/entry/anchor/default"; // anchor under
8592             description { state: "default" 0.0;
8593                text {
8594                   style: "entry_textblock_style";
8595                   min: 1 1;
8596                   align: 0.0 0.0;
8597                }
8598             }
8599             description { state: "disabled" 0.0;
8600                inherit: "default" 0.0;
8601                text {
8602                   style: "entry_textblock_disabled_style";
8603                   min: 0 1;
8604                }
8605             }
8606          }
8607 /*
8608          part { name: "sel";
8609             type: RECT;
8610             mouse_events: 0;
8611             description { state: "default" 0.0;
8612                align: 1.0 1.0;
8613                max: 16 16;
8614                aspect: 1.0 1.0;
8615                color: 255 0 0 0;
8616             }
8617             description { state: "visible" 0.0;
8618                inherit: "default" 0.0;
8619                color: 255 0 0 50;
8620             }
8621          }
8622  */
8623       }
8624       programs {
8625          program { name: "focus";
8626             signal: "load";
8627             source: "";
8628             action: FOCUS_SET;
8629             target: "elm.text";
8630          }
8631          program { name: "disable";
8632             signal: "elm,state,disabled";
8633             source: "elm";
8634             action: STATE_SET "disabled" 0.0;
8635             target: "elm.text";
8636          }
8637          program { name: "enable";
8638             signal: "elm,state,enabled";
8639             source: "elm";
8640             action: STATE_SET "default" 0.0;
8641             target: "elm.text";
8642          }
8643 /*
8644          program { name: "selmode0";
8645             signal: "elm,state,select,on";
8646             source: "elm";
8647             action: STATE_SET "visible" 0.0;
8648             target: "sel";
8649          }
8650          program { name: "selmode1";
8651             signal: "elm,state,select,off";
8652             source: "elm";
8653             action: STATE_SET "default" 0.0;
8654             target: "sel";
8655          }
8656  */
8657       }
8658    }
8659
8660    group { name: "elm/entry/base-single/default";
8661       styles
8662       {
8663          style { name: "entry_single_textblock_style";
8664             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8665             tag:  "br" "\n";
8666             tag:  "ps" "ps";
8667             tag:  "tab" "\t";
8668             tag:  "em" "+ font=Sans:style=Oblique";
8669             tag:  "b" "+ font=Sans:style=Bold";
8670             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8671             tag:  "hilight" "+ font=Sans:style=Bold";
8672          }
8673          style { name: "entry_single_textblock_disabled_style";
8674             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8675             tag:  "br" "\n";
8676             tag:  "ps" "ps";
8677             tag:  "tab" "\t";
8678             tag:  "em" "+ font=Sans:style=Oblique";
8679             tag:  "b" "+ font=Sans:style=Bold";
8680             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8681             tag:  "hilight" "+ font=Sans:style=Bold";
8682          }
8683       }
8684       parts {
8685          part { name: "elm.text";
8686             type: TEXTBLOCK;
8687             mouse_events: 1;
8688             scale: 1;
8689             entry_mode: EDITABLE;
8690             select_mode: EXPLICIT;
8691             multiline: 0;
8692             source: "elm/entry/selection/default"; // selection under
8693             source4: "elm/entry/cursor/default"; // cursorover
8694             source5: "elm/entry/anchor/default"; // anchor under
8695             description { state: "default" 0.0;
8696                text {
8697                   style: "entry_single_textblock_style";
8698                   min: 1 1;
8699                   max: 0 0;
8700                   align: 0.0 0.5;
8701                }
8702             }
8703             description { state: "disabled" 0.0;
8704                inherit: "default" 0.0;
8705                text {
8706                   style: "entry_single_textblock_disabled_style";
8707                }
8708             }
8709          }
8710       }
8711       programs {
8712          program { name: "focus";
8713             signal: "load";
8714             source: "";
8715             action: FOCUS_SET;
8716             target: "elm.text";
8717          }
8718          program { name: "disable";
8719             signal: "elm,state,disabled";
8720             source: "elm";
8721             action: STATE_SET "disabled" 0.0;
8722             target: "elm.text";
8723          }
8724          program { name: "enable";
8725             signal: "elm,state,enabled";
8726             source: "elm";
8727             action: STATE_SET "default" 0.0;
8728             target: "elm.text";
8729          }
8730       }
8731    }
8732
8733    group { name: "elm/entry/base-single-noedit/default";
8734       parts {
8735          part { name: "elm.text";
8736             type: TEXTBLOCK;
8737             mouse_events: 1;
8738             scale: 1;
8739             entry_mode: PLAIN;
8740             select_mode: EXPLICIT;
8741             multiline: 0;
8742             source: "elm/entry/selection/default"; // selection under
8743             source5: "elm/entry/anchor/default"; // anchor under
8744             description { state: "default" 0.0;
8745                text {
8746                   style: "entry_single_textblock_style";
8747                   min: 1 1;
8748                   max: 0 0;
8749                   align: 0.0 0.5;
8750                }
8751             }
8752             description { state: "disabled" 0.0;
8753                inherit: "default" 0.0;
8754                text {
8755                style: "entry_single_textblock_disabled_style";
8756                }
8757             }
8758          }
8759       }
8760       programs {
8761          program { name: "focus";
8762             signal: "load";
8763             source: "";
8764             action: FOCUS_SET;
8765             target: "elm.text";
8766          }
8767          program { name: "disable";
8768             signal: "elm,state,disabled";
8769             source: "elm";
8770             action: STATE_SET "disabled" 0.0;
8771             target: "elm.text";
8772          }
8773          program { name: "enable";
8774             signal: "elm,state,enabled";
8775             source: "elm";
8776             action: STATE_SET "default" 0.0;
8777             target: "elm.text";
8778          }
8779       }
8780    }
8781
8782    group { name: "elm/entry/base-noedit/default";
8783       parts {
8784          part { name: "elm.text";
8785             type: TEXTBLOCK;
8786             mouse_events: 1;
8787             scale: 1;
8788             entry_mode: PLAIN;
8789             select_mode: EXPLICIT;
8790             multiline: 1;
8791             source: "elm/entry/selection/default"; // selection under
8792             source5: "elm/entry/anchor/default"; // anchor under
8793             description { state: "default" 0.0;
8794                fixed: 1 0;
8795                text {
8796                   style: "entry_textblock_style";
8797                   min: 0 1;
8798                   align: 0.0 0.0;
8799                }
8800             }
8801             description { state: "disabled" 0.0;
8802                inherit: "default" 0.0;
8803                text {
8804                   style: "entry_textblock_disabled_style";
8805                }
8806             }
8807          }
8808       }
8809       programs {
8810          program { name: "focus";
8811             signal: "load";
8812             source: "";
8813             action: FOCUS_SET;
8814             target: "elm.text";
8815          }
8816          program { name: "disable";
8817             signal: "elm,state,disabled";
8818             source: "elm";
8819             action: STATE_SET "disabled" 0.0;
8820             target: "elm.text";
8821          }
8822          program { name: "enable";
8823             signal: "elm,state,enabled";
8824             source: "elm";
8825             action: STATE_SET "default" 0.0;
8826             target: "elm.text";
8827          }
8828       }
8829    }
8830
8831    group { name: "elm/entry/base-noedit-mixedwrap/default";
8832       parts {
8833          part { name: "elm.text";
8834             type: TEXTBLOCK;
8835             mouse_events: 1;
8836             scale: 1;
8837             entry_mode: PLAIN;
8838             select_mode: EXPLICIT;
8839             multiline: 1;
8840             source: "elm/entry/selection/default"; // selection under
8841             source5: "elm/entry/anchor/default"; // anchor under
8842             description { state: "default" 0.0;
8843                fixed: 1 0;
8844                text {
8845                   style: "entry_textblock_style_mixedwrap";
8846                   min: 0 1;
8847                   align: 0.0 0.0;
8848                }
8849             }
8850             description { state: "disabled" 0.0;
8851                inherit: "default" 0.0;
8852                text {
8853                   style: "entry_textblock_disabled_style_mixedwrap";
8854                }
8855             }
8856          }
8857       }
8858       programs {
8859          program { name: "focus";
8860             signal: "load";
8861             source: "";
8862             action: FOCUS_SET;
8863             target: "elm.text";
8864          }
8865          program { name: "disable";
8866             signal: "elm,state,disabled";
8867             source: "elm";
8868             action: STATE_SET "disabled" 0.0;
8869             target: "elm.text";
8870          }
8871          program { name: "enable";
8872             signal: "elm,state,enabled";
8873             source: "elm";
8874             action: STATE_SET "default" 0.0;
8875             target: "elm.text";
8876          }
8877       }
8878    }
8879
8880    group { name: "elm/entry/base-noedit-charwrap/default";
8881       parts {
8882          part { name: "elm.text";
8883             type: TEXTBLOCK;
8884             mouse_events: 1;
8885             scale: 1;
8886             entry_mode: PLAIN;
8887             select_mode: EXPLICIT;
8888             multiline: 1;
8889             source: "elm/entry/selection/default"; // selection under
8890             source5: "elm/entry/anchor/default"; // anchor under
8891             description { state: "default" 0.0;
8892                fixed: 1 0;
8893                text {
8894                   style: "entry_textblock_style_charwrap";
8895                   min: 0 1;
8896                   align: 0.0 0.0;
8897                }
8898             }
8899             description { state: "disabled" 0.0;
8900                inherit: "default" 0.0;
8901                text {
8902                   style: "entry_textblock_disabled_style_charwrap";
8903                }
8904             }
8905          }
8906       }
8907       programs {
8908          program { name: "focus";
8909             signal: "load";
8910             source: "";
8911             action: FOCUS_SET;
8912             target: "elm.text";
8913          }
8914          program { name: "disable";
8915             signal: "elm,state,disabled";
8916             source: "elm";
8917             action: STATE_SET "disabled" 0.0;
8918             target: "elm.text";
8919          }
8920          program { name: "enable";
8921             signal: "elm,state,enabled";
8922             source: "elm";
8923             action: STATE_SET "default" 0.0;
8924             target: "elm.text";
8925          }
8926       }
8927    }
8928
8929    group { name: "elm/entry/base-nowrap-noedit/default";
8930       parts {
8931          part { name: "elm.text";
8932             type: TEXTBLOCK;
8933             mouse_events: 1;
8934             scale: 1;
8935             entry_mode: PLAIN;
8936             select_mode: EXPLICIT;
8937             multiline: 1;
8938             source: "elm/entry/selection/default"; // selection under
8939             source5: "elm/entry/anchor/default"; // anchor under
8940             description { state: "default" 0.0;
8941                text {
8942                   style: "entry_textblock_style";
8943                   min: 1 1;
8944                   align: 0.0 0.0;
8945                }
8946             }
8947             description { state: "disabled" 0.0;
8948                inherit: "default" 0.0;
8949                text {
8950                   style: "entry_textblock_disabled_style";
8951                }
8952             }
8953          }
8954       }
8955       programs {
8956          program { name: "focus";
8957             signal: "load";
8958             source: "";
8959             action: FOCUS_SET;
8960             target: "elm.text";
8961          }
8962          program { name: "disable";
8963             signal: "elm,state,disabled";
8964             source: "elm";
8965             action: STATE_SET "disabled" 0.0;
8966             target: "elm.text";
8967          }
8968          program { name: "enable";
8969             signal: "elm,state,enabled";
8970             source: "elm";
8971             action: STATE_SET "default" 0.0;
8972             target: "elm.text";
8973          }
8974       }
8975    }
8976
8977    group { name: "elm/entry/cursor/default";
8978       images {
8979          image: "cur_box.png" COMP;
8980          image: "cur_hi.png" COMP;
8981          image: "cur_shad.png" COMP;
8982          image: "cur_shine.png" COMP;
8983          image: "cur_glow.png" COMP;
8984       }
8985       parts {
8986          part { name: "clip2";
8987             type: RECT;
8988             mouse_events: 0;
8989             description { state: "default" 0.0;
8990                rel1.to: "clip";
8991                rel2.to: "clip";
8992                visible: 0;
8993             }
8994             description { state: "focused" 0.0;
8995                inherit: "default" 0.0;
8996                visible: 1;
8997             }
8998          }
8999          part { name: "clip";
9000             type: RECT;
9001             mouse_events: 0;
9002             clip_to: "clip2";
9003             description { state: "default" 0.0;
9004                rel1.offset: -10 0;
9005                rel2.offset: 9 9;
9006             }
9007             description { state: "hidden" 0.0;
9008                inherit: "default" 0.0;
9009                visible: 0;
9010             }
9011          }
9012          part { name: "bg";
9013             mouse_events: 0;
9014             clip_to: "clip";
9015             description { state: "default" 0.0;
9016                rel1.to: "base";
9017                rel1.offset: -2 0;
9018                rel2.to: "base";
9019                rel2.offset: 1 1;
9020                image.border: 2 2 2 2;
9021                image.normal: "cur_shad.png";
9022             }
9023          }
9024          part { name: "base";
9025             mouse_events: 0;
9026             scale: 1;
9027             clip_to: "clip";
9028             description { state: "default" 0.0;
9029                min: 2 2;
9030                align: 0.5 1.0;
9031                rel1.relative: 0.0 1.0;
9032                rel1.offset: 0 -1;
9033                rel2.relative: 1.0 1.0;
9034                rel2.offset: -1 -1;
9035                image.normal: "cur_box.png";
9036             }
9037          }
9038          part { name: "hi";
9039             mouse_events: 0;
9040             clip_to: "clip";
9041             description { state: "default" 0.0;
9042                rel1.to: "base";
9043                rel2.to: "base";
9044                rel2.relative: 1.0 0.5;
9045                image.normal: "cur_hi.png";
9046             }
9047          }
9048          part { name: "shine";
9049             mouse_events: 0;
9050             clip_to: "clip";
9051             clip_to: "clip2";
9052             description { state: "default" 0.0;
9053                rel1.to: "base";
9054                rel2.to: "base";
9055                rel2.relative: 1.0 0.75;
9056                image.border: 2 2 1 0;
9057                image.normal: "cur_shine.png";
9058                fill.smooth: 0;
9059             }
9060          }
9061          part { name: "glow";
9062             mouse_events: 0;
9063             clip_to: "clip2";
9064             description { state: "default" 0.0;
9065                rel1.to: "base";
9066                rel1.relative: 0.0 -2.0;
9067                rel1.offset: -2 0;
9068                rel2.to: "base";
9069                rel2.relative: 1.0 0.0;
9070                rel2.offset: 1 1;
9071                image.border: 2 2 0 4;
9072                image.normal: "cur_glow.png";
9073                fill.smooth: 0;
9074             }
9075             description { state: "hidden" 0.0;
9076                inherit: "default" 0.0;
9077                color: 255 255 255 0;
9078             }
9079          }
9080       }
9081       programs {
9082          program { name: "show";
9083             signal: "show";
9084             source: "";
9085             action: STATE_SET "hidden" 0.0;
9086             in: 1.0 0.0;
9087             transition: DECELERATE 2.0;
9088             target: "glow";
9089             after: "show2";
9090          }
9091          program { name: "show2";
9092             action: STATE_SET "hidden" 0.0;
9093             in: 0.2 0.0;
9094             target: "clip";
9095             after: "show3";
9096          }
9097          program { name: "show3";
9098             action: STATE_SET "default" 0.0;
9099             in: 0.5 0.0;
9100             target: "clip";
9101             after: "show4";
9102          }
9103          program { name: "show4";
9104             action: STATE_SET "default" 0.0;
9105             in: 0.5 0.0;
9106             transition: DECELERATE 0.5;
9107             target: "glow";
9108             after: "show";
9109          }
9110          program { name: "focused";
9111             signal: "elm,action,focus";
9112             source: "elm";
9113             action: STATE_SET "focused" 0.0;
9114             target: "clip2";
9115          }
9116          program { name: "unfocused";
9117             signal: "elm,action,unfocus";
9118             source: "elm";
9119             action: STATE_SET "default" 0.0;
9120             target: "clip2";
9121          }
9122       }
9123    }
9124
9125    group { name: "elm/entry/selection/default";
9126       parts {
9127          part { name: "bg";
9128             type: RECT;
9129             mouse_events: 0;
9130             description { state: "default" 0.0;
9131                color: 128 128 128 128;
9132             }
9133          }
9134       }
9135    }
9136
9137    group { name: "elm/entry/anchor/default";
9138       parts {
9139          part { name: "bg";
9140             type: RECT;
9141             mouse_events: 0;
9142             description { state: "default" 0.0;
9143                color: 128 0 0 64;
9144             }
9145          }
9146       }
9147    }
9148
9149 ///////////////////////////////////////////////////////////////////////////////
9150   group { name: "elm/bubble/top_left/default";
9151     alias: "elm/bubble/base/default";
9152     images {
9153       image: "bubble_3.png" COMP;
9154       image: "bubble_4.png" COMP;
9155       image: "bubble_shine3.png" COMP;
9156       image: "bubble_shine4.png" COMP;
9157     }
9158     parts {
9159       part { name: "event";
9160          type: RECT;
9161          description {
9162             state: "default" 0.0;
9163             color: 0 0 0 0;
9164          }
9165       }
9166       part { name: "elm.swallow.icon";
9167         type: SWALLOW;
9168         description { state: "default" 0.0;
9169           fixed: 1 1;
9170           visible: 0;
9171           align: 0.0 0.0;
9172           aspect: 1.0 1.0;
9173           aspect_preference: VERTICAL;
9174           rel1 {
9175             relative: 0.0 0.0;
9176             offset: 4 4;
9177           }
9178           rel2 {
9179             to_y: "elm.text";
9180             relative: 0.0 1.0;
9181             offset: 4 -1;
9182           }
9183         }
9184         description { state: "visible" 0.0;
9185           inherit: "default" 0.0;
9186           visible: 1;
9187         }
9188       }
9189       part { name: "elm.text";
9190         type: TEXT;
9191         mouse_events:   0;
9192         scale: 1;
9193         description { state: "default" 0.0;
9194           align: 0.0 0.0;
9195           fixed: 0 1;
9196           rel1 {
9197             to_x: "elm.swallow.icon";
9198             relative: 1.0 0.0;
9199             offset: 4 4;
9200           }
9201           rel2 {
9202             to_x: "elm.info";
9203             relative: 0.0 0.0;
9204             offset: -5 4;
9205           }
9206           color: 0 0 0 255;
9207           text {
9208             font: "Sans:style=Bold,Edje-Vera-Bold";
9209             size: 10;
9210             min: 0 1;
9211             max: 0 1;
9212             align: 0.0 0.0;
9213           }
9214         }
9215       }
9216       part { name: "elm.info";
9217         type: TEXT;
9218         mouse_events:   0;
9219         scale: 1;
9220         description { state: "default" 0.0;
9221           align: 1.0 0.0;
9222           fixed: 1 1;
9223           rel1 {
9224             relative: 1.0 0.0;
9225             offset: -5 4;
9226           }
9227           rel2 {
9228             relative: 1.0 0.0;
9229             offset: -5 4;
9230           }
9231           color: 0 0 0 64;
9232           text {
9233             font: "Sans:style=Bold,Edje-Vera-Bold";
9234             size: 10;
9235             min: 1 1;
9236             max: 1 1;
9237             align: 1.0 0.0;
9238           }
9239         }
9240       }
9241       part { name: "base0";
9242         mouse_events:  0;
9243         description { state: "default" 0.0;
9244           rel1 {
9245             to_y: "elm.swallow.icon";
9246             relative: 0.0 1.0;
9247             offset: 0 0;
9248           }
9249           image {
9250             normal: "bubble_3.png";
9251             border: 36 11 18 9;
9252           }
9253           image.middle: SOLID;
9254           fill.smooth: 0;
9255         }
9256         description { state: "rtl" 0.0;
9257            inherit: "default" 0.0;
9258            image {
9259               normal: "bubble_4.png";
9260               border: 11 36 18 9;
9261            }
9262         }
9263       }
9264       part { name: "elm.swallow.content";
9265         type: SWALLOW;
9266         description { state: "default" 0.0;
9267           rel1 {
9268             to: "base0";
9269             offset: 9 16;
9270           }
9271           rel2 {
9272             to: "base0";
9273             offset: -10 -9;
9274           }
9275         }
9276       }
9277       part { name: "shine";
9278         mouse_events:  0;
9279         description { state:    "default" 0.0;
9280           rel1 {
9281             to: "base0";
9282             offset: 5 4;
9283           }
9284           rel2 {
9285             to: "base0";
9286             relative: 1.0 0.5;
9287             offset: -6 7;
9288           }
9289           image {
9290             normal: "bubble_shine3.png";
9291             border: 36 5 14 0;
9292           }
9293           fill.smooth: 0;
9294         }
9295         description { state: "rtl" 0.0;
9296            inherit: "default" 0.0;
9297            image {
9298               normal: "bubble_shine4.png";
9299               border: 5 36 14 0;
9300            }
9301         }
9302       }
9303     }
9304     programs {
9305       program {
9306         name: "icon_show";
9307         signal: "elm,state,icon,visible";
9308         source: "elm";
9309         action: STATE_SET "visible" 0.0;
9310         target: "elm.swallow.icon";
9311       }
9312       program {
9313         name: "icon_hide";
9314         signal: "elm,state,icon,hidden";
9315         source: "elm";
9316         action: STATE_SET "default" 0.0;
9317         target: "elm.swallow.icon";
9318       }
9319       program { name: "to_rtl";
9320          signal: "edje,state,rtl";
9321          source: "edje";
9322          action: STATE_SET "rtl" 0.0;
9323          target: "base0";
9324          target: "shine";
9325       }
9326       program { name: "to_ltr";
9327          signal: "edje,state,ltr";
9328          source: "edje";
9329          action: STATE_SET "default" 0.0;
9330          target: "base0";
9331          target: "shine";
9332       }
9333     }
9334   }
9335
9336   group { name: "elm/bubble/top_right/default";
9337     images {
9338       image: "bubble_3.png" COMP;
9339       image: "bubble_4.png" COMP;
9340       image: "bubble_shine3.png" COMP;
9341       image: "bubble_shine4.png" COMP;
9342     }
9343     parts {
9344       part { name: "event";
9345          type: RECT;
9346          description {
9347             state: "default" 0.0;
9348             color: 0 0 0 0;
9349          }
9350       }
9351       part { name: "elm.swallow.icon";
9352         type: SWALLOW;
9353         description { state: "default" 0.0;
9354           fixed: 1 1;
9355           visible: 0;
9356           align: 1.0 0.0;
9357           aspect: 1.0 1.0;
9358           aspect_preference: VERTICAL;
9359           rel1 {
9360             relative: 1.0 0.0;
9361             offset: -5 4;
9362           }
9363           rel2 {
9364             to_y: "elm.text";
9365             relative: 1.0 1.0;
9366             offset: -5 -1;
9367           }
9368         }
9369         description { state: "visible" 0.0;
9370           inherit: "default" 0.0;
9371           visible: 1;
9372         }
9373       }
9374       part { name: "elm.text";
9375         type: TEXT;
9376         mouse_events:   0;
9377         scale: 1;
9378         description { state: "default" 0.0;
9379           align: 0.0 0.0;
9380           fixed: 0 1;
9381           rel1 {
9382             relative: 0.0 0.0;
9383             offset: 4 4;
9384           }
9385           rel2 {
9386             to_x: "elm.info";
9387             relative: 0.0 0.0;
9388             offset: -5 4;
9389           }
9390           color: 0 0 0 255;
9391           text {
9392             font: "Sans:style=Bold,Edje-Vera-Bold";
9393             size: 10;
9394             min: 0 1;
9395             max: 0 1;
9396             align: 0.0 0.0;
9397           }
9398         }
9399       }
9400       part { name: "elm.info";
9401         type: TEXT;
9402         mouse_events:   0;
9403         scale: 1;
9404         description { state: "default" 0.0;
9405           align: 1.0 0.0;
9406           fixed: 1 1;
9407           rel1 {
9408             relative: 1.0 0.0;
9409             offset: -5 4;
9410           }
9411           rel2 {
9412             to_x: "elm.swallow.icon";
9413             relative: 0.0 0.0;
9414             offset: -5 4;
9415           }
9416           color: 0 0 0 64;
9417           text {
9418             font: "Sans:style=Bold,Edje-Vera-Bold";
9419             size: 10;
9420             min: 1 1;
9421             max: 1 1;
9422             align: 1.0 0.0;
9423           }
9424         }
9425       }
9426       part { name: "base0";
9427         mouse_events:  0;
9428         description { state: "default" 0.0;
9429           rel1 {
9430             to_y: "elm.swallow.icon";
9431             relative: 0.0 1.0;
9432             offset: 0 0;
9433           }
9434           image {
9435             normal: "bubble_4.png";
9436             border: 11 36 18 9;
9437           }
9438           image.middle: SOLID;
9439           fill.smooth: 0;
9440         }
9441         description { state: "rtl" 0.0;
9442            inherit: "default" 0.0;
9443            image {
9444               normal: "bubble_3.png";
9445               border: 36 11 18 9;
9446            }
9447         }
9448       }
9449       part { name: "elm.swallow.content";
9450         type: SWALLOW;
9451         description { state: "default" 0.0;
9452           rel1 {
9453             to: "base0";
9454             offset: 9 16;
9455           }
9456           rel2 {
9457             to: "base0";
9458             offset: -10 -9;
9459           }
9460         }
9461       }
9462       part { name: "shine";
9463         mouse_events:  0;
9464         description { state:    "default" 0.0;
9465           rel1 {
9466             to: "base0";
9467             offset: 5 4;
9468           }
9469           rel2 {
9470             to: "base0";
9471             relative: 1.0 0.5;
9472             offset: -6 7;
9473           }
9474           image {
9475             normal: "bubble_shine4.png";
9476             border: 5 36 14 0;
9477           }
9478           fill.smooth: 0;
9479         }
9480         description { state: "rtl" 0.0;
9481            inherit: "default" 0.0;
9482            image {
9483               normal: "bubble_shine3.png";
9484               border: 36 5 14 0;
9485            }
9486         }
9487       }
9488     }
9489     programs {
9490       program {
9491         name: "icon_show";
9492         signal: "elm,state,icon,visible";
9493         source: "elm";
9494         action: STATE_SET "visible" 0.0;
9495         target: "elm.swallow.icon";
9496       }
9497       program {
9498         name: "icon_hide";
9499         signal: "elm,state,icon,hidden";
9500         source: "elm";
9501         action: STATE_SET "default" 0.0;
9502         target: "elm.swallow.icon";
9503       }
9504       program { name: "to_rtl";
9505          signal: "edje,state,rtl";
9506          source: "edje";
9507          action: STATE_SET "rtl" 0.0;
9508          target: "base0";
9509          target: "shine";
9510       }
9511       program { name: "to_ltr";
9512          signal: "edje,state,ltr";
9513          source: "edje";
9514          action: STATE_SET "default" 0.0;
9515          target: "base0";
9516          target: "shine";
9517       }
9518     }
9519   }
9520
9521   group { name: "elm/bubble/bottom_left/default";
9522     images {
9523       image: "bubble_1.png" COMP;
9524       image: "bubble_2.png" COMP;
9525       image: "bubble_shine.png" COMP;
9526     }
9527     parts {
9528       part { name: "event";
9529          type: RECT;
9530          description {
9531             state: "default" 0.0;
9532             color: 0 0 0 0;
9533          }
9534       }
9535       part { name: "elm.swallow.icon";
9536         type: SWALLOW;
9537         description { state: "default" 0.0;
9538           fixed: 1 1;
9539           visible: 0;
9540           align: 0.0 1.0;
9541           aspect: 1.0 1.0;
9542           aspect_preference: VERTICAL;
9543           rel1 {
9544             to_y: "elm.text";
9545             relative: 0.0 0.0;
9546             offset: 4 0;
9547           }
9548           rel2 {
9549             relative: 0.0 1.0;
9550             offset: 4 -5;
9551           }
9552         }
9553         description { state: "visible" 0.0;
9554           inherit: "default" 0.0;
9555           visible: 1;
9556         }
9557       }
9558       part { name: "elm.text";
9559         type: TEXT;
9560         mouse_events:   0;
9561         scale: 1;
9562         description { state: "default" 0.0;
9563           align: 0.0 1.0;
9564           fixed: 0 1;
9565           rel1 {
9566             to_x: "elm.swallow.icon";
9567             relative: 1.0 1.0;
9568             offset: 4 -5;
9569           }
9570           rel2 {
9571             to_x: "elm.info";
9572             relative: 0.0 1.0;
9573             offset: -5 -5;
9574           }
9575           color: 0 0 0 255;
9576           text {
9577             font: "Sans:style=Bold,Edje-Vera-Bold";
9578             size: 10;
9579             min: 0 1;
9580             max: 0 1;
9581             align: 0.0 1.0;
9582           }
9583         }
9584       }
9585       part { name: "elm.info";
9586         type: TEXT;
9587         mouse_events:   0;
9588         scale: 1;
9589         description { state: "default" 0.0;
9590           align: 1.0 1.0;
9591           fixed: 1 1;
9592           rel1 {
9593             relative: 1.0 1.0;
9594             offset: -5 -5;
9595           }
9596           rel2 {
9597             relative: 1.0 1.0;
9598             offset: -5 -5;
9599           }
9600           color: 0 0 0 64;
9601           text {
9602             font: "Sans:style=Bold,Edje-Vera-Bold";
9603             size: 10;
9604             min: 1 1;
9605             max: 1 1;
9606             align: 1.0 1.0;
9607           }
9608         }
9609       }
9610       part { name: "base0";
9611         mouse_events:  0;
9612         description { state: "default" 0.0;
9613           rel2 {
9614             to_y: "elm.swallow.icon";
9615             relative: 1.0 0.0;
9616             offset: -1 -1;
9617           }
9618           image {
9619             normal: "bubble_1.png";
9620             border: 36 11 10 19;
9621           }
9622           image.middle: SOLID;
9623           fill.smooth: 0;
9624         }
9625         description { state: "rtl" 0.0;
9626            inherit: "default" 0.0;
9627            image {
9628               normal: "bubble_2.png";
9629               border: 11 36 10 19;
9630            }
9631         }
9632       }
9633       part { name: "elm.swallow.content";
9634         type: SWALLOW;
9635         description { state: "default" 0.0;
9636           rel1 {
9637             to: "base0";
9638             offset: 9 8;
9639           }
9640           rel2 {
9641             to: "base0";
9642             offset: -10 -17;
9643           }
9644         }
9645       }
9646       part { name: "shine";
9647         mouse_events:  0;
9648         description { state:    "default" 0.0;
9649           rel1 {
9650             to: "base0";
9651             offset: 5 4;
9652           }
9653           rel2 {
9654             to: "base0";
9655             relative: 1.0 0.5;
9656             offset: -6 -16;
9657           }
9658           image {
9659             normal: "bubble_shine.png";
9660             border: 5 5 5 0;
9661           }
9662           fill.smooth: 0;
9663         }
9664         description { state: "rtl" 0.0;
9665            inherit: "default" 0.0;
9666            image {
9667               normal: "bubble_shine4.png";
9668               border: 5 36 14 0;
9669            }
9670         }
9671       }
9672     }
9673     programs {
9674       program {
9675         name: "icon_show";
9676         signal: "elm,state,icon,visible";
9677         source: "elm";
9678         action: STATE_SET "visible" 0.0;
9679         target: "elm.swallow.icon";
9680       }
9681       program {
9682         name: "icon_hide";
9683         signal: "elm,state,icon,hidden";
9684         source: "elm";
9685         action: STATE_SET "default" 0.0;
9686         target: "elm.swallow.icon";
9687       }
9688       program { name: "to_rtl";
9689          signal: "edje,state,rtl";
9690          source: "edje";
9691          action: STATE_SET "rtl" 0.0;
9692          target: "base0";
9693       }
9694       program { name: "to_ltr";
9695          signal: "edje,state,ltr";
9696          source: "edje";
9697          action: STATE_SET "default" 0.0;
9698          target: "base0";
9699       }
9700     }
9701   }
9702
9703   group { name: "elm/bubble/bottom_right/default";
9704     images {
9705       image: "bubble_1.png" COMP;
9706       image: "bubble_2.png" COMP;
9707       image: "bubble_shine.png" COMP;
9708     }
9709     parts {
9710       part { name: "event";
9711          type: RECT;
9712          description {
9713             state: "default" 0.0;
9714             color: 0 0 0 0;
9715          }
9716       }
9717       part { name: "elm.swallow.icon";
9718         type: SWALLOW;
9719         description { state: "default" 0.0;
9720           fixed: 1 1;
9721           visible: 0.0;
9722           align: 1.0 1.0;
9723           aspect: 1.0 1.0;
9724           aspect_preference: VERTICAL;
9725           rel1 {
9726             to_y: "elm.text";
9727             relative: 1.0 0.0;
9728             offset: -5 0;
9729           }
9730           rel2 {
9731             relative: 1.0 1.0;
9732             offset: -5 -5;
9733           }
9734         }
9735         description { state: "visible" 0.0;
9736           inherit: "default" 0.0;
9737           visible: 1;
9738         }
9739       }
9740       part { name: "elm.text";
9741         type: TEXT;
9742         mouse_events:   0;
9743         scale: 1;
9744         description { state: "default" 0.0;
9745           align: 0.0 1.0;
9746           fixed: 0 1;
9747           rel1 {
9748             relative: 0.0 1.0;
9749             offset: 4 -5;
9750           }
9751           rel2 {
9752             to_x: "elm.info";
9753             relative: 0.0 1.0;
9754             offset: -5 -5;
9755           }
9756           color: 0 0 0 255;
9757           text {
9758             font: "Sans:style=Bold,Edje-Vera-Bold";
9759             size: 10;
9760             min: 0 1;
9761             max: 0 1;
9762             align: 0.0 1.0;
9763           }
9764         }
9765       }
9766       part { name: "elm.info";
9767         type: TEXT;
9768         mouse_events:   0;
9769         scale: 1;
9770         description { state: "default" 0.0;
9771           align: 1.0 1.0;
9772           fixed: 1 1;
9773           rel1 {
9774             relative: 1.0 1.0;
9775             offset: -5 -5;
9776           }
9777           rel2 {
9778             to_x: "elm.swallow.icon";
9779             relative: 0.0 1.0;
9780             offset: -5 -5;
9781           }
9782           color: 0 0 0 64;
9783           text {
9784             font: "Sans:style=Bold,Edje-Vera-Bold";
9785             size: 10;
9786             min: 1 1;
9787             max: 1 1;
9788             align: 1.0 1.0;
9789           }
9790         }
9791       }
9792       part { name: "base0";
9793         mouse_events:  0;
9794         description { state: "default" 0.0;
9795           rel2 {
9796             to_y: "elm.swallow.icon";
9797             relative: 1.0 0.0;
9798             offset: -1 -1;
9799           }
9800           image {
9801             normal: "bubble_2.png";
9802             border: 11 36 10 19;
9803           }
9804           image.middle: SOLID;
9805           fill.smooth: 0;
9806         }
9807         description { state: "rtl" 0.0;
9808            inherit: "default" 0.0;
9809            image {
9810               normal: "bubble_1.png";
9811               border: 36 11 10 19;
9812            }
9813         }
9814       }
9815       part { name: "elm.swallow.content";
9816         type: SWALLOW;
9817         description { state: "default" 0.0;
9818           rel1 {
9819             to: "base0";
9820             offset: 9 8;
9821           }
9822           rel2 {
9823             to: "base0";
9824             offset: -10 -17;
9825           }
9826         }
9827       }
9828       part { name: "shine";
9829         mouse_events:  0;
9830         description { state:    "default" 0.0;
9831           rel1 {
9832             to: "base0";
9833             offset: 5 4;
9834           }
9835           rel2 {
9836             to: "base0";
9837             relative: 1.0 0.5;
9838             offset: -6 -16;
9839           }
9840           image {
9841             normal: "bubble_shine.png";
9842             border: 5 5 5 0;
9843           }
9844           fill.smooth: 0;
9845         }
9846         description { state: "rtl" 0.0;
9847            inherit: "default" 0.0;
9848            image {
9849               normal: "bubble_shine3.png";
9850               border: 36 5 14 0;
9851            }
9852         }
9853       }
9854     }
9855     programs {
9856       program {
9857         name: "icon_show";
9858         signal: "elm,state,icon,visible";
9859         source: "elm";
9860         action: STATE_SET "visible" 0.0;
9861         target: "elm.swallow.icon";
9862       }
9863       program {
9864         name: "icon_hide";
9865         signal: "elm,state,icon,hidden";
9866         source: "elm";
9867         action: STATE_SET "default" 0.0;
9868         target: "elm.swallow.icon";
9869       }
9870       program { name: "to_rtl";
9871          signal: "edje,state,rtl";
9872          source: "edje";
9873          action: STATE_SET "rtl" 0.0;
9874          target: "base0";
9875       }
9876       program { name: "to_ltr";
9877          signal: "edje,state,ltr";
9878          source: "edje";
9879          action: STATE_SET "default" 0.0;
9880          target: "base0";
9881       }
9882     }
9883   }
9884
9885 ///////////////////////////////////////////////////////////////////////////////
9886    group { name: "elm/photo/base/default";
9887       images {
9888          image: "frame_1.png" COMP;
9889          image: "frame_2.png" COMP;
9890          image: "dia_grad.png" COMP;
9891          image: "head.png" COMP;
9892       }
9893       parts {
9894          part { name: "base0";
9895             mouse_events:  0;
9896             description { state: "default" 0.0;
9897                image.normal: "dia_grad.png";
9898                rel1.to: "over";
9899                rel2.to: "over";
9900                fill {
9901                   smooth: 0;
9902                   size {
9903                      relative: 0.0 1.0;
9904                      offset: 64 0;
9905                   }
9906                }
9907             }
9908          }
9909          part { name: "base";
9910             mouse_events:  0;
9911             description { state:    "default" 0.0;
9912                image {
9913                   normal: "frame_2.png";
9914                   border: 5 5 32 26;
9915                   middle: 0;
9916                }
9917                fill.smooth : 0;
9918             }
9919          }
9920          part { name: "head";
9921             mouse_events:  0;
9922             description { state:    "default" 0.0;
9923                rel1.offset: 4 4;
9924                rel2.offset: -5 -5;
9925                aspect: 1.0 1.0;
9926                aspect_preference: BOTH;
9927                image.normal: "head.png";
9928             }
9929          }
9930          part { name: "clip";
9931             mouse_events:  0;
9932             type: RECT;
9933             description { state:    "default" 0.0;
9934                rel1.offset: 4 4;
9935                rel2.offset: -5 -5;
9936                color: 255 255 255 255;
9937             }
9938          }
9939          part { name: "elm.swallow.content";
9940             type: SWALLOW;
9941             clip_to: "clip";
9942             description { state: "default" 0.0;
9943                rel1.offset: 4 4;
9944                rel2.offset: -5 -5;
9945             }
9946          }
9947          part { name: "over";
9948             mouse_events:  0;
9949             description { state:    "default" 0.0;
9950                rel1.offset: 4 4;
9951                rel2.offset: -5 -5;
9952                image {
9953                   normal: "frame_1.png";
9954                   border: 2 2 28 22;
9955                   middle: 0;
9956                }
9957                fill.smooth: 0;
9958             }
9959          }
9960      }
9961    }
9962
9963    group { name: "elm/photo/base/shadow";
9964               images {
9965                         image: "shadow.png" COMP;
9966                         image: "black.png" COMP;
9967               }
9968               script {
9969               public message(Msg_Type:type, id, ...) {
9970                 if( (type==MSG_INT_SET) && (id==0) )
9971                 {
9972                     new w;
9973                     new h;
9974
9975                     custom_state(PART:"size", "default", 0.0);
9976
9977                     w = getarg(2);
9978                     h = getarg(3);
9979                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9980                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9981                     set_state(PART:"size", "custom", 0.0);
9982                 }
9983             }
9984             }
9985               parts {
9986               part { name: "size";
9987                     type: SWALLOW;
9988                     description { state: "default" 0.0;
9989                             rel1.relative: 0.5 0.5;
9990                             rel2.relative: 0.5 0.5;
9991                     }
9992                  }
9993               part {
9994                 name: "shadow";
9995                 type: IMAGE;
9996                 repeat_events: 1;
9997                 description {
9998                     state: "default" 0.0;
9999                     rel1.to: "size";
10000                     rel2.to: "size";
10001                     rel1.relative: -0.06 -0.06;
10002                     rel2.relative: 1.07 1.07;
10003                     image.normal: "shadow.png";
10004                 }
10005             }
10006
10007
10008                  part { name: "elm.swallow.content";
10009                     type: SWALLOW;
10010                     description { state: "default" 0.0;
10011                     rel1.offset: 3 3;
10012                     rel2.offset: -3 -3;
10013                             fixed: 1 1;
10014                     }
10015                  }
10016
10017                  part {
10018                 name: "border";
10019                 type: IMAGE;
10020                 repeat_events: 1;
10021                 description {
10022                     state: "default" 0.0;
10023                     visible: 1;
10024                     color: 0 0 0 255;
10025                     rel1.to: "size";
10026                     rel2.to: "size";
10027                     image.normal: "black.png";
10028                     image.border: 1 1 1 1;
10029                     image.middle: 0;
10030                 }
10031             }
10032                  }
10033    }
10034
10035 ///////////////////////////////////////////////////////////////////////////////
10036    group { name: "elm/thumb/base/default";
10037       images {
10038          image: "frame_1.png" COMP;
10039          image: "frame_2.png" COMP;
10040          image: "dia_grad.png" COMP;
10041          image: "busy-1.png" COMP;
10042          image: "busy-2.png" COMP;
10043          image: "busy-3.png" COMP;
10044          image: "busy-4.png" COMP;
10045          image: "busy-5.png" COMP;
10046          image: "busy-6.png" COMP;
10047          image: "busy-7.png" COMP;
10048          image: "busy-8.png" COMP;
10049          image: "busy-9.png" COMP;
10050       }
10051       parts {
10052          part { name: "base0";
10053             mouse_events:  0;
10054             description { state:        "default" 0.0;
10055                image.normal: "dia_grad.png";
10056                rel1.to: "over";
10057                rel2.to: "over";
10058                fill {
10059                   smooth: 0;
10060                   size {
10061                      relative: 0.0 1.0;
10062                      offset: 64 0;
10063                   }
10064                }
10065             }
10066          }
10067          part { name: "base";
10068             mouse_events:  0;
10069             description { state:        "default" 0.0;
10070                image {
10071                   normal: "frame_2.png";
10072                   border: 5 5 32 26;
10073                   middle: 0;
10074                }
10075                fill.smooth : 0;
10076             }
10077          }
10078          part { name: "clip";
10079             mouse_events:  0;
10080             type: RECT;
10081             description { state:        "default" 0.0;
10082                rel1.offset: 4 4;
10083                rel2.offset: -5 -5;
10084                color: 255 255 255 255;
10085             }
10086          }
10087          part { name: "elm.swallow.content";
10088             type: SWALLOW;
10089             clip_to: "clip";
10090             description { state:        "default" 0.0;
10091                rel1.offset: 4 4;
10092                rel2.offset: -5 -5;
10093             }
10094          }
10095          part { name: "progress";
10096             mouse_events: 0;
10097
10098             clip_to: "clip";
10099             description { state:        "default" 0.0;
10100                min: 32 32;
10101                max: 32 32;
10102                visible: 0;
10103                aspect: 1.0 1.0;
10104                aspect_preference: BOTH;
10105             }
10106             description { state:        "pulse" 0.0;
10107                inherit: "default" 0.0;
10108                visible: 1;
10109                image {
10110                   normal: "busy-9.png";
10111                   tween:  "busy-1.png";
10112                   tween:  "busy-2.png";
10113                   tween:  "busy-3.png";
10114                   tween:  "busy-4.png";
10115                   tween:  "busy-5.png";
10116                   tween:  "busy-6.png";
10117                   tween:  "busy-7.png";
10118                   tween:  "busy-8.png";
10119                   border: 7 7 7 7;
10120                }
10121             }
10122          }
10123          part { name: "over";
10124             mouse_events:  0;
10125             description { state:        "default" 0.0;
10126                rel1.offset: 4 4;
10127                rel2.offset: -5 -5;
10128                image {
10129                   normal: "frame_1.png";
10130                   border: 2 2 28 22;
10131                   middle: 0;
10132                }
10133                fill.smooth: 0;
10134             }
10135          }
10136          programs {
10137             program { name: "start_pulse";
10138                signal: "elm,state,pulse,start";
10139                source: "elm";
10140                action: STATE_SET "pulse" 0.0;
10141                target: "progress";
10142                transition: LINEAR 0.5;
10143                after: "start_pulse";
10144             }
10145             program { name: "stop_pulse";
10146                signal: "elm,state,pulse,stop";
10147                source: "elm";
10148                action: STATE_SET "default" 0.0;
10149                target: "progress";
10150             }
10151          }
10152       }
10153    }
10154
10155    group { name: "elm/thumb/base/noframe";
10156       images {
10157          image: "busy-1.png" COMP;
10158          image: "busy-2.png" COMP;
10159          image: "busy-3.png" COMP;
10160          image: "busy-4.png" COMP;
10161          image: "busy-5.png" COMP;
10162          image: "busy-6.png" COMP;
10163          image: "busy-7.png" COMP;
10164          image: "busy-8.png" COMP;
10165          image: "busy-9.png" COMP;
10166       }
10167       parts {
10168          part { name: "elm.swallow.content";
10169             type: SWALLOW;
10170             description { state: "default" 0.0;
10171                rel1.offset: 4 4;
10172                rel2.offset: -5 -5;
10173             }
10174          }
10175          part { name: "progress";
10176             mouse_events: 0;
10177             description { state:        "default" 0.0;
10178                min: 32 32;
10179                max: 32 32;
10180                visible: 0;
10181                aspect: 1.0 1.0;
10182                aspect_preference: BOTH;
10183             }
10184             description { state:        "pulse" 0.0;
10185                inherit: "default" 0.0;
10186                visible: 1;
10187                image {
10188                   normal: "busy-9.png";
10189                   tween:  "busy-1.png";
10190                   tween:  "busy-2.png";
10191                   tween:  "busy-3.png";
10192                   tween:  "busy-4.png";
10193                   tween:  "busy-5.png";
10194                   tween:  "busy-6.png";
10195                   tween:  "busy-7.png";
10196                   tween:  "busy-8.png";
10197                   border: 7 7 7 7;
10198                }
10199             }
10200          }
10201          programs {
10202             program { name: "start_pulse";
10203                signal: "elm,state,pulse,start";
10204                source: "elm";
10205                action: STATE_SET "pulse" 0.0;
10206                target: "progress";
10207                transition: LINEAR 0.5;
10208                after: "start_pulse";
10209             }
10210             program { name: "stop_pulse";
10211                signal: "elm,state,pulse,stop";
10212                source: "elm";
10213                action: STATE_SET "default" 0.0;
10214                target: "progress";
10215             }
10216          }
10217       }
10218    }
10219
10220
10221 ///////////////////////////////////////////////////////////////////////////////
10222 #define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max)                   \
10223    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10224       alias: "elm/icon/"##Alias##"/default";                            \
10225       images.image: File COMP; parts { part { name: "base";             \
10226             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10227                image.normal: File; } } } }
10228
10229 #define GROUP_ICON(Name, File, Min, Max)                      \
10230    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10231       images.image: File COMP; parts { part { name: "base";             \
10232             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10233                image.normal: File; } } } }
10234
10235    group { name: "elm/icon/arrow_down/default";
10236            alias: "elm/icon/toolbar/arrow_down/default";
10237            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10238       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10239          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10240             image.normal: "icon_arrow_down.png"; } } } }
10241
10242    GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
10243    GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
10244    GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
10245    GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
10246    GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
10247    GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
10248    GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
10249    GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
10250    GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
10251    GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
10252    GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
10253    GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
10254    GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
10255 ///////////////////////////////////////////////////////////////////////////////
10256    GROUP_ICON("menu/home", "icon_home.png", 24, 24);
10257    GROUP_ICON("menu/close", "icon_close.png", 24, 24);
10258    GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
10259    GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
10260    GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
10261    GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
10262    GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
10263    GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
10264    GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
10265    GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
10266    GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
10267    GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
10268    GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
10269    GROUP_ICON("menu/file", "icon_file.png", 24, 24);
10270
10271    GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
10272    GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
10273    GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
10274    GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
10275    GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
10276    GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
10277    GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
10278    GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
10279
10280 ///////////////////////////////////////////////////////////////////////////////
10281    group { name: "elm/toolbar/base/default";
10282       images {
10283          image: "bt_dis_base.png" COMP;
10284          image: "bt_dis_hilight.png" COMP;
10285          image: "bt_dis_shine.png" COMP;
10286          image: "icon_left_arrow.png" COMP;
10287          image: "icon_right_arrow.png" COMP;
10288       }
10289       parts {
10290          part { name: "base";
10291             mouse_events: 1;
10292             description { state: "default" 0.0;
10293                rel1 {
10294                   relative: 0.0 0.0;
10295                   offset: 2 2;
10296                }
10297                rel2.offset: -3 -3;
10298                image {
10299                   normal: "bt_dis_base.png";
10300                   border: 4 4 4 4;
10301                }
10302                image.middle: SOLID;
10303             }
10304          }
10305          part { name: "clipper";
10306             type: RECT;
10307             mouse_events: 0;
10308             description {
10309                state: "default" 0.0;
10310                rel1 {
10311                   to: "base";
10312                   offset: 2 2;
10313                }
10314                rel2 {
10315                   to: "base";
10316                   offset: -3 -3;
10317                }
10318             }
10319          }
10320          part { name: "elm.swallow.content";
10321             clip_to: "clipper";
10322             type: SWALLOW;
10323             description {
10324                state: "default" 0.0;
10325                rel1.to: "clipper";
10326                rel2.to: "clipper";
10327             }
10328          }
10329          part { name: "over2";
10330             mouse_events: 0;
10331             description { state: "default" 0.0;
10332                rel1.to: "base";
10333                rel2.to: "base";
10334                image {
10335                   normal: "bt_dis_shine.png";
10336                   border: 4 4 4 4;
10337                }
10338             }
10339          }
10340          part { name: "over1";
10341             mouse_events: 0;
10342             description { state: "default" 0.0;
10343                rel1.to: "base";
10344                rel2.to: "base";
10345                rel2.relative: 1.0 0.5;
10346                image {
10347                   normal: "bt_dis_hilight.png";
10348                   border: 4 4 4 0;
10349                }
10350                color: 255 255 255 128;
10351             }
10352          }
10353          part { name: "left_arrow";
10354             mouse_events: 0;
10355             description { state: "default" 0.0;
10356                image.normal: "icon_left_arrow.png";
10357                aspect: 1.0 1.0;
10358                aspect_preference: VERTICAL;
10359                align: 0.0 0.5;
10360                min: 32 32;
10361                max: 32 32;
10362             }
10363             description { state: "hidden" 0.0;
10364                inherit: "default" 0.0;
10365                visible: 0;
10366                color: 255 255 255 0;
10367             }
10368          }
10369          part { name: "right_arrow";
10370             mouse_events: 0;
10371             description { state: "default" 0.0;
10372                image.normal: "icon_right_arrow.png";
10373                aspect: 1.0 1.0;
10374                aspect_preference: VERTICAL;
10375                align: 1.0 0.5;
10376                min: 32 32;
10377                max: 32 32;
10378             }
10379             description { state: "hidden" 0.0;
10380                inherit: "default" 0.0;
10381                visible: 0;
10382                color: 255 255 255 0;
10383             }
10384          }
10385          part { name: "event";
10386             type: RECT;
10387             mouse_events: 1;
10388             repeat_events: 1;
10389             description { state: "default" 0.0;
10390                color: 0 0 0 0;
10391             }
10392          }
10393       }
10394       programs {
10395          program { name: "sb_hbar_show";
10396             signal: "elm,action,show,hbar";
10397             source: "elm";
10398             action:  STATE_SET "default" 0.0;
10399             transition: LINEAR 0.5;
10400             target: "left_arrow";
10401             target: "right_arrow";
10402          }
10403          program { name: "sb_hbar_hide";
10404             signal: "elm,action,hide,hbar";
10405             source: "elm";
10406             action:  STATE_SET "hidden" 0.0;
10407             target: "left_arrow";
10408             target: "right_arrow";
10409             transition: LINEAR 0.5;
10410          }
10411       }
10412    }
10413
10414    group { name: "elm/toolbar/item/default";
10415        images {
10416            image: "toolbar_sel.png" COMP;
10417        }
10418        data.item: "transition_animation_on" "1";
10419        parts {
10420            part { name: "label2";
10421                type: TEXT;
10422                mouse_events:  0;
10423                scale: 1;
10424                clip_to: "elm.text.clipper";
10425                description { state: "default" 0.0;
10426                    align: 0.5 1.0;
10427                    fixed: 0 1;
10428                    rel1.to: "elm.text";
10429                    rel2.to: "elm.text";
10430                    color: 0 0 0 255;
10431                    text {
10432                        font: "Sans";
10433                        text_source: "elm.text";
10434                        size: 10;
10435                        min: 1 1;
10436                        align: 0.5 0.5;
10437                        text_class: "toolbar_item";
10438                    }
10439                }
10440                description { state: "selected" 0.0;
10441                    inherit: "default" 0.0;
10442                    visible: 0;
10443                }
10444                description { state: "disabled" 0.0;
10445                    inherit: "default" 0.0;
10446                    color: 0 0 0 128;
10447                    color3: 0 0 0 0;
10448                }
10449                description { state: "disabled_visible" 0.0;
10450                    inherit: "default" 0.0;
10451                    color: 0 0 0 128;
10452                    color3: 0 0 0 0;
10453                    visible: 1;
10454                    text.min: 1 1;
10455                }
10456            }
10457            part { name: "label2_new";
10458                type: TEXT;
10459                mouse_events:  0;
10460                scale: 1;
10461                clip_to: "elm.text_new.clipper";
10462                description { state: "default" 0.0;
10463                    align: 0.5 1.0;
10464                    fixed: 0 1;
10465                    rel1.to: "elm.text_new";
10466                    rel2.to: "elm.text_new";
10467                    color: 0 0 0 255;
10468                    text {
10469                        font: "Sans";
10470                        text_source: "elm.text_new";
10471                        size: 10;
10472                        min: 1 1;
10473                        align: 0.5 0.5;
10474                        text_class: "toolbar_item";
10475                    }
10476                }
10477                description { state: "selected" 0.0;
10478                    inherit: "default" 0.0;
10479                    visible: 0;
10480                }
10481                description { state: "disabled" 0.0;
10482                    inherit: "default" 0.0;
10483                    color: 0 0 0 128;
10484                    color3: 0 0 0 0;
10485                }
10486                description { state: "disabled_visible" 0.0;
10487                    inherit: "default" 0.0;
10488                    color: 0 0 0 128;
10489                    color3: 0 0 0 0;
10490                    visible: 1;
10491                    text.min: 1 1;
10492                }
10493            }
10494            part { name: "bg";
10495                mouse_events: 0;
10496                description { state: "default" 0.0;
10497                    visible: 0;
10498                    color: 255 255 255 0;
10499                    image {
10500                        normal: "toolbar_sel.png";
10501                        border: 3 3 0 0;
10502                    }
10503                    image.middle: SOLID;
10504                    fill.smooth: 0;
10505                }
10506                description { state: "selected" 0.0;
10507                    inherit: "default" 0.0;
10508                    visible: 1;
10509                    color: 255 255 255 255;
10510                }
10511                description { state: "disabled" 0.0;
10512                    inherit: "default" 0.0;
10513                    visible: 0;
10514                    color: 255 255 255 0;
10515                }
10516            }
10517            part { name: "elm.swallow.icon";
10518                type: SWALLOW;
10519                clip_to: "elm.icon.clipper";
10520                description { state: "default" 0.0;
10521                    align: 0.5 0.5;
10522                    fixed: 0 0;
10523                    rel1 {
10524                        relative: 0.0 0.0;
10525                        offset: 2 2;
10526                    }
10527                    rel2 {
10528                        to_y: "elm.text";
10529                        relative: 1.0 0.0;
10530                        offset: -3 -1;
10531                    }
10532                    color: 0 0 0 0;
10533                }
10534            }
10535            part { name: "elm.swallow.icon_new";
10536                type: SWALLOW;
10537                clip_to: "elm.icon_new.clipper";
10538                description { state: "default" 0.0;
10539                    align: 0.5 0.5;
10540                    fixed: 0 0;
10541                    rel1 {
10542                        relative: 0.0 0.0;
10543                        offset: 2 2;
10544                    }
10545                    rel2 {
10546                        to_y: "elm.text_new";
10547                        relative: 1.0 0.0;
10548                        offset: -3 -1;
10549                    }
10550                    color: 0 0 0 0;
10551                }
10552            }
10553            part { name: "elm.text";
10554                type: TEXT;
10555                effect: SOFT_SHADOW;
10556                mouse_events:  0;
10557                scale: 1;
10558                clip_to: "elm.text.clipper";
10559                description { state: "default" 0.0;
10560                    align: 0.5 1.0;
10561                    fixed: 0 1;
10562                    rel1 {
10563                        relative: 0.0 1.0;
10564                        offset:   0 -1;
10565                    }
10566                    rel2 {
10567                        relative: 1.0 1.0;
10568                        offset:   -1 -1;
10569                    }
10570                    visible: 0;
10571                    color: 224 224 224 255;
10572                    color3: 0 0 0 32;
10573                    text {
10574                        font: "Sans:style=Bold";
10575                        size: 10;
10576                        min: 1 1;
10577                        align: 0.5 0.5;
10578                        text_class: "toolbar_item";
10579                    }
10580                }
10581                description { state: "selected" 0.0;
10582                    inherit: "default" 0.0;
10583                    visible: 1;
10584                }
10585                description { state: "visible" 0.0;
10586                    inherit: "default" 0.0;
10587                    visible: 1;
10588                    text.min: 1 1;
10589                }
10590                description { state: "disabled" 0.0;
10591                    inherit: "default" 0.0;
10592                    color: 0 0 0 128;
10593                    color3: 0 0 0 0;
10594                }
10595                description { state: "disabled_visible" 0.0;
10596                    inherit: "default" 0.0;
10597                    color: 0 0 0 128;
10598                    color3: 0 0 0 0;
10599                    visible: 1;
10600                    text.min: 1 1;
10601                }
10602            }
10603            part { name: "elm.text_new";
10604                type: TEXT;
10605                effect: SOFT_SHADOW;
10606                mouse_events:  0;
10607                clip_to: "elm.text_new.clipper";
10608                scale: 1;
10609                description { state: "default" 0.0;
10610                    align: 0.5 1.0;
10611                    fixed: 0 1;
10612                    rel1 {
10613                        relative: 0.0 1.0;
10614                        offset:   0 -1;
10615                    }
10616                    rel2 {
10617                        relative: 1.0 1.0;
10618                        offset:   -1 -1;
10619                    }
10620                    visible: 0;
10621                    color: 224 224 224 255;
10622                    color3: 0 0 0 32;
10623                    text {
10624                        font: "Sans:style=Bold";
10625                        size: 10;
10626                        min: 1 1;
10627                        align: 0.5 0.5;
10628                        text_class: "toolbar_item";
10629                    }
10630                }
10631                description { state: "selected" 0.0;
10632                    inherit: "default" 0.0;
10633                    visible: 1;
10634                }
10635                description { state: "visible" 0.0;
10636                    inherit: "default" 0.0;
10637                    visible: 1;
10638                    text.min: 1 1;
10639                }
10640                description { state: "disabled" 0.0;
10641                    inherit: "default" 0.0;
10642                    color: 0 0 0 128;
10643                    color3: 0 0 0 0;
10644                }
10645                description { state: "disabled_visible" 0.0;
10646                    inherit: "default" 0.0;
10647                    color: 0 0 0 128;
10648                    color3: 0 0 0 0;
10649                    visible: 1;
10650                    text.min: 1 1;
10651                }
10652            }
10653            part { name: "elm.text.clipper";
10654                type: RECT;
10655                description { state: "default" 0.0;
10656                    color: 255 255 255 255;
10657                }
10658                description { state: "animation" 0.0;
10659                    color: 255 255 255 0;
10660                }
10661            }
10662            part { name: "elm.text_new.clipper";
10663                type: RECT;
10664                description { state: "default" 0.0;
10665                    color: 255 255 255 0;
10666                }
10667                description { state: "animation" 0.0;
10668                    color: 255 255 255 255;
10669                }
10670            }
10671            part { name: "elm.icon.clipper";
10672                type: RECT;
10673                description { state: "default" 0.0;
10674                    color: 255 255 255 255;
10675                }
10676                description { state: "animation" 0.0;
10677                    color: 255 255 255 0;
10678                }
10679            }
10680            part { name: "elm.icon_new.clipper";
10681                type: RECT;
10682                description { state: "default" 0.0;
10683                    color: 255 255 255 0;
10684                }
10685                description { state: "animation" 0.0;
10686                    color: 255 255 255 255;
10687                }
10688            }
10689            part { name: "event";
10690                type: RECT;
10691                mouse_events: 1;
10692                ignore_flags: ON_HOLD;
10693                description { state: "default" 0.0;
10694                    color: 0 0 0 0;
10695                }
10696            }
10697        }
10698        programs {
10699            program { name: "go_active";
10700                signal:  "elm,state,selected";
10701                source:  "elm";
10702                action:  STATE_SET "selected" 0.0;
10703                target:  "bg";
10704                target:  "elm.text";
10705                target:  "label2";
10706                target:  "elm.text_new";
10707                target:  "label2_new";
10708                transition: LINEAR 0.2;
10709            }
10710            program { name: "go_passive";
10711                signal:  "elm,state,unselected";
10712                source:  "elm";
10713                action:  STATE_SET "default" 0.0;
10714                target:  "bg";
10715                target:  "elm.text";
10716                target:  "label2";
10717                target:  "elm.text_new";
10718                target:  "label2_new";
10719                transition: LINEAR 0.1;
10720            }
10721            program { name: "go";
10722                signal:  "mouse,up,1";
10723                source:  "event";
10724                action:  SIGNAL_EMIT "elm,action,click" "elm";
10725            }
10726            program { name: "mouse,in";
10727               signal:  "mouse,in";
10728               source:  "event";
10729               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10730            }
10731            program { name: "mouse,out";
10732               signal:  "mouse,out";
10733               source:  "event";
10734               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10735            }
10736            program { name: "disable";
10737                signal: "elm,state,disabled";
10738                source: "elm";
10739                action: STATE_SET "disabled" 0.0;
10740                target: "label2";
10741                target: "label2_new";
10742                target: "bg";
10743                after: "disable_text";
10744            }
10745            program { name: "disable_text";
10746                script {
10747                    new st[31];
10748                    new Float:vl;
10749                    get_state(PART:"elm.text", st, 30, vl);
10750                    if (!strcmp(st, "visible"))
10751                    {
10752                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10753                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10754                    }
10755                    else
10756                    {
10757                       set_state(PART:"elm.text", "disabled", 0.0);
10758                       set_state(PART:"elm.text_new", "disabled", 0.0);
10759                    }
10760                }
10761            }
10762            program { name: "enable";
10763                signal: "elm,state,enabled";
10764                source: "elm";
10765                action: STATE_SET "default" 0.0;
10766                target: "label2";
10767                target: "label2_new";
10768                target: "bg";
10769                after: "enable_text";
10770            }
10771            program { name: "enable_text";
10772                script {
10773                    new st[31];
10774                    new Float:vl;
10775                    get_state(PART:"elm.text", st, 30, vl);
10776                    if (!strcmp(st, "disabled_visible"))
10777                    {
10778                       set_state(PART:"elm.text", "visible", 0.0);
10779                       set_state(PART:"elm.text_new", "visible", 0.0);
10780                    }
10781                    else
10782                    {
10783                       set_state(PART:"elm.text", "default", 0.0);
10784                       set_state(PART:"elm.text_new", "default", 0.0);
10785                    }
10786                }
10787            }
10788            program { name: "label_set,animation,forward";
10789               signal: "elm,state,label_set,forward";
10790               source: "elm";
10791               after: "label_set,animation";
10792            }
10793            program { name: "label_set,animation,backward";
10794               signal: "elm,state,label_set,backward";
10795               source: "elm";
10796               after: "label_set,animation";
10797            }
10798            program { name: "label_set,animation";
10799               signal: "elm,state,label_set";
10800               source: "elm";
10801               action: STATE_SET "animation" 0.0;
10802               target: "elm.text.clipper";
10803               target: "elm.text_new.clipper";
10804               transition: LINEAR 0.2;
10805               after: "label_set,animation,done";
10806            }
10807            program { name: "label_set,animation,done";
10808               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10809            }
10810            program { name: "label,reset";
10811               signal: "elm,state,label,reset";
10812               source: "elm";
10813               action: STATE_SET "default" 0.0;
10814               target: "elm.text.clipper";
10815               target: "elm.text_new.clipper";
10816            }
10817            program { name: "icon_set,animation,forward";
10818               signal: "elm,state,icon_set,forward";
10819               source: "elm";
10820               after: "icon_set,animation";
10821            }
10822            program { name: "icon_set,animation,backward";
10823               signal: "elm,state,icon_set,backward";
10824               source: "elm";
10825               after: "icon_set,animation";
10826            }
10827            program { name: "icon_set,animation";
10828               signal: "elm,state,icon_set";
10829               source: "elm";
10830               action: STATE_SET "animation" 0.0;
10831               target: "elm.icon.clipper";
10832               target: "elm.icon_new.clipper";
10833               transition: LINEAR 0.2;
10834               after: "icon_set,animation,done";
10835            }
10836            program { name: "icon_set,animation,done";
10837               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10838            }
10839            program { name: "icon,reset";
10840               signal: "elm,state,icon,reset";
10841               source: "elm";
10842               action: STATE_SET "default" 0.0;
10843               target: "elm.icon.clipper";
10844               target: "elm.icon_new.clipper";
10845            }
10846        }
10847    }
10848
10849    group { name: "elm/toolbar/separator/default";
10850       images {
10851          image: "toolbar_separator_v.png" COMP;
10852       }
10853       parts {
10854          part { name: "separator"; // separator group
10855             description { state: "default" 0.0;
10856                min: 2 2;
10857                max: 2 9999;
10858                rel1.offset: 4 4;
10859                rel2.offset: -5 -5;
10860                image {
10861                   normal: "toolbar_separator_v.png";
10862                }
10863                fill {
10864                   smooth: 0;
10865                }
10866             }
10867          }
10868       }
10869    }
10870
10871    ///////////////////////////////////////////////////////////////////////////////
10872    group { name: "elm/notify/block_events/default";
10873        parts {
10874            part { name: "block_events";
10875                type: RECT;
10876                description { state: "default" 0.0;
10877                    color: 0 0 0 64;
10878                    visible: 1;
10879                }
10880            }
10881        }
10882            programs {
10883                    program {
10884                                 name: "block_clicked";
10885                                 signal: "mouse,clicked,1";
10886                                 source: "block_events";
10887                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10888                    }
10889            }
10890    }
10891    group { name: "elm/notify/top/default";
10892        //this group is a design similar to the inwin group
10893        images {
10894            image: "shad_circ.png" COMP;
10895            image: "bt_dis_base.png" COMP;
10896            image: "bt_dis_hilight.png" COMP;
10897        }
10898        parts {
10899            part { name: "base";
10900                type: RECT;
10901                mouse_events: 0;
10902                repeat_events: 1;
10903                description { state: "default" 0.0;
10904                    color: 0 0 0 0;
10905                    rel1.offset: 10 10;
10906                    rel2.offset: -10 -10;
10907                    rel1.relative: 0.0 -1.0;
10908                    rel2.relative: 1.0 0.0;
10909                }
10910                description { state: "visible" 0.0;
10911                    inherit: "default" 0.0;
10912                    color: 0 0 0 64;
10913                    rel1.relative: 0.0 0.0;
10914                    rel2.relative: 1.0 1.0;
10915                }
10916            }
10917            part { name: "shad";
10918                mouse_events:  0;
10919                description { state: "default" 0.0;
10920                    image.normal: "shad_circ.png";
10921                    rel1.to: "elm.swallow.content";
10922                    rel1.offset: -64 -64;
10923                    rel2.to: "elm.swallow.content";
10924                    rel2.offset: 63 63;
10925                    fill.smooth: 0;
10926                }
10927            }
10928            part { name: "pop";
10929                mouse_events: 1;
10930                description { state: "default" 0.0;
10931                    rel1.to: "elm.swallow.content";
10932                    rel1.offset: -5 -5;
10933                    rel2.to: "elm.swallow.content";
10934                    rel2.offset: 4 4;
10935                    image {
10936                        normal: "bt_dis_base.png";
10937                        border: 4 4 4 4;
10938                    }
10939                    image.middle: SOLID;
10940                }
10941            }
10942            part { name: "popover";
10943                mouse_events: 0;
10944                description { state: "default" 0.0;
10945                    rel1.to: "pop";
10946                    rel2.to: "pop";
10947                    rel2.relative: 1.0 0.5;
10948                    image {
10949                        normal: "bt_dis_hilight.png";
10950                        border: 4 4 4 0;
10951                    }
10952                }
10953            }
10954            part { name: "elm.swallow.content";
10955                type: SWALLOW;
10956                description { state: "default" 0.0;
10957                    rel1.to: "base";
10958                    rel2.to: "base";
10959                }
10960            }
10961        }
10962        programs {
10963            program { name: "show";
10964                signal: "elm,action,show";
10965                source: "elm";
10966                action: STATE_SET "visible" 0.0;
10967                target: "base";
10968            }
10969            program { name: "show_2";
10970                 signal: "show";
10971                 action: STATE_SET "default" 0.0;
10972                 target: "base";
10973                 after: "show_3";
10974            }
10975            program { name: "show_3";
10976                 signal: "show";
10977                 action: STATE_SET "visible" 0.0;
10978                 target: "base";
10979                 transition: LINEAR 0.5;
10980            }
10981            program { name: "hide";
10982                signal: "elm,action,hide";
10983                source: "elm";
10984                action: STATE_SET "default" 0.0;
10985                target: "base";
10986            }
10987        }
10988    }
10989    group { name: "elm/notify/center/default";
10990        //this group is a design similar to the inwin group
10991        images {
10992            image: "bt_dis_base.png" COMP;
10993        }
10994        parts {
10995            part { name: "base";
10996                type: RECT;
10997                mouse_events: 0;
10998                repeat_events: 1;
10999                description { state: "default" 0.0;
11000                    color: 0 0 0 0;
11001                    rel1.relative: 0.0 0.0;
11002                    rel2.relative: 1.0 1.0;
11003                }
11004            }
11005            part { name: "pop";
11006                mouse_events: 1;
11007                description { state: "default" 0.0;
11008                    rel1.to: "elm.swallow.content";
11009                    rel1.offset: -5 -5;
11010                    rel2.to: "elm.swallow.content";
11011                    rel2.offset: 4 4;
11012                    image {
11013                        normal: "bt_dis_base.png";
11014                        border: 4 4 4 4;
11015                    }
11016                }
11017            }
11018            part { name: "elm.swallow.content";
11019                type: SWALLOW;
11020                description { state: "default" 0.0;
11021                    rel1.to: "base";
11022                    rel2.to: "base";
11023                }
11024            }
11025        }
11026        programs {
11027            program { name: "show";
11028                signal: "elm,action,show";
11029                source: "elm";
11030                action: STATE_SET "default" 0.0;
11031                target: "base";
11032            }
11033            program { name: "show_2";
11034                 signal: "show";
11035                 action: STATE_SET "default" 0.0;
11036                 target: "base";
11037            }
11038            program { name: "hide";
11039                signal: "elm,action,hide";
11040                source: "elm";
11041                action: STATE_SET "default" 0.0;
11042                target: "base";
11043            }
11044        }
11045    }
11046    group { name: "elm/notify/bottom/default";
11047        //this group is a design similar to the inwin group
11048        images {
11049            image: "shad_circ.png" COMP;
11050            image: "bt_dis_base.png" COMP;
11051            image: "bt_dis_hilight.png" COMP;
11052        }
11053        parts {
11054            part { name: "base";
11055                type: RECT;
11056                mouse_events: 0;
11057                repeat_events: 1;
11058                description { state: "default" 0.0;
11059                    color: 0 0 0 0;
11060                    rel1.offset: 10 10;
11061                    rel2.offset: -10 -10;
11062                    rel1.relative: 0.0 1.0;
11063                    rel2.relative: 1.0 2.0;
11064                }
11065                description { state: "visible" 0.0;
11066                    inherit: "default" 0.0;
11067                    color: 0 0 0 64;
11068                    rel1.relative: 0.0 0.0;
11069                    rel2.relative: 1.0 1.0;
11070                }
11071            }
11072            part { name: "shad";
11073                mouse_events:  0;
11074                description { state: "default" 0.0;
11075                    image.normal: "shad_circ.png";
11076                    rel1.to: "elm.swallow.content";
11077                    rel1.offset: -64 -64;
11078                    rel2.to: "elm.swallow.content";
11079                    rel2.offset: 63 63;
11080                    fill.smooth: 0;
11081                }
11082            }
11083            part { name: "pop";
11084                mouse_events: 1;
11085                description { state: "default" 0.0;
11086                    rel1.to: "elm.swallow.content";
11087                    rel1.offset: -5 -5;
11088                    rel2.to: "elm.swallow.content";
11089                    rel2.offset: 4 4;
11090                    image {
11091                        normal: "bt_dis_base.png";
11092                        border: 4 4 4 4;
11093                    }
11094                    image.middle: SOLID;
11095                }
11096            }
11097            part { name: "popover";
11098                mouse_events: 0;
11099                description { state: "default" 0.0;
11100                    rel1.to: "pop";
11101                    rel2.to: "pop";
11102                    rel2.relative: 1.0 0.5;
11103                    image {
11104                        normal: "bt_dis_hilight.png";
11105                        border: 4 4 4 0;
11106                    }
11107                }
11108            }
11109            part { name: "elm.swallow.content";
11110                type: SWALLOW;
11111                description { state: "default" 0.0;
11112                    rel1.to: "base";
11113                    rel2.to: "base";
11114                }
11115            }
11116        }
11117        programs {
11118            program { name: "show";
11119                signal: "elm,action,show";
11120                source: "elm";
11121                action: STATE_SET "visible" 0.0;
11122                target: "base";
11123            }
11124            program { name: "show_2";
11125                 signal: "show";
11126                 action: STATE_SET "default" 0.0;
11127                 target: "base";
11128                 after: "show_3";
11129            }
11130            program { name: "show_3";
11131                 signal: "show";
11132                 action: STATE_SET "visible" 0.0;
11133                 target: "base";
11134                 transition: LINEAR 0.5;
11135            }
11136            program { name: "hide";
11137                signal: "elm,action,hide";
11138                source: "elm";
11139                action: STATE_SET "default" 0.0;
11140                target: "base";
11141            }
11142        }
11143    }
11144    group { name: "elm/notify/left/default";
11145        //this group is a design similar to the inwin group
11146        images {
11147            image: "shad_circ.png" COMP;
11148            image: "bt_dis_base.png" COMP;
11149            image: "bt_dis_hilight.png" COMP;
11150        }
11151        parts {
11152            part { name: "base";
11153                type: RECT;
11154                mouse_events: 0;
11155                repeat_events: 1;
11156                description { state: "default" 0.0;
11157                    color: 0 0 0 0;
11158                    rel1.offset: 10 10;
11159                    rel2.offset: -10 -10;
11160                    rel1.relative: -1.0 0.0;
11161                    rel2.relative: 0.0 1.0;
11162                }
11163                description { state: "visible" 0.0;
11164                    inherit: "default" 0.0;
11165                    color: 0 0 0 64;
11166                    rel1.relative: 0.0 0.0;
11167                    rel2.relative: 1.0 1.0;
11168                }
11169            }
11170            part { name: "shad";
11171                mouse_events:  0;
11172                description { state: "default" 0.0;
11173                    image.normal: "shad_circ.png";
11174                    rel1.to: "elm.swallow.content";
11175                    rel1.offset: -64 -64;
11176                    rel2.to: "elm.swallow.content";
11177                    rel2.offset: 63 63;
11178                    fill.smooth: 0;
11179                }
11180            }
11181            part { name: "pop";
11182                mouse_events: 1;
11183                description { state: "default" 0.0;
11184                    rel1.to: "elm.swallow.content";
11185                    rel1.offset: -5 -5;
11186                    rel2.to: "elm.swallow.content";
11187                    rel2.offset: 4 4;
11188                    image {
11189                        normal: "bt_dis_base.png";
11190                        border: 4 4 4 4;
11191                    }
11192                    image.middle: SOLID;
11193                }
11194            }
11195            part { name: "popover";
11196                mouse_events: 0;
11197                description { state: "default" 0.0;
11198                    rel1.to: "pop";
11199                    rel2.to: "pop";
11200                    rel2.relative: 1.0 0.5;
11201                    image {
11202                        normal: "bt_dis_hilight.png";
11203                        border: 4 4 4 0;
11204                    }
11205                }
11206            }
11207            part { name: "elm.swallow.content";
11208                type: SWALLOW;
11209                description { state: "default" 0.0;
11210                    rel1.to: "base";
11211                    rel2.to: "base";
11212                }
11213            }
11214        }
11215        programs {
11216            program { name: "show";
11217                signal: "elm,action,show";
11218                source: "elm";
11219                action: STATE_SET "visible" 0.0;
11220                target: "base";
11221            }
11222            program { name: "show_2";
11223                signal: "show";
11224                action: STATE_SET "default" 0.0;
11225                target: "base";
11226                after: "show_3";
11227            }
11228            program { name: "show_3";
11229                signal: "show";
11230                action: STATE_SET "visible" 0.0;
11231                target: "base";
11232                transition: LINEAR 0.5;
11233            }
11234            program { name: "hide";
11235                signal: "elm,action,hide";
11236                source: "elm";
11237                action: STATE_SET "default" 0.0;
11238                target: "base";
11239            }
11240        }
11241    }
11242    group { name: "elm/notify/right/default";
11243        //this group is a design similar to the inwin group
11244        images {
11245            image: "shad_circ.png" COMP;
11246            image: "bt_dis_base.png" COMP;
11247            image: "bt_dis_hilight.png" COMP;
11248        }
11249        parts {
11250            part { name: "base";
11251                type: RECT;
11252                mouse_events: 0;
11253                repeat_events: 1;
11254                 description { state: "default" 0.0;
11255                    color: 0 0 0 0;
11256                    rel1.offset: 10 10;
11257                    rel2.offset: -10 -10;
11258                    rel1.relative: 1.0 0.0;
11259                    rel2.relative: 2.0 1.0;
11260                }
11261                description { state: "visible" 0.0;
11262                    inherit: "default" 0.0;
11263                    color: 0 0 0 64;
11264                    rel1.relative: 0.0 0.0;
11265                    rel2.relative: 1.0 1.0;
11266                }
11267            }
11268            part { name: "shad";
11269                mouse_events:  0;
11270                description { state: "default" 0.0;
11271                    image.normal: "shad_circ.png";
11272                    rel1.to: "elm.swallow.content";
11273                    rel1.offset: -64 -64;
11274                    rel2.to: "elm.swallow.content";
11275                    rel2.offset: 63 63;
11276                    fill.smooth: 0;
11277                }
11278            }
11279            part { name: "pop";
11280                mouse_events: 1;
11281                description { state: "default" 0.0;
11282                    rel1.to: "elm.swallow.content";
11283                    rel1.offset: -5 -5;
11284                    rel2.to: "elm.swallow.content";
11285                    rel2.offset: 4 4;
11286                    image {
11287                        normal: "bt_dis_base.png";
11288                        border: 4 4 4 4;
11289                    }
11290                    image.middle: SOLID;
11291                }
11292            }
11293            part { name: "popover";
11294                mouse_events: 0;
11295                description { state: "default" 0.0;
11296                    rel1.to: "pop";
11297                    rel2.to: "pop";
11298                    rel2.relative: 1.0 0.5;
11299                    image {
11300                        normal: "bt_dis_hilight.png";
11301                        border: 4 4 4 0;
11302                    }
11303                }
11304            }
11305            part { name: "elm.swallow.content";
11306                type: SWALLOW;
11307                description { state: "default" 0.0;
11308                    rel1.to: "base";
11309                    rel2.to: "base";
11310                }
11311            }
11312        }
11313        programs {
11314            program { name: "show";
11315                signal: "elm,action,show";
11316                source: "elm";
11317                action: STATE_SET "visible" 0.0;
11318                target: "base";
11319            }
11320            program { name: "show_2";
11321                signal: "show";
11322                action: STATE_SET "default" 0.0;
11323                target: "base";
11324                after: "show_3";
11325            }
11326            program { name: "show_3";
11327                signal: "show";
11328                action: STATE_SET "visible" 0.0;
11329                target: "base";
11330                transition: LINEAR 0.5;
11331            }
11332            program { name: "hide";
11333                signal: "elm,action,hide";
11334                source: "elm";
11335                action: STATE_SET "default" 0.0;
11336                target: "base";
11337            }
11338        }
11339    }
11340    group { name: "elm/notify/top_left/default";
11341        //this group is a design similar to the inwin group
11342        images {
11343            image: "shad_circ.png" COMP;
11344            image: "bt_dis_base.png" COMP;
11345            image: "bt_dis_hilight.png" COMP;
11346        }
11347        parts {
11348            part { name: "base";
11349                type: RECT;
11350                mouse_events: 0;
11351                repeat_events: 1;
11352                 description { state: "default" 0.0;
11353                    color: 0 0 0 0;
11354                    rel1.offset: 10 10;
11355                    rel2.offset: -10 -10;
11356                    rel1.relative: 0.0 -1.0;
11357                    rel2.relative: 1.0 0.0;
11358                }
11359                description { state: "visible" 0.0;
11360                    inherit: "default" 0.0;
11361                    color: 0 0 0 64;
11362                    rel1.relative: 0.0 0.0;
11363                    rel2.relative: 1.0 1.0;
11364                }
11365            }
11366            part { name: "shad";
11367                mouse_events:  0;
11368                description { state: "default" 0.0;
11369                    image.normal: "shad_circ.png";
11370                    rel1.to: "elm.swallow.content";
11371                    rel1.offset: -64 -64;
11372                    rel2.to: "elm.swallow.content";
11373                    rel2.offset: 63 63;
11374                    fill.smooth: 0;
11375                }
11376            }
11377            part { name: "pop";
11378                mouse_events: 1;
11379                description { state: "default" 0.0;
11380                    rel1.to: "elm.swallow.content";
11381                    rel1.offset: -5 -5;
11382                    rel2.to: "elm.swallow.content";
11383                    rel2.offset: 4 4;
11384                    image {
11385                        normal: "bt_dis_base.png";
11386                        border: 4 4 4 4;
11387                    }
11388                    image.middle: SOLID;
11389                }
11390            }
11391            part { name: "popover";
11392                mouse_events: 0;
11393                description { state: "default" 0.0;
11394                    rel1.to: "pop";
11395                    rel2.to: "pop";
11396                    rel2.relative: 1.0 0.5;
11397                    image {
11398                        normal: "bt_dis_hilight.png";
11399                        border: 4 4 4 0;
11400                    }
11401                }
11402            }
11403            part { name: "elm.swallow.content";
11404                type: SWALLOW;
11405                description { state: "default" 0.0;
11406                    rel1.to: "base";
11407                    rel2.to: "base";
11408                }
11409            }
11410        }
11411        programs {
11412            program { name: "show";
11413                signal: "elm,action,show";
11414                source: "elm";
11415                action: STATE_SET "visible" 0.0;
11416                target: "base";
11417            }
11418            program { name: "show_2";
11419                signal: "show";
11420                action: STATE_SET "default" 0.0;
11421                target: "base";
11422                after: "show_3";
11423            }
11424            program { name: "show_3";
11425                signal: "show";
11426                action: STATE_SET "visible" 0.0;
11427                target: "base";
11428                transition: LINEAR 0.5;
11429            }
11430            program { name: "hide";
11431                signal: "elm,action,hide";
11432                source: "elm";
11433                action: STATE_SET "default" 0.0;
11434                target: "base";
11435            }
11436        }
11437    }
11438    group { name: "elm/notify/top_right/default";
11439        //this group is a design similar to the inwin group
11440        images {
11441            image: "shad_circ.png" COMP;
11442            image: "bt_dis_base.png" COMP;
11443            image: "bt_dis_hilight.png" COMP;
11444        }
11445        parts {
11446            part { name: "base";
11447                type: RECT;
11448                mouse_events: 0;
11449                repeat_events: 1;
11450                description { state: "default" 0.0;
11451                    color: 0 0 0 0;
11452                    rel1.offset: 10 10;
11453                    rel2.offset: -10 -10;
11454                    rel1.relative: 0.0 -1.0;
11455                    rel2.relative: 1.0 0.0;
11456                }
11457                description { state: "visible" 0.0;
11458                    inherit: "default" 0.0;
11459                    color: 0 0 0 64;
11460                    rel1.relative: 0.0 0.0;
11461                    rel2.relative: 1.0 1.0;
11462                }
11463            }
11464            part { name: "shad";
11465                mouse_events:  0;
11466                description { state: "default" 0.0;
11467                    image.normal: "shad_circ.png";
11468                    rel1.to: "elm.swallow.content";
11469                    rel1.offset: -64 -64;
11470                    rel2.to: "elm.swallow.content";
11471                    rel2.offset: 63 63;
11472                    fill.smooth: 0;
11473                }
11474            }
11475            part { name: "pop";
11476                mouse_events: 1;
11477                description { state: "default" 0.0;
11478                    rel1.to: "elm.swallow.content";
11479                    rel1.offset: -5 -5;
11480                    rel2.to: "elm.swallow.content";
11481                    rel2.offset: 4 4;
11482                    image {
11483                        normal: "bt_dis_base.png";
11484                        border: 4 4 4 4;
11485                    }
11486                    image.middle: SOLID;
11487                }
11488            }
11489            part { name: "popover";
11490                mouse_events: 0;
11491                description { state: "default" 0.0;
11492                    rel1.to: "pop";
11493                    rel2.to: "pop";
11494                    rel2.relative: 1.0 0.5;
11495                    image {
11496                        normal: "bt_dis_hilight.png";
11497                        border: 4 4 4 0;
11498                    }
11499                }
11500            }
11501            part { name: "elm.swallow.content";
11502                type: SWALLOW;
11503                description { state: "default" 0.0;
11504                    rel1.to: "base";
11505                    rel2.to: "base";
11506                }
11507            }
11508        }
11509        programs {
11510            program { name: "show";
11511                signal: "elm,action,show";
11512                source: "elm";
11513                action: STATE_SET "visible" 0.0;
11514                target: "base";
11515            }
11516            program { name: "show_2";
11517                signal: "show";
11518                action: STATE_SET "default" 0.0;
11519                target: "base";
11520                after: "show_3";
11521            }
11522            program { name: "show_3";
11523                signal: "show";
11524                action: STATE_SET "visible" 0.0;
11525                target: "base";
11526                transition: LINEAR 0.5;
11527            }
11528            program { name: "hide";
11529                signal: "elm,action,hide";
11530                source: "elm";
11531                action: STATE_SET "default" 0.0;
11532                target: "base";
11533            }
11534        }
11535    }
11536    group { name: "elm/notify/bottom_left/default";
11537        //this group is a design similar to the inwin group
11538        images {
11539            image: "shad_circ.png" COMP;
11540            image: "bt_dis_base.png" COMP;
11541            image: "bt_dis_hilight.png" COMP;
11542        }
11543        parts {
11544            part { name: "base";
11545                type: RECT;
11546                mouse_events: 0;
11547                repeat_events: 1;
11548                description { state: "default" 0.0;
11549                    color: 0 0 0 0;
11550                    rel1.offset: 10 10;
11551                    rel2.offset: -10 -10;
11552                    rel1.relative: 0.0 1.0;
11553                    rel2.relative: 1.0 2.0;
11554                }
11555                description { state: "visible" 0.0;
11556                    inherit: "default" 0.0;
11557                    color: 0 0 0 64;
11558                    rel1.relative: 0.0 0.0;
11559                    rel2.relative: 1.0 1.0;
11560                }
11561            }
11562            part { name: "shad";
11563                mouse_events:  0;
11564                description { state: "default" 0.0;
11565                    image.normal: "shad_circ.png";
11566                    rel1.to: "elm.swallow.content";
11567                    rel1.offset: -64 -64;
11568                    rel2.to: "elm.swallow.content";
11569                    rel2.offset: 63 63;
11570                    fill.smooth: 0;
11571                }
11572            }
11573            part { name: "pop";
11574                mouse_events: 1;
11575                description { state: "default" 0.0;
11576                    rel1.to: "elm.swallow.content";
11577                    rel1.offset: -5 -5;
11578                    rel2.to: "elm.swallow.content";
11579                    rel2.offset: 4 4;
11580                    image {
11581                        normal: "bt_dis_base.png";
11582                        border: 4 4 4 4;
11583                    }
11584                    image.middle: SOLID;
11585                }
11586            }
11587            part { name: "popover";
11588                mouse_events: 0;
11589                description { state: "default" 0.0;
11590                    rel1.to: "pop";
11591                    rel2.to: "pop";
11592                    rel2.relative: 1.0 0.5;
11593                    image {
11594                        normal: "bt_dis_hilight.png";
11595                        border: 4 4 4 0;
11596                    }
11597                }
11598            }
11599            part { name: "elm.swallow.content";
11600                type: SWALLOW;
11601                description { state: "default" 0.0;
11602                    rel1.to: "base";
11603                    rel2.to: "base";
11604                }
11605            }
11606        }
11607        programs {
11608            program { name: "show";
11609                signal: "elm,action,show";
11610                source: "elm";
11611                action: STATE_SET "visible" 0.0;
11612                target: "base";
11613            }
11614            program { name: "show_2";
11615                signal: "show";
11616                action: STATE_SET "default" 0.0;
11617                target: "base";
11618                after: "show_3";
11619            }
11620            program { name: "show_3";
11621                signal: "show";
11622                action: STATE_SET "visible" 0.0;
11623                target: "base";
11624                transition: LINEAR 0.5;
11625            }
11626            program { name: "hide";
11627                signal: "elm,action,hide";
11628                source: "elm";
11629                action: STATE_SET "default" 0.0;
11630                target: "base";
11631            }
11632        }
11633    }
11634    group { name: "elm/notify/bottom_right/default";
11635        //this group is a design similar to the inwin group
11636        images {
11637            image: "shad_circ.png" COMP;
11638            image: "bt_dis_base.png" COMP;
11639            image: "bt_dis_hilight.png" COMP;
11640        }
11641        parts {
11642            part { name: "base";
11643                type: RECT;
11644                mouse_events: 0;
11645                repeat_events: 1;
11646               description { state: "default" 0.0;
11647                    color: 0 0 0 0;
11648                    rel1.offset: 10 10;
11649                    rel2.offset: -10 -10;
11650                    rel1.relative: 0.0 1.0;
11651                    rel2.relative: 1.0 2.0;
11652                }
11653                description { state: "visible" 0.0;
11654                    inherit: "default" 0.0;
11655                    color: 0 0 0 64;
11656                    rel1.relative: 0.0 0.0;
11657                    rel2.relative: 1.0 1.0;
11658                }
11659            }
11660            part { name: "shad";
11661                mouse_events:  0;
11662                description { state: "default" 0.0;
11663                    image.normal: "shad_circ.png";
11664                    rel1.to: "elm.swallow.content";
11665                    rel1.offset: -64 -64;
11666                    rel2.to: "elm.swallow.content";
11667                    rel2.offset: 63 63;
11668                    fill.smooth: 0;
11669                }
11670            }
11671            part { name: "pop";
11672                mouse_events: 1;
11673                description { state: "default" 0.0;
11674                    rel1.to: "elm.swallow.content";
11675                    rel1.offset: -5 -5;
11676                    rel2.to: "elm.swallow.content";
11677                    rel2.offset: 4 4;
11678                    image {
11679                        normal: "bt_dis_base.png";
11680                        border: 4 4 4 4;
11681                    }
11682                    image.middle: SOLID;
11683                }
11684            }
11685            part { name: "popover";
11686                mouse_events: 0;
11687                description { state: "default" 0.0;
11688                    rel1.to: "pop";
11689                    rel2.to: "pop";
11690                    rel2.relative: 1.0 0.5;
11691                    image {
11692                        normal: "bt_dis_hilight.png";
11693                        border: 4 4 4 0;
11694                    }
11695                }
11696            }
11697            part { name: "elm.swallow.content";
11698                type: SWALLOW;
11699                description { state: "default" 0.0;
11700                    rel1.to: "base";
11701                    rel2.to: "base";
11702                }
11703            }
11704        }
11705        programs {
11706            program { name: "show";
11707                signal: "elm,action,show";
11708                source: "elm";
11709                action: STATE_SET "visible" 0.0;
11710                target: "base";
11711            }
11712            program { name: "show_2";
11713                signal: "show";
11714                action: STATE_SET "default" 0.0;
11715                target: "base";
11716                after: "show_3";
11717            }
11718            program { name: "show_3";
11719                signal: "show";
11720                action: STATE_SET "visible" 0.0;
11721                target: "base";
11722                transition: LINEAR 0.5;
11723            }
11724            program { name: "hide";
11725                signal: "elm,action,hide";
11726                source: "elm";
11727                action: STATE_SET "default" 0.0;
11728                target: "base";
11729            }
11730        }
11731    }
11732
11733 ///////////////////////////////////////////////////////////////////////////////
11734    group { name: "elm/slideshow/base/default";
11735       data {
11736          item: transitions "fade black_fade horizontal vertical square";
11737          item: layouts "fullscreen not_fullscreen";
11738       }
11739       parts {
11740          part { name: "whole";
11741                  type: RECT;
11742             description {
11743                state: "default" 0.0;
11744                visible: 1;
11745                color: 20 20 20 255;
11746             }
11747          }
11748          part { name: "image_1_whole";
11749             type: RECT;
11750             description {
11751                state: "default" 0.0;
11752                color: 255 255 255 255;
11753             }
11754             description {
11755                state: "fade_prev_next" 0.0;
11756                inherit: "default" 0.0;
11757                color: 255 255 255 0;
11758             }
11759             description {
11760                state: "black_fade_prev_next_init" 0.0;
11761                inherit: "default" 0.0;
11762                color: 255 255 255 255;
11763             }
11764             description {
11765                state: "black_fade_prev_next" 0.0;
11766                inherit: "default" 0.0;
11767                color: 0 0 0 255;
11768             }
11769             description {
11770                state: "horizontal_next_init" 0.0;
11771                inherit: "default" 0.0;
11772             }
11773             description {
11774                state: "horizontal_next" 0.0;
11775                inherit: "default" 0.0;
11776                rel1.relative: -1.0 0.0;
11777                rel2.relative: 0.0 1.0;
11778             }
11779             description {
11780                state: "horizontal_prev_init" 0.0;
11781                inherit: "default" 0.0;
11782             }
11783             description {
11784                state: "horizontal_prev" 0.0;
11785                inherit: "default" 0.0;
11786                rel1.relative: 1.0 0.0;
11787                rel2.relative: 2.0 1.0;
11788             }
11789             description {
11790                state: "vertical_next_init" 0.0;
11791                inherit: "default" 0.0;
11792             }
11793             description {
11794                state: "vertical_next" 0.0;
11795                inherit: "default" 0.0;
11796                rel1.relative: 0.0 -1.0;
11797                rel2.relative: 1.0 0.0;
11798             }
11799             description {
11800                state: "vertical_prev_init" 0.0;
11801                inherit: "default" 0.0;
11802             }
11803             description {
11804                state: "vertical_prev" 0.0;
11805                inherit: "default" 0.0;
11806                rel1.relative: 0.0 1.0;
11807                rel2.relative: 1.0 2.0;
11808             }
11809             description {
11810                state: "square_prev_next" 0.0;
11811                inherit: "default" 0.0;
11812                color: 255 255 255 0;
11813             }
11814          }
11815          part { name: "image_2_whole";
11816             type: RECT;
11817             description {
11818                state: "default" 0.0;
11819                visible: 1;
11820                color: 255 255 255 0;
11821             }
11822             description {
11823                state: "fade_prev_next" 0.0;
11824                inherit: "default" 0.0;
11825                color: 255 255 255 255;
11826             }
11827             description {
11828                state: "black_fade_prev_next_init" 0.0;
11829                inherit: "default" 0.0;
11830                color: 0 0 0 0;
11831             }
11832             description {
11833                state: "black_fade_prev_next" 0.0;
11834                inherit: "default" 0.0;
11835                color: 255 255 255 255;
11836             }
11837             description {
11838                state: "horizontal_next_init" 0.0;
11839                inherit: "default" 0.0;
11840                rel1.relative: 1.0 0.0;
11841                rel2.relative: 2.0 1.0;
11842                color: 255 255 255 255;
11843             }
11844             description {
11845                state: "horizontal_next" 0.0;
11846                inherit: "default" 0.0;
11847                color: 255 255 255 255;
11848             }
11849             description {
11850                state: "horizontal_prev_init" 0.0;
11851                inherit: "default" 0.0;
11852                rel1.relative: -1.0 0.0;
11853                rel2.relative: 0.0 1.0;
11854                color: 255 255 255 255;
11855             }
11856             description {
11857                state: "horizontal_prev" 0.0;
11858                inherit: "default" 0.0;
11859                color: 255 255 255 255;
11860             }
11861             description {
11862                state: "vertical_next_init" 0.0;
11863                inherit: "default" 0.0;
11864                rel1.relative: 0.0 1.0;
11865                rel2.relative: 1.0 2.0;
11866                color: 255 255 255 255;
11867             }
11868             description {
11869                state: "vertical_next" 0.0;
11870                inherit: "default" 0.0;
11871                color: 255 255 255 255;
11872             }
11873             description {
11874                state: "vertical_prev_init" 0.0;
11875                inherit: "default" 0.0;
11876                rel1.relative: 0.0 -1.0;
11877                rel2.relative: 1.0 0.0;
11878                color: 255 255 255 255;
11879             }
11880             description {
11881                state: "vertical_prev" 0.0;
11882                inherit: "default" 0.0;
11883                color: 255 255 255 255;
11884             }
11885             description {
11886                state: "square_prev_next_init" 0.0;
11887                inherit: "default" 0.0;
11888                rel1.relative: 0.5 0.5;
11889                rel2.relative: 0.5 0.5;
11890                color: 255 255 255 255;
11891             }
11892             description {
11893                state: "square_prev_next" 0.0;
11894                inherit: "default" 0.0;
11895                rel1.relative: 0.0 0.0;
11896                rel2.relative: 1.0 1.0;
11897                color: 255 255 255 255;
11898             }
11899          }
11900          part { name: "elm.swallow.1";
11901             type: SWALLOW;
11902             clip_to: "image_1_whole";
11903             description {
11904                state: "default" 0.0;
11905                rel1.to: "image_1_whole";
11906                rel2.to: "image_1_whole";
11907                color: 255 255 255 255;
11908             }
11909             description {
11910                state: "not_fullscreen" 0.0;
11911                rel1.relative: 0.1 0.1;
11912                rel1.to: "image_1_whole";
11913                rel2.relative: 0.9 0.9;
11914                rel2.to: "image_1_whole";
11915                color: 255 255 255 255;
11916             }
11917          }
11918          part { name: "elm.swallow.2";
11919             type: SWALLOW;
11920             clip_to: "image_2_whole";
11921             description {
11922                state: "default" 0.0;
11923                color: 255 255 255 255;
11924                rel1.to: "image_2_whole";
11925                rel2.to: "image_2_whole";
11926             }
11927             description {
11928                state: "not_fullscreen" 0.0;
11929                color: 255 255 255 255;
11930                rel1.relative: 0.1 0.1;
11931                rel1.to: "image_2_whole";
11932                rel2.relative: 0.9 0.9;
11933                rel2.to: "image_2_whole";
11934             }
11935          }
11936          part { name: "events_catcher";
11937             type: RECT;
11938             repeat_events: 1;
11939             description {
11940                state: "default" 0.0;
11941                visible: 1;
11942                color: 0 0 0 0;
11943             }
11944          }
11945       }
11946       programs {
11947               //Substyle
11948               program { name: "layout_fullscreen";
11949             signal: "layout,fullscreen";
11950             source: "slideshow";
11951             action: STATE_SET "default" 0.0;
11952             target: "elm.swallow.1";
11953             target: "elm.swallow.2";
11954             transition: SINUSOIDAL 1.0;
11955         }
11956         program { name: "layout_not_fullscreen";
11957             signal: "layout,not_fullscreen";
11958             source: "slideshow";
11959             action: STATE_SET "not_fullscreen" 0.0;
11960             target: "elm.swallow.1";
11961             target: "elm.swallow.2";
11962             transition: SINUSOIDAL 1.0;
11963          }
11964                //
11965          program { name: "fade_next";
11966             signal: "fade,next";
11967             source: "slideshow";
11968             action: STATE_SET "default" 0.0;
11969             target: "image_1_whole";
11970             target: "image_2_whole";
11971             after: "fade_next_2";
11972          }
11973          program { name: "fade_next_2";
11974             action: STATE_SET "fade_prev_next" 0.0;
11975             target: "image_1_whole";
11976             target: "image_2_whole";
11977             transition: SINUSOIDAL 1.5;
11978             after: "end";
11979          }
11980          program { name: "fade_previous";
11981             signal: "fade,previous";
11982             source: "slideshow";
11983             action: STATE_SET "default" 0.0;
11984             target: "image_1_whole";
11985             target: "image_2_whole";
11986             after: "fade_previous_2";
11987          }
11988          program { name: "fade_previous_2";
11989             action: STATE_SET "fade_prev_next" 0.0;
11990             target: "image_1_whole";
11991             target: "image_2_whole";
11992             transition: SINUSOIDAL 1.5;
11993             after: "end";
11994          }
11995          program { name: "black_fade_next";
11996             signal: "black_fade,next";
11997             source: "slideshow";
11998             action: STATE_SET "black_fade_prev_next_init" 0.0;
11999             target: "image_1_whole";
12000             target: "image_2_whole";
12001             after: "black_fade_next_2";
12002          }
12003          program { name: "black_fade_next_2";
12004             action: STATE_SET "black_fade_prev_next" 0.0;
12005             target: "image_1_whole";
12006             transition: SINUSOIDAL 0.75;
12007             after: "black_fade_next_3";
12008          }
12009          program { name: "black_fade_next_3";
12010             action: STATE_SET "black_fade_prev_next" 0.0;
12011             target: "image_2_whole";
12012             transition: SINUSOIDAL 0.75;
12013             after: "end";
12014          }
12015          program { name: "black_fade_previous";
12016             signal: "black_fade,previous";
12017             source: "slideshow";
12018             action: STATE_SET "black_fade_prev_next_init" 0.0;
12019             target: "image_1_whole";
12020             target: "image_2_whole";
12021             after: "black_fade_previous_2";
12022          }
12023          program { name: "black_fade_previous_2";
12024             action: STATE_SET "black_fade_prev_next" 0.0;
12025             target: "image_1_whole";
12026             transition: SINUSOIDAL 0.75;
12027             after: "black_fade_previous_3";
12028          }
12029          program { name: "black_fade_previous_3";
12030             action: STATE_SET "black_fade_prev_next" 0.0;
12031             target: "image_2_whole";
12032             transition: SINUSOIDAL 0.75;
12033             after: "end";
12034          }
12035          program { name: "horizontal_next";
12036             signal: "horizontal,next";
12037             source: "slideshow";
12038             action: STATE_SET "horizontal_next_init" 0.0;
12039             target: "image_1_whole";
12040             target: "image_2_whole";
12041             after: "horizontal_next_2";
12042          }
12043          program { name: "horizontal_next_2";
12044             action: STATE_SET "horizontal_next" 0.0;
12045             target: "image_1_whole";
12046             target: "image_2_whole";
12047             transition: SINUSOIDAL 1.5;
12048             after: "end";
12049          }
12050          program { name: "horizontal_previous";
12051             signal: "horizontal,previous";
12052             source: "slideshow";
12053             action: STATE_SET "horizontal_prev_init" 0.0;
12054             target: "image_1_whole";
12055             target: "image_2_whole";
12056             after: "horizontal_previous_2";
12057          }
12058          program { name: "horizontal_previous_2";
12059             action: STATE_SET "horizontal_prev" 0.0;
12060             target: "image_1_whole";
12061             target: "image_2_whole";
12062             transition: SINUSOIDAL 1.5;
12063             after: "end";
12064          }
12065          program { name: "vertical_next";
12066             signal: "vertical,next";
12067             source: "slideshow";
12068             action: STATE_SET "vertical_next_init" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071             after: "vertical_next_2";
12072          }
12073          program { name: "vertical_next_2";
12074             action: STATE_SET "vertical_next" 0.0;
12075             target: "image_1_whole";
12076             target: "image_2_whole";
12077             transition: SINUSOIDAL 1.5;
12078             after: "end";
12079          }
12080          program { name: "vertical_previous";
12081             signal: "vertical,previous";
12082             source: "slideshow";
12083             action: STATE_SET "vertical_prev_init" 0.0;
12084             target: "image_1_whole";
12085             target: "image_2_whole";
12086             after: "vertical_previous_2";
12087          }
12088          program { name: "vertical_previous_2";
12089             action: STATE_SET "vertical_prev" 0.0;
12090             target: "image_1_whole";
12091             target: "image_2_whole";
12092             transition: SINUSOIDAL 1.5;
12093             after: "end";
12094          }
12095          program { name: "square_next";
12096             signal: "square,next";
12097             source: "slideshow";
12098             action: STATE_SET "square_prev_next_init" 0.0;
12099             target: "image_2_whole";
12100             after: "square_next_2";
12101          }
12102          program { name: "square_next_2";
12103             action: STATE_SET "square_prev_next" 0.0;
12104             target: "image_2_whole";
12105             target: "image_1_whole";
12106             transition: SINUSOIDAL 1.5;
12107             after: "end";
12108          }
12109          program { name: "square_previous";
12110             signal: "square,previous";
12111             source: "slideshow";
12112             action: STATE_SET "square_prev_next_init" 0.0;
12113             target: "image_2_whole";
12114             after: "square_next_2";
12115          }
12116          program { name: "end";
12117             action: SIGNAL_EMIT "end" "slideshow";
12118          }
12119          program { name: "end_signal";
12120             signal: "anim,end";
12121             source: "slideshow";
12122             action: STATE_SET "default" 0.0;
12123             target: "image_1_whole";
12124             target: "image_2_whole";
12125          }
12126       }
12127    }
12128
12129 ///////////////////////////////////////////////////////////////////////////////
12130    group { name: "elm/win/inwin/default";
12131       images {
12132          image: "shad_circ.png" COMP;
12133          image: "bt_dis_base.png" COMP;
12134          image: "bt_dis_hilight.png" COMP;
12135       }
12136       parts {
12137          part { name: "base";
12138             type: RECT;
12139             mouse_events: 1;
12140             description { state: "default" 0.0;
12141                color: 0 0 0 0;
12142             }
12143             description { state: "visible" 0.0;
12144                inherit: "default" 1.0;
12145                color: 0 0 0 64;
12146             }
12147          }
12148          part { name: "shad";
12149             mouse_events:  0;
12150             description { state: "default" 0.0;
12151                image.normal: "shad_circ.png";
12152                rel1.to: "elm.swallow.content";
12153                rel1.offset: -64 -64;
12154                rel2.to: "elm.swallow.content";
12155                rel2.offset: 63 63;
12156                fill.smooth: 0;
12157             }
12158          }
12159          part { name: "pop";
12160             mouse_events: 1;
12161             description { state: "default" 0.0;
12162                rel1.to: "elm.swallow.content";
12163                rel1.offset: -5 -5;
12164                rel2.to: "elm.swallow.content";
12165                rel2.offset: 4 4;
12166                image {
12167                   normal: "bt_dis_base.png";
12168                   border: 4 4 4 4;
12169                }
12170                image.middle: SOLID;
12171             }
12172          }
12173          part { name: "popover";
12174             mouse_events: 0;
12175             description { state: "default" 0.0;
12176                rel1.to: "pop";
12177                rel2.to: "pop";
12178                rel2.relative: 1.0 0.5;
12179                image {
12180                   normal: "bt_dis_hilight.png";
12181                   border: 4 4 4 0;
12182                }
12183             }
12184          }
12185          part { name: "elm.swallow.content";
12186             type: SWALLOW;
12187             description { state: "default" 0.0;
12188                rel1.relative: 0.1 0.1;
12189                rel2.relative: 0.9 0.9;
12190             }
12191          }
12192       }
12193       programs {
12194          program { name: "show";
12195             signal: "elm,action,show";
12196             source: "elm";
12197             action: STATE_SET "visible" 0.0;
12198 //            transition: DECELERATE 0.5;
12199             target: "base";
12200          }
12201          program { name: "hide";
12202             signal: "elm,action,hide";
12203             source: "elm";
12204             action: STATE_SET "default" 0.0;
12205 //            transition: DECELERATE 0.5;
12206             target: "base";
12207          }
12208       }
12209    }
12210
12211    group { name: "elm/win/inwin/minimal";
12212       images {
12213          image: "shad_circ.png" COMP;
12214          image: "bt_dis_base.png" COMP;
12215          image: "bt_dis_hilight.png" COMP;
12216       }
12217       parts {
12218          part { name: "base";
12219             type: RECT;
12220             mouse_events: 1;
12221             description { state: "default" 0.0;
12222                color: 0 0 0 0;
12223             }
12224             description { state: "visible" 0.0;
12225                inherit: "default" 1.0;
12226                color: 0 0 0 64;
12227             }
12228          }
12229          part { name: "shad";
12230             mouse_events:  0;
12231             description { state: "default" 0.0;
12232                image.normal: "shad_circ.png";
12233                rel1.to: "elm.swallow.content";
12234                rel1.offset: -64 -64;
12235                rel2.to: "elm.swallow.content";
12236                rel2.offset: 63 63;
12237                fill.smooth: 0;
12238             }
12239          }
12240          part { name: "pop";
12241             mouse_events: 1;
12242             description { state: "default" 0.0;
12243                rel1.to: "elm.swallow.content";
12244                rel1.offset: -5 -5;
12245                rel2.to: "elm.swallow.content";
12246                rel2.offset: 4 4;
12247                image {
12248                   normal: "bt_dis_base.png";
12249                   border: 4 4 4 4;
12250                }
12251                image.middle: SOLID;
12252             }
12253          }
12254          part { name: "popover";
12255             mouse_events: 0;
12256             description { state: "default" 0.0;
12257                rel1.to: "pop";
12258                rel2.to: "pop";
12259                rel2.relative: 1.0 0.5;
12260                image {
12261                   normal: "bt_dis_hilight.png";
12262                   border: 4 4 4 0;
12263                }
12264             }
12265          }
12266          part { name: "elm.swallow.content";
12267             type: SWALLOW;
12268             description { state: "default" 0.0;
12269                fixed: 1 1;
12270                rel1.relative: 0.5 0.5;
12271                rel2.relative: 0.5 0.5;
12272             }
12273          }
12274       }
12275       programs {
12276          program { name: "show";
12277             signal: "elm,action,show";
12278             source: "elm";
12279             action: STATE_SET "visible" 0.0;
12280 //            transition: DECELERATE 0.5;
12281             target: "base";
12282          }
12283          program { name: "hide";
12284             signal: "elm,action,hide";
12285             source: "elm";
12286             action: STATE_SET "default" 0.0;
12287 //            transition: DECELERATE 0.5;
12288             target: "base";
12289          }
12290       }
12291    }
12292
12293    group { name: "elm/win/inwin/minimal_vertical";
12294       images {
12295          image: "shad_circ.png" COMP;
12296          image: "bt_dis_base.png" COMP;
12297          image: "bt_dis_hilight.png" COMP;
12298       }
12299       parts {
12300          part { name: "base";
12301             type: RECT;
12302             mouse_events: 1;
12303             description { state: "default" 0.0;
12304                color: 0 0 0 0;
12305             }
12306             description { state: "visible" 0.0;
12307                inherit: "default" 1.0;
12308                color: 0 0 0 64;
12309             }
12310          }
12311          part { name: "shad";
12312             mouse_events:  0;
12313             description { state: "default" 0.0;
12314                image.normal: "shad_circ.png";
12315                rel1.to: "elm.swallow.content";
12316                rel1.offset: -64 -64;
12317                rel2.to: "elm.swallow.content";
12318                rel2.offset: 63 63;
12319                fill.smooth: 0;
12320             }
12321          }
12322          part { name: "pop";
12323             mouse_events: 1;
12324             description { state: "default" 0.0;
12325                rel1.to: "elm.swallow.content";
12326                rel1.offset: -5 -5;
12327                rel2.to: "elm.swallow.content";
12328                rel2.offset: 4 4;
12329                image {
12330                   normal: "bt_dis_base.png";
12331                   border: 4 4 4 4;
12332                }
12333                image.middle: SOLID;
12334             }
12335          }
12336          part { name: "popover";
12337             mouse_events: 0;
12338             description { state: "default" 0.0;
12339                rel1.to: "pop";
12340                rel2.to: "pop";
12341                rel2.relative: 1.0 0.5;
12342                image {
12343                   normal: "bt_dis_hilight.png";
12344                   border: 4 4 4 0;
12345                }
12346             }
12347          }
12348          part { name: "elm.swallow.content";
12349             type: SWALLOW;
12350             description { state: "default" 0.0;
12351                fixed: 1 1;
12352                rel1.relative: 0.1 0.5;
12353                rel2.relative: 0.9 0.5;
12354             }
12355          }
12356       }
12357       programs {
12358          program { name: "show";
12359             signal: "elm,action,show";
12360             source: "elm";
12361             action: STATE_SET "visible" 0.0;
12362 //            transition: DECELERATE 0.5;
12363             target: "base";
12364          }
12365          program { name: "hide";
12366             signal: "elm,action,hide";
12367             source: "elm";
12368             action: STATE_SET "default" 0.0;
12369 //            transition: DECELERATE 0.5;
12370             target: "base";
12371          }
12372       }
12373    }
12374
12375 ///////////////////////////////////////////////////////////////////////////////
12376
12377 ///////////////////////////////////////////////////////////////////////////////
12378    group { name: "elm/list/item/default";
12379       data.item: "stacking" "above";
12380       images {
12381          image: "bt_sm_base1.png" COMP;
12382          image: "bt_sm_shine.png" COMP;
12383          image: "bt_sm_hilight.png" COMP;
12384          image: "ilist_1.png" COMP;
12385          image: "ilist_item_shadow.png" COMP;
12386       }
12387       parts {
12388          part {
12389             name:           "event";
12390             type:           RECT;
12391             repeat_events: 1;
12392             description {
12393                state: "default" 0.0;
12394                color: 0 0 0 0;
12395             }
12396          }
12397          part {
12398             name: "base_sh";
12399             mouse_events: 0;
12400             description {
12401                state: "default" 0.0;
12402                align: 0.0 0.0;
12403                min: 0 10;
12404                fixed: 1 1;
12405                rel1 {
12406                   to: "base";
12407                   relative: 0.0 1.0;
12408                   offset: 0 0;
12409                }
12410                rel2 {
12411                   to: "base";
12412                   relative: 1.0 1.0;
12413                   offset: -1 0;
12414                }
12415                image {
12416                   normal: "ilist_item_shadow.png";
12417                }
12418                fill.smooth: 0;
12419             }
12420          }
12421          part {
12422             name: "base";
12423             mouse_events: 0;
12424             description {
12425                state: "default" 0.0;
12426                image {
12427                   normal: "ilist_1.png";
12428                   border: 2 2 2 2;
12429                }
12430                fill.smooth: 0;
12431             }
12432          }
12433          part { name: "bg";
12434             mouse_events: 0;
12435             description { state: "default" 0.0;
12436                visible: 0;
12437                color: 255 255 255 0;
12438                rel1 {
12439                   relative: 0.0 0.0;
12440                   offset: -5 -5;
12441                }
12442                rel2 {
12443                   relative: 1.0 1.0;
12444                   offset: 4 4;
12445                }
12446                image {
12447                   normal: "bt_sm_base1.png";
12448                   border: 6 6 6 6;
12449                }
12450                image.middle: SOLID;
12451             }
12452             description { state: "selected" 0.0;
12453                inherit: "default" 0.0;
12454                visible: 1;
12455                color: 255 255 255 255;
12456                rel1 {
12457                   relative: 0.0 0.0;
12458                   offset: -2 -2;
12459                }
12460                rel2 {
12461                   relative: 1.0 1.0;
12462                   offset: 1 1;
12463                }
12464             }
12465          }
12466          part { name: "elm.swallow.icon";
12467             type: SWALLOW;
12468             description { state: "default" 0.0;
12469                fixed: 1 0;
12470                align: 0.0 0.5;
12471                rel1 {
12472                   relative: 0.0  0.0;
12473                   offset:   4    4;
12474                }
12475                rel2 {
12476                   relative: 0.0  1.0;
12477                   offset:   4   -5;
12478                }
12479             }
12480          }
12481          part { name: "elm.swallow.end";
12482             type: SWALLOW;
12483             description { state: "default" 0.0;
12484                fixed: 1 0;
12485                align: 1.0 0.5;
12486                rel1 {
12487                   relative: 1.0  0.0;
12488                   offset:   -5    4;
12489                }
12490                rel2 {
12491                   relative: 1.0  1.0;
12492                   offset:   -5   -5;
12493                }
12494             }
12495          }
12496          part { name: "elm.text";
12497             type:           TEXT;
12498             effect:         SOFT_SHADOW;
12499             mouse_events:   0;
12500             scale: 1;
12501             description {
12502                state: "default" 0.0;
12503 //               min: 16 16;
12504                rel1 {
12505                   to_x:     "elm.swallow.icon";
12506                   relative: 1.0  0.0;
12507                   offset:   4 4;
12508                }
12509                rel2 {
12510                   to_x:     "elm.swallow.end";
12511                   relative: 0.0  1.0;
12512                   offset:   -1 -5;
12513                }
12514                color: 0 0 0 255;
12515                color3: 0 0 0 0;
12516                text {
12517                   font: "Sans";
12518                   size: 10;
12519                   min: 1 1;
12520 //                  min: 0 1;
12521                   align: -1.0 0.5;
12522                   text_class: "list_item";
12523                }
12524             }
12525             description { state: "selected" 0.0;
12526                inherit: "default" 0.0;
12527                color: 224 224 224 255;
12528                color3: 0 0 0 64;
12529             }
12530          }
12531          part { name: "fg1";
12532             mouse_events: 0;
12533             description { state: "default" 0.0;
12534                visible: 0;
12535                color: 255 255 255 0;
12536                rel1.to: "bg";
12537                rel2.relative: 1.0 0.5;
12538                rel2.to: "bg";
12539                image {
12540                   normal: "bt_sm_hilight.png";
12541                   border: 6 6 6 0;
12542                }
12543             }
12544             description { state: "selected" 0.0;
12545                inherit: "default" 0.0;
12546                visible: 1;
12547                color: 255 255 255 255;
12548             }
12549          }
12550          part { name: "fg2";
12551             mouse_events: 0;
12552             description { state: "default" 0.0;
12553                visible: 0;
12554                color: 255 255 255 0;
12555                rel1.to: "bg";
12556                rel2.to: "bg";
12557                image {
12558                   normal: "bt_sm_shine.png";
12559                   border: 6 6 6 0;
12560                }
12561             }
12562             description { state: "selected" 0.0;
12563                inherit: "default" 0.0;
12564                visible: 1;
12565                color: 255 255 255 255;
12566             }
12567          }
12568       }
12569       programs {
12570          program {
12571             name:    "go_active";
12572             signal:  "elm,state,selected";
12573             source:  "elm";
12574             action:  STATE_SET "selected" 0.0;
12575             target:  "bg";
12576             target:  "fg1";
12577             target:  "fg2";
12578             target:  "elm.text";
12579          }
12580          program {
12581             name:    "go_passive";
12582             signal:  "elm,state,unselected";
12583             source:  "elm";
12584             action:  STATE_SET "default" 0.0;
12585             target:  "bg";
12586             target:  "fg1";
12587             target:  "fg2";
12588             target:  "elm.text";
12589             transition: LINEAR 0.1;
12590          }
12591       }
12592    }
12593    group { name: "elm/list/item_odd/default";
12594       data.item: "stacking" "below";
12595       data.item: "selectraise" "on";
12596       images {
12597          image: "bt_sm_base1.png" COMP;
12598          image: "bt_sm_shine.png" COMP;
12599          image: "bt_sm_hilight.png" COMP;
12600          image: "ilist_2.png" COMP;
12601       }
12602       parts {
12603          part {
12604             name:           "event";
12605             type:           RECT;
12606             repeat_events: 1;
12607             description {
12608                state: "default" 0.0;
12609                color: 0 0 0 0;
12610             }
12611          }
12612          part {
12613             name: "base";
12614             mouse_events: 0;
12615             description {
12616                state: "default" 0.0;
12617                image {
12618                   normal: "ilist_2.png";
12619                   border: 2 2 2 2;
12620                }
12621                fill.smooth: 0;
12622             }
12623          }
12624          part { name: "bg";
12625             mouse_events: 0;
12626             description { state: "default" 0.0;
12627                visible: 0;
12628                color: 255 255 255 0;
12629                rel1 {
12630                   relative: 0.0 0.0;
12631                   offset: -5 -5;
12632                }
12633                rel2 {
12634                   relative: 1.0 1.0;
12635                   offset: 4 4;
12636                }
12637                image {
12638                   normal: "bt_sm_base1.png";
12639                   border: 6 6 6 6;
12640                }
12641                image.middle: SOLID;
12642             }
12643             description { state: "selected" 0.0;
12644                inherit: "default" 0.0;
12645                visible: 1;
12646                color: 255 255 255 255;
12647                rel1 {
12648                   relative: 0.0 0.0;
12649                   offset: -2 -2;
12650                }
12651                rel2 {
12652                   relative: 1.0 1.0;
12653                   offset: 1 1;
12654                }
12655             }
12656          }
12657          part {
12658             name:          "elm.swallow.icon";
12659             type:          SWALLOW;
12660             description { state:    "default" 0.0;
12661                fixed: 1 0;
12662                align:    0.0 0.5;
12663                rel1 {
12664                   relative: 0.0  0.0;
12665                   offset:   4    4;
12666                }
12667                rel2 {
12668                   relative: 0.0  1.0;
12669                   offset:   4   -5;
12670                }
12671             }
12672          }
12673          part {
12674             name:          "elm.swallow.end";
12675             type:          SWALLOW;
12676             description { state:    "default" 0.0;
12677                fixed: 1 0;
12678                align: 1.0 0.5;
12679                rel1 {
12680                   relative: 1.0  0.0;
12681                   offset:   -5    4;
12682                }
12683                rel2 {
12684                   relative: 1.0  1.0;
12685                   offset:   -5   -5;
12686                }
12687             }
12688          }
12689          part {
12690             name:           "elm.text";
12691             type:           TEXT;
12692             effect:         SOFT_SHADOW;
12693             mouse_events:   0;
12694             scale: 1;
12695             description {
12696                state: "default" 0.0;
12697 //               min:      16 16;
12698                rel1 {
12699                   to_x:     "elm.swallow.icon";
12700                   relative: 1.0  0.0;
12701                   offset:   4 4;
12702                }
12703                rel2 {
12704                   to_x:     "elm.swallow.end";
12705                   relative: 0.0  1.0;
12706                   offset:   -1 -5;
12707                }
12708                color: 0 0 0 255;
12709                color3: 0 0 0 0;
12710                text {
12711                   font: "Sans";
12712                   size: 10;
12713                   min: 1 1;
12714 //                  min: 0 1;
12715                   align: -1.0 0.5;
12716                   text_class: "list_item";
12717                }
12718             }
12719             description { state: "selected" 0.0;
12720                inherit: "default" 0.0;
12721                color: 224 224 224 255;
12722                color3: 0 0 0 64;
12723             }
12724          }
12725          part { name: "fg1";
12726             mouse_events: 0;
12727             description { state: "default" 0.0;
12728                visible: 0;
12729                color: 255 255 255 0;
12730                rel1.to: "bg";
12731                rel2.relative: 1.0 0.5;
12732                rel2.to: "bg";
12733                image {
12734                   normal: "bt_sm_hilight.png";
12735                   border: 6 6 6 0;
12736                }
12737             }
12738             description { state: "selected" 0.0;
12739                inherit: "default" 0.0;
12740                visible: 1;
12741                color: 255 255 255 255;
12742             }
12743          }
12744          part { name: "fg2";
12745             mouse_events: 0;
12746             description { state: "default" 0.0;
12747                visible: 0;
12748                color: 255 255 255 0;
12749                rel1.to: "bg";
12750                rel2.to: "bg";
12751                image {
12752                   normal: "bt_sm_shine.png";
12753                   border: 6 6 6 0;
12754                }
12755             }
12756             description { state: "selected" 0.0;
12757                inherit: "default" 0.0;
12758                visible: 1;
12759                color: 255 255 255 255;
12760             }
12761          }
12762       }
12763       programs {
12764          program {
12765             name:    "go_active";
12766             signal:  "elm,state,selected";
12767             source:  "elm";
12768             action:  STATE_SET "selected" 0.0;
12769             target:  "bg";
12770             target:  "fg1";
12771             target:  "fg2";
12772             target:  "elm.text";
12773          }
12774          program {
12775             name:    "go_passive";
12776             signal:  "elm,state,unselected";
12777             source:  "elm";
12778             action:  STATE_SET "default" 0.0;
12779             target:  "bg";
12780             target:  "fg1";
12781             target:  "fg2";
12782             target:  "elm.text";
12783             transition: LINEAR 0.1;
12784          }
12785       }
12786    }
12787    group { name: "elm/list/item_compress/default";
12788       data.item: "stacking" "above";
12789       data.item: "selectraise" "on";
12790       images {
12791          image: "bt_sm_base1.png" COMP;
12792          image: "bt_sm_shine.png" COMP;
12793          image: "bt_sm_hilight.png" COMP;
12794          image: "ilist_1.png" COMP;
12795          image: "ilist_item_shadow.png" COMP;
12796       }
12797       parts {
12798          part {
12799             name:           "event";
12800             type:           RECT;
12801             repeat_events: 1;
12802             description {
12803                state: "default" 0.0;
12804                color: 0 0 0 0;
12805             }
12806          }
12807          part {
12808             name: "base_sh";
12809             mouse_events: 0;
12810             description { state: "default" 0.0;
12811                fixed: 1 1;
12812                align: 0.0 0.0;
12813                min: 0 10;
12814                rel1 {
12815                   to: "base";
12816                   relative: 0.0 1.0;
12817                   offset: 0 0;
12818                }
12819                rel2 {
12820                   to: "base";
12821                   relative: 1.0 1.0;
12822                   offset: -1 0;
12823                }
12824                image {
12825                   normal: "ilist_item_shadow.png";
12826                }
12827                fill.smooth: 0;
12828             }
12829          }
12830          part {
12831             name: "base";
12832             mouse_events: 0;
12833             description {
12834                state: "default" 0.0;
12835                image {
12836                   normal: "ilist_1.png";
12837                   border: 2 2 2 2;
12838                }
12839                fill.smooth: 0;
12840             }
12841          }
12842          part { name: "bg";
12843             mouse_events: 0;
12844             description { state: "default" 0.0;
12845                visible: 0;
12846                color: 255 255 255 0;
12847                rel1 {
12848                   relative: 0.0 0.0;
12849                   offset: -5 -5;
12850                }
12851                rel2 {
12852                   relative: 1.0 1.0;
12853                   offset: 4 4;
12854                }
12855                image {
12856                   normal: "bt_sm_base1.png";
12857                   border: 6 6 6 6;
12858                }
12859                image.middle: SOLID;
12860             }
12861             description { state: "selected" 0.0;
12862                inherit: "default" 0.0;
12863                visible: 1;
12864                color: 255 255 255 255;
12865                rel1 {
12866                   relative: 0.0 0.0;
12867                   offset: -2 -2;
12868                }
12869                rel2 {
12870                   relative: 1.0 1.0;
12871                   offset: 1 1;
12872                }
12873             }
12874          }
12875          part { name:          "elm.swallow.icon";
12876             type:          SWALLOW;
12877             description { state:    "default" 0.0;
12878                fixed: 1 0;
12879                align:    0.0 0.5;
12880                rel1 {
12881                   relative: 0.0  0.0;
12882                   offset:   4    4;
12883                }
12884                rel2 {
12885                   relative: 0.0  1.0;
12886                   offset:   4   -5;
12887                }
12888             }
12889          }
12890          part { name:          "elm.swallow.end";
12891             type:          SWALLOW;
12892             description { state:    "default" 0.0;
12893                fixed: 1 0;
12894                align:    1.0 0.5;
12895                rel1 {
12896                   relative: 1.0  0.0;
12897                   offset:   -5    4;
12898                }
12899                rel2 {
12900                   relative: 1.0  1.0;
12901                   offset:   -5   -5;
12902                }
12903             }
12904          }
12905          part {
12906             name:           "elm.text";
12907             type:           TEXT;
12908             effect:         SOFT_SHADOW;
12909             mouse_events:   0;
12910             scale: 1;
12911             description { state: "default" 0.0;
12912 //               min:      16 16;
12913                rel1 {
12914                   to_x:     "elm.swallow.icon";
12915                   relative: 1.0  0.0;
12916                   offset:   4 4;
12917                }
12918                rel2 {
12919                   to_x:     "elm.swallow.end";
12920                   relative: 0.0  1.0;
12921                   offset:   -1 -5;
12922                }
12923                color: 0 0 0 255;
12924                color3: 0 0 0 0;
12925                text {
12926                   font: "Sans";
12927                   size: 10;
12928 //                  min: 1 1;
12929                   min: 0 1;
12930                   align: 0.0 0.5;
12931                   text_class: "list_item";
12932                }
12933             }
12934             description { state: "selected" 0.0;
12935                inherit: "default" 0.0;
12936                color: 224 224 224 255;
12937                color3: 0 0 0 64;
12938             }
12939          }
12940          part { name: "fg1";
12941             mouse_events: 0;
12942             description { state: "default" 0.0;
12943                visible: 0;
12944                color: 255 255 255 0;
12945                rel1.to: "bg";
12946                rel2.relative: 1.0 0.5;
12947                rel2.to: "bg";
12948                image {
12949                   normal: "bt_sm_hilight.png";
12950                   border: 6 6 6 0;
12951                }
12952             }
12953             description { state: "selected" 0.0;
12954                inherit: "default" 0.0;
12955                visible: 1;
12956                color: 255 255 255 255;
12957             }
12958          }
12959          part { name: "fg2";
12960             mouse_events: 0;
12961             description { state: "default" 0.0;
12962                visible: 0;
12963                color: 255 255 255 0;
12964                rel1.to: "bg";
12965                rel2.to: "bg";
12966                image {
12967                   normal: "bt_sm_shine.png";
12968                   border: 6 6 6 0;
12969                }
12970             }
12971             description { state: "selected" 0.0;
12972                inherit: "default" 0.0;
12973                visible: 1;
12974                color: 255 255 255 255;
12975             }
12976          }
12977       }
12978       programs {
12979          program {
12980             name:    "go_active";
12981             signal:  "elm,state,selected";
12982             source:  "elm";
12983             action:  STATE_SET "selected" 0.0;
12984             target:  "bg";
12985             target:  "fg1";
12986             target:  "fg2";
12987             target:  "elm.text";
12988          }
12989          program {
12990             name:    "go_passive";
12991             signal:  "elm,state,unselected";
12992             source:  "elm";
12993             action:  STATE_SET "default" 0.0;
12994             target:  "bg";
12995             target:  "fg1";
12996             target:  "fg2";
12997             target:  "elm.text";
12998             transition: LINEAR 0.1;
12999          }
13000       }
13001    }
13002    group { name: "elm/list/item_compress_odd/default";
13003       data.item: "stacking" "below";
13004       data.item: "selectraise" "on";
13005       images {
13006          image: "bt_sm_base1.png" COMP;
13007          image: "bt_sm_shine.png" COMP;
13008          image: "bt_sm_hilight.png" COMP;
13009          image: "ilist_2.png" COMP;
13010       }
13011       parts {
13012          part {
13013             name:           "event";
13014             type:           RECT;
13015             repeat_events: 1;
13016             description {
13017                state: "default" 0.0;
13018                color: 0 0 0 0;
13019             }
13020          }
13021          part {
13022             name: "base";
13023             mouse_events: 0;
13024             description {
13025                state: "default" 0.0;
13026                image {
13027                   normal: "ilist_2.png";
13028                   border: 2 2 2 2;
13029                }
13030                fill.smooth: 0;
13031             }
13032          }
13033          part { name: "bg";
13034             mouse_events: 0;
13035             description { state: "default" 0.0;
13036                visible: 0;
13037                color: 255 255 255 0;
13038                rel1 {
13039                   relative: 0.0 0.0;
13040                   offset: -5 -5;
13041                }
13042                rel2 {
13043                   relative: 1.0 1.0;
13044                   offset: 4 4;
13045                }
13046                image {
13047                   normal: "bt_sm_base1.png";
13048                   border: 6 6 6 6;
13049                }
13050                image.middle: SOLID;
13051             }
13052             description { state: "selected" 0.0;
13053                inherit: "default" 0.0;
13054                visible: 1;
13055                color: 255 255 255 255;
13056                rel1 {
13057                   relative: 0.0 0.0;
13058                   offset: -2 -2;
13059                }
13060                rel2 {
13061                   relative: 1.0 1.0;
13062                   offset: 1 1;
13063                }
13064             }
13065          }
13066          part { name:          "elm.swallow.icon";
13067             type:          SWALLOW;
13068             description { state:    "default" 0.0;
13069                fixed: 1 0;
13070                align:    0.0 0.5;
13071                rel1 {
13072                   relative: 0.0  0.0;
13073                   offset:   4    4;
13074                }
13075                rel2 {
13076                   relative: 0.0  1.0;
13077                   offset:   4   -5;
13078                }
13079             }
13080          }
13081          part { name:          "elm.swallow.end";
13082             type:          SWALLOW;
13083             description { state:    "default" 0.0;
13084                fixed: 1 0;
13085                align:    1.0 0.5;
13086                rel1 {
13087                   relative: 1.0  0.0;
13088                   offset:   -5    4;
13089                }
13090                rel2 {
13091                   relative: 1.0  1.0;
13092                   offset:   -5   -5;
13093                }
13094             }
13095          }
13096          part {
13097             name:           "elm.text";
13098             type:           TEXT;
13099             effect:         SOFT_SHADOW;
13100             mouse_events:   0;
13101             scale: 1;
13102             description {
13103                state: "default" 0.0;
13104 //               min:      16 16;
13105                rel1 {
13106                   to_x:     "elm.swallow.icon";
13107                   relative: 1.0  0.0;
13108                   offset:   4 4;
13109                }
13110                rel2 {
13111                   to_x:     "elm.swallow.end";
13112                   relative: 0.0  1.0;
13113                   offset:   -1 -5;
13114                }
13115                color: 0 0 0 255;
13116                color3: 0 0 0 0;
13117                text {
13118                   font: "Sans";
13119                   size: 10;
13120 //                  min: 1 1;
13121                   min: 0 1;
13122                   align: 0.0 0.5;
13123                   text_class: "list_item";
13124                }
13125             }
13126             description { state: "selected" 0.0;
13127                inherit: "default" 0.0;
13128                color: 224 224 224 255;
13129                color3: 0 0 0 64;
13130             }
13131          }
13132          part { name: "fg1";
13133             mouse_events: 0;
13134             description { state: "default" 0.0;
13135                visible: 0;
13136                color: 255 255 255 0;
13137                rel1.to: "bg";
13138                rel2.relative: 1.0 0.5;
13139                rel2.to: "bg";
13140                image {
13141                   normal: "bt_sm_hilight.png";
13142                   border: 6 6 6 0;
13143                }
13144             }
13145             description { state: "selected" 0.0;
13146                inherit: "default" 0.0;
13147                visible: 1;
13148                color: 255 255 255 255;
13149             }
13150          }
13151          part { name: "fg2";
13152             mouse_events: 0;
13153             description { state: "default" 0.0;
13154                visible: 0;
13155                color: 255 255 255 0;
13156                rel1.to: "bg";
13157                rel2.to: "bg";
13158                image {
13159                   normal: "bt_sm_shine.png";
13160                   border: 6 6 6 0;
13161                }
13162             }
13163             description { state: "selected" 0.0;
13164                inherit: "default" 0.0;
13165                visible: 1;
13166                color: 255 255 255 255;
13167             }
13168          }
13169       }
13170       programs {
13171          program {
13172             name:    "go_active";
13173             signal:  "elm,state,selected";
13174             source:  "elm";
13175             action:  STATE_SET "selected" 0.0;
13176             target:  "bg";
13177             target:  "fg1";
13178             target:  "fg2";
13179             target:  "elm.text";
13180          }
13181          program {
13182             name:    "go_passive";
13183             signal:  "elm,state,unselected";
13184             source:  "elm";
13185             action:  STATE_SET "default" 0.0;
13186             target:  "bg";
13187             target:  "fg1";
13188             target:  "fg2";
13189             target:  "elm.text";
13190             transition: LINEAR 0.1;
13191          }
13192       }
13193    }
13194
13195 ///////////////////////////////////////////////////////////////////////////////
13196    group { name: "elm/list/h_item/default";
13197       data.item: "stacking" "above";
13198       images {
13199          image: "bt_sm_base1.png" COMP;
13200          image: "bt_sm_shine.png" COMP;
13201          image: "bt_sm_hilight.png" COMP;
13202          image: "ilist_1_h.png" COMP;
13203          image: "ilist_item_shadow_h.png" COMP;
13204       }
13205       parts {
13206          part {
13207             name: "event";
13208             type: RECT;
13209             repeat_events: 1;
13210             description {
13211                state: "default" 0.0;
13212                color: 0 0 0 0;
13213             }
13214          }
13215          part {
13216             name: "base_sh";
13217             mouse_events: 0;
13218             description {
13219                state: "default" 0.0;
13220                align: 0.0 0.0;
13221                min: 10 0;
13222                fixed: 1 1;
13223                rel1 {
13224                   to: "base";
13225                   relative: 1.0 0.0;
13226                   offset: 0 0;
13227                }
13228                rel2 {
13229                   to: "base";
13230                   relative: 1.0 1.0;
13231                   offset: 0 -1;
13232                }
13233                image {
13234                   normal: "ilist_item_shadow_h.png";
13235                }
13236                fill.smooth: 0;
13237             }
13238          }
13239          part {
13240             name: "base";
13241             mouse_events: 0;
13242             description {
13243                state: "default" 0.0;
13244                image {
13245                   normal: "ilist_1_h.png";
13246                   border: 2 2 2 2;
13247                }
13248                fill.smooth: 0;
13249             }
13250          }
13251          part { name: "bg";
13252             mouse_events: 0;
13253             description { state: "default" 0.0;
13254                visible: 0;
13255                color: 255 255 255 0;
13256                rel1 {
13257                   relative: 0.0 0.0;
13258                   offset: -5 -5;
13259                }
13260                rel2 {
13261                   relative: 1.0 1.0;
13262                   offset: 4 4;
13263                }
13264                image {
13265                   normal: "bt_sm_base1.png";
13266                   border: 6 6 6 6;
13267                }
13268                image.middle: SOLID;
13269             }
13270             description { state: "selected" 0.0;
13271                inherit: "default" 0.0;
13272                visible: 1;
13273                color: 255 255 255 255;
13274                rel1 {
13275                   relative: 0.0 0.0;
13276                   offset: -2 -2;
13277                }
13278                rel2 {
13279                   relative: 1.0 1.0;
13280                   offset: 1 1;
13281                }
13282             }
13283          }
13284          part { name: "elm.swallow.icon";
13285             type: SWALLOW;
13286             description { state: "default" 0.0;
13287                fixed: 0 1;
13288                align: 0.5 0.0;
13289                rel1 {
13290                   relative: 0.0 0.0;
13291                   offset: 4 4;
13292                }
13293                rel2 {
13294                   relative: 1.0 0.0;
13295                   offset: -5 4;
13296                }
13297             }
13298          }
13299          part { name: "elm.swallow.end";
13300             type: SWALLOW;
13301             description { state: "default" 0.0;
13302                fixed: 0 1;
13303                align: 0.5 1.0;
13304                rel1 {
13305                   relative: 0.0 1.0;
13306                   offset: 4 -5;
13307                }
13308                rel2 {
13309                   relative: 1.0 1.0;
13310                   offset: -5 -5;
13311                }
13312             }
13313          }
13314          part { name: "elm.text";
13315             type: TEXT;
13316             effect: SOFT_SHADOW;
13317             mouse_events: 0;
13318             scale: 1;
13319             description {
13320                state: "default" 0.0;
13321                fixed: 0 1;
13322                rel1 {
13323                   to_x: "elm.swallow.icon";
13324                   relative: 0.0 1.0;
13325                   offset: 4 4;
13326                }
13327                rel2 {
13328                   to_x: "elm.swallow.end";
13329                   relative: 1.0 0.0;
13330                   offset: -5 -1;
13331                }
13332                color: 0 0 0 255;
13333                color3: 0 0 0 0;
13334                text {
13335                   font: "Sans";
13336                   size: 10;
13337                   min: 1 1;
13338                   align: 0.5 0.5;
13339                   text_class: "list_item";
13340                }
13341             }
13342             description { state: "selected" 0.0;
13343                inherit: "default" 0.0;
13344                color: 224 224 224 255;
13345                color3: 0 0 0 64;
13346             }
13347          }
13348          part { name: "fg1";
13349             mouse_events: 0;
13350             description { state: "default" 0.0;
13351                visible: 0;
13352                color: 255 255 255 0;
13353                rel1.to: "bg";
13354                rel2.relative: 1.0 0.5;
13355                rel2.to: "bg";
13356                image {
13357                   normal: "bt_sm_hilight.png";
13358                   border: 6 6 6 0;
13359                }
13360             }
13361             description { state: "selected" 0.0;
13362                inherit: "default" 0.0;
13363                visible: 1;
13364                color: 255 255 255 255;
13365             }
13366          }
13367          part { name: "fg2";
13368             mouse_events: 0;
13369             description { state: "default" 0.0;
13370                visible: 0;
13371                color: 255 255 255 0;
13372                rel1.to: "bg";
13373                rel2.to: "bg";
13374                image {
13375                   normal: "bt_sm_shine.png";
13376                   border: 6 6 6 0;
13377                }
13378             }
13379             description { state: "selected" 0.0;
13380                inherit: "default" 0.0;
13381                visible: 1;
13382                color: 255 255 255 255;
13383             }
13384          }
13385       }
13386       programs {
13387          program {
13388             name: "go_active";
13389             signal: "elm,state,selected";
13390             source: "elm";
13391             action: STATE_SET "selected" 0.0;
13392             target: "bg";
13393             target: "fg1";
13394             target: "fg2";
13395             target: "elm.text";
13396          }
13397          program {
13398             name: "go_passive";
13399             signal: "elm,state,unselected";
13400             source: "elm";
13401             action: STATE_SET "default" 0.0;
13402             target: "bg";
13403             target: "fg1";
13404             target: "fg2";
13405             target: "elm.text";
13406             transition: LINEAR 0.1;
13407          }
13408       }
13409    }
13410    group { name: "elm/list/h_item_odd/default";
13411       data.item: "stacking" "below";
13412       data.item: "selectraise" "on";
13413       images {
13414          image: "bt_sm_base1.png" COMP;
13415          image: "bt_sm_shine.png" COMP;
13416          image: "bt_sm_hilight.png" COMP;
13417          image: "ilist_2_h.png" COMP;
13418       }
13419       parts {
13420          part {
13421             name: "event";
13422             type: RECT;
13423             repeat_events: 1;
13424             description {
13425                state: "default" 0.0;
13426                color: 0 0 0 0;
13427             }
13428          }
13429          part {
13430             name: "base";
13431             mouse_events: 0;
13432             description {
13433                state: "default" 0.0;
13434                image {
13435                   normal: "ilist_2_h.png";
13436                   border: 2 2 2 2;
13437                }
13438                fill.smooth: 0;
13439             }
13440          }
13441          part { name: "bg";
13442             mouse_events: 0;
13443             description { state: "default" 0.0;
13444                visible: 0;
13445                color: 255 255 255 0;
13446                rel1 {
13447                   relative: 0.0 0.0;
13448                   offset: -5 -5;
13449                }
13450                rel2 {
13451                   relative: 1.0 1.0;
13452                   offset: 4 4;
13453                }
13454                image {
13455                   normal: "bt_sm_base1.png";
13456                   border: 6 6 6 6;
13457                }
13458                image.middle: SOLID;
13459             }
13460             description { state: "selected" 0.0;
13461                inherit: "default" 0.0;
13462                visible: 1;
13463                color: 255 255 255 255;
13464                rel1 {
13465                   relative: 0.0 0.0;
13466                   offset: -2 -2;
13467                }
13468                rel2 {
13469                   relative: 1.0 1.0;
13470                   offset: 1 1;
13471                }
13472             }
13473          }
13474          part {
13475             name: "elm.swallow.icon";
13476             type: SWALLOW;
13477             description { state: "default" 0.0;
13478                fixed: 0 1;
13479                align: 0.5 0.0;
13480                rel1 {
13481                   relative: 0.0 0.0;
13482                   offset: 4 4;
13483                }
13484                rel2 {
13485                   relative: 1.0 0.0;
13486                   offset: -5 4;
13487                }
13488             }
13489          }
13490          part {
13491             name: "elm.swallow.end";
13492             type: SWALLOW;
13493             description { state: "default" 0.0;
13494                fixed: 0 1;
13495                align: 0.5 1.0;
13496                rel1 {
13497                   relative: 0.0 1.0;
13498                   offset: 4 -5;
13499                }
13500                rel2 {
13501                   relative: 1.0 1.0;
13502                   offset: -5 -5;
13503                }
13504             }
13505          }
13506          part { name: "elm.text";
13507             type: TEXT;
13508             effect: SOFT_SHADOW;
13509             mouse_events: 0;
13510             scale: 1;
13511             description {
13512                state: "default" 0.0;
13513                fixed: 1 1;
13514                rel1 {
13515                   to_x: "elm.swallow.icon";
13516                   relative: 0.0 1.0;
13517                   offset: 4 4;
13518                }
13519                rel2 {
13520                   to_x: "elm.swallow.end";
13521                   relative: 1.0 0.0;
13522                   offset: -5 -1;
13523                }
13524                color: 0 0 0 255;
13525                color3: 0 0 0 0;
13526                text {
13527                   font: "Sans";
13528                   size: 10;
13529                   min: 1 1;
13530                   align: 0.5 0.5;
13531                   text_class: "list_item";
13532                }
13533             }
13534             description { state: "selected" 0.0;
13535                inherit: "default" 0.0;
13536                color: 224 224 224 255;
13537                color3: 0 0 0 64;
13538             }
13539          }
13540          part { name: "fg1";
13541             mouse_events: 0;
13542             description { state: "default" 0.0;
13543                visible: 0;
13544                color: 255 255 255 0;
13545                rel1.to: "bg";
13546                rel2.relative: 1.0 0.5;
13547                rel2.to: "bg";
13548                image {
13549                   normal: "bt_sm_hilight.png";
13550                   border: 6 6 6 0;
13551                }
13552             }
13553             description { state: "selected" 0.0;
13554                inherit: "default" 0.0;
13555                visible: 1;
13556                color: 255 255 255 255;
13557             }
13558          }
13559          part { name: "fg2";
13560             mouse_events: 0;
13561             description { state: "default" 0.0;
13562                visible: 0;
13563                color: 255 255 255 0;
13564                rel1.to: "bg";
13565                rel2.to: "bg";
13566                image {
13567                   normal: "bt_sm_shine.png";
13568                   border: 6 6 6 0;
13569                }
13570             }
13571             description { state: "selected" 0.0;
13572                inherit: "default" 0.0;
13573                visible: 1;
13574                color: 255 255 255 255;
13575             }
13576          }
13577       }
13578       programs {
13579          program {
13580             name: "go_active";
13581             signal: "elm,state,selected";
13582             source: "elm";
13583             action: STATE_SET "selected" 0.0;
13584             target: "bg";
13585             target: "fg1";
13586             target: "fg2";
13587             target: "elm.text";
13588          }
13589          program {
13590             name: "go_passive";
13591             signal: "elm,state,unselected";
13592             source: "elm";
13593             action: STATE_SET "default" 0.0;
13594             target: "bg";
13595             target: "fg1";
13596             target: "fg2";
13597             target: "elm.text";
13598             transition: LINEAR 0.1;
13599          }
13600       }
13601    }
13602    group { name: "elm/list/h_item_compress/default";
13603       data.item: "stacking" "above";
13604       data.item: "selectraise" "on";
13605       images {
13606          image: "bt_sm_base1.png" COMP;
13607          image: "bt_sm_shine.png" COMP;
13608          image: "bt_sm_hilight.png" COMP;
13609          image: "ilist_1_h.png" COMP;
13610          image: "ilist_item_shadow_h.png" COMP;
13611       }
13612       parts {
13613          part {
13614             name: "event";
13615             type: RECT;
13616             repeat_events: 1;
13617             description {
13618                state: "default" 0.0;
13619                color: 0 0 0 0;
13620             }
13621          }
13622          part {
13623             name: "base_sh";
13624             mouse_events: 0;
13625             description { state: "default" 0.0;
13626                fixed: 1 1;
13627                align: 0.0 0.0;
13628                min: 10 0;
13629                rel1 {
13630                   to: "base";
13631                   relative: 1.0 0.0;
13632                   offset: 0 0;
13633                }
13634                rel2 {
13635                   to: "base";
13636                   relative: 1.0 1.0;
13637                   offset: 0 -1;
13638                }
13639                image {
13640                   normal: "ilist_item_shadow_h.png";
13641                }
13642                fill.smooth: 0;
13643             }
13644          }
13645          part {
13646             name: "base";
13647             mouse_events: 0;
13648             description {
13649                state: "default" 0.0;
13650                image {
13651                   normal: "ilist_1_h.png";
13652                   border: 2 2 2 2;
13653                }
13654                fill.smooth: 0;
13655             }
13656          }
13657          part { name: "bg";
13658             mouse_events: 0;
13659             description { state: "default" 0.0;
13660                visible: 0;
13661                color: 255 255 255 0;
13662                rel1 {
13663                   relative: 0.0 0.0;
13664                   offset: -5 -5;
13665                }
13666                rel2 {
13667                   relative: 1.0 1.0;
13668                   offset: 4 4;
13669                }
13670                image {
13671                   normal: "bt_sm_base1.png";
13672                   border: 6 6 6 6;
13673                }
13674                image.middle: SOLID;
13675             }
13676             description { state: "selected" 0.0;
13677                inherit: "default" 0.0;
13678                visible: 1;
13679                color: 255 255 255 255;
13680                rel1 {
13681                   relative: 0.0 0.0;
13682                   offset: -2 -2;
13683                }
13684                rel2 {
13685                   relative: 1.0 1.0;
13686                   offset: 1 1;
13687                }
13688             }
13689          }
13690          part { name: "elm.swallow.icon";
13691             type: SWALLOW;
13692             description { state: "default" 0.0;
13693                fixed: 0 1;
13694                align: 0.5 0.0;
13695                rel1 {
13696                   relative: 0.0 0.0;
13697                   offset: 4 4;
13698                }
13699                rel2 {
13700                   relative: 1.0 0.0;
13701                   offset: -5 4;
13702                }
13703             }
13704          }
13705          part { name: "elm.swallow.end";
13706             type: SWALLOW;
13707             description { state: "default" 0.0;
13708                fixed: 0 1;
13709                align: 0.5 1.0;
13710                rel1 {
13711                   relative: 0.0 1.0;
13712                   offset: 4 -5;
13713                }
13714                rel2 {
13715                   relative: 1.0 1.0;
13716                   offset: -5 -5;
13717                }
13718             }
13719          }
13720          part {
13721             name: "elm.text";
13722             type: TEXT;
13723             effect: SOFT_SHADOW;
13724             mouse_events: 0;
13725             scale: 1;
13726             description { state: "default" 0.0;
13727                fixed: 1 1;
13728                rel1 {
13729                   to_x: "elm.swallow.icon";
13730                   relative: 0.0 1.0;
13731                   offset: 4 4;
13732                }
13733                rel2 {
13734                   to_x: "elm.swallow.end";
13735                   relative: 1.0 0.0;
13736                   offset: -5 -1;
13737                }
13738                color: 0 0 0 255;
13739                color3: 0 0 0 0;
13740                text {
13741                   font: "Sans";
13742                   size: 10;
13743                   min: 1 1;
13744                   align: 0.5 0.5;
13745                   text_class: "list_item";
13746                }
13747             }
13748             description { state: "selected" 0.0;
13749                inherit: "default" 0.0;
13750                color: 224 224 224 255;
13751                color3: 0 0 0 64;
13752             }
13753          }
13754          part { name: "fg1";
13755             mouse_events: 0;
13756             description { state: "default" 0.0;
13757                visible: 0;
13758                color: 255 255 255 0;
13759                rel1.to: "bg";
13760                rel2.relative: 1.0 0.5;
13761                rel2.to: "bg";
13762                image {
13763                   normal: "bt_sm_hilight.png";
13764                   border: 6 6 6 0;
13765                }
13766             }
13767             description { state: "selected" 0.0;
13768                inherit: "default" 0.0;
13769                visible: 1;
13770                color: 255 255 255 255;
13771             }
13772          }
13773          part { name: "fg2";
13774             mouse_events: 0;
13775             description { state: "default" 0.0;
13776                visible: 0;
13777                color: 255 255 255 0;
13778                rel1.to: "bg";
13779                rel2.to: "bg";
13780                image {
13781                   normal: "bt_sm_shine.png";
13782                   border: 6 6 6 0;
13783                }
13784             }
13785             description { state: "selected" 0.0;
13786                inherit: "default" 0.0;
13787                visible: 1;
13788                color: 255 255 255 255;
13789             }
13790          }
13791       }
13792       programs {
13793          program {
13794             name: "go_active";
13795             signal: "elm,state,selected";
13796             source: "elm";
13797             action: STATE_SET "selected" 0.0;
13798             target: "bg";
13799             target: "fg1";
13800             target: "fg2";
13801             target: "elm.text";
13802          }
13803          program {
13804             name: "go_passive";
13805             signal: "elm,state,unselected";
13806             source: "elm";
13807             action: STATE_SET "default" 0.0;
13808             target: "bg";
13809             target: "fg1";
13810             target: "fg2";
13811             target: "elm.text";
13812             transition: LINEAR 0.1;
13813          }
13814       }
13815    }
13816    group { name: "elm/list/h_item_compress_odd/default";
13817       data.item: "stacking" "below";
13818       data.item: "selectraise" "on";
13819       images {
13820          image: "bt_sm_base1.png" COMP;
13821          image: "bt_sm_shine.png" COMP;
13822          image: "bt_sm_hilight.png" COMP;
13823          image: "ilist_2_h.png" COMP;
13824       }
13825       parts {
13826          part {
13827             name: "event";
13828             type: RECT;
13829             repeat_events: 1;
13830             description {
13831                state: "default" 0.0;
13832                color: 0 0 0 0;
13833             }
13834          }
13835          part {
13836             name: "base";
13837             mouse_events: 0;
13838             description {
13839                state: "default" 0.0;
13840                image {
13841                   normal: "ilist_2_h.png";
13842                   border: 2 2 2 2;
13843                }
13844                fill.smooth: 0;
13845             }
13846          }
13847          part { name: "bg";
13848             mouse_events: 0;
13849             description { state: "default" 0.0;
13850                visible: 0;
13851                color: 255 255 255 0;
13852                rel1 {
13853                   relative: 0.0 0.0;
13854                   offset: -5 -5;
13855                }
13856                rel2 {
13857                   relative: 1.0 1.0;
13858                   offset: 4 4;
13859                }
13860                image {
13861                   normal: "bt_sm_base1.png";
13862                   border: 6 6 6 6;
13863                }
13864                image.middle: SOLID;
13865             }
13866             description { state: "selected" 0.0;
13867                inherit: "default" 0.0;
13868                visible: 1;
13869                color: 255 255 255 255;
13870                rel1 {
13871                   relative: 0.0 0.0;
13872                   offset: -2 -2;
13873                }
13874                rel2 {
13875                   relative: 1.0 1.0;
13876                   offset: 1 1;
13877                }
13878             }
13879          }
13880          part { name: "elm.swallow.icon";
13881             type: SWALLOW;
13882             description { state: "default" 0.0;
13883                fixed: 0 1;
13884                align: 0.5 0.0;
13885                rel1 {
13886                   relative: 0.0 0.0;
13887                   offset: 4 4;
13888                }
13889                rel2 {
13890                   relative: 1.0 0.0;
13891                   offset: -5 4;
13892                }
13893             }
13894          }
13895          part { name: "elm.swallow.end";
13896             type: SWALLOW;
13897             description { state: "default" 0.0;
13898                fixed: 0 1;
13899                align: 0.5 1.0;
13900                rel1 {
13901                   relative: 0.0 1.0;
13902                   offset: 4 -5;
13903                }
13904                rel2 {
13905                   relative: 1.0 1.0;
13906                   offset: -5 -5;
13907                }
13908             }
13909          }
13910          part { name: "elm.text";
13911             type: TEXT;
13912             effect: SOFT_SHADOW;
13913             mouse_events: 0;
13914             scale: 1;
13915             description {
13916                state: "default" 0.0;
13917                fixed: 1 1;
13918                rel1 {
13919                   to_x: "elm.swallow.icon";
13920                   relative: 0.0 1.0;
13921                   offset: 4 4;
13922                }
13923                rel2 {
13924                   to_x: "elm.swallow.end";
13925                   relative: 1.0 0.0;
13926                   offset: -5 -1;
13927                }
13928                color: 0 0 0 255;
13929                color3: 0 0 0 0;
13930                text {
13931                   font: "Sans";
13932                   size: 10;
13933                   min: 1 1;
13934                   align: 0.5 0.5;
13935                   text_class: "list_item";
13936                }
13937             }
13938             description { state: "selected" 0.0;
13939                inherit: "default" 0.0;
13940                color: 224 224 224 255;
13941                color3: 0 0 0 64;
13942             }
13943          }
13944          part { name: "fg1";
13945             mouse_events: 0;
13946             description { state: "default" 0.0;
13947                visible: 0;
13948                color: 255 255 255 0;
13949                rel1.to: "bg";
13950                rel2.relative: 1.0 0.5;
13951                rel2.to: "bg";
13952                image {
13953                   normal: "bt_sm_hilight.png";
13954                   border: 6 6 6 0;
13955                }
13956             }
13957             description { state: "selected" 0.0;
13958                inherit: "default" 0.0;
13959                visible: 1;
13960                color: 255 255 255 255;
13961             }
13962          }
13963          part { name: "fg2";
13964             mouse_events: 0;
13965             description { state: "default" 0.0;
13966                visible: 0;
13967                color: 255 255 255 0;
13968                rel1.to: "bg";
13969                rel2.to: "bg";
13970                image {
13971                   normal: "bt_sm_shine.png";
13972                   border: 6 6 6 0;
13973                }
13974             }
13975             description { state: "selected" 0.0;
13976                inherit: "default" 0.0;
13977                visible: 1;
13978                color: 255 255 255 255;
13979             }
13980          }
13981       }
13982       programs {
13983          program {
13984             name: "go_active";
13985             signal: "elm,state,selected";
13986             source: "elm";
13987             action: STATE_SET "selected" 0.0;
13988             target: "bg";
13989             target: "fg1";
13990             target: "fg2";
13991             target: "elm.text";
13992          }
13993          program {
13994             name: "go_passive";
13995             signal: "elm,state,unselected";
13996             source: "elm";
13997             action: STATE_SET "default" 0.0;
13998             target: "bg";
13999             target: "fg1";
14000             target: "fg2";
14001             target: "elm.text";
14002             transition: LINEAR 0.1;
14003          }
14004       }
14005    }
14006
14007 ///////////////////////////////////////////////////////////////////////////////
14008    group { name: "elm/slider/horizontal/default";
14009            alias: "elm/slider/horizontal/disabled";
14010       images {
14011          image: "sl_bg.png" COMP;
14012          image: "sl_bg_over.png" COMP;
14013          image: "sl_units.png" COMP;
14014       }
14015       parts {
14016          part { name: "base";
14017             mouse_events: 0;
14018             description { state: "default" 0.0;
14019                max: 99999 6;
14020                min: 0 6;
14021                rel1 { to: "bg";
14022                   offset: 1 0;
14023                }
14024                rel2 { to: "bg";
14025                   offset: -2 -1;
14026                }
14027                image.normal: "sl_bg.png";
14028                fill.smooth: 0;
14029             }
14030          }
14031          part { name: "level";
14032             type: RECT;
14033             mouse_events: 0;
14034             description { state: "default" 0.0;
14035                fixed: 1 1;
14036                rel1.to: "base";
14037                rel2 {
14038                   to_y: "base";
14039                   to_x: "elm.dragable.slider";
14040                   relative: 0.5 1.0;
14041                }
14042                color: 255 0 0 200;
14043             }
14044             description { state: "inverted" 0.0;
14045                inherit: "default" 0.0;
14046                visible: 0;
14047             }
14048             description { state: "disabled" 0.0;
14049                inherit: "default" 0.0;
14050                color: 255 0 0 100;
14051             }
14052             description { state: "disabled_inverted" 0.0;
14053                inherit: "default" 0.0;
14054                visible: 0;
14055             }
14056          }
14057          part { name: "level2";
14058             type: RECT;
14059             mouse_events: 0;
14060             description { state: "default" 0.0;
14061                fixed: 1 1;
14062                visible: 0;
14063                rel1 {
14064                   to_y: "base";
14065                   to_x: "elm.dragable.slider";
14066                   relative: 0.5 0.0;
14067                }
14068                rel2.to: "base";
14069                color: 255 0 0 200;
14070             }
14071             description { state: "inverted" 0.0;
14072                inherit: "default" 0.0;
14073                visible: 1;
14074             }
14075             description { state: "disabled" 0.0;
14076                inherit: "default" 0.0;
14077             }
14078             description { state: "disabled_inverted" 0.0;
14079                inherit: "default" 0.0;
14080                color: 255 0 0 100;
14081                visible: 1;
14082             }
14083          }
14084          part {
14085             name: "base_over";
14086             mouse_events: 0;
14087             description { state: "default" 0.0;
14088                rel1.to: "base";
14089                rel1.offset: -1 -1;
14090                rel2.to: "base";
14091                rel2.offset: 0 0;
14092                image {
14093                   normal: "sl_bg_over.png";
14094                   border: 3 3 3 3;
14095                }
14096                fill.smooth: 0;
14097             }
14098          }
14099          part { name: "bg";
14100             type: RECT;
14101             mouse_events: 0;
14102             scale: 1;
14103             description { state: "default" 0.0;
14104                visible: 0;
14105                rel1.to: "elm.swallow.bar";
14106                rel2.to: "elm.swallow.bar";
14107                color: 0 0 0 0;
14108             }
14109          }
14110          part { name: "elm.swallow.bar";
14111             type: SWALLOW;
14112             scale: 1;
14113             description { state: "default" 0.0;
14114                min: 48 24;
14115                max: 99999 24;
14116                align: 1.0 0.5;
14117                rel1 {
14118                   to_x: "elm.text";
14119                   relative: 1.0 0.0;
14120                   offset: 8 0;
14121                }
14122                rel2 {
14123                   to_x: "elm.units";
14124                   relative: 0.0 1.0;
14125                   offset: -10 -1;
14126                }
14127             }
14128          }
14129          part { name: "elm.swallow.icon";
14130             type: SWALLOW;
14131             description { state: "default" 0.0;
14132                visible: 0;
14133                align: 0.0 0.5;
14134                rel1 {
14135                   offset: 4 0;
14136                   to_y: "elm.swallow.bar";
14137                }
14138                rel2 {
14139                   offset: 3 -1;
14140                   relative: 0.0 1.0;
14141                   to_y: "elm.swallow.bar";
14142                }
14143             }
14144             description { state: "visible" 0.0;
14145                inherit: "default" 0.0;
14146                visible: 1;
14147                aspect: 1.0 1.0;
14148                aspect_preference: VERTICAL;
14149                rel2.offset: 4 -1;
14150             }
14151          }
14152          part { name: "elm.text";
14153             type: TEXT;
14154             mouse_events: 0;
14155             scale: 1;
14156             description { state: "default" 0.0;
14157                visible: 0;
14158                fixed: 1 1;
14159                align: 0.0 0.5;
14160                rel1.to_x: "elm.swallow.icon";
14161                rel1.relative: 1.0 0.0;
14162                rel1.offset: -1 4;
14163                rel2.to_x: "elm.swallow.icon";
14164                rel2.relative: 1.0 1.0;
14165                rel2.offset: -1 -5;
14166                color: 0 0 0 255;
14167                text {
14168                   font: "Sans,Edje-Vera";
14169                   size: 10;
14170                   min: 0 0;
14171                   align: 0.0 0.5;
14172                }
14173             }
14174             description { state: "visible" 0.0;
14175                inherit: "default" 0.0;
14176                visible: 1;
14177                text.min: 1 1;
14178                rel1.offset: 0 4;
14179                rel2.offset: 0 -5;
14180             }
14181             description { state: "disabled" 0.0;
14182                inherit: "default" 0.0;
14183                color: 255 128 128 128;
14184                visible: 0;
14185             }
14186             description { state: "disabled_visible" 0.0;
14187                inherit: "default" 0.0;
14188                color: 0 0 0 128;
14189                color3: 0 0 0 0;
14190                visible: 1;
14191                text.min: 1 1;
14192             }
14193          }
14194          part {
14195             name: "elm.swallow.end";
14196             type: SWALLOW;
14197             description {
14198                state: "default" 0.0;
14199                visible: 0;
14200                align: 1.0 0.5;
14201                rel1 {
14202                   offset: -4 0;
14203                   relative: 1.0 0.0;
14204                   to_y: "elm.swallow.bar";
14205                }
14206                rel2 {
14207                   offset: -3 -1;
14208                   to_y: "elm.swallow.bar";
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                visible: 1;
14214                aspect: 1.0 1.0;
14215                aspect_preference: VERTICAL;
14216                rel2.offset: -4 -1;
14217             }
14218          }
14219          part { name: "units";
14220             mouse_events: 0;
14221             description { state: "default" 0.0;
14222                visible: 0;
14223                rel1 {
14224                   to_x: "elm.units";
14225                   offset: 0 5;
14226                }
14227                rel2 {
14228                   to_x: "elm.units";
14229                   offset: 5 -3;
14230                }
14231                image {
14232                   normal: "sl_units.png";
14233                   border: 0 5 3 8;
14234                }
14235                fill.smooth: 0;
14236             }
14237             description { state: "visible" 0.0;
14238                inherit: "default" 0.0;
14239                visible: 1;
14240             }
14241          }
14242          part { name: "elm.units";
14243             type: TEXT;
14244             mouse_events: 0;
14245             scale: 1;
14246             description { state: "default" 0.0;
14247                visible: 0;
14248                fixed: 1 1;
14249                align: 1.0 0.5;
14250                rel1.to_x: "elm.swallow.end";
14251                rel1.relative: 0.0 0.0;
14252                rel1.offset: 0 8;
14253                rel2.to_x: "elm.swallow.end";
14254                rel2.relative: 0.0 1.0;
14255                rel2.offset: 0 -9;
14256                color: 0 0 0 255;
14257                text {
14258                   font: "Sans,Edje-Vera";
14259                   size: 10;
14260                   min: 0 0;
14261                   align: 0.0 0.5;
14262                }
14263             }
14264             description { state: "visible" 0.0;
14265                inherit: "default" 0.0;
14266                fixed: 1 1;
14267                visible: 1;
14268                text.min: 1 1;
14269                rel1.offset: -5 0;
14270                rel2.offset: -5 -1;
14271             }
14272             description { state: "disabled" 0.0;
14273                inherit: "default" 0.0;
14274                color: 255 128 128 128;
14275                visible: 0;
14276             }
14277             description { state: "disabled_visible" 0.0;
14278                inherit: "default" 0.0;
14279                color: 0 0 0 128;
14280                color3: 0 0 0 0;
14281                visible: 1;
14282                text.min: 1 1;
14283             }
14284          }
14285          part { name: "elm.dragable.slider";
14286             type: GROUP;
14287             source: "elm/slider/horizontal/indicator/default";
14288             mouse_events: 1;
14289             repeat_events: 1;
14290             scale: 1;
14291             dragable {
14292                x: 1 1 0;
14293                y: 0 0 0;
14294                confine: "bg";
14295             }
14296             description { state: "default" 0.0;
14297                min: 0 24;
14298                max: 0 24;
14299                fixed: 1 1;
14300                rel1 {
14301                   relative: 0.5 0.0;
14302                   to_x: "bg";
14303                }
14304                rel2 {
14305                   relative: 0.5 1.0;
14306                   to_x: "bg";
14307                }
14308                color: 255 0 0 100;
14309             }
14310          }
14311           part { name: "disabler";
14312             type: RECT;
14313             description { state: "default" 0.0;
14314                color: 0 0 0 0;
14315                visible: 0;
14316             }
14317             description { state: "disabled" 0.0;
14318                inherit: "default" 0.0;
14319                visible: 1;
14320             }
14321          }
14322       }
14323       programs {
14324          program { name: "text_show";
14325             signal: "elm,state,text,visible";
14326             source: "elm";
14327             action:  STATE_SET "visible" 0.0;
14328             target: "elm.text";
14329          }
14330          program { name: "text_hide";
14331             signal: "elm,state,text,hidden";
14332             source: "elm";
14333             action:  STATE_SET "default" 0.0;
14334             target: "elm.text";
14335          }
14336          program { name: "icon_show";
14337             signal: "elm,state,icon,visible";
14338             source: "elm";
14339             action:  STATE_SET "visible" 0.0;
14340             target: "elm.swallow.icon";
14341          }
14342          program { name: "icon_hide";
14343             signal: "elm,state,icon,hidden";
14344             source: "elm";
14345             action:  STATE_SET "default" 0.0;
14346             target: "elm.swallow.icon";
14347          }
14348           program { name: "end_show";
14349             signal: "elm,state,end,visible";
14350             source: "elm";
14351             action:  STATE_SET "visible" 0.0;
14352             target: "elm.swallow.end";
14353          }
14354          program { name: "end_hide";
14355             signal: "elm,state,end,hidden";
14356             source: "elm";
14357             action:  STATE_SET "default" 0.0;
14358             target: "elm.swallow.end";
14359          }
14360          program { name: "units_show";
14361             signal: "elm,state,units,visible";
14362             source: "elm";
14363             action:  STATE_SET "visible" 0.0;
14364             target: "elm.units";
14365             target: "units";
14366          }
14367          program { name: "units_hide";
14368             signal: "elm,state,units,hidden";
14369             source: "elm";
14370             action:  STATE_SET "default" 0.0;
14371             target: "elm.units";
14372             target: "units";
14373          }
14374          program { name: "invert_on";
14375             signal: "elm,state,inverted,on";
14376             source: "elm";
14377             action:  STATE_SET "inverted" 0.0;
14378             target: "level";
14379             target: "level2";
14380          }
14381          program { name: "invert_off";
14382             signal: "elm,state,inverted,off";
14383             source: "elm";
14384             action:  STATE_SET "default" 0.0;
14385             target: "level";
14386             target: "level2";
14387          }
14388          program {
14389             name:    "go_disabled";
14390             signal:  "elm,state,disabled";
14391             source:  "elm";
14392             action:  STATE_SET "disabled" 0.0;
14393 //            target: "button0";
14394             target: "disabler";
14395             after: "disable_text";
14396             after: "disable_ind";
14397          }
14398
14399          program { name: "disable_ind";
14400             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14401          }
14402          program { name: "disable_text";
14403             script {
14404                new st[31];
14405                new Float:vl;
14406                get_state(PART:"elm.text", st, 30, vl);
14407                if (!strcmp(st, "visible"))
14408                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14409                else
14410                   set_state(PART:"elm.text", "disabled", 0.0);
14411
14412                get_state(PART:"elm.units", st, 30, vl);
14413                if (!strcmp(st, "visible"))
14414                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14415                else
14416                   set_state(PART:"elm.units", "disabled", 0.0);
14417
14418                get_state(PART:"level2", st, 30, vl);
14419                if (!strcmp(st, "inverted"))
14420                {
14421                   set_state(PART:"level", "disabled_inverted", 0.0);
14422                   set_state(PART:"level2", "disabled_inverted", 0.0);
14423                }
14424                else
14425                {
14426                   set_state(PART:"level", "disabled", 0.0);
14427                   set_state(PART:"level2", "disabled", 0.0);
14428                }
14429             }
14430          }
14431          program { name: "enable";
14432             signal: "elm,state,enabled";
14433             source: "elm";
14434             action: STATE_SET "default" 0.0;
14435 //            target: "button0";
14436             target: "disabler";
14437             after: "enable_text";
14438             after: "enable_ind";
14439          }
14440
14441          program { name: "enable_ind";
14442             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14443          }
14444
14445          program { name: "enable_text";
14446             script {
14447                new st[31];
14448                new Float:vl;
14449                get_state(PART:"elm.text", st, 30, vl);
14450                if (!strcmp(st, "disabled_visible"))
14451                   set_state(PART:"elm.text", "visible", 0.0);
14452                else
14453                   set_state(PART:"elm.text", "default", 0.0);
14454
14455                get_state(PART:"elm.units", st, 30, vl);
14456                if (!strcmp(st, "disabled_visible"))
14457                   set_state(PART:"elm.units", "visible", 0.0);
14458                else
14459                   set_state(PART:"elm.units", "default", 0.0);
14460
14461                get_state(PART:"level2", st, 30, vl);
14462                if (!strcmp(st, "disabled_inverted"))
14463                {
14464                   set_state(PART:"level", "inverted", 0.0);
14465                   set_state(PART:"level2", "inverted", 0.0);
14466                }
14467                else
14468                {
14469                   set_state(PART:"level", "default", 0.0);
14470                   set_state(PART:"level2", "default", 0.0);
14471                }
14472             }
14473          }
14474       }
14475    }
14476
14477    group { name: "elm/slider/vertical/default";
14478       images {
14479          image: "slv_bg.png" COMP;
14480          image: "slv_bg_over.png" COMP;
14481
14482          image: "slv_units.png" COMP;
14483       }
14484       parts {
14485          part { name: "base";
14486             mouse_events: 0;
14487             description { state: "default" 0.0;
14488                max: 6 99999;
14489                min: 6 0;
14490                rel1 { to: "bg";
14491                   offset: 1 0;
14492                }
14493                rel2 { to: "bg";
14494                   offset: -2 -1;
14495                }
14496                image.normal: "slv_bg.png";
14497                fill.smooth: 0;
14498             }
14499          }
14500          part { name: "level";
14501             type: RECT;
14502             mouse_events: 0;
14503             description { state: "default" 0.0;
14504                fixed: 1 1;
14505                rel1.to: "base";
14506                rel2 {
14507                   to_x: "base";
14508                   to_y: "elm.dragable.slider";
14509                   relative: 1.0 0.5;
14510                }
14511                color: 255 0 0 200;
14512             }
14513             description { state: "inverted" 0.0;
14514                inherit: "default" 0.0;
14515                visible: 0;
14516             }
14517             description { state: "disabled" 0.0;
14518                inherit: "default" 0.0;
14519                color: 255 0 0 100;
14520             }
14521             description { state: "disabled_inverted" 0.0;
14522                inherit: "default" 0.0;
14523                visible: 0;
14524             }
14525          }
14526          part { name: "level2";
14527             type: RECT;
14528             mouse_events: 0;
14529             description { state: "default" 0.0;
14530                fixed: 1 1;
14531                visible: 0;
14532                rel1 {
14533                   to_x: "base";
14534                   to_y: "elm.dragable.slider";
14535                   relative: 0.0 0.5;
14536                }
14537                rel2.to: "base";
14538                color: 255 0 0 200;
14539             }
14540             description { state: "inverted" 0.0;
14541                inherit: "default" 0.0;
14542                visible: 1;
14543             }
14544             description { state: "disabled" 0.0;
14545                inherit: "default" 0.0;
14546                color: 255 0 0 100;
14547             }
14548             description { state: "disabled_inverted" 0.0;
14549                inherit: "default" 0.0;
14550                color: 255 0 0 100;
14551                visible: 1;
14552             }
14553          }
14554          part {
14555             name: "base_over";
14556             mouse_events: 0;
14557             description { state: "default" 0.0;
14558                rel1.to: "base";
14559                rel1.offset: -1 -1;
14560                rel2.to: "base";
14561                rel2.offset: 0 0;
14562                image {
14563                   normal: "slv_bg_over.png";
14564                   border: 3 3 3 3;
14565                }
14566                fill.smooth: 0;
14567             }
14568          }
14569          part { name: "bg";
14570             type: RECT;
14571             mouse_events: 0;
14572             scale: 1;
14573             description { state: "default" 0.0;
14574                visible: 0;
14575                rel1.to: "elm.swallow.bar";
14576                rel2.to: "elm.swallow.bar";
14577                color: 0 0 0 0;
14578             }
14579          }
14580          part { name: "elm.swallow.bar";
14581             type: SWALLOW;
14582             scale: 1;
14583             description { state: "default" 0.0;
14584                min: 24 48;
14585                max: 24 9999;
14586                align: 0.5 1.0;
14587                rel1 {
14588                   to_y: "elm.text";
14589                   relative: 0.0 1.0;
14590                   offset: 0 10;
14591                }
14592                rel2 {
14593                   to_y: "elm.units";
14594                   relative: 1.0 0.0;
14595                   offset: -1 -8;
14596                }
14597             }
14598          }
14599          part { name: "elm.swallow.icon";
14600             type: SWALLOW;
14601             description { state: "default" 0.0;
14602                visible: 0;
14603                align: 0.5 0.0;
14604                rel1 {
14605                   offset: 0 4;
14606                   to_x: "elm.swallow.bar";
14607                }
14608                rel2 {
14609                   offset: -1 3;
14610                   relative: 1.0 0.0;
14611                   to_x: "elm.swallow.bar";
14612                }
14613             }
14614             description { state: "visible" 0.0;
14615                inherit: "default" 0.0;
14616                visible: 1;
14617                aspect: 1.0 1.0;
14618                aspect_preference: HORIZONTAL;
14619                rel2.offset: -1 4;
14620             }
14621          }
14622          part { name: "elm.text";
14623             type: TEXT;
14624             mouse_events: 0;
14625             scale: 1;
14626             description { state: "default" 0.0;
14627                visible: 0;
14628                fixed: 0 1;
14629                align: 0.5 0.0;
14630                rel1.to_y: "elm.swallow.icon";
14631                rel1.relative: 0.0 1.0;
14632                rel1.offset: 0 -1;
14633                rel2.to_y: "elm.swallow.icon";
14634                rel2.relative: 1.0 1.0;
14635                rel2.offset: -1 -1;
14636                color: 0 0 0 255;
14637                text {
14638                   font: "Sans,Edje-Vera";
14639                   size: 10;
14640                   min: 0 0;
14641                   align: 0.5 0.0;
14642                }
14643             }
14644             description { state: "visible" 0.0;
14645                inherit: "default" 0.0;
14646                visible: 1;
14647                text.min: 1 1;
14648                rel1.offset: 4 0;
14649                rel2.offset: -5 0;
14650             }
14651             description { state: "disabled" 0.0;
14652                inherit: "default" 0.0;
14653                color: 255 128 128 128;
14654                visible: 0;
14655             }
14656             description { state: "disabled_visible" 0.0;
14657                inherit: "default" 0.0;
14658                color: 0 0 0 128;
14659                color3: 0 0 0 0;
14660                visible: 1;
14661                text.min: 1 1;
14662             }
14663          }
14664          part {
14665             name: "elm.swallow.end";
14666             type: SWALLOW;
14667             description {
14668                state: "default" 0.0;
14669                visible: 0;
14670                align: 0.5 1.0;
14671                rel1 {
14672                   offset: 0 -4;
14673                   relative: 0.0 1.0;
14674                   to_x: "elm.swallow.bar";
14675                }
14676                rel2 {
14677                   offset: -1 -3;
14678                   to_x: "elm.swallow.bar";
14679                }
14680             }
14681             description { state: "visible" 0.0;
14682                inherit: "default" 0.0;
14683                visible: 1;
14684                aspect: 1.0 1.0;
14685                aspect_preference: HORIZONTAL;
14686                rel2.offset: -1 -4;
14687             }
14688          }
14689          part { name: "units";
14690             mouse_events: 0;
14691             description { state: "default" 0.0;
14692                visible: 0;
14693                rel1 {
14694                   to: "elm.units";
14695                   offset: -8 0;
14696                }
14697                rel2 {
14698                   to: "elm.units";
14699                   offset: 7 8;
14700                }
14701                image {
14702                   normal: "slv_units.png";
14703                   border: 8 8 0 9;
14704                }
14705                fill.smooth: 0;
14706             }
14707             description { state: "visible" 0.0;
14708                inherit: "default" 0.0;
14709                visible: 1;
14710             }
14711          }
14712          part { name: "elm.units";
14713             type: TEXT;
14714             mouse_events: 0;
14715             scale: 1;
14716             description { state: "default" 0.0;
14717                visible: 0;
14718                fixed: 1 1;
14719                align: 0.5 1.0;
14720                rel1.relative: 0.0 0.0;
14721                rel1.to_y: "elm.swallow.end";
14722                rel1.offset: 8 0;
14723                rel2.relative: 1.0 0.0;
14724                rel2.to_y: "elm.swallow.end";
14725                rel2.offset: -9 0;
14726                color: 0 0 0 255;
14727                text {
14728                   font: "Sans,Edje-Vera";
14729                   size: 10;
14730                   min: 0 0;
14731                   align: 0.5 0.0;
14732                }
14733             }
14734             description { state: "visible" 0.0;
14735                inherit: "default" 0.0;
14736                fixed: 1 1;
14737                visible: 1;
14738                text.min: 1 1;
14739                rel1.offset: 8 -9;
14740                rel2.offset: -9 -9;
14741             }
14742             description { state: "disabled" 0.0;
14743                inherit: "default" 0.0;
14744                color:  0 0 0 128;
14745                color3: 0 0 0 0;
14746                visible: 0;
14747             }
14748             description { state: "disabled_visible" 0.0;
14749                inherit: "default" 0.0;
14750                fixed: 1 1;
14751                visible: 1;
14752                text.min: 1 1;
14753                rel1.offset: 8 -9;
14754                rel2.offset: -9 -9;
14755                color: 0 0 0 128;
14756                color3: 0 0 0 0;
14757             }
14758          }
14759          part { name: "elm.dragable.slider";
14760             type: GROUP;
14761             source: "elm/slider/vertical/indicator/default";
14762             mouse_events: 1;
14763             repeat_events: 1;
14764             scale: 1;
14765             dragable {
14766                x: 0 0 0;
14767                y: 1 1 0;
14768                confine: "bg";
14769             }
14770             description { state: "default" 0.0;
14771                min: 24 0;
14772                max: 24 0;
14773                fixed: 1 1;
14774                rel1 {
14775                   relative: 0.5  0.0;
14776                   to_y: "bg";
14777                }
14778                rel2 {
14779                   relative: 0.5  1.0;
14780                   to_y: "bg";
14781                }
14782                color: 0 0 0 0;
14783             }
14784          }
14785               part { name: "disabler";
14786                 type: RECT;
14787                 description { state: "default" 0.0;
14788                    color: 0 0 0 0;
14789                    visible: 0;
14790                 }
14791                 description { state: "disabled" 0.0;
14792                    inherit: "default" 0.0;
14793                    visible: 1;
14794                 }
14795              }
14796           }
14797
14798       programs {
14799          program { name: "text_show";
14800             signal: "elm,state,text,visible";
14801             source: "elm";
14802             action:  STATE_SET "visible" 0.0;
14803             target: "elm.text";
14804          }
14805          program { name: "text_hide";
14806             signal: "elm,state,text,hidden";
14807             source: "elm";
14808             action:  STATE_SET "default" 0.0;
14809             target: "elm.text";
14810          }
14811          program { name: "icon_show";
14812             signal: "elm,state,icon,visible";
14813             source: "elm";
14814             action:  STATE_SET "visible" 0.0;
14815             target: "elm.swallow.icon";
14816          }
14817          program { name: "icon_hide";
14818             signal: "elm,state,icon,hidden";
14819             source: "elm";
14820             action:  STATE_SET "default" 0.0;
14821             target: "elm.swallow.icon";
14822          }
14823          program { name: "end_show";
14824             signal: "elm,state,end,visible";
14825             source: "elm";
14826             action:  STATE_SET "visible" 0.0;
14827             target: "elm.swallow.end";
14828          }
14829          program { name: "end_hide";
14830             signal: "elm,state,end,hidden";
14831             source: "elm";
14832             action:  STATE_SET "default" 0.0;
14833             target: "elm.swallow.end";
14834          }
14835          program { name: "units_show";
14836             signal: "elm,state,units,visible";
14837             source: "elm";
14838             action:  STATE_SET "visible" 0.0;
14839             target: "elm.units";
14840             target: "units";
14841          }
14842          program { name: "units_hide";
14843             signal: "elm,state,units,hidden";
14844             source: "elm";
14845             action:  STATE_SET "default" 0.0;
14846             target: "elm.units";
14847             target: "units";
14848          }
14849          program { name: "invert_on";
14850             signal: "elm,state,inverted,on";
14851             source: "elm";
14852             action:  STATE_SET "inverted" 0.0;
14853             target: "level";
14854             target: "level2";
14855          }
14856          program { name: "invert_off";
14857             signal: "elm,state,inverted,off";
14858             source: "elm";
14859             action:  STATE_SET "default" 0.0;
14860             target: "level";
14861             target: "level2";
14862          }
14863          program {
14864             name:   "go_disabled";
14865             signal: "elm,state,disabled";
14866             source: "elm";
14867             action: STATE_SET "disabled" 0.0;
14868 //            target: "button0";
14869             target: "disabler";
14870             after: "disable_text";
14871             after: "disable_ind";
14872          }
14873
14874          program { name: "disable_ind";
14875             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14876          }
14877
14878          program { name: "disable_text";
14879             script {
14880             new st[31];
14881             new Float:vl;
14882                get_state(PART:"elm.text", st, 30, vl);
14883                if (!strcmp(st, "visible"))
14884                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14885                else
14886                   set_state(PART:"elm.text", "disabled", 0.0);
14887
14888                get_state(PART:"elm.units", st, 30, vl);
14889                if (!strcmp(st, "visible"))
14890                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14891                else
14892                   set_state(PART:"elm.units", "disabled", 0.0);
14893
14894                get_state(PART:"level2", st, 30, vl);
14895                if (!strcmp(st, "inverted"))
14896                {
14897                   set_state(PART:"level", "disabled_inverted", 0.0);
14898                   set_state(PART:"level2", "disabled_inverted", 0.0);
14899                }
14900                else
14901                {
14902                   set_state(PART:"level", "disabled", 0.0);
14903                   set_state(PART:"level2", "disabled", 0.0);
14904                }
14905             }
14906          }
14907
14908          program { name: "enable";
14909             signal: "elm,state,enabled";
14910             source: "elm";
14911             action: STATE_SET "default" 0.0;
14912 //            target: "button0";
14913             target: "disabler";
14914             after: "enable_text";
14915             after: "enable_ind";
14916          }
14917
14918          program { name: "enable_ind";
14919             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14920          }
14921          program { name: "enable_text";
14922             script {
14923                new st[31];
14924                new Float:vl;
14925                get_state(PART:"elm.text", st, 30, vl);
14926                if (!strcmp(st, "disabled_visible"))
14927                   set_state(PART:"elm.text", "visible", 0.0);
14928                else
14929                   set_state(PART:"elm.text", "default", 0.0);
14930
14931                get_state(PART:"elm.units", st, 30, vl);
14932                if (!strcmp(st, "disabled_visible"))
14933                   set_state(PART:"elm.units", "visible", 0.0);
14934                else
14935                   set_state(PART:"elm.units", "default", 0.0);
14936
14937                get_state(PART:"level2", st, 30, vl);
14938                if (!strcmp(st, "disabled_inverted"))
14939                {
14940                   set_state(PART:"level", "inverted", 0.0);
14941                   set_state(PART:"level2", "inverted", 0.0);
14942                }
14943                else
14944                {
14945                   set_state(PART:"level", "default", 0.0);
14946                   set_state(PART:"level2", "default", 0.0);
14947                }
14948             }
14949          }
14950       }
14951    }
14952    group { name: "elm/slider/horizontal/indicator/default";
14953            alias: "elm/slider/horizontal/indicator/disabled";
14954            alias: "elm/slider/vertical/indicator/default";
14955            alias: "elm/slider/vertical/indicator/disabled";
14956       images {
14957          image: "sl_bt_0.png" COMP;
14958          image: "sl_bt_1.png" COMP;
14959          image: "sl_bt_2.png" COMP;
14960          image: "sl_bt_3.png" COMP;
14961          image: "sl_bt2_0_0.png" COMP;
14962          image: "sl_bt2_0_1.png" COMP;
14963          image: "sl_bt2_0_2.png" COMP;
14964          image: "sl_bt2_1.png" COMP;
14965          image: "sl_bt2_2.png" COMP;
14966       }
14967       script {
14968          public value_hide = 0;
14969          public set_value_show() {
14970             set_int(value_hide, 0);
14971          }
14972          public set_value_hide() {
14973             set_int(value_hide, 1);
14974          }
14975          public thumb_down() {
14976             if (get_int(value_hide) == 1) {
14977                set_state(PART:"elm.indicator", "default", 0.0);
14978                set_state(PART:"button3", "default", 0.0);
14979                set_state(PART:"button4", "default", 0.0);
14980                set_state(PART:"button5", "default", 0.0);
14981                set_state(PART:"button6", "default", 0.0);
14982                set_state(PART:"button7", "default", 0.0);
14983             } else {
14984                set_state(PART:"elm.indicator", "visible", 0.0);
14985                set_state(PART:"button3", "visible", 0.0);
14986                set_state(PART:"button4", "visible", 0.0);
14987                set_state(PART:"button5", "visible", 0.0);
14988                set_state(PART:"button6", "visible", 0.0);
14989                set_state(PART:"button7", "visible", 0.0);
14990             }
14991          }
14992          public thumb_up() {
14993             set_state(PART:"elm.indicator", "default", 0.0);
14994             set_state(PART:"button3", "default", 0.0);
14995             set_state(PART:"button4", "default", 0.0);
14996             set_state(PART:"button5", "default", 0.0);
14997             set_state(PART:"button6", "default", 0.0);
14998             set_state(PART:"button7", "default", 0.0);
14999          }
15000       }
15001       parts {
15002          part { name: "button_events";
15003             type: RECT;
15004             mouse_events: 1;
15005             description { state: "default" 0.0;
15006                fixed: 1 1;
15007                min: 16 16;
15008                aspect: 1.0 1.0;
15009                aspect_preference: VERTICAL;
15010                color: 0 0 0 0;
15011             }
15012          }
15013          part { name: "button0";
15014             mouse_events: 0;
15015             description { state: "default" 0.0;
15016                fixed: 1 1;
15017                max: 17 999;
15018                min: 17 24;
15019                image {
15020                   normal: "sl_bt_0.png";
15021                   border: 5 5 5 10;
15022                }
15023                fill.smooth: 0;
15024             }
15025             description { state: "disabled" 0.0;
15026                inherit: "default" 0.0;
15027                image {
15028                   normal: "sl_bt_3.png";
15029                   border: 5 5 5 10;
15030                }
15031             }
15032          }
15033          part { name: "button1";
15034             mouse_events: 0;
15035             description { state: "default" 0.0;
15036                rel1.to: "button0";
15037                rel2 {
15038                   to: "button0";
15039                   relative: 1.0 0.5;
15040                   offset: -1 -5;
15041                }
15042                image {
15043                   normal: "sl_bt_1.png";
15044                   border: 5 5 5 0;
15045                }
15046             }
15047          }
15048          part { name: "button2";
15049             mouse_events: 0;
15050             description { state: "default" 0.0;
15051                rel1.to: "button0";
15052                rel2.to: "button0";
15053                image {
15054                   normal: "sl_bt_2.png";
15055                   border: 5 5 5 10;
15056                }
15057                fill.smooth: 0;
15058             }
15059          }
15060          part { name: "button3";
15061             mouse_events: 0;
15062             description { state: "default" 0.0;
15063                fixed: 1 1;
15064                visible: 0;
15065                min: 8 32;
15066                align: 1.0 0.5;
15067                rel1 {
15068                   to_x: "elm.indicator";
15069                   to_y: "button4";
15070                   relative: 0.0 0.0;
15071                   offset: -7 0;
15072                }
15073                rel2 {
15074                   to: "button4";
15075                   relative: 0.0 1.0;
15076                   offset: -1 -1;
15077                }
15078                image {
15079                   normal: "sl_bt2_0_0.png";
15080                   border: 6 0 6 12;
15081                }
15082                fill.smooth: 0;
15083             }
15084             description { state: "visible" 0.0;
15085                inherit: "default" 0.0;
15086                visible: 1;
15087             }
15088          }
15089          part { name: "button4";
15090             mouse_events: 0;
15091             description { state: "default" 0.0;
15092                visible: 0;
15093                max: 15 999;
15094                min: 15 32;
15095                rel1 {
15096                   to_x: "button0";
15097                   to_y: "elm.indicator";
15098                   offset: 0 0;
15099                }
15100                rel2.to: "button0";
15101                image {
15102                   normal: "sl_bt2_0_1.png";
15103                   border: 0 0 6 12;
15104                }
15105                fill.smooth: 0;
15106             }
15107             description { state: "visible" 0.0;
15108                inherit: "default" 0.0;
15109                visible: 1;
15110             }
15111          }
15112          part { name: "button5";
15113             mouse_events: 0;
15114             description { state: "default" 0.0;
15115                fixed: 1 1;
15116                visible: 0;
15117                min: 8 32;
15118                align: 0.0 0.5;
15119                rel1 {
15120                   to: "button4";
15121                   relative: 1.0 0.0;
15122                   offset: 0 0;
15123                }
15124                rel2 {
15125                   to_x: "elm.indicator";
15126                   to_y: "button4";
15127                   relative: 1.0 1.0;
15128                   offset: 6 -1;
15129                }
15130                image {
15131                   normal: "sl_bt2_0_2.png";
15132                   border: 0 6 6 12;
15133                }
15134                fill.smooth: 0;
15135             }
15136             description { state: "visible" 0.0;
15137                inherit: "default" 0.0;
15138                visible: 1;
15139             }
15140          }
15141          part { name: "elm.indicator";
15142             type: TEXT;
15143             mouse_events: 0;
15144             effect: SOFT_SHADOW;
15145             scale: 1;
15146             description { state: "default" 0.0;
15147                visible: 0;
15148                fixed: 1 1;
15149                align: 0.5 1.0;
15150                rel1 {
15151                   to: "button0";
15152                   relative: 0.0 -0.25;
15153                   offset: 0 0;
15154                }
15155                rel2 {
15156                   to_x: "button0";
15157                   relative: 1.0 -0.25;
15158                   offset: -1 0;
15159                }
15160                color: 224 224 224 255;
15161                color3: 0 0 0 64;
15162                text {
15163                   font:     "Sans,Edje-Vera";
15164                   size:     10;
15165                   min:      0 0;
15166                   align:    0.5 0.5;
15167                }
15168             }
15169             description { state: "visible" 0.0;
15170                inherit: "default" 0.0;
15171                visible: 1;
15172                text.min: 1 1;
15173                rel1.offset: 0 -1;
15174                rel2.offset: -1 -1;
15175             }
15176          }
15177          part { name: "button6";
15178             mouse_events: 0;
15179             description { state: "default" 0.0;
15180                visible: 0;
15181                rel1.to: "button3";
15182                rel2 {
15183                   to: "button5";
15184                   relative: 1.0 0.3;
15185                   offset: -1 -1;
15186                }
15187                image {
15188                   normal: "sl_bt2_1.png";
15189                   border: 5 5 5 0;
15190                }
15191                fill.smooth: 0;
15192             }
15193             description { state: "visible" 0.0;
15194                inherit: "default" 0.0;
15195                visible: 1;
15196             }
15197          }
15198          part { name: "button7";
15199             mouse_events: 0;
15200             description { state: "default" 0.0;
15201                visible: 0;
15202                rel1.to: "button3";
15203                rel2.to: "button5";
15204                image {
15205                   normal: "sl_bt2_2.png";
15206                   border: 5 5 5 0;
15207                   middle: 0;
15208                }
15209                fill.smooth: 0;
15210             }
15211             description { state: "visible" 0.0;
15212                inherit: "default" 0.0;
15213                visible: 1;
15214             }
15215          }
15216       }
15217       programs {
15218          program { name: "set_val_show";
15219             signal: "elm,state,val,show";
15220             source: "elm";
15221             script {
15222                set_value_show();
15223             }
15224          }
15225          program { name: "set_val_hide";
15226             signal: "elm,state,val,hide";
15227             source: "elm";
15228             script {
15229                set_value_hide();
15230             }
15231          }
15232          program { name: "val_show";
15233             signal: "mouse,down,*";
15234             source: "button_events";
15235             script {
15236                thumb_down();
15237             }
15238
15239          }
15240          program { name: "val_hide";
15241             signal: "mouse,up,*";
15242             source: "button_events";
15243             script {
15244                thumb_up();
15245             }
15246          }
15247          program {
15248             name:    "go_disabled";
15249             signal:  "elm,state,disabled";
15250             source:  "elm";
15251             action:  STATE_SET "disabled" 0.0;
15252             target:  "button0";
15253          }
15254          program {
15255             name:    "go_enabled";
15256             signal:  "elm,state,enabled";
15257             source:  "elm";
15258             action:  STATE_SET "default" 0.0;
15259             target:  "button0";
15260          }
15261       }
15262    }
15263
15264 ////////////////////////////////////////////////////////////////////////////////
15265 // actionslider
15266 ////////////////////////////////////////////////////////////////////////////////
15267    group { name: "elm/actionslider/base/default";
15268
15269       images {
15270          image: "shelf_inset.png" COMP;
15271          image: "ilist_1.png" COMP;
15272          image: "bt_bases.png" COMP;
15273          image: "bt_basew.png" COMP;
15274          image: "bt_hilightw.png" COMP;
15275       }
15276
15277       parts {
15278          part {
15279             name: "base";
15280             mouse_events: 0;
15281             description {
15282                state: "default" 0.0;
15283                min: 75 25;
15284                rel1.offset: 1 1;
15285                rel2.offset: -2 -2;
15286                image {
15287                   normal: "ilist_1.png";
15288                   border: 2 2 2 2;
15289                }
15290                fill.smooth: 0;
15291             }
15292          }
15293          part { name: "conf_over";
15294             mouse_events:  0;
15295             description { state: "default" 0.0;
15296                rel1.to: "base";
15297                rel2.to: "base";
15298                image {
15299                   normal: "shelf_inset.png";
15300                   border: 7 7 7 7;
15301                   middle: 0;
15302                }
15303                fill.smooth : 0;
15304             }
15305          }
15306          part { name: "icon.dragable.area";
15307            type: RECT;
15308             mouse_events: 0;
15309             description { state: "default" 0.0;
15310                visible: 0;
15311                rel1.to: "base";
15312                rel2.to: "base";
15313             }
15314          }
15315          part { name: "elm.text.left";
15316             type: TEXT;
15317             mouse_events: 0;
15318             scale: 1;
15319             description { state: "default" 0.0;
15320                color: 0 0 0 255;
15321                text {
15322                   font: "Sans,Edje-Vera";
15323                   size: 10;
15324                   align: 0.05 0.5;
15325                   min: 1 1;
15326                }
15327             }
15328          }
15329          part { name: "elm.text.center";
15330             type: TEXT;
15331             mouse_events: 0;
15332             scale: 1;
15333             description { state: "default" 0.0;
15334                color: 0 0 0 255;
15335                text {
15336                   font: "Sans,Edje-Vera";
15337                   size: 10;
15338                   align: 0.5 0.5;
15339                   min: 1 1;
15340                }
15341             }
15342          }
15343          part { name: "elm.text.right";
15344             type: TEXT;
15345             mouse_events: 0;
15346             scale: 1;
15347             description { state: "default" 0.0;
15348                color: 0 0 0 255;
15349                text {
15350                   font: "Sans,Edje-Vera";
15351                   size: 10;
15352                   align: 0.95 0.5;
15353                   min: 1 1;
15354                }
15355             }
15356          }
15357          part { name: "elm.drag_button_base";
15358             type: SWALLOW;
15359             mouse_events: 0;
15360             scale: 1;
15361             description { state: "default" 0.0;
15362                fixed: 1 1;
15363                min: 50 25;
15364                align: 0.5 0.5;
15365                rel1.to: "icon.dragable.area";
15366                rel2 {
15367                   relative: 0.0 1.0;
15368                   to: "icon.dragable.area";
15369                }
15370             }
15371             dragable {
15372                confine: "icon.dragable.area";
15373                x: 1 1 0;
15374                y: 0 0 0;
15375             }
15376          }
15377          part { name: "elm.drag_button";
15378             type: RECT;
15379             mouse_events: 1;
15380             description { state: "default" 0.0;
15381                min: 50 25;
15382                color: 255 255 255 0;
15383                rel1.to_x: "elm.drag_button_base";
15384                rel1.to_y: "icon.dragable.area";
15385                rel2.to_x: "elm.drag_button_base";
15386                rel2.to_y: "icon.dragable.area";
15387             }
15388             dragable {
15389                events: "elm.drag_button_base";
15390             }
15391          }
15392          part { name: "button0";
15393             mouse_events: 0;
15394             description { state: "default" 0.0;
15395                rel1.to: "button2";
15396                rel1.offset: -4 -4;
15397                rel2.to: "button2";
15398                rel2.offset: 3 3;
15399                image {
15400                   normal: "bt_bases.png";
15401                   border: 11 11 11 11;
15402                   middle: SOLID;
15403                }
15404                color: 255 255 255 128;
15405             }
15406          }
15407          part { name: "button2";
15408             mouse_events: 0;
15409             description { state: "default" 0.0;
15410                rel1.to: "elm.drag_button";
15411                rel2.to: "elm.drag_button";
15412                image {
15413                   normal: "bt_basew.png";
15414                   border: 7 7 7 7;
15415                   middle: SOLID;
15416                }
15417                color: 255 255 255 210;
15418             }
15419          }
15420          part { name: "button3";
15421             mouse_events: 0;
15422             description { state: "default" 0.0;
15423                rel1.to: "button2";
15424                rel2.to: "button2";
15425                rel2.relative: 1.0 0.5;
15426                image {
15427                   normal: "bt_hilightw.png";
15428                   border: 4 4 4 0;
15429                }
15430                color: 255 255 255 190;
15431             }
15432          }
15433          part { name: "elm.text.indicator";
15434             type: TEXT;
15435             scale: 1;
15436             mouse_events: 0;
15437             description { state: "default" 0.0;
15438                rel1 {
15439                   to: "elm.drag_button";
15440                   offset: 5 0;
15441                }
15442                rel2 {
15443                   to: "elm.drag_button";
15444                   offset: -5 0;
15445                }
15446                color: 0 0 0 255;
15447                text {
15448                   font: "Sans,Edje-Vera";
15449                   size: 10;
15450                   align: 0.5 0.5;
15451                   min: 0 1;
15452                }
15453             }
15454          }
15455       }
15456       programs {
15457          program { name: "elm.drag_button,mouse,up";
15458             signal: "mouse,up,1";
15459             source: "elm.drag_button";
15460             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15461          }
15462          program { name: "elm.drag_button,mouse,down";
15463             signal: "mouse,down,1";
15464             source: "elm.drag_button";
15465             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15466          }
15467          program { name: "elm.drag_button,mouse,move";
15468             signal: "mouse,move";
15469             source: "elm.drag_button_base";
15470             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15471          }
15472       }
15473    }
15474
15475    group { name: "elm/actionslider/base/bar";
15476
15477       images {
15478          image: "shelf_inset.png" COMP;
15479          image: "ilist_1.png" COMP;
15480          image: "bt_bases.png" COMP;
15481          image: "bt_basew.png" COMP;
15482          image: "bt_hilightw.png" COMP;
15483       }
15484
15485       parts {
15486          part {
15487             name: "base";
15488             mouse_events: 0;
15489             description {
15490                state: "default" 0.0;
15491                min: 150 30;
15492                rel1.offset: 1 1;
15493                rel2.offset: -2 -2;
15494                image {
15495                   normal: "ilist_1.png";
15496                   border: 2 2 2 2;
15497                }
15498                fill.smooth: 0;
15499             }
15500          }
15501          part { name: "conf_over";
15502             mouse_events:  0;
15503             description { state: "default" 0.0;
15504                rel1.to: "base";
15505                rel2.to: "base";
15506                image {
15507                   normal: "shelf_inset.png";
15508                   border: 7 7 7 7;
15509                   middle: 0;
15510                }
15511                fill.smooth : 0;
15512             }
15513          }
15514          part { name: "icon.dragable.area";
15515            type: RECT;
15516             mouse_events: 0;
15517             description { state: "default" 0.0;
15518                visible: 0;
15519                rel1.to: "base";
15520                rel2.to: "base";
15521             }
15522          }
15523          part { name: "elm.text.left";
15524             type: TEXT;
15525             mouse_events: 0;
15526             scale: 1;
15527             description { state: "default" 0.0;
15528                color: 0 0 0 255;
15529                text {
15530                   font: "Sans,Edje-Vera";
15531                   size: 10;
15532                   align: 0.05 0.5;
15533                   min: 1 1;
15534                }
15535             }
15536          }
15537          part { name: "elm.text.center";
15538             type: TEXT;
15539             mouse_events: 0;
15540             scale: 1;
15541             description { state: "default" 0.0;
15542                color: 0 0 0 255;
15543                text {
15544                   font: "Sans,Edje-Vera";
15545                   size: 10;
15546                   align: 0.5 0.5;
15547                   min: 1 1;
15548                }
15549             }
15550          }
15551          part { name: "elm.text.right";
15552             type: TEXT;
15553             mouse_events: 0;
15554             scale: 1;
15555             description { state: "default" 0.0;
15556                color: 0 0 0 255;
15557                text {
15558                   font: "Sans,Edje-Vera";
15559                   size: 10;
15560                   align: 0.95 0.5;
15561                   min: 1 1;
15562                }
15563             }
15564          }
15565          part { name: "bar";
15566             type: RECT;
15567             mouse_events: 0;
15568             description { state: "default" 0.0;
15569                rel1.to: "base";
15570                rel1.offset: 0 2;
15571                rel2 {
15572                   relative: 0 1;
15573                   offset: 3 -3;
15574                   to_x: "elm.drag_button_base";
15575                   to_y: "base";
15576                }
15577                color: 0 0 0 180;
15578             }
15579          }
15580          part { name: "elm.drag_button_base";
15581             type: SWALLOW;
15582             mouse_events: 1;
15583             scale: 1;
15584             description { state: "default" 0.0;
15585                fixed: 1 1;
15586                min: 50 25;
15587                align: 0.5 0.5;
15588                rel1.to: "icon.dragable.area";
15589                rel2 {
15590                   relative: 0.0 1.0;
15591                   to: "icon.dragable.area";
15592                }
15593             }
15594             dragable {
15595                confine: "icon.dragable.area";
15596                x: 1 1 0;
15597                y: 0 0 0;
15598             }
15599          }
15600          part { name: "elm.drag_button";
15601             type: RECT;
15602             mouse_events: 1;
15603             description { state: "default" 0.0;
15604                min: 50 25;
15605                color: 255 255 255 0;
15606                rel1.to_x: "elm.drag_button_base";
15607                rel1.to_y: "icon.dragable.area";
15608                rel2.to_x: "elm.drag_button_base";
15609                rel2.to_y: "icon.dragable.area";
15610             }
15611             dragable {
15612                events: "elm.drag_button_base";
15613             }
15614          }
15615          part { name: "button0";
15616             mouse_events: 0;
15617             description { state: "default" 0.0;
15618                rel1.to: "button2";
15619                rel1.offset: -4 -4;
15620                rel2.to: "button2";
15621                rel2.offset: 3 3;
15622                image {
15623                   normal: "bt_bases.png";
15624                   border: 11 11 11 11;
15625                   middle: SOLID;
15626                }
15627                color: 255 255 255 128;
15628             }
15629          }
15630          part { name: "button2";
15631             mouse_events: 0;
15632             description { state: "default" 0.0;
15633                rel1.to: "elm.drag_button";
15634                rel2.to: "elm.drag_button";
15635                image {
15636                   normal: "bt_basew.png";
15637                   border: 7 7 7 7;
15638                   middle: SOLID;
15639                }
15640                color: 255 255 255 210;
15641             }
15642          }
15643          part { name: "button3";
15644             mouse_events: 0;
15645             description { state: "default" 0.0;
15646                rel1.to: "button2";
15647                rel2.to: "button2";
15648                rel2.relative: 1.0 0.5;
15649                image {
15650                   normal: "bt_hilightw.png";
15651                   border: 4 4 4 0;
15652                }
15653                color: 255 255 255 190;
15654             }
15655          }
15656          part { name: "elm.text.indicator";
15657             type: TEXT;
15658             scale: 1;
15659             mouse_events: 0;
15660             description { state: "default" 0.0;
15661                rel1 {
15662                   to: "elm.drag_button";
15663                   offset: 5 0;
15664                }
15665                rel2 {
15666                   to: "elm.drag_button";
15667                   offset: -5 0;
15668                }
15669                color: 0 0 0 255;
15670                text {
15671                   font: "Sans,Edje-Vera";
15672                   size: 10;
15673                   align: 0.5 0.5;
15674                   min: 0 1;
15675                }
15676             }
15677          }
15678       }
15679       programs {
15680          program { name: "elm.drag_button,mouse,up";
15681             signal: "mouse,up,1";
15682             source: "elm.drag_button";
15683             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15684          }
15685          program { name: "elm.drag_button,mouse,down";
15686             signal: "mouse,down,1";
15687             source: "elm.drag_button";
15688             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15689          }
15690          program { name: "elm.drag_button,mouse,move";
15691             signal: "mouse,move";
15692             source: "elm.drag_button_base";
15693             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15694          }
15695       }
15696    }
15697
15698 ///////////////////////////////////////////////////////////////////////////////
15699
15700    group { name: "elm/genlist/item/default/default";
15701       data.item: "stacking" "above";
15702       data.item: "selectraise" "on";
15703       data.item: "labels" "elm.text";
15704       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15705       data.item: "treesize" "20";
15706 //      data.item: "states" "";
15707       images {
15708          image: "bt_sm_base1.png" COMP;
15709          image: "bt_sm_shine.png" COMP;
15710          image: "bt_sm_hilight.png" COMP;
15711          image: "ilist_1.png" COMP;
15712          image: "ilist_item_shadow.png" COMP;
15713       }
15714       parts {
15715          part {
15716             name:           "event";
15717             type:           RECT;
15718             repeat_events: 1;
15719             description {
15720                state: "default" 0.0;
15721                color: 0 0 0 0;
15722             }
15723          }
15724          part {
15725             name: "base_sh";
15726             mouse_events: 0;
15727             description {
15728                state: "default" 0.0;
15729                align: 0.0 0.0;
15730                min: 0 10;
15731                fixed: 1 1;
15732                rel1 {
15733                   to: "base";
15734                   relative: 0.0 1.0;
15735                   offset: 0 0;
15736                }
15737                rel2 {
15738                   to: "base";
15739                   relative: 1.0 1.0;
15740                   offset: -1 0;
15741                }
15742                image {
15743                   normal: "ilist_item_shadow.png";
15744                }
15745                fill.smooth: 0;
15746             }
15747          }
15748          part {
15749             name: "base";
15750             mouse_events: 0;
15751             description {
15752                state: "default" 0.0;
15753                image {
15754                   normal: "ilist_1.png";
15755                   border: 2 2 2 2;
15756                }
15757                fill.smooth: 0;
15758             }
15759          }
15760          part { name: "bg";
15761             clip_to: "disclip";
15762             mouse_events: 0;
15763             description { state: "default" 0.0;
15764                visible: 0;
15765                color: 255 255 255 0;
15766                rel1 {
15767                   relative: 0.0 0.0;
15768                   offset: -5 -5;
15769                }
15770                rel2 {
15771                   relative: 1.0 1.0;
15772                   offset: 4 4;
15773                }
15774                image {
15775                   normal: "bt_sm_base1.png";
15776                   border: 6 6 6 6;
15777                }
15778                image.middle: SOLID;
15779             }
15780             description { state: "selected" 0.0;
15781                inherit: "default" 0.0;
15782                visible: 1;
15783                color: 255 255 255 255;
15784                rel1 {
15785                   relative: 0.0 0.0;
15786                   offset: -2 -2;
15787                }
15788                rel2 {
15789                   relative: 1.0 1.0;
15790                   offset: 1 1;
15791                }
15792             }
15793          }
15794          part { name: "elm.swallow.pad";
15795             type: SWALLOW;
15796             description { state: "default" 0.0;
15797                fixed: 1 0;
15798                align: 0.0 0.5;
15799                rel1 {
15800                   relative: 0.0  0.0;
15801                   offset:   4    4;
15802                }
15803                rel2 {
15804                   relative: 0.0  1.0;
15805                   offset:   4   -5;
15806                }
15807             }
15808          }
15809          part { name: "elm.swallow.icon";
15810             clip_to: "disclip";
15811             type: SWALLOW;
15812             description { state: "default" 0.0;
15813                fixed: 1 0;
15814                align: 0.0 0.5;
15815                rel1 {
15816                   to_x: "elm.swallow.pad";
15817                   relative: 1.0  0.0;
15818                   offset:   -1    4;
15819                }
15820                rel2 {
15821                   to_x: "elm.swallow.pad";
15822                   relative: 1.0  1.0;
15823                   offset:   -1   -5;
15824                }
15825             }
15826          }
15827          part { name: "elm.swallow.end";
15828             clip_to: "disclip";
15829             type: SWALLOW;
15830             description { state: "default" 0.0;
15831                fixed: 1 0;
15832                align: 1.0 0.5;
15833                aspect: 1.0 1.0;
15834                aspect_preference: VERTICAL;
15835                rel1 {
15836                   relative: 1.0  0.0;
15837                   offset:   -5    4;
15838                }
15839                rel2 {
15840                   relative: 1.0  1.0;
15841                   offset:   -5   -5;
15842                }
15843             }
15844          }
15845          part { name: "elm.text";
15846             clip_to: "disclip";
15847             type:           TEXT;
15848             effect:         SOFT_SHADOW;
15849             mouse_events:   0;
15850             scale: 1;
15851             description {
15852                state: "default" 0.0;
15853 //               min: 16 16;
15854                rel1 {
15855                   to_x:     "elm.swallow.icon";
15856                   relative: 1.0  0.0;
15857                   offset:   0 4;
15858                }
15859                rel2 {
15860                   to_x:     "elm.swallow.end";
15861                   relative: 0.0  1.0;
15862                   offset:   -1 -5;
15863                }
15864                color: 0 0 0 255;
15865                color3: 0 0 0 0;
15866                text {
15867                   font: "Sans";
15868                   size: 10;
15869                   min: 1 1;
15870 //                  min: 0 1;
15871                   align: 0.0 0.5;
15872                   text_class: "list_item";
15873                }
15874             }
15875             description { state: "selected" 0.0;
15876                inherit: "default" 0.0;
15877                color: 224 224 224 255;
15878                color3: 0 0 0 64;
15879             }
15880          }
15881          part { name: "fg1";
15882             clip_to: "disclip";
15883             mouse_events: 0;
15884             description { state: "default" 0.0;
15885                visible: 0;
15886                color: 255 255 255 0;
15887                rel1.to: "bg";
15888                rel2.relative: 1.0 0.5;
15889                rel2.to: "bg";
15890                image {
15891                   normal: "bt_sm_hilight.png";
15892                   border: 6 6 6 0;
15893                }
15894             }
15895             description { state: "selected" 0.0;
15896                inherit: "default" 0.0;
15897                visible: 1;
15898                color: 255 255 255 255;
15899             }
15900          }
15901          part { name: "fg2";
15902             clip_to: "disclip";
15903             mouse_events: 0;
15904             description { state: "default" 0.0;
15905                visible: 0;
15906                color: 255 255 255 0;
15907                rel1.to: "bg";
15908                rel2.to: "bg";
15909                image {
15910                   normal: "bt_sm_shine.png";
15911                   border: 6 6 6 0;
15912                }
15913             }
15914             description { state: "selected" 0.0;
15915                inherit: "default" 0.0;
15916                visible: 1;
15917                color: 255 255 255 255;
15918             }
15919          }
15920          part { name: "disclip";
15921             type: RECT;
15922             description { state: "default" 0.0;
15923                rel1.to: "bg";
15924                rel2.to: "bg";
15925             }
15926             description { state: "disabled" 0.0;
15927                inherit: "default" 0.0;
15928                color: 255 255 255 64;
15929             }
15930          }
15931       }
15932       programs {
15933          // signal: elm,state,%s,active
15934          //   a "check" item named %s went active
15935          // signal: elm,state,%s,passive
15936          //   a "check" item named %s went passive
15937          // default is passive
15938          program {
15939             name:    "go_active";
15940             signal:  "elm,state,selected";
15941             source:  "elm";
15942             action:  STATE_SET "selected" 0.0;
15943             target:  "bg";
15944             target:  "fg1";
15945             target:  "fg2";
15946             target:  "elm.text";
15947          }
15948          program {
15949             name:    "go_passive";
15950             signal:  "elm,state,unselected";
15951             source:  "elm";
15952             action:  STATE_SET "default" 0.0;
15953             target:  "bg";
15954             target:  "fg1";
15955             target:  "fg2";
15956             target:  "elm.text";
15957             transition: LINEAR 0.1;
15958          }
15959          program {
15960             name:    "go_disabled";
15961             signal:  "elm,state,disabled";
15962             source:  "elm";
15963             action:  STATE_SET "disabled" 0.0;
15964             target:  "disclip";
15965          }
15966          program {
15967             name:    "go_enabled";
15968             signal:  "elm,state,enabled";
15969             source:  "elm";
15970             action:  STATE_SET "default" 0.0;
15971             target:  "disclip";
15972          }
15973       }
15974    }
15975    group { name: "elm/genlist/item/group_index/default";
15976       alias: "elm/genlist/item_odd/group_index/default";
15977       alias: "elm/genlist/item_compress/group_index/default";
15978       alias: "elm/genlist/item_compress_odd/group_index/default";
15979       data.item: "stacking" "above";
15980       data.item: "selectraise" "on";
15981       data.item: "labels" "elm.text";
15982       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15983       data.item: "treesize" "20";
15984 //      data.item: "states" "";
15985       images {
15986          image: "bt_sm_base1.png" COMP;
15987          image: "bt_sm_shine.png" COMP;
15988          image: "bt_sm_hilight.png" COMP;
15989          image: "ilist_item_shadow.png" COMP;
15990          image: "group_index.png" COMP;
15991       }
15992       parts {
15993          part {
15994             name: "event";
15995             type: RECT;
15996             repeat_events: 0;
15997             description {
15998                state: "default" 0.0;
15999                color: 0 0 0 0;
16000             }
16001          }
16002          part {
16003             name: "base_sh";
16004             mouse_events: 0;
16005             description {
16006                state: "default" 0.0;
16007                align: 0.0 0.0;
16008                min: 0 10;
16009                fixed: 1 1;
16010                rel1 {
16011                   to: "base";
16012                   relative: 0.0 1.0;
16013                   offset: 0 0;
16014                }
16015                rel2 {
16016                   to: "base";
16017                   relative: 1.0 1.0;
16018                   offset: -1 0;
16019                }
16020                image {
16021                   normal: "ilist_item_shadow.png";
16022                }
16023                fill.smooth: 0;
16024             }
16025          }
16026          part {
16027             name: "base";
16028             mouse_events: 0;
16029             description {
16030                state: "default" 0.0;
16031                image {
16032                   normal: "group_index.png";
16033                   border: 2 2 2 2;
16034                }
16035                fill.smooth: 0;
16036             }
16037          }
16038          part { name: "bg";
16039             clip_to: "disclip";
16040             mouse_events: 0;
16041             description { state: "default" 0.0;
16042                visible: 0;
16043                color: 255 255 255 0;
16044                rel1 {
16045                   relative: 0.0 0.0;
16046                   offset: -5 -5;
16047                }
16048                rel2 {
16049                   relative: 1.0 1.0;
16050                   offset: 4 4;
16051                }
16052                image {
16053                   normal: "bt_sm_base1.png";
16054                   border: 6 6 6 6;
16055                }
16056                image.middle: SOLID;
16057             }
16058             description { state: "selected" 0.0;
16059                inherit: "default" 0.0;
16060                visible: 1;
16061                color: 255 255 255 255;
16062                rel1 {
16063                   relative: 0.0 0.0;
16064                   offset: -2 -2;
16065                }
16066                rel2 {
16067                   relative: 1.0 1.0;
16068                   offset: 1 1;
16069                }
16070             }
16071          }
16072          part { name: "elm.swallow.pad";
16073             type: SWALLOW;
16074             description { state: "default" 0.0;
16075                fixed: 1 0;
16076                align: 0.0 0.5;
16077                rel1 {
16078                   relative: 0.0  0.0;
16079                   offset: 4 4;
16080                }
16081                rel2 {
16082                   relative: 0.0  1.0;
16083                   offset: 4 -5;
16084                }
16085             }
16086          }
16087          part { name: "elm.swallow.icon";
16088             clip_to: "disclip";
16089             type: SWALLOW;
16090             description { state: "default" 0.0;
16091                fixed: 1 0;
16092                align: 0.0 0.5;
16093                rel1 {
16094                   to_x: "elm.swallow.pad";
16095                   relative: 1.0 0.0;
16096                   offset: -1 4;
16097                }
16098                rel2 {
16099                   to_x: "elm.swallow.pad";
16100                   relative: 1.0 1.0;
16101                   offset: -1 -5;
16102                }
16103             }
16104          }
16105          part { name: "elm.swallow.end";
16106             clip_to: "disclip";
16107             type: SWALLOW;
16108             description { state: "default" 0.0;
16109                fixed: 1 0;
16110                align: 1.0 0.5;
16111                aspect: 1.0 1.0;
16112                aspect_preference: VERTICAL;
16113                rel1 {
16114                   relative: 1.0 0.0;
16115                   offset: -5 4;
16116                }
16117                rel2 {
16118                   relative: 1.0 1.0;
16119                   offset: -5 -5;
16120                }
16121             }
16122          }
16123          part { name: "elm.text";
16124             clip_to: "disclip";
16125             type: TEXT;
16126             effect: SOFT_SHADOW;
16127             mouse_events: 0;
16128             scale: 1;
16129             description {
16130                state: "default" 0.0;
16131 //               min: 16 16;
16132                rel1 {
16133                   to_x: "elm.swallow.icon";
16134                   relative: 1.0  0.0;
16135                   offset: 0 4;
16136                }
16137                rel2 {
16138                   to_x: "elm.swallow.end";
16139                   relative: 0.0  1.0;
16140                   offset: -1 -5;
16141                }
16142                color: 0 0 0 255;
16143                color3: 0 0 0 0;
16144                text {
16145                   font: "Sans";
16146                   size: 10;
16147                   min: 1 1;
16148 //                  min: 0 1;
16149                   align: -1.0 0.5;
16150                   text_class: "list_item";
16151                }
16152             }
16153             description { state: "selected" 0.0;
16154                inherit: "default" 0.0;
16155                color: 224 224 224 255;
16156                color3: 0 0 0 64;
16157             }
16158          }
16159          part { name: "fg1";
16160             clip_to: "disclip";
16161             mouse_events: 0;
16162             description { state: "default" 0.0;
16163                visible: 0;
16164                color: 255 255 255 0;
16165                rel1.to: "bg";
16166                rel2.relative: 1.0 0.5;
16167                rel2.to: "bg";
16168                image {
16169                   normal: "bt_sm_hilight.png";
16170                   border: 6 6 6 0;
16171                }
16172             }
16173             description { state: "selected" 0.0;
16174                inherit: "default" 0.0;
16175                visible: 1;
16176                color: 255 255 255 255;
16177             }
16178          }
16179          part { name: "fg2";
16180             clip_to: "disclip";
16181             mouse_events: 0;
16182             description { state: "default" 0.0;
16183                visible: 0;
16184                color: 255 255 255 0;
16185                rel1.to: "bg";
16186                rel2.to: "bg";
16187                image {
16188                   normal: "bt_sm_shine.png";
16189                   border: 6 6 6 0;
16190                }
16191             }
16192             description { state: "selected" 0.0;
16193                inherit: "default" 0.0;
16194                visible: 1;
16195                color: 255 255 255 255;
16196             }
16197          }
16198          part { name: "disclip";
16199             type: RECT;
16200             description { state: "default" 0.0;
16201                rel1.to: "bg";
16202                rel2.to: "bg";
16203             }
16204             description { state: "disabled" 0.0;
16205                inherit: "default" 0.0;
16206                color: 255 255 255 64;
16207             }
16208          }
16209       }
16210       programs {
16211          // signal: elm,state,%s,active
16212          //   a "check" item named %s went active
16213          // signal: elm,state,%s,passive
16214          //   a "check" item named %s went passive
16215          // default is passive
16216          program {
16217             name:    "go_active";
16218             signal:  "elm,state,selected";
16219             source:  "elm";
16220             action:  STATE_SET "selected" 0.0;
16221             target:  "bg";
16222             target:  "fg1";
16223             target:  "fg2";
16224             target:  "elm.text";
16225          }
16226          program {
16227             name:    "go_passive";
16228             signal:  "elm,state,unselected";
16229             source:  "elm";
16230             action:  STATE_SET "default" 0.0;
16231             target:  "bg";
16232             target:  "fg1";
16233             target:  "fg2";
16234             target:  "elm.text";
16235             transition: LINEAR 0.1;
16236          }
16237          program {
16238             name:    "go_disabled";
16239             signal:  "elm,state,disabled";
16240             source:  "elm";
16241             action:  STATE_SET "disabled" 0.0;
16242             target:  "disclip";
16243          }
16244          program {
16245             name:    "go_enabled";
16246             signal:  "elm,state,enabled";
16247             source:  "elm";
16248             action:  STATE_SET "default" 0.0;
16249             target:  "disclip";
16250          }
16251       }
16252    }
16253    group { name: "elm/genlist/item_compress/message/default";
16254       data.item: "stacking" "above";
16255       data.item: "selectraise" "on";
16256       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16257 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16258       data.item: "treesize" "20";
16259 //      data.item: "states" "";
16260       images {
16261          image: "bt_sm_base1.png" COMP;
16262          image: "bt_sm_shine.png" COMP;
16263          image: "bt_sm_hilight.png" COMP;
16264          image: "ilist_1.png" COMP;
16265          image: "ilist_item_shadow.png" COMP;
16266       }
16267       styles {
16268         style { name: "genlist_textblock_style";
16269           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16270           tag:  "br" "\n";
16271           tag:  "ps" "ps";
16272           tag:  "tab" "\t";
16273         }
16274         style { name: "genlist_textblock_style2";
16275           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16276           tag:  "br" "\n";
16277           tag:  "ps" "ps";
16278           tag:  "tab" "\t";
16279         }
16280       }
16281      parts {
16282          part {
16283             name:           "event";
16284             type:           RECT;
16285             repeat_events: 1;
16286             description {
16287                state: "default" 0.0;
16288                color: 0 0 0 0;
16289             }
16290          }
16291          part {
16292             name: "base_sh";
16293             mouse_events: 0;
16294             description {
16295                state: "default" 0.0;
16296                align: 0.0 0.0;
16297                min: 0 10;
16298                fixed: 1 1;
16299                rel1 {
16300                   to: "base";
16301                   relative: 0.0 1.0;
16302                   offset: 0 0;
16303                }
16304                rel2 {
16305                   to: "base";
16306                   relative: 1.0 1.0;
16307                   offset: -1 0;
16308                }
16309                image {
16310                   normal: "ilist_item_shadow.png";
16311                }
16312                fill.smooth: 0;
16313             }
16314          }
16315          part {
16316             name: "base";
16317             mouse_events: 0;
16318             description {
16319                state: "default" 0.0;
16320                image {
16321                   normal: "ilist_1.png";
16322                   border: 2 2 2 2;
16323                }
16324                fill.smooth: 0;
16325             }
16326          }
16327          part { name: "bg";
16328             clip_to: "disclip";
16329             mouse_events: 0;
16330             description { state: "default" 0.0;
16331                visible: 0;
16332                color: 255 255 255 0;
16333                rel1 {
16334                   relative: 0.0 0.0;
16335                   offset: -5 -5;
16336                }
16337                rel2 {
16338                   relative: 1.0 1.0;
16339                   offset: 4 4;
16340                }
16341                image {
16342                   normal: "bt_sm_base1.png";
16343                   border: 6 6 6 6;
16344                }
16345                image.middle: SOLID;
16346             }
16347             description { state: "selected" 0.0;
16348                inherit: "default" 0.0;
16349                visible: 1;
16350                color: 255 255 255 255;
16351                rel1 {
16352                   relative: 0.0 0.0;
16353                   offset: -2 -2;
16354                }
16355                rel2 {
16356                   relative: 1.0 1.0;
16357                   offset: 1 1;
16358                }
16359             }
16360          }
16361          part { name: "elm.title.1";
16362             clip_to: "disclip";
16363             type:           TEXT;
16364             effect:         SOFT_SHADOW;
16365             mouse_events:   0;
16366             scale: 1;
16367             description {
16368                state: "default" 0.0;
16369                fixed: 0 1;
16370 //               min: 16 16;
16371                rel1 {
16372                   relative: 0.0  0.0;
16373                   offset:   4 4;
16374                }
16375                rel2 {
16376                   relative: 1.0  0.0;
16377                   offset:   -5 4;
16378                }
16379                color: 0 0 0 255;
16380                color3: 0 0 0 0;
16381                align: 0.0 0.0;
16382                text {
16383                   font: "Sans";
16384                   size: 10;
16385                   min: 0 1;
16386 //                  min: 1 1;
16387                   align: 0.0 0.0;
16388                   text_class: "list_item";
16389                }
16390             }
16391             description { state: "selected" 0.0;
16392                inherit: "default" 0.0;
16393                color: 224 224 224 255;
16394                color3: 0 0 0 64;
16395             }
16396          }
16397          part { name: "elm.title.2";
16398             clip_to: "disclip";
16399             type:           TEXT;
16400             effect:         SOFT_SHADOW;
16401             mouse_events:   0;
16402             scale: 1;
16403             description {
16404                state: "default" 0.0;
16405                fixed: 0 1;
16406 //               min: 16 16;
16407                rel1 {
16408                   to_y:     "elm.title.1";
16409                   relative: 0.0  1.0;
16410                   offset:   4 0;
16411                }
16412                rel2 {
16413                   to_y:     "elm.title.1";
16414                   relative: 1.0  1.0;
16415                   offset:   -5 0;
16416                }
16417                color: 0 0 0 255;
16418                color3: 0 0 0 0;
16419                align: 0.0 0.0;
16420                text {
16421                   font: "Sans";
16422                   size: 10;
16423                   min: 0 1;
16424 //                  min: 1 1;
16425                   align: 0.0 0.0;
16426                   text_class: "list_item";
16427                }
16428             }
16429             description { state: "selected" 0.0;
16430                inherit: "default" 0.0;
16431                color: 224 224 224 255;
16432                color3: 0 0 0 64;
16433             }
16434          }
16435          part { name: "elm.text";
16436             clip_to: "disclip";
16437             type:           TEXTBLOCK;
16438             mouse_events:   0;
16439             scale: 1;
16440             description {
16441                state: "default" 0.0;
16442 //               fixed: 0 1;
16443 //               min: 16 16;
16444                rel1 {
16445                   to_y:     "elm.title.2";
16446                   relative: 0.0  1.0;
16447                   offset:   4 0;
16448                }
16449                rel2 {
16450                   relative: 1.0  1.0;
16451                   offset:   -5 -5;
16452                }
16453                align: 0.0 0.0;
16454                text {
16455                   style: "genlist_textblock_style";
16456                   min: 0 1;
16457 //                  min: 1 1;
16458                   align: 0.0 0.0;
16459                }
16460             }
16461             description { state: "selected" 0.0;
16462                inherit: "default" 0.0;
16463                text {
16464                   style: "genlist_textblock_style2";
16465                }
16466             }
16467          }
16468          part { name: "fg1";
16469             clip_to: "disclip";
16470             mouse_events: 0;
16471             description { state: "default" 0.0;
16472                visible: 0;
16473                color: 255 255 255 0;
16474                rel1.to: "bg";
16475                rel2.relative: 1.0 0.5;
16476                rel2.to: "bg";
16477                image {
16478                   normal: "bt_sm_hilight.png";
16479                   border: 6 6 6 0;
16480                }
16481             }
16482             description { state: "selected" 0.0;
16483                inherit: "default" 0.0;
16484                visible: 1;
16485                color: 255 255 255 255;
16486             }
16487          }
16488          part { name: "fg2";
16489             clip_to: "disclip";
16490             mouse_events: 0;
16491             description { state: "default" 0.0;
16492                visible: 0;
16493                color: 255 255 255 0;
16494                rel1.to: "bg";
16495                rel2.to: "bg";
16496                image {
16497                   normal: "bt_sm_shine.png";
16498                   border: 6 6 6 0;
16499                }
16500             }
16501             description { state: "selected" 0.0;
16502                inherit: "default" 0.0;
16503                visible: 1;
16504                color: 255 255 255 255;
16505             }
16506          }
16507          part { name: "disclip";
16508             type: RECT;
16509             description { state: "default" 0.0;
16510                rel1.to: "bg";
16511                rel2.to: "bg";
16512             }
16513             description { state: "disabled" 0.0;
16514                inherit: "default" 0.0;
16515                color: 255 255 255 64;
16516             }
16517          }
16518       }
16519       programs {
16520          // signal: elm,state,%s,active
16521          //   a "check" item named %s went active
16522          // signal: elm,state,%s,passive
16523          //   a "check" item named %s went passive
16524          // default is passive
16525          program {
16526             name:    "go_active";
16527             signal:  "elm,state,selected";
16528             source:  "elm";
16529             action:  STATE_SET "selected" 0.0;
16530             target:  "bg";
16531             target:  "fg1";
16532             target:  "fg2";
16533             target:  "elm.title.1";
16534             target:  "elm.title.2";
16535             target:  "elm.text";
16536          }
16537          program {
16538             name:    "go_passive";
16539             signal:  "elm,state,unselected";
16540             source:  "elm";
16541             action:  STATE_SET "default" 0.0;
16542             target:  "bg";
16543             target:  "fg1";
16544             target:  "fg2";
16545             target:  "elm.title.1";
16546             target:  "elm.title.2";
16547             target:  "elm.text";
16548             transition: LINEAR 0.1;
16549          }
16550          program {
16551             name:    "go_disabled";
16552             signal:  "elm,state,disabled";
16553             source:  "elm";
16554             action:  STATE_SET "disabled" 0.0;
16555             target:  "disclip";
16556          }
16557          program {
16558             name:    "go_enabled";
16559             signal:  "elm,state,enabled";
16560             source:  "elm";
16561             action:  STATE_SET "default" 0.0;
16562             target:  "disclip";
16563          }
16564       }
16565    }
16566    group { name: "elm/genlist/item_compress_odd/message/default";
16567       data.item: "stacking" "below";
16568       data.item: "selectraise" "on";
16569       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16570 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16571       data.item: "treesize" "20";
16572 //      data.item: "states" "";
16573       images {
16574          image: "bt_sm_base1.png" COMP;
16575          image: "bt_sm_shine.png" COMP;
16576          image: "bt_sm_hilight.png" COMP;
16577          image: "ilist_2.png" COMP;
16578       }
16579       parts {
16580          part { name: "event";
16581             type: RECT;
16582             repeat_events: 1;
16583             description {
16584                state: "default" 0.0;
16585                color: 0 0 0 0;
16586             }
16587          }
16588          part {
16589             name: "base";
16590             mouse_events: 0;
16591             description {
16592                state: "default" 0.0;
16593                image {
16594                   normal: "ilist_2.png";
16595                   border: 2 2 2 2;
16596                }
16597                fill.smooth: 0;
16598             }
16599          }
16600          part { name: "bg";
16601             clip_to: "disclip";
16602             mouse_events: 0;
16603             description { state: "default" 0.0;
16604                visible: 0;
16605                color: 255 255 255 0;
16606                rel1 {
16607                   relative: 0.0 0.0;
16608                   offset: -5 -5;
16609                }
16610                rel2 {
16611                   relative: 1.0 1.0;
16612                   offset: 4 4;
16613                }
16614                image {
16615                   normal: "bt_sm_base1.png";
16616                   border: 6 6 6 6;
16617                }
16618                image.middle: SOLID;
16619             }
16620             description { state: "selected" 0.0;
16621                inherit: "default" 0.0;
16622                visible: 1;
16623                color: 255 255 255 255;
16624                rel1 {
16625                   relative: 0.0 0.0;
16626                   offset: -2 -2;
16627                }
16628                rel2 {
16629                   relative: 1.0 1.0;
16630                   offset: 1 1;
16631                }
16632             }
16633          }
16634          part { name: "elm.title.1";
16635             clip_to: "disclip";
16636             type:           TEXT;
16637             effect:         SOFT_SHADOW;
16638             mouse_events:   0;
16639             scale: 1;
16640             description {
16641                state: "default" 0.0;
16642                fixed: 0 1;
16643 //               min: 16 16;
16644                rel1 {
16645                   relative: 0.0  0.0;
16646                   offset:   4 4;
16647                }
16648                rel2 {
16649                   relative: 1.0  0.0;
16650                   offset:   -5 4;
16651                }
16652                color: 0 0 0 255;
16653                color3: 0 0 0 0;
16654                align: 0.0 0.0;
16655                text {
16656                   font: "Sans";
16657                   size: 10;
16658                   min: 0 1;
16659 //                  min: 1 1;
16660                   align: 0.0 0.0;
16661                   text_class: "list_item";
16662                }
16663             }
16664             description { state: "selected" 0.0;
16665                inherit: "default" 0.0;
16666                color: 224 224 224 255;
16667                color3: 0 0 0 64;
16668             }
16669          }
16670          part { name: "elm.title.2";
16671             clip_to: "disclip";
16672             type:           TEXT;
16673             effect:         SOFT_SHADOW;
16674             mouse_events:   0;
16675             scale: 1;
16676             description {
16677                state: "default" 0.0;
16678                fixed: 0 1;
16679 //               min: 16 16;
16680                rel1 {
16681                   to_y:     "elm.title.1";
16682                   relative: 0.0  1.0;
16683                   offset:   4 0;
16684                }
16685                rel2 {
16686                   to_y:     "elm.title.1";
16687                   relative: 1.0  1.0;
16688                   offset:   -5 0;
16689                }
16690                color: 0 0 0 255;
16691                color3: 0 0 0 0;
16692                align: 0.0 0.0;
16693                text {
16694                   font: "Sans";
16695                   size: 10;
16696                   min: 0 1;
16697 //                  min: 1 1;
16698                   align: 0.0 0.0;
16699                   text_class: "list_item";
16700                }
16701             }
16702             description { state: "selected" 0.0;
16703                inherit: "default" 0.0;
16704                color: 224 224 224 255;
16705                color3: 0 0 0 64;
16706             }
16707          }
16708          part { name: "elm.text";
16709             clip_to: "disclip";
16710             type:           TEXTBLOCK;
16711             mouse_events:   0;
16712             scale: 1;
16713             description {
16714                state: "default" 0.0;
16715 //               fixed: 0 1;
16716 //               min: 16 16;
16717                rel1 {
16718                   to_y:     "elm.title.2";
16719                   relative: 0.0  1.0;
16720                   offset:   4 0;
16721                }
16722                rel2 {
16723                   relative: 1.0  1.0;
16724                   offset:   -5 -5;
16725                }
16726                align: 0.0 0.0;
16727                text {
16728                   style: "genlist_textblock_style";
16729                   min: 0 1;
16730 //                  min: 1 1;
16731                   align: 0.0 0.0;
16732                }
16733             }
16734             description { state: "selected" 0.0;
16735                inherit: "default" 0.0;
16736                text {
16737                   style: "genlist_textblock_style2";
16738                }
16739             }
16740          }
16741          part { name: "fg1";
16742             clip_to: "disclip";
16743             mouse_events: 0;
16744             description { state: "default" 0.0;
16745                visible: 0;
16746                color: 255 255 255 0;
16747                rel1.to: "bg";
16748                rel2.relative: 1.0 0.5;
16749                rel2.to: "bg";
16750                image {
16751                   normal: "bt_sm_hilight.png";
16752                   border: 6 6 6 0;
16753                }
16754             }
16755             description { state: "selected" 0.0;
16756                inherit: "default" 0.0;
16757                visible: 1;
16758                color: 255 255 255 255;
16759             }
16760          }
16761          part { name: "fg2";
16762             clip_to: "disclip";
16763             mouse_events: 0;
16764             description { state: "default" 0.0;
16765                visible: 0;
16766                color: 255 255 255 0;
16767                rel1.to: "bg";
16768                rel2.to: "bg";
16769                image {
16770                   normal: "bt_sm_shine.png";
16771                   border: 6 6 6 0;
16772                }
16773             }
16774             description { state: "selected" 0.0;
16775                inherit: "default" 0.0;
16776                visible: 1;
16777                color: 255 255 255 255;
16778             }
16779          }
16780          part { name: "disclip";
16781             type: RECT;
16782             description { state: "default" 0.0;
16783                rel1.to: "bg";
16784                rel2.to: "bg";
16785             }
16786             description { state: "disabled" 0.0;
16787                inherit: "default" 0.0;
16788                color: 255 255 255 64;
16789             }
16790          }
16791       }
16792       programs {
16793          // signal: elm,state,%s,active
16794          //   a "check" item named %s went active
16795          // signal: elm,state,%s,passive
16796          //   a "check" item named %s went passive
16797          // default is passive
16798          program {
16799             name:    "go_active";
16800             signal:  "elm,state,selected";
16801             source:  "elm";
16802             action:  STATE_SET "selected" 0.0;
16803             target:  "bg";
16804             target:  "fg1";
16805             target:  "fg2";
16806             target:  "elm.title.1";
16807             target:  "elm.title.2";
16808             target:  "elm.text";
16809          }
16810          program {
16811             name:    "go_passive";
16812             signal:  "elm,state,unselected";
16813             source:  "elm";
16814             action:  STATE_SET "default" 0.0;
16815             target:  "bg";
16816             target:  "fg1";
16817             target:  "fg2";
16818             target:  "elm.title.1";
16819             target:  "elm.title.2";
16820             target:  "elm.text";
16821             transition: LINEAR 0.1;
16822          }
16823          program {
16824             name:    "go_disabled";
16825             signal:  "elm,state,disabled";
16826             source:  "elm";
16827             action:  STATE_SET "disabled" 0.0;
16828             target:  "disclip";
16829          }
16830          program {
16831             name:    "go_enabled";
16832             signal:  "elm,state,enabled";
16833             source:  "elm";
16834             action:  STATE_SET "default" 0.0;
16835             target:  "disclip";
16836          }
16837       }
16838    }
16839    group { name: "elm/genlist/item_compress/default/default";
16840       data.item: "stacking" "above";
16841       data.item: "selectraise" "on";
16842       data.item: "labels" "elm.text";
16843       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16844       data.item: "treesize" "20";
16845 //      data.item: "states" "";
16846       images {
16847          image: "bt_sm_base1.png" COMP;
16848          image: "bt_sm_shine.png" COMP;
16849          image: "bt_sm_hilight.png" COMP;
16850          image: "ilist_1.png" COMP;
16851          image: "ilist_item_shadow.png" COMP;
16852       }
16853       parts {
16854          part {
16855             name:           "event";
16856             type:           RECT;
16857             repeat_events: 1;
16858             description {
16859                state: "default" 0.0;
16860                color: 0 0 0 0;
16861             }
16862          }
16863          part {
16864             name: "base_sh";
16865             mouse_events: 0;
16866             description {
16867                state: "default" 0.0;
16868                align: 0.0 0.0;
16869                min: 0 10;
16870                fixed: 1 1;
16871                rel1 {
16872                   to: "base";
16873                   relative: 0.0 1.0;
16874                   offset: 0 0;
16875                }
16876                rel2 {
16877                   to: "base";
16878                   relative: 1.0 1.0;
16879                   offset: -1 0;
16880                }
16881                image {
16882                   normal: "ilist_item_shadow.png";
16883                }
16884                fill.smooth: 0;
16885             }
16886          }
16887          part {
16888             name: "base";
16889             mouse_events: 0;
16890             description {
16891                state: "default" 0.0;
16892                image {
16893                   normal: "ilist_1.png";
16894                   border: 2 2 2 2;
16895                }
16896                fill.smooth: 0;
16897             }
16898          }
16899          part { name: "bg";
16900             clip_to: "disclip";
16901             mouse_events: 0;
16902             description { state: "default" 0.0;
16903                visible: 0;
16904                color: 255 255 255 0;
16905                rel1 {
16906                   relative: 0.0 0.0;
16907                   offset: -5 -5;
16908                }
16909                rel2 {
16910                   relative: 1.0 1.0;
16911                   offset: 4 4;
16912                }
16913                image {
16914                   normal: "bt_sm_base1.png";
16915                   border: 6 6 6 6;
16916                }
16917                image.middle: SOLID;
16918             }
16919             description { state: "selected" 0.0;
16920                inherit: "default" 0.0;
16921                visible: 1;
16922                color: 255 255 255 255;
16923                rel1 {
16924                   relative: 0.0 0.0;
16925                   offset: -2 -2;
16926                }
16927                rel2 {
16928                   relative: 1.0 1.0;
16929                   offset: 1 1;
16930                }
16931             }
16932          }
16933          part { name: "elm.swallow.pad";
16934             type: SWALLOW;
16935             description { state: "default" 0.0;
16936                fixed: 1 0;
16937                align: 0.0 0.5;
16938                rel1 {
16939                   relative: 0.0  0.0;
16940                   offset:   4    4;
16941                }
16942                rel2 {
16943                   relative: 0.0  1.0;
16944                   offset:   4   -5;
16945                }
16946             }
16947          }
16948          part { name: "elm.swallow.icon";
16949             clip_to: "disclip";
16950             type: SWALLOW;
16951             description { state: "default" 0.0;
16952                fixed: 1 0;
16953                align: 0.0 0.5;
16954                rel1 {
16955                   to_x: "elm.swallow.pad";
16956                   relative: 1.0  0.0;
16957                   offset:   -1    4;
16958                }
16959                rel2 {
16960                   to_x: "elm.swallow.pad";
16961                   relative: 1.0  1.0;
16962                   offset:   -1   -5;
16963                }
16964             }
16965          }
16966          part { name: "elm.swallow.end";
16967             clip_to: "disclip";
16968             type: SWALLOW;
16969             description { state: "default" 0.0;
16970                fixed: 1 0;
16971                align: 1.0 0.5;
16972                aspect: 1.0 1.0;
16973                aspect_preference: VERTICAL;
16974                rel1 {
16975                   relative: 1.0  0.0;
16976                   offset:   -5    4;
16977                }
16978                rel2 {
16979                   relative: 1.0  1.0;
16980                   offset:   -5   -5;
16981                }
16982             }
16983          }
16984          part { name: "elm.text";
16985             clip_to: "disclip";
16986             type:           TEXT;
16987             effect:         SOFT_SHADOW;
16988             mouse_events:   0;
16989             scale: 1;
16990             description {
16991                state: "default" 0.0;
16992 //               min: 16 16;
16993                rel1 {
16994                   to_x:     "elm.swallow.icon";
16995                   relative: 1.0  0.0;
16996                   offset:   0 4;
16997                }
16998                rel2 {
16999                   to_x:     "elm.swallow.end";
17000                   relative: 0.0  1.0;
17001                   offset:   -1 -5;
17002                }
17003                color: 0 0 0 255;
17004                color3: 0 0 0 0;
17005                text {
17006                   font: "Sans";
17007                   size: 10;
17008                   min: 0 1;
17009 //                  min: 1 1;
17010                   align: 0.0 0.5;
17011                   text_class: "list_item";
17012                }
17013             }
17014             description { state: "selected" 0.0;
17015                inherit: "default" 0.0;
17016                color: 224 224 224 255;
17017                color3: 0 0 0 64;
17018             }
17019          }
17020          part { name: "fg1";
17021             clip_to: "disclip";
17022             mouse_events: 0;
17023             description { state: "default" 0.0;
17024                visible: 0;
17025                color: 255 255 255 0;
17026                rel1.to: "bg";
17027                rel2.relative: 1.0 0.5;
17028                rel2.to: "bg";
17029                image {
17030                   normal: "bt_sm_hilight.png";
17031                   border: 6 6 6 0;
17032                }
17033             }
17034             description { state: "selected" 0.0;
17035                inherit: "default" 0.0;
17036                visible: 1;
17037                color: 255 255 255 255;
17038             }
17039          }
17040          part { name: "fg2";
17041             clip_to: "disclip";
17042             mouse_events: 0;
17043             description { state: "default" 0.0;
17044                visible: 0;
17045                color: 255 255 255 0;
17046                rel1.to: "bg";
17047                rel2.to: "bg";
17048                image {
17049                   normal: "bt_sm_shine.png";
17050                   border: 6 6 6 0;
17051                }
17052             }
17053             description { state: "selected" 0.0;
17054                inherit: "default" 0.0;
17055                visible: 1;
17056                color: 255 255 255 255;
17057             }
17058          }
17059          part { name: "disclip";
17060             type: RECT;
17061             description { state: "default" 0.0;
17062                rel1.to: "bg";
17063                rel2.to: "bg";
17064             }
17065             description { state: "disabled" 0.0;
17066                inherit: "default" 0.0;
17067                color: 255 255 255 64;
17068             }
17069          }
17070       }
17071       programs {
17072          // signal: elm,state,%s,active
17073          //   a "check" item named %s went active
17074          // signal: elm,state,%s,passive
17075          //   a "check" item named %s went passive
17076          // default is passive
17077          program {
17078             name:    "go_active";
17079             signal:  "elm,state,selected";
17080             source:  "elm";
17081             action:  STATE_SET "selected" 0.0;
17082             target:  "bg";
17083             target:  "fg1";
17084             target:  "fg2";
17085             target:  "elm.text";
17086          }
17087          program {
17088             name:    "go_passive";
17089             signal:  "elm,state,unselected";
17090             source:  "elm";
17091             action:  STATE_SET "default" 0.0;
17092             target:  "bg";
17093             target:  "fg1";
17094             target:  "fg2";
17095             target:  "elm.text";
17096             transition: LINEAR 0.1;
17097          }
17098          program {
17099             name:    "go_disabled";
17100             signal:  "elm,state,disabled";
17101             source:  "elm";
17102             action:  STATE_SET "disabled" 0.0;
17103             target:  "disclip";
17104          }
17105          program {
17106             name:    "go_enabled";
17107             signal:  "elm,state,enabled";
17108             source:  "elm";
17109             action:  STATE_SET "default" 0.0;
17110             target:  "disclip";
17111          }
17112       }
17113    }
17114    group { name: "elm/genlist/item_odd/default/default";
17115       data.item: "stacking" "below";
17116       data.item: "selectraise" "on";
17117       data.item: "labels" "elm.text";
17118       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17119       data.item: "treesize" "20";
17120 //      data.item: "states" "";
17121       images {
17122          image: "bt_sm_base1.png" COMP;
17123          image: "bt_sm_shine.png" COMP;
17124          image: "bt_sm_hilight.png" COMP;
17125          image: "ilist_2.png" COMP;
17126       }
17127       parts {
17128          part { 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";
17138             mouse_events: 0;
17139             description {
17140                state: "default" 0.0;
17141                image {
17142                   normal: "ilist_2.png";
17143                   border: 2 2 2 2;
17144                }
17145                fill.smooth: 0;
17146             }
17147          }
17148          part { name: "bg";
17149             clip_to: "disclip";
17150             mouse_events: 0;
17151             description { state: "default" 0.0;
17152                visible: 0;
17153                color: 255 255 255 0;
17154                rel1 {
17155                   relative: 0.0 0.0;
17156                   offset: -5 -5;
17157                }
17158                rel2 {
17159                   relative: 1.0 1.0;
17160                   offset: 4 4;
17161                }
17162                image {
17163                   normal: "bt_sm_base1.png";
17164                   border: 6 6 6 6;
17165                }
17166                image.middle: SOLID;
17167             }
17168             description { state: "selected" 0.0;
17169                inherit: "default" 0.0;
17170                visible: 1;
17171                color: 255 255 255 255;
17172                rel1 {
17173                   relative: 0.0 0.0;
17174                   offset: -2 -2;
17175                }
17176                rel2 {
17177                   relative: 1.0 1.0;
17178                   offset: 1 1;
17179                }
17180             }
17181          }
17182          part { name: "elm.swallow.pad";
17183             type: SWALLOW;
17184             description { state: "default" 0.0;
17185                fixed: 1 0;
17186                align: 0.0 0.5;
17187                rel1 {
17188                   relative: 0.0  0.0;
17189                   offset:   4    4;
17190                }
17191                rel2 {
17192                   relative: 0.0  1.0;
17193                   offset:   4   -5;
17194                }
17195             }
17196          }
17197          part { name: "elm.swallow.icon";
17198             clip_to: "disclip";
17199             type: SWALLOW;
17200             description { state: "default" 0.0;
17201                fixed: 1 0;
17202                align: 0.0 0.5;
17203                rel1 {
17204                   to_x: "elm.swallow.pad";
17205                   relative: 1.0  0.0;
17206                   offset:   -1    4;
17207                }
17208                rel2 {
17209                   to_x: "elm.swallow.pad";
17210                   relative: 1.0  1.0;
17211                   offset:   -1   -5;
17212                }
17213             }
17214          }
17215          part { name: "elm.swallow.end";
17216             clip_to: "disclip";
17217             type:          SWALLOW;
17218             description { state:    "default" 0.0;
17219                fixed: 1 0;
17220                align:    1.0 0.5;
17221                aspect: 1.0 1.0;
17222                aspect_preference: VERTICAL;
17223                rel1 {
17224                   relative: 1.0  0.0;
17225                   offset:   -5    4;
17226                }
17227                rel2 {
17228                   relative: 1.0  1.0;
17229                   offset:   -5   -5;
17230                }
17231             }
17232          }
17233          part { name: "elm.text";
17234             clip_to: "disclip";
17235             type:           TEXT;
17236             effect:         SOFT_SHADOW;
17237             mouse_events:   0;
17238             scale: 1;
17239             description {
17240                state: "default" 0.0;
17241 //               min:      16 16;
17242                rel1 {
17243                   to_x:     "elm.swallow.icon";
17244                   relative: 1.0  0.0;
17245                   offset:   0 4;
17246                }
17247                rel2 {
17248                   to_x:     "elm.swallow.end";
17249                   relative: 0.0  1.0;
17250                   offset:   -1 -5;
17251                }
17252                color: 0 0 0 255;
17253                color3: 0 0 0 0;
17254                text {
17255                   font: "Sans";
17256                   size: 10;
17257                   min: 1 1;
17258 //                  min: 0 1;
17259                   align: -1.0 0.5;
17260                   text_class: "list_item";
17261                }
17262             }
17263             description { state: "selected" 0.0;
17264                inherit: "default" 0.0;
17265                color: 224 224 224 255;
17266                color3: 0 0 0 64;
17267             }
17268          }
17269          part { name: "fg1";
17270             clip_to: "disclip";
17271             mouse_events: 0;
17272             description { state: "default" 0.0;
17273                visible: 0;
17274                color: 255 255 255 0;
17275                rel1.to: "bg";
17276                rel2.relative: 1.0 0.5;
17277                rel2.to: "bg";
17278                image {
17279                   normal: "bt_sm_hilight.png";
17280                   border: 6 6 6 0;
17281                }
17282             }
17283             description { state: "selected" 0.0;
17284                inherit: "default" 0.0;
17285                visible: 1;
17286                color: 255 255 255 255;
17287             }
17288          }
17289          part { name: "fg2";
17290             clip_to: "disclip";
17291             mouse_events: 0;
17292             description { state: "default" 0.0;
17293                visible: 0;
17294                color: 255 255 255 0;
17295                rel1.to: "bg";
17296                rel2.to: "bg";
17297                image {
17298                   normal: "bt_sm_shine.png";
17299                   border: 6 6 6 0;
17300                }
17301             }
17302             description { state: "selected" 0.0;
17303                inherit: "default" 0.0;
17304                visible: 1;
17305                color: 255 255 255 255;
17306             }
17307          }
17308          part { name: "disclip";
17309             type: RECT;
17310             description { state: "default" 0.0;
17311                rel1.to: "bg";
17312                rel2.to: "bg";
17313             }
17314             description { state: "disabled" 0.0;
17315                inherit: "default" 0.0;
17316                color: 255 255 255 64;
17317             }
17318          }
17319       }
17320       programs {
17321          // signal: elm,state,%s,active
17322          //   a "check" item named %s went active
17323          // signal: elm,state,%s,passive
17324          //   a "check" item named %s went passive
17325          // default is passive
17326          program {
17327             name:    "go_active";
17328             signal:  "elm,state,selected";
17329             source:  "elm";
17330             action:  STATE_SET "selected" 0.0;
17331             target:  "bg";
17332             target:  "fg1";
17333             target:  "fg2";
17334             target:  "elm.text";
17335          }
17336          program {
17337             name:    "go_passive";
17338             signal:  "elm,state,unselected";
17339             source:  "elm";
17340             action:  STATE_SET "default" 0.0;
17341             target:  "bg";
17342             target:  "fg1";
17343             target:  "fg2";
17344             target:  "elm.text";
17345             transition: LINEAR 0.1;
17346          }
17347          program {
17348             name:    "go_disabled";
17349             signal:  "elm,state,disabled";
17350             source:  "elm";
17351             action:  STATE_SET "disabled" 0.0;
17352             target:  "disclip";
17353          }
17354          program {
17355             name:    "go_enabled";
17356             signal:  "elm,state,enabled";
17357             source:  "elm";
17358             action:  STATE_SET "default" 0.0;
17359             target:  "disclip";
17360          }
17361       }
17362    }
17363    group { name: "elm/genlist/item_compress_odd/default/default";
17364       data.item: "stacking" "below";
17365       data.item: "selectraise" "on";
17366       data.item: "labels" "elm.text";
17367       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17368       data.item: "treesize" "20";
17369 //      data.item: "states" "";
17370       images {
17371          image: "bt_sm_base1.png" COMP;
17372          image: "bt_sm_shine.png" COMP;
17373          image: "bt_sm_hilight.png" COMP;
17374          image: "ilist_2.png" COMP;
17375       }
17376       parts {
17377          part { name: "event";
17378             type: RECT;
17379             repeat_events: 1;
17380             description {
17381                state: "default" 0.0;
17382                color: 0 0 0 0;
17383             }
17384          }
17385          part {
17386             name: "base";
17387             mouse_events: 0;
17388             description {
17389                state: "default" 0.0;
17390                image {
17391                   normal: "ilist_2.png";
17392                   border: 2 2 2 2;
17393                }
17394                fill.smooth: 0;
17395             }
17396          }
17397          part { name: "bg";
17398             clip_to: "disclip";
17399             mouse_events: 0;
17400             description { state: "default" 0.0;
17401                visible: 0;
17402                color: 255 255 255 0;
17403                rel1 {
17404                   relative: 0.0 0.0;
17405                   offset: -5 -5;
17406                }
17407                rel2 {
17408                   relative: 1.0 1.0;
17409                   offset: 4 4;
17410                }
17411                image {
17412                   normal: "bt_sm_base1.png";
17413                   border: 6 6 6 6;
17414                }
17415                image.middle: SOLID;
17416             }
17417             description { state: "selected" 0.0;
17418                inherit: "default" 0.0;
17419                visible: 1;
17420                color: 255 255 255 255;
17421                rel1 {
17422                   relative: 0.0 0.0;
17423                   offset: -2 -2;
17424                }
17425                rel2 {
17426                   relative: 1.0 1.0;
17427                   offset: 1 1;
17428                }
17429             }
17430          }
17431          part { name: "elm.swallow.pad";
17432             type: SWALLOW;
17433             description { state: "default" 0.0;
17434                fixed: 1 0;
17435                align: 0.0 0.5;
17436                rel1 {
17437                   relative: 0.0  0.0;
17438                   offset:   4    4;
17439                }
17440                rel2 {
17441                   relative: 0.0  1.0;
17442                   offset:   4   -5;
17443                }
17444             }
17445          }
17446          part { name: "elm.swallow.icon";
17447             clip_to: "disclip";
17448             type: SWALLOW;
17449             description { state: "default" 0.0;
17450                fixed: 1 0;
17451                align: 0.0 0.5;
17452                rel1 {
17453                   to_x: "elm.swallow.pad";
17454                   relative: 1.0  0.0;
17455                   offset:   -1    4;
17456                }
17457                rel2 {
17458                   to_x: "elm.swallow.pad";
17459                   relative: 1.0  1.0;
17460                   offset:   -1   -5;
17461                }
17462             }
17463          }
17464          part { name: "elm.swallow.end";
17465             clip_to: "disclip";
17466             type:          SWALLOW;
17467             description { state:    "default" 0.0;
17468                fixed: 1 0;
17469                align:    1.0 0.5;
17470                aspect: 1.0 1.0;
17471                aspect_preference: VERTICAL;
17472                rel1 {
17473                   relative: 1.0  0.0;
17474                   offset:   -5    4;
17475                }
17476                rel2 {
17477                   relative: 1.0  1.0;
17478                   offset:   -5   -5;
17479                }
17480             }
17481          }
17482          part { name: "elm.text";
17483             clip_to: "disclip";
17484             type:           TEXT;
17485             effect:         SOFT_SHADOW;
17486             mouse_events:   0;
17487             scale: 1;
17488             description {
17489                state: "default" 0.0;
17490 //               min:      16 16;
17491                rel1 {
17492                   to_x:     "elm.swallow.icon";
17493                   relative: 1.0  0.0;
17494                   offset:   0 4;
17495                }
17496                rel2 {
17497                   to_x:     "elm.swallow.end";
17498                   relative: 0.0  1.0;
17499                   offset:   -1 -5;
17500                }
17501                color: 0 0 0 255;
17502                color3: 0 0 0 0;
17503                text {
17504                   font: "Sans";
17505                   size: 10;
17506                   min: 0 1;
17507 //                  min: 1 1;
17508                   align: 0.0 0.5;
17509                   text_class: "list_item";
17510                }
17511             }
17512             description { state: "selected" 0.0;
17513                inherit: "default" 0.0;
17514                color: 224 224 224 255;
17515                color3: 0 0 0 64;
17516             }
17517          }
17518          part { name: "fg1";
17519             clip_to: "disclip";
17520             mouse_events: 0;
17521             description { state: "default" 0.0;
17522                visible: 0;
17523                color: 255 255 255 0;
17524                rel1.to: "bg";
17525                rel2.relative: 1.0 0.5;
17526                rel2.to: "bg";
17527                image {
17528                   normal: "bt_sm_hilight.png";
17529                   border: 6 6 6 0;
17530                }
17531             }
17532             description { state: "selected" 0.0;
17533                inherit: "default" 0.0;
17534                visible: 1;
17535                color: 255 255 255 255;
17536             }
17537          }
17538          part { name: "fg2";
17539             clip_to: "disclip";
17540             mouse_events: 0;
17541             description { state: "default" 0.0;
17542                visible: 0;
17543                color: 255 255 255 0;
17544                rel1.to: "bg";
17545                rel2.to: "bg";
17546                image {
17547                   normal: "bt_sm_shine.png";
17548                   border: 6 6 6 0;
17549                }
17550             }
17551             description { state: "selected" 0.0;
17552                inherit: "default" 0.0;
17553                visible: 1;
17554                color: 255 255 255 255;
17555             }
17556          }
17557          part { name: "disclip";
17558             type: RECT;
17559             description { state: "default" 0.0;
17560                rel1.to: "bg";
17561                rel2.to: "bg";
17562             }
17563             description { state: "disabled" 0.0;
17564                inherit: "default" 0.0;
17565                color: 255 255 255 64;
17566             }
17567          }
17568       }
17569       programs {
17570          // signal: elm,state,%s,active
17571          //   a "check" item named %s went active
17572          // signal: elm,state,%s,passive
17573          //   a "check" item named %s went passive
17574          // default is passive
17575          program {
17576             name:    "go_active";
17577             signal:  "elm,state,selected";
17578             source:  "elm";
17579             action:  STATE_SET "selected" 0.0;
17580             target:  "bg";
17581             target:  "fg1";
17582             target:  "fg2";
17583             target:  "elm.text";
17584          }
17585          program {
17586             name:    "go_passive";
17587             signal:  "elm,state,unselected";
17588             source:  "elm";
17589             action:  STATE_SET "default" 0.0;
17590             target:  "bg";
17591             target:  "fg1";
17592             target:  "fg2";
17593             target:  "elm.text";
17594             transition: LINEAR 0.1;
17595          }
17596          program {
17597             name:    "go_disabled";
17598             signal:  "elm,state,disabled";
17599             source:  "elm";
17600             action:  STATE_SET "disabled" 0.0;
17601             target:  "disclip";
17602          }
17603          program {
17604             name:    "go_enabled";
17605             signal:  "elm,state,enabled";
17606             source:  "elm";
17607             action:  STATE_SET "default" 0.0;
17608             target:  "disclip";
17609          }
17610       }
17611    }
17612
17613    group { name: "elm/genlist/tree/default/default";
17614       data.item: "stacking" "above";
17615       data.item: "selectraise" "on";
17616       data.item: "labels" "elm.text";
17617       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17618       data.item: "treesize" "20";
17619 //      data.item: "states" "";
17620       images {
17621          image: "bt_sm_base1.png" COMP;
17622          image: "bt_sm_shine.png" COMP;
17623          image: "bt_sm_hilight.png" COMP;
17624          image: "ilist_1.png" COMP;
17625          image: "ilist_item_shadow.png" COMP;
17626          image: "icon_arrow_left.png" COMP;
17627          image: "icon_arrow_right.png" COMP;
17628          image: "icon_arrow_down.png" COMP;
17629       }
17630       parts {
17631          part {
17632             name:           "event";
17633             type:           RECT;
17634             repeat_events: 1;
17635             description {
17636                state: "default" 0.0;
17637                color: 0 0 0 0;
17638             }
17639          }
17640          part {
17641             name: "base_sh";
17642             mouse_events: 0;
17643             description {
17644                state: "default" 0.0;
17645                align: 0.0 0.0;
17646                min: 0 10;
17647                fixed: 1 1;
17648                rel1 {
17649                   to: "base";
17650                   relative: 0.0 1.0;
17651                   offset: 0 0;
17652                }
17653                rel2 {
17654                   to: "base";
17655                   relative: 1.0 1.0;
17656                   offset: -1 0;
17657                }
17658                image {
17659                   normal: "ilist_item_shadow.png";
17660                }
17661                fill.smooth: 0;
17662             }
17663          }
17664          part {
17665             name: "base";
17666             mouse_events: 0;
17667             description {
17668                state: "default" 0.0;
17669                image {
17670                   normal: "ilist_1.png";
17671                   border: 2 2 2 2;
17672                }
17673                fill.smooth: 0;
17674             }
17675          }
17676          part { name: "bg";
17677             clip_to: "disclip";
17678             mouse_events: 0;
17679             description { state: "default" 0.0;
17680                visible: 0;
17681                color: 255 255 255 0;
17682                rel1 {
17683                   relative: 0.0 0.0;
17684                   offset: -5 -5;
17685                }
17686                rel2 {
17687                   relative: 1.0 1.0;
17688                   offset: 4 4;
17689                }
17690                image {
17691                   normal: "bt_sm_base1.png";
17692                   border: 6 6 6 6;
17693                }
17694                image.middle: SOLID;
17695             }
17696             description { state: "selected" 0.0;
17697                inherit: "default" 0.0;
17698                visible: 1;
17699                color: 255 255 255 255;
17700                rel1 {
17701                   relative: 0.0 0.0;
17702                   offset: -2 -2;
17703                }
17704                rel2 {
17705                   relative: 1.0 1.0;
17706                   offset: 1 1;
17707                }
17708             }
17709          }
17710          part { name: "elm.swallow.pad";
17711             type: SWALLOW;
17712             description { state: "default" 0.0;
17713                fixed: 1 0;
17714                align: 0.0 0.5;
17715                rel1 {
17716                   relative: 0.0  0.0;
17717                   offset:   4    4;
17718                }
17719                rel2 {
17720                   relative: 0.0  1.0;
17721                   offset:   4   -5;
17722                }
17723             }
17724          }
17725          part { name: "arrow";
17726             clip_to: "disclip";
17727             ignore_flags: ON_HOLD;
17728             description { state: "default" 0.0;
17729                fixed: 1 0;
17730                align: 0.0 0.5;
17731                aspect: 1.0 1.0;
17732                rel1 {
17733                   to_x: "elm.swallow.pad";
17734                   relative: 1.0  0.0;
17735                   offset:   -1    4;
17736                }
17737                rel2 {
17738                   to_x: "elm.swallow.pad";
17739                   relative: 1.0  1.0;
17740                   offset:   -1   -5;
17741                }
17742                image.normal: "icon_arrow_right.png";
17743             }
17744             description { state: "default" 0.1;
17745                inherit: "default" 0.0;
17746                image.normal: "icon_arrow_left.png";
17747             }
17748             description { state: "active" 0.0;
17749                inherit: "default" 0.0;
17750                image.normal: "icon_arrow_down.png";
17751             }
17752             description { state: "active" 0.1;
17753                inherit: "default" 0.0;
17754                image.normal: "icon_arrow_down.png";
17755             }
17756          }
17757          part { name: "elm.swallow.icon";
17758             clip_to: "disclip";
17759             type: SWALLOW;
17760             description { state: "default" 0.0;
17761                fixed: 1 0;
17762                align: 0.0 0.5;
17763                rel1 {
17764                   to_x: "arrow";
17765                   relative: 1.0  0.0;
17766                   offset:   4    4;
17767                }
17768                rel2 {
17769                   to_x: "arrow";
17770                   relative: 1.0  1.0;
17771                   offset:   4   -5;
17772                }
17773             }
17774          }
17775          part { name: "elm.swallow.end";
17776             clip_to: "disclip";
17777             type: SWALLOW;
17778             description { state: "default" 0.0;
17779                fixed: 1 0;
17780                align: 1.0 0.5;
17781                aspect: 1.0 1.0;
17782                aspect_preference: VERTICAL;
17783                rel1 {
17784                   relative: 1.0  0.0;
17785                   offset:   -5    4;
17786                }
17787                rel2 {
17788                   relative: 1.0  1.0;
17789                   offset:   -5   -5;
17790                }
17791             }
17792          }
17793          part { name: "elm.text";
17794             clip_to: "disclip";
17795             type:           TEXT;
17796             effect:         SOFT_SHADOW;
17797             mouse_events:   0;
17798             scale: 1;
17799             description {
17800                state: "default" 0.0;
17801 //               min: 16 16;
17802                rel1 {
17803                   to_x:     "elm.swallow.icon";
17804                   relative: 1.0  0.0;
17805                   offset:   0 4;
17806                }
17807                rel2 {
17808                   to_x:     "elm.swallow.end";
17809                   relative: 0.0  1.0;
17810                   offset:   -1 -5;
17811                }
17812                color: 0 0 0 255;
17813                color3: 0 0 0 0;
17814                text {
17815                   font: "Sans";
17816                   size: 10;
17817                   min: 1 1;
17818 //                  min: 0 1;
17819                   align: -1.0 0.5;
17820                   text_class: "list_item";
17821                }
17822             }
17823             description { state: "selected" 0.0;
17824                inherit: "default" 0.0;
17825                color: 224 224 224 255;
17826                color3: 0 0 0 64;
17827             }
17828          }
17829          part { name: "fg1";
17830             clip_to: "disclip";
17831             mouse_events: 0;
17832             description { state: "default" 0.0;
17833                visible: 0;
17834                color: 255 255 255 0;
17835                rel1.to: "bg";
17836                rel2.relative: 1.0 0.5;
17837                rel2.to: "bg";
17838                image {
17839                   normal: "bt_sm_hilight.png";
17840                   border: 6 6 6 0;
17841                }
17842             }
17843             description { state: "selected" 0.0;
17844                inherit: "default" 0.0;
17845                visible: 1;
17846                color: 255 255 255 255;
17847             }
17848          }
17849          part { name: "fg2";
17850             clip_to: "disclip";
17851             mouse_events: 0;
17852             description { state: "default" 0.0;
17853                visible: 0;
17854                color: 255 255 255 0;
17855                rel1.to: "bg";
17856                rel2.to: "bg";
17857                image {
17858                   normal: "bt_sm_shine.png";
17859                   border: 6 6 6 0;
17860                }
17861             }
17862             description { state: "selected" 0.0;
17863                inherit: "default" 0.0;
17864                visible: 1;
17865                color: 255 255 255 255;
17866             }
17867          }
17868          part { name: "disclip";
17869             type: RECT;
17870             description { state: "default" 0.0;
17871                rel1.to: "bg";
17872                rel2.to: "bg";
17873             }
17874             description { state: "disabled" 0.0;
17875                inherit: "default" 0.0;
17876                color: 255 255 255 64;
17877             }
17878          }
17879       }
17880       programs {
17881          // signal: elm,state,%s,active
17882          //   a "check" item named %s went active
17883          // signal: elm,state,%s,passive
17884          //   a "check" item named %s went passive
17885          // default is passive
17886          program {
17887             name:    "go_active";
17888             signal:  "elm,state,selected";
17889             source:  "elm";
17890             action:  STATE_SET "selected" 0.0;
17891             target:  "bg";
17892             target:  "fg1";
17893             target:  "fg2";
17894             target:  "elm.text";
17895          }
17896          program {
17897             name:    "go_passive";
17898             signal:  "elm,state,unselected";
17899             source:  "elm";
17900             action:  STATE_SET "default" 0.0;
17901             target:  "bg";
17902             target:  "fg1";
17903             target:  "fg2";
17904             target:  "elm.text";
17905             transition: LINEAR 0.1;
17906          }
17907          program {
17908             name:    "go_disabled";
17909             signal:  "elm,state,disabled";
17910             source:  "elm";
17911             action:  STATE_SET "disabled" 0.0;
17912             target:  "disclip";
17913          }
17914          program {
17915             name:    "go_enabled";
17916             signal:  "elm,state,enabled";
17917             source:  "elm";
17918             action:  STATE_SET "default" 0.0;
17919             target:  "disclip";
17920          }
17921          program {
17922             name:    "expand";
17923             signal:  "mouse,up,1";
17924             source:  "arrow";
17925             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17926          }
17927          program {
17928             name:    "go_expanded";
17929             signal:  "elm,state,expanded";
17930             source:  "elm";
17931             script {
17932                new st[31];
17933                new Float:vl;
17934                get_state(PART:"arrow", st, 30, vl);
17935                set_state(PART:"arrow", "active", vl);
17936             }
17937          }
17938          program {
17939             name:    "go_contracted";
17940             signal:  "elm,state,contracted";
17941             source:  "elm";
17942             script {
17943                new st[31];
17944                new Float:vl;
17945                get_state(PART:"arrow", st, 30, vl);
17946                set_state(PART:"arrow", "default", vl);
17947             }
17948          }
17949          program { name: "to_rtl";
17950             signal: "edje,state,rtl";
17951             source: "edje";
17952             script {
17953                new st[31];
17954                new Float:vl;
17955                get_state(PART:"arrow", st, 30, vl);
17956                if (vl == 0.0) {
17957                   set_state(PART:"arrow", st, 0.1);
17958                }
17959             }
17960          }
17961          program { name: "to_ltr";
17962             signal: "edje,state,ltr";
17963             source: "edje";
17964             script {
17965                new st[31];
17966                new Float:vl;
17967                get_state(PART:"arrow", st, 30, vl);
17968                if (vl == 0.1) {
17969                   set_state(PART:"arrow", st, 0.0);
17970                }
17971             }
17972          }
17973       }
17974    }
17975    group { name: "elm/genlist/tree_compress/default/default";
17976       data.item: "stacking" "above";
17977       data.item: "selectraise" "on";
17978       data.item: "labels" "elm.text";
17979       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17980       data.item: "treesize" "20";
17981 //      data.item: "states" "";
17982       images {
17983          image: "bt_sm_base1.png" COMP;
17984          image: "bt_sm_shine.png" COMP;
17985          image: "bt_sm_hilight.png" COMP;
17986          image: "ilist_1.png" COMP;
17987          image: "ilist_item_shadow.png" COMP;
17988          image: "icon_arrow_left.png" COMP;
17989          image: "icon_arrow_right.png" COMP;
17990          image: "icon_arrow_down.png" COMP;
17991       }
17992       parts {
17993          part {
17994             name:           "event";
17995             type:           RECT;
17996             repeat_events: 1;
17997             description {
17998                state: "default" 0.0;
17999                color: 0 0 0 0;
18000             }
18001          }
18002          part {
18003             name: "base_sh";
18004             mouse_events: 0;
18005             description {
18006                state: "default" 0.0;
18007                align: 0.0 0.0;
18008                min: 0 10;
18009                fixed: 1 1;
18010                rel1 {
18011                   to: "base";
18012                   relative: 0.0 1.0;
18013                   offset: 0 0;
18014                }
18015                rel2 {
18016                   to: "base";
18017                   relative: 1.0 1.0;
18018                   offset: -1 0;
18019                }
18020                image {
18021                   normal: "ilist_item_shadow.png";
18022                }
18023                fill.smooth: 0;
18024             }
18025          }
18026          part {
18027             name: "base";
18028             mouse_events: 0;
18029             description {
18030                state: "default" 0.0;
18031                image {
18032                   normal: "ilist_1.png";
18033                   border: 2 2 2 2;
18034                }
18035                fill.smooth: 0;
18036             }
18037          }
18038          part { name: "bg";
18039             clip_to: "disclip";
18040             mouse_events: 0;
18041             description { state: "default" 0.0;
18042                visible: 0;
18043                color: 255 255 255 0;
18044                rel1 {
18045                   relative: 0.0 0.0;
18046                   offset: -5 -5;
18047                }
18048                rel2 {
18049                   relative: 1.0 1.0;
18050                   offset: 4 4;
18051                }
18052                image {
18053                   normal: "bt_sm_base1.png";
18054                   border: 6 6 6 6;
18055                }
18056                image.middle: SOLID;
18057             }
18058             description { state: "selected" 0.0;
18059                inherit: "default" 0.0;
18060                visible: 1;
18061                color: 255 255 255 255;
18062                rel1 {
18063                   relative: 0.0 0.0;
18064                   offset: -2 -2;
18065                }
18066                rel2 {
18067                   relative: 1.0 1.0;
18068                   offset: 1 1;
18069                }
18070             }
18071          }
18072          part { name: "elm.swallow.pad";
18073             type: SWALLOW;
18074             description { state: "default" 0.0;
18075                fixed: 1 0;
18076                align: 0.0 0.5;
18077                rel1 {
18078                   relative: 0.0  0.0;
18079                   offset:   4    4;
18080                }
18081                rel2 {
18082                   relative: 0.0  1.0;
18083                   offset:   4   -5;
18084                }
18085             }
18086          }
18087          part { name: "arrow";
18088             clip_to: "disclip";
18089             ignore_flags: ON_HOLD;
18090             description { state: "default" 0.0;
18091                fixed: 1 0;
18092                align: 0.0 0.5;
18093                aspect: 1.0 1.0;
18094                rel1 {
18095                   to_x: "elm.swallow.pad";
18096                   relative: 1.0  0.0;
18097                   offset:   -1    4;
18098                }
18099                rel2 {
18100                   to_x: "elm.swallow.pad";
18101                   relative: 1.0  1.0;
18102                   offset:   -1   -5;
18103                }
18104                image.normal: "icon_arrow_right.png";
18105             }
18106             description { state: "default" 0.1;
18107                inherit: "default" 0.0;
18108                image.normal: "icon_arrow_left.png";
18109             }
18110             description { state: "active" 0.0;
18111                inherit: "default" 0.0;
18112                image.normal: "icon_arrow_down.png";
18113             }
18114             description { state: "active" 0.1;
18115                inherit: "default" 0.0;
18116                image.normal: "icon_arrow_down.png";
18117             }
18118          }
18119          part { name: "elm.swallow.icon";
18120             clip_to: "disclip";
18121             type: SWALLOW;
18122             description { state: "default" 0.0;
18123                fixed: 1 0;
18124                align: 0.0 0.5;
18125                rel1 {
18126                   to_x: "arrow";
18127                   relative: 1.0  0.0;
18128                   offset:   4    4;
18129                }
18130                rel2 {
18131                   to_x: "arrow";
18132                   relative: 1.0  1.0;
18133                   offset:   4   -5;
18134                }
18135             }
18136          }
18137          part { name: "elm.swallow.end";
18138             clip_to: "disclip";
18139             type: SWALLOW;
18140             description { state: "default" 0.0;
18141                fixed: 1 0;
18142                align: 1.0 0.5;
18143                aspect: 1.0 1.0;
18144                aspect_preference: VERTICAL;
18145                rel1 {
18146                   relative: 1.0  0.0;
18147                   offset:   -5    4;
18148                }
18149                rel2 {
18150                   relative: 1.0  1.0;
18151                   offset:   -5   -5;
18152                }
18153             }
18154          }
18155          part { name: "elm.text";
18156             clip_to: "disclip";
18157             type:           TEXT;
18158             effect:         SOFT_SHADOW;
18159             mouse_events:   0;
18160             scale: 1;
18161             description {
18162                state: "default" 0.0;
18163 //               min: 16 16;
18164                rel1 {
18165                   to_x:     "elm.swallow.icon";
18166                   relative: 1.0  0.0;
18167                   offset:   0 4;
18168                }
18169                rel2 {
18170                   to_x:     "elm.swallow.end";
18171                   relative: 0.0  1.0;
18172                   offset:   -1 -5;
18173                }
18174                color: 0 0 0 255;
18175                color3: 0 0 0 0;
18176                text {
18177                   font: "Sans";
18178                   size: 10;
18179 //                  min: 1 1;
18180                   min: 0 1;
18181                   align: 0.0 0.5;
18182                   text_class: "list_item";
18183                }
18184             }
18185             description { state: "selected" 0.0;
18186                inherit: "default" 0.0;
18187                color: 224 224 224 255;
18188                color3: 0 0 0 64;
18189             }
18190          }
18191          part { name: "fg1";
18192             clip_to: "disclip";
18193             mouse_events: 0;
18194             description { state: "default" 0.0;
18195                visible: 0;
18196                color: 255 255 255 0;
18197                rel1.to: "bg";
18198                rel2.relative: 1.0 0.5;
18199                rel2.to: "bg";
18200                image {
18201                   normal: "bt_sm_hilight.png";
18202                   border: 6 6 6 0;
18203                }
18204             }
18205             description { state: "selected" 0.0;
18206                inherit: "default" 0.0;
18207                visible: 1;
18208                color: 255 255 255 255;
18209             }
18210          }
18211          part { name: "fg2";
18212             clip_to: "disclip";
18213             mouse_events: 0;
18214             description { state: "default" 0.0;
18215                visible: 0;
18216                color: 255 255 255 0;
18217                rel1.to: "bg";
18218                rel2.to: "bg";
18219                image {
18220                   normal: "bt_sm_shine.png";
18221                   border: 6 6 6 0;
18222                }
18223             }
18224             description { state: "selected" 0.0;
18225                inherit: "default" 0.0;
18226                visible: 1;
18227                color: 255 255 255 255;
18228             }
18229          }
18230          part { name: "disclip";
18231             type: RECT;
18232             description { state: "default" 0.0;
18233                rel1.to: "bg";
18234                rel2.to: "bg";
18235             }
18236             description { state: "disabled" 0.0;
18237                inherit: "default" 0.0;
18238                color: 255 255 255 64;
18239             }
18240          }
18241       }
18242       programs {
18243          // signal: elm,state,%s,active
18244          //   a "check" item named %s went active
18245          // signal: elm,state,%s,passive
18246          //   a "check" item named %s went passive
18247          // default is passive
18248          program {
18249             name:    "go_active";
18250             signal:  "elm,state,selected";
18251             source:  "elm";
18252             action:  STATE_SET "selected" 0.0;
18253             target:  "bg";
18254             target:  "fg1";
18255             target:  "fg2";
18256             target:  "elm.text";
18257          }
18258          program {
18259             name:    "go_passive";
18260             signal:  "elm,state,unselected";
18261             source:  "elm";
18262             action:  STATE_SET "default" 0.0;
18263             target:  "bg";
18264             target:  "fg1";
18265             target:  "fg2";
18266             target:  "elm.text";
18267             transition: LINEAR 0.1;
18268          }
18269          program {
18270             name:    "go_disabled";
18271             signal:  "elm,state,disabled";
18272             source:  "elm";
18273             action:  STATE_SET "disabled" 0.0;
18274             target:  "disclip";
18275          }
18276          program {
18277             name:    "go_enabled";
18278             signal:  "elm,state,enabled";
18279             source:  "elm";
18280             action:  STATE_SET "default" 0.0;
18281             target:  "disclip";
18282          }
18283          program {
18284             name:    "expand";
18285             signal:  "mouse,up,1";
18286             source:  "arrow";
18287             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18288          }
18289          program {
18290             name:    "go_expanded";
18291             signal:  "elm,state,expanded";
18292             source:  "elm";
18293             script {
18294                new st[31];
18295                new Float:vl;
18296                get_state(PART:"arrow", st, 30, vl);
18297                set_state(PART:"arrow", "active", vl);
18298             }
18299          }
18300          program {
18301             name:    "go_contracted";
18302             signal:  "elm,state,contracted";
18303             source:  "elm";
18304             script {
18305                new st[31];
18306                new Float:vl;
18307                get_state(PART:"arrow", st, 30, vl);
18308                set_state(PART:"arrow", "default", vl);
18309             }
18310          }
18311          program { name: "to_rtl";
18312             signal: "edje,state,rtl";
18313             source: "edje";
18314             script {
18315                new st[31];
18316                new Float:vl;
18317                get_state(PART:"arrow", st, 30, vl);
18318                if (vl == 0.0) {
18319                   set_state(PART:"arrow", st, 0.1);
18320                }
18321             }
18322          }
18323          program { name: "to_ltr";
18324             signal: "edje,state,ltr";
18325             source: "edje";
18326             script {
18327                new st[31];
18328                new Float:vl;
18329                get_state(PART:"arrow", st, 30, vl);
18330                if (vl == 0.1) {
18331                   set_state(PART:"arrow", st, 0.0);
18332                }
18333             }
18334          }
18335       }
18336    }
18337    group { name: "elm/genlist/tree_odd/default/default";
18338       data.item: "stacking" "below";
18339       data.item: "selectraise" "on";
18340       data.item: "labels" "elm.text";
18341       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18342       data.item: "treesize" "20";
18343 //      data.item: "states" "";
18344       images {
18345          image: "bt_sm_base1.png" COMP;
18346          image: "bt_sm_shine.png" COMP;
18347          image: "bt_sm_hilight.png" COMP;
18348          image: "ilist_2.png" COMP;
18349          image: "icon_arrow_left.png" COMP;
18350          image: "icon_arrow_right.png" COMP;
18351          image: "icon_arrow_down.png" COMP;
18352       }
18353       parts {
18354          part {
18355             name:           "event";
18356             type:           RECT;
18357             repeat_events: 1;
18358             description {
18359                state: "default" 0.0;
18360                color: 0 0 0 0;
18361             }
18362          }
18363          part {
18364             name: "base";
18365             mouse_events: 0;
18366             description {
18367                state: "default" 0.0;
18368                image {
18369                   normal: "ilist_2.png";
18370                   border: 2 2 2 2;
18371                }
18372                fill.smooth: 0;
18373             }
18374          }
18375          part { name: "bg";
18376             clip_to: "disclip";
18377             mouse_events: 0;
18378             description { state: "default" 0.0;
18379                visible: 0;
18380                color: 255 255 255 0;
18381                rel1 {
18382                   relative: 0.0 0.0;
18383                   offset: -5 -5;
18384                }
18385                rel2 {
18386                   relative: 1.0 1.0;
18387                   offset: 4 4;
18388                }
18389                image {
18390                   normal: "bt_sm_base1.png";
18391                   border: 6 6 6 6;
18392                }
18393                image.middle: SOLID;
18394             }
18395             description { state: "selected" 0.0;
18396                inherit: "default" 0.0;
18397                visible: 1;
18398                color: 255 255 255 255;
18399                rel1 {
18400                   relative: 0.0 0.0;
18401                   offset: -2 -2;
18402                }
18403                rel2 {
18404                   relative: 1.0 1.0;
18405                   offset: 1 1;
18406                }
18407             }
18408          }
18409          part { name: "elm.swallow.pad";
18410             type: SWALLOW;
18411             description { state: "default" 0.0;
18412                fixed: 1 0;
18413                align: 0.0 0.5;
18414                rel1 {
18415                   relative: 0.0  0.0;
18416                   offset:   4    4;
18417                }
18418                rel2 {
18419                   relative: 0.0  1.0;
18420                   offset:   4   -5;
18421                }
18422             }
18423          }
18424          part { name: "arrow";
18425             clip_to: "disclip";
18426             ignore_flags: ON_HOLD;
18427             description { state: "default" 0.0;
18428                fixed: 1 0;
18429                align: 0.0 0.5;
18430                aspect: 1.0 1.0;
18431                rel1 {
18432                   to_x: "elm.swallow.pad";
18433                   relative: 1.0  0.0;
18434                   offset:   -1    4;
18435                }
18436                rel2 {
18437                   to_x: "elm.swallow.pad";
18438                   relative: 1.0  1.0;
18439                   offset:   -1   -5;
18440                }
18441                image.normal: "icon_arrow_right.png";
18442             }
18443             description { state: "default" 0.1;
18444                inherit: "default" 0.0;
18445                image.normal: "icon_arrow_left.png";
18446             }
18447             description { state: "active" 0.0;
18448                inherit: "default" 0.0;
18449                image.normal: "icon_arrow_down.png";
18450             }
18451             description { state: "active" 0.1;
18452                inherit: "default" 0.0;
18453                image.normal: "icon_arrow_down.png";
18454             }
18455          }
18456          part { name: "elm.swallow.icon";
18457             clip_to: "disclip";
18458             type: SWALLOW;
18459             description { state: "default" 0.0;
18460                fixed: 1 0;
18461                align: 0.0 0.5;
18462                rel1 {
18463                   to_x: "arrow";
18464                   relative: 1.0  0.0;
18465                   offset:   4    4;
18466                }
18467                rel2 {
18468                   to_x: "arrow";
18469                   relative: 1.0  1.0;
18470                   offset:   4   -5;
18471                }
18472             }
18473          }
18474          part { name: "elm.swallow.end";
18475             clip_to: "disclip";
18476             type: SWALLOW;
18477             description { state: "default" 0.0;
18478                fixed: 1 0;
18479                align: 1.0 0.5;
18480                aspect: 1.0 1.0;
18481                aspect_preference: VERTICAL;
18482                rel1 {
18483                   relative: 1.0  0.0;
18484                   offset:   -5    4;
18485                }
18486                rel2 {
18487                   relative: 1.0  1.0;
18488                   offset:   -5   -5;
18489                }
18490             }
18491          }
18492          part { name: "elm.text";
18493             clip_to: "disclip";
18494             type:           TEXT;
18495             effect:         SOFT_SHADOW;
18496             mouse_events:   0;
18497             scale: 1;
18498             description {
18499                state: "default" 0.0;
18500 //               min: 16 16;
18501                rel1 {
18502                   to_x:     "elm.swallow.icon";
18503                   relative: 1.0  0.0;
18504                   offset:   0 4;
18505                }
18506                rel2 {
18507                   to_x:     "elm.swallow.end";
18508                   relative: 0.0  1.0;
18509                   offset:   -1 -5;
18510                }
18511                color: 0 0 0 255;
18512                color3: 0 0 0 0;
18513                text {
18514                   font: "Sans";
18515                   size: 10;
18516                   min: 1 1;
18517 //                  min: 0 1;
18518                   align: -1.0 0.5;
18519                   text_class: "list_item";
18520                }
18521             }
18522             description { state: "selected" 0.0;
18523                inherit: "default" 0.0;
18524                color: 224 224 224 255;
18525                color3: 0 0 0 64;
18526             }
18527          }
18528          part { name: "fg1";
18529             clip_to: "disclip";
18530             mouse_events: 0;
18531             description { state: "default" 0.0;
18532                visible: 0;
18533                color: 255 255 255 0;
18534                rel1.to: "bg";
18535                rel2.relative: 1.0 0.5;
18536                rel2.to: "bg";
18537                image {
18538                   normal: "bt_sm_hilight.png";
18539                   border: 6 6 6 0;
18540                }
18541             }
18542             description { state: "selected" 0.0;
18543                inherit: "default" 0.0;
18544                visible: 1;
18545                color: 255 255 255 255;
18546             }
18547          }
18548          part { name: "fg2";
18549             clip_to: "disclip";
18550             mouse_events: 0;
18551             description { state: "default" 0.0;
18552                visible: 0;
18553                color: 255 255 255 0;
18554                rel1.to: "bg";
18555                rel2.to: "bg";
18556                image {
18557                   normal: "bt_sm_shine.png";
18558                   border: 6 6 6 0;
18559                }
18560             }
18561             description { state: "selected" 0.0;
18562                inherit: "default" 0.0;
18563                visible: 1;
18564                color: 255 255 255 255;
18565             }
18566          }
18567          part { name: "disclip";
18568             type: RECT;
18569             description { state: "default" 0.0;
18570                rel1.to: "bg";
18571                rel2.to: "bg";
18572             }
18573             description { state: "disabled" 0.0;
18574                inherit: "default" 0.0;
18575                color: 255 255 255 64;
18576             }
18577          }
18578       }
18579       programs {
18580          // signal: elm,state,%s,active
18581          //   a "check" item named %s went active
18582          // signal: elm,state,%s,passive
18583          //   a "check" item named %s went passive
18584          // default is passive
18585          program {
18586             name:    "go_active";
18587             signal:  "elm,state,selected";
18588             source:  "elm";
18589             action:  STATE_SET "selected" 0.0;
18590             target:  "bg";
18591             target:  "fg1";
18592             target:  "fg2";
18593             target:  "elm.text";
18594          }
18595          program {
18596             name:    "go_passive";
18597             signal:  "elm,state,unselected";
18598             source:  "elm";
18599             action:  STATE_SET "default" 0.0;
18600             target:  "bg";
18601             target:  "fg1";
18602             target:  "fg2";
18603             target:  "elm.text";
18604             transition: LINEAR 0.1;
18605          }
18606          program {
18607             name:    "go_disabled";
18608             signal:  "elm,state,disabled";
18609             source:  "elm";
18610             action:  STATE_SET "disabled" 0.0;
18611             target:  "disclip";
18612          }
18613          program {
18614             name:    "go_enabled";
18615             signal:  "elm,state,enabled";
18616             source:  "elm";
18617             action:  STATE_SET "default" 0.0;
18618             target:  "disclip";
18619          }
18620          program {
18621             name:    "expand";
18622             signal:  "mouse,up,1";
18623             source:  "arrow";
18624             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18625          }
18626          program {
18627             name:    "go_expanded";
18628             signal:  "elm,state,expanded";
18629             source:  "elm";
18630             script {
18631                new st[31];
18632                new Float:vl;
18633                get_state(PART:"arrow", st, 30, vl);
18634                set_state(PART:"arrow", "active", vl);
18635             }
18636          }
18637          program {
18638             name:    "go_contracted";
18639             signal:  "elm,state,contracted";
18640             source:  "elm";
18641             script {
18642                new st[31];
18643                new Float:vl;
18644                get_state(PART:"arrow", st, 30, vl);
18645                set_state(PART:"arrow", "default", vl);
18646             }
18647          }
18648          program { name: "to_rtl";
18649             signal: "edje,state,rtl";
18650             source: "edje";
18651             script {
18652                new st[31];
18653                new Float:vl;
18654                get_state(PART:"arrow", st, 30, vl);
18655                if (vl == 0.0) {
18656                   set_state(PART:"arrow", st, 0.1);
18657                }
18658             }
18659          }
18660          program { name: "to_ltr";
18661             signal: "edje,state,ltr";
18662             source: "edje";
18663             script {
18664                new st[31];
18665                new Float:vl;
18666                get_state(PART:"arrow", st, 30, vl);
18667                if (vl == 0.1) {
18668                   set_state(PART:"arrow", st, 0.0);
18669                }
18670             }
18671          }
18672       }
18673    }
18674    group { name: "elm/genlist/tree_compress_odd/default/default";
18675       data.item: "stacking" "below";
18676       data.item: "selectraise" "on";
18677       data.item: "labels" "elm.text";
18678       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18679       data.item: "treesize" "20";
18680 //      data.item: "states" "";
18681       images {
18682          image: "bt_sm_base1.png" COMP;
18683          image: "bt_sm_shine.png" COMP;
18684          image: "bt_sm_hilight.png" COMP;
18685          image: "ilist_2.png" COMP;
18686          image: "icon_arrow_left.png" COMP;
18687          image: "icon_arrow_right.png" COMP;
18688          image: "icon_arrow_down.png" COMP;
18689       }
18690       parts {
18691          part {
18692             name:           "event";
18693             type:           RECT;
18694             repeat_events: 1;
18695             description {
18696                state: "default" 0.0;
18697                color: 0 0 0 0;
18698             }
18699          }
18700          part {
18701             name: "base";
18702             mouse_events: 0;
18703             description {
18704                state: "default" 0.0;
18705                image {
18706                   normal: "ilist_2.png";
18707                   border: 2 2 2 2;
18708                }
18709                fill.smooth: 0;
18710             }
18711          }
18712          part { name: "bg";
18713             clip_to: "disclip";
18714             mouse_events: 0;
18715             description { state: "default" 0.0;
18716                visible: 0;
18717                color: 255 255 255 0;
18718                rel1 {
18719                   relative: 0.0 0.0;
18720                   offset: -5 -5;
18721                }
18722                rel2 {
18723                   relative: 1.0 1.0;
18724                   offset: 4 4;
18725                }
18726                image {
18727                   normal: "bt_sm_base1.png";
18728                   border: 6 6 6 6;
18729                }
18730                image.middle: SOLID;
18731             }
18732             description { state: "selected" 0.0;
18733                inherit: "default" 0.0;
18734                visible: 1;
18735                color: 255 255 255 255;
18736                rel1 {
18737                   relative: 0.0 0.0;
18738                   offset: -2 -2;
18739                }
18740                rel2 {
18741                   relative: 1.0 1.0;
18742                   offset: 1 1;
18743                }
18744             }
18745          }
18746          part { name: "elm.swallow.pad";
18747             type: SWALLOW;
18748             description { state: "default" 0.0;
18749                fixed: 1 0;
18750                align: 0.0 0.5;
18751                rel1 {
18752                   relative: 0.0  0.0;
18753                   offset:   4    4;
18754                }
18755                rel2 {
18756                   relative: 0.0  1.0;
18757                   offset:   4   -5;
18758                }
18759             }
18760          }
18761          part { name: "arrow";
18762             clip_to: "disclip";
18763             ignore_flags: ON_HOLD;
18764             description { state: "default" 0.0;
18765                fixed: 1 0;
18766                align: 0.0 0.5;
18767                aspect: 1.0 1.0;
18768                rel1 {
18769                   to_x: "elm.swallow.pad";
18770                   relative: 1.0  0.0;
18771                   offset:   -1    4;
18772                }
18773                rel2 {
18774                   to_x: "elm.swallow.pad";
18775                   relative: 1.0  1.0;
18776                   offset:   -1   -5;
18777                }
18778                image.normal: "icon_arrow_right.png";
18779             }
18780             description { state: "default" 0.1;
18781                inherit: "default" 0.0;
18782                image.normal: "icon_arrow_left.png";
18783             }
18784             description { state: "active" 0.0;
18785                inherit: "default" 0.0;
18786                image.normal: "icon_arrow_down.png";
18787             }
18788             description { state: "active" 0.1;
18789                inherit: "default" 0.0;
18790                image.normal: "icon_arrow_down.png";
18791             }
18792          }
18793          part { name: "elm.swallow.icon";
18794             clip_to: "disclip";
18795             type: SWALLOW;
18796             description { state: "default" 0.0;
18797                fixed: 1 0;
18798                align: 0.0 0.5;
18799                rel1 {
18800                   to_x: "arrow";
18801                   relative: 1.0  0.0;
18802                   offset:   4    4;
18803                }
18804                rel2 {
18805                   to_x: "arrow";
18806                   relative: 1.0  1.0;
18807                   offset:   4   -5;
18808                }
18809             }
18810          }
18811          part { name: "elm.swallow.end";
18812             clip_to: "disclip";
18813             type: SWALLOW;
18814             description { state: "default" 0.0;
18815                fixed: 1 0;
18816                align: 1.0 0.5;
18817                aspect: 1.0 1.0;
18818                aspect_preference: VERTICAL;
18819                rel1 {
18820                   relative: 1.0  0.0;
18821                   offset:   -5    4;
18822                }
18823                rel2 {
18824                   relative: 1.0  1.0;
18825                   offset:   -5   -5;
18826                }
18827             }
18828          }
18829          part { name: "elm.text";
18830             clip_to: "disclip";
18831             type:           TEXT;
18832             effect:         SOFT_SHADOW;
18833             mouse_events:   0;
18834             scale: 1;
18835             description {
18836                state: "default" 0.0;
18837 //               min: 16 16;
18838                rel1 {
18839                   to_x:     "elm.swallow.icon";
18840                   relative: 1.0  0.0;
18841                   offset:   0 4;
18842                }
18843                rel2 {
18844                   to_x:     "elm.swallow.end";
18845                   relative: 0.0  1.0;
18846                   offset:   -1 -5;
18847                }
18848                color: 0 0 0 255;
18849                color3: 0 0 0 0;
18850                text {
18851                   font: "Sans";
18852                   size: 10;
18853 //                  min: 1 1;
18854                   min: 0 1;
18855                   align: 0.0 0.5;
18856                   text_class: "list_item";
18857                }
18858             }
18859             description { state: "selected" 0.0;
18860                inherit: "default" 0.0;
18861                color: 224 224 224 255;
18862                color3: 0 0 0 64;
18863             }
18864          }
18865          part { name: "fg1";
18866             clip_to: "disclip";
18867             mouse_events: 0;
18868             description { state: "default" 0.0;
18869                visible: 0;
18870                color: 255 255 255 0;
18871                rel1.to: "bg";
18872                rel2.relative: 1.0 0.5;
18873                rel2.to: "bg";
18874                image {
18875                   normal: "bt_sm_hilight.png";
18876                   border: 6 6 6 0;
18877                }
18878             }
18879             description { state: "selected" 0.0;
18880                inherit: "default" 0.0;
18881                visible: 1;
18882                color: 255 255 255 255;
18883             }
18884          }
18885          part { name: "fg2";
18886             clip_to: "disclip";
18887             mouse_events: 0;
18888             description { state: "default" 0.0;
18889                visible: 0;
18890                color: 255 255 255 0;
18891                rel1.to: "bg";
18892                rel2.to: "bg";
18893                image {
18894                   normal: "bt_sm_shine.png";
18895                   border: 6 6 6 0;
18896                }
18897             }
18898             description { state: "selected" 0.0;
18899                inherit: "default" 0.0;
18900                visible: 1;
18901                color: 255 255 255 255;
18902             }
18903          }
18904          part { name: "disclip";
18905             type: RECT;
18906             description { state: "default" 0.0;
18907                rel1.to: "bg";
18908                rel2.to: "bg";
18909             }
18910             description { state: "disabled" 0.0;
18911                inherit: "default" 0.0;
18912                color: 255 255 255 64;
18913             }
18914          }
18915       }
18916       programs {
18917          // signal: elm,state,%s,active
18918          //   a "check" item named %s went active
18919          // signal: elm,state,%s,passive
18920          //   a "check" item named %s went passive
18921          // default is passive
18922          program {
18923             name:    "go_active";
18924             signal:  "elm,state,selected";
18925             source:  "elm";
18926             action:  STATE_SET "selected" 0.0;
18927             target:  "bg";
18928             target:  "fg1";
18929             target:  "fg2";
18930             target:  "elm.text";
18931          }
18932          program {
18933             name:    "go_passive";
18934             signal:  "elm,state,unselected";
18935             source:  "elm";
18936             action:  STATE_SET "default" 0.0;
18937             target:  "bg";
18938             target:  "fg1";
18939             target:  "fg2";
18940             target:  "elm.text";
18941             transition: LINEAR 0.1;
18942          }
18943          program {
18944             name:    "go_disabled";
18945             signal:  "elm,state,disabled";
18946             source:  "elm";
18947             action:  STATE_SET "disabled" 0.0;
18948             target:  "disclip";
18949          }
18950          program {
18951             name:    "go_enabled";
18952             signal:  "elm,state,enabled";
18953             source:  "elm";
18954             action:  STATE_SET "default" 0.0;
18955             target:  "disclip";
18956          }
18957          program {
18958             name:    "expand";
18959             signal:  "mouse,up,1";
18960             source:  "arrow";
18961             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18962          }
18963          program {
18964             name:    "go_expanded";
18965             signal:  "elm,state,expanded";
18966             source:  "elm";
18967             script {
18968                new st[31];
18969                new Float:vl;
18970                get_state(PART:"arrow", st, 30, vl);
18971                set_state(PART:"arrow", "active", vl);
18972             }
18973          }
18974          program {
18975             name:    "go_contracted";
18976             signal:  "elm,state,contracted";
18977             source:  "elm";
18978             script {
18979                new st[31];
18980                new Float:vl;
18981                get_state(PART:"arrow", st, 30, vl);
18982                set_state(PART:"arrow", "default", vl);
18983             }
18984          }
18985          program { name: "to_rtl";
18986             signal: "edje,state,rtl";
18987             source: "edje";
18988             script {
18989                new st[31];
18990                new Float:vl;
18991                get_state(PART:"arrow", st, 30, vl);
18992                if (vl == 0.0) {
18993                   set_state(PART:"arrow", st, 0.1);
18994                }
18995             }
18996          }
18997          program { name: "to_ltr";
18998             signal: "edje,state,ltr";
18999             source: "edje";
19000             script {
19001                new st[31];
19002                new Float:vl;
19003                get_state(PART:"arrow", st, 30, vl);
19004                if (vl == 0.1) {
19005                   set_state(PART:"arrow", st, 0.0);
19006                }
19007             }
19008          }
19009       }
19010    }
19011
19012    group { name: "elm/genlist/item/default_style/default";
19013        styles
19014        {
19015            style { name: "genlist_style";
19016                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19017                tag:  "br" "\n";
19018                tag:  "ps" "ps";
19019                tag:  "hilight" "+ font=Sans:style=Bold";
19020                tag:  "b" "+ font=Sans:style=Bold";
19021                tag:  "tab" "\t";
19022            }
19023            style { name: "genlist_selected_style";
19024                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19025                tag:  "br" "\n";
19026                tag:  "ps" "ps";
19027                tag:  "hilight" "+ font=Sans:style=Bold";
19028                tag:  "b" "+ font=Sans:style=Bold";
19029                tag:  "tab" "\t";
19030            }
19031        }
19032        data.item: "stacking" "above";
19033        data.item: "selectraise" "on";
19034        data.item: "labels" "elm.text";
19035        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19036        data.item: "treesize" "20";
19037        images {
19038            image: "bt_sm_base1.png" COMP;
19039            image: "bt_sm_shine.png" COMP;
19040            image: "bt_sm_hilight.png" COMP;
19041            image: "ilist_1.png" COMP;
19042            image: "ilist_item_shadow.png" COMP;
19043        }
19044        parts {
19045            part {
19046                name:           "event";
19047                type:           RECT;
19048                repeat_events: 1;
19049                description {
19050                    state: "default" 0.0;
19051                    color: 0 0 0 0;
19052                }
19053            }
19054            part {
19055                name: "base_sh";
19056                mouse_events: 0;
19057                description {
19058                    state: "default" 0.0;
19059                    align: 0.0 0.0;
19060                    min: 0 10;
19061                    fixed: 1 1;
19062                    rel1 {
19063                        to: "base";
19064                        relative: 0.0 1.0;
19065                        offset: 0 0;
19066                    }
19067                    rel2 {
19068                        to: "base";
19069                        relative: 1.0 1.0;
19070                        offset: -1 0;
19071                    }
19072                    image {
19073                        normal: "ilist_item_shadow.png";
19074                    }
19075                    fill.smooth: 0;
19076                }
19077            }
19078            part {
19079                name: "base";
19080                mouse_events: 0;
19081                description {
19082                    state: "default" 0.0;
19083                    min: 16 28;
19084                    image {
19085                        normal: "ilist_1.png";
19086                        border: 2 2 2 2;
19087                    }
19088                    fill.smooth: 0;
19089                }
19090            }
19091            part { name: "bg";
19092                clip_to: "disclip";
19093                mouse_events: 0;
19094                description { state: "default" 0.0;
19095                    visible: 0;
19096                    color: 255 255 255 0;
19097                    rel1 {
19098                        relative: 0.0 0.0;
19099                        offset: -5 -5;
19100                    }
19101                    rel2 {
19102                        relative: 1.0 1.0;
19103                        offset: 4 4;
19104                    }
19105                    image {
19106                        normal: "bt_sm_base1.png";
19107                        border: 6 6 6 6;
19108                    }
19109                    image.middle: SOLID;
19110                }
19111                description { state: "selected" 0.0;
19112                    inherit: "default" 0.0;
19113                    visible: 1;
19114                    color: 255 255 255 255;
19115                    rel1 {
19116                        relative: 0.0 0.0;
19117                        offset: -2 -2;
19118                    }
19119                    rel2 {
19120                        relative: 1.0 1.0;
19121                        offset: 1 1;
19122                    }
19123                }
19124            }
19125            part { name: "elm.swallow.pad";
19126                type: SWALLOW;
19127                description { state: "default" 0.0;
19128                    fixed: 1 0;
19129                    align: 0.0 0.5;
19130                    rel1 {
19131                        relative: 0.0  0.0;
19132                        offset:   4    4;
19133                    }
19134                    rel2 {
19135                        relative: 0.0  1.0;
19136                        offset:   4   -5;
19137                    }
19138                }
19139            }
19140            part { name: "elm.swallow.icon";
19141                clip_to: "disclip";
19142                type: SWALLOW;
19143                description { state: "default" 0.0;
19144                    fixed: 1 0;
19145                    align: 0.0 0.5;
19146                    rel1 {
19147                        to_x: "elm.swallow.pad";
19148                        relative: 1.0  0.0;
19149                        offset:   -1    4;
19150                    }
19151                    rel2 {
19152                        to_x: "elm.swallow.pad";
19153                        relative: 1.0  1.0;
19154                        offset:   -1   -5;
19155                    }
19156                }
19157            }
19158            part { name: "elm.swallow.end";
19159                clip_to: "disclip";
19160                type: SWALLOW;
19161                description { state: "default" 0.0;
19162                    fixed: 1 0;
19163                    align: 1.0 0.5;
19164                    aspect: 1.0 1.0;
19165                    aspect_preference: VERTICAL;
19166                    rel1 {
19167                        relative: 1.0  0.0;
19168                        offset:   -5    4;
19169                    }
19170                    rel2 {
19171                        relative: 1.0  1.0;
19172                        offset:   -5   -5;
19173                    }
19174                }
19175            }
19176            part { name: "elm.text";
19177                clip_to: "disclip";
19178                type: TEXTBLOCK;
19179                mouse_events: 0;
19180                scale: 1;
19181                description {
19182                    state: "default" 0.0;
19183                    align: 0.0 0.5;
19184                    fixed: 0 1;
19185                    rel1 {
19186                        to_x: "elm.swallow.icon";
19187                        to_y: "base";
19188                        relative: 1.0  0.5;
19189                        offset:   0 4;
19190                    }
19191                    rel2 {
19192                        to_x: "elm.swallow.end";
19193                        to_y: "base";
19194                        relative: 0.0  0.5;
19195                        offset:   -1 -5;
19196                    }
19197                    text {
19198                        style: "genlist_style";
19199                        min: 1 1;
19200                    }
19201                }
19202                description { state: "selected" 0.0;
19203                    inherit: "default" 0.0;
19204                    text {
19205                        style: "genlist_selected_style";
19206                    }
19207                }
19208            }
19209            part { name: "fg1";
19210                clip_to: "disclip";
19211                mouse_events: 0;
19212                description { state: "default" 0.0;
19213                    visible: 0;
19214                    color: 255 255 255 0;
19215                    rel1.to: "bg";
19216                    rel2.relative: 1.0 0.5;
19217                    rel2.to: "bg";
19218                    image {
19219                        normal: "bt_sm_hilight.png";
19220                        border: 6 6 6 0;
19221                    }
19222                }
19223                description { state: "selected" 0.0;
19224                    inherit: "default" 0.0;
19225                    visible: 1;
19226                    color: 255 255 255 255;
19227                }
19228            }
19229            part { name: "fg2";
19230                clip_to: "disclip";
19231                mouse_events: 0;
19232                description { state: "default" 0.0;
19233                    visible: 0;
19234                    color: 255 255 255 0;
19235                    rel1.to: "bg";
19236                    rel2.to: "bg";
19237                    image {
19238                        normal: "bt_sm_shine.png";
19239                        border: 6 6 6 0;
19240                    }
19241                }
19242                description { state: "selected" 0.0;
19243                    inherit: "default" 0.0;
19244                    visible: 1;
19245                    color: 255 255 255 255;
19246                }
19247            }
19248            part { name: "disclip";
19249                type: RECT;
19250                description { state: "default" 0.0;
19251                    rel1.to: "bg";
19252                    rel2.to: "bg";
19253                }
19254                description { state: "disabled" 0.0;
19255                    inherit: "default" 0.0;
19256                    color: 255 255 255 64;
19257                }
19258            }
19259        }
19260        programs {
19261            // signal: elm,state,%s,active
19262            //   a "check" item named %s went active
19263            // signal: elm,state,%s,passive
19264            //   a "check" item named %s went passive
19265            // default is passive
19266            program {
19267                name:    "go_active";
19268                signal:  "elm,state,selected";
19269                source:  "elm";
19270                action:  STATE_SET "selected" 0.0;
19271                target:  "bg";
19272                target:  "fg1";
19273                target:  "fg2";
19274                target:  "elm.text";
19275            }
19276            program {
19277                name:    "go_passive";
19278                signal:  "elm,state,unselected";
19279                source:  "elm";
19280                action:  STATE_SET "default" 0.0;
19281                target:  "bg";
19282                target:  "fg1";
19283                target:  "fg2";
19284                target:  "elm.text";
19285                transition: LINEAR 0.1;
19286            }
19287            program {
19288                name:    "go_disabled";
19289                signal:  "elm,state,disabled";
19290                source:  "elm";
19291                action:  STATE_SET "disabled" 0.0;
19292                target:  "disclip";
19293            }
19294            program {
19295                name:    "go_enabled";
19296                signal:  "elm,state,enabled";
19297                source:  "elm";
19298                action:  STATE_SET "default" 0.0;
19299                target:  "disclip";
19300            }
19301        }
19302    }
19303    group { name: "elm/genlist/item_odd/default_style/default";
19304        data.item: "stacking" "below";
19305        data.item: "selectraise" "on";
19306        data.item: "labels" "elm.text";
19307        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19308        data.item: "treesize" "20";
19309        images {
19310            image: "bt_sm_base1.png" COMP;
19311            image: "bt_sm_shine.png" COMP;
19312            image: "bt_sm_hilight.png" COMP;
19313            image: "ilist_2.png" COMP;
19314        }
19315        parts {
19316            part { name: "event";
19317                type: RECT;
19318                repeat_events: 1;
19319                description {
19320                    state: "default" 0.0;
19321                    color: 0 0 0 0;
19322                }
19323            }
19324            part {
19325                name: "base";
19326                mouse_events: 0;
19327                description {
19328                    state: "default" 0.0;
19329                    min: 16 28;
19330                    image {
19331                        normal: "ilist_2.png";
19332                        border: 2 2 2 2;
19333                    }
19334                    fill.smooth: 0;
19335                }
19336            }
19337            part { name: "bg";
19338                clip_to: "disclip";
19339                mouse_events: 0;
19340                description { state: "default" 0.0;
19341                    visible: 0;
19342                    color: 255 255 255 0;
19343                    rel1 {
19344                        relative: 0.0 0.0;
19345                        offset: -5 -5;
19346                    }
19347                    rel2 {
19348                        relative: 1.0 1.0;
19349                        offset: 4 4;
19350                    }
19351                    image {
19352                        normal: "bt_sm_base1.png";
19353                        border: 6 6 6 6;
19354                    }
19355                    image.middle: SOLID;
19356                }
19357                description { state: "selected" 0.0;
19358                    inherit: "default" 0.0;
19359                    visible: 1;
19360                    color: 255 255 255 255;
19361                    rel1 {
19362                        relative: 0.0 0.0;
19363                        offset: -2 -2;
19364                    }
19365                    rel2 {
19366                        relative: 1.0 1.0;
19367                        offset: 1 1;
19368                    }
19369                }
19370            }
19371            part { name: "elm.swallow.pad";
19372                type: SWALLOW;
19373                description { state: "default" 0.0;
19374                    fixed: 1 0;
19375                    align: 0.0 0.5;
19376                    rel1 {
19377                        relative: 0.0  0.0;
19378                        offset:   4    4;
19379                    }
19380                    rel2 {
19381                        relative: 0.0  1.0;
19382                        offset:   4   -5;
19383                    }
19384                }
19385            }
19386            part { name: "elm.swallow.icon";
19387                clip_to: "disclip";
19388                type: SWALLOW;
19389                description { state: "default" 0.0;
19390                    fixed: 1 0;
19391                    align: 0.0 0.5;
19392                    rel1 {
19393                        to_x: "elm.swallow.pad";
19394                        relative: 1.0  0.0;
19395                        offset:   -1    4;
19396                    }
19397                    rel2 {
19398                        to_x: "elm.swallow.pad";
19399                        relative: 1.0  1.0;
19400                        offset:   -1   -5;
19401                    }
19402                }
19403            }
19404            part { name: "elm.swallow.end";
19405                clip_to: "disclip";
19406                type:          SWALLOW;
19407                description { state:    "default" 0.0;
19408                    fixed: 1 0;
19409                    align:    1.0 0.5;
19410                    aspect: 1.0 1.0;
19411                    aspect_preference: VERTICAL;
19412                    rel1 {
19413                        relative: 1.0  0.0;
19414                        offset:   -5    4;
19415                    }
19416                    rel2 {
19417                        relative: 1.0  1.0;
19418                        offset:   -5   -5;
19419                    }
19420                }
19421            }
19422            part { name: "elm.text";
19423                clip_to: "disclip";
19424                type:           TEXTBLOCK;
19425                mouse_events:   0;
19426                scale: 1;
19427                description {
19428                    state: "default" 0.0;
19429                    align: 0.0 0.5;
19430                    fixed: 0 1;
19431                    rel1 {
19432                        to_x: "elm.swallow.icon";
19433                        to_y: "base";
19434                        relative: 1.0  0.5;
19435                        offset:   0 4;
19436                    }
19437                    rel2 {
19438                        to_x: "elm.swallow.end";
19439                        to_y: "base";
19440                        relative: 0.0  0.5;
19441                        offset:   -1 -5;
19442                    }
19443                    text {
19444                        style: "genlist_style";
19445                        min: 1 1;
19446                    }
19447                }
19448                description { state: "selected" 0.0;
19449                    inherit: "default" 0.0;
19450                    text {
19451                        style: "genlist_selected_style";
19452                    }
19453                }
19454            }
19455            part { name: "fg1";
19456                clip_to: "disclip";
19457                mouse_events: 0;
19458                description { state: "default" 0.0;
19459                    visible: 0;
19460                    color: 255 255 255 0;
19461                    rel1.to: "bg";
19462                    rel2.relative: 1.0 0.5;
19463                    rel2.to: "bg";
19464                    image {
19465                        normal: "bt_sm_hilight.png";
19466                        border: 6 6 6 0;
19467                    }
19468                }
19469                description { state: "selected" 0.0;
19470                    inherit: "default" 0.0;
19471                    visible: 1;
19472                    color: 255 255 255 255;
19473                }
19474            }
19475            part { name: "fg2";
19476                clip_to: "disclip";
19477                mouse_events: 0;
19478                description { state: "default" 0.0;
19479                    visible: 0;
19480                    color: 255 255 255 0;
19481                    rel1.to: "bg";
19482                    rel2.to: "bg";
19483                    image {
19484                        normal: "bt_sm_shine.png";
19485                        border: 6 6 6 0;
19486                    }
19487                }
19488                description { state: "selected" 0.0;
19489                    inherit: "default" 0.0;
19490                    visible: 1;
19491                    color: 255 255 255 255;
19492                }
19493            }
19494            part { name: "disclip";
19495                type: RECT;
19496                description { state: "default" 0.0;
19497                    rel1.to: "bg";
19498                    rel2.to: "bg";
19499                }
19500                description { state: "disabled" 0.0;
19501                    inherit: "default" 0.0;
19502                    color: 255 255 255 64;
19503                }
19504            }
19505        }
19506        programs {
19507            // signal: elm,state,%s,active
19508            //   a "check" item named %s went active
19509            // signal: elm,state,%s,passive
19510            //   a "check" item named %s went passive
19511            // default is passive
19512            program {
19513                name:    "go_active";
19514                signal:  "elm,state,selected";
19515                source:  "elm";
19516                action:  STATE_SET "selected" 0.0;
19517                target:  "bg";
19518                target:  "fg1";
19519                target:  "fg2";
19520                target:  "elm.text";
19521            }
19522            program {
19523                name:    "go_passive";
19524                signal:  "elm,state,unselected";
19525                source:  "elm";
19526                action:  STATE_SET "default" 0.0;
19527                target:  "bg";
19528                target:  "fg1";
19529                target:  "fg2";
19530                target:  "elm.text";
19531                transition: LINEAR 0.1;
19532            }
19533            program {
19534                name:    "go_disabled";
19535                signal:  "elm,state,disabled";
19536                source:  "elm";
19537                action:  STATE_SET "disabled" 0.0;
19538                target:  "disclip";
19539            }
19540            program {
19541                name:    "go_enabled";
19542                signal:  "elm,state,enabled";
19543                source:  "elm";
19544                action:  STATE_SET "default" 0.0;
19545                target:  "disclip";
19546            }
19547        }
19548    }
19549
19550    group { name: "elm/genlist/tree/default_style/default";
19551        data.item: "stacking" "above";
19552        data.item: "selectraise" "on";
19553        data.item: "labels" "elm.text";
19554        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19555        data.item: "treesize" "20";
19556        images {
19557            image: "bt_sm_base1.png" COMP;
19558            image: "bt_sm_shine.png" COMP;
19559            image: "bt_sm_hilight.png" COMP;
19560            image: "ilist_1.png" COMP;
19561            image: "ilist_item_shadow.png" COMP;
19562            image: "icon_arrow_right.png" COMP;
19563            image: "icon_arrow_down.png" COMP;
19564        }
19565        parts {
19566            part {
19567                name:           "event";
19568                type:           RECT;
19569                repeat_events: 1;
19570                description {
19571                    state: "default" 0.0;
19572                    color: 0 0 0 0;
19573                }
19574            }
19575            part {
19576                name: "base_sh";
19577                mouse_events: 0;
19578                description {
19579                    state: "default" 0.0;
19580                    align: 0.0 0.0;
19581                    min: 0 10;
19582                    fixed: 1 1;
19583                    rel1 {
19584                        to: "base";
19585                        relative: 0.0 1.0;
19586                        offset: 0 0;
19587                    }
19588                    rel2 {
19589                        to: "base";
19590                        relative: 1.0 1.0;
19591                        offset: -1 0;
19592                    }
19593                    image {
19594                        normal: "ilist_item_shadow.png";
19595                    }
19596                    fill.smooth: 0;
19597                }
19598            }
19599            part {
19600                name: "base";
19601                mouse_events: 0;
19602                description {
19603                    state: "default" 0.0;
19604                    min: 16 28;
19605                    image {
19606                        normal: "ilist_1.png";
19607                        border: 2 2 2 2;
19608                    }
19609                    fill.smooth: 0;
19610                }
19611            }
19612            part { name: "bg";
19613                clip_to: "disclip";
19614                mouse_events: 0;
19615                description { state: "default" 0.0;
19616                    visible: 0;
19617                    color: 255 255 255 0;
19618                    rel1 {
19619                        relative: 0.0 0.0;
19620                        offset: -5 -5;
19621                    }
19622                    rel2 {
19623                        relative: 1.0 1.0;
19624                        offset: 4 4;
19625                    }
19626                    image {
19627                        normal: "bt_sm_base1.png";
19628                        border: 6 6 6 6;
19629                    }
19630                    image.middle: SOLID;
19631                }
19632                description { state: "selected" 0.0;
19633                    inherit: "default" 0.0;
19634                    visible: 1;
19635                    color: 255 255 255 255;
19636                    rel1 {
19637                        relative: 0.0 0.0;
19638                        offset: -2 -2;
19639                    }
19640                    rel2 {
19641                        relative: 1.0 1.0;
19642                        offset: 1 1;
19643                    }
19644                }
19645            }
19646            part { name: "elm.swallow.pad";
19647                type: SWALLOW;
19648                description { state: "default" 0.0;
19649                    fixed: 1 0;
19650                    align: 0.0 0.5;
19651                    rel1 {
19652                        relative: 0.0  0.0;
19653                        offset:   4    4;
19654                    }
19655                    rel2 {
19656                        relative: 0.0  1.0;
19657                        offset:   4   -5;
19658                    }
19659                }
19660            }
19661            part { name: "arrow";
19662                clip_to: "disclip";
19663                ignore_flags: ON_HOLD;
19664                description { state: "default" 0.0;
19665                    fixed: 1 0;
19666                    align: 0.0 0.5;
19667                    aspect: 1.0 1.0;
19668                    rel1 {
19669                        to_x: "elm.swallow.pad";
19670                        relative: 1.0  0.0;
19671                        offset:   -1    4;
19672                    }
19673                    rel2 {
19674                        to_x: "elm.swallow.pad";
19675                        relative: 1.0  1.0;
19676                        offset:   -1   -5;
19677                    }
19678                    image.normal: "icon_arrow_right.png";
19679                }
19680                description { state: "active" 0.0;
19681                    inherit: "default" 0.0;
19682                    image.normal: "icon_arrow_down.png";
19683                }
19684            }
19685            part { name: "elm.swallow.icon";
19686                clip_to: "disclip";
19687                type: SWALLOW;
19688                description { state: "default" 0.0;
19689                    fixed: 1 0;
19690                    align: 0.0 0.5;
19691                    rel1 {
19692                        to_x: "arrow";
19693                        relative: 1.0  0.0;
19694                        offset:   4    4;
19695                    }
19696                    rel2 {
19697                        to_x: "arrow";
19698                        relative: 1.0  1.0;
19699                        offset:   4   -5;
19700                    }
19701                }
19702            }
19703            part { name: "elm.swallow.end";
19704                clip_to: "disclip";
19705                type: SWALLOW;
19706                description { state: "default" 0.0;
19707                    fixed: 1 0;
19708                    align: 1.0 0.5;
19709                    aspect: 1.0 1.0;
19710                    aspect_preference: VERTICAL;
19711                    rel1 {
19712                        relative: 1.0  0.0;
19713                        offset:   -5    4;
19714                    }
19715                    rel2 {
19716                        relative: 1.0  1.0;
19717                        offset:   -5   -5;
19718                    }
19719                }
19720            }
19721            part { name: "elm.text";
19722                clip_to: "disclip";
19723                type:           TEXTBLOCK;
19724                effect:         SOFT_SHADOW;
19725                mouse_events:   0;
19726                scale: 1;
19727                description {
19728                    state: "default" 0.0;
19729                    align: 0.0 0.5;
19730                    fixed: 0 1;
19731                    rel1 {
19732                        to_x:     "elm.swallow.icon";
19733                        to_y: "base";
19734                        relative: 1.0  0.5;
19735                        offset:   0 4;
19736                    }
19737                    rel2 {
19738                        to_x:     "elm.swallow.end";
19739                        to_y: "base";
19740                        relative: 0.0  0.5;
19741                        offset:   -1 -5;
19742                    }
19743                    text {
19744                        style: "genlist_style";
19745                        min: 1 1;
19746                    }
19747                }
19748                description { state: "selected" 0.0;
19749                    inherit: "default" 0.0;
19750                    text {
19751                        style: "genlist_selected_style";
19752                    }
19753                }
19754            }
19755            part { name: "fg1";
19756                clip_to: "disclip";
19757                mouse_events: 0;
19758                description { state: "default" 0.0;
19759                    visible: 0;
19760                    color: 255 255 255 0;
19761                    rel1.to: "bg";
19762                    rel2.relative: 1.0 0.5;
19763                    rel2.to: "bg";
19764                    image {
19765                        normal: "bt_sm_hilight.png";
19766                        border: 6 6 6 0;
19767                    }
19768                }
19769                description { state: "selected" 0.0;
19770                    inherit: "default" 0.0;
19771                    visible: 1;
19772                    color: 255 255 255 255;
19773                }
19774            }
19775            part { name: "fg2";
19776                clip_to: "disclip";
19777                mouse_events: 0;
19778                description { state: "default" 0.0;
19779                    visible: 0;
19780                    color: 255 255 255 0;
19781                    rel1.to: "bg";
19782                    rel2.to: "bg";
19783                    image {
19784                        normal: "bt_sm_shine.png";
19785                        border: 6 6 6 0;
19786                    }
19787                }
19788                description { state: "selected" 0.0;
19789                    inherit: "default" 0.0;
19790                    visible: 1;
19791                    color: 255 255 255 255;
19792                }
19793            }
19794            part { name: "disclip";
19795                type: RECT;
19796                description { state: "default" 0.0;
19797                    rel1.to: "bg";
19798                    rel2.to: "bg";
19799                }
19800                description { state: "disabled" 0.0;
19801                    inherit: "default" 0.0;
19802                    color: 255 255 255 64;
19803                }
19804            }
19805        }
19806        programs {
19807            // signal: elm,state,%s,active
19808            //   a "check" item named %s went active
19809            // signal: elm,state,%s,passive
19810            //   a "check" item named %s went passive
19811            // default is passive
19812            program {
19813                name:    "go_active";
19814                signal:  "elm,state,selected";
19815                source:  "elm";
19816                action:  STATE_SET "selected" 0.0;
19817                target:  "bg";
19818                target:  "fg1";
19819                target:  "fg2";
19820                target:  "elm.text";
19821            }
19822            program {
19823                name:    "go_passive";
19824                signal:  "elm,state,unselected";
19825                source:  "elm";
19826                action:  STATE_SET "default" 0.0;
19827                target:  "bg";
19828                target:  "fg1";
19829                target:  "fg2";
19830                target:  "elm.text";
19831                transition: LINEAR 0.1;
19832            }
19833            program {
19834                name:    "go_disabled";
19835                signal:  "elm,state,disabled";
19836                source:  "elm";
19837                action:  STATE_SET "disabled" 0.0;
19838                target:  "disclip";
19839            }
19840            program {
19841                name:    "go_enabled";
19842                signal:  "elm,state,enabled";
19843                source:  "elm";
19844                action:  STATE_SET "default" 0.0;
19845                target:  "disclip";
19846            }
19847            program {
19848                name:    "expand";
19849                signal:  "mouse,up,1";
19850                source:  "arrow";
19851                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19852            }
19853            program {
19854                name:    "go_expanded";
19855                signal:  "elm,state,expanded";
19856                source:  "elm";
19857                action:  STATE_SET "active" 0.0;
19858                target:  "arrow";
19859            }
19860            program {
19861                name:    "go_contracted";
19862                signal:  "elm,state,contracted";
19863                source:  "elm";
19864                action:  STATE_SET "default" 0.0;
19865                target:  "arrow";
19866            }
19867        }
19868    }
19869    group { name: "elm/genlist/tree_odd/default_style/default";
19870        data.item: "stacking" "below";
19871        data.item: "selectraise" "on";
19872        data.item: "labels" "elm.text";
19873        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19874        data.item: "treesize" "20";
19875        images {
19876            image: "bt_sm_base1.png" COMP;
19877            image: "bt_sm_shine.png" COMP;
19878            image: "bt_sm_hilight.png" COMP;
19879            image: "ilist_2.png" COMP;
19880            image: "icon_arrow_right.png" COMP;
19881            image: "icon_arrow_down.png" COMP;
19882        }
19883        parts {
19884            part {
19885                name:           "event";
19886                type:           RECT;
19887                repeat_events: 1;
19888                description {
19889                    state: "default" 0.0;
19890                    color: 0 0 0 0;
19891                }
19892            }
19893            part {
19894                name: "base";
19895                mouse_events: 0;
19896                description {
19897                    state: "default" 0.0;
19898                    min: 16 28;
19899                    image {
19900                        normal: "ilist_2.png";
19901                        border: 2 2 2 2;
19902                    }
19903                    fill.smooth: 0;
19904                }
19905            }
19906            part { name: "bg";
19907                clip_to: "disclip";
19908                mouse_events: 0;
19909                description { state: "default" 0.0;
19910                    visible: 0;
19911                    color: 255 255 255 0;
19912                    rel1 {
19913                        relative: 0.0 0.0;
19914                        offset: -5 -5;
19915                    }
19916                    rel2 {
19917                        relative: 1.0 1.0;
19918                        offset: 4 4;
19919                    }
19920                    image {
19921                        normal: "bt_sm_base1.png";
19922                        border: 6 6 6 6;
19923                    }
19924                    image.middle: SOLID;
19925                }
19926                description { state: "selected" 0.0;
19927                    inherit: "default" 0.0;
19928                    visible: 1;
19929                    color: 255 255 255 255;
19930                    rel1 {
19931                        relative: 0.0 0.0;
19932                        offset: -2 -2;
19933                    }
19934                    rel2 {
19935                        relative: 1.0 1.0;
19936                        offset: 1 1;
19937                    }
19938                }
19939            }
19940            part { name: "elm.swallow.pad";
19941                type: SWALLOW;
19942                description { state: "default" 0.0;
19943                    fixed: 1 0;
19944                    align: 0.0 0.5;
19945                    rel1 {
19946                        relative: 0.0  0.0;
19947                        offset:   4    4;
19948                    }
19949                    rel2 {
19950                        relative: 0.0  1.0;
19951                        offset:   4   -5;
19952                    }
19953                }
19954            }
19955            part { name: "arrow";
19956                clip_to: "disclip";
19957                ignore_flags: ON_HOLD;
19958                description { state: "default" 0.0;
19959                    fixed: 1 0;
19960                    align: 0.0 0.5;
19961                    aspect: 1.0 1.0;
19962                    rel1 {
19963                        to_x: "elm.swallow.pad";
19964                        relative: 1.0  0.0;
19965                        offset:   -1    4;
19966                    }
19967                    rel2 {
19968                        to_x: "elm.swallow.pad";
19969                        relative: 1.0  1.0;
19970                        offset:   -1   -5;
19971                    }
19972                    image.normal: "icon_arrow_right.png";
19973                }
19974                description { state: "active" 0.0;
19975                    inherit: "default" 0.0;
19976                    image.normal: "icon_arrow_down.png";
19977                }
19978            }
19979            part { name: "elm.swallow.icon";
19980                clip_to: "disclip";
19981                type: SWALLOW;
19982                description { state: "default" 0.0;
19983                    fixed: 1 0;
19984                    align: 0.0 0.5;
19985                    rel1 {
19986                        to_x: "arrow";
19987                        relative: 1.0  0.0;
19988                        offset:   4    4;
19989                    }
19990                    rel2 {
19991                        to_x: "arrow";
19992                        relative: 1.0  1.0;
19993                        offset:   4   -5;
19994                    }
19995                }
19996            }
19997            part { name: "elm.swallow.end";
19998                clip_to: "disclip";
19999                type: SWALLOW;
20000                description { state: "default" 0.0;
20001                    fixed: 1 0;
20002                    align: 1.0 0.5;
20003                    aspect: 1.0 1.0;
20004                    aspect_preference: VERTICAL;
20005                    rel1 {
20006                        relative: 1.0  0.0;
20007                        offset:   -5    4;
20008                    }
20009                    rel2 {
20010                        relative: 1.0  1.0;
20011                        offset:   -5   -5;
20012                    }
20013                }
20014            }
20015            part { name: "elm.text";
20016                clip_to: "disclip";
20017                type:           TEXTBLOCK;
20018                effect:         SOFT_SHADOW;
20019                mouse_events:   0;
20020                scale: 1;
20021                description {
20022                    state: "default" 0.0;
20023                    align: 0.0 0.5;
20024                    fixed: 0 1;
20025                    rel1 {
20026                        to_x:     "elm.swallow.icon";
20027                        to_y: "base";
20028                        relative: 1.0  0.5;
20029                        offset:   0 4;
20030                    }
20031                    rel2 {
20032                        to_x:     "elm.swallow.end";
20033                        to_y: "base";
20034                        relative: 0.0  0.5;
20035                        offset:   -1 -5;
20036                    }
20037                    text {
20038                        style: "genlist_style";
20039                        min: 1 1;
20040                    }
20041                }
20042                description { state: "selected" 0.0;
20043                    inherit: "default" 0.0;
20044                    text {
20045                        style: "genlist_selected_style";
20046                    }
20047                }
20048            }
20049            part { name: "fg1";
20050                clip_to: "disclip";
20051                mouse_events: 0;
20052                description { state: "default" 0.0;
20053                    visible: 0;
20054                    color: 255 255 255 0;
20055                    rel1.to: "bg";
20056                    rel2.relative: 1.0 0.5;
20057                    rel2.to: "bg";
20058                    image {
20059                        normal: "bt_sm_hilight.png";
20060                        border: 6 6 6 0;
20061                    }
20062                }
20063                description { state: "selected" 0.0;
20064                    inherit: "default" 0.0;
20065                    visible: 1;
20066                    color: 255 255 255 255;
20067                }
20068            }
20069            part { name: "fg2";
20070                clip_to: "disclip";
20071                mouse_events: 0;
20072                description { state: "default" 0.0;
20073                    visible: 0;
20074                    color: 255 255 255 0;
20075                    rel1.to: "bg";
20076                    rel2.to: "bg";
20077                    image {
20078                        normal: "bt_sm_shine.png";
20079                        border: 6 6 6 0;
20080                    }
20081                }
20082                description { state: "selected" 0.0;
20083                    inherit: "default" 0.0;
20084                    visible: 1;
20085                    color: 255 255 255 255;
20086                }
20087            }
20088            part { name: "disclip";
20089                type: RECT;
20090                description { state: "default" 0.0;
20091                    rel1.to: "bg";
20092                    rel2.to: "bg";
20093                }
20094                description { state: "disabled" 0.0;
20095                    inherit: "default" 0.0;
20096                    color: 255 255 255 64;
20097                }
20098            }
20099        }
20100        programs {
20101            // signal: elm,state,%s,active
20102            //   a "check" item named %s went active
20103            // signal: elm,state,%s,passive
20104            //   a "check" item named %s went passive
20105            // default is passive
20106            program {
20107                name:    "go_active";
20108                signal:  "elm,state,selected";
20109                source:  "elm";
20110                action:  STATE_SET "selected" 0.0;
20111                target:  "bg";
20112                target:  "fg1";
20113                target:  "fg2";
20114                target:  "elm.text";
20115            }
20116            program {
20117                name:    "go_passive";
20118                signal:  "elm,state,unselected";
20119                source:  "elm";
20120                action:  STATE_SET "default" 0.0;
20121                target:  "bg";
20122                target:  "fg1";
20123                target:  "fg2";
20124                target:  "elm.text";
20125                transition: LINEAR 0.1;
20126            }
20127            program {
20128                name:    "go_disabled";
20129                signal:  "elm,state,disabled";
20130                source:  "elm";
20131                action:  STATE_SET "disabled" 0.0;
20132                target:  "disclip";
20133            }
20134            program {
20135                name:    "go_enabled";
20136                signal:  "elm,state,enabled";
20137                source:  "elm";
20138                action:  STATE_SET "default" 0.0;
20139                target:  "disclip";
20140            }
20141            program {
20142                name:    "expand";
20143                signal:  "mouse,up,1";
20144                source:  "arrow";
20145                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20146            }
20147            program {
20148                name:    "go_expanded";
20149                signal:  "elm,state,expanded";
20150                source:  "elm";
20151                action:  STATE_SET "active" 0.0;
20152                target:  "arrow";
20153            }
20154            program {
20155                name:    "go_contracted";
20156                signal:  "elm,state,contracted";
20157                source:  "elm";
20158                action:  STATE_SET "default" 0.0;
20159                target:  "arrow";
20160            }
20161        }
20162    }
20163
20164
20165    group { name: "elm/genlist/item/double_label/default";
20166       data.item: "stacking" "above";
20167       data.item: "selectraise" "on";
20168       data.item: "labels" "elm.text elm.text.sub";
20169       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20170       data.item: "treesize" "20";
20171 //      data.item: "states" "";
20172       images {
20173          image: "bt_sm_base1.png" COMP;
20174          image: "bt_sm_shine.png" COMP;
20175          image: "bt_sm_hilight.png" COMP;
20176          image: "ilist_1.png" COMP;
20177          image: "ilist_item_shadow.png" COMP;
20178       }
20179       parts {
20180          part {
20181             name:           "event";
20182             type:           RECT;
20183             repeat_events: 1;
20184             description {
20185                state: "default" 0.0;
20186                color: 0 0 0 0;
20187             }
20188          }
20189          part {
20190             name: "base_sh";
20191             mouse_events: 0;
20192             description {
20193                state: "default" 0.0;
20194                align: 0.0 0.0;
20195                min: 0 10;
20196                fixed: 1 1;
20197                rel1 {
20198                   to: "base";
20199                   relative: 0.0 1.0;
20200                   offset: 0 0;
20201                }
20202                rel2 {
20203                   to: "base";
20204                   relative: 1.0 1.0;
20205                   offset: -1 0;
20206                }
20207                image {
20208                   normal: "ilist_item_shadow.png";
20209                }
20210                fill.smooth: 0;
20211             }
20212          }
20213          part {
20214             name: "base";
20215             mouse_events: 0;
20216             description {
20217                state: "default" 0.0;
20218                image {
20219                   normal: "ilist_1.png";
20220                   border: 2 2 2 2;
20221                }
20222                fill.smooth: 0;
20223             }
20224          }
20225          part { name: "bg";
20226             clip_to: "disclip";
20227             mouse_events: 0;
20228             description { state: "default" 0.0;
20229                visible: 0;
20230                color: 255 255 255 0;
20231                rel1 {
20232                   relative: 0.0 0.0;
20233                   offset: -5 -5;
20234                }
20235                rel2 {
20236                   relative: 1.0 1.0;
20237                   offset: 4 4;
20238                }
20239                image {
20240                   normal: "bt_sm_base1.png";
20241                   border: 6 6 6 6;
20242                }
20243                image.middle: SOLID;
20244             }
20245             description { state: "selected" 0.0;
20246                inherit: "default" 0.0;
20247                visible: 1;
20248                color: 255 255 255 255;
20249                rel1 {
20250                   relative: 0.0 0.0;
20251                   offset: -2 -2;
20252                }
20253                rel2 {
20254                   relative: 1.0 1.0;
20255                   offset: 1 1;
20256                }
20257             }
20258          }
20259          part { name: "elm.swallow.pad";
20260             type: SWALLOW;
20261             description { state: "default" 0.0;
20262                fixed: 1 0;
20263                align: 0.0 0.5;
20264                rel1 {
20265                   relative: 0.0  0.0;
20266                   offset:   4    4;
20267                }
20268                rel2 {
20269                   relative: 0.0  1.0;
20270                   offset:   4   -5;
20271                }
20272             }
20273          }
20274          part { name: "elm.swallow.icon";
20275             clip_to: "disclip";
20276             type: SWALLOW;
20277             description { state: "default" 0.0;
20278                fixed: 1 0;
20279                align: 0.0 0.5;
20280                rel1 {
20281                   to_x: "elm.swallow.pad";
20282                   relative: 1.0  0.0;
20283                   offset:   -1    4;
20284                }
20285                rel2 {
20286                   to_x: "elm.swallow.pad";
20287                   relative: 1.0  1.0;
20288                   offset:   -1   -5;
20289                }
20290             }
20291          }
20292          part { name: "elm.swallow.end";
20293             clip_to: "disclip";
20294             type: SWALLOW;
20295             description { state: "default" 0.0;
20296                fixed: 1 0;
20297                align: 1.0 0.5;
20298                aspect: 1.0 1.0;
20299                aspect_preference: VERTICAL;
20300                rel1 {
20301                   relative: 1.0  0.0;
20302                   offset:   -5    4;
20303                }
20304                rel2 {
20305                   relative: 1.0  1.0;
20306                   offset:   -5   -5;
20307                }
20308             }
20309          }
20310          part { name: "elm.text";
20311             clip_to: "disclip";
20312             type:           TEXT;
20313             effect:         SOFT_SHADOW;
20314             mouse_events:   0;
20315             scale: 1;
20316             description {
20317                state: "default" 0.0;
20318 //               min: 16 16;
20319                rel1 {
20320                   to_x:     "elm.swallow.icon";
20321                   relative: 1.0  0.0;
20322                   offset:   0 4;
20323                }
20324                rel2 {
20325                   to_x:     "elm.swallow.end";
20326                   relative: 0.0  0.5;
20327                   offset:   -1 -5;
20328                }
20329                color: 0 0 0 255;
20330                color3: 0 0 0 0;
20331                text {
20332                   font: "Sans";
20333                   size: 10;
20334                   min: 1 1;
20335 //                  min: 0 1;
20336                   align: 0.0 0.5;
20337                   text_class: "list_item";
20338                }
20339             }
20340             description { state: "selected" 0.0;
20341                inherit: "default" 0.0;
20342                color: 224 224 224 255;
20343                color3: 0 0 0 64;
20344             }
20345          }
20346          part { name: "elm.text.sub";
20347             clip_to: "disclip";
20348             type:           TEXT;
20349             mouse_events:   0;
20350             scale: 1;
20351             description {
20352                state: "default" 0.0;
20353 //               min: 16 16;
20354                rel1 {
20355                   to_x:     "elm.swallow.icon";
20356                   relative: 1.0  0.5;
20357                   offset:   0 4;
20358                }
20359                rel2 {
20360                   to_x:     "elm.swallow.end";
20361                   relative: 0.0  1.0;
20362                   offset:   -1 -5;
20363                }
20364                color: 0 0 0 128;
20365                color3: 0 0 0 0;
20366                text {
20367                   font: "Sans";
20368                   size: 8;
20369                   min: 1 1;
20370 //                  min: 0 1;
20371                   align: 0.0 0.5;
20372                   text_class: "list_item";
20373                }
20374             }
20375             description { state: "selected" 0.0;
20376                inherit: "default" 0.0;
20377                color: 128 128 128 255;
20378                color3: 0 0 0 32;
20379             }
20380          }
20381          part { name: "fg1";
20382             clip_to: "disclip";
20383             mouse_events: 0;
20384             description { state: "default" 0.0;
20385                visible: 0;
20386                color: 255 255 255 0;
20387                rel1.to: "bg";
20388                rel2.relative: 1.0 0.5;
20389                rel2.to: "bg";
20390                image {
20391                   normal: "bt_sm_hilight.png";
20392                   border: 6 6 6 0;
20393                }
20394             }
20395             description { state: "selected" 0.0;
20396                inherit: "default" 0.0;
20397                visible: 1;
20398                color: 255 255 255 255;
20399             }
20400          }
20401          part { name: "fg2";
20402             clip_to: "disclip";
20403             mouse_events: 0;
20404             description { state: "default" 0.0;
20405                visible: 0;
20406                color: 255 255 255 0;
20407                rel1.to: "bg";
20408                rel2.to: "bg";
20409                image {
20410                   normal: "bt_sm_shine.png";
20411                   border: 6 6 6 0;
20412                }
20413             }
20414             description { state: "selected" 0.0;
20415                inherit: "default" 0.0;
20416                visible: 1;
20417                color: 255 255 255 255;
20418             }
20419          }
20420          part { name: "disclip";
20421             type: RECT;
20422             description { state: "default" 0.0;
20423                rel1.to: "bg";
20424                rel2.to: "bg";
20425             }
20426             description { state: "disabled" 0.0;
20427                inherit: "default" 0.0;
20428                color: 255 255 255 64;
20429             }
20430          }
20431       }
20432       programs {
20433          // signal: elm,state,%s,active
20434          //   a "check" item named %s went active
20435          // signal: elm,state,%s,passive
20436          //   a "check" item named %s went passive
20437          // default is passive
20438          program {
20439             name:    "go_active";
20440             signal:  "elm,state,selected";
20441             source:  "elm";
20442             action:  STATE_SET "selected" 0.0;
20443             target:  "bg";
20444             target:  "fg1";
20445             target:  "fg2";
20446             target:  "elm.text";
20447             target:  "elm.text.sub";
20448          }
20449          program {
20450             name:    "go_passive";
20451             signal:  "elm,state,unselected";
20452             source:  "elm";
20453             action:  STATE_SET "default" 0.0;
20454             target:  "bg";
20455             target:  "fg1";
20456             target:  "fg2";
20457             target:  "elm.text";
20458             target:  "elm.text.sub";
20459             transition: LINEAR 0.1;
20460          }
20461          program {
20462             name:    "go_disabled";
20463             signal:  "elm,state,disabled";
20464             source:  "elm";
20465             action:  STATE_SET "disabled" 0.0;
20466             target:  "disclip";
20467          }
20468          program {
20469             name:    "go_enabled";
20470             signal:  "elm,state,enabled";
20471             source:  "elm";
20472             action:  STATE_SET "default" 0.0;
20473             target:  "disclip";
20474          }
20475       }
20476    }
20477    group { name: "elm/genlist/item_compress/double_label/default";
20478       data.item: "stacking" "above";
20479       data.item: "selectraise" "on";
20480       data.item: "labels" "elm.text elm.text.sub";
20481       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20482       data.item: "treesize" "20";
20483 //      data.item: "states" "";
20484       images {
20485          image: "bt_sm_base1.png" COMP;
20486          image: "bt_sm_shine.png" COMP;
20487          image: "bt_sm_hilight.png" COMP;
20488          image: "ilist_1.png" COMP;
20489          image: "ilist_item_shadow.png" COMP;
20490       }
20491       parts {
20492          part {
20493             name:           "event";
20494             type:           RECT;
20495             repeat_events: 1;
20496             description {
20497                state: "default" 0.0;
20498                color: 0 0 0 0;
20499             }
20500          }
20501          part {
20502             name: "base_sh";
20503             mouse_events: 0;
20504             description {
20505                state: "default" 0.0;
20506                align: 0.0 0.0;
20507                min: 0 10;
20508                fixed: 1 1;
20509                rel1 {
20510                   to: "base";
20511                   relative: 0.0 1.0;
20512                   offset: 0 0;
20513                }
20514                rel2 {
20515                   to: "base";
20516                   relative: 1.0 1.0;
20517                   offset: -1 0;
20518                }
20519                image {
20520                   normal: "ilist_item_shadow.png";
20521                }
20522                fill.smooth: 0;
20523             }
20524          }
20525          part {
20526             name: "base";
20527             mouse_events: 0;
20528             description {
20529                state: "default" 0.0;
20530                image {
20531                   normal: "ilist_1.png";
20532                   border: 2 2 2 2;
20533                }
20534                fill.smooth: 0;
20535             }
20536          }
20537          part { name: "bg";
20538             clip_to: "disclip";
20539             mouse_events: 0;
20540             description { state: "default" 0.0;
20541                visible: 0;
20542                color: 255 255 255 0;
20543                rel1 {
20544                   relative: 0.0 0.0;
20545                   offset: -5 -5;
20546                }
20547                rel2 {
20548                   relative: 1.0 1.0;
20549                   offset: 4 4;
20550                }
20551                image {
20552                   normal: "bt_sm_base1.png";
20553                   border: 6 6 6 6;
20554                }
20555                image.middle: SOLID;
20556             }
20557             description { state: "selected" 0.0;
20558                inherit: "default" 0.0;
20559                visible: 1;
20560                color: 255 255 255 255;
20561                rel1 {
20562                   relative: 0.0 0.0;
20563                   offset: -2 -2;
20564                }
20565                rel2 {
20566                   relative: 1.0 1.0;
20567                   offset: 1 1;
20568                }
20569             }
20570          }
20571          part { name: "elm.swallow.pad";
20572             type: SWALLOW;
20573             description { state: "default" 0.0;
20574                fixed: 1 0;
20575                align: 0.0 0.5;
20576                rel1 {
20577                   relative: 0.0  0.0;
20578                   offset:   4    4;
20579                }
20580                rel2 {
20581                   relative: 0.0  1.0;
20582                   offset:   4   -5;
20583                }
20584             }
20585          }
20586          part { name: "elm.swallow.icon";
20587             clip_to: "disclip";
20588             type: SWALLOW;
20589             description { state: "default" 0.0;
20590                fixed: 1 0;
20591                align: 0.0 0.5;
20592                rel1 {
20593                   to_x: "elm.swallow.pad";
20594                   relative: 1.0  0.0;
20595                   offset:   -1    4;
20596                }
20597                rel2 {
20598                   to_x: "elm.swallow.pad";
20599                   relative: 1.0  1.0;
20600                   offset:   -1   -5;
20601                }
20602             }
20603          }
20604          part { name: "elm.swallow.end";
20605             clip_to: "disclip";
20606             type: SWALLOW;
20607             description { state: "default" 0.0;
20608                fixed: 1 0;
20609                align: 1.0 0.5;
20610                aspect: 1.0 1.0;
20611                aspect_preference: VERTICAL;
20612                rel1 {
20613                   relative: 1.0  0.0;
20614                   offset:   -5    4;
20615                }
20616                rel2 {
20617                   relative: 1.0  1.0;
20618                   offset:   -5   -5;
20619                }
20620             }
20621          }
20622          part { name: "elm.text";
20623             clip_to: "disclip";
20624             type:           TEXT;
20625             effect:         SOFT_SHADOW;
20626             mouse_events:   0;
20627             scale: 1;
20628             description {
20629                state: "default" 0.0;
20630 //               min: 16 16;
20631                rel1 {
20632                   to_x:     "elm.swallow.icon";
20633                   relative: 1.0  0.0;
20634                   offset:   0 4;
20635                }
20636                rel2 {
20637                   to_x:     "elm.swallow.end";
20638                   relative: 0.0  0.5;
20639                   offset:   -1 -5;
20640                }
20641                color: 0 0 0 255;
20642                color3: 0 0 0 0;
20643                text {
20644                   font: "Sans";
20645                   size: 10;
20646 //                  min: 1 1;
20647                   min: 0 1;
20648                   align: 0.0 0.5;
20649                   text_class: "list_item";
20650                }
20651             }
20652             description { state: "selected" 0.0;
20653                inherit: "default" 0.0;
20654                color: 224 224 224 255;
20655                color3: 0 0 0 64;
20656             }
20657          }
20658          part { name: "elm.text.sub";
20659             clip_to: "disclip";
20660             type:           TEXT;
20661             mouse_events:   0;
20662             scale: 1;
20663             description {
20664                state: "default" 0.0;
20665 //               min: 16 16;
20666                rel1 {
20667                   to_x:     "elm.swallow.icon";
20668                   relative: 1.0  0.5;
20669                   offset:   0 4;
20670                }
20671                rel2 {
20672                   to_x:     "elm.swallow.end";
20673                   relative: 0.0  1.0;
20674                   offset:   -1 -5;
20675                }
20676                color: 0 0 0 128;
20677                color3: 0 0 0 0;
20678                text {
20679                   font: "Sans";
20680                   size: 8;
20681 //                  min: 1 1;
20682                   min: 0 1;
20683                   align: 0.0 0.5;
20684                   text_class: "list_item";
20685                }
20686             }
20687             description { state: "selected" 0.0;
20688                inherit: "default" 0.0;
20689                color: 128 128 128 255;
20690                color3: 0 0 0 32;
20691             }
20692          }
20693          part { name: "fg1";
20694             clip_to: "disclip";
20695             mouse_events: 0;
20696             description { state: "default" 0.0;
20697                visible: 0;
20698                color: 255 255 255 0;
20699                rel1.to: "bg";
20700                rel2.relative: 1.0 0.5;
20701                rel2.to: "bg";
20702                image {
20703                   normal: "bt_sm_hilight.png";
20704                   border: 6 6 6 0;
20705                }
20706             }
20707             description { state: "selected" 0.0;
20708                inherit: "default" 0.0;
20709                visible: 1;
20710                color: 255 255 255 255;
20711             }
20712          }
20713          part { name: "fg2";
20714             clip_to: "disclip";
20715             mouse_events: 0;
20716             description { state: "default" 0.0;
20717                visible: 0;
20718                color: 255 255 255 0;
20719                rel1.to: "bg";
20720                rel2.to: "bg";
20721                image {
20722                   normal: "bt_sm_shine.png";
20723                   border: 6 6 6 0;
20724                }
20725             }
20726             description { state: "selected" 0.0;
20727                inherit: "default" 0.0;
20728                visible: 1;
20729                color: 255 255 255 255;
20730             }
20731          }
20732          part { name: "disclip";
20733             type: RECT;
20734             description { state: "default" 0.0;
20735                rel1.to: "bg";
20736                rel2.to: "bg";
20737             }
20738             description { state: "disabled" 0.0;
20739                inherit: "default" 0.0;
20740                color: 255 255 255 64;
20741             }
20742          }
20743       }
20744       programs {
20745          // signal: elm,state,%s,active
20746          //   a "check" item named %s went active
20747          // signal: elm,state,%s,passive
20748          //   a "check" item named %s went passive
20749          // default is passive
20750          program {
20751             name:    "go_active";
20752             signal:  "elm,state,selected";
20753             source:  "elm";
20754             action:  STATE_SET "selected" 0.0;
20755             target:  "bg";
20756             target:  "fg1";
20757             target:  "fg2";
20758             target:  "elm.text";
20759             target:  "elm.text.sub";
20760          }
20761          program {
20762             name:    "go_passive";
20763             signal:  "elm,state,unselected";
20764             source:  "elm";
20765             action:  STATE_SET "default" 0.0;
20766             target:  "bg";
20767             target:  "fg1";
20768             target:  "fg2";
20769             target:  "elm.text";
20770             target:  "elm.text.sub";
20771             transition: LINEAR 0.1;
20772          }
20773          program {
20774             name:    "go_disabled";
20775             signal:  "elm,state,disabled";
20776             source:  "elm";
20777             action:  STATE_SET "disabled" 0.0;
20778             target:  "disclip";
20779          }
20780          program {
20781             name:    "go_enabled";
20782             signal:  "elm,state,enabled";
20783             source:  "elm";
20784             action:  STATE_SET "default" 0.0;
20785             target:  "disclip";
20786          }
20787       }
20788    }
20789    group { name: "elm/genlist/item_odd/double_label/default";
20790       data.item: "stacking" "below";
20791       data.item: "selectraise" "on";
20792       data.item: "labels" "elm.text elm.text.sub";
20793       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20794       data.item: "treesize" "20";
20795 //      data.item: "states" "";
20796       images {
20797          image: "bt_sm_base1.png" COMP;
20798          image: "bt_sm_shine.png" COMP;
20799          image: "bt_sm_hilight.png" COMP;
20800          image: "ilist_2.png" COMP;
20801       }
20802       parts {
20803          part { name: "event";
20804             type: RECT;
20805             repeat_events: 1;
20806             description {
20807                state: "default" 0.0;
20808                color: 0 0 0 0;
20809             }
20810          }
20811          part {
20812             name: "base";
20813             mouse_events: 0;
20814             description {
20815                state: "default" 0.0;
20816                image {
20817                   normal: "ilist_2.png";
20818                   border: 2 2 2 2;
20819                }
20820                fill.smooth: 0;
20821             }
20822          }
20823          part { name: "bg";
20824             clip_to: "disclip";
20825             mouse_events: 0;
20826             description { state: "default" 0.0;
20827                visible: 0;
20828                color: 255 255 255 0;
20829                rel1 {
20830                   relative: 0.0 0.0;
20831                   offset: -5 -5;
20832                }
20833                rel2 {
20834                   relative: 1.0 1.0;
20835                   offset: 4 4;
20836                }
20837                image {
20838                   normal: "bt_sm_base1.png";
20839                   border: 6 6 6 6;
20840                }
20841                image.middle: SOLID;
20842             }
20843             description { state: "selected" 0.0;
20844                inherit: "default" 0.0;
20845                visible: 1;
20846                color: 255 255 255 255;
20847                rel1 {
20848                   relative: 0.0 0.0;
20849                   offset: -2 -2;
20850                }
20851                rel2 {
20852                   relative: 1.0 1.0;
20853                   offset: 1 1;
20854                }
20855             }
20856          }
20857          part { name: "elm.swallow.pad";
20858             type: SWALLOW;
20859             description { state: "default" 0.0;
20860                fixed: 1 0;
20861                align: 0.0 0.5;
20862                rel1 {
20863                   relative: 0.0  0.0;
20864                   offset:   4    4;
20865                }
20866                rel2 {
20867                   relative: 0.0  1.0;
20868                   offset:   4   -5;
20869                }
20870             }
20871          }
20872          part { name: "elm.swallow.icon";
20873             clip_to: "disclip";
20874             type: SWALLOW;
20875             description { state: "default" 0.0;
20876                fixed: 1 0;
20877                align: 0.0 0.5;
20878                rel1 {
20879                   to_x: "elm.swallow.pad";
20880                   relative: 1.0  0.0;
20881                   offset:   -1    4;
20882                }
20883                rel2 {
20884                   to_x: "elm.swallow.pad";
20885                   relative: 1.0  1.0;
20886                   offset:   -1   -5;
20887                }
20888             }
20889          }
20890          part { name: "elm.swallow.end";
20891             clip_to: "disclip";
20892             type:          SWALLOW;
20893             description { state:    "default" 0.0;
20894                fixed: 1 0;
20895                align:    1.0 0.5;
20896                aspect: 1.0 1.0;
20897                aspect_preference: VERTICAL;
20898                rel1 {
20899                   relative: 1.0  0.0;
20900                   offset:   -5    4;
20901                }
20902                rel2 {
20903                   relative: 1.0  1.0;
20904                   offset:   -5   -5;
20905                }
20906             }
20907          }
20908          part { name: "elm.text";
20909             clip_to: "disclip";
20910             type:           TEXT;
20911             effect:         SOFT_SHADOW;
20912             mouse_events:   0;
20913             scale: 1;
20914             description {
20915                state: "default" 0.0;
20916 //               min: 16 16;
20917                rel1 {
20918                   to_x:     "elm.swallow.icon";
20919                   relative: 1.0  0.0;
20920                   offset:   0 4;
20921                }
20922                rel2 {
20923                   to_x:     "elm.swallow.end";
20924                   relative: 0.0  0.5;
20925                   offset:   -1 -5;
20926                }
20927                color: 0 0 0 255;
20928                color3: 0 0 0 0;
20929                text {
20930                   font: "Sans";
20931                   size: 10;
20932                   min: 1 1;
20933 //                  min: 0 1;
20934                   align: 0.0 0.5;
20935                   text_class: "list_item";
20936                }
20937             }
20938             description { state: "selected" 0.0;
20939                inherit: "default" 0.0;
20940                color: 224 224 224 255;
20941                color3: 0 0 0 64;
20942             }
20943          }
20944          part { name: "elm.text.sub";
20945             clip_to: "disclip";
20946             type:           TEXT;
20947             mouse_events:   0;
20948             scale: 1;
20949             description {
20950                state: "default" 0.0;
20951 //               min: 16 16;
20952                rel1 {
20953                   to_x:     "elm.swallow.icon";
20954                   relative: 1.0  0.5;
20955                   offset:   0 4;
20956                }
20957                rel2 {
20958                   to_x:     "elm.swallow.end";
20959                   relative: 0.0  1.0;
20960                   offset:   -1 -5;
20961                }
20962                color: 0 0 0 128;
20963                color3: 0 0 0 0;
20964                text {
20965                   font: "Sans";
20966                   size: 8;
20967                   min: 1 1;
20968 //                  min: 0 1;
20969                   align: 0.0 0.5;
20970                   text_class: "list_item";
20971                }
20972             }
20973             description { state: "selected" 0.0;
20974                inherit: "default" 0.0;
20975                color: 128 128 128 255;
20976                color3: 0 0 0 32;
20977             }
20978          }
20979          part { name: "fg1";
20980             clip_to: "disclip";
20981             mouse_events: 0;
20982             description { state: "default" 0.0;
20983                visible: 0;
20984                color: 255 255 255 0;
20985                rel1.to: "bg";
20986                rel2.relative: 1.0 0.5;
20987                rel2.to: "bg";
20988                image {
20989                   normal: "bt_sm_hilight.png";
20990                   border: 6 6 6 0;
20991                }
20992             }
20993             description { state: "selected" 0.0;
20994                inherit: "default" 0.0;
20995                visible: 1;
20996                color: 255 255 255 255;
20997             }
20998          }
20999          part { name: "fg2";
21000             clip_to: "disclip";
21001             mouse_events: 0;
21002             description { state: "default" 0.0;
21003                visible: 0;
21004                color: 255 255 255 0;
21005                rel1.to: "bg";
21006                rel2.to: "bg";
21007                image {
21008                   normal: "bt_sm_shine.png";
21009                   border: 6 6 6 0;
21010                }
21011             }
21012             description { state: "selected" 0.0;
21013                inherit: "default" 0.0;
21014                visible: 1;
21015                color: 255 255 255 255;
21016             }
21017          }
21018          part { name: "disclip";
21019             type: RECT;
21020             description { state: "default" 0.0;
21021                rel1.to: "bg";
21022                rel2.to: "bg";
21023             }
21024             description { state: "disabled" 0.0;
21025                inherit: "default" 0.0;
21026                color: 255 255 255 64;
21027             }
21028          }
21029       }
21030       programs {
21031          // signal: elm,state,%s,active
21032          //   a "check" item named %s went active
21033          // signal: elm,state,%s,passive
21034          //   a "check" item named %s went passive
21035          // default is passive
21036          program {
21037             name:    "go_active";
21038             signal:  "elm,state,selected";
21039             source:  "elm";
21040             action:  STATE_SET "selected" 0.0;
21041             target:  "bg";
21042             target:  "fg1";
21043             target:  "fg2";
21044             target:  "elm.text";
21045             target:  "elm.text.sub";
21046          }
21047          program {
21048             name:    "go_passive";
21049             signal:  "elm,state,unselected";
21050             source:  "elm";
21051             action:  STATE_SET "default" 0.0;
21052             target:  "bg";
21053             target:  "fg1";
21054             target:  "fg2";
21055             target:  "elm.text";
21056             target:  "elm.text.sub";
21057             transition: LINEAR 0.1;
21058          }
21059          program {
21060             name:    "go_disabled";
21061             signal:  "elm,state,disabled";
21062             source:  "elm";
21063             action:  STATE_SET "disabled" 0.0;
21064             target:  "disclip";
21065          }
21066          program {
21067             name:    "go_enabled";
21068             signal:  "elm,state,enabled";
21069             source:  "elm";
21070             action:  STATE_SET "default" 0.0;
21071             target:  "disclip";
21072          }
21073       }
21074    }
21075    group { name: "elm/genlist/item_compress_odd/double_label/default";
21076       data.item: "stacking" "below";
21077       data.item: "selectraise" "on";
21078       data.item: "labels" "elm.text elm.text.sub";
21079       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21080       data.item: "treesize" "20";
21081 //      data.item: "states" "";
21082       images {
21083          image: "bt_sm_base1.png" COMP;
21084          image: "bt_sm_shine.png" COMP;
21085          image: "bt_sm_hilight.png" COMP;
21086          image: "ilist_2.png" COMP;
21087       }
21088       parts {
21089          part { name: "event";
21090             type: RECT;
21091             repeat_events: 1;
21092             description {
21093                state: "default" 0.0;
21094                color: 0 0 0 0;
21095             }
21096          }
21097          part {
21098             name: "base";
21099             mouse_events: 0;
21100             description {
21101                state: "default" 0.0;
21102                image {
21103                   normal: "ilist_2.png";
21104                   border: 2 2 2 2;
21105                }
21106                fill.smooth: 0;
21107             }
21108          }
21109          part { name: "bg";
21110             clip_to: "disclip";
21111             mouse_events: 0;
21112             description { state: "default" 0.0;
21113                visible: 0;
21114                color: 255 255 255 0;
21115                rel1 {
21116                   relative: 0.0 0.0;
21117                   offset: -5 -5;
21118                }
21119                rel2 {
21120                   relative: 1.0 1.0;
21121                   offset: 4 4;
21122                }
21123                image {
21124                   normal: "bt_sm_base1.png";
21125                   border: 6 6 6 6;
21126                }
21127                image.middle: SOLID;
21128             }
21129             description { state: "selected" 0.0;
21130                inherit: "default" 0.0;
21131                visible: 1;
21132                color: 255 255 255 255;
21133                rel1 {
21134                   relative: 0.0 0.0;
21135                   offset: -2 -2;
21136                }
21137                rel2 {
21138                   relative: 1.0 1.0;
21139                   offset: 1 1;
21140                }
21141             }
21142          }
21143          part { name: "elm.swallow.pad";
21144             type: SWALLOW;
21145             description { state: "default" 0.0;
21146                fixed: 1 0;
21147                align: 0.0 0.5;
21148                rel1 {
21149                   relative: 0.0  0.0;
21150                   offset:   4    4;
21151                }
21152                rel2 {
21153                   relative: 0.0  1.0;
21154                   offset:   4   -5;
21155                }
21156             }
21157          }
21158          part { name: "elm.swallow.icon";
21159             clip_to: "disclip";
21160             type: SWALLOW;
21161             description { state: "default" 0.0;
21162                fixed: 1 0;
21163                align: 0.0 0.5;
21164                rel1 {
21165                   to_x: "elm.swallow.pad";
21166                   relative: 1.0  0.0;
21167                   offset:   -1    4;
21168                }
21169                rel2 {
21170                   to_x: "elm.swallow.pad";
21171                   relative: 1.0  1.0;
21172                   offset:   -1   -5;
21173                }
21174             }
21175          }
21176          part { name: "elm.swallow.end";
21177             clip_to: "disclip";
21178             type:          SWALLOW;
21179             description { state:    "default" 0.0;
21180                fixed: 1 0;
21181                align:    1.0 0.5;
21182                aspect: 1.0 1.0;
21183                aspect_preference: VERTICAL;
21184                rel1 {
21185                   relative: 1.0  0.0;
21186                   offset:   -5    4;
21187                }
21188                rel2 {
21189                   relative: 1.0  1.0;
21190                   offset:   -5   -5;
21191                }
21192             }
21193          }
21194          part { name: "elm.text";
21195             clip_to: "disclip";
21196             type:           TEXT;
21197             effect:         SOFT_SHADOW;
21198             mouse_events:   0;
21199             scale: 1;
21200             description {
21201                state: "default" 0.0;
21202 //               min: 16 16;
21203                rel1 {
21204                   to_x:     "elm.swallow.icon";
21205                   relative: 1.0  0.0;
21206                   offset:   0 4;
21207                }
21208                rel2 {
21209                   to_x:     "elm.swallow.end";
21210                   relative: 0.0  0.5;
21211                   offset:   -1 -5;
21212                }
21213                color: 0 0 0 255;
21214                color3: 0 0 0 0;
21215                text {
21216                   font: "Sans";
21217                   size: 10;
21218 //                  min: 1 1;
21219                   min: 0 1;
21220                   align: 0.0 0.5;
21221                   text_class: "list_item";
21222                }
21223             }
21224             description { state: "selected" 0.0;
21225                inherit: "default" 0.0;
21226                color: 224 224 224 255;
21227                color3: 0 0 0 64;
21228             }
21229          }
21230          part { name: "elm.text.sub";
21231             clip_to: "disclip";
21232             type:           TEXT;
21233             mouse_events:   0;
21234             scale: 1;
21235             description {
21236                state: "default" 0.0;
21237 //               min: 16 16;
21238                rel1 {
21239                   to_x:     "elm.swallow.icon";
21240                   relative: 1.0  0.5;
21241                   offset:   0 4;
21242                }
21243                rel2 {
21244                   to_x:     "elm.swallow.end";
21245                   relative: 0.0  1.0;
21246                   offset:   -1 -5;
21247                }
21248                color: 0 0 0 128;
21249                color3: 0 0 0 0;
21250                text {
21251                   font: "Sans";
21252                   size: 8;
21253 //                  min: 1 1;
21254                   min: 0 1;
21255                   align: 0.0 0.5;
21256                   text_class: "list_item";
21257                }
21258             }
21259             description { state: "selected" 0.0;
21260                inherit: "default" 0.0;
21261                color: 128 128 128 255;
21262                color3: 0 0 0 32;
21263             }
21264          }
21265          part { name: "fg1";
21266             clip_to: "disclip";
21267             mouse_events: 0;
21268             description { state: "default" 0.0;
21269                visible: 0;
21270                color: 255 255 255 0;
21271                rel1.to: "bg";
21272                rel2.relative: 1.0 0.5;
21273                rel2.to: "bg";
21274                image {
21275                   normal: "bt_sm_hilight.png";
21276                   border: 6 6 6 0;
21277                }
21278             }
21279             description { state: "selected" 0.0;
21280                inherit: "default" 0.0;
21281                visible: 1;
21282                color: 255 255 255 255;
21283             }
21284          }
21285          part { name: "fg2";
21286             clip_to: "disclip";
21287             mouse_events: 0;
21288             description { state: "default" 0.0;
21289                visible: 0;
21290                color: 255 255 255 0;
21291                rel1.to: "bg";
21292                rel2.to: "bg";
21293                image {
21294                   normal: "bt_sm_shine.png";
21295                   border: 6 6 6 0;
21296                }
21297             }
21298             description { state: "selected" 0.0;
21299                inherit: "default" 0.0;
21300                visible: 1;
21301                color: 255 255 255 255;
21302             }
21303          }
21304          part { name: "disclip";
21305             type: RECT;
21306             description { state: "default" 0.0;
21307                rel1.to: "bg";
21308                rel2.to: "bg";
21309             }
21310             description { state: "disabled" 0.0;
21311                inherit: "default" 0.0;
21312                color: 255 255 255 64;
21313             }
21314          }
21315       }
21316       programs {
21317          // signal: elm,state,%s,active
21318          //   a "check" item named %s went active
21319          // signal: elm,state,%s,passive
21320          //   a "check" item named %s went passive
21321          // default is passive
21322          program {
21323             name:    "go_active";
21324             signal:  "elm,state,selected";
21325             source:  "elm";
21326             action:  STATE_SET "selected" 0.0;
21327             target:  "bg";
21328             target:  "fg1";
21329             target:  "fg2";
21330             target:  "elm.text";
21331             target:  "elm.text.sub";
21332          }
21333          program {
21334             name:    "go_passive";
21335             signal:  "elm,state,unselected";
21336             source:  "elm";
21337             action:  STATE_SET "default" 0.0;
21338             target:  "bg";
21339             target:  "fg1";
21340             target:  "fg2";
21341             target:  "elm.text";
21342             target:  "elm.text.sub";
21343             transition: LINEAR 0.1;
21344          }
21345          program {
21346             name:    "go_disabled";
21347             signal:  "elm,state,disabled";
21348             source:  "elm";
21349             action:  STATE_SET "disabled" 0.0;
21350             target:  "disclip";
21351          }
21352          program {
21353             name:    "go_enabled";
21354             signal:  "elm,state,enabled";
21355             source:  "elm";
21356             action:  STATE_SET "default" 0.0;
21357             target:  "disclip";
21358          }
21359       }
21360    }
21361
21362    group { name: "elm/genlist/tree/double_label/default";
21363       data.item: "stacking" "above";
21364       data.item: "selectraise" "on";
21365       data.item: "labels" "elm.text elm.text.sub";
21366       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21367       data.item: "treesize" "20";
21368 //      data.item: "states" "";
21369       images {
21370          image: "bt_sm_base1.png" COMP;
21371          image: "bt_sm_shine.png" COMP;
21372          image: "bt_sm_hilight.png" COMP;
21373          image: "ilist_1.png" COMP;
21374          image: "ilist_item_shadow.png" COMP;
21375          image: "icon_arrow_right.png" COMP;
21376          image: "icon_arrow_down.png" COMP;
21377       }
21378       parts {
21379          part {
21380             name:           "event";
21381             type:           RECT;
21382             repeat_events: 1;
21383             description {
21384                state: "default" 0.0;
21385                color: 0 0 0 0;
21386             }
21387          }
21388          part {
21389             name: "base_sh";
21390             mouse_events: 0;
21391             description {
21392                state: "default" 0.0;
21393                align: 0.0 0.0;
21394                min: 0 10;
21395                fixed: 1 1;
21396                rel1 {
21397                   to: "base";
21398                   relative: 0.0 1.0;
21399                   offset: 0 0;
21400                }
21401                rel2 {
21402                   to: "base";
21403                   relative: 1.0 1.0;
21404                   offset: -1 0;
21405                }
21406                image {
21407                   normal: "ilist_item_shadow.png";
21408                }
21409                fill.smooth: 0;
21410             }
21411          }
21412          part {
21413             name: "base";
21414             mouse_events: 0;
21415             description {
21416                state: "default" 0.0;
21417                image {
21418                   normal: "ilist_1.png";
21419                   border: 2 2 2 2;
21420                }
21421                fill.smooth: 0;
21422             }
21423          }
21424          part { name: "bg";
21425             clip_to: "disclip";
21426             mouse_events: 0;
21427             description { state: "default" 0.0;
21428                visible: 0;
21429                color: 255 255 255 0;
21430                rel1 {
21431                   relative: 0.0 0.0;
21432                   offset: -5 -5;
21433                }
21434                rel2 {
21435                   relative: 1.0 1.0;
21436                   offset: 4 4;
21437                }
21438                image {
21439                   normal: "bt_sm_base1.png";
21440                   border: 6 6 6 6;
21441                }
21442                image.middle: SOLID;
21443             }
21444             description { state: "selected" 0.0;
21445                inherit: "default" 0.0;
21446                visible: 1;
21447                color: 255 255 255 255;
21448                rel1 {
21449                   relative: 0.0 0.0;
21450                   offset: -2 -2;
21451                }
21452                rel2 {
21453                   relative: 1.0 1.0;
21454                   offset: 1 1;
21455                }
21456             }
21457          }
21458          part { name: "elm.swallow.pad";
21459             type: SWALLOW;
21460             description { state: "default" 0.0;
21461                fixed: 1 0;
21462                align: 0.0 0.5;
21463                rel1 {
21464                   relative: 0.0  0.0;
21465                   offset:   4    4;
21466                }
21467                rel2 {
21468                   relative: 0.0  1.0;
21469                   offset:   4   -5;
21470                }
21471             }
21472          }
21473          part { name: "arrow";
21474             clip_to: "disclip";
21475             ignore_flags: ON_HOLD;
21476             description { state: "default" 0.0;
21477                fixed: 1 0;
21478                align: 0.0 0.5;
21479                aspect: 1.0 1.0;
21480                rel1 {
21481                   to_x: "elm.swallow.pad";
21482                   relative: 1.0  0.0;
21483                   offset:   -1    4;
21484                }
21485                rel2 {
21486                   to_x: "elm.swallow.pad";
21487                   relative: 1.0  1.0;
21488                   offset:   -1   -5;
21489                }
21490                image.normal: "icon_arrow_right.png";
21491             }
21492             description { state: "active" 0.0;
21493                inherit: "default" 0.0;
21494                image.normal: "icon_arrow_down.png";
21495             }
21496          }
21497          part { name: "elm.swallow.icon";
21498             clip_to: "disclip";
21499             type: SWALLOW;
21500             description { state: "default" 0.0;
21501                fixed: 1 0;
21502                align: 0.0 0.5;
21503                rel1 {
21504                   to_x: "arrow";
21505                   relative: 1.0  0.0;
21506                   offset:   4    4;
21507                }
21508                rel2 {
21509                   to_x: "arrow";
21510                   relative: 1.0  1.0;
21511                   offset:   4   -5;
21512                }
21513             }
21514          }
21515          part { name: "elm.swallow.end";
21516             clip_to: "disclip";
21517             type: SWALLOW;
21518             description { state: "default" 0.0;
21519                fixed: 1 0;
21520                align: 1.0 0.5;
21521                aspect: 1.0 1.0;
21522                aspect_preference: VERTICAL;
21523                rel1 {
21524                   relative: 1.0  0.0;
21525                   offset:   -5    4;
21526                }
21527                rel2 {
21528                   relative: 1.0  1.0;
21529                   offset:   -5   -5;
21530                }
21531             }
21532          }
21533          part { name: "elm.text";
21534             clip_to: "disclip";
21535             type:           TEXT;
21536             effect:         SOFT_SHADOW;
21537             mouse_events:   0;
21538             scale: 1;
21539             description {
21540                state: "default" 0.0;
21541 //               min: 16 16;
21542                rel1 {
21543                   to_x:     "elm.swallow.icon";
21544                   relative: 1.0  0.0;
21545                   offset:   0 4;
21546                }
21547                rel2 {
21548                   to_x:     "elm.swallow.end";
21549                   relative: 0.0  0.5;
21550                   offset:   -1 -5;
21551                }
21552                color: 0 0 0 255;
21553                color3: 0 0 0 0;
21554                text {
21555                   font: "Sans";
21556                   size: 10;
21557                   min: 1 1;
21558 //                  min: 0 1;
21559                   align: 0.0 0.5;
21560                   text_class: "list_item";
21561                }
21562             }
21563             description { state: "selected" 0.0;
21564                inherit: "default" 0.0;
21565                color: 224 224 224 255;
21566                color3: 0 0 0 64;
21567             }
21568          }
21569          part { name: "elm.text.sub";
21570             clip_to: "disclip";
21571             type:           TEXT;
21572             mouse_events:   0;
21573             scale: 1;
21574             description {
21575                state: "default" 0.0;
21576 //               min: 16 16;
21577                rel1 {
21578                   to_x:     "elm.swallow.icon";
21579                   relative: 1.0  0.5;
21580                   offset:   0 4;
21581                }
21582                rel2 {
21583                   to_x:     "elm.swallow.end";
21584                   relative: 0.0  1.0;
21585                   offset:   -1 -5;
21586                }
21587                color: 0 0 0 128;
21588                color3: 0 0 0 0;
21589                text {
21590                   font: "Sans";
21591                   size: 8;
21592                   min: 1 1;
21593 //                  min: 0 1;
21594                   align: 0.0 0.5;
21595                   text_class: "list_item";
21596                }
21597             }
21598             description { state: "selected" 0.0;
21599                inherit: "default" 0.0;
21600                color: 128 128 128 255;
21601                color3: 0 0 0 32;
21602             }
21603          }
21604          part { name: "fg1";
21605             clip_to: "disclip";
21606             mouse_events: 0;
21607             description { state: "default" 0.0;
21608                visible: 0;
21609                color: 255 255 255 0;
21610                rel1.to: "bg";
21611                rel2.relative: 1.0 0.5;
21612                rel2.to: "bg";
21613                image {
21614                   normal: "bt_sm_hilight.png";
21615                   border: 6 6 6 0;
21616                }
21617             }
21618             description { state: "selected" 0.0;
21619                inherit: "default" 0.0;
21620                visible: 1;
21621                color: 255 255 255 255;
21622             }
21623          }
21624          part { name: "fg2";
21625             clip_to: "disclip";
21626             mouse_events: 0;
21627             description { state: "default" 0.0;
21628                visible: 0;
21629                color: 255 255 255 0;
21630                rel1.to: "bg";
21631                rel2.to: "bg";
21632                image {
21633                   normal: "bt_sm_shine.png";
21634                   border: 6 6 6 0;
21635                }
21636             }
21637             description { state: "selected" 0.0;
21638                inherit: "default" 0.0;
21639                visible: 1;
21640                color: 255 255 255 255;
21641             }
21642          }
21643          part { name: "disclip";
21644             type: RECT;
21645             description { state: "default" 0.0;
21646                rel1.to: "bg";
21647                rel2.to: "bg";
21648             }
21649             description { state: "disabled" 0.0;
21650                inherit: "default" 0.0;
21651                color: 255 255 255 64;
21652             }
21653          }
21654       }
21655       programs {
21656          // signal: elm,state,%s,active
21657          //   a "check" item named %s went active
21658          // signal: elm,state,%s,passive
21659          //   a "check" item named %s went passive
21660          // default is passive
21661          program {
21662             name:    "go_active";
21663             signal:  "elm,state,selected";
21664             source:  "elm";
21665             action:  STATE_SET "selected" 0.0;
21666             target:  "bg";
21667             target:  "fg1";
21668             target:  "fg2";
21669             target:  "elm.text";
21670             target:  "elm.text.sub";
21671          }
21672          program {
21673             name:    "go_passive";
21674             signal:  "elm,state,unselected";
21675             source:  "elm";
21676             action:  STATE_SET "default" 0.0;
21677             target:  "bg";
21678             target:  "fg1";
21679             target:  "fg2";
21680             target:  "elm.text";
21681             target:  "elm.text.sub";
21682             transition: LINEAR 0.1;
21683          }
21684          program {
21685             name:    "go_disabled";
21686             signal:  "elm,state,disabled";
21687             source:  "elm";
21688             action:  STATE_SET "disabled" 0.0;
21689             target:  "disclip";
21690          }
21691          program {
21692             name:    "go_enabled";
21693             signal:  "elm,state,enabled";
21694             source:  "elm";
21695             action:  STATE_SET "default" 0.0;
21696             target:  "disclip";
21697          }
21698          program {
21699             name:    "expand";
21700             signal:  "mouse,up,1";
21701             source:  "arrow";
21702             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21703          }
21704          program {
21705             name:    "go_expanded";
21706             signal:  "elm,state,expanded";
21707             source:  "elm";
21708             action:  STATE_SET "active" 0.0;
21709             target:  "arrow";
21710          }
21711          program {
21712             name:    "go_contracted";
21713             signal:  "elm,state,contracted";
21714             source:  "elm";
21715             action:  STATE_SET "default" 0.0;
21716             target:  "arrow";
21717          }
21718       }
21719    }
21720    group { name: "elm/genlist/tree_compress/double_label/default";
21721       data.item: "stacking" "above";
21722       data.item: "selectraise" "on";
21723       data.item: "labels" "elm.text elm.text.sub";
21724       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21725       data.item: "treesize" "20";
21726 //      data.item: "states" "";
21727       images {
21728          image: "bt_sm_base1.png" COMP;
21729          image: "bt_sm_shine.png" COMP;
21730          image: "bt_sm_hilight.png" COMP;
21731          image: "ilist_1.png" COMP;
21732          image: "ilist_item_shadow.png" COMP;
21733          image: "icon_arrow_right.png" COMP;
21734          image: "icon_arrow_down.png" COMP;
21735       }
21736       parts {
21737          part {
21738             name:           "event";
21739             type:           RECT;
21740             repeat_events: 1;
21741             description {
21742                state: "default" 0.0;
21743                color: 0 0 0 0;
21744             }
21745          }
21746          part {
21747             name: "base_sh";
21748             mouse_events: 0;
21749             description {
21750                state: "default" 0.0;
21751                align: 0.0 0.0;
21752                min: 0 10;
21753                fixed: 1 1;
21754                rel1 {
21755                   to: "base";
21756                   relative: 0.0 1.0;
21757                   offset: 0 0;
21758                }
21759                rel2 {
21760                   to: "base";
21761                   relative: 1.0 1.0;
21762                   offset: -1 0;
21763                }
21764                image {
21765                   normal: "ilist_item_shadow.png";
21766                }
21767                fill.smooth: 0;
21768             }
21769          }
21770          part {
21771             name: "base";
21772             mouse_events: 0;
21773             description {
21774                state: "default" 0.0;
21775                image {
21776                   normal: "ilist_1.png";
21777                   border: 2 2 2 2;
21778                }
21779                fill.smooth: 0;
21780             }
21781          }
21782          part { name: "bg";
21783             clip_to: "disclip";
21784             mouse_events: 0;
21785             description { state: "default" 0.0;
21786                visible: 0;
21787                color: 255 255 255 0;
21788                rel1 {
21789                   relative: 0.0 0.0;
21790                   offset: -5 -5;
21791                }
21792                rel2 {
21793                   relative: 1.0 1.0;
21794                   offset: 4 4;
21795                }
21796                image {
21797                   normal: "bt_sm_base1.png";
21798                   border: 6 6 6 6;
21799                }
21800                image.middle: SOLID;
21801             }
21802             description { state: "selected" 0.0;
21803                inherit: "default" 0.0;
21804                visible: 1;
21805                color: 255 255 255 255;
21806                rel1 {
21807                   relative: 0.0 0.0;
21808                   offset: -2 -2;
21809                }
21810                rel2 {
21811                   relative: 1.0 1.0;
21812                   offset: 1 1;
21813                }
21814             }
21815          }
21816          part { name: "elm.swallow.pad";
21817             type: SWALLOW;
21818             description { state: "default" 0.0;
21819                fixed: 1 0;
21820                align: 0.0 0.5;
21821                rel1 {
21822                   relative: 0.0  0.0;
21823                   offset:   4    4;
21824                }
21825                rel2 {
21826                   relative: 0.0  1.0;
21827                   offset:   4   -5;
21828                }
21829             }
21830          }
21831          part { name: "arrow";
21832             clip_to: "disclip";
21833             ignore_flags: ON_HOLD;
21834             description { state: "default" 0.0;
21835                fixed: 1 0;
21836                align: 0.0 0.5;
21837                aspect: 1.0 1.0;
21838                rel1 {
21839                   to_x: "elm.swallow.pad";
21840                   relative: 1.0  0.0;
21841                   offset:   -1    4;
21842                }
21843                rel2 {
21844                   to_x: "elm.swallow.pad";
21845                   relative: 1.0  1.0;
21846                   offset:   -1   -5;
21847                }
21848                image.normal: "icon_arrow_right.png";
21849             }
21850             description { state: "active" 0.0;
21851                inherit: "default" 0.0;
21852                image.normal: "icon_arrow_down.png";
21853             }
21854          }
21855          part { name: "elm.swallow.icon";
21856             clip_to: "disclip";
21857             type: SWALLOW;
21858             description { state: "default" 0.0;
21859                fixed: 1 0;
21860                align: 0.0 0.5;
21861                rel1 {
21862                   to_x: "arrow";
21863                   relative: 1.0  0.0;
21864                   offset:   4    4;
21865                }
21866                rel2 {
21867                   to_x: "arrow";
21868                   relative: 1.0  1.0;
21869                   offset:   4   -5;
21870                }
21871             }
21872          }
21873          part { name: "elm.swallow.end";
21874             clip_to: "disclip";
21875             type: SWALLOW;
21876             description { state: "default" 0.0;
21877                fixed: 1 0;
21878                align: 1.0 0.5;
21879                aspect: 1.0 1.0;
21880                aspect_preference: VERTICAL;
21881                rel1 {
21882                   relative: 1.0  0.0;
21883                   offset:   -5    4;
21884                }
21885                rel2 {
21886                   relative: 1.0  1.0;
21887                   offset:   -5   -5;
21888                }
21889             }
21890          }
21891          part { name: "elm.text";
21892             clip_to: "disclip";
21893             type:           TEXT;
21894             effect:         SOFT_SHADOW;
21895             mouse_events:   0;
21896             scale: 1;
21897             description {
21898                state: "default" 0.0;
21899 //               min: 16 16;
21900                rel1 {
21901                   to_x:     "elm.swallow.icon";
21902                   relative: 1.0  0.0;
21903                   offset:   0 4;
21904                }
21905                rel2 {
21906                   to_x:     "elm.swallow.end";
21907                   relative: 0.0  0.5;
21908                   offset:   -1 -5;
21909                }
21910                color: 0 0 0 255;
21911                color3: 0 0 0 0;
21912                text {
21913                   font: "Sans";
21914                   size: 10;
21915 //                  min: 1 1;
21916                   min: 0 1;
21917                   align: 0.0 0.5;
21918                   text_class: "list_item";
21919                }
21920             }
21921             description { state: "selected" 0.0;
21922                inherit: "default" 0.0;
21923                color: 224 224 224 255;
21924                color3: 0 0 0 64;
21925             }
21926          }
21927          part { name: "elm.text.sub";
21928             clip_to: "disclip";
21929             type:           TEXT;
21930             mouse_events:   0;
21931             scale: 1;
21932             description {
21933                state: "default" 0.0;
21934 //               min: 16 16;
21935                rel1 {
21936                   to_x:     "elm.swallow.icon";
21937                   relative: 1.0  0.5;
21938                   offset:   0 4;
21939                }
21940                rel2 {
21941                   to_x:     "elm.swallow.end";
21942                   relative: 0.0  1.0;
21943                   offset:   -1 -5;
21944                }
21945                color: 0 0 0 128;
21946                color3: 0 0 0 0;
21947                text {
21948                   font: "Sans";
21949                   size: 8;
21950 //                  min: 1 1;
21951                   min: 0 1;
21952                   align: 0.0 0.5;
21953                   text_class: "list_item";
21954                }
21955             }
21956             description { state: "selected" 0.0;
21957                inherit: "default" 0.0;
21958                color: 128 128 128 255;
21959                color3: 0 0 0 32;
21960             }
21961          }
21962          part { name: "fg1";
21963             clip_to: "disclip";
21964             mouse_events: 0;
21965             description { state: "default" 0.0;
21966                visible: 0;
21967                color: 255 255 255 0;
21968                rel1.to: "bg";
21969                rel2.relative: 1.0 0.5;
21970                rel2.to: "bg";
21971                image {
21972                   normal: "bt_sm_hilight.png";
21973                   border: 6 6 6 0;
21974                }
21975             }
21976             description { state: "selected" 0.0;
21977                inherit: "default" 0.0;
21978                visible: 1;
21979                color: 255 255 255 255;
21980             }
21981          }
21982          part { name: "fg2";
21983             clip_to: "disclip";
21984             mouse_events: 0;
21985             description { state: "default" 0.0;
21986                visible: 0;
21987                color: 255 255 255 0;
21988                rel1.to: "bg";
21989                rel2.to: "bg";
21990                image {
21991                   normal: "bt_sm_shine.png";
21992                   border: 6 6 6 0;
21993                }
21994             }
21995             description { state: "selected" 0.0;
21996                inherit: "default" 0.0;
21997                visible: 1;
21998                color: 255 255 255 255;
21999             }
22000          }
22001          part { name: "disclip";
22002             type: RECT;
22003             description { state: "default" 0.0;
22004                rel1.to: "bg";
22005                rel2.to: "bg";
22006             }
22007             description { state: "disabled" 0.0;
22008                inherit: "default" 0.0;
22009                color: 255 255 255 64;
22010             }
22011          }
22012       }
22013       programs {
22014          // signal: elm,state,%s,active
22015          //   a "check" item named %s went active
22016          // signal: elm,state,%s,passive
22017          //   a "check" item named %s went passive
22018          // default is passive
22019          program {
22020             name:    "go_active";
22021             signal:  "elm,state,selected";
22022             source:  "elm";
22023             action:  STATE_SET "selected" 0.0;
22024             target:  "bg";
22025             target:  "fg1";
22026             target:  "fg2";
22027             target:  "elm.text";
22028             target:  "elm.text.sub";
22029          }
22030          program {
22031             name:    "go_passive";
22032             signal:  "elm,state,unselected";
22033             source:  "elm";
22034             action:  STATE_SET "default" 0.0;
22035             target:  "bg";
22036             target:  "fg1";
22037             target:  "fg2";
22038             target:  "elm.text";
22039             target:  "elm.text.sub";
22040             transition: LINEAR 0.1;
22041          }
22042          program {
22043             name:    "go_disabled";
22044             signal:  "elm,state,disabled";
22045             source:  "elm";
22046             action:  STATE_SET "disabled" 0.0;
22047             target:  "disclip";
22048          }
22049          program {
22050             name:    "go_enabled";
22051             signal:  "elm,state,enabled";
22052             source:  "elm";
22053             action:  STATE_SET "default" 0.0;
22054             target:  "disclip";
22055          }
22056          program {
22057             name:    "expand";
22058             signal:  "mouse,up,1";
22059             source:  "arrow";
22060             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22061          }
22062          program {
22063             name:    "go_expanded";
22064             signal:  "elm,state,expanded";
22065             source:  "elm";
22066             action:  STATE_SET "active" 0.0;
22067             target:  "arrow";
22068          }
22069          program {
22070             name:    "go_contracted";
22071             signal:  "elm,state,contracted";
22072             source:  "elm";
22073             action:  STATE_SET "default" 0.0;
22074             target:  "arrow";
22075          }
22076       }
22077    }
22078    group { name: "elm/genlist/tree_odd/double_label/default";
22079       data.item: "stacking" "below";
22080       data.item: "selectraise" "on";
22081       data.item: "labels" "elm.text elm.text.sub";
22082       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22083       data.item: "treesize" "20";
22084 //      data.item: "states" "";
22085       images {
22086          image: "bt_sm_base1.png" COMP;
22087          image: "bt_sm_shine.png" COMP;
22088          image: "bt_sm_hilight.png" COMP;
22089          image: "ilist_2.png" COMP;
22090          image: "icon_arrow_right.png" COMP;
22091          image: "icon_arrow_down.png" COMP;
22092       }
22093       parts {
22094          part {
22095             name:           "event";
22096             type:           RECT;
22097             repeat_events: 1;
22098             description {
22099                state: "default" 0.0;
22100                color: 0 0 0 0;
22101             }
22102          }
22103          part {
22104             name: "base";
22105             mouse_events: 0;
22106             description {
22107                state: "default" 0.0;
22108                image {
22109                   normal: "ilist_2.png";
22110                   border: 2 2 2 2;
22111                }
22112                fill.smooth: 0;
22113             }
22114          }
22115          part { name: "bg";
22116             clip_to: "disclip";
22117             mouse_events: 0;
22118             description { state: "default" 0.0;
22119                visible: 0;
22120                color: 255 255 255 0;
22121                rel1 {
22122                   relative: 0.0 0.0;
22123                   offset: -5 -5;
22124                }
22125                rel2 {
22126                   relative: 1.0 1.0;
22127                   offset: 4 4;
22128                }
22129                image {
22130                   normal: "bt_sm_base1.png";
22131                   border: 6 6 6 6;
22132                }
22133                image.middle: SOLID;
22134             }
22135             description { state: "selected" 0.0;
22136                inherit: "default" 0.0;
22137                visible: 1;
22138                color: 255 255 255 255;
22139                rel1 {
22140                   relative: 0.0 0.0;
22141                   offset: -2 -2;
22142                }
22143                rel2 {
22144                   relative: 1.0 1.0;
22145                   offset: 1 1;
22146                }
22147             }
22148          }
22149          part { name: "elm.swallow.pad";
22150             type: SWALLOW;
22151             description { state: "default" 0.0;
22152                fixed: 1 0;
22153                align: 0.0 0.5;
22154                rel1 {
22155                   relative: 0.0  0.0;
22156                   offset:   4    4;
22157                }
22158                rel2 {
22159                   relative: 0.0  1.0;
22160                   offset:   4   -5;
22161                }
22162             }
22163          }
22164          part { name: "arrow";
22165             clip_to: "disclip";
22166             ignore_flags: ON_HOLD;
22167             description { state: "default" 0.0;
22168                fixed: 1 0;
22169                align: 0.0 0.5;
22170                aspect: 1.0 1.0;
22171                rel1 {
22172                   to_x: "elm.swallow.pad";
22173                   relative: 1.0  0.0;
22174                   offset:   -1    4;
22175                }
22176                rel2 {
22177                   to_x: "elm.swallow.pad";
22178                   relative: 1.0  1.0;
22179                   offset:   -1   -5;
22180                }
22181                image.normal: "icon_arrow_right.png";
22182             }
22183             description { state: "active" 0.0;
22184                inherit: "default" 0.0;
22185                image.normal: "icon_arrow_down.png";
22186             }
22187          }
22188          part { name: "elm.swallow.icon";
22189             clip_to: "disclip";
22190             type: SWALLOW;
22191             description { state: "default" 0.0;
22192                fixed: 1 0;
22193                align: 0.0 0.5;
22194                rel1 {
22195                   to_x: "arrow";
22196                   relative: 1.0  0.0;
22197                   offset:   4    4;
22198                }
22199                rel2 {
22200                   to_x: "arrow";
22201                   relative: 1.0  1.0;
22202                   offset:   4   -5;
22203                }
22204             }
22205          }
22206          part { name: "elm.swallow.end";
22207             clip_to: "disclip";
22208             type: SWALLOW;
22209             description { state: "default" 0.0;
22210                fixed: 1 0;
22211                align: 1.0 0.5;
22212                aspect: 1.0 1.0;
22213                aspect_preference: VERTICAL;
22214                rel1 {
22215                   relative: 1.0  0.0;
22216                   offset:   -5    4;
22217                }
22218                rel2 {
22219                   relative: 1.0  1.0;
22220                   offset:   -5   -5;
22221                }
22222             }
22223          }
22224          part { name: "elm.text";
22225             clip_to: "disclip";
22226             type:           TEXT;
22227             effect:         SOFT_SHADOW;
22228             mouse_events:   0;
22229             scale: 1;
22230             description {
22231                state: "default" 0.0;
22232 //               min: 16 16;
22233                rel1 {
22234                   to_x:     "elm.swallow.icon";
22235                   relative: 1.0  0.0;
22236                   offset:   0 4;
22237                }
22238                rel2 {
22239                   to_x:     "elm.swallow.end";
22240                   relative: 0.0  0.5;
22241                   offset:   -1 -5;
22242                }
22243                color: 0 0 0 255;
22244                color3: 0 0 0 0;
22245                text {
22246                   font: "Sans";
22247                   size: 10;
22248                   min: 1 1;
22249 //                  min: 0 1;
22250                   align: 0.0 0.5;
22251                   text_class: "list_item";
22252                }
22253             }
22254             description { state: "selected" 0.0;
22255                inherit: "default" 0.0;
22256                color: 224 224 224 255;
22257                color3: 0 0 0 64;
22258             }
22259          }
22260          part { name: "elm.text.sub";
22261             clip_to: "disclip";
22262             type:           TEXT;
22263             mouse_events:   0;
22264             scale: 1;
22265             description {
22266                state: "default" 0.0;
22267 //               min: 16 16;
22268                rel1 {
22269                   to_x:     "elm.swallow.icon";
22270                   relative: 1.0  0.5;
22271                   offset:   0 4;
22272                }
22273                rel2 {
22274                   to_x:     "elm.swallow.end";
22275                   relative: 0.0  1.0;
22276                   offset:   -1 -5;
22277                }
22278                color: 0 0 0 128;
22279                color3: 0 0 0 0;
22280                text {
22281                   font: "Sans";
22282                   size: 8;
22283                   min: 1 1;
22284 //                  min: 0 1;
22285                   align: 0.0 0.5;
22286                   text_class: "list_item";
22287                }
22288             }
22289             description { state: "selected" 0.0;
22290                inherit: "default" 0.0;
22291                color: 128 128 128 255;
22292                color3: 0 0 0 32;
22293             }
22294          }
22295          part { name: "fg1";
22296             clip_to: "disclip";
22297             mouse_events: 0;
22298             description { state: "default" 0.0;
22299                visible: 0;
22300                color: 255 255 255 0;
22301                rel1.to: "bg";
22302                rel2.relative: 1.0 0.5;
22303                rel2.to: "bg";
22304                image {
22305                   normal: "bt_sm_hilight.png";
22306                   border: 6 6 6 0;
22307                }
22308             }
22309             description { state: "selected" 0.0;
22310                inherit: "default" 0.0;
22311                visible: 1;
22312                color: 255 255 255 255;
22313             }
22314          }
22315          part { name: "fg2";
22316             clip_to: "disclip";
22317             mouse_events: 0;
22318             description { state: "default" 0.0;
22319                visible: 0;
22320                color: 255 255 255 0;
22321                rel1.to: "bg";
22322                rel2.to: "bg";
22323                image {
22324                   normal: "bt_sm_shine.png";
22325                   border: 6 6 6 0;
22326                }
22327             }
22328             description { state: "selected" 0.0;
22329                inherit: "default" 0.0;
22330                visible: 1;
22331                color: 255 255 255 255;
22332             }
22333          }
22334          part { name: "disclip";
22335             type: RECT;
22336             description { state: "default" 0.0;
22337                rel1.to: "bg";
22338                rel2.to: "bg";
22339             }
22340             description { state: "disabled" 0.0;
22341                inherit: "default" 0.0;
22342                color: 255 255 255 64;
22343             }
22344          }
22345       }
22346       programs {
22347          // signal: elm,state,%s,active
22348          //   a "check" item named %s went active
22349          // signal: elm,state,%s,passive
22350          //   a "check" item named %s went passive
22351          // default is passive
22352          program {
22353             name:    "go_active";
22354             signal:  "elm,state,selected";
22355             source:  "elm";
22356             action:  STATE_SET "selected" 0.0;
22357             target:  "bg";
22358             target:  "fg1";
22359             target:  "fg2";
22360             target:  "elm.text";
22361             target:  "elm.text.sub";
22362          }
22363          program {
22364             name:    "go_passive";
22365             signal:  "elm,state,unselected";
22366             source:  "elm";
22367             action:  STATE_SET "default" 0.0;
22368             target:  "bg";
22369             target:  "fg1";
22370             target:  "fg2";
22371             target:  "elm.text";
22372             target:  "elm.text.sub";
22373             transition: LINEAR 0.1;
22374          }
22375          program {
22376             name:    "go_disabled";
22377             signal:  "elm,state,disabled";
22378             source:  "elm";
22379             action:  STATE_SET "disabled" 0.0;
22380             target:  "disclip";
22381          }
22382          program {
22383             name:    "go_enabled";
22384             signal:  "elm,state,enabled";
22385             source:  "elm";
22386             action:  STATE_SET "default" 0.0;
22387             target:  "disclip";
22388          }
22389          program {
22390             name:    "expand";
22391             signal:  "mouse,up,1";
22392             source:  "arrow";
22393             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22394          }
22395          program {
22396             name:    "go_expanded";
22397             signal:  "elm,state,expanded";
22398             source:  "elm";
22399             action:  STATE_SET "active" 0.0;
22400             target:  "arrow";
22401          }
22402          program {
22403             name:    "go_contracted";
22404             signal:  "elm,state,contracted";
22405             source:  "elm";
22406             action:  STATE_SET "default" 0.0;
22407             target:  "arrow";
22408          }
22409       }
22410    }
22411
22412    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22413       data.item: "stacking" "above";
22414       data.item: "selectraise" "on";
22415       data.item: "labels" "elm.text";
22416       data.item: "icons" "elm.swallow.icon";
22417       data.item: "treesize" "20";
22418 //      data.item: "states" "";
22419       images {
22420          image: "bt_sm_base1.png" COMP;
22421          image: "bt_sm_shine.png" COMP;
22422          image: "bt_sm_hilight.png" COMP;
22423          image: "ilist_1.png" COMP;
22424          image: "ilist_item_shadow.png" COMP;
22425       }
22426       parts {
22427          part {
22428             name:           "event";
22429             type:           RECT;
22430             repeat_events: 1;
22431             description {
22432                state: "default" 0.0;
22433                color: 0 0 0 0;
22434             }
22435          }
22436          part {
22437             name: "base_sh";
22438             mouse_events: 0;
22439             description {
22440                state: "default" 0.0;
22441                align: 0.0 0.0;
22442                min: 0 10;
22443                fixed: 1 1;
22444                rel1 {
22445                   to: "base";
22446                   relative: 0.0 1.0;
22447                   offset: 0 0;
22448                }
22449                rel2 {
22450                   to: "base";
22451                   relative: 1.0 1.0;
22452                   offset: -1 0;
22453                }
22454                image {
22455                   normal: "ilist_item_shadow.png";
22456                }
22457                fill.smooth: 0;
22458             }
22459          }
22460          part {
22461             name: "base";
22462             mouse_events: 0;
22463             description {
22464                state: "default" 0.0;
22465                image {
22466                   normal: "ilist_1.png";
22467                   border: 2 2 2 2;
22468                }
22469                fill.smooth: 0;
22470             }
22471          }
22472          part { name: "bg";
22473             clip_to: "disclip";
22474             mouse_events: 0;
22475             description { state: "default" 0.0;
22476                visible: 0;
22477                color: 255 255 255 0;
22478                rel1 {
22479                   relative: 0.0 0.0;
22480                   offset: -5 -5;
22481                }
22482                rel2 {
22483                   relative: 1.0 1.0;
22484                   offset: 4 4;
22485                }
22486                image {
22487                   normal: "bt_sm_base1.png";
22488                   border: 6 6 6 6;
22489                }
22490                image.middle: SOLID;
22491             }
22492             description { state: "selected" 0.0;
22493                inherit: "default" 0.0;
22494                visible: 1;
22495                color: 255 255 255 255;
22496                rel1 {
22497                   relative: 0.0 0.0;
22498                   offset: -2 -2;
22499                }
22500                rel2 {
22501                   relative: 1.0 1.0;
22502                   offset: 1 1;
22503                }
22504             }
22505          }
22506          part { name: "elm.swallow.pad";
22507             type: SWALLOW;
22508             description { state: "default" 0.0;
22509                fixed: 1 0;
22510                align: 0.0 0.5;
22511                rel1 {
22512                   relative: 0.0  0.0;
22513                   offset:   4    4;
22514                }
22515                rel2 {
22516                   relative: 1.0  1.0;
22517                   offset:   -4   -5;
22518                }
22519             }
22520          }
22521          part { name: "elm.swallow.icon";
22522             clip_to: "disclip";
22523             type: SWALLOW;
22524             description { state: "default" 0.0;
22525                fixed: 1 0;
22526                align: 0.5 0.5;
22527                rel1 {
22528                   to_x: "elm.swallow.pad";
22529                   relative: 0.0  0.0;
22530                   offset:   -1    4;
22531                }
22532                rel2 {
22533                   to_x: "elm.swallow.pad";
22534                   relative: 1.0  1.0;
22535                   offset:   -1   -5;
22536                }
22537             }
22538          }
22539          part { name: "elm.text";
22540             clip_to: "disclip";
22541             type:           TEXT;
22542             effect:         SOFT_SHADOW;
22543             mouse_events:   0;
22544             scale: 1;
22545             description {
22546                state: "default" 0.0;
22547 //               min: 16 16;
22548                rel1 {
22549                   to_y:     "elm.swallow.icon";
22550                   relative: 0.0  1.0;
22551                   offset:   0 4;
22552                }
22553                rel2 {
22554                   relative: 1.0  1.0;
22555                   offset:   -5 -5;
22556                }
22557                color: 0 0 0 255;
22558                color3: 0 0 0 0;
22559                text {
22560                   font: "Sans";
22561                   size: 10;
22562                   min: 1 1;
22563 //                  min: 0 1;
22564                   align: 0.5 0.5;
22565                   text_class: "list_item";
22566                }
22567             }
22568             description { state: "selected" 0.0;
22569                inherit: "default" 0.0;
22570                color: 224 224 224 255;
22571                color3: 0 0 0 64;
22572             }
22573          }
22574          part { name: "fg1";
22575             clip_to: "disclip";
22576             mouse_events: 0;
22577             description { state: "default" 0.0;
22578                visible: 0;
22579                color: 255 255 255 0;
22580                rel1.to: "bg";
22581                rel2.relative: 1.0 0.5;
22582                rel2.to: "bg";
22583                image {
22584                   normal: "bt_sm_hilight.png";
22585                   border: 6 6 6 0;
22586                }
22587             }
22588             description { state: "selected" 0.0;
22589                inherit: "default" 0.0;
22590                visible: 1;
22591                color: 255 255 255 255;
22592             }
22593          }
22594          part { name: "fg2";
22595             clip_to: "disclip";
22596             mouse_events: 0;
22597             description { state: "default" 0.0;
22598                visible: 0;
22599                color: 255 255 255 0;
22600                rel1.to: "bg";
22601                rel2.to: "bg";
22602                image {
22603                   normal: "bt_sm_shine.png";
22604                   border: 6 6 6 0;
22605                }
22606             }
22607             description { state: "selected" 0.0;
22608                inherit: "default" 0.0;
22609                visible: 1;
22610                color: 255 255 255 255;
22611             }
22612          }
22613          part { name: "disclip";
22614             type: RECT;
22615             description { state: "default" 0.0;
22616                rel1.to: "bg";
22617                rel2.to: "bg";
22618             }
22619             description { state: "disabled" 0.0;
22620                inherit: "default" 0.0;
22621                color: 255 255 255 64;
22622             }
22623          }
22624       }
22625       programs {
22626          // signal: elm,state,%s,active
22627          //   a "check" item named %s went active
22628          // signal: elm,state,%s,passive
22629          //   a "check" item named %s went passive
22630          // default is passive
22631          program {
22632             name:    "go_active";
22633             signal:  "elm,state,selected";
22634             source:  "elm";
22635             action:  STATE_SET "selected" 0.0;
22636             target:  "bg";
22637             target:  "fg1";
22638             target:  "fg2";
22639             target:  "elm.text";
22640          }
22641          program {
22642             name:    "go_passive";
22643             signal:  "elm,state,unselected";
22644             source:  "elm";
22645             action:  STATE_SET "default" 0.0;
22646             target:  "bg";
22647             target:  "fg1";
22648             target:  "fg2";
22649             target:  "elm.text";
22650             transition: LINEAR 0.1;
22651          }
22652          program {
22653             name:    "go_disabled";
22654             signal:  "elm,state,disabled";
22655             source:  "elm";
22656             action:  STATE_SET "disabled" 0.0;
22657             target:  "disclip";
22658          }
22659          program {
22660             name:    "go_enabled";
22661             signal:  "elm,state,enabled";
22662             source:  "elm";
22663             action:  STATE_SET "default" 0.0;
22664             target:  "disclip";
22665          }
22666       }
22667    }
22668    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22669       data.item: "stacking" "below";
22670       data.item: "selectraise" "on";
22671       data.item: "labels" "elm.text";
22672       data.item: "icons" "elm.swallow.icon";
22673       data.item: "treesize" "20";
22674 //      data.item: "states" "";
22675       images {
22676          image: "bt_sm_base1.png" COMP;
22677          image: "bt_sm_shine.png" COMP;
22678          image: "bt_sm_hilight.png" COMP;
22679          image: "ilist_2.png" COMP;
22680       }
22681       parts {
22682          part { name: "event";
22683             type: RECT;
22684             repeat_events: 1;
22685             description {
22686                state: "default" 0.0;
22687                color: 0 0 0 0;
22688             }
22689          }
22690          part {
22691             name: "base";
22692             mouse_events: 0;
22693             description {
22694                state: "default" 0.0;
22695                image {
22696                   normal: "ilist_2.png";
22697                   border: 2 2 2 2;
22698                }
22699                fill.smooth: 0;
22700             }
22701          }
22702          part { name: "bg";
22703             clip_to: "disclip";
22704             mouse_events: 0;
22705             description { state: "default" 0.0;
22706                visible: 0;
22707                color: 255 255 255 0;
22708                rel1 {
22709                   relative: 0.0 0.0;
22710                   offset: -5 -5;
22711                }
22712                rel2 {
22713                   relative: 1.0 1.0;
22714                   offset: 4 4;
22715                }
22716                image {
22717                   normal: "bt_sm_base1.png";
22718                   border: 6 6 6 6;
22719                }
22720                image.middle: SOLID;
22721             }
22722             description { state: "selected" 0.0;
22723                inherit: "default" 0.0;
22724                visible: 1;
22725                color: 255 255 255 255;
22726                rel1 {
22727                   relative: 0.0 0.0;
22728                   offset: -2 -2;
22729                }
22730                rel2 {
22731                   relative: 1.0 1.0;
22732                   offset: 1 1;
22733                }
22734             }
22735          }
22736          part { name: "elm.swallow.pad";
22737             type: SWALLOW;
22738             description { state: "default" 0.0;
22739                fixed: 1 0;
22740                align: 0.0 0.5;
22741                rel1 {
22742                   relative: 0.0  0.0;
22743                   offset:   4    4;
22744                }
22745                rel2 {
22746                   relative: 1.0  1.0;
22747                   offset:   -4   -5;
22748                }
22749             }
22750          }
22751          part { name: "elm.swallow.icon";
22752             clip_to: "disclip";
22753             type: SWALLOW;
22754             description { state: "default" 0.0;
22755                fixed: 1 0;
22756                align: 0.5 0.5;
22757                rel1 {
22758                   to_x: "elm.swallow.pad";
22759                   relative: 0.0  0.0;
22760                   offset:   -1    4;
22761                }
22762                rel2 {
22763                   to_x: "elm.swallow.pad";
22764                   relative: 1.0  1.0;
22765                   offset:   -1   -5;
22766                }
22767             }
22768          }
22769          part { name: "elm.text";
22770             clip_to: "disclip";
22771             type:           TEXT;
22772             effect:         SOFT_SHADOW;
22773             mouse_events:   0;
22774             scale: 1;
22775             description {
22776                state: "default" 0.0;
22777 //               min:      16 16;
22778                rel1 {
22779                   to_y:     "elm.swallow.icon";
22780                   relative: 0.0  1.0;
22781                   offset:   0 4;
22782                }
22783                rel2 {
22784                   relative: 1.0  1.0;
22785                   offset:   -5 -5;
22786                }
22787                color: 0 0 0 255;
22788                color3: 0 0 0 0;
22789                text {
22790                   font: "Sans";
22791                   size: 10;
22792                   min: 1 1;
22793 //                  min: 0 1;
22794                   align: 0.5 0.5;
22795                   text_class: "list_item";
22796                }
22797             }
22798             description { state: "selected" 0.0;
22799                inherit: "default" 0.0;
22800                color: 224 224 224 255;
22801                color3: 0 0 0 64;
22802             }
22803          }
22804          part { name: "fg1";
22805             clip_to: "disclip";
22806             mouse_events: 0;
22807             description { state: "default" 0.0;
22808                visible: 0;
22809                color: 255 255 255 0;
22810                rel1.to: "bg";
22811                rel2.relative: 1.0 0.5;
22812                rel2.to: "bg";
22813                image {
22814                   normal: "bt_sm_hilight.png";
22815                   border: 6 6 6 0;
22816                }
22817             }
22818             description { state: "selected" 0.0;
22819                inherit: "default" 0.0;
22820                visible: 1;
22821                color: 255 255 255 255;
22822             }
22823          }
22824          part { name: "fg2";
22825             clip_to: "disclip";
22826             mouse_events: 0;
22827             description { state: "default" 0.0;
22828                visible: 0;
22829                color: 255 255 255 0;
22830                rel1.to: "bg";
22831                rel2.to: "bg";
22832                image {
22833                   normal: "bt_sm_shine.png";
22834                   border: 6 6 6 0;
22835                }
22836             }
22837             description { state: "selected" 0.0;
22838                inherit: "default" 0.0;
22839                visible: 1;
22840                color: 255 255 255 255;
22841             }
22842          }
22843          part { name: "disclip";
22844             type: RECT;
22845             description { state: "default" 0.0;
22846                rel1.to: "bg";
22847                rel2.to: "bg";
22848             }
22849             description { state: "disabled" 0.0;
22850                inherit: "default" 0.0;
22851                color: 255 255 255 64;
22852             }
22853          }
22854       }
22855       programs {
22856          // signal: elm,state,%s,active
22857          //   a "check" item named %s went active
22858          // signal: elm,state,%s,passive
22859          //   a "check" item named %s went passive
22860          // default is passive
22861          program {
22862             name:    "go_active";
22863             signal:  "elm,state,selected";
22864             source:  "elm";
22865             action:  STATE_SET "selected" 0.0;
22866             target:  "bg";
22867             target:  "fg1";
22868             target:  "fg2";
22869             target:  "elm.text";
22870          }
22871          program {
22872             name:    "go_passive";
22873             signal:  "elm,state,unselected";
22874             source:  "elm";
22875             action:  STATE_SET "default" 0.0;
22876             target:  "bg";
22877             target:  "fg1";
22878             target:  "fg2";
22879             target:  "elm.text";
22880             transition: LINEAR 0.1;
22881          }
22882          program {
22883             name:    "go_disabled";
22884             signal:  "elm,state,disabled";
22885             source:  "elm";
22886             action:  STATE_SET "disabled" 0.0;
22887             target:  "disclip";
22888          }
22889          program {
22890             name:    "go_enabled";
22891             signal:  "elm,state,enabled";
22892             source:  "elm";
22893             action:  STATE_SET "default" 0.0;
22894             target:  "disclip";
22895          }
22896       }
22897    }
22898
22899    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22900       data.item: "stacking" "above";
22901       data.item: "selectraise" "on";
22902       data.item: "labels" "elm.text";
22903       data.item: "icons" "elm.swallow.icon";
22904       data.item: "treesize" "20";
22905 //      data.item: "states" "";
22906       images {
22907          image: "bt_sm_base1.png" COMP;
22908          image: "bt_sm_shine.png" COMP;
22909          image: "bt_sm_hilight.png" COMP;
22910          image: "ilist_1.png" COMP;
22911          image: "ilist_item_shadow.png" COMP;
22912          image: "icon_arrow_right.png" COMP;
22913          image: "icon_arrow_down.png" COMP;
22914       }
22915       parts {
22916          part {
22917             name:           "event";
22918             type:           RECT;
22919             repeat_events: 1;
22920             description {
22921                state: "default" 0.0;
22922                color: 0 0 0 0;
22923             }
22924          }
22925          part {
22926             name: "base_sh";
22927             mouse_events: 0;
22928             description {
22929                state: "default" 0.0;
22930                align: 0.0 0.0;
22931                min: 0 10;
22932                fixed: 1 1;
22933                rel1 {
22934                   to: "base";
22935                   relative: 0.0 1.0;
22936                   offset: 0 0;
22937                }
22938                rel2 {
22939                   to: "base";
22940                   relative: 1.0 1.0;
22941                   offset: -1 0;
22942                }
22943                image {
22944                   normal: "ilist_item_shadow.png";
22945                }
22946                fill.smooth: 0;
22947             }
22948          }
22949          part {
22950             name: "base";
22951             mouse_events: 0;
22952             description {
22953                state: "default" 0.0;
22954                image {
22955                   normal: "ilist_1.png";
22956                   border: 2 2 2 2;
22957                }
22958                fill.smooth: 0;
22959             }
22960          }
22961          part { name: "bg";
22962             clip_to: "disclip";
22963             mouse_events: 0;
22964             description { state: "default" 0.0;
22965                visible: 0;
22966                color: 255 255 255 0;
22967                rel1 {
22968                   relative: 0.0 0.0;
22969                   offset: -5 -5;
22970                }
22971                rel2 {
22972                   relative: 1.0 1.0;
22973                   offset: 4 4;
22974                }
22975                image {
22976                   normal: "bt_sm_base1.png";
22977                   border: 6 6 6 6;
22978                }
22979                image.middle: SOLID;
22980             }
22981             description { state: "selected" 0.0;
22982                inherit: "default" 0.0;
22983                visible: 1;
22984                color: 255 255 255 255;
22985                rel1 {
22986                   relative: 0.0 0.0;
22987                   offset: -2 -2;
22988                }
22989                rel2 {
22990                   relative: 1.0 1.0;
22991                   offset: 1 1;
22992                }
22993             }
22994          }
22995          part { name: "elm.swallow.pad";
22996             type: SWALLOW;
22997             description { state: "default" 0.0;
22998                fixed: 1 0;
22999                align: 0.0 0.5;
23000                rel1 {
23001                   relative: 0.0  0.0;
23002                   offset:   4    4;
23003                }
23004                rel2 {
23005                   relative: 0.0  1.0;
23006                   offset:   4   -5;
23007                }
23008             }
23009          }
23010          part { name: "arrow";
23011             clip_to: "disclip";
23012             ignore_flags: ON_HOLD;
23013             description { state: "default" 0.0;
23014                fixed: 1 0;
23015                align: 0.0 0.5;
23016                aspect: 1.0 1.0;
23017                rel1 {
23018                   to_x: "elm.swallow.pad";
23019                   relative: 1.0  0.0;
23020                   offset:   -1    4;
23021                }
23022                rel2 {
23023                   to_x: "elm.swallow.pad";
23024                   relative: 1.0  1.0;
23025                   offset:   -1   -5;
23026                }
23027                image.normal: "icon_arrow_right.png";
23028             }
23029             description { state: "active" 0.0;
23030                inherit: "default" 0.0;
23031                image.normal: "icon_arrow_down.png";
23032             }
23033          }
23034          part { name: "elm.swallow.icon";
23035             clip_to: "disclip";
23036             type: SWALLOW;
23037             description { state: "default" 0.0;
23038                fixed: 1 0;
23039                align: 0.5 0.5;
23040                rel1 {
23041                   to_x: "arrow";
23042                   relative: 1.0  0.0;
23043                   offset:   4    4;
23044                }
23045                rel2 {
23046                   relative: 1.0  1.0;
23047                   offset:   -4   -5;
23048                }
23049             }
23050          }
23051          part { name: "elm.text";
23052             clip_to: "disclip";
23053             type:           TEXT;
23054             effect:         SOFT_SHADOW;
23055             mouse_events:   0;
23056             scale: 1;
23057             description {
23058                state: "default" 0.0;
23059 //               min: 16 16;
23060                rel1 {
23061                   to_y:     "elm.swallow.icon";
23062                   relative: 0.0  1.0;
23063                   offset:   0 4;
23064                }
23065                rel2 {
23066                   relative: 1.0  1.0;
23067                   offset:   -5 -5;
23068                }
23069                color: 0 0 0 255;
23070                color3: 0 0 0 0;
23071                text {
23072                   font: "Sans";
23073                   size: 10;
23074                   min: 1 1;
23075 //                  min: 0 1;
23076                   align: 0.5 0.5;
23077                   text_class: "list_item";
23078                }
23079             }
23080             description { state: "selected" 0.0;
23081                inherit: "default" 0.0;
23082                color: 224 224 224 255;
23083                color3: 0 0 0 64;
23084             }
23085          }
23086          part { name: "fg1";
23087             clip_to: "disclip";
23088             mouse_events: 0;
23089             description { state: "default" 0.0;
23090                visible: 0;
23091                color: 255 255 255 0;
23092                rel1.to: "bg";
23093                rel2.relative: 1.0 0.5;
23094                rel2.to: "bg";
23095                image {
23096                   normal: "bt_sm_hilight.png";
23097                   border: 6 6 6 0;
23098                }
23099             }
23100             description { state: "selected" 0.0;
23101                inherit: "default" 0.0;
23102                visible: 1;
23103                color: 255 255 255 255;
23104             }
23105          }
23106          part { name: "fg2";
23107             clip_to: "disclip";
23108             mouse_events: 0;
23109             description { state: "default" 0.0;
23110                visible: 0;
23111                color: 255 255 255 0;
23112                rel1.to: "bg";
23113                rel2.to: "bg";
23114                image {
23115                   normal: "bt_sm_shine.png";
23116                   border: 6 6 6 0;
23117                }
23118             }
23119             description { state: "selected" 0.0;
23120                inherit: "default" 0.0;
23121                visible: 1;
23122                color: 255 255 255 255;
23123             }
23124          }
23125          part { name: "disclip";
23126             type: RECT;
23127             description { state: "default" 0.0;
23128                rel1.to: "bg";
23129                rel2.to: "bg";
23130             }
23131             description { state: "disabled" 0.0;
23132                inherit: "default" 0.0;
23133                color: 255 255 255 64;
23134             }
23135          }
23136       }
23137       programs {
23138          // signal: elm,state,%s,active
23139          //   a "check" item named %s went active
23140          // signal: elm,state,%s,passive
23141          //   a "check" item named %s went passive
23142          // default is passive
23143          program {
23144             name:    "go_active";
23145             signal:  "elm,state,selected";
23146             source:  "elm";
23147             action:  STATE_SET "selected" 0.0;
23148             target:  "bg";
23149             target:  "fg1";
23150             target:  "fg2";
23151             target:  "elm.text";
23152          }
23153          program {
23154             name:    "go_passive";
23155             signal:  "elm,state,unselected";
23156             source:  "elm";
23157             action:  STATE_SET "default" 0.0;
23158             target:  "bg";
23159             target:  "fg1";
23160             target:  "fg2";
23161             target:  "elm.text";
23162             transition: LINEAR 0.1;
23163          }
23164          program {
23165             name:    "go_disabled";
23166             signal:  "elm,state,disabled";
23167             source:  "elm";
23168             action:  STATE_SET "disabled" 0.0;
23169             target:  "disclip";
23170          }
23171          program {
23172             name:    "go_enabled";
23173             signal:  "elm,state,enabled";
23174             source:  "elm";
23175             action:  STATE_SET "default" 0.0;
23176             target:  "disclip";
23177          }
23178          program {
23179             name:    "expand";
23180             signal:  "mouse,up,1";
23181             source:  "arrow";
23182             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23183          }
23184          program {
23185             name:    "go_expanded";
23186             signal:  "elm,state,expanded";
23187             source:  "elm";
23188             action:  STATE_SET "active" 0.0;
23189             target:  "arrow";
23190          }
23191          program {
23192             name:    "go_contracted";
23193             signal:  "elm,state,contracted";
23194             source:  "elm";
23195             action:  STATE_SET "default" 0.0;
23196             target:  "arrow";
23197          }
23198       }
23199    }
23200    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23201       data.item: "stacking" "below";
23202       data.item: "selectraise" "on";
23203       data.item: "labels" "elm.text";
23204       data.item: "icons" "elm.swallow.icon";
23205       data.item: "treesize" "20";
23206 //      data.item: "states" "";
23207       images {
23208          image: "bt_sm_base1.png" COMP;
23209          image: "bt_sm_shine.png" COMP;
23210          image: "bt_sm_hilight.png" COMP;
23211          image: "ilist_2.png" COMP;
23212          image: "icon_arrow_right.png" COMP;
23213          image: "icon_arrow_down.png" COMP;
23214       }
23215       parts {
23216          part {
23217             name:           "event";
23218             type:           RECT;
23219             repeat_events: 1;
23220             description {
23221                state: "default" 0.0;
23222                color: 0 0 0 0;
23223             }
23224          }
23225          part {
23226             name: "base";
23227             mouse_events: 0;
23228             description {
23229                state: "default" 0.0;
23230                image {
23231                   normal: "ilist_2.png";
23232                   border: 2 2 2 2;
23233                }
23234                fill.smooth: 0;
23235             }
23236          }
23237          part { name: "bg";
23238             clip_to: "disclip";
23239             mouse_events: 0;
23240             description { state: "default" 0.0;
23241                visible: 0;
23242                color: 255 255 255 0;
23243                rel1 {
23244                   relative: 0.0 0.0;
23245                   offset: -5 -5;
23246                }
23247                rel2 {
23248                   relative: 1.0 1.0;
23249                   offset: 4 4;
23250                }
23251                image {
23252                   normal: "bt_sm_base1.png";
23253                   border: 6 6 6 6;
23254                }
23255                image.middle: SOLID;
23256             }
23257             description { state: "selected" 0.0;
23258                inherit: "default" 0.0;
23259                visible: 1;
23260                color: 255 255 255 255;
23261                rel1 {
23262                   relative: 0.0 0.0;
23263                   offset: -2 -2;
23264                }
23265                rel2 {
23266                   relative: 1.0 1.0;
23267                   offset: 1 1;
23268                }
23269             }
23270          }
23271          part { name: "elm.swallow.pad";
23272             type: SWALLOW;
23273             description { state: "default" 0.0;
23274                fixed: 1 0;
23275                align: 0.0 0.5;
23276                rel1 {
23277                   relative: 0.0  0.0;
23278                   offset:   4    4;
23279                }
23280                rel2 {
23281                   relative: 0.0  1.0;
23282                   offset:   4   -5;
23283                }
23284             }
23285          }
23286          part { name: "arrow";
23287             clip_to: "disclip";
23288             ignore_flags: ON_HOLD;
23289             description { state: "default" 0.0;
23290                fixed: 1 0;
23291                align: 0.0 0.5;
23292                aspect: 1.0 1.0;
23293                rel1 {
23294                   to_x: "elm.swallow.pad";
23295                   relative: 1.0  0.0;
23296                   offset:   -1    4;
23297                }
23298                rel2 {
23299                   to_x: "elm.swallow.pad";
23300                   relative: 1.0  1.0;
23301                   offset:   -1   -5;
23302                }
23303                image.normal: "icon_arrow_right.png";
23304             }
23305             description { state: "active" 0.0;
23306                inherit: "default" 0.0;
23307                image.normal: "icon_arrow_down.png";
23308             }
23309          }
23310          part { name: "elm.swallow.icon";
23311             clip_to: "disclip";
23312             type: SWALLOW;
23313             description { state: "default" 0.0;
23314                fixed: 1 0;
23315                align: 0.5 0.5;
23316                rel1 {
23317                   to_x: "arrow";
23318                   relative: 1.0  0.0;
23319                   offset:   4    4;
23320                }
23321                rel2 {
23322                   relative: 1.0  1.0;
23323                   offset:   -4   -5;
23324                }
23325             }
23326          }
23327          part { name: "elm.text";
23328             clip_to: "disclip";
23329             type:           TEXT;
23330             effect:         SOFT_SHADOW;
23331             mouse_events:   0;
23332             scale: 1;
23333             description {
23334                state: "default" 0.0;
23335 //               min: 16 16;
23336                rel1 {
23337                   to_y:     "elm.swallow.icon";
23338                   relative: 0.0  1.0;
23339                   offset:   0 4;
23340                }
23341                rel2 {
23342                   relative: 1.0  1.0;
23343                   offset:   -5 -5;
23344                }
23345                color: 0 0 0 255;
23346                color3: 0 0 0 0;
23347                text {
23348                   font: "Sans";
23349                   size: 10;
23350                   min: 1 1;
23351 //                  min: 0 1;
23352                   align: 0.5 0.5;
23353                   text_class: "list_item";
23354                }
23355             }
23356             description { state: "selected" 0.0;
23357                inherit: "default" 0.0;
23358                color: 224 224 224 255;
23359                color3: 0 0 0 64;
23360             }
23361          }
23362          part { name: "fg1";
23363             clip_to: "disclip";
23364             mouse_events: 0;
23365             description { state: "default" 0.0;
23366                visible: 0;
23367                color: 255 255 255 0;
23368                rel1.to: "bg";
23369                rel2.relative: 1.0 0.5;
23370                rel2.to: "bg";
23371                image {
23372                   normal: "bt_sm_hilight.png";
23373                   border: 6 6 6 0;
23374                }
23375             }
23376             description { state: "selected" 0.0;
23377                inherit: "default" 0.0;
23378                visible: 1;
23379                color: 255 255 255 255;
23380             }
23381          }
23382          part { name: "fg2";
23383             clip_to: "disclip";
23384             mouse_events: 0;
23385             description { state: "default" 0.0;
23386                visible: 0;
23387                color: 255 255 255 0;
23388                rel1.to: "bg";
23389                rel2.to: "bg";
23390                image {
23391                   normal: "bt_sm_shine.png";
23392                   border: 6 6 6 0;
23393                }
23394             }
23395             description { state: "selected" 0.0;
23396                inherit: "default" 0.0;
23397                visible: 1;
23398                color: 255 255 255 255;
23399             }
23400          }
23401          part { name: "disclip";
23402             type: RECT;
23403             description { state: "default" 0.0;
23404                rel1.to: "bg";
23405                rel2.to: "bg";
23406             }
23407             description { state: "disabled" 0.0;
23408                inherit: "default" 0.0;
23409                color: 255 255 255 64;
23410             }
23411          }
23412       }
23413       programs {
23414          // signal: elm,state,%s,active
23415          //   a "check" item named %s went active
23416          // signal: elm,state,%s,passive
23417          //   a "check" item named %s went passive
23418          // default is passive
23419          program {
23420             name:    "go_active";
23421             signal:  "elm,state,selected";
23422             source:  "elm";
23423             action:  STATE_SET "selected" 0.0;
23424             target:  "bg";
23425             target:  "fg1";
23426             target:  "fg2";
23427             target:  "elm.text";
23428          }
23429          program {
23430             name:    "go_passive";
23431             signal:  "elm,state,unselected";
23432             source:  "elm";
23433             action:  STATE_SET "default" 0.0;
23434             target:  "bg";
23435             target:  "fg1";
23436             target:  "fg2";
23437             target:  "elm.text";
23438             transition: LINEAR 0.1;
23439          }
23440          program {
23441             name:    "go_disabled";
23442             signal:  "elm,state,disabled";
23443             source:  "elm";
23444             action:  STATE_SET "disabled" 0.0;
23445             target:  "disclip";
23446          }
23447          program {
23448             name:    "go_enabled";
23449             signal:  "elm,state,enabled";
23450             source:  "elm";
23451             action:  STATE_SET "default" 0.0;
23452             target:  "disclip";
23453          }
23454          program {
23455             name:    "expand";
23456             signal:  "mouse,up,1";
23457             source:  "arrow";
23458             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23459          }
23460          program {
23461             name:    "go_expanded";
23462             signal:  "elm,state,expanded";
23463             source:  "elm";
23464             action:  STATE_SET "active" 0.0;
23465             target:  "arrow";
23466          }
23467          program {
23468             name:    "go_contracted";
23469             signal:  "elm,state,contracted";
23470             source:  "elm";
23471             action:  STATE_SET "default" 0.0;
23472             target:  "arrow";
23473          }
23474       }
23475    }
23476
23477
23478 ///////////////////////////////////////////////////////////////////////////////
23479    group { name: "elm/check/base/default";
23480       images {
23481          image: "check_base.png" COMP;
23482          image: "check.png" COMP;
23483          image: "check2.png" COMP;
23484       }
23485       parts {
23486          part { name: "bg";
23487             mouse_events: 0;
23488             scale: 1;
23489             description { state: "default" 0.0;
23490                rel1.offset: 1 1;
23491                rel2.relative: 0.0 1.0;
23492                rel2.offset: 1 -2;
23493                align: 0.0 0.5;
23494                min: 16 16;
23495                max: 16 16;
23496                aspect: 1.0 1.0;
23497                aspect_preference: VERTICAL;
23498                image {
23499                   normal: "check_base.png";
23500                   border: 5 5 5 5;
23501                   middle: 0;
23502                }
23503                fill.smooth : 0;
23504             }
23505          }
23506          part { name: "check";
23507             mouse_events: 0;
23508             scale: 1;
23509             description { state: "default" 0.0;
23510                rel1 {
23511                   to: "bg";
23512                   offset: 1 1;
23513                }
23514                rel2 {
23515                   to: "bg";
23516                   offset: -2 -2;
23517                }
23518                visible: 0;
23519                color: 255 255 255 255;
23520                image.normal: "check.png";
23521             }
23522             description { state: "visible" 0.0;
23523                inherit: "default" 0.0;
23524                visible: 1;
23525             }
23526             description { state: "disabled" 0.0;
23527                inherit: "default" 0.0;
23528                visible: 0;
23529                color: 128 128 128 128;
23530             }
23531             description { state: "disabled_visible" 0.0;
23532                inherit: "default" 0.0;
23533                color: 128 128 128 128;
23534                visible: 1;
23535             }
23536          }
23537          part { name: "elm.swallow.content";
23538             type: SWALLOW;
23539             description { state: "default" 0.0;
23540                fixed: 1 0;
23541                visible: 0;
23542                align: 0.0 0.5;
23543           rel1.to_x: "bg";
23544                rel1.relative: 1.0 0.0;
23545                rel1.offset: 1 1;
23546           rel2.to_x: "bg";
23547                rel2.offset: 1 -2;
23548                rel2.relative: 1.0 1.0;
23549             }
23550             description { state: "visible" 0.0;
23551                inherit: "default" 0.0;
23552           fixed: 1 0;
23553                visible: 1;
23554                aspect: 1.0 1.0;
23555             }
23556             description { state: "disabled" 0.0;
23557                inherit: "default" 0.0;
23558                color: 128 128 128 128;
23559             }
23560             description { state: "disabled_visible" 0.0;
23561                inherit: "default" 0.0;
23562                color: 128 128 128 128;
23563           fixed: 1 0;
23564                visible: 1;
23565                aspect: 1.0 1.0;
23566             }
23567          }
23568          part { name: "elm.text";
23569             type: TEXT;
23570             mouse_events: 0;
23571             scale: 1;
23572             description { state: "default" 0.0;
23573                visible: 0;
23574                rel1.to_x: "elm.swallow.content";
23575                rel1.relative: 1.0 0.0;
23576                rel1.offset: 1 1;
23577                rel2.relative: 1.0 1.0;
23578                rel2.offset: -2 -2;
23579                color: 0 0 0 255;
23580                text {
23581                   font: "Sans,Edje-Vera";
23582                   size: 10;
23583                   min: 0 1;
23584                   align: -1.0 0.5;
23585                }
23586             }
23587             description { state: "visible" 0.0;
23588                inherit: "default" 0.0;
23589                visible: 1;
23590                text.min: 1 1;
23591             }
23592             description { state: "disabled" 0.0;
23593                inherit: "default" 0.0;
23594                color: 0 0 0 128;
23595                color3: 0 0 0 0;
23596             }
23597             description { state: "disabled_visible" 0.0;
23598                inherit: "default" 0.0;
23599                color: 0 0 0 128;
23600                color3: 0 0 0 0;
23601                visible: 1;
23602                text.min: 1 1;
23603             }
23604          }
23605          part { name: "events";
23606             type: RECT;
23607             ignore_flags: ON_HOLD;
23608             description { state: "default" 0.0;
23609                color: 0 0 0 0;
23610             }
23611          }
23612           part { name: "disabler";
23613             type: RECT;
23614             description { state: "default" 0.0;
23615                color: 0 0 0 0;
23616                visible: 0;
23617             }
23618             description { state: "disabled" 0.0;
23619                inherit: "default" 0.0;
23620                visible: 1;
23621             }
23622          }
23623       }
23624       programs {
23625          program { name: "click";
23626             signal: "mouse,up,1";
23627             source: "events";
23628             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23629          }
23630          program { name: "check_on";
23631             signal: "elm,state,check,on";
23632             source: "elm";
23633             action:  STATE_SET "visible" 0.0;
23634             target: "check";
23635          }
23636          program { name: "check_off";
23637             signal: "elm,state,check,off";
23638             source: "elm";
23639             action:  STATE_SET "default" 0.0;
23640             target: "check";
23641          }
23642          program { name: "text_show";
23643             signal: "elm,state,text,visible";
23644             source: "elm";
23645             action:  STATE_SET "visible" 0.0;
23646             target: "elm.text";
23647          }
23648          program { name: "text_hide";
23649             signal: "elm,state,text,hidden";
23650             source: "elm";
23651             action:  STATE_SET "default" 0.0;
23652             target: "elm.text";
23653          }
23654          program { name: "icon_show";
23655             signal: "elm,state,icon,visible";
23656             source: "elm";
23657             action:  STATE_SET "visible" 0.0;
23658             target: "elm.swallow.content";
23659          }
23660          program { name: "icon_hide";
23661             signal: "elm,state,icon,hidden";
23662             source: "elm";
23663             action:  STATE_SET "default" 0.0;
23664             target: "elm.swallow.content";
23665          }
23666          program { name: "disable";
23667             signal: "elm,state,disabled";
23668             source: "elm";
23669             action: STATE_SET "disabled" 0.0;
23670             target: "disabler";
23671             after: "disable_text";
23672          }
23673          program { name: "disable_text";
23674             script {
23675                new st[31];
23676                new Float:vl;
23677                get_state(PART:"elm.text", st, 30, vl);
23678                if (!strcmp(st, "visible"))
23679                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23680                else
23681                  set_state(PART:"elm.text", "disabled", 0.0);
23682
23683                get_state(PART:"elm.swallow.content", st, 30, vl);
23684                if (!strcmp(st, "visible"))
23685                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23686                else
23687                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23688
23689                get_state(PART:"check", st, 30, vl);
23690                if (!strcmp(st, "visible"))
23691                  set_state(PART:"check", "disabled_visible", 0.0);
23692                else
23693                  set_state(PART:"check", "disabled", 0.0);
23694             }
23695          }
23696          program { name: "enable";
23697             signal: "elm,state,enabled";
23698             source: "elm";
23699             action: STATE_SET "default" 0.0;
23700             target: "disabler";
23701             after: "enable_text";
23702          }
23703          program { name: "enable_text";
23704             script {
23705                new st[31];
23706                new Float:vl;
23707                get_state(PART:"elm.text", st, 30, vl);
23708                if (!strcmp(st, "disabled_visible"))
23709                  set_state(PART:"elm.text", "visible", 0.0);
23710                else
23711                  set_state(PART:"elm.text", "default", 0.0);
23712
23713                get_state(PART:"elm.swallow.content", st, 30, vl);
23714                if (!strcmp(st, "visible"))
23715                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23716                else
23717                  set_state(PART:"elm.swallow.content", "default", 0.0);
23718
23719                get_state(PART:"check", st, 30, vl);
23720                if (!strcmp(st, "visible"))
23721                  set_state(PART:"check", "visible", 0.0);
23722                else
23723                  set_state(PART:"check", "default", 0.0);
23724             }
23725          }
23726       }
23727    }
23728
23729 ///////////////////////////////////////////////////////////////////////////////
23730    group { name: "elm/radio/base/default";
23731       images {
23732          image: "radio_base.png" COMP;
23733          image: "radio.png" COMP;
23734          image: "radio2.png" COMP;
23735       }
23736       parts {
23737          part { name: "bg";
23738             mouse_events: 0;
23739             scale: 1;
23740             description { state: "default" 0.0;
23741                rel1.offset: 1 1;
23742                rel2.relative: 0.0 1.0;
23743                rel2.offset: 1 -2;
23744                align: 0.0 0.5;
23745                min: 16 16;
23746                max: 16 16;
23747                aspect: 1.0 1.0;
23748                aspect_preference: VERTICAL;
23749                image.normal: "radio_base.png";
23750             }
23751          }
23752          part { name: "radio";
23753             mouse_events: 0;
23754             scale: 1;
23755             description { state: "default" 0.0;
23756                rel1.to: "bg";
23757                rel2.to: "bg";
23758                visible: 0;
23759                image.normal: "radio.png";
23760             }
23761             description { state: "visible" 0.0;
23762                inherit: "default" 0.0;
23763                visible: 1;
23764             }
23765          }
23766          part { name: "elm.swallow.content";
23767             type: SWALLOW;
23768             description { state: "default" 0.0;
23769                fixed: 1 0;
23770                visible: 0;
23771                align: 0.0 0.5;
23772                color: 0 0 0 0;
23773                rel1.to_x: "bg";
23774                rel1.relative: 1.0 0.0;
23775                rel1.offset: 1 1;
23776                rel2.to_x: "bg";
23777                rel2.relative: 1.0 1.0;
23778                rel2.offset: 2 -2;
23779             }
23780             description { state: "visible" 0.0;
23781                inherit: "default" 0.0;
23782                visible: 1;
23783                color: 255 255 255 255;
23784                aspect: 1.0 1.0;
23785             }
23786             description { state: "disabled" 0.0;
23787                inherit: "default" 0.0;
23788                color: 128 128 128 128;
23789             }
23790             description { state: "disabled_visible" 0.0;
23791                inherit: "default" 0.0;
23792                color: 128 128 128 128;
23793                visible: 1;
23794                aspect: 1.0 1.0;
23795             }
23796          }
23797          part { name: "elm.text";
23798             type: TEXT;
23799             mouse_events: 0;
23800             scale: 1;
23801             description { state: "default" 0.0;
23802                visible: 0;
23803                rel1.to_x: "elm.swallow.content";
23804                rel1.relative: 1.0 0.0;
23805                rel1.offset: 1 1;
23806                rel2.relative: 1.0 1.0;
23807                rel2.offset: -2 -2;
23808                color: 0 0 0 255;
23809                text {
23810                   font: "Sans,Edje-Vera";
23811                   size: 10;
23812                   min: 0 0;
23813                   align: -1.0 0.5;
23814                }
23815             }
23816             description { state: "visible" 0.0;
23817                inherit: "default" 0.0;
23818                visible: 1;
23819                text.min: 1 1;
23820             }
23821             description { state: "disabled" 0.0;
23822                inherit: "default" 0.0;
23823                color: 0 0 0 128;
23824                color3: 0 0 0 0;
23825             }
23826             description { state: "disabled_visible" 0.0;
23827                inherit: "default" 0.0;
23828                color: 0 0 0 128;
23829                color3: 0 0 0 0;
23830                visible: 1;
23831                text.min: 1 1;
23832             }
23833          }
23834          part { name: "events";
23835             type: RECT;
23836             ignore_flags: ON_HOLD;
23837             description { state: "default" 0.0;
23838                color: 0 0 0 0;
23839             }
23840          }
23841           part { name: "disabler";
23842             type: RECT;
23843             description { state: "default" 0.0;
23844                color: 0 0 0 0;
23845                visible: 0;
23846             }
23847             description { state: "disabled" 0.0;
23848                inherit: "default" 0.0;
23849                visible: 1;
23850             }
23851          }
23852       }
23853       programs {
23854          program { name: "click";
23855             signal: "mouse,up,1";
23856             source: "events";
23857             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23858          }
23859          program { name: "radio_on";
23860             signal: "elm,state,radio,on";
23861             source: "elm";
23862             action:  STATE_SET "visible" 0.0;
23863             target: "radio";
23864          }
23865          program { name: "radio_off";
23866             signal: "elm,state,radio,off";
23867             source: "elm";
23868             action:  STATE_SET "default" 0.0;
23869             target: "radio";
23870          }
23871          program { name: "text_show";
23872             signal: "elm,state,text,visible";
23873             source: "elm";
23874             action:  STATE_SET "visible" 0.0;
23875             target: "elm.text";
23876          }
23877          program { name: "text_hide";
23878             signal: "elm,state,text,hidden";
23879             source: "elm";
23880             action:  STATE_SET "default" 0.0;
23881             target: "elm.text";
23882          }
23883          program { name: "icon_show";
23884             signal: "elm,state,icon,visible";
23885             source: "elm";
23886             action:  STATE_SET "visible" 0.0;
23887             target: "elm.swallow.content";
23888          }
23889          program { name: "icon_hide";
23890             signal: "elm,state,icon,hidden";
23891             source: "elm";
23892             action:  STATE_SET "default" 0.0;
23893             target: "elm.swallow.content";
23894          }
23895          program { name: "disable";
23896             signal: "elm,state,disabled";
23897             source: "elm";
23898             action: STATE_SET "disabled" 0.0;
23899             target: "disabler";
23900             after: "disable_text";
23901          }
23902          program { name: "disable_text";
23903             script {
23904                new st[31];
23905                new Float:vl;
23906                get_state(PART:"elm.text", st, 30, vl);
23907                if (!strcmp(st, "visible"))
23908                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23909                else
23910                  set_state(PART:"elm.text", "disabled", 0.0);
23911
23912                get_state(PART:"elm.swallow.content", st, 30, vl);
23913                if (!strcmp(st, "visible"))
23914                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23915                else
23916                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23917             }
23918          }
23919          program { name: "enable";
23920             signal: "elm,state,enabled";
23921             source: "elm";
23922             action: STATE_SET "default" 0.0;
23923             target: "disabler";
23924             after: "enable_text";
23925          }
23926          program { name: "enable_text";
23927             script {
23928                new st[31];
23929                new Float:vl;
23930                get_state(PART:"elm.text", st, 30, vl);
23931                if (!strcmp(st, "disabled_visible"))
23932                  set_state(PART:"elm.text", "visible", 0.0);
23933                else
23934                  set_state(PART:"elm.text", "default", 0.0);
23935
23936                get_state(PART:"elm.swallow.content", st, 30, vl);
23937                if (!strcmp(st, "visible"))
23938                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23939                else
23940                  set_state(PART:"elm.swallow.content", "default", 0.0);
23941             }
23942          }
23943       }
23944    }
23945
23946    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23947       data.item: "stacking" "below";
23948       data.item: "selectraise" "on";
23949       data.item: "labels" "elm.text elm.text.sub";
23950       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23951       data.item: "treesize" "20";
23952 //      data.item: "states" "";
23953       images {
23954          image: "bt_sm_base1.png" COMP;
23955          image: "bt_sm_shine.png" COMP;
23956          image: "bt_sm_hilight.png" COMP;
23957          image: "ilist_2.png" COMP;
23958          image: "icon_arrow_right.png" COMP;
23959          image: "icon_arrow_down.png" COMP;
23960       }
23961       parts {
23962          part {
23963             name:           "event";
23964             type:           RECT;
23965             repeat_events: 1;
23966             description {
23967                state: "default" 0.0;
23968                color: 0 0 0 0;
23969             }
23970          }
23971          part {
23972             name: "base";
23973             mouse_events: 0;
23974             description {
23975                state: "default" 0.0;
23976                image {
23977                   normal: "ilist_2.png";
23978                   border: 2 2 2 2;
23979                }
23980                fill.smooth: 0;
23981             }
23982          }
23983          part { name: "bg";
23984             clip_to: "disclip";
23985             mouse_events: 0;
23986             description { state: "default" 0.0;
23987                visible: 0;
23988                color: 255 255 255 0;
23989                rel1 {
23990                   relative: 0.0 0.0;
23991                   offset: -5 -5;
23992                }
23993                rel2 {
23994                   relative: 1.0 1.0;
23995                   offset: 4 4;
23996                }
23997                image {
23998                   normal: "bt_sm_base1.png";
23999                   border: 6 6 6 6;
24000                }
24001                image.middle: SOLID;
24002             }
24003             description { state: "selected" 0.0;
24004                inherit: "default" 0.0;
24005                visible: 1;
24006                color: 255 255 255 255;
24007                rel1 {
24008                   relative: 0.0 0.0;
24009                   offset: -2 -2;
24010                }
24011                rel2 {
24012                   relative: 1.0 1.0;
24013                   offset: 1 1;
24014                }
24015             }
24016          }
24017          part { name: "elm.swallow.pad";
24018             type: SWALLOW;
24019             description { state: "default" 0.0;
24020                fixed: 1 0;
24021                align: 0.0 0.5;
24022                rel1 {
24023                   relative: 0.0  0.0;
24024                   offset:   4    4;
24025                }
24026                rel2 {
24027                   relative: 0.0  1.0;
24028                   offset:   4   -5;
24029                }
24030             }
24031          }
24032          part { name: "arrow";
24033             clip_to: "disclip";
24034             ignore_flags: ON_HOLD;
24035             description { state: "default" 0.0;
24036                fixed: 1 0;
24037                align: 0.0 0.5;
24038                aspect: 1.0 1.0;
24039                rel1 {
24040                   to_x: "elm.swallow.pad";
24041                   relative: 1.0  0.0;
24042                   offset:   -1    4;
24043                }
24044                rel2 {
24045                   to_x: "elm.swallow.pad";
24046                   relative: 1.0  1.0;
24047                   offset:   -1   -5;
24048                }
24049                image.normal: "icon_arrow_right.png";
24050             }
24051             description { state: "active" 0.0;
24052                inherit: "default" 0.0;
24053                image.normal: "icon_arrow_down.png";
24054             }
24055          }
24056          part { name: "elm.swallow.icon";
24057             clip_to: "disclip";
24058             type: SWALLOW;
24059             description { state: "default" 0.0;
24060                fixed: 1 0;
24061                align: 0.0 0.5;
24062                rel1 {
24063                   to_x: "arrow";
24064                   relative: 1.0  0.0;
24065                   offset:   4    4;
24066                }
24067                rel2 {
24068                   to_x: "arrow";
24069                   relative: 1.0  1.0;
24070                   offset:   4   -5;
24071                }
24072             }
24073          }
24074          part { name: "elm.swallow.end";
24075             clip_to: "disclip";
24076             type: SWALLOW;
24077             description { state: "default" 0.0;
24078                fixed: 1 0;
24079                align: 1.0 0.5;
24080                aspect: 1.0 1.0;
24081                aspect_preference: VERTICAL;
24082                rel1 {
24083                   relative: 1.0  0.0;
24084                   offset:   -5    4;
24085                }
24086                rel2 {
24087                   relative: 1.0  1.0;
24088                   offset:   -5   -5;
24089                }
24090             }
24091          }
24092          part { name: "elm.text";
24093             clip_to: "disclip";
24094             type:           TEXT;
24095             effect:         SOFT_SHADOW;
24096             mouse_events:   0;
24097             scale: 1;
24098             description {
24099                state: "default" 0.0;
24100 //               min: 16 16;
24101                rel1 {
24102                   to_x:     "elm.swallow.icon";
24103                   relative: 1.0  0.0;
24104                   offset:   0 4;
24105                }
24106                rel2 {
24107                   to_x:     "elm.swallow.end";
24108                   relative: 0.0  0.5;
24109                   offset:   -1 -5;
24110                }
24111                color: 0 0 0 255;
24112                color3: 0 0 0 0;
24113                text {
24114                   font: "Sans";
24115                   size: 10;
24116 //                  min: 1 1;
24117                   min: 0 1;
24118                   align: 0.0 0.5;
24119                   text_class: "list_item";
24120                }
24121             }
24122             description { state: "selected" 0.0;
24123                inherit: "default" 0.0;
24124                color: 224 224 224 255;
24125                color3: 0 0 0 64;
24126             }
24127          }
24128          part { name: "elm.text.sub";
24129             clip_to: "disclip";
24130             type:           TEXT;
24131             mouse_events:   0;
24132             scale: 1;
24133             description {
24134                state: "default" 0.0;
24135 //               min: 16 16;
24136                rel1 {
24137                   to_x:     "elm.swallow.icon";
24138                   relative: 1.0  0.5;
24139                   offset:   0 4;
24140                }
24141                rel2 {
24142                   to_x:     "elm.swallow.end";
24143                   relative: 0.0  1.0;
24144                   offset:   -1 -5;
24145                }
24146                color: 0 0 0 128;
24147                color3: 0 0 0 0;
24148                text {
24149                   font: "Sans";
24150                   size: 8;
24151 //                  min: 1 1;
24152                   min: 0 1;
24153                   align: 0.0 0.5;
24154                   text_class: "list_item";
24155                }
24156             }
24157             description { state: "selected" 0.0;
24158                inherit: "default" 0.0;
24159                color: 128 128 128 255;
24160                color3: 0 0 0 32;
24161             }
24162          }
24163          part { name: "fg1";
24164             clip_to: "disclip";
24165             mouse_events: 0;
24166             description { state: "default" 0.0;
24167                visible: 0;
24168                color: 255 255 255 0;
24169                rel1.to: "bg";
24170                rel2.relative: 1.0 0.5;
24171                rel2.to: "bg";
24172                image {
24173                   normal: "bt_sm_hilight.png";
24174                   border: 6 6 6 0;
24175                }
24176             }
24177             description { state: "selected" 0.0;
24178                inherit: "default" 0.0;
24179                visible: 1;
24180                color: 255 255 255 255;
24181             }
24182          }
24183          part { name: "fg2";
24184             clip_to: "disclip";
24185             mouse_events: 0;
24186             description { state: "default" 0.0;
24187                visible: 0;
24188                color: 255 255 255 0;
24189                rel1.to: "bg";
24190                rel2.to: "bg";
24191                image {
24192                   normal: "bt_sm_shine.png";
24193                   border: 6 6 6 0;
24194                }
24195             }
24196             description { state: "selected" 0.0;
24197                inherit: "default" 0.0;
24198                visible: 1;
24199                color: 255 255 255 255;
24200             }
24201          }
24202          part { name: "disclip";
24203             type: RECT;
24204             description { state: "default" 0.0;
24205                rel1.to: "bg";
24206                rel2.to: "bg";
24207             }
24208             description { state: "disabled" 0.0;
24209                inherit: "default" 0.0;
24210                color: 255 255 255 64;
24211             }
24212          }
24213       }
24214       programs {
24215          // signal: elm,state,%s,active
24216          //   a "check" item named %s went active
24217          // signal: elm,state,%s,passive
24218          //   a "check" item named %s went passive
24219          // default is passive
24220          program {
24221             name:    "go_active";
24222             signal:  "elm,state,selected";
24223             source:  "elm";
24224             action:  STATE_SET "selected" 0.0;
24225             target:  "bg";
24226             target:  "fg1";
24227             target:  "fg2";
24228             target:  "elm.text";
24229             target:  "elm.text.sub";
24230          }
24231          program {
24232             name:    "go_passive";
24233             signal:  "elm,state,unselected";
24234             source:  "elm";
24235             action:  STATE_SET "default" 0.0;
24236             target:  "bg";
24237             target:  "fg1";
24238             target:  "fg2";
24239             target:  "elm.text";
24240             target:  "elm.text.sub";
24241             transition: LINEAR 0.1;
24242          }
24243          program {
24244             name:    "go_disabled";
24245             signal:  "elm,state,disabled";
24246             source:  "elm";
24247             action:  STATE_SET "disabled" 0.0;
24248             target:  "disclip";
24249          }
24250          program {
24251             name:    "go_enabled";
24252             signal:  "elm,state,enabled";
24253             source:  "elm";
24254             action:  STATE_SET "default" 0.0;
24255             target:  "disclip";
24256          }
24257          program {
24258             name:    "expand";
24259             signal:  "mouse,up,1";
24260             source:  "arrow";
24261             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24262          }
24263          program {
24264             name:    "go_expanded";
24265             signal:  "elm,state,expanded";
24266             source:  "elm";
24267             action:  STATE_SET "active" 0.0;
24268             target:  "arrow";
24269          }
24270          program {
24271             name:    "go_contracted";
24272             signal:  "elm,state,contracted";
24273             source:  "elm";
24274             action:  STATE_SET "default" 0.0;
24275             target:  "arrow";
24276          }
24277       }
24278    }
24279
24280    group { name: "elm/genlist/item_compress/media/default";
24281       data.item: "stacking" "above";
24282       data.item: "selectraise" "on";
24283       data.item: "labels" "elm.text.title elm.text.album-artist";
24284       data.item: "treesize" "20";
24285       images {
24286          image: "bt_sm_base1.png" COMP;
24287          image: "bt_sm_shine.png" COMP;
24288          image: "bt_sm_hilight.png" COMP;
24289          image: "ilist_1.png" COMP;
24290          image: "ilist_item_shadow.png" COMP;
24291       }
24292       parts {
24293          part {
24294             name:           "event";
24295             type:           RECT;
24296             repeat_events: 1;
24297             description {
24298                state: "default" 0.0;
24299                color: 0 0 0 0;
24300             }
24301          }
24302          part {
24303             name: "base_sh";
24304             mouse_events: 0;
24305             description {
24306                state: "default" 0.0;
24307                align: 0.0 0.0;
24308                min: 0 10;
24309                fixed: 1 1;
24310                rel1 {
24311                   to: "base";
24312                   relative: 0.0 1.0;
24313                   offset: 0 0;
24314                }
24315                rel2 {
24316                   to: "base";
24317                   relative: 1.0 1.0;
24318                   offset: -1 0;
24319                }
24320                image {
24321                   normal: "ilist_item_shadow.png";
24322                }
24323                fill.smooth: 0;
24324             }
24325          }
24326          part {
24327             name: "base";
24328             mouse_events: 0;
24329             description {
24330                state: "default" 0.0;
24331                image {
24332                   normal: "ilist_1.png";
24333                   border: 2 2 2 2;
24334                }
24335                fill.smooth: 0;
24336             }
24337          }
24338          part { name: "bg";
24339             clip_to: "disclip";
24340             mouse_events: 0;
24341             description { state: "default" 0.0;
24342                visible: 0;
24343                color: 255 255 255 0;
24344                rel1 {
24345                   relative: 0.0 0.0;
24346                   offset: -5 -5;
24347                }
24348                rel2 {
24349                   relative: 1.0 1.0;
24350                   offset: 4 4;
24351                }
24352                image {
24353                   normal: "bt_sm_base1.png";
24354                   border: 6 6 6 6;
24355                }
24356                image.middle: SOLID;
24357             }
24358             description { state: "selected" 0.0;
24359                inherit: "default" 0.0;
24360                visible: 1;
24361                color: 255 255 255 255;
24362                rel1 {
24363                   relative: 0.0 0.0;
24364                   offset: -2 -2;
24365                }
24366                rel2 {
24367                   relative: 1.0 1.0;
24368                   offset: 1 1;
24369                }
24370             }
24371          }
24372          part { name: "elm.swallow.pad";
24373             type: SWALLOW;
24374             description { state: "default" 0.0;
24375                fixed: 1 0;
24376                align: 0.0 0.5;
24377                rel1 {
24378                   relative: 0.0  0.0;
24379                   offset:   4    4;
24380                }
24381                rel2 {
24382                   relative: 0.0  1.0;
24383                   offset:   4   -5;
24384                }
24385             }
24386          }
24387          part { name: "elm.text.title";
24388             clip_to: "disclip";
24389             type:           TEXT;
24390             effect:         SOFT_SHADOW;
24391             mouse_events:   0;
24392             scale: 1;
24393             description {
24394                state: "default" 0.0;
24395                rel1 {
24396                   relative: 0.0  0.0;
24397                   offset:   4 4;
24398                }
24399                rel2 {
24400                   relative: 1.0  0.5;
24401                   offset:   -1 -5;
24402                }
24403                color: 0 0 0 255;
24404                color3: 0 0 0 0;
24405                text {
24406                   font: "Sans";
24407                   size: 10;
24408                   min: 0 1;
24409                   align: 0.0 0.5;
24410                }
24411             }
24412             description { state: "selected" 0.0;
24413                inherit: "default" 0.0;
24414                color: 224 224 224 255;
24415                color3: 0 0 0 64;
24416             }
24417          }
24418          part { name: "elm.text.album-artist";
24419             clip_to: "disclip";
24420             type:           TEXT;
24421             mouse_events:   0;
24422             scale: 1;
24423             description {
24424                state: "default" 0.0;
24425                rel1 {
24426                   relative: 0.0  0.5;
24427                   offset:   4 4;
24428                }
24429                rel2 {
24430                   relative: 1.0  1.0;
24431                   offset:   -1 -5;
24432                }
24433                color: 0 0 0 128;
24434                color3: 0 0 0 0;
24435                text {
24436                   font: "Sans";
24437                   size: 8;
24438                   min: 0 1;
24439                   align: 0.0 0.5;
24440                }
24441             }
24442             description { state: "selected" 0.0;
24443                inherit: "default" 0.0;
24444                color: 128 128 128 255;
24445                color3: 0 0 0 32;
24446             }
24447          }
24448          part { name: "fg1";
24449             clip_to: "disclip";
24450             mouse_events: 0;
24451             description { state: "default" 0.0;
24452                visible: 0;
24453                color: 255 255 255 0;
24454                rel1.to: "bg";
24455                rel2.relative: 1.0 0.5;
24456                rel2.to: "bg";
24457                image {
24458                   normal: "bt_sm_hilight.png";
24459                   border: 6 6 6 0;
24460                }
24461             }
24462             description { state: "selected" 0.0;
24463                inherit: "default" 0.0;
24464                visible: 1;
24465                color: 255 255 255 255;
24466             }
24467          }
24468          part { name: "fg2";
24469             clip_to: "disclip";
24470             mouse_events: 0;
24471             description { state: "default" 0.0;
24472                visible: 0;
24473                color: 255 255 255 0;
24474                rel1.to: "bg";
24475                rel2.to: "bg";
24476                image {
24477                   normal: "bt_sm_shine.png";
24478                   border: 6 6 6 0;
24479                }
24480             }
24481             description { state: "selected" 0.0;
24482                inherit: "default" 0.0;
24483                visible: 1;
24484                color: 255 255 255 255;
24485             }
24486          }
24487          part { name: "disclip";
24488             type: RECT;
24489             description { state: "default" 0.0;
24490                rel1.to: "bg";
24491                rel2.to: "bg";
24492             }
24493             description { state: "disabled" 0.0;
24494                inherit: "default" 0.0;
24495                color: 255 255 255 64;
24496             }
24497          }
24498       }
24499       programs {
24500          // signal: elm,state,%s,active
24501          //   a "check" item named %s went active
24502          // signal: elm,state,%s,passive
24503          //   a "check" item named %s went passive
24504          // default is passive
24505          program {
24506             name:    "go_active";
24507             signal:  "elm,state,selected";
24508             source:  "elm";
24509             action:  STATE_SET "selected" 0.0;
24510             target:  "bg";
24511             target:  "fg1";
24512             target:  "fg2";
24513             target:  "elm.text.title";
24514             target:  "elm.text.album-artist";
24515          }
24516          program {
24517             name:    "go_passive";
24518             signal:  "elm,state,unselected";
24519             source:  "elm";
24520             action:  STATE_SET "default" 0.0;
24521             target:  "bg";
24522             target:  "fg1";
24523             target:  "fg2";
24524             target:  "elm.text.title";
24525             target:  "elm.text.album-artist";
24526             transition: LINEAR 0.1;
24527          }
24528          program {
24529             name:    "go_disabled";
24530             signal:  "elm,state,disabled";
24531             source:  "elm";
24532             action:  STATE_SET "disabled" 0.0;
24533             target:  "disclip";
24534          }
24535          program {
24536             name:    "go_enabled";
24537             signal:  "elm,state,enabled";
24538             source:  "elm";
24539             action:  STATE_SET "default" 0.0;
24540             target:  "disclip";
24541          }
24542       }
24543    }
24544    group { name: "elm/genlist/item_compress_odd/media/default";
24545       data.item: "stacking" "below";
24546       data.item: "selectraise" "on";
24547       data.item: "labels" "elm.text.title elm.text.album-artist";
24548       data.item: "treesize" "20";
24549       images {
24550          image: "bt_sm_base1.png" COMP;
24551          image: "bt_sm_shine.png" COMP;
24552          image: "bt_sm_hilight.png" COMP;
24553          image: "ilist_2.png" COMP;
24554       }
24555       parts {
24556          part { name: "event";
24557             type: RECT;
24558             repeat_events: 1;
24559             description {
24560                state: "default" 0.0;
24561                color: 0 0 0 0;
24562             }
24563          }
24564          part {
24565             name: "base";
24566             mouse_events: 0;
24567             description {
24568                state: "default" 0.0;
24569                image {
24570                   normal: "ilist_2.png";
24571                   border: 2 2 2 2;
24572                }
24573                fill.smooth: 0;
24574             }
24575          }
24576          part { name: "bg";
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 {
24583                   relative: 0.0 0.0;
24584                   offset: -5 -5;
24585                }
24586                rel2 {
24587                   relative: 1.0 1.0;
24588                   offset: 4 4;
24589                }
24590                image {
24591                   normal: "bt_sm_base1.png";
24592                   border: 6 6 6 6;
24593                }
24594                image.middle: SOLID;
24595             }
24596             description { state: "selected" 0.0;
24597                inherit: "default" 0.0;
24598                visible: 1;
24599                color: 255 255 255 255;
24600                rel1 {
24601                   relative: 0.0 0.0;
24602                   offset: -2 -2;
24603                }
24604                rel2 {
24605                   relative: 1.0 1.0;
24606                   offset: 1 1;
24607                }
24608             }
24609          }
24610          part { name: "elm.swallow.pad";
24611             type: SWALLOW;
24612             description { state: "default" 0.0;
24613                fixed: 1 0;
24614                align: 0.0 0.5;
24615                rel1 {
24616                   relative: 0.0  0.0;
24617                   offset:   4    4;
24618                }
24619                rel2 {
24620                   relative: 0.0  1.0;
24621                   offset:   4   -5;
24622                }
24623             }
24624          }
24625          part { name: "elm.text.title";
24626             clip_to: "disclip";
24627             type:           TEXT;
24628             effect:         SOFT_SHADOW;
24629             mouse_events:   0;
24630             scale: 1;
24631             description {
24632                state: "default" 0.0;
24633                rel1 {
24634                   relative: 0.0  0.0;
24635                   offset:   4 4;
24636                }
24637                rel2 {
24638                   relative: 1.0  0.5;
24639                   offset:   -1 -5;
24640                }
24641                color: 0 0 0 255;
24642                color3: 0 0 0 0;
24643                text {
24644                   font: "Sans";
24645                   size: 10;
24646                   min: 0 1;
24647                   align: 0.0 0.5;
24648                }
24649             }
24650             description { state: "selected" 0.0;
24651                inherit: "default" 0.0;
24652                color: 224 224 224 255;
24653                color3: 0 0 0 64;
24654             }
24655          }
24656          part { name: "elm.text.album-artist";
24657             clip_to: "disclip";
24658             type:           TEXT;
24659             mouse_events:   0;
24660             scale: 1;
24661             description {
24662                state: "default" 0.0;
24663                rel1 {
24664                   relative: 0.0  0.5;
24665                   offset:   4 4;
24666                }
24667                rel2 {
24668                   relative: 1.0  1.0;
24669                   offset:   -1 -5;
24670                }
24671                color: 0 0 0 128;
24672                color3: 0 0 0 0;
24673                text {
24674                   font: "Sans";
24675                   size: 8;
24676                   min: 0 1;
24677                   align: 0.0 0.5;
24678                }
24679             }
24680             description { state: "selected" 0.0;
24681                inherit: "default" 0.0;
24682                color: 128 128 128 255;
24683                color3: 0 0 0 32;
24684             }
24685          }
24686          part { name: "fg1";
24687             clip_to: "disclip";
24688             mouse_events: 0;
24689             description { state: "default" 0.0;
24690                visible: 0;
24691                color: 255 255 255 0;
24692                rel1.to: "bg";
24693                rel2.relative: 1.0 0.5;
24694                rel2.to: "bg";
24695                image {
24696                   normal: "bt_sm_hilight.png";
24697                   border: 6 6 6 0;
24698                }
24699             }
24700             description { state: "selected" 0.0;
24701                inherit: "default" 0.0;
24702                visible: 1;
24703                color: 255 255 255 255;
24704             }
24705          }
24706          part { name: "fg2";
24707             clip_to: "disclip";
24708             mouse_events: 0;
24709             description { state: "default" 0.0;
24710                visible: 0;
24711                color: 255 255 255 0;
24712                rel1.to: "bg";
24713                rel2.to: "bg";
24714                image {
24715                   normal: "bt_sm_shine.png";
24716                   border: 6 6 6 0;
24717                }
24718             }
24719             description { state: "selected" 0.0;
24720                inherit: "default" 0.0;
24721                visible: 1;
24722                color: 255 255 255 255;
24723             }
24724          }
24725          part { name: "disclip";
24726             type: RECT;
24727             description { state: "default" 0.0;
24728                rel1.to: "bg";
24729                rel2.to: "bg";
24730             }
24731             description { state: "disabled" 0.0;
24732                inherit: "default" 0.0;
24733                color: 255 255 255 64;
24734             }
24735          }
24736       }
24737       programs {
24738          // signal: elm,state,%s,active
24739          //   a "check" item named %s went active
24740          // signal: elm,state,%s,passive
24741          //   a "check" item named %s went passive
24742          // default is passive
24743          program {
24744             name:    "go_active";
24745             signal:  "elm,state,selected";
24746             source:  "elm";
24747             action:  STATE_SET "selected" 0.0;
24748             target:  "bg";
24749             target:  "fg1";
24750             target:  "fg2";
24751             target:  "elm.text.title";
24752             target:  "elm.text.album-artist";
24753          }
24754          program {
24755             name:    "go_passive";
24756             signal:  "elm,state,unselected";
24757             source:  "elm";
24758             action:  STATE_SET "default" 0.0;
24759             target:  "bg";
24760             target:  "fg1";
24761             target:  "fg2";
24762             target:  "elm.text.title";
24763             target:  "elm.text.album-artist";
24764             transition: LINEAR 0.1;
24765          }
24766          program {
24767             name:    "go_disabled";
24768             signal:  "elm,state,disabled";
24769             source:  "elm";
24770             action:  STATE_SET "disabled" 0.0;
24771             target:  "disclip";
24772          }
24773          program {
24774             name:    "go_enabled";
24775             signal:  "elm,state,enabled";
24776             source:  "elm";
24777             action:  STATE_SET "default" 0.0;
24778             target:  "disclip";
24779          }
24780       }
24781    }
24782
24783    group { name: "elm/genlist/item_compress/media-album/default";
24784       data.item: "stacking" "above";
24785       data.item: "selectraise" "on";
24786       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24787       data.item: "states" "elm.state.trackno";
24788       data.item: "treesize" "20";
24789       images {
24790          image: "bt_sm_base1.png" COMP;
24791          image: "bt_sm_shine.png" COMP;
24792          image: "bt_sm_hilight.png" COMP;
24793          image: "ilist_1.png" COMP;
24794          image: "ilist_item_shadow.png" COMP;
24795       }
24796       script {
24797          public dot_visible;
24798       }
24799       parts {
24800          part {
24801             name: "event";
24802             type: RECT;
24803             repeat_events: 1;
24804             description {
24805                state: "default" 0.0;
24806                color: 0 0 0 0;
24807             }
24808          }
24809          part {
24810             name: "base_sh";
24811             mouse_events: 0;
24812             description {
24813                state: "default" 0.0;
24814                align: 0.0 0.0;
24815                min: 0 10;
24816                fixed: 1 1;
24817                rel1 {
24818                   to: "base";
24819                   relative: 0.0 1.0;
24820                   offset: 0 0;
24821                }
24822                rel2 {
24823                   to: "base";
24824                   relative: 1.0 1.0;
24825                   offset: -1 0;
24826                }
24827                image {
24828                   normal: "ilist_item_shadow.png";
24829                }
24830                fill.smooth: 0;
24831             }
24832          }
24833          part {
24834             name: "base";
24835             mouse_events: 0;
24836             description {
24837                state: "default" 0.0;
24838                image {
24839                   normal: "ilist_1.png";
24840                   border: 2 2 2 2;
24841                }
24842                fill.smooth: 0;
24843             }
24844          }
24845          part { name: "bg";
24846             clip_to: "disclip";
24847             mouse_events: 0;
24848             description { state: "default" 0.0;
24849                visible: 0;
24850                color: 255 255 255 0;
24851                rel1 {
24852                   relative: 0.0 0.0;
24853                   offset: -5 -5;
24854                }
24855                rel2 {
24856                   relative: 1.0 1.0;
24857                   offset: 4 4;
24858                }
24859                image {
24860                   normal: "bt_sm_base1.png";
24861                   border: 6 6 6 6;
24862                }
24863                image.middle: SOLID;
24864             }
24865             description { state: "selected" 0.0;
24866                inherit: "default" 0.0;
24867                visible: 1;
24868                color: 255 255 255 255;
24869                rel1 {
24870                   relative: 0.0 0.0;
24871                   offset: -2 -2;
24872                }
24873                rel2 {
24874                   relative: 1.0 1.0;
24875                   offset: 1 1;
24876                }
24877             }
24878          }
24879          part { name: "elm.swallow.pad";
24880             type: SWALLOW;
24881             description { state: "default" 0.0;
24882                fixed: 1 0;
24883                align: 0.0 0.5;
24884                rel1 {
24885                   relative: 0.0  0.0;
24886                   offset:   4    4;
24887                }
24888                rel2 {
24889                   relative: 0.0  1.0;
24890                   offset:   4   -5;
24891                }
24892             }
24893          }
24894          part {
24895             name: "elm.text.trackno";
24896             type: TEXT;
24897             scale: 1;
24898             mouse_events: 0;
24899             description {
24900                state: "default" 0.0;
24901                color: 255 255 255 255;
24902                align: 0.0 0.0;
24903                fixed: 1 0;
24904                rel1 {
24905                   to_y: "elm.text.title";
24906                   relative: 0.0 0.0;
24907                   offset: 5 0;
24908                }
24909                rel2 {
24910                   to_y: "elm.text.title";
24911                   relative: 0.0 1.0;
24912                   offset: 20 0;
24913                }
24914                color: 0 0 0 255;
24915                color3: 0 0 0 0;
24916                text {
24917                   font: "Sans";
24918                   size: 10;
24919                   min: 1 1;
24920                   align: 1.0 0.5;
24921                }
24922             }
24923             description { state: "selected" 0.0;
24924                inherit: "default" 0.0;
24925                color: 224 224 224 255;
24926                color3: 0 0 0 64;
24927             }
24928          }
24929          part {
24930             name: "dot";
24931             type: TEXT;
24932             scale: 1;
24933             mouse_events: 0;
24934             description {
24935                state: "default" 0.0;
24936                color: 255 255 255 255;
24937                visible: 0;
24938                fixed: 1 1;
24939                align: 0.0 0.0;
24940                rel1 {
24941                   to_x: "elm.text.trackno";
24942                   to_y: "elm.text.title";
24943                   relative: 1.0 0.0;
24944                   offset: 1 0;
24945                }
24946                rel2 {
24947                   to_x: "elm.text.trackno";
24948                   to_y: "elm.text.title";
24949                   relative: 1.0 1.0;
24950                   offset: 1 0;
24951
24952                }
24953                color: 0 0 0 255;
24954                color3: 0 0 0 0;
24955                text {
24956                   font: "Sans";
24957                   size: 10;
24958                   min: 1 1;
24959                   align: 0.0 0.5;
24960                   text: ".";
24961                }
24962             }
24963             description {
24964                state: "visible" 0.0;
24965                inherit: "default" 0.0;
24966                visible: 1;
24967             }
24968             description { state: "selected" 0.0;
24969                inherit: "default" 0.0;
24970                color: 224 224 224 255;
24971                color3: 0 0 0 64;
24972                visible: 1;
24973             }
24974          }
24975          programs {
24976             program {
24977                signal: "elm,state,elm.state.trackno,active";
24978                source: "elm";
24979                script {
24980                   set_state(PART:"dot", "visible", 0.0);
24981                   set_int(dot_visible, 1);
24982                }
24983             }
24984          }
24985          part { name: "elm.text.title";
24986             clip_to: "disclip";
24987             type:           TEXT;
24988             effect:         SOFT_SHADOW;
24989             mouse_events:   0;
24990             scale: 1;
24991             description {
24992                state: "default" 0.0;
24993                rel1 {
24994                   to_x: "dot";
24995                   relative: 0.0  0.0;
24996                   offset:   4 4;
24997                }
24998                rel2 {
24999                   relative: 1.0  0.5;
25000                   offset:   -1 -5;
25001                }
25002                color: 0 0 0 255;
25003                color3: 0 0 0 0;
25004                text {
25005                   font: "Sans";
25006                   size: 10;
25007                   min: 0 1;
25008                   align: 0.0 0.5;
25009                }
25010             }
25011             description { state: "selected" 0.0;
25012                inherit: "default" 0.0;
25013                color: 224 224 224 255;
25014                color3: 0 0 0 64;
25015             }
25016          }
25017          part { name: "elm.text.length";
25018             clip_to: "disclip";
25019             type:           TEXT;
25020             mouse_events:   0;
25021             scale: 1;
25022             description {
25023                state: "default" 0.0;
25024                rel1 {
25025                   relative: 0.0  0.5;
25026                   offset:   4 4;
25027                }
25028                rel2 {
25029                   relative: 1.0  1.0;
25030                   offset:   -1 -5;
25031                }
25032                color: 0 0 0 128;
25033                color3: 0 0 0 0;
25034                text {
25035                   font: "Sans";
25036                   size: 8;
25037                   min: 0 1;
25038                   align: 0.0 0.5;
25039                }
25040             }
25041             description { state: "selected" 0.0;
25042                inherit: "default" 0.0;
25043                color: 128 128 128 255;
25044                color3: 0 0 0 32;
25045             }
25046          }
25047          part { name: "fg1";
25048             clip_to: "disclip";
25049             mouse_events: 0;
25050             description { state: "default" 0.0;
25051                visible: 0;
25052                color: 255 255 255 0;
25053                rel1.to: "bg";
25054                rel2.relative: 1.0 0.5;
25055                rel2.to: "bg";
25056                image {
25057                   normal: "bt_sm_hilight.png";
25058                   border: 6 6 6 0;
25059                }
25060             }
25061             description { state: "selected" 0.0;
25062                inherit: "default" 0.0;
25063                visible: 1;
25064                color: 255 255 255 255;
25065             }
25066          }
25067          part { name: "fg2";
25068             clip_to: "disclip";
25069             mouse_events: 0;
25070             description { state: "default" 0.0;
25071                visible: 0;
25072                color: 255 255 255 0;
25073                rel1.to: "bg";
25074                rel2.to: "bg";
25075                image {
25076                   normal: "bt_sm_shine.png";
25077                   border: 6 6 6 0;
25078                }
25079             }
25080             description { state: "selected" 0.0;
25081                inherit: "default" 0.0;
25082                visible: 1;
25083                color: 255 255 255 255;
25084             }
25085          }
25086          part { name: "disclip";
25087             type: RECT;
25088             description { state: "default" 0.0;
25089                rel1.to: "bg";
25090                rel2.to: "bg";
25091             }
25092             description { state: "disabled" 0.0;
25093                inherit: "default" 0.0;
25094                color: 255 255 255 64;
25095             }
25096          }
25097       }
25098       programs {
25099          // signal: elm,state,%s,active
25100          //   a "check" item named %s went active
25101          // signal: elm,state,%s,passive
25102          //   a "check" item named %s went passive
25103          // default is passive
25104          program {
25105             name:    "go_active";
25106             signal:  "elm,state,selected";
25107             source:  "elm";
25108             action:  STATE_SET "selected" 0.0;
25109             target:  "bg";
25110             target:  "fg1";
25111             target:  "fg2";
25112             target:  "elm.text.title";
25113             target:  "elm.text.trackno";
25114             target:  "elm.text.length";
25115             after:   "dot_active";
25116          }
25117          program {
25118             name: "dot_active";
25119             script {
25120                if (get_int(dot_visible) == 1)
25121                   set_state(PART:"dot", "selected", 0.0);
25122             }
25123          }
25124          program {
25125             name:    "go_passive";
25126             signal:  "elm,state,unselected";
25127             source:  "elm";
25128             action:  STATE_SET "default" 0.0;
25129             target:  "bg";
25130             target:  "fg1";
25131             target:  "fg2";
25132             target:  "elm.text.title";
25133             target:  "elm.text.length";
25134             target:  "elm.text.trackno";
25135             transition: LINEAR 0.1;
25136             after:   "dot_passive";
25137          }
25138          program {
25139             name: "dot_passive";
25140             script {
25141                if (get_int(dot_visible) == 1)
25142                   set_state(PART:"dot", "visible", 0.0);
25143             }
25144          }
25145          program {
25146             name:    "go_disabled";
25147             signal:  "elm,state,disabled";
25148             source:  "elm";
25149             action:  STATE_SET "disabled" 0.0;
25150             target:  "disclip";
25151          }
25152          program {
25153             name:    "go_enabled";
25154             signal:  "elm,state,enabled";
25155             source:  "elm";
25156             action:  STATE_SET "default" 0.0;
25157             target:  "disclip";
25158          }
25159       }
25160    }
25161    group { name: "elm/genlist/item_compress_odd/media-album/default";
25162       data.item: "stacking" "below";
25163       data.item: "selectraise" "on";
25164       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25165       data.item: "states" "elm.state.trackno";
25166       data.item: "treesize" "20";
25167       images {
25168          image: "bt_sm_base1.png" COMP;
25169          image: "bt_sm_shine.png" COMP;
25170          image: "bt_sm_hilight.png" COMP;
25171          image: "ilist_2.png" COMP;
25172       }
25173       script {
25174          public dot_visible;
25175       }
25176       parts {
25177          part { name: "event";
25178             type: RECT;
25179             repeat_events: 1;
25180             description {
25181                state: "default" 0.0;
25182                color: 0 0 0 0;
25183             }
25184          }
25185          part {
25186             name: "base";
25187             mouse_events: 0;
25188             description {
25189                state: "default" 0.0;
25190                image {
25191                   normal: "ilist_2.png";
25192                   border: 2 2 2 2;
25193                }
25194                fill.smooth: 0;
25195             }
25196          }
25197          part { name: "bg";
25198             clip_to: "disclip";
25199             mouse_events: 0;
25200             description { state: "default" 0.0;
25201                visible: 0;
25202                color: 255 255 255 0;
25203                rel1 {
25204                   relative: 0.0 0.0;
25205                   offset: -5 -5;
25206                }
25207                rel2 {
25208                   relative: 1.0 1.0;
25209                   offset: 4 4;
25210                }
25211                image {
25212                   normal: "bt_sm_base1.png";
25213                   border: 6 6 6 6;
25214                }
25215                image.middle: SOLID;
25216             }
25217             description { state: "selected" 0.0;
25218                inherit: "default" 0.0;
25219                visible: 1;
25220                color: 255 255 255 255;
25221                rel1 {
25222                   relative: 0.0 0.0;
25223                   offset: -2 -2;
25224                }
25225                rel2 {
25226                   relative: 1.0 1.0;
25227                   offset: 1 1;
25228                }
25229             }
25230          }
25231          part { name: "elm.swallow.pad";
25232             type: SWALLOW;
25233             description { state: "default" 0.0;
25234                fixed: 1 0;
25235                align: 0.0 0.5;
25236                rel1 {
25237                   relative: 0.0  0.0;
25238                   offset:   4    4;
25239                }
25240                rel2 {
25241                   relative: 0.0  1.0;
25242                   offset:   4   -5;
25243                }
25244             }
25245          }
25246          part {
25247             name: "elm.text.trackno";
25248             type: TEXT;
25249             scale: 1;
25250             mouse_events: 0;
25251             description {
25252                state: "default" 0.0;
25253                color: 255 255 255 255;
25254                align: 0.0 0.0;
25255                fixed: 1 0;
25256                rel1 {
25257                   to_y: "elm.text.title";
25258                   relative: 0.0 0.0;
25259                   offset: 5 0;
25260                }
25261                rel2 {
25262                   to_y: "elm.text.title";
25263                   relative: 0.0 1.0;
25264                   offset: 20 0;
25265                }
25266                color: 0 0 0 255;
25267                color3: 0 0 0 0;
25268                text {
25269                   font: "Sans";
25270                   size: 10;
25271                   min: 1 1;
25272                   align: 1.0 0.5;
25273                }
25274             }
25275             description { state: "selected" 0.0;
25276                inherit: "default" 0.0;
25277                color: 224 224 224 255;
25278                color3: 0 0 0 64;
25279             }
25280          }
25281          part {
25282             name: "dot";
25283             type: TEXT;
25284             scale: 1;
25285             mouse_events: 0;
25286             description {
25287                state: "default" 0.0;
25288                color: 255 255 255 255;
25289                visible: 0;
25290                fixed: 1 1;
25291                align: 0.0 0.0;
25292                rel1 {
25293                   to_x: "elm.text.trackno";
25294                   to_y: "elm.text.title";
25295                   relative: 1.0 0.0;
25296                   offset: 1 0;
25297                }
25298                rel2 {
25299                   to_x: "elm.text.trackno";
25300                   to_y: "elm.text.title";
25301                   relative: 1.0 1.0;
25302                   offset: 1 0;
25303
25304                }
25305                color: 0 0 0 255;
25306                color3: 0 0 0 0;
25307                text {
25308                   font: "Sans";
25309                   size: 10;
25310                   min: 1 1;
25311                   align: 0.0 0.5;
25312                   text: ".";
25313                }
25314             }
25315             description {
25316                state: "visible" 0.0;
25317                inherit: "default" 0.0;
25318                visible: 1;
25319             }
25320             description { state: "selected" 0.0;
25321                inherit: "default" 0.0;
25322                color: 224 224 224 255;
25323                color3: 0 0 0 64;
25324                visible: 1;
25325             }
25326          }
25327          programs {
25328             program {
25329                signal: "elm,state,elm.state.trackno,active";
25330                source: "elm";
25331                script {
25332                   set_state(PART:"dot", "visible", 0.0);
25333                   set_int(dot_visible, 1);
25334                }
25335             }
25336          }
25337          part { name: "elm.text.title";
25338             clip_to: "disclip";
25339             type:           TEXT;
25340             effect:         SOFT_SHADOW;
25341             mouse_events:   0;
25342             scale: 1;
25343             description {
25344                state: "default" 0.0;
25345                rel1 {
25346                   to_x: "dot";
25347                   relative: 1.0  0.0;
25348                   offset:   4 4;
25349                }
25350                rel2 {
25351                   relative: 1.0  0.5;
25352                   offset:   -1 -5;
25353                }
25354                color: 0 0 0 255;
25355                color3: 0 0 0 0;
25356                text {
25357                   font: "Sans";
25358                   size: 10;
25359                   min: 0 1;
25360                   align: 0.0 0.5;
25361                }
25362             }
25363             description { state: "selected" 0.0;
25364                inherit: "default" 0.0;
25365                color: 224 224 224 255;
25366                color3: 0 0 0 64;
25367             }
25368          }
25369          part { name: "elm.text.length";
25370             clip_to: "disclip";
25371             type:           TEXT;
25372             mouse_events:   0;
25373             scale: 1;
25374             description {
25375                state: "default" 0.0;
25376                rel1 {
25377                   relative: 0.0  0.5;
25378                   offset:   4 4;
25379                }
25380                rel2 {
25381                   relative: 1.0  1.0;
25382                   offset:   -1 -5;
25383                }
25384                color: 0 0 0 128;
25385                color3: 0 0 0 0;
25386                text {
25387                   font: "Sans";
25388                   size: 8;
25389                   min: 0 1;
25390                   align: 0.0 0.5;
25391                }
25392             }
25393             description { state: "selected" 0.0;
25394                inherit: "default" 0.0;
25395                color: 128 128 128 255;
25396                color3: 0 0 0 32;
25397             }
25398          }
25399          part { name: "fg1";
25400             clip_to: "disclip";
25401             mouse_events: 0;
25402             description { state: "default" 0.0;
25403                visible: 0;
25404                color: 255 255 255 0;
25405                rel1.to: "bg";
25406                rel2.relative: 1.0 0.5;
25407                rel2.to: "bg";
25408                image {
25409                   normal: "bt_sm_hilight.png";
25410                   border: 6 6 6 0;
25411                }
25412             }
25413             description { state: "selected" 0.0;
25414                inherit: "default" 0.0;
25415                visible: 1;
25416                color: 255 255 255 255;
25417             }
25418          }
25419          part { name: "fg2";
25420             clip_to: "disclip";
25421             mouse_events: 0;
25422             description { state: "default" 0.0;
25423                visible: 0;
25424                color: 255 255 255 0;
25425                rel1.to: "bg";
25426                rel2.to: "bg";
25427                image {
25428                   normal: "bt_sm_shine.png";
25429                   border: 6 6 6 0;
25430                }
25431             }
25432             description { state: "selected" 0.0;
25433                inherit: "default" 0.0;
25434                visible: 1;
25435                color: 255 255 255 255;
25436             }
25437          }
25438          part { name: "disclip";
25439             type: RECT;
25440             description { state: "default" 0.0;
25441                rel1.to: "bg";
25442                rel2.to: "bg";
25443             }
25444             description { state: "disabled" 0.0;
25445                inherit: "default" 0.0;
25446                color: 255 255 255 64;
25447             }
25448          }
25449       }
25450       programs {
25451          // signal: elm,state,%s,active
25452          //   a "check" item named %s went active
25453          // signal: elm,state,%s,passive
25454          //   a "check" item named %s went passive
25455          // default is passive
25456          program {
25457             name:    "go_active";
25458             signal:  "elm,state,selected";
25459             source:  "elm";
25460             action:  STATE_SET "selected" 0.0;
25461             target:  "bg";
25462             target:  "fg1";
25463             target:  "fg2";
25464             target:  "elm.text.title";
25465             target:  "elm.text.length";
25466             target:  "elm.text.trackno";
25467             after:   "dot_active";
25468          }
25469          program {
25470             name: "dot_active";
25471             script {
25472                if (get_int(dot_visible) == 1)
25473                   set_state(PART:"dot", "selected", 0.0);
25474             }
25475          }
25476          program {
25477             name:    "go_passive";
25478             signal:  "elm,state,unselected";
25479             source:  "elm";
25480             action:  STATE_SET "default" 0.0;
25481             target:  "bg";
25482             target:  "fg1";
25483             target:  "fg2";
25484             target:  "elm.text.title";
25485             target:  "elm.text.length";
25486             target:  "elm.text.trackno";
25487             transition: LINEAR 0.1;
25488             after:   "dot_passive";
25489          }
25490          program {
25491             name: "dot_passive";
25492             script {
25493                if (get_int(dot_visible) == 1)
25494                   set_state(PART:"dot", "visible", 0.0);
25495             }
25496          }
25497          program {
25498             name:    "go_disabled";
25499             signal:  "elm,state,disabled";
25500             source:  "elm";
25501             action:  STATE_SET "disabled" 0.0;
25502             target:  "disclip";
25503          }
25504          program {
25505             name:    "go_enabled";
25506             signal:  "elm,state,enabled";
25507             source:  "elm";
25508             action:  STATE_SET "default" 0.0;
25509             target:  "disclip";
25510          }
25511       }
25512    }
25513
25514    group { name: "elm/genlist/item_compress/media-preview/default";
25515       data.item: "stacking" "above";
25516       data.item: "selectraise" "on";
25517       data.item: "labels" "elm.text.title elm.text.artist";
25518       data.item: "icons" "elm.swallow.preview";
25519       data.item: "treesize" "20";
25520       images {
25521          image: "bt_sm_base1.png" COMP;
25522          image: "bt_sm_shine.png" COMP;
25523          image: "bt_sm_hilight.png" COMP;
25524          image: "ilist_1.png" COMP;
25525          image: "ilist_item_shadow.png" COMP;
25526       }
25527       parts {
25528          part {
25529             name: "event";
25530             type: RECT;
25531             repeat_events: 1;
25532             description {
25533                state: "default" 0.0;
25534                color: 0 0 0 0;
25535             }
25536          }
25537          part {
25538             name: "base_sh";
25539             mouse_events: 0;
25540             description {
25541                state: "default" 0.0;
25542                align: 0.0 0.0;
25543                min: 0 10;
25544                fixed: 1 1;
25545                rel1 {
25546                   to: "base";
25547                   relative: 0.0 1.0;
25548                   offset: 0 0;
25549                }
25550                rel2 {
25551                   to: "base";
25552                   relative: 1.0 1.0;
25553                   offset: -1 0;
25554                }
25555                image {
25556                   normal: "ilist_item_shadow.png";
25557                }
25558                fill.smooth: 0;
25559             }
25560          }
25561          part {
25562             name: "base";
25563             mouse_events: 0;
25564             description {
25565                state: "default" 0.0;
25566                image {
25567                   normal: "ilist_1.png";
25568                   border: 2 2 2 2;
25569                }
25570                fill.smooth: 0;
25571             }
25572          }
25573          part { name: "bg";
25574             clip_to: "disclip";
25575             mouse_events: 0;
25576             description { state: "default" 0.0;
25577                visible: 0;
25578                color: 255 255 255 0;
25579                rel1 {
25580                   relative: 0.0 0.0;
25581                   offset: -5 -5;
25582                }
25583                rel2 {
25584                   relative: 1.0 1.0;
25585                   offset: 4 4;
25586                }
25587                image {
25588                   normal: "bt_sm_base1.png";
25589                   border: 6 6 6 6;
25590                }
25591                image.middle: SOLID;
25592             }
25593             description { state: "selected" 0.0;
25594                inherit: "default" 0.0;
25595                visible: 1;
25596                color: 255 255 255 255;
25597                rel1 {
25598                   relative: 0.0 0.0;
25599                   offset: -2 -2;
25600                }
25601                rel2 {
25602                   relative: 1.0 1.0;
25603                   offset: 1 1;
25604                }
25605             }
25606          }
25607          part { name: "elm.swallow.pad";
25608             type: SWALLOW;
25609             description { state: "default" 0.0;
25610                fixed: 1 0;
25611                align: 0.0 0.5;
25612                rel1 {
25613                   relative: 0.0  0.0;
25614                   offset:   4    4;
25615                }
25616                rel2 {
25617                   relative: 0.0  1.0;
25618                   offset:   4   -5;
25619                }
25620             }
25621          }
25622          part { name: "elm.swallow.preview";
25623             clip_to: "disclip";
25624             type: SWALLOW;
25625             description { state: "default" 0.0;
25626                fixed: 1 0;
25627                align: 0.0 0.5;
25628                min: 68 68;
25629                max: 68 68;
25630                rel1 {
25631                   to_x: "elm.swallow.pad";
25632                   relative: 1.0  0.0;
25633                   offset:   -1    4;
25634                }
25635                rel2 {
25636                   to_x: "elm.swallow.pad";
25637                   relative: 1.0  1.0;
25638                   offset:   -1   -5;
25639                }
25640             }
25641          }
25642          part { name: "elm.text.title";
25643             clip_to: "disclip";
25644             type:           TEXT;
25645             effect:         SOFT_SHADOW;
25646             mouse_events:   0;
25647             scale: 1;
25648             description {
25649                state: "default" 0.0;
25650                rel1 {
25651                   to_x:     "elm.swallow.preview";
25652                   relative: 1.0  0.0;
25653                   offset:   4 4;
25654                }
25655                rel2 {
25656                   relative: 1.0  0.5;
25657                   offset:   -1 -5;
25658                }
25659                color: 0 0 0 255;
25660                color3: 0 0 0 0;
25661                text {
25662                   font: "Sans";
25663                   size: 10;
25664                   min: 0 1;
25665                   align: 0.0 0.5;
25666                }
25667             }
25668             description { state: "selected" 0.0;
25669                inherit: "default" 0.0;
25670                color: 224 224 224 255;
25671                color3: 0 0 0 64;
25672             }
25673          }
25674          part { name: "elm.text.artist";
25675             clip_to: "disclip";
25676             type:           TEXT;
25677             mouse_events:   0;
25678             scale: 1;
25679             description {
25680                state: "default" 0.0;
25681                rel1 {
25682                   to_x:     "elm.swallow.preview";
25683                   relative: 1.0  0.5;
25684                   offset:   4 4;
25685                }
25686                rel2 {
25687                   relative: 1.0  1.0;
25688                   offset:   -1 -5;
25689                }
25690                color: 0 0 0 128;
25691                color3: 0 0 0 0;
25692                text {
25693                   font: "Sans";
25694                   size: 8;
25695                   min: 0 1;
25696                   align: 0.0 0.5;
25697                }
25698             }
25699             description { state: "selected" 0.0;
25700                inherit: "default" 0.0;
25701                color: 128 128 128 255;
25702                color3: 0 0 0 32;
25703             }
25704          }
25705          part { name: "fg1";
25706             clip_to: "disclip";
25707             mouse_events: 0;
25708             description { state: "default" 0.0;
25709                visible: 0;
25710                color: 255 255 255 0;
25711                rel1.to: "bg";
25712                rel2.relative: 1.0 0.5;
25713                rel2.to: "bg";
25714                image {
25715                   normal: "bt_sm_hilight.png";
25716                   border: 6 6 6 0;
25717                }
25718             }
25719             description { state: "selected" 0.0;
25720                inherit: "default" 0.0;
25721                visible: 1;
25722                color: 255 255 255 255;
25723             }
25724          }
25725          part { name: "fg2";
25726             clip_to: "disclip";
25727             mouse_events: 0;
25728             description { state: "default" 0.0;
25729                visible: 0;
25730                color: 255 255 255 0;
25731                rel1.to: "bg";
25732                rel2.to: "bg";
25733                image {
25734                   normal: "bt_sm_shine.png";
25735                   border: 6 6 6 0;
25736                }
25737             }
25738             description { state: "selected" 0.0;
25739                inherit: "default" 0.0;
25740                visible: 1;
25741                color: 255 255 255 255;
25742             }
25743          }
25744          part { name: "disclip";
25745             type: RECT;
25746             description { state: "default" 0.0;
25747                rel1.to: "bg";
25748                rel2.to: "bg";
25749             }
25750             description { state: "disabled" 0.0;
25751                inherit: "default" 0.0;
25752                color: 255 255 255 64;
25753             }
25754          }
25755       }
25756       programs {
25757          // signal: elm,state,%s,active
25758          //   a "check" item named %s went active
25759          // signal: elm,state,%s,passive
25760          //   a "check" item named %s went passive
25761          // default is passive
25762          program {
25763             name:    "go_active";
25764             signal:  "elm,state,selected";
25765             source:  "elm";
25766             action:  STATE_SET "selected" 0.0;
25767             target:  "bg";
25768             target:  "fg1";
25769             target:  "fg2";
25770             target:  "elm.text.title";
25771             target:  "elm.text.artist";
25772          }
25773          program {
25774             name:    "go_passive";
25775             signal:  "elm,state,unselected";
25776             source:  "elm";
25777             action:  STATE_SET "default" 0.0;
25778             target:  "bg";
25779             target:  "fg1";
25780             target:  "fg2";
25781             target:  "elm.text.title";
25782             target:  "elm.text.artist";
25783             transition: LINEAR 0.1;
25784          }
25785          program {
25786             name:    "go_disabled";
25787             signal:  "elm,state,disabled";
25788             source:  "elm";
25789             action:  STATE_SET "disabled" 0.0;
25790             target:  "disclip";
25791          }
25792          program {
25793             name:    "go_enabled";
25794             signal:  "elm,state,enabled";
25795             source:  "elm";
25796             action:  STATE_SET "default" 0.0;
25797             target:  "disclip";
25798          }
25799       }
25800    }
25801    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25802       data.item: "stacking" "below";
25803       data.item: "selectraise" "on";
25804       data.item: "labels" "elm.text.title elm.text.artist";
25805       data.item: "icons" "elm.swallow.preview";
25806       data.item: "treesize" "20";
25807       images {
25808          image: "bt_sm_base1.png" COMP;
25809          image: "bt_sm_shine.png" COMP;
25810          image: "bt_sm_hilight.png" COMP;
25811          image: "ilist_2.png" COMP;
25812       }
25813       parts {
25814          part { name: "event";
25815             type: RECT;
25816             repeat_events: 1;
25817             description {
25818                state: "default" 0.0;
25819                color: 0 0 0 0;
25820             }
25821          }
25822          part {
25823             name: "base";
25824             mouse_events: 0;
25825             description {
25826                state: "default" 0.0;
25827                image {
25828                   normal: "ilist_2.png";
25829                   border: 2 2 2 2;
25830                }
25831                fill.smooth: 0;
25832             }
25833          }
25834          part { name: "bg";
25835             clip_to: "disclip";
25836             mouse_events: 0;
25837             description { state: "default" 0.0;
25838                visible: 0;
25839                color: 255 255 255 0;
25840                rel1 {
25841                   relative: 0.0 0.0;
25842                   offset: -5 -5;
25843                }
25844                rel2 {
25845                   relative: 1.0 1.0;
25846                   offset: 4 4;
25847                }
25848                image {
25849                   normal: "bt_sm_base1.png";
25850                   border: 6 6 6 6;
25851                }
25852                image.middle: SOLID;
25853             }
25854             description { state: "selected" 0.0;
25855                inherit: "default" 0.0;
25856                visible: 1;
25857                color: 255 255 255 255;
25858                rel1 {
25859                   relative: 0.0 0.0;
25860                   offset: -2 -2;
25861                }
25862                rel2 {
25863                   relative: 1.0 1.0;
25864                   offset: 1 1;
25865                }
25866             }
25867          }
25868          part { name: "elm.swallow.pad";
25869             type: SWALLOW;
25870             description { state: "default" 0.0;
25871                fixed: 1 0;
25872                align: 0.0 0.5;
25873                rel1 {
25874                   relative: 0.0  0.0;
25875                   offset:   4    4;
25876                }
25877                rel2 {
25878                   relative: 0.0  1.0;
25879                   offset:   4   -5;
25880                }
25881             }
25882          }
25883          part { name: "elm.swallow.preview";
25884             clip_to: "disclip";
25885             type: SWALLOW;
25886             description { state: "default" 0.0;
25887                fixed: 1 0;
25888                align: 0.0 0.5;
25889                min: 68 68;
25890                max: 68 68;
25891                rel1 {
25892                   to_x: "elm.swallow.pad";
25893                   relative: 1.0  0.0;
25894                   offset:   -1    4;
25895                }
25896                rel2 {
25897                   to_x: "elm.swallow.pad";
25898                   relative: 1.0  1.0;
25899                   offset:   -1   -5;
25900                }
25901             }
25902          }
25903          part { name: "elm.text.title";
25904             clip_to: "disclip";
25905             type:           TEXT;
25906             effect:         SOFT_SHADOW;
25907             mouse_events:   0;
25908             scale: 1;
25909             description {
25910                state: "default" 0.0;
25911                rel1 {
25912                   to_x:     "elm.swallow.preview";
25913                   relative: 1.0  0.0;
25914                   offset:   4 4;
25915                }
25916                rel2 {
25917                   relative: 1.0  0.5;
25918                   offset:   -1 -5;
25919                }
25920                color: 0 0 0 255;
25921                color3: 0 0 0 0;
25922                text {
25923                   font: "Sans";
25924                   size: 10;
25925                   min: 0 1;
25926                   align: 0.0 0.5;
25927                }
25928             }
25929             description { state: "selected" 0.0;
25930                inherit: "default" 0.0;
25931                color: 224 224 224 255;
25932                color3: 0 0 0 64;
25933             }
25934          }
25935          part { name: "elm.text.artist";
25936             clip_to: "disclip";
25937             type:           TEXT;
25938             mouse_events:   0;
25939             scale: 1;
25940             description {
25941                state: "default" 0.0;
25942                rel1 {
25943                   to_x:     "elm.swallow.preview";
25944                   relative: 1.0  0.5;
25945                   offset:   4 4;
25946                }
25947                rel2 {
25948                   relative: 1.0  1.0;
25949                   offset:   -1 -5;
25950                }
25951                color: 0 0 0 128;
25952                color3: 0 0 0 0;
25953                text {
25954                   font: "Sans";
25955                   size: 8;
25956                   min: 0 1;
25957                   align: 0.0 0.5;
25958                }
25959             }
25960             description { state: "selected" 0.0;
25961                inherit: "default" 0.0;
25962                color: 128 128 128 255;
25963                color3: 0 0 0 32;
25964             }
25965          }
25966          part { name: "fg1";
25967             clip_to: "disclip";
25968             mouse_events: 0;
25969             description { state: "default" 0.0;
25970                visible: 0;
25971                color: 255 255 255 0;
25972                rel1.to: "bg";
25973                rel2.relative: 1.0 0.5;
25974                rel2.to: "bg";
25975                image {
25976                   normal: "bt_sm_hilight.png";
25977                   border: 6 6 6 0;
25978                }
25979             }
25980             description { state: "selected" 0.0;
25981                inherit: "default" 0.0;
25982                visible: 1;
25983                color: 255 255 255 255;
25984             }
25985          }
25986          part { name: "fg2";
25987             clip_to: "disclip";
25988             mouse_events: 0;
25989             description { state: "default" 0.0;
25990                visible: 0;
25991                color: 255 255 255 0;
25992                rel1.to: "bg";
25993                rel2.to: "bg";
25994                image {
25995                   normal: "bt_sm_shine.png";
25996                   border: 6 6 6 0;
25997                }
25998             }
25999             description { state: "selected" 0.0;
26000                inherit: "default" 0.0;
26001                visible: 1;
26002                color: 255 255 255 255;
26003             }
26004          }
26005          part { name: "disclip";
26006             type: RECT;
26007             description { state: "default" 0.0;
26008                rel1.to: "bg";
26009                rel2.to: "bg";
26010             }
26011             description { state: "disabled" 0.0;
26012                inherit: "default" 0.0;
26013                color: 255 255 255 64;
26014             }
26015          }
26016       }
26017       programs {
26018          // signal: elm,state,%s,active
26019          //   a "check" item named %s went active
26020          // signal: elm,state,%s,passive
26021          //   a "check" item named %s went passive
26022          // default is passive
26023          program {
26024             name:    "go_active";
26025             signal:  "elm,state,selected";
26026             source:  "elm";
26027             action:  STATE_SET "selected" 0.0;
26028             target:  "bg";
26029             target:  "fg1";
26030             target:  "fg2";
26031             target:  "elm.text.title";
26032             target:  "elm.text.artist";
26033          }
26034          program {
26035             name:    "go_passive";
26036             signal:  "elm,state,unselected";
26037             source:  "elm";
26038             action:  STATE_SET "default" 0.0;
26039             target:  "bg";
26040             target:  "fg1";
26041             target:  "fg2";
26042             target:  "elm.text.title";
26043             target:  "elm.text.artist";
26044             transition: LINEAR 0.1;
26045          }
26046          program {
26047             name:    "go_disabled";
26048             signal:  "elm,state,disabled";
26049             source:  "elm";
26050             action:  STATE_SET "disabled" 0.0;
26051             target:  "disclip";
26052          }
26053          program {
26054             name:    "go_enabled";
26055             signal:  "elm,state,enabled";
26056             source:  "elm";
26057             action:  STATE_SET "default" 0.0;
26058             target:  "disclip";
26059          }
26060       }
26061    }
26062
26063
26064 ///////////////////////////////////////////////////////////////////////////////
26065    group { name: "elm/pager/base/default";
26066       data.item: "onshow" "raise";
26067 // other options
26068 //      data.item: "onhide" "lower";
26069 //      data.item: "onshow" "lower";
26070       images {
26071          image: "frame_1.png" COMP;
26072          image: "frame_2.png" COMP;
26073          image: "dia_grad.png" COMP;
26074       }
26075       parts {
26076          part { name: "clip";
26077             type: RECT;
26078             mouse_events: 0;
26079             description { state: "default" 0.0;
26080                rel1 {
26081                   to: "base";
26082                   offset: -9999 -9999;
26083                }
26084                rel2 {
26085                   to: "base";
26086                   offset: 9999 9999;
26087                }
26088                color: 255 255 255 255;
26089             }
26090             description { state: "visible" 0.0;
26091                inherit: "default" 0.0;
26092             }
26093             description { state: "hidden" 0.0;
26094                inherit: "default" 0.0;
26095                color: 255 255 255 0;
26096                visible: 0;
26097             }
26098          }
26099          part { name: "base0";
26100             mouse_events:  0;
26101             clip_to: "clip";
26102             description { state: "default" 0.0;
26103                image.normal: "dia_grad.png";
26104                rel1.to: "over";
26105                rel2.to: "over";
26106                fill {
26107                   smooth: 0;
26108                   size {
26109                      relative: 0.0 1.0;
26110                      offset: 64 0;
26111                   }
26112                }
26113             }
26114          }
26115          part { name: "base";
26116             mouse_events:  0;
26117             clip_to: "clip";
26118             description { state: "default" 0.0;
26119                image {
26120                   normal: "frame_2.png";
26121                   border: 5 5 32 26;
26122                   middle: 0;
26123                }
26124                fill.smooth : 0;
26125             }
26126             description { state: "hidden" 0.0;
26127                inherit: "default" 0.0;
26128                rel1.relative: -1.0 0.0;
26129                rel2.relative: 0.0 1.0;
26130             }
26131             description { state: "visible" 0.0;
26132                inherit: "default" 0.0;
26133                rel1.relative: 0.0 0.0;
26134                rel2.relative: 1.0 1.0;
26135             }
26136          }
26137          part { name: "over";
26138             mouse_events:  0;
26139             clip_to: "clip";
26140             description { state:    "default" 0.0;
26141                rel1 {
26142                   to: "base";
26143                   offset: 4 4;
26144                }
26145                rel2 {
26146                   to: "base";
26147                   offset: -5 -5;
26148                }
26149                image {
26150                   normal: "frame_1.png";
26151                   border: 2 2 28 22;
26152                   middle: 0;
26153                }
26154                fill.smooth : 0;
26155             }
26156          }
26157          part { name: "elm.swallow.content";
26158             type: SWALLOW;
26159             clip_to: "clip";
26160             description { state: "default" 0.0;
26161                rel1 {
26162                   to: "base";
26163                   offset: 8 8;
26164                }
26165                rel2 {
26166                   to: "base";
26167                   offset: -9 -9;
26168                }
26169             }
26170          }
26171       }
26172       programs {
26173          program { name: "push_start";
26174             signal: "elm,action,push";
26175             source: "elm";
26176             action:  STATE_SET "hidden" 0.0;
26177             target: "base";
26178             target: "clip";
26179             after: "show_start2";
26180          }
26181          program { name: "show_start";
26182             signal: "elm,action,show";
26183             source: "elm";
26184             action:  STATE_SET "hidden" 0.0;
26185             target: "base";
26186             target: "clip";
26187             after: "show_start2";
26188          }
26189          program { name: "show_start2";
26190             action:  STATE_SET "visible" 0.0;
26191             transition: DECELERATE 0.5;
26192             target: "base";
26193             target: "clip";
26194             after: "show_end";
26195          }
26196          program { name: "show_end";
26197             action: SIGNAL_EMIT "elm,action,show,finished" "";
26198          }
26199          program { name: "pop_start";
26200             signal: "elm,action,pop";
26201             source: "elm";
26202             action:  STATE_SET "visible" 0.0;
26203             target: "base";
26204             target: "clip";
26205             after: "hide_start2";
26206          }
26207          program { name: "hide_start";
26208             signal: "elm,action,hide";
26209             source: "elm";
26210             action:  STATE_SET "visible" 0.0;
26211             target: "base";
26212             target: "clip";
26213             after: "hide_start2";
26214          }
26215          program { name: "hide_start2";
26216             action:  STATE_SET "hidden" 0.0;
26217             transition: DECELERATE 0.5;
26218             target: "base";
26219             target: "clip";
26220             after: "hide_end";
26221          }
26222          program { name: "hide_end";
26223             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26224          }
26225          program { name: "reset";
26226             signal: "elm,action,reset";
26227             source: "elm";
26228             action:  STATE_SET "default" 0.0;
26229             target: "base";
26230             target: "clip";
26231          }
26232       }
26233    }
26234
26235    group { name: "elm/pager/base/slide";
26236       images {
26237          image: "frame_1.png" COMP;
26238          image: "frame_2.png" COMP;
26239          image: "dia_grad.png" COMP;
26240       }
26241       parts {
26242          part { name: "clip";
26243             type: RECT;
26244             mouse_events: 0;
26245             description { state: "default" 0.0;
26246                rel1 {
26247                   to: "base";
26248                   offset: -9999 -9999;
26249                }
26250                rel2 {
26251                   to: "base";
26252                   offset: 9999 9999;
26253                }
26254                color: 255 255 255 255;
26255             }
26256             description { state: "visible" 0.0;
26257                inherit: "default" 0.0;
26258             }
26259             description { state: "hidden" 0.0;
26260                inherit: "default" 0.0;
26261                color: 255 255 255 0;
26262                visible: 0;
26263             }
26264             description { state: "hidden2" 0.0;
26265                inherit: "default" 0.0;
26266                color: 255 255 255 0;
26267                visible: 0;
26268             }
26269          }
26270          part { name: "base0";
26271             mouse_events:  0;
26272             clip_to: "clip";
26273             description { state: "default" 0.0;
26274                image.normal: "dia_grad.png";
26275                rel1.to: "over";
26276                rel2.to: "over";
26277                fill {
26278                   smooth: 0;
26279                   size {
26280                      relative: 0.0 1.0;
26281                      offset: 64 0;
26282                   }
26283                }
26284             }
26285          }
26286          part { name: "base";
26287             mouse_events:  0;
26288             clip_to: "clip";
26289             description { state: "default" 0.0;
26290                image {
26291                   normal: "frame_2.png";
26292                   border: 5 5 32 26;
26293                   middle: 0;
26294                }
26295                fill.smooth : 0;
26296             }
26297             description { state: "hidden" 0.0;
26298                inherit: "default" 0.0;
26299                rel1.relative: -1.0 0.0;
26300                rel2.relative: 0.0 1.0;
26301             }
26302             description { state: "hidden2" 0.0;
26303                inherit: "default" 0.0;
26304                rel1.relative: 1.0 0.0;
26305                rel2.relative: 2.0 1.0;
26306             }
26307             description { state: "visible" 0.0;
26308                inherit: "default" 0.0;
26309                rel1.relative: 0.0 0.0;
26310                rel2.relative: 1.0 1.0;
26311             }
26312          }
26313          part { name: "over";
26314             mouse_events:  0;
26315             clip_to: "clip";
26316             description { state:    "default" 0.0;
26317                rel1 {
26318                   to: "base";
26319                   offset: 4 4;
26320                }
26321                rel2 {
26322                   to: "base";
26323                   offset: -5 -5;
26324                }
26325                image {
26326                   normal: "frame_1.png";
26327                   border: 2 2 28 22;
26328                   middle: 0;
26329                }
26330                fill.smooth : 0;
26331             }
26332          }
26333          part { name: "elm.swallow.content";
26334             type: SWALLOW;
26335             clip_to: "clip";
26336             description { state: "default" 0.0;
26337                rel1 {
26338                   to: "base";
26339                   offset: 8 8;
26340                }
26341                rel2 {
26342                   to: "base";
26343                   offset: -9 -9;
26344                }
26345             }
26346          }
26347       }
26348       programs {
26349          program { name: "push_start";
26350             signal: "elm,action,push";
26351             source: "elm";
26352             action:  STATE_SET "hidden2" 0.0;
26353             target: "base";
26354             target: "clip";
26355             after: "show_start2";
26356          }
26357          program { name: "show_start";
26358             signal: "elm,action,show";
26359             source: "elm";
26360             action:  STATE_SET "hidden" 0.0;
26361             target: "base";
26362             target: "clip";
26363             after: "show_start2";
26364          }
26365          program { name: "show_start2";
26366             action:  STATE_SET "visible" 0.0;
26367             transition: DECELERATE 0.5;
26368             target: "base";
26369             target: "clip";
26370             after: "show_end";
26371          }
26372          program { name: "show_end";
26373             action: SIGNAL_EMIT "elm,action,show,finished" "";
26374          }
26375          program { name: "pop_start";
26376             signal: "elm,action,pop";
26377             source: "elm";
26378             action:  STATE_SET "visible" 0.0;
26379             target: "base";
26380             target: "clip";
26381             after: "pop_start2";
26382          }
26383          program { name: "pop_start2";
26384             action:  STATE_SET "hidden2" 0.0;
26385             transition: DECELERATE 0.5;
26386             target: "base";
26387             target: "clip";
26388             after: "hide_end";
26389          }
26390          program { name: "hide_start";
26391             signal: "elm,action,hide";
26392             source: "elm";
26393             action:  STATE_SET "visible" 0.0;
26394             target: "base";
26395             target: "clip";
26396             after: "hide_start2";
26397          }
26398          program { name: "hide_start2";
26399             action:  STATE_SET "hidden" 0.0;
26400             transition: DECELERATE 0.5;
26401             target: "base";
26402             target: "clip";
26403             after: "hide_end";
26404          }
26405          program { name: "hide_end";
26406             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26407          }
26408          program { name: "reset";
26409             signal: "elm,action,reset";
26410             source: "elm";
26411             action:  STATE_SET "default" 0.0;
26412             target: "base";
26413             target: "clip";
26414          }
26415       }
26416    }
26417    group { name: "elm/pager/base/slide_invisible";
26418       parts {
26419          part { name: "clip";
26420             type: RECT;
26421             mouse_events: 0;
26422             description { state: "default" 0.0;
26423                rel1 {
26424                   to: "base";
26425                   offset: -9999 -9999;
26426             }
26427                rel2 {
26428                   to: "base";
26429                   offset: 9999 9999;
26430                }
26431                color: 255 255 255 255;
26432             }
26433             description { state: "visible" 0.0;
26434                inherit: "default" 0.0;
26435             }
26436             description { state: "hidden" 0.0;
26437                inherit: "default" 0.0;
26438                color: 255 255 255 0;
26439                visible: 0;
26440             }
26441             description { state: "hidden2" 0.0;
26442                inherit: "default" 0.0;
26443                color: 255 255 255 0;
26444                visible: 0;
26445             }
26446          }
26447          part { name: "base";
26448             type: RECT;
26449             mouse_events:  0;
26450             clip_to: "clip";
26451             description { state: "default" 0.0;
26452                color: 0 0 0 0;
26453             }
26454             description { state: "hidden" 0.0;
26455                color: 0 0 0 0;
26456                rel1.relative: -1.0 0.0;
26457                rel2.relative: 0.0 1.0;
26458             }
26459             description { state: "hidden2" 0.0;
26460                color: 0 0 0 0;
26461                rel1.relative: 1.0 0.0;
26462                rel2.relative: 2.0 1.0;
26463             }
26464             description { state: "visible" 0.0;
26465                color: 0 0 0 0;
26466                rel1.relative: 0.0 0.0;
26467                rel2.relative: 1.0 1.0;
26468             }
26469          }
26470          part { name: "elm.swallow.content";
26471             type: SWALLOW;
26472             clip_to: "clip";
26473             description { state: "default" 0.0;
26474                rel1.to: "base";
26475                rel2.to: "base";
26476             }
26477          }
26478       }
26479       programs {
26480          program { name: "push_start";
26481             signal: "elm,action,push";
26482             source: "elm";
26483             action:  STATE_SET "hidden2" 0.0;
26484             target: "base";
26485             target: "clip";
26486             after: "show_start2";
26487          }
26488          program { name: "show_start";
26489             signal: "elm,action,show";
26490             source: "elm";
26491             action:  STATE_SET "hidden" 0.0;
26492             target: "base";
26493             target: "clip";
26494             after: "show_start2";
26495          }
26496          program { name: "show_start2";
26497             action:  STATE_SET "visible" 0.0;
26498             transition: DECELERATE 0.5;
26499             target: "base";
26500             target: "clip";
26501             after: "show_end";
26502          }
26503          program { name: "show_end";
26504             action: SIGNAL_EMIT "elm,action,show,finished" "";
26505          }
26506          program { name: "pop_start";
26507             signal: "elm,action,pop";
26508             source: "elm";
26509             action:  STATE_SET "visible" 0.0;
26510             target: "base";
26511             target: "clip";
26512             after: "pop_start2";
26513          }
26514          program { name: "pop_start2";
26515             action:  STATE_SET "hidden2" 0.0;
26516             transition: DECELERATE 0.5;
26517             target: "base";
26518             target: "clip";
26519             after: "hide_end";
26520          }
26521          program { name: "hide_start";
26522             signal: "elm,action,hide";
26523             source: "elm";
26524             action:  STATE_SET "visible" 0.0;
26525             target: "base";
26526             target: "clip";
26527             after: "hide_start2";
26528          }
26529          program { name: "hide_start2";
26530             action:  STATE_SET "hidden" 0.0;
26531             transition: DECELERATE 0.5;
26532             target: "base";
26533             target: "clip";
26534             after: "hide_end";
26535          }
26536          program { name: "hide_end";
26537             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26538          }
26539          program { name: "reset";
26540             signal: "elm,action,reset";
26541             source: "elm";
26542             action:  STATE_SET "default" 0.0;
26543             target: "base";
26544             target: "clip";
26545          }
26546       }
26547    }
26548
26549    group { name: "elm/pager/base/fade";
26550        data.item: "onshow" "raise";
26551        // other options
26552        //      data.item: "onhide" "lower";
26553        //      data.item: "onshow" "lower";
26554        images {
26555            image: "frame_1.png" COMP;
26556            image: "frame_2.png" COMP;
26557            image: "dia_grad.png" COMP;
26558        }
26559        parts {
26560            part { name: "clip_base";
26561                type: RECT;
26562                mouse_events: 0;
26563                description { state: "default" 0.0;
26564                    rel1 {
26565                        to: "base";
26566                        offset: -9999 -9999;
26567                    }
26568                    rel2 {
26569                        to: "base";
26570                        offset: 9999 9999;
26571                    }
26572                    color: 255 255 255 120;
26573                }
26574                description { state: "visible" 0.0;
26575                    inherit: "default" 0.0;
26576                }
26577                description { state: "hidden" 0.0;
26578                    inherit: "default" 0.0;
26579                    color: 255 255 255 0;
26580                    visible: 0;
26581                }
26582            }
26583            part { name: "clip";
26584                type: RECT;
26585                mouse_events: 0;
26586                description { state: "default" 0.0;
26587                    rel1 {
26588                        to: "base";
26589                        offset: -9999 -9999;
26590                    }
26591                    rel2 {
26592                        to: "base";
26593                        offset: 9999 9999;
26594                    }
26595                    color: 255 255 255 255;
26596                }
26597                description { state: "visible" 0.0;
26598                    inherit: "default" 0.0;
26599                }
26600                description { state: "hidden" 0.0;
26601                    inherit: "default" 0.0;
26602                    color: 255 255 255 0;
26603                    visible: 0;
26604                }
26605            }
26606            part { name: "base0";
26607                mouse_events:  0;
26608                clip_to: "clip_base";
26609                description { state: "default" 0.0;
26610                    image.normal: "dia_grad.png";
26611                    rel1.to: "over";
26612                    rel2.to: "over";
26613                    fill {
26614                        smooth: 0;
26615                        size {
26616                            relative: 0.0 1.0;
26617                            offset: 64 0;
26618                        }
26619                    }
26620                }
26621            }
26622            part { name: "base";
26623                mouse_events:  0;
26624                clip_to: "clip_base";
26625                description { state: "default" 0.0;
26626                    image {
26627                        normal: "frame_2.png";
26628                        border: 5 5 32 26;
26629                        middle: 0;
26630                    }
26631                    fill.smooth : 0;
26632                }
26633            }
26634            part { name: "over";
26635                mouse_events:  0;
26636                clip_to: "clip";
26637                description { state:    "default" 0.0;
26638                    rel1 {
26639                        to: "base";
26640                        offset: 4 4;
26641                    }
26642                    rel2 {
26643                        to: "base";
26644                        offset: -5 -5;
26645                    }
26646                    image {
26647                        normal: "frame_1.png";
26648                        border: 2 2 28 22;
26649                        middle: 0;
26650                    }
26651                    fill.smooth : 0;
26652                }
26653            }
26654            part { name: "elm.swallow.content";
26655                type: SWALLOW;
26656                clip_to: "clip";
26657                description { state: "default" 0.0;
26658                    rel1 {
26659                        to: "base";
26660                        offset: 8 8;
26661                    }
26662                    rel2 {
26663                        to: "base";
26664                        offset: -9 -9;
26665                    }
26666                }
26667            }
26668        }
26669        programs {
26670            program { name: "push_start";
26671                signal: "elm,action,push";
26672                source: "elm";
26673                action:  STATE_SET "hidden" 0.0;
26674                target: "clip";
26675                target: "clip_base";
26676                after: "show_start2";
26677            }
26678            program { name: "show_start";
26679                signal: "elm,action,show";
26680                source: "elm";
26681                action:  STATE_SET "hidden" 0.0;
26682                target: "clip";
26683                target: "clip_base";
26684                after: "show_start2";
26685            }
26686            program { name: "show_start2";
26687                action:  STATE_SET "visible" 0.0;
26688                transition: DECELERATE 0.5;
26689                target: "clip";
26690                target: "clip_base";
26691                after: "show_end";
26692            }
26693            program { name: "show_end";
26694                action: SIGNAL_EMIT "elm,action,show,finished" "";
26695            }
26696            program { name: "pop_start";
26697                signal: "elm,action,pop";
26698                source: "elm";
26699                action:  STATE_SET "visible" 0.0;
26700                target: "clip";
26701                target: "clip_base";
26702                after: "hide_start2";
26703            }
26704            program { name: "hide_start";
26705                signal: "elm,action,hide";
26706                source: "elm";
26707                action:  STATE_SET "visible" 0.0;
26708                target: "clip";
26709                target: "clip_base";
26710                after: "hide_start2";
26711            }
26712            program { name: "hide_start2";
26713                action:  STATE_SET "hidden" 0.0;
26714                transition: DECELERATE 0.5;
26715                target: "clip";
26716                target: "clip_base";
26717                after: "hide_end";
26718            }
26719            program { name: "hide_end";
26720                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26721            }
26722            program { name: "reset";
26723                signal: "elm,action,reset";
26724                source: "elm";
26725                action:  STATE_SET "default" 0.0;
26726                target: "clip_base";
26727                target: "clip";
26728            }
26729        }
26730    }
26731    group { name: "elm/pager/base/fade_translucide";
26732        data.item: "onshow" "raise";
26733        // other options
26734        //      data.item: "onhide" "lower";
26735        //      data.item: "onshow" "lower";
26736        images {
26737            image: "frame_1.png" COMP;
26738            image: "frame_2.png" COMP;
26739            image: "dia_grad.png" COMP;
26740        }
26741        parts {
26742            part { name: "clip_base";
26743                type: RECT;
26744                mouse_events: 0;
26745                description { state: "default" 0.0;
26746                    rel1 {
26747                        to: "base";
26748                        offset: -9999 -9999;
26749                    }
26750                    rel2 {
26751                        to: "base";
26752                        offset: 9999 9999;
26753                    }
26754                    color: 255 255 255 120;
26755                }
26756                description { state: "visible" 0.0;
26757                    inherit: "default" 0.0;
26758                }
26759                description { state: "hidden" 0.0;
26760                    inherit: "default" 0.0;
26761                    color: 255 255 255 0;
26762                    visible: 0;
26763                }
26764            }
26765            part { name: "clip";
26766                type: RECT;
26767                mouse_events: 0;
26768                description { state: "default" 0.0;
26769                    rel1 {
26770                        to: "base";
26771                        offset: -9999 -9999;
26772                    }
26773                    rel2 {
26774                        to: "base";
26775                        offset: 9999 9999;
26776                    }
26777                    color: 255 255 255 255;
26778                }
26779                description { state: "visible" 0.0;
26780                    inherit: "default" 0.0;
26781                }
26782                description { state: "hidden" 0.0;
26783                    inherit: "default" 0.0;
26784                    color: 255 255 255 0;
26785                    visible: 0;
26786                }
26787            }
26788            part { name: "base0";
26789                mouse_events:  0;
26790                clip_to: "clip_base";
26791                description { state: "default" 0.0;
26792                    image.normal: "dia_grad.png";
26793                    rel1.to: "over";
26794                    rel2.to: "over";
26795                    fill {
26796                        smooth: 0;
26797                        size {
26798                            relative: 0.0 1.0;
26799                            offset: 64 0;
26800                        }
26801                    }
26802                }
26803            }
26804            part { name: "base";
26805                mouse_events:  0;
26806                clip_to: "clip_base";
26807                description { state: "default" 0.0;
26808                    image {
26809                        normal: "frame_2.png";
26810                        border: 5 5 32 26;
26811                        middle: 0;
26812                    }
26813                    fill.smooth : 0;
26814                }
26815            }
26816            part { name: "over";
26817                mouse_events:  0;
26818                clip_to: "clip";
26819                description { state:    "default" 0.0;
26820                    rel1 {
26821                        to: "base";
26822                        offset: 4 4;
26823                    }
26824                    rel2 {
26825                        to: "base";
26826                        offset: -5 -5;
26827                    }
26828                    image {
26829                        normal: "frame_1.png";
26830                        border: 2 2 28 22;
26831                        middle: 0;
26832                    }
26833                    fill.smooth : 0;
26834                }
26835            }
26836            part { name: "elm.swallow.content";
26837                type: SWALLOW;
26838                clip_to: "clip";
26839                description { state: "default" 0.0;
26840                    rel1 {
26841                        to: "base";
26842                        offset: 8 8;
26843                    }
26844                    rel2 {
26845                        to: "base";
26846                        offset: -9 -9;
26847                    }
26848                }
26849            }
26850        }
26851        programs {
26852            program { name: "push_start";
26853                signal: "elm,action,push";
26854                source: "elm";
26855                action:  STATE_SET "hidden" 0.0;
26856                target: "clip";
26857                target: "clip_base";
26858                after: "show_start2";
26859            }
26860            program { name: "show_start";
26861                signal: "elm,action,show";
26862                source: "elm";
26863                action:  STATE_SET "hidden" 0.0;
26864                target: "clip";
26865                target: "clip_base";
26866                after: "show_start2";
26867            }
26868            program { name: "show_start2";
26869                action:  STATE_SET "visible" 0.0;
26870                transition: DECELERATE 0.5;
26871                target: "clip";
26872                target: "clip_base";
26873                after: "show_end";
26874            }
26875            program { name: "show_end";
26876                action: SIGNAL_EMIT "elm,action,show,finished" "";
26877            }
26878            program { name: "pop_start";
26879                signal: "elm,action,pop";
26880                source: "elm";
26881                action:  STATE_SET "visible" 0.0;
26882                target: "clip";
26883                target: "clip_base";
26884                after: "hide_start2";
26885            }
26886            program { name: "hide_start";
26887                signal: "elm,action,hide";
26888                source: "elm";
26889                action:  STATE_SET "visible" 0.0;
26890                target: "clip";
26891                target: "clip_base";
26892                after: "hide_start2";
26893            }
26894            program { name: "hide_start2";
26895                action:  STATE_SET "hidden" 0.0;
26896                transition: DECELERATE 0.5;
26897                target: "clip";
26898                target: "clip_base";
26899                after: "hide_end";
26900            }
26901            program { name: "hide_end";
26902                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26903            }
26904            program { name: "reset";
26905                signal: "elm,action,reset";
26906                source: "elm";
26907                action:  STATE_SET "default" 0.0;
26908                target: "clip_base";
26909                target: "clip";
26910            }
26911        }
26912    }
26913    group { name: "elm/pager/base/fade_invisible";
26914        data.item: "onshow" "raise";
26915        // other options
26916        //      data.item: "onhide" "lower";
26917        //      data.item: "onshow" "lower";
26918        parts {
26919            part { name: "clip";
26920                type: RECT;
26921                mouse_events: 0;
26922                description { state: "default" 0.0;
26923                    rel1 {
26924                        offset: -9999 -9999;
26925                    }
26926                    rel2 {
26927                        offset: 9999 9999;
26928                    }
26929                    color: 255 255 255 255;
26930                }
26931                description { state: "visible" 0.0;
26932                    inherit: "default" 0.0;
26933                }
26934                description { state: "hidden" 0.0;
26935                    inherit: "default" 0.0;
26936                    color: 255 255 255 0;
26937                    visible: 0;
26938                }
26939            }
26940            part { name: "elm.swallow.content";
26941                type: SWALLOW;
26942                clip_to: "clip";
26943                description { state: "default" 0.0;
26944                    rel1 {
26945                        offset: 8 8;
26946                    }
26947                    rel2 {
26948                        offset: -9 -9;
26949                    }
26950                }
26951            }
26952        }
26953        programs {
26954            program { name: "push_start";
26955                signal: "elm,action,push";
26956                source: "elm";
26957                action:  STATE_SET "hidden" 0.0;
26958                target: "clip";
26959                after: "show_start2";
26960            }
26961            program { name: "show_start";
26962                signal: "elm,action,show";
26963                source: "elm";
26964                action:  STATE_SET "hidden" 0.0;
26965                target: "clip";
26966                after: "show_start2";
26967            }
26968            program { name: "show_start2";
26969                action:  STATE_SET "visible" 0.0;
26970                transition: DECELERATE 0.5;
26971                target: "clip";
26972                after: "show_end";
26973            }
26974            program { name: "show_end";
26975                action: SIGNAL_EMIT "elm,action,show,finished" "";
26976            }
26977            program { name: "pop_start";
26978                signal: "elm,action,pop";
26979                source: "elm";
26980                action:  STATE_SET "visible" 0.0;
26981                target: "clip";
26982                after: "hide_start2";
26983            }
26984            program { name: "hide_start";
26985                signal: "elm,action,hide";
26986                source: "elm";
26987                action:  STATE_SET "visible" 0.0;
26988                target: "clip";
26989                after: "hide_start2";
26990            }
26991            program { name: "hide_start2";
26992                action:  STATE_SET "hidden" 0.0;
26993                transition: DECELERATE 0.5;
26994                target: "clip";
26995                after: "hide_end";
26996            }
26997            program { name: "hide_end";
26998                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26999            }
27000            program { name: "reset";
27001                signal: "elm,action,reset";
27002                source: "elm";
27003                action:  STATE_SET "default" 0.0;
27004                target: "clip";
27005            }
27006        }
27007    }
27008
27009    group { name: "elm/pager/base/flip";
27010       data.item: "onshow" "raise";
27011       images {
27012          image: "frame_1.png" COMP;
27013          image: "frame_2.png" COMP;
27014          image: "dia_grad.png" COMP;
27015       }
27016       parts {
27017          part { name: "elm.swallow.content";
27018             type: SWALLOW;
27019             description { state: "default" 0.0;
27020                map {
27021                   on: 1;
27022                   smooth: 1;
27023                   backface_cull: 1;
27024                   perspective_on: 1;
27025                }
27026                perspective {
27027                   zplane: 0;
27028                   focal: 1000;
27029                }
27030             }
27031             description { state: "hidden" 0.0;
27032                inherit: "default" 0.0;
27033                visible: 0;
27034                map.rotation.y: 90.0;
27035             }
27036             description { state: "before_hidden" 0.0;
27037                inherit: "default" 0.0;
27038                visible: 0;
27039                map.rotation.y: -90.0;
27040             }
27041          }
27042       }
27043       programs {
27044          program { name: "push_start";
27045             signal: "elm,action,push";
27046             source: "elm";
27047             after: "push1";
27048          }
27049          program { name: "push1";
27050             action:  STATE_SET "hidden" 0.0;
27051             target: "elm.swallow.content";
27052             after: "push2";
27053          }
27054          program { name: "push2";
27055             action:  STATE_SET "default" 0.0;
27056             in: 0.5 0.0;
27057             transition: LINEAR 0.5;
27058             target: "elm.swallow.content";
27059             after: "push3";
27060          }
27061          program { name: "push3";
27062             action: SIGNAL_EMIT "elm,action,show,finished" "";
27063          }
27064
27065          program { name: "show_start";
27066             signal: "elm,action,show";
27067             source: "elm";
27068             after: "show1";
27069          }
27070          program { name: "show1";
27071             action:  STATE_SET "before_hidden" 0.0;
27072             target: "elm.swallow.content";
27073             after: "show2";
27074          }
27075          program { name: "show2";
27076             action:  STATE_SET "default" 0.0;
27077             in: 0.5 0.0;
27078             transition: LINEAR 0.5;
27079             target: "elm.swallow.content";
27080             after: "show3";
27081          }
27082          program { name: "show3";
27083             action: SIGNAL_EMIT "elm,action,show,finished" "";
27084          }
27085
27086          program { name: "pop_start";
27087             signal: "elm,action,pop";
27088             source: "elm";
27089             after: "pop1";
27090          }
27091          program { name: "pop1";
27092             action:  STATE_SET "default" 0.0;
27093             target: "elm.swallow.content";
27094             after: "pop2";
27095          }
27096          program { name: "pop2";
27097             action:  STATE_SET "hidden" 0.0;
27098             transition: LINEAR 0.5;
27099             target: "elm.swallow.content";
27100             after: "pop3";
27101          }
27102          program { name: "pop3";
27103             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27104          }
27105
27106          program { name: "hide_start";
27107             signal: "elm,action,hide";
27108             source: "elm";
27109             after: "hide1";
27110          }
27111          program { name: "hide1";
27112             action:  STATE_SET "default" 0.0;
27113             target: "elm.swallow.content";
27114             after: "hide2";
27115          }
27116          program { name: "hide2";
27117             action:  STATE_SET "before_hidden" 0.0;
27118             transition: LINEAR 0.5;
27119             target: "elm.swallow.content";
27120             after: "hide3";
27121          }
27122          program { name: "hide3";
27123             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27124          }
27125
27126          program { name: "reset";
27127             signal: "elm,action,reset";
27128             source: "elm";
27129             action:  STATE_SET "default" 0.0;
27130             target: "elm.swallow.content";
27131          }
27132       }
27133    }
27134
27135
27136
27137 ///////////////////////////////////////////////////////////////////////////////
27138 // FIXME: this doesn't look too hot. need to fix it up
27139    group { name: "elm/progressbar/horizontal/default";
27140       images {
27141          image: "shelf_inset.png" COMP;
27142          image: "bt_sm_base2.png" COMP;
27143          image: "bt_sm_hilight.png" COMP;
27144          image: "bt_sm_shine.png" COMP;
27145       }
27146       parts {
27147          part { name: "elm.background.progressbar";
27148             type: RECT;
27149             mouse_events: 0;
27150             description {
27151                state: "default" 0.0;
27152                rel1 {
27153                   relative: 0.0 0.0;
27154                   offset: 0 0;
27155                }
27156                rel2 {
27157                   relative: 1.0 1.0;
27158                }
27159             }
27160          }
27161          part { name: "elm.swallow.bar";
27162             mouse_events: 0;
27163             type: SWALLOW;
27164             description {
27165                min: 48 28;
27166                max: 99999 28;
27167                state: "default" 0.0;
27168                rel1 {
27169                   to_x: "elm.text";
27170                   to_y: "elm.background.progressbar";
27171                   relative: 1.0 0.0;
27172                }
27173                rel2 {
27174                   to: "elm.background.progressbar";
27175                   relative: 1.0 1.0;
27176                }
27177             }
27178          }
27179          part { name: "elm.swallow.content";
27180             type: SWALLOW;
27181             description { state: "default" 0.0;
27182                visible: 0;
27183                align: 0.0 0.5;
27184                rel1 {
27185                   offset: 4 0;
27186                   to_y: "elm.background.progressbar";
27187                }
27188                rel2 {
27189                   offset: 3 -1;
27190                   relative: 0.0 1.0;
27191                   to_y: "elm.background.progressbar";
27192                }
27193             }
27194             description { state: "visible" 0.0;
27195                inherit: "default" 0.0;
27196                visible: 1;
27197                aspect: 1.0 1.0;
27198                aspect_preference: VERTICAL;
27199                rel2.offset: 4 -1;
27200             }
27201          }
27202          part { name: "elm.text";
27203             type: TEXT;
27204             mouse_events: 0;
27205             scale: 1;
27206             description { state: "default" 0.0;
27207                visible: 0;
27208                fixed: 1 1;
27209                align: 0.0 0.5;
27210                rel1.to_x: "elm.swallow.content";
27211                rel1.relative: 1.0 0.0;
27212                rel1.offset: -1 4;
27213                rel2.to_x: "elm.swallow.content";
27214                rel2.relative: 1.0 1.0;
27215                rel2.offset: -1 -5;
27216                color: 0 0 0 255;
27217                text {
27218                   font: "Sans,Edje-Vera";
27219                   size: 10;
27220                   min: 0 0;
27221                   align: 0.0 0.5;
27222                }
27223             }
27224             description { state: "visible" 0.0;
27225                inherit: "default" 0.0;
27226                visible: 1;
27227                text.min: 1 1;
27228                rel1.offset: 0 4;
27229                rel2.offset: 0 -5;
27230             }
27231          }
27232
27233          part { name: "background";
27234             mouse_events: 0;
27235             clip_to: "elm.background.progressbar";
27236             description {
27237                state: "default" 0.0;
27238                rel1 {
27239                   to: "elm.swallow.bar";
27240                   relative: 0.0 0.0;
27241                }
27242                rel2 {
27243                   to: "elm.swallow.bar";
27244                   relative: 1.0 1.0;
27245                   offset: -1 -1;
27246                }
27247                image {
27248                   normal: "shelf_inset.png";
27249                   border: 7 7 7 7;
27250                }
27251             }
27252          }
27253
27254          part { name: "elm.text.status";
27255             type: TEXT;
27256             mouse_events: 0;
27257             description { state: "default" 0.0;
27258                fixed: 1 1;
27259                visible: 1;
27260                rel1 {
27261                   to: "background";
27262                   relative: 0.5 0.5;
27263                }
27264                rel2 {
27265                   to: "background";
27266                   relative: 0.5 0.5;
27267                }
27268                text {
27269                   font: "Sans:style=Bold,Edje-Vera-Bold";
27270                   size: 10;
27271                   min: 1 1;
27272                   align: 0.5 0.0;
27273                }
27274                color: 0 0 0 255;
27275             }
27276             description { state: "hidden" 0.0;
27277                inherit: "default" 0.0;
27278                visible: 0;
27279                text.min: 0 0;
27280             }
27281          }
27282
27283          part { name: "elm.progress.progressbar";
27284             mouse_events: 0;
27285             clip_to: "elm.background.progressbar";
27286             description {
27287                state: "default" 0.0;
27288                min: 14 28;
27289                fixed: 1 1;
27290                rel1 {
27291                   to: "elm.swallow.bar";
27292                   relative: 0.0 0.0;
27293                }
27294                rel2 {
27295                   to_y: "elm.swallow.bar";
27296                   to_x: "elm.cur.progressbar";
27297                   offset: -1 -1;
27298                }
27299                image {
27300                   normal: "bt_sm_base2.png";
27301                   border: 6 6 6 6;
27302                }
27303             }
27304             description {
27305                state: "invert" 0.0;
27306                inherit: "default" 0.0;
27307                rel1 {
27308                   to_y: "elm.swallow.bar";
27309                   to_x: "elm.cur.progressbar";
27310                }
27311                rel2 {
27312                   to: "elm.swallow.bar";
27313                   relative: 1.0 1.0;
27314                }
27315             }
27316             description {
27317                state: "state_begin" 0.0;
27318                inherit: "default" 0.0;
27319                rel1 {
27320                   to: "elm.swallow.bar";
27321                   relative: 0.0 0.0;
27322                }
27323                rel2 {
27324                   to: "elm.swallow.bar";
27325                   relative: 0.1 1.0;
27326                }
27327             }
27328             description {
27329                state: "state_end" 0.0;
27330                inherit: "default" 0.0;
27331                rel1 {
27332                   to: "elm.swallow.bar";
27333                   relative: 0.9 0.0;
27334                }
27335                rel2 {
27336                   to: "elm.swallow.bar";
27337                   relative: 1.0 1.0;
27338                }
27339             }
27340          }
27341          part { name: "text-bar";
27342             type: TEXT;
27343             mouse_events: 0;
27344             clip_to: "progress-rect";
27345             effect: SOFT_SHADOW;
27346             scale: 1;
27347             description { state: "default" 0.0;
27348                align: 0.0 0.0;
27349                fixed: 1 1;
27350                visible: 1;
27351                rel1.to: "elm.text.status";
27352                rel1.offset: -1 -1;
27353                rel2.to: "elm.text.status";
27354                text {
27355                   text_source: "elm.text.status";
27356                   font: "Sans:style=Bold,Edje-Vera-Bold";
27357                   size: 10;
27358                   min: 1 1;
27359                   align: 0.0 0.0;
27360                }
27361                color: 224 224 224 255;
27362                color3: 0 0 0 64;
27363             }
27364             description { state: "hidden" 0.0;
27365                inherit: "default" 0.0;
27366                visible: 0;
27367                text.min: 0 0;
27368             }
27369          }
27370
27371          part { name: "over1";
27372             mouse_events: 0;
27373             description { state: "default" 0.0;
27374                rel1.to: "elm.progress.progressbar";
27375                rel2.to: "elm.progress.progressbar";
27376                rel2.relative: 1.0 0.5;
27377                image {
27378                   normal: "bt_sm_hilight.png";
27379                   border: 6 6 6 0;
27380                }
27381             }
27382          }
27383
27384          part { name: "over2";
27385             mouse_events: 1;
27386             repeat_events: 1;
27387             description { state: "default" 0.0;
27388                rel1.to: "elm.progress.progressbar";
27389                rel2.to: "elm.progress.progressbar";
27390                image {
27391                   normal: "bt_sm_shine.png";
27392                   border: 6 6 6 0;
27393                }
27394             }
27395          }
27396
27397          part { name: "elm.cur.progressbar";
27398             mouse_events: 0;
27399             dragable {
27400                confine: "background";
27401                x: 1 1 1;
27402                y: 0 0 0;
27403             }
27404             description { state: "default" 0.0;
27405                min: 14 28;
27406                fixed: 1 1;
27407                visible: 0;
27408                rel1 {
27409                   to: "background";
27410                   relative: 0 0;
27411                }
27412                rel2.to: "background";
27413            }
27414          }
27415          part { name: "progress-rect";
27416             type: RECT;
27417             mouse_events: 0;
27418             description {
27419                state: "default" 0.0;
27420                rel1.to: "elm.progress.progressbar";
27421                rel2.to: "elm.progress.progressbar";
27422             }
27423          }
27424       }
27425       programs {
27426          program { name: "label_show";
27427             signal: "elm,state,text,visible";
27428             source: "elm";
27429             action:  STATE_SET "visible" 0.0;
27430             target: "elm.text";
27431          }
27432          program { name: "label_hide";
27433             signal: "elm,state,text,hidden";
27434             source: "elm";
27435             action:  STATE_SET "default" 0.0;
27436             target: "elm.text";
27437          }
27438          program { name: "icon_show";
27439             signal: "elm,state,icon,visible";
27440             source: "elm";
27441             action:  STATE_SET "visible" 0.0;
27442             target: "elm.swallow.content";
27443          }
27444          program { name: "icon_hide";
27445             signal: "elm,state,icon,hidden";
27446             source: "elm";
27447             action:  STATE_SET "default" 0.0;
27448             target: "elm.swallow.content";
27449          }
27450          program { name: "units_show";
27451             signal: "elm,state,units,visible";
27452             source: "elm";
27453             action:  STATE_SET "default" 0.0;
27454             target: "text-bar";
27455             target: "elm.text.status";
27456          }
27457          program { name: "units_hide";
27458             signal: "elm,state,units,hidden";
27459             source: "elm";
27460             action:  STATE_SET "hidden" 0.0;
27461             target: "text-bar";
27462             target: "elm.text.status";
27463          }
27464          program { name: "slide_to_end";
27465             action:  STATE_SET "state_end" 0.0;
27466             transition: LINEAR 0.5;
27467             target: "elm.progress.progressbar";
27468             after: "slide_to_begin";
27469          }
27470          program { name: "slide_to_begin";
27471             signal: "elm,state,slide,begin";
27472             action: STATE_SET "state_begin" 0.0;
27473             target: "elm.progress.progressbar";
27474             transition: LINEAR 0.5;
27475             after: "slide_to_end";
27476          }
27477          program { name: "start_pulse";
27478             signal: "elm,state,pulse,start";
27479             source: "elm";
27480             after: "slide_to_end";
27481          }
27482          program { name: "stop_pulse";
27483             signal: "elm,state,pulse,stop";
27484             source: "elm";
27485             action: ACTION_STOP;
27486             target: "slide_to_begin";
27487             target: "slide_to_end";
27488             target: "start_pulse";
27489             after: "state_pulse";
27490          }
27491          program { name: "state_pulse";
27492             signal: "elm,state,pulse";
27493             source: "elm";
27494             action: STATE_SET "state_begin" 0.0;
27495             target: "elm.progress.progressbar";
27496             after: "units_hide";
27497          }
27498          program { name: "state_fraction";
27499             signal: "elm,state,fraction";
27500             source: "elm";
27501             action: ACTION_STOP;
27502             target: "slide_to_begin";
27503             target: "slide_to_end";
27504             target: "start_pulse";
27505             action: STATE_SET "default" 0.0;
27506             target: "elm.progress.progressbar";
27507          }
27508          program { name: "set_invert_on";
27509             signal: "elm,state,inverted,on";
27510             source: "elm";
27511             action:  STATE_SET "invert" 0.0;
27512             target: "elm.progress.progressbar";
27513          }
27514          program { name: "set_invert_off";
27515             signal: "elm,state,inverted,off";
27516             source: "elm";
27517             action:  STATE_SET "default" 0.0;
27518             target: "elm.progress.progressbar";
27519          }
27520       }
27521    }
27522
27523 ///////////////////////////////////////////////////////////////////////////////
27524    group { name: "elm/progressbar/vertical/default";
27525       images {
27526          image: "shelf_inset.png" COMP;
27527          image: "bt_sm_base2.png" COMP;
27528          image: "bt_sm_hilight.png" COMP;
27529          image: "bt_sm_shine.png" COMP;
27530       }
27531       parts {
27532          part { name: "elm.background.progressbar";
27533             type: RECT;
27534             mouse_events: 0;
27535             description {
27536                state: "default" 0.0;
27537                rel1 {
27538                   relative: 0.0 0.0;
27539                   offset: 0 0;
27540                }
27541                rel2 {
27542                   relative: 1.0 1.0;
27543                   offset: -1 -1;
27544                }
27545             }
27546          }
27547          part { name: "elm.swallow.bar";
27548             type: SWALLOW;
27549             scale: 1;
27550             description { state: "default" 0.0;
27551                min: 28 48;
27552                max: 28 9999;
27553                align: 0.5 1.0;
27554                rel1 {
27555                   to_y: "elm.text";
27556                   relative: 0.0 1.0;
27557                   offset: 0 2;
27558                }
27559                rel2 {
27560                   to_y: "elm.text.box";
27561                   relative: 1.0 0.0;
27562                   offset: -1 -3;
27563                }
27564             }
27565          }
27566          part { name: "elm.swallow.content";
27567             type: SWALLOW;
27568             description { state: "default" 0.0;
27569                visible: 0;
27570                align: 0.5 0.0;
27571                rel1 {
27572                   offset: 0 4;
27573                   to_x: "elm.swallow.bar";
27574                }
27575                rel2 {
27576                   offset: -1 3;
27577                   relative: 1.0 0.0;
27578                   to_x: "elm.swallow.bar";
27579                }
27580             }
27581             description { state: "visible" 0.0;
27582                inherit: "default" 0.0;
27583                visible: 1;
27584                aspect: 1.0 1.0;
27585                aspect_preference: HORIZONTAL;
27586                rel2.offset: -1 4;
27587             }
27588          }
27589          part { name: "elm.text";
27590             type: TEXT;
27591             mouse_events: 0;
27592             scale: 1;
27593             description { state: "default" 0.0;
27594                visible: 0;
27595                fixed: 1 1;
27596                align: 0.5 0.0;
27597                rel1.to_y: "elm.swallow.content";
27598                rel1.relative: 0.5 1.0;
27599                rel1.offset: 0 -1;
27600                rel2.to_y: "elm.swallow.content";
27601                rel2.relative: 0.5 1.0;
27602                rel2.offset: -1 -1;
27603                color: 0 0 0 255;
27604                text {
27605                   font: "Sans,Edje-Vera";
27606                   size: 10;
27607                   min: 0 0;
27608                   align: 0.5 0.0;
27609                }
27610             }
27611             description { state: "visible" 0.0;
27612                inherit: "default" 0.0;
27613                visible: 1;
27614                text.min: 1 1;
27615                rel1.offset: 4 0;
27616                rel2.offset: -5 0;
27617             }
27618          }
27619
27620          part { name: "background";
27621             mouse_events: 0;
27622             clip_to: "elm.background.progressbar";
27623             description {
27624                state: "default" 0.0;
27625                rel1 {
27626                   to: "elm.swallow.bar";
27627                   relative: 0.0 0.0;
27628                }
27629                rel2 {
27630                   to: "elm.swallow.bar";
27631                   relative: 1.0 1.0;
27632                   offset: -1 -1;
27633                }
27634                image {
27635                   normal: "shelf_inset.png";
27636                   border: 7 7 7 7;
27637                }
27638             }
27639          }
27640
27641          part { name: "elm.progress.progressbar";
27642             mouse_events: 0;
27643             clip_to: "elm.background.progressbar";
27644             description {
27645                state: "default" 0.0;
27646                min: 28 14;
27647                fixed: 1 1;
27648                rel1 {
27649                   to: "elm.swallow.bar";
27650                   relative: 0.0 0.0;
27651                }
27652                rel2 {
27653                   to_x: "elm.swallow.bar";
27654                   to_y: "elm.cur.progressbar";
27655                   offset: -1 -1;
27656                }
27657                image {
27658                   normal: "bt_sm_base2.png";
27659                   border: 6 6 6 6;
27660                }
27661             }
27662             description {
27663                state: "invert" 0.0;
27664                inherit: "default" 0.0;
27665                rel1 {
27666                   to_x: "elm.swallow.bar";
27667                   to_y: "elm.cur.progressbar";
27668                }
27669                rel2 {
27670                   to: "elm.swallow.bar";
27671                   relative: 1.0 1.0;
27672                }
27673             }
27674             description {
27675                state: "state_begin" 0.0;
27676                inherit: "default" 0.0;
27677                rel1 {
27678                   to: "elm.swallow.bar";
27679                   relative: 0.0 0.0;
27680                }
27681                rel2 {
27682                   to: "elm.swallow.bar";
27683                   relative: 1.0 0.1;
27684                }
27685             }
27686             description {
27687                state: "state_end" 0.0;
27688                inherit: "default" 0.0;
27689                rel1 {
27690                   to: "elm.swallow.bar";
27691                   relative: 0.0 0.9;
27692                }
27693                rel2 {
27694                   to: "elm.swallow.bar";
27695                   relative: 1.0 1.0;
27696                }
27697             }
27698          }
27699
27700          part { name: "over1";
27701             mouse_events: 0;
27702             description { state: "default" 0.0;
27703                rel1.to: "elm.progress.progressbar";
27704                rel2.to: "elm.progress.progressbar";
27705                rel2.relative: 1.0 0.5;
27706                image {
27707                   normal: "bt_sm_hilight.png";
27708                   border: 6 6 6 0;
27709                }
27710             }
27711          }
27712
27713          part { name: "over2";
27714             mouse_events: 1;
27715             repeat_events: 1;
27716             description { state: "default" 0.0;
27717                rel1.to: "elm.progress.progressbar";
27718                rel2.to: "elm.progress.progressbar";
27719                image {
27720                   normal: "bt_sm_shine.png";
27721                   border: 6 6 6 0;
27722                }
27723             }
27724          }
27725
27726          part { name: "elm.cur.progressbar";
27727             mouse_events: 0;
27728             dragable {
27729                confine: "background";
27730                x: 0 0 0;
27731                y: 1 1 1;
27732             }
27733             description { state: "default" 0.0;
27734                min: 28 14;
27735                fixed: 1 1;
27736                visible: 0;
27737                rel1 {
27738                   to: "background";
27739                   relative: 0 0;
27740                }
27741                rel2.to: "background";
27742            }
27743          }
27744
27745          part { name: "elm.text.box";
27746             mouse_events: 0;
27747             type: RECT;
27748             description { state: "default" 0.0;
27749                visible: 0;
27750                rel1 {
27751                   to: "elm.text.status";
27752                   offset: -2 -2;
27753                }
27754                rel2 {
27755                   to: "elm.text.status";
27756                   offset: 2 2;
27757                }
27758                color: 255 255 255 0;
27759             }
27760             description { state: "visible" 0.0;
27761                inherit: "default" 0.0;
27762                visible: 1;
27763             }
27764          }
27765          part { name: "elm.text.status";
27766             type: TEXT;
27767             mouse_events: 0;
27768             scale: 1;
27769             description { state: "default" 0.0;
27770                visible: 0;
27771                fixed: 1 1;
27772                align: 0.5 1.0;
27773                rel1.relative: 0.0 1.0;
27774                rel1.offset: 2 0;
27775                rel2.relative: 1.0 1.0;
27776                rel2.offset: -2 0;
27777                color: 0 0 0 255;
27778                text {
27779                   font: "Sans:style=Bold,Edje-Vera-Bold";
27780                   size: 10;
27781                   min: 0 0;
27782                   align: 0.5 0.0;
27783                }
27784             }
27785             description { state: "visible" 0.0;
27786                inherit: "default" 0.0;
27787                fixed: 1 1;
27788                visible: 1;
27789                text.min: 1 1;
27790                rel1.offset: 8 -9;
27791                rel2.offset: -9 -9;
27792             }
27793          }
27794       }
27795       programs {
27796          program { name: "label_show";
27797             signal: "elm,state,text,visible";
27798             source: "elm";
27799             action:  STATE_SET "visible" 0.0;
27800             target: "elm.text";
27801          }
27802          program { name: "label_hide";
27803             signal: "elm,state,text,hidden";
27804             source: "elm";
27805             action:  STATE_SET "default" 0.0;
27806             target: "elm.text";
27807          }
27808          program { name: "icon_show";
27809             signal: "elm,state,icon,visible";
27810             source: "elm";
27811             action:  STATE_SET "visible" 0.0;
27812             target: "elm.swallow.content";
27813          }
27814          program { name: "icon_hide";
27815             signal: "elm,state,icon,hidden";
27816             source: "elm";
27817             action:  STATE_SET "default" 0.0;
27818             target: "elm.swallow.content";
27819          }
27820          program { name: "units_show";
27821             signal: "elm,state,units,visible";
27822             source: "elm";
27823             action:  STATE_SET "visible" 0.0;
27824             target: "elm.text.status";
27825             target: "elm.text.box";
27826          }
27827          program { name: "units_hide";
27828             signal: "elm,state,units,hidden";
27829             source: "elm";
27830             action:  STATE_SET "default" 0.0;
27831             target: "elm.text.status";
27832             target: "elm.text.box";
27833          }
27834          program { name: "slide_to_end";
27835             action:  STATE_SET "state_end" 0.0;
27836             transition: LINEAR 0.5;
27837             target: "elm.progress.progressbar";
27838             after: "slide_to_begin";
27839          }
27840          program { name: "slide_to_begin";
27841             action:  STATE_SET "state_begin" 0.0;
27842             target: "elm.progress.progressbar";
27843             transition: LINEAR 0.5;
27844             after: "slide_to_end";
27845          }
27846          program { name: "start_pulse";
27847             signal: "elm,state,pulse,start";
27848             source: "elm";
27849             action: STATE_SET "state_begin" 0.0;
27850             target: "elm.progress.progressbar";
27851             after: "slide_to_end";
27852          }
27853          program { name: "stop_pulse";
27854             signal: "elm,state,pulse,stop";
27855             source: "elm";
27856             action: ACTION_STOP;
27857             target: "slide_to_begin";
27858             target: "slide_to_end";
27859             target: "start_pulse";
27860             after: "state_pulse";
27861          }
27862          program { name: "state_pulse";
27863             signal: "elm,state,pulse";
27864             source: "elm";
27865             action: STATE_SET "state_begin" 0.0;
27866             target: "elm.progress.progressbar";
27867             after: "units_hide";
27868          }
27869          program { name: "state_fraction";
27870             signal: "elm,state,fraction";
27871             source: "elm";
27872             action: ACTION_STOP;
27873             target: "slide_to_begin";
27874             target: "slide_to_end";
27875             target: "start_pulse";
27876             action: STATE_SET "default" 0.0;
27877             target: "elm.progress.progressbar";
27878          }
27879          program { name: "set_invert_on";
27880             signal: "elm,state,inverted,on";
27881             source: "elm";
27882             action:  STATE_SET "invert" 0.0;
27883             target: "elm.progress.progressbar";
27884             target: "elm.cur.progressbar";
27885          }
27886          program { name: "set_invert_off";
27887             signal: "elm,state,inverted,off";
27888             source: "elm";
27889             action:  STATE_SET "default" 0.0;
27890             target: "elm.progress.progressbar";
27891             target: "elm.cur.progressbar";
27892          }
27893       }
27894    }
27895
27896 ///////////////////////////////////////////////////////////////////////////////
27897    group { name: "elm/separator/horizontal/default";
27898        images {
27899            image: "separator_h.png" COMP;
27900        }
27901        parts {
27902            part { name: "separator"; // separator group
27903                description { state: "default" 0.0;
27904                    min: 2 2;
27905                    rel1.offset: 4 4;
27906                    rel2.offset: -5 -5;
27907                    image {
27908                        normal: "separator_h.png";
27909                    }
27910                    fill {
27911                        smooth: 0;
27912                    }
27913                }
27914            }
27915        }
27916    }
27917
27918    ///////////////////////////////////////////////////////////////////////////////
27919    group { name: "elm/separator/vertical/default";
27920        images {
27921            image: "separator_v.png" COMP;
27922        }
27923        parts {
27924            part { name: "separator"; // separator group
27925                description { state: "default" 0.0;
27926                    min: 2 2;
27927                    rel1.offset: 4 4;
27928                    rel2.offset: -5 -5;
27929                    image {
27930                        normal: "separator_v.png";
27931                    }
27932                    fill {
27933                        smooth: 0;
27934                    }
27935                }
27936            }
27937        }
27938    }
27939
27940    group { name: "elm/progressbar/horizontal/wheel";
27941        images {
27942            image: "busy-1.png" COMP;
27943            image: "busy-2.png" COMP;
27944            image: "busy-3.png" COMP;
27945            image: "busy-4.png" COMP;
27946            image: "busy-5.png" COMP;
27947            image: "busy-6.png" COMP;
27948            image: "busy-7.png" COMP;
27949            image: "busy-8.png" COMP;
27950            image: "busy-9.png" COMP;
27951        }
27952        parts {
27953            part { name: "elm.background.progressbar";
27954                mouse_events: 0;
27955                type: RECT;
27956                description {
27957                    state: "default" 0.0;
27958                }
27959            }
27960            part { name: "elm.swallow.bar";
27961                mouse_events: 0;
27962                type: SWALLOW;
27963                description { state: "default" 0.0;
27964                    min: 0 0;
27965                    max: 0 0;
27966                    visible: 0;
27967                }
27968            }
27969            part { name: "elm.swallow.content";
27970                type: SWALLOW;
27971                description { state: "default" 0.0;
27972                    min: 0 0;
27973                    max: 0 0;
27974                    visible: 0;
27975                }
27976            }
27977            part { name: "background";
27978                mouse_events: 0;
27979                clip_to: "elm.background.progressbar";
27980                description {
27981                    state: "default" 0.0;
27982                    min: 32 32;
27983                    max: 32 32;
27984                    visible: 1;
27985                    aspect: 1.0 1.0;
27986                    aspect_preference: BOTH;
27987                    image {
27988                        normal: "busy-9.png";
27989                        border: 7 7 7 7;
27990                    }
27991                }
27992                description {
27993                    state: "pulse" 0.0;
27994                    inherit: "default" 0.0;
27995                    image {
27996                        normal: "busy-9.png";
27997                        tween:  "busy-1.png";
27998                        tween:  "busy-2.png";
27999                        tween:  "busy-3.png";
28000                        tween:  "busy-4.png";
28001                        tween:  "busy-5.png";
28002                        tween:  "busy-6.png";
28003                        tween:  "busy-7.png";
28004                        tween:  "busy-8.png";
28005                        border: 7 7 7 7;
28006                    }
28007                }
28008            }
28009        }
28010        programs {
28011            program { name: "start_pulse";
28012                signal: "elm,state,pulse,start";
28013                source: "elm";
28014                action: STATE_SET "pulse" 0.0;
28015                target: "background";
28016                transition: LINEAR 0.5;
28017                after: "start_pulse";
28018            }
28019            program { name: "stop_pulse";
28020                signal: "elm,state,pulse,stop";
28021                source: "elm";
28022                action: STATE_SET "default" 0.0;
28023                target: "background";
28024            }
28025        }
28026    }
28027
28028
28029 ///////////////////////////////////////////////////////////////////////////////
28030    group { name: "elm/spinner/base/default";
28031        images {
28032            image: "shelf_inset.png" COMP;
28033            image: "bt_base1.png" COMP;
28034            image: "bt_hilight.png" COMP;
28035            image: "bt_shine.png" COMP;
28036            image: "bt_glow.png" COMP;
28037            image: "bt_dis_base.png" COMP;
28038            image: "bt_dis_hilight.png" COMP;
28039            image: "sp_bt_l.png" COMP;
28040            image: "sp_bt_r.png" COMP;
28041        }
28042        parts {
28043            part { name: "bg";
28044                type: RECT;
28045                description { state: "default" 0.0;
28046                    min: 0 30;
28047                    rel1.offset: 1 1;
28048                    rel2.offset: -2 -2;
28049                    color: 255 255 255 0;
28050                }
28051            }
28052            part { name: "conf_over";
28053                mouse_events:  0;
28054                description { state: "default" 0.0;
28055                    rel1.to: "bg";
28056                    rel2.to: "bg";
28057                    image {
28058                        normal: "shelf_inset.png";
28059                        border: 7 7 7 7;
28060                        middle: 0;
28061                    }
28062                    fill.smooth : 0;
28063                }
28064            }
28065            part { name: "left_bt";
28066                mouse_events:  1;
28067                description { state: "default" 0.0;
28068                    rel1 { to: "bg";
28069                        offset: 3 3;
28070                    }
28071                    rel2 { to: "bg";
28072                        offset: -4 -4;
28073                    }
28074                    align: 0.0 0.5;
28075                    min: 24 24;
28076                    aspect: 1.0 1.0;
28077                    aspect_preference: VERTICAL;
28078                    image {
28079                        normal: "bt_base1.png";
28080                        border: 6 6 6 6;
28081                    }
28082                    fill.smooth : 0;
28083                }
28084                description { state: "clicked" 0.0;
28085                    inherit: "default" 0.0;
28086                    image.normal: "bt_base1.png";
28087                    image.middle: SOLID;
28088                }
28089                description { state: "disabled" 0.0;
28090                    inherit:  "default" 0.0;
28091                    image {
28092                        normal: "bt_dis_base.png";
28093                        border: 4 4 4 4;
28094                    }
28095                }
28096            }
28097            part {          name: "left_over1";
28098                mouse_events: 0;
28099                description { state: "default" 0.0;
28100                    rel1.to: "left_bt";
28101                    rel2 { to: "left_bt";
28102                        relative: 1.0 0.5;
28103                    }
28104                    image {
28105                        normal: "bt_hilight.png";
28106                        border: 7 7 7 0;
28107                    }
28108                }
28109                description { state: "disabled" 0.0;
28110                    inherit:  "default" 0.0;
28111                    image {
28112                        normal: "bt_dis_hilight.png";
28113                        border: 4 4 4 0;
28114                    }
28115                }
28116            }
28117            part { name: "left_over2";
28118                mouse_events: 1;
28119                repeat_events: 1;
28120                ignore_flags: ON_HOLD;
28121                description { state: "default" 0.0;
28122                    rel1.to: "left_bt";
28123                    rel2.to: "left_bt";
28124                    image {
28125                        normal: "bt_shine.png";
28126                        border: 7 7 7 7;
28127                    }
28128                }
28129                description { state: "disabled" 0.0;
28130                    inherit:  "default" 0.0;
28131                    visible: 0;
28132                }
28133            }
28134            part { name: "left_over3";
28135                mouse_events: 1;
28136                repeat_events: 1;
28137                description { state: "default" 0.0;
28138                    color: 255 255 255 0;
28139                    rel1.to: "left_bt";
28140                    rel2.to: "left_bt";
28141                    image {
28142                        normal: "bt_glow.png";
28143                        border: 12 12 12 12;
28144                    }
28145                    fill.smooth : 0;
28146                }
28147                description { state: "clicked" 0.0;
28148                    inherit:  "default" 0.0;
28149                    visible: 1;
28150                    color: 255 255 255 255;
28151                }
28152            }
28153            part { name: "right_bt";
28154                mouse_events:  1;
28155                description { state: "default" 0.0;
28156                    rel1 { to: "bg";
28157                        offset: -26 3;
28158                    }
28159                    rel2 { to: "bg";
28160                        offset: -4 -4;
28161                    }
28162                    align: 1.0 0.5;
28163                    min: 24 24;
28164                    aspect: 1.0 1.0;
28165                    aspect_preference: VERTICAL;
28166                    image {
28167                        normal: "bt_base1.png";
28168                        border: 5 5 4 12;
28169                    }
28170                    fill.smooth : 0;
28171                }
28172                description { state: "clicked" 0.0;
28173                    inherit: "default" 0.0;
28174                    image.normal: "bt_base1.png";
28175                    image.middle: SOLID;
28176                }
28177                description { state: "disabled" 0.0;
28178                    inherit:  "default" 0.0;
28179                    image {
28180                        normal: "bt_dis_base.png";
28181                        border: 4 4 4 4;
28182                    }
28183                }
28184            }
28185            part { name: "right_over1";
28186                mouse_events: 0;
28187                description { state: "default" 0.0;
28188                    rel1.to: "right_bt";
28189                    rel2 { to: "right_bt";
28190                        relative: 1.0 0.5;
28191                    }
28192                    image {
28193                        normal: "bt_hilight.png";
28194                        border: 7 7 7 0;
28195                    }
28196                }
28197                description { state: "disabled" 0.0;
28198                    inherit:  "default" 0.0;
28199                    image {
28200                        normal: "bt_dis_hilight.png";
28201                        border: 4 4 4 0;
28202                    }
28203                }
28204            }
28205            part { name: "right_over2";
28206                mouse_events: 1;
28207                repeat_events: 1;
28208                ignore_flags: ON_HOLD;
28209                description { state: "default" 0.0;
28210                    rel1.to: "right_bt";
28211                    rel2.to: "right_bt";
28212                    image {
28213                        normal: "bt_shine.png";
28214                        border: 7 7 7 7;
28215                    }
28216                }
28217                description { state: "disabled" 0.0;
28218                    inherit:  "default" 0.0;
28219                    visible: 0;
28220                }
28221            }
28222            part { name: "right_over3";
28223                mouse_events: 1;
28224                repeat_events: 1;
28225                description { state: "default" 0.0;
28226                    color: 255 255 255 0;
28227                    rel1.to: "right_bt";
28228                    rel2.to: "right_bt";
28229                    image {
28230                        normal: "bt_glow.png";
28231                        border: 12 12 12 12;
28232                    }
28233                    fill.smooth : 0;
28234                }
28235                description { state: "clicked" 0.0;
28236                    inherit:  "default" 0.0;
28237                    visible: 1;
28238                    color: 255 255 255 255;
28239                }
28240            }
28241            part { name: "left_bt_icon";
28242                repeat_events: 1;
28243                description { state: "default" 0.0;
28244                    rel1.to: "left_bt";
28245                    rel1.offset: 4 4;
28246                    rel2.to: "left_bt";
28247                    rel2.offset: -5 -5;
28248                    align: 0.5 0.5;
28249                    min: 16 16;
28250                    aspect: 1.0 1.0;
28251                    aspect_preference: BOTH;
28252                    image.normal: "sp_bt_l.png";
28253                }
28254                description { state: "rtl" 0.0;
28255                    inherit: "default" 0.0;
28256                    image.normal: "sp_bt_r.png";
28257                }
28258            }
28259            part { name: "right_bt_icon";
28260                repeat_events: 1;
28261                description { state: "default" 0.0;
28262                    rel1.to: "right_bt";
28263                    rel1.offset: 4 4;
28264                    rel2.to: "right_bt";
28265                    rel2.offset: -5 -5;
28266                    align: 0.5 0.5;
28267                    min: 16 16;
28268                    aspect: 1.0 1.0;
28269                    aspect_preference: BOTH;
28270                    image.normal: "sp_bt_r.png";
28271                }
28272                description { state: "rtl" 0.0;
28273                    inherit: "default" 0.0;
28274                    image.normal: "sp_bt_l.png";
28275                }
28276            }
28277            part { name: "elm.text";
28278                type: TEXT;
28279                mouse_events: 0;
28280                scale: 1;
28281                description { state: "default" 0.0;
28282                    visible: 1;
28283                    align: 0.0 0.5;
28284                    rel1 { relative: 1.0 0.0;
28285                        offset: 3 2;
28286                        to_x: "left_bt";
28287                        to_y: "bg";
28288                    }
28289                    rel2 { relative: 0.0 1.0;
28290                        offset: -3 -2;
28291                        to_x: "right_bt";
28292                        to_y: "bg";
28293                    }
28294                    color: 0 0 0 255;
28295                    text {
28296                        font: "Sans,Edje-Vera";
28297                        size: 10;
28298                        min: 1 1;
28299                        align: 0.5 0.5;
28300                    }
28301                }
28302                description { state: "active" 0.0;
28303                    inherit: "default" 0.0;
28304                    visible: 0;
28305                }
28306                description { state: "disabled_active" 0.0;
28307                    inherit: "default" 0.0;
28308                    color: 0 0 0 128;
28309                    color3: 0 0 0 0;
28310                }
28311                description { state: "disabled" 0.0;
28312                    inherit: "default" 0.0;
28313                    color: 0 0 0 128;
28314                    color3: 0 0 0 0;
28315                }
28316            }
28317            part { name: "elm.dragable.slider";
28318                type: RECT;
28319                mouse_events: 0;
28320                scale: 1;
28321                dragable {
28322                    x: 1 1 0;
28323                    y: 0 0 0;
28324                }
28325                description { state: "default" 0.0;
28326                    rel1.to: "bg";
28327                    rel2.to: "bg";
28328                    fixed: 1 1;
28329                    color: 0 0 0 0;
28330                }
28331            }
28332            part { name: "button_events";
28333                type: RECT;
28334                dragable {
28335                    events: "elm.dragable.slider";
28336                }
28337                mouse_events: 1;
28338                description { state: "default" 0.0;
28339                    rel1.to: "elm.text";
28340                    rel2.to: "elm.text";
28341                    color: 0 0 0 0;
28342                }
28343            }
28344            part { name: "elm.swallow.entry";
28345                type: SWALLOW;
28346                description { state: "default" 0.0;
28347                    visible: 0;
28348                    align: 0.5 0.5;
28349                    rel1 { relative: 1.0 0.5;
28350                        offset: 3 2;
28351                        to_x: "left_bt";
28352                        to_y: "bg";
28353                    }
28354                    rel2 { relative: 0.0 0.5;
28355                        offset: -3 -2;
28356                        to_x: "right_bt";
28357                        to_y: "bg";
28358                    }
28359                    fixed: 1 1;
28360                    color: 0 0 0 0;
28361                }
28362                description { state: "active" 0.0;
28363                    inherit: "default" 0.0;
28364                    visible: 1;
28365                    color: 255 255 255 255;
28366                }
28367                description { state: "disabled_active" 0.0;
28368                    inherit: "default" 0.0;
28369                    visible: 0;
28370                }
28371                description { state: "disabled" 0.0;
28372                    inherit: "default" 0.0;
28373                    visible: 0;
28374                }
28375            }
28376            part { name: "disabler";
28377                type: RECT;
28378                description { state: "default" 0.0;
28379                    color: 0 0 0 0;
28380                    visible: 0;
28381                }
28382                description { state: "disabled" 0.0;
28383                    inherit: "default" 0.0;
28384                    visible: 1;
28385                }
28386            }
28387        }
28388        programs {
28389            program { name: "text_show";
28390                signal: "elm,state,text,visible";
28391                source: "elm";
28392                action:  STATE_SET "visible" 0.0;
28393                target: "elm.text";
28394            }
28395            program { name: "text_hide";
28396                signal: "elm,state,text,hidden";
28397                source: "elm";
28398                action:  STATE_SET "default" 0.0;
28399                target: "elm.text";
28400            }
28401            program { name: "dec";
28402                signal: "mouse,down,1";
28403                source: "left_bt";
28404                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28405            }
28406            program { name: "dec2";
28407                signal: "mouse,up,1";
28408                source: "left_bt";
28409                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28410            }
28411            program { name: "inc";
28412                signal: "mouse,down,1";
28413                source: "right_bt";
28414                action: SIGNAL_EMIT "elm,action,increment,start" "";
28415            }
28416            program { name: "inc2";
28417                signal: "mouse,up,1";
28418                source: "right_bt";
28419                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28420            }
28421            program {
28422                name:   "left_bt_click";
28423                signal: "mouse,down,1";
28424                source: "left_over2";
28425                action: STATE_SET "clicked" 0.0;
28426                target: "left_bt";
28427            }
28428            program {
28429                name:   "left_bt_unclick";
28430                signal: "mouse,up,1";
28431                source: "left_over2";
28432                action: STATE_SET "default" 0.0;
28433                target: "left_bt";
28434            }
28435            program {
28436                name:   "left_bt_click2";
28437                signal: "mouse,down,1";
28438                source: "left_over3";
28439                action: STATE_SET "clicked" 0.0;
28440                target: "left_over3";
28441            }
28442            program {
28443                name:   "left_bt_unclick2";
28444                signal: "mouse,up,1";
28445                source: "left_over3";
28446                action: STATE_SET "default" 0.0;
28447                transition: DECELERATE 0.5;
28448                target: "left_over3";
28449            }
28450            program {
28451                name:   "left_bt_unclick3";
28452                signal: "mouse,up,1";
28453                source: "left_over2";
28454                action: SIGNAL_EMIT "elm,action,click" "";
28455            }
28456            program {
28457                name:   "left_bt_pressed_anim";
28458                signal: "elm,left,anim,activate";
28459                source: "elm";
28460                action: STATE_SET "clicked" 0.0;
28461                target: "left_bt";
28462                target: "left_over3";
28463                after: "left_bt_unpressed_anim";
28464            }
28465            program {
28466                name:   "left_bt_unpressed_anim";
28467                action: STATE_SET "default" 0.0;
28468                transition: DECELERATE 0.5;
28469                target: "left_bt";
28470                target: "left_over3";
28471            }
28472
28473            program {
28474                name:   "right_bt_click";
28475                signal: "mouse,down,1";
28476                source: "right_over2";
28477                action: STATE_SET "clicked" 0.0;
28478                target: "right_bt";
28479            }
28480            program {
28481                name:   "right_bt_unclick";
28482                signal: "mouse,up,1";
28483                source: "right_over2";
28484                action: STATE_SET "default" 0.0;
28485                target: "right_bt";
28486            }
28487            program {
28488                name:   "right_bt_click2";
28489                signal: "mouse,down,1";
28490                source: "right_over3";
28491                action: STATE_SET "clicked" 0.0;
28492                target: "right_over3";
28493            }
28494            program {
28495                name:   "right_bt_unclick2";
28496                signal: "mouse,up,1";
28497                source: "right_over3";
28498                action: STATE_SET "default" 0.0;
28499                transition: DECELERATE 0.5;
28500                target: "right_over3";
28501            }
28502            program {
28503                name:   "right_bt_unclick3";
28504                signal: "mouse,up,1";
28505                source: "right_over2";
28506                action: SIGNAL_EMIT "elm,action,click" "";
28507            }
28508            program {
28509                name:   "right_bt_pressed_anim";
28510                signal: "elm,right,anim,activate";
28511                source: "elm";
28512                action: STATE_SET "clicked" 0.0;
28513                target: "right_bt";
28514                target: "right_over3";
28515                after: "right_bt_unpressed_anim";
28516            }
28517            program {
28518                name:   "right_bt_unpressed_anim";
28519                action: STATE_SET "default" 0.0;
28520                transition: DECELERATE 0.5;
28521                target: "right_bt";
28522                target: "right_over3";
28523            }
28524
28525            program { name: "disable";
28526                signal: "elm,state,disabled";
28527                source: "elm";
28528                action: STATE_SET "disabled" 0.0;
28529                target: "left_bt";
28530                target: "left_over1";
28531                target: "left_over2";
28532                target: "right_bt";
28533                target: "right_over1";
28534                target: "right_over2";
28535                target: "disabler";
28536                after: "disable_text";
28537            }
28538            program { name: "disable_text";
28539                script {
28540                    new st[31];
28541                    new Float:vl;
28542                    get_state(PART:"elm.text", st, 30, vl);
28543                    if (!strcmp(st, "active"))
28544                    set_state(PART:"elm.text", "disabled_active", 0.0);
28545                    else
28546                    set_state(PART:"elm.text", "disabled", 0.0);
28547
28548                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28549                    if (!strcmp(st, "active"))
28550                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28551                    else
28552                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28553                }
28554            }
28555            program { name: "enable";
28556                signal: "elm,state,enabled";
28557                source: "elm";
28558                action: STATE_SET "default" 0.0;
28559                target: "left_bt";
28560                target: "left_over1";
28561                target: "left_over2";
28562                target: "right_bt";
28563                target: "right_over1";
28564                target: "right_over2";
28565                target: "disabler";
28566                after: "enable_text";
28567            }
28568            program { name: "enable_text";
28569                script {
28570                    new st[31];
28571                    new Float:vl;
28572                    get_state(PART:"elm.text", st, 30, vl);
28573                    if (!strcmp(st, "disabled_active"))
28574                    set_state(PART:"elm.text", "active", 0.0);
28575                    else
28576                    set_state(PART:"elm.text", "default", 0.0);
28577
28578                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28579                    if (!strcmp(st, "disabled_active"))
28580                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28581                    else
28582                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28583                }
28584            }
28585            program { name: "active";
28586                signal: "elm,state,active";
28587                source: "elm";
28588                action: STATE_SET "active" 0.0;
28589                target: "elm.text";
28590                target: "elm.swallow.entry";
28591            }
28592            program { name: "inactive";
28593                signal: "elm,state,inactive";
28594                source: "elm";
28595                action: STATE_SET "default" 0.0;
28596                target: "elm.text";
28597                target: "elm.swallow.entry";
28598            }
28599            program { name: "toggle_text";
28600                signal: "mouse,up,1";
28601                source: "button_events";
28602                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28603            }
28604            program { name: "to_rtl";
28605                signal: "edje,state,rtl";
28606                source: "edje";
28607                action: STATE_SET "rtl" 0.0;
28608                target: "right_bt_icon";
28609                target: "left_bt_icon";
28610            }
28611            program { name: "to_ltr";
28612                signal: "edje,state,ltr";
28613                source: "edje";
28614                action: STATE_SET "default" 0.0;
28615                target: "right_bt_icon";
28616                target: "left_bt_icon";
28617            }
28618        }
28619    }
28620
28621 ///////////////////////////////////////////////////////////////////////////////
28622    group { name: "elm/spinner/base/vertical";
28623        images {
28624            image: "shelf_inset.png" COMP;
28625            image: "bt_hilight.png" COMP;
28626            image: "bt_shine.png" COMP;
28627            image: "bt_glow.png" COMP;
28628            image: "bt_dis_base.png" COMP;
28629            image: "bt_dis_hilight.png" COMP;
28630            image: "up.png" COMP;
28631            image: "down.png" COMP;
28632            image: "bt_spinner_up.png" COMP;
28633            image: "bt_spinner_down.png" COMP;
28634            image: "bt_spinner_hilight.png" COMP;
28635        }
28636        parts {
28637            part { name: "bg";
28638                type: RECT;
28639                description { state: "default" 0.0;
28640                    min: 0 30;
28641                    rel1.offset: 1 1;
28642                    rel2.offset: -2 -2;
28643                    color: 255 255 255 0;
28644                }
28645            }
28646            part { name: "conf_over";
28647                mouse_events:  0;
28648                description { state: "default" 0.0;
28649                    rel1 {
28650                      to: "bg";
28651                      relative: 0.0 0.0;
28652                    }
28653                    rel2 {
28654                       to: "bg";
28655                    }
28656                    image {
28657                        normal: "shelf_inset.png";
28658                        border: 7 7 7 7;
28659                        middle: 0;
28660                    }
28661                    fill.smooth : 0;
28662                }
28663            }
28664            part { name: "down_bt";
28665                mouse_events:  1;
28666                description { state: "default" 0.0;
28667                    fixed: 1 1;
28668                    rel1 {
28669                        to: "up_bt";
28670                        relative: 0 1;
28671                        offset: 0 1;
28672                    }
28673                    rel2 {
28674                        to_y: "bg";
28675                        to_x: "up_bt";
28676                        relative: 1 1;
28677                        offset: -1 -4;
28678                    }
28679                    align: 1.0 0.5;
28680                    min: 24 16;
28681                    image {
28682                        normal: "bt_spinner_down.png";
28683                        border: 6 6 6 6;
28684                    }
28685                    fill.smooth : 0;
28686                }
28687                description { state: "clicked" 0.0;
28688                    inherit: "default" 0.0;
28689                    image.normal: "bt_spinner_down.png";
28690                    image.middle: SOLID;
28691                }
28692                description { state: "disabled" 0.0;
28693                    inherit:  "default" 0.0;
28694                    image {
28695                        normal: "bt_dis_base.png";
28696                        border: 4 4 4 4;
28697                    }
28698                }
28699            }
28700            part { name: "down_over3";
28701                mouse_events: 1;
28702                repeat_events: 1;
28703                description { state: "default" 0.0;
28704                    color: 255 255 255 0;
28705                    rel1.to: "down_bt";
28706                    rel2.to: "down_bt";
28707                    image {
28708                        normal: "bt_glow.png";
28709                        border: 12 12 12 12;
28710                    }
28711                    fill.smooth : 0;
28712                }
28713                description { state: "clicked" 0.0;
28714                    inherit:  "default" 0.0;
28715                    visible: 1;
28716                    color: 255 255 255 255;
28717                }
28718            }
28719            part { name: "up_bt";
28720                mouse_events:  1;
28721                description { state: "default" 0.0;
28722                    fixed: 1 0;
28723                    rel1 { to: "bg";
28724                        relative: 0 0;
28725                        offset: 0 2;
28726                    }
28727                    rel2 { to: "bg";
28728                        relative: 1 0.5;
28729                        offset: -3 0;
28730                    }
28731                    align: 1.0 0.5;
28732                    min: 24 16;
28733                    aspect: 1.5 1.0;
28734                    aspect_preference: BOTH;
28735                    image {
28736                        normal: "bt_spinner_up.png";
28737                        border: 6 6 6 6;
28738                    }
28739                    fill.smooth : 0;
28740                }
28741                description { state: "clicked" 0.0;
28742                    inherit: "default" 0.0;
28743                    image.normal: "bt_spinner_up.png";
28744                    image.middle: SOLID;
28745                }
28746                description { state: "disabled" 0.0;
28747                    inherit:  "default" 0.0;
28748                    image {
28749                        normal: "bt_dis_base.png";
28750                        border: 4 4 4 4;
28751                    }
28752                }
28753            }
28754            part { name: "up_over1";
28755                mouse_events: 0;
28756                description { state: "default" 0.0;
28757                    rel1.to: "up_bt";
28758                    rel2 { to: "up_bt";
28759                        relative: 1.0 0.5;
28760                    }
28761                    image {
28762                        normal: "bt_spinner_hilight.png";
28763                        border: 7 7 7 0;
28764                    }
28765                }
28766                description { state: "disabled" 0.0;
28767                    inherit:  "default" 0.0;
28768                    image {
28769                        normal: "bt_dis_hilight.png";
28770                        border: 4 4 4 0;
28771                    }
28772                }
28773            }
28774            part { name: "up_over3";
28775                mouse_events: 1;
28776                repeat_events: 1;
28777                description { state: "default" 0.0;
28778                    color: 255 255 255 0;
28779                    rel1.to: "up_bt";
28780                    rel2.to: "up_bt";
28781                    image {
28782                        normal: "bt_glow.png";
28783                        border: 12 12 12 12;
28784                    }
28785                    fill.smooth : 0;
28786                }
28787                description { state: "clicked" 0.0;
28788                    inherit:  "default" 0.0;
28789                    visible: 1;
28790                    color: 255 255 255 255;
28791                }
28792            }
28793            part { name: "down_bt_icon";
28794                repeat_events: 1;
28795                description { state: "default" 0.0;
28796                    rel1.to: "down_bt";
28797                    rel1.offset: 5 3;
28798                    rel2.to: "down_bt";
28799                    rel2.offset: -6 -3;
28800                    align: 0.5 0.5;
28801                    image.normal: "down.png";
28802                }
28803            }
28804            part { name: "up_bt_icon";
28805                repeat_events: 1;
28806                description { state: "default" 0.0;
28807                    rel1.to: "up_bt";
28808                    rel1.offset: 5 3;
28809                    rel2.to: "up_bt";
28810                    rel2.offset: -6 -3;
28811                    align: 0.5 0.5;
28812                    image.normal: "up.png";
28813                }
28814            }
28815            part { name: "elm.text";
28816                type: TEXT;
28817                mouse_events: 0;
28818                scale: 1;
28819                description { state: "default" 0.0;
28820                    visible: 1;
28821                    align: 0.0 0.5;
28822                    rel1 { relative: 0.0 0.0;
28823                        offset: 3 2;
28824                        to_x: "bg";
28825                        to_y: "bg";
28826                    }
28827                    rel2 { relative: 0.0 1.0;
28828                        offset: -3 -2;
28829                        to_x: "down_bt";
28830                        to_y: "bg";
28831                    }
28832                    color: 0 0 0 255;
28833                    text {
28834                        font: "Sans,Edje-Vera";
28835                        size: 10;
28836                        min: 1 1;
28837                        align: 0.5 0.5;
28838                    }
28839                }
28840                description { state: "active" 0.0;
28841                    inherit: "default" 0.0;
28842                    visible: 0;
28843                }
28844                description { state: "disabled_active" 0.0;
28845                    inherit: "default" 0.0;
28846                    color: 0 0 0 128;
28847                    color3: 0 0 0 0;
28848                }
28849                description { state: "disabled" 0.0;
28850                    inherit: "default" 0.0;
28851                    color: 0 0 0 128;
28852                    color3: 0 0 0 0;
28853                }
28854            }
28855            part { name: "elm.dragable.slider";
28856                type: RECT;
28857                mouse_events: 0;
28858                scale: 1;
28859                dragable {
28860                    x: 1 1 0;
28861                    y: 0 0 0;
28862                }
28863                description { state: "default" 0.0;
28864                    rel1.to: "bg";
28865                    rel2.to: "bg";
28866                    fixed: 1 1;
28867                    color: 0 0 0 0;
28868                }
28869            }
28870            part { name: "button_events";
28871                type: RECT;
28872                dragable {
28873                    events: "elm.dragable.slider";
28874                }
28875                mouse_events: 1;
28876                description { state: "default" 0.0;
28877                    rel1.to: "elm.text";
28878                    rel2.to: "elm.text";
28879                    color: 0 0 0 0;
28880                }
28881            }
28882            part { name: "elm.swallow.entry";
28883                type: SWALLOW;
28884                description { state: "default" 0.0;
28885                    visible: 0;
28886                    align: 0.5 0.5;
28887                    rel1 { relative: 0.0 0.5;
28888                        offset: 3 2;
28889                        to: "bg";
28890                    }
28891                    rel2 { relative: 1.0 0.5;
28892                        offset: -3 -2;
28893                        to: "bg";
28894                    }
28895                    fixed: 1 1;
28896                    color: 0 0 0 0;
28897                }
28898                description { state: "active" 0.0;
28899                    inherit: "default" 0.0;
28900                    visible: 1;
28901                    color: 255 255 255 255;
28902                }
28903                description { state: "disabled_active" 0.0;
28904                    inherit: "default" 0.0;
28905                    visible: 0;
28906                }
28907                description { state: "disabled" 0.0;
28908                    inherit: "default" 0.0;
28909                    visible: 0;
28910                }
28911            }
28912            part { name: "disabler";
28913                type: RECT;
28914                description { state: "default" 0.0;
28915                    color: 0 0 0 0;
28916                    visible: 0;
28917                }
28918                description { state: "disabled" 0.0;
28919                    inherit: "default" 0.0;
28920                    visible: 1;
28921                }
28922            }
28923        }
28924        programs {
28925            program { name: "text_show";
28926                signal: "elm,state,text,visible";
28927                source: "elm";
28928                action:  STATE_SET "visible" 0.0;
28929                target: "elm.text";
28930            }
28931            program { name: "text_hide";
28932                signal: "elm,state,text,hidden";
28933                source: "elm";
28934                action:  STATE_SET "default" 0.0;
28935                target: "elm.text";
28936            }
28937            program { name: "dec";
28938                signal: "mouse,down,1";
28939                source: "down_bt";
28940                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28941            }
28942            program { name: "dec2";
28943                signal: "mouse,up,1";
28944                source: "down_bt";
28945                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28946            }
28947            program { name: "inc";
28948                signal: "mouse,down,1";
28949                source: "up_bt";
28950                action: SIGNAL_EMIT "elm,action,increment,start" "";
28951            }
28952            program { name: "inc2";
28953                signal: "mouse,up,1";
28954                source: "up_bt";
28955                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28956            }
28957            program {
28958                name:   "down_bt_click2";
28959                signal: "mouse,down,1";
28960                source: "down_over3";
28961                action: STATE_SET "clicked" 0.0;
28962                target: "down_over3";
28963            }
28964            program {
28965                name:   "down_bt_unclick2";
28966                signal: "mouse,up,1";
28967                source: "down_over3";
28968                action: STATE_SET "default" 0.0;
28969                transition: DECELERATE 0.5;
28970                target: "down_over3";
28971            }
28972            program {
28973                name:   "up_bt_click2";
28974                signal: "mouse,down,1";
28975                source: "up_over3";
28976                action: STATE_SET "clicked" 0.0;
28977                target: "up_over3";
28978            }
28979            program {
28980                name:   "up_bt_unclick2";
28981                signal: "mouse,up,1";
28982                source: "up_over3";
28983                action: STATE_SET "default" 0.0;
28984                transition: DECELERATE 0.5;
28985                target: "up_over3";
28986            }
28987            program { name: "disable";
28988                signal: "elm,state,disabled";
28989                source: "elm";
28990                action: STATE_SET "disabled" 0.0;
28991                target: "down_bt";
28992                target: "up_bt";
28993                target: "disabler";
28994                after: "disable_text";
28995            }
28996            program { name: "disable_text";
28997                script {
28998                    new st[31];
28999                    new Float:vl;
29000                    get_state(PART:"elm.text", st, 30, vl);
29001                    if (!strcmp(st, "active"))
29002                    set_state(PART:"elm.text", "disabled_active", 0.0);
29003                    else
29004                    set_state(PART:"elm.text", "disabled", 0.0);
29005
29006                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29007                    if (!strcmp(st, "active"))
29008                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29009                    else
29010                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29011                }
29012            }
29013            program { name: "enable";
29014                signal: "elm,state,enabled";
29015                source: "elm";
29016                action: STATE_SET "default" 0.0;
29017                target: "down_bt";
29018                target: "up_bt";
29019                target: "disabler";
29020                after: "enable_text";
29021            }
29022            program { name: "enable_text";
29023                script {
29024                    new st[31];
29025                    new Float:vl;
29026                    get_state(PART:"elm.text", st, 30, vl);
29027                    if (!strcmp(st, "disabled_active"))
29028                    set_state(PART:"elm.text", "active", 0.0);
29029                    else
29030                    set_state(PART:"elm.text", "default", 0.0);
29031
29032                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29033                    if (!strcmp(st, "disabled_active"))
29034                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29035                    else
29036                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29037                }
29038            }
29039            program { name: "active";
29040                signal: "elm,state,active";
29041                source: "elm";
29042                action: STATE_SET "active" 0.0;
29043                target: "elm.text";
29044                target: "elm.swallow.entry";
29045            }
29046            program { name: "inactive";
29047                signal: "elm,state,inactive";
29048                source: "elm";
29049                action: STATE_SET "default" 0.0;
29050                target: "elm.text";
29051                target: "elm.swallow.entry";
29052            }
29053            program { name: "toggle_text";
29054                signal: "mouse,up,1";
29055                source: "button_events";
29056                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29057            }
29058        }
29059    }
29060
29061
29062    ///////////////////////////////////////////////////////////////////////////////
29063    group { name: "elm/index/base/vertical/default";
29064        images {
29065            image: "bt_base1.png" COMP;
29066            image: "bt_base2.png" COMP;
29067            image: "bt_hilight.png" COMP;
29068            image: "bt_shine.png" COMP;
29069        }
29070        parts {
29071            part { name: "clip";
29072                type: RECT;
29073                mouse_events:  0;
29074                description { state: "default" 0.0;
29075                    visible:  0;
29076                    color: 255 255 255 0;
29077                }
29078                description { state: "active" 0.0;
29079                    visible:  1;
29080                    color: 255 255 255 255;
29081                }
29082            }
29083            part { name: "clip2";
29084                type: RECT;
29085                mouse_events:  0;
29086                clip_to: "clip";
29087                description { state: "default" 0.0;
29088                    visible: 0;
29089                    color: 255 255 255 0;
29090                }
29091                description { state: "active" 0.0;
29092                    visible:  1;
29093                    color: 255 255 255 255;
29094                }
29095            }
29096            part { name: "elm.swallow.index.0";
29097                type: SWALLOW;
29098                clip_to: "clip";
29099                description { state: "default" 0.0;
29100                    align: 1.0 0.5;
29101                    fixed: 1 1;
29102                    rel1 {
29103                        relative: 1.0 0.5;
29104                        offset: -1 5;
29105                    }
29106                    rel2 {
29107                        relative: 1.0 0.5;
29108                        offset: -1 -6;
29109                    }
29110                }
29111            }
29112            part { name: "button_image";
29113                mouse_events: 1;
29114                clip_to: "clip";
29115                description { state: "default" 0.0;
29116                    rel1 {
29117                        to: "elm.text.body";
29118                        offset: -5 -5;
29119                    }
29120                    rel2 {
29121                        to: "elm.text";
29122                        offset: 4 4;
29123                    }
29124                    image {
29125                        normal: "bt_base2.png";
29126                        border: 7 7 7 7;
29127                    }
29128                    image.middle: SOLID;
29129                }
29130            }
29131            part { name: "elm.text.body";
29132                type: TEXT;
29133                effect: SOFT_SHADOW;
29134                mouse_events: 0;
29135                scale: 1;
29136                clip_to: "clip";
29137                description { state: "default" 0.0;
29138                    align: 1.0 0.5;
29139                    fixed: 1 1;
29140                    rel1 {
29141                        to: "elm.text";
29142                        relative: 0.0 0.0;
29143                        offset: 5 0;
29144                    }
29145                    rel2 {
29146                        to: "elm.text";
29147                        relative: 0.0 1.0;
29148                        offset: 5 -1;
29149                    }
29150                    color: 224 224 224 255;
29151                    color3: 0 0 0 64;
29152                    text {
29153                        font:     "Sans,Edje-Vera";
29154                        size:     20;
29155                        min:      1 1;
29156                        align:    1.0 0.5;
29157                    }
29158                }
29159            }
29160            part { name: "elm.text";
29161                type: TEXT;
29162                effect: SOFT_SHADOW;
29163                mouse_events: 0;
29164                scale: 1;
29165                clip_to: "clip";
29166                description { state: "default" 0.0;
29167                    align: 1.0 0.5;
29168                    fixed: 1 1;
29169                    rel1 {
29170                        to_x: "elm.swallow.event.0";
29171                        to_y: "elm.dragable.pointer";
29172                        relative: 0.0 0.5;
29173                        offset: -16 0;
29174                    }
29175                    rel2 {
29176                        to_x: "elm.swallow.event.0";
29177                        to_y: "elm.dragable.pointer";
29178                        relative: 0.0 0.5;
29179                        offset: -16 -1;
29180                    }
29181                    color: 255 0 0 255;
29182                    color3: 0 0 0 64;
29183                    text {
29184                        font:     "Sans,Edje-Vera";
29185                        size:     20;
29186                        min:      1 1;
29187                        align:    1.0 0.5;
29188                    }
29189                }
29190            }
29191            part {        name: "over1";
29192                mouse_events: 0;
29193                clip_to: "clip";
29194                description { state: "default" 0.0;
29195                    rel1 {
29196                        to: "button_image";
29197                    }
29198                    rel2 {
29199                        to: "button_image";
29200                        relative: 1.0 0.5;
29201                    }
29202                    image {
29203                        normal: "bt_hilight.png";
29204                        border: 7 7 7 0;
29205                    }
29206                }
29207            }
29208            part { name: "over2";
29209                mouse_events: 1;
29210                repeat_events: 1;
29211                ignore_flags: ON_HOLD;
29212                clip_to: "clip";
29213                description { state: "default" 0.0;
29214                    rel1 {
29215                        to: "button_image";
29216                    }
29217                    rel2 {
29218                        to: "button_image";
29219                    }
29220                    image {
29221                        normal: "bt_shine.png";
29222                        border: 7 7 7 7;
29223                    }
29224                }
29225            }
29226            part { name: "elm.dragable.pointer";
29227                type: RECT;
29228                mouse_events: 0;
29229                dragable {
29230                    x: 1 1 0;
29231                    y: 1 1 0;
29232                }
29233                clip_to: "clip";
29234                description { state: "default" 0.0;
29235                    fixed: 1 1;
29236                    min: 8 8;
29237                    max: 8 8;
29238                    visible: 0;
29239                    rel1 {
29240                        relative: 0.0 0.0;
29241                        offset:   0 0;
29242                    }
29243                    rel2 {
29244                        relative: 0.0 0.0;
29245                        offset:   0 0;
29246                    }
29247                }
29248            }
29249            part { name: "elm.swallow.event.0";
29250                type: SWALLOW;
29251                description { state: "default" 0.0;
29252                    align: 1.0 0.5;
29253                    fixed: 1 1;
29254                    rel1 {
29255                        relative: 1.0 0.0;
29256                        offset: -1 0;
29257                    }
29258                    rel2 {
29259                        relative: 1.0 1.0;
29260                        offset: -1 -1;
29261                    }
29262                }
29263            }
29264        }
29265        programs {
29266            program { name: "active";
29267                signal: "elm,state,active";
29268                source: "elm";
29269                action: STATE_SET "active" 0.0;
29270                transition: DECELERATE 0.5;
29271                target: "clip";
29272            }
29273            program { name: "inactive";
29274                signal: "elm,state,inactive";
29275                source: "elm";
29276                action: STATE_SET "default" 0.0;
29277                transition: DECELERATE 0.5;
29278                target: "clip";
29279            }
29280        }
29281    }
29282
29283    group { name: "elm/index/item/vertical/default";
29284        data.item: "stacking" "above";
29285        data.item: "selectraise" "on";
29286        images {
29287            image: "ilist_1.png" COMP;
29288            image: "ilist_item_shadow.png" COMP;
29289        }
29290        parts {
29291            part {
29292                name: "base_sh";
29293                mouse_events: 0;
29294                description {
29295                    state: "default" 0.0;
29296                    align: 0.0 0.0;
29297                    min: 0 10;
29298                    fixed: 1 1;
29299                    rel1 {
29300                        to: "base";
29301                        relative: 0.0 1.0;
29302                        offset: 0 0;
29303                    }
29304                    rel2 {
29305                        to: "base";
29306                        relative: 1.0 1.0;
29307                        offset: -1 0;
29308                    }
29309                    image {
29310                        normal: "ilist_item_shadow.png";
29311                    }
29312                    fill.smooth: 0;
29313                }
29314            }
29315            part {
29316                name: "base";
29317                mouse_events: 0;
29318                description {
29319                    state: "default" 0.0;
29320                    image {
29321                        normal: "ilist_1.png";
29322                        border: 2 2 2 2;
29323                    }
29324                    fill.smooth: 0;
29325                }
29326                description { state: "active" 0.0;
29327                    inherit: "default" 0.0;
29328                    rel1 {
29329                        offset: -16 0;
29330                    }
29331                }
29332            }
29333            part { name: "elm.text";
29334                type:           TEXT;
29335                mouse_events:   0;
29336                scale: 1;
29337                description {
29338                    state: "default" 0.0;
29339                           //               min: 16 16;
29340                    rel1 {
29341                        to: "base";
29342                        relative: 0.0  0.0;
29343                        offset:   4 4;
29344                    }
29345                    rel2 {
29346                        to: "base";
29347                        relative: 0.5  1.0;
29348                        offset:   -1 -1;
29349                    }
29350                    color: 0 0 0 128;
29351                    text {
29352                        font: "Sans";
29353                        size: 10;
29354                        min: 1 1;
29355                             //                  min: 0 1;
29356                        align: 0.5 0.5;
29357                    }
29358                }
29359                description { state: "active" 0.0;
29360                    inherit: "default" 0.0;
29361                    color: 0 0 0 255;
29362                }
29363            }
29364        }
29365        programs {
29366            program { name: "active";
29367                signal: "elm,state,active";
29368                source: "elm";
29369                action: STATE_SET "active" 0.0;
29370                transition: DECELERATE 0.5;
29371                target: "elm.text";
29372                target: "base";
29373            }
29374            program { name: "inactive";
29375                signal: "elm,state,inactive";
29376                source: "elm";
29377                action: STATE_SET "default" 0.0;
29378                transition: DECELERATE 0.5;
29379                target: "elm.text";
29380                target: "base";
29381            }
29382        }
29383    }
29384
29385    group { name: "elm/index/item_odd/vertical/default";
29386        data.item: "stacking" "below";
29387        images {
29388            image: "ilist_2.png" COMP;
29389        }
29390        parts {
29391            part {
29392                name: "base";
29393                mouse_events: 0;
29394                description {
29395                    state: "default" 0.0;
29396                    image {
29397                        normal: "ilist_2.png";
29398                        border: 2 2 2 2;
29399                    }
29400                    fill.smooth: 0;
29401                }
29402                description { state: "active" 0.0;
29403                    inherit: "default" 0.0;
29404                    rel1 {
29405                        offset: -16 0;
29406                    }
29407                }
29408            }
29409            part { name: "elm.text";
29410                type:           TEXT;
29411                mouse_events:   0;
29412                scale: 1;
29413                description {
29414                    state: "default" 0.0;
29415                           //               min: 16 16;
29416                    rel1 {
29417                        to: "base";
29418                        relative: 0.0  0.0;
29419                        offset:   4 4;
29420                    }
29421                    rel2 {
29422                        to: "base";
29423                        relative: 0.5  1.0;
29424                        offset:   -1 -1;
29425                    }
29426                    color: 0 0 0 128;
29427                    text {
29428                        font: "Sans";
29429                        size: 10;
29430                        min: 1 1;
29431                             //                  min: 0 1;
29432                        align: 0.5 0.5;
29433                    }
29434                }
29435                description { state: "active" 0.0;
29436                    inherit: "default" 0.0;
29437                    color: 0 0 0 255;
29438                }
29439            }
29440        }
29441        programs {
29442            program { name: "active";
29443                signal: "elm,state,active";
29444                source: "elm";
29445                action: STATE_SET "active" 0.0;
29446                transition: DECELERATE 0.5;
29447                target: "elm.text";
29448                target: "base";
29449            }
29450            program { name: "inactive";
29451                signal: "elm,state,inactive";
29452                source: "elm";
29453                action: STATE_SET "default" 0.0;
29454                transition: DECELERATE 0.5;
29455                target: "elm.text";
29456                target: "base";
29457            }
29458        }
29459    }
29460
29461 ///////////////////////////////////////////////////////////////////////////////
29462    group { name: "elm/gengrid/item/default/default";
29463       data.item: "labels" "elm.text";
29464       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29465       images {
29466          image: "bt_sm_base1.png" COMP;
29467          image: "bt_sm_shine.png" COMP;
29468          image: "bt_sm_hilight.png" COMP;
29469          image: "ilist_1.png" COMP;
29470          image: "ilist_item_shadow.png" COMP;
29471       }
29472       parts {
29473          part { name: "event";
29474             type: RECT;
29475             repeat_events: 1;
29476             description {
29477                state: "default" 0.0;
29478                color: 0 0 0 0;
29479             }
29480          }
29481          part { name: "reorder_bg";
29482             mouse_events: 0;
29483             description { state: "default" 0.0;
29484                visible: 0;
29485                color: 255 255 255 0;
29486                rel1 {
29487                   relative: 0.0 0.0;
29488                   offset: -10 -10;
29489                }
29490                rel2 {
29491                   relative: 1.0 1.0;
29492                   offset: 12 12;
29493                }
29494                image {
29495                   normal: "bt_bases.png";
29496                   border: 6 6 6 6;
29497                }
29498             }
29499             description { state: "enabled" 0.0;
29500                inherit: "default" 0.0;
29501                visible: 1;
29502                color: 255 255 255 255;
29503             }
29504          }
29505          part { name: "base_sh";
29506             mouse_events: 0;
29507             description { state: "default" 0.0;
29508                align: 0.0 0.0;
29509                min: 0 10;
29510                fixed: 1 1;
29511                rel1 {
29512                   to: "base";
29513                   relative: 0.0 1.0;
29514                   offset: 0 0;
29515                }
29516                rel2 {
29517                   to: "base";
29518                   relative: 1.0 1.0;
29519                   offset: -1 0;
29520                }
29521                image {
29522                   normal: "ilist_item_shadow.png";
29523                }
29524                fill.smooth: 0;
29525             }
29526          }
29527          part { name: "base";
29528             mouse_events: 0;
29529             description { state: "default" 0.0;
29530                image {
29531                   normal: "ilist_1.png";
29532                   border: 2 2 2 2;
29533                }
29534                fill.smooth: 0;
29535             }
29536          }
29537          part { name: "bg";
29538             clip_to: "disclip";
29539             mouse_events: 0;
29540             description { state: "default" 0.0;
29541                visible: 0;
29542                color: 255 255 255 0;
29543                rel1 {
29544                   relative: 0.0 0.0;
29545                   offset: -5 -5;
29546                }
29547                rel2 {
29548                   relative: 1.0 1.0;
29549                   offset: 4 4;
29550                }
29551                image {
29552                   normal: "bt_sm_base1.png";
29553                   border: 6 6 6 6;
29554                }
29555                image.middle: SOLID;
29556             }
29557             description { state: "selected" 0.0;
29558                inherit: "default" 0.0;
29559                visible: 1;
29560                color: 255 255 255 255;
29561                rel1 {
29562                   relative: 0.0 0.0;
29563                   offset: -2 -2;
29564                }
29565                rel2 {
29566                   relative: 1.0 1.0;
29567                   offset: 1 1;
29568                }
29569             }
29570          }
29571          part { name: "elm.swallow.pad";
29572             type: SWALLOW;
29573             description { state: "default" 0.0;
29574                fixed: 1 0;
29575                align: 0.0 0.5;
29576                rel1 {
29577                   relative: 0.0  1.0;
29578                   offset:   0    -10;
29579                }
29580                rel2 {
29581                   to_y: "elm.text";
29582                   relative: 0.0  0.0;
29583                   offset:   -1   -1;
29584                }
29585             }
29586          }
29587          part { name: "elm.swallow.icon";
29588             clip_to: "disclip";
29589             type: SWALLOW;
29590             description { state: "default" 0.0;
29591                fixed: 1 0;
29592                align: 0.5 0.5;
29593                rel1 {
29594                   relative: 0.0  0.0;
29595                   offset:   -1    4;
29596                }
29597                rel2 {
29598                   to_y: "elm.swallow.pad";
29599                   relative: 1.0  0.0;
29600                   offset:   -1   -5;
29601                }
29602             }
29603          }
29604          part { name: "elm.swallow.end";
29605             clip_to: "disclip";
29606             type: SWALLOW;
29607             description { state: "default" 0.0;
29608                fixed: 1 0;
29609                align: 1.0 0.0;
29610                aspect: 1.0 1.0;
29611                aspect_preference: HORIZONTAL;
29612                rel1 {
29613                   relative: 1.0 0.0;
29614                   offset: -5 -5;
29615                }
29616                rel2 {
29617                   relative: 1.0 1.0;
29618                   offset: 5 5;
29619                }
29620             }
29621          }
29622          part { name: "elm.text";
29623             clip_to: "disclip";
29624             type: TEXT;
29625             effect: SOFT_SHADOW;
29626             mouse_events: 0;
29627             scale: 1;
29628             description { state: "default" 0.0;
29629                rel1 {
29630                   relative: 0.0  1.0;
29631                   offset: 0 0;
29632                }
29633                rel2 {
29634                   relative: 1.0  1.0;
29635                   offset: -5 -5;
29636                }
29637                color: 0 0 0 255;
29638                color3: 0 0 0 0;
29639                text {
29640                   font: "Sans";
29641                   size: 10;
29642                   min: 0 1;
29643                   align: 0.5 0.0;
29644                   text_class: "grid_item";
29645                }
29646             }
29647             description { state: "selected" 0.0;
29648                inherit: "default" 0.0;
29649                color: 224 224 224 255;
29650                color3: 0 0 0 64;
29651             }
29652          }
29653          part { name: "fg1";
29654             clip_to: "disclip";
29655             mouse_events: 0;
29656             description { state: "default" 0.0;
29657                visible: 0;
29658                color: 255 255 255 0;
29659                rel1.to: "bg";
29660                rel2.relative: 1.0 0.5;
29661                rel2.to: "bg";
29662                image {
29663                   normal: "bt_sm_hilight.png";
29664                   border: 6 6 6 0;
29665                }
29666             }
29667             description { state: "selected" 0.0;
29668                inherit: "default" 0.0;
29669                visible: 1;
29670                color: 255 255 255 255;
29671             }
29672          }
29673          part { name: "fg2";
29674             clip_to: "disclip";
29675             mouse_events: 0;
29676             description { state: "default" 0.0;
29677                visible: 0;
29678                color: 255 255 255 0;
29679                rel1.to: "bg";
29680                rel2.to: "bg";
29681                image {
29682                   normal: "bt_sm_shine.png";
29683                   border: 6 6 6 0;
29684                }
29685             }
29686             description { state: "selected" 0.0;
29687                inherit: "default" 0.0;
29688                visible: 1;
29689                color: 255 255 255 255;
29690             }
29691          }
29692          part { name: "disclip";
29693             type: RECT;
29694             description { state: "default" 0.0;
29695                rel1.to: "bg";
29696                rel2.to: "bg";
29697             }
29698             description { state: "disabled" 0.0;
29699                inherit: "default" 0.0;
29700                color: 255 255 255 64;
29701             }
29702          }
29703       }
29704       programs {
29705          // signal: elm,state,%s,active
29706          //   a "check" item named %s went active
29707          // signal: elm,state,%s,passive
29708          //   a "check" item named %s went passive
29709          // default is passive
29710          program { name:    "go_active";
29711             signal:  "elm,state,selected";
29712             source:  "elm";
29713             action:  STATE_SET "selected" 0.0;
29714             target:  "bg";
29715             target:  "fg1";
29716             target:  "fg2";
29717             target:  "elm.text";
29718          }
29719          program { name:    "go_passive";
29720             signal:  "elm,state,unselected";
29721             source:  "elm";
29722             action:  STATE_SET "default" 0.0;
29723             target:  "bg";
29724             target:  "fg1";
29725             target:  "fg2";
29726             target:  "elm.text";
29727             transition: LINEAR 0.1;
29728          }
29729          program { name:    "go_disabled";
29730             signal:  "elm,state,disabled";
29731             source:  "elm";
29732             action:  STATE_SET "disabled" 0.0;
29733             target:  "disclip";
29734          }
29735          program { name:    "go_enabled";
29736             signal:  "elm,state,enabled";
29737             source:  "elm";
29738             action:  STATE_SET "default" 0.0;
29739             target:  "disclip";
29740          }
29741          program { name:    "go_reorder_disabled";
29742             signal:  "elm,state,reorder,disabled";
29743             source:  "elm";
29744             action:  STATE_SET "default" 0.0;
29745             target:  "reorder_bg";
29746             transition: DECELERATE 0.5;
29747          }
29748          program { name:    "go_reorder_enabled";
29749             signal:  "elm,state,reorder,enabled";
29750             source:  "elm";
29751             action:  STATE_SET "enabled" 0.0;
29752             target:  "reorder_bg";
29753             transition: DECELERATE 0.5;
29754          }
29755       }
29756    }
29757    group { name: "elm/gengrid/item/default_style/default";
29758        styles
29759        {
29760            style { name: "gengrid_style";
29761                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29762                tag:  "br" "\n";
29763                tag:  "ps" "ps";
29764                tag:  "hilight" "+ font=Sans:style=Bold";
29765                tag:  "b" "+ font=Sans:style=Bold";
29766                tag:  "tab" "\t";
29767            }
29768            style { name: "gengrid_selected_style";
29769                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29770                tag:  "br" "\n";
29771                tag:  "ps" "ps";
29772                tag:  "hilight" "+ font=Sans:style=Bold";
29773                tag:  "b" "+ font=Sans:style=Bold";
29774                tag:  "tab" "\t";
29775            }
29776        }
29777        data.item: "labels" "elm.text";
29778        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29779        images {
29780            image: "bt_sm_base1.png" COMP;
29781            image: "bt_sm_shine.png" COMP;
29782            image: "bt_sm_hilight.png" COMP;
29783            image: "ilist_1.png" COMP;
29784            image: "ilist_item_shadow.png" COMP;
29785        }
29786        parts {
29787            part { name: "event";
29788                type: RECT;
29789                repeat_events: 1;
29790                description { state: "default" 0.0;
29791                    color: 0 0 0 0;
29792                }
29793            }
29794            part { name: "base_sh";
29795                mouse_events: 0;
29796                description { state: "default" 0.0;
29797                    align: 0.0 0.0;
29798                    min: 0 10;
29799                    fixed: 1 1;
29800                    rel1 {
29801                        to: "base";
29802                        relative: 0.0 1.0;
29803                        offset: 0 0;
29804                    }
29805                    rel2 {
29806                        to: "base";
29807                        relative: 1.0 1.0;
29808                        offset: -1 0;
29809                    }
29810                    image {
29811                        normal: "ilist_item_shadow.png";
29812                    }
29813                    fill.smooth: 0;
29814                }
29815            }
29816            part { name: "base";
29817                mouse_events: 0;
29818                description { state: "default" 0.0;
29819                    min: 16 28;
29820                    image {
29821                        normal: "ilist_1.png";
29822                        border: 2 2 2 2;
29823                    }
29824                    fill.smooth: 0;
29825                }
29826            }
29827            part { name: "bg";
29828                clip_to: "disclip";
29829                mouse_events: 0;
29830                description { state: "default" 0.0;
29831                    visible: 0;
29832                    color: 255 255 255 0;
29833                    rel1 {
29834                        relative: 0.0 0.0;
29835                        offset: -5 -5;
29836                    }
29837                    rel2 {
29838                        relative: 1.0 1.0;
29839                        offset: 4 4;
29840                    }
29841                    image {
29842                        normal: "bt_sm_base1.png";
29843                        border: 6 6 6 6;
29844                    }
29845                    image.middle: SOLID;
29846                }
29847                description { state: "selected" 0.0;
29848                    inherit: "default" 0.0;
29849                    visible: 1;
29850                    color: 255 255 255 255;
29851                    rel1 {
29852                        relative: 0.0 0.0;
29853                        offset: -2 -2;
29854                    }
29855                    rel2 {
29856                        relative: 1.0 1.0;
29857                        offset: 1 1;
29858                    }
29859                }
29860            }
29861            part { name: "elm.swallow.pad";
29862                type: SWALLOW;
29863                description { state: "default" 0.0;
29864                    fixed: 1 0;
29865                    align: 0.0 0.5;
29866                    rel1 {
29867                        relative: 0.0  0.0;
29868                        offset:   4    4;
29869                    }
29870                    rel2 {
29871                        relative: 0.0  1.0;
29872                        offset:   4   -5;
29873                    }
29874                }
29875            }
29876            part { name: "elm.swallow.icon";
29877                clip_to: "disclip";
29878                type: SWALLOW;
29879                description { state: "default" 0.0;
29880                    fixed: 1 0;
29881                    align: 0.0 0.5;
29882                    rel1 {
29883                        to_x: "elm.swallow.pad";
29884                        relative: 1.0  0.0;
29885                        offset:   -1    4;
29886                    }
29887                    rel2 {
29888                        to_x: "elm.swallow.pad";
29889                        relative: 1.0  1.0;
29890                        offset:   -1   -5;
29891                    }
29892                }
29893            }
29894            part { name: "elm.swallow.end";
29895                clip_to: "disclip";
29896                type: SWALLOW;
29897                description { state: "default" 0.0;
29898                    fixed: 1 0;
29899                    align: 1.0 0.5;
29900                    aspect: 1.0 1.0;
29901                    aspect_preference: VERTICAL;
29902                    rel1 {
29903                        relative: 1.0  0.0;
29904                        offset:   -5    4;
29905                    }
29906                    rel2 {
29907                        relative: 1.0  1.0;
29908                        offset:   -5   -5;
29909                    }
29910                }
29911            }
29912            part { name: "elm.text";
29913                clip_to: "disclip";
29914                type: TEXTBLOCK;
29915                mouse_events: 0;
29916                scale: 1;
29917                description {
29918                    state: "default" 0.0;
29919                    align: 0.0 0.5;
29920                    fixed: 0 1;
29921                    rel1 {
29922                        to_x: "elm.swallow.icon";
29923                        to_y: "base";
29924                        relative: 1.0  0.5;
29925                        offset:   0 4;
29926                    }
29927                    rel2 {
29928                        to_x: "elm.swallow.end";
29929                        to_y: "base";
29930                        relative: 0.0  0.5;
29931                        offset:   -1 -5;
29932                    }
29933                    text {
29934                        style: "gengrid_style";
29935                        min: 1 1;
29936                    }
29937                }
29938                description { state: "selected" 0.0;
29939                    inherit: "default" 0.0;
29940                    text {
29941                        style: "gengrid_selected_style";
29942                    }
29943                }
29944            }
29945            part { name: "fg1";
29946                clip_to: "disclip";
29947                mouse_events: 0;
29948                description { state: "default" 0.0;
29949                    visible: 0;
29950                    color: 255 255 255 0;
29951                    rel1.to: "bg";
29952                    rel2.relative: 1.0 0.5;
29953                    rel2.to: "bg";
29954                    image {
29955                        normal: "bt_sm_hilight.png";
29956                        border: 6 6 6 0;
29957                    }
29958                }
29959                description { state: "selected" 0.0;
29960                    inherit: "default" 0.0;
29961                    visible: 1;
29962                    color: 255 255 255 255;
29963                }
29964            }
29965            part { name: "fg2";
29966                clip_to: "disclip";
29967                mouse_events: 0;
29968                description { state: "default" 0.0;
29969                    visible: 0;
29970                    color: 255 255 255 0;
29971                    rel1.to: "bg";
29972                    rel2.to: "bg";
29973                    image {
29974                        normal: "bt_sm_shine.png";
29975                        border: 6 6 6 0;
29976                    }
29977                }
29978                description { state: "selected" 0.0;
29979                    inherit: "default" 0.0;
29980                    visible: 1;
29981                    color: 255 255 255 255;
29982                }
29983            }
29984            part { name: "disclip";
29985                type: RECT;
29986                description { state: "default" 0.0;
29987                    rel1.to: "bg";
29988                    rel2.to: "bg";
29989                }
29990                description { state: "disabled" 0.0;
29991                    inherit: "default" 0.0;
29992                    color: 255 255 255 64;
29993                }
29994            }
29995        }
29996        programs {
29997            // signal: elm,state,%s,active
29998            //   a "check" item named %s went active
29999            // signal: elm,state,%s,passive
30000            //   a "check" item named %s went passive
30001            // default is passive
30002            program { name:    "go_active";
30003                signal:  "elm,state,selected";
30004                source:  "elm";
30005                action:  STATE_SET "selected" 0.0;
30006                target:  "bg";
30007                target:  "fg1";
30008                target:  "fg2";
30009                target:  "elm.text";
30010            }
30011            program { name:    "go_passive";
30012                signal:  "elm,state,unselected";
30013                source:  "elm";
30014                action:  STATE_SET "default" 0.0;
30015                target:  "bg";
30016                target:  "fg1";
30017                target:  "fg2";
30018                target:  "elm.text";
30019                transition: LINEAR 0.1;
30020            }
30021            program { name:    "go_disabled";
30022                signal:  "elm,state,disabled";
30023                source:  "elm";
30024                action:  STATE_SET "disabled" 0.0;
30025                target:  "disclip";
30026            }
30027            program { name:    "go_enabled";
30028                signal:  "elm,state,enabled";
30029                source:  "elm";
30030                action:  STATE_SET "default" 0.0;
30031                target:  "disclip";
30032            }
30033        }
30034    }
30035
30036    group { name: "elm/gengrid/item/up/default";
30037       data.item: "labels" "elm.text";
30038       images {
30039           image: "bt_sm_base1.png" COMP;
30040           image: "bt_sm_shine.png" COMP;
30041           image: "bt_sm_hilight.png" COMP;
30042           image: "arrow_up.png" COMP;
30043       }
30044       parts {
30045          part { name: "event";
30046             type: RECT;
30047             repeat_events: 1;
30048             description { state: "default" 0.0;
30049                color: 0 0 0 0;
30050             }
30051          }
30052          part { name: "bg";
30053             clip_to: "disclip";
30054             mouse_events: 0;
30055             description { state: "default" 0.0;
30056                visible: 0;
30057                color: 255 255 255 0;
30058                rel1.offset: -3 -3;
30059                rel2.offset: 2 2;
30060                image { normal: "bt_sm_base1.png";
30061                   border: 6 6 6 6;
30062                   middle: SOLID;
30063                }
30064             }
30065             description { state: "selected" 0.0;
30066                inherit: "default" 0.0;
30067                visible: 1;
30068                color: 255 255 255 255;
30069             }
30070          }
30071          part { name: "image";
30072              type: IMAGE;
30073              mouse_events: 0;
30074              description { state: "default" 0.0;
30075                  aspect_preference: BOTH;
30076                  aspect: 1.0 1.0;
30077                  image.normal: "arrow_up.png";
30078                  rel2 {
30079                      to_y: "elm.text";
30080                      relative: 1.0 0.0;
30081                      offset: -1 -2;
30082                  }
30083              }
30084          }
30085          part { name: "elm.text";
30086             clip_to: "disclip";
30087             type: TEXT;
30088             effect: SOFT_SHADOW;
30089             mouse_events: 0;
30090             scale: 1;
30091             description { state: "default" 0.0;
30092                rel1 {
30093                   relative: 0.0  1.0;
30094                   offset: 20 -25;
30095                }
30096                rel2 {
30097                   relative: 1.0  1.0;
30098                   offset: -21 -3;
30099                }
30100                color: 0 0 0 255;
30101                color3: 0 0 0 0;
30102                text {
30103                   font: "Sans";
30104                   size: 10;
30105                   min: 0 1;
30106                   align: 0.5 0.0;
30107                   text_class: "grid_item";
30108                }
30109             }
30110             description { state: "selected" 0.0;
30111                inherit: "default" 0.0;
30112                color: 224 224 224 255;
30113                color3: 0 0 0 64;
30114             }
30115          }
30116          part { name: "fg1";
30117             clip_to: "disclip";
30118             mouse_events: 0;
30119             description { state: "default" 0.0;
30120                visible: 0;
30121                color: 255 255 255 0;
30122                rel1.offset: -3 -3;
30123                rel2 {
30124                    relative: 1.0 0.5;
30125                    offset: 2 -1;
30126                }
30127                image {
30128                   normal: "bt_sm_hilight.png";
30129                   border: 6 6 6 0;
30130                }
30131             }
30132             description { state: "selected" 0.0;
30133                inherit: "default" 0.0;
30134                visible: 1;
30135                color: 255 255 255 255;
30136             }
30137          }
30138          part { name: "fg2";
30139             clip_to: "disclip";
30140             mouse_events: 0;
30141             description { state: "default" 0.0;
30142                visible: 0;
30143                color: 255 255 255 0;
30144                rel1.offset: -3 -3;
30145                rel2.offset: 2 2;
30146                image {
30147                   normal: "bt_sm_shine.png";
30148                   border: 6 6 6 0;
30149                }
30150             }
30151             description { state: "selected" 0.0;
30152                inherit: "default" 0.0;
30153                visible: 1;
30154                color: 255 255 255 255;
30155             }
30156          }
30157          part { name: "disclip";
30158             type: RECT;
30159             description { state: "default" 0.0;
30160                rel1.to: "bg";
30161                rel2.to: "bg";
30162             }
30163             description { state: "disabled" 0.0;
30164                inherit: "default" 0.0;
30165                color: 255 255 255 64;
30166             }
30167          }
30168       }
30169       programs {
30170          program { name:    "go_active";
30171             signal:  "elm,state,selected";
30172             source:  "elm";
30173             action:  STATE_SET "selected" 0.0;
30174             target:  "bg";
30175             target:  "fg1";
30176             target:  "fg2";
30177             target:  "elm.text";
30178          }
30179          program { name:    "go_passive";
30180             signal:  "elm,state,unselected";
30181             source:  "elm";
30182             action:  STATE_SET "default" 0.0;
30183             target:  "bg";
30184             target:  "fg1";
30185             target:  "fg2";
30186             target:  "elm.text";
30187             transition: LINEAR 0.1;
30188          }
30189          program { name:    "go_disabled";
30190             signal:  "elm,state,disabled";
30191             source:  "elm";
30192             action:  STATE_SET "disabled" 0.0;
30193             target:  "disclip";
30194          }
30195          program { name:    "go_enabled";
30196             signal:  "elm,state,enabled";
30197             source:  "elm";
30198             action:  STATE_SET "default" 0.0;
30199             target:  "disclip";
30200          }
30201       }
30202    }
30203
30204    group { name: "elm/gengrid/item/album-preview/default";
30205       data.item: "labels" "elm.text";
30206       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30207       data.item: "states" "have_files";
30208       images {
30209          image: "bt_sm_base1.png" COMP;
30210          image: "bt_sm_shine.png" COMP;
30211          image: "bt_sm_hilight.png" COMP;
30212          image: "icon_folder.png" COMP;
30213       }
30214       parts {
30215          part { name: "event";
30216             type: RECT;
30217             repeat_events: 1;
30218             description { state: "default" 0.0;
30219                color: 0 0 0 0;
30220             }
30221          }
30222          part { name: "bg";
30223             clip_to: "disclip";
30224             mouse_events: 0;
30225             description { state: "default" 0.0;
30226                visible: 0;
30227                color: 255 255 255 0;
30228                rel1.offset: -3 -3;
30229                rel2.offset: 2 2;
30230                image {
30231                   normal: "bt_sm_base1.png";
30232                   border: 6 6 6 6;
30233                   middle: SOLID;
30234                }
30235             }
30236             description { state: "selected" 0.0;
30237                inherit: "default" 0.0;
30238                visible: 1;
30239                color: 255 255 255 255;
30240             }
30241          }
30242          part { name: "image";
30243              type: IMAGE;
30244              mouse_events: 0;
30245              description { state: "default" 0.0;
30246                  aspect_preference: BOTH;
30247                  aspect: 1.0 1.0;
30248                  image.normal: "icon_folder.png";
30249                  rel2 {
30250                      to_y: "elm.text";
30251                      relative: 1.0 0.0;
30252                      offset: -1 -2;
30253                  }
30254              }
30255          }
30256          part { name: "have-files-clipper";
30257              type: RECT;
30258              description { state: "default" 0.0;
30259                  color: 255 255 255 0;
30260                  visible: 0;
30261              }
30262              description { state: "visible" 0.0;
30263                  inherit: "default" 0.0;
30264                  color: 255 255 255 255;
30265                  visible: 1;
30266              }
30267          }
30268          part { name: "icon_box_margin";
30269              type: RECT;
30270              mouse_events: 0;
30271              clip_to: "have-files-clipper";
30272              description { state: "default" 0.0;
30273                  color: 0 0 0 255;
30274                  rel1 {
30275                      to: "icon_box";
30276                      offset: -1 -1;
30277                  }
30278                  rel2 {
30279                      to: "icon_box";
30280                      offset: 0 0;
30281                  }
30282              }
30283          }
30284          part { name: "icon_box";
30285              type: RECT;
30286              mouse_events: 0;
30287              clip_to: "have-files-clipper";
30288              description { state: "default" 0.0;
30289                  color: 255 255 255 255;
30290                  align: 1.0 1.0;
30291                  min: 32 32;
30292                  rel1 {
30293                      relative: 0.25 0.25;
30294                      offset: 0 0;
30295                  }
30296                  rel2 {
30297                      relative: 1.0 0.0;
30298                      offset: -11 -4;
30299                      to_y: "elm.text";
30300                  }
30301              }
30302          }
30303          part { name: "elm.swallow.icon.1";
30304              type: SWALLOW;
30305              mouse_events: 0;
30306              clip_to: "have-files-clipper";
30307              description { state: "default" 0.0;
30308                rel1 {
30309                   relative: 0.0  0.0;
30310                   to: "icon_box";
30311                }
30312                rel2 {
30313                   relative: 0.5  0.5;
30314                   offset: -1 -1;
30315                   to: "icon_box";
30316                }
30317             }
30318          }
30319          part { name: "elm.swallow.icon.2";
30320              type: SWALLOW;
30321              mouse_events: 0;
30322              clip_to: "have-files-clipper";
30323              description { state: "default" 0.0;
30324                rel1 {
30325                   relative: 0.5  0.0;
30326                   to: "icon_box";
30327                }
30328                rel2 {
30329                   relative: 1.0  0.5;
30330                   offset: -1 -1;
30331                   to: "icon_box";
30332                }
30333             }
30334          }
30335          part { name: "elm.swallow.icon.3";
30336              type: SWALLOW;
30337              mouse_events: 0;
30338              clip_to: "have-files-clipper";
30339              description { state: "default" 0.0;
30340                rel1 {
30341                   relative: 0.0  0.5;
30342                   to: "icon_box";
30343                }
30344                rel2 {
30345                   relative: 0.5  1.0;
30346                   offset: -1 -1;
30347                   to: "icon_box";
30348                }
30349             }
30350          }
30351          part { name: "elm.swallow.icon.4";
30352              type: SWALLOW;
30353              mouse_events: 0;
30354              clip_to: "have-files-clipper";
30355              description { state: "default" 0.0;
30356                rel1 {
30357                   relative: 0.5  0.5;
30358                   to: "icon_box";
30359                }
30360                rel2 {
30361                   relative: 1.0  1.0;
30362                   offset: -1 -1;
30363                   to: "icon_box";
30364                }
30365             }
30366          }
30367          part { name: "elm.text";
30368             clip_to: "disclip";
30369             type: TEXT;
30370             effect: SOFT_SHADOW;
30371             mouse_events: 0;
30372             scale: 1;
30373             description { state: "default" 0.0;
30374                rel1 {
30375                   relative: 0.0  1.0;
30376                   offset: 20 -30;
30377                }
30378                rel2 {
30379                   relative: 1.0  1.0;
30380                   offset: -21 -15;
30381                }
30382                color: 0 0 0 255;
30383                color3: 0 0 0 0;
30384                text {
30385                   font: "Sans";
30386                   size: 10;
30387                   min: 0 1;
30388                   align: 0.5 0.0;
30389                   text_class: "grid_item";
30390                }
30391             }
30392             description { state: "selected" 0.0;
30393                 inherit: "default" 0.0;
30394                 color: 255 255 255 255;
30395             }
30396          }
30397          part { name: "fg1";
30398             clip_to: "disclip";
30399             mouse_events: 0;
30400             description { state: "default" 0.0;
30401                visible: 0;
30402                color: 255 255 255 0;
30403                rel1.offset: -3 -3;
30404                rel2 {
30405                    relative: 1.0 0.5;
30406                    offset: 2 -1;
30407                }
30408                image {
30409                   normal: "bt_sm_hilight.png";
30410                   border: 6 6 6 0;
30411                }
30412             }
30413             description { state: "selected" 0.0;
30414                inherit: "default" 0.0;
30415                visible: 1;
30416                color: 255 255 255 255;
30417             }
30418          }
30419          part { name: "fg2";
30420             clip_to: "disclip";
30421             mouse_events: 0;
30422             description { state: "default" 0.0;
30423                visible: 0;
30424                color: 255 255 255 0;
30425                rel1.offset: -3 -3;
30426                rel2.offset: 2 2;
30427                image {
30428                   normal: "bt_sm_shine.png";
30429                   border: 6 6 6 0;
30430                }
30431             }
30432             description { state: "selected" 0.0;
30433                inherit: "default" 0.0;
30434                visible: 1;
30435                color: 255 255 255 255;
30436             }
30437          }
30438          part { name: "disclip";
30439             type: RECT;
30440             description { state: "default" 0.0;
30441                rel1.to: "bg";
30442                rel2.to: "bg";
30443             }
30444             description { state: "disabled" 0.0;
30445                inherit: "default" 0.0;
30446                color: 255 255 255 64;
30447             }
30448          }
30449       }
30450       programs {
30451          program { name:    "go_active";
30452             signal:  "elm,state,selected";
30453             source:  "elm";
30454             action:  STATE_SET "selected" 0.0;
30455             target:  "bg";
30456             target:  "fg1";
30457             target:  "fg2";
30458             target:  "elm.text";
30459          }
30460          program { name:    "go_passive";
30461             signal:  "elm,state,unselected";
30462             source:  "elm";
30463             action:  STATE_SET "default" 0.0;
30464             target:  "bg";
30465             target:  "fg1";
30466             target:  "fg2";
30467             target:  "elm.text";
30468             transition: LINEAR 0.1;
30469          }
30470          program { name:    "go_disabled";
30471             signal:  "elm,state,disabled";
30472             source:  "elm";
30473             action:  STATE_SET "disabled" 0.0;
30474             target:  "disclip";
30475          }
30476          program { name:    "go_enabled";
30477             signal:  "elm,state,enabled";
30478             source:  "elm";
30479             action:  STATE_SET "default" 0.0;
30480             target:  "disclip";
30481          }
30482          program {
30483              signal: "elm,state,have_files,active";
30484              source: "elm";
30485              action: STATE_SET "visible" 0.0;
30486              target: "have-files-clipper";
30487          }
30488       }
30489    }
30490
30491    group { name: "elm/gengrid/item/thumb/default";
30492        data {
30493            item: "icons" "elm.swallow.icon";
30494            item: "labels" "elm.text";
30495        }
30496        images {
30497            image: "bt_sm_base1.png" COMP;
30498            image: "bt_sm_shine.png" COMP;
30499            image: "bt_sm_hilight.png" COMP;
30500            image: "thumb_shadow.png" COMP;
30501        }
30502        parts {
30503            part { name: "event";
30504                type: RECT;
30505                repeat_events: 1;
30506                description { state: "default" 0.0;
30507                    color: 0 0 0 0;
30508                }
30509            }
30510            part { name: "bg";
30511                mouse_events: 0;
30512                description { state: "default" 0.0;
30513                    visible: 0;
30514                    color: 255 255 255 0;
30515                    rel1.offset: -3 -3;
30516                    rel2.offset: 2 2;
30517                    image {
30518                        normal: "bt_sm_base1.png";
30519                        border: 6 6 6 6;
30520                        middle: SOLID;
30521                    }
30522                }
30523                description { state: "selected" 0.0;
30524                    inherit: "default" 0.0;
30525                    visible: 1;
30526                    color: 255 255 255 255;
30527                }
30528            }
30529            part { name: "border-shadow";
30530                type: IMAGE;
30531                mouse_events: 0;
30532                description { state: "default" 0.0;
30533                    rel1 {
30534                        to: "elm.swallow.icon";
30535                        offset: -18 -18;
30536                    }
30537                    rel2 {
30538                        to_x: "elm.swallow.icon";
30539                        to_y: "elm.text";
30540                        offset: 17 17;
30541                    }
30542                    image {
30543                        normal: "thumb_shadow.png";
30544                        border: 17 17 17 17;
30545                        middle: NONE;
30546                    }
30547                }
30548            }
30549            part { name: "border";
30550                type: RECT;
30551                mouse_events: 0;
30552                description { state: "default" 0.0;
30553                    rel1 {
30554                        to: "border-shadow";
30555                        offset: 16 16;
30556                    }
30557                    rel2 {
30558                        to: "border-shadow";
30559                        offset: -15 -15;
30560                    }
30561                }
30562            }
30563            part { name: "elm.swallow.icon";
30564                type: SWALLOW;
30565                mouse_events: 0;
30566                description { state: "default" 0.0;
30567                    aspect_preference: BOTH;
30568                    aspect: 1.0 1.0;
30569                    rel1.offset: 0 8;
30570                    rel2 {
30571                        to_y: "elm.text";
30572                        relative: 1.0 0.0;
30573                        offset: -1 -2;
30574                    }
30575                }
30576            }
30577            part { name: "elm.text";
30578                type: TEXT;
30579                effect: SOFT_SHADOW;
30580                mouse_events: 0;
30581                scale: 1;
30582                description { state: "default" 0.0;
30583                    color: 0 0 0 255;
30584                    color3: 0 0 0 0;
30585                    align: 0.5 1.0;
30586                    rel1 {
30587                        relative: 0.0 1.0;
30588                        offset: 20 -30;
30589                    }
30590                    rel2 {
30591                        relative: 1.0 1.0;
30592                        offset: -21 -15;
30593                    }
30594                    text {
30595                        font: "Sans";
30596                        size: 10;
30597                        min: 0 1;
30598                        align: 0.5 0.0;
30599                        text_class: "grid_item";
30600                    }
30601                }
30602            }
30603            part { name: "fg1";
30604                mouse_events: 0;
30605                description { state: "default" 0.0;
30606                    visible: 0;
30607                    color: 255 255 255 0;
30608                    rel1.offset: -3 -3;
30609                    rel2 {
30610                        relative: 1.0 0.5;
30611                        offset: 2 -1;
30612                    }
30613                    image {
30614                        normal: "bt_sm_hilight.png";
30615                        border: 6 6 6 0;
30616                    }
30617                }
30618                description { state: "selected" 0.0;
30619                    inherit: "default" 0.0;
30620                    visible: 1;
30621                    color: 255 255 255 255;
30622                }
30623            }
30624            part { name: "fg2";
30625                mouse_events: 0;
30626                description { state: "default" 0.0;
30627                    visible: 0;
30628                    color: 255 255 255 0;
30629                    rel1.offset: -3 -3;
30630                    rel2.offset: 2 2;
30631                    image {
30632                        image: "bt_sm_shine.png";
30633                        border: 6 6 6 0;
30634                    }
30635                }
30636                description { state: "selected" 0.0;
30637                    inherit: "default" 0.0;
30638                    visible: 1;
30639                    color: 255 255 255 255;
30640                }
30641            }
30642        }
30643        programs {
30644            program {
30645                signal: "elm,state,selected";
30646                source: "elm";
30647                action: STATE_SET "selected" 0.0;
30648                target: "bg";
30649                target: "fg1";
30650                target: "fg2";
30651            }
30652            program {
30653                signal: "elm,state,unselected";
30654                source: "elm";
30655                action:  STATE_SET "default" 0.0;
30656                target: "bg";
30657                target: "fg1";
30658                target: "fg2";
30659                transition: LINEAR 0.1;
30660            }
30661        }
30662    }
30663
30664 ///////////////////////////////////////////////////////////////////////////////
30665    group { name: "elm/photocam/base/default";
30666        script {
30667            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30668            public timer0(val) {
30669                new v;
30670                v = get_int(sbvis_v);
30671                if (v) {
30672                    v = get_int(sbalways_v);
30673                    if (!v) {
30674                        emit("do-hide-vbar", "");
30675                        set_int(sbvis_v, 0);
30676                    }
30677                }
30678                v = get_int(sbvis_h);
30679                if (v) {
30680                    v = get_int(sbalways_h);
30681                    if (!v) {
30682                        emit("do-hide-hbar", "");
30683                        set_int(sbvis_h, 0);
30684                    }
30685                }
30686                set_int(sbvis_timer, 0);
30687                return 0;
30688            }
30689        }
30690        images {
30691            image: "shelf_inset.png" COMP;
30692            image: "bt_sm_base2.png" COMP;
30693            image: "bt_sm_shine.png" COMP;
30694            image: "bt_sm_hilight.png" COMP;
30695            image: "busy-1.png" COMP;
30696            image: "busy-2.png" COMP;
30697            image: "busy-3.png" COMP;
30698            image: "busy-4.png" COMP;
30699            image: "busy-5.png" COMP;
30700            image: "busy-6.png" COMP;
30701            image: "busy-7.png" COMP;
30702            image: "busy-8.png" COMP;
30703            image: "busy-9.png" COMP;
30704        }
30705        parts {
30706            part { name: "bg";
30707                type: RECT;
30708                description { state: "default" 0.0;
30709                    rel1.offset: 1 1;
30710                    rel2.offset: -2 -2;
30711                    color: 255 255 255 0;
30712                }
30713            }
30714            part { name: "clipper";
30715                type: RECT;
30716                mouse_events: 0;
30717                description { state: "default" 0.0;
30718                    rel1.to: "bg";
30719                    rel2.to: "bg";
30720                }
30721            }
30722            part { name: "elm.swallow.content";
30723                clip_to: "clipper";
30724                type: SWALLOW;
30725                description { state: "default" 0.0;
30726                    rel1.offset: 1 1;
30727                    rel2.offset: -2 -2;
30728                }
30729            }
30730            part { name: "busy_clip";
30731                type: RECT;
30732                mouse_events: 0;
30733                description { state: "default" 0.0;
30734                    visible: 0;
30735                    color: 255 255 255 0;
30736                }
30737                description { state: "active" 0.0;
30738                    visible: 1;
30739                    color: 255 255 255 255;
30740                }
30741            }
30742            part { name: "busy";
30743                clip_to: "busy_clip";
30744                mouse_events: 0;
30745                description { state: "default" 0.0;
30746                    fixed: 1 1;
30747                    min: 32 32;
30748                    aspect: 1.0 1.0;
30749                    align: 1.0 1.0;
30750                    aspect_preference: BOTH;
30751                    rel1 {
30752                        relative: 0.9 0.9;
30753                        offset:   -9 -9;
30754                    }
30755                    rel2 {
30756                        relative: 0.9 0.9;
30757                        offset:   -9 -9;
30758                    }
30759                    image {
30760                        normal: "busy-9.png";
30761                        tween:  "busy-1.png";
30762                        tween:  "busy-2.png";
30763                        tween:  "busy-3.png";
30764                        tween:  "busy-4.png";
30765                        tween:  "busy-5.png";
30766                        tween:  "busy-6.png";
30767                        tween:  "busy-7.png";
30768                        tween:  "busy-8.png";
30769                    }
30770                }
30771            }
30772            part { name: "conf_over";
30773                mouse_events:  0;
30774                description { state: "default" 0.0;
30775                    rel1.offset: 0 0;
30776                    rel2.offset: -1 -1;
30777                    image {
30778                        normal: "shelf_inset.png";
30779                        border: 7 7 7 7;
30780                        middle: 0;
30781                    }
30782                    fill.smooth : 0;
30783                }
30784            }
30785            part { name: "sb_vbar_clip_master";
30786                type: RECT;
30787                mouse_events: 0;
30788                description { state: "default" 0.0;
30789                }
30790                description { state: "hidden" 0.0;
30791                    visible: 0;
30792                    color: 255 255 255 0;
30793                }
30794            }
30795            part { name: "sb_vbar_clip";
30796                clip_to: "sb_vbar_clip_master";
30797                type: RECT;
30798                mouse_events: 0;
30799                description { state: "default" 0.0;
30800                }
30801                description { state: "hidden" 0.0;
30802                    visible: 0;
30803                    color: 255 255 255 0;
30804                }
30805            }
30806            part { name: "sb_vbar";
30807                type: RECT;
30808                mouse_events: 0;
30809                description { state: "default" 0.0;
30810                    fixed: 1 1;
30811                    visible: 0;
30812                    min: 10 17;
30813                    align: 1.0 0.0;
30814                    rel1 {
30815                        relative: 1.0 0.0;
30816                        offset:   -2 0;
30817                    }
30818                    rel2 {
30819                        relative: 1.0 0.0;
30820                        offset:   -2 -1;
30821                        to_y:     "sb_hbar";
30822                    }
30823                }
30824            }
30825            part { name: "elm.dragable.vbar";
30826                clip_to: "sb_vbar_clip";
30827                mouse_events: 0;
30828                dragable {
30829                    x: 0 0 0;
30830                    y: 1 1 0;
30831                    confine: "sb_vbar";
30832                }
30833                description { state: "default" 0.0;
30834                    fixed: 1 1;
30835                    min: 10 17;
30836                    max: 10 99999;
30837                    rel1 {
30838                        relative: 0.5  0.5;
30839                        offset:   0    0;
30840                        to: "sb_vbar";
30841                    }
30842                    rel2 {
30843                        relative: 0.5  0.5;
30844                        offset:   0    0;
30845                        to: "sb_vbar";
30846                    }
30847                    image {
30848                        normal: "bt_sm_base2.png";
30849                        border: 6 6 6 6;
30850                        middle: SOLID;
30851                    }
30852                }
30853            }
30854            part { name: "sb_vbar_over1";
30855                clip_to: "sb_vbar_clip";
30856                mouse_events: 0;
30857                description { state: "default" 0.0;
30858                    rel1.to: "elm.dragable.vbar";
30859                    rel2.relative: 1.0 0.5;
30860                    rel2.to: "elm.dragable.vbar";
30861                    image {
30862                        normal: "bt_sm_hilight.png";
30863                        border: 6 6 6 0;
30864                    }
30865                }
30866            }
30867            part { name: "sb_vbar_over2";
30868                clip_to: "sb_vbar_clip";
30869                mouse_events: 0;
30870                description { state: "default" 0.0;
30871                    rel1.to: "elm.dragable.vbar";
30872                    rel2.to: "elm.dragable.vbar";
30873                    image {
30874                        normal: "bt_sm_shine.png";
30875                        border: 6 6 6 0;
30876                    }
30877                }
30878            }
30879
30880            part { name: "sb_hbar_clip_master";
30881                type: RECT;
30882                mouse_events: 0;
30883                description { state: "default" 0.0;
30884                }
30885                description { state: "hidden" 0.0;
30886                    visible: 0;
30887                    color: 255 255 255 0;
30888                }
30889            }
30890            part { name: "sb_hbar_clip";
30891                clip_to: "sb_hbar_clip_master";
30892                type: RECT;
30893                mouse_events: 0;
30894                description { state: "default" 0.0;
30895                }
30896                description { state: "hidden" 0.0;
30897                    visible: 0;
30898                    color: 255 255 255 0;
30899                }
30900            }
30901            part { name: "sb_hbar";
30902                type: RECT;
30903                mouse_events: 0;
30904                description { state: "default" 0.0;
30905                    fixed: 1 1;
30906                    visible: 0;
30907                    min: 17 10;
30908                    align: 0.0 1.0;
30909                    rel1 {
30910                        relative: 0.0 1.0;
30911                        offset:   0 -2;
30912                    }
30913                    rel2 {
30914                        relative: 0.0 1.0;
30915                        offset:   -1 -2;
30916                        to_x:     "sb_vbar";
30917                    }
30918                }
30919            }
30920            part { name: "elm.dragable.hbar";
30921                clip_to: "sb_hbar_clip";
30922                mouse_events: 0;
30923                dragable {
30924                    x: 1 1 0;
30925                    y: 0 0 0;
30926                    confine: "sb_hbar";
30927                }
30928                description { state: "default" 0.0;
30929                    fixed: 1 1;
30930                    min: 17 10;
30931                    max: 99999 10;
30932                    rel1 {
30933                        relative: 0.5  0.5;
30934                        offset:   0    0;
30935                        to: "sb_hbar";
30936                    }
30937                    rel2 {
30938                        relative: 0.5  0.5;
30939                        offset:   0    0;
30940                        to: "sb_hbar";
30941                    }
30942                    image {
30943                        normal: "bt_sm_base2.png";
30944                        border: 4 4 4 4;
30945                        middle: SOLID;
30946                    }
30947                }
30948            }
30949            part { name: "sb_hbar_over1";
30950                clip_to: "sb_hbar_clip";
30951                mouse_events: 0;
30952                description { state: "default" 0.0;
30953                    rel1.to: "elm.dragable.hbar";
30954                    rel2.relative: 1.0 0.5;
30955                    rel2.to: "elm.dragable.hbar";
30956                    image {
30957                        normal: "bt_sm_hilight.png";
30958                        border: 4 4 4 0;
30959                    }
30960                }
30961            }
30962            part { name: "sb_hbar_over2";
30963                clip_to: "sb_hbar_clip";
30964                mouse_events: 0;
30965                description { state: "default" 0.0;
30966                    rel1.to: "elm.dragable.hbar";
30967                    rel2.to: "elm.dragable.hbar";
30968                    image {
30969                        normal: "bt_sm_shine.png";
30970                        border: 4 4 4 0;
30971                    }
30972                }
30973            }
30974        }
30975        programs {
30976            program { name: "load";
30977                signal: "load";
30978                source: "";
30979                script {
30980                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30981                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30982                    set_int(sbvis_h, 0);
30983                    set_int(sbvis_v, 0);
30984                    set_int(sbalways_v, 0);
30985                    set_int(sbalways_h, 0);
30986                    set_int(sbvis_timer, 0);
30987                }
30988            }
30989
30990            program { name: "vbar_show";
30991                signal: "elm,action,show,vbar";
30992                source: "elm";
30993                action:  STATE_SET "default" 0.0;
30994                target: "sb_vbar_clip_master";
30995            }
30996            program { name: "vbar_hide";
30997                signal: "elm,action,hide,vbar";
30998                source: "elm";
30999                action:  STATE_SET "hidden" 0.0;
31000                target: "sb_vbar_clip_master";
31001            }
31002            program { name: "vbar_show_always";
31003                signal: "elm,action,show_always,vbar";
31004                source: "elm";
31005                script {
31006                    new v;
31007                    v = get_int(sbvis_v);
31008                    v |= get_int(sbalways_v);
31009                    if (!v) {
31010                        set_int(sbalways_v, 1);
31011                        emit("do-show-vbar", "");
31012                        set_int(sbvis_v, 1);
31013                    }
31014                }
31015            }
31016            program { name: "vbar_show_notalways";
31017                signal: "elm,action,show_notalways,vbar";
31018                source: "elm";
31019                script {
31020                    new v;
31021                    v = get_int(sbalways_v);
31022                    if (v) {
31023                        set_int(sbalways_v, 0);
31024                        v = get_int(sbvis_v);
31025                        if (!v) {
31026                            emit("do-hide-vbar", "");
31027                            set_int(sbvis_v, 0);
31028                        }
31029                    }
31030                }
31031            }
31032            program { name: "sb_vbar_show";
31033                signal: "do-show-vbar";
31034                source: "";
31035                action:  STATE_SET "default" 0.0;
31036                transition: LINEAR 0.5;
31037                target: "sb_vbar_clip";
31038            }
31039            program { name: "sb_vbar_hide";
31040                signal: "do-hide-vbar";
31041                source: "";
31042                action:  STATE_SET "hidden" 0.0;
31043                transition: LINEAR 0.5;
31044                target: "sb_vbar_clip";
31045            }
31046
31047            program { name: "hbar_show";
31048                signal: "elm,action,show,hbar";
31049                source: "elm";
31050                action:  STATE_SET "default" 0.0;
31051                target: "sb_hbar_clip_master";
31052            }
31053            program { name: "hbar_hide";
31054                signal: "elm,action,hide,hbar";
31055                source: "elm";
31056                action:  STATE_SET "hidden" 0.0;
31057                target: "sb_hbar_clip_master";
31058            }
31059            program { name: "hbar_show_always";
31060                signal: "elm,action,show_always,hbar";
31061                source: "elm";
31062                script {
31063                    new v;
31064                    v = get_int(sbvis_h);
31065                    v |= get_int(sbalways_h);
31066                    if (!v) {
31067                        set_int(sbalways_h, 1);
31068                        emit("do-show-hbar", "");
31069                        set_int(sbvis_h, 1);
31070                    }
31071                }
31072            }
31073            program { name: "hbar_show_notalways";
31074                signal: "elm,action,show_notalways,hbar";
31075                source: "elm";
31076                script {
31077                    new v;
31078                    v = get_int(sbalways_h);
31079                    if (v) {
31080                        set_int(sbalways_h, 0);
31081                        v = get_int(sbvis_h);
31082                        if (!v) {
31083                            emit("do-hide-hbar", "");
31084                            set_int(sbvis_h, 0);
31085                        }
31086                    }
31087                }
31088            }
31089            program { name: "sb_hbar_show";
31090                signal: "do-show-hbar";
31091                source: "";
31092                action:  STATE_SET "default" 0.0;
31093                transition: LINEAR 0.5;
31094                target: "sb_hbar_clip";
31095            }
31096            program { name: "sb_hbar_hide";
31097                signal: "do-hide-hbar";
31098                source: "";
31099                action:  STATE_SET "hidden" 0.0;
31100                transition: LINEAR 0.5;
31101                target: "sb_hbar_clip";
31102            }
31103
31104            program { name: "scroll";
31105                signal: "elm,action,scroll";
31106                source: "elm";
31107                script {
31108                    new v;
31109                    v = get_int(sbvis_v);
31110                    v |= get_int(sbalways_v);
31111                    if (!v) {
31112                        emit("do-show-vbar", "");
31113                        set_int(sbvis_v, 1);
31114                    }
31115                    v = get_int(sbvis_h);
31116                    v |= get_int(sbalways_h);
31117                    if (!v) {
31118                        emit("do-show-hbar", "");
31119                        set_int(sbvis_h, 1);
31120                    }
31121                    v = get_int(sbvis_timer);
31122                    if (v > 0) cancel_timer(v);
31123                    v = timer(1.0, "timer0", 0);
31124                    set_int(sbvis_timer, v);
31125                }
31126            }
31127            program { name: "go1";
31128                signal: "elm,state,busy,start";
31129                source: "elm";
31130                action: STATE_SET "active" 0.0;
31131                transition: SINUSOIDAL 1.0;
31132                target:  "busy_clip";
31133            }
31134            program { name: "go2";
31135                signal: "elm,state,busy,start";
31136                source: "elm";
31137                action: STATE_SET "default" 0.0;
31138                transition: LINEAR 0.5;
31139                target: "busy";
31140                after:  "go2";
31141            }
31142            program { name: "stop1";
31143                signal: "elm,state,busy,stop";
31144                source: "elm";
31145                action: STATE_SET "default" 0.0;
31146                transition: SINUSOIDAL 1.0;
31147                target: "busy_clip";
31148                after: "stop2";
31149            }
31150          program { name: "stop2";
31151             action: ACTION_STOP;
31152             target: "go2";
31153          }
31154       }
31155    }
31156
31157    ///////////////////////////////////////////////////////////////////////////////
31158    group { name: "elm/map/base/default";
31159        script {
31160            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31161            public timer0(val) {
31162                new v;
31163                v = get_int(sbvis_v);
31164                if (v) {
31165                    v = get_int(sbalways_v);
31166                    if (!v) {
31167                        emit("do-hide-vbar", "");
31168                        set_int(sbvis_v, 0);
31169                    }
31170                }
31171                v = get_int(sbvis_h);
31172                if (v) {
31173                    v = get_int(sbalways_h);
31174                    if (!v) {
31175                        emit("do-hide-hbar", "");
31176                        set_int(sbvis_h, 0);
31177                    }
31178                }
31179                set_int(sbvis_timer, 0);
31180                return 0;
31181            }
31182        }
31183        images {
31184            image: "shelf_inset.png" COMP;
31185            image: "bt_sm_base2.png" COMP;
31186            image: "bt_sm_shine.png" COMP;
31187            image: "bt_sm_hilight.png" COMP;
31188            image: "busy-1.png" COMP;
31189            image: "busy-2.png" COMP;
31190            image: "busy-3.png" COMP;
31191            image: "busy-4.png" COMP;
31192            image: "busy-5.png" COMP;
31193            image: "busy-6.png" COMP;
31194            image: "busy-7.png" COMP;
31195            image: "busy-8.png" COMP;
31196            image: "busy-9.png" COMP;
31197        }
31198        parts {
31199            part { name: "bg";
31200                type: RECT;
31201                description { state: "default" 0.0;
31202                    rel1.offset: 1 1;
31203                    rel2.offset: -2 -2;
31204                    color: 255 255 255 0;
31205                }
31206            }
31207            part { name: "clipper";
31208                type: RECT;
31209                mouse_events: 0;
31210                description { state: "default" 0.0;
31211                    rel1.to: "bg";
31212                    rel2.to: "bg";
31213                }
31214            }
31215            part { name: "elm.swallow.content";
31216                clip_to: "clipper";
31217                type: SWALLOW;
31218                description { state: "default" 0.0;
31219                    rel1.offset: 1 1;
31220                    rel2.offset: -2 -2;
31221                }
31222            }
31223            part { name: "busy_clip";
31224                type: RECT;
31225                mouse_events: 0;
31226                description { state: "default" 0.0;
31227                    visible: 0;
31228                    color: 255 255 255 0;
31229                }
31230                description { state: "active" 0.0;
31231                    visible: 1;
31232                    color: 255 255 255 255;
31233                }
31234            }
31235            part { name: "busy";
31236                clip_to: "busy_clip";
31237                mouse_events: 0;
31238                description { state: "default" 0.0;
31239                    fixed: 1 1;
31240                    min: 32 32;
31241                    aspect: 1.0 1.0;
31242                    align: 1.0 1.0;
31243                    aspect_preference: BOTH;
31244                    rel1 {
31245                        relative: 0.9 0.9;
31246                        offset:   -9 -9;
31247                    }
31248                    rel2 {
31249                        relative: 0.9 0.9;
31250                        offset:   -9 -9;
31251                    }
31252                    image {
31253                        normal: "busy-9.png";
31254                        tween:  "busy-1.png";
31255                        tween:  "busy-2.png";
31256                        tween:  "busy-3.png";
31257                        tween:  "busy-4.png";
31258                        tween:  "busy-5.png";
31259                        tween:  "busy-6.png";
31260                        tween:  "busy-7.png";
31261                        tween:  "busy-8.png";
31262                    }
31263                }
31264            }
31265            part { name: "conf_over";
31266                mouse_events:  0;
31267                description { state: "default" 0.0;
31268                    rel1.offset: 0 0;
31269                    rel2.offset: -1 -1;
31270                    image {
31271                        normal: "shelf_inset.png";
31272                        border: 7 7 7 7;
31273                        middle: 0;
31274                    }
31275                    fill.smooth : 0;
31276                }
31277            }
31278            part { name: "sb_vbar_clip_master";
31279                type: RECT;
31280                mouse_events: 0;
31281                description { state: "default" 0.0;
31282                }
31283                description { state: "hidden" 0.0;
31284                    visible: 0;
31285                    color: 255 255 255 0;
31286                }
31287            }
31288            part { name: "sb_vbar_clip";
31289                clip_to: "sb_vbar_clip_master";
31290                type: RECT;
31291                mouse_events: 0;
31292                description { state: "default" 0.0;
31293                }
31294                description { state: "hidden" 0.0;
31295                    visible: 0;
31296                    color: 255 255 255 0;
31297                }
31298            }
31299            part { name: "sb_vbar";
31300                type: RECT;
31301                mouse_events: 0;
31302                description { state: "default" 0.0;
31303                    fixed: 1 1;
31304                    visible: 0;
31305                    min: 10 17;
31306                    align: 1.0 0.0;
31307                    rel1 {
31308                        relative: 1.0 0.0;
31309                        offset:   -2 0;
31310                    }
31311                    rel2 {
31312                        relative: 1.0 0.0;
31313                        offset:   -2 -1;
31314                        to_y:     "sb_hbar";
31315                    }
31316                }
31317            }
31318            part { name: "elm.dragable.vbar";
31319                clip_to: "sb_vbar_clip";
31320                mouse_events: 0;
31321                dragable {
31322                    x: 0 0 0;
31323                    y: 1 1 0;
31324                    confine: "sb_vbar";
31325                }
31326                description { state: "default" 0.0;
31327                    fixed: 1 1;
31328                    min: 10 17;
31329                    max: 10 99999;
31330                    rel1 {
31331                        relative: 0.5  0.5;
31332                        offset:   0    0;
31333                        to: "sb_vbar";
31334                    }
31335                    rel2 {
31336                        relative: 0.5  0.5;
31337                        offset:   0    0;
31338                        to: "sb_vbar";
31339                    }
31340                    image {
31341                        normal: "bt_sm_base2.png";
31342                        border: 6 6 6 6;
31343                        middle: SOLID;
31344                    }
31345                }
31346            }
31347            part { name: "sb_vbar_over1";
31348                clip_to: "sb_vbar_clip";
31349                mouse_events: 0;
31350                description { state: "default" 0.0;
31351                    rel1.to: "elm.dragable.vbar";
31352                    rel2.relative: 1.0 0.5;
31353                    rel2.to: "elm.dragable.vbar";
31354                    image {
31355                        normal: "bt_sm_hilight.png";
31356                        border: 6 6 6 0;
31357                    }
31358                }
31359            }
31360            part { name: "sb_vbar_over2";
31361                clip_to: "sb_vbar_clip";
31362                mouse_events: 0;
31363                description { state: "default" 0.0;
31364                    rel1.to: "elm.dragable.vbar";
31365                    rel2.to: "elm.dragable.vbar";
31366                    image {
31367                        normal: "bt_sm_shine.png";
31368                        border: 6 6 6 0;
31369                    }
31370                }
31371            }
31372
31373            part { name: "sb_hbar_clip_master";
31374                type: RECT;
31375                mouse_events: 0;
31376                description { state: "default" 0.0;
31377                }
31378                description { state: "hidden" 0.0;
31379                    visible: 0;
31380                    color: 255 255 255 0;
31381                }
31382            }
31383            part { name: "sb_hbar_clip";
31384                clip_to: "sb_hbar_clip_master";
31385                type: RECT;
31386                mouse_events: 0;
31387                description { state: "default" 0.0;
31388                }
31389                description { state: "hidden" 0.0;
31390                    visible: 0;
31391                    color: 255 255 255 0;
31392                }
31393            }
31394            part { name: "sb_hbar";
31395                type: RECT;
31396                mouse_events: 0;
31397                description { state: "default" 0.0;
31398                    fixed: 1 1;
31399                    visible: 0;
31400                    min: 17 10;
31401                    align: 0.0 1.0;
31402                    rel1 {
31403                        relative: 0.0 1.0;
31404                        offset:   0 -2;
31405                    }
31406                    rel2 {
31407                        relative: 0.0 1.0;
31408                        offset:   -1 -2;
31409                        to_x:     "sb_vbar";
31410                    }
31411                }
31412            }
31413            part { name: "elm.dragable.hbar";
31414                clip_to: "sb_hbar_clip";
31415                mouse_events: 0;
31416                dragable {
31417                    x: 1 1 0;
31418                    y: 0 0 0;
31419                    confine: "sb_hbar";
31420                }
31421                description { state: "default" 0.0;
31422                    fixed: 1 1;
31423                    min: 17 10;
31424                    max: 99999 10;
31425                    rel1 {
31426                        relative: 0.5  0.5;
31427                        offset:   0    0;
31428                        to: "sb_hbar";
31429                    }
31430                    rel2 {
31431                        relative: 0.5  0.5;
31432                        offset:   0    0;
31433                        to: "sb_hbar";
31434                    }
31435                    image {
31436                        normal: "bt_sm_base2.png";
31437                        border: 4 4 4 4;
31438                        middle: SOLID;
31439                    }
31440                }
31441            }
31442            part { name: "sb_hbar_over1";
31443                clip_to: "sb_hbar_clip";
31444                mouse_events: 0;
31445                description { state: "default" 0.0;
31446                    rel1.to: "elm.dragable.hbar";
31447                    rel2.relative: 1.0 0.5;
31448                    rel2.to: "elm.dragable.hbar";
31449                    image {
31450                        normal: "bt_sm_hilight.png";
31451                        border: 4 4 4 0;
31452                    }
31453                }
31454            }
31455            part { name: "sb_hbar_over2";
31456                clip_to: "sb_hbar_clip";
31457                mouse_events: 0;
31458                description { state: "default" 0.0;
31459                    rel1.to: "elm.dragable.hbar";
31460                    rel2.to: "elm.dragable.hbar";
31461                    image {
31462                        normal: "bt_sm_shine.png";
31463                        border: 4 4 4 0;
31464                    }
31465                }
31466            }
31467        }
31468        programs {
31469            program { name: "load";
31470                signal: "load";
31471                source: "";
31472                script {
31473                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31474                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31475                    set_int(sbvis_h, 0);
31476                    set_int(sbvis_v, 0);
31477                    set_int(sbalways_v, 0);
31478                    set_int(sbalways_h, 0);
31479                    set_int(sbvis_timer, 0);
31480                }
31481            }
31482
31483            program { name: "vbar_show";
31484                signal: "elm,action,show,vbar";
31485                source: "elm";
31486                action:  STATE_SET "default" 0.0;
31487                target: "sb_vbar_clip_master";
31488            }
31489            program { name: "vbar_hide";
31490                signal: "elm,action,hide,vbar";
31491                source: "elm";
31492                action:  STATE_SET "hidden" 0.0;
31493                target: "sb_vbar_clip_master";
31494            }
31495            program { name: "vbar_show_always";
31496                signal: "elm,action,show_always,vbar";
31497                source: "elm";
31498                script {
31499                    new v;
31500                    v = get_int(sbvis_v);
31501                    v |= get_int(sbalways_v);
31502                    if (!v) {
31503                        set_int(sbalways_v, 1);
31504                        emit("do-show-vbar", "");
31505                        set_int(sbvis_v, 1);
31506                    }
31507                }
31508            }
31509            program { name: "vbar_show_notalways";
31510                signal: "elm,action,show_notalways,vbar";
31511                source: "elm";
31512                script {
31513                    new v;
31514                    v = get_int(sbalways_v);
31515                    if (v) {
31516                        set_int(sbalways_v, 0);
31517                        v = get_int(sbvis_v);
31518                        if (!v) {
31519                            emit("do-hide-vbar", "");
31520                            set_int(sbvis_v, 0);
31521                        }
31522                    }
31523                }
31524            }
31525            program { name: "sb_vbar_show";
31526                signal: "do-show-vbar";
31527                source: "";
31528                action:  STATE_SET "default" 0.0;
31529                transition: LINEAR 0.5;
31530                target: "sb_vbar_clip";
31531            }
31532            program { name: "sb_vbar_hide";
31533                signal: "do-hide-vbar";
31534                source: "";
31535                action:  STATE_SET "hidden" 0.0;
31536                transition: LINEAR 0.5;
31537                target: "sb_vbar_clip";
31538            }
31539
31540            program { name: "hbar_show";
31541                signal: "elm,action,show,hbar";
31542                source: "elm";
31543                action:  STATE_SET "default" 0.0;
31544                target: "sb_hbar_clip_master";
31545            }
31546            program { name: "hbar_hide";
31547                signal: "elm,action,hide,hbar";
31548                source: "elm";
31549                action:  STATE_SET "hidden" 0.0;
31550                target: "sb_hbar_clip_master";
31551            }
31552            program { name: "hbar_show_always";
31553                signal: "elm,action,show_always,hbar";
31554                source: "elm";
31555                script {
31556                    new v;
31557                    v = get_int(sbvis_h);
31558                    v |= get_int(sbalways_h);
31559                    if (!v) {
31560                        set_int(sbalways_h, 1);
31561                        emit("do-show-hbar", "");
31562                        set_int(sbvis_h, 1);
31563                    }
31564                }
31565            }
31566            program { name: "hbar_show_notalways";
31567                signal: "elm,action,show_notalways,hbar";
31568                source: "elm";
31569                script {
31570                    new v;
31571                    v = get_int(sbalways_h);
31572                    if (v) {
31573                        set_int(sbalways_h, 0);
31574                        v = get_int(sbvis_h);
31575                        if (!v) {
31576                            emit("do-hide-hbar", "");
31577                            set_int(sbvis_h, 0);
31578                        }
31579                    }
31580                }
31581            }
31582            program { name: "sb_hbar_show";
31583                signal: "do-show-hbar";
31584                source: "";
31585                action:  STATE_SET "default" 0.0;
31586                transition: LINEAR 0.5;
31587                target: "sb_hbar_clip";
31588            }
31589            program { name: "sb_hbar_hide";
31590                signal: "do-hide-hbar";
31591                source: "";
31592                action:  STATE_SET "hidden" 0.0;
31593                transition: LINEAR 0.5;
31594                target: "sb_hbar_clip";
31595            }
31596
31597            program { name: "scroll";
31598                signal: "elm,action,scroll";
31599                source: "elm";
31600                script {
31601                    new v;
31602                    v = get_int(sbvis_v);
31603                    v |= get_int(sbalways_v);
31604                    if (!v) {
31605                        emit("do-show-vbar", "");
31606                        set_int(sbvis_v, 1);
31607                    }
31608                    v = get_int(sbvis_h);
31609                    v |= get_int(sbalways_h);
31610                    if (!v) {
31611                        emit("do-show-hbar", "");
31612                        set_int(sbvis_h, 1);
31613                    }
31614                    v = get_int(sbvis_timer);
31615                    if (v > 0) cancel_timer(v);
31616                    v = timer(1.0, "timer0", 0);
31617                    set_int(sbvis_timer, v);
31618                }
31619            }
31620            program { name: "go1";
31621                signal: "elm,state,busy,start";
31622                source: "elm";
31623                action: STATE_SET "active" 0.0;
31624                transition: SINUSOIDAL 1.0;
31625                target:  "busy_clip";
31626            }
31627            program { name: "go2";
31628                signal: "elm,state,busy,start";
31629                source: "elm";
31630                action: STATE_SET "default" 0.0;
31631                transition: LINEAR 0.5;
31632                target: "busy";
31633                after:  "go2";
31634            }
31635            program { name: "stop1";
31636                signal: "elm,state,busy,stop";
31637                source: "elm";
31638                action: STATE_SET "default" 0.0;
31639                transition: SINUSOIDAL 1.0;
31640                target: "busy_clip";
31641                after: "stop2";
31642            }
31643          program { name: "stop2";
31644             action: ACTION_STOP;
31645             target: "go2";
31646          }
31647       }
31648    }
31649    group { name: "elm/map/marker/radio/default";
31650         data {
31651             item: size_w 24;
31652             item: size_h 24;
31653             item: size_max_w 58;
31654             item: size_max_h 58;
31655         }
31656         images {
31657                 image: "map_item.png" COMP;
31658         }
31659         parts {
31660             part { name: "whole";
31661                 description { state: "default" 0.0;
31662                 }
31663             }
31664             part { name: "base";
31665                 ignore_flags: ON_HOLD;
31666                 description { state: "default" 0.0;
31667                     image.normal: "map_item.png";
31668                 }
31669             }
31670             part { name: "elm.icon";
31671                 type: SWALLOW;
31672                 clip_to: "whole";
31673                 mouse_events:  0;
31674                 description { state: "default" 0.0;
31675                     rel1.relative: 0.27 0.27;
31676                     rel2.relative: 0.73 0.73;
31677                 }
31678             }
31679             part { name: "elm.text";
31680                 type:          TEXT;
31681                 effect:        SOFT_SHADOW;
31682                 mouse_events:  0;
31683                 scale: 1;
31684                 description { state: "default" 0.0;
31685                     align:    0.5 0.5;
31686                     color: 224 224 224 255;
31687                     color3: 0 0 0 64;
31688                     rel1.relative: 0.28 0.25;
31689                     rel2.relative: 0.75 0.75;
31690                     text {
31691                         font:     "Sans,Edje-Vera";
31692                         size:     10;
31693                         min:      0 0;
31694                         align:    0.5 0.5;
31695                     }
31696                 }
31697             }
31698        }
31699        programs {
31700             program { name: "open";
31701                 signal: "mouse,clicked,1";
31702                 source: "base";
31703                 action: SIGNAL_EMIT "open" "elm";
31704             }
31705             program { name: "bringin";
31706                 signal: "mouse,down,1,double";
31707                 source: "base";
31708                 action: SIGNAL_EMIT "bringin" "elm";
31709             }
31710        }
31711    }
31712    group { name: "elm/map/marker/radio2/default";
31713         data {
31714             item: size_w 24;
31715             item: size_h 24;
31716             item: size_max_w 58;
31717             item: size_max_h 58;
31718         }
31719         images {
31720                 image: "map_item_2.png" COMP;
31721         }
31722         parts {
31723             part { name: "base";
31724                 ignore_flags: ON_HOLD;
31725                 description { state: "default" 0.0;
31726                     image.normal: "map_item_2.png";
31727                 }
31728             }
31729             part { name: "elm.text";
31730                 type:          TEXT;
31731                 effect:        SOFT_SHADOW;
31732                 mouse_events:  0;
31733                 scale: 1;
31734                 description { state: "default" 0.0;
31735                     align:    0.5 0.5;
31736                     color: 224 224 224 255;
31737                     color3: 0 0 0 64;
31738                     rel1.relative: 0.28 0.25;
31739                     rel2.relative: 0.75 0.75;
31740                     text {
31741                         font:     "Sans,Edje-Vera";
31742                         size:     10;
31743                         min:      0 0;
31744                         align:    0.5 0.5;
31745                     }
31746                 }
31747             }
31748        }
31749        programs {
31750             program { name: "open";
31751                 signal: "mouse,clicked,1";
31752                 source: "base";
31753                 action: SIGNAL_EMIT "open" "elm";
31754             }
31755             program { name: "bringin";
31756                 signal: "mouse,down,1,double";
31757                 source: "base";
31758                 action: SIGNAL_EMIT "bringin" "elm";
31759             }
31760        }
31761    }
31762    group { name: "elm/map/marker/empty/default";
31763         data {
31764             item: size_w 22;
31765             item: size_h 22;
31766             item: size_max_w 64;
31767             item: size_max_h 64;
31768         }
31769         parts {
31770             part { name: "whole";
31771                 description { state: "default" 0.0;
31772                 }
31773             }
31774             part { name: "base";
31775                 ignore_flags: ON_HOLD;
31776                 description { state: "default" 0.0;
31777                 }
31778             }
31779             part { name: "elm.icon";
31780                 type: SWALLOW;
31781                 clip_to: "whole";
31782                 mouse_events:  0;
31783                 description { state: "default" 0.0;
31784                 }
31785             }
31786             part { name: "elm.text";
31787                 type:          TEXT;
31788                 effect:        SOFT_SHADOW;
31789                 mouse_events:  0;
31790                 scale: 1;
31791                 description { state: "default" 0.0;
31792                     align:    0.5 0.5;
31793                     color: 224 224 224 255;
31794                     color3: 0 0 0 64;
31795                     rel1.relative: 0.28 0.25;
31796                     rel2.relative: 0.75 0.75;
31797                     text {
31798                         font:     "Sans,Edje-Vera";
31799                         size:     10;
31800                         min:      0 0;
31801                         align:    0.5 0.5;
31802                     }
31803                 }
31804             }
31805        }
31806        programs {
31807             program { name: "open";
31808                 signal: "mouse,clicked,1";
31809                 source: "base";
31810                 action: SIGNAL_EMIT "open" "elm";
31811             }
31812             program { name: "bringin";
31813                 signal: "mouse,down,1,double";
31814                 source: "base";
31815                 action: SIGNAL_EMIT "bringin" "elm";
31816             }
31817        }
31818    }
31819    group { name: "elm/map/marker_bubble/default";
31820     images {
31821       image: "bubble.png" COMP;
31822       image: "bubble_shine.png" COMP;
31823     }
31824     data {
31825             item: size_w 400;
31826             item: size_h 100;
31827         }
31828     parts {
31829     part { name: "clipper";
31830         mouse_events:  1;
31831         description { state: "default" 0.0;
31832           color: 255 255 255 0;
31833         }
31834         description { state: "show" 0.0;
31835             inherit: "default" 0.0;
31836             color: 255 255 255 255;
31837         }
31838       }
31839      part { name: "base0";
31840         mouse_events:  0;
31841         clip_to: "clipper";
31842         description { state: "default" 0.0;
31843           image {
31844             normal: "bubble.png";
31845             border: 11 36 10 19;
31846           }
31847           image.middle: SOLID;
31848           fill.smooth: 0;
31849         }
31850         description { state: "rtl" 0.0;
31851            inherit: "default" 0.0;
31852            image {
31853               normal: "bubble_4.png";
31854               border: 11 36 18 9;
31855            }
31856         }
31857       }
31858       part { name: "elm.swallow.content";
31859         type: SWALLOW;
31860         clip_to: "clipper";
31861         description { state: "default" 0.0;
31862             align: 0.5 0.5;
31863           rel1 {
31864             offset: 9 8;
31865           }
31866           rel2 {
31867             offset: -10 -17;
31868           }
31869         }
31870       }
31871       part { name: "shine";
31872         mouse_events:  0;
31873         clip_to: "clipper";
31874         description { state:    "default" 0.0;
31875           rel1 {
31876             to: "base0";
31877           }
31878           rel2 {
31879             to: "base0";
31880             relative: 1.0 0.5;
31881           }
31882           image {
31883             normal: "bubble_shine.png";
31884             border: 5 5 5 0;
31885           }
31886           fill.smooth: 0;
31887         }
31888         }
31889     }
31890     programs {
31891         program { name: "show";
31892             signal: "show";
31893             action: STATE_SET "show" 0.0;
31894             target: "clipper";
31895             transition: ACCELERATE 0.5;
31896         }
31897     }
31898   }
31899
31900 /////////////////////////////////////////////////////////////////////////////
31901 // PANES
31902 /////////////////////////////////////////////////////////////////////////////
31903   group {
31904      name: "elm/panes/vertical/default";
31905       images {
31906          image: "bt_base1.png" COMP;
31907          image: "bt_base2.png" COMP;
31908          image: "bt_hilight.png" COMP;
31909          image: "bt_shine.png" COMP;
31910          image: "bt_glow.png" COMP;
31911          image: "bt_dis_base.png" COMP;
31912          image: "bt_dis_hilight.png" COMP;
31913          image: "arrow_right.png" COMP;
31914          image: "arrow_left.png" COMP;
31915       }
31916       script {
31917          public state_pair = 0; //0:both content are not set, 1:both content are set
31918       }
31919      parts
31920        {
31921           part
31922             {
31923                name: "whole";
31924                type: RECT;
31925                mouse_events: 1;
31926                description
31927                  {
31928                     state: "default" 0.0;
31929                     visible: 0;
31930                  }
31931             }
31932
31933          //2 contents
31934           part
31935             {
31936                name: "whole_left";
31937                type: RECT;
31938                mouse_events: 0;
31939                description
31940                  {
31941                     state: "default" 0.0;
31942                     rel2.to_x: "elm.bar";
31943                     rel2.relative: 0.0 1.0;
31944                     visible: 1;
31945                  }
31946             }
31947           part
31948             {
31949                name: "elm.swallow.left";
31950                type: SWALLOW;
31951                clip_to: "whole_left";
31952                description
31953                  {
31954                     state: "default" 0.0;
31955                     rel1.to: "whole_left";
31956                     rel2.to: "whole_left";
31957                  }
31958             }
31959
31960             part
31961             {
31962                name: "whole_right";
31963                type: RECT;
31964                mouse_events: 0;
31965                description
31966                  {
31967                     state: "default" 0.0;
31968                     rel1.to_x: "elm.bar";
31969                     rel1.relative: 1.0 0.0;
31970                     visible: 1;
31971                  }
31972             }
31973           part
31974             {
31975                name: "elm.swallow.right";
31976                type: SWALLOW;
31977                clip_to: "whole_right";
31978                description
31979                  {
31980                     state: "default" 0.0;
31981                     rel1.to: "whole_right";
31982                     rel2.to: "whole_right";
31983                  }
31984             }
31985          //BAR
31986          part { name: "elm.bar";
31987             mouse_events: 1;
31988             dragable {
31989                confine: "whole";
31990                x: 1 1 1;
31991                y: 0 0 0;
31992             }
31993             description { state: "default" 0.0;
31994                max: 0 999;
31995                min: 0 100;
31996                rel1.relative: 0.0 0.5;
31997                rel2.relative: 1.0 0.5;
31998                image {
31999                   normal: "bt_base2.png";
32000                   border: 7 7 7 7;
32001                }
32002                image.middle: SOLID;
32003             }
32004             description { state: "default" 0.1;
32005                inherit: "default" 0.0;
32006                max: 15 999;
32007                min: 15 100;
32008             }
32009             description { state: "clicked" 0.0;
32010                inherit: "default" 0.0;
32011                image.normal: "bt_base1.png";
32012                image.middle: SOLID;
32013             }
32014             description { state: "clicked" 0.1;
32015                inherit: "default" 0.1;
32016                image.normal: "bt_base1.png";
32017                image.middle: SOLID;
32018             }
32019             description { state: "disabled" 0.0;
32020                inherit:  "default" 0.0;
32021                image {
32022                   normal: "bt_dis_base.png";
32023                   border: 4 4 4 4;
32024                }
32025             }
32026             description { state: "disabled" 0.1;
32027                inherit:  "default" 0.1;
32028                image {
32029                   normal: "bt_dis_base.png";
32030                   border: 4 4 4 4;
32031                }
32032             }
32033          }
32034          part {          name: "over1";
32035             mouse_events: 0;
32036             description { state: "default" 0.0;
32037             rel1.to: "elm.bar";
32038             rel2.to: "elm.bar";
32039                rel2.relative: 1.0 0.5;
32040                image {
32041                   normal: "bt_hilight.png";
32042                   border: 7 7 7 0;
32043                }
32044             }
32045             description { state: "disabled" 0.0;
32046                inherit:  "default" 0.0;
32047                image {
32048                   normal: "bt_dis_hilight.png";
32049                   border: 4 4 4 0;
32050                }
32051             }
32052          }
32053          part { name: "over2";
32054             mouse_events: 1;
32055             repeat_events: 1;
32056             ignore_flags: ON_HOLD;
32057             description { state: "default" 0.0;
32058             rel1.to: "elm.bar";
32059             rel2.to: "elm.bar";
32060                image {
32061                   normal: "bt_shine.png";
32062                   border: 7 7 7 7;
32063                }
32064             }
32065             description { state: "disabled" 0.0;
32066                inherit:  "default" 0.0;
32067                visible: 0;
32068             }
32069          }
32070          part { name: "over3";
32071             mouse_events: 1;
32072             repeat_events: 1;
32073             description { state: "default" 0.0;
32074                color: 255 255 255 0;
32075             rel1.to: "elm.bar";
32076             rel2.to: "elm.bar";
32077                image {
32078                   normal: "bt_glow.png";
32079                   border: 12 12 12 12;
32080                }
32081                fill.smooth : 0;
32082             }
32083             description { state: "clicked" 0.0;
32084                inherit:  "default" 0.0;
32085                visible: 1;
32086                color: 255 255 255 255;
32087             }
32088          }
32089
32090          //Arrow
32091          part {
32092             name: "arrow_right";
32093             mouse_events: 0;
32094             description { state: "default" 0.0;
32095                 min: 45 45;
32096                 max: 45 45;
32097                 color: 255 255 255 0;
32098
32099                 rel1.relative: 1.0 0.5;
32100                 rel1.to_x: "elm.bar";
32101                 rel1.offset: 45/2 -45/2;
32102
32103                 rel2.relative: 1.0 0.5;
32104                 rel2.to_x: "elm.bar";
32105                 rel2.offset: 45/2 45/2;
32106
32107                 image.normal: "arrow_right.png";
32108
32109                 fixed: 1 1;
32110             }
32111             description { state: "default" 0.1;
32112                 inherit: "default" 0.0;
32113                 image.normal: "arrow_left.png";
32114             }
32115             description { state: "anim_1" 0.0;
32116                 inherit: "default" 0.0;
32117                 color: 255 255 255 200;
32118                 rel1.offset: (45/2 + 10) -45/2;
32119                 rel2.offset: (45/2 +10) 45/2;
32120             }
32121             description { state: "anim_1" 0.1;
32122                 inherit: "default" 0.0;
32123                 image.normal: "arrow_left.png";
32124                 color: 255 255 255 200;
32125                 rel1.offset: (45/2 + 10) -45/2;
32126                 rel2.offset: (45/2 +10) 45/2;
32127             }
32128             description { state: "anim_2" 0.0;
32129                 inherit: "default" 0.0;
32130                 color: 255 255 255 0;
32131                 rel1.offset: (45/2 + 20) -45/2;
32132                 rel2.offset: (45/2 + 20) 45/2;
32133             }
32134             description { state: "anim_2" 0.1;
32135                 inherit: "default" 0.0;
32136                 image.normal: "arrow_left.png";
32137                 color: 255 255 255 0;
32138                 rel1.offset: (45/2 + 20) -45/2;
32139                 rel2.offset: (45/2 + 20) 45/2;
32140             }
32141          }
32142         part {
32143             name: "arrow_left";
32144             mouse_events: 0;
32145             description { state: "default" 0.0;
32146                 min: 45 45;
32147                 max: 45 45;
32148                 color: 255 255 255 0;
32149
32150                 rel1.relative: 0.0 0.5;
32151                 rel1.to_x: "elm.bar";
32152                 rel1.offset: -45/2 -45/2;
32153
32154                 rel2.relative: 0.0 0.5;
32155                 rel2.to_x: "elm.bar";
32156                 rel2.offset: -45/2 45/2;
32157
32158                 image.normal: "arrow_left.png";
32159
32160                 fixed: 1 1;
32161             }
32162             description { state: "default" 0.1;
32163                 inherit: "default" 0.0;
32164                 image.normal: "arrow_right.png";
32165             }
32166             description { state: "anim_1" 0.0;
32167                 inherit: "default" 0.0;
32168                 color: 255 255 255 200;
32169                 rel1.offset: (-45/2 - 10) -45/2;
32170                 rel2.offset: (-45/2 - 10) 45/2;
32171             }
32172             description { state: "anim_1" 0.1;
32173                 inherit: "default" 0.0;
32174                 image.normal: "arrow_right.png";
32175                 color: 255 255 255 200;
32176                 rel1.offset: (-45/2 - 10) -45/2;
32177                 rel2.offset: (-45/2 - 10) 45/2;
32178             }
32179             description { state: "anim_2" 0.0;
32180                 inherit: "default" 0.0;
32181                 color: 255 255 255 0;
32182                 rel1.offset: (-45/2 - 20) -45/2;
32183                 rel2.offset: (-45/2 - 20) 45/2;
32184             }
32185             description { state: "anim_2" 0.1;
32186                 inherit: "default" 0.0;
32187                 image.normal: "arrow_right.png";
32188                 color: 255 255 255 0;
32189                 rel1.offset: (-45/2 - 20) -45/2;
32190                 rel2.offset: (-45/2 - 20) 45/2;
32191             }
32192          }
32193          part { name: "movement.decider";
32194             mouse_events: 1;
32195             description { state: "default" 0.0;
32196                rel1.to: "elm.bar";
32197                rel2.to: "elm.bar";
32198                visible: 0;
32199             }
32200             description { state: "disabled" 0.0;
32201                inherit: "default" 0.0;
32202                visible: 1;
32203             }
32204          }
32205        }
32206        programs {
32207          program {
32208             name:   "button_click";
32209             signal: "mouse,down,1";
32210             source: "over2";
32211             action: SIGNAL_EMIT "elm,action,press" "";
32212             after: "button_click_anim";
32213             after: "arrow_anim_start";
32214          }
32215          program {
32216             name:   "button_click_anim";
32217             script {
32218                if(get_int(state_pair) == 1)
32219                  set_state(PART:"elm.bar", "clicked", 0.1);
32220                else
32221                  set_state(PART:"elm.bar", "clicked", 0.0);          
32222             }
32223          }
32224          program {
32225             name:   "button_unclick";
32226             signal: "mouse,up,1";
32227             source: "over2";
32228             action: SIGNAL_EMIT "elm,action,unpress" "";
32229             after: "button_unclick_anim";
32230             after: "arrow_anim_stop";
32231          }
32232          program {
32233             name:   "button_unclick_anim";
32234             script {
32235             if(get_int(state_pair) == 1)
32236               set_state(PART:"elm.bar", "default", 0.1);
32237             else
32238               set_state(PART:"elm.bar", "default", 0.0);          
32239             }
32240          }
32241          program {
32242             name:   "button_click2";
32243             signal: "mouse,down,1";
32244             source: "over3";
32245             action: STATE_SET "clicked" 0.0;
32246             target: "over3";
32247          }
32248          program {
32249             name:   "button_unclick2";
32250             signal: "mouse,up,1";
32251             source: "over3";
32252             action: STATE_SET "default" 0.0;
32253             transition: DECELERATE 0.5;
32254             target: "over3";
32255          }
32256          program {
32257             name:   "button_unclick3";
32258             signal: "mouse,up,1";
32259             source: "over2";
32260             action: SIGNAL_EMIT "elm,action,click" "";
32261          }
32262          program {
32263             name:   "button_down_double";
32264             signal: "mouse,down,1,double";
32265             source: "over3";
32266             action: SIGNAL_EMIT "elm,action,click,double" "";
32267          }
32268
32269          //arrows animation
32270          program {
32271             name: "arrow_anim_start";
32272             script {
32273                new st[31];
32274                new Float:vl;
32275                get_state(PART:"arrow_left", st, 30, vl);
32276                if (vl == 0.0) {
32277                   run_program(PROGRAM:"arrow_anim_start_ltr");
32278                }
32279                else {
32280                   run_program(PROGRAM:"arrow_anim_start_rtl");
32281                }
32282             }
32283          }
32284          program {
32285             name: "arrow_anim_stop";
32286             script {
32287                new st[31];
32288                new Float:vl;
32289                get_state(PART:"arrow_left", st, 30, vl);
32290                if (vl == 0.0) {
32291                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32292                }
32293                else {
32294                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32295                }
32296             }
32297          }
32298
32299          program {
32300             name: "arrow_anim_start_ltr";
32301             action: STATE_SET "anim_1" 0.0;
32302             target: "arrow_right";
32303             target: "arrow_left";
32304             transition: LINEAR 0.6;
32305             after: "arrow_anim_1_ltr";
32306          }
32307          program {
32308             name: "arrow_anim_1_ltr";
32309             action: STATE_SET "anim_2" 0.0;
32310             target: "arrow_right";
32311             target: "arrow_left";
32312             transition: LINEAR 0.6;
32313             after: "arrow_anim_2_ltr";
32314          }
32315          program {
32316             name: "arrow_anim_2_ltr";
32317             action: STATE_SET "default" 0.0;
32318             target: "arrow_right";
32319             target: "arrow_left";
32320             after: "arrow_anim_start_ltr";
32321          }
32322          program {
32323             name: "arrow_anim_stop_ltr";
32324             action: ACTION_STOP;
32325             target: "arrow_anim_start_ltr";
32326             target: "arrow_anim_1_ltr";
32327             target: "arrow_anim_2_ltr";
32328             after: "arrow_anim_stop_1_ltr";
32329          }
32330          program {
32331             name: "arrow_anim_stop_1_ltr";
32332             action: STATE_SET "default" 0.0;
32333             target: "arrow_right";
32334             target: "arrow_left";
32335             transition: DECELERATE 0.4;
32336         }
32337          program {
32338             name: "arrow_anim_start_rtl";
32339             action: STATE_SET "anim_1" 0.1;
32340             target: "arrow_right";
32341             target: "arrow_left";
32342             transition: LINEAR 0.6;
32343             after: "arrow_anim_1_rtl";
32344          }
32345          program {
32346             name: "arrow_anim_1_rtl";
32347             action: STATE_SET "anim_2" 0.1;
32348             target: "arrow_right";
32349             target: "arrow_left";
32350             transition: LINEAR 0.6;
32351             after: "arrow_anim_2_rtl";
32352          }
32353          program {
32354             name: "arrow_anim_2_rtl";
32355             action: STATE_SET "default" 0.1;
32356             target: "arrow_right";
32357             target: "arrow_left";
32358             after: "arrow_anim_start_rtl";
32359          }
32360          program {
32361             name: "arrow_anim_stop_rtl";
32362             action: ACTION_STOP;
32363             target: "arrow_anim_start_rtl";
32364             target: "arrow_anim_1_rtl";
32365             target: "arrow_anim_2_rtl";
32366             after: "arrow_anim_stop_1_rtl";
32367          }
32368          program {
32369             name: "arrow_anim_stop_1_rtl";
32370             action: STATE_SET "default" 0.1;
32371             target: "arrow_right";
32372             target: "arrow_left";
32373             transition: DECELERATE 0.4;
32374         }
32375          program { name: "to_rtl";
32376             signal: "edje,state,rtl";
32377             source: "edje";
32378             script {
32379                new st[31];
32380                new Float:vl;
32381                get_state(PART:"arrow_left", st, 30, vl);
32382                if (vl == 0.0) {
32383                   set_state(PART:"arrow_left", st, 0.1);
32384                }
32385                get_state(PART:"arrow_right", st, 30, vl);
32386                if (vl == 0.0) {
32387                   set_state(PART:"arrow_right", st, 0.1);
32388                }
32389             }
32390          }
32391          program { name: "to_ltr";
32392             signal: "edje,state,ltr";
32393             source: "edje";
32394             script {
32395                new st[31];
32396                new Float:vl;
32397                get_state(PART:"arrow_left", st, 30, vl);
32398                if (vl == 0.1) {
32399                   set_state(PART:"arrow_left", st, 0.0);
32400                }
32401                get_state(PART:"arrow_right", st, 30, vl);
32402                if (vl == 0.1) {
32403                   set_state(PART:"arrow_right", st, 0.0);
32404                }
32405             }
32406          }
32407         //fix the pane
32408         program {
32409            name:   "panes_fixed";
32410            signal: "elm.panes.fixed";
32411            source: "elm";
32412            action: STATE_SET "disabled" 0.0;
32413            target: "movement.decider";
32414            target: "elm.bar";
32415         }
32416         //allow the movement by interaction
32417         program {
32418            name:   "panes_unfixed";
32419            signal: "elm.panes.unfixed";
32420            source: "elm";
32421            action: STATE_SET "default" 0.0;
32422            target: "movement.decider";
32423            target: "elm.bar";
32424         }
32425         program {
32426            name:   "panes_pair";
32427            signal: "elm.panes.pair";
32428            source: "elm";
32429            script {
32430               new st[31];
32431               new Float:vl;
32432               set_int(state_pair, 1);
32433               get_state(PART:"elm.bar", st, 30, vl);
32434               set_state(PART:"elm.bar", st, 0.1);
32435            }
32436         }
32437         program {
32438            name:   "panes_unpair";
32439            signal: "elm.panes.unpair";
32440            source: "elm";
32441            script {
32442               new st[31];
32443               new Float:vl;
32444               set_int(state_pair, 0);
32445               get_state(PART:"elm.bar", st, 30, vl);
32446               set_state(PART:"elm.bar", st, 0.0);
32447            }
32448         }
32449       }
32450   }
32451
32452   group {
32453      name: "elm/panes/horizontal/default";
32454       images {
32455          image: "bt_base1.png" COMP;
32456          image: "bt_base2.png" COMP;
32457          image: "bt_hilight.png" COMP;
32458          image: "bt_shine.png" COMP;
32459          image: "bt_glow.png" COMP;
32460          image: "bt_dis_base.png" COMP;
32461          image: "bt_dis_hilight.png" COMP;
32462          image: "arrow_up.png" COMP;
32463          image: "arrow_down.png" COMP;
32464       }
32465      script {
32466         public state_pair = 0; //0:both content are not set, 1:both content are set
32467      }
32468      parts
32469        {
32470           part
32471             {
32472                name: "whole";
32473                type: RECT;
32474                mouse_events: 1;
32475                description
32476                  {
32477                     state: "default" 0.0;
32478                     visible: 0;
32479                  }
32480             }
32481
32482          //2 contents
32483           part
32484             {
32485                name: "whole_left";
32486                type: RECT;
32487                mouse_events: 0;
32488                description
32489                  {
32490                     state: "default" 0.0;
32491                     rel2.to_y: "elm.bar";
32492                     rel2.relative: 1.0 0.0;
32493                     visible: 1;
32494                  }
32495             }
32496           part
32497             {
32498                name: "elm.swallow.left";
32499                type: SWALLOW;
32500                clip_to: "whole_left";
32501                description
32502                  {
32503                     state: "default" 0.0;
32504                     rel1.to: "whole_left";
32505                     rel2.to: "whole_left";
32506                  }
32507             }
32508
32509             part
32510             {
32511                name: "whole_right";
32512                type: RECT;
32513                mouse_events: 0;
32514                description
32515                  {
32516                     state: "default" 0.0;
32517                     rel1.to_y: "elm.bar";
32518                     rel1.relative: 0.0 1.0;
32519                     visible: 1;
32520                  }
32521             }
32522           part
32523             {
32524                name: "elm.swallow.right";
32525                type: SWALLOW;
32526                clip_to: "whole_right";
32527                description
32528                  {
32529                     state: "default" 0.0;
32530                     rel1.to: "whole_right";
32531                     rel2.to: "whole_right";
32532                  }
32533             }
32534          //BAR
32535          part { name: "elm.bar";
32536             mouse_events: 1;
32537             dragable {
32538                confine: "whole";
32539                x: 0 0 0;
32540                y: 1 1 1;
32541             }
32542        description { state: "default" 0.0;
32543                max: 999 0;
32544                min: 100 0;
32545                rel1.relative: 0.5 0.0;
32546                rel2.relative: 0.5 1.0;
32547                image {
32548                   normal: "bt_base2.png";
32549                   border: 7 7 7 7;
32550                }
32551                image.middle: SOLID;
32552        }
32553        description { state: "default" 0.1;
32554           inherit: "default" 0.0;
32555           max: 999 15;
32556           min: 100 15;
32557        }
32558        description { state: "clicked" 0.0;
32559           inherit: "default" 0.0;
32560           image.normal: "bt_base1.png";
32561                image.middle: SOLID;
32562        }
32563        description { state: "clicked" 0.1;
32564           inherit: "default" 0.1;
32565           image.normal: "bt_base1.png";
32566           image.middle: SOLID;
32567        }
32568        description { state: "disabled" 0.0;
32569           inherit:  "default" 0.0;
32570           image {
32571         normal: "bt_dis_base.png";
32572         border: 4 4 4 4;
32573           }
32574        }
32575        description { state: "disabled" 0.1;
32576           inherit:  "default" 0.1;
32577           image {
32578              normal: "bt_dis_base.png";
32579              border: 4 4 4 4;
32580           }
32581        }
32582     }
32583     part {    name: "over1";
32584        mouse_events: 0;
32585        description { state: "default" 0.0;
32586             rel1.to: "elm.bar";
32587             rel2.to: "elm.bar";
32588                rel2.relative: 1.0 0.5;
32589                image {
32590                   normal: "bt_hilight.png";
32591                   border: 7 7 7 0;
32592                }
32593             }
32594             description { state: "disabled" 0.0;
32595                inherit:  "default" 0.0;
32596                image {
32597                   normal: "bt_dis_hilight.png";
32598                   border: 4 4 4 0;
32599                }
32600             }
32601          }
32602          part { name: "over2";
32603             mouse_events: 1;
32604             repeat_events: 1;
32605             ignore_flags: ON_HOLD;
32606             description { state: "default" 0.0;
32607             rel1.to: "elm.bar";
32608             rel2.to: "elm.bar";
32609                image {
32610                   normal: "bt_shine.png";
32611                   border: 7 7 7 7;
32612                }
32613             }
32614             description { state: "disabled" 0.0;
32615                inherit:  "default" 0.0;
32616                visible: 0;
32617             }
32618          }
32619          part { name: "over3";
32620             mouse_events: 1;
32621             repeat_events: 1;
32622             description { state: "default" 0.0;
32623                color: 255 255 255 0;
32624             rel1.to: "elm.bar";
32625             rel2.to: "elm.bar";
32626                image {
32627                   normal: "bt_glow.png";
32628                   border: 12 12 12 12;
32629                }
32630                fill.smooth : 0;
32631             }
32632             description { state: "clicked" 0.0;
32633                inherit:  "default" 0.0;
32634                visible: 1;
32635                color: 255 255 255 255;
32636             }
32637          }
32638
32639          //Arrow
32640          part {
32641             name: "arrow_right";
32642             mouse_events: 0;
32643             description { state: "default" 0.0;
32644                 min: 45 45;
32645                 max: 45 45;
32646                 color: 255 255 255 0;
32647
32648                 rel1.relative: 0.5 1.0;
32649                 rel1.to_y: "elm.bar";
32650                 rel1.offset: -45/2 45/2;
32651
32652                 rel2.relative: 0.5 1.0;
32653                 rel2.to_y: "elm.bar";
32654                 rel2.offset: 45/2 45/2;
32655
32656                 image.normal: "arrow_down.png";
32657
32658                 fixed: 1 1;
32659             }
32660             description { state: "anim_1" 0.0;
32661                 inherit: "default" 0.0;
32662                 color: 255 255 255 200;
32663                 rel1.offset: -45/2 (45/2 +10);
32664                 rel2.offset: 45/2 (45/2 +10);
32665             }
32666             description { state: "anim_2" 0.0;
32667                 inherit: "default" 0.0;
32668                 color: 255 255 255 0;
32669                 rel1.offset: -45/2 (45/2 + 20);
32670                 rel2.offset: 45/2 (45/2 + 20);
32671             }
32672          }
32673         part {
32674             name: "arrow_left";
32675             mouse_events: 0;
32676             description { state: "default" 0.0;
32677                 min: 45 45;
32678                 max: 45 45;
32679                 color: 255 255 255 0;
32680
32681                 rel1.relative: 0.5 0.0;
32682                 rel1.to_y: "elm.bar";
32683                 rel1.offset: -45/2 -45/2;
32684
32685                 rel2.relative: 0.5 0.0;
32686                 rel2.to_y: "elm.bar";
32687                 rel2.offset: 45/2 -45/2;
32688
32689                 image.normal: "arrow_up.png";
32690
32691                 fixed: 1 1;
32692             }
32693             description { state: "anim_1" 0.0;
32694                 inherit: "default" 0.0;
32695                 color: 255 255 255 200;
32696                 rel1.offset: -45/2 (-45/2 - 10);
32697                 rel2.offset: 45/2 (-45/2 - 10);
32698             }
32699             description { state: "anim_2" 0.0;
32700                 inherit: "default" 0.0;
32701                 color: 255 255 255 0;
32702                 rel1.offset: -45/2 (-45/2 - 20);
32703                 rel2.offset: 45/2 (-45/2 - 20);
32704             }
32705          }
32706          part {
32707             name: "movement.decider";
32708             mouse_events: 1;
32709             description { state: "default" 0.0;
32710                rel1.to: "elm.bar";
32711                rel2.to: "elm.bar";
32712                visible: 0;
32713             }
32714             description { state: "disabled" 0.0;
32715                inherit: "default" 0.0;
32716                visible: 1;
32717             }
32718          }
32719        }
32720        programs {
32721           program {
32722              name:   "button_click";
32723              signal: "mouse,down,1";
32724              source: "over2";
32725              action: SIGNAL_EMIT "elm,action,press" "";
32726              after: "button_click_anim";
32727                   after: "arrow_anim_start";
32728           }
32729           program {
32730              name:   "button_click_anim";
32731              script {
32732                 if(get_int(state_pair) == 1)
32733                    set_state(PART:"elm.bar", "clicked", 0.1);
32734                 else
32735                    set_state(PART:"elm.bar", "clicked", 0.0);           
32736              }
32737           }
32738           program {
32739              name:   "button_unclick";
32740              signal: "mouse,up,1";
32741              source: "over2";
32742              action: SIGNAL_EMIT "elm,action,unpress" "";
32743              after: "button_unclick_anim";
32744                   after: "arrow_anim_stop";
32745           }
32746           program {
32747              name:   "button_unclick_anim";
32748              script {
32749                 if(get_int(state_pair) == 1)
32750                    set_state(PART:"elm.bar", "default", 0.1);
32751                 else
32752                    set_state(PART:"elm.bar", "default", 0.0);           
32753              }
32754           }
32755           program {
32756              name:   "button_click2";
32757              signal: "mouse,down,1";
32758              source: "over3";
32759              action: STATE_SET "clicked" 0.0;
32760              target: "over3";
32761           }
32762           program {
32763              name:   "button_unclick2";
32764              signal: "mouse,up,1";
32765              source: "over3";
32766              action: STATE_SET "default" 0.0;
32767                   transition: DECELERATE 0.5;
32768              target: "over3";
32769           }
32770           program {
32771              name:   "button_unclick3";
32772              signal: "mouse,up,1";
32773              source: "over2";
32774              action: SIGNAL_EMIT "elm,action,click" "";
32775           }
32776          program {
32777             name:   "button_down_double";
32778             signal: "mouse,down,1,double";
32779             source: "over3";
32780             action: SIGNAL_EMIT "elm,action,click,double" "";
32781          }
32782
32783          //arrows animation
32784          program {
32785             name: "arrow_anim_start";
32786             action: STATE_SET "anim_1" 0.0;
32787             target: "arrow_right";
32788             target: "arrow_left";
32789             transition: LINEAR 0.6;
32790             after: "arrow_anim_1";
32791          }
32792          program {
32793             name: "arrow_anim_1";
32794             action: STATE_SET "anim_2" 0.0;
32795             target: "arrow_right";
32796             target: "arrow_left";
32797             transition: LINEAR 0.6;
32798             after: "arrow_anim_2";
32799          }
32800          program {
32801             name: "arrow_anim_2";
32802             action: STATE_SET "default" 0.0;
32803             target: "arrow_right";
32804             target: "arrow_left";
32805             after: "arrow_anim_start";
32806          }
32807          program {
32808             name: "arrow_anim_stop";
32809             action: ACTION_STOP;
32810             target: "arrow_anim_start";
32811             target: "arrow_anim_1";
32812             target: "arrow_anim_2";
32813             after: "arrow_anim_stop_1";
32814          }
32815          program {
32816             name: "arrow_anim_stop_1";
32817             action: STATE_SET "default" 0.0;
32818             target: "arrow_right";
32819             target: "arrow_left";
32820             transition: DECELERATE 0.4;
32821         }
32822         //fix the pane
32823         program {
32824            name:   "panes_fixed";
32825            signal: "elm.panes.fixed";
32826            source: "elm";
32827            action: STATE_SET "disabled" 0.0;
32828            target: "movement.decider";
32829            target: "elm.bar";
32830         }
32831         //allow the movement by interaction
32832         program {
32833            name:   "panes_unfixed";
32834            signal: "elm.panes.unfixed";
32835            source: "elm";
32836            action: STATE_SET "default" 0.0;
32837            target: "movement.decider";
32838            target: "elm.bar";
32839         }
32840         program {
32841            name:   "panes_pair";
32842            signal: "elm.panes.pair";
32843            source: "elm";
32844            script {
32845               new st[31];
32846               new Float:vl;
32847               set_int(state_pair, 1);
32848               get_state(PART:"elm.bar", st, 30, vl);
32849               set_state(PART:"elm.bar", st, 0.1);
32850            }
32851         }
32852         program {
32853            name:   "panes_unpair";
32854            signal: "elm.panes.unpair";
32855            source: "elm";
32856            script {
32857               new st[31];
32858               new Float:vl;
32859               set_int(state_pair, 0);
32860               get_state(PART:"elm.bar", st, 30, vl);
32861               set_state(PART:"elm.bar", st, 0.0);
32862            }
32863         }
32864       }
32865   }
32866
32867 /////////////////////////////////////////////////////////////////////////////
32868 // PANEL
32869 /////////////////////////////////////////////////////////////////////////////
32870   group {
32871      name: "elm/panel/base/left";
32872      alias: "elm/panel/base/top";
32873      images
32874        {
32875           image: "bt_base1.png" COMP;
32876           image: "bt_hilight.png" COMP;
32877           image: "bt_shine.png" COMP;
32878           image: "bt_glow.png" COMP;
32879           image: "bt_dis_base.png" COMP;
32880           image: "icon_arrow_left.png" COMP;
32881           image: "icon_arrow_right.png" COMP;
32882        }
32883        data {
32884           item: "focus_highlight" "on";
32885        }
32886      parts
32887        {
32888             part { name: "focus_highlight";
32889                description { state: "default" 0.0;
32890                   visible: 0;
32891                   color: 255 255 255 0;
32892                   rel1 {
32893                      to: "btn";
32894                      offset: -8 -8;
32895                   }
32896                   rel2 {
32897                      to: "btn";
32898                      offset: 7 7;
32899                   }
32900                   image {
32901                      normal: "frame_2.png";
32902                      border: 5 5 32 26;
32903                      middle: 0;
32904                   }
32905                }
32906                description { state: "enabled" 0.0;
32907                   inherit: "default" 0.0;
32908                   visible: 1;
32909                   color: 255 255 255 255;
32910                }
32911             }
32912           part
32913             {
32914                name: "bg";
32915                type: RECT;
32916                mouse_events: 0;
32917                description
32918                  {
32919                     state: "default" 0.0;
32920                     color: 255 255 255 0;
32921                     rel1.relative: 0.0 0.0;
32922                     rel1.offset: 0 0;
32923                     rel2.relative: 1.0 1.0;
32924                     rel2.offset: -1 -1;
32925                  }
32926                description
32927                  {
32928                     state: "hidden" 0.0;
32929                     inherit: "default" 0.0;
32930                     rel1.relative: -1.0 0.0;
32931                     rel1.offset: 21 0;
32932                     rel2.relative: 0.0 1.0;
32933                     rel2.offset: 20 -1;
32934                  }
32935             }
32936           part
32937             {
32938                name: "base";
32939                type: IMAGE;
32940                mouse_events: 0;
32941                description
32942                  {
32943                     state: "default" 0.0;
32944                     rel1.to: "bg";
32945                     rel2.to: "bg";
32946                     rel2.offset: -20 -1;
32947                     image
32948                       {
32949                          normal: "bt_dis_base.png";
32950                          border: 4 4 4 4;
32951                       }
32952                  }
32953             }
32954           part
32955             {
32956                name: "clipper";
32957                type: RECT;
32958                mouse_events: 0;
32959                description
32960                  {
32961                     state: "default" 0.0;
32962                     rel1
32963                       {
32964                          offset: 4 4;
32965                          to: "base";
32966                       }
32967                     rel2
32968                       {
32969                          offset: -5 -5;
32970                          to: "base";
32971                       }
32972                  }
32973             }
32974           part
32975             {
32976                name: "elm.swallow.content";
32977                type: SWALLOW;
32978                clip_to: "clipper";
32979                description
32980                  {
32981                     state: "default" 0.0;
32982                     rel1.to: "clipper";
32983                     rel2.to: "clipper";
32984                  }
32985             }
32986           part
32987             {
32988                name: "btn";
32989                type: IMAGE;
32990                mouse_events: 1;
32991                description
32992                  {
32993                     state: "default" 0.0;
32994                     max: 32 48;
32995                     fixed: 1 1;
32996                     align: 0.0 0.5;
32997                     rel1
32998                       {
32999                          relative: 1.0 0.0;
33000                          offset: -3 0;
33001                          to_x: "base";
33002                       }
33003                     rel2.to_x: "bg";
33004                     image
33005                       {
33006                          normal: "bt_base1.png";
33007                          border: 0 5 4 12;
33008                       }
33009                     fill.smooth: 0;
33010                  }
33011                description
33012                  {
33013                     state: "clicked" 0.0;
33014                     inherit: "default" 0.0;
33015                  }
33016             }
33017           part
33018             {
33019                name: "btn_over";
33020                type: IMAGE;
33021                mouse_events: 0;
33022                description
33023                  {
33024                     state: "default" 0.0;
33025                     rel1.to: "btn";
33026                     rel2
33027                       {
33028                          relative: 1.0 0.5;
33029                          to: "btn";
33030                       }
33031                     image
33032                       {
33033                          normal: "bt_hilight.png";
33034                          border: 0 7 7 0;
33035                       }
33036                  }
33037             }
33038           part
33039             {
33040                name: "btn_over2";
33041                type: IMAGE;
33042                mouse_events: 1;
33043                repeat_events: 1;
33044                ignore_flags: ON_HOLD;
33045                description
33046                  {
33047                     state: "default" 0.0;
33048                     rel1.to: "btn";
33049                     rel2.to: "btn";
33050                     image
33051                       {
33052                          normal: "bt_shine.png";
33053                          border: 0 7 7 7;
33054                     }
33055                  }
33056             }
33057           part
33058             {
33059                name: "btn_over3";
33060                type: IMAGE;
33061                mouse_events: 1;
33062                repeat_events: 1;
33063                description
33064                  {
33065                     state: "default" 0.0;
33066                     color: 255 255 255 0;
33067                     rel1.to: "btn";
33068                     rel2.to: "btn";
33069                     image
33070                       {
33071                        normal: "bt_glow.png";
33072                        border: 12 12 12 12;
33073                     }
33074                   fill.smooth: 0;
33075                }
33076              description
33077                {
33078                   state: "clicked" 0.0;
33079                   inherit: "default" 0.0;
33080                   visible: 1;
33081                   color: 255 255 255 255;
33082                }
33083             }
33084           part
33085             {
33086                name: "btn_icon";
33087                type: IMAGE;
33088                repeat_events: 1;
33089                description
33090                  {
33091                     state: "default" 0.0;
33092                     rel1.to: "btn";
33093                     rel2.to: "btn";
33094                     align: 0.5 0.5;
33095                     min: 16 16;
33096                     max: 16 16;
33097                     image.normal: "icon_arrow_left.png";
33098                  }
33099                description
33100                  {
33101                     state: "hidden" 0.0;
33102                     inherit: "default" 0.0;
33103                     image.normal: "icon_arrow_right.png";
33104                  }
33105             }
33106        }
33107      programs
33108        {
33109           program
33110             {
33111                name: "show";
33112                signal: "elm,action,show";
33113                source: "elm";
33114                action: STATE_SET "default" 0.0;
33115                target: "bg";
33116                target: "btn_icon";
33117                transition: LINEAR 0.5;
33118             }
33119           program
33120             {
33121                name: "hide";
33122                signal: "elm,action,hide";
33123                source: "elm";
33124                action: STATE_SET "hidden" 0.0;
33125                target: "bg";
33126                target: "btn_icon";
33127                transition: LINEAR 0.5;
33128             }
33129           program
33130             {
33131                name: "btn_click";
33132                signal: "mouse,down,1";
33133                source: "btn_over2";
33134                action: STATE_SET "clicked" 0.0;
33135                target: "btn";
33136             }
33137           program
33138             {
33139                name: "btn_unclick";
33140                signal: "mouse,up,1";
33141                source: "btn_over2";
33142                action: STATE_SET "default" 0.0;
33143                target: "btn";
33144             }
33145           program
33146             {
33147                name: "btn_click2";
33148                signal: "mouse,down,1";
33149                source: "btn_over3";
33150                action: STATE_SET "clicked" 0.0;
33151                target: "btn_over3";
33152             }
33153           program
33154             {
33155                name: "btn_unclick2";
33156                signal: "mouse,up,1";
33157                source: "btn_over3";
33158                action: STATE_SET "default" 0.0;
33159                transition: DECELERATE 0.5;
33160                target: "btn_over3";
33161             }
33162           program
33163             {
33164                name: "btn_unclick3";
33165                signal: "mouse,clicked,1";
33166                source: "btn_over2";
33167                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33168             }
33169          program { name: "highlight_show";
33170             signal: "elm,action,focus_highlight,show";
33171             source: "elm";
33172             action: STATE_SET "enabled" 0.0;
33173             transition: ACCELERATE 0.3;
33174             target: "focus_highlight";
33175          }
33176          program { name: "highlight_hide";
33177             signal: "elm,action,focus_highlight,hide";
33178             source: "elm";
33179             action: STATE_SET "default" 0.0;
33180             transition: DECELERATE 0.3;
33181             target: "focus_highlight";
33182          }
33183        }
33184   }
33185
33186   group {
33187      name: "elm/panel/base/right";
33188      alias: "elm/panel/base/bottom";
33189      images
33190        {
33191           image: "bt_base1.png" COMP;
33192           image: "bt_hilight.png" COMP;
33193           image: "bt_shine.png" COMP;
33194           image: "bt_glow.png" COMP;
33195           image: "bt_dis_base.png" COMP;
33196           image: "icon_arrow_left.png" COMP;
33197           image: "icon_arrow_right.png" COMP;
33198        }
33199      parts
33200        {
33201             part { name: "focus_highlight";
33202                description { state: "default" 0.0;
33203                   visible: 0;
33204                   color: 255 255 255 0;
33205                   rel1 {
33206                      to: "btn";
33207                      offset: -8 -8;
33208                   }
33209                   rel2 {
33210                      to: "btn";
33211                      offset: 7 7;
33212                   }
33213                   image {
33214                      normal: "frame_2.png";
33215                      border: 5 5 32 26;
33216                      middle: 0;
33217                   }
33218                }
33219                description { state: "enabled" 0.0;
33220                   inherit: "default" 0.0;
33221                   visible: 1;
33222                   color: 255 255 255 255;
33223                }
33224             }
33225           part
33226             {
33227                name: "bg";
33228                type: RECT;
33229                mouse_events: 0;
33230                description
33231                  {
33232                     state: "default" 0.0;
33233                     color: 255 255 255 0;
33234                     rel1.relative: 0.0 0.0;
33235                     rel1.offset: 0 0;
33236                     rel2.relative: 1.0 1.0;
33237                     rel2.offset: -1 -1;
33238                  }
33239                description
33240                  {
33241                     state: "hidden" 0.0;
33242                     inherit: "default" 0.0;
33243                     rel1.relative: 1.0 0.0;
33244                     rel1.offset: -22 0;
33245                     rel2.relative: 2.0 1.0;
33246                     rel2.offset: -23 -1;
33247                  }
33248             }
33249           part
33250             {
33251                name: "base";
33252                type: IMAGE;
33253                mouse_events: 0;
33254                description
33255                  {
33256                     state: "default" 0.0;
33257                     rel1.to: "bg";
33258                     rel1.offset: 20 0;
33259                     rel2.to: "bg";
33260                     image
33261                       {
33262                          normal: "bt_dis_base.png";
33263                          border: 4 4 4 4;
33264                       }
33265                  }
33266             }
33267           part
33268             {
33269                name: "clipper";
33270                type: RECT;
33271                mouse_events: 0;
33272                description
33273                  {
33274                     state: "default" 0.0;
33275                     rel1
33276                       {
33277                          offset: 4 4;
33278                          to: "base";
33279                       }
33280                     rel2
33281                       {
33282                          offset: -5 -5;
33283                          to: "base";
33284                       }
33285                  }
33286             }
33287           part
33288             {
33289                name: "elm.swallow.content";
33290                type: SWALLOW;
33291                clip_to: "clipper";
33292                description
33293                  {
33294                     state: "default" 0.0;
33295                     rel1.to: "clipper";
33296                     rel2.to: "clipper";
33297                  }
33298             }
33299           part
33300             {
33301                name: "btn";
33302                type: IMAGE;
33303                mouse_events: 1;
33304                description
33305                  {
33306                     state: "default" 0.0;
33307                     max: 32 48;
33308                     fixed: 1 1;
33309                     align: 1 0.5;
33310                     rel1
33311                       {
33312                          to_x: "bg";
33313                       }
33314                     rel2
33315                       {
33316                          offset: 2 0;
33317                          relative: 0.0 1;
33318                          to_x: "base";
33319                       }
33320                     image
33321                       {
33322                          normal: "bt_base1.png";
33323                          border: 5 0 4 12;
33324                       }
33325                     fill.smooth: 0;
33326                  }
33327                description
33328                  {
33329                     state: "clicked" 0.0;
33330                     inherit: "default" 0.0;
33331                  }
33332             }
33333           part
33334             {
33335                name: "btn_over";
33336                type: IMAGE;
33337                mouse_events: 0;
33338                description
33339                  {
33340                     state: "default" 0.0;
33341                     rel1.to: "btn";
33342                     rel2
33343                       {
33344                          relative: 1.0 0.5;
33345                          to: "btn";
33346                       }
33347                     image
33348                       {
33349                          normal: "bt_hilight.png";
33350                          border: 7 0 7 0;
33351                       }
33352                  }
33353             }
33354           part
33355             {
33356                name: "btn_over2";
33357                type: IMAGE;
33358                mouse_events: 1;
33359                repeat_events: 1;
33360                ignore_flags: ON_HOLD;
33361                description
33362                  {
33363                     state: "default" 0.0;
33364                     rel1.to: "btn";
33365                     rel2.to: "btn";
33366                     image
33367                       {
33368                          normal: "bt_shine.png";
33369                          border: 7 0 7 7;
33370                     }
33371                  }
33372             }
33373           part
33374             {
33375                name: "btn_over3";
33376                type: IMAGE;
33377                mouse_events: 1;
33378                repeat_events: 1;
33379                description
33380                  {
33381                     state: "default" 0.0;
33382                     color: 255 255 255 0;
33383                     rel1.to: "btn";
33384                     rel2.to: "btn";
33385                     image
33386                       {
33387                        normal: "bt_glow.png";
33388                        border: 12 12 12 12;
33389                     }
33390                   fill.smooth: 0;
33391                }
33392              description
33393                {
33394                   state: "clicked" 0.0;
33395                   inherit: "default" 0.0;
33396                   visible: 1;
33397                   color: 255 255 255 255;
33398                }
33399             }
33400           part
33401             {
33402                name: "btn_icon";
33403                type: IMAGE;
33404                repeat_events: 1;
33405                description
33406                  {
33407                     state: "default" 0.0;
33408                     rel1.to: "btn";
33409                     rel2.to: "btn";
33410                     align: 0.5 0.5;
33411                     min: 16 16;
33412                     max: 16 16;
33413                     image.normal: "icon_arrow_right.png";
33414                  }
33415                description
33416                  {
33417                     state: "hidden" 0.0;
33418                     inherit: "default" 0.0;
33419                     image.normal: "icon_arrow_left.png";
33420                  }
33421             }
33422        }
33423      programs
33424        {
33425           program
33426             {
33427                name: "show";
33428                signal: "elm,action,show";
33429                source: "elm";
33430                action: STATE_SET "default" 0.0;
33431                target: "bg";
33432                target: "btn_icon";
33433                transition: LINEAR 0.5;
33434             }
33435           program
33436             {
33437                name: "hide";
33438                signal: "elm,action,hide";
33439                source: "elm";
33440                action: STATE_SET "hidden" 0.0;
33441                target: "bg";
33442                target: "btn_icon";
33443                transition: LINEAR 0.5;
33444             }
33445           program
33446             {
33447                name: "btn_click";
33448                signal: "mouse,down,1";
33449                source: "btn_over2";
33450                action: STATE_SET "clicked" 0.0;
33451                target: "btn";
33452             }
33453           program
33454             {
33455                name: "btn_unclick";
33456                signal: "mouse,up,1";
33457                source: "btn_over2";
33458                action: STATE_SET "default" 0.0;
33459                target: "btn";
33460             }
33461           program
33462             {
33463                name: "btn_click2";
33464                signal: "mouse,down,1";
33465                source: "btn_over3";
33466                action: STATE_SET "clicked" 0.0;
33467                target: "btn_over3";
33468             }
33469           program
33470             {
33471                name: "btn_unclick2";
33472                signal: "mouse,up,1";
33473                source: "btn_over3";
33474                action: STATE_SET "default" 0.0;
33475                transition: DECELERATE 0.5;
33476                target: "btn_over3";
33477             }
33478           program
33479             {
33480                name: "btn_unclick3";
33481                signal: "mouse,up,1";
33482                source: "btn_over2";
33483                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33484             }
33485          program { name: "highlight_show";
33486             signal: "elm,action,focus";
33487             source: "elm";
33488             action: STATE_SET "enabled" 0.0;
33489             transition: ACCELERATE 0.3;
33490             target: "focus_highlight";
33491          }
33492          program { name: "highlight_hide";
33493             signal: "elm,action,unfocus";
33494             source: "elm";
33495             action: STATE_SET "default" 0.0;
33496             transition: DECELERATE 0.3;
33497             target: "focus_highlight";
33498          }
33499        }
33500   }
33501
33502 ///////////////////////////////////////////////////////////////////////////////
33503   group { name: "elm/conformant/base/default";
33504      parts {
33505         part { name: "elm.swallow.shelf";
33506            type: SWALLOW;
33507            description { state: "default" 0.0;
33508               fixed: 0 1;
33509               align: 0.0 0.0;
33510               rel2.relative: 1.0 0.0;
33511            }
33512         }
33513         part { name: "elm.swallow.content";
33514            type: SWALLOW;
33515            description { state: "default" 0.0;
33516               fixed: 0 1;
33517               align: 0.5 0.5;
33518               rel1.relative: 0.0 1.0;
33519               rel1.to_y: "elm.swallow.shelf";
33520               rel2.relative: 1.0 0.0;
33521               rel2.to_y: "elm.swallow.virtualkeypad";
33522            }
33523         }
33524         part { name: "elm.swallow.virtualkeypad";
33525            type: SWALLOW;
33526            description { state: "default" 0.0;
33527               fixed: 0 1;
33528               align: 0.0 1.0;
33529               rel2.relative: 1.0 0.0;
33530               rel2.to_y: "elm.swallow.panel";
33531            }
33532         }
33533         part { name: "elm.swallow.panel";
33534            type: SWALLOW;
33535            description { state: "default" 0.0;
33536               fixed: 0 1;
33537               align: 0.0 1.0;
33538               rel1.relative: 0.0 1.0;
33539            }
33540         }
33541      }
33542   }
33543
33544 /////////////////////////////////////////////////////////////////////////////
33545 // CALENDAR
33546 /////////////////////////////////////////////////////////////////////////////
33547 #define CH(_pos) \
33548          part { name: "ch_"#_pos".base"; \
33549             type: RECT; \
33550             description { state: "default" 0.0; \
33551                rel1 { \
33552                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33553                   to: "header"; \
33554                } \
33555                rel2 { \
33556                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33557                   to: "header"; \
33558                } \
33559                color: 0 0 0 0; \
33560                visible: 0; \
33561             } \
33562          } \
33563          part { name: "ch_"#_pos".text"; \
33564             type: TEXT; \
33565             effect: SOFT_SHADOW; \
33566             mouse_events: 0; \
33567             scale: 1; \
33568             clip_to: "ch_"#_pos".clipper"; \
33569             description { \
33570                state: "default" 0.0; \
33571                rel1.to: "ch_"#_pos".base"; \
33572                rel2.to: "ch_"#_pos".base"; \
33573                color: 0 0 0 255; \
33574                color3: 0 0 0 0; \
33575                text { \
33576                   font: "Sans"; \
33577                   size: 10; \
33578                   min: 1 1; \
33579                   align: 0.5 0.5; \
33580                } \
33581             } \
33582          } \
33583          part { name: "ch_"#_pos".clipper"; \
33584             type: RECT; \
33585             description { state: "default" 0.0; \
33586                rel1.to: "ch_"#_pos".base"; \
33587                rel2.to: "ch_"#_pos".base"; \
33588             } \
33589          }
33590
33591 #define CIT(_pos) \
33592          part { name: "cit_"#_pos".rect"; \
33593             type: RECT; \
33594             description { state: "default" 0.0; \
33595                rel1 { \
33596                   relative: (_pos % 7 * 7 / 8 / 6) \
33597                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33598                   to: "base"; \
33599                } \
33600                rel2 { \
33601                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33602                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33603                   to: "base"; \
33604                } \
33605                color: 0 0 0 0; \
33606                visible: 0; \
33607             } \
33608          } \
33609          part { \
33610             name: "cit_"#_pos".event"; \
33611             type: RECT; \
33612             repeat_events: 1; \
33613             description { \
33614                rel1.to: "cit_"#_pos".rect"; \
33615                rel2.to: "cit_"#_pos".rect"; \
33616                state: "default" 0.0; \
33617                color: 0 0 0 0; \
33618             } \
33619          } \
33620          part { name: "cit_"#_pos".shelf"; \
33621             type: RECT; \
33622             mouse_events: 0; \
33623             description { state: "default" 0.0; \
33624                rel1 { \
33625                   to: "cit_"#_pos".bg"; \
33626                   offset: -1 -1; \
33627                } \
33628                rel2 { \
33629                   to: "cit_"#_pos".bg"; \
33630                } \
33631                color: 200 200 200 255; \
33632             } \
33633          } \
33634          part { name: "cit_"#_pos".hd"; \
33635             type: RECT; \
33636             mouse_events: 0; \
33637             description { state: "default" 0.0; \
33638                rel1 { \
33639                   to: "cit_"#_pos".bg"; \
33640                   offset: -1 -1; \
33641                } \
33642                rel2 { \
33643                   to: "cit_"#_pos".bg"; \
33644                } \
33645                visible: 0; \
33646                color: 160 0 0 255; \
33647             } \
33648             description { state: "visible" 0.0; \
33649                inherit: "default" 0.0; \
33650                visible: 1; \
33651             } \
33652          } \
33653          part { \
33654             name: "cit_"#_pos".base_sh"; \
33655             mouse_events: 0; \
33656             description { \
33657                state: "default" 0.0; \
33658                align: 0.0 0.0; \
33659                min: 0 1; \
33660                rel1 { \
33661                   to: "cit_"#_pos".base"; \
33662                   relative: 0.0 1.0; \
33663                   offset: 0 0; \
33664                } \
33665                rel2 { \
33666                   to: "cit_"#_pos".base"; \
33667                   relative: 1.0 1.05; \
33668                   offset: -1 0; \
33669                } \
33670                image { \
33671                   normal: "ilist_item_shadow.png"; \
33672                } \
33673                fill.smooth: 0; \
33674             } \
33675          } \
33676          part { \
33677             name: "cit_"#_pos".base"; \
33678             mouse_events: 0; \
33679             description { \
33680                state: "default" 0.0; \
33681                rel1.to: "cit_"#_pos".rect"; \
33682                rel2.to: "cit_"#_pos".rect"; \
33683                rel2.offset: -1 -1; \
33684                image { \
33685                   normal: "ilist_1.png"; \
33686                   border: 2 2 2 2; \
33687                } \
33688                fill.smooth: 0; \
33689             } \
33690             description { \
33691                state: "today" 0.0; \
33692                inherit: "default" 0.0; \
33693                image.normal: "ilist_2.png"; \
33694                color: 240 240 240 255; \
33695             } \
33696          } \
33697          part { name: "cit_"#_pos".bg"; \
33698             mouse_events: 0; \
33699             description { state: "default" 0.0; \
33700                visible: 0; \
33701                color: 255 255 255 0; \
33702                rel1 { \
33703                   to: "cit_"#_pos".rect"; \
33704                   relative: 0.0 0.0; \
33705                } \
33706                rel2 { \
33707                   to: "cit_"#_pos".rect"; \
33708                   relative: 1.0 1.0; \
33709                   offset: -1 -1; \
33710                } \
33711                image { \
33712                   normal: "bt_sm_base1.png"; \
33713                   border: 6 6 6 6; \
33714                } \
33715                image.middle: SOLID; \
33716             } \
33717             description { state: "selected" 0.0; \
33718                inherit: "default" 0.0; \
33719                visible: 1; \
33720                color: 255 255 255 255; \
33721             } \
33722          } \
33723          part { name: "cit_"#_pos".text"; \
33724             type: TEXT; \
33725             effect: SOFT_SHADOW; \
33726             mouse_events: 0; \
33727             scale: 1; \
33728             description { \
33729                state: "default" 0.0; \
33730                rel1.to: "cit_"#_pos".bg"; \
33731                rel2.to: "cit_"#_pos".bg"; \
33732                color: 0 0 0 255; \
33733                color3: 0 0 0 0; \
33734                text { \
33735                   font: "Sans"; \
33736                   size: 10; \
33737                   min: 1 1; \
33738                   align: 0.5 0.5; \
33739                } \
33740             } \
33741             description { state: "selected" 0.0; \
33742                inherit: "default" 0.0; \
33743                color: 224 224 224 255; \
33744                color3: 0 0 0 64; \
33745             } \
33746          } \
33747          part { name: "cit_"#_pos".fg1"; \
33748             mouse_events: 0; \
33749             description { state: "default" 0.0; \
33750                visible: 0; \
33751                color: 255 255 255 0; \
33752                rel1.to: "cit_"#_pos".bg"; \
33753                rel2.relative: 1.0 0.5; \
33754                rel2.to: "cit_"#_pos".bg"; \
33755                image { \
33756                   normal: "bt_sm_hilight.png"; \
33757                   border: 6 6 6 0; \
33758                } \
33759             } \
33760             description { state: "selected" 0.0; \
33761                inherit: "default" 0.0; \
33762                visible: 1; \
33763                color: 255 255 255 255; \
33764             } \
33765          } \
33766          part { name: "cit_"#_pos".fg2"; \
33767             mouse_events: 0; \
33768             description { state: "default" 0.0; \
33769                visible: 0; \
33770                color: 255 255 255 0; \
33771                rel1.to: "cit_"#_pos".bg"; \
33772                rel2.to: "cit_"#_pos".bg"; \
33773                image { \
33774                   normal: "bt_sm_shine.png"; \
33775                   border: 6 6 6 0; \
33776                } \
33777             } \
33778             description { state: "selected" 0.0; \
33779                inherit: "default" 0.0; \
33780                visible: 1; \
33781                color: 255 255 255 255; \
33782             } \
33783          } \
33784          part { name: "cit_"#_pos".check"; \
33785             mouse_events: 0; \
33786             description { state: "default" 0.0; \
33787                rel1 { \
33788                   to: "cit_"#_pos".bg"; \
33789                   relative: 0.7 0.6; \
33790                   offset: 1 1; \
33791                } \
33792                rel2 { \
33793                   to: "cit_"#_pos".bg"; \
33794                   relative: 1.1 1.2; \
33795                   offset: -2 -2; \
33796                } \
33797                aspect: 1 1; \
33798                visible: 0; \
33799                color: 255 0 0 255; \
33800                image.normal: "check.png"; \
33801             } \
33802             description { state: "visible" 0.0; \
33803                inherit: "default" 0.0; \
33804                visible: 1; \
33805             } \
33806          } \
33807       programs { \
33808          program { \
33809             name:    "cit_"#_pos".go_active"; \
33810             signal:  "cit_"#_pos",selected"; \
33811             source:  "elm"; \
33812             action:  STATE_SET "selected" 0.0; \
33813             target:  "cit_"#_pos".bg"; \
33814             target:  "cit_"#_pos".fg1"; \
33815             target:  "cit_"#_pos".fg2"; \
33816             target:  "cit_"#_pos".text"; \
33817          } \
33818          program { \
33819             name:    "cit_"#_pos".go_passive"; \
33820             signal:  "cit_"#_pos",unselected"; \
33821             source:  "elm"; \
33822             action:  STATE_SET "default" 0.0; \
33823             target:  "cit_"#_pos".bg"; \
33824             target:  "cit_"#_pos".fg1"; \
33825             target:  "cit_"#_pos".fg2"; \
33826             target:  "cit_"#_pos".text"; \
33827          } \
33828          program { \
33829             name:    "cit_"#_pos".is_today"; \
33830             signal:  "cit_"#_pos",today"; \
33831             source:  "elm"; \
33832             action:  STATE_SET "today" 0.0; \
33833             target: "cit_"#_pos".base"; \
33834          } \
33835          program { \
33836             name:    "cit_"#_pos".not_today"; \
33837             signal:  "cit_"#_pos",not_today"; \
33838             source:  "elm"; \
33839             action:  STATE_SET "default" 0.0; \
33840             target: "cit_"#_pos".base"; \
33841          } \
33842          program { \
33843             source: "cit_"#_pos".clicked"; \
33844             signal: "mouse,clicked,1"; \
33845             source: "cit_"#_pos".event"; \
33846             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33847          } \
33848          program { \
33849             name:    "cit_"#_pos".clear"; \
33850             signal:  "cit_"#_pos",clear"; \
33851             source:  "elm"; \
33852             action:  STATE_SET "default" 0.0; \
33853             target: "cit_"#_pos".check"; \
33854             target: "cit_"#_pos".hd"; \
33855          } \
33856          program { \
33857             name:    "cit_"#_pos".checked"; \
33858             signal:  "cit_"#_pos",checked"; \
33859             source:  "elm"; \
33860             action:  STATE_SET "visible" 0.0; \
33861             target: "cit_"#_pos".check"; \
33862          } \
33863          program { \
33864             name:    "cit_"#_pos".holiday"; \
33865             signal:  "cit_"#_pos",holiday"; \
33866             source:  "elm"; \
33867             action:  STATE_SET "visible" 0.0; \
33868             target: "cit_"#_pos".hd"; \
33869          } \
33870       }
33871
33872    group { name: "elm/calendar/base/default";
33873        images {
33874            image: "shelf_inset.png" COMP;
33875            image: "bt_base1.png" COMP;
33876            image: "bt_hilight.png" COMP;
33877            image: "bt_shine.png" COMP;
33878            image: "bt_glow.png" COMP;
33879            image: "bt_dis_base.png" COMP;
33880            image: "bt_dis_hilight.png" COMP;
33881            image: "sp_bt_l.png" COMP;
33882            image: "sp_bt_r.png" COMP;
33883            image: "bt_sm_base1.png" COMP;
33884            image: "bt_sm_shine.png" COMP;
33885            image: "bt_sm_hilight.png" COMP;
33886            image: "ilist_1.png" COMP;
33887            image: "ilist_2.png" COMP;
33888            image: "ilist_item_shadow.png" COMP;
33889            image: "check.png" COMP;
33890        }
33891        parts {
33892            part { name: "bg";
33893                type: RECT;
33894                description { state: "default" 0.0;
33895                    min: 0 30;
33896                    rel1.offset: 1 1;
33897                    rel2.offset: -2 -2;
33898                    color: 255 255 255 0;
33899                    align: 0.0 0.5;
33900                }
33901            }
33902            part { name: "spinner-base";
33903                type: RECT;
33904                mouse_events: 0;
33905                description { state: "default" 0.0;
33906                    min: 24 24;
33907                    max: 999999 24;
33908                    rel1.to: "bg";
33909                    rel1.offset: 6 6;
33910                    rel2.to: "bg";
33911                    rel2.offset: -7 -7;
33912                    color: 255 255 255 0;
33913                    align: 0.0 0.0;
33914                }
33915            }
33916            part { name: "conf_over_spinner";
33917                mouse_events:  0;
33918                description { state: "default" 0.0;
33919                    rel1.to: "spinner-base";
33920                    rel1.offset: -3 -3;
33921                    rel2.to: "spinner-base";
33922                    rel2.offset: 2 2;
33923                    image {
33924                        normal: "shelf_inset.png";
33925                        border: 7 7 7 7;
33926                        middle: 0;
33927                    }
33928                    fill.smooth : 0;
33929                }
33930            }
33931            part { name: "table-base";
33932                type: RECT;
33933                mouse_events: 0;
33934                description { state: "default" 0.0;
33935                    min: 256 220;
33936                    rel1.to_x: "bg";
33937                    rel1.to_y: "spinner-base";
33938                    rel1.offset: 6 6;
33939                    rel1.relative: 0 1;
33940                    rel2.to: "bg";
33941                    rel2.offset: -7 -7;
33942                    color: 255 255 255 0;
33943                }
33944            }
33945            part { name: "conf_over_table";
33946                mouse_events:  0;
33947                description { state: "default" 0.0;
33948                    rel1.to: "table-base";
33949                    rel1.offset: -3 -3;
33950                    rel2.to: "table-base";
33951                    rel2.offset: 2 2;
33952                    image {
33953                        normal: "shelf_inset.png";
33954                        border: 7 7 7 7;
33955                        middle: 0;
33956                    }
33957                    fill.smooth : 0;
33958                }
33959            }
33960            part { name: "header";
33961                type: RECT;
33962                mouse_events: 0;
33963                description { state: "default" 0.0;
33964                    rel1.to: "table-base";
33965                    rel1.relative: 0 0;
33966                    rel2.to: "table-base";
33967                    rel2.relative: 1 0.1;
33968                    color: 255 255 255 0;
33969                }
33970            }
33971            part { name: "base";
33972                type: RECT;
33973                mouse_events: 0;
33974                description { state: "default" 0.0;
33975                    rel1.to_x: "table-base";
33976                    rel1.to_y: "header";
33977                    rel1.relative: 0 1;
33978                    rel1.offset: 3 0;
33979                    rel2.to: "table-base";
33980                    rel2.offset: -3 0;
33981                    color: 255 255 255 0;
33982                }
33983            }
33984            part { name: "left_bt";
33985                mouse_events:  1;
33986                description { state: "default" 0.0;
33987                    rel1 { to: "spinner-base";
33988                        offset: 2 2;
33989                    }
33990                    rel2 { to: "spinner-base";
33991                        offset: -3 -3;
33992                    }
33993                    align: 0.0 0.5;
33994                    min: 24 24;
33995                    max: 24 24;
33996                    fixed: 1 1;
33997                    image {
33998                        normal: "bt_base1.png";
33999                        border: 6 6 6 6;
34000                    }
34001                    fill.smooth : 0;
34002                }
34003                description { state: "clicked" 0.0;
34004                    inherit: "default" 0.0;
34005                    image.normal: "bt_base1.png";
34006                    image.middle: SOLID;
34007                }
34008            }
34009            part { name: "left_over1";
34010                mouse_events: 0;
34011                description { state: "default" 0.0;
34012                    rel1.to: "left_bt";
34013                    rel2 { to: "left_bt";
34014                        relative: 1.0 0.5;
34015                    }
34016                    image {
34017                        normal: "bt_hilight.png";
34018                        border: 7 7 7 0;
34019                    }
34020                }
34021            }
34022            part { name: "left_over2";
34023                mouse_events: 1;
34024                repeat_events: 1;
34025                description { state: "default" 0.0;
34026                    rel1.to: "left_bt";
34027                    rel2.to: "left_bt";
34028                    image {
34029                        normal: "bt_shine.png";
34030                        border: 7 7 7 7;
34031                    }
34032                }
34033            }
34034            part { name: "left_over3";
34035                mouse_events: 1;
34036                repeat_events: 1;
34037                description { state: "default" 0.0;
34038                    color: 255 255 255 0;
34039                    rel1.to: "left_bt";
34040                    rel2.to: "left_bt";
34041                    image {
34042                        normal: "bt_glow.png";
34043                        border: 12 12 12 12;
34044                    }
34045                    fill.smooth : 0;
34046                }
34047                description { state: "clicked" 0.0;
34048                    inherit:  "default" 0.0;
34049                    visible: 1;
34050                    color: 255 255 255 255;
34051                }
34052            }
34053            part { name: "right_bt";
34054                mouse_events:  1;
34055                description { state: "default" 0.0;
34056                    rel1 { to: "spinner-base";
34057                        offset: -27 3;
34058                    }
34059                    rel2 { to: "spinner-base";
34060                        offset: -3 -3;
34061                    }
34062                    align: 1.0 0.5;
34063                    min: 24 24;
34064                    max: 24 24;
34065                    fixed: 1 1;
34066                    image {
34067                        normal: "bt_base1.png";
34068                        border: 5 5 4 12;
34069                    }
34070                    fill.smooth : 0;
34071                }
34072                description { state: "clicked" 0.0;
34073                    inherit: "default" 0.0;
34074                    image.normal: "bt_base1.png";
34075                    image.middle: SOLID;
34076                }
34077            }
34078            part { name: "right_over1";
34079                mouse_events: 0;
34080                description { state: "default" 0.0;
34081                    rel1.to: "right_bt";
34082                    rel2 { to: "right_bt";
34083                        relative: 1.0 0.5;
34084                    }
34085                    image {
34086                        normal: "bt_hilight.png";
34087                        border: 7 7 7 0;
34088                    }
34089                }
34090            }
34091            part { name: "right_over2";
34092                mouse_events: 1;
34093                repeat_events: 1;
34094                description { state: "default" 0.0;
34095                    rel1.to: "right_bt";
34096                    rel2.to: "right_bt";
34097                    image {
34098                        normal: "bt_shine.png";
34099                        border: 7 7 7 7;
34100                    }
34101                }
34102            }
34103            part { name: "right_over3";
34104                mouse_events: 1;
34105                repeat_events: 1;
34106                description { state: "default" 0.0;
34107                    color: 255 255 255 0;
34108                    rel1.to: "right_bt";
34109                    rel2.to: "right_bt";
34110                    image {
34111                        normal: "bt_glow.png";
34112                        border: 12 12 12 12;
34113                    }
34114                    fill.smooth : 0;
34115                }
34116                description { state: "clicked" 0.0;
34117                    inherit:  "default" 0.0;
34118                    visible: 1;
34119                    color: 255 255 255 255;
34120                }
34121            }
34122            part { name: "left_bt_icon";
34123                repeat_events: 1;
34124                description { state: "default" 0.0;
34125                    rel1.to: "left_bt";
34126                    rel2.to: "left_bt";
34127                    align: 0.5 0.5;
34128                    min: 16 16;
34129                    max: 16 16;
34130                    image.normal: "sp_bt_l.png";
34131                }
34132                description { state: "rtl" 0.0;
34133                    inherit: "default" 0.0;
34134                    image.normal: "sp_bt_r.png";
34135                }
34136            }
34137            part { name: "right_bt_icon";
34138                repeat_events: 1;
34139                description { state: "default" 0.0;
34140                    rel1.to: "right_bt";
34141                    rel2.to: "right_bt";
34142                    align: 0.5 0.5;
34143                    min: 16 16;
34144                    max: 16 16;
34145                    image.normal: "sp_bt_r.png";
34146                }
34147                description { state: "rtl" 0.0;
34148                    inherit: "default" 0.0;
34149                    image.normal: "sp_bt_l.png";
34150                }
34151            }
34152            part { name: "month_text";
34153                type: TEXT;
34154                mouse_events: 0;
34155                scale: 1;
34156                description { state: "default" 0.0;
34157                    align: 0 0.5;
34158                    fixed: 1 1;
34159                    rel1 { relative: 1.0 0.0;
34160                        offset: 3 2;
34161                        to: "left_bt";
34162                        to_y: "spinner-base";
34163                    }
34164                    rel2 { relative: 0.0 1.0;
34165                        offset: -3 -2;
34166                        to_x: "right_bt";
34167                        to_y: "spinner-base";
34168                    }
34169                    color: 0 0 0 255;
34170                    text {
34171                        font: "Sans,Edje-Vera";
34172                        size: 12;
34173                        min: 1 1;
34174                        align: 0.5 0.5;
34175                    }
34176                }
34177            }
34178            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34179            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34180            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34181            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34182            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34183            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34184            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34185        }
34186        programs {
34187            program { name: "dec_start";
34188                signal: "mouse,down,1";
34189                source: "left_bt";
34190                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34191            }
34192            program { name: "dec_stop";
34193                signal: "mouse,up,1";
34194                source: "left_bt";
34195                action: SIGNAL_EMIT "elm,action,stop" "";
34196            }
34197            program { name: "inc_start";
34198                signal: "mouse,down,1";
34199                source: "right_bt";
34200                action: SIGNAL_EMIT "elm,action,increment,start" "";
34201            }
34202            program { name: "inc_stop";
34203                signal: "mouse,up,1";
34204                source: "right_bt";
34205                action: SIGNAL_EMIT "elm,action,stop" "";
34206            }
34207            program {
34208                name:   "left_bt_click";
34209                signal: "mouse,down,1";
34210                source: "left_over2";
34211                action: STATE_SET "clicked" 0.0;
34212                target: "left_bt";
34213            }
34214            program {
34215                name:   "left_bt_unclick";
34216                signal: "mouse,up,1";
34217                source: "left_over2";
34218                action: STATE_SET "default" 0.0;
34219                target: "left_bt";
34220            }
34221            program {
34222                name:   "left_bt_click2";
34223                signal: "mouse,down,1";
34224                source: "left_over3";
34225                action: STATE_SET "clicked" 0.0;
34226                target: "left_over3";
34227            }
34228            program {
34229                name:   "left_bt_unclick2";
34230                signal: "mouse,up,1";
34231                source: "left_over3";
34232                action: STATE_SET "default" 0.0;
34233                transition: DECELERATE 0.5;
34234                target: "left_over3";
34235            }
34236            program {
34237                name:   "right_bt_click";
34238                signal: "mouse,down,1";
34239                source: "right_over2";
34240                action: STATE_SET "clicked" 0.0;
34241                target: "right_bt";
34242            }
34243            program {
34244                name:   "right_bt_unclick";
34245                signal: "mouse,up,1";
34246                source: "right_over2";
34247                action: STATE_SET "default" 0.0;
34248                target: "right_bt";
34249            }
34250            program {
34251                name:   "right_bt_click2";
34252                signal: "mouse,down,1";
34253                source: "right_over3";
34254                action: STATE_SET "clicked" 0.0;
34255                target: "right_over3";
34256            }
34257            program {
34258                name:   "right_bt_unclick2";
34259                signal: "mouse,up,1";
34260                source: "right_over3";
34261                action: STATE_SET "default" 0.0;
34262                transition: DECELERATE 0.5;
34263                target: "right_over3";
34264            }
34265            program { name: "to_rtl";
34266                signal: "edje,state,rtl";
34267                source: "edje";
34268                action: STATE_SET "rtl" 0.0;
34269                target: "right_bt_icon";
34270                target: "left_bt_icon";
34271            }
34272            program { name: "to_ltr";
34273                signal: "edje,state,ltr";
34274                source: "edje";
34275                action: STATE_SET "default" 0.0;
34276                target: "right_bt_icon";
34277                target: "left_bt_icon";
34278            }
34279        }
34280    }
34281
34282 #undef CIT
34283 #undef CH
34284
34285 ////////////////////////////////////////////////////////////////////////////////
34286 // colorselector
34287 ////////////////////////////////////////////////////////////////////////////////
34288    group { name: "elm/colorselector/bg/default";
34289       parts {
34290          part { name: "elm.colorbar_0";
34291             type: SWALLOW;
34292             mouse_events: 1;
34293             description { state: "default" 0.0;
34294                min: 120 30;
34295                rel1.relative: 0.0 0.00653594771;
34296                rel2.relative: 1.0 0.254901961;
34297             }
34298          }
34299          part { name: "elm.colorbar_1";
34300             type: SWALLOW;
34301             mouse_events: 1;
34302             description { state: "default" 0.0;
34303                min: 120 30;
34304                rel1.relative: 0.0 0.254901961;
34305                rel2.relative: 1.0 0.503267974;
34306             }
34307          }
34308          part { name: "elm.colorbar_2";
34309             type: SWALLOW;
34310             mouse_events: 1;
34311             description { state: "default" 0.0;
34312                min: 120 30;
34313                rel1.relative: 0.0 0.503267974;
34314                rel2.relative: 1.0 0.751633987;
34315             }
34316          }
34317          part { name: "elm.colorbar_3";
34318             type: SWALLOW;
34319             mouse_events: 1;
34320             description { state: "default" 0.0;
34321                min: 120 30;
34322                rel1.relative: 0.0 0.751633987;
34323                rel2.relative: 1.0 1.0;
34324             }
34325          }
34326       }
34327    }
34328
34329    group { name: "elm/colorselector/base/default";
34330       parts {
34331          part { name: "elm.bar_bg";
34332             type: SWALLOW;
34333             mouse_events: 0;
34334             description { state: "default" 0.0;
34335                min: 60 22;
34336                rel1 {
34337                   relative: 0.0 0.8;
34338                   to_x: "elm.arrow_bg";
34339                   to_y: "elm.arrow_icon";
34340                   offset: 0 0;
34341                }
34342                rel2 {
34343                   relative: 1.0 0.83;
34344                   to_x: "elm.arrow_bg";
34345                   offset: 0 0;
34346                }
34347             }
34348          }
34349          part { name: "elm.bar";
34350             type: SWALLOW;
34351             mouse_events: 0;
34352             description { state: "default" 0.0;
34353                rel1.to: "elm.bar_bg";
34354                rel2.to: "elm.bar_bg";
34355             }
34356          }
34357          part { name: "elm.arrow_bg";
34358             type: SWALLOW;
34359             mouse_events: 1;
34360             description { state: "default" 0.0;
34361                rel1 {
34362                   relative: 1.0 0.17;
34363                   offset: 3 0;
34364                   to_x: "elm.l_button";
34365                }
34366                rel2 {
34367                   relative: 0.0 0.83;
34368                      offset: -4 0;
34369                   to_x: "elm.r_button";
34370                }
34371             }
34372          }
34373          part { name: "elm.arrow";
34374             type: RECT;
34375             mouse_events: 1;
34376             scale: 1;
34377             description { state: "default" 0.0;
34378                min: 1 1;
34379                fixed: 1 1;
34380                align: 0 0;
34381                rel1 {
34382                   to_x: "elm.arrow_bg";
34383                }
34384                rel2 {
34385                   relative: 0.0 0.17;
34386                   to_x: "elm.arrow_bg";
34387                }
34388                color: 0 0 0 0;
34389                visible: 0;
34390             }
34391             dragable {
34392                confine: "elm.arrow_bg";
34393                x: 1 1 0;
34394                y: 0 0 0;
34395             }
34396          }
34397          part { name: "elm.arrow_icon";
34398             type: SWALLOW;
34399             mouse_events: 0;
34400             description { state: "default" 0.0;
34401                min: 25 15;
34402                max: 25 15;
34403                fixed: 1 1;
34404                align: 0.5 0;
34405                rel1 {
34406                   to_x: "elm.arrow";
34407                }
34408                rel2 {
34409                   relative: 1.0 0.0;
34410                   offset: 0 10;
34411                   to_x: "elm.arrow";
34412                }
34413             }
34414          }
34415          part { name: "event";
34416             type: RECT;
34417             mouse_events: 1;
34418             description { state: "default" 0.0;
34419                rel1 {
34420                   to: "elm.arrow_icon";
34421                }
34422                rel2 {
34423                   to_x: "elm.arrow_icon";
34424                   to_y: "elm.arrow_bg";
34425                   offset: 0 0;
34426                }
34427                color: 0 0 0 0;
34428             }
34429             dragable {
34430                events: "elm.arrow";
34431             }
34432          }
34433          part { name: "elm.l_button";
34434             type: SWALLOW;
34435             mouse_events: 1;
34436             scale: 1;
34437             description { state: "default" 0.0;
34438                min: 24 24;
34439                fixed: 1 1;
34440                rel1 {
34441                   relative: 0.0 0.0;
34442                   to_y: "elm.bar_bg";
34443                }
34444                rel2 {
34445                   relative: 0.0 1.0;
34446                   to_y: "elm.bar_bg";
34447                }
34448                align: 0.0 0.5;
34449             }
34450          }
34451          part { name: "elm.r_button";
34452             type: SWALLOW;
34453             mouse_events: 1;
34454             scale: 1;
34455             description {
34456                state: "default" 0.0;
34457                min: 24 24;
34458                fixed: 1 1;
34459                rel1 {
34460                   relative: 1.0 0.0;
34461                   to_y: "elm.bar_bg";
34462                }
34463                rel2 {
34464                   relative: 1.0 1.0;
34465                   to_y: "elm.bar_bg";
34466                }
34467                align: 1.0 0.5;
34468             }
34469          }
34470       }
34471    }
34472
34473    group{ name: "elm/colorselector/image/colorbar_0";
34474       images {
34475          image: "color_picker_color.png" COMP;
34476       }
34477       parts {
34478          part { name: "colorbar_0_image";
34479             type: IMAGE;
34480             mouse_events: 1;
34481             description { state: "default" 0.0;
34482                rel2.offset: -1 -1;
34483                image.normal: "color_picker_color.png";
34484             }
34485          }
34486       }
34487    }
34488
34489    group { name: "elm/colorselector/image/colorbar_1";
34490       images {
34491          image: "color_picker_opacity.png" COMP;
34492       }
34493       parts {
34494          part { name: "colorbar_1_image";
34495             type: IMAGE;
34496             mouse_events: 1;
34497             description { state: "default" 0.0;
34498                rel2.offset: -1 -1;
34499                image.normal: "color_picker_opacity.png";
34500             }
34501          }
34502       }
34503    }
34504
34505    group { name: "elm/colorselector/image/colorbar_2";
34506       images {
34507          image: "color_picker_brightness.png" COMP;
34508       }
34509       parts {
34510          part { name: "colorbar_2_image";
34511             type: IMAGE;
34512             mouse_events: 1;
34513             description { state: "default" 0.0;
34514                rel2.offset: -1 -1;
34515                image.normal: "color_picker_brightness.png";
34516             }
34517          }
34518       }
34519    }
34520
34521    group { name: "elm/colorselector/image/colorbar_3";
34522       images {
34523          image: "color_picker_alpha.png" COMP;
34524       }
34525       parts {
34526          part { name: "colorbar_3_image";
34527             type: IMAGE;
34528             mouse_events: 1;
34529             description { state: "default" 0.0;
34530                rel2.offset: -1 -1;
34531                image.normal: "color_picker_alpha.png";
34532             }
34533          }
34534       }
34535    }
34536
34537    group { name: "elm/colorselector/bg_image/colorbar_3";
34538       images {
34539          image: "color_picker_alpha_bg.png" COMP;
34540       }
34541       parts {
34542          part { name: "colorbar_3_image";
34543             type: IMAGE;
34544             mouse_events: 1;
34545             description { state: "default" 0.0;
34546                rel2.offset: -1 -1;
34547                image.normal: "color_picker_alpha_bg.png";
34548             }
34549          }
34550       }
34551    }
34552
34553    group { name: "elm/colorselector/image/updown";
34554       images {
34555          image: "icon_arrow_down.png" COMP;
34556       }
34557       parts {
34558          part { name: "bg";
34559             type: RECT;
34560             mouse_events: 1;
34561             description { state: "default" 0.0;
34562                color: 0 0 0 0;
34563             }
34564          }
34565          part { name: "arrow_image";
34566             type: IMAGE;
34567             mouse_events: 1;
34568             description { state: "default" 0.0;
34569                image.normal: "icon_arrow_down.png";
34570             }
34571          }
34572       }
34573    }
34574
34575    group { name: "elm/colorselector/button/left";
34576       images {
34577          image: "bt_base1.png" COMP;
34578          image: "bt_shine.png" COMP;
34579          image: "sp_bt_l.png" COMP;
34580       }
34581       parts {
34582          part { name: "button_image";
34583             mouse_events: 1;
34584             description { state: "default" 0.0;
34585                image.normal: "bt_base1.png";
34586                image.border: 6 6 6 6;
34587                image.middle: SOLID;
34588             }
34589
34590             description { state: "clicked" 0.0;
34591                inherit: "default" 0.0;
34592                image.normal: "bt_shine.png";
34593                image.border: 6 6 6 6;
34594                image.middle: SOLID;
34595             }
34596          }
34597          part { name: "btn_over";
34598             type: IMAGE;
34599             mouse_events: 0;
34600             description { state: "default" 0.0;
34601                rel1.to: "button_image";
34602                rel2 {
34603                   relative: 1.0 0.5;
34604                   to: "button_image";
34605                }
34606                image {
34607                   normal: "bt_hilight.png";
34608                   border: 7 7 7 0;
34609                }
34610             }
34611          }
34612          part { name: "btn_over2";
34613             type: IMAGE;
34614             mouse_events: 1;
34615             repeat_events: 1;
34616             ignore_flags: ON_HOLD;
34617             description { state: "default" 0.0;
34618                rel1.to: "button_image";
34619                rel2.to: "button_image";
34620                image {
34621                   normal: "bt_shine.png";
34622                   border: 7 7 7 7;
34623                }
34624             }
34625          }
34626          part { name: "focus_image";
34627             type: IMAGE;
34628             description { state: "default" 0.0;
34629                color: 255 255 255 0;
34630                rel1.to: "button_image";
34631                rel2.to: "button_image";
34632                image {
34633                   normal: "bt_glow.png";
34634                   border: 12 12 12 12;
34635                }
34636                fill.smooth: 0;
34637
34638             }
34639             description { state: "clicked" 0.0;
34640                inherit: "default" 0.0;
34641                visible: 1;
34642                color: 255 255 255 255;
34643             }
34644          }
34645          part { name: "left_arrow";
34646             mouse_events: 1;
34647             description { state: "default" 0.0;
34648                min: 16 16;
34649                max: 16 16;
34650                image.normal: "sp_bt_l.png";
34651             }
34652          }
34653       }
34654
34655       programs {
34656          program {
34657             name:   "button_down";
34658             signal: "elm,state,left,button,down";
34659             source: "left_button";
34660             action: STATE_SET "clicked" 0.0;
34661             target: "button_image";
34662             target: "focus_image";
34663          }
34664          program {
34665             name:   "button_up";
34666             signal: "elm,state,left,button,up";
34667             source: "left_button";
34668             action: STATE_SET "default" 0.0;
34669             target: "button_image";
34670             target: "focus_image";
34671          }
34672       }
34673    }
34674
34675    group { name: "elm/colorselector/button/right";
34676       images {
34677          image: "bt_base1.png" COMP;
34678          image: "bt_shine.png" COMP;
34679          image: "sp_bt_r.png" COMP;
34680       }
34681       parts {
34682          part { name: "button_image";
34683             mouse_events: 1;
34684             description { state: "default" 0.0;
34685                image.normal: "bt_base1.png";
34686                image.border: 6 6 6 6;
34687                image.middle: SOLID;
34688             }
34689
34690             description { state: "clicked" 0.0;
34691                inherit: "default" 0.0;
34692                image.normal: "bt_shine.png";
34693                image.border: 6 6 6 6;
34694                image.middle: SOLID;
34695             }
34696          }
34697          part { name: "btn_over";
34698             type: IMAGE;
34699             mouse_events: 0;
34700             description { state: "default" 0.0;
34701                rel1.to: "button_image";
34702                rel2 {
34703                   relative: 1.0 0.5;
34704                   to: "button_image";
34705                }
34706                image {
34707                   normal: "bt_hilight.png";
34708                   border: 7 7 7 0;
34709                }
34710             }
34711          }
34712          part { name: "btn_over2";
34713             type: IMAGE;
34714             mouse_events: 1;
34715             repeat_events: 1;
34716             ignore_flags: ON_HOLD;
34717             description { state: "default" 0.0;
34718                rel1.to: "button_image";
34719                rel2.to: "button_image";
34720                image {
34721                   normal: "bt_shine.png";
34722                   border: 7 7 7 7;
34723                }
34724             }
34725          }
34726          part { name: "focus_image";
34727             type: IMAGE;
34728             description { state: "default" 0.0;
34729                color: 255 255 255 0;
34730                rel1.to: "button_image";
34731                rel2.to: "button_image";
34732                image {
34733                   normal: "bt_glow.png";
34734                   border: 12 12 12 12;
34735                }
34736                fill.smooth: 0;
34737
34738             }
34739             description { state: "clicked" 0.0;
34740                inherit: "default" 0.0;
34741                visible: 1;
34742                color: 255 255 255 255;
34743             }
34744          }
34745          part { name: "right_arrow";
34746             mouse_events: 1;
34747             description { state: "default" 0.0;
34748                min: 16 16;
34749                max: 16 16;
34750                image.normal: "sp_bt_r.png";
34751             }
34752          }
34753       }
34754
34755       programs {
34756          program {
34757             name:   "button_down";
34758             signal: "elm,state,right,button,down";
34759             source: "right_button";
34760             action: STATE_SET "clicked" 0.0;
34761             target: "button_image";
34762             target: "focus_image";
34763          }
34764          program {
34765             name:   "button_up";
34766             signal: "elm,state,right,button,up";
34767             source: "right_button";
34768             action: STATE_SET "default" 0.0;
34769             target: "button_image";
34770             target: "focus_image";
34771          }
34772       }
34773    }
34774
34775 ///////////////////////////////////////////////////////////////////////////////
34776 #define FLIP_PICKER_MAX_LEN (50)
34777 #define FLIP_PICKER_MAX_LEN_STR "50"
34778
34779    group { name: "elm/flipselector/base/default";
34780       images {
34781          image: "flip_base.png" COMP;
34782          image: "flip_base_shad.png" COMP;
34783          image: "flip_shad.png" COMP;
34784          image: "arrow_up.png" COMP;
34785          image: "arrow_down.png" COMP;
34786          image: "flip_t.png" COMP;
34787          image: "flip_b.png" COMP;
34788       }
34789
34790       data {
34791          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34792       }
34793
34794       //FIXME: quick successive clicks on, say, up, lead to nastiness
34795       script {
34796          public cur, prev, next, lock;
34797
34798          public animator_bottom_down(val, Float:pos) {
34799             new tmp[FLIP_PICKER_MAX_LEN];
34800
34801             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34802             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34803                             0.0);
34804             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34805                             0.0);
34806
34807             if (pos >= 1.0) {
34808                set_state(PART:"shadow", "default", 0.0);
34809                set_int(lock, 0);
34810
34811                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34812                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34813                   replace_str(next, 0, "");
34814                   message(MSG_STRING, 1, tmp);
34815                }
34816             }
34817          }
34818
34819          public animator_top_down(val, Float:pos) {
34820             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34821             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34822                             0.0);
34823             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34824                             0.0);
34825
34826             if (pos >= 1.0)
34827                anim(0.2, "animator_bottom_down", val);
34828          }
34829
34830          public animator_bottom_up(val, Float:pos) {
34831             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34832             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34833                             0.0);
34834             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34835                             0.0);
34836
34837             if (pos >= 1.0)
34838                anim(0.2, "animator_top_up", val);
34839          }
34840
34841          public animator_top_up(val, Float:pos) {
34842             new tmp[FLIP_PICKER_MAX_LEN];
34843
34844             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34845             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34846                             0.0);
34847             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34848                             0.0);
34849
34850             if (pos >= 1.0) {
34851                set_state(PART:"shadow", "default", 0.0);
34852                set_int(lock, 0);
34853
34854                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34855                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34856                   replace_str(next, 0, "");
34857                   message(MSG_STRING, 2, tmp);
34858                }
34859             }
34860          }
34861
34862          public message(Msg_Type:type, id, ...) {
34863             /* flip down */
34864             if ((type == MSG_STRING) && (id == 1)) {
34865                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34866
34867                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34868
34869                if (get_int(lock) == 1) {
34870                   replace_str(next, 0, value);
34871                   return;
34872                }
34873
34874                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34875
34876                set_text(PART:"bottom_b", tmp);
34877
34878                set_state(PART:"top", "shrink", 0.0);
34879                set_text(PART:"top", tmp);
34880                set_state(PART:"top", "default", 0.0);
34881                set_text(PART:"top", tmp);
34882
34883                replace_str(prev, 0, tmp);
34884
34885                set_state(PART:"bottom", "default", 0.0);
34886                set_text(PART:"bottom", value);
34887                set_state(PART:"bottom", "shrink", 0.0);
34888                set_text(PART:"bottom", value);
34889
34890                set_text(PART:"top_b", value);
34891
34892                replace_str(cur, 0, value);
34893
34894                set_state(PART:"bottom_sheet", "shrink", 0.0);
34895                set_state(PART:"top_sheet", "default", 0.0);
34896
34897                set_int(lock, 1);
34898                set_state(PART:"shadow", "default", 0.0);
34899                anim(0.2, "animator_top_down", 1);
34900             }
34901
34902             /* flip up */
34903             if ((type == MSG_STRING) && (id == 2)) {
34904                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34905
34906                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34907
34908                if (get_int(lock) == 1) {
34909                   replace_str(next, 0, value);
34910                   return;
34911                }
34912
34913                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34914
34915                set_text(PART:"top_b", tmp);
34916
34917                set_state(PART:"bottom", "shrink", 0.0);
34918                set_text(PART:"bottom", tmp);
34919                set_state(PART:"bottom", "default", 0.0);
34920                set_text(PART:"bottom", tmp);
34921
34922                replace_str(prev, 0, tmp);
34923
34924                set_state(PART:"top", "default", 0.0);
34925                set_text(PART:"top", value);
34926                set_state(PART:"top", "shrink", 0.0);
34927                set_text(PART:"top", value);
34928
34929                set_text(PART:"bottom_b", value);
34930
34931                replace_str(cur, 0, value);
34932
34933                set_state(PART:"bottom_sheet", "default", 0.0);
34934                set_state(PART:"top_sheet", "shrink", 0.0);
34935
34936                set_int(lock, 1);
34937                set_state(PART:"shadow", "full", 0.0);
34938                anim(0.2, "animator_bottom_up", 1);
34939             }
34940          }
34941       }
34942
34943       parts {
34944          part { name: "shad";
34945             mouse_events: 0;
34946             description { state: "default" 0.0;
34947                rel1.offset: -4 -4;
34948                rel1.to: "base";
34949                rel2.offset: 3 3;
34950                rel2.to: "base";
34951                image {
34952                   normal: "flip_base_shad.png";
34953                   border: 8 8 8 8;
34954                }
34955             }
34956          }
34957
34958          part { name: "base";
34959             scale: 1;
34960             description { state: "default" 0.0;
34961                rel1.offset: 4 4;
34962                rel2.offset: -5 -5;
34963                min: 24 48;
34964                image.normal: "flip_base.png";
34965             }
34966          }
34967
34968          part { name: "b";
34969             type: RECT;
34970             mouse_events: 1;
34971             description { state: "default" 0.0;
34972                rel1.to: "base";
34973                rel1.relative: 0.0 0.5;
34974                rel2.to: "base";
34975                color: 0 0 0 0;
34976             }
34977             description { state: "hidden" 0.0;
34978                inherit: "default" 0.0;
34979                visible: 0;
34980             }
34981          }
34982
34983          part { name: "t";
34984             type: RECT;
34985             mouse_events: 1;
34986             description { state: "default" 0.0;
34987                rel1.to: "base";
34988                rel2.to: "base";
34989                rel2.relative: 1.0 0.5;
34990                color: 0 0 0 0;
34991             }
34992             description { state: "hidden" 0.0;
34993                inherit: "default" 0.0;
34994                visible: 0;
34995             }
34996          }
34997
34998          part { name: "bottom_sheet_static";
34999             mouse_events: 0;
35000             description { state: "default" 0.0;
35001                visible: 1;
35002                rel1.to: "b";
35003                rel2.to: "b";
35004                image.normal: "flip_b.png";
35005             }
35006          }
35007
35008          part { name: "bottom_b";
35009             mouse_events: 0;
35010             clip_to: "bottom_clipper";
35011             type: TEXT;
35012             scale: 1;
35013             description { state: "default" 0.0;
35014                rel1.to: "base";
35015                rel2.to: "base";
35016                color: 0 0 0 255;
35017                color2: 0 0 0 255;
35018                text {
35019                   font: "Sans:style=Bold,Edje-Vera-Bold";
35020                   size: 30;
35021                   min: 1 1;
35022                   align: 0.5 0.5;
35023                }
35024             }
35025          }
35026
35027          part { name: "shadow";
35028             mouse_events: 0;
35029             description { state: "default" 0.0;
35030                rel1.to: "b";
35031                rel2.to: "b";
35032                rel2.relative: 1.0 0.0;
35033                image.normal: "flip_shad.png";
35034             }
35035             description { state: "half" 0.0;
35036                inherit: "default" 0.0;
35037                rel2.relative: 1.0 0.5;
35038             }
35039             description { state: "full" 0.0;
35040                inherit: "default" 0.0;
35041                rel2.relative: 1.0 1.0;
35042             }
35043          }
35044
35045          part { name: "bottom_sheet";
35046             mouse_events: 0;
35047             description { state: "default" 0.0;
35048                visible: 1;
35049                rel1.to: "b";
35050                rel2.to: "b";
35051                image.normal: "flip_b.png";
35052             }
35053             description { state: "shrink" 0.0;
35054                inherit: "default" 0.0;
35055                visible: 0;
35056                rel2.relative: 1.0 0.0;
35057             }
35058          }
35059
35060          part { name: "bottom";
35061             mouse_events: 0;
35062             clip_to: "bottom_clipper";
35063             type: TEXT;
35064             scale: 1;
35065             description { state: "default" 0.0;
35066                rel1.to: "base";
35067                rel2.to: "base";
35068                color: 0 0 0 255;
35069                color2: 0 0 0 255;
35070                text {
35071                   font: "Sans:style=Bold,Edje-Vera-Bold";
35072                   size: 30;
35073                   min: 1 1;
35074                   align: 0.5 0.5;
35075                }
35076             }
35077             description { state: "shrink" 0.0;
35078                inherit: "default" 0.0;
35079                color: 128 128 128 255;
35080                visible: 0;
35081                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35082             }
35083          }
35084
35085          part { name: "top_sheet_static";
35086             mouse_events: 0;
35087             description { state: "default" 0.0;
35088                visible: 1;
35089                rel1.to: "t";
35090                rel2.to: "t";
35091                image.normal: "flip_t.png";
35092             }
35093          }
35094
35095          part { name: "top_b";
35096             mouse_events: 0;
35097             clip_to: "top_clipper";
35098             type: TEXT;
35099             scale: 1;
35100             description { state: "default" 0.0;
35101                rel1.to: "base";
35102                rel2.to: "base";
35103                color: 0 0 0 255;
35104                color2: 0 0 0 255;
35105                text {
35106                   font: "Sans:style=Bold,Edje-Vera-Bold";
35107                   size: 30;
35108                   min: 1 1;
35109                   align: 0.5 0.5;
35110                   source: "top";
35111                }
35112             }
35113          }
35114
35115          part { name: "top_sheet";
35116             mouse_events: 0;
35117             description { state: "default" 0.0;
35118                visible: 1;
35119                rel1.to: "t";
35120                rel2.to: "t";
35121                image.normal: "flip_t.png";
35122             }
35123             description { state: "shrink" 0.0;
35124                inherit: "default" 0.0;
35125                color: 128 128 128 255;
35126                visible: 0;
35127                rel1.relative: 0.0 1.0;
35128             }
35129          }
35130
35131          part { name: "top";
35132             mouse_events: 0;
35133             clip_to: "top_clipper";
35134             type: TEXT;
35135             scale: 1;
35136             description { state: "default" 0.0;
35137                rel1.to: "base";
35138                rel2.to: "base";
35139                color: 0 0 0 255;
35140                color2: 0 0 0 255;
35141                text {
35142                   font: "Sans:style=Bold,Edje-Vera-Bold";
35143                   size: 30;
35144                   min: 1 1;
35145                   align: 0.5 0.5;
35146                }
35147             }
35148             description { state: "shrink" 0.0;
35149                inherit: "default" 0.0;
35150                visible: 0;
35151                rel1.relative: 0.0 0.5;
35152             }
35153          }
35154
35155          part { name: "arrow_top";
35156             mouse_events: 0;
35157             scale: 1;
35158             description { state: "default" 0.0;
35159                min: 15 15;
35160                max: 15 15;
35161                align: 0.5 0.0;
35162                rel1.to: "t";
35163                rel2.to: "t";
35164                image.normal: "arrow_up.png";
35165             }
35166             description { state: "hidden" 0.0;
35167                inherit: "default" 0.0;
35168                visible: 0;
35169             }
35170          }
35171          part { name: "arrow_bottom";
35172             mouse_events: 0;
35173             scale: 1;
35174             description { state: "default" 0.0;
35175                min: 15 15;
35176                max: 15 15;
35177                align: 0.5 1.0;
35178                rel1.to: "b";
35179                rel2.to: "b";
35180                image.normal: "arrow_down.png";
35181             }
35182             description { state: "hidden" 0.0;
35183                inherit: "default" 0.0;
35184                visible: 0;
35185             }
35186          }
35187
35188          part {
35189             type: RECT;
35190             mouse_events: 0;
35191             name: "top_clipper";
35192             description {
35193                state: "default" 0.0;
35194                rel1.to: "t";
35195                rel2.to: "t";
35196                visible: 1;
35197             }
35198          }
35199
35200          part {
35201             type: RECT;
35202             mouse_events: 0;
35203             name: "bottom_clipper";
35204             description {
35205                state: "default" 0.0;
35206                rel1.to: "b";
35207                rel2.to: "b";
35208                visible: 1;
35209             }
35210          }
35211       }
35212
35213       programs {
35214          program { name: "load";
35215             signal: "load";
35216             source: "";
35217             script {
35218                append_str(cur, "");
35219                append_str(prev, "");
35220                append_str(next, "");
35221                set_int(lock, 0);
35222             }
35223          }
35224
35225          program { name: "hide_arrows";
35226             signal: "elm,state,button,hidden";
35227             source: "elm";
35228             action: STATE_SET "hidden" 0.0;
35229             target: "arrow_top";
35230             target: "arrow_bottom";
35231             target: "t";
35232             target: "b";
35233          }
35234
35235          program { name: "show_arrows";
35236             signal: "elm,state,button,visible";
35237             source: "elm";
35238             action: STATE_SET "default" 0.0;
35239             target: "arrow_top";
35240             target: "arrow_bottom";
35241             target: "t";
35242             target: "b";
35243          }
35244
35245          program { name: "up";
35246             signal: "mouse,down,1";
35247             source: "t";
35248             action: SIGNAL_EMIT "elm,action,up,start" "";
35249          }
35250          program { name: "up,stop";
35251             signal: "mouse,up,1";
35252             source: "t";
35253             action: SIGNAL_EMIT "elm,action,up,stop" "";
35254          }
35255          program { name: "down";
35256             signal: "mouse,down,1";
35257             source: "b";
35258             action: SIGNAL_EMIT "elm,action,down,start" "";
35259          }
35260          program { name: "down,stop";
35261             signal: "mouse,up,1";
35262             source: "b";
35263             action: SIGNAL_EMIT "elm,action,down,stop" "";
35264          }
35265       }
35266    }
35267
35268 ////////////////////////////////////////////////////////////////////////////////
35269 // diskselector
35270 ////////////////////////////////////////////////////////////////////////////////
35271    group { name: "elm/diskselector/base/default";
35272       images {
35273          image: "bar_shine.png" COMP;
35274       }
35275
35276       parts {
35277          part { name: "bg";
35278             type: RECT;
35279             mouse_events: 0;
35280             description { state: "default" 0.0;
35281                color: 0 0 0 255;
35282             }
35283          }
35284          part { name: "shine_left";
35285             mouse_events:  0;
35286             description { state: "default" 0.0;
35287                rel1.to: "bg";
35288                rel1.relative: -0.1 0;
35289                rel2.to: "bg";
35290                rel2.relative: 0.1 1;
35291                image.normal: "bar_shine.png";
35292                color: 255 255 255 120;
35293             }
35294          }
35295          part { name: "shine_center";
35296             mouse_events:  0;
35297             description { state: "default" 0.0;
35298                rel1.to: "bg";
35299                rel1.relative: 0.2 0;
35300                rel2.to: "bg";
35301                rel2.relative: 0.8 1;
35302                image.normal: "bar_shine.png";
35303                color: 255 255 255 180;
35304             }
35305          }
35306          part { name: "shine_right";
35307             mouse_events:  0;
35308             description { state: "default" 0.0;
35309                rel1.to: "bg";
35310                rel1.relative: 0.9 0;
35311                rel2.to: "bg";
35312                rel2.relative: 1.1 1;
35313                image.normal: "bar_shine.png";
35314                color: 255 255 255 120;
35315             }
35316          }
35317          part { name: "clipper";
35318             type: RECT;
35319             mouse_events: 0;
35320             description { state: "default" 0.0;
35321                rel1.to: "bg";
35322                rel2.to: "bg";
35323                rel1.offset: 2 2;
35324                rel2.offset: -3 -3;
35325             }
35326          }
35327          part { name: "elm.swallow.content";
35328             clip_to: "clipper";
35329             type: SWALLOW;
35330             description { state: "default" 0.0;
35331                rel1.to: "bg";
35332                rel2.to: "bg";
35333             }
35334          }
35335       }
35336    }
35337
35338    group { name: "elm/diskselector/item/default";
35339
35340       data {
35341          item: "len_threshold" "14";
35342          item: "display_item_num" "3";
35343          item: "min_height" "-1";
35344          item: "min_width" "-1";
35345       }
35346
35347       parts {
35348          part { name: "elm.swallow.icon";
35349             type: SWALLOW;
35350             description { state: "default" 0.0;
35351                fixed: 1 0;
35352                align: 0.0 0.5;
35353                rel1 {
35354                   relative: 0 0;
35355                   offset: 4 4;
35356                }
35357                rel2 {
35358                   relative: 0 1;
35359                   offset: 4 -5;
35360                }
35361             }
35362             description { state: "show" 0.0;
35363                inherit: "default" 0.0;
35364             }
35365             description { state: "default_small" 0.0;
35366                inherit: "default" 0.0;
35367                rel1.relative: 0 0.2;
35368                rel2.relative: 0 0.8;
35369             }
35370             description { state: "left_side" 0.0;
35371                inherit: "default" 0.0;
35372                rel1.relative: 0 0.2;
35373                rel2.relative: 0 0.8;
35374                color: 255 255 255 160;
35375             }
35376             description { state: "right_side" 0.0;
35377                inherit: "left_side" 0.0;
35378                rel1.relative: 0.4 0.2;
35379                rel2.relative: 0.4 0.8;
35380                color: 255 255 255 160;
35381             }
35382          }
35383          part { name: "elm.text";
35384             type: TEXT;
35385             mouse_events: 0;
35386             scale: 1;
35387             description { state: "default" 0.0;
35388                rel1.relative: 1 0.0;
35389                rel1.to_x: "elm.swallow.icon";
35390                rel2.relative: 1.0 1.0;
35391                color: 255 255 255 255;
35392                visible: 0;
35393                text {
35394                   font: "Sans,Edje-Vera";
35395                   size: 13;
35396                   align: 0.5 0.5;
35397                   min: 0 1;
35398                }
35399             }
35400             description { state: "show" 0.0;
35401                inherit: "default" 0.0;
35402                visible: 1;
35403             }
35404             description { state: "default_small" 0.0;
35405                inherit: "default" 0.0;
35406                visible: 1;
35407                text.size: 10;
35408             }
35409             description { state: "left_side" 0.0;
35410                inherit: "default" 0.0;
35411                color: 172 172 172 255;
35412                text.size: 10;
35413                visible: 1;
35414                text.align: 0.2 0.5;
35415             }
35416             description { state: "right_side" 0.0;
35417                inherit: "default" 0.0;
35418                color: 172 172 172 255;
35419                visible: 1;
35420                text.size: 10;
35421                text.align: 0.8 0.5;
35422             }
35423          }
35424       }
35425
35426       programs {
35427          program { name: "center_text";
35428             signal: "elm,state,center";
35429             source: "elm";
35430             action: STATE_SET "show" 0.0;
35431             target: "elm.text";
35432             target: "elm.swallow.icon";
35433          }
35434          program { name: "center_small_text";
35435             signal: "elm,state,center_small";
35436             source: "elm";
35437             action: STATE_SET "default_small" 0.0;
35438             target: "elm.text";
35439             target: "elm.swallow.icon";
35440          }
35441          program { name: "l_side_text";
35442             signal: "elm,state,left_side";
35443             source: "elm";
35444             action: STATE_SET "left_side" 0.0;
35445             target: "elm.text";
35446             target: "elm.swallow.icon";
35447          }
35448          program { name: "r_side_text";
35449             signal: "elm,state,right_side";
35450             source: "elm";
35451             action: STATE_SET "right_side" 0.0;
35452             target: "elm.text";
35453             target: "elm.swallow.icon";
35454          }
35455       }
35456    }
35457
35458    group { name: "elm/entry/path/separator/default";
35459       images.image: "arrow_right.png" COMP;
35460       parts {
35461          part { name: "icon";
35462             mouse_events: 0;
35463             description { state: "default" 0.0;
35464                image.normal: "arrow_right.png";
35465                max: 64 64;
35466                aspect: 1.0 1.0;
35467             }
35468          }
35469       }
35470    }
35471
35472    group { name: "elm/fileselector/base/default";
35473       data {
35474          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35475       }
35476       parts {
35477          part { name: "elm.swallow.up";
35478             type: SWALLOW;
35479             description { state: "default" 0.0;
35480                align: 0.0 0.0;
35481                min: 10 10;
35482                fixed: 1 1;
35483                rel2 {
35484                   relative: 0.0 0.0;
35485                   offset: 0 0;
35486                }
35487             }
35488          }
35489          part { name: "elm.swallow.home";
35490             type: SWALLOW;
35491             description { state: "default" 0.0;
35492                align: 0.0 0.0;
35493                min: 10 10;
35494                fixed: 1 1;
35495                rel1 {
35496                   to: "elm.swallow.up";
35497                   relative: 1.0 0.0;
35498                   offset: 5 0;
35499                }
35500                rel2 {
35501                   to: "elm.swallow.up";
35502                   relative: 1.0 1.0;
35503                   offset: 20 -1;
35504                }
35505             }
35506          }
35507          part { name: "elm.swallow.files";
35508             type: SWALLOW;
35509             description { state: "default" 0.0;
35510                align: 1.0 0.0;
35511                min: 10 10;
35512                fixed: 1 1;
35513                rel1 {
35514                   to_y: "elm.swallow.home";
35515                   relative: 0.0 1.0;
35516                   offset: 0 0;
35517                }
35518                rel2 {
35519                   to_y: "elm.swallow.path";
35520                   relative: 1.0 0.0;
35521                   offset: -1 -1;
35522                }
35523             }
35524          }
35525          part { name: "elm.swallow.path";
35526             type: SWALLOW;
35527             description { state: "default" 0.0;
35528                align: 0.5 1.0;
35529                fixed: 1 1;
35530                rel1 {
35531                   to_y: "elm.swallow.filename";
35532                   relative: 0.0 0.0;
35533                   offset: 0 -1;
35534                }
35535                rel2 {
35536                   to_y: "elm.swallow.filename";
35537                   relative: 1.0 0.0;
35538                   offset: -1 -1;
35539                }
35540             }
35541          }
35542          part { name: "elm.swallow.filename";
35543             type: SWALLOW;
35544             description { state: "default" 0.0;
35545                align: 0.5 1.0;
35546                fixed: 1 1;
35547                rel1 {
35548                   to_y: "elm.swallow.ok";
35549                   relative: 0.0 0.0;
35550                   offset: 0 -1;
35551                }
35552                rel2 {
35553                   to_y: "elm.swallow.ok";
35554                   relative: 1.0 0.0;
35555                   offset: -1 -1;
35556                }
35557             }
35558          }
35559          part { name: "elm.swallow.cancel";
35560             type: SWALLOW;
35561             description { state: "default" 0.0;
35562                align: 1.0 1.0;
35563                fixed: 1 1;
35564                rel1 {
35565                   to: "elm.swallow.ok";
35566                   relative: 0.0 0.0;
35567                   offset: -3 0;
35568                }
35569                rel2 {
35570                   to: "elm.swallow.ok";
35571                   relative: 0.0 1.0;
35572                   offset: -3 -1;
35573                }
35574             }
35575          }
35576          part { name: "elm.swallow.ok";
35577             type: SWALLOW;
35578             description { state: "default" 0.0;
35579                align: 1.0 1.0;
35580                fixed: 1 1;
35581                rel1 {
35582                   relative: 1.0 1.0;
35583                   offset: -1 -1;
35584                }
35585             }
35586          }
35587       }
35588    }
35589
35590    group { name: "elm/fileselector_entry/base/default";
35591       parts {
35592          part { name: "elm.swallow.entry";
35593             type: SWALLOW;
35594             description { state: "default" 0.0;
35595                align: 0.0 0.0;
35596                min: 50 10;
35597                rel2 { to_x: "elm.swallow.button";
35598                   relative: 0.0 1.0;
35599                   offset: -1 -1;
35600                }
35601             }
35602          }
35603          part { name: "elm.swallow.button";
35604             type: SWALLOW;
35605             description { state: "default" 0.0;
35606                align: 1.0 0.0;
35607                min: 10 10;
35608                fixed: 1 1;
35609                rel1 {
35610                   relative: 1.0 0.0;
35611                   offset: -21 0;
35612                }
35613             }
35614          }
35615       }
35616    }
35617
35618 ////////////////////////////////////////////////////////////////////////
35619 // Standard layouts to be used                                        //
35620 ////////////////////////////////////////////////////////////////////////
35621    /* application with toolbar and main content area */
35622    group { name: "elm/layout/application/toolbar-content";
35623       parts {
35624          part { name: "elm.swallow.content";
35625             type: SWALLOW;
35626             description { state: "default" 0.0;
35627                rel1 { to_y: "elm.external.toolbar";
35628                   relative: 0.0 1.0;
35629                   offset: -1 1;
35630                }
35631             }
35632          }
35633
35634          part { name: "elm.external.toolbar";
35635             type: EXTERNAL;
35636             source: "elm/toolbar";
35637             description { state: "default" 0.0;
35638                align: 0.5 0.0;
35639                fixed: 0 1;
35640                rel2 {
35641                   relative: 1.0 0.0;
35642                   offset: -1 47;
35643                }
35644             }
35645          }
35646       }
35647    }
35648
35649    /* application with toolbar and main content area with a back button and title area */
35650    group { name: "elm/layout/application/toolbar-content-back";
35651       parts {
35652          part { name: "elm.swallow.content";
35653             type: SWALLOW;
35654             description { state: "default" 0.0;
35655                rel1 { to_y: "title_clipper";
35656                   relative: 0.0 1.0;
35657                   offset: -1 1;
35658                }
35659             }
35660          }
35661
35662          part { name: "elm.external.toolbar";
35663             type: EXTERNAL;
35664             source: "elm/toolbar";
35665             description { state: "default" 0.0;
35666                fixed: 0 1;
35667                align: 0.5 0.0;
35668                rel2 {
35669                   relative: 1.0 0.0;
35670                   offset: -1 47;
35671                }
35672             }
35673          }
35674          part { name: "title_clipper";
35675             type: RECT;
35676             description { state: "default" 0.0;
35677                visible: 1;
35678                rel1 {
35679                   to_y: "back";
35680                }
35681                rel2 {
35682                   to_y: "back";
35683                }
35684             }
35685             description { state: "hidden" 0.0;
35686                inherit: "default" 0.0;
35687                visible: 0;
35688                rel2 {
35689                   relative: 1.0 0.0;
35690                }
35691             }
35692          }
35693          part { name: "back_clipper";
35694             type: RECT;
35695             clip_to: "title_clipper";
35696             description { state: "default" 0.0;
35697                visible: 1;
35698             }
35699             description { state: "hidden" 0.0;
35700                visible: 0;
35701             }
35702          }
35703          part { name: "back";
35704             type: EXTERNAL;
35705             source: "elm/button";
35706             clip_to: "back_clipper";
35707             description { state: "default" 0.0;
35708                align: 0.0 0.0;
35709                fixed: 1 1;
35710                rel1 { to_y: "elm.external.toolbar";
35711                   relative: 0.0 1.0;
35712                   offset: 0 1;
35713                }
35714                rel2 { to_y: "elm.external.toolbar";
35715                   relative: 0.0 1.0;
35716                   offset: 50 32;
35717                }
35718                params.string: "label" "Back";
35719             }
35720          }
35721          programs {
35722             program {
35723                signal: "clicked";
35724                source: "back";
35725                action: SIGNAL_EMIT "elm,action,back" "";
35726             }
35727             program {
35728                signal: "elm,back,hide";
35729                source: "elm";
35730                action: STATE_SET "hidden" 0.0;
35731                target: "back_clipper";
35732             }
35733             program {
35734                signal: "elm,back,show";
35735                source: "elm";
35736                action: STATE_SET "default" 0.0;
35737                target: "back_clipper";
35738             }
35739             program {
35740                signal: "elm,title,hide";
35741                source: "elm";
35742                action: STATE_SET "hidden" 0.0;
35743                transition: LINEAR 0.1;
35744                target: "title_clipper";
35745             }
35746             program {
35747                signal: "elm,title,show";
35748                source: "elm";
35749                action: STATE_SET "default" 0.0;
35750                target: "title_clipper";
35751             }
35752          }
35753
35754          part { name: "elm.swallow.end";
35755             type: SWALLOW;
35756             description { state: "default" 0.0;
35757                align: 1.0 0.0;
35758                fixed: 1 1;
35759                rel1 { to_y: "elm.external.toolbar";
35760                   relative: 1.0 1.0;
35761                   offset: -2 1;
35762                }
35763                rel2 { to_y: "elm.external.toolbar";
35764                   relative: 1.0 1.0;
35765                   offset: -1 32;
35766                }
35767             }
35768          }
35769
35770          part { name: "elm.text.title";
35771             type: TEXT;
35772             effect: SOFT_SHADOW;
35773             scale: 1;
35774             description { state: "default" 0.0;
35775                rel1 { to_y: "elm.external.toolbar";
35776                   to_x: "back";
35777                   relative: 1.0 1.0;
35778                   offset: 2 1;
35779                }
35780                rel2 { to_y: "back";
35781                   to_x: "elm.swallow.end";
35782                   relative: 0.0 1.0;
35783                   offset: -3 -1;
35784                }
35785                text {
35786                   font: "Sans:style=Bold";
35787                   size: 12;
35788                }
35789             }
35790          }
35791       }
35792    }
35793
35794    /* application with toolbar and main content area with a back and next buttons and title area */
35795    group { name: "elm/layout/application/toolbar-content-back-next";
35796       parts {
35797          part { name: "elm.swallow.content";
35798             type: SWALLOW;
35799             description { state: "default" 0.0;
35800                rel1 { to_y: "title_clipper";
35801                   relative: 0.0 1.0;
35802                   offset: -1 1;
35803                }
35804             }
35805          }
35806
35807          part { name: "elm.external.toolbar";
35808             type: EXTERNAL;
35809             source: "elm/toolbar";
35810             description { state: "default" 0.0;
35811                fixed: 0 1;
35812                align: 0.5 0.0;
35813                rel2 {
35814                   relative: 1.0 0.0;
35815                   offset: -1 47;
35816                }
35817             }
35818          }
35819          part { name: "title_clipper";
35820             type: RECT;
35821             description { state: "default" 0.0;
35822                visible: 1;
35823                rel1 {
35824                   to_y: "back";
35825                }
35826                rel2 {
35827                   to_y: "back";
35828                }
35829             }
35830             description { state: "hidden" 0.0;
35831                inherit: "default" 0.0;
35832                visible: 0;
35833                rel2 {
35834                   relative: 1.0 0.0;
35835                }
35836             }
35837          }
35838          part { name: "back";
35839             type: EXTERNAL;
35840             source: "elm/button";
35841             clip_to: "back_clipper";
35842             description { state: "default" 0.0;
35843                align: 0.0 0.0;
35844                fixed: 1 1;
35845                rel1 { to_y: "elm.external.toolbar";
35846                   relative: 0.0 1.0;
35847                   offset: 0 1;
35848                }
35849                rel2 { to_y: "elm.external.toolbar";
35850                   relative: 0.0 1.0;
35851                   offset: 50 32;
35852                }
35853                params.string: "label" "Back";
35854             }
35855          }
35856          part { name: "back_clipper";
35857             type: RECT;
35858             clip_to: "title_clipper";
35859             description { state: "default" 0.0;
35860                visible: 1;
35861             }
35862             description { state: "hidden" 0.0;
35863                visible: 0;
35864             }
35865          }
35866          part { name: "next";
35867             type: EXTERNAL;
35868             source: "elm/button";
35869             clip_to: "next_clipper";
35870             description { state: "default" 0.0;
35871                align: 1.0 0.0;
35872                fixed: 1 1;
35873                rel1 { to_y: "elm.external.toolbar";
35874                   relative: 1.0 1.0;
35875                   offset: -2 1;
35876                }
35877                rel2 { to_y: "elm.external.toolbar";
35878                   relative: 1.0 1.0;
35879                   offset: -1 32;
35880                }
35881                params.string: "label" "Next";
35882            }
35883          }
35884          part { name: "next_clipper";
35885             type: RECT;
35886             clip_to: "title_clipper";
35887             description { state: "default" 0.0;
35888                visible: 1;
35889             }
35890             description { state: "hidden" 0.0;
35891                visible: 0;
35892             }
35893          }
35894          programs {
35895             program {
35896                signal: "clicked";
35897                source: "back";
35898                action: SIGNAL_EMIT "elm,action,back" "";
35899             }
35900             program {
35901                signal: "elm,title,hide";
35902                source: "elm";
35903                action: STATE_SET "hidden" 0.0;
35904                transition: LINEAR 0.1;
35905                target: "title_clipper";
35906             }
35907             program {
35908                signal: "elm,title,show";
35909                source: "elm";
35910                action: STATE_SET "default" 0.0;
35911                target: "title_clipper";
35912             }
35913             program {
35914                signal: "elm,back,hide";
35915                source: "elm";
35916                action: STATE_SET "hidden" 0.0;
35917                target: "back_clipper";
35918             }
35919             program {
35920                signal: "elm,back,show";
35921                source: "elm";
35922                action: STATE_SET "default" 0.0;
35923                target: "back_clipper";
35924             }
35925             program {
35926                signal: "clicked";
35927                source: "next";
35928                action: SIGNAL_EMIT "elm,action,next" "";
35929             }
35930             program {
35931                signal: "elm,next,hide";
35932                source: "elm";
35933                action: STATE_SET "hidden" 0.0;
35934                target: "next_clipper";
35935             }
35936             program {
35937                signal: "elm,next,show";
35938                source: "elm";
35939                action: STATE_SET "default" 0.0;
35940                target: "next_clipper";
35941             }
35942          }
35943          part { name: "elm.text.title";
35944             type: TEXT;
35945             effect: SOFT_SHADOW;
35946             scale: 1;
35947             clip_to: "title_clipper";
35948             description { state: "default" 0.0;
35949                rel1 { to_y: "elm.external.toolbar";
35950                   to_x: "back";
35951                   relative: 1.0 1.0;
35952                   offset: 2 1;
35953                }
35954                rel2 { to_y: "back";
35955                   to_x: "next";
35956                   relative: 0.0 1.0;
35957                   offset: -3 -1;
35958                }
35959                text {
35960                   font: "Sans:style=Bold";
35961                   size: 12;
35962                }
35963             }
35964          }
35965       }
35966    }
35967    /* application with a main content area with a back button and title area */
35968    group { name: "elm/layout/application/content-back";
35969       parts {
35970          part { name: "elm.swallow.content";
35971             type: SWALLOW;
35972             description { state: "default" 0.0;
35973                rel1 { to_y: "title_clipper";
35974                   relative: 0.0 1.0;
35975                   offset: -1 1;
35976                }
35977             }
35978          }
35979          part { name: "title_clipper";
35980             type: RECT;
35981             description { state: "default" 0.0;
35982                visible: 1;
35983                rel1 {
35984                   to_y: "back";
35985                }
35986                rel2 {
35987                   to_y: "back";
35988                }
35989             }
35990             description { state: "hidden" 0.0;
35991                inherit: "default" 0.0;
35992                visible: 0;
35993                rel2 {
35994                   relative: 1.0 0.0;
35995                }
35996             }
35997          }
35998          part { name: "back_clipper";
35999             type: RECT;
36000             clip_to: "title_clipper";
36001             description { state: "default" 0.0;
36002                visible: 1;
36003             }
36004             description { state: "hidden" 0.0;
36005                visible: 0;
36006             }
36007          }
36008          part { name: "back";
36009             type: EXTERNAL;
36010             source: "elm/button";
36011             clip_to: "back_clipper";
36012             description { state: "default" 0.0;
36013                align: 0.0 0.0;
36014                fixed: 1 1;
36015                rel1 {
36016                   relative: 0.0 0.0;
36017                   offset: 0 1;
36018                }
36019                rel2 {
36020                   relative: 0.0 0.0;
36021                   offset: 50 32;
36022                }
36023                params.string: "label" "Back";
36024             }
36025          }
36026          programs {
36027             program {
36028                signal: "clicked";
36029                source: "back";
36030                action: SIGNAL_EMIT "elm,action,back" "";
36031             }
36032             program {
36033                signal: "elm,back,hide";
36034                source: "elm";
36035                action: STATE_SET "hidden" 0.0;
36036                target: "back_clipper";
36037             }
36038             program {
36039                signal: "elm,back,show";
36040                source: "elm";
36041                action: STATE_SET "default" 0.0;
36042                target: "back_clipper";
36043             }
36044             program {
36045                signal: "elm,title,hide";
36046                source: "elm";
36047                action: STATE_SET "hidden" 0.0;
36048                transition: LINEAR 0.1;
36049                target: "title_clipper";
36050             }
36051             program {
36052                signal: "elm,title,show";
36053                source: "elm";
36054                action: STATE_SET "default" 0.0;
36055                target: "title_clipper";
36056             }
36057          }
36058
36059          part { name: "elm.swallow.end";
36060             type: SWALLOW;
36061             description { state: "default" 0.0;
36062                align: 1.0 0.0;
36063                fixed: 1 1;
36064                rel1 {
36065                   relative: 1.0 0.0;
36066                   offset: -2 1;
36067                }
36068                rel2 {
36069                   relative: 1.0 1.0;
36070                   offset: -1 32;
36071                }
36072             }
36073          }
36074
36075          part { name: "elm.text.title";
36076             type: TEXT;
36077             effect: SOFT_SHADOW;
36078             scale: 1;
36079             description { state: "default" 0.0;
36080                rel1 {
36081                   to_x: "back";
36082                   relative: 1.0 0.0;
36083                   offset: 2 1;
36084                }
36085                rel2 { to_y: "back";
36086                   to_x: "elm.swallow.end";
36087                   relative: 0.0 1.0;
36088                   offset: -3 -1;
36089                }
36090                text {
36091                   font: "Sans:style=Bold";
36092                   size: 12;
36093                }
36094             }
36095          }
36096       }
36097    }
36098
36099    /* application with a main content area with a back and next buttons and title area */
36100    group { name: "elm/layout/application/content-back-next";
36101       parts {
36102          part { name: "elm.swallow.content";
36103             type: SWALLOW;
36104             description { state: "default" 0.0;
36105                rel1 { to_y: "title_clipper";
36106                   relative: 0.0 1.0;
36107                   offset: -1 1;
36108                }
36109             }
36110          }
36111
36112          part { name: "title_clipper";
36113             type: RECT;
36114             description { state: "default" 0.0;
36115                visible: 1;
36116                rel1 {
36117                   to_y: "back";
36118                }
36119                rel2 {
36120                   to_y: "back";
36121                }
36122             }
36123             description { state: "hidden" 0.0;
36124                inherit: "default" 0.0;
36125                visible: 0;
36126                rel2 {
36127                   relative: 1.0 0.0;
36128                }
36129             }
36130          }
36131          part { name: "back";
36132             type: EXTERNAL;
36133             source: "elm/button";
36134             clip_to: "back_clipper";
36135             description { state: "default" 0.0;
36136                align: 0.0 0.0;
36137                fixed: 1 1;
36138                rel1 {
36139                   relative: 0.0 0.0;
36140                   offset: 0 1;
36141                }
36142                rel2 {
36143                   relative: 0.0 0.0;
36144                   offset: 50 32;
36145                }
36146                params.string: "label" "Back";
36147             }
36148          }
36149          part { name: "back_clipper";
36150             type: RECT;
36151             clip_to: "title_clipper";
36152             description { state: "default" 0.0;
36153                visible: 1;
36154             }
36155             description { state: "hidden" 0.0;
36156                visible: 0;
36157             }
36158          }
36159          part { name: "next";
36160             type: EXTERNAL;
36161             source: "elm/button";
36162             clip_to: "next_clipper";
36163             description { state: "default" 0.0;
36164                align: 1.0 0.0;
36165                fixed: 1 1;
36166                rel1 {
36167                   relative: 1.0 0.0;
36168                   offset: -2 1;
36169                }
36170                rel2 {
36171                   relative: 1.0 0.0;
36172                   offset: -1 32;
36173                }
36174                params.string: "label" "Next";
36175            }
36176          }
36177          part { name: "next_clipper";
36178             type: RECT;
36179             clip_to: "title_clipper";
36180             description { state: "default" 0.0;
36181                visible: 1;
36182             }
36183             description { state: "hidden" 0.0;
36184                visible: 0;
36185             }
36186          }
36187          programs {
36188             program {
36189                signal: "clicked";
36190                source: "back";
36191                action: SIGNAL_EMIT "elm,action,back" "";
36192             }
36193             program {
36194                signal: "elm,title,hide";
36195                source: "elm";
36196                action: STATE_SET "hidden" 0.0;
36197                transition: LINEAR 0.1;
36198                target: "title_clipper";
36199             }
36200             program {
36201                signal: "elm,title,show";
36202                source: "elm";
36203                action: STATE_SET "default" 0.0;
36204                target: "title_clipper";
36205             }
36206             program {
36207                signal: "elm,back,hide";
36208                source: "elm";
36209                action: STATE_SET "hidden" 0.0;
36210                target: "back_clipper";
36211             }
36212             program {
36213                signal: "elm,back,show";
36214                source: "elm";
36215                action: STATE_SET "default" 0.0;
36216                target: "back_clipper";
36217             }
36218             program {
36219                signal: "clicked";
36220                source: "next";
36221                action: SIGNAL_EMIT "elm,action,next" "";
36222             }
36223             program {
36224                signal: "elm,next,hide";
36225                source: "elm";
36226                action: STATE_SET "hidden" 0.0;
36227                target: "next_clipper";
36228             }
36229             program {
36230                signal: "elm,next,show";
36231                source: "elm";
36232                action: STATE_SET "default" 0.0;
36233                target: "next_clipper";
36234             }
36235          }
36236          part { name: "elm.text.title";
36237             type: TEXT;
36238             effect: SOFT_SHADOW;
36239             scale: 1;
36240             clip_to: "title_clipper";
36241             description { state: "default" 0.0;
36242                rel1 {
36243                   to_x: "back";
36244                   relative: 1.0 0.0;
36245                   offset: 2 1;
36246                }
36247                rel2 { to_y: "back";
36248                   to_x: "next";
36249                   relative: 0.0 1.0;
36250                   offset: -3 -1;
36251                }
36252                text {
36253                   font: "Sans:style=Bold";
36254                   size: 12;
36255                }
36256             }
36257          }
36258       }
36259    }
36260
36261    /* application with toolbar and main content area as a vertical box */
36262    group { name: "elm/layout/application/toolbar-vbox";
36263       parts {
36264          part { name: "elm.box.content";
36265             type: BOX;
36266             description { state: "default" 0.0;
36267                rel1 { to_y: "elm.external.toolbar";
36268                   relative: 0.0 1.0;
36269                   offset: -1 1;
36270                }
36271                box.layout: "vertical";
36272             }
36273          }
36274
36275          part { name: "elm.external.toolbar";
36276             type: EXTERNAL;
36277             source: "elm/toolbar";
36278             description { state: "default" 0.0;
36279                align: 0.5 0.0;
36280                fixed: 0 1;
36281                rel2 {
36282                   relative: 1.0 0.0;
36283                   offset: -1 47;
36284                }
36285             }
36286          }
36287       }
36288    }
36289
36290    /* application with toolbar and main content area as a table */
36291    group { name: "elm/layout/application/toolbar-table";
36292       parts {
36293          part { name: "elm.table.content";
36294             type: TABLE;
36295             description { state: "default" 0.0;
36296                rel1 { to_y: "elm.external.toolbar";
36297                   relative: 0.0 1.0;
36298                   offset: -1 1;
36299                }
36300             }
36301          }
36302
36303          part { name: "elm.external.toolbar";
36304             type: EXTERNAL;
36305             source: "elm/toolbar";
36306             description { state: "default" 0.0;
36307                align: 0.5 0.0;
36308                fixed: 0 1;
36309                rel2 {
36310                   relative: 1.0 0.0;
36311                   offset: -1 47;
36312                }
36313             }
36314          }
36315       }
36316    }
36317
36318 ///////////////////////////////////////////////////////////////////////////////
36319    group { name: "elm/segment_control/base/default";
36320 #define SEGMENT_TYPE_SINGLE 1
36321 #define SEGMENT_TYPE_LEFT 2
36322 #define SEGMENT_TYPE_MIDDLE 3
36323 #define SEGMENT_TYPE_RIGHT 4
36324 #define SEGMENT_STATE_NORMAL 1
36325 #define SEGMENT_STATE_PRESSED 2
36326 #define SEGMENT_STATE_SELECTED 3
36327 #define SEGMENT_STATUS_ENABLED 0
36328 #define SEGMENT_STATUS_DISABLED 1
36329       parts {
36330          part { name: "bg";
36331             type: RECT;
36332             mouse_events: 0;
36333             scale: 1;
36334             description {
36335                state: "default" 0.0;
36336                color: 0 0 0 0;
36337                min: 100 40;
36338             }
36339          }
36340       }
36341    }
36342    group { name: "elm/segment_control/item/default";
36343       images {
36344          image: "seg_single_pressed.png" COMP;
36345          image: "seg_single_selected.png" COMP;
36346          image: "seg_single_normal.png" COMP;
36347
36348          image: "seg_left_pressed.png" COMP;
36349          image: "seg_left_selected.png" COMP;
36350          image: "seg_left_normal.png" COMP;
36351
36352          image: "seg_middle_pressed.png" COMP;
36353          image: "seg_middle_selected.png" COMP;
36354          image: "seg_middle_normal.png" COMP;
36355
36356          image: "seg_right_pressed.png" COMP;
36357          image: "seg_right_selected.png" COMP;
36358          image: "seg_right_normal.png" COMP;
36359       }
36360       parts {
36361          part { name: "segment";
36362             mouse_events: 1;
36363             scale: 1;
36364             description { state: "default" 0.0;
36365                min: 1 1;
36366                visible: 0;
36367                image {
36368                   normal: "seg_single_normal.png";
36369                   border: 7 7 7 7;
36370                   border_scale: 1;
36371                   middle: 1;
36372                }
36373             }
36374             description { state: "default_single" 0.0;
36375                inherit: "default" 0.0;
36376                visible: 1;
36377                image {
36378                   normal: "seg_single_normal.png";
36379                   border: 7 7 7 7;
36380                }
36381             }
36382             description { state: "default_left" 0.0;
36383                inherit: "default" 0.0;
36384                visible: 1;
36385                image {
36386                normal: "seg_left_normal.png";
36387                   border:  6 1 7 7;
36388                }
36389             }
36390             description { state: "default_right" 0.0;
36391                inherit: "default" 0.0;
36392                visible: 1;
36393                image {
36394                   normal: "seg_right_normal.png";
36395                   border: 1 6 7 7;
36396                }
36397             }
36398             description { state: "default_middle" 0.0;
36399                inherit: "default" 0.0;
36400                visible: 1;
36401                image {
36402                   normal: "seg_middle_normal.png";
36403                   border: 2 2 2 2;
36404                }
36405             }
36406             description { state: "pressed_single" 0.0;
36407                inherit: "default" 0.0;
36408                visible: 1;
36409                image {
36410                   normal: "seg_single_pressed.png";
36411                   border: 7 7 7 7;
36412                }
36413             }
36414             description { state: "pressed_left" 0.0;
36415                inherit: "default" 0.0;
36416                visible: 1;
36417                image {
36418                   normal: "seg_left_pressed.png";
36419                   border:  6 1 7 7;
36420                }
36421             }
36422             description { state: "pressed_right" 0.0;
36423                inherit: "default" 0.0;
36424                visible: 1;
36425                image {
36426                   normal: "seg_right_pressed.png";
36427                   border: 1 6 7 7;
36428                }
36429             }
36430             description { state: "pressed_middle" 0.0;
36431                inherit: "default" 0.0;
36432                visible: 1;
36433                image {
36434                   normal: "seg_middle_pressed.png";
36435                   border: 1 1 2 2;
36436                }
36437             }
36438             description { state: "selected_single" 0.0;
36439                inherit: "default" 0.0;
36440                visible: 1;
36441                image {
36442                   normal: "seg_single_selected.png";
36443                   border: 7 7 7 7;
36444                }
36445             }
36446             description { state: "selected_left" 0.0;
36447                inherit: "default" 0.0;
36448                visible: 1;
36449                image {
36450                   normal: "seg_left_selected.png";
36451                   border:  6 3 7 7;
36452                }
36453             }
36454             description { state: "selected_right" 0.0;
36455                inherit: "default" 0.0;
36456                visible: 1;
36457                image {
36458                   normal: "seg_right_selected.png";
36459                   border: 3 6 7 7;
36460                }
36461             }
36462             description { state: "selected_middle" 0.0;
36463                inherit: "default" 0.0;
36464                visible: 1;
36465                image {
36466                   normal: "seg_middle_selected.png";
36467                   border: 3 3 3 3;
36468                }
36469             }
36470          }
36471          part { name: "padding_left";
36472             type: RECT;
36473             scale: 1;
36474             mouse_events: 0;
36475             description { state: "default" 0.0;
36476                align: 0.0 0.0;
36477                rel1.relative: 0.0 0.0;
36478                rel2.relative: 0.0 1.0;
36479                min: 2 2;
36480                max: 2 2;
36481                fixed: 1 0;
36482                color: 0 0 0 0;
36483             }
36484          }
36485          part { name: "padding_right";
36486             type: RECT;
36487             scale: 1;
36488             mouse_events: 0;
36489             description { state: "default" 0.0;
36490                align: 1.0 0.0;
36491                rel1.relative: 1.0 0.0;
36492                rel2.relative: 1.0 1.0;
36493                min: 2 2;
36494                max: 2 2;
36495                fixed: 1 0;
36496                color: 0 0 0 0;
36497             }
36498          }
36499          part { name: "padding_top";
36500             type: RECT;
36501             scale: 1;
36502             mouse_events: 0;
36503             description { state: "default" 0.0;
36504                align: 0.0 0.0;
36505                rel1.relative: 0.0 0.0;
36506                rel2.relative: 1.0 0.0;
36507                min: 2 2;
36508                max: 2 2;
36509                fixed: 0 1;
36510                color: 0 0 0 0;
36511             }
36512          }
36513          part { name: "padding_bottom";
36514             type: RECT;
36515             scale: 1;
36516             mouse_events: 0;
36517             description { state: "default" 0.0;
36518                align: 1.0 1.0;
36519                rel1.relative: 0.0 1.0;
36520                rel2.relative: 1.0 1.0;
36521                min: 2 2;
36522                max: 2 2;
36523                fixed: 0 1;
36524                color: 0 0 0 0;
36525             }
36526          }
36527          part { name: "icon.bg";
36528             type: RECT;
36529             scale: 1;
36530             mouse_events: 0;
36531             description { state: "default" 0.0;
36532                visible: 1;
36533                fixed: 1 0;
36534                rel1 {
36535                   to_x: "padding_left";
36536                   to_y: "padding_top";
36537                   relative: 1.0 1.0;
36538                }
36539                rel2 {
36540                   to: "elm.swallow.icon";
36541                   relative: 1.0 1.0;
36542                }
36543                align: 0.0 0.5;
36544                color: 0 0 0 0;
36545             }
36546          }
36547          part { name: "padding_icon_text";
36548             type: RECT;
36549             scale: 1;
36550             mouse_events: 0;
36551             description { state: "default" 0.0; //when only icon or no icon is there
36552                align: 0.0 0.0;
36553                rel1 {
36554                   to: "icon.bg";
36555                   relative: 1.0 0.0;
36556                }
36557                rel2 {
36558                   to: "icon.bg";
36559                   relative: 1.0 1.0;
36560                }
36561                fixed: 1 0;
36562                min: 0 0;
36563                color: 0 0 0 0;
36564             }
36565             description { state: "icononly" 0.0;
36566                inherit: "default" 0.0;
36567             }
36568             description { state: "visible" 0.0; //when icon is visible
36569                inherit: "default" 0.0;
36570                min: 2 0;
36571             }
36572          }
36573          part { name: "elm.swallow.icon";
36574             type: SWALLOW;
36575             scale: 1;
36576             description { state: "default" 0.0;
36577                visible: 0;
36578                align: 0.0 0.5;
36579                rel1 {
36580                   to_x: "padding_left";
36581                   to_y: "padding_top";
36582                   relative: 1.0 1.0;
36583                }
36584                rel2 {
36585                   to_y: "padding_bottom";
36586                   relative: 0.0 0.0;
36587                }
36588                fixed: 1 0;
36589                aspect: 1.0 1.0;
36590                aspect_preference: BOTH;
36591             }
36592             description { state: "visible" 0.0;
36593                inherit: "default" 0.0;
36594                visible: 1;
36595                rel2 {
36596                   to_y: "padding_bottom";
36597                   relative: 0.3 0.0;
36598                }
36599             }
36600             description { state: "icononly" 0.0;
36601                inherit: "default" 0.0;
36602                visible: 1;
36603                rel2 {
36604                   to_x: "padding_right";
36605                   to_y: "padding_bottom";
36606                   relative: 0.0 0.0;
36607                }
36608                align: 0.5 0.5;
36609             }
36610          }
36611          part { name: "elm.text";
36612             type: TEXT;
36613             mouse_events: 0;
36614             scale: 1;
36615             description {
36616                state: "default" 0.0;
36617                visible: 0;
36618                fixed: 1 1;
36619                min: 1 1;
36620                rel1 {
36621                   to_x: "padding_icon_text";
36622                   relative: 1.0 1.0;
36623                }
36624                rel2 {
36625                   to_x: "padding_right";
36626                   relative: 0.0 0.0;
36627                }
36628                color: 224 224 224 255;
36629                color3: 0 0 0 64;
36630                text {
36631                   font: "Sans";
36632                   ellipsis: 0.0;
36633                   fit: 1 1;
36634                   size: 24;
36635                   size_range: 8 36;
36636                   min: 0 1;
36637                }
36638             }
36639             description { state: "normal" 0.0;
36640                inherit: "default" 0.0;
36641                visible: 1;
36642             }
36643             description { state: "pressed" 0.0;
36644                inherit: "default" 0.0;
36645                visible: 1;
36646                color: 0 0 0 255;
36647             }
36648             description { state: "selected" 0.0;
36649                inherit: "default" 0.0;
36650                visible: 1;
36651                color: 50 50 50 255;
36652             }
36653             description { state: "disabled" 0.0;
36654                inherit: "default" 0.0;
36655                visible: 1;
36656                color: 200 200 200 255;
36657             }
36658          }
36659          part { name: "disabler";
36660             repeat_events: 0;
36661             scale: 1;
36662             description { state: "default" 0.0;
36663                visible: 0;
36664                fixed: 1 1;
36665                min: 1 1;
36666                align: 0.0 0.5;
36667                rel1 { relative: 0.0 0.0; to: "segment";}
36668                rel2 { relative: 1.0 1.0; to: "segment";}
36669                color: 255 255 255 150;
36670             }
36671             description { state: "disabled_single" 0.0;
36672                inherit: "default" 0.0;
36673                visible: 1;
36674                image {
36675                   normal: "seg_single_normal.png";
36676                   border: 7 7 7 7;
36677                }
36678             }
36679             description { state: "disabled_left" 0.0;
36680                inherit: "default" 0.0;
36681                visible: 1;
36682                image {
36683                   normal: "seg_left_normal.png";
36684                   border:  6 1 7 7;
36685                }
36686             }
36687             description { state: "disabled_right" 0.0;
36688                inherit: "default" 0.0;
36689                visible: 1;
36690                image {
36691                   normal: "seg_right_normal.png";
36692                   border: 1 6 7 7;
36693                }
36694             }
36695             description { state: "disabled_middle" 0.0;
36696                inherit: "default" 0.0;
36697                visible: 1;
36698                image {
36699                   normal: "seg_middle_normal.png";
36700                   border: 2 2 2 2;
36701                }
36702             }
36703          }
36704       }
36705       programs {
36706          script {
36707             public seg_type; // Single, Left, Middle, Right.
36708             public seg_state; // Normal/Default, Pressed, Selected.
36709             public seg_status;// Enabled/Default, Disabled
36710
36711             public update_state() {
36712                new type, state, disabled;
36713                type = get_int(seg_type);
36714                state = get_int(seg_state);
36715                disabled = get_int(seg_status);
36716
36717                if(state == SEGMENT_STATE_NORMAL)
36718                  {
36719                     if(type == SEGMENT_TYPE_SINGLE)
36720                       set_state(PART:"segment", "default_single", 0.0);
36721                     else if(type == SEGMENT_TYPE_LEFT)
36722                       set_state(PART:"segment", "default_left", 0.0);
36723                     else if(type == SEGMENT_TYPE_MIDDLE)
36724                       set_state(PART:"segment", "default_middle", 0.0);
36725                     else if(type == SEGMENT_TYPE_RIGHT)
36726                       set_state(PART:"segment", "default_right", 0.0);
36727                     set_state(PART:"elm.text", "normal", 0.0);
36728                  }
36729                else if(state == SEGMENT_STATE_PRESSED)
36730                  {
36731                     if(type == SEGMENT_TYPE_SINGLE)
36732                       set_state(PART:"segment", "pressed_single", 0.0);
36733                     else if(type == SEGMENT_TYPE_LEFT)
36734                       set_state(PART:"segment", "pressed_left", 0.0);
36735                     else if(type == SEGMENT_TYPE_MIDDLE)
36736                       set_state(PART:"segment", "pressed_middle", 0.0);
36737                     else if(type == SEGMENT_TYPE_RIGHT)
36738                       set_state(PART:"segment", "pressed_right", 0.0);
36739                     set_state(PART:"elm.text", "pressed", 0.0);
36740                  }
36741                else if(state == SEGMENT_STATE_SELECTED)
36742                  {
36743                     if(type == SEGMENT_TYPE_SINGLE)
36744                       set_state(PART:"segment", "selected_single", 0.0);
36745                     else if(type == SEGMENT_TYPE_LEFT)
36746                       set_state(PART:"segment", "selected_left", 0.0);
36747                     else if(type == SEGMENT_TYPE_MIDDLE)
36748                       set_state(PART:"segment", "selected_middle", 0.0);
36749                     else if(type == SEGMENT_TYPE_RIGHT)
36750                       set_state(PART:"segment", "selected_right", 0.0);
36751                     set_state(PART:"elm.text", "selected", 0.0);
36752                  }
36753                if(disabled == SEGMENT_STATUS_DISABLED)
36754                  {
36755                     if(type == SEGMENT_TYPE_SINGLE)
36756                       set_state(PART:"disabler", "disabled_single", 0.0);
36757                     else if(type == SEGMENT_TYPE_LEFT)
36758                       set_state(PART:"disabler", "disabled_left", 0.0);
36759                     else if(type == SEGMENT_TYPE_MIDDLE)
36760                       set_state(PART:"disabler", "disabled_middle", 0.0);
36761                     else if(type == SEGMENT_TYPE_RIGHT)
36762                       set_state(PART:"disabler", "disabled_right", 0.0);
36763                     set_state(PART:"elm.text", "disabled", 0.0);
36764                  }
36765             }
36766          }
36767          program {
36768             name: "segment_type_s";
36769             signal: "elm,type,segment,single";
36770             source: "elm";
36771             script {
36772                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36773                update_state();
36774             }
36775          }
36776          program {
36777             name: "segment_type_l";
36778             signal: "elm,type,segment,left";
36779             source: "elm";
36780             script {
36781                set_int(seg_type, SEGMENT_TYPE_LEFT);
36782                update_state();
36783             }
36784          }
36785          program {
36786             name: "segment_type_m";
36787             signal: "elm,type,segment,middle";
36788             source: "elm";
36789             script {
36790                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36791                update_state();
36792             }
36793          }
36794          program {
36795             name: "segment_type_r";
36796             signal: "elm,type,segment,right";
36797             source: "elm";
36798             script {
36799                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36800                update_state();
36801             }
36802          }
36803          program {
36804             name: "normal_segment";
36805             signal: "elm,state,segment,normal";
36806             source: "elm";
36807             script {
36808                set_int(seg_state, SEGMENT_STATE_NORMAL);
36809                update_state();
36810             }
36811          }
36812          program {
36813             name: "pressed_segment";
36814             signal: "elm,state,segment,pressed";
36815             source: "elm";
36816             script {
36817                set_int(seg_state, SEGMENT_STATE_PRESSED);
36818                update_state();
36819             }
36820          }
36821          program {
36822             name: "selected_segment";
36823             signal: "elm,state,segment,selected";
36824             source: "elm";
36825             script {
36826                set_int(seg_state, SEGMENT_STATE_SELECTED);
36827                update_state();
36828             }
36829          }
36830          program { name: "disable_segment";
36831             signal: "elm,state,disabled";
36832             source: "elm";
36833             script {
36834                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36835                update_state();
36836             }
36837          }
36838          program { name: "enable_segment";
36839             signal: "elm,state,enabled";
36840             source: "elm";
36841             script {
36842                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36843                update_state();
36844             }
36845          }
36846          program { name: "text_show";
36847             signal: "elm,state,text,visible";
36848             source: "elm";
36849             script {
36850                new st[31];
36851                new Float:vl;
36852                get_state(PART:"elm.swallow.icon", st, 30, vl);
36853                if (!strcmp(st, "icononly"))
36854                  {
36855                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36856                     set_state(PART:"padding_icon_text", "visible", 0.0);
36857                  }
36858                get_state(PART:"elm.text", st, 30, vl);
36859                if (!strcmp(st, "selected"))
36860                   set_state(PART:"elm.text", "selected", 0.0);
36861                else
36862                   set_state(PART:"elm.text", "normal", 0.0);
36863             }
36864          }
36865          program { name: "text_hide";
36866             signal: "elm,state,text,hidden";
36867             source: "elm";
36868             script {
36869                new st[31];
36870                new Float:vl;
36871                get_state(PART:"elm.swallow.icon", st, 30, vl);
36872                if (!strcmp(st, "visible"))
36873                  {
36874                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36875                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36876                  }
36877                set_state(PART:"elm.text", "default", 0.0);
36878             }
36879          }
36880          program { name: "icon_show";
36881             signal: "elm,state,icon,visible";
36882             source: "elm";
36883             script {
36884                new st[31];
36885                new Float:vl;
36886                get_state(PART:"elm.text", st, 30, vl);
36887                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36888                  {
36889                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36890                     set_state(PART:"padding_icon_text", "visible", 0.0);
36891                  }
36892                else
36893                  {
36894                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36895                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36896                  }
36897             }
36898          }
36899          program { name: "icon_hide";
36900             signal: "elm,state,icon,hidden";
36901             source: "elm";
36902             action:  STATE_SET "default" 0.0;
36903             target: "elm.swallow.icon";
36904          }
36905       }
36906 #undef SEGMENT_TYPE_SINGLE
36907 #undef SEGMENT_TYPE_LEFT
36908 #undef SEGMENT_TYPE_MIDDLE
36909 #undef SEGMENT_TYPE_RIGHT
36910 #undef SEGMENT_STATE_NORMAL
36911 #undef SEGMENT_STATE_PRESSED
36912 #undef SEGMENT_STATE_SELECTED
36913 #undef SEGMENT_STATUS_ENABLED
36914 #undef SEGMENT_STATUS_DISABLED
36915    }
36916
36917    /* a simple title layout, with a label and two icons */
36918    group { name: "elm/layout/application/titlebar";
36919       images {
36920          image: "toolbar_sel.png" COMP;
36921       }
36922       parts {
36923          part { name: "base";
36924             mouse_events: 0;
36925             scale: 1;
36926             description { state: "default" 0.0;
36927                min: 0 33;
36928                max: 99999 33;
36929                align: 0.5 0.0;
36930                rel1.offset: -1 0;
36931                rel2.offset: 1 0;
36932                image {
36933                   normal: "toolbar_sel.png";
36934                   border: 3 3 0 0;
36935                }
36936             }
36937          }
36938          part { name: "elm.swallow.content";
36939             type: SWALLOW;
36940             description { state: "default" 0.0;
36941                visible: 1;
36942                rel1 {
36943                   to: "base";
36944                   relative: 0.0 1.0;
36945                }
36946             }
36947          }
36948          part { name: "elm.swallow.icon";
36949             type: SWALLOW;
36950             scale: 1;
36951             description { state: "default" 0.0;
36952                visible: 0;
36953                fixed: 1 1;
36954                align: 0.0 0.0;
36955                rel1 {
36956                   to: "base";
36957                   relative: 0.0 0.0;
36958                   offset: 4 0;
36959                }
36960                rel2 {
36961                   to: "base";
36962                   relative: 0.0 1.0;
36963                }
36964             }
36965             description { state: "visible" 0.0;
36966                inherit: "default" 0.0;
36967                visible: 1;
36968             }
36969          }
36970          part { name: "elm.swallow.end";
36971             type: SWALLOW;
36972             scale: 1;
36973             description { state: "default" 0.0;
36974                visible: 0;
36975                fixed: 1 1;
36976                align: 1.0 0.0;
36977                rel1 {
36978                   to: "base";
36979                   relative: 1.0 0.0;
36980                   offset: 0 0;
36981                }
36982                rel2 {
36983                   to: "base";
36984                   relative: 1.0 1.0;
36985                   offset: -5 -1;
36986                }
36987             }
36988             description { state: "visible" 0.0;
36989                inherit: "default" 0.0;
36990                visible: 1;
36991             }
36992          }
36993          part { name: "elm.text";
36994             type: TEXT;
36995             effect: SOFT_SHADOW;
36996             mouse_events: 0;
36997             scale: 1;
36998             description { state: "default" 0.0;
36999                fixed: 1 1;
37000                rel1 {
37001                   to_x: "elm.swallow.icon";
37002                   to_y: "base";
37003                   relative: 1.0 0.0;
37004                }
37005                rel2 {
37006                   to_x: "elm.swallow.end";
37007                   to_y: "base";
37008                   relative: 0.0 1.0;
37009                }
37010                text {
37011                   font: "Sans";
37012                   size: 12;
37013                   min: 0 0;
37014                   align: 0.5 0.5;
37015                   text_class: "title_bar";
37016                }
37017             }
37018          }
37019       }
37020       programs {
37021          program { name: "show_icon";
37022             signal: "elm,state,icon,visible";
37023             source: "elm";
37024             action: STATE_SET "visible" 0.0;
37025             target: "elm.swallow.icon";
37026          }
37027          program { name: "hide_icon";
37028             signal: "elm,state,icon,hidden";
37029             source: "elm";
37030             action: STATE_SET "default" 0.0;
37031             target: "elm.swallow.icon";
37032          }
37033          program { name: "show_end";
37034             signal: "elm,state,end,visible";
37035             source: "elm";
37036             action: STATE_SET "visible" 0.0;
37037             target: "elm.swallow.end";
37038          }
37039          program { name: "hide_end";
37040             signal: "elm,state,end,hidden";
37041             source: "elm";
37042             action: STATE_SET "default" 0.0;
37043             target: "elm.swallow.end";
37044          }
37045       }
37046    }
37047
37048    group {
37049       name: "elm/player/base/default";
37050       min: 290 26;
37051
37052       parts {
37053          part {
37054             type: SWALLOW;
37055             name: "media_player/slider";
37056
37057             description {
37058                rel2 {
37059                   relative: 1.0 0.0;
37060                   to_x: "media_player/forward";
37061                }
37062             }
37063          }
37064          part {
37065             type: SWALLOW;
37066             name: "media_player/rewind";
37067
37068             description {
37069                rel1 {
37070                   to_y: "media_player/slider";
37071                   offset: 42 0;
37072                   relative: 0.0 1.0;
37073                }
37074                rel2 {
37075                   relative: 0.0 1.0;
37076                }
37077             }
37078          }
37079          part {
37080             type: SWALLOW;
37081             name: "media_player/prev";
37082
37083             description {
37084                rel1 {
37085                   to: "media_player/rewind";
37086                   relative: 1.0 0.0;
37087                }
37088                rel2 {
37089                   to: "media_player/rewind";
37090                   relative: 2.0 1.0;
37091                }
37092             }
37093          }
37094          part {
37095             type: SWALLOW;
37096             name: "media_player/play";
37097
37098             description {
37099                rel1 {
37100                   to: "media_player/prev";
37101                   relative: 1.0 0.0;
37102                }
37103                rel2 {
37104                   to: "media_player/prev";
37105                   relative: 2.0 1.0;
37106                }
37107             }
37108             description {
37109                state: hidden 0.0;
37110                inherit: default 0.0;
37111                visible: 0;
37112             }
37113          }
37114          part {
37115             type: SWALLOW;
37116             name: "media_player/pause";
37117
37118             description {
37119                rel1.to: "media_player/play";
37120                rel2.to: "media_player/play";
37121             }
37122             description {
37123                state: hidden 0.0;
37124                inherit: default 0.0;
37125                visible: 0;
37126             }
37127          }
37128          part {
37129             type: SWALLOW;
37130             name: "media_player/info";
37131             description {
37132                rel1 {
37133                   to: "media_player/play";
37134                   relative: 1.0 0.0;
37135                }
37136                rel2 {
37137                   to: "media_player/play";
37138                   relative: 2.0 1.0;
37139                }
37140             }
37141          }
37142
37143          part {
37144             type: SWALLOW;
37145             name: "media_player/stop";
37146             description {
37147                rel1 {
37148                   to: "media_player/info";
37149                   relative: 3.0 0.0;
37150                }
37151                rel2 {
37152                   to: "media_player/info";
37153                   relative: 4.0 1.0;
37154                }
37155             }
37156          }
37157          part {
37158             type: SWALLOW;
37159             name: "media_player/next";
37160             description {
37161                rel1 {
37162                   to: "media_player/stop";
37163                   relative: 1.0 0.0;
37164                }
37165                rel2 {
37166                   to: "media_player/stop";
37167                   relative: 2.0 1.0;
37168                }
37169             }
37170          }
37171          part {
37172             type: SWALLOW;
37173             name: "media_player/forward";
37174             description {
37175                rel1 {
37176                   to: "media_player/next";
37177                   relative: 1.0 0.0;
37178                }
37179                rel2 {
37180                   to: "media_player/next";
37181                   relative: 2.0 1.0;
37182                }
37183             }
37184          }
37185       }
37186       programs {
37187          program {
37188             signal: "show";
37189             source: "";
37190             after: "pause/0";
37191          }
37192          program {
37193             signal: "elm,player,play";
37194             source: "elm";
37195             after: "play/0";
37196          }
37197          program {
37198             signal: "elm,player,pause";
37199             source: "elm";
37200             after: "pause/0";
37201          }
37202          program {
37203             name: "play/0";
37204
37205             action: STATE_SET "hidden" 0.0;
37206             target: "media_player/play";
37207
37208             after: "play/1";
37209          }
37210          program {
37211             name: "play/1";
37212
37213             action: STATE_SET "default" 0.0;
37214             target: "media_player/pause";
37215          }
37216          program {
37217             name: "pause/0";
37218
37219             action: STATE_SET "hidden" 0.0;
37220             target: "media_player/pause";
37221
37222             after: "pause/1";
37223          }
37224          program {
37225             name: "pause/1";
37226
37227             action: STATE_SET "default" 0.0;
37228             target: "media_player/play";
37229          }
37230       }
37231    }
37232
37233    group {
37234       name: "elm/video/base/default";
37235
37236       parts {
37237          part {
37238             name: "clipper";
37239             type: RECT;
37240
37241             description {
37242                color: 255 255 255 255;
37243             }
37244             description {
37245                state: "darker" 0.0;
37246                color: 128 128 128 255;
37247             }
37248          }
37249          part {
37250             name: "elm.swallow.video";
37251             type: SWALLOW;
37252
37253             clip_to: "clipper";
37254             mouse_events: 1;
37255             repeat_events: 1;
37256
37257             description {
37258                aspect_preference: BOTH;
37259                aspect: 1 1;
37260             }
37261          }
37262       }
37263
37264       programs {
37265          program {
37266             signal: "elm,video,load";
37267             source: "elm";
37268
37269             action: STATE_SET "darker" 0.0;
37270             target: "clipper";
37271          }
37272          program {
37273             signal: "elm,video,play";
37274             source: "elm";
37275
37276             action: STATE_SET "default" 0.0;
37277             target: "clipper";
37278          }
37279          program {
37280             signal: "elm,video,end";
37281             source: "elm";
37282
37283             action: STATE_SET "darker" 0.0;
37284             target: "clipper";
37285             transition: LINEAR 0.5;
37286          }
37287          program {
37288             signal: "elm,video,pause";
37289             source: "elm";
37290
37291             action: STATE_SET "darker" 0.0;
37292             target: "clipper";
37293          }
37294       }
37295    }
37296 }