[*]Un-Rollback to 'Merge [elm_multibuttonentry]Changed edc TEXT part to TEXTBLOCK...
[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    group { name: "elm/button/base/naviframe/back_btn/default";
2974       images {
2975          image: "bt_base1.png" COMP;
2976          image: "bt_base2.png" COMP;
2977          image: "bt_hilight.png" COMP;
2978          image: "bt_shine.png" COMP;
2979          image: "bt_glow.png" COMP;
2980          image: "bt_dis_base.png" COMP;
2981          image: "bt_dis_hilight.png" COMP;
2982          image: "icon_left_arrow.png" COMP;
2983       }
2984       parts {
2985          part { name: "button_image";
2986             mouse_events: 1;
2987             description { state: "default" 0.0;
2988                min: 15 15;
2989                image {
2990                   normal: "bt_base2.png";
2991                   border: 7 7 7 7;
2992                }
2993                image.middle: SOLID;
2994             }
2995             description { state: "clicked" 0.0;
2996                inherit: "default" 0.0;
2997                image.normal: "bt_base1.png";
2998             }
2999             description { state: "disabled" 0.0;
3000                inherit:  "default" 0.0;
3001                image {
3002                   normal: "bt_dis_base.png";
3003                   border: 4 4 4 4;
3004                }
3005             }
3006          }
3007          part { name: "prev_image";
3008             type: IMAGE;
3009             scale: 1;
3010             description { state: "default" 0.0;
3011                min: 30 30;
3012                max: 30 30;
3013                fixed: 1 1;
3014                align: 0.5 0.5;
3015                image.normal: "icon_left_arrow.png";
3016             }
3017          }
3018          part { name: "over1";
3019             mouse_events: 0;
3020             description { state: "default" 0.0;
3021                rel2.relative: 1.0 0.5;
3022                image {
3023                   normal: "bt_hilight.png";
3024                   border: 7 7 7 0;
3025                }
3026             }
3027             description { state: "disabled" 0.0;
3028                inherit:  "default" 0.0;
3029                image {
3030                   normal: "bt_dis_hilight.png";
3031                   border: 4 4 4 0;
3032                }
3033             }
3034          }
3035          part { name: "over2";
3036             mouse_events: 1;
3037             repeat_events: 1;
3038             ignore_flags: ON_HOLD;
3039             description { state: "default" 0.0;
3040                image {
3041                   normal: "bt_shine.png";
3042                   border: 7 7 7 7;
3043                }
3044             }
3045             description { state: "disabled" 0.0;
3046                inherit:  "default" 0.0;
3047                visible: 0;
3048             }
3049          }
3050          part { name: "over3";
3051             mouse_events: 1;
3052             repeat_events: 1;
3053             description { state: "default" 0.0;
3054                color: 255 255 255 0;
3055                image {
3056                   normal: "bt_glow.png";
3057                   border: 12 12 12 12;
3058                }
3059                fill.smooth : 0;
3060             }
3061             description { state: "clicked" 0.0;
3062                inherit:  "default" 0.0;
3063                color: 255 255 255 255;
3064             }
3065          }
3066           part { name: "disabler";
3067             type: RECT;
3068             description { state: "default" 0.0;
3069                color: 0 0 0 0;
3070                visible: 0;
3071             }
3072             description { state: "disabled" 0.0;
3073                inherit: "default" 0.0;
3074                visible: 1;
3075             }
3076          }
3077       }
3078       programs {
3079          program {
3080             name:   "button_click";
3081             signal: "mouse,down,1";
3082             source: "over2";
3083             action: SIGNAL_EMIT "elm,action,press" "";
3084             after: "button_click_anim";
3085          }
3086          program {
3087             name:   "button_click_anim";
3088             action: STATE_SET "clicked" 0.0;
3089             target: "button_image";
3090          }
3091          program {
3092             name:   "button_unclick";
3093             signal: "mouse,up,1";
3094             source: "over3";
3095             action: SIGNAL_EMIT "elm,action,unpress" "";
3096             after: "button_unclick_anim";
3097          }
3098          program {
3099             name:   "button_pressed_anim";
3100             signal: "elm,anim,activate";
3101             source: "elm";
3102             action: STATE_SET "clicked" 0.0;
3103             target: "button_image";
3104             target: "over3";
3105             after: "button_unpressed_anim";
3106          }
3107          program {
3108             name:   "button_unpressed_anim";
3109             action: STATE_SET "default" 0.0;
3110             transition: DECELERATE 0.5;
3111             target: "button_image";
3112             target: "over3";
3113          }
3114          program {
3115             name:   "button_unclick_anim";
3116             action: STATE_SET "default" 0.0;
3117             target: "button_image";
3118          }
3119          program {
3120             name:   "button_click2";
3121             signal: "mouse,down,1";
3122             source: "over3";
3123             action: STATE_SET "clicked" 0.0;
3124             target: "over3";
3125          }
3126          program {
3127             name:   "button_unclick2";
3128             signal: "mouse,up,1";
3129             source: "over3";
3130             action: STATE_SET "default" 0.0;
3131             transition: DECELERATE 0.5;
3132             target: "over3";
3133          }
3134          program {
3135             name:   "button_unclick3";
3136             signal: "mouse,clicked,1";
3137             source: "over2";
3138             action: SIGNAL_EMIT "elm,action,click" "";
3139          }
3140          program { name: "disable";
3141             signal: "elm,state,disabled";
3142             source: "elm";
3143             action: STATE_SET "disabled" 0.0;
3144             target: "button_image";
3145             target: "over1";
3146             target: "over2";
3147             target: "disabler";
3148          }
3149          program { name: "enable";
3150             signal: "elm,state,enabled";
3151             source: "elm";
3152             action: STATE_SET "default" 0.0;
3153             target: "button_image";
3154             target: "over1";
3155             target: "over2";
3156             target: "disabler";
3157          }
3158       }
3159    }
3160
3161 ///////////////////////////////////////////////////////////////////////////////
3162    group { name: "elm/toggle/base/default";
3163       images {
3164          image: "shelf_inset.png" COMP;
3165          image: "bt_basew.png" COMP;
3166          image: "bt_bases.png" COMP;
3167          image: "bt_hilightw.png" COMP;
3168          image: "tog_base_on.png" COMP;
3169          image: "tog_base_off.png" COMP;
3170          image: "tog_dis_base_on.png" COMP;
3171          image: "tog_dis_base_off.png" COMP;
3172       }
3173       script {
3174          public is_rtl;
3175       }
3176       parts {
3177          part { name: "bg";
3178             type: RECT;
3179             mouse_events: 0;
3180             scale: 1;
3181             description { state: "default" 0.0;
3182                rel1.relative: 1.0 0.0;
3183                rel1.offset: -4 3;
3184                rel2.offset: -4 -4;
3185                align: 1.0 0.5;
3186                min: 96 16;
3187                max: 96 16;
3188                aspect: 4.0 4.0;
3189                aspect_preference: VERTICAL;
3190                color: 255 255 255 255;
3191             }
3192          }
3193          part { name: "clipper";
3194             type: RECT;
3195             mouse_events: 0;
3196             description { state: "default" 0.0;
3197                rel1.to: "bg";
3198                rel2.to: "bg";
3199                color: 255 255 255 255;
3200             }
3201          }
3202          part { name: "button";
3203             type: RECT;
3204             scale: 1;
3205             clip_to: "clipper";
3206             mouse_events: 1;
3207              dragable {
3208                x: 1 1 0;
3209                y: 0 0 0;
3210                confine: "bg";
3211             }
3212             description { state: "default" 0.0;
3213                fixed: 1 1;
3214                rel1.to: "bg";
3215                rel2.to: "bg";
3216                min: 16 16;
3217                max: 16 16;
3218                aspect: 1.0 1.0;
3219                aspect_preference: VERTICAL;
3220                color: 0 0 0 0;
3221             }
3222          }
3223          part { name: "button_events";
3224             type: RECT;
3225              dragable {
3226                events: "button";
3227             }
3228             description { state: "default" 0.0;
3229                rel1.to_x: "bg";
3230                rel1.offset: 0 0;
3231                rel1.relative: 0.0 0.0;
3232                rel2.to_x: "bg";
3233                rel2.offset: -1 -1;
3234                rel2.relative: 1.0 1.0;
3235                color: 0 0 0 0;
3236             }
3237          }
3238          part { name: "onrect";
3239             type: IMAGE;
3240             scale: 1;
3241             clip_to: "clipper";
3242             mouse_events: 0;
3243             description { state: "default" 0.0;
3244                rel1.to: "button";
3245                rel1.relative: -5.0 0.0;
3246                rel2.to: "button";
3247                rel2.relative: 0.5 1.0;
3248                image.normal: "tog_base_on.png";
3249             }
3250             description { state: "disabled" 0.0;
3251                inherit: "default" 0.0;
3252                image.normal: "tog_dis_base_on.png";
3253             }
3254          }
3255          part { name: "offrect";
3256             type: IMAGE;
3257             scale: 1;
3258             clip_to: "clipper";
3259             mouse_events: 0;
3260             description { state: "default" 0.0;
3261                rel1.to: "button";
3262                rel1.relative: 0.5 0.0;
3263                rel2.to: "button";
3264                rel2.relative: 6.0 1.0;
3265                image.normal: "tog_base_off.png";
3266             }
3267             description { state: "disabled" 0.0;
3268                inherit: "default" 0.0;
3269                image.normal: "tog_dis_base_off.png";
3270             }
3271          }
3272          part { name: "elm.offtext";
3273             type: TEXT;
3274             mouse_events:  0;
3275             scale: 1;
3276             clip_to: "clipper";
3277             description { state: "default" 0.0;
3278                fixed: 1 1;
3279                rel1.to_x: "button";
3280                rel1.relative: 1.0 0.0;
3281                rel2.to_x: "offrect";
3282                color: 0 0 0 255;
3283                text {
3284                   font:     "Sans,Edje-Vera";
3285                   size:     10;
3286                   min:      0 1;
3287                   align:    0.5 0.5;
3288                   text:     "OFF";
3289                }
3290             }
3291             description { state: "disabled" 0.0;
3292                inherit: "default" 0.0;
3293                color: 128 128 128 128;
3294             }
3295          }
3296          part { name: "elm.ontext";
3297             type: TEXT;
3298             effect: SOFT_SHADOW;
3299             mouse_events:  0;
3300             scale: 1;
3301             clip_to: "clipper";
3302             description { state: "default" 0.0;
3303                fixed: 1 1;
3304                rel1.to_x: "onrect";
3305                rel1.offset: 1 1;
3306                rel2.to_x: "button";
3307                rel2.offset: 0 0;
3308                rel2.relative: 0.0 1.0;
3309                color: 224 224 224 255;
3310                color3: 0 0 0 64;
3311                text {
3312                   font:     "Sans,Edje-Vera";
3313                   size:     10;
3314                   min:      0 1;
3315                   align:    0.5 0.5;
3316                   text:     "ON";
3317                }
3318             }
3319             description { state: "disabled" 0.0;
3320                inherit: "default" 0.0;
3321                color: 128 128 128 128;
3322                color3: 0 0 0 24;
3323             }
3324          }
3325          part { name: "conf_over";
3326             mouse_events:  0;
3327             description { state: "default" 0.0;
3328                rel1.offset: -1 -1;
3329                rel1.to: "bg";
3330                rel2.offset: 0 0;
3331                rel2.to: "bg";
3332                image {
3333                   normal: "shelf_inset.png";
3334                   border: 7 7 7 7;
3335                   middle: 0;
3336                }
3337                fill.smooth : 0;
3338             }
3339          }
3340          part { name: "button0";
3341             mouse_events:  0;
3342             clip_to: "clipper";
3343             description { state: "default" 0.0;
3344                rel1.to: "button2";
3345                rel1.offset: -4 -4;
3346                rel2.to: "button2";
3347                rel2.offset: 3 3;
3348                image {
3349                   normal: "bt_bases.png";
3350                   border: 11 11 11 11;
3351                }
3352                image.middle: SOLID;
3353                color: 255 255 255 128;
3354             }
3355          }
3356          part { name: "button2";
3357             mouse_events:  0;
3358             clip_to: "clipper";
3359             description { state: "default" 0.0;
3360                rel1.to: "button";
3361                rel1.offset: -2 -2;
3362                rel2.to: "button";
3363                rel2.offset: 1 1;
3364                image {
3365                   normal: "bt_basew.png";
3366                   border: 7 7 7 7;
3367                }
3368                image.middle: SOLID;
3369             }
3370          }
3371          part { name: "button3";
3372             mouse_events:  0;
3373             clip_to: "clipper";
3374             description { state: "default" 0.0;
3375                rel1.to: "button2";
3376                rel2.to: "button2";
3377                rel2.relative: 1.0 0.5;
3378                image {
3379                   normal: "bt_hilightw.png";
3380                   border: 4 4 4 0;
3381                }
3382             }
3383          }
3384          part { name: "elm.swallow.content";
3385             type: SWALLOW;
3386             description { state: "default" 0.0;
3387                fixed: 1 0;
3388                visible: 0;
3389                align: 0.0 0.5;
3390                rel1.offset: 4 4;
3391                rel2.relative: 0.0 1.0;
3392                rel2.offset: 3 -5;
3393             }
3394             description { state: "visible" 0.0;
3395                inherit: "default" 0.0;
3396                visible: 1;
3397                aspect: 1.0 1.0;
3398                rel2.offset: 4 -5;
3399             }
3400             description { state: "disabled" 0.0;
3401                inherit: "default" 0.0;
3402                color: 128 128 128 128;
3403             }
3404             description { state: "disabled_visible" 0.0;
3405                inherit: "default" 0.0;
3406                color: 128 128 128 128;
3407                visible: 1;
3408                aspect: 1.0 1.0;
3409             }
3410          }
3411          part { name: "elm.text";
3412             type: TEXT;
3413             mouse_events: 0;
3414             scale: 1;
3415             description { state: "default" 0.0;
3416                visible: 0;
3417                rel1.to_x: "elm.swallow.content";
3418                rel1.relative: 1.0 0.0;
3419                rel1.offset: 0 4;
3420                rel2.to_x: "bg";
3421                rel2.relative: 0.0 1.0;
3422                rel2.offset: -5 -5;
3423                color: 0 0 0 255;
3424                text {
3425                   font: "Sans,Edje-Vera";
3426                   size: 10;
3427                   min: 0 0;
3428                   align: 0.0 0.5;
3429                }
3430             }
3431             description { state: "visible" 0.0;
3432                inherit: "default" 0.0;
3433                visible: 1;
3434                text.min: 1 1;
3435             }
3436             description { state: "disabled" 0.0;
3437                inherit: "default" 0.0;
3438                color: 128 128 128 128;
3439             }
3440             description { state: "disabled_visible" 0.0;
3441                inherit: "default" 0.0;
3442                color: 128 128 128 128;
3443                visible: 1;
3444                text.min: 1 1;
3445             }
3446          }
3447           part { name: "disabler";
3448             type: RECT;
3449             description { state: "default" 0.0;
3450                color: 0 0 0 0;
3451                visible: 0;
3452             }
3453             description { state: "disabled" 0.0;
3454                inherit: "default" 0.0;
3455                visible: 1;
3456             }
3457          }
3458       }
3459       programs {
3460          program { name:   "drag_end";
3461             signal: "mouse,up,1";
3462             source: "button";
3463             script {
3464                new Float:dx, Float:dy;
3465                get_drag(PART:"button", dx, dy);
3466                if (dx > 0.5)
3467                  {
3468                     set_drag(PART:"button", 1.0, 0.0);
3469                  }
3470                else
3471                  {
3472                     set_drag(PART:"button", 0.0, 0.0);
3473                  }
3474                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3475                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3476                   emit("elm,action,toggle,on", "");
3477                }
3478                else {
3479                   emit("elm,action,toggle,off", "");
3480                }
3481             }
3482          }
3483          program { name: "toggle_on";
3484             signal: "elm,state,toggle,on";
3485             source: "elm";
3486             script {
3487                new Float:drag;
3488                if (get_int(is_rtl) == 0) {
3489                   drag = 100.0;
3490                }
3491                else {
3492                   drag = 0.0;
3493                }
3494                set_drag(PART:"button", drag, 0.0);
3495             }
3496          }
3497          program { name: "toggle_off";
3498             signal: "elm,state,toggle,off";
3499             source: "elm";
3500             script {
3501                new Float:drag;
3502                if (get_int(is_rtl) == 0) {
3503                   drag = 0.0;
3504                }
3505                else {
3506                   drag = 100.0;
3507                }
3508                set_drag(PART:"button", drag, 0.0);
3509             }
3510          }
3511          program { name: "text_show";
3512             signal: "elm,state,text,visible";
3513             source: "elm";
3514             action:  STATE_SET "visible" 0.0;
3515             target: "elm.text";
3516          }
3517          program { name: "text_hide";
3518             signal: "elm,state,text,hidden";
3519             source: "elm";
3520             action:  STATE_SET "default" 0.0;
3521             target: "elm.text";
3522          }
3523          program { name: "icon_show";
3524             signal: "elm,state,icon,visible";
3525             source: "elm";
3526             action:  STATE_SET "visible" 0.0;
3527             target: "elm.swallow.content";
3528          }
3529          program { name: "icon_hide";
3530             signal: "elm,state,icon,hidden";
3531             source: "elm";
3532             action:  STATE_SET "default" 0.0;
3533             target: "elm.swallow.content";
3534          }
3535          program { name: "disable";
3536             signal: "elm,state,disabled";
3537             source: "elm";
3538             action: STATE_SET "disabled" 0.0;
3539             target: "elm.offtext";
3540             target: "elm.ontext";
3541             target: "onrect";
3542             target: "offrect";
3543             target: "disabler";
3544             after: "disable_text";
3545          }
3546          program { name: "disable_text";
3547             script {
3548                new st[31];
3549                new Float:vl;
3550                get_state(PART:"elm.text", st, 30, vl);
3551                if (!strcmp(st, "visible"))
3552                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3553                else
3554                  set_state(PART:"elm.text", "disabled", 0.0);
3555
3556                get_state(PART:"elm.swallow.content", st, 30, vl);
3557                if (!strcmp(st, "visible"))
3558                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3559                else
3560                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3561             }
3562          }
3563          program { name: "enable";
3564             signal: "elm,state,enabled";
3565             source: "elm";
3566             action: STATE_SET "default" 0.0;
3567             target: "disabler";
3568             target: "onrect";
3569             target: "offrect";
3570             after: "enable_text";
3571          }
3572          program { name: "enable_text";
3573             script {
3574                new st[31];
3575                new Float:vl;
3576                get_state(PART:"elm.text", st, 30, vl);
3577                if (!strcmp(st, "disabled_visible"))
3578                  set_state(PART:"elm.text", "visible", 0.0);
3579                else
3580                  set_state(PART:"elm.text", "default", 0.0);
3581
3582                get_state(PART:"elm.swallow.content", st, 30, vl);
3583                if (!strcmp(st, "visible"))
3584                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3585                else
3586                  set_state(PART:"elm.swallow.content", "default", 0.0);
3587             }
3588          }
3589          program { name: "to_rtl";
3590             signal: "edje,state,rtl";
3591             source: "edje";
3592             script {
3593                set_int(is_rtl, 1);
3594             }
3595          }
3596          program { name: "to_ltr";
3597             signal: "edje,state,ltr";
3598             source: "edje";
3599             script {
3600                set_int(is_rtl, 0);
3601             }
3602          }
3603       }
3604    }
3605
3606 ///////////////////////////////////////////////////////////////////////////////
3607    group { name: "elm/clock/flipdigit/default";
3608       images {
3609          image: "flip_base.png" COMP;
3610          image: "flip_base_shad.png" COMP;
3611          image: "flip_shad.png" COMP;
3612          image: "flip_0t.png" COMP;
3613          image: "flip_0b.png" COMP;
3614          image: "flip_1t.png" COMP;
3615          image: "flip_1b.png" COMP;
3616          image: "flip_2t.png" COMP;
3617          image: "flip_2b.png" COMP;
3618          image: "flip_3t.png" COMP;
3619          image: "flip_3b.png" COMP;
3620          image: "flip_4t.png" COMP;
3621          image: "flip_4b.png" COMP;
3622          image: "flip_5t.png" COMP;
3623          image: "flip_5b.png" COMP;
3624          image: "flip_6t.png" COMP;
3625          image: "flip_6b.png" COMP;
3626          image: "flip_7t.png" COMP;
3627          image: "flip_7b.png" COMP;
3628          image: "flip_8t.png" COMP;
3629          image: "flip_8b.png" COMP;
3630          image: "flip_9t.png" COMP;
3631          image: "flip_9b.png" COMP;
3632          image: "arrow_up.png" COMP;
3633          image: "arrow_down.png" COMP;
3634       }
3635       script {
3636          public v0_cur, v0_pre, v0_lock, v0_next;
3637
3638        public animator2(val, Float:pos) {
3639           new st1[11], st2[11], v;
3640
3641           v = get_int(v0_cur);
3642           snprintf(st1, 10, "%ih", v);
3643           snprintf(st2, 10, "%i", v);
3644           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3645           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3646           if (pos >= 1.0) {
3647              set_state(PART:"sh", "default", 0.0);
3648              set_int(v0_lock, 0);
3649              v = get_int(v0_next);
3650              if (v >= 0) {
3651                 set_int(v0_next, -1);
3652                 message(MSG_INT, 1, v);
3653              }
3654           }
3655        }
3656        public animator1(val, Float:pos) {
3657           new st1[11], st2[11], v;
3658
3659           v = get_int(v0_pre);
3660           snprintf(st1, 10, "%i", v);
3661           snprintf(st2, 10, "%ih", v);
3662           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3663           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3664           if (pos >= 1.0) anim(0.2, "animator2", val);
3665        }
3666        public message(Msg_Type:type, id, ...) {
3667           if ((type == MSG_INT) && (id == 1)) {
3668              new value, v, buf[11];
3669
3670              value = getarg(2);
3671              if (get_int(v0_lock) == 1) {
3672                 set_int(v0_next, value);
3673                 return;
3674              }
3675              v = get_int(v0_cur);
3676              set_int(v0_pre, v);
3677              set_int(v0_cur, value);
3678              set_int(v0_lock, 1);
3679              snprintf(buf, 10, "%i", get_int(v0_pre));
3680              set_state(PART:"bot0", buf, 0.0);
3681              snprintf(buf, 10, "%ih", get_int(v0_cur));
3682              set_state(PART:"bot", buf, 0.0);
3683              snprintf(buf, 10, "%i", get_int(v0_cur));
3684              set_state(PART:"top0", buf, 0.0);
3685              snprintf(buf, 10, "%i", get_int(v0_pre));
3686              set_state(PART:"top", buf, 0.0);
3687              set_state(PART:"sh", "default", 0.0);
3688              anim(0.2, "animator1", 1);
3689           }
3690        }
3691       }
3692       parts {
3693          part { name: "shad";
3694             mouse_events: 0;
3695             description { state: "default" 0.0;
3696                rel1.offset: -4 -4;
3697                rel1.to: "base";
3698                rel2.offset: 3 3;
3699                rel2.to: "base";
3700                image {
3701                   normal: "flip_base_shad.png";
3702                   border: 8 8 8 8;
3703                }
3704             }
3705          }
3706          part { name: "base";
3707             scale: 1;
3708             description { state: "default" 0.0;
3709                rel1.offset: 4 4;
3710                rel2.offset: -5 -5;
3711                // FIXME 48x96 should be the native pixel design, right now
3712                // its 80x160. fix int he artwork later
3713                min: 24 48;
3714                aspect: 0.5 0.5;
3715 //               max: 24 48;
3716                image.normal: "flip_base.png";
3717             }
3718          }
3719          part { name: "b";
3720             type: RECT;
3721             mouse_events: 1;
3722             description { state: "default" 0.0;
3723                visible: 0;
3724                rel1.to: "base";
3725                rel1.relative: 0.0 0.5;
3726                rel2.to: "base";
3727                color: 0 0 0 0;
3728             }
3729             description { state: "visible" 0.0;
3730                inherit: "default" 0.0;
3731                visible: 1;
3732             }
3733          }
3734          part { name: "t";
3735             type: RECT;
3736             mouse_events: 1;
3737             description { state: "default" 0.0;
3738                visible: 0;
3739                rel1.to: "base";
3740                rel2.to: "base";
3741                rel2.relative: 1.0 0.5;
3742                color: 0 0 0 0;
3743             }
3744             description { state: "visible" 0.0;
3745                inherit: "default" 0.0;
3746                visible: 1;
3747             }
3748          }
3749          part { name: "bot0";
3750             mouse_events: 0;
3751             description { state: "default" 0.0;
3752                rel1.to: "b";
3753                rel2.to: "b";
3754                image.normal: "flip_0b.png";
3755             }
3756             description { state: "0" 0.0;
3757                inherit: "default" 0.0;
3758                image.normal: "flip_0b.png";
3759             }
3760             description { state: "1" 0.0;
3761                inherit: "default" 0.0;
3762                image.normal: "flip_1b.png";
3763             }
3764             description { state: "2" 0.0;
3765                inherit: "default" 0.0;
3766                image.normal: "flip_2b.png";
3767             }
3768             description { state: "3" 0.0;
3769                inherit: "default" 0.0;
3770                image.normal: "flip_3b.png";
3771             }
3772             description { state: "4" 0.0;
3773                inherit: "default" 0.0;
3774                image.normal: "flip_4b.png";
3775             }
3776             description { state: "5" 0.0;
3777                inherit: "default" 0.0;
3778                image.normal: "flip_5b.png";
3779             }
3780             description { state: "6" 0.0;
3781                inherit: "default" 0.0;
3782                image.normal: "flip_6b.png";
3783             }
3784             description { state: "7" 0.0;
3785                inherit: "default" 0.0;
3786                image.normal: "flip_7b.png";
3787             }
3788             description { state: "8" 0.0;
3789                inherit: "default" 0.0;
3790                image.normal: "flip_8b.png";
3791             }
3792             description { state: "9" 0.0;
3793                inherit: "default" 0.0;
3794                image.normal: "flip_9b.png";
3795             }
3796          }
3797          part { name: "sh";
3798             mouse_events: 0;
3799             description { state: "default" 0.0;
3800                rel1.to: "b";
3801                rel2.to: "b";
3802                rel2.relative: 1.0 0.0;
3803                image.normal: "flip_shad.png";
3804             }
3805             description { state: "half" 0.0;
3806                inherit: "default" 0.0;
3807                rel2.relative: 1.0 0.5;
3808             }
3809             description { state: "full" 0.0;
3810                inherit: "default" 0.0;
3811                rel2.relative: 1.0 1.0;
3812             }
3813          }
3814          part { name: "bot";
3815             mouse_events: 0;
3816             description { state: "default" 0.0;
3817                visible: 1;
3818                rel1.to: "b";
3819                rel2.to: "b";
3820                image.normal: "flip_0b.png";
3821             }
3822             description { state: "0" 0.0;
3823                inherit: "default" 0.0;
3824                visible: 1;
3825                rel2.relative: 1.0 1.0;
3826                image.normal: "flip_0b.png";
3827             }
3828             description { state: "0h" 0.0;
3829                inherit: "default" 0.0;
3830                visible: 0;
3831                rel2.relative: 1.0 0.0;
3832                image.normal: "flip_0b.png";
3833             }
3834             description { state: "1" 0.0;
3835                inherit: "default" 0.0;
3836                visible: 1;
3837                rel2.relative: 1.0 1.0;
3838                image.normal: "flip_1b.png";
3839             }
3840             description { state: "1h" 0.0;
3841                inherit: "default" 0.0;
3842                visible: 0;
3843                rel2.relative: 1.0 0.0;
3844                image.normal: "flip_1b.png";
3845             }
3846             description { state: "2" 0.0;
3847                inherit: "default" 0.0;
3848                visible: 1;
3849                rel2.relative: 1.0 1.0;
3850                image.normal: "flip_2b.png";
3851             }
3852             description { state: "2h" 0.0;
3853                inherit: "default" 0.0;
3854                visible: 0;
3855                rel2.relative: 1.0 0.0;
3856                image.normal: "flip_2b.png";
3857             }
3858             description { state: "3" 0.0;
3859                inherit: "default" 0.0;
3860                visible: 1;
3861                rel2.relative: 1.0 1.0;
3862                image.normal: "flip_3b.png";
3863             }
3864             description { state: "3h" 0.0;
3865                inherit: "default" 0.0;
3866                visible: 0;
3867                rel2.relative: 1.0 0.0;
3868                image.normal: "flip_3b.png";
3869             }
3870             description { state: "4" 0.0;
3871                inherit: "default" 0.0;
3872                visible: 1;
3873                rel2.relative: 1.0 1.0;
3874                image.normal: "flip_4b.png";
3875             }
3876             description { state: "4h" 0.0;
3877                inherit: "default" 0.0;
3878                visible: 0;
3879                rel2.relative: 1.0 0.0;
3880                image.normal: "flip_4b.png";
3881             }
3882             description { state: "5" 0.0;
3883                inherit: "default" 0.0;
3884                visible: 1;
3885                rel2.relative: 1.0 1.0;
3886                image.normal: "flip_5b.png";
3887             }
3888             description { state: "5h" 0.0;
3889                inherit: "default" 0.0;
3890                visible: 0;
3891                rel2.relative: 1.0 0.0;
3892                image.normal: "flip_5b.png";
3893             }
3894             description { state: "6" 0.0;
3895                inherit: "default" 0.0;
3896                visible: 1;
3897                rel2.relative: 1.0 1.0;
3898                image.normal: "flip_6b.png";
3899             }
3900             description { state: "6h" 0.0;
3901                inherit: "default" 0.0;
3902                visible: 0;
3903                rel2.relative: 1.0 0.0;
3904                image.normal: "flip_6b.png";
3905             }
3906             description { state: "7" 0.0;
3907                inherit: "default" 0.0;
3908                visible: 1;
3909                rel2.relative: 1.0 1.0;
3910                image.normal: "flip_7b.png";
3911             }
3912             description { state: "7h" 0.0;
3913                inherit: "default" 0.0;
3914                visible: 0;
3915                rel2.relative: 1.0 0.0;
3916                image.normal: "flip_7b.png";
3917             }
3918             description { state: "8" 0.0;
3919                inherit: "default" 0.0;
3920                visible: 1;
3921                rel2.relative: 1.0 1.0;
3922                image.normal: "flip_8b.png";
3923             }
3924             description { state: "8h" 0.0;
3925                inherit: "default" 0.0;
3926                visible: 0;
3927                rel2.relative: 1.0 0.0;
3928                image.normal: "flip_8b.png";
3929             }
3930             description { state: "9" 0.0;
3931                inherit: "default" 0.0;
3932                visible: 1;
3933                rel2.relative: 1.0 1.0;
3934                image.normal: "flip_9b.png";
3935             }
3936             description { state: "9h" 0.0;
3937                inherit: "default" 0.0;
3938                visible: 0;
3939                rel2.relative: 1.0 0.0;
3940                image.normal: "flip_9b.png";
3941             }
3942          }
3943          part { name: "top0";
3944             mouse_events: 0;
3945             description { state: "default" 0.0;
3946                rel1.to: "t";
3947                rel2.to: "t";
3948                image.normal: "flip_0t.png";
3949             }
3950             description { state: "0" 0.0;
3951                inherit: "default" 0.0;
3952                image.normal: "flip_0t.png";
3953             }
3954             description { state: "1" 0.0;
3955                inherit: "default" 0.0;
3956                image.normal: "flip_1t.png";
3957             }
3958             description { state: "2" 0.0;
3959                inherit: "default" 0.0;
3960                image.normal: "flip_2t.png";
3961             }
3962             description { state: "3" 0.0;
3963                inherit: "default" 0.0;
3964                image.normal: "flip_3t.png";
3965             }
3966             description { state: "4" 0.0;
3967                inherit: "default" 0.0;
3968                image.normal: "flip_4t.png";
3969             }
3970             description { state: "5" 0.0;
3971                inherit: "default" 0.0;
3972                image.normal: "flip_5t.png";
3973             }
3974             description { state: "6" 0.0;
3975                inherit: "default" 0.0;
3976                image.normal: "flip_6t.png";
3977             }
3978             description { state: "7" 0.0;
3979                inherit: "default" 0.0;
3980                image.normal: "flip_7t.png";
3981             }
3982             description { state: "8" 0.0;
3983                inherit: "default" 0.0;
3984                image.normal: "flip_8t.png";
3985             }
3986             description { state: "9" 0.0;
3987                inherit: "default" 0.0;
3988                image.normal: "flip_9t.png";
3989             }
3990          }
3991          part { name: "top";
3992             mouse_events: 0;
3993             description { state: "default" 0.0;
3994                visible: 1;
3995                rel1.to: "t";
3996                rel2.to: "t";
3997                image.normal: "flip_0t.png";
3998             }
3999             description { state: "0" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002                rel1.relative: 0.0 0.0;
4003                image.normal: "flip_0t.png";
4004             }
4005             description { state: "0h" 0.0;
4006                inherit: "default" 0.0;
4007                color: 128 128 128 255;
4008                visible: 0;
4009                rel1.relative: 0.0 1.0;
4010                image.normal: "flip_0t.png";
4011             }
4012             description { state: "1" 0.0;
4013                inherit: "default" 0.0;
4014                visible: 1;
4015                rel1.relative: 0.0 0.0;
4016                image.normal: "flip_1t.png";
4017             }
4018             description { state: "1h" 0.0;
4019                inherit: "default" 0.0;
4020                color: 128 128 128 255;
4021                visible: 0;
4022                rel1.relative: 0.0 1.0;
4023                image.normal: "flip_1t.png";
4024             }
4025             description { state: "2" 0.0;
4026                inherit: "default" 0.0;
4027                visible: 1;
4028                rel1.relative: 0.0 0.0;
4029                image.normal: "flip_2t.png";
4030             }
4031             description { state: "2h" 0.0;
4032                inherit: "default" 0.0;
4033                color: 128 128 128 255;
4034                visible: 0;
4035                rel1.relative: 0.0 1.0;
4036                image.normal: "flip_2t.png";
4037             }
4038             description { state: "3" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 1;
4041                rel1.relative: 0.0 0.0;
4042                image.normal: "flip_3t.png";
4043             }
4044             description { state: "3h" 0.0;
4045                inherit: "default" 0.0;
4046                color: 128 128 128 255;
4047                visible: 0;
4048                rel1.relative: 0.0 1.0;
4049                image.normal: "flip_3t.png";
4050             }
4051             description { state: "4" 0.0;
4052                inherit: "default" 0.0;
4053                visible: 1;
4054                rel1.relative: 0.0 0.0;
4055                image.normal: "flip_4t.png";
4056             }
4057             description { state: "4h" 0.0;
4058                inherit: "default" 0.0;
4059                color: 128 128 128 255;
4060                visible: 0;
4061                rel1.relative: 0.0 1.0;
4062                image.normal: "flip_4t.png";
4063             }
4064             description { state: "5" 0.0;
4065                inherit: "default" 0.0;
4066                visible: 1;
4067                rel1.relative: 0.0 0.0;
4068                image.normal: "flip_5t.png";
4069             }
4070             description { state: "5h" 0.0;
4071                inherit: "default" 0.0;
4072                color: 128 128 128 255;
4073                visible: 0;
4074                rel1.relative: 0.0 1.0;
4075                image.normal: "flip_5t.png";
4076             }
4077             description { state: "6" 0.0;
4078                inherit: "default" 0.0;
4079                visible: 1;
4080                rel1.relative: 0.0 0.0;
4081                image.normal: "flip_6t.png";
4082             }
4083             description { state: "6h" 0.0;
4084                inherit: "default" 0.0;
4085                color: 128 128 128 255;
4086                visible: 0;
4087                rel1.relative: 0.0 1.0;
4088                image.normal: "flip_6t.png";
4089             }
4090             description { state: "7" 0.0;
4091                inherit: "default" 0.0;
4092                visible: 1;
4093                rel1.relative: 0.0 0.0;
4094                image.normal: "flip_7t.png";
4095             }
4096             description { state: "7h" 0.0;
4097                inherit: "default" 0.0;
4098                color: 128 128 128 255;
4099                visible: 0;
4100                rel1.relative: 0.0 1.0;
4101                image.normal: "flip_7t.png";
4102             }
4103             description { state: "8" 0.0;
4104                inherit: "default" 0.0;
4105                visible: 1;
4106                rel1.relative: 0.0 0.0;
4107                image.normal: "flip_8t.png";
4108             }
4109             description { state: "8h" 0.0;
4110                inherit: "default" 0.0;
4111                color: 128 128 128 255;
4112                visible: 0;
4113                rel1.relative: 0.0 1.0;
4114                image.normal: "flip_8t.png";
4115             }
4116             description { state: "9" 0.0;
4117                inherit: "default" 0.0;
4118                visible: 1;
4119                rel1.relative: 0.0 0.0;
4120                image.normal: "flip_9t.png";
4121             }
4122             description { state: "9h" 0.0;
4123                inherit: "default" 0.0;
4124                color: 128 128 128 255;
4125                visible: 0;
4126                rel1.relative: 0.0 1.0;
4127                image.normal: "flip_9t.png";
4128             }
4129          }
4130          part { name: "atop";
4131             mouse_events: 0;
4132             scale: 1;
4133             description { state: "default" 0.0;
4134                visible: 0;
4135                min: 15 15;
4136                max: 15 15;
4137                align: 0.5 0.0;
4138                rel1.to: "t";
4139                rel2.to: "t";
4140                image.normal: "arrow_up.png";
4141             }
4142             description { state: "visible" 0.0;
4143                inherit: "default" 0.0;
4144                visible: 1;
4145             }
4146          }
4147          part { name: "abot";
4148             mouse_events: 0;
4149             scale: 1;
4150             description { state: "default" 0.0;
4151                visible: 0;
4152                min: 15 15;
4153                max: 15 15;
4154                align: 0.5 1.0;
4155                rel1.to: "b";
4156                rel2.to: "b";
4157                image.normal: "arrow_down.png";
4158             }
4159             description { state: "visible" 0.0;
4160                inherit: "default" 0.0;
4161                visible: 1;
4162             }
4163          }
4164       }
4165       programs {
4166          program { name: "load";
4167             signal: "load";
4168             source: "";
4169             script {
4170                set_int(v0_cur, 0);
4171                set_int(v0_pre, 0);
4172                set_int(v0_lock, 0);
4173                set_int(v0_next, -1);
4174             }
4175          }
4176          program { name: "edit_on";
4177             signal: "elm,state,edit,on";
4178             source: "elm";
4179             action: STATE_SET "visible" 0.0;
4180             target: "atop";
4181             target: "abot";
4182             target: "t";
4183             target: "b";
4184          }
4185          program { name: "edit_off";
4186             signal: "elm,state,edit,off";
4187             source: "elm";
4188             action: STATE_SET "default" 0.0;
4189             target: "atop";
4190             target: "abot";
4191             target: "t";
4192             target: "b";
4193          }
4194          program { name: "up";
4195             signal: "mouse,down,1";
4196             source: "t";
4197             action: SIGNAL_EMIT "elm,action,up,start" "";
4198          }
4199          program { name: "up,stop";
4200             signal: "mouse,up,1";
4201             source: "t";
4202             action: SIGNAL_EMIT "elm,action,up,stop" "";
4203          }
4204          program { name: "down";
4205             signal: "mouse,down,1";
4206             source: "b";
4207             action: SIGNAL_EMIT "elm,action,down,start" "";
4208          }
4209          program { name: "down,stop";
4210             signal: "mouse,up,1";
4211             source: "b";
4212             action: SIGNAL_EMIT "elm,action,down,stop" "";
4213          }
4214       }
4215    }
4216
4217 ///////////////////////////////////////////////////////////////////////////////
4218    group { name: "elm/clock/flipampm/default";
4219       images {
4220          image: "flip_base.png" COMP;
4221          image: "flip_base_shad.png" COMP;
4222          image: "flip_shad.png" COMP;
4223          image: "flip_amt.png" COMP;
4224          image: "flip_amb.png" COMP;
4225          image: "flip_pmt.png" COMP;
4226          image: "flip_pmb.png" COMP;
4227          image: "arrow_up.png" COMP;
4228          image: "arrow_down.png" COMP;
4229       }
4230       script {
4231          public v0_cur, v0_pre, v0_lock, v0_next;
4232
4233        public animator2(val, Float:pos) {
4234           new st1[11], st2[11], v;
4235
4236           v = get_int(v0_cur);
4237           snprintf(st1, 10, "%ih", v);
4238           snprintf(st2, 10, "%i", v);
4239           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4240           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4241           if (pos >= 1.0) {
4242              set_state(PART:"sh", "default", 0.0);
4243              set_int(v0_lock, 0);
4244              v = get_int(v0_next);
4245              if (v >= 0) {
4246                 set_int(v0_next, -1);
4247                 message(MSG_INT, 1, v);
4248              }
4249           }
4250        }
4251        public animator1(val, Float:pos) {
4252           new st1[11], st2[11], v;
4253
4254           v = get_int(v0_pre);
4255           snprintf(st1, 10, "%i", v);
4256           snprintf(st2, 10, "%ih", v);
4257           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4258           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4259           if (pos >= 1.0) anim(0.2, "animator2", val);
4260        }
4261        public message(Msg_Type:type, id, ...) {
4262           if ((type == MSG_INT) && (id == 1)) {
4263              new value, v, buf[11];
4264
4265              value = getarg(2);
4266              if (get_int(v0_lock) == 1) {
4267                 set_int(v0_next, value);
4268                 return;
4269              }
4270              v = get_int(v0_cur);
4271              set_int(v0_pre, v);
4272              set_int(v0_cur, value);
4273              set_int(v0_lock, 1);
4274              snprintf(buf, 10, "%i", get_int(v0_pre));
4275              set_state(PART:"bot0", buf, 0.0);
4276              snprintf(buf, 10, "%ih", get_int(v0_cur));
4277              set_state(PART:"bot", buf, 0.0);
4278              snprintf(buf, 10, "%i", get_int(v0_cur));
4279              set_state(PART:"top0", buf, 0.0);
4280              snprintf(buf, 10, "%i", get_int(v0_pre));
4281              set_state(PART:"top", buf, 0.0);
4282              set_state(PART:"sh", "default", 0.0);
4283              anim(0.2, "animator1", 1);
4284           }
4285        }
4286       }
4287       parts {
4288          part { name: "shad";
4289             mouse_events: 0;
4290             description { state: "default" 0.0;
4291                rel1.offset: -4 -4;
4292                rel1.to: "base";
4293                rel2.offset: 3 3;
4294                rel2.to: "base";
4295                image {
4296                   normal: "flip_base_shad.png";
4297                   border: 8 8 8 8;
4298                }
4299             }
4300          }
4301          part { name: "base";
4302             mouse_events: 0;
4303             scale: 1;
4304             description { state: "default" 0.0;
4305                rel1.offset: 4 4;
4306                rel2.offset: -5 -5;
4307                // FIXME 48x96 should be the native pixel design, right now
4308                // its 80x160. fix int he artwork later
4309                aspect: 0.5 0.5;
4310                min: 24 48;
4311 //               max: 24 48;
4312                image.normal: "flip_base.png";
4313             }
4314          }
4315          part { name: "b";
4316             type: RECT;
4317             mouse_events: 1;
4318             description { state: "default" 0.0;
4319                rel1.to: "base";
4320                rel1.relative: 0.0 0.5;
4321                rel2.to: "base";
4322                color: 0 0 0 0;
4323             }
4324          }
4325          part { name: "t";
4326             type: RECT;
4327             mouse_events: 1;
4328             description { state: "default" 0.0;
4329                rel1.to: "base";
4330                rel2.to: "base";
4331                rel2.relative: 1.0 0.5;
4332                color: 0 0 0 0;
4333             }
4334          }
4335          part { name: "bot0";
4336             mouse_events: 0;
4337             description { state: "default" 0.0;
4338                rel1.to: "b";
4339                rel2.to: "b";
4340                image.normal: "flip_amb.png";
4341             }
4342             description { state: "0" 0.0;
4343                inherit: "default" 0.0;
4344                image.normal: "flip_amb.png";
4345             }
4346             description { state: "1" 0.0;
4347                inherit: "default" 0.0;
4348                image.normal: "flip_pmb.png";
4349             }
4350          }
4351          part { name: "sh";
4352             mouse_events: 0;
4353             description { state: "default" 0.0;
4354                rel1.to: "b";
4355                rel2.to: "b";
4356                rel2.relative: 1.0 0.0;
4357                image.normal: "flip_shad.png";
4358             }
4359             description { state: "half" 0.0;
4360                inherit: "default" 0.0;
4361                rel2.relative: 1.0 0.5;
4362             }
4363             description { state: "full" 0.0;
4364                inherit: "default" 0.0;
4365                rel2.relative: 1.0 1.0;
4366             }
4367          }
4368          part { name: "bot";
4369             mouse_events: 0;
4370             description { state: "default" 0.0;
4371                visible: 1;
4372                rel1.to: "b";
4373                rel2.to: "b";
4374                image.normal: "flip_amb.png";
4375             }
4376             description { state: "0" 0.0;
4377                inherit: "default" 0.0;
4378                visible: 1;
4379                rel2.relative: 1.0 1.0;
4380                image.normal: "flip_amb.png";
4381             }
4382             description { state: "0h" 0.0;
4383                inherit: "default" 0.0;
4384                visible: 0;
4385                rel2.relative: 1.0 0.0;
4386                image.normal: "flip_amb.png";
4387             }
4388             description { state: "1" 0.0;
4389                inherit: "default" 0.0;
4390                visible: 1;
4391                rel2.relative: 1.0 1.0;
4392                image.normal: "flip_pmb.png";
4393             }
4394             description { state: "1h" 0.0;
4395                inherit: "default" 0.0;
4396                visible: 0;
4397                rel2.relative: 1.0 0.0;
4398                image.normal: "flip_pmb.png";
4399             }
4400          }
4401          part { name: "top0";
4402             mouse_events: 0;
4403             description { state: "default" 0.0;
4404                rel1.to: "t";
4405                rel2.to: "t";
4406                image.normal: "flip_amt.png";
4407             }
4408             description { state: "0" 0.0;
4409                inherit: "default" 0.0;
4410                image.normal: "flip_amt.png";
4411             }
4412             description { state: "1" 0.0;
4413                inherit: "default" 0.0;
4414                image.normal: "flip_pmt.png";
4415             }
4416          }
4417          part { name: "top";
4418             mouse_events: 0;
4419             description { state: "default" 0.0;
4420                visible: 1;
4421                rel1.to: "t";
4422                rel2.to: "t";
4423                image.normal: "flip_amt.png";
4424             }
4425             description { state: "0" 0.0;
4426                inherit: "default" 0.0;
4427                visible: 1;
4428                rel1.relative: 0.0 0.0;
4429                image.normal: "flip_amt.png";
4430             }
4431             description { state: "0h" 0.0;
4432                inherit: "default" 0.0;
4433                color: 128 128 128 255;
4434                visible: 0;
4435                rel1.relative: 0.0 1.0;
4436                image.normal: "flip_amt.png";
4437             }
4438             description { state: "1" 0.0;
4439                inherit: "default" 0.0;
4440                visible: 1;
4441                rel1.relative: 0.0 0.0;
4442                image.normal: "flip_pmt.png";
4443             }
4444             description { state: "1h" 0.0;
4445                inherit: "default" 0.0;
4446                color: 128 128 128 255;
4447                visible: 0;
4448                rel1.relative: 0.0 1.0;
4449                image.normal: "flip_pmt.png";
4450             }
4451          }
4452          part { name: "atop";
4453             mouse_events: 0;
4454             scale: 1;
4455             description { state: "default" 0.0;
4456                visible: 0;
4457                min: 15 15;
4458                max: 15 15;
4459                align: 0.5 0.0;
4460                rel1.to: "t";
4461                rel2.to: "t";
4462                image.normal: "arrow_up.png";
4463             }
4464             description { state: "visible" 0.0;
4465                inherit: "default" 0.0;
4466                visible: 1;
4467             }
4468          }
4469          part { name: "abot";
4470             mouse_events: 0;
4471             scale: 1;
4472             description { state: "default" 0.0;
4473                visible: 0;
4474                min: 15 15;
4475                max: 15 15;
4476                align: 0.5 1.0;
4477                rel1.to: "b";
4478                rel2.to: "b";
4479                image.normal: "arrow_down.png";
4480             }
4481             description { state: "visible" 0.0;
4482                inherit: "default" 0.0;
4483                visible: 1;
4484             }
4485          }
4486       }
4487       programs {
4488          program { name: "load";
4489             signal: "load";
4490             source: "";
4491             script {
4492                set_int(v0_cur, 0);
4493                set_int(v0_pre, 0);
4494                set_int(v0_lock, 0);
4495                set_int(v0_next, -1);
4496             }
4497          }
4498          program { name: "edit_on";
4499             signal: "elm,state,edit,on";
4500             source: "elm";
4501             action: STATE_SET "visible" 0.0;
4502             target: "atop";
4503             target: "abot";
4504          }
4505 /*
4506          program { name: "edit_off";
4507             signal: "elm,state,edit,off";
4508             source: "elm";
4509             action: STATE_SET "default" 0.0;
4510             target: "atop";
4511             target: "abot";
4512          }
4513  */
4514          program { name: "up";
4515             signal: "mouse,down,1";
4516             source: "t";
4517             action: SIGNAL_EMIT "elm,action,up,start" "";
4518          }
4519          program { name: "up,stop";
4520             signal: "mouse,up,1";
4521             source: "t";
4522             action: SIGNAL_EMIT "elm,action,up,stop" "";
4523          }
4524          program { name: "down";
4525             signal: "mouse,down,1";
4526             source: "b";
4527             action: SIGNAL_EMIT "elm,action,down,start" "";
4528          }
4529          program { name: "down,stop";
4530             signal: "mouse,up,1";
4531             source: "b";
4532             action: SIGNAL_EMIT "elm,action,down,stop" "";
4533          }
4534       }
4535    }
4536
4537    ///////////////////////////////////////////////////////////////////////////////
4538    group { name: "elm/menu/item/default";
4539        images {
4540            image: "bt_base1.png" COMP;
4541            image: "bt_base2.png" COMP;
4542            image: "bt_hilight.png" COMP;
4543            image: "bt_shine.png" COMP;
4544            image: "bt_glow.png" COMP;
4545            image: "bt_dis_base.png" COMP;
4546            image: "bt_dis_hilight.png" COMP;
4547        }
4548        script {
4549             public menu_text_visible; //0:hide (default), 1:visible
4550             public menu_disable; //0:enable, 1:disable
4551        }
4552        parts {
4553            part { name: "item_image";
4554                mouse_events: 1;
4555                description { state: "default" 0.0;
4556                    color: 255 255 255 0;
4557                    image {
4558                        normal: "bt_base2.png";
4559                        border: 7 7 7 7;
4560                    }
4561                    image.middle: SOLID;
4562                }
4563                description { state: "visible" 0.0;
4564                    inherit: "default" 0.0;
4565                    color: 255 255 255 255;
4566                }
4567                description { state: "clicked" 0.0;
4568                    inherit: "default" 0.0;
4569                    inherit: "visible" 0.0;
4570                    image.normal: "bt_base1.png";
4571                    image.middle: SOLID;
4572                }
4573                description { state: "disabled" 0.0;
4574                    inherit:  "default" 0.0;
4575                }
4576            }
4577            part { name: "item_image_disabled";
4578                mouse_events: 1;
4579                description { state: "default" 0.0;
4580                    color: 255 255 255 0;
4581                    image {
4582                        normal: "bt_dis_base.png";
4583                        border: 4 4 4 4;
4584                    }
4585                    image.middle: SOLID;
4586                }
4587                description { state: "disabled" 0.0;
4588                    inherit:  "default" 0.0;
4589                    color: 255 255 255 255;
4590                }
4591            }
4592            part { name: "elm.swallow.content";
4593                type: SWALLOW;
4594                description { state: "default" 0.0;
4595                    fixed: 1 0;
4596                    visible: 1;
4597                    align: 0.0 0.5;
4598                    rel1.offset: 4 4;
4599                    rel2.offset: 3 -5;
4600                    rel2.relative: 0.0 1.0;
4601                    aspect: 1.0 1.0;
4602                    aspect_preference: VERTICAL;
4603                    rel2.offset: 4 -5;
4604                }
4605            }
4606            part {
4607                name:          "elm.text";
4608                type:          TEXT;
4609                mouse_events:  0;
4610                scale: 1;
4611                description { state: "default" 0.0;
4612                    visible: 0;
4613                    rel1.to_x: "elm.swallow.content";
4614                    rel1.relative: 1.0 0.0;
4615                    rel1.offset: 5 7;
4616                    rel2.offset: -10 -8;
4617                    color: 0 0 0 255;
4618                    text {
4619                        font:     "Sans,Edje-Vera";
4620                        size:     10;
4621                        min:      1 1;
4622                        align:    0.0 0.5;
4623                        text_class: "menu_item";
4624                    }
4625                }
4626                description { state: "visible" 0.0;
4627                    inherit: "default" 0.0;
4628                    visible: 1;
4629                    text.min: 1 1;
4630                }
4631                description { state: "selected" 0.0;
4632                    inherit: "default" 0.0;
4633                    inherit: "visible" 0.0;
4634                    color: 254 254 254 255;
4635                }
4636                description { state: "disabled" 0.0;
4637                    inherit: "default" 0.0;
4638                    color: 0 0 0 128;
4639                }
4640                description { state: "disabled_visible" 0.0;
4641                    inherit: "default" 0.0;
4642                    inherit: "visible" 0.0;
4643                    color: 0 0 0 128;
4644                }
4645            }
4646            part {          name: "over1";
4647                mouse_events: 0;
4648                description { state: "default" 0.0;
4649                    color: 255 255 255 0;
4650                    rel2.relative: 1.0 0.5;
4651                    image {
4652                        normal: "bt_hilight.png";
4653                        border: 7 7 7 0;
4654                    }
4655                }
4656                description { state: "visible" 0.0;
4657                    inherit:  "default" 0.0;
4658                    color: 255 255 255 255;
4659                }
4660                description { state: "disabled" 0.0;
4661                    inherit:  "default" 0.0;
4662                }
4663            }
4664            part {          name: "over_disabled";
4665                mouse_events: 0;
4666                description { state: "default" 0.0;
4667                    color: 255 255 255 0;
4668                    rel2.relative: 1.0 0.5;
4669                    image {
4670                        normal: "bt_dis_hilight.png";
4671                        border: 4 4 4 0;
4672                    }
4673                }
4674                description { state: "disabled" 0.0;
4675                    inherit:  "default" 0.0;
4676                    color: 255 255 255 255;
4677                }
4678            }
4679            part { name: "over2";
4680                mouse_events: 1;
4681                repeat_events: 1;
4682                ignore_flags: ON_HOLD;
4683                description { state: "default" 0.0;
4684                    image {
4685                        normal: "bt_shine.png";
4686                        border: 7 7 7 7;
4687                    }
4688                }
4689                description { state: "disabled" 0.0;
4690                    inherit:  "default" 0.0;
4691                    visible: 0;
4692                }
4693            }
4694            part { name: "over3";
4695                mouse_events: 1;
4696                repeat_events: 1;
4697                description { state: "default" 0.0;
4698                    color: 255 255 255 0;
4699                    image {
4700                        normal: "bt_glow.png";
4701                        border: 12 12 12 12;
4702                    }
4703                    fill.smooth : 0;
4704                }
4705                description { state: "clicked" 0.0;
4706                    inherit:  "default" 0.0;
4707                    visible: 1;
4708                    color: 255 255 255 255;
4709                }
4710            }
4711            part { name: "disabler";
4712                type: RECT;
4713                description { state: "default" 0.0;
4714                    color: 0 0 0 0;
4715                    visible: 0;
4716                }
4717                description { state: "disabled" 0.0;
4718                    inherit: "default" 0.0;
4719                    visible: 1;
4720                }
4721            }
4722        }
4723        programs {
4724           //
4725            program {
4726                name:   "item_mouse_in";
4727                signal: "mouse,in";
4728                source: "over2";
4729                action: SIGNAL_EMIT "elm,action,activate" "";
4730                after: "item_mouse_in_2";
4731                after: "item_mouse_in_3";
4732            }
4733            program {
4734                name:   "item_mouse_in_2";
4735                transition: DECELERATE 0.5;
4736                script {
4737                    new v, d;
4738                    v = get_int(menu_text_visible);
4739                    d = get_int(menu_disable);
4740
4741                    if (v==1 && d==0)
4742                         run_program(PROGRAM:"selected_text");
4743                }
4744            }
4745            program {
4746                name:   "item_mouse_in_3";
4747                action : STATE_SET "visible" 0.0;
4748                target: "item_image";
4749                target: "over1";
4750                transition: DECELERATE 0.5;
4751            }
4752            program {
4753                name:   "selected_text";
4754                action: STATE_SET "selected" 0.0;
4755                target: "elm.text";
4756                transition: DECELERATE 0.5;
4757            }
4758            //
4759
4760            //
4761            program {
4762                name:   "item_mouse_out";
4763                signal: "mouse,out";
4764                source: "over2";
4765                action: SIGNAL_EMIT "elm,action,inactivate" "";
4766                after: "item_mouse_out_2";
4767                after: "item_mouse_out_3";
4768            }
4769            program {
4770                name:   "item_mouse_out_2";
4771                transition: DECELERATE 0.5;
4772                script {
4773                    new v, d;
4774                    v = get_int(menu_text_visible);
4775                    d = get_int(menu_disable);
4776
4777                    if (v==1 && d==0)
4778                         run_program(PROGRAM:"visible_text");
4779                }
4780            }
4781            program {
4782                name:   "item_mouse_out_3";
4783                action: STATE_SET "default" 0.0;
4784                target: "item_image";
4785                target: "over1";
4786                transition: DECELERATE 0.5;
4787            }
4788            program {
4789                name:   "visible_text";
4790                action: STATE_SET "visible" 0.0;
4791                target: "elm.text";
4792                transition: DECELERATE 0.5;
4793            }
4794            //
4795
4796            program {
4797                name:   "item_unclick";
4798                signal: "mouse,up,1";
4799                source: "over2";
4800                action: STATE_SET "visible" 0.0;
4801                target: "item_image";
4802            }
4803            program {
4804                name:   "item_click2";
4805                signal: "mouse,down,1";
4806                source: "over3";
4807                action: STATE_SET "clicked" 0.0;
4808                target: "over3";
4809            }
4810            program {
4811                name:   "item_unclick2";
4812                signal: "mouse,up,1";
4813                source: "over3";
4814                action: STATE_SET "default" 0.0;
4815                transition: DECELERATE 0.5;
4816                target: "over3";
4817            }
4818            program {
4819                name:   "item_unclick3";
4820                signal: "mouse,up,1";
4821                source: "over2";
4822                action: SIGNAL_EMIT "elm,action,click" "";
4823            }
4824            program { name: "text_show";
4825                signal: "elm,state,text,visible";
4826                source: "elm";
4827                script {
4828                    set_int(menu_text_visible, 1);
4829                    set_state(PART:"elm.text", "visible", 0.0);
4830                }
4831            }
4832            program { name: "text_hide";
4833                signal: "elm,state,text,hidden";
4834                source: "elm";
4835                script {
4836                    set_int(menu_text_visible, 0);
4837                    set_state(PART:"elm.text", "default", 0.0);
4838                }
4839            }
4840            program { name: "disable";
4841                signal: "elm,state,disabled";
4842                source: "elm";
4843                action: STATE_SET "disabled" 0.0;
4844                target: "item_image";
4845                target: "item_image_disabled";
4846                target: "over1";
4847                target: "over2";
4848                target: "over_disabled";
4849                target: "disabler";
4850                after: "disable_text";
4851            }
4852            program { name: "disable_text";
4853                script {
4854                    new v;
4855                    v = get_int(menu_text_visible);
4856                    if (v==1)
4857                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4858                    else if (v==0)
4859                     set_state(PART:"elm.text", "disabled", 0.0);
4860                    set_int(menu_disable, 1);
4861                }
4862            }
4863            program { name: "item_select";
4864                signal: "elm,state,selected";
4865                source: "elm";
4866                after: "item_mouse_in_2";
4867                after: "item_mouse_in_3";
4868            }
4869            program { name: "item_unselect";
4870                signal: "elm,state,unselected";
4871                source: "elm";
4872                after: "item_mouse_out_2";
4873                after: "item_mouse_out_3";
4874            }
4875            program { name: "enable";
4876                signal: "elm,state,enabled";
4877                source: "elm";
4878                action: STATE_SET "default" 0.0;
4879                target: "item_image";
4880                target: "item_image_disabled";
4881                target: "over1";
4882                target: "over2";
4883                target: "over_disabled";
4884                target: "disabler";
4885                after: "enable_text";
4886            }
4887            program { name: "enable_text";
4888                script {
4889                    new v;
4890                    v = get_int(menu_text_visible);
4891                    if (v==1)
4892                     set_state(PART:"elm.text", "visible", 0.0);
4893                    else  if (v==0)
4894                     set_state(PART:"elm.text", "default", 0.0);
4895                    set_int(menu_disable, 0);
4896                }
4897            }
4898        }
4899    }
4900
4901    group { name: "elm/menu/item_with_submenu/default";
4902        images {
4903            image: "bt_base1.png" COMP;
4904            image: "bt_base2.png" COMP;
4905            image: "bt_hilight.png" COMP;
4906            image: "bt_shine.png" COMP;
4907            image: "bt_glow.png" COMP;
4908            image: "bt_dis_base.png" COMP;
4909            image: "bt_dis_hilight.png" COMP;
4910            image: "arrow_right.png" COMP;
4911            image: "arrow_left.png" COMP;
4912        }
4913        script {
4914             public menu_text_visible; //0:hide (default), 1:visible
4915             public menu_disable; //0:enable, 1:disable
4916        }
4917        parts {
4918            part { name: "item_image";
4919                mouse_events: 1;
4920                description { state: "default" 0.0;
4921                    color: 255 255 255 0;
4922                    image {
4923                        normal: "bt_base2.png";
4924                        border: 7 7 7 7;
4925                    }
4926                    image.middle: SOLID;
4927                }
4928                description { state: "visible" 0.0;
4929                    inherit: "default" 0.0;
4930                    color: 255 255 255 255;
4931                }
4932                description { state: "clicked" 0.0;
4933                    inherit: "default" 0.0;
4934                    inherit: "visible" 0.0;
4935                    image.normal: "bt_base1.png";
4936                    image.middle: SOLID;
4937                }
4938                description { state: "disabled" 0.0;
4939                    inherit:  "default" 0.0;
4940                }
4941            }
4942            part { name: "item_image_disabled";
4943                mouse_events: 1;
4944                description { state: "default" 0.0;
4945                    color: 255 255 255 0;
4946                    image {
4947                        normal: "bt_dis_base.png";
4948                        border: 4 4 4 4;
4949                    }
4950                    image.middle: SOLID;
4951                }
4952                description { state: "disabled" 0.0;
4953                    inherit:  "default" 0.0;
4954                    color: 255 255 255 255;
4955                }
4956            }
4957            part { name: "arrow";
4958                mouse_events: 1;
4959                description { state: "default" 0.0;
4960                    color: 255 255 255 255;
4961                    align: 1.0 0.5;
4962                    aspect: 1 1;
4963                    aspect_preference: BOTH;
4964                    image {
4965                        normal: "arrow_right.png";
4966                    }
4967                }
4968                description { state: "rtl" 0.0;
4969                   inherit: "default" 0.0;
4970                   image.normal: "arrow_left.png";
4971                }
4972            }
4973            part { name: "elm.swallow.content";
4974                type: SWALLOW;
4975                description { state: "default" 0.0;
4976                    fixed: 1 0;
4977                    visible: 1;
4978                    align: 0.0 0.5;
4979                    rel1.offset: 4 4;
4980                    rel2.offset: 3 -5;
4981                    rel2.relative: 0.0 1.0;
4982                    aspect: 1.0 1.0;
4983                    aspect_preference: VERTICAL;
4984                    rel2.offset: 4 -5;
4985                }
4986            }
4987            part {
4988                name:          "elm.text";
4989                type:          TEXT;
4990                mouse_events:  0;
4991                scale: 1;
4992                description { state: "default" 0.0;
4993                    visible: 0;
4994                    rel1.to_x: "elm.swallow.content";
4995                    rel1.relative: 1.0 0.0;
4996                    rel1.offset: 5 7;
4997                    rel2.offset: -10 -8;
4998                    color: 0 0 0 255;
4999                    text {
5000                        font:     "Sans,Edje-Vera";
5001                        size:     10;
5002                        min:      1 1;
5003                        align:    0.0 0.5;
5004                        text_class: "menu_item";
5005                    }
5006                }
5007                description { state: "visible" 0.0;
5008                    inherit: "default" 0.0;
5009                    visible: 1;
5010                    text.min: 1 1;
5011                }
5012                description { state: "selected" 0.0;
5013                    inherit: "default" 0.0;
5014                    inherit: "visible" 0.0;
5015                    color: 254 254 254 255;
5016                }
5017                description { state: "disabled" 0.0;
5018                    inherit: "default" 0.0;
5019                    color: 0 0 0 128;
5020                }
5021                description { state: "disabled_visible" 0.0;
5022                    inherit: "default" 0.0;
5023                    inherit: "visible" 0.0;
5024                    color: 0 0 0 128;
5025                }
5026            }
5027            part {          name: "over1";
5028                mouse_events: 0;
5029                description { state: "default" 0.0;
5030                    color: 255 255 255 0;
5031                    rel2.relative: 1.0 0.5;
5032                    image {
5033                        normal: "bt_hilight.png";
5034                        border: 7 7 7 0;
5035                    }
5036                }
5037                description { state: "visible" 0.0;
5038                    inherit:  "default" 0.0;
5039                    color: 255 255 255 255;
5040                }
5041                description { state: "disabled" 0.0;
5042                    inherit:  "default" 0.0;
5043                }
5044            }
5045            part { name: "over_disabled";
5046                mouse_events: 0;
5047                description { state: "default" 0.0;
5048                    color: 255 255 255 0;
5049                    rel2.relative: 1.0 0.5;
5050                    image {
5051                        normal: "bt_dis_hilight.png";
5052                        border: 4 4 4 0;
5053                    }
5054                }
5055                description { state: "disabled" 0.0;
5056                    inherit:  "default" 0.0;
5057                    color: 255 255 255 255;
5058                }
5059            }
5060            part { name: "over2";
5061                mouse_events: 1;
5062                repeat_events: 1;
5063                ignore_flags: ON_HOLD;
5064                description { state: "default" 0.0;
5065                    image {
5066                        normal: "bt_shine.png";
5067                        border: 7 7 7 7;
5068                    }
5069                }
5070                description { state: "disabled" 0.0;
5071                    inherit:  "default" 0.0;
5072                    visible: 0;
5073                }
5074            }
5075            part { name: "over3";
5076                mouse_events: 1;
5077                repeat_events: 1;
5078                description { state: "default" 0.0;
5079                    color: 255 255 255 0;
5080                    image {
5081                        normal: "bt_glow.png";
5082                        border: 12 12 12 12;
5083                    }
5084                    fill.smooth : 0;
5085                }
5086                description { state: "clicked" 0.0;
5087                    inherit:  "default" 0.0;
5088                    visible: 1;
5089                    color: 255 255 255 255;
5090                }
5091            }
5092            part { name: "disabler";
5093                type: RECT;
5094                description { state: "default" 0.0;
5095                    color: 0 0 0 0;
5096                    visible: 0;
5097                }
5098                description { state: "disabled" 0.0;
5099                    inherit: "default" 0.0;
5100                    visible: 1;
5101                }
5102            }
5103        }
5104        programs {
5105            //
5106            program {
5107                name:   "item_mouse_in";
5108                signal: "mouse,in";
5109                source: "over2";
5110                action: SIGNAL_EMIT "elm,action,activate" "";
5111                after: "item_mouse_in_2";
5112                after: "item_mouse_in_3";
5113            }
5114            program {
5115                name:   "item_mouse_in_2";
5116                transition: DECELERATE 0.5;
5117                script {
5118                    new v, d;
5119                    v = get_int(menu_text_visible);
5120                    d = get_int(menu_disable);
5121
5122                    if (v==1 && d==0)
5123                         run_program(PROGRAM:"selected_text");
5124                }
5125            }
5126            program {
5127                name:   "item_mouse_in_3";
5128                action : STATE_SET "visible" 0.0;
5129                target: "item_image";
5130                target: "over1";
5131                transition: DECELERATE 0.5;
5132            }
5133            program {
5134                name:   "selected_text";
5135                action: STATE_SET "selected" 0.0;
5136                target: "elm.text";
5137                transition: DECELERATE 0.5;
5138            }
5139            //
5140
5141            //
5142            program {
5143                name:   "item_mouse_out";
5144                signal: "mouse,out";
5145                source: "over2";
5146                after: "item_mouse_out_2";
5147                after: "item_mouse_out_3";
5148            }
5149            program {
5150                name:   "item_mouse_out_2";
5151                transition: DECELERATE 0.5;
5152                script {
5153                    new v, d;
5154                    v = get_int(menu_text_visible);
5155                    d = get_int(menu_disable);
5156
5157                    if (v==1 && d==0)
5158                         run_program(PROGRAM:"visible_text");
5159                }
5160            }
5161            program {
5162                name:   "item_mouse_out_3";
5163                action: STATE_SET "default" 0.0;
5164                target: "item_image";
5165                target: "over1";
5166                transition: DECELERATE 0.5;
5167            }
5168            program {
5169                name:   "visible_text";
5170                action: STATE_SET "visible" 0.0;
5171                target: "elm.text";
5172                transition: DECELERATE 0.5;
5173            }
5174            //
5175
5176            program {
5177                name:   "item_unclick";
5178                signal: "mouse,up,1";
5179                source: "over2";
5180                action: STATE_SET "visible" 0.0;
5181                target: "item_image";
5182            }
5183            program {
5184                name:   "item_click2";
5185                signal: "mouse,down,1";
5186                source: "over3";
5187                action: STATE_SET "clicked" 0.0;
5188                target: "over3";
5189            }
5190            program {
5191                name:   "item_unclick2";
5192                signal: "mouse,up,1";
5193                source: "over3";
5194                action: STATE_SET "default" 0.0;
5195                transition: DECELERATE 0.5;
5196                target: "over3";
5197            }
5198            program {
5199                name:   "item_unclick3";
5200                signal: "mouse,up,1";
5201                source: "over2";
5202                action: SIGNAL_EMIT "elm,action,click" "";
5203            }
5204            program {
5205                name:   "menu_open";
5206                signal: "mouse,in";
5207                source: "over2";
5208                action: SIGNAL_EMIT "elm,action,open" "";
5209            }
5210             program { name: "text_show";
5211                signal: "elm,state,text,visible";
5212                source: "elm";
5213                script {
5214                    set_int(menu_text_visible, 1);
5215                    set_state(PART:"elm.text", "visible", 0.0);
5216                }
5217            }
5218            program { name: "text_hide";
5219                signal: "elm,state,text,hidden";
5220                source: "elm";
5221                script {
5222                    set_int(menu_text_visible, 0);
5223                    set_state(PART:"elm.text", "default", 0.0);
5224                }
5225            }
5226            program { name: "disable";
5227                signal: "elm,state,disabled";
5228                source: "elm";
5229                action: STATE_SET "disabled" 0.0;
5230                target: "item_image";
5231                target: "item_image_disabled";
5232                target: "over1";
5233                target: "over2";
5234                target: "over_disabled";
5235                target: "disabler";
5236                after: "disable_text";
5237            }
5238            program { name: "disable_text";
5239                script {
5240                    new st[31];
5241                    new Float:vl;
5242                    get_state(PART:"elm.text", st, 30, vl);
5243                    if (!strcmp(st, "visible"))
5244                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5245                    else if (!strcmp(st, "default"))
5246                    set_state(PART:"elm.text", "disabled", 0.0);
5247                }
5248            }
5249            program { name: "enable";
5250                signal: "elm,state,enabled";
5251                source: "elm";
5252                action: STATE_SET "default" 0.0;
5253                target: "item_image";
5254                target: "item_image_disabled";
5255                target: "over1";
5256                target: "over2";
5257                target: "over_disabled";
5258                target: "disabler";
5259                after: "enable_text";
5260            }
5261            program { name: "enable_text";
5262                script {
5263                    new v;
5264                    v = get_int(menu_text_visible);
5265                    if (v==1)
5266                     set_state(PART:"elm.text", "visible", 0.0);
5267                    else  if (v==0)
5268                     set_state(PART:"elm.text", "default", 0.0);
5269                    set_int(menu_disable, 0);
5270                }
5271            }
5272            program { name: "to_rtl";
5273                signal: "edje,state,rtl";
5274                source: "edje";
5275                action: STATE_SET "rtl" 0.0;
5276                target: "arrow";
5277            }
5278            program { name: "to_ltr";
5279                signal: "edje,state,ltr";
5280                source: "edje";
5281                action: STATE_SET "default" 0.0;
5282                target: "arrow";
5283            }
5284        }
5285    }
5286
5287    group { name: "elm/menu/separator/default";
5288        images {
5289            image: "separator_h.png" COMP;
5290        }
5291        parts {
5292            part { name: "separator"; // separator group
5293                description { state: "default" 0.0;
5294                    min: 2 2;
5295                    rel1.offset: 4 4;
5296                    rel2.offset: -5 -5;
5297                    image {
5298                        normal: "separator_h.png";
5299                    }
5300                    fill {
5301                        smooth: 0;
5302                    }
5303                }
5304            }
5305        }
5306    }
5307 ///////////////////////////////////////////////////////////////////////////////
5308    group { name: "elm/clock/base-all/default";
5309       parts {
5310          part { name: "d0";
5311             type: SWALLOW;
5312             description { state: "default" 0.0;
5313                rel1.relative: 0.0000000 0.0;
5314                rel2.relative: 0.1250000 1.0;
5315             }
5316          }
5317          part { name: "d1";
5318             type: SWALLOW;
5319             description { state: "default" 0.0;
5320                rel1.relative: 0.1250000 0.0;
5321                rel2.relative: 0.2500000 1.0;
5322             }
5323          }
5324          part { name: "c0";
5325             type: SWALLOW;
5326             type: TEXT;
5327             mouse_events:  0;
5328             scale: 1;
5329             description { state: "default" 0.0;
5330                rel1.relative: 0.2500000 0.0;
5331                rel2.relative: 0.3125000 1.0;
5332                color: 0 0 0 255;
5333                text {
5334                   font:     "Sans,Edje-Vera";
5335                   text:     ":";
5336                   size:     10;
5337                   min:      1 1;
5338                   align:    0.5 0.5;
5339                }
5340             }
5341          }
5342          part { name: "d2";
5343             type: SWALLOW;
5344             description { state: "default" 0.0;
5345                rel1.relative: 0.3125000 0.0;
5346                rel2.relative: 0.4375000 1.0;
5347             }
5348          }
5349          part { name: "d3";
5350             type: SWALLOW;
5351             description { state: "default" 0.0;
5352                rel1.relative: 0.4375000 0.0;
5353                rel2.relative: 0.5625000 1.0;
5354             }
5355          }
5356          // (if seconds)
5357          part { name: "c1";
5358             type: SWALLOW;
5359             type: TEXT;
5360             mouse_events:  0;
5361             scale: 1;
5362             description { state: "default" 0.0;
5363                rel1.relative: 0.5625000 0.0;
5364                rel2.relative: 0.6250000 1.0;
5365                color: 0 0 0 255;
5366                text {
5367                   font:     "Sans,Edje-Vera";
5368                   text:     ":";
5369                   size:     10;
5370                   min:      1 1;
5371                   align:    0.5 0.5;
5372                }
5373             }
5374          }
5375          // (if seconds)
5376          part { name: "d4";
5377             type: SWALLOW;
5378             description { state: "default" 0.0;
5379                rel1.relative: 0.6250000 0.0;
5380                rel2.relative: 0.7500000 1.0;
5381             }
5382          }
5383          // (if seconds)
5384          part { name: "d5";
5385             type: SWALLOW;
5386             description { state: "default" 0.0;
5387                rel1.relative: 0.7500000 0.0;
5388                rel2.relative: 0.8750000 1.0;
5389             }
5390          }
5391          // (if am_pm)
5392          part { name: "ampm";
5393             type: SWALLOW;
5394             description { state: "default" 0.0;
5395                rel1.relative: 0.8750000 0.0;
5396                rel2.relative: 1.0 1.0;
5397             }
5398          }
5399       }
5400    }
5401
5402 ///////////////////////////////////////////////////////////////////////////////
5403    group { name: "elm/clock/base-seconds/default";
5404       parts {
5405          part { name: "d0";
5406             type: SWALLOW;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.000000000 0.0;
5409                rel2.relative: 0.142857143 1.0;
5410             }
5411          }
5412          part { name: "d1";
5413             type: SWALLOW;
5414             description { state: "default" 0.0;
5415                rel1.relative: 0.142857143 0.0;
5416                rel2.relative: 0.285714286 1.0;
5417             }
5418          }
5419          part { name: "c0";
5420             type: SWALLOW;
5421             type: TEXT;
5422             mouse_events:  0;
5423             scale: 1;
5424             description { state: "default" 0.0;
5425                rel1.relative: 0.285714286 0.0;
5426                rel2.relative: 0.357142857 1.0;
5427                color: 0 0 0 255;
5428                text {
5429                   font:     "Sans,Edje-Vera";
5430                   text:     ":";
5431                   size:     10;
5432                   min:      1 1;
5433                   align:    0.5 0.5;
5434                }
5435             }
5436          }
5437          part { name: "d2";
5438             type: SWALLOW;
5439             description { state: "default" 0.0;
5440                rel1.relative: 0.357142857 0.0;
5441                rel2.relative: 0.500000000 1.0;
5442             }
5443          }
5444          part { name: "d3";
5445             type: SWALLOW;
5446             description { state: "default" 0.0;
5447                rel1.relative: 0.500000000 0.0;
5448                rel2.relative: 0.642857143 1.0;
5449             }
5450          }
5451          // (if seconds)
5452          part { name: "c1";
5453             type: SWALLOW;
5454             type: TEXT;
5455             mouse_events:  0;
5456             scale: 1;
5457             description { state: "default" 0.0;
5458                rel1.relative: 0.642857143 0.0;
5459                rel2.relative: 0.714285714 1.0;
5460                color: 0 0 0 255;
5461                text {
5462                   font:     "Sans,Edje-Vera";
5463                   text:     ":";
5464                   size:     10;
5465                   min:      1 1;
5466                   align:    0.5 0.5;
5467                }
5468             }
5469          }
5470          // (if seconds)
5471          part { name: "d4";
5472             type: SWALLOW;
5473             description { state: "default" 0.0;
5474                rel1.relative: 0.714285714 0.0;
5475                rel2.relative: 0.857142857 1.0;
5476             }
5477          }
5478          // (if seconds)
5479          part { name: "d5";
5480             type: SWALLOW;
5481             description { state: "default" 0.0;
5482                rel1.relative: 0.857142857 0.0;
5483                rel2.relative: 1.000000000 1.0;
5484             }
5485          }
5486       }
5487    }
5488
5489 ///////////////////////////////////////////////////////////////////////////////
5490    group { name: "elm/clock/base-am_pm/default";
5491       parts {
5492          part { name: "d0";
5493             type: SWALLOW;
5494             description { state: "default" 0.0;
5495                rel1.relative: 0.000000000 0.0;
5496                rel2.relative: 0.181818182 1.0;
5497             }
5498          }
5499          part { name: "d1";
5500             type: SWALLOW;
5501             description { state: "default" 0.0;
5502                rel1.relative: 0.181818182 0.0;
5503                rel2.relative: 0.363636364 1.0;
5504             }
5505          }
5506          part { name: "c0";
5507             type: SWALLOW;
5508             type: TEXT;
5509             mouse_events:  0;
5510             scale: 1;
5511             description { state: "default" 0.0;
5512                rel1.relative: 0.363636364 0.0;
5513                rel2.relative: 0.454545455 1.0;
5514                color: 0 0 0 255;
5515                text {
5516                   font:     "Sans,Edje-Vera";
5517                   text:     ":";
5518                   size:     10;
5519                   min:      1 1;
5520                   align:    0.5 0.5;
5521                }
5522             }
5523          }
5524          part { name: "d2";
5525             type: SWALLOW;
5526             description { state: "default" 0.0;
5527                rel1.relative: 0.454545455 0.0;
5528                rel2.relative: 0.636363636 1.0;
5529             }
5530          }
5531          part { name: "d3";
5532             type: SWALLOW;
5533             description { state: "default" 0.0;
5534                rel1.relative: 0.636363636 0.0;
5535                rel2.relative: 0.818181818 1.0;
5536             }
5537          }
5538          // (if am_pm)
5539          part { name: "ampm";
5540             type: SWALLOW;
5541             description { state: "default" 0.0;
5542                rel1.relative: 0.818181818 0.0;
5543                rel2.relative: 1.0 1.0;
5544             }
5545          }
5546       }
5547    }
5548
5549 ///////////////////////////////////////////////////////////////////////////////
5550    group { name: "elm/clock/base/default";
5551       parts {
5552          part { name: "d0";
5553             type: SWALLOW;
5554             description { state: "default" 0.0;
5555                rel1.relative: 0.000000000 0.0;
5556                rel2.relative: 0.222222222 1.0;
5557             }
5558          }
5559          part { name: "d1";
5560             type: SWALLOW;
5561             description { state: "default" 0.0;
5562                rel1.relative: 0.222222222 0.0;
5563                rel2.relative: 0.444444444 1.0;
5564             }
5565          }
5566          part { name: "c0";
5567             type: SWALLOW;
5568             type: TEXT;
5569             mouse_events:  0;
5570             scale: 1;
5571             description { state: "default" 0.0;
5572                rel1.relative: 0.444444444 0.0;
5573                rel2.relative: 0.555555556 1.0;
5574                color: 0 0 0 255;
5575                text {
5576                   font:     "Sans,Edje-Vera";
5577                   text:     ":";
5578                   size:     10;
5579                   min:      1 1;
5580                   align:    0.5 0.5;
5581                }
5582             }
5583          }
5584          part { name: "d2";
5585             type: SWALLOW;
5586             description { state: "default" 0.0;
5587                rel1.relative: 0.555555556 0.0;
5588                rel2.relative: 0.777777778 1.0;
5589             }
5590          }
5591          part { name: "d3";
5592             type: SWALLOW;
5593             description { state: "default" 0.0;
5594                rel1.relative: 0.777777778 0.0;
5595                rel2.relative: 1.000000000 1.0;
5596             }
5597          }
5598       }
5599    }
5600
5601 ///////////////////////////////////////////////////////////////////////////////
5602    group { name: "elm/frame/base/default";
5603        images {
5604            image: "frame_1.png" COMP;
5605            image: "frame_2.png" COMP;
5606            image: "dia_grad.png" COMP;
5607        }
5608        parts {
5609            part { name: "base0";
5610                mouse_events:  0;
5611                description { state: "default" 0.0;
5612                    image.normal: "dia_grad.png";
5613                    rel1.to: "over";
5614                    rel2.to: "over";
5615                    fill {
5616                        smooth: 0;
5617                        size {
5618                            relative: 0.0 1.0;
5619                            offset: 64 0;
5620                        }
5621                    }
5622                }
5623            }
5624            part { name: "base";
5625                mouse_events:  0;
5626                description { state:    "default" 0.0;
5627                    rel2.to: "elm.swallow.content";
5628                    rel2.offset: 9 9;
5629                    image {
5630                        normal: "frame_2.png";
5631                        border: 5 5 32 26;
5632                        middle: 0;
5633                    }
5634                    fill.smooth : 0;
5635                }
5636            }
5637            part { name: "elm.text";
5638                type: TEXT;
5639                mouse_events:   0;
5640                scale: 1;
5641                description { state: "default" 0.0;
5642                    align: 0.0 0.0;
5643                    fixed: 0 1;
5644                    rel1 {
5645                        relative: 0.0 0.0;
5646                        offset: 6 6;
5647                    }
5648                    rel2 {
5649                        relative: 1.0 0.0;
5650                        offset: -7 6;
5651                    }
5652                    color: 0 0 0 64;
5653                    text {
5654                        font: "Sans:style=Bold,Edje-Vera-Bold";
5655                        size: 10;
5656                        min: 1 1;
5657                        max: 1 1;
5658                        align: 0.0 0.0;
5659                    }
5660                }
5661            }
5662            part { name: "over";
5663                mouse_events:  0;
5664                description { state:    "default" 0.0;
5665                    rel1.offset: 4 4;
5666                    rel2.to: "elm.swallow.content";
5667                    rel2.offset: 5 5;
5668                    image {
5669                        normal: "frame_1.png";
5670                        border: 2 2 28 22;
5671                        middle: 0;
5672                    }
5673                    fill.smooth : 0;
5674                }
5675            }
5676            part { name: "elm.swallow.content";
5677                type: SWALLOW;
5678                description { state: "default" 0.0;
5679                    align: 0.0 0.0;
5680                    rel1 {
5681                        to_y: "elm.text";
5682                        relative: 0.0 1.0;
5683                        offset: 8 2;
5684                    }
5685                    rel2.offset: -9 -9;
5686                }
5687            }
5688        }
5689    }
5690
5691    group { name: "elm/frame/base/pad_small";
5692        parts {
5693            part { name: "b0";
5694                mouse_events:  0;
5695                type: RECT;
5696                scale: 1;
5697                description { state: "default" 0.0;
5698                    visible: 0;
5699                    min: 4 4;
5700                    max: 4 4;
5701                    align: 0.0 0.0;
5702                }
5703            }
5704            part { name: "b1";
5705                mouse_events:  0;
5706                type: RECT;
5707                scale: 1;
5708                description { state: "default" 0.0;
5709                    visible: 0;
5710                    min: 4 4;
5711                    max: 4 4;
5712                    align: 1.0 1.0;
5713                }
5714            }
5715            part { name: "elm.swallow.content";
5716                type: SWALLOW;
5717                description { state: "default" 0.0;
5718                    rel1 {
5719                        to: "b0";
5720                        relative: 1.0 1.0;
5721                        offset: 0 0;
5722                    }
5723                    rel2 {
5724                        to: "b1";
5725                        relative: 0.0 0.0;
5726                        offset: -1 -1;
5727                    }
5728                }
5729            }
5730        }
5731    }
5732
5733    group { name: "elm/frame/base/pad_medium";
5734        parts {
5735            part { name: "b0";
5736                mouse_events:  0;
5737                type: RECT;
5738                scale: 1;
5739                description { state: "default" 0.0;
5740                    visible: 0;
5741                    min: 8 8;
5742                    max: 8 8;
5743                    align: 0.0 0.0;
5744                }
5745            }
5746            part { name: "b1";
5747                mouse_events:  0;
5748                type: RECT;
5749                scale: 1;
5750                description { state: "default" 0.0;
5751                    visible: 0;
5752                    min: 8 8;
5753                    max: 8 8;
5754                    align: 1.0 1.0;
5755                }
5756            }
5757            part { name: "elm.swallow.content";
5758                type: SWALLOW;
5759                description { state: "default" 0.0;
5760                    rel1 {
5761                        to: "b0";
5762                        relative: 1.0 1.0;
5763                        offset: 0 0;
5764                    }
5765                    rel2 {
5766                        to: "b1";
5767                        relative: 0.0 0.0;
5768                        offset: -1 -1;
5769                    }
5770                }
5771            }
5772        }
5773    }
5774
5775    group { name: "elm/frame/base/pad_large";
5776        parts {
5777            part { name: "b0";
5778                mouse_events:  0;
5779                type: RECT;
5780                scale: 1;
5781                description { state: "default" 0.0;
5782                    visible: 0;
5783                    min: 16 16;
5784                    max: 16 16;
5785                    align: 0.0 0.0;
5786                }
5787            }
5788            part { name: "b1";
5789                mouse_events:  0;
5790                type: RECT;
5791                scale: 1;
5792                description { state: "default" 0.0;
5793                    visible: 0;
5794                    min: 16 16;
5795                    max: 16 16;
5796                    align: 1.0 1.0;
5797                }
5798            }
5799            part { name: "elm.swallow.content";
5800                type: SWALLOW;
5801                description { state: "default" 0.0;
5802                    rel1 {
5803                        to: "b0";
5804                        relative: 1.0 1.0;
5805                        offset: 0 0;
5806                    }
5807                    rel2 {
5808                        to: "b1";
5809                        relative: 0.0 0.0;
5810                        offset: -1 -1;
5811                    }
5812                }
5813            }
5814        }
5815    }
5816
5817    group { name: "elm/frame/base/pad_huge";
5818        parts {
5819            part { name: "b0";
5820                mouse_events:  0;
5821                type: RECT;
5822                scale: 1;
5823                description { state: "default" 0.0;
5824                    visible: 0;
5825                    min: 32 32;
5826                    max: 32 32;
5827                    align: 0.0 0.0;
5828                }
5829            }
5830            part { name: "b1";
5831                mouse_events:  0;
5832                type: RECT;
5833                scale: 1;
5834                description { state: "default" 0.0;
5835                    visible: 0;
5836                    min: 32 32;
5837                    max: 32 32;
5838                    align: 1.0 1.0;
5839                }
5840            }
5841            part { name: "elm.swallow.content";
5842                type: SWALLOW;
5843                description { state: "default" 0.0;
5844                    rel1 {
5845                        to: "b0";
5846                        relative: 1.0 1.0;
5847                        offset: 0 0;
5848                    }
5849                    rel2 {
5850                        to: "b1";
5851                        relative: 0.0 0.0;
5852                        offset: -1 -1;
5853                    }
5854                }
5855            }
5856        }
5857    }
5858
5859    group { name: "elm/frame/base/outdent_top";
5860        images {
5861            image: "outdent-top.png" COMP;
5862        }
5863        parts {
5864            part { name: "base0";
5865                mouse_events:  0;
5866                description { state: "default" 0.0;
5867                    image.normal: "outdent-top.png";
5868                    image.border: 0 0 0 13;
5869                    fill.smooth: 0;
5870                }
5871            }
5872            part { name: "elm.swallow.content";
5873                type: SWALLOW;
5874                description { state: "default" 0.0;
5875                    rel1.offset: 2 2;
5876                    rel2.offset: -3 -13;
5877                }
5878            }
5879        }
5880    }
5881
5882    group { name: "elm/frame/base/outdent_bottom";
5883        images {
5884            image: "outdent-bottom.png" COMP;
5885        }
5886        parts {
5887            part { name: "base0";
5888                mouse_events:  0;
5889                description { state: "default" 0.0;
5890                    image.normal: "outdent-bottom.png";
5891                    image.border: 0 0 13 0;
5892                    fill.smooth: 0;
5893                }
5894            }
5895            part { name: "elm.swallow.content";
5896                type: SWALLOW;
5897                description { state: "default" 0.0;
5898                    rel1.offset: 2 12;
5899                    rel2.offset: -3 -3;
5900                }
5901            }
5902        }
5903    }
5904
5905 ///////////////////////////////////////////////////////////////////////////////
5906    group { name: "elm/label/base/tooltip";
5907       styles {
5908          style { name: "tooltip_style";
5909             base: "font=Sans font_size=8 color=#666 wrap=word";
5910             tag:  "br" "\n";
5911             tag:  "hilight" "+ font=Sans:style=Bold";
5912             tag:  "b" "+ font=Sans:style=Bold";
5913             tag:  "tab" "\t";
5914          }
5915       }
5916       parts {
5917          part { name: "elm.text";
5918             type: TEXTBLOCK;
5919             mouse_events: 0;
5920             scale: 1;
5921             description { state: "default" 0.0;
5922                text {
5923                   style: "tooltip_style";
5924                   min: 1 1;
5925                }
5926             }
5927          }
5928       }
5929    }
5930
5931    group { name: "elm/tooltip/base/default";
5932        min: 30 30;
5933        data {
5934            item: "pad_x" "20";
5935            item: "pad_y" "20";
5936            item: "pad_border_x" "10";
5937            item: "pad_border_y" "10";
5938            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5939        }
5940        images {
5941            image: "tooltip-base.png" COMP;
5942            image: "tooltip-corner-top-left-tip.png" COMP;
5943            image: "tooltip-corner-top-right-tip.png" COMP;
5944            image: "tooltip-corner-bottom-left-tip.png" COMP;
5945            image: "tooltip-corner-bottom-right-tip.png" COMP;
5946            image: "tooltip-edge-left-tip.png" COMP;
5947            image: "tooltip-edge-right-tip.png" COMP;
5948            image: "tooltip-edge-bottom-tip.png" COMP;
5949            image: "tooltip-edge-top-tip.png" COMP;
5950        }
5951        script {
5952           hide_corners() {
5953              set_state(PART:"corner-top-left", "default", 0.0);
5954              set_state(PART:"corner-top-right", "default", 0.0);
5955              set_state(PART:"corner-bottom-left", "default", 0.0);
5956              set_state(PART:"corner-bottom-right", "default", 0.0);
5957           }
5958           hide_edges() {
5959              set_state(PART:"clipper-edge-left", "default", 0.0);
5960              set_state(PART:"clipper-edge-right", "default", 0.0);
5961              set_state(PART:"clipper-edge-top", "default", 0.0);
5962              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5963           }
5964
5965           show_corner_top_left() {
5966              set_state(PART:"corner-top-left", "visible", 0.0);
5967
5968              set_state(PART:"corner-top-right", "default", 0.0);
5969              set_state(PART:"corner-bottom-left", "default", 0.0);
5970              set_state(PART:"corner-bottom-right", "default", 0.0);
5971              hide_edges();
5972           }
5973           show_corner_top_right() {
5974              set_state(PART:"corner-top-right", "visible", 0.0);
5975
5976              set_state(PART:"corner-top-left", "default", 0.0);
5977              set_state(PART:"corner-bottom-left", "default", 0.0);
5978              set_state(PART:"corner-bottom-right", "default", 0.0);
5979              hide_edges();
5980           }
5981
5982           show_corner_bottom_left() {
5983              set_state(PART:"corner-bottom-left", "visible", 0.0);
5984
5985              set_state(PART:"corner-bottom-right", "default", 0.0);
5986              set_state(PART:"corner-top-left", "default", 0.0);
5987              set_state(PART:"corner-top-right", "default", 0.0);
5988              hide_edges();
5989           }
5990           show_corner_bottom_right() {
5991              set_state(PART:"corner-bottom-right", "visible", 0.0);
5992
5993              set_state(PART:"corner-bottom-left", "default", 0.0);
5994              set_state(PART:"corner-top-left", "default", 0.0);
5995              set_state(PART:"corner-top-right", "default", 0.0);
5996              hide_edges();
5997           }
5998
5999           show_edge_left(Float:val) {
6000              set_state(PART:"clipper-edge-left", "visible", 0.0);
6001              set_drag(PART:"edge-drag-left", 0.0, val);
6002
6003              set_state(PART:"clipper-edge-right", "default", 0.0);
6004              set_state(PART:"clipper-edge-top", "default", 0.0);
6005              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6006              hide_corners();
6007           }
6008           show_edge_right(Float:val) {
6009              set_state(PART:"clipper-edge-right", "visible", 0.0);
6010              set_drag(PART:"edge-drag-right", 0.0, val);
6011
6012              set_state(PART:"clipper-edge-left", "default", 0.0);
6013              set_state(PART:"clipper-edge-top", "default", 0.0);
6014              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6015              hide_corners();
6016           }
6017
6018           show_edge_top(Float:val) {
6019              set_state(PART:"clipper-edge-top", "visible", 0.0);
6020              set_drag(PART:"edge-drag-top", val, 0.0);
6021
6022              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6023              set_state(PART:"clipper-edge-left", "default", 0.0);
6024              set_state(PART:"clipper-edge-right", "default", 0.0);
6025              hide_corners();
6026           }
6027           show_edge_bottom(Float:val) {
6028              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
6029              set_drag(PART:"edge-drag-bottom", val, 0.0);
6030
6031              set_state(PART:"clipper-edge-top", "default", 0.0);
6032              set_state(PART:"clipper-edge-left", "default", 0.0);
6033              set_state(PART:"clipper-edge-right", "default", 0.0);
6034              hide_corners();
6035           }
6036
6037           public message(Msg_Type:type, id, ...) {
6038              if ((type == MSG_FLOAT_SET) && (id == 1)) {
6039                 new Float:x, Float:y;
6040
6041                 x = getfarg(2);
6042                 y = getfarg(3);
6043
6044                 if (x < 0.0)
6045                   {
6046                      if (y < 0.0)      show_corner_top_left();
6047                      else if (y > 1.0) show_corner_bottom_left();
6048                      else              show_edge_left(y);
6049                   }
6050                 else if (x > 1.0)
6051                   {
6052                      if (y < 0.0)      show_corner_top_right();
6053                      else if (y > 1.0) show_corner_bottom_right();
6054                      else              show_edge_right(y);
6055                   }
6056                 else
6057                   {
6058                      if (y < 0.0)      show_edge_top(x);
6059                      else if (y > 1.0) show_edge_bottom(x);
6060                      else
6061                        {
6062                           hide_corners();
6063                           hide_edges();
6064                        }
6065                   }
6066              }
6067           }
6068        }
6069        parts {
6070            part { name: "clipper";
6071                type: RECT;
6072                description { state: "default" 0.0;
6073                    color: 255 255 255 0;
6074                    rel1.to: "elm.swallow.content";
6075                    rel1.offset: -64 -64;
6076                    rel2.to: "elm.swallow.content";
6077                    rel2.offset: 63 63;
6078                }
6079                description { state: "visible" 0.0;
6080                    inherit: "default" 0.0;
6081                    color: 255 255 255 255;
6082                }
6083            }
6084            part { name: "pop";
6085                mouse_events: 0;
6086                clip_to: "clipper";
6087                description { state: "default" 0.0;
6088                    min: 30 30;
6089                    rel1 {
6090                        to: "elm.swallow.content";
6091                        offset: -15 -15;
6092                    }
6093                    rel2 {
6094                        to: "elm.swallow.content";
6095                        offset: 14 14;
6096                    }
6097                    image {
6098                        normal: "tooltip-base.png";
6099                        border: 14 14 14 14;
6100                    }
6101                    image.middle: SOLID;
6102                }
6103            }
6104
6105 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6106            part { name: "corner-"name_;                                 \
6107               type: IMAGE;                                              \
6108               mouse_events: 0;                                          \
6109               clip_to: "clipper";                                       \
6110               description { state: "default" 0.0;                       \
6111                  color: 255 255 255 0;                                  \
6112                  visible: 0;                                            \
6113                  min: 14 14;                                            \
6114                  max: 14 14;                                            \
6115                  align: ax ay;                                          \
6116                  fixed: 1 1;                                            \
6117                  rel1 {                                                 \
6118                     relative: rx ry;                                    \
6119                     offset: ox oy;                                      \
6120                     to: "elm.swallow.content";                          \
6121                  }                                                      \
6122                  rel2 {                                                 \
6123                     relative: rx ry;                                    \
6124                     offset: ox oy;                                      \
6125                     to: "elm.swallow.content";                          \
6126                  }                                                      \
6127                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6128               }                                                         \
6129               description { state: "visible" 0.0;                       \
6130                  inherit: "default" 0.0;                                \
6131                  color: 255 255 255 255;                                \
6132                  visible: 1;                                            \
6133               }                                                         \
6134            }
6135            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6136            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6137            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6138            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6139 #undef TT_CORNER
6140
6141 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6142            part { name: "clipper-edge-"name_;                           \
6143               type: RECT;                                               \
6144               clip_to: "clipper";                                       \
6145               description { state: "default" 0.0;                       \
6146                  color: 255 255 255 0;                                  \
6147                  visible: 0;                                            \
6148                  min: 14 14;                                            \
6149                  align: ax 0.5;                                         \
6150                  fixed: 1 1;                                            \
6151                  rel1 {                                                 \
6152                     relative: rx 0.0;                                   \
6153                     offset: ox 0;                                       \
6154                     to: "elm.swallow.content";                          \
6155                  }                                                      \
6156                  rel2 {                                                 \
6157                     relative: rx 1.0;                                   \
6158                     offset: ox 0;                                       \
6159                     to: "elm.swallow.content";                          \
6160                  }                                                      \
6161               }                                                         \
6162               description { state: "visible" 0.0;                       \
6163                  inherit: "default" 0.0;                                \
6164                  color: 255 255 255 255;                                \
6165                  visible: 1;                                            \
6166               }                                                         \
6167            }                                                            \
6168            part { name: "edge-area-"name_;                              \
6169               type: RECT;                                               \
6170               mouse_events: 0;                                          \
6171               clip_to: "clipper-edge-"name_;                            \
6172               description { state: "default" 0.0;                       \
6173                  color: 0 0 0 0;                                        \
6174                  min: 14 14;                                            \
6175                  align: ax 0.5;                                         \
6176                  fixed: 1 1;                                            \
6177                  rel1 {                                                 \
6178                     relative: rx 0.0;                                   \
6179                     offset: ox 0;                                       \
6180                     to: "elm.swallow.content";                          \
6181                  }                                                      \
6182                  rel2 {                                                 \
6183                     relative: rx 1.0;                                   \
6184                     offset: ox 0;                                       \
6185                     to: "elm.swallow.content";                          \
6186                  }                                                      \
6187               }                                                         \
6188            }                                                            \
6189            part { name: "edge-drag-"name_;                              \
6190               type: RECT;                                               \
6191               mouse_events: 0;                                          \
6192               clip_to: "clipper-edge-"name_;                            \
6193               dragable {                                                \
6194                   x: 0 0 0;                                             \
6195                   y: 1 1 0;                                             \
6196                   confine: "edge-area-"name_;                           \
6197               }                                                         \
6198               description { state: "default" 0.0;                       \
6199                  color: 0 0 0 0;                                        \
6200                  min: 14 14;                                            \
6201                  rel1.to: "edge-area-"name_;                            \
6202                  rel2.to: "edge-area-"name_;                            \
6203               }                                                         \
6204            }                                                            \
6205            part { name: "edge-img-"name_;                               \
6206               type: IMAGE;                                              \
6207               mouse_events: 0;                                          \
6208               clip_to: "clipper-edge-"name_;                            \
6209               description { state: "default" 0.0;                       \
6210                  min: 14 14;                                            \
6211                  max: 14 14;                                            \
6212                  align: ax 0.5;                                         \
6213                  fixed: 1 1;                                            \
6214                  rel1.to: "edge-drag-"name_;                            \
6215                  rel2.to: "edge-drag-"name_;                            \
6216                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6217               }                                                         \
6218            }
6219            TT_EDGE_VERT("left", 0, 1, -2);
6220            TT_EDGE_VERT("right", 1, 0, 1);
6221 #undef TT_EDGE_VERT
6222
6223 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6224            part { name: "clipper-edge-"name_;                           \
6225               type: RECT;                                               \
6226               clip_to: "clipper";                                       \
6227               description { state: "default" 0.0;                       \
6228                  color: 255 255 255 0;                                  \
6229                  visible: 0;                                            \
6230                  min: 14 14;                                            \
6231                  align: 0.5 ay;                                         \
6232                  fixed: 1 1;                                            \
6233                  rel1 {                                                 \
6234                     relative: 0.0 ry;                                   \
6235                     offset: 0 oy;                                       \
6236                     to: "elm.swallow.content";                          \
6237                  }                                                      \
6238                  rel2 {                                                 \
6239                     relative: 1.0 ry;                                   \
6240                     offset: 0 oy;                                       \
6241                     to: "elm.swallow.content";                          \
6242                  }                                                      \
6243               }                                                         \
6244               description { state: "visible" 0.0;                       \
6245                  inherit: "default" 0.0;                                \
6246                  color: 255 255 255 255;                                \
6247                  visible: 1;                                            \
6248               }                                                         \
6249            }                                                            \
6250            part { name: "edge-area-"name_;                              \
6251               type: RECT;                                               \
6252               mouse_events: 0;                                          \
6253               clip_to: "clipper-edge-"name_;                            \
6254               description { state: "default" 0.0;                       \
6255                  color: 0 0 0 0;                                        \
6256                  min: 14 14;                                            \
6257                  align: 0.5 ay;                                         \
6258                  fixed: 1 1;                                            \
6259                  rel1 {                                                 \
6260                     relative: 0.0 ry;                                   \
6261                     offset: 0 oy;                                       \
6262                     to: "elm.swallow.content";                          \
6263                  }                                                      \
6264                  rel2 {                                                 \
6265                     relative: 1.0 ry;                                   \
6266                     offset: 0 oy;                                       \
6267                     to: "elm.swallow.content";                          \
6268                  }                                                      \
6269               }                                                         \
6270            }                                                            \
6271            part { name: "edge-drag-"name_;                              \
6272               type: RECT;                                               \
6273               mouse_events: 0;                                          \
6274               clip_to: "clipper-edge-"name_;                            \
6275               dragable {                                                \
6276                   x: 1 1 0;                                             \
6277                   y: 0 0 0;                                             \
6278                   confine: "edge-area-"name_;                           \
6279               }                                                         \
6280               description { state: "default" 0.0;                       \
6281                  color: 0 0 0 0;                                        \
6282                  min: 14 14;                                            \
6283                  rel1.to: "edge-area-"name_;                            \
6284                  rel2.to: "edge-area-"name_;                            \
6285               }                                                         \
6286            }                                                            \
6287            part { name: "edge-img-"name_;                               \
6288               type: IMAGE;                                              \
6289               mouse_events: 0;                                          \
6290               clip_to: "clipper-edge-"name_;                            \
6291               description { state: "default" 0.0;                       \
6292                  min: 14 14;                                            \
6293                  max: 14 14;                                            \
6294                  align: 0.5 ay;                                         \
6295                  fixed: 1 1;                                            \
6296                  rel1.to: "edge-drag-"name_;                            \
6297                  rel2.to: "edge-drag-"name_;                            \
6298                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6299               }                                                         \
6300            }
6301            TT_EDGE_HORIZ("top", 0, 1, -2);
6302            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6303 #undef TT_EDGE_HORIZ
6304
6305            part { name: "clipper_content";
6306                type: RECT;
6307                description { state: "default" 0.0;
6308                    color: 255 255 255 0;
6309                    rel1.to: "elm.swallow.content";
6310                    rel1.offset: -64 -64;
6311                    rel2.to: "elm.swallow.content";
6312                    rel2.offset: 63 63;
6313                }
6314                description { state: "visible" 0.0;
6315                    inherit: "default" 0.0;
6316                    color: 255 255 255 255;
6317                }
6318            }
6319            part { name: "elm.swallow.content";
6320                type: SWALLOW;
6321                clip_to: "clipper_content";
6322                description { state: "default" 0.0; }
6323            }
6324            programs {
6325                program {
6326                    name: "show0";
6327                    signal: "elm,action,show";
6328                    source: "elm";
6329                    action: ACTION_STOP;
6330                    target: "hide0";
6331                    target: "hide1";
6332                    target: "hide2";
6333                    target: "hide3";
6334                    after: "show1";
6335                    after: "show2";
6336                }
6337                program {
6338                    name: "show1";
6339                    action: STATE_SET "visible" 0.0;
6340                    transition: LINEAR 0.15;
6341                    target: "clipper";
6342                }
6343                program {
6344                    name: "show2";
6345                    in: 0.1 0.0;
6346                    action: STATE_SET "visible" 0.0;
6347                    transition: LINEAR 0.15;
6348                    target: "clipper_content";
6349                }
6350
6351                program {
6352                    name: "hide0";
6353                    signal: "elm,action,hide";
6354                    source: "elm";
6355                    action: ACTION_STOP;
6356                    target: "show0";
6357                    target: "show1";
6358                    target: "show2";
6359                    after: "hide1";
6360                    after: "hide2";
6361                    after: "hide3";
6362                }
6363                program {
6364                    name: "hide1";
6365                    script {
6366                       hide_corners();
6367                       hide_edges();
6368                    }
6369                }
6370                program {
6371                    name: "hide2";
6372                    action: STATE_SET "default" 0.0;
6373                    transition: LINEAR 0.1;
6374                    target: "clipper_content";
6375                }
6376                program {
6377                    name: "hide3";
6378                    in: 0.1 0.0;
6379                    action: STATE_SET "default" 0.0;
6380                    transition: LINEAR 0.1;
6381                    target: "clipper";
6382                }
6383            }
6384        }
6385    }
6386    group { name: "elm/tooltip/base/transparent";
6387       parts {
6388          part { name: "elm.swallow.content";
6389             type: SWALLOW;
6390             mouse_events:   0;
6391             scale: 1;
6392             description { state: "default" 0.0; }
6393          }
6394       }
6395    }
6396
6397 ///////////////////////////////////////////////////////////////////////////////
6398
6399    /* TODO: replicate diagonal swallow slots to the other hover styles */
6400    group { name: "elm/hover/base/default";
6401       images {
6402          image: "shad_circ.png" COMP;
6403       }
6404       parts {
6405          part { name: "elm.swallow.offset";
6406             type: SWALLOW;
6407             description { state: "default" 0.0;
6408                align: 0.0 0.0;
6409                rel1.relative: 0.0 0.0;
6410                rel2.relative: 0.0 0.0;
6411             }
6412          }
6413          part { name: "elm.swallow.size";
6414             type: SWALLOW;
6415             description { state: "default" 0.0;
6416                align: 0.0 0.0;
6417                rel1.to: "elm.swallow.offset";
6418                rel1.relative: 1.0 1.0;
6419                rel2.to: "elm.swallow.offset";
6420                rel2.relative: 1.0 1.0;
6421             }
6422          }
6423          part { name: "base";
6424             type: RECT;
6425             mouse_events: 1;
6426             description { state: "default" 0.0;
6427                color: 0 0 0 64;
6428             }
6429          }
6430          part { name: "shad";
6431             mouse_events:  0;
6432             description { state: "default" 0.0;
6433                image.normal: "shad_circ.png";
6434                rel1.to: "elm.swallow.size";
6435                rel1.offset: -32 -32;
6436                rel2.to: "elm.swallow.size";
6437                rel2.offset: 31 31;
6438                fill.smooth: 0;
6439             }
6440          }
6441          part { name: "box";
6442             type: RECT;
6443             mouse_events: 0;
6444             description { state: "default" 0.0;
6445                color: 0 0 0 0;
6446                rel1.to: "elm.swallow.size";
6447                rel1.offset: -2 -2;
6448                rel2.to: "elm.swallow.size";
6449                rel2.offset: 1 1;
6450             }
6451          }
6452          part { name: "elm.swallow.slot.left";
6453             type: SWALLOW;
6454             description { state: "default" 0.0;
6455                align: 1.0 0.5;
6456                rel1.to: "elm.swallow.slot.middle";
6457                rel1.relative: 0.0 0.0;
6458                rel1.offset: -1 0;
6459                rel2.to: "elm.swallow.slot.middle";
6460                rel2.relative: 0.0 1.0;
6461                rel2.offset: -1 -1;
6462             }
6463          }
6464          part { name: "elm.swallow.slot.top-left";
6465             type: SWALLOW;
6466             description { state: "default" 0.0;
6467                align: 1.0 1.0;
6468                rel1.to: "elm.swallow.slot.middle";
6469                rel1.relative: 0.0 0.0;
6470                rel1.offset: 0 0;
6471                rel2.to: "elm.swallow.slot.middle";
6472                rel2.relative: 0.0 0.0;
6473                rel2.offset: -1 -1;
6474             }
6475          }
6476          part { name: "elm.swallow.slot.top";
6477             type: SWALLOW;
6478             description { state: "default" 0.0;
6479                align: 0.5 1.0;
6480                rel1.to: "elm.swallow.slot.middle";
6481                rel1.relative: 0.0 0.0;
6482                rel1.offset: 0 -1;
6483                rel2.to: "elm.swallow.slot.middle";
6484                rel2.relative: 1.0 0.0;
6485                rel2.offset: -1 -1;
6486             }
6487          }
6488          part { name: "elm.swallow.slot.top-right";
6489             type: SWALLOW;
6490             description { state: "default" 0.0;
6491                align: 0.0 1.0;
6492                rel1.to: "elm.swallow.slot.middle";
6493                rel1.relative: 1.0 0.0;
6494                rel1.offset: 0 0;
6495                rel2.to: "elm.swallow.slot.middle";
6496                rel2.relative: 1.0 0.0;
6497                rel2.offset: -1 -1;
6498             }
6499          }
6500          part { name: "elm.swallow.slot.right";
6501             type: SWALLOW;
6502             description { state: "default" 0.0;
6503                align: 0.0 0.5;
6504                rel1.to: "elm.swallow.slot.middle";
6505                rel1.relative: 1.0 0.0;
6506                rel1.offset: 0 0;
6507                rel2.to: "elm.swallow.slot.middle";
6508                rel2.relative: 1.0 1.0;
6509                rel2.offset: 0 -1;
6510             }
6511          }
6512          part { name: "elm.swallow.slot.bottom-right";
6513             type: SWALLOW;
6514             description { state: "default" 0.0;
6515                align: 0.0 0.0;
6516                rel1.to: "elm.swallow.slot.middle";
6517                rel1.relative: 1.0 1.0;
6518                rel1.offset: 0 0;
6519                rel2.to: "elm.swallow.slot.middle";
6520                rel2.relative: 1.0 1.0;
6521                rel2.offset: -1 -1;
6522             }
6523          }
6524          part { name: "elm.swallow.slot.bottom";
6525             type: SWALLOW;
6526             description { state: "default" 0.0;
6527                align: 0.5 0.0;
6528                rel1.to: "elm.swallow.slot.middle";
6529                rel1.relative: 0.0 1.0;
6530                rel1.offset: 0 0;
6531                rel2.to: "elm.swallow.slot.middle";
6532                rel2.relative: 1.0 1.0;
6533                rel2.offset: -1 0;
6534             }
6535          }
6536          part { name: "elm.swallow.slot.bottom-left";
6537             type: SWALLOW;
6538             description { state: "default" 0.0;
6539                align: 1.0 0.0;
6540                rel1.to: "elm.swallow.slot.middle";
6541                rel1.relative: 0.0 1.0;
6542                rel1.offset: 0 0;
6543                rel2.to: "elm.swallow.slot.middle";
6544                rel2.relative: 0.0 1.0;
6545                rel2.offset: -1 0;
6546             }
6547          }
6548          part { name: "elm.swallow.slot.middle";
6549             type: SWALLOW;
6550             description { state: "default" 0.0;
6551                rel1.to: "elm.swallow.size";
6552                rel2.to: "elm.swallow.size";
6553             }
6554          }
6555       }
6556       programs {
6557          program { name: "end";
6558             signal: "mouse,up,1";
6559             source: "base";
6560             action: SIGNAL_EMIT "elm,action,dismiss" "";
6561          }
6562       }
6563    }
6564
6565    group { name: "elm/hover/base/popout";
6566       images {
6567          image: "shad_circ.png" COMP;
6568          image: "bt_dis_base.png" COMP;
6569          image: "bt_dis_hilight.png" COMP;
6570       }
6571       parts {
6572          part { name: "elm.swallow.offset";
6573             type: SWALLOW;
6574             description { state: "default" 0.0;
6575                align: 0.0 0.0;
6576                rel1.relative: 0.0 0.0;
6577                rel2.relative: 0.0 0.0;
6578             }
6579          }
6580          part { name: "elm.swallow.size";
6581             type: SWALLOW;
6582             description { state: "default" 0.0;
6583                align: 0.0 0.0;
6584                rel1.to: "elm.swallow.offset";
6585                rel1.relative: 1.0 1.0;
6586                rel2.to: "elm.swallow.offset";
6587                rel2.relative: 1.0 1.0;
6588             }
6589          }
6590          part { name: "base";
6591             type: RECT;
6592             mouse_events: 1;
6593             description { state: "default" 0.0;
6594                color: 0 0 0 0;
6595             }
6596             description { state: "visible" 0.0;
6597                inherit: "default" 1.0;
6598                color: 0 0 0 64;
6599             }
6600          }
6601          part { name: "leftclip";
6602             type: RECT;
6603             description { state: "default" 0.0;
6604                rel2.to_x: "pop";
6605                rel2.relative: 0.0 1.0;
6606                rel2.offset: 1 -1;
6607             }
6608          }
6609          part { name: "left";
6610             clip_to: "leftclip";
6611             description { state: "default" 0.0;
6612                visible: 0;
6613                rel1.to: "elm.swallow.slot.left";
6614                rel1.offset: -5 -5;
6615                rel2.to: "elm.swallow.slot.left";
6616                rel2.offset: 4 4;
6617                image {
6618                   normal: "bt_dis_base.png";
6619                   border: 4 4 4 4;
6620                }
6621                image.middle: SOLID;
6622             }
6623             description { state: "visible" 0.0;
6624                inherit: "default" 0.0;
6625                visible: 1;
6626             }
6627          }
6628          part { name: "elm.swallow.slot.left";
6629             type: SWALLOW;
6630             clip_to: "leftclip";
6631             description { state: "default" 0.0;
6632                align: 0.0 0.5;
6633                rel1.to: "elm.swallow.slot.middle";
6634                rel1.relative: 0.0 0.0;
6635                rel1.offset: -1 0;
6636                rel2.to: "elm.swallow.slot.middle";
6637                rel2.relative: 0.0 1.0;
6638                rel2.offset: -1 -1;
6639             }
6640             description { state: "visible" 0.0;
6641                inherit: "default" 0.0;
6642                rel1.offset: -7 0;
6643                rel2.offset: -7 -1;
6644                align: 1.0 0.5;
6645             }
6646          }
6647          part { name: "leftover";
6648             clip_to: "leftclip";
6649             mouse_events: 0;
6650             description { state: "default" 0.0;
6651                rel1.to: "left";
6652                rel2.to: "left";
6653                rel2.relative: 1.0 0.5;
6654                image {
6655                   normal: "bt_dis_hilight.png";
6656                   border: 4 4 4 0;
6657                }
6658             }
6659          }
6660          part { name: "rightclip";
6661             type: RECT;
6662             description { state: "default" 0.0;
6663                rel1.to_x: "pop";
6664                rel1.relative: 1.0 0.0;
6665                rel1.offset: -2 0;
6666             }
6667          }
6668          part { name: "right";
6669             clip_to: "rightclip";
6670             description { state: "default" 0.0;
6671                visible: 0;
6672                rel1.to: "elm.swallow.slot.right";
6673                rel1.offset: -5 -5;
6674                rel2.to: "elm.swallow.slot.right";
6675                rel2.offset: 4 4;
6676                image {
6677                   normal: "bt_dis_base.png";
6678                   border: 4 4 4 4;
6679                }
6680                image.middle: SOLID;
6681             }
6682             description { state: "visible" 0.0;
6683                inherit: "default" 0.0;
6684                visible: 1;
6685             }
6686          }
6687          part { name: "elm.swallow.slot.right";
6688             type: SWALLOW;
6689             clip_to: "rightclip";
6690             description { state: "default" 0.0;
6691                align: 1.0 0.5;
6692                rel1.to: "elm.swallow.slot.middle";
6693                rel1.relative: 1.0 0.0;
6694                rel1.offset: 0 0;
6695                rel2.to: "elm.swallow.slot.middle";
6696                rel2.relative: 1.0 1.0;
6697                rel2.offset: 0 -1;
6698             }
6699             description { state: "visible" 0.0;
6700                inherit: "default" 0.0;
6701                rel1.offset: 6 0;
6702                rel2.offset: 6 -1;
6703                align: 0.0 0.5;
6704             }
6705          }
6706          part { name: "rightover";
6707             clip_to: "rightclip";
6708             mouse_events: 0;
6709             description { state: "default" 0.0;
6710                rel1.to: "right";
6711                rel2.to: "right";
6712                rel2.relative: 1.0 0.5;
6713                image {
6714                   normal: "bt_dis_hilight.png";
6715                   border: 4 4 4 0;
6716                }
6717             }
6718          }
6719          part { name: "topclip";
6720             type: RECT;
6721             description { state: "default" 0.0;
6722                rel2.to_y: "pop";
6723                rel2.relative: 1.0 0.0;
6724                rel2.offset: -1 1;
6725             }
6726          }
6727          part { name: "top";
6728             clip_to: "topclip";
6729             description { state: "default" 0.0;
6730                visible: 0;
6731                rel1.to: "elm.swallow.slot.top";
6732                rel1.offset: -5 -5;
6733                rel2.to: "elm.swallow.slot.top";
6734                rel2.offset: 4 4;
6735                image {
6736                   normal: "bt_dis_base.png";
6737                   border: 4 4 4 4;
6738                }
6739                image.middle: SOLID;
6740             }
6741             description { state: "visible" 0.0;
6742                inherit: "default" 0.0;
6743                visible: 1;
6744             }
6745          }
6746          part { name: "elm.swallow.slot.top";
6747             type: SWALLOW;
6748             clip_to: "topclip";
6749             description { state: "default" 0.0;
6750                visible: 1;
6751                align: 0.5 0.0;
6752                rel1.to: "elm.swallow.slot.middle";
6753                rel1.relative: 0.0 0.0;
6754                rel1.offset: 0 -1;
6755                rel2.to: "elm.swallow.slot.middle";
6756                rel2.relative: 1.0 0.0;
6757                rel2.offset: -1 -1;
6758             }
6759             description { state: "visible" 0.0;
6760                inherit: "default" 0.0;
6761                rel1.offset: 0 -7;
6762                rel2.offset: -1 -7;
6763                align: 0.5 1.0;
6764             }
6765          }
6766          part { name: "topover";
6767             clip_to: "topclip";
6768             mouse_events: 0;
6769             description { state: "default" 0.0;
6770                rel1.to: "top";
6771                rel2.to: "top";
6772                rel2.relative: 1.0 0.5;
6773                image {
6774                   normal: "bt_dis_hilight.png";
6775                   border: 4 4 4 0;
6776                }
6777             }
6778          }
6779          part { name: "bottomclip";
6780             type: RECT;
6781             description { state: "default" 0.0;
6782                rel1.to_y: "pop";
6783                rel1.relative: 0.0 1.0;
6784                rel1.offset: -1 -2;
6785             }
6786          }
6787          part { name: "bottom";
6788             clip_to: "bottomclip";
6789             description { state: "default" 0.0;
6790                visible: 0;
6791                rel1.to: "elm.swallow.slot.bottom";
6792                rel1.offset: -5 -5;
6793                rel2.to: "elm.swallow.slot.bottom";
6794                rel2.offset: 4 4;
6795                image {
6796                   normal: "bt_dis_base.png";
6797                   border: 4 4 4 4;
6798                }
6799                image.middle: SOLID;
6800             }
6801             description { state: "visible" 0.0;
6802                inherit: "default" 0.0;
6803                visible: 1;
6804             }
6805          }
6806          part { name: "elm.swallow.slot.bottom";
6807             type: SWALLOW;
6808             clip_to: "bottomclip";
6809             description { state: "default" 0.0;
6810                align: 0.5 1.0;
6811                rel1.to: "elm.swallow.slot.middle";
6812                rel1.relative: 0.0 1.0;
6813                rel1.offset: 0 0;
6814                rel2.to: "elm.swallow.slot.middle";
6815                rel2.relative: 1.0 1.0;
6816                rel2.offset: -1 0;
6817             }
6818             description { state: "visible" 0.0;
6819                inherit: "default" 0.0;
6820                rel1.offset: 0 6;
6821                rel2.offset: -1 6;
6822                align: 0.5 0.0;
6823             }
6824          }
6825          part { name: "bottomover";
6826             clip_to: "bottomclip";
6827             mouse_events: 0;
6828             description { state: "default" 0.0;
6829                rel1.to: "bottom";
6830                rel2.to: "bottom";
6831                rel2.relative: 1.0 0.5;
6832                image {
6833                   normal: "bt_dis_hilight.png";
6834                   border: 4 4 4 0;
6835                }
6836             }
6837          }
6838          part { name: "shad";
6839             mouse_events:  0;
6840             description { state: "default" 0.0;
6841                image.normal: "shad_circ.png";
6842                rel1.to: "elm.swallow.size";
6843                rel1.offset: -64 -64;
6844                rel2.to: "elm.swallow.size";
6845                rel2.offset: 63 63;
6846                fill.smooth: 0;
6847             }
6848          }
6849          part { name: "pop";
6850             mouse_events: 1;
6851             description { state: "default" 0.0;
6852                rel1.to: "elm.swallow.slot.middle";
6853                rel1.offset: -5 -5;
6854                rel2.to: "elm.swallow.slot.middle";
6855                rel2.offset: 4 4;
6856                image {
6857                   normal: "bt_dis_base.png";
6858                   border: 4 4 4 4;
6859                }
6860                image.middle: SOLID;
6861             }
6862          }
6863          part { name: "elm.swallow.slot.middle";
6864             type: SWALLOW;
6865             description { state: "default" 0.0;
6866                rel1.to: "elm.swallow.size";
6867                rel2.to: "elm.swallow.size";
6868             }
6869          }
6870          part { name: "popover";
6871             mouse_events: 0;
6872             description { state: "default" 0.0;
6873                rel1.to: "pop";
6874                rel2.to: "pop";
6875                rel2.relative: 1.0 0.5;
6876                image {
6877                   normal: "bt_dis_hilight.png";
6878                   border: 4 4 4 0;
6879                }
6880             }
6881          }
6882       }
6883       programs {
6884          program { name: "end";
6885             signal: "mouse,up,1";
6886             source: "base";
6887             action: SIGNAL_EMIT "elm,action,dismiss" "";
6888          }
6889
6890          program { name: "show";
6891             signal: "elm,action,show";
6892             source: "elm";
6893             action: STATE_SET "visible" 0.0;
6894 //            transition: DECELERATE 0.5;
6895             target: "base";
6896          }
6897          program { name: "hide";
6898             signal: "elm,action,hide";
6899             source: "elm";
6900             action: STATE_SET "default" 0.0;
6901 //            transition: DECELERATE 0.5;
6902             target: "base";
6903          }
6904
6905          program { name: "leftshow";
6906             signal: "elm,action,slot,left,show";
6907             source: "elm";
6908             action: STATE_SET "visible" 0.0;
6909             transition: DECELERATE 0.5;
6910             target: "left";
6911             target: "elm.swallow.slot.left";
6912          }
6913          program { name: "lefthide";
6914             signal: "elm,action,slot,left,hide";
6915             source: "elm";
6916             action: STATE_SET "default" 0.0;
6917             transition: DECELERATE 0.5;
6918             target: "left";
6919             target: "elm.swallow.slot.left";
6920          }
6921          program { name: "rightshow";
6922             signal: "elm,action,slot,right,show";
6923             source: "elm";
6924             action: STATE_SET "visible" 0.0;
6925             transition: DECELERATE 0.5;
6926             target: "right";
6927             target: "elm.swallow.slot.right";
6928          }
6929          program { name: "righthide";
6930             signal: "elm,action,slot,right,hide";
6931             source: "elm";
6932             action: STATE_SET "default" 0.0;
6933             transition: DECELERATE 0.5;
6934             target: "right";
6935             target: "elm.swallow.slot.right";
6936          }
6937          program { name: "topshow";
6938             signal: "elm,action,slot,top,show";
6939             source: "elm";
6940             action: STATE_SET "visible" 0.0;
6941             transition: DECELERATE 0.5;
6942             target: "top";
6943             target: "elm.swallow.slot.top";
6944          }
6945          program { name: "tophide";
6946             signal: "elm,action,slot,top,hide";
6947             source: "elm";
6948             action: STATE_SET "default" 0.0;
6949             transition: DECELERATE 0.5;
6950             target: "top";
6951             target: "elm.swallow.slot.top";
6952          }
6953          program { name: "bottomshow";
6954             signal: "elm,action,slot,bottom,show";
6955             source: "elm";
6956             action: STATE_SET "visible" 0.0;
6957             transition: DECELERATE 0.5;
6958             target: "bottom";
6959             target: "elm.swallow.slot.bottom";
6960          }
6961          program { name: "bottomhide";
6962             signal: "elm,action,slot,bottom,hide";
6963             source: "elm";
6964             action: STATE_SET "default" 0.0;
6965             transition: DECELERATE 0.5;
6966             target: "bottom";
6967             target: "elm.swallow.slot.bottom";
6968          }
6969       }
6970    }
6971
6972    //In the hover used by the menu only the bottom part is used.
6973    group { name: "elm/hover/base/menu";
6974        images {
6975            image: "shad_circ.png" COMP;
6976            image: "bt_dis_base.png" COMP;
6977        }
6978        parts {
6979            part { name: "elm.swallow.offset";
6980                type: SWALLOW;
6981                description { state: "default" 0.0;
6982                    align: 0.0 0.0;
6983                    rel1.relative: 0.0 0.0;
6984                    rel2.relative: 0.0 0.0;
6985                }
6986            }
6987            part { name: "elm.swallow.size";
6988                type: SWALLOW;
6989                description { state: "default" 0.0;
6990                    align: 0.0 0.0;
6991                    rel1.to: "elm.swallow.offset";
6992                    rel1.relative: 1.0 1.0;
6993                    rel2.to: "elm.swallow.offset";
6994                    rel2.relative: 1.0 1.0;
6995                }
6996            }
6997            part { name: "base";
6998                type: RECT;
6999                mouse_events: 1;
7000                description { state: "default" 0.0;
7001                    color: 0 0 0 0;
7002                }
7003                description { state: "visible" 0.0;
7004                    inherit: "default" 1.0;
7005                    color: 0 0 0 64;
7006                }
7007            }
7008            part { name: "elm.swallow.slot.left";
7009                type: SWALLOW;
7010                description { state: "default" 0.0;
7011                }
7012            }
7013            part { name: "elm.swallow.slot.right";
7014                type: SWALLOW;
7015                description { state: "default" 0.0;
7016                }
7017            }
7018            part { name: "elm.swallow.slot.top";
7019                type: SWALLOW;
7020                description { state: "default" 0.0;
7021                }
7022                description { state: "visible" 0.0;
7023                    inherit: "default" 0.0;
7024                }
7025            }
7026            part { name: "bottomclip";
7027                type: RECT;
7028                description { state: "default" 0.0;
7029                    rel1.to_y: "pop";
7030                    rel1.relative: 0.0 1.0;
7031                    rel1.offset: -1 -2;
7032                }
7033            }
7034            part { name: "bottom";
7035                clip_to: "bottomclip";
7036                description { state: "default" 0.0;
7037                    visible: 0;
7038                    rel1.to: "elm.swallow.slot.bottom";
7039                    rel1.offset: -5 -5;
7040                    rel2.to: "elm.swallow.slot.bottom";
7041                    rel2.offset: 4 4;
7042                    image {
7043                        normal: "bt_dis_base.png";
7044                        border: 4 4 4 4;
7045                    }
7046                    image.middle: SOLID;
7047                }
7048                description { state: "visible" 0.0;
7049                    inherit: "default" 0.0;
7050                    visible: 1;
7051                }
7052            }
7053            part { name: "elm.swallow.slot.bottom";
7054                type: SWALLOW;
7055                clip_to: "bottomclip";
7056                description { state: "default" 0.0;
7057                    align: 0.5 1.0;
7058                    rel1.to: "elm.swallow.slot.middle";
7059                    rel1.relative: 0.0 1.0;
7060                    rel1.offset: 0 0;
7061                    rel2.to: "elm.swallow.slot.middle";
7062                    rel2.relative: 1.0 1.0;
7063                    rel2.offset: -1 0;
7064                }
7065                description { state: "visible" 0.0;
7066                    inherit: "default" 0.0;
7067                    rel1.offset: 0 6;
7068                    rel2.offset: -1 6;
7069                    align: 0.5 0.0;
7070                }
7071            }
7072            part { name: "pop";
7073                mouse_events: 1;
7074                repeat_events:1;
7075                description { state: "default" 0.0;
7076                    rel1.to: "elm.swallow.slot.middle";
7077                    rel1.offset: -5 -5;
7078                    rel2.to: "elm.swallow.slot.middle";
7079                    rel2.offset: 4 4;
7080                }
7081            }
7082            part { name: "elm.swallow.slot.middle";
7083                type: SWALLOW;
7084                repeat_events:1;
7085                description { state: "default" 0.0;
7086                    rel1.to: "elm.swallow.size";
7087                    rel2.to: "elm.swallow.size";
7088                }
7089            }
7090        }
7091        programs {
7092            program { name: "end";
7093                signal: "mouse,up,1";
7094                source: "base";
7095                action: SIGNAL_EMIT "elm,action,dismiss" "";
7096            }
7097            program { name: "show";
7098                signal: "elm,action,show";
7099                source: "elm";
7100                action: STATE_SET "visible" 0.0;
7101                        //            transition: DECELERATE 0.5;
7102                target: "base";
7103            }
7104            program { name: "hide";
7105                signal: "elm,action,hide";
7106                source: "elm";
7107                action: STATE_SET "default" 0.0;
7108                        //            transition: DECELERATE 0.5;
7109                target: "base";
7110            }
7111            program { name: "bottomshow";
7112                signal: "elm,action,slot,bottom,show";
7113                source: "elm";
7114                action: STATE_SET "visible" 0.0;
7115                transition: DECELERATE 0.3;
7116                target: "bottom";
7117                target: "elm.swallow.slot.bottom";
7118            }
7119            program { name: "bottomhide";
7120                signal: "elm,action,slot,bottom,hide";
7121                source: "elm";
7122                action: STATE_SET "default" 0.0;
7123                transition: DECELERATE 0.5;
7124                target: "bottom";
7125                target: "elm.swallow.slot.bottom";
7126            }
7127        }
7128    }
7129
7130    //In the hover used by the submenu only the bottom part is used
7131    //and no part should interact except the bottom area
7132    group { name: "elm/hover/base/submenu";
7133        images {
7134            image: "shad_circ.png" COMP;
7135            image: "bt_dis_base.png" COMP;
7136        }
7137        parts {
7138            part { name: "elm.swallow.offset";
7139                type: SWALLOW;
7140                repeat_events:1;
7141                description { state: "default" 0.0;
7142                    align: 0.0 0.0;
7143                    rel1.relative: 0.0 0.0;
7144                    rel2.relative: 0.0 0.0;
7145                }
7146            }
7147            part { name: "elm.swallow.size";
7148                type: SWALLOW;
7149                description { state: "default" 0.0;
7150                    align: 0.0 0.0;
7151                    rel1.to: "elm.swallow.offset";
7152                    rel1.relative: 1.0 1.0;
7153                    rel2.to: "elm.swallow.offset";
7154                    rel2.relative: 1.0 1.0;
7155                }
7156            }
7157            //here we do non catch events like the hover hover does
7158            part { name: "base";
7159                type: RECT;
7160                mouse_events: 1;
7161                description { state: "default" 0.0;
7162                    color: 0 0 0 0;
7163                    visible: 0;
7164                }
7165            }
7166            part { name: "elm.swallow.slot.left";
7167                type: SWALLOW;
7168                description { state: "default" 0.0;
7169                }
7170            }
7171            part { name: "elm.swallow.slot.right";
7172                type: SWALLOW;
7173                description { state: "default" 0.0;
7174                }
7175            }
7176            part { name: "elm.swallow.slot.top";
7177                type: SWALLOW;
7178                description { state: "default" 0.0;
7179                }
7180            }
7181            part { name: "bottomclip";
7182                type: RECT;
7183                description { state: "default" 0.0;
7184                    rel1.to_y: "pop";
7185                    rel1.relative: 0.0 1.0;
7186                    rel1.offset: -1 -2;
7187                }
7188            }
7189            part { name: "bottom";
7190                clip_to: "bottomclip";
7191                description { state: "default" 0.0;
7192                    visible: 0;
7193                    rel1.to: "elm.swallow.slot.bottom";
7194                    rel1.offset: -5 -5;
7195                    rel2.to: "elm.swallow.slot.bottom";
7196                    rel2.offset: 4 4;
7197                    image {
7198                        normal: "bt_dis_base.png";
7199                        border: 4 4 4 4;
7200                    }
7201                    image.middle: SOLID;
7202                }
7203                description { state: "visible" 0.0;
7204                    inherit: "default" 0.0;
7205                    visible: 1;
7206                }
7207            }
7208            part { name: "elm.swallow.slot.bottom";
7209                type: SWALLOW;
7210                clip_to: "bottomclip";
7211                description { state: "default" 0.0;
7212                    align: 0.5 1.0;
7213                    rel1.to: "elm.swallow.slot.middle";
7214                    rel1.relative: 0.0 1.0;
7215                    rel1.offset: 0 0;
7216                    rel2.to: "elm.swallow.slot.middle";
7217                    rel2.relative: 1.0 1.0;
7218                    rel2.offset: -1 0;
7219                }
7220                description { state: "visible" 0.0;
7221                    inherit: "default" 0.0;
7222                    rel1.offset: 0 6;
7223                    rel2.offset: -1 6;
7224                    align: 0.5 0.0;
7225                }
7226            }
7227            part { name: "pop";
7228                mouse_events: 1;
7229                repeat_events:1;
7230                description { state: "default" 0.0;
7231                    rel1.to: "elm.swallow.slot.middle";
7232                    rel1.offset: -5 -5;
7233                    rel2.to: "elm.swallow.slot.middle";
7234                    rel2.offset: 4 4;
7235                }
7236            }
7237            part { name: "elm.swallow.slot.middle";
7238                type: SWALLOW;
7239                repeat_events:1;
7240                description { state: "default" 0.0;
7241                    rel1.to: "elm.swallow.size";
7242                    rel2.to: "elm.swallow.size";
7243                }
7244            }
7245        }
7246        programs {
7247            program { name: "end";
7248                signal: "mouse,up,1";
7249                source: "base";
7250                action: SIGNAL_EMIT "elm,action,dismiss" "";
7251            }
7252            program { name: "show";
7253                signal: "elm,action,show";
7254                source: "elm";
7255                action: STATE_SET "visible" 0.0;
7256                        //            transition: DECELERATE 0.5;
7257                target: "base";
7258            }
7259            program { name: "hide";
7260                signal: "elm,action,hide";
7261                source: "elm";
7262                action: STATE_SET "default" 0.0;
7263                        //            transition: DECELERATE 0.5;
7264                target: "base";
7265            }
7266            program { name: "bottomshow";
7267                signal: "elm,action,slot,bottom,show";
7268                source: "elm";
7269                action: STATE_SET "visible" 0.0;
7270                transition: DECELERATE 0.3;
7271                target: "bottom";
7272                target: "elm.swallow.slot.bottom";
7273            }
7274            program { name: "bottomhide";
7275                signal: "elm,action,slot,bottom,hide";
7276                source: "elm";
7277                action: STATE_SET "default" 0.0;
7278                transition: DECELERATE 0.5;
7279                target: "bottom";
7280                target: "elm.swallow.slot.bottom";
7281            }
7282        }
7283    }
7284
7285    group { name: "elm/hover/base/hoversel_vertical/default";
7286       alias: "elm/hover/base/hoversel_vertical/entry";
7287       images {
7288 //         image: "shad_circ.png" COMP;
7289          image: "bt_base2.png" COMP;
7290          image: "bt_hilight.png" COMP;
7291          image: "bt_shine.png" COMP;
7292          image: "outdent-top.png" COMP;
7293          image: "outdent-bottom.png" COMP;
7294       }
7295       parts {
7296          part { name: "elm.swallow.offset";
7297             type: SWALLOW;
7298             description { state: "default" 0.0;
7299                align: 0.0 0.0;
7300                rel1.relative: 0.0 0.0;
7301                rel2.relative: 0.0 0.0;
7302             }
7303          }
7304          part { name: "elm.swallow.size";
7305             type: SWALLOW;
7306             description { state: "default" 0.0;
7307                align: 0.0 0.0;
7308                rel1.to: "elm.swallow.offset";
7309                rel1.relative: 1.0 1.0;
7310                rel2.to: "elm.swallow.offset";
7311                rel2.relative: 1.0 1.0;
7312             }
7313          }
7314 /*
7315         part { name: "shad";
7316             mouse_events:  0;
7317             description { state: "default" 0.0;
7318                image.normal: "shad_circ.png";
7319                rel1.to: "button_image";
7320                rel1.offset: -64 -64;
7321                rel2.to: "button_image";
7322                rel2.offset: 63 63;
7323                fill.smooth: 0;
7324             }
7325          }
7326  */
7327          part { name: "button_image";
7328             mouse_events: 1;
7329             description { state: "default" 0.0;
7330                rel1.to_x: "elm.swallow.slot.top";
7331                rel1.to_y: "elm.swallow.slot.top";
7332                rel1.offset: -2 -6;
7333                rel2.to_x: "elm.swallow.slot.top";
7334                rel2.to_y: "elm.swallow.slot.bottom";
7335                rel2.offset: 1 5;
7336                image {
7337                   normal: "bt_base2.png";
7338                   border: 7 7 7 7;
7339                }
7340                image.middle: SOLID;
7341             }
7342             description { state: "bottom" 0.0;
7343                rel1.to_x: "elm.swallow.slot.bottom";
7344                rel1.to_y: "elm.swallow.slot.top";
7345                rel1.offset: -2 -6;
7346                rel2.to_x: "elm.swallow.slot.bottom";
7347                rel2.to_y: "elm.swallow.slot.bottom";
7348                rel2.offset: 1 5;
7349                image {
7350                   normal: "bt_base2.png";
7351                   border: 7 7 7 7;
7352                }
7353                image.middle: SOLID;
7354             }
7355          }
7356
7357          part { name: "base";
7358             type: RECT;
7359             mouse_events: 1;
7360             description { state: "default" 0.0;
7361                color: 0 0 0 0;
7362             }
7363             description { state: "visible" 0.0;
7364                inherit: "default" 1.0;
7365                color: 0 0 0 64;
7366             }
7367          }
7368
7369          part { name: "topclip";
7370             type: RECT;
7371             description { state: "default" 0.0;
7372                rel2.to_y: "edge_top";
7373                rel2.relative: 1.0 0.0;
7374                rel2.offset: -1 7;
7375             }
7376          }
7377          part { name: "elm.swallow.slot.top";
7378             type: SWALLOW;
7379             clip_to: "topclip";
7380             description { state: "default" 0.0;
7381                visible: 1;
7382                align: 0.5 0.0;
7383                rel1.to: "elm.swallow.slot.middle";
7384                rel1.relative: 0.0 0.0;
7385                rel1.offset: 0 -1;
7386                rel2.to: "elm.swallow.slot.middle";
7387                rel2.relative: 1.0 0.0;
7388                rel2.offset: -1 -1;
7389             }
7390             description { state: "visible" 0.0;
7391                inherit: "default" 0.0;
7392                rel1.offset: 0 -7;
7393                rel2.offset: -1 -7;
7394                align: 0.5 1.0;
7395             }
7396          }
7397
7398          part { name: "bottomclip";
7399             type: RECT;
7400             description { state: "default" 0.0;
7401                rel1.to_y: "edge_bottom";
7402                rel1.relative: 0.0 1.0;
7403                rel1.offset: -1 -8;
7404             }
7405          }
7406          part { name: "elm.swallow.slot.bottom";
7407             type: SWALLOW;
7408             clip_to: "bottomclip";
7409             description { state: "default" 0.0;
7410                align: 0.5 1.0;
7411                rel1.to: "elm.swallow.slot.middle";
7412                rel1.relative: 0.0 1.0;
7413                rel1.offset: 0 0;
7414                rel2.to: "elm.swallow.slot.middle";
7415                rel2.relative: 1.0 1.0;
7416                rel2.offset: -1 0;
7417             }
7418             description { state: "visible" 0.0;
7419                inherit: "default" 0.0;
7420                rel1.offset: 0 6;
7421                rel2.offset: -1 6;
7422                align: 0.5 0.0;
7423             }
7424          }
7425
7426          part {          name: "over1";
7427             mouse_events: 0;
7428             description { state: "default" 0.0;
7429                rel1.to: "button_image";
7430                rel2.to: "button_image";
7431                rel2.relative: 1.0 0.5;
7432                image {
7433                   normal: "bt_hilight.png";
7434                   border: 7 7 7 0;
7435                }
7436             }
7437          }
7438          part { name: "over2";
7439             mouse_events: 1;
7440             repeat_events: 1;
7441             ignore_flags: ON_HOLD;
7442             description { state: "default" 0.0;
7443                rel1.to: "button_image";
7444                rel2.to: "button_image";
7445                image {
7446                   normal: "bt_shine.png";
7447                   border: 7 7 7 7;
7448                }
7449             }
7450          }
7451          part { name: "edge_top";
7452             mouse_events:  0;
7453             description { state: "default" 0.0;
7454                visible: 0;
7455                rel1 {
7456                   to: "elm.swallow.size";
7457                   offset: 0 -10;
7458                }
7459                rel2 {
7460                   to: "elm.swallow.size";
7461                }
7462                image.normal: "outdent-bottom.png";
7463                image.border: 0 0 13 0;
7464                fill.smooth: 0;
7465             }
7466             description { state: "visible" 0.0;
7467                inherit: "default" 0.0;
7468                visible: 1;
7469             }
7470          }
7471          part { name: "edge_bottom";
7472             mouse_events:  0;
7473             description { state: "default" 0.0;
7474                visible: 0;
7475                rel1 {
7476                   to: "elm.swallow.size";
7477                }
7478                rel2 {
7479                   to: "elm.swallow.size";
7480                   offset: -1 9;
7481                }
7482                image.normal: "outdent-top.png";
7483                image.border: 0 0 0 13;
7484                fill.smooth: 0;
7485             }
7486             description { state: "visible" 0.0;
7487                inherit: "default" 0.0;
7488                visible: 1;
7489             }
7490          }
7491          part { name: "elm.swallow.slot.middle";
7492             type: SWALLOW;
7493             description { state: "default" 0.0;
7494                rel1.to: "elm.swallow.size";
7495                rel2.to: "elm.swallow.size";
7496             }
7497          }
7498       }
7499       programs {
7500          program { name: "end";
7501             signal: "mouse,up,1";
7502             source: "base";
7503             action: SIGNAL_EMIT "elm,action,dismiss" "";
7504          }
7505
7506          program { name: "show";
7507             signal: "elm,action,show";
7508             source: "elm";
7509             action: STATE_SET "visible" 0.0;
7510 //            transition: DECELERATE 0.5;
7511             target: "base";
7512          }
7513          program { name: "hide";
7514             signal: "elm,action,hide";
7515             source: "elm";
7516             action: STATE_SET "default" 0.0;
7517 //            transition: DECELERATE 0.5;
7518             target: "base";
7519          }
7520          program { name: "topshow";
7521             signal: "elm,action,slot,top,show";
7522             source: "elm";
7523             action: STATE_SET "visible" 0.0;
7524             target: "edge_top";
7525             after: "topshow2";
7526          }
7527          program { name: "topshow2";
7528             action: STATE_SET "visible" 0.0;
7529             transition: DECELERATE 0.5;
7530             target: "elm.swallow.slot.top";
7531          }
7532          program { name: "topshow3";
7533             signal: "elm,action,slot,top,show";
7534             source: "elm";
7535             action: STATE_SET "default" 0.0;
7536             target: "button_image";
7537          }
7538          program { name: "tophide";
7539             signal: "elm,action,slot,top,hide";
7540             source: "elm";
7541             action: STATE_SET "default" 0.0;
7542             transition: DECELERATE 0.5;
7543             target: "elm.swallow.slot.top";
7544             after: "tophide2";
7545          }
7546          program { name: "tophide2";
7547             action: STATE_SET "default" 0.0;
7548             target: "edge_top";
7549          }
7550          program { name: "bottomshow";
7551             signal: "elm,action,slot,bottom,show";
7552             source: "elm";
7553             action: STATE_SET "visible" 0.0;
7554             target: "edge_bottom";
7555             after: "bottomshow2";
7556          }
7557          program { name: "bottomshow2";
7558             action: STATE_SET "visible" 0.0;
7559             transition: DECELERATE 0.5;
7560             target: "elm.swallow.slot.bottom";
7561          }
7562          program { name: "bottomshow3";
7563             signal: "elm,action,slot,bottom,show";
7564             source: "elm";
7565             action: STATE_SET "bottom" 0.0;
7566             target: "button_image";
7567          }
7568          program { name: "bottomhide";
7569             signal: "elm,action,slot,bottom,hide";
7570             source: "elm";
7571             action: STATE_SET "default" 0.0;
7572             transition: DECELERATE 0.5;
7573             target: "elm.swallow.slot.bottom";
7574             after: "bottomhide2";
7575          }
7576          program { name: "bottomhide2";
7577             action: STATE_SET "default" 0.0;
7578             target: "edge_bottom";
7579          }
7580       }
7581    }
7582 ///////////////////////////////////////////////////////////////////////////////
7583    group { name: "elm/scroller/base/ctxpopup";
7584       data {
7585          item: "focus_highlight" "on";
7586       }
7587       script {
7588          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7589          public timer0(val) {
7590             new v;
7591             v = get_int(sbvis_v);
7592             if (v) {
7593                v = get_int(sbalways_v);
7594                if(!v) {
7595                   emit("do-hide-vbar", "");
7596                   set_int(sbvis_v, 0);
7597                }
7598             }
7599             v = get_int(sbvis_h);
7600             if (v) {
7601                v = get_int(sbalways_h);
7602                if(!v) {
7603                   emit("do-hide-hbar", "");
7604                   set_int(sbvis_h, 0);
7605                }
7606             }
7607             set_int(sbvis_timer, 0);
7608             return 0;
7609          }
7610       }
7611       images {
7612          image: "bt_sm_base2.png" COMP;
7613          image: "bt_sm_shine.png" COMP;
7614          image: "bt_sm_hilight.png" COMP;
7615          image: "sl_bt2_2.png" COMP;
7616       }
7617       parts {
7618          part { name: "clipper";
7619             type: RECT;
7620             mouse_events: 0;
7621             scale: 1;
7622             description { state: "default" 0.0;
7623             }
7624          }
7625          part { name: "elm.swallow.content";
7626             clip_to: "clipper";
7627             type: SWALLOW;
7628             scale: 1;
7629             description { state: "default" 0.0;
7630                align: 0.5 0.5;
7631             }
7632          }
7633          part { name: "focus_highlight";
7634             mouse_events: 0;
7635             description { state: "default" 0.0;
7636                rel1.offset: -1 -1;
7637                rel2.offset: 0 0;
7638                image { normal: "sl_bt2_2.png";
7639                   border: 7 7 7 7;
7640                   middle: 0;
7641                }
7642                fill.smooth : 0;
7643                color: 200 155 0 0;
7644             }
7645             description { state: "enabled" 0.0;
7646                inherit: "default" 0.0;
7647                color: 200 155 0 255;
7648             }
7649          }
7650          part { name: "sb_vbar_clip_master";
7651             type: RECT;
7652             mouse_events: 0;
7653             description { state: "default" 0.0;
7654             }
7655             description { state: "hidden" 0.0;
7656                visible: 0;
7657                color: 255 255 255 0;
7658             }
7659          }
7660          part { name: "sb_vbar_clip";
7661             clip_to:"sb_vbar_clip_master";
7662             type: RECT;
7663             mouse_events: 0;
7664             scale: 1;
7665             description { state: "default" 0.0;
7666                align: 0.0 0.0;
7667                rel2{ to:"clipper"; relative: 1.0 1.0; }
7668             }
7669             description { state: "hidden" 0.0;
7670                visible: 0;
7671                color: 255 255 255 0;
7672             }
7673          }
7674          part { name: "sb_vbar";
7675             type: RECT;
7676             mouse_events: 0;
7677             scale: 1;
7678             description { state: "default" 0.0;
7679                fixed: 1 1;
7680                visible: 0;
7681                align: 1.0 0.0;
7682                rel1{ to:"clipper"; relative: 1.0 0.0; }
7683                rel2{ to:"clipper"; relative: 1.0 1.0; }
7684             }
7685          }
7686          part { name: "elm.dragable.vbar";
7687             clip_to: "sb_vbar_clip";
7688             mouse_events: 0;
7689             scale: 1;
7690             dragable {
7691                x: 0 0 0;
7692                y: 1 1 0;
7693                confine: "sb_vbar";
7694             }
7695             description { state: "default" 0.0;
7696                fixed: 1 1;
7697                min: 10 17;
7698                max: 10 99999;
7699                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7700                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7701                image { normal: "bt_sm_base2.png";
7702                   border: 6 6 6 6;
7703                   middle: SOLID;
7704                }
7705             }
7706          }
7707          part { name: "sb_vbar_over1";
7708             clip_to: "sb_vbar_clip";
7709             mouse_events: 0;
7710             description { state: "default" 0.0;
7711                rel1.to: "elm.dragable.vbar";
7712                rel2.relative: 1.0 0.5;
7713                rel2.to: "elm.dragable.vbar";
7714                image { normal: "bt_sm_hilight.png";
7715                   border: 6 6 6 0;
7716                }
7717             }
7718          }
7719          part { name: "sb_vbar_over2";
7720             clip_to: "sb_vbar_clip";
7721             mouse_events: 0;
7722             description { state: "default" 0.0;
7723                rel1.to: "elm.dragable.vbar";
7724                rel2.to: "elm.dragable.vbar";
7725                image { normal: "bt_sm_shine.png";
7726                   border: 6 6 6 0;
7727                }
7728             }
7729          }
7730          part { name: "sb_hbar_clip_master";
7731             type: RECT;
7732             mouse_events: 0;
7733             description { state: "default" 0.0;
7734             }
7735             description { state: "hidden" 0.0;
7736                visible: 0;
7737                color: 255 255 255 0;
7738             }
7739          }
7740          part { name: "sb_hbar_clip";
7741             clip_to: "sb_hbar_clip_master";
7742             type: RECT;
7743             mouse_events: 0;
7744             scale: 1;
7745             description { state: "default" 0.0;
7746                align: 0.0 0.0;
7747                rel2{ to:"clipper"; relative: 1.0 1.0; }
7748             }
7749             description { state: "hidden" 0.0;
7750                visible: 0;
7751                color: 255 255 255 0;
7752             }
7753          }
7754          part { name: "sb_hbar";
7755             type: RECT;
7756             mouse_events: 0;
7757             scale: 1;
7758             description { state: "default" 0.0;
7759                fixed: 1 1;
7760                visible: 0;
7761                align: 0.0 1.0;
7762                rel1 { to:"clipper"; relative: 0.0 1.0; }
7763                rel2 { to:"clipper"; relative: 1.0 1.0; }
7764             }
7765          }
7766          part { name: "elm.dragable.hbar";
7767             clip_to: "sb_hbar_clip";
7768             mouse_events: 0;
7769             scale: 1;
7770             dragable {
7771                x: 1 1 0;
7772                y: 0 0 0;
7773                confine: "sb_hbar";
7774             }
7775             description { state: "default" 0.0;
7776                min: 17 10;
7777                max: 99999 10;
7778                fixed: 1 1;
7779                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7780                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7781                image { normal: "bt_sm_base2.png";
7782                   border: 4 4 4 4;
7783                   middle: SOLID;
7784                }
7785             }
7786          }
7787          part { name: "sb_hbar_over1";
7788             clip_to: "sb_hbar_clip";
7789             mouse_events: 0;
7790             description { state: "default" 0.0;
7791                rel1.to: "elm.dragable.hbar";
7792                rel2.relative: 1.0 0.5;
7793                rel2.to: "elm.dragable.hbar";
7794                image { normal: "bt_sm_hilight.png";
7795                   border: 6 6 6 0;
7796                }
7797             }
7798          }
7799          part { name: "sb_hbar_over2";
7800             clip_to: "sb_hbar_clip";
7801             mouse_events: 0;
7802             description { state: "default" 0.0;
7803                rel1.to: "elm.dragable.hbar";
7804                rel2.to: "elm.dragable.hbar";
7805                image { normal: "bt_sm_shine.png";
7806                   border: 6 6 6 0;
7807                }
7808             }
7809          }
7810       }
7811       programs {
7812          program { name: "load";
7813             signal: "load";
7814             source: "";
7815             script {
7816                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7817                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7818                set_int(sbvis_v, 0);
7819                set_int(sbvis_h, 0);
7820                set_int(sbalways_v, 0);
7821                set_int(sbalways_h, 0);
7822                set_int(sbvis_timer, 0);
7823             }
7824          }
7825          program { name: "vbar_show";
7826             signal: "elm,action,show,vbar";
7827             source: "elm";
7828             action: STATE_SET "default" 0.0;
7829             target: "sb_vbar_clip_master";
7830          }
7831          program { name: "vbar_hide";
7832             signal: "elm,action,hide,vbar";
7833             source: "elm";
7834             action:  STATE_SET "hidden" 0.0;
7835             target: "sb_vbar_clip_master";
7836          }
7837          program { name: "vbar_show_always";
7838             signal: "elm,action,show_always,vbar";
7839             source: "elm";
7840             script {
7841                new v;
7842                v = get_int(sbvis_v);
7843                v |= get_int(sbalways_v);
7844                if (!v) {
7845                   set_int(sbalways_v, 1);
7846                   emit("do-show-vbar", "");
7847                   set_int(sbvis_v, 1);
7848                }
7849             }
7850          }
7851          program { name: "vbar_show_notalways";
7852             signal: "elm,action,show_notalways,vbar";
7853             source: "elm";
7854             script {
7855                new v;
7856                v = get_int(sbalways_v);
7857                if (v) {
7858                   set_int(sbalways_v, 0);
7859                   v = get_int(sbvis_v);
7860                   if (!v) {
7861                      emit("do-hide-vbar", "");
7862                      set_int(sbvis_v, 0);
7863                   }
7864                }
7865             }
7866          }
7867          program { name: "sb_vbar_show";
7868             signal: "do-show-vbar";
7869             source: "";
7870             action: STATE_SET "default" 0.0;
7871             transition: LINEAR 1.0;
7872             target: "sb_vbar_clip";
7873          }
7874          program { name: "sb_vbar_hide";
7875             signal: "do-hide-vbar";
7876             source: "";
7877             action: STATE_SET "hidden" 0.0;
7878             transition: LINEAR 1.0;
7879             target: "sb_vbar_clip";
7880          }
7881          program { name: "hbar_show";
7882             signal: "elm,action,show,hbar";
7883             source: "elm";
7884             action: STATE_SET "default" 0.0;
7885             target: "sb_hbar_clip_master";
7886          }
7887          program { name: "hbar_hide";
7888             signal: "elm,action,hide,hbar";
7889             source: "elm";
7890             action:  STATE_SET "hidden" 0.0;
7891             target: "sb_hbar_clip_master";
7892          }
7893          program { name: "hbar_show_always";
7894             signal: "elm,action,show_always,hbar";
7895             source: "elm";
7896             script {
7897                new v;
7898                v = get_int(sbvis_h);
7899                v |= get_int(sbalways_h);
7900                if (!v) {
7901                   set_int(sbalways_h, 1);
7902                   emit("do-show-hbar", "");
7903                   set_int(sbvis_h, 1);
7904                }
7905             }
7906          }
7907          program { name: "hbar_show_notalways";
7908             signal: "elm,action,show_notalways,hbar";
7909             source: "elm";
7910             script {
7911                new v;
7912                v = get_int(sbalways_h);
7913                if (v) {
7914                   set_int(sbalways_h, 0);
7915                   v = get_int(sbvis_h);
7916                   if (!v) {
7917                      emit("do-hide-hbar", "");
7918                      set_int(sbvis_h, 0);
7919                   }
7920                }
7921             }
7922          }
7923          program { name: "sb_hbar_show";
7924             signal: "do-show-hbar";
7925             source: "";
7926             action: STATE_SET "default" 0.0;
7927             transition: LINEAR 1.0;
7928             target: "sb_hbar_clip";
7929          }
7930          program { name: "sb_hbar_hide";
7931             signal: "do-hide-hbar";
7932             source: "";
7933             action: STATE_SET "hidden" 0.0;
7934             transition: LINEAR 1.0;
7935             target: "sb_hbar_clip";
7936          }
7937          program { name: "scroll";
7938             signal: "elm,action,scroll";
7939             source: "elm";
7940             script {
7941                new v;
7942                v = get_int(sbvis_v);
7943                v |= get_int(sbalways_v);
7944                if (!v) {
7945                   emit("do-show-vbar", "")
7946                   set_int(sbvis_v, 1);
7947                }
7948                v = get_int(sbvis_h);
7949                v |= get_int(sbalways_h);
7950                if (!v) {
7951                   emit("do-show-hbar", "");
7952                   set_int(sbvis_h, 1);
7953                }
7954                v = get_int(sbvis_timer);
7955                if (v > 0) cancel_timer(v);
7956                v = timer(1.0, "timer0", 0);
7957                set_int(sbvis_timer, v);
7958             }
7959          }
7960          program { name: "highlight_show";
7961             signal: "elm,action,focus_highlight,show";
7962             source: "elm";
7963             action: STATE_SET "enabled" 0.0;
7964             transition: ACCELERATE 0.3;
7965             target: "focus_highlight";
7966           }
7967          program { name: "highlight_hide";
7968             signal: "elm,action,focus_highlight,hide";
7969             source: "elm";
7970             action: STATE_SET "default" 0.0;
7971             transition: DECELERATE 0.3;
7972             target: "focus_highlight";
7973          }
7974       }
7975    }
7976 ///////////////////////////////////////////////////////////////////////////////
7977    group { name: "elm/ctxpopup/bg/default";
7978       parts {
7979          part { name: "ctxpopup_bg";
7980             type: RECT;
7981             mouse_events: 1;
7982             description { state: "default" 0.0;
7983                color: 0 0 0 0;
7984             }
7985             description { state: "visible" 0.0;
7986                inherit: "default" 0.0;
7987                color: 0 0 0 64;
7988             }
7989          }
7990       }
7991       programs {
7992          program { name: "clicked_event";
7993             signal: "mouse,clicked,1";
7994             source: "ctxpopup_bg";
7995             action: SIGNAL_EMIT "elm,action,click" "";
7996          }
7997          program { name: "show";
7998             signal: "elm,state,show";
7999             source: "elm";
8000             action: STATE_SET "visible" 0.0;
8001             target: "ctxpopup_bg";
8002          }
8003          program { name: "hide";
8004             signal: "elm,state,hide";
8005             source: "elm";
8006             action: STATE_SET "default" 0.0;
8007             target: "ctxpopup_bg";
8008          }
8009       }
8010    }
8011 ///////////////////////////////////////////////////////////////////////////////
8012    group { name: "elm/ctxpopup/base/default";
8013       images {
8014          image: "bt_base2.png" COMP;
8015          image: "bt_hilight.png" COMP;
8016          image: "bt_shine.png" COMP;
8017       }
8018       parts {
8019          part { name: "arrow_area_left";
8020             type: RECT;
8021             mouse_events: 0;
8022             description { state: "default" 0.0;
8023                visible: 0;
8024                min: 20 0;
8025                fixed: 1 1;
8026                align: 1 0.5;
8027                rel1 {
8028                   to_y: "base";
8029                }
8030                rel2 {
8031                   relative:0 1;
8032                   to:"base";
8033                }
8034             }
8035          }
8036          part { name: "arrow_area_right";
8037             type: RECT;
8038             mouse_events: 0;
8039             description { state: "default" 0.0;
8040                visible: 0;
8041                min: 20 0;
8042                fixed: 1 1;
8043                align: 0 0.5;
8044                rel1 {
8045                   relative: 1 0;
8046                   to:"base";
8047                }
8048                rel2 {
8049                   to_y: "base";
8050                }
8051             }
8052          }
8053          part { name: "arrow_area_up";
8054             type: RECT;
8055             mouse_events: 0;
8056             description { state: "default" 0.0;
8057                visible: 0;
8058                min: 0 20;
8059                fixed: 1 1;
8060                align: 0.5 1;
8061                rel1 {
8062                   to_x: "base";
8063                }
8064                rel2 {
8065                   relative: 1 0;
8066                   to:"base";
8067                }
8068             }
8069          }
8070          part { name: "arrow_area_down";
8071             type: RECT;
8072             mouse_events: 0;
8073             description { state: "default" 0.0;
8074                visible: 0;
8075                min: 0 20;
8076                fixed: 1 1;
8077                align: 0.5 0;
8078                rel1 {
8079                   relative: 0 1;
8080                   to:"base";
8081                }
8082                rel2 {
8083                   to_x: "base";
8084                }
8085             }
8086          }
8087          part { name: "elm.swallow.arrow_up";
8088             type: SWALLOW;
8089             mouse_events: 0;
8090             scale: 1;
8091             dragable {
8092                x: 1 1 0;
8093                y: 1 1 0;
8094                confine: "arrow_area_up";
8095             }
8096             description { state: "default" 0.0;
8097                min: 36 20;
8098                fixed: 1 1;
8099                visible: 1;
8100             }
8101          }
8102          part { name: "elm.swallow.arrow_down";
8103             type: SWALLOW;
8104             mouse_events: 0;
8105             scale: 1;
8106             dragable {
8107                x: 1 1 0;
8108                y: 1 1 0;
8109                confine: "arrow_area_down";
8110             }
8111             description { state: "default" 0.0;
8112                min: 36 20;
8113                fixed: 1 1;
8114                visible: 1;
8115             }
8116          }
8117          part { name: "elm.swallow.arrow_left";
8118             type: SWALLOW;
8119             mouse_events: 0;
8120             scale: 1;
8121             dragable {
8122                x: 1 1 0;
8123                y: 1 1 0;
8124                confine: "arrow_area_left";
8125             }
8126             description { state: "default" 0.0;
8127                min: 20 36;
8128                fixed: 1 1;
8129                visible: 1;
8130             }
8131          }
8132          part { name: "elm.swallow.arrow_right";
8133             type: SWALLOW;
8134             mouse_events: 0;
8135             scale: 1;
8136             dragable {
8137                x: 1 1 0;
8138                y: 1 1 0;
8139                confine: "arrow_area_right";
8140             }
8141             description { state: "default" 0.0;
8142                min: 20 36;
8143                fixed: 1 1;
8144                visible: 1;
8145             }
8146          }
8147          part { name: "base";
8148             scale: 1;
8149             description { state: "default" 0.0;
8150                rel1.offset: -3 -3;
8151                rel2.offset: 3 3;
8152                image { normal: "bt_base2.png";
8153                   border: 7 7 7 7;
8154                }
8155             }
8156          }
8157          part { name: "over1";
8158             scale: 1;
8159             description { state: "default" 0.0;
8160                rel1.to: "base";
8161                rel2.to: "base";
8162                rel2.relative: 1.0 0.5;
8163                image { normal: "bt_hilight.png";
8164                   border: 7 7 7 0;
8165                }
8166             }
8167          }
8168          part { name: "over2";
8169             scale: 1;
8170             description { state: "default" 0.0;
8171                rel1.to: "base";
8172                rel2.to: "base";
8173                image { normal: "bt_shine.png";
8174                   border: 7 7 7 7;
8175                }
8176             }
8177          }
8178          part { name: "elm.swallow.content";
8179             type: SWALLOW;
8180             description { state: "default" 0.0;
8181                rel1 { to:"base"; offset: 4 4; }
8182                rel2 { to:"base"; offset: -5 -5; }
8183             }
8184          }
8185       }
8186    }
8187 ///////////////////////////////////////////////////////////////////////////////
8188    group { name: "elm/ctxpopup/arrow/default";
8189       images {
8190          image: "ctxpopup_arrow_left.png" COMP;
8191          image: "ctxpopup_arrow_right.png" COMP;
8192          image: "ctxpopup_arrow_up.png" COMP;
8193          image: "ctxpopup_arrow_down.png" COMP;
8194       }
8195       parts {
8196          part { name: "ctxpopup_arrow";
8197             type: IMAGE;
8198             scale: 1;
8199             description {
8200                state: "default" 0.0;
8201                min: 36 36;
8202                fixed: 1 1;
8203                visible: 0;
8204                align: 0.5 0.5;
8205             }
8206             description {
8207                state: "left" 0.0;
8208                min: 20 36;
8209                fixed: 1 1;
8210                align: 0.0 0.5;
8211                rel1 { offset: 3 0; }
8212                rel2 { offset: 2 -1; }
8213                image { normal: "ctxpopup_arrow_left.png"; }
8214             }
8215             description { state: "right" 0.0;
8216                min: 20 36;
8217                fixed: 1 1;
8218                align: 1.0 0.5;
8219                rel1 { offset: -5 0; }
8220                rel2 { offset: -6 -1; }
8221                image { normal: "ctxpopup_arrow_right.png"; }
8222             }
8223             description { state: "top" 0.0;
8224                min: 36 20;
8225                fixed: 1 1;
8226                align: 0.5 0.0;
8227                rel1 { offset: 0 5; }
8228                rel2 { offset: -1 4; }
8229                image { normal: "ctxpopup_arrow_up.png"; }
8230             }
8231             description { state: "bottom" 0.0;
8232                min: 36 20;
8233                fixed: 1 1;
8234                align: 0.5 1.0;
8235                rel1 { offset: 0 -5; }
8236                rel2 { offset: -1 -6; }
8237                image { normal: "ctxpopup_arrow_down.png"; }
8238             }
8239          }
8240       }
8241       programs {
8242          program { name: "enable_left_arrow";
8243             signal: "elm,state,left";
8244             source: "elm";
8245             action: STATE_SET "left" 0.0;
8246             target: "ctxpopup_arrow";
8247          }
8248          program { name: "enable_right_arrow";
8249             signal: "elm,state,right";
8250             source: "elm";
8251             action: STATE_SET "right" 0.0;
8252             target: "ctxpopup_arrow";
8253          }
8254          program { name: "enable_top_arrow";
8255             signal: "elm,state,top";
8256             source: "elm";
8257             action: STATE_SET "top" 0.0;
8258             target: "ctxpopup_arrow";
8259          }
8260          program { name: "enable_bottom_arrow";
8261             signal: "elm,state,bottom";
8262             source: "elm";
8263             action: STATE_SET "bottom" 0.0;
8264             target: "ctxpopup_arrow";
8265          }
8266       }
8267    }
8268 ///////////////////////////////////////////////////////////////////////////////
8269    group {
8270       name: "elm/ctxpopup/icon_text_style_item/default";
8271         alias: "elm/ctxpopup/text_style_item/default";
8272         alias: "elm/ctxpopup/icon_style_item/default";
8273       images {
8274          image: "hoversel_entry_bg.png" COMP;
8275       }
8276       parts {
8277          part { name: "event";
8278             mouse_events: 1;
8279             description { state: "default" 0.0;
8280             }
8281          }
8282          part { name: "bg";
8283             mouse_events: 0;
8284             description { state: "default" 0.0;
8285                rel1.offset: 2 2;
8286                rel2.offset: -3 -3;
8287                image { normal:"hoversel_entry_bg.png";
8288                   border: 0 0 2 2;
8289                }
8290                fill.smooth: 0;
8291                color: 255 255 255 0;
8292             }
8293             description { state: "clicked" 0.0;
8294                inherit: "default" 0.0;
8295                color: 255 255 255 255;
8296             }
8297          }
8298          part { name: "elm.swallow.icon";
8299             type: SWALLOW;
8300             clip_to: "disclip";
8301             scale: 1;
8302             description { state: "default" 0.0;
8303                min: 25 25;
8304                max: 25 25;
8305                align: 0 0.5;
8306                aspect: 1.0 1.0;
8307                rel1 { offset: 10 10; }
8308                                         rel2 { offset: 0 -10; }
8309             }
8310          }
8311          part { name: "elm.text";
8312             type: TEXT;
8313             mouse_events: 0;
8314             clip_to: "disclip";
8315             scale: 1;
8316             description { state: "default" 0.0;
8317                min: 1 40;
8318                fixed: 0 1;
8319                align: 0.5 0.5;
8320                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8321                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8322                color: 255 255 255 255;
8323                text {
8324                   font: "Sans";
8325                   size: 10;
8326                   align: 0.0 0.5;
8327                   min: 1 1;
8328                }
8329             }
8330             description { state: "clicked" 0.0;
8331                inherit: "default" 0.0;
8332                color: 0 0 0 255;
8333             }
8334          }
8335          part { name: "over1";
8336             mouse_events: 1;
8337             repeat_events: 1;
8338             ignore_flags: ON_HOLD;
8339             description { state: "default" 0.0;
8340                color: 255 255 255 0;
8341             }
8342             description { state: "clicked" 0.0;
8343                inherit: "default" 0.0;
8344                color: 255 255 255 255;
8345             }
8346          }
8347          part { name: "over2";
8348             mouse_events: 1;
8349             repeat_events: 1;
8350             description { state: "default" 0.0;
8351                color: 255 255 255 0;
8352             }
8353             description { state: "clicked" 0.0;
8354                inherit: "default" 0.0;
8355                color: 255 255 255 255;
8356             }
8357          }
8358          part { name: "disclip";
8359             type: RECT;
8360             description { state: "default" 0.0;
8361                color: 255 255 255 255;
8362             }
8363             description { state: "enabled" 0.0;
8364                color: 127 127 127 127;
8365             }
8366          }
8367          part { name: "blocker";
8368             description { state: "default" 0.0;
8369                visible: 0;
8370             }
8371             description { state: "enabled" 0.0;
8372                visible: 1;
8373                color: 0 0 0 0;
8374             }
8375          }
8376       }
8377       programs {
8378          program {
8379             name: "item_unclick";
8380             signal: "mouse,up,1";
8381             source: "over1";
8382             action: SIGNAL_EMIT "elm,action,click" "";
8383          }
8384          program { name: "disable";
8385             signal: "elm,state,disabled";
8386             source: "elm";
8387             action: STATE_SET "enabled" 0.0;
8388             target: "disclip";
8389             target: "blocker";
8390          }
8391          program { name: "enable";
8392             signal: "elm,state,enabled";
8393             source: "elm";
8394             action: STATE_SET "default" 0.0;
8395             target: "disclip";
8396             target: "blocker";
8397          }
8398          program { name: "item_click2";
8399             signal: "mouse,down,1";
8400             source: "over2";
8401             script {
8402                set_state(PART:"elm.text", "clicked", 0.0);
8403                set_state(PART:"bg", "clicked", 0.0);
8404             }
8405          }
8406          program { name: "item_unclick2";
8407             signal: "mouse,up,1";
8408             source: "over2";
8409             script {
8410                set_state(PART:"elm.text", "default", 0.0);
8411                set_state(PART:"bg", "default", 0.0);
8412             }
8413          }
8414       }
8415    }
8416 ///////////////////////////////////////////////////////////////////////////////
8417 // emoticon images from:
8418 // Tanya - Latvia
8419 // http://lazycrazy.deviantart.com/
8420 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8421   group { name: "elm/entry/emoticon/angry/default"; images.image:
8422      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8423         "emo-angry.png"; } } } }
8424   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8425      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8426         "emo-angry-shout.png"; } } } }
8427   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8428      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8429         "emo-crazy-laugh.png"; } } } }
8430   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8431      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8432         "emo-evil-laugh.png"; } } } }
8433   group { name: "elm/entry/emoticon/evil/default"; images.image:
8434      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8435         "emo-evil.png"; } } } }
8436   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8437      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8438         "emo-goggle-smile.png"; } } } }
8439   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8440      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8441         "emo-grumpy.png"; } } } }
8442   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8443      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8444         "emo-grumpy-smile.png"; } } } }
8445   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8446      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8447         "emo-guilty.png"; } } } }
8448   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8449      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8450         "emo-guilty-smile.png"; } } } }
8451   group { name: "elm/entry/emoticon/haha/default"; images.image:
8452      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8453         "emo-haha.png"; } } } }
8454   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8455      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8456         "emo-half-smile.png"; } } } }
8457   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8458      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8459         "emo-happy-panting.png"; } } } }
8460   group { name: "elm/entry/emoticon/happy/default"; images.image:
8461      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8462         "emo-happy.png"; } } } }
8463   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8464      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8465         "emo-indifferent.png"; } } } }
8466   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8467      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8468         "emo-kiss.png"; } } } }
8469   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8470      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8471         "emo-knowing-grin.png"; } } } }
8472   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8473      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8474         "emo-laugh.png"; } } } }
8475   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8476      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8477         "emo-little-bit-sorry.png"; } } } }
8478   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8479      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8480         "emo-love-lots.png"; } } } }
8481   group { name: "elm/entry/emoticon/love/default"; images.image:
8482      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8483         "emo-love.png"; } } } }
8484   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8485      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8486         "emo-minimal-smile.png"; } } } }
8487   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8488      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8489         "emo-not-happy.png"; } } } }
8490   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8491      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8492         "emo-not-impressed.png"; } } } }
8493   group { name: "elm/entry/emoticon/omg/default"; images.image:
8494      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8495         "emo-omg.png"; } } } }
8496   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8497      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8498         "emo-opensmile.png"; } } } }
8499   group { name: "elm/entry/emoticon/smile/default"; images.image:
8500      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8501         "emo-smile.png"; } } } }
8502   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8503      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8504         "emo-sorry.png"; } } } }
8505   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8506      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8507         "emo-squint-laugh.png"; } } } }
8508   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8509      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8510         "emo-surprised.png"; } } } }
8511   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8512      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8513         "emo-suspicious.png"; } } } }
8514   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8515      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8516         "emo-tongue-dangling.png"; } } } }
8517   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8518      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8519         "emo-tongue-poke.png"; } } } }
8520   group { name: "elm/entry/emoticon/uh/default"; images.image:
8521      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8522         "emo-uh.png"; } } } }
8523   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8524      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8525         "emo-unhappy.png"; } } } }
8526   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8527      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8528         "emo-very-sorry.png"; } } } }
8529   group { name: "elm/entry/emoticon/what/default"; images.image:
8530      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8531         "emo-what.png"; } } } }
8532   group { name: "elm/entry/emoticon/wink/default"; images.image:
8533      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8534         "emo-wink.png"; } } } }
8535   group { name: "elm/entry/emoticon/worried/default"; images.image:
8536      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8537         "emo-worried.png"; } } } }
8538   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8539      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8540         "emo-wtf.png"; } } } }
8541 //------------------------------------------------------------
8542    group { name: "elm/entry/base/default";
8543       styles
8544       {
8545          style { name: "entry_textblock_style";
8546             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8547             tag:  "br" "\n";
8548             tag:  "ps" "ps";
8549             tag:  "tab" "\t";
8550             tag:  "em" "+ font=Sans:style=Oblique";
8551             tag:  "b" "+ font=Sans:style=Bold";
8552             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8553             tag:  "hilight" "+ font=Sans:style=Bold";
8554          }
8555          style { name: "entry_textblock_disabled_style";
8556             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8557             tag:  "br" "\n";
8558             tag:  "ps" "ps";
8559             tag:  "tab" "\t";
8560             tag:  "em" "+ font=Sans:style=Oblique";
8561             tag:  "b" "+ font=Sans:style=Bold";
8562             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8563             tag:  "hilight" "+ font=Sans:style=Bold";
8564          }
8565       }
8566       data {
8567 //         item: context_menu_orientation "horizontal";
8568       }
8569       parts {
8570          part { name: "elm.text";
8571             type: TEXTBLOCK;
8572             mouse_events: 1;
8573             scale: 1;
8574             entry_mode: EDITABLE;
8575             select_mode: EXPLICIT;
8576             multiline: 1;
8577             source: "elm/entry/selection/default"; // selection under
8578    //       source2: "X"; // selection over
8579    //       source3: "X"; // cursor under
8580             source4: "elm/entry/cursor/default"; // cursorover
8581             source5: "elm/entry/anchor/default"; // anchor under
8582    //       source6: "X"; // anchor over
8583             description { state: "default" 0.0;
8584                /* we gotta use 0 0 here, because of scrolled entries */
8585                fixed: 0 0;
8586                text {
8587                   style: "entry_textblock_style";
8588                   min: 0 1;
8589                   align: 0.0 0.0;
8590                }
8591             }
8592             description { state: "disabled" 0.0;
8593                inherit: "default" 0.0;
8594                text {
8595                   style: "entry_textblock_disabled_style";
8596                   min: 0 1;
8597                }
8598             }
8599          }
8600       }
8601       programs {
8602          program { name: "focus";
8603             signal: "load";
8604             source: "";
8605             action: FOCUS_SET;
8606             target: "elm.text";
8607          }
8608          program { name: "disable";
8609             signal: "elm,state,disabled";
8610             source: "elm";
8611             action: STATE_SET "disabled" 0.0;
8612             target: "elm.text";
8613          }
8614          program { name: "enable";
8615             signal: "elm,state,enabled";
8616             source: "elm";
8617             action: STATE_SET "default" 0.0;
8618             target: "elm.text";
8619          }
8620       }
8621    }
8622
8623    group { name: "elm/entry/base-mixedwrap/default";
8624       styles
8625       {
8626          style { name: "entry_textblock_style_mixedwrap";
8627             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8628             tag:  "br" "\n";
8629             tag:  "ps" "ps";
8630             tag:  "tab" "\t";
8631             tag:  "em" "+ font=Sans:style=Oblique";
8632             tag:  "b" "+ font=Sans:style=Bold";
8633             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8634             tag:  "hilight" "+ font=Sans:style=Bold";
8635          }
8636          style { name: "entry_textblock_disabled_style_mixedwrap";
8637             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8638             tag:  "br" "\n";
8639             tag:  "ps" "ps";
8640             tag:  "tab" "\t";
8641             tag:  "em" "+ font=Sans:style=Oblique";
8642             tag:  "b" "+ font=Sans:style=Bold";
8643             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8644             tag:  "hilight" "+ font=Sans:style=Bold";
8645          }
8646       }
8647       parts {
8648          part { name: "elm.text";
8649             type: TEXTBLOCK;
8650             mouse_events: 1;
8651             scale: 1;
8652             entry_mode: EDITABLE;
8653             select_mode: EXPLICIT;
8654             multiline: 1;
8655             source: "elm/entry/selection/default"; // selection under
8656 //          source2: "X"; // selection over
8657 //          source3: "X"; // cursor under
8658             source4: "elm/entry/cursor/default"; // cursorover
8659             source5: "elm/entry/anchor/default"; // anchor under
8660 //          source6: "X"; // anchor over
8661             description { state: "default" 0.0;
8662                fixed: 1 0;
8663                text {
8664                   style: "entry_textblock_style_mixedwrap";
8665                   min: 0 1;
8666                   align: 0.0 0.0;
8667                }
8668             }
8669             description { state: "disabled" 0.0;
8670                inherit: "default" 0.0;
8671                text {
8672                   style: "entry_textblock_disabled_style_mixedwrap";
8673                   min: 0 1;
8674                }
8675             }
8676          }
8677       }
8678       programs {
8679          program { name: "focus";
8680             signal: "load";
8681             source: "";
8682             action: FOCUS_SET;
8683             target: "elm.text";
8684          }
8685          program { name: "disable";
8686             signal: "elm,state,disabled";
8687             source: "elm";
8688             action: STATE_SET "disabled" 0.0;
8689             target: "elm.text";
8690          }
8691          program { name: "enable";
8692             signal: "elm,state,enabled";
8693             source: "elm";
8694             action: STATE_SET "default" 0.0;
8695             target: "elm.text";
8696          }
8697       }
8698    }
8699
8700    group { name: "elm/entry/base-charwrap/default";
8701       styles
8702       {
8703          style { name: "entry_textblock_style_charwrap";
8704             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8705             tag:  "br" "\n";
8706             tag:  "ps" "ps";
8707             tag:  "tab" "\t";
8708             tag:  "em" "+ font=Sans:style=Oblique";
8709             tag:  "b" "+ font=Sans:style=Bold";
8710             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8711             tag:  "hilight" "+ font=Sans:style=Bold";
8712          }
8713          style { name: "entry_textblock_disabled_style_charwrap";
8714             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8715             tag:  "br" "\n";
8716             tag:  "ps" "ps";
8717             tag:  "tab" "\t";
8718             tag:  "em" "+ font=Sans:style=Oblique";
8719             tag:  "b" "+ font=Sans:style=Bold";
8720             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8721             tag:  "hilight" "+ font=Sans:style=Bold";
8722          }
8723       }
8724       parts {
8725          part { name: "elm.text";
8726             type: TEXTBLOCK;
8727             mouse_events: 1;
8728             scale: 1;
8729             entry_mode: EDITABLE;
8730             select_mode: EXPLICIT;
8731             multiline: 1;
8732             source: "elm/entry/selection/default"; // selection under
8733 //          source2: "X"; // selection over
8734 //          source3: "X"; // cursor under
8735             source4: "elm/entry/cursor/default"; // cursorover
8736             source5: "elm/entry/anchor/default"; // anchor under
8737 //          source6: "X"; // anchor over
8738             description { state: "default" 0.0;
8739                fixed: 1 0;
8740                text {
8741                   style: "entry_textblock_style_charwrap";
8742                   min: 0 1;
8743                   align: 0.0 0.0;
8744                }
8745             }
8746             description { state: "disabled" 0.0;
8747                inherit: "default" 0.0;
8748                text {
8749                   style: "entry_textblock_disabled_style_charwrap";
8750                   min: 0 1;
8751                }
8752             }
8753          }
8754       }
8755       programs {
8756          program { name: "focus";
8757             signal: "load";
8758             source: "";
8759             action: FOCUS_SET;
8760             target: "elm.text";
8761          }
8762          program { name: "disable";
8763             signal: "elm,state,disabled";
8764             source: "elm";
8765             action: STATE_SET "disabled" 0.0;
8766             target: "elm.text";
8767          }
8768          program { name: "enable";
8769             signal: "elm,state,enabled";
8770             source: "elm";
8771             action: STATE_SET "default" 0.0;
8772             target: "elm.text";
8773          }
8774       }
8775    }
8776
8777    group { name: "elm/entry/base-nowrap/default";
8778       parts {
8779          part { name: "elm.text";
8780             type: TEXTBLOCK;
8781             mouse_events: 1;
8782             scale: 1;
8783             entry_mode: EDITABLE;
8784             select_mode: EXPLICIT;
8785             multiline: 1;
8786             source: "elm/entry/selection/default"; // selection under
8787             source4: "elm/entry/cursor/default"; // cursorover
8788             source5: "elm/entry/anchor/default"; // anchor under
8789             description { state: "default" 0.0;
8790                text {
8791                   style: "entry_textblock_style";
8792                   min: 1 1;
8793                   align: 0.0 0.0;
8794                }
8795             }
8796             description { state: "disabled" 0.0;
8797                inherit: "default" 0.0;
8798                text {
8799                   style: "entry_textblock_disabled_style";
8800                   min: 0 1;
8801                }
8802             }
8803          }
8804 /*
8805          part { name: "sel";
8806             type: RECT;
8807             mouse_events: 0;
8808             description { state: "default" 0.0;
8809                align: 1.0 1.0;
8810                max: 16 16;
8811                aspect: 1.0 1.0;
8812                color: 255 0 0 0;
8813             }
8814             description { state: "visible" 0.0;
8815                inherit: "default" 0.0;
8816                color: 255 0 0 50;
8817             }
8818          }
8819  */
8820       }
8821       programs {
8822          program { name: "focus";
8823             signal: "load";
8824             source: "";
8825             action: FOCUS_SET;
8826             target: "elm.text";
8827          }
8828          program { name: "disable";
8829             signal: "elm,state,disabled";
8830             source: "elm";
8831             action: STATE_SET "disabled" 0.0;
8832             target: "elm.text";
8833          }
8834          program { name: "enable";
8835             signal: "elm,state,enabled";
8836             source: "elm";
8837             action: STATE_SET "default" 0.0;
8838             target: "elm.text";
8839          }
8840 /*
8841          program { name: "selmode0";
8842             signal: "elm,state,select,on";
8843             source: "elm";
8844             action: STATE_SET "visible" 0.0;
8845             target: "sel";
8846          }
8847          program { name: "selmode1";
8848             signal: "elm,state,select,off";
8849             source: "elm";
8850             action: STATE_SET "default" 0.0;
8851             target: "sel";
8852          }
8853  */
8854       }
8855    }
8856
8857    group { name: "elm/entry/base-single/default";
8858       styles
8859       {
8860          style { name: "entry_single_textblock_style";
8861             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8862             tag:  "br" "\n";
8863             tag:  "ps" "ps";
8864             tag:  "tab" "\t";
8865             tag:  "em" "+ font=Sans:style=Oblique";
8866             tag:  "b" "+ font=Sans:style=Bold";
8867             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8868             tag:  "hilight" "+ font=Sans:style=Bold";
8869          }
8870          style { name: "entry_single_textblock_disabled_style";
8871             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8872             tag:  "br" "\n";
8873             tag:  "ps" "ps";
8874             tag:  "tab" "\t";
8875             tag:  "em" "+ font=Sans:style=Oblique";
8876             tag:  "b" "+ font=Sans:style=Bold";
8877             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8878             tag:  "hilight" "+ font=Sans:style=Bold";
8879          }
8880       }
8881       parts {
8882          part { name: "elm.text";
8883             type: TEXTBLOCK;
8884             mouse_events: 1;
8885             scale: 1;
8886             entry_mode: EDITABLE;
8887             select_mode: EXPLICIT;
8888             multiline: 0;
8889             source: "elm/entry/selection/default"; // selection under
8890             source4: "elm/entry/cursor/default"; // cursorover
8891             source5: "elm/entry/anchor/default"; // anchor under
8892             description { state: "default" 0.0;
8893                text {
8894                   style: "entry_single_textblock_style";
8895                   min: 1 1;
8896                   max: 0 0;
8897                   align: 0.0 0.5;
8898                }
8899             }
8900             description { state: "disabled" 0.0;
8901                inherit: "default" 0.0;
8902                text {
8903                   style: "entry_single_textblock_disabled_style";
8904                }
8905             }
8906          }
8907       }
8908       programs {
8909          program { name: "focus";
8910             signal: "load";
8911             source: "";
8912             action: FOCUS_SET;
8913             target: "elm.text";
8914          }
8915          program { name: "disable";
8916             signal: "elm,state,disabled";
8917             source: "elm";
8918             action: STATE_SET "disabled" 0.0;
8919             target: "elm.text";
8920          }
8921          program { name: "enable";
8922             signal: "elm,state,enabled";
8923             source: "elm";
8924             action: STATE_SET "default" 0.0;
8925             target: "elm.text";
8926          }
8927       }
8928    }
8929
8930    group { name: "elm/entry/base-single-noedit/default";
8931       parts {
8932          part { name: "elm.text";
8933             type: TEXTBLOCK;
8934             mouse_events: 1;
8935             scale: 1;
8936             entry_mode: PLAIN;
8937             select_mode: EXPLICIT;
8938             multiline: 0;
8939             source: "elm/entry/selection/default"; // selection under
8940             source5: "elm/entry/anchor/default"; // anchor under
8941             description { state: "default" 0.0;
8942                text {
8943                   style: "entry_single_textblock_style";
8944                   min: 1 1;
8945                   max: 0 0;
8946                   align: 0.0 0.5;
8947                }
8948             }
8949             description { state: "disabled" 0.0;
8950                inherit: "default" 0.0;
8951                text {
8952                style: "entry_single_textblock_disabled_style";
8953                }
8954             }
8955          }
8956       }
8957       programs {
8958          program { name: "focus";
8959             signal: "load";
8960             source: "";
8961             action: FOCUS_SET;
8962             target: "elm.text";
8963          }
8964          program { name: "disable";
8965             signal: "elm,state,disabled";
8966             source: "elm";
8967             action: STATE_SET "disabled" 0.0;
8968             target: "elm.text";
8969          }
8970          program { name: "enable";
8971             signal: "elm,state,enabled";
8972             source: "elm";
8973             action: STATE_SET "default" 0.0;
8974             target: "elm.text";
8975          }
8976       }
8977    }
8978
8979    group { name: "elm/entry/base-noedit/default";
8980       parts {
8981          part { name: "elm.text";
8982             type: TEXTBLOCK;
8983             mouse_events: 1;
8984             scale: 1;
8985             entry_mode: PLAIN;
8986             select_mode: EXPLICIT;
8987             multiline: 1;
8988             source: "elm/entry/selection/default"; // selection under
8989             source5: "elm/entry/anchor/default"; // anchor under
8990             description { state: "default" 0.0;
8991                fixed: 1 0;
8992                text {
8993                   style: "entry_textblock_style";
8994                   min: 0 1;
8995                   align: 0.0 0.0;
8996                }
8997             }
8998             description { state: "disabled" 0.0;
8999                inherit: "default" 0.0;
9000                text {
9001                   style: "entry_textblock_disabled_style";
9002                }
9003             }
9004          }
9005       }
9006       programs {
9007          program { name: "focus";
9008             signal: "load";
9009             source: "";
9010             action: FOCUS_SET;
9011             target: "elm.text";
9012          }
9013          program { name: "disable";
9014             signal: "elm,state,disabled";
9015             source: "elm";
9016             action: STATE_SET "disabled" 0.0;
9017             target: "elm.text";
9018          }
9019          program { name: "enable";
9020             signal: "elm,state,enabled";
9021             source: "elm";
9022             action: STATE_SET "default" 0.0;
9023             target: "elm.text";
9024          }
9025       }
9026    }
9027
9028    group { name: "elm/entry/base-noedit-mixedwrap/default";
9029       parts {
9030          part { name: "elm.text";
9031             type: TEXTBLOCK;
9032             mouse_events: 1;
9033             scale: 1;
9034             entry_mode: PLAIN;
9035             select_mode: EXPLICIT;
9036             multiline: 1;
9037             source: "elm/entry/selection/default"; // selection under
9038             source5: "elm/entry/anchor/default"; // anchor under
9039             description { state: "default" 0.0;
9040                fixed: 1 0;
9041                text {
9042                   style: "entry_textblock_style_mixedwrap";
9043                   min: 0 1;
9044                   align: 0.0 0.0;
9045                }
9046             }
9047             description { state: "disabled" 0.0;
9048                inherit: "default" 0.0;
9049                text {
9050                   style: "entry_textblock_disabled_style_mixedwrap";
9051                }
9052             }
9053          }
9054       }
9055       programs {
9056          program { name: "focus";
9057             signal: "load";
9058             source: "";
9059             action: FOCUS_SET;
9060             target: "elm.text";
9061          }
9062          program { name: "disable";
9063             signal: "elm,state,disabled";
9064             source: "elm";
9065             action: STATE_SET "disabled" 0.0;
9066             target: "elm.text";
9067          }
9068          program { name: "enable";
9069             signal: "elm,state,enabled";
9070             source: "elm";
9071             action: STATE_SET "default" 0.0;
9072             target: "elm.text";
9073          }
9074       }
9075    }
9076
9077    group { name: "elm/entry/base-noedit-charwrap/default";
9078       parts {
9079          part { name: "elm.text";
9080             type: TEXTBLOCK;
9081             mouse_events: 1;
9082             scale: 1;
9083             entry_mode: PLAIN;
9084             select_mode: EXPLICIT;
9085             multiline: 1;
9086             source: "elm/entry/selection/default"; // selection under
9087             source5: "elm/entry/anchor/default"; // anchor under
9088             description { state: "default" 0.0;
9089                fixed: 1 0;
9090                text {
9091                   style: "entry_textblock_style_charwrap";
9092                   min: 0 1;
9093                   align: 0.0 0.0;
9094                }
9095             }
9096             description { state: "disabled" 0.0;
9097                inherit: "default" 0.0;
9098                text {
9099                   style: "entry_textblock_disabled_style_charwrap";
9100                }
9101             }
9102          }
9103       }
9104       programs {
9105          program { name: "focus";
9106             signal: "load";
9107             source: "";
9108             action: FOCUS_SET;
9109             target: "elm.text";
9110          }
9111          program { name: "disable";
9112             signal: "elm,state,disabled";
9113             source: "elm";
9114             action: STATE_SET "disabled" 0.0;
9115             target: "elm.text";
9116          }
9117          program { name: "enable";
9118             signal: "elm,state,enabled";
9119             source: "elm";
9120             action: STATE_SET "default" 0.0;
9121             target: "elm.text";
9122          }
9123       }
9124    }
9125
9126    group { name: "elm/entry/base-nowrap-noedit/default";
9127       parts {
9128          part { name: "elm.text";
9129             type: TEXTBLOCK;
9130             mouse_events: 1;
9131             scale: 1;
9132             entry_mode: PLAIN;
9133             select_mode: EXPLICIT;
9134             multiline: 1;
9135             source: "elm/entry/selection/default"; // selection under
9136             source5: "elm/entry/anchor/default"; // anchor under
9137             description { state: "default" 0.0;
9138                text {
9139                   style: "entry_textblock_style";
9140                   min: 1 1;
9141                   align: 0.0 0.0;
9142                }
9143             }
9144             description { state: "disabled" 0.0;
9145                inherit: "default" 0.0;
9146                text {
9147                   style: "entry_textblock_disabled_style";
9148                }
9149             }
9150          }
9151       }
9152       programs {
9153          program { name: "focus";
9154             signal: "load";
9155             source: "";
9156             action: FOCUS_SET;
9157             target: "elm.text";
9158          }
9159          program { name: "disable";
9160             signal: "elm,state,disabled";
9161             source: "elm";
9162             action: STATE_SET "disabled" 0.0;
9163             target: "elm.text";
9164          }
9165          program { name: "enable";
9166             signal: "elm,state,enabled";
9167             source: "elm";
9168             action: STATE_SET "default" 0.0;
9169             target: "elm.text";
9170          }
9171       }
9172    }
9173
9174    group { name: "elm/entry/cursor/default";
9175       images {
9176          image: "cur_box.png" COMP;
9177          image: "cur_hi.png" COMP;
9178          image: "cur_shad.png" COMP;
9179          image: "cur_shine.png" COMP;
9180          image: "cur_glow.png" COMP;
9181       }
9182       parts {
9183          part { name: "clip2";
9184             type: RECT;
9185             mouse_events: 0;
9186             description { state: "default" 0.0;
9187                rel1.to: "clip";
9188                rel2.to: "clip";
9189                visible: 0;
9190             }
9191             description { state: "focused" 0.0;
9192                inherit: "default" 0.0;
9193                visible: 1;
9194             }
9195          }
9196          part { name: "clip";
9197             type: RECT;
9198             mouse_events: 0;
9199             clip_to: "clip2";
9200             description { state: "default" 0.0;
9201                rel1.offset: -10 0;
9202                rel2.offset: 9 9;
9203             }
9204             description { state: "hidden" 0.0;
9205                inherit: "default" 0.0;
9206                visible: 0;
9207             }
9208          }
9209          part { name: "bg";
9210             mouse_events: 0;
9211             clip_to: "clip";
9212             description { state: "default" 0.0;
9213                rel1.to: "base";
9214                rel1.offset: -2 0;
9215                rel2.to: "base";
9216                rel2.offset: 1 1;
9217                image.border: 2 2 2 2;
9218                image.normal: "cur_shad.png";
9219             }
9220          }
9221          part { name: "base";
9222             mouse_events: 0;
9223             scale: 1;
9224             clip_to: "clip";
9225             description { state: "default" 0.0;
9226                min: 2 2;
9227                align: 0.5 1.0;
9228                rel1.relative: 0.0 1.0;
9229                rel1.offset: 0 -1;
9230                rel2.relative: 1.0 1.0;
9231                rel2.offset: -1 -1;
9232                image.normal: "cur_box.png";
9233             }
9234          }
9235          part { name: "hi";
9236             mouse_events: 0;
9237             clip_to: "clip";
9238             description { state: "default" 0.0;
9239                rel1.to: "base";
9240                rel2.to: "base";
9241                rel2.relative: 1.0 0.5;
9242                image.normal: "cur_hi.png";
9243             }
9244          }
9245          part { name: "shine";
9246             mouse_events: 0;
9247             clip_to: "clip";
9248             clip_to: "clip2";
9249             description { state: "default" 0.0;
9250                rel1.to: "base";
9251                rel2.to: "base";
9252                rel2.relative: 1.0 0.75;
9253                image.border: 2 2 1 0;
9254                image.normal: "cur_shine.png";
9255                fill.smooth: 0;
9256             }
9257          }
9258          part { name: "glow";
9259             mouse_events: 0;
9260             clip_to: "clip2";
9261             description { state: "default" 0.0;
9262                rel1.to: "base";
9263                rel1.relative: 0.0 -2.0;
9264                rel1.offset: -2 0;
9265                rel2.to: "base";
9266                rel2.relative: 1.0 0.0;
9267                rel2.offset: 1 1;
9268                image.border: 2 2 0 4;
9269                image.normal: "cur_glow.png";
9270                fill.smooth: 0;
9271             }
9272             description { state: "hidden" 0.0;
9273                inherit: "default" 0.0;
9274                color: 255 255 255 0;
9275             }
9276          }
9277       }
9278       programs {
9279          program { name: "show";
9280             signal: "show";
9281             source: "";
9282             action: STATE_SET "hidden" 0.0;
9283             in: 1.0 0.0;
9284             transition: DECELERATE 2.0;
9285             target: "glow";
9286             after: "show2";
9287          }
9288          program { name: "show2";
9289             action: STATE_SET "hidden" 0.0;
9290             in: 0.2 0.0;
9291             target: "clip";
9292             after: "show3";
9293          }
9294          program { name: "show3";
9295             action: STATE_SET "default" 0.0;
9296             in: 0.5 0.0;
9297             target: "clip";
9298             after: "show4";
9299          }
9300          program { name: "show4";
9301             action: STATE_SET "default" 0.0;
9302             in: 0.5 0.0;
9303             transition: DECELERATE 0.5;
9304             target: "glow";
9305             after: "show";
9306          }
9307          program { name: "focused";
9308             signal: "elm,action,focus";
9309             source: "elm";
9310             action: STATE_SET "focused" 0.0;
9311             target: "clip2";
9312          }
9313          program { name: "unfocused";
9314             signal: "elm,action,unfocus";
9315             source: "elm";
9316             action: STATE_SET "default" 0.0;
9317             target: "clip2";
9318          }
9319       }
9320    }
9321
9322    group { name: "elm/entry/selection/default";
9323       parts {
9324          part { name: "bg";
9325             type: RECT;
9326             mouse_events: 0;
9327             description { state: "default" 0.0;
9328                color: 128 128 128 128;
9329             }
9330          }
9331       }
9332    }
9333
9334    group { name: "elm/entry/anchor/default";
9335       parts {
9336          part { name: "bg";
9337             type: RECT;
9338             mouse_events: 0;
9339             description { state: "default" 0.0;
9340                color: 128 0 0 64;
9341             }
9342          }
9343       }
9344    }
9345
9346 ///////////////////////////////////////////////////////////////////////////////
9347   group { name: "elm/bubble/top_left/default";
9348     alias: "elm/bubble/base/default";
9349     images {
9350       image: "bubble_3.png" COMP;
9351       image: "bubble_4.png" COMP;
9352       image: "bubble_shine3.png" COMP;
9353       image: "bubble_shine4.png" COMP;
9354     }
9355     parts {
9356       part { name: "event";
9357          type: RECT;
9358          description {
9359             state: "default" 0.0;
9360             color: 0 0 0 0;
9361          }
9362       }
9363       part { name: "elm.swallow.icon";
9364         type: SWALLOW;
9365         description { state: "default" 0.0;
9366           fixed: 1 1;
9367           visible: 0;
9368           align: 0.0 0.0;
9369           aspect: 1.0 1.0;
9370           aspect_preference: VERTICAL;
9371           rel1 {
9372             relative: 0.0 0.0;
9373             offset: 4 4;
9374           }
9375           rel2 {
9376             to_y: "elm.text";
9377             relative: 0.0 1.0;
9378             offset: 4 -1;
9379           }
9380         }
9381         description { state: "visible" 0.0;
9382           inherit: "default" 0.0;
9383           visible: 1;
9384         }
9385       }
9386       part { name: "elm.text";
9387         type: TEXT;
9388         mouse_events:   0;
9389         scale: 1;
9390         description { state: "default" 0.0;
9391           align: 0.0 0.0;
9392           fixed: 0 1;
9393           rel1 {
9394             to_x: "elm.swallow.icon";
9395             relative: 1.0 0.0;
9396             offset: 4 4;
9397           }
9398           rel2 {
9399             to_x: "elm.info";
9400             relative: 0.0 0.0;
9401             offset: -5 4;
9402           }
9403           color: 0 0 0 255;
9404           text {
9405             font: "Sans:style=Bold,Edje-Vera-Bold";
9406             size: 10;
9407             min: 0 1;
9408             max: 0 1;
9409             align: 0.0 0.0;
9410           }
9411         }
9412       }
9413       part { name: "elm.info";
9414         type: TEXT;
9415         mouse_events:   0;
9416         scale: 1;
9417         description { state: "default" 0.0;
9418           align: 1.0 0.0;
9419           fixed: 1 1;
9420           rel1 {
9421             relative: 1.0 0.0;
9422             offset: -5 4;
9423           }
9424           rel2 {
9425             relative: 1.0 0.0;
9426             offset: -5 4;
9427           }
9428           color: 0 0 0 64;
9429           text {
9430             font: "Sans:style=Bold,Edje-Vera-Bold";
9431             size: 10;
9432             min: 1 1;
9433             max: 1 1;
9434             align: 1.0 0.0;
9435           }
9436         }
9437       }
9438       part { name: "base0";
9439         mouse_events:  0;
9440         description { state: "default" 0.0;
9441           rel1 {
9442             to_y: "elm.swallow.icon";
9443             relative: 0.0 1.0;
9444             offset: 0 0;
9445           }
9446           image {
9447             normal: "bubble_3.png";
9448             border: 36 11 18 9;
9449           }
9450           image.middle: SOLID;
9451           fill.smooth: 0;
9452         }
9453         description { state: "rtl" 0.0;
9454            inherit: "default" 0.0;
9455            image {
9456               normal: "bubble_4.png";
9457               border: 11 36 18 9;
9458            }
9459         }
9460       }
9461       part { name: "elm.swallow.content";
9462         type: SWALLOW;
9463         description { state: "default" 0.0;
9464           rel1 {
9465             to: "base0";
9466             offset: 9 16;
9467           }
9468           rel2 {
9469             to: "base0";
9470             offset: -10 -9;
9471           }
9472         }
9473       }
9474       part { name: "shine";
9475         mouse_events:  0;
9476         description { state:    "default" 0.0;
9477           rel1 {
9478             to: "base0";
9479             offset: 5 4;
9480           }
9481           rel2 {
9482             to: "base0";
9483             relative: 1.0 0.5;
9484             offset: -6 7;
9485           }
9486           image {
9487             normal: "bubble_shine3.png";
9488             border: 36 5 14 0;
9489           }
9490           fill.smooth: 0;
9491         }
9492         description { state: "rtl" 0.0;
9493            inherit: "default" 0.0;
9494            image {
9495               normal: "bubble_shine4.png";
9496               border: 5 36 14 0;
9497            }
9498         }
9499       }
9500     }
9501     programs {
9502       program {
9503         name: "icon_show";
9504         signal: "elm,state,icon,visible";
9505         source: "elm";
9506         action: STATE_SET "visible" 0.0;
9507         target: "elm.swallow.icon";
9508       }
9509       program {
9510         name: "icon_hide";
9511         signal: "elm,state,icon,hidden";
9512         source: "elm";
9513         action: STATE_SET "default" 0.0;
9514         target: "elm.swallow.icon";
9515       }
9516       program { name: "to_rtl";
9517          signal: "edje,state,rtl";
9518          source: "edje";
9519          action: STATE_SET "rtl" 0.0;
9520          target: "base0";
9521          target: "shine";
9522       }
9523       program { name: "to_ltr";
9524          signal: "edje,state,ltr";
9525          source: "edje";
9526          action: STATE_SET "default" 0.0;
9527          target: "base0";
9528          target: "shine";
9529       }
9530     }
9531   }
9532
9533   group { name: "elm/bubble/top_right/default";
9534     images {
9535       image: "bubble_3.png" COMP;
9536       image: "bubble_4.png" COMP;
9537       image: "bubble_shine3.png" COMP;
9538       image: "bubble_shine4.png" COMP;
9539     }
9540     parts {
9541       part { name: "event";
9542          type: RECT;
9543          description {
9544             state: "default" 0.0;
9545             color: 0 0 0 0;
9546          }
9547       }
9548       part { name: "elm.swallow.icon";
9549         type: SWALLOW;
9550         description { state: "default" 0.0;
9551           fixed: 1 1;
9552           visible: 0;
9553           align: 1.0 0.0;
9554           aspect: 1.0 1.0;
9555           aspect_preference: VERTICAL;
9556           rel1 {
9557             relative: 1.0 0.0;
9558             offset: -5 4;
9559           }
9560           rel2 {
9561             to_y: "elm.text";
9562             relative: 1.0 1.0;
9563             offset: -5 -1;
9564           }
9565         }
9566         description { state: "visible" 0.0;
9567           inherit: "default" 0.0;
9568           visible: 1;
9569         }
9570       }
9571       part { name: "elm.text";
9572         type: TEXT;
9573         mouse_events:   0;
9574         scale: 1;
9575         description { state: "default" 0.0;
9576           align: 0.0 0.0;
9577           fixed: 0 1;
9578           rel1 {
9579             relative: 0.0 0.0;
9580             offset: 4 4;
9581           }
9582           rel2 {
9583             to_x: "elm.info";
9584             relative: 0.0 0.0;
9585             offset: -5 4;
9586           }
9587           color: 0 0 0 255;
9588           text {
9589             font: "Sans:style=Bold,Edje-Vera-Bold";
9590             size: 10;
9591             min: 0 1;
9592             max: 0 1;
9593             align: 0.0 0.0;
9594           }
9595         }
9596       }
9597       part { name: "elm.info";
9598         type: TEXT;
9599         mouse_events:   0;
9600         scale: 1;
9601         description { state: "default" 0.0;
9602           align: 1.0 0.0;
9603           fixed: 1 1;
9604           rel1 {
9605             relative: 1.0 0.0;
9606             offset: -5 4;
9607           }
9608           rel2 {
9609             to_x: "elm.swallow.icon";
9610             relative: 0.0 0.0;
9611             offset: -5 4;
9612           }
9613           color: 0 0 0 64;
9614           text {
9615             font: "Sans:style=Bold,Edje-Vera-Bold";
9616             size: 10;
9617             min: 1 1;
9618             max: 1 1;
9619             align: 1.0 0.0;
9620           }
9621         }
9622       }
9623       part { name: "base0";
9624         mouse_events:  0;
9625         description { state: "default" 0.0;
9626           rel1 {
9627             to_y: "elm.swallow.icon";
9628             relative: 0.0 1.0;
9629             offset: 0 0;
9630           }
9631           image {
9632             normal: "bubble_4.png";
9633             border: 11 36 18 9;
9634           }
9635           image.middle: SOLID;
9636           fill.smooth: 0;
9637         }
9638         description { state: "rtl" 0.0;
9639            inherit: "default" 0.0;
9640            image {
9641               normal: "bubble_3.png";
9642               border: 36 11 18 9;
9643            }
9644         }
9645       }
9646       part { name: "elm.swallow.content";
9647         type: SWALLOW;
9648         description { state: "default" 0.0;
9649           rel1 {
9650             to: "base0";
9651             offset: 9 16;
9652           }
9653           rel2 {
9654             to: "base0";
9655             offset: -10 -9;
9656           }
9657         }
9658       }
9659       part { name: "shine";
9660         mouse_events:  0;
9661         description { state:    "default" 0.0;
9662           rel1 {
9663             to: "base0";
9664             offset: 5 4;
9665           }
9666           rel2 {
9667             to: "base0";
9668             relative: 1.0 0.5;
9669             offset: -6 7;
9670           }
9671           image {
9672             normal: "bubble_shine4.png";
9673             border: 5 36 14 0;
9674           }
9675           fill.smooth: 0;
9676         }
9677         description { state: "rtl" 0.0;
9678            inherit: "default" 0.0;
9679            image {
9680               normal: "bubble_shine3.png";
9681               border: 36 5 14 0;
9682            }
9683         }
9684       }
9685     }
9686     programs {
9687       program {
9688         name: "icon_show";
9689         signal: "elm,state,icon,visible";
9690         source: "elm";
9691         action: STATE_SET "visible" 0.0;
9692         target: "elm.swallow.icon";
9693       }
9694       program {
9695         name: "icon_hide";
9696         signal: "elm,state,icon,hidden";
9697         source: "elm";
9698         action: STATE_SET "default" 0.0;
9699         target: "elm.swallow.icon";
9700       }
9701       program { name: "to_rtl";
9702          signal: "edje,state,rtl";
9703          source: "edje";
9704          action: STATE_SET "rtl" 0.0;
9705          target: "base0";
9706          target: "shine";
9707       }
9708       program { name: "to_ltr";
9709          signal: "edje,state,ltr";
9710          source: "edje";
9711          action: STATE_SET "default" 0.0;
9712          target: "base0";
9713          target: "shine";
9714       }
9715     }
9716   }
9717
9718   group { name: "elm/bubble/bottom_left/default";
9719     images {
9720       image: "bubble_1.png" COMP;
9721       image: "bubble_2.png" COMP;
9722       image: "bubble_shine.png" COMP;
9723     }
9724     parts {
9725       part { name: "event";
9726          type: RECT;
9727          description {
9728             state: "default" 0.0;
9729             color: 0 0 0 0;
9730          }
9731       }
9732       part { name: "elm.swallow.icon";
9733         type: SWALLOW;
9734         description { state: "default" 0.0;
9735           fixed: 1 1;
9736           visible: 0;
9737           align: 0.0 1.0;
9738           aspect: 1.0 1.0;
9739           aspect_preference: VERTICAL;
9740           rel1 {
9741             to_y: "elm.text";
9742             relative: 0.0 0.0;
9743             offset: 4 0;
9744           }
9745           rel2 {
9746             relative: 0.0 1.0;
9747             offset: 4 -5;
9748           }
9749         }
9750         description { state: "visible" 0.0;
9751           inherit: "default" 0.0;
9752           visible: 1;
9753         }
9754       }
9755       part { name: "elm.text";
9756         type: TEXT;
9757         mouse_events:   0;
9758         scale: 1;
9759         description { state: "default" 0.0;
9760           align: 0.0 1.0;
9761           fixed: 0 1;
9762           rel1 {
9763             to_x: "elm.swallow.icon";
9764             relative: 1.0 1.0;
9765             offset: 4 -5;
9766           }
9767           rel2 {
9768             to_x: "elm.info";
9769             relative: 0.0 1.0;
9770             offset: -5 -5;
9771           }
9772           color: 0 0 0 255;
9773           text {
9774             font: "Sans:style=Bold,Edje-Vera-Bold";
9775             size: 10;
9776             min: 0 1;
9777             max: 0 1;
9778             align: 0.0 1.0;
9779           }
9780         }
9781       }
9782       part { name: "elm.info";
9783         type: TEXT;
9784         mouse_events:   0;
9785         scale: 1;
9786         description { state: "default" 0.0;
9787           align: 1.0 1.0;
9788           fixed: 1 1;
9789           rel1 {
9790             relative: 1.0 1.0;
9791             offset: -5 -5;
9792           }
9793           rel2 {
9794             relative: 1.0 1.0;
9795             offset: -5 -5;
9796           }
9797           color: 0 0 0 64;
9798           text {
9799             font: "Sans:style=Bold,Edje-Vera-Bold";
9800             size: 10;
9801             min: 1 1;
9802             max: 1 1;
9803             align: 1.0 1.0;
9804           }
9805         }
9806       }
9807       part { name: "base0";
9808         mouse_events:  0;
9809         description { state: "default" 0.0;
9810           rel2 {
9811             to_y: "elm.swallow.icon";
9812             relative: 1.0 0.0;
9813             offset: -1 -1;
9814           }
9815           image {
9816             normal: "bubble_1.png";
9817             border: 36 11 10 19;
9818           }
9819           image.middle: SOLID;
9820           fill.smooth: 0;
9821         }
9822         description { state: "rtl" 0.0;
9823            inherit: "default" 0.0;
9824            image {
9825               normal: "bubble_2.png";
9826               border: 11 36 10 19;
9827            }
9828         }
9829       }
9830       part { name: "elm.swallow.content";
9831         type: SWALLOW;
9832         description { state: "default" 0.0;
9833           rel1 {
9834             to: "base0";
9835             offset: 9 8;
9836           }
9837           rel2 {
9838             to: "base0";
9839             offset: -10 -17;
9840           }
9841         }
9842       }
9843       part { name: "shine";
9844         mouse_events:  0;
9845         description { state:    "default" 0.0;
9846           rel1 {
9847             to: "base0";
9848             offset: 5 4;
9849           }
9850           rel2 {
9851             to: "base0";
9852             relative: 1.0 0.5;
9853             offset: -6 -16;
9854           }
9855           image {
9856             normal: "bubble_shine.png";
9857             border: 5 5 5 0;
9858           }
9859           fill.smooth: 0;
9860         }
9861         description { state: "rtl" 0.0;
9862            inherit: "default" 0.0;
9863            image {
9864               normal: "bubble_shine4.png";
9865               border: 5 36 14 0;
9866            }
9867         }
9868       }
9869     }
9870     programs {
9871       program {
9872         name: "icon_show";
9873         signal: "elm,state,icon,visible";
9874         source: "elm";
9875         action: STATE_SET "visible" 0.0;
9876         target: "elm.swallow.icon";
9877       }
9878       program {
9879         name: "icon_hide";
9880         signal: "elm,state,icon,hidden";
9881         source: "elm";
9882         action: STATE_SET "default" 0.0;
9883         target: "elm.swallow.icon";
9884       }
9885       program { name: "to_rtl";
9886          signal: "edje,state,rtl";
9887          source: "edje";
9888          action: STATE_SET "rtl" 0.0;
9889          target: "base0";
9890       }
9891       program { name: "to_ltr";
9892          signal: "edje,state,ltr";
9893          source: "edje";
9894          action: STATE_SET "default" 0.0;
9895          target: "base0";
9896       }
9897     }
9898   }
9899
9900   group { name: "elm/bubble/bottom_right/default";
9901     images {
9902       image: "bubble_1.png" COMP;
9903       image: "bubble_2.png" COMP;
9904       image: "bubble_shine.png" COMP;
9905     }
9906     parts {
9907       part { name: "event";
9908          type: RECT;
9909          description {
9910             state: "default" 0.0;
9911             color: 0 0 0 0;
9912          }
9913       }
9914       part { name: "elm.swallow.icon";
9915         type: SWALLOW;
9916         description { state: "default" 0.0;
9917           fixed: 1 1;
9918           visible: 0.0;
9919           align: 1.0 1.0;
9920           aspect: 1.0 1.0;
9921           aspect_preference: VERTICAL;
9922           rel1 {
9923             to_y: "elm.text";
9924             relative: 1.0 0.0;
9925             offset: -5 0;
9926           }
9927           rel2 {
9928             relative: 1.0 1.0;
9929             offset: -5 -5;
9930           }
9931         }
9932         description { state: "visible" 0.0;
9933           inherit: "default" 0.0;
9934           visible: 1;
9935         }
9936       }
9937       part { name: "elm.text";
9938         type: TEXT;
9939         mouse_events:   0;
9940         scale: 1;
9941         description { state: "default" 0.0;
9942           align: 0.0 1.0;
9943           fixed: 0 1;
9944           rel1 {
9945             relative: 0.0 1.0;
9946             offset: 4 -5;
9947           }
9948           rel2 {
9949             to_x: "elm.info";
9950             relative: 0.0 1.0;
9951             offset: -5 -5;
9952           }
9953           color: 0 0 0 255;
9954           text {
9955             font: "Sans:style=Bold,Edje-Vera-Bold";
9956             size: 10;
9957             min: 0 1;
9958             max: 0 1;
9959             align: 0.0 1.0;
9960           }
9961         }
9962       }
9963       part { name: "elm.info";
9964         type: TEXT;
9965         mouse_events:   0;
9966         scale: 1;
9967         description { state: "default" 0.0;
9968           align: 1.0 1.0;
9969           fixed: 1 1;
9970           rel1 {
9971             relative: 1.0 1.0;
9972             offset: -5 -5;
9973           }
9974           rel2 {
9975             to_x: "elm.swallow.icon";
9976             relative: 0.0 1.0;
9977             offset: -5 -5;
9978           }
9979           color: 0 0 0 64;
9980           text {
9981             font: "Sans:style=Bold,Edje-Vera-Bold";
9982             size: 10;
9983             min: 1 1;
9984             max: 1 1;
9985             align: 1.0 1.0;
9986           }
9987         }
9988       }
9989       part { name: "base0";
9990         mouse_events:  0;
9991         description { state: "default" 0.0;
9992           rel2 {
9993             to_y: "elm.swallow.icon";
9994             relative: 1.0 0.0;
9995             offset: -1 -1;
9996           }
9997           image {
9998             normal: "bubble_2.png";
9999             border: 11 36 10 19;
10000           }
10001           image.middle: SOLID;
10002           fill.smooth: 0;
10003         }
10004         description { state: "rtl" 0.0;
10005            inherit: "default" 0.0;
10006            image {
10007               normal: "bubble_1.png";
10008               border: 36 11 10 19;
10009            }
10010         }
10011       }
10012       part { name: "elm.swallow.content";
10013         type: SWALLOW;
10014         description { state: "default" 0.0;
10015           rel1 {
10016             to: "base0";
10017             offset: 9 8;
10018           }
10019           rel2 {
10020             to: "base0";
10021             offset: -10 -17;
10022           }
10023         }
10024       }
10025       part { name: "shine";
10026         mouse_events:  0;
10027         description { state:    "default" 0.0;
10028           rel1 {
10029             to: "base0";
10030             offset: 5 4;
10031           }
10032           rel2 {
10033             to: "base0";
10034             relative: 1.0 0.5;
10035             offset: -6 -16;
10036           }
10037           image {
10038             normal: "bubble_shine.png";
10039             border: 5 5 5 0;
10040           }
10041           fill.smooth: 0;
10042         }
10043         description { state: "rtl" 0.0;
10044            inherit: "default" 0.0;
10045            image {
10046               normal: "bubble_shine3.png";
10047               border: 36 5 14 0;
10048            }
10049         }
10050       }
10051     }
10052     programs {
10053       program {
10054         name: "icon_show";
10055         signal: "elm,state,icon,visible";
10056         source: "elm";
10057         action: STATE_SET "visible" 0.0;
10058         target: "elm.swallow.icon";
10059       }
10060       program {
10061         name: "icon_hide";
10062         signal: "elm,state,icon,hidden";
10063         source: "elm";
10064         action: STATE_SET "default" 0.0;
10065         target: "elm.swallow.icon";
10066       }
10067       program { name: "to_rtl";
10068          signal: "edje,state,rtl";
10069          source: "edje";
10070          action: STATE_SET "rtl" 0.0;
10071          target: "base0";
10072       }
10073       program { name: "to_ltr";
10074          signal: "edje,state,ltr";
10075          source: "edje";
10076          action: STATE_SET "default" 0.0;
10077          target: "base0";
10078       }
10079     }
10080   }
10081
10082 ///////////////////////////////////////////////////////////////////////////////
10083    group { name: "elm/photo/base/default";
10084       images {
10085          image: "frame_1.png" COMP;
10086          image: "frame_2.png" COMP;
10087          image: "dia_grad.png" COMP;
10088          image: "head.png" COMP;
10089       }
10090       parts {
10091          part { name: "base0";
10092             mouse_events:  0;
10093             description { state: "default" 0.0;
10094                image.normal: "dia_grad.png";
10095                rel1.to: "over";
10096                rel2.to: "over";
10097                fill {
10098                   smooth: 0;
10099                   size {
10100                      relative: 0.0 1.0;
10101                      offset: 64 0;
10102                   }
10103                }
10104             }
10105          }
10106          part { name: "base";
10107             mouse_events:  0;
10108             description { state:    "default" 0.0;
10109                image {
10110                   normal: "frame_2.png";
10111                   border: 5 5 32 26;
10112                   middle: 0;
10113                }
10114                fill.smooth : 0;
10115             }
10116          }
10117          part { name: "head";
10118             mouse_events:  0;
10119             description { state:    "default" 0.0;
10120                rel1.offset: 4 4;
10121                rel2.offset: -5 -5;
10122                aspect: 1.0 1.0;
10123                aspect_preference: BOTH;
10124                image.normal: "head.png";
10125             }
10126          }
10127          part { name: "clip";
10128             mouse_events:  0;
10129             type: RECT;
10130             description { state:    "default" 0.0;
10131                rel1.offset: 4 4;
10132                rel2.offset: -5 -5;
10133                color: 255 255 255 255;
10134             }
10135          }
10136          part { name: "elm.swallow.content";
10137             type: SWALLOW;
10138             clip_to: "clip";
10139             description { state: "default" 0.0;
10140                rel1.offset: 4 4;
10141                rel2.offset: -5 -5;
10142             }
10143          }
10144          part { name: "over";
10145             mouse_events:  0;
10146             description { state:    "default" 0.0;
10147                rel1.offset: 4 4;
10148                rel2.offset: -5 -5;
10149                image {
10150                   normal: "frame_1.png";
10151                   border: 2 2 28 22;
10152                   middle: 0;
10153                }
10154                fill.smooth: 0;
10155             }
10156          }
10157      }
10158    }
10159
10160    group { name: "elm/photo/base/shadow";
10161               images {
10162                         image: "shadow.png" COMP;
10163                         image: "black.png" COMP;
10164               }
10165               script {
10166               public message(Msg_Type:type, id, ...) {
10167                 if( (type==MSG_INT_SET) && (id==0) )
10168                 {
10169                     new w;
10170                     new h;
10171
10172                     custom_state(PART:"size", "default", 0.0);
10173
10174                     w = getarg(2);
10175                     h = getarg(3);
10176                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10177                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10178                     set_state(PART:"size", "custom", 0.0);
10179                 }
10180             }
10181             }
10182               parts {
10183               part { name: "size";
10184                     type: SWALLOW;
10185                     description { state: "default" 0.0;
10186                             rel1.relative: 0.5 0.5;
10187                             rel2.relative: 0.5 0.5;
10188                     }
10189                  }
10190               part {
10191                 name: "shadow";
10192                 type: IMAGE;
10193                 repeat_events: 1;
10194                 description {
10195                     state: "default" 0.0;
10196                     rel1.to: "size";
10197                     rel2.to: "size";
10198                     rel1.relative: -0.06 -0.06;
10199                     rel2.relative: 1.07 1.07;
10200                     image.normal: "shadow.png";
10201                 }
10202             }
10203
10204
10205                  part { name: "elm.swallow.content";
10206                     type: SWALLOW;
10207                     description { state: "default" 0.0;
10208                     rel1.offset: 3 3;
10209                     rel2.offset: -3 -3;
10210                             fixed: 1 1;
10211                     }
10212                  }
10213
10214                  part {
10215                 name: "border";
10216                 type: IMAGE;
10217                 repeat_events: 1;
10218                 description {
10219                     state: "default" 0.0;
10220                     visible: 1;
10221                     color: 0 0 0 255;
10222                     rel1.to: "size";
10223                     rel2.to: "size";
10224                     image.normal: "black.png";
10225                     image.border: 1 1 1 1;
10226                     image.middle: 0;
10227                 }
10228             }
10229                  }
10230    }
10231
10232 ///////////////////////////////////////////////////////////////////////////////
10233    group { name: "elm/thumb/base/default";
10234       images {
10235          image: "frame_1.png" COMP;
10236          image: "frame_2.png" COMP;
10237          image: "dia_grad.png" COMP;
10238          image: "busy-1.png" COMP;
10239          image: "busy-2.png" COMP;
10240          image: "busy-3.png" COMP;
10241          image: "busy-4.png" COMP;
10242          image: "busy-5.png" COMP;
10243          image: "busy-6.png" COMP;
10244          image: "busy-7.png" COMP;
10245          image: "busy-8.png" COMP;
10246          image: "busy-9.png" COMP;
10247       }
10248       parts {
10249          part { name: "base0";
10250             mouse_events:  0;
10251             description { state:        "default" 0.0;
10252                image.normal: "dia_grad.png";
10253                rel1.to: "over";
10254                rel2.to: "over";
10255                fill {
10256                   smooth: 0;
10257                   size {
10258                      relative: 0.0 1.0;
10259                      offset: 64 0;
10260                   }
10261                }
10262             }
10263          }
10264          part { name: "base";
10265             mouse_events:  0;
10266             description { state:        "default" 0.0;
10267                image {
10268                   normal: "frame_2.png";
10269                   border: 5 5 32 26;
10270                   middle: 0;
10271                }
10272                fill.smooth : 0;
10273             }
10274          }
10275          part { name: "clip";
10276             mouse_events:  0;
10277             type: RECT;
10278             description { state:        "default" 0.0;
10279                rel1.offset: 4 4;
10280                rel2.offset: -5 -5;
10281                color: 255 255 255 255;
10282             }
10283          }
10284          part { name: "elm.swallow.content";
10285             type: SWALLOW;
10286             clip_to: "clip";
10287             description { state:        "default" 0.0;
10288                rel1.offset: 4 4;
10289                rel2.offset: -5 -5;
10290             }
10291          }
10292          part { name: "progress";
10293             mouse_events: 0;
10294
10295             clip_to: "clip";
10296             description { state:        "default" 0.0;
10297                min: 32 32;
10298                max: 32 32;
10299                visible: 0;
10300                aspect: 1.0 1.0;
10301                aspect_preference: BOTH;
10302             }
10303             description { state:        "pulse" 0.0;
10304                inherit: "default" 0.0;
10305                visible: 1;
10306                image {
10307                   normal: "busy-9.png";
10308                   tween:  "busy-1.png";
10309                   tween:  "busy-2.png";
10310                   tween:  "busy-3.png";
10311                   tween:  "busy-4.png";
10312                   tween:  "busy-5.png";
10313                   tween:  "busy-6.png";
10314                   tween:  "busy-7.png";
10315                   tween:  "busy-8.png";
10316                   border: 7 7 7 7;
10317                }
10318             }
10319          }
10320          part { name: "over";
10321             mouse_events:  0;
10322             description { state:        "default" 0.0;
10323                rel1.offset: 4 4;
10324                rel2.offset: -5 -5;
10325                image {
10326                   normal: "frame_1.png";
10327                   border: 2 2 28 22;
10328                   middle: 0;
10329                }
10330                fill.smooth: 0;
10331             }
10332          }
10333          programs {
10334             program { name: "start_pulse";
10335                signal: "elm,state,pulse,start";
10336                source: "elm";
10337                action: STATE_SET "pulse" 0.0;
10338                target: "progress";
10339                transition: LINEAR 0.5;
10340                after: "start_pulse";
10341             }
10342             program { name: "stop_pulse";
10343                signal: "elm,state,pulse,stop";
10344                source: "elm";
10345                action: STATE_SET "default" 0.0;
10346                target: "progress";
10347             }
10348          }
10349       }
10350    }
10351
10352    group { name: "elm/thumb/base/noframe";
10353       images {
10354          image: "busy-1.png" COMP;
10355          image: "busy-2.png" COMP;
10356          image: "busy-3.png" COMP;
10357          image: "busy-4.png" COMP;
10358          image: "busy-5.png" COMP;
10359          image: "busy-6.png" COMP;
10360          image: "busy-7.png" COMP;
10361          image: "busy-8.png" COMP;
10362          image: "busy-9.png" COMP;
10363       }
10364       parts {
10365          part { name: "elm.swallow.content";
10366             type: SWALLOW;
10367             description { state: "default" 0.0;
10368                rel1.offset: 4 4;
10369                rel2.offset: -5 -5;
10370             }
10371          }
10372          part { name: "progress";
10373             mouse_events: 0;
10374             description { state:        "default" 0.0;
10375                min: 32 32;
10376                max: 32 32;
10377                visible: 0;
10378                aspect: 1.0 1.0;
10379                aspect_preference: BOTH;
10380             }
10381             description { state:        "pulse" 0.0;
10382                inherit: "default" 0.0;
10383                visible: 1;
10384                image {
10385                   normal: "busy-9.png";
10386                   tween:  "busy-1.png";
10387                   tween:  "busy-2.png";
10388                   tween:  "busy-3.png";
10389                   tween:  "busy-4.png";
10390                   tween:  "busy-5.png";
10391                   tween:  "busy-6.png";
10392                   tween:  "busy-7.png";
10393                   tween:  "busy-8.png";
10394                   border: 7 7 7 7;
10395                }
10396             }
10397          }
10398          programs {
10399             program { name: "start_pulse";
10400                signal: "elm,state,pulse,start";
10401                source: "elm";
10402                action: STATE_SET "pulse" 0.0;
10403                target: "progress";
10404                transition: LINEAR 0.5;
10405                after: "start_pulse";
10406             }
10407             program { name: "stop_pulse";
10408                signal: "elm,state,pulse,stop";
10409                source: "elm";
10410                action: STATE_SET "default" 0.0;
10411                target: "progress";
10412             }
10413          }
10414       }
10415    }
10416
10417
10418 ///////////////////////////////////////////////////////////////////////////////
10419 #define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max)                   \
10420    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10421       alias: "elm/icon/"##Alias##"/default";                            \
10422       images.image: File COMP; parts { part { name: "base";             \
10423             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10424                image.normal: File; } } } }
10425
10426 #define GROUP_ICON(Name, File, Min, Max)                      \
10427    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10428       images.image: File COMP; parts { part { name: "base";             \
10429             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10430                image.normal: File; } } } }
10431
10432    group { name: "elm/icon/arrow_down/default";
10433            alias: "elm/icon/toolbar/arrow_down/default";
10434            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10435       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10436          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10437             image.normal: "icon_arrow_down.png"; } } } }
10438
10439    GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
10440    GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
10441    GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
10442    GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
10443    GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
10444    GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
10445    GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
10446    GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
10447    GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
10448    GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
10449    GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
10450    GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
10451    GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
10452 ///////////////////////////////////////////////////////////////////////////////
10453    GROUP_ICON("menu/home", "icon_home.png", 24, 24);
10454    GROUP_ICON("menu/close", "icon_close.png", 24, 24);
10455    GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
10456    GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
10457    GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
10458    GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
10459    GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
10460    GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
10461    GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
10462    GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
10463    GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
10464    GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
10465    GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
10466    GROUP_ICON("menu/file", "icon_file.png", 24, 24);
10467
10468    GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
10469    GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
10470    GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
10471    GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
10472    GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
10473    GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
10474    GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
10475    GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
10476
10477 ///////////////////////////////////////////////////////////////////////////////
10478    group { name: "elm/toolbar/base/default";
10479       images {
10480          image: "bt_dis_base.png" COMP;
10481          image: "bt_dis_hilight.png" COMP;
10482          image: "bt_dis_shine.png" COMP;
10483          image: "icon_left_arrow.png" COMP;
10484          image: "icon_right_arrow.png" COMP;
10485       }
10486       parts {
10487          part { name: "base";
10488             mouse_events: 1;
10489             description { state: "default" 0.0;
10490                rel1 {
10491                   relative: 0.0 0.0;
10492                   offset: 2 2;
10493                }
10494                rel2.offset: -3 -3;
10495                image {
10496                   normal: "bt_dis_base.png";
10497                   border: 4 4 4 4;
10498                }
10499                image.middle: SOLID;
10500             }
10501          }
10502          part { name: "clipper";
10503             type: RECT;
10504             mouse_events: 0;
10505             description {
10506                state: "default" 0.0;
10507                rel1 {
10508                   to: "base";
10509                   offset: 2 2;
10510                }
10511                rel2 {
10512                   to: "base";
10513                   offset: -3 -3;
10514                }
10515             }
10516          }
10517          part { name: "elm.swallow.content";
10518             clip_to: "clipper";
10519             type: SWALLOW;
10520             description {
10521                state: "default" 0.0;
10522                rel1.to: "clipper";
10523                rel2.to: "clipper";
10524             }
10525          }
10526          part { name: "over2";
10527             mouse_events: 0;
10528             description { state: "default" 0.0;
10529                rel1.to: "base";
10530                rel2.to: "base";
10531                image {
10532                   normal: "bt_dis_shine.png";
10533                   border: 4 4 4 4;
10534                }
10535             }
10536          }
10537          part { name: "over1";
10538             mouse_events: 0;
10539             description { state: "default" 0.0;
10540                rel1.to: "base";
10541                rel2.to: "base";
10542                rel2.relative: 1.0 0.5;
10543                image {
10544                   normal: "bt_dis_hilight.png";
10545                   border: 4 4 4 0;
10546                }
10547                color: 255 255 255 128;
10548             }
10549          }
10550          part { name: "left_arrow";
10551             mouse_events: 0;
10552             description { state: "default" 0.0;
10553                image.normal: "icon_left_arrow.png";
10554                aspect: 1.0 1.0;
10555                aspect_preference: VERTICAL;
10556                align: 0.0 0.5;
10557                min: 32 32;
10558                max: 32 32;
10559             }
10560             description { state: "hidden" 0.0;
10561                inherit: "default" 0.0;
10562                visible: 0;
10563                color: 255 255 255 0;
10564             }
10565          }
10566          part { name: "right_arrow";
10567             mouse_events: 0;
10568             description { state: "default" 0.0;
10569                image.normal: "icon_right_arrow.png";
10570                aspect: 1.0 1.0;
10571                aspect_preference: VERTICAL;
10572                align: 1.0 0.5;
10573                min: 32 32;
10574                max: 32 32;
10575             }
10576             description { state: "hidden" 0.0;
10577                inherit: "default" 0.0;
10578                visible: 0;
10579                color: 255 255 255 0;
10580             }
10581          }
10582          part { name: "event";
10583             type: RECT;
10584             mouse_events: 1;
10585             repeat_events: 1;
10586             description { state: "default" 0.0;
10587                color: 0 0 0 0;
10588             }
10589          }
10590       }
10591       programs {
10592          program { name: "sb_hbar_show";
10593             signal: "elm,action,show,hbar";
10594             source: "elm";
10595             action:  STATE_SET "default" 0.0;
10596             transition: LINEAR 0.5;
10597             target: "left_arrow";
10598             target: "right_arrow";
10599          }
10600          program { name: "sb_hbar_hide";
10601             signal: "elm,action,hide,hbar";
10602             source: "elm";
10603             action:  STATE_SET "hidden" 0.0;
10604             target: "left_arrow";
10605             target: "right_arrow";
10606             transition: LINEAR 0.5;
10607          }
10608       }
10609    }
10610
10611    group { name: "elm/toolbar/item/default";
10612        images {
10613            image: "toolbar_sel.png" COMP;
10614        }
10615        data.item: "transition_animation_on" "1";
10616        parts {
10617            part { name: "label2";
10618                type: TEXT;
10619                mouse_events:  0;
10620                scale: 1;
10621                clip_to: "elm.text.clipper";
10622                description { state: "default" 0.0;
10623                    align: 0.5 1.0;
10624                    fixed: 0 1;
10625                    rel1.to: "elm.text";
10626                    rel2.to: "elm.text";
10627                    color: 0 0 0 255;
10628                    text {
10629                        font: "Sans";
10630                        text_source: "elm.text";
10631                        size: 10;
10632                        min: 1 1;
10633                        align: 0.5 0.5;
10634                        text_class: "toolbar_item";
10635                    }
10636                }
10637                description { state: "selected" 0.0;
10638                    inherit: "default" 0.0;
10639                    visible: 0;
10640                }
10641                description { state: "disabled" 0.0;
10642                    inherit: "default" 0.0;
10643                    color: 0 0 0 128;
10644                    color3: 0 0 0 0;
10645                }
10646                description { state: "disabled_visible" 0.0;
10647                    inherit: "default" 0.0;
10648                    color: 0 0 0 128;
10649                    color3: 0 0 0 0;
10650                    visible: 1;
10651                    text.min: 1 1;
10652                }
10653            }
10654            part { name: "label2_new";
10655                type: TEXT;
10656                mouse_events:  0;
10657                scale: 1;
10658                clip_to: "elm.text_new.clipper";
10659                description { state: "default" 0.0;
10660                    align: 0.5 1.0;
10661                    fixed: 0 1;
10662                    rel1.to: "elm.text_new";
10663                    rel2.to: "elm.text_new";
10664                    color: 0 0 0 255;
10665                    text {
10666                        font: "Sans";
10667                        text_source: "elm.text_new";
10668                        size: 10;
10669                        min: 1 1;
10670                        align: 0.5 0.5;
10671                        text_class: "toolbar_item";
10672                    }
10673                }
10674                description { state: "selected" 0.0;
10675                    inherit: "default" 0.0;
10676                    visible: 0;
10677                }
10678                description { state: "disabled" 0.0;
10679                    inherit: "default" 0.0;
10680                    color: 0 0 0 128;
10681                    color3: 0 0 0 0;
10682                }
10683                description { state: "disabled_visible" 0.0;
10684                    inherit: "default" 0.0;
10685                    color: 0 0 0 128;
10686                    color3: 0 0 0 0;
10687                    visible: 1;
10688                    text.min: 1 1;
10689                }
10690            }
10691            part { name: "bg";
10692                mouse_events: 0;
10693                description { state: "default" 0.0;
10694                    visible: 0;
10695                    color: 255 255 255 0;
10696                    image {
10697                        normal: "toolbar_sel.png";
10698                        border: 3 3 0 0;
10699                    }
10700                    image.middle: SOLID;
10701                    fill.smooth: 0;
10702                }
10703                description { state: "selected" 0.0;
10704                    inherit: "default" 0.0;
10705                    visible: 1;
10706                    color: 255 255 255 255;
10707                }
10708                description { state: "disabled" 0.0;
10709                    inherit: "default" 0.0;
10710                    visible: 0;
10711                    color: 255 255 255 0;
10712                }
10713            }
10714            part { name: "elm.swallow.icon";
10715                type: SWALLOW;
10716                clip_to: "elm.icon.clipper";
10717                description { state: "default" 0.0;
10718                    align: 0.5 0.5;
10719                    fixed: 0 0;
10720                    rel1 {
10721                        relative: 0.0 0.0;
10722                        offset: 2 2;
10723                    }
10724                    rel2 {
10725                        to_y: "elm.text";
10726                        relative: 1.0 0.0;
10727                        offset: -3 -1;
10728                    }
10729                    color: 0 0 0 0;
10730                }
10731            }
10732            part { name: "elm.swallow.icon_new";
10733                type: SWALLOW;
10734                clip_to: "elm.icon_new.clipper";
10735                description { state: "default" 0.0;
10736                    align: 0.5 0.5;
10737                    fixed: 0 0;
10738                    rel1 {
10739                        relative: 0.0 0.0;
10740                        offset: 2 2;
10741                    }
10742                    rel2 {
10743                        to_y: "elm.text_new";
10744                        relative: 1.0 0.0;
10745                        offset: -3 -1;
10746                    }
10747                    color: 0 0 0 0;
10748                }
10749            }
10750            part { name: "elm.text";
10751                type: TEXT;
10752                effect: SOFT_SHADOW;
10753                mouse_events:  0;
10754                scale: 1;
10755                clip_to: "elm.text.clipper";
10756                description { state: "default" 0.0;
10757                    align: 0.5 1.0;
10758                    fixed: 0 1;
10759                    rel1 {
10760                        relative: 0.0 1.0;
10761                        offset:   0 -1;
10762                    }
10763                    rel2 {
10764                        relative: 1.0 1.0;
10765                        offset:   -1 -1;
10766                    }
10767                    visible: 0;
10768                    color: 224 224 224 255;
10769                    color3: 0 0 0 32;
10770                    text {
10771                        font: "Sans:style=Bold";
10772                        size: 10;
10773                        min: 1 1;
10774                        align: 0.5 0.5;
10775                        text_class: "toolbar_item";
10776                    }
10777                }
10778                description { state: "selected" 0.0;
10779                    inherit: "default" 0.0;
10780                    visible: 1;
10781                }
10782                description { state: "visible" 0.0;
10783                    inherit: "default" 0.0;
10784                    visible: 1;
10785                    text.min: 1 1;
10786                }
10787                description { state: "disabled" 0.0;
10788                    inherit: "default" 0.0;
10789                    color: 0 0 0 128;
10790                    color3: 0 0 0 0;
10791                }
10792                description { state: "disabled_visible" 0.0;
10793                    inherit: "default" 0.0;
10794                    color: 0 0 0 128;
10795                    color3: 0 0 0 0;
10796                    visible: 1;
10797                    text.min: 1 1;
10798                }
10799            }
10800            part { name: "elm.text_new";
10801                type: TEXT;
10802                effect: SOFT_SHADOW;
10803                mouse_events:  0;
10804                clip_to: "elm.text_new.clipper";
10805                scale: 1;
10806                description { state: "default" 0.0;
10807                    align: 0.5 1.0;
10808                    fixed: 0 1;
10809                    rel1 {
10810                        relative: 0.0 1.0;
10811                        offset:   0 -1;
10812                    }
10813                    rel2 {
10814                        relative: 1.0 1.0;
10815                        offset:   -1 -1;
10816                    }
10817                    visible: 0;
10818                    color: 224 224 224 255;
10819                    color3: 0 0 0 32;
10820                    text {
10821                        font: "Sans:style=Bold";
10822                        size: 10;
10823                        min: 1 1;
10824                        align: 0.5 0.5;
10825                        text_class: "toolbar_item";
10826                    }
10827                }
10828                description { state: "selected" 0.0;
10829                    inherit: "default" 0.0;
10830                    visible: 1;
10831                }
10832                description { state: "visible" 0.0;
10833                    inherit: "default" 0.0;
10834                    visible: 1;
10835                    text.min: 1 1;
10836                }
10837                description { state: "disabled" 0.0;
10838                    inherit: "default" 0.0;
10839                    color: 0 0 0 128;
10840                    color3: 0 0 0 0;
10841                }
10842                description { state: "disabled_visible" 0.0;
10843                    inherit: "default" 0.0;
10844                    color: 0 0 0 128;
10845                    color3: 0 0 0 0;
10846                    visible: 1;
10847                    text.min: 1 1;
10848                }
10849            }
10850            part { name: "elm.text.clipper";
10851                type: RECT;
10852                description { state: "default" 0.0;
10853                    color: 255 255 255 255;
10854                }
10855                description { state: "animation" 0.0;
10856                    color: 255 255 255 0;
10857                }
10858            }
10859            part { name: "elm.text_new.clipper";
10860                type: RECT;
10861                description { state: "default" 0.0;
10862                    color: 255 255 255 0;
10863                }
10864                description { state: "animation" 0.0;
10865                    color: 255 255 255 255;
10866                }
10867            }
10868            part { name: "elm.icon.clipper";
10869                type: RECT;
10870                description { state: "default" 0.0;
10871                    color: 255 255 255 255;
10872                }
10873                description { state: "animation" 0.0;
10874                    color: 255 255 255 0;
10875                }
10876            }
10877            part { name: "elm.icon_new.clipper";
10878                type: RECT;
10879                description { state: "default" 0.0;
10880                    color: 255 255 255 0;
10881                }
10882                description { state: "animation" 0.0;
10883                    color: 255 255 255 255;
10884                }
10885            }
10886            part { name: "event";
10887                type: RECT;
10888                mouse_events: 1;
10889                ignore_flags: ON_HOLD;
10890                description { state: "default" 0.0;
10891                    color: 0 0 0 0;
10892                }
10893            }
10894        }
10895        programs {
10896            program { name: "go_active";
10897                signal:  "elm,state,selected";
10898                source:  "elm";
10899                action:  STATE_SET "selected" 0.0;
10900                target:  "bg";
10901                target:  "elm.text";
10902                target:  "label2";
10903                target:  "elm.text_new";
10904                target:  "label2_new";
10905                transition: LINEAR 0.2;
10906            }
10907            program { name: "go_passive";
10908                signal:  "elm,state,unselected";
10909                source:  "elm";
10910                action:  STATE_SET "default" 0.0;
10911                target:  "bg";
10912                target:  "elm.text";
10913                target:  "label2";
10914                target:  "elm.text_new";
10915                target:  "label2_new";
10916                transition: LINEAR 0.1;
10917            }
10918            program { name: "go";
10919                signal:  "mouse,up,1";
10920                source:  "event";
10921                action:  SIGNAL_EMIT "elm,action,click" "elm";
10922            }
10923            program { name: "mouse,in";
10924               signal:  "mouse,in";
10925               source:  "event";
10926               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10927            }
10928            program { name: "mouse,out";
10929               signal:  "mouse,out";
10930               source:  "event";
10931               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10932            }
10933            program { name: "disable";
10934                signal: "elm,state,disabled";
10935                source: "elm";
10936                action: STATE_SET "disabled" 0.0;
10937                target: "label2";
10938                target: "label2_new";
10939                target: "bg";
10940                after: "disable_text";
10941            }
10942            program { name: "disable_text";
10943                script {
10944                    new st[31];
10945                    new Float:vl;
10946                    get_state(PART:"elm.text", st, 30, vl);
10947                    if (!strcmp(st, "visible"))
10948                    {
10949                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10950                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10951                    }
10952                    else
10953                    {
10954                       set_state(PART:"elm.text", "disabled", 0.0);
10955                       set_state(PART:"elm.text_new", "disabled", 0.0);
10956                    }
10957                }
10958            }
10959            program { name: "enable";
10960                signal: "elm,state,enabled";
10961                source: "elm";
10962                action: STATE_SET "default" 0.0;
10963                target: "label2";
10964                target: "label2_new";
10965                target: "bg";
10966                after: "enable_text";
10967            }
10968            program { name: "enable_text";
10969                script {
10970                    new st[31];
10971                    new Float:vl;
10972                    get_state(PART:"elm.text", st, 30, vl);
10973                    if (!strcmp(st, "disabled_visible"))
10974                    {
10975                       set_state(PART:"elm.text", "visible", 0.0);
10976                       set_state(PART:"elm.text_new", "visible", 0.0);
10977                    }
10978                    else
10979                    {
10980                       set_state(PART:"elm.text", "default", 0.0);
10981                       set_state(PART:"elm.text_new", "default", 0.0);
10982                    }
10983                }
10984            }
10985            program { name: "label_set,animation,forward";
10986               signal: "elm,state,label_set,forward";
10987               source: "elm";
10988               after: "label_set,animation";
10989            }
10990            program { name: "label_set,animation,backward";
10991               signal: "elm,state,label_set,backward";
10992               source: "elm";
10993               after: "label_set,animation";
10994            }
10995            program { name: "label_set,animation";
10996               signal: "elm,state,label_set";
10997               source: "elm";
10998               action: STATE_SET "animation" 0.0;
10999               target: "elm.text.clipper";
11000               target: "elm.text_new.clipper";
11001               transition: LINEAR 0.2;
11002               after: "label_set,animation,done";
11003            }
11004            program { name: "label_set,animation,done";
11005               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11006            }
11007            program { name: "label,reset";
11008               signal: "elm,state,label,reset";
11009               source: "elm";
11010               action: STATE_SET "default" 0.0;
11011               target: "elm.text.clipper";
11012               target: "elm.text_new.clipper";
11013            }
11014            program { name: "icon_set,animation,forward";
11015               signal: "elm,state,icon_set,forward";
11016               source: "elm";
11017               after: "icon_set,animation";
11018            }
11019            program { name: "icon_set,animation,backward";
11020               signal: "elm,state,icon_set,backward";
11021               source: "elm";
11022               after: "icon_set,animation";
11023            }
11024            program { name: "icon_set,animation";
11025               signal: "elm,state,icon_set";
11026               source: "elm";
11027               action: STATE_SET "animation" 0.0;
11028               target: "elm.icon.clipper";
11029               target: "elm.icon_new.clipper";
11030               transition: LINEAR 0.2;
11031               after: "icon_set,animation,done";
11032            }
11033            program { name: "icon_set,animation,done";
11034               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11035            }
11036            program { name: "icon,reset";
11037               signal: "elm,state,icon,reset";
11038               source: "elm";
11039               action: STATE_SET "default" 0.0;
11040               target: "elm.icon.clipper";
11041               target: "elm.icon_new.clipper";
11042            }
11043        }
11044    }
11045
11046    group { name: "elm/toolbar/separator/default";
11047       images {
11048          image: "toolbar_separator_v.png" COMP;
11049       }
11050       parts {
11051          part { name: "separator"; // separator group
11052             description { state: "default" 0.0;
11053                min: 2 2;
11054                max: 2 9999;
11055                rel1.offset: 4 4;
11056                rel2.offset: -5 -5;
11057                image {
11058                   normal: "toolbar_separator_v.png";
11059                }
11060                fill {
11061                   smooth: 0;
11062                }
11063             }
11064          }
11065       }
11066    }
11067
11068    ///////////////////////////////////////////////////////////////////////////////
11069    group { name: "elm/notify/block_events/default";
11070        parts {
11071            part { name: "block_events";
11072                type: RECT;
11073                description { state: "default" 0.0;
11074                    color: 0 0 0 64;
11075                    visible: 1;
11076                }
11077            }
11078        }
11079            programs {
11080                    program {
11081                                 name: "block_clicked";
11082                                 signal: "mouse,clicked,1";
11083                                 source: "block_events";
11084                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11085                    }
11086            }
11087    }
11088    group { name: "elm/notify/top/default";
11089        //this group is a design similar to the inwin group
11090        images {
11091            image: "shad_circ.png" COMP;
11092            image: "bt_dis_base.png" COMP;
11093            image: "bt_dis_hilight.png" COMP;
11094        }
11095        parts {
11096            part { name: "base";
11097                type: RECT;
11098                mouse_events: 0;
11099                repeat_events: 1;
11100                description { state: "default" 0.0;
11101                    color: 0 0 0 0;
11102                    rel1.offset: 10 10;
11103                    rel2.offset: -10 -10;
11104                    rel1.relative: 0.0 -1.0;
11105                    rel2.relative: 1.0 0.0;
11106                }
11107                description { state: "visible" 0.0;
11108                    inherit: "default" 0.0;
11109                    color: 0 0 0 64;
11110                    rel1.relative: 0.0 0.0;
11111                    rel2.relative: 1.0 1.0;
11112                }
11113            }
11114            part { name: "shad";
11115                mouse_events:  0;
11116                description { state: "default" 0.0;
11117                    image.normal: "shad_circ.png";
11118                    rel1.to: "elm.swallow.content";
11119                    rel1.offset: -64 -64;
11120                    rel2.to: "elm.swallow.content";
11121                    rel2.offset: 63 63;
11122                    fill.smooth: 0;
11123                }
11124            }
11125            part { name: "pop";
11126                mouse_events: 1;
11127                description { state: "default" 0.0;
11128                    rel1.to: "elm.swallow.content";
11129                    rel1.offset: -5 -5;
11130                    rel2.to: "elm.swallow.content";
11131                    rel2.offset: 4 4;
11132                    image {
11133                        normal: "bt_dis_base.png";
11134                        border: 4 4 4 4;
11135                    }
11136                    image.middle: SOLID;
11137                }
11138            }
11139            part { name: "popover";
11140                mouse_events: 0;
11141                description { state: "default" 0.0;
11142                    rel1.to: "pop";
11143                    rel2.to: "pop";
11144                    rel2.relative: 1.0 0.5;
11145                    image {
11146                        normal: "bt_dis_hilight.png";
11147                        border: 4 4 4 0;
11148                    }
11149                }
11150            }
11151            part { name: "elm.swallow.content";
11152                type: SWALLOW;
11153                description { state: "default" 0.0;
11154                    rel1.to: "base";
11155                    rel2.to: "base";
11156                }
11157            }
11158        }
11159        programs {
11160            program { name: "show";
11161                signal: "elm,action,show";
11162                source: "elm";
11163                action: STATE_SET "visible" 0.0;
11164                target: "base";
11165            }
11166            program { name: "show_2";
11167                 signal: "show";
11168                 action: STATE_SET "default" 0.0;
11169                 target: "base";
11170                 after: "show_3";
11171            }
11172            program { name: "show_3";
11173                 signal: "show";
11174                 action: STATE_SET "visible" 0.0;
11175                 target: "base";
11176                 transition: LINEAR 0.5;
11177            }
11178            program { name: "hide";
11179                signal: "elm,action,hide";
11180                source: "elm";
11181                action: STATE_SET "default" 0.0;
11182                target: "base";
11183            }
11184        }
11185    }
11186    group { name: "elm/notify/center/default";
11187        //this group is a design similar to the inwin group
11188        images {
11189            image: "bt_dis_base.png" COMP;
11190        }
11191        parts {
11192            part { name: "base";
11193                type: RECT;
11194                mouse_events: 0;
11195                repeat_events: 1;
11196                description { state: "default" 0.0;
11197                    color: 0 0 0 0;
11198                    rel1.relative: 0.0 0.0;
11199                    rel2.relative: 1.0 1.0;
11200                }
11201            }
11202            part { name: "pop";
11203                mouse_events: 1;
11204                description { state: "default" 0.0;
11205                    rel1.to: "elm.swallow.content";
11206                    rel1.offset: -5 -5;
11207                    rel2.to: "elm.swallow.content";
11208                    rel2.offset: 4 4;
11209                    image {
11210                        normal: "bt_dis_base.png";
11211                        border: 4 4 4 4;
11212                    }
11213                }
11214            }
11215            part { name: "elm.swallow.content";
11216                type: SWALLOW;
11217                description { state: "default" 0.0;
11218                    rel1.to: "base";
11219                    rel2.to: "base";
11220                }
11221            }
11222        }
11223        programs {
11224            program { name: "show";
11225                signal: "elm,action,show";
11226                source: "elm";
11227                action: STATE_SET "default" 0.0;
11228                target: "base";
11229            }
11230            program { name: "show_2";
11231                 signal: "show";
11232                 action: STATE_SET "default" 0.0;
11233                 target: "base";
11234            }
11235            program { name: "hide";
11236                signal: "elm,action,hide";
11237                source: "elm";
11238                action: STATE_SET "default" 0.0;
11239                target: "base";
11240            }
11241        }
11242    }
11243    group { name: "elm/notify/bottom/default";
11244        //this group is a design similar to the inwin group
11245        images {
11246            image: "shad_circ.png" COMP;
11247            image: "bt_dis_base.png" COMP;
11248            image: "bt_dis_hilight.png" COMP;
11249        }
11250        parts {
11251            part { name: "base";
11252                type: RECT;
11253                mouse_events: 0;
11254                repeat_events: 1;
11255                description { state: "default" 0.0;
11256                    color: 0 0 0 0;
11257                    rel1.offset: 10 10;
11258                    rel2.offset: -10 -10;
11259                    rel1.relative: 0.0 1.0;
11260                    rel2.relative: 1.0 2.0;
11261                }
11262                description { state: "visible" 0.0;
11263                    inherit: "default" 0.0;
11264                    color: 0 0 0 64;
11265                    rel1.relative: 0.0 0.0;
11266                    rel2.relative: 1.0 1.0;
11267                }
11268            }
11269            part { name: "shad";
11270                mouse_events:  0;
11271                description { state: "default" 0.0;
11272                    image.normal: "shad_circ.png";
11273                    rel1.to: "elm.swallow.content";
11274                    rel1.offset: -64 -64;
11275                    rel2.to: "elm.swallow.content";
11276                    rel2.offset: 63 63;
11277                    fill.smooth: 0;
11278                }
11279            }
11280            part { name: "pop";
11281                mouse_events: 1;
11282                description { state: "default" 0.0;
11283                    rel1.to: "elm.swallow.content";
11284                    rel1.offset: -5 -5;
11285                    rel2.to: "elm.swallow.content";
11286                    rel2.offset: 4 4;
11287                    image {
11288                        normal: "bt_dis_base.png";
11289                        border: 4 4 4 4;
11290                    }
11291                    image.middle: SOLID;
11292                }
11293            }
11294            part { name: "popover";
11295                mouse_events: 0;
11296                description { state: "default" 0.0;
11297                    rel1.to: "pop";
11298                    rel2.to: "pop";
11299                    rel2.relative: 1.0 0.5;
11300                    image {
11301                        normal: "bt_dis_hilight.png";
11302                        border: 4 4 4 0;
11303                    }
11304                }
11305            }
11306            part { name: "elm.swallow.content";
11307                type: SWALLOW;
11308                description { state: "default" 0.0;
11309                    rel1.to: "base";
11310                    rel2.to: "base";
11311                }
11312            }
11313        }
11314        programs {
11315            program { name: "show";
11316                signal: "elm,action,show";
11317                source: "elm";
11318                action: STATE_SET "visible" 0.0;
11319                target: "base";
11320            }
11321            program { name: "show_2";
11322                 signal: "show";
11323                 action: STATE_SET "default" 0.0;
11324                 target: "base";
11325                 after: "show_3";
11326            }
11327            program { name: "show_3";
11328                 signal: "show";
11329                 action: STATE_SET "visible" 0.0;
11330                 target: "base";
11331                 transition: LINEAR 0.5;
11332            }
11333            program { name: "hide";
11334                signal: "elm,action,hide";
11335                source: "elm";
11336                action: STATE_SET "default" 0.0;
11337                target: "base";
11338            }
11339        }
11340    }
11341    group { name: "elm/notify/left/default";
11342        //this group is a design similar to the inwin group
11343        images {
11344            image: "shad_circ.png" COMP;
11345            image: "bt_dis_base.png" COMP;
11346            image: "bt_dis_hilight.png" COMP;
11347        }
11348        parts {
11349            part { name: "base";
11350                type: RECT;
11351                mouse_events: 0;
11352                repeat_events: 1;
11353                description { state: "default" 0.0;
11354                    color: 0 0 0 0;
11355                    rel1.offset: 10 10;
11356                    rel2.offset: -10 -10;
11357                    rel1.relative: -1.0 0.0;
11358                    rel2.relative: 0.0 1.0;
11359                }
11360                description { state: "visible" 0.0;
11361                    inherit: "default" 0.0;
11362                    color: 0 0 0 64;
11363                    rel1.relative: 0.0 0.0;
11364                    rel2.relative: 1.0 1.0;
11365                }
11366            }
11367            part { name: "shad";
11368                mouse_events:  0;
11369                description { state: "default" 0.0;
11370                    image.normal: "shad_circ.png";
11371                    rel1.to: "elm.swallow.content";
11372                    rel1.offset: -64 -64;
11373                    rel2.to: "elm.swallow.content";
11374                    rel2.offset: 63 63;
11375                    fill.smooth: 0;
11376                }
11377            }
11378            part { name: "pop";
11379                mouse_events: 1;
11380                description { state: "default" 0.0;
11381                    rel1.to: "elm.swallow.content";
11382                    rel1.offset: -5 -5;
11383                    rel2.to: "elm.swallow.content";
11384                    rel2.offset: 4 4;
11385                    image {
11386                        normal: "bt_dis_base.png";
11387                        border: 4 4 4 4;
11388                    }
11389                    image.middle: SOLID;
11390                }
11391            }
11392            part { name: "popover";
11393                mouse_events: 0;
11394                description { state: "default" 0.0;
11395                    rel1.to: "pop";
11396                    rel2.to: "pop";
11397                    rel2.relative: 1.0 0.5;
11398                    image {
11399                        normal: "bt_dis_hilight.png";
11400                        border: 4 4 4 0;
11401                    }
11402                }
11403            }
11404            part { name: "elm.swallow.content";
11405                type: SWALLOW;
11406                description { state: "default" 0.0;
11407                    rel1.to: "base";
11408                    rel2.to: "base";
11409                }
11410            }
11411        }
11412        programs {
11413            program { name: "show";
11414                signal: "elm,action,show";
11415                source: "elm";
11416                action: STATE_SET "visible" 0.0;
11417                target: "base";
11418            }
11419            program { name: "show_2";
11420                signal: "show";
11421                action: STATE_SET "default" 0.0;
11422                target: "base";
11423                after: "show_3";
11424            }
11425            program { name: "show_3";
11426                signal: "show";
11427                action: STATE_SET "visible" 0.0;
11428                target: "base";
11429                transition: LINEAR 0.5;
11430            }
11431            program { name: "hide";
11432                signal: "elm,action,hide";
11433                source: "elm";
11434                action: STATE_SET "default" 0.0;
11435                target: "base";
11436            }
11437        }
11438    }
11439    group { name: "elm/notify/right/default";
11440        //this group is a design similar to the inwin group
11441        images {
11442            image: "shad_circ.png" COMP;
11443            image: "bt_dis_base.png" COMP;
11444            image: "bt_dis_hilight.png" COMP;
11445        }
11446        parts {
11447            part { name: "base";
11448                type: RECT;
11449                mouse_events: 0;
11450                repeat_events: 1;
11451                 description { state: "default" 0.0;
11452                    color: 0 0 0 0;
11453                    rel1.offset: 10 10;
11454                    rel2.offset: -10 -10;
11455                    rel1.relative: 1.0 0.0;
11456                    rel2.relative: 2.0 1.0;
11457                }
11458                description { state: "visible" 0.0;
11459                    inherit: "default" 0.0;
11460                    color: 0 0 0 64;
11461                    rel1.relative: 0.0 0.0;
11462                    rel2.relative: 1.0 1.0;
11463                }
11464            }
11465            part { name: "shad";
11466                mouse_events:  0;
11467                description { state: "default" 0.0;
11468                    image.normal: "shad_circ.png";
11469                    rel1.to: "elm.swallow.content";
11470                    rel1.offset: -64 -64;
11471                    rel2.to: "elm.swallow.content";
11472                    rel2.offset: 63 63;
11473                    fill.smooth: 0;
11474                }
11475            }
11476            part { name: "pop";
11477                mouse_events: 1;
11478                description { state: "default" 0.0;
11479                    rel1.to: "elm.swallow.content";
11480                    rel1.offset: -5 -5;
11481                    rel2.to: "elm.swallow.content";
11482                    rel2.offset: 4 4;
11483                    image {
11484                        normal: "bt_dis_base.png";
11485                        border: 4 4 4 4;
11486                    }
11487                    image.middle: SOLID;
11488                }
11489            }
11490            part { name: "popover";
11491                mouse_events: 0;
11492                description { state: "default" 0.0;
11493                    rel1.to: "pop";
11494                    rel2.to: "pop";
11495                    rel2.relative: 1.0 0.5;
11496                    image {
11497                        normal: "bt_dis_hilight.png";
11498                        border: 4 4 4 0;
11499                    }
11500                }
11501            }
11502            part { name: "elm.swallow.content";
11503                type: SWALLOW;
11504                description { state: "default" 0.0;
11505                    rel1.to: "base";
11506                    rel2.to: "base";
11507                }
11508            }
11509        }
11510        programs {
11511            program { name: "show";
11512                signal: "elm,action,show";
11513                source: "elm";
11514                action: STATE_SET "visible" 0.0;
11515                target: "base";
11516            }
11517            program { name: "show_2";
11518                signal: "show";
11519                action: STATE_SET "default" 0.0;
11520                target: "base";
11521                after: "show_3";
11522            }
11523            program { name: "show_3";
11524                signal: "show";
11525                action: STATE_SET "visible" 0.0;
11526                target: "base";
11527                transition: LINEAR 0.5;
11528            }
11529            program { name: "hide";
11530                signal: "elm,action,hide";
11531                source: "elm";
11532                action: STATE_SET "default" 0.0;
11533                target: "base";
11534            }
11535        }
11536    }
11537    group { name: "elm/notify/top_left/default";
11538        //this group is a design similar to the inwin group
11539        images {
11540            image: "shad_circ.png" COMP;
11541            image: "bt_dis_base.png" COMP;
11542            image: "bt_dis_hilight.png" COMP;
11543        }
11544        parts {
11545            part { name: "base";
11546                type: RECT;
11547                mouse_events: 0;
11548                repeat_events: 1;
11549                 description { state: "default" 0.0;
11550                    color: 0 0 0 0;
11551                    rel1.offset: 10 10;
11552                    rel2.offset: -10 -10;
11553                    rel1.relative: 0.0 -1.0;
11554                    rel2.relative: 1.0 0.0;
11555                }
11556                description { state: "visible" 0.0;
11557                    inherit: "default" 0.0;
11558                    color: 0 0 0 64;
11559                    rel1.relative: 0.0 0.0;
11560                    rel2.relative: 1.0 1.0;
11561                }
11562            }
11563            part { name: "shad";
11564                mouse_events:  0;
11565                description { state: "default" 0.0;
11566                    image.normal: "shad_circ.png";
11567                    rel1.to: "elm.swallow.content";
11568                    rel1.offset: -64 -64;
11569                    rel2.to: "elm.swallow.content";
11570                    rel2.offset: 63 63;
11571                    fill.smooth: 0;
11572                }
11573            }
11574            part { name: "pop";
11575                mouse_events: 1;
11576                description { state: "default" 0.0;
11577                    rel1.to: "elm.swallow.content";
11578                    rel1.offset: -5 -5;
11579                    rel2.to: "elm.swallow.content";
11580                    rel2.offset: 4 4;
11581                    image {
11582                        normal: "bt_dis_base.png";
11583                        border: 4 4 4 4;
11584                    }
11585                    image.middle: SOLID;
11586                }
11587            }
11588            part { name: "popover";
11589                mouse_events: 0;
11590                description { state: "default" 0.0;
11591                    rel1.to: "pop";
11592                    rel2.to: "pop";
11593                    rel2.relative: 1.0 0.5;
11594                    image {
11595                        normal: "bt_dis_hilight.png";
11596                        border: 4 4 4 0;
11597                    }
11598                }
11599            }
11600            part { name: "elm.swallow.content";
11601                type: SWALLOW;
11602                description { state: "default" 0.0;
11603                    rel1.to: "base";
11604                    rel2.to: "base";
11605                }
11606            }
11607        }
11608        programs {
11609            program { name: "show";
11610                signal: "elm,action,show";
11611                source: "elm";
11612                action: STATE_SET "visible" 0.0;
11613                target: "base";
11614            }
11615            program { name: "show_2";
11616                signal: "show";
11617                action: STATE_SET "default" 0.0;
11618                target: "base";
11619                after: "show_3";
11620            }
11621            program { name: "show_3";
11622                signal: "show";
11623                action: STATE_SET "visible" 0.0;
11624                target: "base";
11625                transition: LINEAR 0.5;
11626            }
11627            program { name: "hide";
11628                signal: "elm,action,hide";
11629                source: "elm";
11630                action: STATE_SET "default" 0.0;
11631                target: "base";
11632            }
11633        }
11634    }
11635    group { name: "elm/notify/top_right/default";
11636        //this group is a design similar to the inwin group
11637        images {
11638            image: "shad_circ.png" COMP;
11639            image: "bt_dis_base.png" COMP;
11640            image: "bt_dis_hilight.png" COMP;
11641        }
11642        parts {
11643            part { name: "base";
11644                type: RECT;
11645                mouse_events: 0;
11646                repeat_events: 1;
11647                description { state: "default" 0.0;
11648                    color: 0 0 0 0;
11649                    rel1.offset: 10 10;
11650                    rel2.offset: -10 -10;
11651                    rel1.relative: 0.0 -1.0;
11652                    rel2.relative: 1.0 0.0;
11653                }
11654                description { state: "visible" 0.0;
11655                    inherit: "default" 0.0;
11656                    color: 0 0 0 64;
11657                    rel1.relative: 0.0 0.0;
11658                    rel2.relative: 1.0 1.0;
11659                }
11660            }
11661            part { name: "shad";
11662                mouse_events:  0;
11663                description { state: "default" 0.0;
11664                    image.normal: "shad_circ.png";
11665                    rel1.to: "elm.swallow.content";
11666                    rel1.offset: -64 -64;
11667                    rel2.to: "elm.swallow.content";
11668                    rel2.offset: 63 63;
11669                    fill.smooth: 0;
11670                }
11671            }
11672            part { name: "pop";
11673                mouse_events: 1;
11674                description { state: "default" 0.0;
11675                    rel1.to: "elm.swallow.content";
11676                    rel1.offset: -5 -5;
11677                    rel2.to: "elm.swallow.content";
11678                    rel2.offset: 4 4;
11679                    image {
11680                        normal: "bt_dis_base.png";
11681                        border: 4 4 4 4;
11682                    }
11683                    image.middle: SOLID;
11684                }
11685            }
11686            part { name: "popover";
11687                mouse_events: 0;
11688                description { state: "default" 0.0;
11689                    rel1.to: "pop";
11690                    rel2.to: "pop";
11691                    rel2.relative: 1.0 0.5;
11692                    image {
11693                        normal: "bt_dis_hilight.png";
11694                        border: 4 4 4 0;
11695                    }
11696                }
11697            }
11698            part { name: "elm.swallow.content";
11699                type: SWALLOW;
11700                description { state: "default" 0.0;
11701                    rel1.to: "base";
11702                    rel2.to: "base";
11703                }
11704            }
11705        }
11706        programs {
11707            program { name: "show";
11708                signal: "elm,action,show";
11709                source: "elm";
11710                action: STATE_SET "visible" 0.0;
11711                target: "base";
11712            }
11713            program { name: "show_2";
11714                signal: "show";
11715                action: STATE_SET "default" 0.0;
11716                target: "base";
11717                after: "show_3";
11718            }
11719            program { name: "show_3";
11720                signal: "show";
11721                action: STATE_SET "visible" 0.0;
11722                target: "base";
11723                transition: LINEAR 0.5;
11724            }
11725            program { name: "hide";
11726                signal: "elm,action,hide";
11727                source: "elm";
11728                action: STATE_SET "default" 0.0;
11729                target: "base";
11730            }
11731        }
11732    }
11733    group { name: "elm/notify/bottom_left/default";
11734        //this group is a design similar to the inwin group
11735        images {
11736            image: "shad_circ.png" COMP;
11737            image: "bt_dis_base.png" COMP;
11738            image: "bt_dis_hilight.png" COMP;
11739        }
11740        parts {
11741            part { name: "base";
11742                type: RECT;
11743                mouse_events: 0;
11744                repeat_events: 1;
11745                description { state: "default" 0.0;
11746                    color: 0 0 0 0;
11747                    rel1.offset: 10 10;
11748                    rel2.offset: -10 -10;
11749                    rel1.relative: 0.0 1.0;
11750                    rel2.relative: 1.0 2.0;
11751                }
11752                description { state: "visible" 0.0;
11753                    inherit: "default" 0.0;
11754                    color: 0 0 0 64;
11755                    rel1.relative: 0.0 0.0;
11756                    rel2.relative: 1.0 1.0;
11757                }
11758            }
11759            part { name: "shad";
11760                mouse_events:  0;
11761                description { state: "default" 0.0;
11762                    image.normal: "shad_circ.png";
11763                    rel1.to: "elm.swallow.content";
11764                    rel1.offset: -64 -64;
11765                    rel2.to: "elm.swallow.content";
11766                    rel2.offset: 63 63;
11767                    fill.smooth: 0;
11768                }
11769            }
11770            part { name: "pop";
11771                mouse_events: 1;
11772                description { state: "default" 0.0;
11773                    rel1.to: "elm.swallow.content";
11774                    rel1.offset: -5 -5;
11775                    rel2.to: "elm.swallow.content";
11776                    rel2.offset: 4 4;
11777                    image {
11778                        normal: "bt_dis_base.png";
11779                        border: 4 4 4 4;
11780                    }
11781                    image.middle: SOLID;
11782                }
11783            }
11784            part { name: "popover";
11785                mouse_events: 0;
11786                description { state: "default" 0.0;
11787                    rel1.to: "pop";
11788                    rel2.to: "pop";
11789                    rel2.relative: 1.0 0.5;
11790                    image {
11791                        normal: "bt_dis_hilight.png";
11792                        border: 4 4 4 0;
11793                    }
11794                }
11795            }
11796            part { name: "elm.swallow.content";
11797                type: SWALLOW;
11798                description { state: "default" 0.0;
11799                    rel1.to: "base";
11800                    rel2.to: "base";
11801                }
11802            }
11803        }
11804        programs {
11805            program { name: "show";
11806                signal: "elm,action,show";
11807                source: "elm";
11808                action: STATE_SET "visible" 0.0;
11809                target: "base";
11810            }
11811            program { name: "show_2";
11812                signal: "show";
11813                action: STATE_SET "default" 0.0;
11814                target: "base";
11815                after: "show_3";
11816            }
11817            program { name: "show_3";
11818                signal: "show";
11819                action: STATE_SET "visible" 0.0;
11820                target: "base";
11821                transition: LINEAR 0.5;
11822            }
11823            program { name: "hide";
11824                signal: "elm,action,hide";
11825                source: "elm";
11826                action: STATE_SET "default" 0.0;
11827                target: "base";
11828            }
11829        }
11830    }
11831    group { name: "elm/notify/bottom_right/default";
11832        //this group is a design similar to the inwin group
11833        images {
11834            image: "shad_circ.png" COMP;
11835            image: "bt_dis_base.png" COMP;
11836            image: "bt_dis_hilight.png" COMP;
11837        }
11838        parts {
11839            part { name: "base";
11840                type: RECT;
11841                mouse_events: 0;
11842                repeat_events: 1;
11843               description { state: "default" 0.0;
11844                    color: 0 0 0 0;
11845                    rel1.offset: 10 10;
11846                    rel2.offset: -10 -10;
11847                    rel1.relative: 0.0 1.0;
11848                    rel2.relative: 1.0 2.0;
11849                }
11850                description { state: "visible" 0.0;
11851                    inherit: "default" 0.0;
11852                    color: 0 0 0 64;
11853                    rel1.relative: 0.0 0.0;
11854                    rel2.relative: 1.0 1.0;
11855                }
11856            }
11857            part { name: "shad";
11858                mouse_events:  0;
11859                description { state: "default" 0.0;
11860                    image.normal: "shad_circ.png";
11861                    rel1.to: "elm.swallow.content";
11862                    rel1.offset: -64 -64;
11863                    rel2.to: "elm.swallow.content";
11864                    rel2.offset: 63 63;
11865                    fill.smooth: 0;
11866                }
11867            }
11868            part { name: "pop";
11869                mouse_events: 1;
11870                description { state: "default" 0.0;
11871                    rel1.to: "elm.swallow.content";
11872                    rel1.offset: -5 -5;
11873                    rel2.to: "elm.swallow.content";
11874                    rel2.offset: 4 4;
11875                    image {
11876                        normal: "bt_dis_base.png";
11877                        border: 4 4 4 4;
11878                    }
11879                    image.middle: SOLID;
11880                }
11881            }
11882            part { name: "popover";
11883                mouse_events: 0;
11884                description { state: "default" 0.0;
11885                    rel1.to: "pop";
11886                    rel2.to: "pop";
11887                    rel2.relative: 1.0 0.5;
11888                    image {
11889                        normal: "bt_dis_hilight.png";
11890                        border: 4 4 4 0;
11891                    }
11892                }
11893            }
11894            part { name: "elm.swallow.content";
11895                type: SWALLOW;
11896                description { state: "default" 0.0;
11897                    rel1.to: "base";
11898                    rel2.to: "base";
11899                }
11900            }
11901        }
11902        programs {
11903            program { name: "show";
11904                signal: "elm,action,show";
11905                source: "elm";
11906                action: STATE_SET "visible" 0.0;
11907                target: "base";
11908            }
11909            program { name: "show_2";
11910                signal: "show";
11911                action: STATE_SET "default" 0.0;
11912                target: "base";
11913                after: "show_3";
11914            }
11915            program { name: "show_3";
11916                signal: "show";
11917                action: STATE_SET "visible" 0.0;
11918                target: "base";
11919                transition: LINEAR 0.5;
11920            }
11921            program { name: "hide";
11922                signal: "elm,action,hide";
11923                source: "elm";
11924                action: STATE_SET "default" 0.0;
11925                target: "base";
11926            }
11927        }
11928    }
11929
11930 ///////////////////////////////////////////////////////////////////////////////
11931    group { name: "elm/slideshow/base/default";
11932       data {
11933          item: transitions "fade black_fade horizontal vertical square";
11934          item: layouts "fullscreen not_fullscreen";
11935       }
11936       parts {
11937          part { name: "whole";
11938                  type: RECT;
11939             description {
11940                state: "default" 0.0;
11941                visible: 1;
11942                color: 20 20 20 255;
11943             }
11944          }
11945          part { name: "image_1_whole";
11946             type: RECT;
11947             description {
11948                state: "default" 0.0;
11949                color: 255 255 255 255;
11950             }
11951             description {
11952                state: "fade_prev_next" 0.0;
11953                inherit: "default" 0.0;
11954                color: 255 255 255 0;
11955             }
11956             description {
11957                state: "black_fade_prev_next_init" 0.0;
11958                inherit: "default" 0.0;
11959                color: 255 255 255 255;
11960             }
11961             description {
11962                state: "black_fade_prev_next" 0.0;
11963                inherit: "default" 0.0;
11964                color: 0 0 0 255;
11965             }
11966             description {
11967                state: "horizontal_next_init" 0.0;
11968                inherit: "default" 0.0;
11969             }
11970             description {
11971                state: "horizontal_next" 0.0;
11972                inherit: "default" 0.0;
11973                rel1.relative: -1.0 0.0;
11974                rel2.relative: 0.0 1.0;
11975             }
11976             description {
11977                state: "horizontal_prev_init" 0.0;
11978                inherit: "default" 0.0;
11979             }
11980             description {
11981                state: "horizontal_prev" 0.0;
11982                inherit: "default" 0.0;
11983                rel1.relative: 1.0 0.0;
11984                rel2.relative: 2.0 1.0;
11985             }
11986             description {
11987                state: "vertical_next_init" 0.0;
11988                inherit: "default" 0.0;
11989             }
11990             description {
11991                state: "vertical_next" 0.0;
11992                inherit: "default" 0.0;
11993                rel1.relative: 0.0 -1.0;
11994                rel2.relative: 1.0 0.0;
11995             }
11996             description {
11997                state: "vertical_prev_init" 0.0;
11998                inherit: "default" 0.0;
11999             }
12000             description {
12001                state: "vertical_prev" 0.0;
12002                inherit: "default" 0.0;
12003                rel1.relative: 0.0 1.0;
12004                rel2.relative: 1.0 2.0;
12005             }
12006             description {
12007                state: "square_prev_next" 0.0;
12008                inherit: "default" 0.0;
12009                color: 255 255 255 0;
12010             }
12011          }
12012          part { name: "image_2_whole";
12013             type: RECT;
12014             description {
12015                state: "default" 0.0;
12016                visible: 1;
12017                color: 255 255 255 0;
12018             }
12019             description {
12020                state: "fade_prev_next" 0.0;
12021                inherit: "default" 0.0;
12022                color: 255 255 255 255;
12023             }
12024             description {
12025                state: "black_fade_prev_next_init" 0.0;
12026                inherit: "default" 0.0;
12027                color: 0 0 0 0;
12028             }
12029             description {
12030                state: "black_fade_prev_next" 0.0;
12031                inherit: "default" 0.0;
12032                color: 255 255 255 255;
12033             }
12034             description {
12035                state: "horizontal_next_init" 0.0;
12036                inherit: "default" 0.0;
12037                rel1.relative: 1.0 0.0;
12038                rel2.relative: 2.0 1.0;
12039                color: 255 255 255 255;
12040             }
12041             description {
12042                state: "horizontal_next" 0.0;
12043                inherit: "default" 0.0;
12044                color: 255 255 255 255;
12045             }
12046             description {
12047                state: "horizontal_prev_init" 0.0;
12048                inherit: "default" 0.0;
12049                rel1.relative: -1.0 0.0;
12050                rel2.relative: 0.0 1.0;
12051                color: 255 255 255 255;
12052             }
12053             description {
12054                state: "horizontal_prev" 0.0;
12055                inherit: "default" 0.0;
12056                color: 255 255 255 255;
12057             }
12058             description {
12059                state: "vertical_next_init" 0.0;
12060                inherit: "default" 0.0;
12061                rel1.relative: 0.0 1.0;
12062                rel2.relative: 1.0 2.0;
12063                color: 255 255 255 255;
12064             }
12065             description {
12066                state: "vertical_next" 0.0;
12067                inherit: "default" 0.0;
12068                color: 255 255 255 255;
12069             }
12070             description {
12071                state: "vertical_prev_init" 0.0;
12072                inherit: "default" 0.0;
12073                rel1.relative: 0.0 -1.0;
12074                rel2.relative: 1.0 0.0;
12075                color: 255 255 255 255;
12076             }
12077             description {
12078                state: "vertical_prev" 0.0;
12079                inherit: "default" 0.0;
12080                color: 255 255 255 255;
12081             }
12082             description {
12083                state: "square_prev_next_init" 0.0;
12084                inherit: "default" 0.0;
12085                rel1.relative: 0.5 0.5;
12086                rel2.relative: 0.5 0.5;
12087                color: 255 255 255 255;
12088             }
12089             description {
12090                state: "square_prev_next" 0.0;
12091                inherit: "default" 0.0;
12092                rel1.relative: 0.0 0.0;
12093                rel2.relative: 1.0 1.0;
12094                color: 255 255 255 255;
12095             }
12096          }
12097          part { name: "elm.swallow.1";
12098             type: SWALLOW;
12099             clip_to: "image_1_whole";
12100             description {
12101                state: "default" 0.0;
12102                rel1.to: "image_1_whole";
12103                rel2.to: "image_1_whole";
12104                color: 255 255 255 255;
12105             }
12106             description {
12107                state: "not_fullscreen" 0.0;
12108                rel1.relative: 0.1 0.1;
12109                rel1.to: "image_1_whole";
12110                rel2.relative: 0.9 0.9;
12111                rel2.to: "image_1_whole";
12112                color: 255 255 255 255;
12113             }
12114          }
12115          part { name: "elm.swallow.2";
12116             type: SWALLOW;
12117             clip_to: "image_2_whole";
12118             description {
12119                state: "default" 0.0;
12120                color: 255 255 255 255;
12121                rel1.to: "image_2_whole";
12122                rel2.to: "image_2_whole";
12123             }
12124             description {
12125                state: "not_fullscreen" 0.0;
12126                color: 255 255 255 255;
12127                rel1.relative: 0.1 0.1;
12128                rel1.to: "image_2_whole";
12129                rel2.relative: 0.9 0.9;
12130                rel2.to: "image_2_whole";
12131             }
12132          }
12133          part { name: "events_catcher";
12134             type: RECT;
12135             repeat_events: 1;
12136             description {
12137                state: "default" 0.0;
12138                visible: 1;
12139                color: 0 0 0 0;
12140             }
12141          }
12142       }
12143       programs {
12144               //Substyle
12145               program { name: "layout_fullscreen";
12146             signal: "layout,fullscreen";
12147             source: "slideshow";
12148             action: STATE_SET "default" 0.0;
12149             target: "elm.swallow.1";
12150             target: "elm.swallow.2";
12151             transition: SINUSOIDAL 1.0;
12152         }
12153         program { name: "layout_not_fullscreen";
12154             signal: "layout,not_fullscreen";
12155             source: "slideshow";
12156             action: STATE_SET "not_fullscreen" 0.0;
12157             target: "elm.swallow.1";
12158             target: "elm.swallow.2";
12159             transition: SINUSOIDAL 1.0;
12160          }
12161                //
12162          program { name: "fade_next";
12163             signal: "fade,next";
12164             source: "slideshow";
12165             action: STATE_SET "default" 0.0;
12166             target: "image_1_whole";
12167             target: "image_2_whole";
12168             after: "fade_next_2";
12169          }
12170          program { name: "fade_next_2";
12171             action: STATE_SET "fade_prev_next" 0.0;
12172             target: "image_1_whole";
12173             target: "image_2_whole";
12174             transition: SINUSOIDAL 1.5;
12175             after: "end";
12176          }
12177          program { name: "fade_previous";
12178             signal: "fade,previous";
12179             source: "slideshow";
12180             action: STATE_SET "default" 0.0;
12181             target: "image_1_whole";
12182             target: "image_2_whole";
12183             after: "fade_previous_2";
12184          }
12185          program { name: "fade_previous_2";
12186             action: STATE_SET "fade_prev_next" 0.0;
12187             target: "image_1_whole";
12188             target: "image_2_whole";
12189             transition: SINUSOIDAL 1.5;
12190             after: "end";
12191          }
12192          program { name: "black_fade_next";
12193             signal: "black_fade,next";
12194             source: "slideshow";
12195             action: STATE_SET "black_fade_prev_next_init" 0.0;
12196             target: "image_1_whole";
12197             target: "image_2_whole";
12198             after: "black_fade_next_2";
12199          }
12200          program { name: "black_fade_next_2";
12201             action: STATE_SET "black_fade_prev_next" 0.0;
12202             target: "image_1_whole";
12203             transition: SINUSOIDAL 0.75;
12204             after: "black_fade_next_3";
12205          }
12206          program { name: "black_fade_next_3";
12207             action: STATE_SET "black_fade_prev_next" 0.0;
12208             target: "image_2_whole";
12209             transition: SINUSOIDAL 0.75;
12210             after: "end";
12211          }
12212          program { name: "black_fade_previous";
12213             signal: "black_fade,previous";
12214             source: "slideshow";
12215             action: STATE_SET "black_fade_prev_next_init" 0.0;
12216             target: "image_1_whole";
12217             target: "image_2_whole";
12218             after: "black_fade_previous_2";
12219          }
12220          program { name: "black_fade_previous_2";
12221             action: STATE_SET "black_fade_prev_next" 0.0;
12222             target: "image_1_whole";
12223             transition: SINUSOIDAL 0.75;
12224             after: "black_fade_previous_3";
12225          }
12226          program { name: "black_fade_previous_3";
12227             action: STATE_SET "black_fade_prev_next" 0.0;
12228             target: "image_2_whole";
12229             transition: SINUSOIDAL 0.75;
12230             after: "end";
12231          }
12232          program { name: "horizontal_next";
12233             signal: "horizontal,next";
12234             source: "slideshow";
12235             action: STATE_SET "horizontal_next_init" 0.0;
12236             target: "image_1_whole";
12237             target: "image_2_whole";
12238             after: "horizontal_next_2";
12239          }
12240          program { name: "horizontal_next_2";
12241             action: STATE_SET "horizontal_next" 0.0;
12242             target: "image_1_whole";
12243             target: "image_2_whole";
12244             transition: SINUSOIDAL 1.5;
12245             after: "end";
12246          }
12247          program { name: "horizontal_previous";
12248             signal: "horizontal,previous";
12249             source: "slideshow";
12250             action: STATE_SET "horizontal_prev_init" 0.0;
12251             target: "image_1_whole";
12252             target: "image_2_whole";
12253             after: "horizontal_previous_2";
12254          }
12255          program { name: "horizontal_previous_2";
12256             action: STATE_SET "horizontal_prev" 0.0;
12257             target: "image_1_whole";
12258             target: "image_2_whole";
12259             transition: SINUSOIDAL 1.5;
12260             after: "end";
12261          }
12262          program { name: "vertical_next";
12263             signal: "vertical,next";
12264             source: "slideshow";
12265             action: STATE_SET "vertical_next_init" 0.0;
12266             target: "image_1_whole";
12267             target: "image_2_whole";
12268             after: "vertical_next_2";
12269          }
12270          program { name: "vertical_next_2";
12271             action: STATE_SET "vertical_next" 0.0;
12272             target: "image_1_whole";
12273             target: "image_2_whole";
12274             transition: SINUSOIDAL 1.5;
12275             after: "end";
12276          }
12277          program { name: "vertical_previous";
12278             signal: "vertical,previous";
12279             source: "slideshow";
12280             action: STATE_SET "vertical_prev_init" 0.0;
12281             target: "image_1_whole";
12282             target: "image_2_whole";
12283             after: "vertical_previous_2";
12284          }
12285          program { name: "vertical_previous_2";
12286             action: STATE_SET "vertical_prev" 0.0;
12287             target: "image_1_whole";
12288             target: "image_2_whole";
12289             transition: SINUSOIDAL 1.5;
12290             after: "end";
12291          }
12292          program { name: "square_next";
12293             signal: "square,next";
12294             source: "slideshow";
12295             action: STATE_SET "square_prev_next_init" 0.0;
12296             target: "image_2_whole";
12297             after: "square_next_2";
12298          }
12299          program { name: "square_next_2";
12300             action: STATE_SET "square_prev_next" 0.0;
12301             target: "image_2_whole";
12302             target: "image_1_whole";
12303             transition: SINUSOIDAL 1.5;
12304             after: "end";
12305          }
12306          program { name: "square_previous";
12307             signal: "square,previous";
12308             source: "slideshow";
12309             action: STATE_SET "square_prev_next_init" 0.0;
12310             target: "image_2_whole";
12311             after: "square_next_2";
12312          }
12313          program { name: "end";
12314             action: SIGNAL_EMIT "end" "slideshow";
12315          }
12316          program { name: "end_signal";
12317             signal: "anim,end";
12318             source: "slideshow";
12319             action: STATE_SET "default" 0.0;
12320             target: "image_1_whole";
12321             target: "image_2_whole";
12322          }
12323       }
12324    }
12325
12326 ///////////////////////////////////////////////////////////////////////////////
12327    group { name: "elm/win/inwin/default";
12328       images {
12329          image: "shad_circ.png" COMP;
12330          image: "bt_dis_base.png" COMP;
12331          image: "bt_dis_hilight.png" COMP;
12332       }
12333       parts {
12334          part { name: "base";
12335             type: RECT;
12336             mouse_events: 1;
12337             description { state: "default" 0.0;
12338                color: 0 0 0 0;
12339             }
12340             description { state: "visible" 0.0;
12341                inherit: "default" 1.0;
12342                color: 0 0 0 64;
12343             }
12344          }
12345          part { name: "shad";
12346             mouse_events:  0;
12347             description { state: "default" 0.0;
12348                image.normal: "shad_circ.png";
12349                rel1.to: "elm.swallow.content";
12350                rel1.offset: -64 -64;
12351                rel2.to: "elm.swallow.content";
12352                rel2.offset: 63 63;
12353                fill.smooth: 0;
12354             }
12355          }
12356          part { name: "pop";
12357             mouse_events: 1;
12358             description { state: "default" 0.0;
12359                rel1.to: "elm.swallow.content";
12360                rel1.offset: -5 -5;
12361                rel2.to: "elm.swallow.content";
12362                rel2.offset: 4 4;
12363                image {
12364                   normal: "bt_dis_base.png";
12365                   border: 4 4 4 4;
12366                }
12367                image.middle: SOLID;
12368             }
12369          }
12370          part { name: "popover";
12371             mouse_events: 0;
12372             description { state: "default" 0.0;
12373                rel1.to: "pop";
12374                rel2.to: "pop";
12375                rel2.relative: 1.0 0.5;
12376                image {
12377                   normal: "bt_dis_hilight.png";
12378                   border: 4 4 4 0;
12379                }
12380             }
12381          }
12382          part { name: "elm.swallow.content";
12383             type: SWALLOW;
12384             description { state: "default" 0.0;
12385                rel1.relative: 0.1 0.1;
12386                rel2.relative: 0.9 0.9;
12387             }
12388          }
12389       }
12390       programs {
12391          program { name: "show";
12392             signal: "elm,action,show";
12393             source: "elm";
12394             action: STATE_SET "visible" 0.0;
12395 //            transition: DECELERATE 0.5;
12396             target: "base";
12397          }
12398          program { name: "hide";
12399             signal: "elm,action,hide";
12400             source: "elm";
12401             action: STATE_SET "default" 0.0;
12402 //            transition: DECELERATE 0.5;
12403             target: "base";
12404          }
12405       }
12406    }
12407
12408    group { name: "elm/win/inwin/minimal";
12409       images {
12410          image: "shad_circ.png" COMP;
12411          image: "bt_dis_base.png" COMP;
12412          image: "bt_dis_hilight.png" COMP;
12413       }
12414       parts {
12415          part { name: "base";
12416             type: RECT;
12417             mouse_events: 1;
12418             description { state: "default" 0.0;
12419                color: 0 0 0 0;
12420             }
12421             description { state: "visible" 0.0;
12422                inherit: "default" 1.0;
12423                color: 0 0 0 64;
12424             }
12425          }
12426          part { name: "shad";
12427             mouse_events:  0;
12428             description { state: "default" 0.0;
12429                image.normal: "shad_circ.png";
12430                rel1.to: "elm.swallow.content";
12431                rel1.offset: -64 -64;
12432                rel2.to: "elm.swallow.content";
12433                rel2.offset: 63 63;
12434                fill.smooth: 0;
12435             }
12436          }
12437          part { name: "pop";
12438             mouse_events: 1;
12439             description { state: "default" 0.0;
12440                rel1.to: "elm.swallow.content";
12441                rel1.offset: -5 -5;
12442                rel2.to: "elm.swallow.content";
12443                rel2.offset: 4 4;
12444                image {
12445                   normal: "bt_dis_base.png";
12446                   border: 4 4 4 4;
12447                }
12448                image.middle: SOLID;
12449             }
12450          }
12451          part { name: "popover";
12452             mouse_events: 0;
12453             description { state: "default" 0.0;
12454                rel1.to: "pop";
12455                rel2.to: "pop";
12456                rel2.relative: 1.0 0.5;
12457                image {
12458                   normal: "bt_dis_hilight.png";
12459                   border: 4 4 4 0;
12460                }
12461             }
12462          }
12463          part { name: "elm.swallow.content";
12464             type: SWALLOW;
12465             description { state: "default" 0.0;
12466                fixed: 1 1;
12467                rel1.relative: 0.5 0.5;
12468                rel2.relative: 0.5 0.5;
12469             }
12470          }
12471       }
12472       programs {
12473          program { name: "show";
12474             signal: "elm,action,show";
12475             source: "elm";
12476             action: STATE_SET "visible" 0.0;
12477 //            transition: DECELERATE 0.5;
12478             target: "base";
12479          }
12480          program { name: "hide";
12481             signal: "elm,action,hide";
12482             source: "elm";
12483             action: STATE_SET "default" 0.0;
12484 //            transition: DECELERATE 0.5;
12485             target: "base";
12486          }
12487       }
12488    }
12489
12490    group { name: "elm/win/inwin/minimal_vertical";
12491       images {
12492          image: "shad_circ.png" COMP;
12493          image: "bt_dis_base.png" COMP;
12494          image: "bt_dis_hilight.png" COMP;
12495       }
12496       parts {
12497          part { name: "base";
12498             type: RECT;
12499             mouse_events: 1;
12500             description { state: "default" 0.0;
12501                color: 0 0 0 0;
12502             }
12503             description { state: "visible" 0.0;
12504                inherit: "default" 1.0;
12505                color: 0 0 0 64;
12506             }
12507          }
12508          part { name: "shad";
12509             mouse_events:  0;
12510             description { state: "default" 0.0;
12511                image.normal: "shad_circ.png";
12512                rel1.to: "elm.swallow.content";
12513                rel1.offset: -64 -64;
12514                rel2.to: "elm.swallow.content";
12515                rel2.offset: 63 63;
12516                fill.smooth: 0;
12517             }
12518          }
12519          part { name: "pop";
12520             mouse_events: 1;
12521             description { state: "default" 0.0;
12522                rel1.to: "elm.swallow.content";
12523                rel1.offset: -5 -5;
12524                rel2.to: "elm.swallow.content";
12525                rel2.offset: 4 4;
12526                image {
12527                   normal: "bt_dis_base.png";
12528                   border: 4 4 4 4;
12529                }
12530                image.middle: SOLID;
12531             }
12532          }
12533          part { name: "popover";
12534             mouse_events: 0;
12535             description { state: "default" 0.0;
12536                rel1.to: "pop";
12537                rel2.to: "pop";
12538                rel2.relative: 1.0 0.5;
12539                image {
12540                   normal: "bt_dis_hilight.png";
12541                   border: 4 4 4 0;
12542                }
12543             }
12544          }
12545          part { name: "elm.swallow.content";
12546             type: SWALLOW;
12547             description { state: "default" 0.0;
12548                fixed: 1 1;
12549                rel1.relative: 0.1 0.5;
12550                rel2.relative: 0.9 0.5;
12551             }
12552          }
12553       }
12554       programs {
12555          program { name: "show";
12556             signal: "elm,action,show";
12557             source: "elm";
12558             action: STATE_SET "visible" 0.0;
12559 //            transition: DECELERATE 0.5;
12560             target: "base";
12561          }
12562          program { name: "hide";
12563             signal: "elm,action,hide";
12564             source: "elm";
12565             action: STATE_SET "default" 0.0;
12566 //            transition: DECELERATE 0.5;
12567             target: "base";
12568          }
12569       }
12570    }
12571
12572 ///////////////////////////////////////////////////////////////////////////////
12573
12574 ///////////////////////////////////////////////////////////////////////////////
12575    group { name: "elm/list/item/default";
12576       data.item: "stacking" "above";
12577       images {
12578          image: "bt_sm_base1.png" COMP;
12579          image: "bt_sm_shine.png" COMP;
12580          image: "bt_sm_hilight.png" COMP;
12581          image: "ilist_1.png" COMP;
12582          image: "ilist_item_shadow.png" COMP;
12583       }
12584       parts {
12585          part {
12586             name:           "event";
12587             type:           RECT;
12588             repeat_events: 1;
12589             description {
12590                state: "default" 0.0;
12591                color: 0 0 0 0;
12592             }
12593          }
12594          part {
12595             name: "base_sh";
12596             mouse_events: 0;
12597             description {
12598                state: "default" 0.0;
12599                align: 0.0 0.0;
12600                min: 0 10;
12601                fixed: 1 1;
12602                rel1 {
12603                   to: "base";
12604                   relative: 0.0 1.0;
12605                   offset: 0 0;
12606                }
12607                rel2 {
12608                   to: "base";
12609                   relative: 1.0 1.0;
12610                   offset: -1 0;
12611                }
12612                image {
12613                   normal: "ilist_item_shadow.png";
12614                }
12615                fill.smooth: 0;
12616             }
12617          }
12618          part {
12619             name: "base";
12620             mouse_events: 0;
12621             description {
12622                state: "default" 0.0;
12623                image {
12624                   normal: "ilist_1.png";
12625                   border: 2 2 2 2;
12626                }
12627                fill.smooth: 0;
12628             }
12629          }
12630          part { name: "bg";
12631             mouse_events: 0;
12632             description { state: "default" 0.0;
12633                visible: 0;
12634                color: 255 255 255 0;
12635                rel1 {
12636                   relative: 0.0 0.0;
12637                   offset: -5 -5;
12638                }
12639                rel2 {
12640                   relative: 1.0 1.0;
12641                   offset: 4 4;
12642                }
12643                image {
12644                   normal: "bt_sm_base1.png";
12645                   border: 6 6 6 6;
12646                }
12647                image.middle: SOLID;
12648             }
12649             description { state: "selected" 0.0;
12650                inherit: "default" 0.0;
12651                visible: 1;
12652                color: 255 255 255 255;
12653                rel1 {
12654                   relative: 0.0 0.0;
12655                   offset: -2 -2;
12656                }
12657                rel2 {
12658                   relative: 1.0 1.0;
12659                   offset: 1 1;
12660                }
12661             }
12662          }
12663          part { name: "elm.swallow.icon";
12664             type: SWALLOW;
12665             description { state: "default" 0.0;
12666                fixed: 1 0;
12667                align: 0.0 0.5;
12668                rel1 {
12669                   relative: 0.0  0.0;
12670                   offset:   4    4;
12671                }
12672                rel2 {
12673                   relative: 0.0  1.0;
12674                   offset:   4   -5;
12675                }
12676             }
12677          }
12678          part { name: "elm.swallow.end";
12679             type: SWALLOW;
12680             description { state: "default" 0.0;
12681                fixed: 1 0;
12682                align: 1.0 0.5;
12683                rel1 {
12684                   relative: 1.0  0.0;
12685                   offset:   -5    4;
12686                }
12687                rel2 {
12688                   relative: 1.0  1.0;
12689                   offset:   -5   -5;
12690                }
12691             }
12692          }
12693          part { name: "elm.text";
12694             type:           TEXT;
12695             effect:         SOFT_SHADOW;
12696             mouse_events:   0;
12697             scale: 1;
12698             description {
12699                state: "default" 0.0;
12700 //               min: 16 16;
12701                rel1 {
12702                   to_x:     "elm.swallow.icon";
12703                   relative: 1.0  0.0;
12704                   offset:   4 4;
12705                }
12706                rel2 {
12707                   to_x:     "elm.swallow.end";
12708                   relative: 0.0  1.0;
12709                   offset:   -1 -5;
12710                }
12711                color: 0 0 0 255;
12712                color3: 0 0 0 0;
12713                text {
12714                   font: "Sans";
12715                   size: 10;
12716                   min: 1 1;
12717 //                  min: 0 1;
12718                   align: -1.0 0.5;
12719                   text_class: "list_item";
12720                }
12721             }
12722             description { state: "selected" 0.0;
12723                inherit: "default" 0.0;
12724                color: 224 224 224 255;
12725                color3: 0 0 0 64;
12726             }
12727          }
12728          part { name: "fg1";
12729             mouse_events: 0;
12730             description { state: "default" 0.0;
12731                visible: 0;
12732                color: 255 255 255 0;
12733                rel1.to: "bg";
12734                rel2.relative: 1.0 0.5;
12735                rel2.to: "bg";
12736                image {
12737                   normal: "bt_sm_hilight.png";
12738                   border: 6 6 6 0;
12739                }
12740             }
12741             description { state: "selected" 0.0;
12742                inherit: "default" 0.0;
12743                visible: 1;
12744                color: 255 255 255 255;
12745             }
12746          }
12747          part { name: "fg2";
12748             mouse_events: 0;
12749             description { state: "default" 0.0;
12750                visible: 0;
12751                color: 255 255 255 0;
12752                rel1.to: "bg";
12753                rel2.to: "bg";
12754                image {
12755                   normal: "bt_sm_shine.png";
12756                   border: 6 6 6 0;
12757                }
12758             }
12759             description { state: "selected" 0.0;
12760                inherit: "default" 0.0;
12761                visible: 1;
12762                color: 255 255 255 255;
12763             }
12764          }
12765       }
12766       programs {
12767          program {
12768             name:    "go_active";
12769             signal:  "elm,state,selected";
12770             source:  "elm";
12771             action:  STATE_SET "selected" 0.0;
12772             target:  "bg";
12773             target:  "fg1";
12774             target:  "fg2";
12775             target:  "elm.text";
12776          }
12777          program {
12778             name:    "go_passive";
12779             signal:  "elm,state,unselected";
12780             source:  "elm";
12781             action:  STATE_SET "default" 0.0;
12782             target:  "bg";
12783             target:  "fg1";
12784             target:  "fg2";
12785             target:  "elm.text";
12786             transition: LINEAR 0.1;
12787          }
12788       }
12789    }
12790    group { name: "elm/list/item_odd/default";
12791       data.item: "stacking" "below";
12792       data.item: "selectraise" "on";
12793       images {
12794          image: "bt_sm_base1.png" COMP;
12795          image: "bt_sm_shine.png" COMP;
12796          image: "bt_sm_hilight.png" COMP;
12797          image: "ilist_2.png" COMP;
12798       }
12799       parts {
12800          part {
12801             name:           "event";
12802             type:           RECT;
12803             repeat_events: 1;
12804             description {
12805                state: "default" 0.0;
12806                color: 0 0 0 0;
12807             }
12808          }
12809          part {
12810             name: "base";
12811             mouse_events: 0;
12812             description {
12813                state: "default" 0.0;
12814                image {
12815                   normal: "ilist_2.png";
12816                   border: 2 2 2 2;
12817                }
12818                fill.smooth: 0;
12819             }
12820          }
12821          part { name: "bg";
12822             mouse_events: 0;
12823             description { state: "default" 0.0;
12824                visible: 0;
12825                color: 255 255 255 0;
12826                rel1 {
12827                   relative: 0.0 0.0;
12828                   offset: -5 -5;
12829                }
12830                rel2 {
12831                   relative: 1.0 1.0;
12832                   offset: 4 4;
12833                }
12834                image {
12835                   normal: "bt_sm_base1.png";
12836                   border: 6 6 6 6;
12837                }
12838                image.middle: SOLID;
12839             }
12840             description { state: "selected" 0.0;
12841                inherit: "default" 0.0;
12842                visible: 1;
12843                color: 255 255 255 255;
12844                rel1 {
12845                   relative: 0.0 0.0;
12846                   offset: -2 -2;
12847                }
12848                rel2 {
12849                   relative: 1.0 1.0;
12850                   offset: 1 1;
12851                }
12852             }
12853          }
12854          part {
12855             name:          "elm.swallow.icon";
12856             type:          SWALLOW;
12857             description { state:    "default" 0.0;
12858                fixed: 1 0;
12859                align:    0.0 0.5;
12860                rel1 {
12861                   relative: 0.0  0.0;
12862                   offset:   4    4;
12863                }
12864                rel2 {
12865                   relative: 0.0  1.0;
12866                   offset:   4   -5;
12867                }
12868             }
12869          }
12870          part {
12871             name:          "elm.swallow.end";
12872             type:          SWALLOW;
12873             description { state:    "default" 0.0;
12874                fixed: 1 0;
12875                align: 1.0 0.5;
12876                rel1 {
12877                   relative: 1.0  0.0;
12878                   offset:   -5    4;
12879                }
12880                rel2 {
12881                   relative: 1.0  1.0;
12882                   offset:   -5   -5;
12883                }
12884             }
12885          }
12886          part {
12887             name:           "elm.text";
12888             type:           TEXT;
12889             effect:         SOFT_SHADOW;
12890             mouse_events:   0;
12891             scale: 1;
12892             description {
12893                state: "default" 0.0;
12894 //               min:      16 16;
12895                rel1 {
12896                   to_x:     "elm.swallow.icon";
12897                   relative: 1.0  0.0;
12898                   offset:   4 4;
12899                }
12900                rel2 {
12901                   to_x:     "elm.swallow.end";
12902                   relative: 0.0  1.0;
12903                   offset:   -1 -5;
12904                }
12905                color: 0 0 0 255;
12906                color3: 0 0 0 0;
12907                text {
12908                   font: "Sans";
12909                   size: 10;
12910                   min: 1 1;
12911 //                  min: 0 1;
12912                   align: -1.0 0.5;
12913                   text_class: "list_item";
12914                }
12915             }
12916             description { state: "selected" 0.0;
12917                inherit: "default" 0.0;
12918                color: 224 224 224 255;
12919                color3: 0 0 0 64;
12920             }
12921          }
12922          part { name: "fg1";
12923             mouse_events: 0;
12924             description { state: "default" 0.0;
12925                visible: 0;
12926                color: 255 255 255 0;
12927                rel1.to: "bg";
12928                rel2.relative: 1.0 0.5;
12929                rel2.to: "bg";
12930                image {
12931                   normal: "bt_sm_hilight.png";
12932                   border: 6 6 6 0;
12933                }
12934             }
12935             description { state: "selected" 0.0;
12936                inherit: "default" 0.0;
12937                visible: 1;
12938                color: 255 255 255 255;
12939             }
12940          }
12941          part { name: "fg2";
12942             mouse_events: 0;
12943             description { state: "default" 0.0;
12944                visible: 0;
12945                color: 255 255 255 0;
12946                rel1.to: "bg";
12947                rel2.to: "bg";
12948                image {
12949                   normal: "bt_sm_shine.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       }
12960       programs {
12961          program {
12962             name:    "go_active";
12963             signal:  "elm,state,selected";
12964             source:  "elm";
12965             action:  STATE_SET "selected" 0.0;
12966             target:  "bg";
12967             target:  "fg1";
12968             target:  "fg2";
12969             target:  "elm.text";
12970          }
12971          program {
12972             name:    "go_passive";
12973             signal:  "elm,state,unselected";
12974             source:  "elm";
12975             action:  STATE_SET "default" 0.0;
12976             target:  "bg";
12977             target:  "fg1";
12978             target:  "fg2";
12979             target:  "elm.text";
12980             transition: LINEAR 0.1;
12981          }
12982       }
12983    }
12984    group { name: "elm/list/item_compress/default";
12985       data.item: "stacking" "above";
12986       data.item: "selectraise" "on";
12987       images {
12988          image: "bt_sm_base1.png" COMP;
12989          image: "bt_sm_shine.png" COMP;
12990          image: "bt_sm_hilight.png" COMP;
12991          image: "ilist_1.png" COMP;
12992          image: "ilist_item_shadow.png" COMP;
12993       }
12994       parts {
12995          part {
12996             name:           "event";
12997             type:           RECT;
12998             repeat_events: 1;
12999             description {
13000                state: "default" 0.0;
13001                color: 0 0 0 0;
13002             }
13003          }
13004          part {
13005             name: "base_sh";
13006             mouse_events: 0;
13007             description { state: "default" 0.0;
13008                fixed: 1 1;
13009                align: 0.0 0.0;
13010                min: 0 10;
13011                rel1 {
13012                   to: "base";
13013                   relative: 0.0 1.0;
13014                   offset: 0 0;
13015                }
13016                rel2 {
13017                   to: "base";
13018                   relative: 1.0 1.0;
13019                   offset: -1 0;
13020                }
13021                image {
13022                   normal: "ilist_item_shadow.png";
13023                }
13024                fill.smooth: 0;
13025             }
13026          }
13027          part {
13028             name: "base";
13029             mouse_events: 0;
13030             description {
13031                state: "default" 0.0;
13032                image {
13033                   normal: "ilist_1.png";
13034                   border: 2 2 2 2;
13035                }
13036                fill.smooth: 0;
13037             }
13038          }
13039          part { name: "bg";
13040             mouse_events: 0;
13041             description { state: "default" 0.0;
13042                visible: 0;
13043                color: 255 255 255 0;
13044                rel1 {
13045                   relative: 0.0 0.0;
13046                   offset: -5 -5;
13047                }
13048                rel2 {
13049                   relative: 1.0 1.0;
13050                   offset: 4 4;
13051                }
13052                image {
13053                   normal: "bt_sm_base1.png";
13054                   border: 6 6 6 6;
13055                }
13056                image.middle: SOLID;
13057             }
13058             description { state: "selected" 0.0;
13059                inherit: "default" 0.0;
13060                visible: 1;
13061                color: 255 255 255 255;
13062                rel1 {
13063                   relative: 0.0 0.0;
13064                   offset: -2 -2;
13065                }
13066                rel2 {
13067                   relative: 1.0 1.0;
13068                   offset: 1 1;
13069                }
13070             }
13071          }
13072          part { name:          "elm.swallow.icon";
13073             type:          SWALLOW;
13074             description { state:    "default" 0.0;
13075                fixed: 1 0;
13076                align:    0.0 0.5;
13077                rel1 {
13078                   relative: 0.0  0.0;
13079                   offset:   4    4;
13080                }
13081                rel2 {
13082                   relative: 0.0  1.0;
13083                   offset:   4   -5;
13084                }
13085             }
13086          }
13087          part { name:          "elm.swallow.end";
13088             type:          SWALLOW;
13089             description { state:    "default" 0.0;
13090                fixed: 1 0;
13091                align:    1.0 0.5;
13092                rel1 {
13093                   relative: 1.0  0.0;
13094                   offset:   -5    4;
13095                }
13096                rel2 {
13097                   relative: 1.0  1.0;
13098                   offset:   -5   -5;
13099                }
13100             }
13101          }
13102          part {
13103             name:           "elm.text";
13104             type:           TEXT;
13105             effect:         SOFT_SHADOW;
13106             mouse_events:   0;
13107             scale: 1;
13108             description { state: "default" 0.0;
13109 //               min:      16 16;
13110                rel1 {
13111                   to_x:     "elm.swallow.icon";
13112                   relative: 1.0  0.0;
13113                   offset:   4 4;
13114                }
13115                rel2 {
13116                   to_x:     "elm.swallow.end";
13117                   relative: 0.0  1.0;
13118                   offset:   -1 -5;
13119                }
13120                color: 0 0 0 255;
13121                color3: 0 0 0 0;
13122                text {
13123                   font: "Sans";
13124                   size: 10;
13125 //                  min: 1 1;
13126                   min: 0 1;
13127                   align: 0.0 0.5;
13128                   text_class: "list_item";
13129                }
13130             }
13131             description { state: "selected" 0.0;
13132                inherit: "default" 0.0;
13133                color: 224 224 224 255;
13134                color3: 0 0 0 64;
13135             }
13136          }
13137          part { name: "fg1";
13138             mouse_events: 0;
13139             description { state: "default" 0.0;
13140                visible: 0;
13141                color: 255 255 255 0;
13142                rel1.to: "bg";
13143                rel2.relative: 1.0 0.5;
13144                rel2.to: "bg";
13145                image {
13146                   normal: "bt_sm_hilight.png";
13147                   border: 6 6 6 0;
13148                }
13149             }
13150             description { state: "selected" 0.0;
13151                inherit: "default" 0.0;
13152                visible: 1;
13153                color: 255 255 255 255;
13154             }
13155          }
13156          part { name: "fg2";
13157             mouse_events: 0;
13158             description { state: "default" 0.0;
13159                visible: 0;
13160                color: 255 255 255 0;
13161                rel1.to: "bg";
13162                rel2.to: "bg";
13163                image {
13164                   normal: "bt_sm_shine.png";
13165                   border: 6 6 6 0;
13166                }
13167             }
13168             description { state: "selected" 0.0;
13169                inherit: "default" 0.0;
13170                visible: 1;
13171                color: 255 255 255 255;
13172             }
13173          }
13174       }
13175       programs {
13176          program {
13177             name:    "go_active";
13178             signal:  "elm,state,selected";
13179             source:  "elm";
13180             action:  STATE_SET "selected" 0.0;
13181             target:  "bg";
13182             target:  "fg1";
13183             target:  "fg2";
13184             target:  "elm.text";
13185          }
13186          program {
13187             name:    "go_passive";
13188             signal:  "elm,state,unselected";
13189             source:  "elm";
13190             action:  STATE_SET "default" 0.0;
13191             target:  "bg";
13192             target:  "fg1";
13193             target:  "fg2";
13194             target:  "elm.text";
13195             transition: LINEAR 0.1;
13196          }
13197       }
13198    }
13199    group { name: "elm/list/item_compress_odd/default";
13200       data.item: "stacking" "below";
13201       data.item: "selectraise" "on";
13202       images {
13203          image: "bt_sm_base1.png" COMP;
13204          image: "bt_sm_shine.png" COMP;
13205          image: "bt_sm_hilight.png" COMP;
13206          image: "ilist_2.png" COMP;
13207       }
13208       parts {
13209          part {
13210             name:           "event";
13211             type:           RECT;
13212             repeat_events: 1;
13213             description {
13214                state: "default" 0.0;
13215                color: 0 0 0 0;
13216             }
13217          }
13218          part {
13219             name: "base";
13220             mouse_events: 0;
13221             description {
13222                state: "default" 0.0;
13223                image {
13224                   normal: "ilist_2.png";
13225                   border: 2 2 2 2;
13226                }
13227                fill.smooth: 0;
13228             }
13229          }
13230          part { name: "bg";
13231             mouse_events: 0;
13232             description { state: "default" 0.0;
13233                visible: 0;
13234                color: 255 255 255 0;
13235                rel1 {
13236                   relative: 0.0 0.0;
13237                   offset: -5 -5;
13238                }
13239                rel2 {
13240                   relative: 1.0 1.0;
13241                   offset: 4 4;
13242                }
13243                image {
13244                   normal: "bt_sm_base1.png";
13245                   border: 6 6 6 6;
13246                }
13247                image.middle: SOLID;
13248             }
13249             description { state: "selected" 0.0;
13250                inherit: "default" 0.0;
13251                visible: 1;
13252                color: 255 255 255 255;
13253                rel1 {
13254                   relative: 0.0 0.0;
13255                   offset: -2 -2;
13256                }
13257                rel2 {
13258                   relative: 1.0 1.0;
13259                   offset: 1 1;
13260                }
13261             }
13262          }
13263          part { name:          "elm.swallow.icon";
13264             type:          SWALLOW;
13265             description { state:    "default" 0.0;
13266                fixed: 1 0;
13267                align:    0.0 0.5;
13268                rel1 {
13269                   relative: 0.0  0.0;
13270                   offset:   4    4;
13271                }
13272                rel2 {
13273                   relative: 0.0  1.0;
13274                   offset:   4   -5;
13275                }
13276             }
13277          }
13278          part { name:          "elm.swallow.end";
13279             type:          SWALLOW;
13280             description { state:    "default" 0.0;
13281                fixed: 1 0;
13282                align:    1.0 0.5;
13283                rel1 {
13284                   relative: 1.0  0.0;
13285                   offset:   -5    4;
13286                }
13287                rel2 {
13288                   relative: 1.0  1.0;
13289                   offset:   -5   -5;
13290                }
13291             }
13292          }
13293          part {
13294             name:           "elm.text";
13295             type:           TEXT;
13296             effect:         SOFT_SHADOW;
13297             mouse_events:   0;
13298             scale: 1;
13299             description {
13300                state: "default" 0.0;
13301 //               min:      16 16;
13302                rel1 {
13303                   to_x:     "elm.swallow.icon";
13304                   relative: 1.0  0.0;
13305                   offset:   4 4;
13306                }
13307                rel2 {
13308                   to_x:     "elm.swallow.end";
13309                   relative: 0.0  1.0;
13310                   offset:   -1 -5;
13311                }
13312                color: 0 0 0 255;
13313                color3: 0 0 0 0;
13314                text {
13315                   font: "Sans";
13316                   size: 10;
13317 //                  min: 1 1;
13318                   min: 0 1;
13319                   align: 0.0 0.5;
13320                   text_class: "list_item";
13321                }
13322             }
13323             description { state: "selected" 0.0;
13324                inherit: "default" 0.0;
13325                color: 224 224 224 255;
13326                color3: 0 0 0 64;
13327             }
13328          }
13329          part { name: "fg1";
13330             mouse_events: 0;
13331             description { state: "default" 0.0;
13332                visible: 0;
13333                color: 255 255 255 0;
13334                rel1.to: "bg";
13335                rel2.relative: 1.0 0.5;
13336                rel2.to: "bg";
13337                image {
13338                   normal: "bt_sm_hilight.png";
13339                   border: 6 6 6 0;
13340                }
13341             }
13342             description { state: "selected" 0.0;
13343                inherit: "default" 0.0;
13344                visible: 1;
13345                color: 255 255 255 255;
13346             }
13347          }
13348          part { name: "fg2";
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.to: "bg";
13355                image {
13356                   normal: "bt_sm_shine.png";
13357                   border: 6 6 6 0;
13358                }
13359             }
13360             description { state: "selected" 0.0;
13361                inherit: "default" 0.0;
13362                visible: 1;
13363                color: 255 255 255 255;
13364             }
13365          }
13366       }
13367       programs {
13368          program {
13369             name:    "go_active";
13370             signal:  "elm,state,selected";
13371             source:  "elm";
13372             action:  STATE_SET "selected" 0.0;
13373             target:  "bg";
13374             target:  "fg1";
13375             target:  "fg2";
13376             target:  "elm.text";
13377          }
13378          program {
13379             name:    "go_passive";
13380             signal:  "elm,state,unselected";
13381             source:  "elm";
13382             action:  STATE_SET "default" 0.0;
13383             target:  "bg";
13384             target:  "fg1";
13385             target:  "fg2";
13386             target:  "elm.text";
13387             transition: LINEAR 0.1;
13388          }
13389       }
13390    }
13391
13392 ///////////////////////////////////////////////////////////////////////////////
13393    group { name: "elm/list/h_item/default";
13394       data.item: "stacking" "above";
13395       images {
13396          image: "bt_sm_base1.png" COMP;
13397          image: "bt_sm_shine.png" COMP;
13398          image: "bt_sm_hilight.png" COMP;
13399          image: "ilist_1_h.png" COMP;
13400          image: "ilist_item_shadow_h.png" COMP;
13401       }
13402       parts {
13403          part {
13404             name: "event";
13405             type: RECT;
13406             repeat_events: 1;
13407             description {
13408                state: "default" 0.0;
13409                color: 0 0 0 0;
13410             }
13411          }
13412          part {
13413             name: "base_sh";
13414             mouse_events: 0;
13415             description {
13416                state: "default" 0.0;
13417                align: 0.0 0.0;
13418                min: 10 0;
13419                fixed: 1 1;
13420                rel1 {
13421                   to: "base";
13422                   relative: 1.0 0.0;
13423                   offset: 0 0;
13424                }
13425                rel2 {
13426                   to: "base";
13427                   relative: 1.0 1.0;
13428                   offset: 0 -1;
13429                }
13430                image {
13431                   normal: "ilist_item_shadow_h.png";
13432                }
13433                fill.smooth: 0;
13434             }
13435          }
13436          part {
13437             name: "base";
13438             mouse_events: 0;
13439             description {
13440                state: "default" 0.0;
13441                image {
13442                   normal: "ilist_1_h.png";
13443                   border: 2 2 2 2;
13444                }
13445                fill.smooth: 0;
13446             }
13447          }
13448          part { name: "bg";
13449             mouse_events: 0;
13450             description { state: "default" 0.0;
13451                visible: 0;
13452                color: 255 255 255 0;
13453                rel1 {
13454                   relative: 0.0 0.0;
13455                   offset: -5 -5;
13456                }
13457                rel2 {
13458                   relative: 1.0 1.0;
13459                   offset: 4 4;
13460                }
13461                image {
13462                   normal: "bt_sm_base1.png";
13463                   border: 6 6 6 6;
13464                }
13465                image.middle: SOLID;
13466             }
13467             description { state: "selected" 0.0;
13468                inherit: "default" 0.0;
13469                visible: 1;
13470                color: 255 255 255 255;
13471                rel1 {
13472                   relative: 0.0 0.0;
13473                   offset: -2 -2;
13474                }
13475                rel2 {
13476                   relative: 1.0 1.0;
13477                   offset: 1 1;
13478                }
13479             }
13480          }
13481          part { name: "elm.swallow.icon";
13482             type: SWALLOW;
13483             description { state: "default" 0.0;
13484                fixed: 0 1;
13485                align: 0.5 0.0;
13486                rel1 {
13487                   relative: 0.0 0.0;
13488                   offset: 4 4;
13489                }
13490                rel2 {
13491                   relative: 1.0 0.0;
13492                   offset: -5 4;
13493                }
13494             }
13495          }
13496          part { name: "elm.swallow.end";
13497             type: SWALLOW;
13498             description { state: "default" 0.0;
13499                fixed: 0 1;
13500                align: 0.5 1.0;
13501                rel1 {
13502                   relative: 0.0 1.0;
13503                   offset: 4 -5;
13504                }
13505                rel2 {
13506                   relative: 1.0 1.0;
13507                   offset: -5 -5;
13508                }
13509             }
13510          }
13511          part { name: "elm.text";
13512             type: TEXT;
13513             effect: SOFT_SHADOW;
13514             mouse_events: 0;
13515             scale: 1;
13516             description {
13517                state: "default" 0.0;
13518                fixed: 0 1;
13519                rel1 {
13520                   to_x: "elm.swallow.icon";
13521                   relative: 0.0 1.0;
13522                   offset: 4 4;
13523                }
13524                rel2 {
13525                   to_x: "elm.swallow.end";
13526                   relative: 1.0 0.0;
13527                   offset: -5 -1;
13528                }
13529                color: 0 0 0 255;
13530                color3: 0 0 0 0;
13531                text {
13532                   font: "Sans";
13533                   size: 10;
13534                   min: 1 1;
13535                   align: 0.5 0.5;
13536                   text_class: "list_item";
13537                }
13538             }
13539             description { state: "selected" 0.0;
13540                inherit: "default" 0.0;
13541                color: 224 224 224 255;
13542                color3: 0 0 0 64;
13543             }
13544          }
13545          part { name: "fg1";
13546             mouse_events: 0;
13547             description { state: "default" 0.0;
13548                visible: 0;
13549                color: 255 255 255 0;
13550                rel1.to: "bg";
13551                rel2.relative: 1.0 0.5;
13552                rel2.to: "bg";
13553                image {
13554                   normal: "bt_sm_hilight.png";
13555                   border: 6 6 6 0;
13556                }
13557             }
13558             description { state: "selected" 0.0;
13559                inherit: "default" 0.0;
13560                visible: 1;
13561                color: 255 255 255 255;
13562             }
13563          }
13564          part { name: "fg2";
13565             mouse_events: 0;
13566             description { state: "default" 0.0;
13567                visible: 0;
13568                color: 255 255 255 0;
13569                rel1.to: "bg";
13570                rel2.to: "bg";
13571                image {
13572                   normal: "bt_sm_shine.png";
13573                   border: 6 6 6 0;
13574                }
13575             }
13576             description { state: "selected" 0.0;
13577                inherit: "default" 0.0;
13578                visible: 1;
13579                color: 255 255 255 255;
13580             }
13581          }
13582       }
13583       programs {
13584          program {
13585             name: "go_active";
13586             signal: "elm,state,selected";
13587             source: "elm";
13588             action: STATE_SET "selected" 0.0;
13589             target: "bg";
13590             target: "fg1";
13591             target: "fg2";
13592             target: "elm.text";
13593          }
13594          program {
13595             name: "go_passive";
13596             signal: "elm,state,unselected";
13597             source: "elm";
13598             action: STATE_SET "default" 0.0;
13599             target: "bg";
13600             target: "fg1";
13601             target: "fg2";
13602             target: "elm.text";
13603             transition: LINEAR 0.1;
13604          }
13605       }
13606    }
13607    group { name: "elm/list/h_item_odd/default";
13608       data.item: "stacking" "below";
13609       data.item: "selectraise" "on";
13610       images {
13611          image: "bt_sm_base1.png" COMP;
13612          image: "bt_sm_shine.png" COMP;
13613          image: "bt_sm_hilight.png" COMP;
13614          image: "ilist_2_h.png" COMP;
13615       }
13616       parts {
13617          part {
13618             name: "event";
13619             type: RECT;
13620             repeat_events: 1;
13621             description {
13622                state: "default" 0.0;
13623                color: 0 0 0 0;
13624             }
13625          }
13626          part {
13627             name: "base";
13628             mouse_events: 0;
13629             description {
13630                state: "default" 0.0;
13631                image {
13632                   normal: "ilist_2_h.png";
13633                   border: 2 2 2 2;
13634                }
13635                fill.smooth: 0;
13636             }
13637          }
13638          part { name: "bg";
13639             mouse_events: 0;
13640             description { state: "default" 0.0;
13641                visible: 0;
13642                color: 255 255 255 0;
13643                rel1 {
13644                   relative: 0.0 0.0;
13645                   offset: -5 -5;
13646                }
13647                rel2 {
13648                   relative: 1.0 1.0;
13649                   offset: 4 4;
13650                }
13651                image {
13652                   normal: "bt_sm_base1.png";
13653                   border: 6 6 6 6;
13654                }
13655                image.middle: SOLID;
13656             }
13657             description { state: "selected" 0.0;
13658                inherit: "default" 0.0;
13659                visible: 1;
13660                color: 255 255 255 255;
13661                rel1 {
13662                   relative: 0.0 0.0;
13663                   offset: -2 -2;
13664                }
13665                rel2 {
13666                   relative: 1.0 1.0;
13667                   offset: 1 1;
13668                }
13669             }
13670          }
13671          part {
13672             name: "elm.swallow.icon";
13673             type: SWALLOW;
13674             description { state: "default" 0.0;
13675                fixed: 0 1;
13676                align: 0.5 0.0;
13677                rel1 {
13678                   relative: 0.0 0.0;
13679                   offset: 4 4;
13680                }
13681                rel2 {
13682                   relative: 1.0 0.0;
13683                   offset: -5 4;
13684                }
13685             }
13686          }
13687          part {
13688             name: "elm.swallow.end";
13689             type: SWALLOW;
13690             description { state: "default" 0.0;
13691                fixed: 0 1;
13692                align: 0.5 1.0;
13693                rel1 {
13694                   relative: 0.0 1.0;
13695                   offset: 4 -5;
13696                }
13697                rel2 {
13698                   relative: 1.0 1.0;
13699                   offset: -5 -5;
13700                }
13701             }
13702          }
13703          part { name: "elm.text";
13704             type: TEXT;
13705             effect: SOFT_SHADOW;
13706             mouse_events: 0;
13707             scale: 1;
13708             description {
13709                state: "default" 0.0;
13710                fixed: 1 1;
13711                rel1 {
13712                   to_x: "elm.swallow.icon";
13713                   relative: 0.0 1.0;
13714                   offset: 4 4;
13715                }
13716                rel2 {
13717                   to_x: "elm.swallow.end";
13718                   relative: 1.0 0.0;
13719                   offset: -5 -1;
13720                }
13721                color: 0 0 0 255;
13722                color3: 0 0 0 0;
13723                text {
13724                   font: "Sans";
13725                   size: 10;
13726                   min: 1 1;
13727                   align: 0.5 0.5;
13728                   text_class: "list_item";
13729                }
13730             }
13731             description { state: "selected" 0.0;
13732                inherit: "default" 0.0;
13733                color: 224 224 224 255;
13734                color3: 0 0 0 64;
13735             }
13736          }
13737          part { name: "fg1";
13738             mouse_events: 0;
13739             description { state: "default" 0.0;
13740                visible: 0;
13741                color: 255 255 255 0;
13742                rel1.to: "bg";
13743                rel2.relative: 1.0 0.5;
13744                rel2.to: "bg";
13745                image {
13746                   normal: "bt_sm_hilight.png";
13747                   border: 6 6 6 0;
13748                }
13749             }
13750             description { state: "selected" 0.0;
13751                inherit: "default" 0.0;
13752                visible: 1;
13753                color: 255 255 255 255;
13754             }
13755          }
13756          part { name: "fg2";
13757             mouse_events: 0;
13758             description { state: "default" 0.0;
13759                visible: 0;
13760                color: 255 255 255 0;
13761                rel1.to: "bg";
13762                rel2.to: "bg";
13763                image {
13764                   normal: "bt_sm_shine.png";
13765                   border: 6 6 6 0;
13766                }
13767             }
13768             description { state: "selected" 0.0;
13769                inherit: "default" 0.0;
13770                visible: 1;
13771                color: 255 255 255 255;
13772             }
13773          }
13774       }
13775       programs {
13776          program {
13777             name: "go_active";
13778             signal: "elm,state,selected";
13779             source: "elm";
13780             action: STATE_SET "selected" 0.0;
13781             target: "bg";
13782             target: "fg1";
13783             target: "fg2";
13784             target: "elm.text";
13785          }
13786          program {
13787             name: "go_passive";
13788             signal: "elm,state,unselected";
13789             source: "elm";
13790             action: STATE_SET "default" 0.0;
13791             target: "bg";
13792             target: "fg1";
13793             target: "fg2";
13794             target: "elm.text";
13795             transition: LINEAR 0.1;
13796          }
13797       }
13798    }
13799    group { name: "elm/list/h_item_compress/default";
13800       data.item: "stacking" "above";
13801       data.item: "selectraise" "on";
13802       images {
13803          image: "bt_sm_base1.png" COMP;
13804          image: "bt_sm_shine.png" COMP;
13805          image: "bt_sm_hilight.png" COMP;
13806          image: "ilist_1_h.png" COMP;
13807          image: "ilist_item_shadow_h.png" COMP;
13808       }
13809       parts {
13810          part {
13811             name: "event";
13812             type: RECT;
13813             repeat_events: 1;
13814             description {
13815                state: "default" 0.0;
13816                color: 0 0 0 0;
13817             }
13818          }
13819          part {
13820             name: "base_sh";
13821             mouse_events: 0;
13822             description { state: "default" 0.0;
13823                fixed: 1 1;
13824                align: 0.0 0.0;
13825                min: 10 0;
13826                rel1 {
13827                   to: "base";
13828                   relative: 1.0 0.0;
13829                   offset: 0 0;
13830                }
13831                rel2 {
13832                   to: "base";
13833                   relative: 1.0 1.0;
13834                   offset: 0 -1;
13835                }
13836                image {
13837                   normal: "ilist_item_shadow_h.png";
13838                }
13839                fill.smooth: 0;
13840             }
13841          }
13842          part {
13843             name: "base";
13844             mouse_events: 0;
13845             description {
13846                state: "default" 0.0;
13847                image {
13848                   normal: "ilist_1_h.png";
13849                   border: 2 2 2 2;
13850                }
13851                fill.smooth: 0;
13852             }
13853          }
13854          part { name: "bg";
13855             mouse_events: 0;
13856             description { state: "default" 0.0;
13857                visible: 0;
13858                color: 255 255 255 0;
13859                rel1 {
13860                   relative: 0.0 0.0;
13861                   offset: -5 -5;
13862                }
13863                rel2 {
13864                   relative: 1.0 1.0;
13865                   offset: 4 4;
13866                }
13867                image {
13868                   normal: "bt_sm_base1.png";
13869                   border: 6 6 6 6;
13870                }
13871                image.middle: SOLID;
13872             }
13873             description { state: "selected" 0.0;
13874                inherit: "default" 0.0;
13875                visible: 1;
13876                color: 255 255 255 255;
13877                rel1 {
13878                   relative: 0.0 0.0;
13879                   offset: -2 -2;
13880                }
13881                rel2 {
13882                   relative: 1.0 1.0;
13883                   offset: 1 1;
13884                }
13885             }
13886          }
13887          part { name: "elm.swallow.icon";
13888             type: SWALLOW;
13889             description { state: "default" 0.0;
13890                fixed: 0 1;
13891                align: 0.5 0.0;
13892                rel1 {
13893                   relative: 0.0 0.0;
13894                   offset: 4 4;
13895                }
13896                rel2 {
13897                   relative: 1.0 0.0;
13898                   offset: -5 4;
13899                }
13900             }
13901          }
13902          part { name: "elm.swallow.end";
13903             type: SWALLOW;
13904             description { state: "default" 0.0;
13905                fixed: 0 1;
13906                align: 0.5 1.0;
13907                rel1 {
13908                   relative: 0.0 1.0;
13909                   offset: 4 -5;
13910                }
13911                rel2 {
13912                   relative: 1.0 1.0;
13913                   offset: -5 -5;
13914                }
13915             }
13916          }
13917          part {
13918             name: "elm.text";
13919             type: TEXT;
13920             effect: SOFT_SHADOW;
13921             mouse_events: 0;
13922             scale: 1;
13923             description { state: "default" 0.0;
13924                fixed: 1 1;
13925                rel1 {
13926                   to_x: "elm.swallow.icon";
13927                   relative: 0.0 1.0;
13928                   offset: 4 4;
13929                }
13930                rel2 {
13931                   to_x: "elm.swallow.end";
13932                   relative: 1.0 0.0;
13933                   offset: -5 -1;
13934                }
13935                color: 0 0 0 255;
13936                color3: 0 0 0 0;
13937                text {
13938                   font: "Sans";
13939                   size: 10;
13940                   min: 1 1;
13941                   align: 0.5 0.5;
13942                   text_class: "list_item";
13943                }
13944             }
13945             description { state: "selected" 0.0;
13946                inherit: "default" 0.0;
13947                color: 224 224 224 255;
13948                color3: 0 0 0 64;
13949             }
13950          }
13951          part { name: "fg1";
13952             mouse_events: 0;
13953             description { state: "default" 0.0;
13954                visible: 0;
13955                color: 255 255 255 0;
13956                rel1.to: "bg";
13957                rel2.relative: 1.0 0.5;
13958                rel2.to: "bg";
13959                image {
13960                   normal: "bt_sm_hilight.png";
13961                   border: 6 6 6 0;
13962                }
13963             }
13964             description { state: "selected" 0.0;
13965                inherit: "default" 0.0;
13966                visible: 1;
13967                color: 255 255 255 255;
13968             }
13969          }
13970          part { name: "fg2";
13971             mouse_events: 0;
13972             description { state: "default" 0.0;
13973                visible: 0;
13974                color: 255 255 255 0;
13975                rel1.to: "bg";
13976                rel2.to: "bg";
13977                image {
13978                   normal: "bt_sm_shine.png";
13979                   border: 6 6 6 0;
13980                }
13981             }
13982             description { state: "selected" 0.0;
13983                inherit: "default" 0.0;
13984                visible: 1;
13985                color: 255 255 255 255;
13986             }
13987          }
13988       }
13989       programs {
13990          program {
13991             name: "go_active";
13992             signal: "elm,state,selected";
13993             source: "elm";
13994             action: STATE_SET "selected" 0.0;
13995             target: "bg";
13996             target: "fg1";
13997             target: "fg2";
13998             target: "elm.text";
13999          }
14000          program {
14001             name: "go_passive";
14002             signal: "elm,state,unselected";
14003             source: "elm";
14004             action: STATE_SET "default" 0.0;
14005             target: "bg";
14006             target: "fg1";
14007             target: "fg2";
14008             target: "elm.text";
14009             transition: LINEAR 0.1;
14010          }
14011       }
14012    }
14013    group { name: "elm/list/h_item_compress_odd/default";
14014       data.item: "stacking" "below";
14015       data.item: "selectraise" "on";
14016       images {
14017          image: "bt_sm_base1.png" COMP;
14018          image: "bt_sm_shine.png" COMP;
14019          image: "bt_sm_hilight.png" COMP;
14020          image: "ilist_2_h.png" COMP;
14021       }
14022       parts {
14023          part {
14024             name: "event";
14025             type: RECT;
14026             repeat_events: 1;
14027             description {
14028                state: "default" 0.0;
14029                color: 0 0 0 0;
14030             }
14031          }
14032          part {
14033             name: "base";
14034             mouse_events: 0;
14035             description {
14036                state: "default" 0.0;
14037                image {
14038                   normal: "ilist_2_h.png";
14039                   border: 2 2 2 2;
14040                }
14041                fill.smooth: 0;
14042             }
14043          }
14044          part { name: "bg";
14045             mouse_events: 0;
14046             description { state: "default" 0.0;
14047                visible: 0;
14048                color: 255 255 255 0;
14049                rel1 {
14050                   relative: 0.0 0.0;
14051                   offset: -5 -5;
14052                }
14053                rel2 {
14054                   relative: 1.0 1.0;
14055                   offset: 4 4;
14056                }
14057                image {
14058                   normal: "bt_sm_base1.png";
14059                   border: 6 6 6 6;
14060                }
14061                image.middle: SOLID;
14062             }
14063             description { state: "selected" 0.0;
14064                inherit: "default" 0.0;
14065                visible: 1;
14066                color: 255 255 255 255;
14067                rel1 {
14068                   relative: 0.0 0.0;
14069                   offset: -2 -2;
14070                }
14071                rel2 {
14072                   relative: 1.0 1.0;
14073                   offset: 1 1;
14074                }
14075             }
14076          }
14077          part { name: "elm.swallow.icon";
14078             type: SWALLOW;
14079             description { state: "default" 0.0;
14080                fixed: 0 1;
14081                align: 0.5 0.0;
14082                rel1 {
14083                   relative: 0.0 0.0;
14084                   offset: 4 4;
14085                }
14086                rel2 {
14087                   relative: 1.0 0.0;
14088                   offset: -5 4;
14089                }
14090             }
14091          }
14092          part { name: "elm.swallow.end";
14093             type: SWALLOW;
14094             description { state: "default" 0.0;
14095                fixed: 0 1;
14096                align: 0.5 1.0;
14097                rel1 {
14098                   relative: 0.0 1.0;
14099                   offset: 4 -5;
14100                }
14101                rel2 {
14102                   relative: 1.0 1.0;
14103                   offset: -5 -5;
14104                }
14105             }
14106          }
14107          part { name: "elm.text";
14108             type: TEXT;
14109             effect: SOFT_SHADOW;
14110             mouse_events: 0;
14111             scale: 1;
14112             description {
14113                state: "default" 0.0;
14114                fixed: 1 1;
14115                rel1 {
14116                   to_x: "elm.swallow.icon";
14117                   relative: 0.0 1.0;
14118                   offset: 4 4;
14119                }
14120                rel2 {
14121                   to_x: "elm.swallow.end";
14122                   relative: 1.0 0.0;
14123                   offset: -5 -1;
14124                }
14125                color: 0 0 0 255;
14126                color3: 0 0 0 0;
14127                text {
14128                   font: "Sans";
14129                   size: 10;
14130                   min: 1 1;
14131                   align: 0.5 0.5;
14132                   text_class: "list_item";
14133                }
14134             }
14135             description { state: "selected" 0.0;
14136                inherit: "default" 0.0;
14137                color: 224 224 224 255;
14138                color3: 0 0 0 64;
14139             }
14140          }
14141          part { name: "fg1";
14142             mouse_events: 0;
14143             description { state: "default" 0.0;
14144                visible: 0;
14145                color: 255 255 255 0;
14146                rel1.to: "bg";
14147                rel2.relative: 1.0 0.5;
14148                rel2.to: "bg";
14149                image {
14150                   normal: "bt_sm_hilight.png";
14151                   border: 6 6 6 0;
14152                }
14153             }
14154             description { state: "selected" 0.0;
14155                inherit: "default" 0.0;
14156                visible: 1;
14157                color: 255 255 255 255;
14158             }
14159          }
14160          part { name: "fg2";
14161             mouse_events: 0;
14162             description { state: "default" 0.0;
14163                visible: 0;
14164                color: 255 255 255 0;
14165                rel1.to: "bg";
14166                rel2.to: "bg";
14167                image {
14168                   normal: "bt_sm_shine.png";
14169                   border: 6 6 6 0;
14170                }
14171             }
14172             description { state: "selected" 0.0;
14173                inherit: "default" 0.0;
14174                visible: 1;
14175                color: 255 255 255 255;
14176             }
14177          }
14178       }
14179       programs {
14180          program {
14181             name: "go_active";
14182             signal: "elm,state,selected";
14183             source: "elm";
14184             action: STATE_SET "selected" 0.0;
14185             target: "bg";
14186             target: "fg1";
14187             target: "fg2";
14188             target: "elm.text";
14189          }
14190          program {
14191             name: "go_passive";
14192             signal: "elm,state,unselected";
14193             source: "elm";
14194             action: STATE_SET "default" 0.0;
14195             target: "bg";
14196             target: "fg1";
14197             target: "fg2";
14198             target: "elm.text";
14199             transition: LINEAR 0.1;
14200          }
14201       }
14202    }
14203
14204 ///////////////////////////////////////////////////////////////////////////////
14205    group { name: "elm/slider/horizontal/default";
14206            alias: "elm/slider/horizontal/disabled";
14207       images {
14208          image: "sl_bg.png" COMP;
14209          image: "sl_bg_over.png" COMP;
14210          image: "sl_units.png" COMP;
14211       }
14212       parts {
14213          part { name: "base";
14214             mouse_events: 0;
14215             description { state: "default" 0.0;
14216                max: 99999 6;
14217                min: 0 6;
14218                rel1 { to: "bg";
14219                   offset: 1 0;
14220                }
14221                rel2 { to: "bg";
14222                   offset: -2 -1;
14223                }
14224                image.normal: "sl_bg.png";
14225                fill.smooth: 0;
14226             }
14227          }
14228          part { name: "level";
14229             type: RECT;
14230             mouse_events: 0;
14231             description { state: "default" 0.0;
14232                fixed: 1 1;
14233                rel1.to: "base";
14234                rel2 {
14235                   to_y: "base";
14236                   to_x: "elm.dragable.slider";
14237                   relative: 0.5 1.0;
14238                }
14239                color: 255 0 0 200;
14240             }
14241             description { state: "inverted" 0.0;
14242                inherit: "default" 0.0;
14243                visible: 0;
14244             }
14245             description { state: "disabled" 0.0;
14246                inherit: "default" 0.0;
14247                color: 255 0 0 100;
14248             }
14249             description { state: "disabled_inverted" 0.0;
14250                inherit: "default" 0.0;
14251                visible: 0;
14252             }
14253          }
14254          part { name: "level2";
14255             type: RECT;
14256             mouse_events: 0;
14257             description { state: "default" 0.0;
14258                fixed: 1 1;
14259                visible: 0;
14260                rel1 {
14261                   to_y: "base";
14262                   to_x: "elm.dragable.slider";
14263                   relative: 0.5 0.0;
14264                }
14265                rel2.to: "base";
14266                color: 255 0 0 200;
14267             }
14268             description { state: "inverted" 0.0;
14269                inherit: "default" 0.0;
14270                visible: 1;
14271             }
14272             description { state: "disabled" 0.0;
14273                inherit: "default" 0.0;
14274             }
14275             description { state: "disabled_inverted" 0.0;
14276                inherit: "default" 0.0;
14277                color: 255 0 0 100;
14278                visible: 1;
14279             }
14280          }
14281          part {
14282             name: "base_over";
14283             mouse_events: 0;
14284             description { state: "default" 0.0;
14285                rel1.to: "base";
14286                rel1.offset: -1 -1;
14287                rel2.to: "base";
14288                rel2.offset: 0 0;
14289                image {
14290                   normal: "sl_bg_over.png";
14291                   border: 3 3 3 3;
14292                }
14293                fill.smooth: 0;
14294             }
14295          }
14296          part { name: "bg";
14297             type: RECT;
14298             mouse_events: 0;
14299             scale: 1;
14300             description { state: "default" 0.0;
14301                visible: 0;
14302                rel1.to: "elm.swallow.bar";
14303                rel2.to: "elm.swallow.bar";
14304                color: 0 0 0 0;
14305             }
14306          }
14307          part { name: "elm.swallow.bar";
14308             type: SWALLOW;
14309             scale: 1;
14310             description { state: "default" 0.0;
14311                min: 48 24;
14312                max: 99999 24;
14313                align: 1.0 0.5;
14314                rel1 {
14315                   to_x: "elm.text";
14316                   relative: 1.0 0.0;
14317                   offset: 8 0;
14318                }
14319                rel2 {
14320                   to_x: "elm.units";
14321                   relative: 0.0 1.0;
14322                   offset: -10 -1;
14323                }
14324             }
14325          }
14326          part { name: "elm.swallow.icon";
14327             type: SWALLOW;
14328             description { state: "default" 0.0;
14329                visible: 0;
14330                align: 0.0 0.5;
14331                rel1 {
14332                   offset: 4 0;
14333                   to_y: "elm.swallow.bar";
14334                }
14335                rel2 {
14336                   offset: 3 -1;
14337                   relative: 0.0 1.0;
14338                   to_y: "elm.swallow.bar";
14339                }
14340             }
14341             description { state: "visible" 0.0;
14342                inherit: "default" 0.0;
14343                visible: 1;
14344                aspect: 1.0 1.0;
14345                aspect_preference: VERTICAL;
14346                rel2.offset: 4 -1;
14347             }
14348          }
14349          part { name: "elm.text";
14350             type: TEXT;
14351             mouse_events: 0;
14352             scale: 1;
14353             description { state: "default" 0.0;
14354                visible: 0;
14355                fixed: 1 1;
14356                align: 0.0 0.5;
14357                rel1.to_x: "elm.swallow.icon";
14358                rel1.relative: 1.0 0.0;
14359                rel1.offset: -1 4;
14360                rel2.to_x: "elm.swallow.icon";
14361                rel2.relative: 1.0 1.0;
14362                rel2.offset: -1 -5;
14363                color: 0 0 0 255;
14364                text {
14365                   font: "Sans,Edje-Vera";
14366                   size: 10;
14367                   min: 0 0;
14368                   align: 0.0 0.5;
14369                }
14370             }
14371             description { state: "visible" 0.0;
14372                inherit: "default" 0.0;
14373                visible: 1;
14374                text.min: 1 1;
14375                rel1.offset: 0 4;
14376                rel2.offset: 0 -5;
14377             }
14378             description { state: "disabled" 0.0;
14379                inherit: "default" 0.0;
14380                color: 255 128 128 128;
14381                visible: 0;
14382             }
14383             description { state: "disabled_visible" 0.0;
14384                inherit: "default" 0.0;
14385                color: 0 0 0 128;
14386                color3: 0 0 0 0;
14387                visible: 1;
14388                text.min: 1 1;
14389             }
14390          }
14391          part {
14392             name: "elm.swallow.end";
14393             type: SWALLOW;
14394             description {
14395                state: "default" 0.0;
14396                visible: 0;
14397                align: 1.0 0.5;
14398                rel1 {
14399                   offset: -4 0;
14400                   relative: 1.0 0.0;
14401                   to_y: "elm.swallow.bar";
14402                }
14403                rel2 {
14404                   offset: -3 -1;
14405                   to_y: "elm.swallow.bar";
14406                }
14407             }
14408             description { state: "visible" 0.0;
14409                inherit: "default" 0.0;
14410                visible: 1;
14411                aspect: 1.0 1.0;
14412                aspect_preference: VERTICAL;
14413                rel2.offset: -4 -1;
14414             }
14415          }
14416          part { name: "units";
14417             mouse_events: 0;
14418             description { state: "default" 0.0;
14419                visible: 0;
14420                rel1 {
14421                   to_x: "elm.units";
14422                   offset: 0 5;
14423                }
14424                rel2 {
14425                   to_x: "elm.units";
14426                   offset: 5 -3;
14427                }
14428                image {
14429                   normal: "sl_units.png";
14430                   border: 0 5 3 8;
14431                }
14432                fill.smooth: 0;
14433             }
14434             description { state: "visible" 0.0;
14435                inherit: "default" 0.0;
14436                visible: 1;
14437             }
14438          }
14439          part { name: "elm.units";
14440             type: TEXT;
14441             mouse_events: 0;
14442             scale: 1;
14443             description { state: "default" 0.0;
14444                visible: 0;
14445                fixed: 1 1;
14446                align: 1.0 0.5;
14447                rel1.to_x: "elm.swallow.end";
14448                rel1.relative: 0.0 0.0;
14449                rel1.offset: 0 8;
14450                rel2.to_x: "elm.swallow.end";
14451                rel2.relative: 0.0 1.0;
14452                rel2.offset: 0 -9;
14453                color: 0 0 0 255;
14454                text {
14455                   font: "Sans,Edje-Vera";
14456                   size: 10;
14457                   min: 0 0;
14458                   align: 0.0 0.5;
14459                }
14460             }
14461             description { state: "visible" 0.0;
14462                inherit: "default" 0.0;
14463                fixed: 1 1;
14464                visible: 1;
14465                text.min: 1 1;
14466                rel1.offset: -5 0;
14467                rel2.offset: -5 -1;
14468             }
14469             description { state: "disabled" 0.0;
14470                inherit: "default" 0.0;
14471                color: 255 128 128 128;
14472                visible: 0;
14473             }
14474             description { state: "disabled_visible" 0.0;
14475                inherit: "default" 0.0;
14476                color: 0 0 0 128;
14477                color3: 0 0 0 0;
14478                visible: 1;
14479                text.min: 1 1;
14480             }
14481          }
14482          part { name: "elm.dragable.slider";
14483             type: GROUP;
14484             source: "elm/slider/horizontal/indicator/default";
14485             mouse_events: 1;
14486             repeat_events: 1;
14487             scale: 1;
14488             dragable {
14489                x: 1 1 0;
14490                y: 0 0 0;
14491                confine: "bg";
14492             }
14493             description { state: "default" 0.0;
14494                min: 0 24;
14495                max: 0 24;
14496                fixed: 1 1;
14497                rel1 {
14498                   relative: 0.5 0.0;
14499                   to_x: "bg";
14500                }
14501                rel2 {
14502                   relative: 0.5 1.0;
14503                   to_x: "bg";
14504                }
14505                color: 255 0 0 100;
14506             }
14507          }
14508           part { name: "disabler";
14509             type: RECT;
14510             description { state: "default" 0.0;
14511                color: 0 0 0 0;
14512                visible: 0;
14513             }
14514             description { state: "disabled" 0.0;
14515                inherit: "default" 0.0;
14516                visible: 1;
14517             }
14518          }
14519       }
14520       programs {
14521          program { name: "text_show";
14522             signal: "elm,state,text,visible";
14523             source: "elm";
14524             action:  STATE_SET "visible" 0.0;
14525             target: "elm.text";
14526          }
14527          program { name: "text_hide";
14528             signal: "elm,state,text,hidden";
14529             source: "elm";
14530             action:  STATE_SET "default" 0.0;
14531             target: "elm.text";
14532          }
14533          program { name: "icon_show";
14534             signal: "elm,state,icon,visible";
14535             source: "elm";
14536             action:  STATE_SET "visible" 0.0;
14537             target: "elm.swallow.icon";
14538          }
14539          program { name: "icon_hide";
14540             signal: "elm,state,icon,hidden";
14541             source: "elm";
14542             action:  STATE_SET "default" 0.0;
14543             target: "elm.swallow.icon";
14544          }
14545           program { name: "end_show";
14546             signal: "elm,state,end,visible";
14547             source: "elm";
14548             action:  STATE_SET "visible" 0.0;
14549             target: "elm.swallow.end";
14550          }
14551          program { name: "end_hide";
14552             signal: "elm,state,end,hidden";
14553             source: "elm";
14554             action:  STATE_SET "default" 0.0;
14555             target: "elm.swallow.end";
14556          }
14557          program { name: "units_show";
14558             signal: "elm,state,units,visible";
14559             source: "elm";
14560             action:  STATE_SET "visible" 0.0;
14561             target: "elm.units";
14562             target: "units";
14563          }
14564          program { name: "units_hide";
14565             signal: "elm,state,units,hidden";
14566             source: "elm";
14567             action:  STATE_SET "default" 0.0;
14568             target: "elm.units";
14569             target: "units";
14570          }
14571          program { name: "invert_on";
14572             signal: "elm,state,inverted,on";
14573             source: "elm";
14574             action:  STATE_SET "inverted" 0.0;
14575             target: "level";
14576             target: "level2";
14577          }
14578          program { name: "invert_off";
14579             signal: "elm,state,inverted,off";
14580             source: "elm";
14581             action:  STATE_SET "default" 0.0;
14582             target: "level";
14583             target: "level2";
14584          }
14585          program {
14586             name:    "go_disabled";
14587             signal:  "elm,state,disabled";
14588             source:  "elm";
14589             action:  STATE_SET "disabled" 0.0;
14590 //            target: "button0";
14591             target: "disabler";
14592             after: "disable_text";
14593             after: "disable_ind";
14594          }
14595
14596          program { name: "disable_ind";
14597             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14598          }
14599          program { name: "disable_text";
14600             script {
14601                new st[31];
14602                new Float:vl;
14603                get_state(PART:"elm.text", st, 30, vl);
14604                if (!strcmp(st, "visible"))
14605                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14606                else
14607                   set_state(PART:"elm.text", "disabled", 0.0);
14608
14609                get_state(PART:"elm.units", st, 30, vl);
14610                if (!strcmp(st, "visible"))
14611                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14612                else
14613                   set_state(PART:"elm.units", "disabled", 0.0);
14614
14615                get_state(PART:"level2", st, 30, vl);
14616                if (!strcmp(st, "inverted"))
14617                {
14618                   set_state(PART:"level", "disabled_inverted", 0.0);
14619                   set_state(PART:"level2", "disabled_inverted", 0.0);
14620                }
14621                else
14622                {
14623                   set_state(PART:"level", "disabled", 0.0);
14624                   set_state(PART:"level2", "disabled", 0.0);
14625                }
14626             }
14627          }
14628          program { name: "enable";
14629             signal: "elm,state,enabled";
14630             source: "elm";
14631             action: STATE_SET "default" 0.0;
14632 //            target: "button0";
14633             target: "disabler";
14634             after: "enable_text";
14635             after: "enable_ind";
14636          }
14637
14638          program { name: "enable_ind";
14639             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14640          }
14641
14642          program { name: "enable_text";
14643             script {
14644                new st[31];
14645                new Float:vl;
14646                get_state(PART:"elm.text", st, 30, vl);
14647                if (!strcmp(st, "disabled_visible"))
14648                   set_state(PART:"elm.text", "visible", 0.0);
14649                else
14650                   set_state(PART:"elm.text", "default", 0.0);
14651
14652                get_state(PART:"elm.units", st, 30, vl);
14653                if (!strcmp(st, "disabled_visible"))
14654                   set_state(PART:"elm.units", "visible", 0.0);
14655                else
14656                   set_state(PART:"elm.units", "default", 0.0);
14657
14658                get_state(PART:"level2", st, 30, vl);
14659                if (!strcmp(st, "disabled_inverted"))
14660                {
14661                   set_state(PART:"level", "inverted", 0.0);
14662                   set_state(PART:"level2", "inverted", 0.0);
14663                }
14664                else
14665                {
14666                   set_state(PART:"level", "default", 0.0);
14667                   set_state(PART:"level2", "default", 0.0);
14668                }
14669             }
14670          }
14671       }
14672    }
14673
14674    group { name: "elm/slider/vertical/default";
14675       images {
14676          image: "slv_bg.png" COMP;
14677          image: "slv_bg_over.png" COMP;
14678
14679          image: "slv_units.png" COMP;
14680       }
14681       parts {
14682          part { name: "base";
14683             mouse_events: 0;
14684             description { state: "default" 0.0;
14685                max: 6 99999;
14686                min: 6 0;
14687                rel1 { to: "bg";
14688                   offset: 1 0;
14689                }
14690                rel2 { to: "bg";
14691                   offset: -2 -1;
14692                }
14693                image.normal: "slv_bg.png";
14694                fill.smooth: 0;
14695             }
14696          }
14697          part { name: "level";
14698             type: RECT;
14699             mouse_events: 0;
14700             description { state: "default" 0.0;
14701                fixed: 1 1;
14702                rel1.to: "base";
14703                rel2 {
14704                   to_x: "base";
14705                   to_y: "elm.dragable.slider";
14706                   relative: 1.0 0.5;
14707                }
14708                color: 255 0 0 200;
14709             }
14710             description { state: "inverted" 0.0;
14711                inherit: "default" 0.0;
14712                visible: 0;
14713             }
14714             description { state: "disabled" 0.0;
14715                inherit: "default" 0.0;
14716                color: 255 0 0 100;
14717             }
14718             description { state: "disabled_inverted" 0.0;
14719                inherit: "default" 0.0;
14720                visible: 0;
14721             }
14722          }
14723          part { name: "level2";
14724             type: RECT;
14725             mouse_events: 0;
14726             description { state: "default" 0.0;
14727                fixed: 1 1;
14728                visible: 0;
14729                rel1 {
14730                   to_x: "base";
14731                   to_y: "elm.dragable.slider";
14732                   relative: 0.0 0.5;
14733                }
14734                rel2.to: "base";
14735                color: 255 0 0 200;
14736             }
14737             description { state: "inverted" 0.0;
14738                inherit: "default" 0.0;
14739                visible: 1;
14740             }
14741             description { state: "disabled" 0.0;
14742                inherit: "default" 0.0;
14743                color: 255 0 0 100;
14744             }
14745             description { state: "disabled_inverted" 0.0;
14746                inherit: "default" 0.0;
14747                color: 255 0 0 100;
14748                visible: 1;
14749             }
14750          }
14751          part {
14752             name: "base_over";
14753             mouse_events: 0;
14754             description { state: "default" 0.0;
14755                rel1.to: "base";
14756                rel1.offset: -1 -1;
14757                rel2.to: "base";
14758                rel2.offset: 0 0;
14759                image {
14760                   normal: "slv_bg_over.png";
14761                   border: 3 3 3 3;
14762                }
14763                fill.smooth: 0;
14764             }
14765          }
14766          part { name: "bg";
14767             type: RECT;
14768             mouse_events: 0;
14769             scale: 1;
14770             description { state: "default" 0.0;
14771                visible: 0;
14772                rel1.to: "elm.swallow.bar";
14773                rel2.to: "elm.swallow.bar";
14774                color: 0 0 0 0;
14775             }
14776          }
14777          part { name: "elm.swallow.bar";
14778             type: SWALLOW;
14779             scale: 1;
14780             description { state: "default" 0.0;
14781                min: 24 48;
14782                max: 24 9999;
14783                align: 0.5 1.0;
14784                rel1 {
14785                   to_y: "elm.text";
14786                   relative: 0.0 1.0;
14787                   offset: 0 10;
14788                }
14789                rel2 {
14790                   to_y: "elm.units";
14791                   relative: 1.0 0.0;
14792                   offset: -1 -8;
14793                }
14794             }
14795          }
14796          part { name: "elm.swallow.icon";
14797             type: SWALLOW;
14798             description { state: "default" 0.0;
14799                visible: 0;
14800                align: 0.5 0.0;
14801                rel1 {
14802                   offset: 0 4;
14803                   to_x: "elm.swallow.bar";
14804                }
14805                rel2 {
14806                   offset: -1 3;
14807                   relative: 1.0 0.0;
14808                   to_x: "elm.swallow.bar";
14809                }
14810             }
14811             description { state: "visible" 0.0;
14812                inherit: "default" 0.0;
14813                visible: 1;
14814                aspect: 1.0 1.0;
14815                aspect_preference: HORIZONTAL;
14816                rel2.offset: -1 4;
14817             }
14818          }
14819          part { name: "elm.text";
14820             type: TEXT;
14821             mouse_events: 0;
14822             scale: 1;
14823             description { state: "default" 0.0;
14824                visible: 0;
14825                fixed: 0 1;
14826                align: 0.5 0.0;
14827                rel1.to_y: "elm.swallow.icon";
14828                rel1.relative: 0.0 1.0;
14829                rel1.offset: 0 -1;
14830                rel2.to_y: "elm.swallow.icon";
14831                rel2.relative: 1.0 1.0;
14832                rel2.offset: -1 -1;
14833                color: 0 0 0 255;
14834                text {
14835                   font: "Sans,Edje-Vera";
14836                   size: 10;
14837                   min: 0 0;
14838                   align: 0.5 0.0;
14839                }
14840             }
14841             description { state: "visible" 0.0;
14842                inherit: "default" 0.0;
14843                visible: 1;
14844                text.min: 1 1;
14845                rel1.offset: 4 0;
14846                rel2.offset: -5 0;
14847             }
14848             description { state: "disabled" 0.0;
14849                inherit: "default" 0.0;
14850                color: 255 128 128 128;
14851                visible: 0;
14852             }
14853             description { state: "disabled_visible" 0.0;
14854                inherit: "default" 0.0;
14855                color: 0 0 0 128;
14856                color3: 0 0 0 0;
14857                visible: 1;
14858                text.min: 1 1;
14859             }
14860          }
14861          part {
14862             name: "elm.swallow.end";
14863             type: SWALLOW;
14864             description {
14865                state: "default" 0.0;
14866                visible: 0;
14867                align: 0.5 1.0;
14868                rel1 {
14869                   offset: 0 -4;
14870                   relative: 0.0 1.0;
14871                   to_x: "elm.swallow.bar";
14872                }
14873                rel2 {
14874                   offset: -1 -3;
14875                   to_x: "elm.swallow.bar";
14876                }
14877             }
14878             description { state: "visible" 0.0;
14879                inherit: "default" 0.0;
14880                visible: 1;
14881                aspect: 1.0 1.0;
14882                aspect_preference: HORIZONTAL;
14883                rel2.offset: -1 -4;
14884             }
14885          }
14886          part { name: "units";
14887             mouse_events: 0;
14888             description { state: "default" 0.0;
14889                visible: 0;
14890                rel1 {
14891                   to: "elm.units";
14892                   offset: -8 0;
14893                }
14894                rel2 {
14895                   to: "elm.units";
14896                   offset: 7 8;
14897                }
14898                image {
14899                   normal: "slv_units.png";
14900                   border: 8 8 0 9;
14901                }
14902                fill.smooth: 0;
14903             }
14904             description { state: "visible" 0.0;
14905                inherit: "default" 0.0;
14906                visible: 1;
14907             }
14908          }
14909          part { name: "elm.units";
14910             type: TEXT;
14911             mouse_events: 0;
14912             scale: 1;
14913             description { state: "default" 0.0;
14914                visible: 0;
14915                fixed: 1 1;
14916                align: 0.5 1.0;
14917                rel1.relative: 0.0 0.0;
14918                rel1.to_y: "elm.swallow.end";
14919                rel1.offset: 8 0;
14920                rel2.relative: 1.0 0.0;
14921                rel2.to_y: "elm.swallow.end";
14922                rel2.offset: -9 0;
14923                color: 0 0 0 255;
14924                text {
14925                   font: "Sans,Edje-Vera";
14926                   size: 10;
14927                   min: 0 0;
14928                   align: 0.5 0.0;
14929                }
14930             }
14931             description { state: "visible" 0.0;
14932                inherit: "default" 0.0;
14933                fixed: 1 1;
14934                visible: 1;
14935                text.min: 1 1;
14936                rel1.offset: 8 -9;
14937                rel2.offset: -9 -9;
14938             }
14939             description { state: "disabled" 0.0;
14940                inherit: "default" 0.0;
14941                color:  0 0 0 128;
14942                color3: 0 0 0 0;
14943                visible: 0;
14944             }
14945             description { state: "disabled_visible" 0.0;
14946                inherit: "default" 0.0;
14947                fixed: 1 1;
14948                visible: 1;
14949                text.min: 1 1;
14950                rel1.offset: 8 -9;
14951                rel2.offset: -9 -9;
14952                color: 0 0 0 128;
14953                color3: 0 0 0 0;
14954             }
14955          }
14956          part { name: "elm.dragable.slider";
14957             type: GROUP;
14958             source: "elm/slider/vertical/indicator/default";
14959             mouse_events: 1;
14960             repeat_events: 1;
14961             scale: 1;
14962             dragable {
14963                x: 0 0 0;
14964                y: 1 1 0;
14965                confine: "bg";
14966             }
14967             description { state: "default" 0.0;
14968                min: 24 0;
14969                max: 24 0;
14970                fixed: 1 1;
14971                rel1 {
14972                   relative: 0.5  0.0;
14973                   to_y: "bg";
14974                }
14975                rel2 {
14976                   relative: 0.5  1.0;
14977                   to_y: "bg";
14978                }
14979                color: 0 0 0 0;
14980             }
14981          }
14982               part { name: "disabler";
14983                 type: RECT;
14984                 description { state: "default" 0.0;
14985                    color: 0 0 0 0;
14986                    visible: 0;
14987                 }
14988                 description { state: "disabled" 0.0;
14989                    inherit: "default" 0.0;
14990                    visible: 1;
14991                 }
14992              }
14993           }
14994
14995       programs {
14996          program { name: "text_show";
14997             signal: "elm,state,text,visible";
14998             source: "elm";
14999             action:  STATE_SET "visible" 0.0;
15000             target: "elm.text";
15001          }
15002          program { name: "text_hide";
15003             signal: "elm,state,text,hidden";
15004             source: "elm";
15005             action:  STATE_SET "default" 0.0;
15006             target: "elm.text";
15007          }
15008          program { name: "icon_show";
15009             signal: "elm,state,icon,visible";
15010             source: "elm";
15011             action:  STATE_SET "visible" 0.0;
15012             target: "elm.swallow.icon";
15013          }
15014          program { name: "icon_hide";
15015             signal: "elm,state,icon,hidden";
15016             source: "elm";
15017             action:  STATE_SET "default" 0.0;
15018             target: "elm.swallow.icon";
15019          }
15020          program { name: "end_show";
15021             signal: "elm,state,end,visible";
15022             source: "elm";
15023             action:  STATE_SET "visible" 0.0;
15024             target: "elm.swallow.end";
15025          }
15026          program { name: "end_hide";
15027             signal: "elm,state,end,hidden";
15028             source: "elm";
15029             action:  STATE_SET "default" 0.0;
15030             target: "elm.swallow.end";
15031          }
15032          program { name: "units_show";
15033             signal: "elm,state,units,visible";
15034             source: "elm";
15035             action:  STATE_SET "visible" 0.0;
15036             target: "elm.units";
15037             target: "units";
15038          }
15039          program { name: "units_hide";
15040             signal: "elm,state,units,hidden";
15041             source: "elm";
15042             action:  STATE_SET "default" 0.0;
15043             target: "elm.units";
15044             target: "units";
15045          }
15046          program { name: "invert_on";
15047             signal: "elm,state,inverted,on";
15048             source: "elm";
15049             action:  STATE_SET "inverted" 0.0;
15050             target: "level";
15051             target: "level2";
15052          }
15053          program { name: "invert_off";
15054             signal: "elm,state,inverted,off";
15055             source: "elm";
15056             action:  STATE_SET "default" 0.0;
15057             target: "level";
15058             target: "level2";
15059          }
15060          program {
15061             name:   "go_disabled";
15062             signal: "elm,state,disabled";
15063             source: "elm";
15064             action: STATE_SET "disabled" 0.0;
15065 //            target: "button0";
15066             target: "disabler";
15067             after: "disable_text";
15068             after: "disable_ind";
15069          }
15070
15071          program { name: "disable_ind";
15072             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15073          }
15074
15075          program { name: "disable_text";
15076             script {
15077             new st[31];
15078             new Float:vl;
15079                get_state(PART:"elm.text", st, 30, vl);
15080                if (!strcmp(st, "visible"))
15081                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15082                else
15083                   set_state(PART:"elm.text", "disabled", 0.0);
15084
15085                get_state(PART:"elm.units", st, 30, vl);
15086                if (!strcmp(st, "visible"))
15087                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15088                else
15089                   set_state(PART:"elm.units", "disabled", 0.0);
15090
15091                get_state(PART:"level2", st, 30, vl);
15092                if (!strcmp(st, "inverted"))
15093                {
15094                   set_state(PART:"level", "disabled_inverted", 0.0);
15095                   set_state(PART:"level2", "disabled_inverted", 0.0);
15096                }
15097                else
15098                {
15099                   set_state(PART:"level", "disabled", 0.0);
15100                   set_state(PART:"level2", "disabled", 0.0);
15101                }
15102             }
15103          }
15104
15105          program { name: "enable";
15106             signal: "elm,state,enabled";
15107             source: "elm";
15108             action: STATE_SET "default" 0.0;
15109 //            target: "button0";
15110             target: "disabler";
15111             after: "enable_text";
15112             after: "enable_ind";
15113          }
15114
15115          program { name: "enable_ind";
15116             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15117          }
15118          program { name: "enable_text";
15119             script {
15120                new st[31];
15121                new Float:vl;
15122                get_state(PART:"elm.text", st, 30, vl);
15123                if (!strcmp(st, "disabled_visible"))
15124                   set_state(PART:"elm.text", "visible", 0.0);
15125                else
15126                   set_state(PART:"elm.text", "default", 0.0);
15127
15128                get_state(PART:"elm.units", st, 30, vl);
15129                if (!strcmp(st, "disabled_visible"))
15130                   set_state(PART:"elm.units", "visible", 0.0);
15131                else
15132                   set_state(PART:"elm.units", "default", 0.0);
15133
15134                get_state(PART:"level2", st, 30, vl);
15135                if (!strcmp(st, "disabled_inverted"))
15136                {
15137                   set_state(PART:"level", "inverted", 0.0);
15138                   set_state(PART:"level2", "inverted", 0.0);
15139                }
15140                else
15141                {
15142                   set_state(PART:"level", "default", 0.0);
15143                   set_state(PART:"level2", "default", 0.0);
15144                }
15145             }
15146          }
15147       }
15148    }
15149    group { name: "elm/slider/horizontal/indicator/default";
15150            alias: "elm/slider/horizontal/indicator/disabled";
15151            alias: "elm/slider/vertical/indicator/default";
15152            alias: "elm/slider/vertical/indicator/disabled";
15153       images {
15154          image: "sl_bt_0.png" COMP;
15155          image: "sl_bt_1.png" COMP;
15156          image: "sl_bt_2.png" COMP;
15157          image: "sl_bt_3.png" COMP;
15158          image: "sl_bt2_0_0.png" COMP;
15159          image: "sl_bt2_0_1.png" COMP;
15160          image: "sl_bt2_0_2.png" COMP;
15161          image: "sl_bt2_1.png" COMP;
15162          image: "sl_bt2_2.png" COMP;
15163       }
15164       script {
15165          public value_hide = 0;
15166          public set_value_show() {
15167             set_int(value_hide, 0);
15168          }
15169          public set_value_hide() {
15170             set_int(value_hide, 1);
15171          }
15172          public thumb_down() {
15173             if (get_int(value_hide) == 1) {
15174                set_state(PART:"elm.indicator", "default", 0.0);
15175                set_state(PART:"button3", "default", 0.0);
15176                set_state(PART:"button4", "default", 0.0);
15177                set_state(PART:"button5", "default", 0.0);
15178                set_state(PART:"button6", "default", 0.0);
15179                set_state(PART:"button7", "default", 0.0);
15180             } else {
15181                set_state(PART:"elm.indicator", "visible", 0.0);
15182                set_state(PART:"button3", "visible", 0.0);
15183                set_state(PART:"button4", "visible", 0.0);
15184                set_state(PART:"button5", "visible", 0.0);
15185                set_state(PART:"button6", "visible", 0.0);
15186                set_state(PART:"button7", "visible", 0.0);
15187             }
15188          }
15189          public thumb_up() {
15190             set_state(PART:"elm.indicator", "default", 0.0);
15191             set_state(PART:"button3", "default", 0.0);
15192             set_state(PART:"button4", "default", 0.0);
15193             set_state(PART:"button5", "default", 0.0);
15194             set_state(PART:"button6", "default", 0.0);
15195             set_state(PART:"button7", "default", 0.0);
15196          }
15197       }
15198       parts {
15199          part { name: "button_events";
15200             type: RECT;
15201             mouse_events: 1;
15202             description { state: "default" 0.0;
15203                fixed: 1 1;
15204                min: 16 16;
15205                aspect: 1.0 1.0;
15206                aspect_preference: VERTICAL;
15207                color: 0 0 0 0;
15208             }
15209          }
15210          part { name: "button0";
15211             mouse_events: 0;
15212             description { state: "default" 0.0;
15213                fixed: 1 1;
15214                max: 17 999;
15215                min: 17 24;
15216                image {
15217                   normal: "sl_bt_0.png";
15218                   border: 5 5 5 10;
15219                }
15220                fill.smooth: 0;
15221             }
15222             description { state: "disabled" 0.0;
15223                inherit: "default" 0.0;
15224                image {
15225                   normal: "sl_bt_3.png";
15226                   border: 5 5 5 10;
15227                }
15228             }
15229          }
15230          part { name: "button1";
15231             mouse_events: 0;
15232             description { state: "default" 0.0;
15233                rel1.to: "button0";
15234                rel2 {
15235                   to: "button0";
15236                   relative: 1.0 0.5;
15237                   offset: -1 -5;
15238                }
15239                image {
15240                   normal: "sl_bt_1.png";
15241                   border: 5 5 5 0;
15242                }
15243             }
15244          }
15245          part { name: "button2";
15246             mouse_events: 0;
15247             description { state: "default" 0.0;
15248                rel1.to: "button0";
15249                rel2.to: "button0";
15250                image {
15251                   normal: "sl_bt_2.png";
15252                   border: 5 5 5 10;
15253                }
15254                fill.smooth: 0;
15255             }
15256          }
15257          part { name: "button3";
15258             mouse_events: 0;
15259             description { state: "default" 0.0;
15260                fixed: 1 1;
15261                visible: 0;
15262                min: 8 32;
15263                align: 1.0 0.5;
15264                rel1 {
15265                   to_x: "elm.indicator";
15266                   to_y: "button4";
15267                   relative: 0.0 0.0;
15268                   offset: -7 0;
15269                }
15270                rel2 {
15271                   to: "button4";
15272                   relative: 0.0 1.0;
15273                   offset: -1 -1;
15274                }
15275                image {
15276                   normal: "sl_bt2_0_0.png";
15277                   border: 6 0 6 12;
15278                }
15279                fill.smooth: 0;
15280             }
15281             description { state: "visible" 0.0;
15282                inherit: "default" 0.0;
15283                visible: 1;
15284             }
15285          }
15286          part { name: "button4";
15287             mouse_events: 0;
15288             description { state: "default" 0.0;
15289                visible: 0;
15290                max: 15 999;
15291                min: 15 32;
15292                rel1 {
15293                   to_x: "button0";
15294                   to_y: "elm.indicator";
15295                   offset: 0 0;
15296                }
15297                rel2.to: "button0";
15298                image {
15299                   normal: "sl_bt2_0_1.png";
15300                   border: 0 0 6 12;
15301                }
15302                fill.smooth: 0;
15303             }
15304             description { state: "visible" 0.0;
15305                inherit: "default" 0.0;
15306                visible: 1;
15307             }
15308          }
15309          part { name: "button5";
15310             mouse_events: 0;
15311             description { state: "default" 0.0;
15312                fixed: 1 1;
15313                visible: 0;
15314                min: 8 32;
15315                align: 0.0 0.5;
15316                rel1 {
15317                   to: "button4";
15318                   relative: 1.0 0.0;
15319                   offset: 0 0;
15320                }
15321                rel2 {
15322                   to_x: "elm.indicator";
15323                   to_y: "button4";
15324                   relative: 1.0 1.0;
15325                   offset: 6 -1;
15326                }
15327                image {
15328                   normal: "sl_bt2_0_2.png";
15329                   border: 0 6 6 12;
15330                }
15331                fill.smooth: 0;
15332             }
15333             description { state: "visible" 0.0;
15334                inherit: "default" 0.0;
15335                visible: 1;
15336             }
15337          }
15338          part { name: "elm.indicator";
15339             type: TEXT;
15340             mouse_events: 0;
15341             effect: SOFT_SHADOW;
15342             scale: 1;
15343             description { state: "default" 0.0;
15344                visible: 0;
15345                fixed: 1 1;
15346                align: 0.5 1.0;
15347                rel1 {
15348                   to: "button0";
15349                   relative: 0.0 -0.25;
15350                   offset: 0 0;
15351                }
15352                rel2 {
15353                   to_x: "button0";
15354                   relative: 1.0 -0.25;
15355                   offset: -1 0;
15356                }
15357                color: 224 224 224 255;
15358                color3: 0 0 0 64;
15359                text {
15360                   font:     "Sans,Edje-Vera";
15361                   size:     10;
15362                   min:      0 0;
15363                   align:    0.5 0.5;
15364                }
15365             }
15366             description { state: "visible" 0.0;
15367                inherit: "default" 0.0;
15368                visible: 1;
15369                text.min: 1 1;
15370                rel1.offset: 0 -1;
15371                rel2.offset: -1 -1;
15372             }
15373          }
15374          part { name: "button6";
15375             mouse_events: 0;
15376             description { state: "default" 0.0;
15377                visible: 0;
15378                rel1.to: "button3";
15379                rel2 {
15380                   to: "button5";
15381                   relative: 1.0 0.3;
15382                   offset: -1 -1;
15383                }
15384                image {
15385                   normal: "sl_bt2_1.png";
15386                   border: 5 5 5 0;
15387                }
15388                fill.smooth: 0;
15389             }
15390             description { state: "visible" 0.0;
15391                inherit: "default" 0.0;
15392                visible: 1;
15393             }
15394          }
15395          part { name: "button7";
15396             mouse_events: 0;
15397             description { state: "default" 0.0;
15398                visible: 0;
15399                rel1.to: "button3";
15400                rel2.to: "button5";
15401                image {
15402                   normal: "sl_bt2_2.png";
15403                   border: 5 5 5 0;
15404                   middle: 0;
15405                }
15406                fill.smooth: 0;
15407             }
15408             description { state: "visible" 0.0;
15409                inherit: "default" 0.0;
15410                visible: 1;
15411             }
15412          }
15413       }
15414       programs {
15415          program { name: "set_val_show";
15416             signal: "elm,state,val,show";
15417             source: "elm";
15418             script {
15419                set_value_show();
15420             }
15421          }
15422          program { name: "set_val_hide";
15423             signal: "elm,state,val,hide";
15424             source: "elm";
15425             script {
15426                set_value_hide();
15427             }
15428          }
15429          program { name: "val_show";
15430             signal: "mouse,down,*";
15431             source: "button_events";
15432             script {
15433                thumb_down();
15434             }
15435
15436          }
15437          program { name: "val_hide";
15438             signal: "mouse,up,*";
15439             source: "button_events";
15440             script {
15441                thumb_up();
15442             }
15443          }
15444          program {
15445             name:    "go_disabled";
15446             signal:  "elm,state,disabled";
15447             source:  "elm";
15448             action:  STATE_SET "disabled" 0.0;
15449             target:  "button0";
15450          }
15451          program {
15452             name:    "go_enabled";
15453             signal:  "elm,state,enabled";
15454             source:  "elm";
15455             action:  STATE_SET "default" 0.0;
15456             target:  "button0";
15457          }
15458       }
15459    }
15460
15461 ////////////////////////////////////////////////////////////////////////////////
15462 // actionslider
15463 ////////////////////////////////////////////////////////////////////////////////
15464    group { name: "elm/actionslider/base/default";
15465
15466       images {
15467          image: "shelf_inset.png" COMP;
15468          image: "ilist_1.png" COMP;
15469       }
15470
15471       parts {
15472          part {
15473             name: "base";
15474             mouse_events: 0;
15475             description {
15476                state: "default" 0.0;
15477                min: 75 30;
15478                rel1.offset: 1 1;
15479                rel2.offset: -2 -2;
15480                image {
15481                   normal: "ilist_1.png";
15482                   border: 2 2 2 2;
15483                }
15484                fill.smooth: 0;
15485             }
15486          }
15487          part { name: "conf_over";
15488             mouse_events:  0;
15489             description { state: "default" 0.0;
15490                rel1.to: "base";
15491                rel2.to: "base";
15492                image {
15493                   normal: "shelf_inset.png";
15494                   border: 7 7 7 7;
15495                   middle: 0;
15496                }
15497                fill.smooth : 0;
15498             }
15499          }
15500          part { name: "icon.dragable.area";
15501            type: RECT;
15502             mouse_events: 0;
15503             description { state: "default" 0.0;
15504                visible: 0;
15505                rel1.to: "base";
15506                rel2.to: "base";
15507             }
15508          }
15509          part { name: "elm.text.left";
15510             type: TEXT;
15511             mouse_events: 0;
15512             scale: 1;
15513             description { state: "default" 0.0;
15514                color: 0 0 0 255;
15515                text {
15516                   font: "Sans,Edje-Vera";
15517                   size: 10;
15518                   align: 0.05 0.5;
15519                   min: 1 1;
15520                }
15521             }
15522          }
15523          part { name: "elm.text.center";
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.5 0.5;
15533                   min: 1 1;
15534                }
15535             }
15536          }
15537          part { name: "elm.text.right";
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.95 0.5;
15547                   min: 1 1;
15548                }
15549             }
15550          }
15551          part { name: "elm.swallow.icon";
15552             type: SWALLOW;
15553             mouse_events: 1;
15554             repeat_events: 1;
15555             scale: 1;
15556             description { state: "default" 0.0;
15557                fixed: 1 1;
15558                min: 50 25;
15559                align: 0.5 0.5;
15560                rel1.to: "icon.dragable.area";
15561                rel2 {
15562                   relative: 0.0 1.0;
15563                   to: "icon.dragable.area";
15564                }
15565             }
15566             dragable {
15567                confine: "icon.dragable.area";
15568                x: 1 1 0;
15569                y: 0 0 0;
15570             }
15571          }
15572          part {
15573             name: "elm.swallow.space";
15574             type: SWALLOW;
15575             mouse_events: 0;
15576             scale: 1;
15577             description {
15578                state: "default" 0.0;
15579                min: 50 25;
15580                fixed: 1 0;
15581                align: 0.5 0.5;
15582                rel1 {
15583                   relative: 0.5 0.0;
15584                   to: "icon.dragable.area";
15585                }
15586                rel2 {
15587                   relative: 0.5 1.0;
15588                   to: "icon.dragable.area";
15589                }
15590                visible: 0;
15591             }
15592          }
15593       }
15594    }
15595
15596    group { name: "elm/actionslider/base/bar";
15597
15598       images {
15599          image: "shelf_inset.png" COMP;
15600          image: "ilist_1.png" COMP;
15601       }
15602
15603       parts {
15604          part {
15605             name: "base";
15606             mouse_events: 0;
15607             description {
15608                state: "default" 0.0;
15609                min: 150 30;
15610                rel1.offset: 1 1;
15611                rel2.offset: -2 -2;
15612                image {
15613                   normal: "ilist_1.png";
15614                   border: 2 2 2 2;
15615                }
15616                fill.smooth: 0;
15617             }
15618          }
15619          part { name: "conf_over";
15620             mouse_events:  0;
15621             description { state: "default" 0.0;
15622                rel1.to: "base";
15623                rel2.to: "base";
15624                image {
15625                   normal: "shelf_inset.png";
15626                   border: 7 7 7 7;
15627                   middle: 0;
15628                }
15629                fill.smooth : 0;
15630             }
15631          }
15632          part { name: "icon.dragable.area";
15633            type: RECT;
15634             mouse_events: 0;
15635             description { state: "default" 0.0;
15636                visible: 0;
15637                rel1.to: "base";
15638                rel2.to: "base";
15639             }
15640          }
15641          part { name: "elm.text.left";
15642             type: TEXT;
15643             mouse_events: 0;
15644             scale: 1;
15645             description { state: "default" 0.0;
15646                color: 0 0 0 255;
15647                text {
15648                   font: "Sans,Edje-Vera";
15649                   size: 10;
15650                   align: 0.05 0.5;
15651                   min: 1 1;
15652                }
15653             }
15654          }
15655          part { name: "elm.text.center";
15656             type: TEXT;
15657             mouse_events: 0;
15658             scale: 1;
15659             description { state: "default" 0.0;
15660                color: 0 0 0 255;
15661                text {
15662                   font: "Sans,Edje-Vera";
15663                   size: 10;
15664                   align: 0.5 0.5;
15665                   min: 1 1;
15666                }
15667             }
15668          }
15669          part { name: "elm.text.right";
15670             type: TEXT;
15671             mouse_events: 0;
15672             scale: 1;
15673             description { state: "default" 0.0;
15674                color: 0 0 0 255;
15675                text {
15676                   font: "Sans,Edje-Vera";
15677                   size: 10;
15678                   align: 0.95 0.5;
15679                   min: 1 1;
15680                }
15681             }
15682          }
15683          part { name: "bar";
15684             type: RECT;
15685             mouse_events: 0;
15686             description { state: "default" 0.0;
15687                rel1.to: "base";
15688                rel1.offset: 0 2;
15689                rel2 {
15690                   relative: 0 1;
15691                   offset: 3 -3;
15692                   to_x: "elm.swallow.icon";
15693                   to_y: "base";
15694                }
15695                color: 0 0 0 180;
15696             }
15697          }
15698          part { name: "elm.swallow.icon";
15699             type: SWALLOW;
15700             mouse_events: 1;
15701             scale: 1;
15702             description { state: "default" 0.0;
15703                fixed: 1 1;
15704                min: 50 25;
15705                align: 0.5 0.5;
15706                rel1 {
15707                   relative: 0.0 0.5;
15708                   to: "icon.dragable.area";
15709                }
15710                rel2 {
15711                   relative: 0.0 0.5;
15712                   to: "icon.dragable.area";
15713                }
15714             }
15715             dragable {
15716                confine: "icon.dragable.area";
15717                x: 1 1 0;
15718                y: 0 0 0;
15719             }
15720          }
15721          part {
15722             name: "elm.swallow.space";
15723             type: SWALLOW;
15724             mouse_events: 0;
15725             scale: 1;
15726             description {
15727                state: "default" 0.0;
15728                min: 50 25;
15729                fixed: 1 0;
15730                align: 0.5 0.5;
15731                rel1 {
15732                   relative: 0.5 0.0;
15733                   to: "icon.dragable.area";
15734                }
15735                rel2 {
15736                   relative: 0.5 1.0;
15737                   to: "icon.dragable.area";
15738                }
15739                visible: 0;
15740             }
15741          }
15742       }
15743    }
15744
15745    group { name: "elm/actionslider/icon/default";
15746       alias:"elm/actionslider/icon/bar";
15747
15748       images {
15749          image: "bt_bases.png" COMP;
15750          image: "bt_basew.png" COMP;
15751          image: "bt_hilightw.png" COMP;
15752       }
15753       parts {
15754          part { name: "elm.drag_button";
15755             type: RECT;
15756             mouse_events: 1;
15757             description { state: "default" 0.0;
15758                min: 50 25;
15759                align: 0.5 0.5;
15760                color: 255 255 255 0;
15761             }
15762          }
15763          part { name: "button0";
15764             mouse_events: 0;
15765             description { state: "default" 0.0;
15766                rel1.to: "button2";
15767                rel1.offset: -4 -4;
15768                rel2.to: "button2";
15769                rel2.offset: 3 3;
15770                image {
15771                   normal: "bt_bases.png";
15772                   border: 11 11 11 11;
15773                   middle: SOLID;
15774                }
15775                color: 255 255 255 128;
15776             }
15777          }
15778          part { name: "button2";
15779             mouse_events: 0;
15780             description { state: "default" 0.0;
15781                rel1.to: "elm.drag_button";
15782                rel2.to: "elm.drag_button";
15783                image {
15784                   normal: "bt_basew.png";
15785                   border: 7 7 7 7;
15786                   middle: SOLID;
15787                }
15788                color: 255 255 255 210;
15789             }
15790          }
15791          part { name: "button3";
15792             mouse_events: 0;
15793             description { state: "default" 0.0;
15794                rel1.to: "button2";
15795                rel2.to: "button2";
15796                rel2.relative: 1.0 0.5;
15797                image {
15798                   normal: "bt_hilightw.png";
15799                   border: 4 4 4 0;
15800                }
15801                color: 255 255 255 190;
15802             }
15803          }
15804          part { name: "elm.text.button";
15805             type: TEXT;
15806             scale: 1;
15807             mouse_events: 0;
15808             description { state: "default" 0.0;
15809                rel1 {
15810                   to: "elm.drag_button";
15811                   offset: 5 0;
15812                }
15813                rel2 {
15814                   to: "elm.drag_button";
15815                   offset: -5 0;
15816                }
15817                color: 0 0 0 255;
15818                text {
15819                   font: "Sans,Edje-Vera";
15820                   size: 10;
15821                   align: 0.5 0.5;
15822                   min: 0 1;
15823                }
15824             }
15825          }
15826       }
15827       programs {
15828          program { name: "elm.drag_button,mouse,up";
15829             signal: "mouse,up,1";
15830             source: "elm.drag_button";
15831             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15832          }
15833          program { name: "elm.drag_button,mouse,down";
15834             signal: "mouse,down,1";
15835             source: "elm.drag_button";
15836             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15837          }
15838          program { name: "elm.drag_button,mouse,move";
15839             signal: "mouse,move";
15840             source: "elm.swallow.icon";
15841             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15842          }
15843       }
15844    }
15845 ///////////////////////////////////////////////////////////////////////////////
15846
15847 ///////////////////////////////////////////////////////////////////////////////
15848
15849    group { name: "elm/genlist/item/default/default";
15850       data.item: "stacking" "above";
15851       data.item: "selectraise" "on";
15852       data.item: "labels" "elm.text";
15853       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15854       data.item: "treesize" "20";
15855 //      data.item: "states" "";
15856       images {
15857          image: "bt_sm_base1.png" COMP;
15858          image: "bt_sm_shine.png" COMP;
15859          image: "bt_sm_hilight.png" COMP;
15860          image: "ilist_1.png" COMP;
15861          image: "ilist_item_shadow.png" COMP;
15862       }
15863       parts {
15864          part {
15865             name:           "event";
15866             type:           RECT;
15867             repeat_events: 1;
15868             description {
15869                state: "default" 0.0;
15870                color: 0 0 0 0;
15871             }
15872          }
15873          part {
15874             name: "base_sh";
15875             mouse_events: 0;
15876             description {
15877                state: "default" 0.0;
15878                align: 0.0 0.0;
15879                min: 0 10;
15880                fixed: 1 1;
15881                rel1 {
15882                   to: "base";
15883                   relative: 0.0 1.0;
15884                   offset: 0 0;
15885                }
15886                rel2 {
15887                   to: "base";
15888                   relative: 1.0 1.0;
15889                   offset: -1 0;
15890                }
15891                image {
15892                   normal: "ilist_item_shadow.png";
15893                }
15894                fill.smooth: 0;
15895             }
15896          }
15897          part {
15898             name: "base";
15899             mouse_events: 0;
15900             description {
15901                state: "default" 0.0;
15902                image {
15903                   normal: "ilist_1.png";
15904                   border: 2 2 2 2;
15905                }
15906                fill.smooth: 0;
15907             }
15908          }
15909          part { name: "bg";
15910             clip_to: "disclip";
15911             mouse_events: 0;
15912             description { state: "default" 0.0;
15913                visible: 0;
15914                color: 255 255 255 0;
15915                rel1 {
15916                   relative: 0.0 0.0;
15917                   offset: -5 -5;
15918                }
15919                rel2 {
15920                   relative: 1.0 1.0;
15921                   offset: 4 4;
15922                }
15923                image {
15924                   normal: "bt_sm_base1.png";
15925                   border: 6 6 6 6;
15926                }
15927                image.middle: SOLID;
15928             }
15929             description { state: "selected" 0.0;
15930                inherit: "default" 0.0;
15931                visible: 1;
15932                color: 255 255 255 255;
15933                rel1 {
15934                   relative: 0.0 0.0;
15935                   offset: -2 -2;
15936                }
15937                rel2 {
15938                   relative: 1.0 1.0;
15939                   offset: 1 1;
15940                }
15941             }
15942          }
15943          part { name: "elm.swallow.pad";
15944             type: SWALLOW;
15945             description { state: "default" 0.0;
15946                fixed: 1 0;
15947                align: 0.0 0.5;
15948                rel1 {
15949                   relative: 0.0  0.0;
15950                   offset:   4    4;
15951                }
15952                rel2 {
15953                   relative: 0.0  1.0;
15954                   offset:   4   -5;
15955                }
15956             }
15957          }
15958          part { name: "elm.swallow.icon";
15959             clip_to: "disclip";
15960             type: SWALLOW;
15961             description { state: "default" 0.0;
15962                fixed: 1 0;
15963                align: 0.0 0.5;
15964                rel1 {
15965                   to_x: "elm.swallow.pad";
15966                   relative: 1.0  0.0;
15967                   offset:   -1    4;
15968                }
15969                rel2 {
15970                   to_x: "elm.swallow.pad";
15971                   relative: 1.0  1.0;
15972                   offset:   -1   -5;
15973                }
15974             }
15975          }
15976          part { name: "elm.swallow.end";
15977             clip_to: "disclip";
15978             type: SWALLOW;
15979             description { state: "default" 0.0;
15980                fixed: 1 0;
15981                align: 1.0 0.5;
15982                aspect: 1.0 1.0;
15983                aspect_preference: VERTICAL;
15984                rel1 {
15985                   relative: 1.0  0.0;
15986                   offset:   -5    4;
15987                }
15988                rel2 {
15989                   relative: 1.0  1.0;
15990                   offset:   -5   -5;
15991                }
15992             }
15993          }
15994          part { name: "elm.text";
15995             clip_to: "disclip";
15996             type:           TEXT;
15997             effect:         SOFT_SHADOW;
15998             mouse_events:   0;
15999             scale: 1;
16000             description {
16001                state: "default" 0.0;
16002 //               min: 16 16;
16003                rel1 {
16004                   to_x:     "elm.swallow.icon";
16005                   relative: 1.0  0.0;
16006                   offset:   0 4;
16007                }
16008                rel2 {
16009                   to_x:     "elm.swallow.end";
16010                   relative: 0.0  1.0;
16011                   offset:   -1 -5;
16012                }
16013                color: 0 0 0 255;
16014                color3: 0 0 0 0;
16015                text {
16016                   font: "Sans";
16017                   size: 10;
16018                   min: 1 1;
16019 //                  min: 0 1;
16020                   align: 0.0 0.5;
16021                   text_class: "list_item";
16022                }
16023             }
16024             description { state: "selected" 0.0;
16025                inherit: "default" 0.0;
16026                color: 224 224 224 255;
16027                color3: 0 0 0 64;
16028             }
16029          }
16030          part { name: "fg1";
16031             clip_to: "disclip";
16032             mouse_events: 0;
16033             description { state: "default" 0.0;
16034                visible: 0;
16035                color: 255 255 255 0;
16036                rel1.to: "bg";
16037                rel2.relative: 1.0 0.5;
16038                rel2.to: "bg";
16039                image {
16040                   normal: "bt_sm_hilight.png";
16041                   border: 6 6 6 0;
16042                }
16043             }
16044             description { state: "selected" 0.0;
16045                inherit: "default" 0.0;
16046                visible: 1;
16047                color: 255 255 255 255;
16048             }
16049          }
16050          part { name: "fg2";
16051             clip_to: "disclip";
16052             mouse_events: 0;
16053             description { state: "default" 0.0;
16054                visible: 0;
16055                color: 255 255 255 0;
16056                rel1.to: "bg";
16057                rel2.to: "bg";
16058                image {
16059                   normal: "bt_sm_shine.png";
16060                   border: 6 6 6 0;
16061                }
16062             }
16063             description { state: "selected" 0.0;
16064                inherit: "default" 0.0;
16065                visible: 1;
16066                color: 255 255 255 255;
16067             }
16068          }
16069          part { name: "disclip";
16070             type: RECT;
16071             description { state: "default" 0.0;
16072                rel1.to: "bg";
16073                rel2.to: "bg";
16074             }
16075             description { state: "disabled" 0.0;
16076                inherit: "default" 0.0;
16077                color: 255 255 255 64;
16078             }
16079          }
16080       }
16081       programs {
16082          // signal: elm,state,%s,active
16083          //   a "check" item named %s went active
16084          // signal: elm,state,%s,passive
16085          //   a "check" item named %s went passive
16086          // default is passive
16087          program {
16088             name:    "go_active";
16089             signal:  "elm,state,selected";
16090             source:  "elm";
16091             action:  STATE_SET "selected" 0.0;
16092             target:  "bg";
16093             target:  "fg1";
16094             target:  "fg2";
16095             target:  "elm.text";
16096          }
16097          program {
16098             name:    "go_passive";
16099             signal:  "elm,state,unselected";
16100             source:  "elm";
16101             action:  STATE_SET "default" 0.0;
16102             target:  "bg";
16103             target:  "fg1";
16104             target:  "fg2";
16105             target:  "elm.text";
16106             transition: LINEAR 0.1;
16107          }
16108          program {
16109             name:    "go_disabled";
16110             signal:  "elm,state,disabled";
16111             source:  "elm";
16112             action:  STATE_SET "disabled" 0.0;
16113             target:  "disclip";
16114          }
16115          program {
16116             name:    "go_enabled";
16117             signal:  "elm,state,enabled";
16118             source:  "elm";
16119             action:  STATE_SET "default" 0.0;
16120             target:  "disclip";
16121          }
16122       }
16123    }
16124    group { name: "elm/genlist/item/group_index/default";
16125       alias: "elm/genlist/item_odd/group_index/default";
16126       alias: "elm/genlist/item_compress/group_index/default";
16127       alias: "elm/genlist/item_compress_odd/group_index/default";
16128       data.item: "stacking" "above";
16129       data.item: "selectraise" "on";
16130       data.item: "labels" "elm.text";
16131       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16132       data.item: "treesize" "20";
16133 //      data.item: "states" "";
16134       images {
16135          image: "bt_sm_base1.png" COMP;
16136          image: "bt_sm_shine.png" COMP;
16137          image: "bt_sm_hilight.png" COMP;
16138          image: "ilist_item_shadow.png" COMP;
16139          image: "group_index.png" COMP;
16140       }
16141       parts {
16142          part {
16143             name: "event";
16144             type: RECT;
16145             repeat_events: 0;
16146             description {
16147                state: "default" 0.0;
16148                color: 0 0 0 0;
16149             }
16150          }
16151          part {
16152             name: "base_sh";
16153             mouse_events: 0;
16154             description {
16155                state: "default" 0.0;
16156                align: 0.0 0.0;
16157                min: 0 10;
16158                fixed: 1 1;
16159                rel1 {
16160                   to: "base";
16161                   relative: 0.0 1.0;
16162                   offset: 0 0;
16163                }
16164                rel2 {
16165                   to: "base";
16166                   relative: 1.0 1.0;
16167                   offset: -1 0;
16168                }
16169                image {
16170                   normal: "ilist_item_shadow.png";
16171                }
16172                fill.smooth: 0;
16173             }
16174          }
16175          part {
16176             name: "base";
16177             mouse_events: 0;
16178             description {
16179                state: "default" 0.0;
16180                image {
16181                   normal: "group_index.png";
16182                   border: 2 2 2 2;
16183                }
16184                fill.smooth: 0;
16185             }
16186          }
16187          part { name: "bg";
16188             clip_to: "disclip";
16189             mouse_events: 0;
16190             description { state: "default" 0.0;
16191                visible: 0;
16192                color: 255 255 255 0;
16193                rel1 {
16194                   relative: 0.0 0.0;
16195                   offset: -5 -5;
16196                }
16197                rel2 {
16198                   relative: 1.0 1.0;
16199                   offset: 4 4;
16200                }
16201                image {
16202                   normal: "bt_sm_base1.png";
16203                   border: 6 6 6 6;
16204                }
16205                image.middle: SOLID;
16206             }
16207             description { state: "selected" 0.0;
16208                inherit: "default" 0.0;
16209                visible: 1;
16210                color: 255 255 255 255;
16211                rel1 {
16212                   relative: 0.0 0.0;
16213                   offset: -2 -2;
16214                }
16215                rel2 {
16216                   relative: 1.0 1.0;
16217                   offset: 1 1;
16218                }
16219             }
16220          }
16221          part { name: "elm.swallow.pad";
16222             type: SWALLOW;
16223             description { state: "default" 0.0;
16224                fixed: 1 0;
16225                align: 0.0 0.5;
16226                rel1 {
16227                   relative: 0.0  0.0;
16228                   offset: 4 4;
16229                }
16230                rel2 {
16231                   relative: 0.0  1.0;
16232                   offset: 4 -5;
16233                }
16234             }
16235          }
16236          part { name: "elm.swallow.icon";
16237             clip_to: "disclip";
16238             type: SWALLOW;
16239             description { state: "default" 0.0;
16240                fixed: 1 0;
16241                align: 0.0 0.5;
16242                rel1 {
16243                   to_x: "elm.swallow.pad";
16244                   relative: 1.0 0.0;
16245                   offset: -1 4;
16246                }
16247                rel2 {
16248                   to_x: "elm.swallow.pad";
16249                   relative: 1.0 1.0;
16250                   offset: -1 -5;
16251                }
16252             }
16253          }
16254          part { name: "elm.swallow.end";
16255             clip_to: "disclip";
16256             type: SWALLOW;
16257             description { state: "default" 0.0;
16258                fixed: 1 0;
16259                align: 1.0 0.5;
16260                aspect: 1.0 1.0;
16261                aspect_preference: VERTICAL;
16262                rel1 {
16263                   relative: 1.0 0.0;
16264                   offset: -5 4;
16265                }
16266                rel2 {
16267                   relative: 1.0 1.0;
16268                   offset: -5 -5;
16269                }
16270             }
16271          }
16272          part { name: "elm.text";
16273             clip_to: "disclip";
16274             type: TEXT;
16275             effect: SOFT_SHADOW;
16276             mouse_events: 0;
16277             scale: 1;
16278             description {
16279                state: "default" 0.0;
16280 //               min: 16 16;
16281                rel1 {
16282                   to_x: "elm.swallow.icon";
16283                   relative: 1.0  0.0;
16284                   offset: 0 4;
16285                }
16286                rel2 {
16287                   to_x: "elm.swallow.end";
16288                   relative: 0.0  1.0;
16289                   offset: -1 -5;
16290                }
16291                color: 0 0 0 255;
16292                color3: 0 0 0 0;
16293                text {
16294                   font: "Sans";
16295                   size: 10;
16296                   min: 1 1;
16297 //                  min: 0 1;
16298                   align: -1.0 0.5;
16299                   text_class: "list_item";
16300                }
16301             }
16302             description { state: "selected" 0.0;
16303                inherit: "default" 0.0;
16304                color: 224 224 224 255;
16305                color3: 0 0 0 64;
16306             }
16307          }
16308          part { name: "fg1";
16309             clip_to: "disclip";
16310             mouse_events: 0;
16311             description { state: "default" 0.0;
16312                visible: 0;
16313                color: 255 255 255 0;
16314                rel1.to: "bg";
16315                rel2.relative: 1.0 0.5;
16316                rel2.to: "bg";
16317                image {
16318                   normal: "bt_sm_hilight.png";
16319                   border: 6 6 6 0;
16320                }
16321             }
16322             description { state: "selected" 0.0;
16323                inherit: "default" 0.0;
16324                visible: 1;
16325                color: 255 255 255 255;
16326             }
16327          }
16328          part { name: "fg2";
16329             clip_to: "disclip";
16330             mouse_events: 0;
16331             description { state: "default" 0.0;
16332                visible: 0;
16333                color: 255 255 255 0;
16334                rel1.to: "bg";
16335                rel2.to: "bg";
16336                image {
16337                   normal: "bt_sm_shine.png";
16338                   border: 6 6 6 0;
16339                }
16340             }
16341             description { state: "selected" 0.0;
16342                inherit: "default" 0.0;
16343                visible: 1;
16344                color: 255 255 255 255;
16345             }
16346          }
16347          part { name: "disclip";
16348             type: RECT;
16349             description { state: "default" 0.0;
16350                rel1.to: "bg";
16351                rel2.to: "bg";
16352             }
16353             description { state: "disabled" 0.0;
16354                inherit: "default" 0.0;
16355                color: 255 255 255 64;
16356             }
16357          }
16358       }
16359       programs {
16360          // signal: elm,state,%s,active
16361          //   a "check" item named %s went active
16362          // signal: elm,state,%s,passive
16363          //   a "check" item named %s went passive
16364          // default is passive
16365          program {
16366             name:    "go_active";
16367             signal:  "elm,state,selected";
16368             source:  "elm";
16369             action:  STATE_SET "selected" 0.0;
16370             target:  "bg";
16371             target:  "fg1";
16372             target:  "fg2";
16373             target:  "elm.text";
16374          }
16375          program {
16376             name:    "go_passive";
16377             signal:  "elm,state,unselected";
16378             source:  "elm";
16379             action:  STATE_SET "default" 0.0;
16380             target:  "bg";
16381             target:  "fg1";
16382             target:  "fg2";
16383             target:  "elm.text";
16384             transition: LINEAR 0.1;
16385          }
16386          program {
16387             name:    "go_disabled";
16388             signal:  "elm,state,disabled";
16389             source:  "elm";
16390             action:  STATE_SET "disabled" 0.0;
16391             target:  "disclip";
16392          }
16393          program {
16394             name:    "go_enabled";
16395             signal:  "elm,state,enabled";
16396             source:  "elm";
16397             action:  STATE_SET "default" 0.0;
16398             target:  "disclip";
16399          }
16400       }
16401    }
16402    group { name: "elm/genlist/item_compress/message/default";
16403       data.item: "stacking" "above";
16404       data.item: "selectraise" "on";
16405       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16406 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16407       data.item: "treesize" "20";
16408 //      data.item: "states" "";
16409       images {
16410          image: "bt_sm_base1.png" COMP;
16411          image: "bt_sm_shine.png" COMP;
16412          image: "bt_sm_hilight.png" COMP;
16413          image: "ilist_1.png" COMP;
16414          image: "ilist_item_shadow.png" COMP;
16415       }
16416       styles {
16417         style { name: "genlist_textblock_style";
16418           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16419           tag:  "br" "\n";
16420           tag:  "ps" "ps";
16421           tag:  "tab" "\t";
16422         }
16423         style { name: "genlist_textblock_style2";
16424           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16425           tag:  "br" "\n";
16426           tag:  "ps" "ps";
16427           tag:  "tab" "\t";
16428         }
16429       }
16430      parts {
16431          part {
16432             name:           "event";
16433             type:           RECT;
16434             repeat_events: 1;
16435             description {
16436                state: "default" 0.0;
16437                color: 0 0 0 0;
16438             }
16439          }
16440          part {
16441             name: "base_sh";
16442             mouse_events: 0;
16443             description {
16444                state: "default" 0.0;
16445                align: 0.0 0.0;
16446                min: 0 10;
16447                fixed: 1 1;
16448                rel1 {
16449                   to: "base";
16450                   relative: 0.0 1.0;
16451                   offset: 0 0;
16452                }
16453                rel2 {
16454                   to: "base";
16455                   relative: 1.0 1.0;
16456                   offset: -1 0;
16457                }
16458                image {
16459                   normal: "ilist_item_shadow.png";
16460                }
16461                fill.smooth: 0;
16462             }
16463          }
16464          part {
16465             name: "base";
16466             mouse_events: 0;
16467             description {
16468                state: "default" 0.0;
16469                image {
16470                   normal: "ilist_1.png";
16471                   border: 2 2 2 2;
16472                }
16473                fill.smooth: 0;
16474             }
16475          }
16476          part { name: "bg";
16477             clip_to: "disclip";
16478             mouse_events: 0;
16479             description { state: "default" 0.0;
16480                visible: 0;
16481                color: 255 255 255 0;
16482                rel1 {
16483                   relative: 0.0 0.0;
16484                   offset: -5 -5;
16485                }
16486                rel2 {
16487                   relative: 1.0 1.0;
16488                   offset: 4 4;
16489                }
16490                image {
16491                   normal: "bt_sm_base1.png";
16492                   border: 6 6 6 6;
16493                }
16494                image.middle: SOLID;
16495             }
16496             description { state: "selected" 0.0;
16497                inherit: "default" 0.0;
16498                visible: 1;
16499                color: 255 255 255 255;
16500                rel1 {
16501                   relative: 0.0 0.0;
16502                   offset: -2 -2;
16503                }
16504                rel2 {
16505                   relative: 1.0 1.0;
16506                   offset: 1 1;
16507                }
16508             }
16509          }
16510          part { name: "elm.title.1";
16511             clip_to: "disclip";
16512             type:           TEXT;
16513             effect:         SOFT_SHADOW;
16514             mouse_events:   0;
16515             scale: 1;
16516             description {
16517                state: "default" 0.0;
16518                fixed: 0 1;
16519 //               min: 16 16;
16520                rel1 {
16521                   relative: 0.0  0.0;
16522                   offset:   4 4;
16523                }
16524                rel2 {
16525                   relative: 1.0  0.0;
16526                   offset:   -5 4;
16527                }
16528                color: 0 0 0 255;
16529                color3: 0 0 0 0;
16530                align: 0.0 0.0;
16531                text {
16532                   font: "Sans";
16533                   size: 10;
16534                   min: 0 1;
16535 //                  min: 1 1;
16536                   align: 0.0 0.0;
16537                   text_class: "list_item";
16538                }
16539             }
16540             description { state: "selected" 0.0;
16541                inherit: "default" 0.0;
16542                color: 224 224 224 255;
16543                color3: 0 0 0 64;
16544             }
16545          }
16546          part { name: "elm.title.2";
16547             clip_to: "disclip";
16548             type:           TEXT;
16549             effect:         SOFT_SHADOW;
16550             mouse_events:   0;
16551             scale: 1;
16552             description {
16553                state: "default" 0.0;
16554                fixed: 0 1;
16555 //               min: 16 16;
16556                rel1 {
16557                   to_y:     "elm.title.1";
16558                   relative: 0.0  1.0;
16559                   offset:   4 0;
16560                }
16561                rel2 {
16562                   to_y:     "elm.title.1";
16563                   relative: 1.0  1.0;
16564                   offset:   -5 0;
16565                }
16566                color: 0 0 0 255;
16567                color3: 0 0 0 0;
16568                align: 0.0 0.0;
16569                text {
16570                   font: "Sans";
16571                   size: 10;
16572                   min: 0 1;
16573 //                  min: 1 1;
16574                   align: 0.0 0.0;
16575                   text_class: "list_item";
16576                }
16577             }
16578             description { state: "selected" 0.0;
16579                inherit: "default" 0.0;
16580                color: 224 224 224 255;
16581                color3: 0 0 0 64;
16582             }
16583          }
16584          part { name: "elm.text";
16585             clip_to: "disclip";
16586             type:           TEXTBLOCK;
16587             mouse_events:   0;
16588             scale: 1;
16589             description {
16590                state: "default" 0.0;
16591 //               fixed: 0 1;
16592 //               min: 16 16;
16593                rel1 {
16594                   to_y:     "elm.title.2";
16595                   relative: 0.0  1.0;
16596                   offset:   4 0;
16597                }
16598                rel2 {
16599                   relative: 1.0  1.0;
16600                   offset:   -5 -5;
16601                }
16602                align: 0.0 0.0;
16603                text {
16604                   style: "genlist_textblock_style";
16605                   min: 0 1;
16606 //                  min: 1 1;
16607                   align: 0.0 0.0;
16608                }
16609             }
16610             description { state: "selected" 0.0;
16611                inherit: "default" 0.0;
16612                text {
16613                   style: "genlist_textblock_style2";
16614                }
16615             }
16616          }
16617          part { name: "fg1";
16618             clip_to: "disclip";
16619             mouse_events: 0;
16620             description { state: "default" 0.0;
16621                visible: 0;
16622                color: 255 255 255 0;
16623                rel1.to: "bg";
16624                rel2.relative: 1.0 0.5;
16625                rel2.to: "bg";
16626                image {
16627                   normal: "bt_sm_hilight.png";
16628                   border: 6 6 6 0;
16629                }
16630             }
16631             description { state: "selected" 0.0;
16632                inherit: "default" 0.0;
16633                visible: 1;
16634                color: 255 255 255 255;
16635             }
16636          }
16637          part { name: "fg2";
16638             clip_to: "disclip";
16639             mouse_events: 0;
16640             description { state: "default" 0.0;
16641                visible: 0;
16642                color: 255 255 255 0;
16643                rel1.to: "bg";
16644                rel2.to: "bg";
16645                image {
16646                   normal: "bt_sm_shine.png";
16647                   border: 6 6 6 0;
16648                }
16649             }
16650             description { state: "selected" 0.0;
16651                inherit: "default" 0.0;
16652                visible: 1;
16653                color: 255 255 255 255;
16654             }
16655          }
16656          part { name: "disclip";
16657             type: RECT;
16658             description { state: "default" 0.0;
16659                rel1.to: "bg";
16660                rel2.to: "bg";
16661             }
16662             description { state: "disabled" 0.0;
16663                inherit: "default" 0.0;
16664                color: 255 255 255 64;
16665             }
16666          }
16667       }
16668       programs {
16669          // signal: elm,state,%s,active
16670          //   a "check" item named %s went active
16671          // signal: elm,state,%s,passive
16672          //   a "check" item named %s went passive
16673          // default is passive
16674          program {
16675             name:    "go_active";
16676             signal:  "elm,state,selected";
16677             source:  "elm";
16678             action:  STATE_SET "selected" 0.0;
16679             target:  "bg";
16680             target:  "fg1";
16681             target:  "fg2";
16682             target:  "elm.title.1";
16683             target:  "elm.title.2";
16684             target:  "elm.text";
16685          }
16686          program {
16687             name:    "go_passive";
16688             signal:  "elm,state,unselected";
16689             source:  "elm";
16690             action:  STATE_SET "default" 0.0;
16691             target:  "bg";
16692             target:  "fg1";
16693             target:  "fg2";
16694             target:  "elm.title.1";
16695             target:  "elm.title.2";
16696             target:  "elm.text";
16697             transition: LINEAR 0.1;
16698          }
16699          program {
16700             name:    "go_disabled";
16701             signal:  "elm,state,disabled";
16702             source:  "elm";
16703             action:  STATE_SET "disabled" 0.0;
16704             target:  "disclip";
16705          }
16706          program {
16707             name:    "go_enabled";
16708             signal:  "elm,state,enabled";
16709             source:  "elm";
16710             action:  STATE_SET "default" 0.0;
16711             target:  "disclip";
16712          }
16713       }
16714    }
16715    group { name: "elm/genlist/item_compress_odd/message/default";
16716       data.item: "stacking" "below";
16717       data.item: "selectraise" "on";
16718       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16719 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16720       data.item: "treesize" "20";
16721 //      data.item: "states" "";
16722       images {
16723          image: "bt_sm_base1.png" COMP;
16724          image: "bt_sm_shine.png" COMP;
16725          image: "bt_sm_hilight.png" COMP;
16726          image: "ilist_2.png" COMP;
16727       }
16728       parts {
16729          part { name: "event";
16730             type: RECT;
16731             repeat_events: 1;
16732             description {
16733                state: "default" 0.0;
16734                color: 0 0 0 0;
16735             }
16736          }
16737          part {
16738             name: "base";
16739             mouse_events: 0;
16740             description {
16741                state: "default" 0.0;
16742                image {
16743                   normal: "ilist_2.png";
16744                   border: 2 2 2 2;
16745                }
16746                fill.smooth: 0;
16747             }
16748          }
16749          part { name: "bg";
16750             clip_to: "disclip";
16751             mouse_events: 0;
16752             description { state: "default" 0.0;
16753                visible: 0;
16754                color: 255 255 255 0;
16755                rel1 {
16756                   relative: 0.0 0.0;
16757                   offset: -5 -5;
16758                }
16759                rel2 {
16760                   relative: 1.0 1.0;
16761                   offset: 4 4;
16762                }
16763                image {
16764                   normal: "bt_sm_base1.png";
16765                   border: 6 6 6 6;
16766                }
16767                image.middle: SOLID;
16768             }
16769             description { state: "selected" 0.0;
16770                inherit: "default" 0.0;
16771                visible: 1;
16772                color: 255 255 255 255;
16773                rel1 {
16774                   relative: 0.0 0.0;
16775                   offset: -2 -2;
16776                }
16777                rel2 {
16778                   relative: 1.0 1.0;
16779                   offset: 1 1;
16780                }
16781             }
16782          }
16783          part { name: "elm.title.1";
16784             clip_to: "disclip";
16785             type:           TEXT;
16786             effect:         SOFT_SHADOW;
16787             mouse_events:   0;
16788             scale: 1;
16789             description {
16790                state: "default" 0.0;
16791                fixed: 0 1;
16792 //               min: 16 16;
16793                rel1 {
16794                   relative: 0.0  0.0;
16795                   offset:   4 4;
16796                }
16797                rel2 {
16798                   relative: 1.0  0.0;
16799                   offset:   -5 4;
16800                }
16801                color: 0 0 0 255;
16802                color3: 0 0 0 0;
16803                align: 0.0 0.0;
16804                text {
16805                   font: "Sans";
16806                   size: 10;
16807                   min: 0 1;
16808 //                  min: 1 1;
16809                   align: 0.0 0.0;
16810                   text_class: "list_item";
16811                }
16812             }
16813             description { state: "selected" 0.0;
16814                inherit: "default" 0.0;
16815                color: 224 224 224 255;
16816                color3: 0 0 0 64;
16817             }
16818          }
16819          part { name: "elm.title.2";
16820             clip_to: "disclip";
16821             type:           TEXT;
16822             effect:         SOFT_SHADOW;
16823             mouse_events:   0;
16824             scale: 1;
16825             description {
16826                state: "default" 0.0;
16827                fixed: 0 1;
16828 //               min: 16 16;
16829                rel1 {
16830                   to_y:     "elm.title.1";
16831                   relative: 0.0  1.0;
16832                   offset:   4 0;
16833                }
16834                rel2 {
16835                   to_y:     "elm.title.1";
16836                   relative: 1.0  1.0;
16837                   offset:   -5 0;
16838                }
16839                color: 0 0 0 255;
16840                color3: 0 0 0 0;
16841                align: 0.0 0.0;
16842                text {
16843                   font: "Sans";
16844                   size: 10;
16845                   min: 0 1;
16846 //                  min: 1 1;
16847                   align: 0.0 0.0;
16848                   text_class: "list_item";
16849                }
16850             }
16851             description { state: "selected" 0.0;
16852                inherit: "default" 0.0;
16853                color: 224 224 224 255;
16854                color3: 0 0 0 64;
16855             }
16856          }
16857          part { name: "elm.text";
16858             clip_to: "disclip";
16859             type:           TEXTBLOCK;
16860             mouse_events:   0;
16861             scale: 1;
16862             description {
16863                state: "default" 0.0;
16864 //               fixed: 0 1;
16865 //               min: 16 16;
16866                rel1 {
16867                   to_y:     "elm.title.2";
16868                   relative: 0.0  1.0;
16869                   offset:   4 0;
16870                }
16871                rel2 {
16872                   relative: 1.0  1.0;
16873                   offset:   -5 -5;
16874                }
16875                align: 0.0 0.0;
16876                text {
16877                   style: "genlist_textblock_style";
16878                   min: 0 1;
16879 //                  min: 1 1;
16880                   align: 0.0 0.0;
16881                }
16882             }
16883             description { state: "selected" 0.0;
16884                inherit: "default" 0.0;
16885                text {
16886                   style: "genlist_textblock_style2";
16887                }
16888             }
16889          }
16890          part { name: "fg1";
16891             clip_to: "disclip";
16892             mouse_events: 0;
16893             description { state: "default" 0.0;
16894                visible: 0;
16895                color: 255 255 255 0;
16896                rel1.to: "bg";
16897                rel2.relative: 1.0 0.5;
16898                rel2.to: "bg";
16899                image {
16900                   normal: "bt_sm_hilight.png";
16901                   border: 6 6 6 0;
16902                }
16903             }
16904             description { state: "selected" 0.0;
16905                inherit: "default" 0.0;
16906                visible: 1;
16907                color: 255 255 255 255;
16908             }
16909          }
16910          part { name: "fg2";
16911             clip_to: "disclip";
16912             mouse_events: 0;
16913             description { state: "default" 0.0;
16914                visible: 0;
16915                color: 255 255 255 0;
16916                rel1.to: "bg";
16917                rel2.to: "bg";
16918                image {
16919                   normal: "bt_sm_shine.png";
16920                   border: 6 6 6 0;
16921                }
16922             }
16923             description { state: "selected" 0.0;
16924                inherit: "default" 0.0;
16925                visible: 1;
16926                color: 255 255 255 255;
16927             }
16928          }
16929          part { name: "disclip";
16930             type: RECT;
16931             description { state: "default" 0.0;
16932                rel1.to: "bg";
16933                rel2.to: "bg";
16934             }
16935             description { state: "disabled" 0.0;
16936                inherit: "default" 0.0;
16937                color: 255 255 255 64;
16938             }
16939          }
16940       }
16941       programs {
16942          // signal: elm,state,%s,active
16943          //   a "check" item named %s went active
16944          // signal: elm,state,%s,passive
16945          //   a "check" item named %s went passive
16946          // default is passive
16947          program {
16948             name:    "go_active";
16949             signal:  "elm,state,selected";
16950             source:  "elm";
16951             action:  STATE_SET "selected" 0.0;
16952             target:  "bg";
16953             target:  "fg1";
16954             target:  "fg2";
16955             target:  "elm.title.1";
16956             target:  "elm.title.2";
16957             target:  "elm.text";
16958          }
16959          program {
16960             name:    "go_passive";
16961             signal:  "elm,state,unselected";
16962             source:  "elm";
16963             action:  STATE_SET "default" 0.0;
16964             target:  "bg";
16965             target:  "fg1";
16966             target:  "fg2";
16967             target:  "elm.title.1";
16968             target:  "elm.title.2";
16969             target:  "elm.text";
16970             transition: LINEAR 0.1;
16971          }
16972          program {
16973             name:    "go_disabled";
16974             signal:  "elm,state,disabled";
16975             source:  "elm";
16976             action:  STATE_SET "disabled" 0.0;
16977             target:  "disclip";
16978          }
16979          program {
16980             name:    "go_enabled";
16981             signal:  "elm,state,enabled";
16982             source:  "elm";
16983             action:  STATE_SET "default" 0.0;
16984             target:  "disclip";
16985          }
16986       }
16987    }
16988    group { name: "elm/genlist/item_compress/default/default";
16989       data.item: "stacking" "above";
16990       data.item: "selectraise" "on";
16991       data.item: "labels" "elm.text";
16992       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16993       data.item: "treesize" "20";
16994 //      data.item: "states" "";
16995       images {
16996          image: "bt_sm_base1.png" COMP;
16997          image: "bt_sm_shine.png" COMP;
16998          image: "bt_sm_hilight.png" COMP;
16999          image: "ilist_1.png" COMP;
17000          image: "ilist_item_shadow.png" COMP;
17001       }
17002       parts {
17003          part {
17004             name:           "event";
17005             type:           RECT;
17006             repeat_events: 1;
17007             description {
17008                state: "default" 0.0;
17009                color: 0 0 0 0;
17010             }
17011          }
17012          part {
17013             name: "base_sh";
17014             mouse_events: 0;
17015             description {
17016                state: "default" 0.0;
17017                align: 0.0 0.0;
17018                min: 0 10;
17019                fixed: 1 1;
17020                rel1 {
17021                   to: "base";
17022                   relative: 0.0 1.0;
17023                   offset: 0 0;
17024                }
17025                rel2 {
17026                   to: "base";
17027                   relative: 1.0 1.0;
17028                   offset: -1 0;
17029                }
17030                image {
17031                   normal: "ilist_item_shadow.png";
17032                }
17033                fill.smooth: 0;
17034             }
17035          }
17036          part {
17037             name: "base";
17038             mouse_events: 0;
17039             description {
17040                state: "default" 0.0;
17041                image {
17042                   normal: "ilist_1.png";
17043                   border: 2 2 2 2;
17044                }
17045                fill.smooth: 0;
17046             }
17047          }
17048          part { name: "bg";
17049             clip_to: "disclip";
17050             mouse_events: 0;
17051             description { state: "default" 0.0;
17052                visible: 0;
17053                color: 255 255 255 0;
17054                rel1 {
17055                   relative: 0.0 0.0;
17056                   offset: -5 -5;
17057                }
17058                rel2 {
17059                   relative: 1.0 1.0;
17060                   offset: 4 4;
17061                }
17062                image {
17063                   normal: "bt_sm_base1.png";
17064                   border: 6 6 6 6;
17065                }
17066                image.middle: SOLID;
17067             }
17068             description { state: "selected" 0.0;
17069                inherit: "default" 0.0;
17070                visible: 1;
17071                color: 255 255 255 255;
17072                rel1 {
17073                   relative: 0.0 0.0;
17074                   offset: -2 -2;
17075                }
17076                rel2 {
17077                   relative: 1.0 1.0;
17078                   offset: 1 1;
17079                }
17080             }
17081          }
17082          part { name: "elm.swallow.pad";
17083             type: SWALLOW;
17084             description { state: "default" 0.0;
17085                fixed: 1 0;
17086                align: 0.0 0.5;
17087                rel1 {
17088                   relative: 0.0  0.0;
17089                   offset:   4    4;
17090                }
17091                rel2 {
17092                   relative: 0.0  1.0;
17093                   offset:   4   -5;
17094                }
17095             }
17096          }
17097          part { name: "elm.swallow.icon";
17098             clip_to: "disclip";
17099             type: SWALLOW;
17100             description { state: "default" 0.0;
17101                fixed: 1 0;
17102                align: 0.0 0.5;
17103                rel1 {
17104                   to_x: "elm.swallow.pad";
17105                   relative: 1.0  0.0;
17106                   offset:   -1    4;
17107                }
17108                rel2 {
17109                   to_x: "elm.swallow.pad";
17110                   relative: 1.0  1.0;
17111                   offset:   -1   -5;
17112                }
17113             }
17114          }
17115          part { name: "elm.swallow.end";
17116             clip_to: "disclip";
17117             type: SWALLOW;
17118             description { state: "default" 0.0;
17119                fixed: 1 0;
17120                align: 1.0 0.5;
17121                aspect: 1.0 1.0;
17122                aspect_preference: VERTICAL;
17123                rel1 {
17124                   relative: 1.0  0.0;
17125                   offset:   -5    4;
17126                }
17127                rel2 {
17128                   relative: 1.0  1.0;
17129                   offset:   -5   -5;
17130                }
17131             }
17132          }
17133          part { name: "elm.text";
17134             clip_to: "disclip";
17135             type:           TEXT;
17136             effect:         SOFT_SHADOW;
17137             mouse_events:   0;
17138             scale: 1;
17139             description {
17140                state: "default" 0.0;
17141 //               min: 16 16;
17142                rel1 {
17143                   to_x:     "elm.swallow.icon";
17144                   relative: 1.0  0.0;
17145                   offset:   0 4;
17146                }
17147                rel2 {
17148                   to_x:     "elm.swallow.end";
17149                   relative: 0.0  1.0;
17150                   offset:   -1 -5;
17151                }
17152                color: 0 0 0 255;
17153                color3: 0 0 0 0;
17154                text {
17155                   font: "Sans";
17156                   size: 10;
17157                   min: 0 1;
17158 //                  min: 1 1;
17159                   align: 0.0 0.5;
17160                   text_class: "list_item";
17161                }
17162             }
17163             description { state: "selected" 0.0;
17164                inherit: "default" 0.0;
17165                color: 224 224 224 255;
17166                color3: 0 0 0 64;
17167             }
17168          }
17169          part { name: "fg1";
17170             clip_to: "disclip";
17171             mouse_events: 0;
17172             description { state: "default" 0.0;
17173                visible: 0;
17174                color: 255 255 255 0;
17175                rel1.to: "bg";
17176                rel2.relative: 1.0 0.5;
17177                rel2.to: "bg";
17178                image {
17179                   normal: "bt_sm_hilight.png";
17180                   border: 6 6 6 0;
17181                }
17182             }
17183             description { state: "selected" 0.0;
17184                inherit: "default" 0.0;
17185                visible: 1;
17186                color: 255 255 255 255;
17187             }
17188          }
17189          part { name: "fg2";
17190             clip_to: "disclip";
17191             mouse_events: 0;
17192             description { state: "default" 0.0;
17193                visible: 0;
17194                color: 255 255 255 0;
17195                rel1.to: "bg";
17196                rel2.to: "bg";
17197                image {
17198                   normal: "bt_sm_shine.png";
17199                   border: 6 6 6 0;
17200                }
17201             }
17202             description { state: "selected" 0.0;
17203                inherit: "default" 0.0;
17204                visible: 1;
17205                color: 255 255 255 255;
17206             }
17207          }
17208          part { name: "disclip";
17209             type: RECT;
17210             description { state: "default" 0.0;
17211                rel1.to: "bg";
17212                rel2.to: "bg";
17213             }
17214             description { state: "disabled" 0.0;
17215                inherit: "default" 0.0;
17216                color: 255 255 255 64;
17217             }
17218          }
17219       }
17220       programs {
17221          // signal: elm,state,%s,active
17222          //   a "check" item named %s went active
17223          // signal: elm,state,%s,passive
17224          //   a "check" item named %s went passive
17225          // default is passive
17226          program {
17227             name:    "go_active";
17228             signal:  "elm,state,selected";
17229             source:  "elm";
17230             action:  STATE_SET "selected" 0.0;
17231             target:  "bg";
17232             target:  "fg1";
17233             target:  "fg2";
17234             target:  "elm.text";
17235          }
17236          program {
17237             name:    "go_passive";
17238             signal:  "elm,state,unselected";
17239             source:  "elm";
17240             action:  STATE_SET "default" 0.0;
17241             target:  "bg";
17242             target:  "fg1";
17243             target:  "fg2";
17244             target:  "elm.text";
17245             transition: LINEAR 0.1;
17246          }
17247          program {
17248             name:    "go_disabled";
17249             signal:  "elm,state,disabled";
17250             source:  "elm";
17251             action:  STATE_SET "disabled" 0.0;
17252             target:  "disclip";
17253          }
17254          program {
17255             name:    "go_enabled";
17256             signal:  "elm,state,enabled";
17257             source:  "elm";
17258             action:  STATE_SET "default" 0.0;
17259             target:  "disclip";
17260          }
17261       }
17262    }
17263    group { name: "elm/genlist/item_odd/default/default";
17264       data.item: "stacking" "below";
17265       data.item: "selectraise" "on";
17266       data.item: "labels" "elm.text";
17267       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17268       data.item: "treesize" "20";
17269 //      data.item: "states" "";
17270       images {
17271          image: "bt_sm_base1.png" COMP;
17272          image: "bt_sm_shine.png" COMP;
17273          image: "bt_sm_hilight.png" COMP;
17274          image: "ilist_2.png" COMP;
17275       }
17276       parts {
17277          part { name: "event";
17278             type: RECT;
17279             repeat_events: 1;
17280             description {
17281                state: "default" 0.0;
17282                color: 0 0 0 0;
17283             }
17284          }
17285          part {
17286             name: "base";
17287             mouse_events: 0;
17288             description {
17289                state: "default" 0.0;
17290                image {
17291                   normal: "ilist_2.png";
17292                   border: 2 2 2 2;
17293                }
17294                fill.smooth: 0;
17295             }
17296          }
17297          part { name: "bg";
17298             clip_to: "disclip";
17299             mouse_events: 0;
17300             description { state: "default" 0.0;
17301                visible: 0;
17302                color: 255 255 255 0;
17303                rel1 {
17304                   relative: 0.0 0.0;
17305                   offset: -5 -5;
17306                }
17307                rel2 {
17308                   relative: 1.0 1.0;
17309                   offset: 4 4;
17310                }
17311                image {
17312                   normal: "bt_sm_base1.png";
17313                   border: 6 6 6 6;
17314                }
17315                image.middle: SOLID;
17316             }
17317             description { state: "selected" 0.0;
17318                inherit: "default" 0.0;
17319                visible: 1;
17320                color: 255 255 255 255;
17321                rel1 {
17322                   relative: 0.0 0.0;
17323                   offset: -2 -2;
17324                }
17325                rel2 {
17326                   relative: 1.0 1.0;
17327                   offset: 1 1;
17328                }
17329             }
17330          }
17331          part { name: "elm.swallow.pad";
17332             type: SWALLOW;
17333             description { state: "default" 0.0;
17334                fixed: 1 0;
17335                align: 0.0 0.5;
17336                rel1 {
17337                   relative: 0.0  0.0;
17338                   offset:   4    4;
17339                }
17340                rel2 {
17341                   relative: 0.0  1.0;
17342                   offset:   4   -5;
17343                }
17344             }
17345          }
17346          part { name: "elm.swallow.icon";
17347             clip_to: "disclip";
17348             type: SWALLOW;
17349             description { state: "default" 0.0;
17350                fixed: 1 0;
17351                align: 0.0 0.5;
17352                rel1 {
17353                   to_x: "elm.swallow.pad";
17354                   relative: 1.0  0.0;
17355                   offset:   -1    4;
17356                }
17357                rel2 {
17358                   to_x: "elm.swallow.pad";
17359                   relative: 1.0  1.0;
17360                   offset:   -1   -5;
17361                }
17362             }
17363          }
17364          part { name: "elm.swallow.end";
17365             clip_to: "disclip";
17366             type:          SWALLOW;
17367             description { state:    "default" 0.0;
17368                fixed: 1 0;
17369                align:    1.0 0.5;
17370                aspect: 1.0 1.0;
17371                aspect_preference: VERTICAL;
17372                rel1 {
17373                   relative: 1.0  0.0;
17374                   offset:   -5    4;
17375                }
17376                rel2 {
17377                   relative: 1.0  1.0;
17378                   offset:   -5   -5;
17379                }
17380             }
17381          }
17382          part { name: "elm.text";
17383             clip_to: "disclip";
17384             type:           TEXT;
17385             effect:         SOFT_SHADOW;
17386             mouse_events:   0;
17387             scale: 1;
17388             description {
17389                state: "default" 0.0;
17390 //               min:      16 16;
17391                rel1 {
17392                   to_x:     "elm.swallow.icon";
17393                   relative: 1.0  0.0;
17394                   offset:   0 4;
17395                }
17396                rel2 {
17397                   to_x:     "elm.swallow.end";
17398                   relative: 0.0  1.0;
17399                   offset:   -1 -5;
17400                }
17401                color: 0 0 0 255;
17402                color3: 0 0 0 0;
17403                text {
17404                   font: "Sans";
17405                   size: 10;
17406                   min: 1 1;
17407 //                  min: 0 1;
17408                   align: -1.0 0.5;
17409                   text_class: "list_item";
17410                }
17411             }
17412             description { state: "selected" 0.0;
17413                inherit: "default" 0.0;
17414                color: 224 224 224 255;
17415                color3: 0 0 0 64;
17416             }
17417          }
17418          part { name: "fg1";
17419             clip_to: "disclip";
17420             mouse_events: 0;
17421             description { state: "default" 0.0;
17422                visible: 0;
17423                color: 255 255 255 0;
17424                rel1.to: "bg";
17425                rel2.relative: 1.0 0.5;
17426                rel2.to: "bg";
17427                image {
17428                   normal: "bt_sm_hilight.png";
17429                   border: 6 6 6 0;
17430                }
17431             }
17432             description { state: "selected" 0.0;
17433                inherit: "default" 0.0;
17434                visible: 1;
17435                color: 255 255 255 255;
17436             }
17437          }
17438          part { name: "fg2";
17439             clip_to: "disclip";
17440             mouse_events: 0;
17441             description { state: "default" 0.0;
17442                visible: 0;
17443                color: 255 255 255 0;
17444                rel1.to: "bg";
17445                rel2.to: "bg";
17446                image {
17447                   normal: "bt_sm_shine.png";
17448                   border: 6 6 6 0;
17449                }
17450             }
17451             description { state: "selected" 0.0;
17452                inherit: "default" 0.0;
17453                visible: 1;
17454                color: 255 255 255 255;
17455             }
17456          }
17457          part { name: "disclip";
17458             type: RECT;
17459             description { state: "default" 0.0;
17460                rel1.to: "bg";
17461                rel2.to: "bg";
17462             }
17463             description { state: "disabled" 0.0;
17464                inherit: "default" 0.0;
17465                color: 255 255 255 64;
17466             }
17467          }
17468       }
17469       programs {
17470          // signal: elm,state,%s,active
17471          //   a "check" item named %s went active
17472          // signal: elm,state,%s,passive
17473          //   a "check" item named %s went passive
17474          // default is passive
17475          program {
17476             name:    "go_active";
17477             signal:  "elm,state,selected";
17478             source:  "elm";
17479             action:  STATE_SET "selected" 0.0;
17480             target:  "bg";
17481             target:  "fg1";
17482             target:  "fg2";
17483             target:  "elm.text";
17484          }
17485          program {
17486             name:    "go_passive";
17487             signal:  "elm,state,unselected";
17488             source:  "elm";
17489             action:  STATE_SET "default" 0.0;
17490             target:  "bg";
17491             target:  "fg1";
17492             target:  "fg2";
17493             target:  "elm.text";
17494             transition: LINEAR 0.1;
17495          }
17496          program {
17497             name:    "go_disabled";
17498             signal:  "elm,state,disabled";
17499             source:  "elm";
17500             action:  STATE_SET "disabled" 0.0;
17501             target:  "disclip";
17502          }
17503          program {
17504             name:    "go_enabled";
17505             signal:  "elm,state,enabled";
17506             source:  "elm";
17507             action:  STATE_SET "default" 0.0;
17508             target:  "disclip";
17509          }
17510       }
17511    }
17512    group { name: "elm/genlist/item_compress_odd/default/default";
17513       data.item: "stacking" "below";
17514       data.item: "selectraise" "on";
17515       data.item: "labels" "elm.text";
17516       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17517       data.item: "treesize" "20";
17518 //      data.item: "states" "";
17519       images {
17520          image: "bt_sm_base1.png" COMP;
17521          image: "bt_sm_shine.png" COMP;
17522          image: "bt_sm_hilight.png" COMP;
17523          image: "ilist_2.png" COMP;
17524       }
17525       parts {
17526          part { name: "event";
17527             type: RECT;
17528             repeat_events: 1;
17529             description {
17530                state: "default" 0.0;
17531                color: 0 0 0 0;
17532             }
17533          }
17534          part {
17535             name: "base";
17536             mouse_events: 0;
17537             description {
17538                state: "default" 0.0;
17539                image {
17540                   normal: "ilist_2.png";
17541                   border: 2 2 2 2;
17542                }
17543                fill.smooth: 0;
17544             }
17545          }
17546          part { name: "bg";
17547             clip_to: "disclip";
17548             mouse_events: 0;
17549             description { state: "default" 0.0;
17550                visible: 0;
17551                color: 255 255 255 0;
17552                rel1 {
17553                   relative: 0.0 0.0;
17554                   offset: -5 -5;
17555                }
17556                rel2 {
17557                   relative: 1.0 1.0;
17558                   offset: 4 4;
17559                }
17560                image {
17561                   normal: "bt_sm_base1.png";
17562                   border: 6 6 6 6;
17563                }
17564                image.middle: SOLID;
17565             }
17566             description { state: "selected" 0.0;
17567                inherit: "default" 0.0;
17568                visible: 1;
17569                color: 255 255 255 255;
17570                rel1 {
17571                   relative: 0.0 0.0;
17572                   offset: -2 -2;
17573                }
17574                rel2 {
17575                   relative: 1.0 1.0;
17576                   offset: 1 1;
17577                }
17578             }
17579          }
17580          part { name: "elm.swallow.pad";
17581             type: SWALLOW;
17582             description { state: "default" 0.0;
17583                fixed: 1 0;
17584                align: 0.0 0.5;
17585                rel1 {
17586                   relative: 0.0  0.0;
17587                   offset:   4    4;
17588                }
17589                rel2 {
17590                   relative: 0.0  1.0;
17591                   offset:   4   -5;
17592                }
17593             }
17594          }
17595          part { name: "elm.swallow.icon";
17596             clip_to: "disclip";
17597             type: SWALLOW;
17598             description { state: "default" 0.0;
17599                fixed: 1 0;
17600                align: 0.0 0.5;
17601                rel1 {
17602                   to_x: "elm.swallow.pad";
17603                   relative: 1.0  0.0;
17604                   offset:   -1    4;
17605                }
17606                rel2 {
17607                   to_x: "elm.swallow.pad";
17608                   relative: 1.0  1.0;
17609                   offset:   -1   -5;
17610                }
17611             }
17612          }
17613          part { name: "elm.swallow.end";
17614             clip_to: "disclip";
17615             type:          SWALLOW;
17616             description { state:    "default" 0.0;
17617                fixed: 1 0;
17618                align:    1.0 0.5;
17619                aspect: 1.0 1.0;
17620                aspect_preference: VERTICAL;
17621                rel1 {
17622                   relative: 1.0  0.0;
17623                   offset:   -5    4;
17624                }
17625                rel2 {
17626                   relative: 1.0  1.0;
17627                   offset:   -5   -5;
17628                }
17629             }
17630          }
17631          part { name: "elm.text";
17632             clip_to: "disclip";
17633             type:           TEXT;
17634             effect:         SOFT_SHADOW;
17635             mouse_events:   0;
17636             scale: 1;
17637             description {
17638                state: "default" 0.0;
17639 //               min:      16 16;
17640                rel1 {
17641                   to_x:     "elm.swallow.icon";
17642                   relative: 1.0  0.0;
17643                   offset:   0 4;
17644                }
17645                rel2 {
17646                   to_x:     "elm.swallow.end";
17647                   relative: 0.0  1.0;
17648                   offset:   -1 -5;
17649                }
17650                color: 0 0 0 255;
17651                color3: 0 0 0 0;
17652                text {
17653                   font: "Sans";
17654                   size: 10;
17655                   min: 0 1;
17656 //                  min: 1 1;
17657                   align: 0.0 0.5;
17658                   text_class: "list_item";
17659                }
17660             }
17661             description { state: "selected" 0.0;
17662                inherit: "default" 0.0;
17663                color: 224 224 224 255;
17664                color3: 0 0 0 64;
17665             }
17666          }
17667          part { name: "fg1";
17668             clip_to: "disclip";
17669             mouse_events: 0;
17670             description { state: "default" 0.0;
17671                visible: 0;
17672                color: 255 255 255 0;
17673                rel1.to: "bg";
17674                rel2.relative: 1.0 0.5;
17675                rel2.to: "bg";
17676                image {
17677                   normal: "bt_sm_hilight.png";
17678                   border: 6 6 6 0;
17679                }
17680             }
17681             description { state: "selected" 0.0;
17682                inherit: "default" 0.0;
17683                visible: 1;
17684                color: 255 255 255 255;
17685             }
17686          }
17687          part { name: "fg2";
17688             clip_to: "disclip";
17689             mouse_events: 0;
17690             description { state: "default" 0.0;
17691                visible: 0;
17692                color: 255 255 255 0;
17693                rel1.to: "bg";
17694                rel2.to: "bg";
17695                image {
17696                   normal: "bt_sm_shine.png";
17697                   border: 6 6 6 0;
17698                }
17699             }
17700             description { state: "selected" 0.0;
17701                inherit: "default" 0.0;
17702                visible: 1;
17703                color: 255 255 255 255;
17704             }
17705          }
17706          part { name: "disclip";
17707             type: RECT;
17708             description { state: "default" 0.0;
17709                rel1.to: "bg";
17710                rel2.to: "bg";
17711             }
17712             description { state: "disabled" 0.0;
17713                inherit: "default" 0.0;
17714                color: 255 255 255 64;
17715             }
17716          }
17717       }
17718       programs {
17719          // signal: elm,state,%s,active
17720          //   a "check" item named %s went active
17721          // signal: elm,state,%s,passive
17722          //   a "check" item named %s went passive
17723          // default is passive
17724          program {
17725             name:    "go_active";
17726             signal:  "elm,state,selected";
17727             source:  "elm";
17728             action:  STATE_SET "selected" 0.0;
17729             target:  "bg";
17730             target:  "fg1";
17731             target:  "fg2";
17732             target:  "elm.text";
17733          }
17734          program {
17735             name:    "go_passive";
17736             signal:  "elm,state,unselected";
17737             source:  "elm";
17738             action:  STATE_SET "default" 0.0;
17739             target:  "bg";
17740             target:  "fg1";
17741             target:  "fg2";
17742             target:  "elm.text";
17743             transition: LINEAR 0.1;
17744          }
17745          program {
17746             name:    "go_disabled";
17747             signal:  "elm,state,disabled";
17748             source:  "elm";
17749             action:  STATE_SET "disabled" 0.0;
17750             target:  "disclip";
17751          }
17752          program {
17753             name:    "go_enabled";
17754             signal:  "elm,state,enabled";
17755             source:  "elm";
17756             action:  STATE_SET "default" 0.0;
17757             target:  "disclip";
17758          }
17759       }
17760    }
17761
17762    group { name: "elm/genlist/tree/default/default";
17763       data.item: "stacking" "above";
17764       data.item: "selectraise" "on";
17765       data.item: "labels" "elm.text";
17766       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17767       data.item: "treesize" "20";
17768 //      data.item: "states" "";
17769       images {
17770          image: "bt_sm_base1.png" COMP;
17771          image: "bt_sm_shine.png" COMP;
17772          image: "bt_sm_hilight.png" COMP;
17773          image: "ilist_1.png" COMP;
17774          image: "ilist_item_shadow.png" COMP;
17775          image: "icon_arrow_left.png" COMP;
17776          image: "icon_arrow_right.png" COMP;
17777          image: "icon_arrow_down.png" COMP;
17778       }
17779       parts {
17780          part {
17781             name:           "event";
17782             type:           RECT;
17783             repeat_events: 1;
17784             description {
17785                state: "default" 0.0;
17786                color: 0 0 0 0;
17787             }
17788          }
17789          part {
17790             name: "base_sh";
17791             mouse_events: 0;
17792             description {
17793                state: "default" 0.0;
17794                align: 0.0 0.0;
17795                min: 0 10;
17796                fixed: 1 1;
17797                rel1 {
17798                   to: "base";
17799                   relative: 0.0 1.0;
17800                   offset: 0 0;
17801                }
17802                rel2 {
17803                   to: "base";
17804                   relative: 1.0 1.0;
17805                   offset: -1 0;
17806                }
17807                image {
17808                   normal: "ilist_item_shadow.png";
17809                }
17810                fill.smooth: 0;
17811             }
17812          }
17813          part {
17814             name: "base";
17815             mouse_events: 0;
17816             description {
17817                state: "default" 0.0;
17818                image {
17819                   normal: "ilist_1.png";
17820                   border: 2 2 2 2;
17821                }
17822                fill.smooth: 0;
17823             }
17824          }
17825          part { name: "bg";
17826             clip_to: "disclip";
17827             mouse_events: 0;
17828             description { state: "default" 0.0;
17829                visible: 0;
17830                color: 255 255 255 0;
17831                rel1 {
17832                   relative: 0.0 0.0;
17833                   offset: -5 -5;
17834                }
17835                rel2 {
17836                   relative: 1.0 1.0;
17837                   offset: 4 4;
17838                }
17839                image {
17840                   normal: "bt_sm_base1.png";
17841                   border: 6 6 6 6;
17842                }
17843                image.middle: SOLID;
17844             }
17845             description { state: "selected" 0.0;
17846                inherit: "default" 0.0;
17847                visible: 1;
17848                color: 255 255 255 255;
17849                rel1 {
17850                   relative: 0.0 0.0;
17851                   offset: -2 -2;
17852                }
17853                rel2 {
17854                   relative: 1.0 1.0;
17855                   offset: 1 1;
17856                }
17857             }
17858          }
17859          part { name: "elm.swallow.pad";
17860             type: SWALLOW;
17861             description { state: "default" 0.0;
17862                fixed: 1 0;
17863                align: 0.0 0.5;
17864                rel1 {
17865                   relative: 0.0  0.0;
17866                   offset:   4    4;
17867                }
17868                rel2 {
17869                   relative: 0.0  1.0;
17870                   offset:   4   -5;
17871                }
17872             }
17873          }
17874          part { name: "arrow";
17875             clip_to: "disclip";
17876             ignore_flags: ON_HOLD;
17877             description { state: "default" 0.0;
17878                fixed: 1 0;
17879                align: 0.0 0.5;
17880                aspect: 1.0 1.0;
17881                rel1 {
17882                   to_x: "elm.swallow.pad";
17883                   relative: 1.0  0.0;
17884                   offset:   -1    4;
17885                }
17886                rel2 {
17887                   to_x: "elm.swallow.pad";
17888                   relative: 1.0  1.0;
17889                   offset:   -1   -5;
17890                }
17891                image.normal: "icon_arrow_right.png";
17892             }
17893             description { state: "default" 0.1;
17894                inherit: "default" 0.0;
17895                image.normal: "icon_arrow_left.png";
17896             }
17897             description { state: "active" 0.0;
17898                inherit: "default" 0.0;
17899                image.normal: "icon_arrow_down.png";
17900             }
17901             description { state: "active" 0.1;
17902                inherit: "default" 0.0;
17903                image.normal: "icon_arrow_down.png";
17904             }
17905          }
17906          part { name: "elm.swallow.icon";
17907             clip_to: "disclip";
17908             type: SWALLOW;
17909             description { state: "default" 0.0;
17910                fixed: 1 0;
17911                align: 0.0 0.5;
17912                rel1 {
17913                   to_x: "arrow";
17914                   relative: 1.0  0.0;
17915                   offset:   4    4;
17916                }
17917                rel2 {
17918                   to_x: "arrow";
17919                   relative: 1.0  1.0;
17920                   offset:   4   -5;
17921                }
17922             }
17923          }
17924          part { name: "elm.swallow.end";
17925             clip_to: "disclip";
17926             type: SWALLOW;
17927             description { state: "default" 0.0;
17928                fixed: 1 0;
17929                align: 1.0 0.5;
17930                aspect: 1.0 1.0;
17931                aspect_preference: VERTICAL;
17932                rel1 {
17933                   relative: 1.0  0.0;
17934                   offset:   -5    4;
17935                }
17936                rel2 {
17937                   relative: 1.0  1.0;
17938                   offset:   -5   -5;
17939                }
17940             }
17941          }
17942          part { name: "elm.text";
17943             clip_to: "disclip";
17944             type:           TEXT;
17945             effect:         SOFT_SHADOW;
17946             mouse_events:   0;
17947             scale: 1;
17948             description {
17949                state: "default" 0.0;
17950 //               min: 16 16;
17951                rel1 {
17952                   to_x:     "elm.swallow.icon";
17953                   relative: 1.0  0.0;
17954                   offset:   0 4;
17955                }
17956                rel2 {
17957                   to_x:     "elm.swallow.end";
17958                   relative: 0.0  1.0;
17959                   offset:   -1 -5;
17960                }
17961                color: 0 0 0 255;
17962                color3: 0 0 0 0;
17963                text {
17964                   font: "Sans";
17965                   size: 10;
17966                   min: 1 1;
17967 //                  min: 0 1;
17968                   align: -1.0 0.5;
17969                   text_class: "list_item";
17970                }
17971             }
17972             description { state: "selected" 0.0;
17973                inherit: "default" 0.0;
17974                color: 224 224 224 255;
17975                color3: 0 0 0 64;
17976             }
17977          }
17978          part { name: "fg1";
17979             clip_to: "disclip";
17980             mouse_events: 0;
17981             description { state: "default" 0.0;
17982                visible: 0;
17983                color: 255 255 255 0;
17984                rel1.to: "bg";
17985                rel2.relative: 1.0 0.5;
17986                rel2.to: "bg";
17987                image {
17988                   normal: "bt_sm_hilight.png";
17989                   border: 6 6 6 0;
17990                }
17991             }
17992             description { state: "selected" 0.0;
17993                inherit: "default" 0.0;
17994                visible: 1;
17995                color: 255 255 255 255;
17996             }
17997          }
17998          part { name: "fg2";
17999             clip_to: "disclip";
18000             mouse_events: 0;
18001             description { state: "default" 0.0;
18002                visible: 0;
18003                color: 255 255 255 0;
18004                rel1.to: "bg";
18005                rel2.to: "bg";
18006                image {
18007                   normal: "bt_sm_shine.png";
18008                   border: 6 6 6 0;
18009                }
18010             }
18011             description { state: "selected" 0.0;
18012                inherit: "default" 0.0;
18013                visible: 1;
18014                color: 255 255 255 255;
18015             }
18016          }
18017          part { name: "disclip";
18018             type: RECT;
18019             description { state: "default" 0.0;
18020                rel1.to: "bg";
18021                rel2.to: "bg";
18022             }
18023             description { state: "disabled" 0.0;
18024                inherit: "default" 0.0;
18025                color: 255 255 255 64;
18026             }
18027          }
18028       }
18029       programs {
18030          // signal: elm,state,%s,active
18031          //   a "check" item named %s went active
18032          // signal: elm,state,%s,passive
18033          //   a "check" item named %s went passive
18034          // default is passive
18035          program {
18036             name:    "go_active";
18037             signal:  "elm,state,selected";
18038             source:  "elm";
18039             action:  STATE_SET "selected" 0.0;
18040             target:  "bg";
18041             target:  "fg1";
18042             target:  "fg2";
18043             target:  "elm.text";
18044          }
18045          program {
18046             name:    "go_passive";
18047             signal:  "elm,state,unselected";
18048             source:  "elm";
18049             action:  STATE_SET "default" 0.0;
18050             target:  "bg";
18051             target:  "fg1";
18052             target:  "fg2";
18053             target:  "elm.text";
18054             transition: LINEAR 0.1;
18055          }
18056          program {
18057             name:    "go_disabled";
18058             signal:  "elm,state,disabled";
18059             source:  "elm";
18060             action:  STATE_SET "disabled" 0.0;
18061             target:  "disclip";
18062          }
18063          program {
18064             name:    "go_enabled";
18065             signal:  "elm,state,enabled";
18066             source:  "elm";
18067             action:  STATE_SET "default" 0.0;
18068             target:  "disclip";
18069          }
18070          program {
18071             name:    "expand";
18072             signal:  "mouse,up,1";
18073             source:  "arrow";
18074             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18075          }
18076          program {
18077             name:    "go_expanded";
18078             signal:  "elm,state,expanded";
18079             source:  "elm";
18080             script {
18081                new st[31];
18082                new Float:vl;
18083                get_state(PART:"arrow", st, 30, vl);
18084                set_state(PART:"arrow", "active", vl);
18085             }
18086          }
18087          program {
18088             name:    "go_contracted";
18089             signal:  "elm,state,contracted";
18090             source:  "elm";
18091             script {
18092                new st[31];
18093                new Float:vl;
18094                get_state(PART:"arrow", st, 30, vl);
18095                set_state(PART:"arrow", "default", vl);
18096             }
18097          }
18098          program { name: "to_rtl";
18099             signal: "edje,state,rtl";
18100             source: "edje";
18101             script {
18102                new st[31];
18103                new Float:vl;
18104                get_state(PART:"arrow", st, 30, vl);
18105                if (vl == 0.0) {
18106                   set_state(PART:"arrow", st, 0.1);
18107                }
18108             }
18109          }
18110          program { name: "to_ltr";
18111             signal: "edje,state,ltr";
18112             source: "edje";
18113             script {
18114                new st[31];
18115                new Float:vl;
18116                get_state(PART:"arrow", st, 30, vl);
18117                if (vl == 0.1) {
18118                   set_state(PART:"arrow", st, 0.0);
18119                }
18120             }
18121          }
18122       }
18123    }
18124    group { name: "elm/genlist/tree_compress/default/default";
18125       data.item: "stacking" "above";
18126       data.item: "selectraise" "on";
18127       data.item: "labels" "elm.text";
18128       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18129       data.item: "treesize" "20";
18130 //      data.item: "states" "";
18131       images {
18132          image: "bt_sm_base1.png" COMP;
18133          image: "bt_sm_shine.png" COMP;
18134          image: "bt_sm_hilight.png" COMP;
18135          image: "ilist_1.png" COMP;
18136          image: "ilist_item_shadow.png" COMP;
18137          image: "icon_arrow_left.png" COMP;
18138          image: "icon_arrow_right.png" COMP;
18139          image: "icon_arrow_down.png" COMP;
18140       }
18141       parts {
18142          part {
18143             name:           "event";
18144             type:           RECT;
18145             repeat_events: 1;
18146             description {
18147                state: "default" 0.0;
18148                color: 0 0 0 0;
18149             }
18150          }
18151          part {
18152             name: "base_sh";
18153             mouse_events: 0;
18154             description {
18155                state: "default" 0.0;
18156                align: 0.0 0.0;
18157                min: 0 10;
18158                fixed: 1 1;
18159                rel1 {
18160                   to: "base";
18161                   relative: 0.0 1.0;
18162                   offset: 0 0;
18163                }
18164                rel2 {
18165                   to: "base";
18166                   relative: 1.0 1.0;
18167                   offset: -1 0;
18168                }
18169                image {
18170                   normal: "ilist_item_shadow.png";
18171                }
18172                fill.smooth: 0;
18173             }
18174          }
18175          part {
18176             name: "base";
18177             mouse_events: 0;
18178             description {
18179                state: "default" 0.0;
18180                image {
18181                   normal: "ilist_1.png";
18182                   border: 2 2 2 2;
18183                }
18184                fill.smooth: 0;
18185             }
18186          }
18187          part { name: "bg";
18188             clip_to: "disclip";
18189             mouse_events: 0;
18190             description { state: "default" 0.0;
18191                visible: 0;
18192                color: 255 255 255 0;
18193                rel1 {
18194                   relative: 0.0 0.0;
18195                   offset: -5 -5;
18196                }
18197                rel2 {
18198                   relative: 1.0 1.0;
18199                   offset: 4 4;
18200                }
18201                image {
18202                   normal: "bt_sm_base1.png";
18203                   border: 6 6 6 6;
18204                }
18205                image.middle: SOLID;
18206             }
18207             description { state: "selected" 0.0;
18208                inherit: "default" 0.0;
18209                visible: 1;
18210                color: 255 255 255 255;
18211                rel1 {
18212                   relative: 0.0 0.0;
18213                   offset: -2 -2;
18214                }
18215                rel2 {
18216                   relative: 1.0 1.0;
18217                   offset: 1 1;
18218                }
18219             }
18220          }
18221          part { name: "elm.swallow.pad";
18222             type: SWALLOW;
18223             description { state: "default" 0.0;
18224                fixed: 1 0;
18225                align: 0.0 0.5;
18226                rel1 {
18227                   relative: 0.0  0.0;
18228                   offset:   4    4;
18229                }
18230                rel2 {
18231                   relative: 0.0  1.0;
18232                   offset:   4   -5;
18233                }
18234             }
18235          }
18236          part { name: "arrow";
18237             clip_to: "disclip";
18238             ignore_flags: ON_HOLD;
18239             description { state: "default" 0.0;
18240                fixed: 1 0;
18241                align: 0.0 0.5;
18242                aspect: 1.0 1.0;
18243                rel1 {
18244                   to_x: "elm.swallow.pad";
18245                   relative: 1.0  0.0;
18246                   offset:   -1    4;
18247                }
18248                rel2 {
18249                   to_x: "elm.swallow.pad";
18250                   relative: 1.0  1.0;
18251                   offset:   -1   -5;
18252                }
18253                image.normal: "icon_arrow_right.png";
18254             }
18255             description { state: "default" 0.1;
18256                inherit: "default" 0.0;
18257                image.normal: "icon_arrow_left.png";
18258             }
18259             description { state: "active" 0.0;
18260                inherit: "default" 0.0;
18261                image.normal: "icon_arrow_down.png";
18262             }
18263             description { state: "active" 0.1;
18264                inherit: "default" 0.0;
18265                image.normal: "icon_arrow_down.png";
18266             }
18267          }
18268          part { name: "elm.swallow.icon";
18269             clip_to: "disclip";
18270             type: SWALLOW;
18271             description { state: "default" 0.0;
18272                fixed: 1 0;
18273                align: 0.0 0.5;
18274                rel1 {
18275                   to_x: "arrow";
18276                   relative: 1.0  0.0;
18277                   offset:   4    4;
18278                }
18279                rel2 {
18280                   to_x: "arrow";
18281                   relative: 1.0  1.0;
18282                   offset:   4   -5;
18283                }
18284             }
18285          }
18286          part { name: "elm.swallow.end";
18287             clip_to: "disclip";
18288             type: SWALLOW;
18289             description { state: "default" 0.0;
18290                fixed: 1 0;
18291                align: 1.0 0.5;
18292                aspect: 1.0 1.0;
18293                aspect_preference: VERTICAL;
18294                rel1 {
18295                   relative: 1.0  0.0;
18296                   offset:   -5    4;
18297                }
18298                rel2 {
18299                   relative: 1.0  1.0;
18300                   offset:   -5   -5;
18301                }
18302             }
18303          }
18304          part { name: "elm.text";
18305             clip_to: "disclip";
18306             type:           TEXT;
18307             effect:         SOFT_SHADOW;
18308             mouse_events:   0;
18309             scale: 1;
18310             description {
18311                state: "default" 0.0;
18312 //               min: 16 16;
18313                rel1 {
18314                   to_x:     "elm.swallow.icon";
18315                   relative: 1.0  0.0;
18316                   offset:   0 4;
18317                }
18318                rel2 {
18319                   to_x:     "elm.swallow.end";
18320                   relative: 0.0  1.0;
18321                   offset:   -1 -5;
18322                }
18323                color: 0 0 0 255;
18324                color3: 0 0 0 0;
18325                text {
18326                   font: "Sans";
18327                   size: 10;
18328 //                  min: 1 1;
18329                   min: 0 1;
18330                   align: 0.0 0.5;
18331                   text_class: "list_item";
18332                }
18333             }
18334             description { state: "selected" 0.0;
18335                inherit: "default" 0.0;
18336                color: 224 224 224 255;
18337                color3: 0 0 0 64;
18338             }
18339          }
18340          part { name: "fg1";
18341             clip_to: "disclip";
18342             mouse_events: 0;
18343             description { state: "default" 0.0;
18344                visible: 0;
18345                color: 255 255 255 0;
18346                rel1.to: "bg";
18347                rel2.relative: 1.0 0.5;
18348                rel2.to: "bg";
18349                image {
18350                   normal: "bt_sm_hilight.png";
18351                   border: 6 6 6 0;
18352                }
18353             }
18354             description { state: "selected" 0.0;
18355                inherit: "default" 0.0;
18356                visible: 1;
18357                color: 255 255 255 255;
18358             }
18359          }
18360          part { name: "fg2";
18361             clip_to: "disclip";
18362             mouse_events: 0;
18363             description { state: "default" 0.0;
18364                visible: 0;
18365                color: 255 255 255 0;
18366                rel1.to: "bg";
18367                rel2.to: "bg";
18368                image {
18369                   normal: "bt_sm_shine.png";
18370                   border: 6 6 6 0;
18371                }
18372             }
18373             description { state: "selected" 0.0;
18374                inherit: "default" 0.0;
18375                visible: 1;
18376                color: 255 255 255 255;
18377             }
18378          }
18379          part { name: "disclip";
18380             type: RECT;
18381             description { state: "default" 0.0;
18382                rel1.to: "bg";
18383                rel2.to: "bg";
18384             }
18385             description { state: "disabled" 0.0;
18386                inherit: "default" 0.0;
18387                color: 255 255 255 64;
18388             }
18389          }
18390       }
18391       programs {
18392          // signal: elm,state,%s,active
18393          //   a "check" item named %s went active
18394          // signal: elm,state,%s,passive
18395          //   a "check" item named %s went passive
18396          // default is passive
18397          program {
18398             name:    "go_active";
18399             signal:  "elm,state,selected";
18400             source:  "elm";
18401             action:  STATE_SET "selected" 0.0;
18402             target:  "bg";
18403             target:  "fg1";
18404             target:  "fg2";
18405             target:  "elm.text";
18406          }
18407          program {
18408             name:    "go_passive";
18409             signal:  "elm,state,unselected";
18410             source:  "elm";
18411             action:  STATE_SET "default" 0.0;
18412             target:  "bg";
18413             target:  "fg1";
18414             target:  "fg2";
18415             target:  "elm.text";
18416             transition: LINEAR 0.1;
18417          }
18418          program {
18419             name:    "go_disabled";
18420             signal:  "elm,state,disabled";
18421             source:  "elm";
18422             action:  STATE_SET "disabled" 0.0;
18423             target:  "disclip";
18424          }
18425          program {
18426             name:    "go_enabled";
18427             signal:  "elm,state,enabled";
18428             source:  "elm";
18429             action:  STATE_SET "default" 0.0;
18430             target:  "disclip";
18431          }
18432          program {
18433             name:    "expand";
18434             signal:  "mouse,up,1";
18435             source:  "arrow";
18436             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18437          }
18438          program {
18439             name:    "go_expanded";
18440             signal:  "elm,state,expanded";
18441             source:  "elm";
18442             script {
18443                new st[31];
18444                new Float:vl;
18445                get_state(PART:"arrow", st, 30, vl);
18446                set_state(PART:"arrow", "active", vl);
18447             }
18448          }
18449          program {
18450             name:    "go_contracted";
18451             signal:  "elm,state,contracted";
18452             source:  "elm";
18453             script {
18454                new st[31];
18455                new Float:vl;
18456                get_state(PART:"arrow", st, 30, vl);
18457                set_state(PART:"arrow", "default", vl);
18458             }
18459          }
18460          program { name: "to_rtl";
18461             signal: "edje,state,rtl";
18462             source: "edje";
18463             script {
18464                new st[31];
18465                new Float:vl;
18466                get_state(PART:"arrow", st, 30, vl);
18467                if (vl == 0.0) {
18468                   set_state(PART:"arrow", st, 0.1);
18469                }
18470             }
18471          }
18472          program { name: "to_ltr";
18473             signal: "edje,state,ltr";
18474             source: "edje";
18475             script {
18476                new st[31];
18477                new Float:vl;
18478                get_state(PART:"arrow", st, 30, vl);
18479                if (vl == 0.1) {
18480                   set_state(PART:"arrow", st, 0.0);
18481                }
18482             }
18483          }
18484       }
18485    }
18486    group { name: "elm/genlist/tree_odd/default/default";
18487       data.item: "stacking" "below";
18488       data.item: "selectraise" "on";
18489       data.item: "labels" "elm.text";
18490       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18491       data.item: "treesize" "20";
18492 //      data.item: "states" "";
18493       images {
18494          image: "bt_sm_base1.png" COMP;
18495          image: "bt_sm_shine.png" COMP;
18496          image: "bt_sm_hilight.png" COMP;
18497          image: "ilist_2.png" COMP;
18498          image: "icon_arrow_left.png" COMP;
18499          image: "icon_arrow_right.png" COMP;
18500          image: "icon_arrow_down.png" COMP;
18501       }
18502       parts {
18503          part {
18504             name:           "event";
18505             type:           RECT;
18506             repeat_events: 1;
18507             description {
18508                state: "default" 0.0;
18509                color: 0 0 0 0;
18510             }
18511          }
18512          part {
18513             name: "base";
18514             mouse_events: 0;
18515             description {
18516                state: "default" 0.0;
18517                image {
18518                   normal: "ilist_2.png";
18519                   border: 2 2 2 2;
18520                }
18521                fill.smooth: 0;
18522             }
18523          }
18524          part { name: "bg";
18525             clip_to: "disclip";
18526             mouse_events: 0;
18527             description { state: "default" 0.0;
18528                visible: 0;
18529                color: 255 255 255 0;
18530                rel1 {
18531                   relative: 0.0 0.0;
18532                   offset: -5 -5;
18533                }
18534                rel2 {
18535                   relative: 1.0 1.0;
18536                   offset: 4 4;
18537                }
18538                image {
18539                   normal: "bt_sm_base1.png";
18540                   border: 6 6 6 6;
18541                }
18542                image.middle: SOLID;
18543             }
18544             description { state: "selected" 0.0;
18545                inherit: "default" 0.0;
18546                visible: 1;
18547                color: 255 255 255 255;
18548                rel1 {
18549                   relative: 0.0 0.0;
18550                   offset: -2 -2;
18551                }
18552                rel2 {
18553                   relative: 1.0 1.0;
18554                   offset: 1 1;
18555                }
18556             }
18557          }
18558          part { name: "elm.swallow.pad";
18559             type: SWALLOW;
18560             description { state: "default" 0.0;
18561                fixed: 1 0;
18562                align: 0.0 0.5;
18563                rel1 {
18564                   relative: 0.0  0.0;
18565                   offset:   4    4;
18566                }
18567                rel2 {
18568                   relative: 0.0  1.0;
18569                   offset:   4   -5;
18570                }
18571             }
18572          }
18573          part { name: "arrow";
18574             clip_to: "disclip";
18575             ignore_flags: ON_HOLD;
18576             description { state: "default" 0.0;
18577                fixed: 1 0;
18578                align: 0.0 0.5;
18579                aspect: 1.0 1.0;
18580                rel1 {
18581                   to_x: "elm.swallow.pad";
18582                   relative: 1.0  0.0;
18583                   offset:   -1    4;
18584                }
18585                rel2 {
18586                   to_x: "elm.swallow.pad";
18587                   relative: 1.0  1.0;
18588                   offset:   -1   -5;
18589                }
18590                image.normal: "icon_arrow_right.png";
18591             }
18592             description { state: "default" 0.1;
18593                inherit: "default" 0.0;
18594                image.normal: "icon_arrow_left.png";
18595             }
18596             description { state: "active" 0.0;
18597                inherit: "default" 0.0;
18598                image.normal: "icon_arrow_down.png";
18599             }
18600             description { state: "active" 0.1;
18601                inherit: "default" 0.0;
18602                image.normal: "icon_arrow_down.png";
18603             }
18604          }
18605          part { name: "elm.swallow.icon";
18606             clip_to: "disclip";
18607             type: SWALLOW;
18608             description { state: "default" 0.0;
18609                fixed: 1 0;
18610                align: 0.0 0.5;
18611                rel1 {
18612                   to_x: "arrow";
18613                   relative: 1.0  0.0;
18614                   offset:   4    4;
18615                }
18616                rel2 {
18617                   to_x: "arrow";
18618                   relative: 1.0  1.0;
18619                   offset:   4   -5;
18620                }
18621             }
18622          }
18623          part { name: "elm.swallow.end";
18624             clip_to: "disclip";
18625             type: SWALLOW;
18626             description { state: "default" 0.0;
18627                fixed: 1 0;
18628                align: 1.0 0.5;
18629                aspect: 1.0 1.0;
18630                aspect_preference: VERTICAL;
18631                rel1 {
18632                   relative: 1.0  0.0;
18633                   offset:   -5    4;
18634                }
18635                rel2 {
18636                   relative: 1.0  1.0;
18637                   offset:   -5   -5;
18638                }
18639             }
18640          }
18641          part { name: "elm.text";
18642             clip_to: "disclip";
18643             type:           TEXT;
18644             effect:         SOFT_SHADOW;
18645             mouse_events:   0;
18646             scale: 1;
18647             description {
18648                state: "default" 0.0;
18649 //               min: 16 16;
18650                rel1 {
18651                   to_x:     "elm.swallow.icon";
18652                   relative: 1.0  0.0;
18653                   offset:   0 4;
18654                }
18655                rel2 {
18656                   to_x:     "elm.swallow.end";
18657                   relative: 0.0  1.0;
18658                   offset:   -1 -5;
18659                }
18660                color: 0 0 0 255;
18661                color3: 0 0 0 0;
18662                text {
18663                   font: "Sans";
18664                   size: 10;
18665                   min: 1 1;
18666 //                  min: 0 1;
18667                   align: -1.0 0.5;
18668                   text_class: "list_item";
18669                }
18670             }
18671             description { state: "selected" 0.0;
18672                inherit: "default" 0.0;
18673                color: 224 224 224 255;
18674                color3: 0 0 0 64;
18675             }
18676          }
18677          part { name: "fg1";
18678             clip_to: "disclip";
18679             mouse_events: 0;
18680             description { state: "default" 0.0;
18681                visible: 0;
18682                color: 255 255 255 0;
18683                rel1.to: "bg";
18684                rel2.relative: 1.0 0.5;
18685                rel2.to: "bg";
18686                image {
18687                   normal: "bt_sm_hilight.png";
18688                   border: 6 6 6 0;
18689                }
18690             }
18691             description { state: "selected" 0.0;
18692                inherit: "default" 0.0;
18693                visible: 1;
18694                color: 255 255 255 255;
18695             }
18696          }
18697          part { name: "fg2";
18698             clip_to: "disclip";
18699             mouse_events: 0;
18700             description { state: "default" 0.0;
18701                visible: 0;
18702                color: 255 255 255 0;
18703                rel1.to: "bg";
18704                rel2.to: "bg";
18705                image {
18706                   normal: "bt_sm_shine.png";
18707                   border: 6 6 6 0;
18708                }
18709             }
18710             description { state: "selected" 0.0;
18711                inherit: "default" 0.0;
18712                visible: 1;
18713                color: 255 255 255 255;
18714             }
18715          }
18716          part { name: "disclip";
18717             type: RECT;
18718             description { state: "default" 0.0;
18719                rel1.to: "bg";
18720                rel2.to: "bg";
18721             }
18722             description { state: "disabled" 0.0;
18723                inherit: "default" 0.0;
18724                color: 255 255 255 64;
18725             }
18726          }
18727       }
18728       programs {
18729          // signal: elm,state,%s,active
18730          //   a "check" item named %s went active
18731          // signal: elm,state,%s,passive
18732          //   a "check" item named %s went passive
18733          // default is passive
18734          program {
18735             name:    "go_active";
18736             signal:  "elm,state,selected";
18737             source:  "elm";
18738             action:  STATE_SET "selected" 0.0;
18739             target:  "bg";
18740             target:  "fg1";
18741             target:  "fg2";
18742             target:  "elm.text";
18743          }
18744          program {
18745             name:    "go_passive";
18746             signal:  "elm,state,unselected";
18747             source:  "elm";
18748             action:  STATE_SET "default" 0.0;
18749             target:  "bg";
18750             target:  "fg1";
18751             target:  "fg2";
18752             target:  "elm.text";
18753             transition: LINEAR 0.1;
18754          }
18755          program {
18756             name:    "go_disabled";
18757             signal:  "elm,state,disabled";
18758             source:  "elm";
18759             action:  STATE_SET "disabled" 0.0;
18760             target:  "disclip";
18761          }
18762          program {
18763             name:    "go_enabled";
18764             signal:  "elm,state,enabled";
18765             source:  "elm";
18766             action:  STATE_SET "default" 0.0;
18767             target:  "disclip";
18768          }
18769          program {
18770             name:    "expand";
18771             signal:  "mouse,up,1";
18772             source:  "arrow";
18773             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18774          }
18775          program {
18776             name:    "go_expanded";
18777             signal:  "elm,state,expanded";
18778             source:  "elm";
18779             script {
18780                new st[31];
18781                new Float:vl;
18782                get_state(PART:"arrow", st, 30, vl);
18783                set_state(PART:"arrow", "active", vl);
18784             }
18785          }
18786          program {
18787             name:    "go_contracted";
18788             signal:  "elm,state,contracted";
18789             source:  "elm";
18790             script {
18791                new st[31];
18792                new Float:vl;
18793                get_state(PART:"arrow", st, 30, vl);
18794                set_state(PART:"arrow", "default", vl);
18795             }
18796          }
18797          program { name: "to_rtl";
18798             signal: "edje,state,rtl";
18799             source: "edje";
18800             script {
18801                new st[31];
18802                new Float:vl;
18803                get_state(PART:"arrow", st, 30, vl);
18804                if (vl == 0.0) {
18805                   set_state(PART:"arrow", st, 0.1);
18806                }
18807             }
18808          }
18809          program { name: "to_ltr";
18810             signal: "edje,state,ltr";
18811             source: "edje";
18812             script {
18813                new st[31];
18814                new Float:vl;
18815                get_state(PART:"arrow", st, 30, vl);
18816                if (vl == 0.1) {
18817                   set_state(PART:"arrow", st, 0.0);
18818                }
18819             }
18820          }
18821       }
18822    }
18823    group { name: "elm/genlist/tree_compress_odd/default/default";
18824       data.item: "stacking" "below";
18825       data.item: "selectraise" "on";
18826       data.item: "labels" "elm.text";
18827       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18828       data.item: "treesize" "20";
18829 //      data.item: "states" "";
18830       images {
18831          image: "bt_sm_base1.png" COMP;
18832          image: "bt_sm_shine.png" COMP;
18833          image: "bt_sm_hilight.png" COMP;
18834          image: "ilist_2.png" COMP;
18835          image: "icon_arrow_left.png" COMP;
18836          image: "icon_arrow_right.png" COMP;
18837          image: "icon_arrow_down.png" COMP;
18838       }
18839       parts {
18840          part {
18841             name:           "event";
18842             type:           RECT;
18843             repeat_events: 1;
18844             description {
18845                state: "default" 0.0;
18846                color: 0 0 0 0;
18847             }
18848          }
18849          part {
18850             name: "base";
18851             mouse_events: 0;
18852             description {
18853                state: "default" 0.0;
18854                image {
18855                   normal: "ilist_2.png";
18856                   border: 2 2 2 2;
18857                }
18858                fill.smooth: 0;
18859             }
18860          }
18861          part { name: "bg";
18862             clip_to: "disclip";
18863             mouse_events: 0;
18864             description { state: "default" 0.0;
18865                visible: 0;
18866                color: 255 255 255 0;
18867                rel1 {
18868                   relative: 0.0 0.0;
18869                   offset: -5 -5;
18870                }
18871                rel2 {
18872                   relative: 1.0 1.0;
18873                   offset: 4 4;
18874                }
18875                image {
18876                   normal: "bt_sm_base1.png";
18877                   border: 6 6 6 6;
18878                }
18879                image.middle: SOLID;
18880             }
18881             description { state: "selected" 0.0;
18882                inherit: "default" 0.0;
18883                visible: 1;
18884                color: 255 255 255 255;
18885                rel1 {
18886                   relative: 0.0 0.0;
18887                   offset: -2 -2;
18888                }
18889                rel2 {
18890                   relative: 1.0 1.0;
18891                   offset: 1 1;
18892                }
18893             }
18894          }
18895          part { name: "elm.swallow.pad";
18896             type: SWALLOW;
18897             description { state: "default" 0.0;
18898                fixed: 1 0;
18899                align: 0.0 0.5;
18900                rel1 {
18901                   relative: 0.0  0.0;
18902                   offset:   4    4;
18903                }
18904                rel2 {
18905                   relative: 0.0  1.0;
18906                   offset:   4   -5;
18907                }
18908             }
18909          }
18910          part { name: "arrow";
18911             clip_to: "disclip";
18912             ignore_flags: ON_HOLD;
18913             description { state: "default" 0.0;
18914                fixed: 1 0;
18915                align: 0.0 0.5;
18916                aspect: 1.0 1.0;
18917                rel1 {
18918                   to_x: "elm.swallow.pad";
18919                   relative: 1.0  0.0;
18920                   offset:   -1    4;
18921                }
18922                rel2 {
18923                   to_x: "elm.swallow.pad";
18924                   relative: 1.0  1.0;
18925                   offset:   -1   -5;
18926                }
18927                image.normal: "icon_arrow_right.png";
18928             }
18929             description { state: "default" 0.1;
18930                inherit: "default" 0.0;
18931                image.normal: "icon_arrow_left.png";
18932             }
18933             description { state: "active" 0.0;
18934                inherit: "default" 0.0;
18935                image.normal: "icon_arrow_down.png";
18936             }
18937             description { state: "active" 0.1;
18938                inherit: "default" 0.0;
18939                image.normal: "icon_arrow_down.png";
18940             }
18941          }
18942          part { name: "elm.swallow.icon";
18943             clip_to: "disclip";
18944             type: SWALLOW;
18945             description { state: "default" 0.0;
18946                fixed: 1 0;
18947                align: 0.0 0.5;
18948                rel1 {
18949                   to_x: "arrow";
18950                   relative: 1.0  0.0;
18951                   offset:   4    4;
18952                }
18953                rel2 {
18954                   to_x: "arrow";
18955                   relative: 1.0  1.0;
18956                   offset:   4   -5;
18957                }
18958             }
18959          }
18960          part { name: "elm.swallow.end";
18961             clip_to: "disclip";
18962             type: SWALLOW;
18963             description { state: "default" 0.0;
18964                fixed: 1 0;
18965                align: 1.0 0.5;
18966                aspect: 1.0 1.0;
18967                aspect_preference: VERTICAL;
18968                rel1 {
18969                   relative: 1.0  0.0;
18970                   offset:   -5    4;
18971                }
18972                rel2 {
18973                   relative: 1.0  1.0;
18974                   offset:   -5   -5;
18975                }
18976             }
18977          }
18978          part { name: "elm.text";
18979             clip_to: "disclip";
18980             type:           TEXT;
18981             effect:         SOFT_SHADOW;
18982             mouse_events:   0;
18983             scale: 1;
18984             description {
18985                state: "default" 0.0;
18986 //               min: 16 16;
18987                rel1 {
18988                   to_x:     "elm.swallow.icon";
18989                   relative: 1.0  0.0;
18990                   offset:   0 4;
18991                }
18992                rel2 {
18993                   to_x:     "elm.swallow.end";
18994                   relative: 0.0  1.0;
18995                   offset:   -1 -5;
18996                }
18997                color: 0 0 0 255;
18998                color3: 0 0 0 0;
18999                text {
19000                   font: "Sans";
19001                   size: 10;
19002 //                  min: 1 1;
19003                   min: 0 1;
19004                   align: 0.0 0.5;
19005                   text_class: "list_item";
19006                }
19007             }
19008             description { state: "selected" 0.0;
19009                inherit: "default" 0.0;
19010                color: 224 224 224 255;
19011                color3: 0 0 0 64;
19012             }
19013          }
19014          part { name: "fg1";
19015             clip_to: "disclip";
19016             mouse_events: 0;
19017             description { state: "default" 0.0;
19018                visible: 0;
19019                color: 255 255 255 0;
19020                rel1.to: "bg";
19021                rel2.relative: 1.0 0.5;
19022                rel2.to: "bg";
19023                image {
19024                   normal: "bt_sm_hilight.png";
19025                   border: 6 6 6 0;
19026                }
19027             }
19028             description { state: "selected" 0.0;
19029                inherit: "default" 0.0;
19030                visible: 1;
19031                color: 255 255 255 255;
19032             }
19033          }
19034          part { name: "fg2";
19035             clip_to: "disclip";
19036             mouse_events: 0;
19037             description { state: "default" 0.0;
19038                visible: 0;
19039                color: 255 255 255 0;
19040                rel1.to: "bg";
19041                rel2.to: "bg";
19042                image {
19043                   normal: "bt_sm_shine.png";
19044                   border: 6 6 6 0;
19045                }
19046             }
19047             description { state: "selected" 0.0;
19048                inherit: "default" 0.0;
19049                visible: 1;
19050                color: 255 255 255 255;
19051             }
19052          }
19053          part { name: "disclip";
19054             type: RECT;
19055             description { state: "default" 0.0;
19056                rel1.to: "bg";
19057                rel2.to: "bg";
19058             }
19059             description { state: "disabled" 0.0;
19060                inherit: "default" 0.0;
19061                color: 255 255 255 64;
19062             }
19063          }
19064       }
19065       programs {
19066          // signal: elm,state,%s,active
19067          //   a "check" item named %s went active
19068          // signal: elm,state,%s,passive
19069          //   a "check" item named %s went passive
19070          // default is passive
19071          program {
19072             name:    "go_active";
19073             signal:  "elm,state,selected";
19074             source:  "elm";
19075             action:  STATE_SET "selected" 0.0;
19076             target:  "bg";
19077             target:  "fg1";
19078             target:  "fg2";
19079             target:  "elm.text";
19080          }
19081          program {
19082             name:    "go_passive";
19083             signal:  "elm,state,unselected";
19084             source:  "elm";
19085             action:  STATE_SET "default" 0.0;
19086             target:  "bg";
19087             target:  "fg1";
19088             target:  "fg2";
19089             target:  "elm.text";
19090             transition: LINEAR 0.1;
19091          }
19092          program {
19093             name:    "go_disabled";
19094             signal:  "elm,state,disabled";
19095             source:  "elm";
19096             action:  STATE_SET "disabled" 0.0;
19097             target:  "disclip";
19098          }
19099          program {
19100             name:    "go_enabled";
19101             signal:  "elm,state,enabled";
19102             source:  "elm";
19103             action:  STATE_SET "default" 0.0;
19104             target:  "disclip";
19105          }
19106          program {
19107             name:    "expand";
19108             signal:  "mouse,up,1";
19109             source:  "arrow";
19110             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19111          }
19112          program {
19113             name:    "go_expanded";
19114             signal:  "elm,state,expanded";
19115             source:  "elm";
19116             script {
19117                new st[31];
19118                new Float:vl;
19119                get_state(PART:"arrow", st, 30, vl);
19120                set_state(PART:"arrow", "active", vl);
19121             }
19122          }
19123          program {
19124             name:    "go_contracted";
19125             signal:  "elm,state,contracted";
19126             source:  "elm";
19127             script {
19128                new st[31];
19129                new Float:vl;
19130                get_state(PART:"arrow", st, 30, vl);
19131                set_state(PART:"arrow", "default", vl);
19132             }
19133          }
19134          program { name: "to_rtl";
19135             signal: "edje,state,rtl";
19136             source: "edje";
19137             script {
19138                new st[31];
19139                new Float:vl;
19140                get_state(PART:"arrow", st, 30, vl);
19141                if (vl == 0.0) {
19142                   set_state(PART:"arrow", st, 0.1);
19143                }
19144             }
19145          }
19146          program { name: "to_ltr";
19147             signal: "edje,state,ltr";
19148             source: "edje";
19149             script {
19150                new st[31];
19151                new Float:vl;
19152                get_state(PART:"arrow", st, 30, vl);
19153                if (vl == 0.1) {
19154                   set_state(PART:"arrow", st, 0.0);
19155                }
19156             }
19157          }
19158       }
19159    }
19160
19161    group { name: "elm/genlist/item/default_style/default";
19162        styles
19163        {
19164            style { name: "genlist_style";
19165                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19166                tag:  "br" "\n";
19167                tag:  "ps" "ps";
19168                tag:  "hilight" "+ font=Sans:style=Bold";
19169                tag:  "b" "+ font=Sans:style=Bold";
19170                tag:  "tab" "\t";
19171            }
19172            style { name: "genlist_selected_style";
19173                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19174                tag:  "br" "\n";
19175                tag:  "ps" "ps";
19176                tag:  "hilight" "+ font=Sans:style=Bold";
19177                tag:  "b" "+ font=Sans:style=Bold";
19178                tag:  "tab" "\t";
19179            }
19180        }
19181        data.item: "stacking" "above";
19182        data.item: "selectraise" "on";
19183        data.item: "labels" "elm.text";
19184        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19185        data.item: "treesize" "20";
19186        images {
19187            image: "bt_sm_base1.png" COMP;
19188            image: "bt_sm_shine.png" COMP;
19189            image: "bt_sm_hilight.png" COMP;
19190            image: "ilist_1.png" COMP;
19191            image: "ilist_item_shadow.png" COMP;
19192        }
19193        parts {
19194            part {
19195                name:           "event";
19196                type:           RECT;
19197                repeat_events: 1;
19198                description {
19199                    state: "default" 0.0;
19200                    color: 0 0 0 0;
19201                }
19202            }
19203            part {
19204                name: "base_sh";
19205                mouse_events: 0;
19206                description {
19207                    state: "default" 0.0;
19208                    align: 0.0 0.0;
19209                    min: 0 10;
19210                    fixed: 1 1;
19211                    rel1 {
19212                        to: "base";
19213                        relative: 0.0 1.0;
19214                        offset: 0 0;
19215                    }
19216                    rel2 {
19217                        to: "base";
19218                        relative: 1.0 1.0;
19219                        offset: -1 0;
19220                    }
19221                    image {
19222                        normal: "ilist_item_shadow.png";
19223                    }
19224                    fill.smooth: 0;
19225                }
19226            }
19227            part {
19228                name: "base";
19229                mouse_events: 0;
19230                description {
19231                    state: "default" 0.0;
19232                    min: 16 28;
19233                    image {
19234                        normal: "ilist_1.png";
19235                        border: 2 2 2 2;
19236                    }
19237                    fill.smooth: 0;
19238                }
19239            }
19240            part { name: "bg";
19241                clip_to: "disclip";
19242                mouse_events: 0;
19243                description { state: "default" 0.0;
19244                    visible: 0;
19245                    color: 255 255 255 0;
19246                    rel1 {
19247                        relative: 0.0 0.0;
19248                        offset: -5 -5;
19249                    }
19250                    rel2 {
19251                        relative: 1.0 1.0;
19252                        offset: 4 4;
19253                    }
19254                    image {
19255                        normal: "bt_sm_base1.png";
19256                        border: 6 6 6 6;
19257                    }
19258                    image.middle: SOLID;
19259                }
19260                description { state: "selected" 0.0;
19261                    inherit: "default" 0.0;
19262                    visible: 1;
19263                    color: 255 255 255 255;
19264                    rel1 {
19265                        relative: 0.0 0.0;
19266                        offset: -2 -2;
19267                    }
19268                    rel2 {
19269                        relative: 1.0 1.0;
19270                        offset: 1 1;
19271                    }
19272                }
19273            }
19274            part { name: "elm.swallow.pad";
19275                type: SWALLOW;
19276                description { state: "default" 0.0;
19277                    fixed: 1 0;
19278                    align: 0.0 0.5;
19279                    rel1 {
19280                        relative: 0.0  0.0;
19281                        offset:   4    4;
19282                    }
19283                    rel2 {
19284                        relative: 0.0  1.0;
19285                        offset:   4   -5;
19286                    }
19287                }
19288            }
19289            part { name: "elm.swallow.icon";
19290                clip_to: "disclip";
19291                type: SWALLOW;
19292                description { state: "default" 0.0;
19293                    fixed: 1 0;
19294                    align: 0.0 0.5;
19295                    rel1 {
19296                        to_x: "elm.swallow.pad";
19297                        relative: 1.0  0.0;
19298                        offset:   -1    4;
19299                    }
19300                    rel2 {
19301                        to_x: "elm.swallow.pad";
19302                        relative: 1.0  1.0;
19303                        offset:   -1   -5;
19304                    }
19305                }
19306            }
19307            part { name: "elm.swallow.end";
19308                clip_to: "disclip";
19309                type: SWALLOW;
19310                description { state: "default" 0.0;
19311                    fixed: 1 0;
19312                    align: 1.0 0.5;
19313                    aspect: 1.0 1.0;
19314                    aspect_preference: VERTICAL;
19315                    rel1 {
19316                        relative: 1.0  0.0;
19317                        offset:   -5    4;
19318                    }
19319                    rel2 {
19320                        relative: 1.0  1.0;
19321                        offset:   -5   -5;
19322                    }
19323                }
19324            }
19325            part { name: "elm.text";
19326                clip_to: "disclip";
19327                type: TEXTBLOCK;
19328                mouse_events: 0;
19329                scale: 1;
19330                description {
19331                    state: "default" 0.0;
19332                    align: 0.0 0.5;
19333                    fixed: 0 1;
19334                    rel1 {
19335                        to_x: "elm.swallow.icon";
19336                        to_y: "base";
19337                        relative: 1.0  0.5;
19338                        offset:   0 4;
19339                    }
19340                    rel2 {
19341                        to_x: "elm.swallow.end";
19342                        to_y: "base";
19343                        relative: 0.0  0.5;
19344                        offset:   -1 -5;
19345                    }
19346                    text {
19347                        style: "genlist_style";
19348                        min: 1 1;
19349                    }
19350                }
19351                description { state: "selected" 0.0;
19352                    inherit: "default" 0.0;
19353                    text {
19354                        style: "genlist_selected_style";
19355                    }
19356                }
19357            }
19358            part { name: "fg1";
19359                clip_to: "disclip";
19360                mouse_events: 0;
19361                description { state: "default" 0.0;
19362                    visible: 0;
19363                    color: 255 255 255 0;
19364                    rel1.to: "bg";
19365                    rel2.relative: 1.0 0.5;
19366                    rel2.to: "bg";
19367                    image {
19368                        normal: "bt_sm_hilight.png";
19369                        border: 6 6 6 0;
19370                    }
19371                }
19372                description { state: "selected" 0.0;
19373                    inherit: "default" 0.0;
19374                    visible: 1;
19375                    color: 255 255 255 255;
19376                }
19377            }
19378            part { name: "fg2";
19379                clip_to: "disclip";
19380                mouse_events: 0;
19381                description { state: "default" 0.0;
19382                    visible: 0;
19383                    color: 255 255 255 0;
19384                    rel1.to: "bg";
19385                    rel2.to: "bg";
19386                    image {
19387                        normal: "bt_sm_shine.png";
19388                        border: 6 6 6 0;
19389                    }
19390                }
19391                description { state: "selected" 0.0;
19392                    inherit: "default" 0.0;
19393                    visible: 1;
19394                    color: 255 255 255 255;
19395                }
19396            }
19397            part { name: "disclip";
19398                type: RECT;
19399                description { state: "default" 0.0;
19400                    rel1.to: "bg";
19401                    rel2.to: "bg";
19402                }
19403                description { state: "disabled" 0.0;
19404                    inherit: "default" 0.0;
19405                    color: 255 255 255 64;
19406                }
19407            }
19408        }
19409        programs {
19410            // signal: elm,state,%s,active
19411            //   a "check" item named %s went active
19412            // signal: elm,state,%s,passive
19413            //   a "check" item named %s went passive
19414            // default is passive
19415            program {
19416                name:    "go_active";
19417                signal:  "elm,state,selected";
19418                source:  "elm";
19419                action:  STATE_SET "selected" 0.0;
19420                target:  "bg";
19421                target:  "fg1";
19422                target:  "fg2";
19423                target:  "elm.text";
19424            }
19425            program {
19426                name:    "go_passive";
19427                signal:  "elm,state,unselected";
19428                source:  "elm";
19429                action:  STATE_SET "default" 0.0;
19430                target:  "bg";
19431                target:  "fg1";
19432                target:  "fg2";
19433                target:  "elm.text";
19434                transition: LINEAR 0.1;
19435            }
19436            program {
19437                name:    "go_disabled";
19438                signal:  "elm,state,disabled";
19439                source:  "elm";
19440                action:  STATE_SET "disabled" 0.0;
19441                target:  "disclip";
19442            }
19443            program {
19444                name:    "go_enabled";
19445                signal:  "elm,state,enabled";
19446                source:  "elm";
19447                action:  STATE_SET "default" 0.0;
19448                target:  "disclip";
19449            }
19450        }
19451    }
19452    group { name: "elm/genlist/item_odd/default_style/default";
19453        data.item: "stacking" "below";
19454        data.item: "selectraise" "on";
19455        data.item: "labels" "elm.text";
19456        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19457        data.item: "treesize" "20";
19458        images {
19459            image: "bt_sm_base1.png" COMP;
19460            image: "bt_sm_shine.png" COMP;
19461            image: "bt_sm_hilight.png" COMP;
19462            image: "ilist_2.png" COMP;
19463        }
19464        parts {
19465            part { name: "event";
19466                type: RECT;
19467                repeat_events: 1;
19468                description {
19469                    state: "default" 0.0;
19470                    color: 0 0 0 0;
19471                }
19472            }
19473            part {
19474                name: "base";
19475                mouse_events: 0;
19476                description {
19477                    state: "default" 0.0;
19478                    min: 16 28;
19479                    image {
19480                        normal: "ilist_2.png";
19481                        border: 2 2 2 2;
19482                    }
19483                    fill.smooth: 0;
19484                }
19485            }
19486            part { name: "bg";
19487                clip_to: "disclip";
19488                mouse_events: 0;
19489                description { state: "default" 0.0;
19490                    visible: 0;
19491                    color: 255 255 255 0;
19492                    rel1 {
19493                        relative: 0.0 0.0;
19494                        offset: -5 -5;
19495                    }
19496                    rel2 {
19497                        relative: 1.0 1.0;
19498                        offset: 4 4;
19499                    }
19500                    image {
19501                        normal: "bt_sm_base1.png";
19502                        border: 6 6 6 6;
19503                    }
19504                    image.middle: SOLID;
19505                }
19506                description { state: "selected" 0.0;
19507                    inherit: "default" 0.0;
19508                    visible: 1;
19509                    color: 255 255 255 255;
19510                    rel1 {
19511                        relative: 0.0 0.0;
19512                        offset: -2 -2;
19513                    }
19514                    rel2 {
19515                        relative: 1.0 1.0;
19516                        offset: 1 1;
19517                    }
19518                }
19519            }
19520            part { name: "elm.swallow.pad";
19521                type: SWALLOW;
19522                description { state: "default" 0.0;
19523                    fixed: 1 0;
19524                    align: 0.0 0.5;
19525                    rel1 {
19526                        relative: 0.0  0.0;
19527                        offset:   4    4;
19528                    }
19529                    rel2 {
19530                        relative: 0.0  1.0;
19531                        offset:   4   -5;
19532                    }
19533                }
19534            }
19535            part { name: "elm.swallow.icon";
19536                clip_to: "disclip";
19537                type: SWALLOW;
19538                description { state: "default" 0.0;
19539                    fixed: 1 0;
19540                    align: 0.0 0.5;
19541                    rel1 {
19542                        to_x: "elm.swallow.pad";
19543                        relative: 1.0  0.0;
19544                        offset:   -1    4;
19545                    }
19546                    rel2 {
19547                        to_x: "elm.swallow.pad";
19548                        relative: 1.0  1.0;
19549                        offset:   -1   -5;
19550                    }
19551                }
19552            }
19553            part { name: "elm.swallow.end";
19554                clip_to: "disclip";
19555                type:          SWALLOW;
19556                description { state:    "default" 0.0;
19557                    fixed: 1 0;
19558                    align:    1.0 0.5;
19559                    aspect: 1.0 1.0;
19560                    aspect_preference: VERTICAL;
19561                    rel1 {
19562                        relative: 1.0  0.0;
19563                        offset:   -5    4;
19564                    }
19565                    rel2 {
19566                        relative: 1.0  1.0;
19567                        offset:   -5   -5;
19568                    }
19569                }
19570            }
19571            part { name: "elm.text";
19572                clip_to: "disclip";
19573                type:           TEXTBLOCK;
19574                mouse_events:   0;
19575                scale: 1;
19576                description {
19577                    state: "default" 0.0;
19578                    align: 0.0 0.5;
19579                    fixed: 0 1;
19580                    rel1 {
19581                        to_x: "elm.swallow.icon";
19582                        to_y: "base";
19583                        relative: 1.0  0.5;
19584                        offset:   0 4;
19585                    }
19586                    rel2 {
19587                        to_x: "elm.swallow.end";
19588                        to_y: "base";
19589                        relative: 0.0  0.5;
19590                        offset:   -1 -5;
19591                    }
19592                    text {
19593                        style: "genlist_style";
19594                        min: 1 1;
19595                    }
19596                }
19597                description { state: "selected" 0.0;
19598                    inherit: "default" 0.0;
19599                    text {
19600                        style: "genlist_selected_style";
19601                    }
19602                }
19603            }
19604            part { name: "fg1";
19605                clip_to: "disclip";
19606                mouse_events: 0;
19607                description { state: "default" 0.0;
19608                    visible: 0;
19609                    color: 255 255 255 0;
19610                    rel1.to: "bg";
19611                    rel2.relative: 1.0 0.5;
19612                    rel2.to: "bg";
19613                    image {
19614                        normal: "bt_sm_hilight.png";
19615                        border: 6 6 6 0;
19616                    }
19617                }
19618                description { state: "selected" 0.0;
19619                    inherit: "default" 0.0;
19620                    visible: 1;
19621                    color: 255 255 255 255;
19622                }
19623            }
19624            part { name: "fg2";
19625                clip_to: "disclip";
19626                mouse_events: 0;
19627                description { state: "default" 0.0;
19628                    visible: 0;
19629                    color: 255 255 255 0;
19630                    rel1.to: "bg";
19631                    rel2.to: "bg";
19632                    image {
19633                        normal: "bt_sm_shine.png";
19634                        border: 6 6 6 0;
19635                    }
19636                }
19637                description { state: "selected" 0.0;
19638                    inherit: "default" 0.0;
19639                    visible: 1;
19640                    color: 255 255 255 255;
19641                }
19642            }
19643            part { name: "disclip";
19644                type: RECT;
19645                description { state: "default" 0.0;
19646                    rel1.to: "bg";
19647                    rel2.to: "bg";
19648                }
19649                description { state: "disabled" 0.0;
19650                    inherit: "default" 0.0;
19651                    color: 255 255 255 64;
19652                }
19653            }
19654        }
19655        programs {
19656            // signal: elm,state,%s,active
19657            //   a "check" item named %s went active
19658            // signal: elm,state,%s,passive
19659            //   a "check" item named %s went passive
19660            // default is passive
19661            program {
19662                name:    "go_active";
19663                signal:  "elm,state,selected";
19664                source:  "elm";
19665                action:  STATE_SET "selected" 0.0;
19666                target:  "bg";
19667                target:  "fg1";
19668                target:  "fg2";
19669                target:  "elm.text";
19670            }
19671            program {
19672                name:    "go_passive";
19673                signal:  "elm,state,unselected";
19674                source:  "elm";
19675                action:  STATE_SET "default" 0.0;
19676                target:  "bg";
19677                target:  "fg1";
19678                target:  "fg2";
19679                target:  "elm.text";
19680                transition: LINEAR 0.1;
19681            }
19682            program {
19683                name:    "go_disabled";
19684                signal:  "elm,state,disabled";
19685                source:  "elm";
19686                action:  STATE_SET "disabled" 0.0;
19687                target:  "disclip";
19688            }
19689            program {
19690                name:    "go_enabled";
19691                signal:  "elm,state,enabled";
19692                source:  "elm";
19693                action:  STATE_SET "default" 0.0;
19694                target:  "disclip";
19695            }
19696        }
19697    }
19698
19699    group { name: "elm/genlist/tree/default_style/default";
19700        data.item: "stacking" "above";
19701        data.item: "selectraise" "on";
19702        data.item: "labels" "elm.text";
19703        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19704        data.item: "treesize" "20";
19705        images {
19706            image: "bt_sm_base1.png" COMP;
19707            image: "bt_sm_shine.png" COMP;
19708            image: "bt_sm_hilight.png" COMP;
19709            image: "ilist_1.png" COMP;
19710            image: "ilist_item_shadow.png" COMP;
19711            image: "icon_arrow_right.png" COMP;
19712            image: "icon_arrow_down.png" COMP;
19713        }
19714        parts {
19715            part {
19716                name:           "event";
19717                type:           RECT;
19718                repeat_events: 1;
19719                description {
19720                    state: "default" 0.0;
19721                    color: 0 0 0 0;
19722                }
19723            }
19724            part {
19725                name: "base_sh";
19726                mouse_events: 0;
19727                description {
19728                    state: "default" 0.0;
19729                    align: 0.0 0.0;
19730                    min: 0 10;
19731                    fixed: 1 1;
19732                    rel1 {
19733                        to: "base";
19734                        relative: 0.0 1.0;
19735                        offset: 0 0;
19736                    }
19737                    rel2 {
19738                        to: "base";
19739                        relative: 1.0 1.0;
19740                        offset: -1 0;
19741                    }
19742                    image {
19743                        normal: "ilist_item_shadow.png";
19744                    }
19745                    fill.smooth: 0;
19746                }
19747            }
19748            part {
19749                name: "base";
19750                mouse_events: 0;
19751                description {
19752                    state: "default" 0.0;
19753                    min: 16 28;
19754                    image {
19755                        normal: "ilist_1.png";
19756                        border: 2 2 2 2;
19757                    }
19758                    fill.smooth: 0;
19759                }
19760            }
19761            part { name: "bg";
19762                clip_to: "disclip";
19763                mouse_events: 0;
19764                description { state: "default" 0.0;
19765                    visible: 0;
19766                    color: 255 255 255 0;
19767                    rel1 {
19768                        relative: 0.0 0.0;
19769                        offset: -5 -5;
19770                    }
19771                    rel2 {
19772                        relative: 1.0 1.0;
19773                        offset: 4 4;
19774                    }
19775                    image {
19776                        normal: "bt_sm_base1.png";
19777                        border: 6 6 6 6;
19778                    }
19779                    image.middle: SOLID;
19780                }
19781                description { state: "selected" 0.0;
19782                    inherit: "default" 0.0;
19783                    visible: 1;
19784                    color: 255 255 255 255;
19785                    rel1 {
19786                        relative: 0.0 0.0;
19787                        offset: -2 -2;
19788                    }
19789                    rel2 {
19790                        relative: 1.0 1.0;
19791                        offset: 1 1;
19792                    }
19793                }
19794            }
19795            part { name: "elm.swallow.pad";
19796                type: SWALLOW;
19797                description { state: "default" 0.0;
19798                    fixed: 1 0;
19799                    align: 0.0 0.5;
19800                    rel1 {
19801                        relative: 0.0  0.0;
19802                        offset:   4    4;
19803                    }
19804                    rel2 {
19805                        relative: 0.0  1.0;
19806                        offset:   4   -5;
19807                    }
19808                }
19809            }
19810            part { name: "arrow";
19811                clip_to: "disclip";
19812                ignore_flags: ON_HOLD;
19813                description { state: "default" 0.0;
19814                    fixed: 1 0;
19815                    align: 0.0 0.5;
19816                    aspect: 1.0 1.0;
19817                    rel1 {
19818                        to_x: "elm.swallow.pad";
19819                        relative: 1.0  0.0;
19820                        offset:   -1    4;
19821                    }
19822                    rel2 {
19823                        to_x: "elm.swallow.pad";
19824                        relative: 1.0  1.0;
19825                        offset:   -1   -5;
19826                    }
19827                    image.normal: "icon_arrow_right.png";
19828                }
19829                description { state: "active" 0.0;
19830                    inherit: "default" 0.0;
19831                    image.normal: "icon_arrow_down.png";
19832                }
19833            }
19834            part { name: "elm.swallow.icon";
19835                clip_to: "disclip";
19836                type: SWALLOW;
19837                description { state: "default" 0.0;
19838                    fixed: 1 0;
19839                    align: 0.0 0.5;
19840                    rel1 {
19841                        to_x: "arrow";
19842                        relative: 1.0  0.0;
19843                        offset:   4    4;
19844                    }
19845                    rel2 {
19846                        to_x: "arrow";
19847                        relative: 1.0  1.0;
19848                        offset:   4   -5;
19849                    }
19850                }
19851            }
19852            part { name: "elm.swallow.end";
19853                clip_to: "disclip";
19854                type: SWALLOW;
19855                description { state: "default" 0.0;
19856                    fixed: 1 0;
19857                    align: 1.0 0.5;
19858                    aspect: 1.0 1.0;
19859                    aspect_preference: VERTICAL;
19860                    rel1 {
19861                        relative: 1.0  0.0;
19862                        offset:   -5    4;
19863                    }
19864                    rel2 {
19865                        relative: 1.0  1.0;
19866                        offset:   -5   -5;
19867                    }
19868                }
19869            }
19870            part { name: "elm.text";
19871                clip_to: "disclip";
19872                type:           TEXTBLOCK;
19873                effect:         SOFT_SHADOW;
19874                mouse_events:   0;
19875                scale: 1;
19876                description {
19877                    state: "default" 0.0;
19878                    align: 0.0 0.5;
19879                    fixed: 0 1;
19880                    rel1 {
19881                        to_x:     "elm.swallow.icon";
19882                        to_y: "base";
19883                        relative: 1.0  0.5;
19884                        offset:   0 4;
19885                    }
19886                    rel2 {
19887                        to_x:     "elm.swallow.end";
19888                        to_y: "base";
19889                        relative: 0.0  0.5;
19890                        offset:   -1 -5;
19891                    }
19892                    text {
19893                        style: "genlist_style";
19894                        min: 1 1;
19895                    }
19896                }
19897                description { state: "selected" 0.0;
19898                    inherit: "default" 0.0;
19899                    text {
19900                        style: "genlist_selected_style";
19901                    }
19902                }
19903            }
19904            part { name: "fg1";
19905                clip_to: "disclip";
19906                mouse_events: 0;
19907                description { state: "default" 0.0;
19908                    visible: 0;
19909                    color: 255 255 255 0;
19910                    rel1.to: "bg";
19911                    rel2.relative: 1.0 0.5;
19912                    rel2.to: "bg";
19913                    image {
19914                        normal: "bt_sm_hilight.png";
19915                        border: 6 6 6 0;
19916                    }
19917                }
19918                description { state: "selected" 0.0;
19919                    inherit: "default" 0.0;
19920                    visible: 1;
19921                    color: 255 255 255 255;
19922                }
19923            }
19924            part { name: "fg2";
19925                clip_to: "disclip";
19926                mouse_events: 0;
19927                description { state: "default" 0.0;
19928                    visible: 0;
19929                    color: 255 255 255 0;
19930                    rel1.to: "bg";
19931                    rel2.to: "bg";
19932                    image {
19933                        normal: "bt_sm_shine.png";
19934                        border: 6 6 6 0;
19935                    }
19936                }
19937                description { state: "selected" 0.0;
19938                    inherit: "default" 0.0;
19939                    visible: 1;
19940                    color: 255 255 255 255;
19941                }
19942            }
19943            part { name: "disclip";
19944                type: RECT;
19945                description { state: "default" 0.0;
19946                    rel1.to: "bg";
19947                    rel2.to: "bg";
19948                }
19949                description { state: "disabled" 0.0;
19950                    inherit: "default" 0.0;
19951                    color: 255 255 255 64;
19952                }
19953            }
19954        }
19955        programs {
19956            // signal: elm,state,%s,active
19957            //   a "check" item named %s went active
19958            // signal: elm,state,%s,passive
19959            //   a "check" item named %s went passive
19960            // default is passive
19961            program {
19962                name:    "go_active";
19963                signal:  "elm,state,selected";
19964                source:  "elm";
19965                action:  STATE_SET "selected" 0.0;
19966                target:  "bg";
19967                target:  "fg1";
19968                target:  "fg2";
19969                target:  "elm.text";
19970            }
19971            program {
19972                name:    "go_passive";
19973                signal:  "elm,state,unselected";
19974                source:  "elm";
19975                action:  STATE_SET "default" 0.0;
19976                target:  "bg";
19977                target:  "fg1";
19978                target:  "fg2";
19979                target:  "elm.text";
19980                transition: LINEAR 0.1;
19981            }
19982            program {
19983                name:    "go_disabled";
19984                signal:  "elm,state,disabled";
19985                source:  "elm";
19986                action:  STATE_SET "disabled" 0.0;
19987                target:  "disclip";
19988            }
19989            program {
19990                name:    "go_enabled";
19991                signal:  "elm,state,enabled";
19992                source:  "elm";
19993                action:  STATE_SET "default" 0.0;
19994                target:  "disclip";
19995            }
19996            program {
19997                name:    "expand";
19998                signal:  "mouse,up,1";
19999                source:  "arrow";
20000                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20001            }
20002            program {
20003                name:    "go_expanded";
20004                signal:  "elm,state,expanded";
20005                source:  "elm";
20006                action:  STATE_SET "active" 0.0;
20007                target:  "arrow";
20008            }
20009            program {
20010                name:    "go_contracted";
20011                signal:  "elm,state,contracted";
20012                source:  "elm";
20013                action:  STATE_SET "default" 0.0;
20014                target:  "arrow";
20015            }
20016        }
20017    }
20018    group { name: "elm/genlist/tree_odd/default_style/default";
20019        data.item: "stacking" "below";
20020        data.item: "selectraise" "on";
20021        data.item: "labels" "elm.text";
20022        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20023        data.item: "treesize" "20";
20024        images {
20025            image: "bt_sm_base1.png" COMP;
20026            image: "bt_sm_shine.png" COMP;
20027            image: "bt_sm_hilight.png" COMP;
20028            image: "ilist_2.png" COMP;
20029            image: "icon_arrow_right.png" COMP;
20030            image: "icon_arrow_down.png" COMP;
20031        }
20032        parts {
20033            part {
20034                name:           "event";
20035                type:           RECT;
20036                repeat_events: 1;
20037                description {
20038                    state: "default" 0.0;
20039                    color: 0 0 0 0;
20040                }
20041            }
20042            part {
20043                name: "base";
20044                mouse_events: 0;
20045                description {
20046                    state: "default" 0.0;
20047                    min: 16 28;
20048                    image {
20049                        normal: "ilist_2.png";
20050                        border: 2 2 2 2;
20051                    }
20052                    fill.smooth: 0;
20053                }
20054            }
20055            part { name: "bg";
20056                clip_to: "disclip";
20057                mouse_events: 0;
20058                description { state: "default" 0.0;
20059                    visible: 0;
20060                    color: 255 255 255 0;
20061                    rel1 {
20062                        relative: 0.0 0.0;
20063                        offset: -5 -5;
20064                    }
20065                    rel2 {
20066                        relative: 1.0 1.0;
20067                        offset: 4 4;
20068                    }
20069                    image {
20070                        normal: "bt_sm_base1.png";
20071                        border: 6 6 6 6;
20072                    }
20073                    image.middle: SOLID;
20074                }
20075                description { state: "selected" 0.0;
20076                    inherit: "default" 0.0;
20077                    visible: 1;
20078                    color: 255 255 255 255;
20079                    rel1 {
20080                        relative: 0.0 0.0;
20081                        offset: -2 -2;
20082                    }
20083                    rel2 {
20084                        relative: 1.0 1.0;
20085                        offset: 1 1;
20086                    }
20087                }
20088            }
20089            part { name: "elm.swallow.pad";
20090                type: SWALLOW;
20091                description { state: "default" 0.0;
20092                    fixed: 1 0;
20093                    align: 0.0 0.5;
20094                    rel1 {
20095                        relative: 0.0  0.0;
20096                        offset:   4    4;
20097                    }
20098                    rel2 {
20099                        relative: 0.0  1.0;
20100                        offset:   4   -5;
20101                    }
20102                }
20103            }
20104            part { name: "arrow";
20105                clip_to: "disclip";
20106                ignore_flags: ON_HOLD;
20107                description { state: "default" 0.0;
20108                    fixed: 1 0;
20109                    align: 0.0 0.5;
20110                    aspect: 1.0 1.0;
20111                    rel1 {
20112                        to_x: "elm.swallow.pad";
20113                        relative: 1.0  0.0;
20114                        offset:   -1    4;
20115                    }
20116                    rel2 {
20117                        to_x: "elm.swallow.pad";
20118                        relative: 1.0  1.0;
20119                        offset:   -1   -5;
20120                    }
20121                    image.normal: "icon_arrow_right.png";
20122                }
20123                description { state: "active" 0.0;
20124                    inherit: "default" 0.0;
20125                    image.normal: "icon_arrow_down.png";
20126                }
20127            }
20128            part { name: "elm.swallow.icon";
20129                clip_to: "disclip";
20130                type: SWALLOW;
20131                description { state: "default" 0.0;
20132                    fixed: 1 0;
20133                    align: 0.0 0.5;
20134                    rel1 {
20135                        to_x: "arrow";
20136                        relative: 1.0  0.0;
20137                        offset:   4    4;
20138                    }
20139                    rel2 {
20140                        to_x: "arrow";
20141                        relative: 1.0  1.0;
20142                        offset:   4   -5;
20143                    }
20144                }
20145            }
20146            part { name: "elm.swallow.end";
20147                clip_to: "disclip";
20148                type: SWALLOW;
20149                description { state: "default" 0.0;
20150                    fixed: 1 0;
20151                    align: 1.0 0.5;
20152                    aspect: 1.0 1.0;
20153                    aspect_preference: VERTICAL;
20154                    rel1 {
20155                        relative: 1.0  0.0;
20156                        offset:   -5    4;
20157                    }
20158                    rel2 {
20159                        relative: 1.0  1.0;
20160                        offset:   -5   -5;
20161                    }
20162                }
20163            }
20164            part { name: "elm.text";
20165                clip_to: "disclip";
20166                type:           TEXTBLOCK;
20167                effect:         SOFT_SHADOW;
20168                mouse_events:   0;
20169                scale: 1;
20170                description {
20171                    state: "default" 0.0;
20172                    align: 0.0 0.5;
20173                    fixed: 0 1;
20174                    rel1 {
20175                        to_x:     "elm.swallow.icon";
20176                        to_y: "base";
20177                        relative: 1.0  0.5;
20178                        offset:   0 4;
20179                    }
20180                    rel2 {
20181                        to_x:     "elm.swallow.end";
20182                        to_y: "base";
20183                        relative: 0.0  0.5;
20184                        offset:   -1 -5;
20185                    }
20186                    text {
20187                        style: "genlist_style";
20188                        min: 1 1;
20189                    }
20190                }
20191                description { state: "selected" 0.0;
20192                    inherit: "default" 0.0;
20193                    text {
20194                        style: "genlist_selected_style";
20195                    }
20196                }
20197            }
20198            part { name: "fg1";
20199                clip_to: "disclip";
20200                mouse_events: 0;
20201                description { state: "default" 0.0;
20202                    visible: 0;
20203                    color: 255 255 255 0;
20204                    rel1.to: "bg";
20205                    rel2.relative: 1.0 0.5;
20206                    rel2.to: "bg";
20207                    image {
20208                        normal: "bt_sm_hilight.png";
20209                        border: 6 6 6 0;
20210                    }
20211                }
20212                description { state: "selected" 0.0;
20213                    inherit: "default" 0.0;
20214                    visible: 1;
20215                    color: 255 255 255 255;
20216                }
20217            }
20218            part { name: "fg2";
20219                clip_to: "disclip";
20220                mouse_events: 0;
20221                description { state: "default" 0.0;
20222                    visible: 0;
20223                    color: 255 255 255 0;
20224                    rel1.to: "bg";
20225                    rel2.to: "bg";
20226                    image {
20227                        normal: "bt_sm_shine.png";
20228                        border: 6 6 6 0;
20229                    }
20230                }
20231                description { state: "selected" 0.0;
20232                    inherit: "default" 0.0;
20233                    visible: 1;
20234                    color: 255 255 255 255;
20235                }
20236            }
20237            part { name: "disclip";
20238                type: RECT;
20239                description { state: "default" 0.0;
20240                    rel1.to: "bg";
20241                    rel2.to: "bg";
20242                }
20243                description { state: "disabled" 0.0;
20244                    inherit: "default" 0.0;
20245                    color: 255 255 255 64;
20246                }
20247            }
20248        }
20249        programs {
20250            // signal: elm,state,%s,active
20251            //   a "check" item named %s went active
20252            // signal: elm,state,%s,passive
20253            //   a "check" item named %s went passive
20254            // default is passive
20255            program {
20256                name:    "go_active";
20257                signal:  "elm,state,selected";
20258                source:  "elm";
20259                action:  STATE_SET "selected" 0.0;
20260                target:  "bg";
20261                target:  "fg1";
20262                target:  "fg2";
20263                target:  "elm.text";
20264            }
20265            program {
20266                name:    "go_passive";
20267                signal:  "elm,state,unselected";
20268                source:  "elm";
20269                action:  STATE_SET "default" 0.0;
20270                target:  "bg";
20271                target:  "fg1";
20272                target:  "fg2";
20273                target:  "elm.text";
20274                transition: LINEAR 0.1;
20275            }
20276            program {
20277                name:    "go_disabled";
20278                signal:  "elm,state,disabled";
20279                source:  "elm";
20280                action:  STATE_SET "disabled" 0.0;
20281                target:  "disclip";
20282            }
20283            program {
20284                name:    "go_enabled";
20285                signal:  "elm,state,enabled";
20286                source:  "elm";
20287                action:  STATE_SET "default" 0.0;
20288                target:  "disclip";
20289            }
20290            program {
20291                name:    "expand";
20292                signal:  "mouse,up,1";
20293                source:  "arrow";
20294                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20295            }
20296            program {
20297                name:    "go_expanded";
20298                signal:  "elm,state,expanded";
20299                source:  "elm";
20300                action:  STATE_SET "active" 0.0;
20301                target:  "arrow";
20302            }
20303            program {
20304                name:    "go_contracted";
20305                signal:  "elm,state,contracted";
20306                source:  "elm";
20307                action:  STATE_SET "default" 0.0;
20308                target:  "arrow";
20309            }
20310        }
20311    }
20312
20313
20314    group { name: "elm/genlist/item/double_label/default";
20315       data.item: "stacking" "above";
20316       data.item: "selectraise" "on";
20317       data.item: "labels" "elm.text elm.text.sub";
20318       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20319       data.item: "treesize" "20";
20320 //      data.item: "states" "";
20321       images {
20322          image: "bt_sm_base1.png" COMP;
20323          image: "bt_sm_shine.png" COMP;
20324          image: "bt_sm_hilight.png" COMP;
20325          image: "ilist_1.png" COMP;
20326          image: "ilist_item_shadow.png" COMP;
20327       }
20328       parts {
20329          part {
20330             name:           "event";
20331             type:           RECT;
20332             repeat_events: 1;
20333             description {
20334                state: "default" 0.0;
20335                color: 0 0 0 0;
20336             }
20337          }
20338          part {
20339             name: "base_sh";
20340             mouse_events: 0;
20341             description {
20342                state: "default" 0.0;
20343                align: 0.0 0.0;
20344                min: 0 10;
20345                fixed: 1 1;
20346                rel1 {
20347                   to: "base";
20348                   relative: 0.0 1.0;
20349                   offset: 0 0;
20350                }
20351                rel2 {
20352                   to: "base";
20353                   relative: 1.0 1.0;
20354                   offset: -1 0;
20355                }
20356                image {
20357                   normal: "ilist_item_shadow.png";
20358                }
20359                fill.smooth: 0;
20360             }
20361          }
20362          part {
20363             name: "base";
20364             mouse_events: 0;
20365             description {
20366                state: "default" 0.0;
20367                image {
20368                   normal: "ilist_1.png";
20369                   border: 2 2 2 2;
20370                }
20371                fill.smooth: 0;
20372             }
20373          }
20374          part { name: "bg";
20375             clip_to: "disclip";
20376             mouse_events: 0;
20377             description { state: "default" 0.0;
20378                visible: 0;
20379                color: 255 255 255 0;
20380                rel1 {
20381                   relative: 0.0 0.0;
20382                   offset: -5 -5;
20383                }
20384                rel2 {
20385                   relative: 1.0 1.0;
20386                   offset: 4 4;
20387                }
20388                image {
20389                   normal: "bt_sm_base1.png";
20390                   border: 6 6 6 6;
20391                }
20392                image.middle: SOLID;
20393             }
20394             description { state: "selected" 0.0;
20395                inherit: "default" 0.0;
20396                visible: 1;
20397                color: 255 255 255 255;
20398                rel1 {
20399                   relative: 0.0 0.0;
20400                   offset: -2 -2;
20401                }
20402                rel2 {
20403                   relative: 1.0 1.0;
20404                   offset: 1 1;
20405                }
20406             }
20407          }
20408          part { name: "elm.swallow.pad";
20409             type: SWALLOW;
20410             description { state: "default" 0.0;
20411                fixed: 1 0;
20412                align: 0.0 0.5;
20413                rel1 {
20414                   relative: 0.0  0.0;
20415                   offset:   4    4;
20416                }
20417                rel2 {
20418                   relative: 0.0  1.0;
20419                   offset:   4   -5;
20420                }
20421             }
20422          }
20423          part { name: "elm.swallow.icon";
20424             clip_to: "disclip";
20425             type: SWALLOW;
20426             description { state: "default" 0.0;
20427                fixed: 1 0;
20428                align: 0.0 0.5;
20429                rel1 {
20430                   to_x: "elm.swallow.pad";
20431                   relative: 1.0  0.0;
20432                   offset:   -1    4;
20433                }
20434                rel2 {
20435                   to_x: "elm.swallow.pad";
20436                   relative: 1.0  1.0;
20437                   offset:   -1   -5;
20438                }
20439             }
20440          }
20441          part { name: "elm.swallow.end";
20442             clip_to: "disclip";
20443             type: SWALLOW;
20444             description { state: "default" 0.0;
20445                fixed: 1 0;
20446                align: 1.0 0.5;
20447                aspect: 1.0 1.0;
20448                aspect_preference: VERTICAL;
20449                rel1 {
20450                   relative: 1.0  0.0;
20451                   offset:   -5    4;
20452                }
20453                rel2 {
20454                   relative: 1.0  1.0;
20455                   offset:   -5   -5;
20456                }
20457             }
20458          }
20459          part { name: "elm.text";
20460             clip_to: "disclip";
20461             type:           TEXT;
20462             effect:         SOFT_SHADOW;
20463             mouse_events:   0;
20464             scale: 1;
20465             description {
20466                state: "default" 0.0;
20467 //               min: 16 16;
20468                rel1 {
20469                   to_x:     "elm.swallow.icon";
20470                   relative: 1.0  0.0;
20471                   offset:   0 4;
20472                }
20473                rel2 {
20474                   to_x:     "elm.swallow.end";
20475                   relative: 0.0  0.5;
20476                   offset:   -1 -5;
20477                }
20478                color: 0 0 0 255;
20479                color3: 0 0 0 0;
20480                text {
20481                   font: "Sans";
20482                   size: 10;
20483                   min: 1 1;
20484 //                  min: 0 1;
20485                   align: 0.0 0.5;
20486                   text_class: "list_item";
20487                }
20488             }
20489             description { state: "selected" 0.0;
20490                inherit: "default" 0.0;
20491                color: 224 224 224 255;
20492                color3: 0 0 0 64;
20493             }
20494          }
20495          part { name: "elm.text.sub";
20496             clip_to: "disclip";
20497             type:           TEXT;
20498             mouse_events:   0;
20499             scale: 1;
20500             description {
20501                state: "default" 0.0;
20502 //               min: 16 16;
20503                rel1 {
20504                   to_x:     "elm.swallow.icon";
20505                   relative: 1.0  0.5;
20506                   offset:   0 4;
20507                }
20508                rel2 {
20509                   to_x:     "elm.swallow.end";
20510                   relative: 0.0  1.0;
20511                   offset:   -1 -5;
20512                }
20513                color: 0 0 0 128;
20514                color3: 0 0 0 0;
20515                text {
20516                   font: "Sans";
20517                   size: 8;
20518                   min: 1 1;
20519 //                  min: 0 1;
20520                   align: 0.0 0.5;
20521                   text_class: "list_item";
20522                }
20523             }
20524             description { state: "selected" 0.0;
20525                inherit: "default" 0.0;
20526                color: 128 128 128 255;
20527                color3: 0 0 0 32;
20528             }
20529          }
20530          part { name: "fg1";
20531             clip_to: "disclip";
20532             mouse_events: 0;
20533             description { state: "default" 0.0;
20534                visible: 0;
20535                color: 255 255 255 0;
20536                rel1.to: "bg";
20537                rel2.relative: 1.0 0.5;
20538                rel2.to: "bg";
20539                image {
20540                   normal: "bt_sm_hilight.png";
20541                   border: 6 6 6 0;
20542                }
20543             }
20544             description { state: "selected" 0.0;
20545                inherit: "default" 0.0;
20546                visible: 1;
20547                color: 255 255 255 255;
20548             }
20549          }
20550          part { name: "fg2";
20551             clip_to: "disclip";
20552             mouse_events: 0;
20553             description { state: "default" 0.0;
20554                visible: 0;
20555                color: 255 255 255 0;
20556                rel1.to: "bg";
20557                rel2.to: "bg";
20558                image {
20559                   normal: "bt_sm_shine.png";
20560                   border: 6 6 6 0;
20561                }
20562             }
20563             description { state: "selected" 0.0;
20564                inherit: "default" 0.0;
20565                visible: 1;
20566                color: 255 255 255 255;
20567             }
20568          }
20569          part { name: "disclip";
20570             type: RECT;
20571             description { state: "default" 0.0;
20572                rel1.to: "bg";
20573                rel2.to: "bg";
20574             }
20575             description { state: "disabled" 0.0;
20576                inherit: "default" 0.0;
20577                color: 255 255 255 64;
20578             }
20579          }
20580       }
20581       programs {
20582          // signal: elm,state,%s,active
20583          //   a "check" item named %s went active
20584          // signal: elm,state,%s,passive
20585          //   a "check" item named %s went passive
20586          // default is passive
20587          program {
20588             name:    "go_active";
20589             signal:  "elm,state,selected";
20590             source:  "elm";
20591             action:  STATE_SET "selected" 0.0;
20592             target:  "bg";
20593             target:  "fg1";
20594             target:  "fg2";
20595             target:  "elm.text";
20596             target:  "elm.text.sub";
20597          }
20598          program {
20599             name:    "go_passive";
20600             signal:  "elm,state,unselected";
20601             source:  "elm";
20602             action:  STATE_SET "default" 0.0;
20603             target:  "bg";
20604             target:  "fg1";
20605             target:  "fg2";
20606             target:  "elm.text";
20607             target:  "elm.text.sub";
20608             transition: LINEAR 0.1;
20609          }
20610          program {
20611             name:    "go_disabled";
20612             signal:  "elm,state,disabled";
20613             source:  "elm";
20614             action:  STATE_SET "disabled" 0.0;
20615             target:  "disclip";
20616          }
20617          program {
20618             name:    "go_enabled";
20619             signal:  "elm,state,enabled";
20620             source:  "elm";
20621             action:  STATE_SET "default" 0.0;
20622             target:  "disclip";
20623          }
20624       }
20625    }
20626    group { name: "elm/genlist/item_compress/double_label/default";
20627       data.item: "stacking" "above";
20628       data.item: "selectraise" "on";
20629       data.item: "labels" "elm.text elm.text.sub";
20630       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20631       data.item: "treesize" "20";
20632 //      data.item: "states" "";
20633       images {
20634          image: "bt_sm_base1.png" COMP;
20635          image: "bt_sm_shine.png" COMP;
20636          image: "bt_sm_hilight.png" COMP;
20637          image: "ilist_1.png" COMP;
20638          image: "ilist_item_shadow.png" COMP;
20639       }
20640       parts {
20641          part {
20642             name:           "event";
20643             type:           RECT;
20644             repeat_events: 1;
20645             description {
20646                state: "default" 0.0;
20647                color: 0 0 0 0;
20648             }
20649          }
20650          part {
20651             name: "base_sh";
20652             mouse_events: 0;
20653             description {
20654                state: "default" 0.0;
20655                align: 0.0 0.0;
20656                min: 0 10;
20657                fixed: 1 1;
20658                rel1 {
20659                   to: "base";
20660                   relative: 0.0 1.0;
20661                   offset: 0 0;
20662                }
20663                rel2 {
20664                   to: "base";
20665                   relative: 1.0 1.0;
20666                   offset: -1 0;
20667                }
20668                image {
20669                   normal: "ilist_item_shadow.png";
20670                }
20671                fill.smooth: 0;
20672             }
20673          }
20674          part {
20675             name: "base";
20676             mouse_events: 0;
20677             description {
20678                state: "default" 0.0;
20679                image {
20680                   normal: "ilist_1.png";
20681                   border: 2 2 2 2;
20682                }
20683                fill.smooth: 0;
20684             }
20685          }
20686          part { name: "bg";
20687             clip_to: "disclip";
20688             mouse_events: 0;
20689             description { state: "default" 0.0;
20690                visible: 0;
20691                color: 255 255 255 0;
20692                rel1 {
20693                   relative: 0.0 0.0;
20694                   offset: -5 -5;
20695                }
20696                rel2 {
20697                   relative: 1.0 1.0;
20698                   offset: 4 4;
20699                }
20700                image {
20701                   normal: "bt_sm_base1.png";
20702                   border: 6 6 6 6;
20703                }
20704                image.middle: SOLID;
20705             }
20706             description { state: "selected" 0.0;
20707                inherit: "default" 0.0;
20708                visible: 1;
20709                color: 255 255 255 255;
20710                rel1 {
20711                   relative: 0.0 0.0;
20712                   offset: -2 -2;
20713                }
20714                rel2 {
20715                   relative: 1.0 1.0;
20716                   offset: 1 1;
20717                }
20718             }
20719          }
20720          part { name: "elm.swallow.pad";
20721             type: SWALLOW;
20722             description { state: "default" 0.0;
20723                fixed: 1 0;
20724                align: 0.0 0.5;
20725                rel1 {
20726                   relative: 0.0  0.0;
20727                   offset:   4    4;
20728                }
20729                rel2 {
20730                   relative: 0.0  1.0;
20731                   offset:   4   -5;
20732                }
20733             }
20734          }
20735          part { name: "elm.swallow.icon";
20736             clip_to: "disclip";
20737             type: SWALLOW;
20738             description { state: "default" 0.0;
20739                fixed: 1 0;
20740                align: 0.0 0.5;
20741                rel1 {
20742                   to_x: "elm.swallow.pad";
20743                   relative: 1.0  0.0;
20744                   offset:   -1    4;
20745                }
20746                rel2 {
20747                   to_x: "elm.swallow.pad";
20748                   relative: 1.0  1.0;
20749                   offset:   -1   -5;
20750                }
20751             }
20752          }
20753          part { name: "elm.swallow.end";
20754             clip_to: "disclip";
20755             type: SWALLOW;
20756             description { state: "default" 0.0;
20757                fixed: 1 0;
20758                align: 1.0 0.5;
20759                aspect: 1.0 1.0;
20760                aspect_preference: VERTICAL;
20761                rel1 {
20762                   relative: 1.0  0.0;
20763                   offset:   -5    4;
20764                }
20765                rel2 {
20766                   relative: 1.0  1.0;
20767                   offset:   -5   -5;
20768                }
20769             }
20770          }
20771          part { name: "elm.text";
20772             clip_to: "disclip";
20773             type:           TEXT;
20774             effect:         SOFT_SHADOW;
20775             mouse_events:   0;
20776             scale: 1;
20777             description {
20778                state: "default" 0.0;
20779 //               min: 16 16;
20780                rel1 {
20781                   to_x:     "elm.swallow.icon";
20782                   relative: 1.0  0.0;
20783                   offset:   0 4;
20784                }
20785                rel2 {
20786                   to_x:     "elm.swallow.end";
20787                   relative: 0.0  0.5;
20788                   offset:   -1 -5;
20789                }
20790                color: 0 0 0 255;
20791                color3: 0 0 0 0;
20792                text {
20793                   font: "Sans";
20794                   size: 10;
20795 //                  min: 1 1;
20796                   min: 0 1;
20797                   align: 0.0 0.5;
20798                   text_class: "list_item";
20799                }
20800             }
20801             description { state: "selected" 0.0;
20802                inherit: "default" 0.0;
20803                color: 224 224 224 255;
20804                color3: 0 0 0 64;
20805             }
20806          }
20807          part { name: "elm.text.sub";
20808             clip_to: "disclip";
20809             type:           TEXT;
20810             mouse_events:   0;
20811             scale: 1;
20812             description {
20813                state: "default" 0.0;
20814 //               min: 16 16;
20815                rel1 {
20816                   to_x:     "elm.swallow.icon";
20817                   relative: 1.0  0.5;
20818                   offset:   0 4;
20819                }
20820                rel2 {
20821                   to_x:     "elm.swallow.end";
20822                   relative: 0.0  1.0;
20823                   offset:   -1 -5;
20824                }
20825                color: 0 0 0 128;
20826                color3: 0 0 0 0;
20827                text {
20828                   font: "Sans";
20829                   size: 8;
20830 //                  min: 1 1;
20831                   min: 0 1;
20832                   align: 0.0 0.5;
20833                   text_class: "list_item";
20834                }
20835             }
20836             description { state: "selected" 0.0;
20837                inherit: "default" 0.0;
20838                color: 128 128 128 255;
20839                color3: 0 0 0 32;
20840             }
20841          }
20842          part { name: "fg1";
20843             clip_to: "disclip";
20844             mouse_events: 0;
20845             description { state: "default" 0.0;
20846                visible: 0;
20847                color: 255 255 255 0;
20848                rel1.to: "bg";
20849                rel2.relative: 1.0 0.5;
20850                rel2.to: "bg";
20851                image {
20852                   normal: "bt_sm_hilight.png";
20853                   border: 6 6 6 0;
20854                }
20855             }
20856             description { state: "selected" 0.0;
20857                inherit: "default" 0.0;
20858                visible: 1;
20859                color: 255 255 255 255;
20860             }
20861          }
20862          part { name: "fg2";
20863             clip_to: "disclip";
20864             mouse_events: 0;
20865             description { state: "default" 0.0;
20866                visible: 0;
20867                color: 255 255 255 0;
20868                rel1.to: "bg";
20869                rel2.to: "bg";
20870                image {
20871                   normal: "bt_sm_shine.png";
20872                   border: 6 6 6 0;
20873                }
20874             }
20875             description { state: "selected" 0.0;
20876                inherit: "default" 0.0;
20877                visible: 1;
20878                color: 255 255 255 255;
20879             }
20880          }
20881          part { name: "disclip";
20882             type: RECT;
20883             description { state: "default" 0.0;
20884                rel1.to: "bg";
20885                rel2.to: "bg";
20886             }
20887             description { state: "disabled" 0.0;
20888                inherit: "default" 0.0;
20889                color: 255 255 255 64;
20890             }
20891          }
20892       }
20893       programs {
20894          // signal: elm,state,%s,active
20895          //   a "check" item named %s went active
20896          // signal: elm,state,%s,passive
20897          //   a "check" item named %s went passive
20898          // default is passive
20899          program {
20900             name:    "go_active";
20901             signal:  "elm,state,selected";
20902             source:  "elm";
20903             action:  STATE_SET "selected" 0.0;
20904             target:  "bg";
20905             target:  "fg1";
20906             target:  "fg2";
20907             target:  "elm.text";
20908             target:  "elm.text.sub";
20909          }
20910          program {
20911             name:    "go_passive";
20912             signal:  "elm,state,unselected";
20913             source:  "elm";
20914             action:  STATE_SET "default" 0.0;
20915             target:  "bg";
20916             target:  "fg1";
20917             target:  "fg2";
20918             target:  "elm.text";
20919             target:  "elm.text.sub";
20920             transition: LINEAR 0.1;
20921          }
20922          program {
20923             name:    "go_disabled";
20924             signal:  "elm,state,disabled";
20925             source:  "elm";
20926             action:  STATE_SET "disabled" 0.0;
20927             target:  "disclip";
20928          }
20929          program {
20930             name:    "go_enabled";
20931             signal:  "elm,state,enabled";
20932             source:  "elm";
20933             action:  STATE_SET "default" 0.0;
20934             target:  "disclip";
20935          }
20936       }
20937    }
20938    group { name: "elm/genlist/item_odd/double_label/default";
20939       data.item: "stacking" "below";
20940       data.item: "selectraise" "on";
20941       data.item: "labels" "elm.text elm.text.sub";
20942       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20943       data.item: "treesize" "20";
20944 //      data.item: "states" "";
20945       images {
20946          image: "bt_sm_base1.png" COMP;
20947          image: "bt_sm_shine.png" COMP;
20948          image: "bt_sm_hilight.png" COMP;
20949          image: "ilist_2.png" COMP;
20950       }
20951       parts {
20952          part { name: "event";
20953             type: RECT;
20954             repeat_events: 1;
20955             description {
20956                state: "default" 0.0;
20957                color: 0 0 0 0;
20958             }
20959          }
20960          part {
20961             name: "base";
20962             mouse_events: 0;
20963             description {
20964                state: "default" 0.0;
20965                image {
20966                   normal: "ilist_2.png";
20967                   border: 2 2 2 2;
20968                }
20969                fill.smooth: 0;
20970             }
20971          }
20972          part { name: "bg";
20973             clip_to: "disclip";
20974             mouse_events: 0;
20975             description { state: "default" 0.0;
20976                visible: 0;
20977                color: 255 255 255 0;
20978                rel1 {
20979                   relative: 0.0 0.0;
20980                   offset: -5 -5;
20981                }
20982                rel2 {
20983                   relative: 1.0 1.0;
20984                   offset: 4 4;
20985                }
20986                image {
20987                   normal: "bt_sm_base1.png";
20988                   border: 6 6 6 6;
20989                }
20990                image.middle: SOLID;
20991             }
20992             description { state: "selected" 0.0;
20993                inherit: "default" 0.0;
20994                visible: 1;
20995                color: 255 255 255 255;
20996                rel1 {
20997                   relative: 0.0 0.0;
20998                   offset: -2 -2;
20999                }
21000                rel2 {
21001                   relative: 1.0 1.0;
21002                   offset: 1 1;
21003                }
21004             }
21005          }
21006          part { name: "elm.swallow.pad";
21007             type: SWALLOW;
21008             description { state: "default" 0.0;
21009                fixed: 1 0;
21010                align: 0.0 0.5;
21011                rel1 {
21012                   relative: 0.0  0.0;
21013                   offset:   4    4;
21014                }
21015                rel2 {
21016                   relative: 0.0  1.0;
21017                   offset:   4   -5;
21018                }
21019             }
21020          }
21021          part { name: "elm.swallow.icon";
21022             clip_to: "disclip";
21023             type: SWALLOW;
21024             description { state: "default" 0.0;
21025                fixed: 1 0;
21026                align: 0.0 0.5;
21027                rel1 {
21028                   to_x: "elm.swallow.pad";
21029                   relative: 1.0  0.0;
21030                   offset:   -1    4;
21031                }
21032                rel2 {
21033                   to_x: "elm.swallow.pad";
21034                   relative: 1.0  1.0;
21035                   offset:   -1   -5;
21036                }
21037             }
21038          }
21039          part { name: "elm.swallow.end";
21040             clip_to: "disclip";
21041             type:          SWALLOW;
21042             description { state:    "default" 0.0;
21043                fixed: 1 0;
21044                align:    1.0 0.5;
21045                aspect: 1.0 1.0;
21046                aspect_preference: VERTICAL;
21047                rel1 {
21048                   relative: 1.0  0.0;
21049                   offset:   -5    4;
21050                }
21051                rel2 {
21052                   relative: 1.0  1.0;
21053                   offset:   -5   -5;
21054                }
21055             }
21056          }
21057          part { name: "elm.text";
21058             clip_to: "disclip";
21059             type:           TEXT;
21060             effect:         SOFT_SHADOW;
21061             mouse_events:   0;
21062             scale: 1;
21063             description {
21064                state: "default" 0.0;
21065 //               min: 16 16;
21066                rel1 {
21067                   to_x:     "elm.swallow.icon";
21068                   relative: 1.0  0.0;
21069                   offset:   0 4;
21070                }
21071                rel2 {
21072                   to_x:     "elm.swallow.end";
21073                   relative: 0.0  0.5;
21074                   offset:   -1 -5;
21075                }
21076                color: 0 0 0 255;
21077                color3: 0 0 0 0;
21078                text {
21079                   font: "Sans";
21080                   size: 10;
21081                   min: 1 1;
21082 //                  min: 0 1;
21083                   align: 0.0 0.5;
21084                   text_class: "list_item";
21085                }
21086             }
21087             description { state: "selected" 0.0;
21088                inherit: "default" 0.0;
21089                color: 224 224 224 255;
21090                color3: 0 0 0 64;
21091             }
21092          }
21093          part { name: "elm.text.sub";
21094             clip_to: "disclip";
21095             type:           TEXT;
21096             mouse_events:   0;
21097             scale: 1;
21098             description {
21099                state: "default" 0.0;
21100 //               min: 16 16;
21101                rel1 {
21102                   to_x:     "elm.swallow.icon";
21103                   relative: 1.0  0.5;
21104                   offset:   0 4;
21105                }
21106                rel2 {
21107                   to_x:     "elm.swallow.end";
21108                   relative: 0.0  1.0;
21109                   offset:   -1 -5;
21110                }
21111                color: 0 0 0 128;
21112                color3: 0 0 0 0;
21113                text {
21114                   font: "Sans";
21115                   size: 8;
21116                   min: 1 1;
21117 //                  min: 0 1;
21118                   align: 0.0 0.5;
21119                   text_class: "list_item";
21120                }
21121             }
21122             description { state: "selected" 0.0;
21123                inherit: "default" 0.0;
21124                color: 128 128 128 255;
21125                color3: 0 0 0 32;
21126             }
21127          }
21128          part { name: "fg1";
21129             clip_to: "disclip";
21130             mouse_events: 0;
21131             description { state: "default" 0.0;
21132                visible: 0;
21133                color: 255 255 255 0;
21134                rel1.to: "bg";
21135                rel2.relative: 1.0 0.5;
21136                rel2.to: "bg";
21137                image {
21138                   normal: "bt_sm_hilight.png";
21139                   border: 6 6 6 0;
21140                }
21141             }
21142             description { state: "selected" 0.0;
21143                inherit: "default" 0.0;
21144                visible: 1;
21145                color: 255 255 255 255;
21146             }
21147          }
21148          part { name: "fg2";
21149             clip_to: "disclip";
21150             mouse_events: 0;
21151             description { state: "default" 0.0;
21152                visible: 0;
21153                color: 255 255 255 0;
21154                rel1.to: "bg";
21155                rel2.to: "bg";
21156                image {
21157                   normal: "bt_sm_shine.png";
21158                   border: 6 6 6 0;
21159                }
21160             }
21161             description { state: "selected" 0.0;
21162                inherit: "default" 0.0;
21163                visible: 1;
21164                color: 255 255 255 255;
21165             }
21166          }
21167          part { name: "disclip";
21168             type: RECT;
21169             description { state: "default" 0.0;
21170                rel1.to: "bg";
21171                rel2.to: "bg";
21172             }
21173             description { state: "disabled" 0.0;
21174                inherit: "default" 0.0;
21175                color: 255 255 255 64;
21176             }
21177          }
21178       }
21179       programs {
21180          // signal: elm,state,%s,active
21181          //   a "check" item named %s went active
21182          // signal: elm,state,%s,passive
21183          //   a "check" item named %s went passive
21184          // default is passive
21185          program {
21186             name:    "go_active";
21187             signal:  "elm,state,selected";
21188             source:  "elm";
21189             action:  STATE_SET "selected" 0.0;
21190             target:  "bg";
21191             target:  "fg1";
21192             target:  "fg2";
21193             target:  "elm.text";
21194             target:  "elm.text.sub";
21195          }
21196          program {
21197             name:    "go_passive";
21198             signal:  "elm,state,unselected";
21199             source:  "elm";
21200             action:  STATE_SET "default" 0.0;
21201             target:  "bg";
21202             target:  "fg1";
21203             target:  "fg2";
21204             target:  "elm.text";
21205             target:  "elm.text.sub";
21206             transition: LINEAR 0.1;
21207          }
21208          program {
21209             name:    "go_disabled";
21210             signal:  "elm,state,disabled";
21211             source:  "elm";
21212             action:  STATE_SET "disabled" 0.0;
21213             target:  "disclip";
21214          }
21215          program {
21216             name:    "go_enabled";
21217             signal:  "elm,state,enabled";
21218             source:  "elm";
21219             action:  STATE_SET "default" 0.0;
21220             target:  "disclip";
21221          }
21222       }
21223    }
21224    group { name: "elm/genlist/item_compress_odd/double_label/default";
21225       data.item: "stacking" "below";
21226       data.item: "selectraise" "on";
21227       data.item: "labels" "elm.text elm.text.sub";
21228       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21229       data.item: "treesize" "20";
21230 //      data.item: "states" "";
21231       images {
21232          image: "bt_sm_base1.png" COMP;
21233          image: "bt_sm_shine.png" COMP;
21234          image: "bt_sm_hilight.png" COMP;
21235          image: "ilist_2.png" COMP;
21236       }
21237       parts {
21238          part { name: "event";
21239             type: RECT;
21240             repeat_events: 1;
21241             description {
21242                state: "default" 0.0;
21243                color: 0 0 0 0;
21244             }
21245          }
21246          part {
21247             name: "base";
21248             mouse_events: 0;
21249             description {
21250                state: "default" 0.0;
21251                image {
21252                   normal: "ilist_2.png";
21253                   border: 2 2 2 2;
21254                }
21255                fill.smooth: 0;
21256             }
21257          }
21258          part { name: "bg";
21259             clip_to: "disclip";
21260             mouse_events: 0;
21261             description { state: "default" 0.0;
21262                visible: 0;
21263                color: 255 255 255 0;
21264                rel1 {
21265                   relative: 0.0 0.0;
21266                   offset: -5 -5;
21267                }
21268                rel2 {
21269                   relative: 1.0 1.0;
21270                   offset: 4 4;
21271                }
21272                image {
21273                   normal: "bt_sm_base1.png";
21274                   border: 6 6 6 6;
21275                }
21276                image.middle: SOLID;
21277             }
21278             description { state: "selected" 0.0;
21279                inherit: "default" 0.0;
21280                visible: 1;
21281                color: 255 255 255 255;
21282                rel1 {
21283                   relative: 0.0 0.0;
21284                   offset: -2 -2;
21285                }
21286                rel2 {
21287                   relative: 1.0 1.0;
21288                   offset: 1 1;
21289                }
21290             }
21291          }
21292          part { name: "elm.swallow.pad";
21293             type: SWALLOW;
21294             description { state: "default" 0.0;
21295                fixed: 1 0;
21296                align: 0.0 0.5;
21297                rel1 {
21298                   relative: 0.0  0.0;
21299                   offset:   4    4;
21300                }
21301                rel2 {
21302                   relative: 0.0  1.0;
21303                   offset:   4   -5;
21304                }
21305             }
21306          }
21307          part { name: "elm.swallow.icon";
21308             clip_to: "disclip";
21309             type: SWALLOW;
21310             description { state: "default" 0.0;
21311                fixed: 1 0;
21312                align: 0.0 0.5;
21313                rel1 {
21314                   to_x: "elm.swallow.pad";
21315                   relative: 1.0  0.0;
21316                   offset:   -1    4;
21317                }
21318                rel2 {
21319                   to_x: "elm.swallow.pad";
21320                   relative: 1.0  1.0;
21321                   offset:   -1   -5;
21322                }
21323             }
21324          }
21325          part { name: "elm.swallow.end";
21326             clip_to: "disclip";
21327             type:          SWALLOW;
21328             description { state:    "default" 0.0;
21329                fixed: 1 0;
21330                align:    1.0 0.5;
21331                aspect: 1.0 1.0;
21332                aspect_preference: VERTICAL;
21333                rel1 {
21334                   relative: 1.0  0.0;
21335                   offset:   -5    4;
21336                }
21337                rel2 {
21338                   relative: 1.0  1.0;
21339                   offset:   -5   -5;
21340                }
21341             }
21342          }
21343          part { name: "elm.text";
21344             clip_to: "disclip";
21345             type:           TEXT;
21346             effect:         SOFT_SHADOW;
21347             mouse_events:   0;
21348             scale: 1;
21349             description {
21350                state: "default" 0.0;
21351 //               min: 16 16;
21352                rel1 {
21353                   to_x:     "elm.swallow.icon";
21354                   relative: 1.0  0.0;
21355                   offset:   0 4;
21356                }
21357                rel2 {
21358                   to_x:     "elm.swallow.end";
21359                   relative: 0.0  0.5;
21360                   offset:   -1 -5;
21361                }
21362                color: 0 0 0 255;
21363                color3: 0 0 0 0;
21364                text {
21365                   font: "Sans";
21366                   size: 10;
21367 //                  min: 1 1;
21368                   min: 0 1;
21369                   align: 0.0 0.5;
21370                   text_class: "list_item";
21371                }
21372             }
21373             description { state: "selected" 0.0;
21374                inherit: "default" 0.0;
21375                color: 224 224 224 255;
21376                color3: 0 0 0 64;
21377             }
21378          }
21379          part { name: "elm.text.sub";
21380             clip_to: "disclip";
21381             type:           TEXT;
21382             mouse_events:   0;
21383             scale: 1;
21384             description {
21385                state: "default" 0.0;
21386 //               min: 16 16;
21387                rel1 {
21388                   to_x:     "elm.swallow.icon";
21389                   relative: 1.0  0.5;
21390                   offset:   0 4;
21391                }
21392                rel2 {
21393                   to_x:     "elm.swallow.end";
21394                   relative: 0.0  1.0;
21395                   offset:   -1 -5;
21396                }
21397                color: 0 0 0 128;
21398                color3: 0 0 0 0;
21399                text {
21400                   font: "Sans";
21401                   size: 8;
21402 //                  min: 1 1;
21403                   min: 0 1;
21404                   align: 0.0 0.5;
21405                   text_class: "list_item";
21406                }
21407             }
21408             description { state: "selected" 0.0;
21409                inherit: "default" 0.0;
21410                color: 128 128 128 255;
21411                color3: 0 0 0 32;
21412             }
21413          }
21414          part { name: "fg1";
21415             clip_to: "disclip";
21416             mouse_events: 0;
21417             description { state: "default" 0.0;
21418                visible: 0;
21419                color: 255 255 255 0;
21420                rel1.to: "bg";
21421                rel2.relative: 1.0 0.5;
21422                rel2.to: "bg";
21423                image {
21424                   normal: "bt_sm_hilight.png";
21425                   border: 6 6 6 0;
21426                }
21427             }
21428             description { state: "selected" 0.0;
21429                inherit: "default" 0.0;
21430                visible: 1;
21431                color: 255 255 255 255;
21432             }
21433          }
21434          part { name: "fg2";
21435             clip_to: "disclip";
21436             mouse_events: 0;
21437             description { state: "default" 0.0;
21438                visible: 0;
21439                color: 255 255 255 0;
21440                rel1.to: "bg";
21441                rel2.to: "bg";
21442                image {
21443                   normal: "bt_sm_shine.png";
21444                   border: 6 6 6 0;
21445                }
21446             }
21447             description { state: "selected" 0.0;
21448                inherit: "default" 0.0;
21449                visible: 1;
21450                color: 255 255 255 255;
21451             }
21452          }
21453          part { name: "disclip";
21454             type: RECT;
21455             description { state: "default" 0.0;
21456                rel1.to: "bg";
21457                rel2.to: "bg";
21458             }
21459             description { state: "disabled" 0.0;
21460                inherit: "default" 0.0;
21461                color: 255 255 255 64;
21462             }
21463          }
21464       }
21465       programs {
21466          // signal: elm,state,%s,active
21467          //   a "check" item named %s went active
21468          // signal: elm,state,%s,passive
21469          //   a "check" item named %s went passive
21470          // default is passive
21471          program {
21472             name:    "go_active";
21473             signal:  "elm,state,selected";
21474             source:  "elm";
21475             action:  STATE_SET "selected" 0.0;
21476             target:  "bg";
21477             target:  "fg1";
21478             target:  "fg2";
21479             target:  "elm.text";
21480             target:  "elm.text.sub";
21481          }
21482          program {
21483             name:    "go_passive";
21484             signal:  "elm,state,unselected";
21485             source:  "elm";
21486             action:  STATE_SET "default" 0.0;
21487             target:  "bg";
21488             target:  "fg1";
21489             target:  "fg2";
21490             target:  "elm.text";
21491             target:  "elm.text.sub";
21492             transition: LINEAR 0.1;
21493          }
21494          program {
21495             name:    "go_disabled";
21496             signal:  "elm,state,disabled";
21497             source:  "elm";
21498             action:  STATE_SET "disabled" 0.0;
21499             target:  "disclip";
21500          }
21501          program {
21502             name:    "go_enabled";
21503             signal:  "elm,state,enabled";
21504             source:  "elm";
21505             action:  STATE_SET "default" 0.0;
21506             target:  "disclip";
21507          }
21508       }
21509    }
21510
21511    group { name: "elm/genlist/tree/double_label/default";
21512       data.item: "stacking" "above";
21513       data.item: "selectraise" "on";
21514       data.item: "labels" "elm.text elm.text.sub";
21515       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21516       data.item: "treesize" "20";
21517 //      data.item: "states" "";
21518       images {
21519          image: "bt_sm_base1.png" COMP;
21520          image: "bt_sm_shine.png" COMP;
21521          image: "bt_sm_hilight.png" COMP;
21522          image: "ilist_1.png" COMP;
21523          image: "ilist_item_shadow.png" COMP;
21524          image: "icon_arrow_right.png" COMP;
21525          image: "icon_arrow_down.png" COMP;
21526       }
21527       parts {
21528          part {
21529             name:           "event";
21530             type:           RECT;
21531             repeat_events: 1;
21532             description {
21533                state: "default" 0.0;
21534                color: 0 0 0 0;
21535             }
21536          }
21537          part {
21538             name: "base_sh";
21539             mouse_events: 0;
21540             description {
21541                state: "default" 0.0;
21542                align: 0.0 0.0;
21543                min: 0 10;
21544                fixed: 1 1;
21545                rel1 {
21546                   to: "base";
21547                   relative: 0.0 1.0;
21548                   offset: 0 0;
21549                }
21550                rel2 {
21551                   to: "base";
21552                   relative: 1.0 1.0;
21553                   offset: -1 0;
21554                }
21555                image {
21556                   normal: "ilist_item_shadow.png";
21557                }
21558                fill.smooth: 0;
21559             }
21560          }
21561          part {
21562             name: "base";
21563             mouse_events: 0;
21564             description {
21565                state: "default" 0.0;
21566                image {
21567                   normal: "ilist_1.png";
21568                   border: 2 2 2 2;
21569                }
21570                fill.smooth: 0;
21571             }
21572          }
21573          part { name: "bg";
21574             clip_to: "disclip";
21575             mouse_events: 0;
21576             description { state: "default" 0.0;
21577                visible: 0;
21578                color: 255 255 255 0;
21579                rel1 {
21580                   relative: 0.0 0.0;
21581                   offset: -5 -5;
21582                }
21583                rel2 {
21584                   relative: 1.0 1.0;
21585                   offset: 4 4;
21586                }
21587                image {
21588                   normal: "bt_sm_base1.png";
21589                   border: 6 6 6 6;
21590                }
21591                image.middle: SOLID;
21592             }
21593             description { state: "selected" 0.0;
21594                inherit: "default" 0.0;
21595                visible: 1;
21596                color: 255 255 255 255;
21597                rel1 {
21598                   relative: 0.0 0.0;
21599                   offset: -2 -2;
21600                }
21601                rel2 {
21602                   relative: 1.0 1.0;
21603                   offset: 1 1;
21604                }
21605             }
21606          }
21607          part { name: "elm.swallow.pad";
21608             type: SWALLOW;
21609             description { state: "default" 0.0;
21610                fixed: 1 0;
21611                align: 0.0 0.5;
21612                rel1 {
21613                   relative: 0.0  0.0;
21614                   offset:   4    4;
21615                }
21616                rel2 {
21617                   relative: 0.0  1.0;
21618                   offset:   4   -5;
21619                }
21620             }
21621          }
21622          part { name: "arrow";
21623             clip_to: "disclip";
21624             ignore_flags: ON_HOLD;
21625             description { state: "default" 0.0;
21626                fixed: 1 0;
21627                align: 0.0 0.5;
21628                aspect: 1.0 1.0;
21629                rel1 {
21630                   to_x: "elm.swallow.pad";
21631                   relative: 1.0  0.0;
21632                   offset:   -1    4;
21633                }
21634                rel2 {
21635                   to_x: "elm.swallow.pad";
21636                   relative: 1.0  1.0;
21637                   offset:   -1   -5;
21638                }
21639                image.normal: "icon_arrow_right.png";
21640             }
21641             description { state: "active" 0.0;
21642                inherit: "default" 0.0;
21643                image.normal: "icon_arrow_down.png";
21644             }
21645          }
21646          part { name: "elm.swallow.icon";
21647             clip_to: "disclip";
21648             type: SWALLOW;
21649             description { state: "default" 0.0;
21650                fixed: 1 0;
21651                align: 0.0 0.5;
21652                rel1 {
21653                   to_x: "arrow";
21654                   relative: 1.0  0.0;
21655                   offset:   4    4;
21656                }
21657                rel2 {
21658                   to_x: "arrow";
21659                   relative: 1.0  1.0;
21660                   offset:   4   -5;
21661                }
21662             }
21663          }
21664          part { name: "elm.swallow.end";
21665             clip_to: "disclip";
21666             type: SWALLOW;
21667             description { state: "default" 0.0;
21668                fixed: 1 0;
21669                align: 1.0 0.5;
21670                aspect: 1.0 1.0;
21671                aspect_preference: VERTICAL;
21672                rel1 {
21673                   relative: 1.0  0.0;
21674                   offset:   -5    4;
21675                }
21676                rel2 {
21677                   relative: 1.0  1.0;
21678                   offset:   -5   -5;
21679                }
21680             }
21681          }
21682          part { name: "elm.text";
21683             clip_to: "disclip";
21684             type:           TEXT;
21685             effect:         SOFT_SHADOW;
21686             mouse_events:   0;
21687             scale: 1;
21688             description {
21689                state: "default" 0.0;
21690 //               min: 16 16;
21691                rel1 {
21692                   to_x:     "elm.swallow.icon";
21693                   relative: 1.0  0.0;
21694                   offset:   0 4;
21695                }
21696                rel2 {
21697                   to_x:     "elm.swallow.end";
21698                   relative: 0.0  0.5;
21699                   offset:   -1 -5;
21700                }
21701                color: 0 0 0 255;
21702                color3: 0 0 0 0;
21703                text {
21704                   font: "Sans";
21705                   size: 10;
21706                   min: 1 1;
21707 //                  min: 0 1;
21708                   align: 0.0 0.5;
21709                   text_class: "list_item";
21710                }
21711             }
21712             description { state: "selected" 0.0;
21713                inherit: "default" 0.0;
21714                color: 224 224 224 255;
21715                color3: 0 0 0 64;
21716             }
21717          }
21718          part { name: "elm.text.sub";
21719             clip_to: "disclip";
21720             type:           TEXT;
21721             mouse_events:   0;
21722             scale: 1;
21723             description {
21724                state: "default" 0.0;
21725 //               min: 16 16;
21726                rel1 {
21727                   to_x:     "elm.swallow.icon";
21728                   relative: 1.0  0.5;
21729                   offset:   0 4;
21730                }
21731                rel2 {
21732                   to_x:     "elm.swallow.end";
21733                   relative: 0.0  1.0;
21734                   offset:   -1 -5;
21735                }
21736                color: 0 0 0 128;
21737                color3: 0 0 0 0;
21738                text {
21739                   font: "Sans";
21740                   size: 8;
21741                   min: 1 1;
21742 //                  min: 0 1;
21743                   align: 0.0 0.5;
21744                   text_class: "list_item";
21745                }
21746             }
21747             description { state: "selected" 0.0;
21748                inherit: "default" 0.0;
21749                color: 128 128 128 255;
21750                color3: 0 0 0 32;
21751             }
21752          }
21753          part { name: "fg1";
21754             clip_to: "disclip";
21755             mouse_events: 0;
21756             description { state: "default" 0.0;
21757                visible: 0;
21758                color: 255 255 255 0;
21759                rel1.to: "bg";
21760                rel2.relative: 1.0 0.5;
21761                rel2.to: "bg";
21762                image {
21763                   normal: "bt_sm_hilight.png";
21764                   border: 6 6 6 0;
21765                }
21766             }
21767             description { state: "selected" 0.0;
21768                inherit: "default" 0.0;
21769                visible: 1;
21770                color: 255 255 255 255;
21771             }
21772          }
21773          part { name: "fg2";
21774             clip_to: "disclip";
21775             mouse_events: 0;
21776             description { state: "default" 0.0;
21777                visible: 0;
21778                color: 255 255 255 0;
21779                rel1.to: "bg";
21780                rel2.to: "bg";
21781                image {
21782                   normal: "bt_sm_shine.png";
21783                   border: 6 6 6 0;
21784                }
21785             }
21786             description { state: "selected" 0.0;
21787                inherit: "default" 0.0;
21788                visible: 1;
21789                color: 255 255 255 255;
21790             }
21791          }
21792          part { name: "disclip";
21793             type: RECT;
21794             description { state: "default" 0.0;
21795                rel1.to: "bg";
21796                rel2.to: "bg";
21797             }
21798             description { state: "disabled" 0.0;
21799                inherit: "default" 0.0;
21800                color: 255 255 255 64;
21801             }
21802          }
21803       }
21804       programs {
21805          // signal: elm,state,%s,active
21806          //   a "check" item named %s went active
21807          // signal: elm,state,%s,passive
21808          //   a "check" item named %s went passive
21809          // default is passive
21810          program {
21811             name:    "go_active";
21812             signal:  "elm,state,selected";
21813             source:  "elm";
21814             action:  STATE_SET "selected" 0.0;
21815             target:  "bg";
21816             target:  "fg1";
21817             target:  "fg2";
21818             target:  "elm.text";
21819             target:  "elm.text.sub";
21820          }
21821          program {
21822             name:    "go_passive";
21823             signal:  "elm,state,unselected";
21824             source:  "elm";
21825             action:  STATE_SET "default" 0.0;
21826             target:  "bg";
21827             target:  "fg1";
21828             target:  "fg2";
21829             target:  "elm.text";
21830             target:  "elm.text.sub";
21831             transition: LINEAR 0.1;
21832          }
21833          program {
21834             name:    "go_disabled";
21835             signal:  "elm,state,disabled";
21836             source:  "elm";
21837             action:  STATE_SET "disabled" 0.0;
21838             target:  "disclip";
21839          }
21840          program {
21841             name:    "go_enabled";
21842             signal:  "elm,state,enabled";
21843             source:  "elm";
21844             action:  STATE_SET "default" 0.0;
21845             target:  "disclip";
21846          }
21847          program {
21848             name:    "expand";
21849             signal:  "mouse,up,1";
21850             source:  "arrow";
21851             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21852          }
21853          program {
21854             name:    "go_expanded";
21855             signal:  "elm,state,expanded";
21856             source:  "elm";
21857             action:  STATE_SET "active" 0.0;
21858             target:  "arrow";
21859          }
21860          program {
21861             name:    "go_contracted";
21862             signal:  "elm,state,contracted";
21863             source:  "elm";
21864             action:  STATE_SET "default" 0.0;
21865             target:  "arrow";
21866          }
21867       }
21868    }
21869    group { name: "elm/genlist/tree_compress/double_label/default";
21870       data.item: "stacking" "above";
21871       data.item: "selectraise" "on";
21872       data.item: "labels" "elm.text elm.text.sub";
21873       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21874       data.item: "treesize" "20";
21875 //      data.item: "states" "";
21876       images {
21877          image: "bt_sm_base1.png" COMP;
21878          image: "bt_sm_shine.png" COMP;
21879          image: "bt_sm_hilight.png" COMP;
21880          image: "ilist_1.png" COMP;
21881          image: "ilist_item_shadow.png" COMP;
21882          image: "icon_arrow_right.png" COMP;
21883          image: "icon_arrow_down.png" COMP;
21884       }
21885       parts {
21886          part {
21887             name:           "event";
21888             type:           RECT;
21889             repeat_events: 1;
21890             description {
21891                state: "default" 0.0;
21892                color: 0 0 0 0;
21893             }
21894          }
21895          part {
21896             name: "base_sh";
21897             mouse_events: 0;
21898             description {
21899                state: "default" 0.0;
21900                align: 0.0 0.0;
21901                min: 0 10;
21902                fixed: 1 1;
21903                rel1 {
21904                   to: "base";
21905                   relative: 0.0 1.0;
21906                   offset: 0 0;
21907                }
21908                rel2 {
21909                   to: "base";
21910                   relative: 1.0 1.0;
21911                   offset: -1 0;
21912                }
21913                image {
21914                   normal: "ilist_item_shadow.png";
21915                }
21916                fill.smooth: 0;
21917             }
21918          }
21919          part {
21920             name: "base";
21921             mouse_events: 0;
21922             description {
21923                state: "default" 0.0;
21924                image {
21925                   normal: "ilist_1.png";
21926                   border: 2 2 2 2;
21927                }
21928                fill.smooth: 0;
21929             }
21930          }
21931          part { name: "bg";
21932             clip_to: "disclip";
21933             mouse_events: 0;
21934             description { state: "default" 0.0;
21935                visible: 0;
21936                color: 255 255 255 0;
21937                rel1 {
21938                   relative: 0.0 0.0;
21939                   offset: -5 -5;
21940                }
21941                rel2 {
21942                   relative: 1.0 1.0;
21943                   offset: 4 4;
21944                }
21945                image {
21946                   normal: "bt_sm_base1.png";
21947                   border: 6 6 6 6;
21948                }
21949                image.middle: SOLID;
21950             }
21951             description { state: "selected" 0.0;
21952                inherit: "default" 0.0;
21953                visible: 1;
21954                color: 255 255 255 255;
21955                rel1 {
21956                   relative: 0.0 0.0;
21957                   offset: -2 -2;
21958                }
21959                rel2 {
21960                   relative: 1.0 1.0;
21961                   offset: 1 1;
21962                }
21963             }
21964          }
21965          part { name: "elm.swallow.pad";
21966             type: SWALLOW;
21967             description { state: "default" 0.0;
21968                fixed: 1 0;
21969                align: 0.0 0.5;
21970                rel1 {
21971                   relative: 0.0  0.0;
21972                   offset:   4    4;
21973                }
21974                rel2 {
21975                   relative: 0.0  1.0;
21976                   offset:   4   -5;
21977                }
21978             }
21979          }
21980          part { name: "arrow";
21981             clip_to: "disclip";
21982             ignore_flags: ON_HOLD;
21983             description { state: "default" 0.0;
21984                fixed: 1 0;
21985                align: 0.0 0.5;
21986                aspect: 1.0 1.0;
21987                rel1 {
21988                   to_x: "elm.swallow.pad";
21989                   relative: 1.0  0.0;
21990                   offset:   -1    4;
21991                }
21992                rel2 {
21993                   to_x: "elm.swallow.pad";
21994                   relative: 1.0  1.0;
21995                   offset:   -1   -5;
21996                }
21997                image.normal: "icon_arrow_right.png";
21998             }
21999             description { state: "active" 0.0;
22000                inherit: "default" 0.0;
22001                image.normal: "icon_arrow_down.png";
22002             }
22003          }
22004          part { name: "elm.swallow.icon";
22005             clip_to: "disclip";
22006             type: SWALLOW;
22007             description { state: "default" 0.0;
22008                fixed: 1 0;
22009                align: 0.0 0.5;
22010                rel1 {
22011                   to_x: "arrow";
22012                   relative: 1.0  0.0;
22013                   offset:   4    4;
22014                }
22015                rel2 {
22016                   to_x: "arrow";
22017                   relative: 1.0  1.0;
22018                   offset:   4   -5;
22019                }
22020             }
22021          }
22022          part { name: "elm.swallow.end";
22023             clip_to: "disclip";
22024             type: SWALLOW;
22025             description { state: "default" 0.0;
22026                fixed: 1 0;
22027                align: 1.0 0.5;
22028                aspect: 1.0 1.0;
22029                aspect_preference: VERTICAL;
22030                rel1 {
22031                   relative: 1.0  0.0;
22032                   offset:   -5    4;
22033                }
22034                rel2 {
22035                   relative: 1.0  1.0;
22036                   offset:   -5   -5;
22037                }
22038             }
22039          }
22040          part { name: "elm.text";
22041             clip_to: "disclip";
22042             type:           TEXT;
22043             effect:         SOFT_SHADOW;
22044             mouse_events:   0;
22045             scale: 1;
22046             description {
22047                state: "default" 0.0;
22048 //               min: 16 16;
22049                rel1 {
22050                   to_x:     "elm.swallow.icon";
22051                   relative: 1.0  0.0;
22052                   offset:   0 4;
22053                }
22054                rel2 {
22055                   to_x:     "elm.swallow.end";
22056                   relative: 0.0  0.5;
22057                   offset:   -1 -5;
22058                }
22059                color: 0 0 0 255;
22060                color3: 0 0 0 0;
22061                text {
22062                   font: "Sans";
22063                   size: 10;
22064 //                  min: 1 1;
22065                   min: 0 1;
22066                   align: 0.0 0.5;
22067                   text_class: "list_item";
22068                }
22069             }
22070             description { state: "selected" 0.0;
22071                inherit: "default" 0.0;
22072                color: 224 224 224 255;
22073                color3: 0 0 0 64;
22074             }
22075          }
22076          part { name: "elm.text.sub";
22077             clip_to: "disclip";
22078             type:           TEXT;
22079             mouse_events:   0;
22080             scale: 1;
22081             description {
22082                state: "default" 0.0;
22083 //               min: 16 16;
22084                rel1 {
22085                   to_x:     "elm.swallow.icon";
22086                   relative: 1.0  0.5;
22087                   offset:   0 4;
22088                }
22089                rel2 {
22090                   to_x:     "elm.swallow.end";
22091                   relative: 0.0  1.0;
22092                   offset:   -1 -5;
22093                }
22094                color: 0 0 0 128;
22095                color3: 0 0 0 0;
22096                text {
22097                   font: "Sans";
22098                   size: 8;
22099 //                  min: 1 1;
22100                   min: 0 1;
22101                   align: 0.0 0.5;
22102                   text_class: "list_item";
22103                }
22104             }
22105             description { state: "selected" 0.0;
22106                inherit: "default" 0.0;
22107                color: 128 128 128 255;
22108                color3: 0 0 0 32;
22109             }
22110          }
22111          part { name: "fg1";
22112             clip_to: "disclip";
22113             mouse_events: 0;
22114             description { state: "default" 0.0;
22115                visible: 0;
22116                color: 255 255 255 0;
22117                rel1.to: "bg";
22118                rel2.relative: 1.0 0.5;
22119                rel2.to: "bg";
22120                image {
22121                   normal: "bt_sm_hilight.png";
22122                   border: 6 6 6 0;
22123                }
22124             }
22125             description { state: "selected" 0.0;
22126                inherit: "default" 0.0;
22127                visible: 1;
22128                color: 255 255 255 255;
22129             }
22130          }
22131          part { name: "fg2";
22132             clip_to: "disclip";
22133             mouse_events: 0;
22134             description { state: "default" 0.0;
22135                visible: 0;
22136                color: 255 255 255 0;
22137                rel1.to: "bg";
22138                rel2.to: "bg";
22139                image {
22140                   normal: "bt_sm_shine.png";
22141                   border: 6 6 6 0;
22142                }
22143             }
22144             description { state: "selected" 0.0;
22145                inherit: "default" 0.0;
22146                visible: 1;
22147                color: 255 255 255 255;
22148             }
22149          }
22150          part { name: "disclip";
22151             type: RECT;
22152             description { state: "default" 0.0;
22153                rel1.to: "bg";
22154                rel2.to: "bg";
22155             }
22156             description { state: "disabled" 0.0;
22157                inherit: "default" 0.0;
22158                color: 255 255 255 64;
22159             }
22160          }
22161       }
22162       programs {
22163          // signal: elm,state,%s,active
22164          //   a "check" item named %s went active
22165          // signal: elm,state,%s,passive
22166          //   a "check" item named %s went passive
22167          // default is passive
22168          program {
22169             name:    "go_active";
22170             signal:  "elm,state,selected";
22171             source:  "elm";
22172             action:  STATE_SET "selected" 0.0;
22173             target:  "bg";
22174             target:  "fg1";
22175             target:  "fg2";
22176             target:  "elm.text";
22177             target:  "elm.text.sub";
22178          }
22179          program {
22180             name:    "go_passive";
22181             signal:  "elm,state,unselected";
22182             source:  "elm";
22183             action:  STATE_SET "default" 0.0;
22184             target:  "bg";
22185             target:  "fg1";
22186             target:  "fg2";
22187             target:  "elm.text";
22188             target:  "elm.text.sub";
22189             transition: LINEAR 0.1;
22190          }
22191          program {
22192             name:    "go_disabled";
22193             signal:  "elm,state,disabled";
22194             source:  "elm";
22195             action:  STATE_SET "disabled" 0.0;
22196             target:  "disclip";
22197          }
22198          program {
22199             name:    "go_enabled";
22200             signal:  "elm,state,enabled";
22201             source:  "elm";
22202             action:  STATE_SET "default" 0.0;
22203             target:  "disclip";
22204          }
22205          program {
22206             name:    "expand";
22207             signal:  "mouse,up,1";
22208             source:  "arrow";
22209             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22210          }
22211          program {
22212             name:    "go_expanded";
22213             signal:  "elm,state,expanded";
22214             source:  "elm";
22215             action:  STATE_SET "active" 0.0;
22216             target:  "arrow";
22217          }
22218          program {
22219             name:    "go_contracted";
22220             signal:  "elm,state,contracted";
22221             source:  "elm";
22222             action:  STATE_SET "default" 0.0;
22223             target:  "arrow";
22224          }
22225       }
22226    }
22227    group { name: "elm/genlist/tree_odd/double_label/default";
22228       data.item: "stacking" "below";
22229       data.item: "selectraise" "on";
22230       data.item: "labels" "elm.text elm.text.sub";
22231       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22232       data.item: "treesize" "20";
22233 //      data.item: "states" "";
22234       images {
22235          image: "bt_sm_base1.png" COMP;
22236          image: "bt_sm_shine.png" COMP;
22237          image: "bt_sm_hilight.png" COMP;
22238          image: "ilist_2.png" COMP;
22239          image: "icon_arrow_right.png" COMP;
22240          image: "icon_arrow_down.png" COMP;
22241       }
22242       parts {
22243          part {
22244             name:           "event";
22245             type:           RECT;
22246             repeat_events: 1;
22247             description {
22248                state: "default" 0.0;
22249                color: 0 0 0 0;
22250             }
22251          }
22252          part {
22253             name: "base";
22254             mouse_events: 0;
22255             description {
22256                state: "default" 0.0;
22257                image {
22258                   normal: "ilist_2.png";
22259                   border: 2 2 2 2;
22260                }
22261                fill.smooth: 0;
22262             }
22263          }
22264          part { name: "bg";
22265             clip_to: "disclip";
22266             mouse_events: 0;
22267             description { state: "default" 0.0;
22268                visible: 0;
22269                color: 255 255 255 0;
22270                rel1 {
22271                   relative: 0.0 0.0;
22272                   offset: -5 -5;
22273                }
22274                rel2 {
22275                   relative: 1.0 1.0;
22276                   offset: 4 4;
22277                }
22278                image {
22279                   normal: "bt_sm_base1.png";
22280                   border: 6 6 6 6;
22281                }
22282                image.middle: SOLID;
22283             }
22284             description { state: "selected" 0.0;
22285                inherit: "default" 0.0;
22286                visible: 1;
22287                color: 255 255 255 255;
22288                rel1 {
22289                   relative: 0.0 0.0;
22290                   offset: -2 -2;
22291                }
22292                rel2 {
22293                   relative: 1.0 1.0;
22294                   offset: 1 1;
22295                }
22296             }
22297          }
22298          part { name: "elm.swallow.pad";
22299             type: SWALLOW;
22300             description { state: "default" 0.0;
22301                fixed: 1 0;
22302                align: 0.0 0.5;
22303                rel1 {
22304                   relative: 0.0  0.0;
22305                   offset:   4    4;
22306                }
22307                rel2 {
22308                   relative: 0.0  1.0;
22309                   offset:   4   -5;
22310                }
22311             }
22312          }
22313          part { name: "arrow";
22314             clip_to: "disclip";
22315             ignore_flags: ON_HOLD;
22316             description { state: "default" 0.0;
22317                fixed: 1 0;
22318                align: 0.0 0.5;
22319                aspect: 1.0 1.0;
22320                rel1 {
22321                   to_x: "elm.swallow.pad";
22322                   relative: 1.0  0.0;
22323                   offset:   -1    4;
22324                }
22325                rel2 {
22326                   to_x: "elm.swallow.pad";
22327                   relative: 1.0  1.0;
22328                   offset:   -1   -5;
22329                }
22330                image.normal: "icon_arrow_right.png";
22331             }
22332             description { state: "active" 0.0;
22333                inherit: "default" 0.0;
22334                image.normal: "icon_arrow_down.png";
22335             }
22336          }
22337          part { name: "elm.swallow.icon";
22338             clip_to: "disclip";
22339             type: SWALLOW;
22340             description { state: "default" 0.0;
22341                fixed: 1 0;
22342                align: 0.0 0.5;
22343                rel1 {
22344                   to_x: "arrow";
22345                   relative: 1.0  0.0;
22346                   offset:   4    4;
22347                }
22348                rel2 {
22349                   to_x: "arrow";
22350                   relative: 1.0  1.0;
22351                   offset:   4   -5;
22352                }
22353             }
22354          }
22355          part { name: "elm.swallow.end";
22356             clip_to: "disclip";
22357             type: SWALLOW;
22358             description { state: "default" 0.0;
22359                fixed: 1 0;
22360                align: 1.0 0.5;
22361                aspect: 1.0 1.0;
22362                aspect_preference: VERTICAL;
22363                rel1 {
22364                   relative: 1.0  0.0;
22365                   offset:   -5    4;
22366                }
22367                rel2 {
22368                   relative: 1.0  1.0;
22369                   offset:   -5   -5;
22370                }
22371             }
22372          }
22373          part { name: "elm.text";
22374             clip_to: "disclip";
22375             type:           TEXT;
22376             effect:         SOFT_SHADOW;
22377             mouse_events:   0;
22378             scale: 1;
22379             description {
22380                state: "default" 0.0;
22381 //               min: 16 16;
22382                rel1 {
22383                   to_x:     "elm.swallow.icon";
22384                   relative: 1.0  0.0;
22385                   offset:   0 4;
22386                }
22387                rel2 {
22388                   to_x:     "elm.swallow.end";
22389                   relative: 0.0  0.5;
22390                   offset:   -1 -5;
22391                }
22392                color: 0 0 0 255;
22393                color3: 0 0 0 0;
22394                text {
22395                   font: "Sans";
22396                   size: 10;
22397                   min: 1 1;
22398 //                  min: 0 1;
22399                   align: 0.0 0.5;
22400                   text_class: "list_item";
22401                }
22402             }
22403             description { state: "selected" 0.0;
22404                inherit: "default" 0.0;
22405                color: 224 224 224 255;
22406                color3: 0 0 0 64;
22407             }
22408          }
22409          part { name: "elm.text.sub";
22410             clip_to: "disclip";
22411             type:           TEXT;
22412             mouse_events:   0;
22413             scale: 1;
22414             description {
22415                state: "default" 0.0;
22416 //               min: 16 16;
22417                rel1 {
22418                   to_x:     "elm.swallow.icon";
22419                   relative: 1.0  0.5;
22420                   offset:   0 4;
22421                }
22422                rel2 {
22423                   to_x:     "elm.swallow.end";
22424                   relative: 0.0  1.0;
22425                   offset:   -1 -5;
22426                }
22427                color: 0 0 0 128;
22428                color3: 0 0 0 0;
22429                text {
22430                   font: "Sans";
22431                   size: 8;
22432                   min: 1 1;
22433 //                  min: 0 1;
22434                   align: 0.0 0.5;
22435                   text_class: "list_item";
22436                }
22437             }
22438             description { state: "selected" 0.0;
22439                inherit: "default" 0.0;
22440                color: 128 128 128 255;
22441                color3: 0 0 0 32;
22442             }
22443          }
22444          part { name: "fg1";
22445             clip_to: "disclip";
22446             mouse_events: 0;
22447             description { state: "default" 0.0;
22448                visible: 0;
22449                color: 255 255 255 0;
22450                rel1.to: "bg";
22451                rel2.relative: 1.0 0.5;
22452                rel2.to: "bg";
22453                image {
22454                   normal: "bt_sm_hilight.png";
22455                   border: 6 6 6 0;
22456                }
22457             }
22458             description { state: "selected" 0.0;
22459                inherit: "default" 0.0;
22460                visible: 1;
22461                color: 255 255 255 255;
22462             }
22463          }
22464          part { name: "fg2";
22465             clip_to: "disclip";
22466             mouse_events: 0;
22467             description { state: "default" 0.0;
22468                visible: 0;
22469                color: 255 255 255 0;
22470                rel1.to: "bg";
22471                rel2.to: "bg";
22472                image {
22473                   normal: "bt_sm_shine.png";
22474                   border: 6 6 6 0;
22475                }
22476             }
22477             description { state: "selected" 0.0;
22478                inherit: "default" 0.0;
22479                visible: 1;
22480                color: 255 255 255 255;
22481             }
22482          }
22483          part { name: "disclip";
22484             type: RECT;
22485             description { state: "default" 0.0;
22486                rel1.to: "bg";
22487                rel2.to: "bg";
22488             }
22489             description { state: "disabled" 0.0;
22490                inherit: "default" 0.0;
22491                color: 255 255 255 64;
22492             }
22493          }
22494       }
22495       programs {
22496          // signal: elm,state,%s,active
22497          //   a "check" item named %s went active
22498          // signal: elm,state,%s,passive
22499          //   a "check" item named %s went passive
22500          // default is passive
22501          program {
22502             name:    "go_active";
22503             signal:  "elm,state,selected";
22504             source:  "elm";
22505             action:  STATE_SET "selected" 0.0;
22506             target:  "bg";
22507             target:  "fg1";
22508             target:  "fg2";
22509             target:  "elm.text";
22510             target:  "elm.text.sub";
22511          }
22512          program {
22513             name:    "go_passive";
22514             signal:  "elm,state,unselected";
22515             source:  "elm";
22516             action:  STATE_SET "default" 0.0;
22517             target:  "bg";
22518             target:  "fg1";
22519             target:  "fg2";
22520             target:  "elm.text";
22521             target:  "elm.text.sub";
22522             transition: LINEAR 0.1;
22523          }
22524          program {
22525             name:    "go_disabled";
22526             signal:  "elm,state,disabled";
22527             source:  "elm";
22528             action:  STATE_SET "disabled" 0.0;
22529             target:  "disclip";
22530          }
22531          program {
22532             name:    "go_enabled";
22533             signal:  "elm,state,enabled";
22534             source:  "elm";
22535             action:  STATE_SET "default" 0.0;
22536             target:  "disclip";
22537          }
22538          program {
22539             name:    "expand";
22540             signal:  "mouse,up,1";
22541             source:  "arrow";
22542             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22543          }
22544          program {
22545             name:    "go_expanded";
22546             signal:  "elm,state,expanded";
22547             source:  "elm";
22548             action:  STATE_SET "active" 0.0;
22549             target:  "arrow";
22550          }
22551          program {
22552             name:    "go_contracted";
22553             signal:  "elm,state,contracted";
22554             source:  "elm";
22555             action:  STATE_SET "default" 0.0;
22556             target:  "arrow";
22557          }
22558       }
22559    }
22560
22561    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22562       data.item: "stacking" "above";
22563       data.item: "selectraise" "on";
22564       data.item: "labels" "elm.text";
22565       data.item: "icons" "elm.swallow.icon";
22566       data.item: "treesize" "20";
22567 //      data.item: "states" "";
22568       images {
22569          image: "bt_sm_base1.png" COMP;
22570          image: "bt_sm_shine.png" COMP;
22571          image: "bt_sm_hilight.png" COMP;
22572          image: "ilist_1.png" COMP;
22573          image: "ilist_item_shadow.png" COMP;
22574       }
22575       parts {
22576          part {
22577             name:           "event";
22578             type:           RECT;
22579             repeat_events: 1;
22580             description {
22581                state: "default" 0.0;
22582                color: 0 0 0 0;
22583             }
22584          }
22585          part {
22586             name: "base_sh";
22587             mouse_events: 0;
22588             description {
22589                state: "default" 0.0;
22590                align: 0.0 0.0;
22591                min: 0 10;
22592                fixed: 1 1;
22593                rel1 {
22594                   to: "base";
22595                   relative: 0.0 1.0;
22596                   offset: 0 0;
22597                }
22598                rel2 {
22599                   to: "base";
22600                   relative: 1.0 1.0;
22601                   offset: -1 0;
22602                }
22603                image {
22604                   normal: "ilist_item_shadow.png";
22605                }
22606                fill.smooth: 0;
22607             }
22608          }
22609          part {
22610             name: "base";
22611             mouse_events: 0;
22612             description {
22613                state: "default" 0.0;
22614                image {
22615                   normal: "ilist_1.png";
22616                   border: 2 2 2 2;
22617                }
22618                fill.smooth: 0;
22619             }
22620          }
22621          part { name: "bg";
22622             clip_to: "disclip";
22623             mouse_events: 0;
22624             description { state: "default" 0.0;
22625                visible: 0;
22626                color: 255 255 255 0;
22627                rel1 {
22628                   relative: 0.0 0.0;
22629                   offset: -5 -5;
22630                }
22631                rel2 {
22632                   relative: 1.0 1.0;
22633                   offset: 4 4;
22634                }
22635                image {
22636                   normal: "bt_sm_base1.png";
22637                   border: 6 6 6 6;
22638                }
22639                image.middle: SOLID;
22640             }
22641             description { state: "selected" 0.0;
22642                inherit: "default" 0.0;
22643                visible: 1;
22644                color: 255 255 255 255;
22645                rel1 {
22646                   relative: 0.0 0.0;
22647                   offset: -2 -2;
22648                }
22649                rel2 {
22650                   relative: 1.0 1.0;
22651                   offset: 1 1;
22652                }
22653             }
22654          }
22655          part { name: "elm.swallow.pad";
22656             type: SWALLOW;
22657             description { state: "default" 0.0;
22658                fixed: 1 0;
22659                align: 0.0 0.5;
22660                rel1 {
22661                   relative: 0.0  0.0;
22662                   offset:   4    4;
22663                }
22664                rel2 {
22665                   relative: 1.0  1.0;
22666                   offset:   -4   -5;
22667                }
22668             }
22669          }
22670          part { name: "elm.swallow.icon";
22671             clip_to: "disclip";
22672             type: SWALLOW;
22673             description { state: "default" 0.0;
22674                fixed: 1 0;
22675                align: 0.5 0.5;
22676                rel1 {
22677                   to_x: "elm.swallow.pad";
22678                   relative: 0.0  0.0;
22679                   offset:   -1    4;
22680                }
22681                rel2 {
22682                   to_x: "elm.swallow.pad";
22683                   relative: 1.0  1.0;
22684                   offset:   -1   -5;
22685                }
22686             }
22687          }
22688          part { name: "elm.text";
22689             clip_to: "disclip";
22690             type:           TEXT;
22691             effect:         SOFT_SHADOW;
22692             mouse_events:   0;
22693             scale: 1;
22694             description {
22695                state: "default" 0.0;
22696 //               min: 16 16;
22697                rel1 {
22698                   to_y:     "elm.swallow.icon";
22699                   relative: 0.0  1.0;
22700                   offset:   0 4;
22701                }
22702                rel2 {
22703                   relative: 1.0  1.0;
22704                   offset:   -5 -5;
22705                }
22706                color: 0 0 0 255;
22707                color3: 0 0 0 0;
22708                text {
22709                   font: "Sans";
22710                   size: 10;
22711                   min: 1 1;
22712 //                  min: 0 1;
22713                   align: 0.5 0.5;
22714                   text_class: "list_item";
22715                }
22716             }
22717             description { state: "selected" 0.0;
22718                inherit: "default" 0.0;
22719                color: 224 224 224 255;
22720                color3: 0 0 0 64;
22721             }
22722          }
22723          part { name: "fg1";
22724             clip_to: "disclip";
22725             mouse_events: 0;
22726             description { state: "default" 0.0;
22727                visible: 0;
22728                color: 255 255 255 0;
22729                rel1.to: "bg";
22730                rel2.relative: 1.0 0.5;
22731                rel2.to: "bg";
22732                image {
22733                   normal: "bt_sm_hilight.png";
22734                   border: 6 6 6 0;
22735                }
22736             }
22737             description { state: "selected" 0.0;
22738                inherit: "default" 0.0;
22739                visible: 1;
22740                color: 255 255 255 255;
22741             }
22742          }
22743          part { name: "fg2";
22744             clip_to: "disclip";
22745             mouse_events: 0;
22746             description { state: "default" 0.0;
22747                visible: 0;
22748                color: 255 255 255 0;
22749                rel1.to: "bg";
22750                rel2.to: "bg";
22751                image {
22752                   normal: "bt_sm_shine.png";
22753                   border: 6 6 6 0;
22754                }
22755             }
22756             description { state: "selected" 0.0;
22757                inherit: "default" 0.0;
22758                visible: 1;
22759                color: 255 255 255 255;
22760             }
22761          }
22762          part { name: "disclip";
22763             type: RECT;
22764             description { state: "default" 0.0;
22765                rel1.to: "bg";
22766                rel2.to: "bg";
22767             }
22768             description { state: "disabled" 0.0;
22769                inherit: "default" 0.0;
22770                color: 255 255 255 64;
22771             }
22772          }
22773       }
22774       programs {
22775          // signal: elm,state,%s,active
22776          //   a "check" item named %s went active
22777          // signal: elm,state,%s,passive
22778          //   a "check" item named %s went passive
22779          // default is passive
22780          program {
22781             name:    "go_active";
22782             signal:  "elm,state,selected";
22783             source:  "elm";
22784             action:  STATE_SET "selected" 0.0;
22785             target:  "bg";
22786             target:  "fg1";
22787             target:  "fg2";
22788             target:  "elm.text";
22789          }
22790          program {
22791             name:    "go_passive";
22792             signal:  "elm,state,unselected";
22793             source:  "elm";
22794             action:  STATE_SET "default" 0.0;
22795             target:  "bg";
22796             target:  "fg1";
22797             target:  "fg2";
22798             target:  "elm.text";
22799             transition: LINEAR 0.1;
22800          }
22801          program {
22802             name:    "go_disabled";
22803             signal:  "elm,state,disabled";
22804             source:  "elm";
22805             action:  STATE_SET "disabled" 0.0;
22806             target:  "disclip";
22807          }
22808          program {
22809             name:    "go_enabled";
22810             signal:  "elm,state,enabled";
22811             source:  "elm";
22812             action:  STATE_SET "default" 0.0;
22813             target:  "disclip";
22814          }
22815       }
22816    }
22817    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22818       data.item: "stacking" "below";
22819       data.item: "selectraise" "on";
22820       data.item: "labels" "elm.text";
22821       data.item: "icons" "elm.swallow.icon";
22822       data.item: "treesize" "20";
22823 //      data.item: "states" "";
22824       images {
22825          image: "bt_sm_base1.png" COMP;
22826          image: "bt_sm_shine.png" COMP;
22827          image: "bt_sm_hilight.png" COMP;
22828          image: "ilist_2.png" COMP;
22829       }
22830       parts {
22831          part { name: "event";
22832             type: RECT;
22833             repeat_events: 1;
22834             description {
22835                state: "default" 0.0;
22836                color: 0 0 0 0;
22837             }
22838          }
22839          part {
22840             name: "base";
22841             mouse_events: 0;
22842             description {
22843                state: "default" 0.0;
22844                image {
22845                   normal: "ilist_2.png";
22846                   border: 2 2 2 2;
22847                }
22848                fill.smooth: 0;
22849             }
22850          }
22851          part { name: "bg";
22852             clip_to: "disclip";
22853             mouse_events: 0;
22854             description { state: "default" 0.0;
22855                visible: 0;
22856                color: 255 255 255 0;
22857                rel1 {
22858                   relative: 0.0 0.0;
22859                   offset: -5 -5;
22860                }
22861                rel2 {
22862                   relative: 1.0 1.0;
22863                   offset: 4 4;
22864                }
22865                image {
22866                   normal: "bt_sm_base1.png";
22867                   border: 6 6 6 6;
22868                }
22869                image.middle: SOLID;
22870             }
22871             description { state: "selected" 0.0;
22872                inherit: "default" 0.0;
22873                visible: 1;
22874                color: 255 255 255 255;
22875                rel1 {
22876                   relative: 0.0 0.0;
22877                   offset: -2 -2;
22878                }
22879                rel2 {
22880                   relative: 1.0 1.0;
22881                   offset: 1 1;
22882                }
22883             }
22884          }
22885          part { name: "elm.swallow.pad";
22886             type: SWALLOW;
22887             description { state: "default" 0.0;
22888                fixed: 1 0;
22889                align: 0.0 0.5;
22890                rel1 {
22891                   relative: 0.0  0.0;
22892                   offset:   4    4;
22893                }
22894                rel2 {
22895                   relative: 1.0  1.0;
22896                   offset:   -4   -5;
22897                }
22898             }
22899          }
22900          part { name: "elm.swallow.icon";
22901             clip_to: "disclip";
22902             type: SWALLOW;
22903             description { state: "default" 0.0;
22904                fixed: 1 0;
22905                align: 0.5 0.5;
22906                rel1 {
22907                   to_x: "elm.swallow.pad";
22908                   relative: 0.0  0.0;
22909                   offset:   -1    4;
22910                }
22911                rel2 {
22912                   to_x: "elm.swallow.pad";
22913                   relative: 1.0  1.0;
22914                   offset:   -1   -5;
22915                }
22916             }
22917          }
22918          part { name: "elm.text";
22919             clip_to: "disclip";
22920             type:           TEXT;
22921             effect:         SOFT_SHADOW;
22922             mouse_events:   0;
22923             scale: 1;
22924             description {
22925                state: "default" 0.0;
22926 //               min:      16 16;
22927                rel1 {
22928                   to_y:     "elm.swallow.icon";
22929                   relative: 0.0  1.0;
22930                   offset:   0 4;
22931                }
22932                rel2 {
22933                   relative: 1.0  1.0;
22934                   offset:   -5 -5;
22935                }
22936                color: 0 0 0 255;
22937                color3: 0 0 0 0;
22938                text {
22939                   font: "Sans";
22940                   size: 10;
22941                   min: 1 1;
22942 //                  min: 0 1;
22943                   align: 0.5 0.5;
22944                   text_class: "list_item";
22945                }
22946             }
22947             description { state: "selected" 0.0;
22948                inherit: "default" 0.0;
22949                color: 224 224 224 255;
22950                color3: 0 0 0 64;
22951             }
22952          }
22953          part { name: "fg1";
22954             clip_to: "disclip";
22955             mouse_events: 0;
22956             description { state: "default" 0.0;
22957                visible: 0;
22958                color: 255 255 255 0;
22959                rel1.to: "bg";
22960                rel2.relative: 1.0 0.5;
22961                rel2.to: "bg";
22962                image {
22963                   normal: "bt_sm_hilight.png";
22964                   border: 6 6 6 0;
22965                }
22966             }
22967             description { state: "selected" 0.0;
22968                inherit: "default" 0.0;
22969                visible: 1;
22970                color: 255 255 255 255;
22971             }
22972          }
22973          part { name: "fg2";
22974             clip_to: "disclip";
22975             mouse_events: 0;
22976             description { state: "default" 0.0;
22977                visible: 0;
22978                color: 255 255 255 0;
22979                rel1.to: "bg";
22980                rel2.to: "bg";
22981                image {
22982                   normal: "bt_sm_shine.png";
22983                   border: 6 6 6 0;
22984                }
22985             }
22986             description { state: "selected" 0.0;
22987                inherit: "default" 0.0;
22988                visible: 1;
22989                color: 255 255 255 255;
22990             }
22991          }
22992          part { name: "disclip";
22993             type: RECT;
22994             description { state: "default" 0.0;
22995                rel1.to: "bg";
22996                rel2.to: "bg";
22997             }
22998             description { state: "disabled" 0.0;
22999                inherit: "default" 0.0;
23000                color: 255 255 255 64;
23001             }
23002          }
23003       }
23004       programs {
23005          // signal: elm,state,%s,active
23006          //   a "check" item named %s went active
23007          // signal: elm,state,%s,passive
23008          //   a "check" item named %s went passive
23009          // default is passive
23010          program {
23011             name:    "go_active";
23012             signal:  "elm,state,selected";
23013             source:  "elm";
23014             action:  STATE_SET "selected" 0.0;
23015             target:  "bg";
23016             target:  "fg1";
23017             target:  "fg2";
23018             target:  "elm.text";
23019          }
23020          program {
23021             name:    "go_passive";
23022             signal:  "elm,state,unselected";
23023             source:  "elm";
23024             action:  STATE_SET "default" 0.0;
23025             target:  "bg";
23026             target:  "fg1";
23027             target:  "fg2";
23028             target:  "elm.text";
23029             transition: LINEAR 0.1;
23030          }
23031          program {
23032             name:    "go_disabled";
23033             signal:  "elm,state,disabled";
23034             source:  "elm";
23035             action:  STATE_SET "disabled" 0.0;
23036             target:  "disclip";
23037          }
23038          program {
23039             name:    "go_enabled";
23040             signal:  "elm,state,enabled";
23041             source:  "elm";
23042             action:  STATE_SET "default" 0.0;
23043             target:  "disclip";
23044          }
23045       }
23046    }
23047
23048    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
23049       data.item: "stacking" "above";
23050       data.item: "selectraise" "on";
23051       data.item: "labels" "elm.text";
23052       data.item: "icons" "elm.swallow.icon";
23053       data.item: "treesize" "20";
23054 //      data.item: "states" "";
23055       images {
23056          image: "bt_sm_base1.png" COMP;
23057          image: "bt_sm_shine.png" COMP;
23058          image: "bt_sm_hilight.png" COMP;
23059          image: "ilist_1.png" COMP;
23060          image: "ilist_item_shadow.png" COMP;
23061          image: "icon_arrow_right.png" COMP;
23062          image: "icon_arrow_down.png" COMP;
23063       }
23064       parts {
23065          part {
23066             name:           "event";
23067             type:           RECT;
23068             repeat_events: 1;
23069             description {
23070                state: "default" 0.0;
23071                color: 0 0 0 0;
23072             }
23073          }
23074          part {
23075             name: "base_sh";
23076             mouse_events: 0;
23077             description {
23078                state: "default" 0.0;
23079                align: 0.0 0.0;
23080                min: 0 10;
23081                fixed: 1 1;
23082                rel1 {
23083                   to: "base";
23084                   relative: 0.0 1.0;
23085                   offset: 0 0;
23086                }
23087                rel2 {
23088                   to: "base";
23089                   relative: 1.0 1.0;
23090                   offset: -1 0;
23091                }
23092                image {
23093                   normal: "ilist_item_shadow.png";
23094                }
23095                fill.smooth: 0;
23096             }
23097          }
23098          part {
23099             name: "base";
23100             mouse_events: 0;
23101             description {
23102                state: "default" 0.0;
23103                image {
23104                   normal: "ilist_1.png";
23105                   border: 2 2 2 2;
23106                }
23107                fill.smooth: 0;
23108             }
23109          }
23110          part { name: "bg";
23111             clip_to: "disclip";
23112             mouse_events: 0;
23113             description { state: "default" 0.0;
23114                visible: 0;
23115                color: 255 255 255 0;
23116                rel1 {
23117                   relative: 0.0 0.0;
23118                   offset: -5 -5;
23119                }
23120                rel2 {
23121                   relative: 1.0 1.0;
23122                   offset: 4 4;
23123                }
23124                image {
23125                   normal: "bt_sm_base1.png";
23126                   border: 6 6 6 6;
23127                }
23128                image.middle: SOLID;
23129             }
23130             description { state: "selected" 0.0;
23131                inherit: "default" 0.0;
23132                visible: 1;
23133                color: 255 255 255 255;
23134                rel1 {
23135                   relative: 0.0 0.0;
23136                   offset: -2 -2;
23137                }
23138                rel2 {
23139                   relative: 1.0 1.0;
23140                   offset: 1 1;
23141                }
23142             }
23143          }
23144          part { name: "elm.swallow.pad";
23145             type: SWALLOW;
23146             description { state: "default" 0.0;
23147                fixed: 1 0;
23148                align: 0.0 0.5;
23149                rel1 {
23150                   relative: 0.0  0.0;
23151                   offset:   4    4;
23152                }
23153                rel2 {
23154                   relative: 0.0  1.0;
23155                   offset:   4   -5;
23156                }
23157             }
23158          }
23159          part { name: "arrow";
23160             clip_to: "disclip";
23161             ignore_flags: ON_HOLD;
23162             description { state: "default" 0.0;
23163                fixed: 1 0;
23164                align: 0.0 0.5;
23165                aspect: 1.0 1.0;
23166                rel1 {
23167                   to_x: "elm.swallow.pad";
23168                   relative: 1.0  0.0;
23169                   offset:   -1    4;
23170                }
23171                rel2 {
23172                   to_x: "elm.swallow.pad";
23173                   relative: 1.0  1.0;
23174                   offset:   -1   -5;
23175                }
23176                image.normal: "icon_arrow_right.png";
23177             }
23178             description { state: "active" 0.0;
23179                inherit: "default" 0.0;
23180                image.normal: "icon_arrow_down.png";
23181             }
23182          }
23183          part { name: "elm.swallow.icon";
23184             clip_to: "disclip";
23185             type: SWALLOW;
23186             description { state: "default" 0.0;
23187                fixed: 1 0;
23188                align: 0.5 0.5;
23189                rel1 {
23190                   to_x: "arrow";
23191                   relative: 1.0  0.0;
23192                   offset:   4    4;
23193                }
23194                rel2 {
23195                   relative: 1.0  1.0;
23196                   offset:   -4   -5;
23197                }
23198             }
23199          }
23200          part { name: "elm.text";
23201             clip_to: "disclip";
23202             type:           TEXT;
23203             effect:         SOFT_SHADOW;
23204             mouse_events:   0;
23205             scale: 1;
23206             description {
23207                state: "default" 0.0;
23208 //               min: 16 16;
23209                rel1 {
23210                   to_y:     "elm.swallow.icon";
23211                   relative: 0.0  1.0;
23212                   offset:   0 4;
23213                }
23214                rel2 {
23215                   relative: 1.0  1.0;
23216                   offset:   -5 -5;
23217                }
23218                color: 0 0 0 255;
23219                color3: 0 0 0 0;
23220                text {
23221                   font: "Sans";
23222                   size: 10;
23223                   min: 1 1;
23224 //                  min: 0 1;
23225                   align: 0.5 0.5;
23226                   text_class: "list_item";
23227                }
23228             }
23229             description { state: "selected" 0.0;
23230                inherit: "default" 0.0;
23231                color: 224 224 224 255;
23232                color3: 0 0 0 64;
23233             }
23234          }
23235          part { name: "fg1";
23236             clip_to: "disclip";
23237             mouse_events: 0;
23238             description { state: "default" 0.0;
23239                visible: 0;
23240                color: 255 255 255 0;
23241                rel1.to: "bg";
23242                rel2.relative: 1.0 0.5;
23243                rel2.to: "bg";
23244                image {
23245                   normal: "bt_sm_hilight.png";
23246                   border: 6 6 6 0;
23247                }
23248             }
23249             description { state: "selected" 0.0;
23250                inherit: "default" 0.0;
23251                visible: 1;
23252                color: 255 255 255 255;
23253             }
23254          }
23255          part { name: "fg2";
23256             clip_to: "disclip";
23257             mouse_events: 0;
23258             description { state: "default" 0.0;
23259                visible: 0;
23260                color: 255 255 255 0;
23261                rel1.to: "bg";
23262                rel2.to: "bg";
23263                image {
23264                   normal: "bt_sm_shine.png";
23265                   border: 6 6 6 0;
23266                }
23267             }
23268             description { state: "selected" 0.0;
23269                inherit: "default" 0.0;
23270                visible: 1;
23271                color: 255 255 255 255;
23272             }
23273          }
23274          part { name: "disclip";
23275             type: RECT;
23276             description { state: "default" 0.0;
23277                rel1.to: "bg";
23278                rel2.to: "bg";
23279             }
23280             description { state: "disabled" 0.0;
23281                inherit: "default" 0.0;
23282                color: 255 255 255 64;
23283             }
23284          }
23285       }
23286       programs {
23287          // signal: elm,state,%s,active
23288          //   a "check" item named %s went active
23289          // signal: elm,state,%s,passive
23290          //   a "check" item named %s went passive
23291          // default is passive
23292          program {
23293             name:    "go_active";
23294             signal:  "elm,state,selected";
23295             source:  "elm";
23296             action:  STATE_SET "selected" 0.0;
23297             target:  "bg";
23298             target:  "fg1";
23299             target:  "fg2";
23300             target:  "elm.text";
23301          }
23302          program {
23303             name:    "go_passive";
23304             signal:  "elm,state,unselected";
23305             source:  "elm";
23306             action:  STATE_SET "default" 0.0;
23307             target:  "bg";
23308             target:  "fg1";
23309             target:  "fg2";
23310             target:  "elm.text";
23311             transition: LINEAR 0.1;
23312          }
23313          program {
23314             name:    "go_disabled";
23315             signal:  "elm,state,disabled";
23316             source:  "elm";
23317             action:  STATE_SET "disabled" 0.0;
23318             target:  "disclip";
23319          }
23320          program {
23321             name:    "go_enabled";
23322             signal:  "elm,state,enabled";
23323             source:  "elm";
23324             action:  STATE_SET "default" 0.0;
23325             target:  "disclip";
23326          }
23327          program {
23328             name:    "expand";
23329             signal:  "mouse,up,1";
23330             source:  "arrow";
23331             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23332          }
23333          program {
23334             name:    "go_expanded";
23335             signal:  "elm,state,expanded";
23336             source:  "elm";
23337             action:  STATE_SET "active" 0.0;
23338             target:  "arrow";
23339          }
23340          program {
23341             name:    "go_contracted";
23342             signal:  "elm,state,contracted";
23343             source:  "elm";
23344             action:  STATE_SET "default" 0.0;
23345             target:  "arrow";
23346          }
23347       }
23348    }
23349    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23350       data.item: "stacking" "below";
23351       data.item: "selectraise" "on";
23352       data.item: "labels" "elm.text";
23353       data.item: "icons" "elm.swallow.icon";
23354       data.item: "treesize" "20";
23355 //      data.item: "states" "";
23356       images {
23357          image: "bt_sm_base1.png" COMP;
23358          image: "bt_sm_shine.png" COMP;
23359          image: "bt_sm_hilight.png" COMP;
23360          image: "ilist_2.png" COMP;
23361          image: "icon_arrow_right.png" COMP;
23362          image: "icon_arrow_down.png" COMP;
23363       }
23364       parts {
23365          part {
23366             name:           "event";
23367             type:           RECT;
23368             repeat_events: 1;
23369             description {
23370                state: "default" 0.0;
23371                color: 0 0 0 0;
23372             }
23373          }
23374          part {
23375             name: "base";
23376             mouse_events: 0;
23377             description {
23378                state: "default" 0.0;
23379                image {
23380                   normal: "ilist_2.png";
23381                   border: 2 2 2 2;
23382                }
23383                fill.smooth: 0;
23384             }
23385          }
23386          part { name: "bg";
23387             clip_to: "disclip";
23388             mouse_events: 0;
23389             description { state: "default" 0.0;
23390                visible: 0;
23391                color: 255 255 255 0;
23392                rel1 {
23393                   relative: 0.0 0.0;
23394                   offset: -5 -5;
23395                }
23396                rel2 {
23397                   relative: 1.0 1.0;
23398                   offset: 4 4;
23399                }
23400                image {
23401                   normal: "bt_sm_base1.png";
23402                   border: 6 6 6 6;
23403                }
23404                image.middle: SOLID;
23405             }
23406             description { state: "selected" 0.0;
23407                inherit: "default" 0.0;
23408                visible: 1;
23409                color: 255 255 255 255;
23410                rel1 {
23411                   relative: 0.0 0.0;
23412                   offset: -2 -2;
23413                }
23414                rel2 {
23415                   relative: 1.0 1.0;
23416                   offset: 1 1;
23417                }
23418             }
23419          }
23420          part { name: "elm.swallow.pad";
23421             type: SWALLOW;
23422             description { state: "default" 0.0;
23423                fixed: 1 0;
23424                align: 0.0 0.5;
23425                rel1 {
23426                   relative: 0.0  0.0;
23427                   offset:   4    4;
23428                }
23429                rel2 {
23430                   relative: 0.0  1.0;
23431                   offset:   4   -5;
23432                }
23433             }
23434          }
23435          part { name: "arrow";
23436             clip_to: "disclip";
23437             ignore_flags: ON_HOLD;
23438             description { state: "default" 0.0;
23439                fixed: 1 0;
23440                align: 0.0 0.5;
23441                aspect: 1.0 1.0;
23442                rel1 {
23443                   to_x: "elm.swallow.pad";
23444                   relative: 1.0  0.0;
23445                   offset:   -1    4;
23446                }
23447                rel2 {
23448                   to_x: "elm.swallow.pad";
23449                   relative: 1.0  1.0;
23450                   offset:   -1   -5;
23451                }
23452                image.normal: "icon_arrow_right.png";
23453             }
23454             description { state: "active" 0.0;
23455                inherit: "default" 0.0;
23456                image.normal: "icon_arrow_down.png";
23457             }
23458          }
23459          part { name: "elm.swallow.icon";
23460             clip_to: "disclip";
23461             type: SWALLOW;
23462             description { state: "default" 0.0;
23463                fixed: 1 0;
23464                align: 0.5 0.5;
23465                rel1 {
23466                   to_x: "arrow";
23467                   relative: 1.0  0.0;
23468                   offset:   4    4;
23469                }
23470                rel2 {
23471                   relative: 1.0  1.0;
23472                   offset:   -4   -5;
23473                }
23474             }
23475          }
23476          part { name: "elm.text";
23477             clip_to: "disclip";
23478             type:           TEXT;
23479             effect:         SOFT_SHADOW;
23480             mouse_events:   0;
23481             scale: 1;
23482             description {
23483                state: "default" 0.0;
23484 //               min: 16 16;
23485                rel1 {
23486                   to_y:     "elm.swallow.icon";
23487                   relative: 0.0  1.0;
23488                   offset:   0 4;
23489                }
23490                rel2 {
23491                   relative: 1.0  1.0;
23492                   offset:   -5 -5;
23493                }
23494                color: 0 0 0 255;
23495                color3: 0 0 0 0;
23496                text {
23497                   font: "Sans";
23498                   size: 10;
23499                   min: 1 1;
23500 //                  min: 0 1;
23501                   align: 0.5 0.5;
23502                   text_class: "list_item";
23503                }
23504             }
23505             description { state: "selected" 0.0;
23506                inherit: "default" 0.0;
23507                color: 224 224 224 255;
23508                color3: 0 0 0 64;
23509             }
23510          }
23511          part { name: "fg1";
23512             clip_to: "disclip";
23513             mouse_events: 0;
23514             description { state: "default" 0.0;
23515                visible: 0;
23516                color: 255 255 255 0;
23517                rel1.to: "bg";
23518                rel2.relative: 1.0 0.5;
23519                rel2.to: "bg";
23520                image {
23521                   normal: "bt_sm_hilight.png";
23522                   border: 6 6 6 0;
23523                }
23524             }
23525             description { state: "selected" 0.0;
23526                inherit: "default" 0.0;
23527                visible: 1;
23528                color: 255 255 255 255;
23529             }
23530          }
23531          part { name: "fg2";
23532             clip_to: "disclip";
23533             mouse_events: 0;
23534             description { state: "default" 0.0;
23535                visible: 0;
23536                color: 255 255 255 0;
23537                rel1.to: "bg";
23538                rel2.to: "bg";
23539                image {
23540                   normal: "bt_sm_shine.png";
23541                   border: 6 6 6 0;
23542                }
23543             }
23544             description { state: "selected" 0.0;
23545                inherit: "default" 0.0;
23546                visible: 1;
23547                color: 255 255 255 255;
23548             }
23549          }
23550          part { name: "disclip";
23551             type: RECT;
23552             description { state: "default" 0.0;
23553                rel1.to: "bg";
23554                rel2.to: "bg";
23555             }
23556             description { state: "disabled" 0.0;
23557                inherit: "default" 0.0;
23558                color: 255 255 255 64;
23559             }
23560          }
23561       }
23562       programs {
23563          // signal: elm,state,%s,active
23564          //   a "check" item named %s went active
23565          // signal: elm,state,%s,passive
23566          //   a "check" item named %s went passive
23567          // default is passive
23568          program {
23569             name:    "go_active";
23570             signal:  "elm,state,selected";
23571             source:  "elm";
23572             action:  STATE_SET "selected" 0.0;
23573             target:  "bg";
23574             target:  "fg1";
23575             target:  "fg2";
23576             target:  "elm.text";
23577          }
23578          program {
23579             name:    "go_passive";
23580             signal:  "elm,state,unselected";
23581             source:  "elm";
23582             action:  STATE_SET "default" 0.0;
23583             target:  "bg";
23584             target:  "fg1";
23585             target:  "fg2";
23586             target:  "elm.text";
23587             transition: LINEAR 0.1;
23588          }
23589          program {
23590             name:    "go_disabled";
23591             signal:  "elm,state,disabled";
23592             source:  "elm";
23593             action:  STATE_SET "disabled" 0.0;
23594             target:  "disclip";
23595          }
23596          program {
23597             name:    "go_enabled";
23598             signal:  "elm,state,enabled";
23599             source:  "elm";
23600             action:  STATE_SET "default" 0.0;
23601             target:  "disclip";
23602          }
23603          program {
23604             name:    "expand";
23605             signal:  "mouse,up,1";
23606             source:  "arrow";
23607             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23608          }
23609          program {
23610             name:    "go_expanded";
23611             signal:  "elm,state,expanded";
23612             source:  "elm";
23613             action:  STATE_SET "active" 0.0;
23614             target:  "arrow";
23615          }
23616          program {
23617             name:    "go_contracted";
23618             signal:  "elm,state,contracted";
23619             source:  "elm";
23620             action:  STATE_SET "default" 0.0;
23621             target:  "arrow";
23622          }
23623       }
23624    }
23625
23626
23627 ///////////////////////////////////////////////////////////////////////////////
23628    group { name: "elm/check/base/default";
23629       images {
23630          image: "check_base.png" COMP;
23631          image: "check.png" COMP;
23632          image: "check2.png" COMP;
23633       }
23634       parts {
23635          part { name: "bg";
23636             mouse_events: 0;
23637             scale: 1;
23638             description { state: "default" 0.0;
23639                rel1.offset: 1 1;
23640                rel2.relative: 0.0 1.0;
23641                rel2.offset: 1 -2;
23642                align: 0.0 0.5;
23643                min: 16 16;
23644                max: 16 16;
23645                aspect: 1.0 1.0;
23646                aspect_preference: VERTICAL;
23647                image {
23648                   normal: "check_base.png";
23649                   border: 5 5 5 5;
23650                   middle: 0;
23651                }
23652                fill.smooth : 0;
23653             }
23654          }
23655          part { name: "check";
23656             mouse_events: 0;
23657             scale: 1;
23658             description { state: "default" 0.0;
23659                rel1 {
23660                   to: "bg";
23661                   offset: 1 1;
23662                }
23663                rel2 {
23664                   to: "bg";
23665                   offset: -2 -2;
23666                }
23667                visible: 0;
23668                color: 255 255 255 255;
23669                image.normal: "check.png";
23670             }
23671             description { state: "visible" 0.0;
23672                inherit: "default" 0.0;
23673                visible: 1;
23674             }
23675             description { state: "disabled" 0.0;
23676                inherit: "default" 0.0;
23677                visible: 0;
23678                color: 128 128 128 128;
23679             }
23680             description { state: "disabled_visible" 0.0;
23681                inherit: "default" 0.0;
23682                color: 128 128 128 128;
23683                visible: 1;
23684             }
23685          }
23686          part { name: "elm.swallow.content";
23687             type: SWALLOW;
23688             description { state: "default" 0.0;
23689                fixed: 1 0;
23690                visible: 0;
23691                align: 0.0 0.5;
23692           rel1.to_x: "bg";
23693                rel1.relative: 1.0 0.0;
23694                rel1.offset: 1 1;
23695           rel2.to_x: "bg";
23696                rel2.offset: 1 -2;
23697                rel2.relative: 1.0 1.0;
23698             }
23699             description { state: "visible" 0.0;
23700                inherit: "default" 0.0;
23701           fixed: 1 0;
23702                visible: 1;
23703                aspect: 1.0 1.0;
23704             }
23705             description { state: "disabled" 0.0;
23706                inherit: "default" 0.0;
23707                color: 128 128 128 128;
23708             }
23709             description { state: "disabled_visible" 0.0;
23710                inherit: "default" 0.0;
23711                color: 128 128 128 128;
23712           fixed: 1 0;
23713                visible: 1;
23714                aspect: 1.0 1.0;
23715             }
23716          }
23717          part { name: "elm.text";
23718             type: TEXT;
23719             mouse_events: 0;
23720             scale: 1;
23721             description { state: "default" 0.0;
23722                visible: 0;
23723                rel1.to_x: "elm.swallow.content";
23724                rel1.relative: 1.0 0.0;
23725                rel1.offset: 1 1;
23726                rel2.relative: 1.0 1.0;
23727                rel2.offset: -2 -2;
23728                color: 0 0 0 255;
23729                text {
23730                   font: "Sans,Edje-Vera";
23731                   size: 10;
23732                   min: 0 1;
23733                   align: -1.0 0.5;
23734                }
23735             }
23736             description { state: "visible" 0.0;
23737                inherit: "default" 0.0;
23738                visible: 1;
23739                text.min: 1 1;
23740             }
23741             description { state: "disabled" 0.0;
23742                inherit: "default" 0.0;
23743                color: 0 0 0 128;
23744                color3: 0 0 0 0;
23745             }
23746             description { state: "disabled_visible" 0.0;
23747                inherit: "default" 0.0;
23748                color: 0 0 0 128;
23749                color3: 0 0 0 0;
23750                visible: 1;
23751                text.min: 1 1;
23752             }
23753          }
23754          part { name: "events";
23755             type: RECT;
23756             ignore_flags: ON_HOLD;
23757             description { state: "default" 0.0;
23758                color: 0 0 0 0;
23759             }
23760          }
23761           part { name: "disabler";
23762             type: RECT;
23763             description { state: "default" 0.0;
23764                color: 0 0 0 0;
23765                visible: 0;
23766             }
23767             description { state: "disabled" 0.0;
23768                inherit: "default" 0.0;
23769                visible: 1;
23770             }
23771          }
23772       }
23773       programs {
23774          program { name: "click";
23775             signal: "mouse,up,1";
23776             source: "events";
23777             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23778          }
23779          program { name: "check_on";
23780             signal: "elm,state,check,on";
23781             source: "elm";
23782             action:  STATE_SET "visible" 0.0;
23783             target: "check";
23784          }
23785          program { name: "check_off";
23786             signal: "elm,state,check,off";
23787             source: "elm";
23788             action:  STATE_SET "default" 0.0;
23789             target: "check";
23790          }
23791          program { name: "text_show";
23792             signal: "elm,state,text,visible";
23793             source: "elm";
23794             action:  STATE_SET "visible" 0.0;
23795             target: "elm.text";
23796          }
23797          program { name: "text_hide";
23798             signal: "elm,state,text,hidden";
23799             source: "elm";
23800             action:  STATE_SET "default" 0.0;
23801             target: "elm.text";
23802          }
23803          program { name: "icon_show";
23804             signal: "elm,state,icon,visible";
23805             source: "elm";
23806             action:  STATE_SET "visible" 0.0;
23807             target: "elm.swallow.content";
23808          }
23809          program { name: "icon_hide";
23810             signal: "elm,state,icon,hidden";
23811             source: "elm";
23812             action:  STATE_SET "default" 0.0;
23813             target: "elm.swallow.content";
23814          }
23815          program { name: "disable";
23816             signal: "elm,state,disabled";
23817             source: "elm";
23818             action: STATE_SET "disabled" 0.0;
23819             target: "disabler";
23820             after: "disable_text";
23821          }
23822          program { name: "disable_text";
23823             script {
23824                new st[31];
23825                new Float:vl;
23826                get_state(PART:"elm.text", st, 30, vl);
23827                if (!strcmp(st, "visible"))
23828                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23829                else
23830                  set_state(PART:"elm.text", "disabled", 0.0);
23831
23832                get_state(PART:"elm.swallow.content", st, 30, vl);
23833                if (!strcmp(st, "visible"))
23834                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23835                else
23836                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23837
23838                get_state(PART:"check", st, 30, vl);
23839                if (!strcmp(st, "visible"))
23840                  set_state(PART:"check", "disabled_visible", 0.0);
23841                else
23842                  set_state(PART:"check", "disabled", 0.0);
23843             }
23844          }
23845          program { name: "enable";
23846             signal: "elm,state,enabled";
23847             source: "elm";
23848             action: STATE_SET "default" 0.0;
23849             target: "disabler";
23850             after: "enable_text";
23851          }
23852          program { name: "enable_text";
23853             script {
23854                new st[31];
23855                new Float:vl;
23856                get_state(PART:"elm.text", st, 30, vl);
23857                if (!strcmp(st, "disabled_visible"))
23858                  set_state(PART:"elm.text", "visible", 0.0);
23859                else
23860                  set_state(PART:"elm.text", "default", 0.0);
23861
23862                get_state(PART:"elm.swallow.content", st, 30, vl);
23863                if (!strcmp(st, "visible"))
23864                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23865                else
23866                  set_state(PART:"elm.swallow.content", "default", 0.0);
23867
23868                get_state(PART:"check", st, 30, vl);
23869                if (!strcmp(st, "visible"))
23870                  set_state(PART:"check", "visible", 0.0);
23871                else
23872                  set_state(PART:"check", "default", 0.0);
23873             }
23874          }
23875       }
23876    }
23877
23878 ///////////////////////////////////////////////////////////////////////////////
23879    group { name: "elm/radio/base/default";
23880       images {
23881          image: "radio_base.png" COMP;
23882          image: "radio.png" COMP;
23883          image: "radio2.png" COMP;
23884       }
23885       parts {
23886          part { name: "bg";
23887             mouse_events: 0;
23888             scale: 1;
23889             description { state: "default" 0.0;
23890                rel1.offset: 1 1;
23891                rel2.relative: 0.0 1.0;
23892                rel2.offset: 1 -2;
23893                align: 0.0 0.5;
23894                min: 16 16;
23895                max: 16 16;
23896                aspect: 1.0 1.0;
23897                aspect_preference: VERTICAL;
23898                image.normal: "radio_base.png";
23899             }
23900          }
23901          part { name: "radio";
23902             mouse_events: 0;
23903             scale: 1;
23904             description { state: "default" 0.0;
23905                rel1.to: "bg";
23906                rel2.to: "bg";
23907                visible: 0;
23908                image.normal: "radio.png";
23909             }
23910             description { state: "visible" 0.0;
23911                inherit: "default" 0.0;
23912                visible: 1;
23913             }
23914          }
23915          part { name: "elm.swallow.content";
23916             type: SWALLOW;
23917             description { state: "default" 0.0;
23918                fixed: 1 0;
23919                visible: 0;
23920                align: 0.0 0.5;
23921                color: 0 0 0 0;
23922                rel1.to_x: "bg";
23923                rel1.relative: 1.0 0.0;
23924                rel1.offset: 1 1;
23925                rel2.to_x: "bg";
23926                rel2.relative: 1.0 1.0;
23927                rel2.offset: 2 -2;
23928             }
23929             description { state: "visible" 0.0;
23930                inherit: "default" 0.0;
23931                visible: 1;
23932                color: 255 255 255 255;
23933                aspect: 1.0 1.0;
23934             }
23935             description { state: "disabled" 0.0;
23936                inherit: "default" 0.0;
23937                color: 128 128 128 128;
23938             }
23939             description { state: "disabled_visible" 0.0;
23940                inherit: "default" 0.0;
23941                color: 128 128 128 128;
23942                visible: 1;
23943                aspect: 1.0 1.0;
23944             }
23945          }
23946          part { name: "elm.text";
23947             type: TEXT;
23948             mouse_events: 0;
23949             scale: 1;
23950             description { state: "default" 0.0;
23951                visible: 0;
23952                rel1.to_x: "elm.swallow.content";
23953                rel1.relative: 1.0 0.0;
23954                rel1.offset: 1 1;
23955                rel2.relative: 1.0 1.0;
23956                rel2.offset: -2 -2;
23957                color: 0 0 0 255;
23958                text {
23959                   font: "Sans,Edje-Vera";
23960                   size: 10;
23961                   min: 0 0;
23962                   align: -1.0 0.5;
23963                }
23964             }
23965             description { state: "visible" 0.0;
23966                inherit: "default" 0.0;
23967                visible: 1;
23968                text.min: 1 1;
23969             }
23970             description { state: "disabled" 0.0;
23971                inherit: "default" 0.0;
23972                color: 0 0 0 128;
23973                color3: 0 0 0 0;
23974             }
23975             description { state: "disabled_visible" 0.0;
23976                inherit: "default" 0.0;
23977                color: 0 0 0 128;
23978                color3: 0 0 0 0;
23979                visible: 1;
23980                text.min: 1 1;
23981             }
23982          }
23983          part { name: "events";
23984             type: RECT;
23985             ignore_flags: ON_HOLD;
23986             description { state: "default" 0.0;
23987                color: 0 0 0 0;
23988             }
23989          }
23990           part { name: "disabler";
23991             type: RECT;
23992             description { state: "default" 0.0;
23993                color: 0 0 0 0;
23994                visible: 0;
23995             }
23996             description { state: "disabled" 0.0;
23997                inherit: "default" 0.0;
23998                visible: 1;
23999             }
24000          }
24001       }
24002       programs {
24003          program { name: "click";
24004             signal: "mouse,up,1";
24005             source: "events";
24006             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
24007          }
24008          program { name: "radio_on";
24009             signal: "elm,state,radio,on";
24010             source: "elm";
24011             action:  STATE_SET "visible" 0.0;
24012             target: "radio";
24013          }
24014          program { name: "radio_off";
24015             signal: "elm,state,radio,off";
24016             source: "elm";
24017             action:  STATE_SET "default" 0.0;
24018             target: "radio";
24019          }
24020          program { name: "text_show";
24021             signal: "elm,state,text,visible";
24022             source: "elm";
24023             action:  STATE_SET "visible" 0.0;
24024             target: "elm.text";
24025          }
24026          program { name: "text_hide";
24027             signal: "elm,state,text,hidden";
24028             source: "elm";
24029             action:  STATE_SET "default" 0.0;
24030             target: "elm.text";
24031          }
24032          program { name: "icon_show";
24033             signal: "elm,state,icon,visible";
24034             source: "elm";
24035             action:  STATE_SET "visible" 0.0;
24036             target: "elm.swallow.content";
24037          }
24038          program { name: "icon_hide";
24039             signal: "elm,state,icon,hidden";
24040             source: "elm";
24041             action:  STATE_SET "default" 0.0;
24042             target: "elm.swallow.content";
24043          }
24044          program { name: "disable";
24045             signal: "elm,state,disabled";
24046             source: "elm";
24047             action: STATE_SET "disabled" 0.0;
24048             target: "disabler";
24049             after: "disable_text";
24050          }
24051          program { name: "disable_text";
24052             script {
24053                new st[31];
24054                new Float:vl;
24055                get_state(PART:"elm.text", st, 30, vl);
24056                if (!strcmp(st, "visible"))
24057                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24058                else
24059                  set_state(PART:"elm.text", "disabled", 0.0);
24060
24061                get_state(PART:"elm.swallow.content", st, 30, vl);
24062                if (!strcmp(st, "visible"))
24063                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24064                else
24065                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24066             }
24067          }
24068          program { name: "enable";
24069             signal: "elm,state,enabled";
24070             source: "elm";
24071             action: STATE_SET "default" 0.0;
24072             target: "disabler";
24073             after: "enable_text";
24074          }
24075          program { name: "enable_text";
24076             script {
24077                new st[31];
24078                new Float:vl;
24079                get_state(PART:"elm.text", st, 30, vl);
24080                if (!strcmp(st, "disabled_visible"))
24081                  set_state(PART:"elm.text", "visible", 0.0);
24082                else
24083                  set_state(PART:"elm.text", "default", 0.0);
24084
24085                get_state(PART:"elm.swallow.content", st, 30, vl);
24086                if (!strcmp(st, "visible"))
24087                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24088                else
24089                  set_state(PART:"elm.swallow.content", "default", 0.0);
24090             }
24091          }
24092       }
24093    }
24094
24095    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24096       data.item: "stacking" "below";
24097       data.item: "selectraise" "on";
24098       data.item: "labels" "elm.text elm.text.sub";
24099       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24100       data.item: "treesize" "20";
24101 //      data.item: "states" "";
24102       images {
24103          image: "bt_sm_base1.png" COMP;
24104          image: "bt_sm_shine.png" COMP;
24105          image: "bt_sm_hilight.png" COMP;
24106          image: "ilist_2.png" COMP;
24107          image: "icon_arrow_right.png" COMP;
24108          image: "icon_arrow_down.png" COMP;
24109       }
24110       parts {
24111          part {
24112             name:           "event";
24113             type:           RECT;
24114             repeat_events: 1;
24115             description {
24116                state: "default" 0.0;
24117                color: 0 0 0 0;
24118             }
24119          }
24120          part {
24121             name: "base";
24122             mouse_events: 0;
24123             description {
24124                state: "default" 0.0;
24125                image {
24126                   normal: "ilist_2.png";
24127                   border: 2 2 2 2;
24128                }
24129                fill.smooth: 0;
24130             }
24131          }
24132          part { name: "bg";
24133             clip_to: "disclip";
24134             mouse_events: 0;
24135             description { state: "default" 0.0;
24136                visible: 0;
24137                color: 255 255 255 0;
24138                rel1 {
24139                   relative: 0.0 0.0;
24140                   offset: -5 -5;
24141                }
24142                rel2 {
24143                   relative: 1.0 1.0;
24144                   offset: 4 4;
24145                }
24146                image {
24147                   normal: "bt_sm_base1.png";
24148                   border: 6 6 6 6;
24149                }
24150                image.middle: SOLID;
24151             }
24152             description { state: "selected" 0.0;
24153                inherit: "default" 0.0;
24154                visible: 1;
24155                color: 255 255 255 255;
24156                rel1 {
24157                   relative: 0.0 0.0;
24158                   offset: -2 -2;
24159                }
24160                rel2 {
24161                   relative: 1.0 1.0;
24162                   offset: 1 1;
24163                }
24164             }
24165          }
24166          part { name: "elm.swallow.pad";
24167             type: SWALLOW;
24168             description { state: "default" 0.0;
24169                fixed: 1 0;
24170                align: 0.0 0.5;
24171                rel1 {
24172                   relative: 0.0  0.0;
24173                   offset:   4    4;
24174                }
24175                rel2 {
24176                   relative: 0.0  1.0;
24177                   offset:   4   -5;
24178                }
24179             }
24180          }
24181          part { name: "arrow";
24182             clip_to: "disclip";
24183             ignore_flags: ON_HOLD;
24184             description { state: "default" 0.0;
24185                fixed: 1 0;
24186                align: 0.0 0.5;
24187                aspect: 1.0 1.0;
24188                rel1 {
24189                   to_x: "elm.swallow.pad";
24190                   relative: 1.0  0.0;
24191                   offset:   -1    4;
24192                }
24193                rel2 {
24194                   to_x: "elm.swallow.pad";
24195                   relative: 1.0  1.0;
24196                   offset:   -1   -5;
24197                }
24198                image.normal: "icon_arrow_right.png";
24199             }
24200             description { state: "active" 0.0;
24201                inherit: "default" 0.0;
24202                image.normal: "icon_arrow_down.png";
24203             }
24204          }
24205          part { name: "elm.swallow.icon";
24206             clip_to: "disclip";
24207             type: SWALLOW;
24208             description { state: "default" 0.0;
24209                fixed: 1 0;
24210                align: 0.0 0.5;
24211                rel1 {
24212                   to_x: "arrow";
24213                   relative: 1.0  0.0;
24214                   offset:   4    4;
24215                }
24216                rel2 {
24217                   to_x: "arrow";
24218                   relative: 1.0  1.0;
24219                   offset:   4   -5;
24220                }
24221             }
24222          }
24223          part { name: "elm.swallow.end";
24224             clip_to: "disclip";
24225             type: SWALLOW;
24226             description { state: "default" 0.0;
24227                fixed: 1 0;
24228                align: 1.0 0.5;
24229                aspect: 1.0 1.0;
24230                aspect_preference: VERTICAL;
24231                rel1 {
24232                   relative: 1.0  0.0;
24233                   offset:   -5    4;
24234                }
24235                rel2 {
24236                   relative: 1.0  1.0;
24237                   offset:   -5   -5;
24238                }
24239             }
24240          }
24241          part { name: "elm.text";
24242             clip_to: "disclip";
24243             type:           TEXT;
24244             effect:         SOFT_SHADOW;
24245             mouse_events:   0;
24246             scale: 1;
24247             description {
24248                state: "default" 0.0;
24249 //               min: 16 16;
24250                rel1 {
24251                   to_x:     "elm.swallow.icon";
24252                   relative: 1.0  0.0;
24253                   offset:   0 4;
24254                }
24255                rel2 {
24256                   to_x:     "elm.swallow.end";
24257                   relative: 0.0  0.5;
24258                   offset:   -1 -5;
24259                }
24260                color: 0 0 0 255;
24261                color3: 0 0 0 0;
24262                text {
24263                   font: "Sans";
24264                   size: 10;
24265 //                  min: 1 1;
24266                   min: 0 1;
24267                   align: 0.0 0.5;
24268                   text_class: "list_item";
24269                }
24270             }
24271             description { state: "selected" 0.0;
24272                inherit: "default" 0.0;
24273                color: 224 224 224 255;
24274                color3: 0 0 0 64;
24275             }
24276          }
24277          part { name: "elm.text.sub";
24278             clip_to: "disclip";
24279             type:           TEXT;
24280             mouse_events:   0;
24281             scale: 1;
24282             description {
24283                state: "default" 0.0;
24284 //               min: 16 16;
24285                rel1 {
24286                   to_x:     "elm.swallow.icon";
24287                   relative: 1.0  0.5;
24288                   offset:   0 4;
24289                }
24290                rel2 {
24291                   to_x:     "elm.swallow.end";
24292                   relative: 0.0  1.0;
24293                   offset:   -1 -5;
24294                }
24295                color: 0 0 0 128;
24296                color3: 0 0 0 0;
24297                text {
24298                   font: "Sans";
24299                   size: 8;
24300 //                  min: 1 1;
24301                   min: 0 1;
24302                   align: 0.0 0.5;
24303                   text_class: "list_item";
24304                }
24305             }
24306             description { state: "selected" 0.0;
24307                inherit: "default" 0.0;
24308                color: 128 128 128 255;
24309                color3: 0 0 0 32;
24310             }
24311          }
24312          part { name: "fg1";
24313             clip_to: "disclip";
24314             mouse_events: 0;
24315             description { state: "default" 0.0;
24316                visible: 0;
24317                color: 255 255 255 0;
24318                rel1.to: "bg";
24319                rel2.relative: 1.0 0.5;
24320                rel2.to: "bg";
24321                image {
24322                   normal: "bt_sm_hilight.png";
24323                   border: 6 6 6 0;
24324                }
24325             }
24326             description { state: "selected" 0.0;
24327                inherit: "default" 0.0;
24328                visible: 1;
24329                color: 255 255 255 255;
24330             }
24331          }
24332          part { name: "fg2";
24333             clip_to: "disclip";
24334             mouse_events: 0;
24335             description { state: "default" 0.0;
24336                visible: 0;
24337                color: 255 255 255 0;
24338                rel1.to: "bg";
24339                rel2.to: "bg";
24340                image {
24341                   normal: "bt_sm_shine.png";
24342                   border: 6 6 6 0;
24343                }
24344             }
24345             description { state: "selected" 0.0;
24346                inherit: "default" 0.0;
24347                visible: 1;
24348                color: 255 255 255 255;
24349             }
24350          }
24351          part { name: "disclip";
24352             type: RECT;
24353             description { state: "default" 0.0;
24354                rel1.to: "bg";
24355                rel2.to: "bg";
24356             }
24357             description { state: "disabled" 0.0;
24358                inherit: "default" 0.0;
24359                color: 255 255 255 64;
24360             }
24361          }
24362       }
24363       programs {
24364          // signal: elm,state,%s,active
24365          //   a "check" item named %s went active
24366          // signal: elm,state,%s,passive
24367          //   a "check" item named %s went passive
24368          // default is passive
24369          program {
24370             name:    "go_active";
24371             signal:  "elm,state,selected";
24372             source:  "elm";
24373             action:  STATE_SET "selected" 0.0;
24374             target:  "bg";
24375             target:  "fg1";
24376             target:  "fg2";
24377             target:  "elm.text";
24378             target:  "elm.text.sub";
24379          }
24380          program {
24381             name:    "go_passive";
24382             signal:  "elm,state,unselected";
24383             source:  "elm";
24384             action:  STATE_SET "default" 0.0;
24385             target:  "bg";
24386             target:  "fg1";
24387             target:  "fg2";
24388             target:  "elm.text";
24389             target:  "elm.text.sub";
24390             transition: LINEAR 0.1;
24391          }
24392          program {
24393             name:    "go_disabled";
24394             signal:  "elm,state,disabled";
24395             source:  "elm";
24396             action:  STATE_SET "disabled" 0.0;
24397             target:  "disclip";
24398          }
24399          program {
24400             name:    "go_enabled";
24401             signal:  "elm,state,enabled";
24402             source:  "elm";
24403             action:  STATE_SET "default" 0.0;
24404             target:  "disclip";
24405          }
24406          program {
24407             name:    "expand";
24408             signal:  "mouse,up,1";
24409             source:  "arrow";
24410             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24411          }
24412          program {
24413             name:    "go_expanded";
24414             signal:  "elm,state,expanded";
24415             source:  "elm";
24416             action:  STATE_SET "active" 0.0;
24417             target:  "arrow";
24418          }
24419          program {
24420             name:    "go_contracted";
24421             signal:  "elm,state,contracted";
24422             source:  "elm";
24423             action:  STATE_SET "default" 0.0;
24424             target:  "arrow";
24425          }
24426       }
24427    }
24428
24429    group { name: "elm/genlist/item_compress/media/default";
24430       data.item: "stacking" "above";
24431       data.item: "selectraise" "on";
24432       data.item: "labels" "elm.text.title elm.text.album-artist";
24433       data.item: "treesize" "20";
24434       images {
24435          image: "bt_sm_base1.png" COMP;
24436          image: "bt_sm_shine.png" COMP;
24437          image: "bt_sm_hilight.png" COMP;
24438          image: "ilist_1.png" COMP;
24439          image: "ilist_item_shadow.png" COMP;
24440       }
24441       parts {
24442          part {
24443             name:           "event";
24444             type:           RECT;
24445             repeat_events: 1;
24446             description {
24447                state: "default" 0.0;
24448                color: 0 0 0 0;
24449             }
24450          }
24451          part {
24452             name: "base_sh";
24453             mouse_events: 0;
24454             description {
24455                state: "default" 0.0;
24456                align: 0.0 0.0;
24457                min: 0 10;
24458                fixed: 1 1;
24459                rel1 {
24460                   to: "base";
24461                   relative: 0.0 1.0;
24462                   offset: 0 0;
24463                }
24464                rel2 {
24465                   to: "base";
24466                   relative: 1.0 1.0;
24467                   offset: -1 0;
24468                }
24469                image {
24470                   normal: "ilist_item_shadow.png";
24471                }
24472                fill.smooth: 0;
24473             }
24474          }
24475          part {
24476             name: "base";
24477             mouse_events: 0;
24478             description {
24479                state: "default" 0.0;
24480                image {
24481                   normal: "ilist_1.png";
24482                   border: 2 2 2 2;
24483                }
24484                fill.smooth: 0;
24485             }
24486          }
24487          part { name: "bg";
24488             clip_to: "disclip";
24489             mouse_events: 0;
24490             description { state: "default" 0.0;
24491                visible: 0;
24492                color: 255 255 255 0;
24493                rel1 {
24494                   relative: 0.0 0.0;
24495                   offset: -5 -5;
24496                }
24497                rel2 {
24498                   relative: 1.0 1.0;
24499                   offset: 4 4;
24500                }
24501                image {
24502                   normal: "bt_sm_base1.png";
24503                   border: 6 6 6 6;
24504                }
24505                image.middle: SOLID;
24506             }
24507             description { state: "selected" 0.0;
24508                inherit: "default" 0.0;
24509                visible: 1;
24510                color: 255 255 255 255;
24511                rel1 {
24512                   relative: 0.0 0.0;
24513                   offset: -2 -2;
24514                }
24515                rel2 {
24516                   relative: 1.0 1.0;
24517                   offset: 1 1;
24518                }
24519             }
24520          }
24521          part { name: "elm.swallow.pad";
24522             type: SWALLOW;
24523             description { state: "default" 0.0;
24524                fixed: 1 0;
24525                align: 0.0 0.5;
24526                rel1 {
24527                   relative: 0.0  0.0;
24528                   offset:   4    4;
24529                }
24530                rel2 {
24531                   relative: 0.0  1.0;
24532                   offset:   4   -5;
24533                }
24534             }
24535          }
24536          part { name: "elm.text.title";
24537             clip_to: "disclip";
24538             type:           TEXT;
24539             effect:         SOFT_SHADOW;
24540             mouse_events:   0;
24541             scale: 1;
24542             description {
24543                state: "default" 0.0;
24544                rel1 {
24545                   relative: 0.0  0.0;
24546                   offset:   4 4;
24547                }
24548                rel2 {
24549                   relative: 1.0  0.5;
24550                   offset:   -1 -5;
24551                }
24552                color: 0 0 0 255;
24553                color3: 0 0 0 0;
24554                text {
24555                   font: "Sans";
24556                   size: 10;
24557                   min: 0 1;
24558                   align: 0.0 0.5;
24559                }
24560             }
24561             description { state: "selected" 0.0;
24562                inherit: "default" 0.0;
24563                color: 224 224 224 255;
24564                color3: 0 0 0 64;
24565             }
24566          }
24567          part { name: "elm.text.album-artist";
24568             clip_to: "disclip";
24569             type:           TEXT;
24570             mouse_events:   0;
24571             scale: 1;
24572             description {
24573                state: "default" 0.0;
24574                rel1 {
24575                   relative: 0.0  0.5;
24576                   offset:   4 4;
24577                }
24578                rel2 {
24579                   relative: 1.0  1.0;
24580                   offset:   -1 -5;
24581                }
24582                color: 0 0 0 128;
24583                color3: 0 0 0 0;
24584                text {
24585                   font: "Sans";
24586                   size: 8;
24587                   min: 0 1;
24588                   align: 0.0 0.5;
24589                }
24590             }
24591             description { state: "selected" 0.0;
24592                inherit: "default" 0.0;
24593                color: 128 128 128 255;
24594                color3: 0 0 0 32;
24595             }
24596          }
24597          part { name: "fg1";
24598             clip_to: "disclip";
24599             mouse_events: 0;
24600             description { state: "default" 0.0;
24601                visible: 0;
24602                color: 255 255 255 0;
24603                rel1.to: "bg";
24604                rel2.relative: 1.0 0.5;
24605                rel2.to: "bg";
24606                image {
24607                   normal: "bt_sm_hilight.png";
24608                   border: 6 6 6 0;
24609                }
24610             }
24611             description { state: "selected" 0.0;
24612                inherit: "default" 0.0;
24613                visible: 1;
24614                color: 255 255 255 255;
24615             }
24616          }
24617          part { name: "fg2";
24618             clip_to: "disclip";
24619             mouse_events: 0;
24620             description { state: "default" 0.0;
24621                visible: 0;
24622                color: 255 255 255 0;
24623                rel1.to: "bg";
24624                rel2.to: "bg";
24625                image {
24626                   normal: "bt_sm_shine.png";
24627                   border: 6 6 6 0;
24628                }
24629             }
24630             description { state: "selected" 0.0;
24631                inherit: "default" 0.0;
24632                visible: 1;
24633                color: 255 255 255 255;
24634             }
24635          }
24636          part { name: "disclip";
24637             type: RECT;
24638             description { state: "default" 0.0;
24639                rel1.to: "bg";
24640                rel2.to: "bg";
24641             }
24642             description { state: "disabled" 0.0;
24643                inherit: "default" 0.0;
24644                color: 255 255 255 64;
24645             }
24646          }
24647       }
24648       programs {
24649          // signal: elm,state,%s,active
24650          //   a "check" item named %s went active
24651          // signal: elm,state,%s,passive
24652          //   a "check" item named %s went passive
24653          // default is passive
24654          program {
24655             name:    "go_active";
24656             signal:  "elm,state,selected";
24657             source:  "elm";
24658             action:  STATE_SET "selected" 0.0;
24659             target:  "bg";
24660             target:  "fg1";
24661             target:  "fg2";
24662             target:  "elm.text.title";
24663             target:  "elm.text.album-artist";
24664          }
24665          program {
24666             name:    "go_passive";
24667             signal:  "elm,state,unselected";
24668             source:  "elm";
24669             action:  STATE_SET "default" 0.0;
24670             target:  "bg";
24671             target:  "fg1";
24672             target:  "fg2";
24673             target:  "elm.text.title";
24674             target:  "elm.text.album-artist";
24675             transition: LINEAR 0.1;
24676          }
24677          program {
24678             name:    "go_disabled";
24679             signal:  "elm,state,disabled";
24680             source:  "elm";
24681             action:  STATE_SET "disabled" 0.0;
24682             target:  "disclip";
24683          }
24684          program {
24685             name:    "go_enabled";
24686             signal:  "elm,state,enabled";
24687             source:  "elm";
24688             action:  STATE_SET "default" 0.0;
24689             target:  "disclip";
24690          }
24691       }
24692    }
24693    group { name: "elm/genlist/item_compress_odd/media/default";
24694       data.item: "stacking" "below";
24695       data.item: "selectraise" "on";
24696       data.item: "labels" "elm.text.title elm.text.album-artist";
24697       data.item: "treesize" "20";
24698       images {
24699          image: "bt_sm_base1.png" COMP;
24700          image: "bt_sm_shine.png" COMP;
24701          image: "bt_sm_hilight.png" COMP;
24702          image: "ilist_2.png" COMP;
24703       }
24704       parts {
24705          part { name: "event";
24706             type: RECT;
24707             repeat_events: 1;
24708             description {
24709                state: "default" 0.0;
24710                color: 0 0 0 0;
24711             }
24712          }
24713          part {
24714             name: "base";
24715             mouse_events: 0;
24716             description {
24717                state: "default" 0.0;
24718                image {
24719                   normal: "ilist_2.png";
24720                   border: 2 2 2 2;
24721                }
24722                fill.smooth: 0;
24723             }
24724          }
24725          part { name: "bg";
24726             clip_to: "disclip";
24727             mouse_events: 0;
24728             description { state: "default" 0.0;
24729                visible: 0;
24730                color: 255 255 255 0;
24731                rel1 {
24732                   relative: 0.0 0.0;
24733                   offset: -5 -5;
24734                }
24735                rel2 {
24736                   relative: 1.0 1.0;
24737                   offset: 4 4;
24738                }
24739                image {
24740                   normal: "bt_sm_base1.png";
24741                   border: 6 6 6 6;
24742                }
24743                image.middle: SOLID;
24744             }
24745             description { state: "selected" 0.0;
24746                inherit: "default" 0.0;
24747                visible: 1;
24748                color: 255 255 255 255;
24749                rel1 {
24750                   relative: 0.0 0.0;
24751                   offset: -2 -2;
24752                }
24753                rel2 {
24754                   relative: 1.0 1.0;
24755                   offset: 1 1;
24756                }
24757             }
24758          }
24759          part { name: "elm.swallow.pad";
24760             type: SWALLOW;
24761             description { state: "default" 0.0;
24762                fixed: 1 0;
24763                align: 0.0 0.5;
24764                rel1 {
24765                   relative: 0.0  0.0;
24766                   offset:   4    4;
24767                }
24768                rel2 {
24769                   relative: 0.0  1.0;
24770                   offset:   4   -5;
24771                }
24772             }
24773          }
24774          part { name: "elm.text.title";
24775             clip_to: "disclip";
24776             type:           TEXT;
24777             effect:         SOFT_SHADOW;
24778             mouse_events:   0;
24779             scale: 1;
24780             description {
24781                state: "default" 0.0;
24782                rel1 {
24783                   relative: 0.0  0.0;
24784                   offset:   4 4;
24785                }
24786                rel2 {
24787                   relative: 1.0  0.5;
24788                   offset:   -1 -5;
24789                }
24790                color: 0 0 0 255;
24791                color3: 0 0 0 0;
24792                text {
24793                   font: "Sans";
24794                   size: 10;
24795                   min: 0 1;
24796                   align: 0.0 0.5;
24797                }
24798             }
24799             description { state: "selected" 0.0;
24800                inherit: "default" 0.0;
24801                color: 224 224 224 255;
24802                color3: 0 0 0 64;
24803             }
24804          }
24805          part { name: "elm.text.album-artist";
24806             clip_to: "disclip";
24807             type:           TEXT;
24808             mouse_events:   0;
24809             scale: 1;
24810             description {
24811                state: "default" 0.0;
24812                rel1 {
24813                   relative: 0.0  0.5;
24814                   offset:   4 4;
24815                }
24816                rel2 {
24817                   relative: 1.0  1.0;
24818                   offset:   -1 -5;
24819                }
24820                color: 0 0 0 128;
24821                color3: 0 0 0 0;
24822                text {
24823                   font: "Sans";
24824                   size: 8;
24825                   min: 0 1;
24826                   align: 0.0 0.5;
24827                }
24828             }
24829             description { state: "selected" 0.0;
24830                inherit: "default" 0.0;
24831                color: 128 128 128 255;
24832                color3: 0 0 0 32;
24833             }
24834          }
24835          part { name: "fg1";
24836             clip_to: "disclip";
24837             mouse_events: 0;
24838             description { state: "default" 0.0;
24839                visible: 0;
24840                color: 255 255 255 0;
24841                rel1.to: "bg";
24842                rel2.relative: 1.0 0.5;
24843                rel2.to: "bg";
24844                image {
24845                   normal: "bt_sm_hilight.png";
24846                   border: 6 6 6 0;
24847                }
24848             }
24849             description { state: "selected" 0.0;
24850                inherit: "default" 0.0;
24851                visible: 1;
24852                color: 255 255 255 255;
24853             }
24854          }
24855          part { name: "fg2";
24856             clip_to: "disclip";
24857             mouse_events: 0;
24858             description { state: "default" 0.0;
24859                visible: 0;
24860                color: 255 255 255 0;
24861                rel1.to: "bg";
24862                rel2.to: "bg";
24863                image {
24864                   normal: "bt_sm_shine.png";
24865                   border: 6 6 6 0;
24866                }
24867             }
24868             description { state: "selected" 0.0;
24869                inherit: "default" 0.0;
24870                visible: 1;
24871                color: 255 255 255 255;
24872             }
24873          }
24874          part { name: "disclip";
24875             type: RECT;
24876             description { state: "default" 0.0;
24877                rel1.to: "bg";
24878                rel2.to: "bg";
24879             }
24880             description { state: "disabled" 0.0;
24881                inherit: "default" 0.0;
24882                color: 255 255 255 64;
24883             }
24884          }
24885       }
24886       programs {
24887          // signal: elm,state,%s,active
24888          //   a "check" item named %s went active
24889          // signal: elm,state,%s,passive
24890          //   a "check" item named %s went passive
24891          // default is passive
24892          program {
24893             name:    "go_active";
24894             signal:  "elm,state,selected";
24895             source:  "elm";
24896             action:  STATE_SET "selected" 0.0;
24897             target:  "bg";
24898             target:  "fg1";
24899             target:  "fg2";
24900             target:  "elm.text.title";
24901             target:  "elm.text.album-artist";
24902          }
24903          program {
24904             name:    "go_passive";
24905             signal:  "elm,state,unselected";
24906             source:  "elm";
24907             action:  STATE_SET "default" 0.0;
24908             target:  "bg";
24909             target:  "fg1";
24910             target:  "fg2";
24911             target:  "elm.text.title";
24912             target:  "elm.text.album-artist";
24913             transition: LINEAR 0.1;
24914          }
24915          program {
24916             name:    "go_disabled";
24917             signal:  "elm,state,disabled";
24918             source:  "elm";
24919             action:  STATE_SET "disabled" 0.0;
24920             target:  "disclip";
24921          }
24922          program {
24923             name:    "go_enabled";
24924             signal:  "elm,state,enabled";
24925             source:  "elm";
24926             action:  STATE_SET "default" 0.0;
24927             target:  "disclip";
24928          }
24929       }
24930    }
24931
24932    group { name: "elm/genlist/item_compress/media-album/default";
24933       data.item: "stacking" "above";
24934       data.item: "selectraise" "on";
24935       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24936       data.item: "states" "elm.state.trackno";
24937       data.item: "treesize" "20";
24938       images {
24939          image: "bt_sm_base1.png" COMP;
24940          image: "bt_sm_shine.png" COMP;
24941          image: "bt_sm_hilight.png" COMP;
24942          image: "ilist_1.png" COMP;
24943          image: "ilist_item_shadow.png" COMP;
24944       }
24945       script {
24946          public dot_visible;
24947       }
24948       parts {
24949          part {
24950             name: "event";
24951             type: RECT;
24952             repeat_events: 1;
24953             description {
24954                state: "default" 0.0;
24955                color: 0 0 0 0;
24956             }
24957          }
24958          part {
24959             name: "base_sh";
24960             mouse_events: 0;
24961             description {
24962                state: "default" 0.0;
24963                align: 0.0 0.0;
24964                min: 0 10;
24965                fixed: 1 1;
24966                rel1 {
24967                   to: "base";
24968                   relative: 0.0 1.0;
24969                   offset: 0 0;
24970                }
24971                rel2 {
24972                   to: "base";
24973                   relative: 1.0 1.0;
24974                   offset: -1 0;
24975                }
24976                image {
24977                   normal: "ilist_item_shadow.png";
24978                }
24979                fill.smooth: 0;
24980             }
24981          }
24982          part {
24983             name: "base";
24984             mouse_events: 0;
24985             description {
24986                state: "default" 0.0;
24987                image {
24988                   normal: "ilist_1.png";
24989                   border: 2 2 2 2;
24990                }
24991                fill.smooth: 0;
24992             }
24993          }
24994          part { name: "bg";
24995             clip_to: "disclip";
24996             mouse_events: 0;
24997             description { state: "default" 0.0;
24998                visible: 0;
24999                color: 255 255 255 0;
25000                rel1 {
25001                   relative: 0.0 0.0;
25002                   offset: -5 -5;
25003                }
25004                rel2 {
25005                   relative: 1.0 1.0;
25006                   offset: 4 4;
25007                }
25008                image {
25009                   normal: "bt_sm_base1.png";
25010                   border: 6 6 6 6;
25011                }
25012                image.middle: SOLID;
25013             }
25014             description { state: "selected" 0.0;
25015                inherit: "default" 0.0;
25016                visible: 1;
25017                color: 255 255 255 255;
25018                rel1 {
25019                   relative: 0.0 0.0;
25020                   offset: -2 -2;
25021                }
25022                rel2 {
25023                   relative: 1.0 1.0;
25024                   offset: 1 1;
25025                }
25026             }
25027          }
25028          part { name: "elm.swallow.pad";
25029             type: SWALLOW;
25030             description { state: "default" 0.0;
25031                fixed: 1 0;
25032                align: 0.0 0.5;
25033                rel1 {
25034                   relative: 0.0  0.0;
25035                   offset:   4    4;
25036                }
25037                rel2 {
25038                   relative: 0.0  1.0;
25039                   offset:   4   -5;
25040                }
25041             }
25042          }
25043          part {
25044             name: "elm.text.trackno";
25045             type: TEXT;
25046             scale: 1;
25047             mouse_events: 0;
25048             description {
25049                state: "default" 0.0;
25050                color: 255 255 255 255;
25051                align: 0.0 0.0;
25052                fixed: 1 0;
25053                rel1 {
25054                   to_y: "elm.text.title";
25055                   relative: 0.0 0.0;
25056                   offset: 5 0;
25057                }
25058                rel2 {
25059                   to_y: "elm.text.title";
25060                   relative: 0.0 1.0;
25061                   offset: 20 0;
25062                }
25063                color: 0 0 0 255;
25064                color3: 0 0 0 0;
25065                text {
25066                   font: "Sans";
25067                   size: 10;
25068                   min: 1 1;
25069                   align: 1.0 0.5;
25070                }
25071             }
25072             description { state: "selected" 0.0;
25073                inherit: "default" 0.0;
25074                color: 224 224 224 255;
25075                color3: 0 0 0 64;
25076             }
25077          }
25078          part {
25079             name: "dot";
25080             type: TEXT;
25081             scale: 1;
25082             mouse_events: 0;
25083             description {
25084                state: "default" 0.0;
25085                color: 255 255 255 255;
25086                visible: 0;
25087                fixed: 1 1;
25088                align: 0.0 0.0;
25089                rel1 {
25090                   to_x: "elm.text.trackno";
25091                   to_y: "elm.text.title";
25092                   relative: 1.0 0.0;
25093                   offset: 1 0;
25094                }
25095                rel2 {
25096                   to_x: "elm.text.trackno";
25097                   to_y: "elm.text.title";
25098                   relative: 1.0 1.0;
25099                   offset: 1 0;
25100
25101                }
25102                color: 0 0 0 255;
25103                color3: 0 0 0 0;
25104                text {
25105                   font: "Sans";
25106                   size: 10;
25107                   min: 1 1;
25108                   align: 0.0 0.5;
25109                   text: ".";
25110                }
25111             }
25112             description {
25113                state: "visible" 0.0;
25114                inherit: "default" 0.0;
25115                visible: 1;
25116             }
25117             description { state: "selected" 0.0;
25118                inherit: "default" 0.0;
25119                color: 224 224 224 255;
25120                color3: 0 0 0 64;
25121                visible: 1;
25122             }
25123          }
25124          programs {
25125             program {
25126                signal: "elm,state,elm.state.trackno,active";
25127                source: "elm";
25128                script {
25129                   set_state(PART:"dot", "visible", 0.0);
25130                   set_int(dot_visible, 1);
25131                }
25132             }
25133          }
25134          part { name: "elm.text.title";
25135             clip_to: "disclip";
25136             type:           TEXT;
25137             effect:         SOFT_SHADOW;
25138             mouse_events:   0;
25139             scale: 1;
25140             description {
25141                state: "default" 0.0;
25142                rel1 {
25143                   to_x: "dot";
25144                   relative: 0.0  0.0;
25145                   offset:   4 4;
25146                }
25147                rel2 {
25148                   relative: 1.0  0.5;
25149                   offset:   -1 -5;
25150                }
25151                color: 0 0 0 255;
25152                color3: 0 0 0 0;
25153                text {
25154                   font: "Sans";
25155                   size: 10;
25156                   min: 0 1;
25157                   align: 0.0 0.5;
25158                }
25159             }
25160             description { state: "selected" 0.0;
25161                inherit: "default" 0.0;
25162                color: 224 224 224 255;
25163                color3: 0 0 0 64;
25164             }
25165          }
25166          part { name: "elm.text.length";
25167             clip_to: "disclip";
25168             type:           TEXT;
25169             mouse_events:   0;
25170             scale: 1;
25171             description {
25172                state: "default" 0.0;
25173                rel1 {
25174                   relative: 0.0  0.5;
25175                   offset:   4 4;
25176                }
25177                rel2 {
25178                   relative: 1.0  1.0;
25179                   offset:   -1 -5;
25180                }
25181                color: 0 0 0 128;
25182                color3: 0 0 0 0;
25183                text {
25184                   font: "Sans";
25185                   size: 8;
25186                   min: 0 1;
25187                   align: 0.0 0.5;
25188                }
25189             }
25190             description { state: "selected" 0.0;
25191                inherit: "default" 0.0;
25192                color: 128 128 128 255;
25193                color3: 0 0 0 32;
25194             }
25195          }
25196          part { name: "fg1";
25197             clip_to: "disclip";
25198             mouse_events: 0;
25199             description { state: "default" 0.0;
25200                visible: 0;
25201                color: 255 255 255 0;
25202                rel1.to: "bg";
25203                rel2.relative: 1.0 0.5;
25204                rel2.to: "bg";
25205                image {
25206                   normal: "bt_sm_hilight.png";
25207                   border: 6 6 6 0;
25208                }
25209             }
25210             description { state: "selected" 0.0;
25211                inherit: "default" 0.0;
25212                visible: 1;
25213                color: 255 255 255 255;
25214             }
25215          }
25216          part { name: "fg2";
25217             clip_to: "disclip";
25218             mouse_events: 0;
25219             description { state: "default" 0.0;
25220                visible: 0;
25221                color: 255 255 255 0;
25222                rel1.to: "bg";
25223                rel2.to: "bg";
25224                image {
25225                   normal: "bt_sm_shine.png";
25226                   border: 6 6 6 0;
25227                }
25228             }
25229             description { state: "selected" 0.0;
25230                inherit: "default" 0.0;
25231                visible: 1;
25232                color: 255 255 255 255;
25233             }
25234          }
25235          part { name: "disclip";
25236             type: RECT;
25237             description { state: "default" 0.0;
25238                rel1.to: "bg";
25239                rel2.to: "bg";
25240             }
25241             description { state: "disabled" 0.0;
25242                inherit: "default" 0.0;
25243                color: 255 255 255 64;
25244             }
25245          }
25246       }
25247       programs {
25248          // signal: elm,state,%s,active
25249          //   a "check" item named %s went active
25250          // signal: elm,state,%s,passive
25251          //   a "check" item named %s went passive
25252          // default is passive
25253          program {
25254             name:    "go_active";
25255             signal:  "elm,state,selected";
25256             source:  "elm";
25257             action:  STATE_SET "selected" 0.0;
25258             target:  "bg";
25259             target:  "fg1";
25260             target:  "fg2";
25261             target:  "elm.text.title";
25262             target:  "elm.text.trackno";
25263             target:  "elm.text.length";
25264             after:   "dot_active";
25265          }
25266          program {
25267             name: "dot_active";
25268             script {
25269                if (get_int(dot_visible) == 1)
25270                   set_state(PART:"dot", "selected", 0.0);
25271             }
25272          }
25273          program {
25274             name:    "go_passive";
25275             signal:  "elm,state,unselected";
25276             source:  "elm";
25277             action:  STATE_SET "default" 0.0;
25278             target:  "bg";
25279             target:  "fg1";
25280             target:  "fg2";
25281             target:  "elm.text.title";
25282             target:  "elm.text.length";
25283             target:  "elm.text.trackno";
25284             transition: LINEAR 0.1;
25285             after:   "dot_passive";
25286          }
25287          program {
25288             name: "dot_passive";
25289             script {
25290                if (get_int(dot_visible) == 1)
25291                   set_state(PART:"dot", "visible", 0.0);
25292             }
25293          }
25294          program {
25295             name:    "go_disabled";
25296             signal:  "elm,state,disabled";
25297             source:  "elm";
25298             action:  STATE_SET "disabled" 0.0;
25299             target:  "disclip";
25300          }
25301          program {
25302             name:    "go_enabled";
25303             signal:  "elm,state,enabled";
25304             source:  "elm";
25305             action:  STATE_SET "default" 0.0;
25306             target:  "disclip";
25307          }
25308       }
25309    }
25310    group { name: "elm/genlist/item_compress_odd/media-album/default";
25311       data.item: "stacking" "below";
25312       data.item: "selectraise" "on";
25313       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25314       data.item: "states" "elm.state.trackno";
25315       data.item: "treesize" "20";
25316       images {
25317          image: "bt_sm_base1.png" COMP;
25318          image: "bt_sm_shine.png" COMP;
25319          image: "bt_sm_hilight.png" COMP;
25320          image: "ilist_2.png" COMP;
25321       }
25322       script {
25323          public dot_visible;
25324       }
25325       parts {
25326          part { name: "event";
25327             type: RECT;
25328             repeat_events: 1;
25329             description {
25330                state: "default" 0.0;
25331                color: 0 0 0 0;
25332             }
25333          }
25334          part {
25335             name: "base";
25336             mouse_events: 0;
25337             description {
25338                state: "default" 0.0;
25339                image {
25340                   normal: "ilist_2.png";
25341                   border: 2 2 2 2;
25342                }
25343                fill.smooth: 0;
25344             }
25345          }
25346          part { name: "bg";
25347             clip_to: "disclip";
25348             mouse_events: 0;
25349             description { state: "default" 0.0;
25350                visible: 0;
25351                color: 255 255 255 0;
25352                rel1 {
25353                   relative: 0.0 0.0;
25354                   offset: -5 -5;
25355                }
25356                rel2 {
25357                   relative: 1.0 1.0;
25358                   offset: 4 4;
25359                }
25360                image {
25361                   normal: "bt_sm_base1.png";
25362                   border: 6 6 6 6;
25363                }
25364                image.middle: SOLID;
25365             }
25366             description { state: "selected" 0.0;
25367                inherit: "default" 0.0;
25368                visible: 1;
25369                color: 255 255 255 255;
25370                rel1 {
25371                   relative: 0.0 0.0;
25372                   offset: -2 -2;
25373                }
25374                rel2 {
25375                   relative: 1.0 1.0;
25376                   offset: 1 1;
25377                }
25378             }
25379          }
25380          part { name: "elm.swallow.pad";
25381             type: SWALLOW;
25382             description { state: "default" 0.0;
25383                fixed: 1 0;
25384                align: 0.0 0.5;
25385                rel1 {
25386                   relative: 0.0  0.0;
25387                   offset:   4    4;
25388                }
25389                rel2 {
25390                   relative: 0.0  1.0;
25391                   offset:   4   -5;
25392                }
25393             }
25394          }
25395          part {
25396             name: "elm.text.trackno";
25397             type: TEXT;
25398             scale: 1;
25399             mouse_events: 0;
25400             description {
25401                state: "default" 0.0;
25402                color: 255 255 255 255;
25403                align: 0.0 0.0;
25404                fixed: 1 0;
25405                rel1 {
25406                   to_y: "elm.text.title";
25407                   relative: 0.0 0.0;
25408                   offset: 5 0;
25409                }
25410                rel2 {
25411                   to_y: "elm.text.title";
25412                   relative: 0.0 1.0;
25413                   offset: 20 0;
25414                }
25415                color: 0 0 0 255;
25416                color3: 0 0 0 0;
25417                text {
25418                   font: "Sans";
25419                   size: 10;
25420                   min: 1 1;
25421                   align: 1.0 0.5;
25422                }
25423             }
25424             description { state: "selected" 0.0;
25425                inherit: "default" 0.0;
25426                color: 224 224 224 255;
25427                color3: 0 0 0 64;
25428             }
25429          }
25430          part {
25431             name: "dot";
25432             type: TEXT;
25433             scale: 1;
25434             mouse_events: 0;
25435             description {
25436                state: "default" 0.0;
25437                color: 255 255 255 255;
25438                visible: 0;
25439                fixed: 1 1;
25440                align: 0.0 0.0;
25441                rel1 {
25442                   to_x: "elm.text.trackno";
25443                   to_y: "elm.text.title";
25444                   relative: 1.0 0.0;
25445                   offset: 1 0;
25446                }
25447                rel2 {
25448                   to_x: "elm.text.trackno";
25449                   to_y: "elm.text.title";
25450                   relative: 1.0 1.0;
25451                   offset: 1 0;
25452
25453                }
25454                color: 0 0 0 255;
25455                color3: 0 0 0 0;
25456                text {
25457                   font: "Sans";
25458                   size: 10;
25459                   min: 1 1;
25460                   align: 0.0 0.5;
25461                   text: ".";
25462                }
25463             }
25464             description {
25465                state: "visible" 0.0;
25466                inherit: "default" 0.0;
25467                visible: 1;
25468             }
25469             description { state: "selected" 0.0;
25470                inherit: "default" 0.0;
25471                color: 224 224 224 255;
25472                color3: 0 0 0 64;
25473                visible: 1;
25474             }
25475          }
25476          programs {
25477             program {
25478                signal: "elm,state,elm.state.trackno,active";
25479                source: "elm";
25480                script {
25481                   set_state(PART:"dot", "visible", 0.0);
25482                   set_int(dot_visible, 1);
25483                }
25484             }
25485          }
25486          part { name: "elm.text.title";
25487             clip_to: "disclip";
25488             type:           TEXT;
25489             effect:         SOFT_SHADOW;
25490             mouse_events:   0;
25491             scale: 1;
25492             description {
25493                state: "default" 0.0;
25494                rel1 {
25495                   to_x: "dot";
25496                   relative: 1.0  0.0;
25497                   offset:   4 4;
25498                }
25499                rel2 {
25500                   relative: 1.0  0.5;
25501                   offset:   -1 -5;
25502                }
25503                color: 0 0 0 255;
25504                color3: 0 0 0 0;
25505                text {
25506                   font: "Sans";
25507                   size: 10;
25508                   min: 0 1;
25509                   align: 0.0 0.5;
25510                }
25511             }
25512             description { state: "selected" 0.0;
25513                inherit: "default" 0.0;
25514                color: 224 224 224 255;
25515                color3: 0 0 0 64;
25516             }
25517          }
25518          part { name: "elm.text.length";
25519             clip_to: "disclip";
25520             type:           TEXT;
25521             mouse_events:   0;
25522             scale: 1;
25523             description {
25524                state: "default" 0.0;
25525                rel1 {
25526                   relative: 0.0  0.5;
25527                   offset:   4 4;
25528                }
25529                rel2 {
25530                   relative: 1.0  1.0;
25531                   offset:   -1 -5;
25532                }
25533                color: 0 0 0 128;
25534                color3: 0 0 0 0;
25535                text {
25536                   font: "Sans";
25537                   size: 8;
25538                   min: 0 1;
25539                   align: 0.0 0.5;
25540                }
25541             }
25542             description { state: "selected" 0.0;
25543                inherit: "default" 0.0;
25544                color: 128 128 128 255;
25545                color3: 0 0 0 32;
25546             }
25547          }
25548          part { name: "fg1";
25549             clip_to: "disclip";
25550             mouse_events: 0;
25551             description { state: "default" 0.0;
25552                visible: 0;
25553                color: 255 255 255 0;
25554                rel1.to: "bg";
25555                rel2.relative: 1.0 0.5;
25556                rel2.to: "bg";
25557                image {
25558                   normal: "bt_sm_hilight.png";
25559                   border: 6 6 6 0;
25560                }
25561             }
25562             description { state: "selected" 0.0;
25563                inherit: "default" 0.0;
25564                visible: 1;
25565                color: 255 255 255 255;
25566             }
25567          }
25568          part { name: "fg2";
25569             clip_to: "disclip";
25570             mouse_events: 0;
25571             description { state: "default" 0.0;
25572                visible: 0;
25573                color: 255 255 255 0;
25574                rel1.to: "bg";
25575                rel2.to: "bg";
25576                image {
25577                   normal: "bt_sm_shine.png";
25578                   border: 6 6 6 0;
25579                }
25580             }
25581             description { state: "selected" 0.0;
25582                inherit: "default" 0.0;
25583                visible: 1;
25584                color: 255 255 255 255;
25585             }
25586          }
25587          part { name: "disclip";
25588             type: RECT;
25589             description { state: "default" 0.0;
25590                rel1.to: "bg";
25591                rel2.to: "bg";
25592             }
25593             description { state: "disabled" 0.0;
25594                inherit: "default" 0.0;
25595                color: 255 255 255 64;
25596             }
25597          }
25598       }
25599       programs {
25600          // signal: elm,state,%s,active
25601          //   a "check" item named %s went active
25602          // signal: elm,state,%s,passive
25603          //   a "check" item named %s went passive
25604          // default is passive
25605          program {
25606             name:    "go_active";
25607             signal:  "elm,state,selected";
25608             source:  "elm";
25609             action:  STATE_SET "selected" 0.0;
25610             target:  "bg";
25611             target:  "fg1";
25612             target:  "fg2";
25613             target:  "elm.text.title";
25614             target:  "elm.text.length";
25615             target:  "elm.text.trackno";
25616             after:   "dot_active";
25617          }
25618          program {
25619             name: "dot_active";
25620             script {
25621                if (get_int(dot_visible) == 1)
25622                   set_state(PART:"dot", "selected", 0.0);
25623             }
25624          }
25625          program {
25626             name:    "go_passive";
25627             signal:  "elm,state,unselected";
25628             source:  "elm";
25629             action:  STATE_SET "default" 0.0;
25630             target:  "bg";
25631             target:  "fg1";
25632             target:  "fg2";
25633             target:  "elm.text.title";
25634             target:  "elm.text.length";
25635             target:  "elm.text.trackno";
25636             transition: LINEAR 0.1;
25637             after:   "dot_passive";
25638          }
25639          program {
25640             name: "dot_passive";
25641             script {
25642                if (get_int(dot_visible) == 1)
25643                   set_state(PART:"dot", "visible", 0.0);
25644             }
25645          }
25646          program {
25647             name:    "go_disabled";
25648             signal:  "elm,state,disabled";
25649             source:  "elm";
25650             action:  STATE_SET "disabled" 0.0;
25651             target:  "disclip";
25652          }
25653          program {
25654             name:    "go_enabled";
25655             signal:  "elm,state,enabled";
25656             source:  "elm";
25657             action:  STATE_SET "default" 0.0;
25658             target:  "disclip";
25659          }
25660       }
25661    }
25662
25663    group { name: "elm/genlist/item_compress/media-preview/default";
25664       data.item: "stacking" "above";
25665       data.item: "selectraise" "on";
25666       data.item: "labels" "elm.text.title elm.text.artist";
25667       data.item: "icons" "elm.swallow.preview";
25668       data.item: "treesize" "20";
25669       images {
25670          image: "bt_sm_base1.png" COMP;
25671          image: "bt_sm_shine.png" COMP;
25672          image: "bt_sm_hilight.png" COMP;
25673          image: "ilist_1.png" COMP;
25674          image: "ilist_item_shadow.png" COMP;
25675       }
25676       parts {
25677          part {
25678             name: "event";
25679             type: RECT;
25680             repeat_events: 1;
25681             description {
25682                state: "default" 0.0;
25683                color: 0 0 0 0;
25684             }
25685          }
25686          part {
25687             name: "base_sh";
25688             mouse_events: 0;
25689             description {
25690                state: "default" 0.0;
25691                align: 0.0 0.0;
25692                min: 0 10;
25693                fixed: 1 1;
25694                rel1 {
25695                   to: "base";
25696                   relative: 0.0 1.0;
25697                   offset: 0 0;
25698                }
25699                rel2 {
25700                   to: "base";
25701                   relative: 1.0 1.0;
25702                   offset: -1 0;
25703                }
25704                image {
25705                   normal: "ilist_item_shadow.png";
25706                }
25707                fill.smooth: 0;
25708             }
25709          }
25710          part {
25711             name: "base";
25712             mouse_events: 0;
25713             description {
25714                state: "default" 0.0;
25715                image {
25716                   normal: "ilist_1.png";
25717                   border: 2 2 2 2;
25718                }
25719                fill.smooth: 0;
25720             }
25721          }
25722          part { name: "bg";
25723             clip_to: "disclip";
25724             mouse_events: 0;
25725             description { state: "default" 0.0;
25726                visible: 0;
25727                color: 255 255 255 0;
25728                rel1 {
25729                   relative: 0.0 0.0;
25730                   offset: -5 -5;
25731                }
25732                rel2 {
25733                   relative: 1.0 1.0;
25734                   offset: 4 4;
25735                }
25736                image {
25737                   normal: "bt_sm_base1.png";
25738                   border: 6 6 6 6;
25739                }
25740                image.middle: SOLID;
25741             }
25742             description { state: "selected" 0.0;
25743                inherit: "default" 0.0;
25744                visible: 1;
25745                color: 255 255 255 255;
25746                rel1 {
25747                   relative: 0.0 0.0;
25748                   offset: -2 -2;
25749                }
25750                rel2 {
25751                   relative: 1.0 1.0;
25752                   offset: 1 1;
25753                }
25754             }
25755          }
25756          part { name: "elm.swallow.pad";
25757             type: SWALLOW;
25758             description { state: "default" 0.0;
25759                fixed: 1 0;
25760                align: 0.0 0.5;
25761                rel1 {
25762                   relative: 0.0  0.0;
25763                   offset:   4    4;
25764                }
25765                rel2 {
25766                   relative: 0.0  1.0;
25767                   offset:   4   -5;
25768                }
25769             }
25770          }
25771          part { name: "elm.swallow.preview";
25772             clip_to: "disclip";
25773             type: SWALLOW;
25774             description { state: "default" 0.0;
25775                fixed: 1 0;
25776                align: 0.0 0.5;
25777                min: 68 68;
25778                max: 68 68;
25779                rel1 {
25780                   to_x: "elm.swallow.pad";
25781                   relative: 1.0  0.0;
25782                   offset:   -1    4;
25783                }
25784                rel2 {
25785                   to_x: "elm.swallow.pad";
25786                   relative: 1.0  1.0;
25787                   offset:   -1   -5;
25788                }
25789             }
25790          }
25791          part { name: "elm.text.title";
25792             clip_to: "disclip";
25793             type:           TEXT;
25794             effect:         SOFT_SHADOW;
25795             mouse_events:   0;
25796             scale: 1;
25797             description {
25798                state: "default" 0.0;
25799                rel1 {
25800                   to_x:     "elm.swallow.preview";
25801                   relative: 1.0  0.0;
25802                   offset:   4 4;
25803                }
25804                rel2 {
25805                   relative: 1.0  0.5;
25806                   offset:   -1 -5;
25807                }
25808                color: 0 0 0 255;
25809                color3: 0 0 0 0;
25810                text {
25811                   font: "Sans";
25812                   size: 10;
25813                   min: 0 1;
25814                   align: 0.0 0.5;
25815                }
25816             }
25817             description { state: "selected" 0.0;
25818                inherit: "default" 0.0;
25819                color: 224 224 224 255;
25820                color3: 0 0 0 64;
25821             }
25822          }
25823          part { name: "elm.text.artist";
25824             clip_to: "disclip";
25825             type:           TEXT;
25826             mouse_events:   0;
25827             scale: 1;
25828             description {
25829                state: "default" 0.0;
25830                rel1 {
25831                   to_x:     "elm.swallow.preview";
25832                   relative: 1.0  0.5;
25833                   offset:   4 4;
25834                }
25835                rel2 {
25836                   relative: 1.0  1.0;
25837                   offset:   -1 -5;
25838                }
25839                color: 0 0 0 128;
25840                color3: 0 0 0 0;
25841                text {
25842                   font: "Sans";
25843                   size: 8;
25844                   min: 0 1;
25845                   align: 0.0 0.5;
25846                }
25847             }
25848             description { state: "selected" 0.0;
25849                inherit: "default" 0.0;
25850                color: 128 128 128 255;
25851                color3: 0 0 0 32;
25852             }
25853          }
25854          part { name: "fg1";
25855             clip_to: "disclip";
25856             mouse_events: 0;
25857             description { state: "default" 0.0;
25858                visible: 0;
25859                color: 255 255 255 0;
25860                rel1.to: "bg";
25861                rel2.relative: 1.0 0.5;
25862                rel2.to: "bg";
25863                image {
25864                   normal: "bt_sm_hilight.png";
25865                   border: 6 6 6 0;
25866                }
25867             }
25868             description { state: "selected" 0.0;
25869                inherit: "default" 0.0;
25870                visible: 1;
25871                color: 255 255 255 255;
25872             }
25873          }
25874          part { name: "fg2";
25875             clip_to: "disclip";
25876             mouse_events: 0;
25877             description { state: "default" 0.0;
25878                visible: 0;
25879                color: 255 255 255 0;
25880                rel1.to: "bg";
25881                rel2.to: "bg";
25882                image {
25883                   normal: "bt_sm_shine.png";
25884                   border: 6 6 6 0;
25885                }
25886             }
25887             description { state: "selected" 0.0;
25888                inherit: "default" 0.0;
25889                visible: 1;
25890                color: 255 255 255 255;
25891             }
25892          }
25893          part { name: "disclip";
25894             type: RECT;
25895             description { state: "default" 0.0;
25896                rel1.to: "bg";
25897                rel2.to: "bg";
25898             }
25899             description { state: "disabled" 0.0;
25900                inherit: "default" 0.0;
25901                color: 255 255 255 64;
25902             }
25903          }
25904       }
25905       programs {
25906          // signal: elm,state,%s,active
25907          //   a "check" item named %s went active
25908          // signal: elm,state,%s,passive
25909          //   a "check" item named %s went passive
25910          // default is passive
25911          program {
25912             name:    "go_active";
25913             signal:  "elm,state,selected";
25914             source:  "elm";
25915             action:  STATE_SET "selected" 0.0;
25916             target:  "bg";
25917             target:  "fg1";
25918             target:  "fg2";
25919             target:  "elm.text.title";
25920             target:  "elm.text.artist";
25921          }
25922          program {
25923             name:    "go_passive";
25924             signal:  "elm,state,unselected";
25925             source:  "elm";
25926             action:  STATE_SET "default" 0.0;
25927             target:  "bg";
25928             target:  "fg1";
25929             target:  "fg2";
25930             target:  "elm.text.title";
25931             target:  "elm.text.artist";
25932             transition: LINEAR 0.1;
25933          }
25934          program {
25935             name:    "go_disabled";
25936             signal:  "elm,state,disabled";
25937             source:  "elm";
25938             action:  STATE_SET "disabled" 0.0;
25939             target:  "disclip";
25940          }
25941          program {
25942             name:    "go_enabled";
25943             signal:  "elm,state,enabled";
25944             source:  "elm";
25945             action:  STATE_SET "default" 0.0;
25946             target:  "disclip";
25947          }
25948       }
25949    }
25950    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25951       data.item: "stacking" "below";
25952       data.item: "selectraise" "on";
25953       data.item: "labels" "elm.text.title elm.text.artist";
25954       data.item: "icons" "elm.swallow.preview";
25955       data.item: "treesize" "20";
25956       images {
25957          image: "bt_sm_base1.png" COMP;
25958          image: "bt_sm_shine.png" COMP;
25959          image: "bt_sm_hilight.png" COMP;
25960          image: "ilist_2.png" COMP;
25961       }
25962       parts {
25963          part { name: "event";
25964             type: RECT;
25965             repeat_events: 1;
25966             description {
25967                state: "default" 0.0;
25968                color: 0 0 0 0;
25969             }
25970          }
25971          part {
25972             name: "base";
25973             mouse_events: 0;
25974             description {
25975                state: "default" 0.0;
25976                image {
25977                   normal: "ilist_2.png";
25978                   border: 2 2 2 2;
25979                }
25980                fill.smooth: 0;
25981             }
25982          }
25983          part { name: "bg";
25984             clip_to: "disclip";
25985             mouse_events: 0;
25986             description { state: "default" 0.0;
25987                visible: 0;
25988                color: 255 255 255 0;
25989                rel1 {
25990                   relative: 0.0 0.0;
25991                   offset: -5 -5;
25992                }
25993                rel2 {
25994                   relative: 1.0 1.0;
25995                   offset: 4 4;
25996                }
25997                image {
25998                   normal: "bt_sm_base1.png";
25999                   border: 6 6 6 6;
26000                }
26001                image.middle: SOLID;
26002             }
26003             description { state: "selected" 0.0;
26004                inherit: "default" 0.0;
26005                visible: 1;
26006                color: 255 255 255 255;
26007                rel1 {
26008                   relative: 0.0 0.0;
26009                   offset: -2 -2;
26010                }
26011                rel2 {
26012                   relative: 1.0 1.0;
26013                   offset: 1 1;
26014                }
26015             }
26016          }
26017          part { name: "elm.swallow.pad";
26018             type: SWALLOW;
26019             description { state: "default" 0.0;
26020                fixed: 1 0;
26021                align: 0.0 0.5;
26022                rel1 {
26023                   relative: 0.0  0.0;
26024                   offset:   4    4;
26025                }
26026                rel2 {
26027                   relative: 0.0  1.0;
26028                   offset:   4   -5;
26029                }
26030             }
26031          }
26032          part { name: "elm.swallow.preview";
26033             clip_to: "disclip";
26034             type: SWALLOW;
26035             description { state: "default" 0.0;
26036                fixed: 1 0;
26037                align: 0.0 0.5;
26038                min: 68 68;
26039                max: 68 68;
26040                rel1 {
26041                   to_x: "elm.swallow.pad";
26042                   relative: 1.0  0.0;
26043                   offset:   -1    4;
26044                }
26045                rel2 {
26046                   to_x: "elm.swallow.pad";
26047                   relative: 1.0  1.0;
26048                   offset:   -1   -5;
26049                }
26050             }
26051          }
26052          part { name: "elm.text.title";
26053             clip_to: "disclip";
26054             type:           TEXT;
26055             effect:         SOFT_SHADOW;
26056             mouse_events:   0;
26057             scale: 1;
26058             description {
26059                state: "default" 0.0;
26060                rel1 {
26061                   to_x:     "elm.swallow.preview";
26062                   relative: 1.0  0.0;
26063                   offset:   4 4;
26064                }
26065                rel2 {
26066                   relative: 1.0  0.5;
26067                   offset:   -1 -5;
26068                }
26069                color: 0 0 0 255;
26070                color3: 0 0 0 0;
26071                text {
26072                   font: "Sans";
26073                   size: 10;
26074                   min: 0 1;
26075                   align: 0.0 0.5;
26076                }
26077             }
26078             description { state: "selected" 0.0;
26079                inherit: "default" 0.0;
26080                color: 224 224 224 255;
26081                color3: 0 0 0 64;
26082             }
26083          }
26084          part { name: "elm.text.artist";
26085             clip_to: "disclip";
26086             type:           TEXT;
26087             mouse_events:   0;
26088             scale: 1;
26089             description {
26090                state: "default" 0.0;
26091                rel1 {
26092                   to_x:     "elm.swallow.preview";
26093                   relative: 1.0  0.5;
26094                   offset:   4 4;
26095                }
26096                rel2 {
26097                   relative: 1.0  1.0;
26098                   offset:   -1 -5;
26099                }
26100                color: 0 0 0 128;
26101                color3: 0 0 0 0;
26102                text {
26103                   font: "Sans";
26104                   size: 8;
26105                   min: 0 1;
26106                   align: 0.0 0.5;
26107                }
26108             }
26109             description { state: "selected" 0.0;
26110                inherit: "default" 0.0;
26111                color: 128 128 128 255;
26112                color3: 0 0 0 32;
26113             }
26114          }
26115          part { name: "fg1";
26116             clip_to: "disclip";
26117             mouse_events: 0;
26118             description { state: "default" 0.0;
26119                visible: 0;
26120                color: 255 255 255 0;
26121                rel1.to: "bg";
26122                rel2.relative: 1.0 0.5;
26123                rel2.to: "bg";
26124                image {
26125                   normal: "bt_sm_hilight.png";
26126                   border: 6 6 6 0;
26127                }
26128             }
26129             description { state: "selected" 0.0;
26130                inherit: "default" 0.0;
26131                visible: 1;
26132                color: 255 255 255 255;
26133             }
26134          }
26135          part { name: "fg2";
26136             clip_to: "disclip";
26137             mouse_events: 0;
26138             description { state: "default" 0.0;
26139                visible: 0;
26140                color: 255 255 255 0;
26141                rel1.to: "bg";
26142                rel2.to: "bg";
26143                image {
26144                   normal: "bt_sm_shine.png";
26145                   border: 6 6 6 0;
26146                }
26147             }
26148             description { state: "selected" 0.0;
26149                inherit: "default" 0.0;
26150                visible: 1;
26151                color: 255 255 255 255;
26152             }
26153          }
26154          part { name: "disclip";
26155             type: RECT;
26156             description { state: "default" 0.0;
26157                rel1.to: "bg";
26158                rel2.to: "bg";
26159             }
26160             description { state: "disabled" 0.0;
26161                inherit: "default" 0.0;
26162                color: 255 255 255 64;
26163             }
26164          }
26165       }
26166       programs {
26167          // signal: elm,state,%s,active
26168          //   a "check" item named %s went active
26169          // signal: elm,state,%s,passive
26170          //   a "check" item named %s went passive
26171          // default is passive
26172          program {
26173             name:    "go_active";
26174             signal:  "elm,state,selected";
26175             source:  "elm";
26176             action:  STATE_SET "selected" 0.0;
26177             target:  "bg";
26178             target:  "fg1";
26179             target:  "fg2";
26180             target:  "elm.text.title";
26181             target:  "elm.text.artist";
26182          }
26183          program {
26184             name:    "go_passive";
26185             signal:  "elm,state,unselected";
26186             source:  "elm";
26187             action:  STATE_SET "default" 0.0;
26188             target:  "bg";
26189             target:  "fg1";
26190             target:  "fg2";
26191             target:  "elm.text.title";
26192             target:  "elm.text.artist";
26193             transition: LINEAR 0.1;
26194          }
26195          program {
26196             name:    "go_disabled";
26197             signal:  "elm,state,disabled";
26198             source:  "elm";
26199             action:  STATE_SET "disabled" 0.0;
26200             target:  "disclip";
26201          }
26202          program {
26203             name:    "go_enabled";
26204             signal:  "elm,state,enabled";
26205             source:  "elm";
26206             action:  STATE_SET "default" 0.0;
26207             target:  "disclip";
26208          }
26209       }
26210    }
26211
26212
26213 ///////////////////////////////////////////////////////////////////////////////
26214    group { name: "elm/pager/base/default";
26215       data.item: "onshow" "raise";
26216 // other options
26217 //      data.item: "onhide" "lower";
26218 //      data.item: "onshow" "lower";
26219       images {
26220          image: "frame_1.png" COMP;
26221          image: "frame_2.png" COMP;
26222          image: "dia_grad.png" COMP;
26223       }
26224       parts {
26225          part { name: "clip";
26226             type: RECT;
26227             mouse_events: 0;
26228             description { state: "default" 0.0;
26229                rel1 {
26230                   to: "base";
26231                   offset: -9999 -9999;
26232                }
26233                rel2 {
26234                   to: "base";
26235                   offset: 9999 9999;
26236                }
26237                color: 255 255 255 255;
26238             }
26239             description { state: "visible" 0.0;
26240                inherit: "default" 0.0;
26241             }
26242             description { state: "hidden" 0.0;
26243                inherit: "default" 0.0;
26244                color: 255 255 255 0;
26245                visible: 0;
26246             }
26247          }
26248          part { name: "base0";
26249             mouse_events:  0;
26250             clip_to: "clip";
26251             description { state: "default" 0.0;
26252                image.normal: "dia_grad.png";
26253                rel1.to: "over";
26254                rel2.to: "over";
26255                fill {
26256                   smooth: 0;
26257                   size {
26258                      relative: 0.0 1.0;
26259                      offset: 64 0;
26260                   }
26261                }
26262             }
26263          }
26264          part { name: "base";
26265             mouse_events:  0;
26266             clip_to: "clip";
26267             description { state: "default" 0.0;
26268                image {
26269                   normal: "frame_2.png";
26270                   border: 5 5 32 26;
26271                   middle: 0;
26272                }
26273                fill.smooth : 0;
26274             }
26275             description { state: "hidden" 0.0;
26276                inherit: "default" 0.0;
26277                rel1.relative: -1.0 0.0;
26278                rel2.relative: 0.0 1.0;
26279             }
26280             description { state: "visible" 0.0;
26281                inherit: "default" 0.0;
26282                rel1.relative: 0.0 0.0;
26283                rel2.relative: 1.0 1.0;
26284             }
26285          }
26286          part { name: "over";
26287             mouse_events:  0;
26288             clip_to: "clip";
26289             description { state:    "default" 0.0;
26290                rel1 {
26291                   to: "base";
26292                   offset: 4 4;
26293                }
26294                rel2 {
26295                   to: "base";
26296                   offset: -5 -5;
26297                }
26298                image {
26299                   normal: "frame_1.png";
26300                   border: 2 2 28 22;
26301                   middle: 0;
26302                }
26303                fill.smooth : 0;
26304             }
26305          }
26306          part { name: "elm.swallow.content";
26307             type: SWALLOW;
26308             clip_to: "clip";
26309             description { state: "default" 0.0;
26310                rel1 {
26311                   to: "base";
26312                   offset: 8 8;
26313                }
26314                rel2 {
26315                   to: "base";
26316                   offset: -9 -9;
26317                }
26318             }
26319          }
26320       }
26321       programs {
26322          program { name: "push_start";
26323             signal: "elm,action,push";
26324             source: "elm";
26325             action:  STATE_SET "hidden" 0.0;
26326             target: "base";
26327             target: "clip";
26328             after: "show_start2";
26329          }
26330          program { name: "show_start";
26331             signal: "elm,action,show";
26332             source: "elm";
26333             action:  STATE_SET "hidden" 0.0;
26334             target: "base";
26335             target: "clip";
26336             after: "show_start2";
26337          }
26338          program { name: "show_start2";
26339             action:  STATE_SET "visible" 0.0;
26340             transition: DECELERATE 0.5;
26341             target: "base";
26342             target: "clip";
26343             after: "show_end";
26344          }
26345          program { name: "show_end";
26346             action: SIGNAL_EMIT "elm,action,show,finished" "";
26347          }
26348          program { name: "pop_start";
26349             signal: "elm,action,pop";
26350             source: "elm";
26351             action:  STATE_SET "visible" 0.0;
26352             target: "base";
26353             target: "clip";
26354             after: "hide_start2";
26355          }
26356          program { name: "hide_start";
26357             signal: "elm,action,hide";
26358             source: "elm";
26359             action:  STATE_SET "visible" 0.0;
26360             target: "base";
26361             target: "clip";
26362             after: "hide_start2";
26363          }
26364          program { name: "hide_start2";
26365             action:  STATE_SET "hidden" 0.0;
26366             transition: DECELERATE 0.5;
26367             target: "base";
26368             target: "clip";
26369             after: "hide_end";
26370          }
26371          program { name: "hide_end";
26372             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26373          }
26374          program { name: "reset";
26375             signal: "elm,action,reset";
26376             source: "elm";
26377             action:  STATE_SET "default" 0.0;
26378             target: "base";
26379             target: "clip";
26380          }
26381       }
26382    }
26383
26384    group { name: "elm/pager/base/slide";
26385       images {
26386          image: "frame_1.png" COMP;
26387          image: "frame_2.png" COMP;
26388          image: "dia_grad.png" COMP;
26389       }
26390       parts {
26391          part { name: "clip";
26392             type: RECT;
26393             mouse_events: 0;
26394             description { state: "default" 0.0;
26395                rel1 {
26396                   to: "base";
26397                   offset: -9999 -9999;
26398                }
26399                rel2 {
26400                   to: "base";
26401                   offset: 9999 9999;
26402                }
26403                color: 255 255 255 255;
26404             }
26405             description { state: "visible" 0.0;
26406                inherit: "default" 0.0;
26407             }
26408             description { state: "hidden" 0.0;
26409                inherit: "default" 0.0;
26410                color: 255 255 255 0;
26411                visible: 0;
26412             }
26413             description { state: "hidden2" 0.0;
26414                inherit: "default" 0.0;
26415                color: 255 255 255 0;
26416                visible: 0;
26417             }
26418          }
26419          part { name: "base0";
26420             mouse_events:  0;
26421             clip_to: "clip";
26422             description { state: "default" 0.0;
26423                image.normal: "dia_grad.png";
26424                rel1.to: "over";
26425                rel2.to: "over";
26426                fill {
26427                   smooth: 0;
26428                   size {
26429                      relative: 0.0 1.0;
26430                      offset: 64 0;
26431                   }
26432                }
26433             }
26434          }
26435          part { name: "base";
26436             mouse_events:  0;
26437             clip_to: "clip";
26438             description { state: "default" 0.0;
26439                image {
26440                   normal: "frame_2.png";
26441                   border: 5 5 32 26;
26442                   middle: 0;
26443                }
26444                fill.smooth : 0;
26445             }
26446             description { state: "hidden" 0.0;
26447                inherit: "default" 0.0;
26448                rel1.relative: -1.0 0.0;
26449                rel2.relative: 0.0 1.0;
26450             }
26451             description { state: "hidden2" 0.0;
26452                inherit: "default" 0.0;
26453                rel1.relative: 1.0 0.0;
26454                rel2.relative: 2.0 1.0;
26455             }
26456             description { state: "visible" 0.0;
26457                inherit: "default" 0.0;
26458                rel1.relative: 0.0 0.0;
26459                rel2.relative: 1.0 1.0;
26460             }
26461          }
26462          part { name: "over";
26463             mouse_events:  0;
26464             clip_to: "clip";
26465             description { state:    "default" 0.0;
26466                rel1 {
26467                   to: "base";
26468                   offset: 4 4;
26469                }
26470                rel2 {
26471                   to: "base";
26472                   offset: -5 -5;
26473                }
26474                image {
26475                   normal: "frame_1.png";
26476                   border: 2 2 28 22;
26477                   middle: 0;
26478                }
26479                fill.smooth : 0;
26480             }
26481          }
26482          part { name: "elm.swallow.content";
26483             type: SWALLOW;
26484             clip_to: "clip";
26485             description { state: "default" 0.0;
26486                rel1 {
26487                   to: "base";
26488                   offset: 8 8;
26489                }
26490                rel2 {
26491                   to: "base";
26492                   offset: -9 -9;
26493                }
26494             }
26495          }
26496       }
26497       programs {
26498          program { name: "push_start";
26499             signal: "elm,action,push";
26500             source: "elm";
26501             action:  STATE_SET "hidden2" 0.0;
26502             target: "base";
26503             target: "clip";
26504             after: "show_start2";
26505          }
26506          program { name: "show_start";
26507             signal: "elm,action,show";
26508             source: "elm";
26509             action:  STATE_SET "hidden" 0.0;
26510             target: "base";
26511             target: "clip";
26512             after: "show_start2";
26513          }
26514          program { name: "show_start2";
26515             action:  STATE_SET "visible" 0.0;
26516             transition: DECELERATE 0.5;
26517             target: "base";
26518             target: "clip";
26519             after: "show_end";
26520          }
26521          program { name: "show_end";
26522             action: SIGNAL_EMIT "elm,action,show,finished" "";
26523          }
26524          program { name: "pop_start";
26525             signal: "elm,action,pop";
26526             source: "elm";
26527             action:  STATE_SET "visible" 0.0;
26528             target: "base";
26529             target: "clip";
26530             after: "pop_start2";
26531          }
26532          program { name: "pop_start2";
26533             action:  STATE_SET "hidden2" 0.0;
26534             transition: DECELERATE 0.5;
26535             target: "base";
26536             target: "clip";
26537             after: "hide_end";
26538          }
26539          program { name: "hide_start";
26540             signal: "elm,action,hide";
26541             source: "elm";
26542             action:  STATE_SET "visible" 0.0;
26543             target: "base";
26544             target: "clip";
26545             after: "hide_start2";
26546          }
26547          program { name: "hide_start2";
26548             action:  STATE_SET "hidden" 0.0;
26549             transition: DECELERATE 0.5;
26550             target: "base";
26551             target: "clip";
26552             after: "hide_end";
26553          }
26554          program { name: "hide_end";
26555             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26556          }
26557          program { name: "reset";
26558             signal: "elm,action,reset";
26559             source: "elm";
26560             action:  STATE_SET "default" 0.0;
26561             target: "base";
26562             target: "clip";
26563          }
26564       }
26565    }
26566    group { name: "elm/pager/base/slide_invisible";
26567       parts {
26568          part { name: "clip";
26569             type: RECT;
26570             mouse_events: 0;
26571             description { state: "default" 0.0;
26572                rel1 {
26573                   to: "base";
26574                   offset: -9999 -9999;
26575             }
26576                rel2 {
26577                   to: "base";
26578                   offset: 9999 9999;
26579                }
26580                color: 255 255 255 255;
26581             }
26582             description { state: "visible" 0.0;
26583                inherit: "default" 0.0;
26584             }
26585             description { state: "hidden" 0.0;
26586                inherit: "default" 0.0;
26587                color: 255 255 255 0;
26588                visible: 0;
26589             }
26590             description { state: "hidden2" 0.0;
26591                inherit: "default" 0.0;
26592                color: 255 255 255 0;
26593                visible: 0;
26594             }
26595          }
26596          part { name: "base";
26597             type: RECT;
26598             mouse_events:  0;
26599             clip_to: "clip";
26600             description { state: "default" 0.0;
26601                color: 0 0 0 0;
26602             }
26603             description { state: "hidden" 0.0;
26604                color: 0 0 0 0;
26605                rel1.relative: -1.0 0.0;
26606                rel2.relative: 0.0 1.0;
26607             }
26608             description { state: "hidden2" 0.0;
26609                color: 0 0 0 0;
26610                rel1.relative: 1.0 0.0;
26611                rel2.relative: 2.0 1.0;
26612             }
26613             description { state: "visible" 0.0;
26614                color: 0 0 0 0;
26615                rel1.relative: 0.0 0.0;
26616                rel2.relative: 1.0 1.0;
26617             }
26618          }
26619          part { name: "elm.swallow.content";
26620             type: SWALLOW;
26621             clip_to: "clip";
26622             description { state: "default" 0.0;
26623                rel1.to: "base";
26624                rel2.to: "base";
26625             }
26626          }
26627       }
26628       programs {
26629          program { name: "push_start";
26630             signal: "elm,action,push";
26631             source: "elm";
26632             action:  STATE_SET "hidden2" 0.0;
26633             target: "base";
26634             target: "clip";
26635             after: "show_start2";
26636          }
26637          program { name: "show_start";
26638             signal: "elm,action,show";
26639             source: "elm";
26640             action:  STATE_SET "hidden" 0.0;
26641             target: "base";
26642             target: "clip";
26643             after: "show_start2";
26644          }
26645          program { name: "show_start2";
26646             action:  STATE_SET "visible" 0.0;
26647             transition: DECELERATE 0.5;
26648             target: "base";
26649             target: "clip";
26650             after: "show_end";
26651          }
26652          program { name: "show_end";
26653             action: SIGNAL_EMIT "elm,action,show,finished" "";
26654          }
26655          program { name: "pop_start";
26656             signal: "elm,action,pop";
26657             source: "elm";
26658             action:  STATE_SET "visible" 0.0;
26659             target: "base";
26660             target: "clip";
26661             after: "pop_start2";
26662          }
26663          program { name: "pop_start2";
26664             action:  STATE_SET "hidden2" 0.0;
26665             transition: DECELERATE 0.5;
26666             target: "base";
26667             target: "clip";
26668             after: "hide_end";
26669          }
26670          program { name: "hide_start";
26671             signal: "elm,action,hide";
26672             source: "elm";
26673             action:  STATE_SET "visible" 0.0;
26674             target: "base";
26675             target: "clip";
26676             after: "hide_start2";
26677          }
26678          program { name: "hide_start2";
26679             action:  STATE_SET "hidden" 0.0;
26680             transition: DECELERATE 0.5;
26681             target: "base";
26682             target: "clip";
26683             after: "hide_end";
26684          }
26685          program { name: "hide_end";
26686             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26687          }
26688          program { name: "reset";
26689             signal: "elm,action,reset";
26690             source: "elm";
26691             action:  STATE_SET "default" 0.0;
26692             target: "base";
26693             target: "clip";
26694          }
26695       }
26696    }
26697
26698    group { name: "elm/pager/base/fade";
26699        data.item: "onshow" "raise";
26700        // other options
26701        //      data.item: "onhide" "lower";
26702        //      data.item: "onshow" "lower";
26703        images {
26704            image: "frame_1.png" COMP;
26705            image: "frame_2.png" COMP;
26706            image: "dia_grad.png" COMP;
26707        }
26708        parts {
26709            part { name: "clip_base";
26710                type: RECT;
26711                mouse_events: 0;
26712                description { state: "default" 0.0;
26713                    rel1 {
26714                        to: "base";
26715                        offset: -9999 -9999;
26716                    }
26717                    rel2 {
26718                        to: "base";
26719                        offset: 9999 9999;
26720                    }
26721                    color: 255 255 255 120;
26722                }
26723                description { state: "visible" 0.0;
26724                    inherit: "default" 0.0;
26725                }
26726                description { state: "hidden" 0.0;
26727                    inherit: "default" 0.0;
26728                    color: 255 255 255 0;
26729                    visible: 0;
26730                }
26731            }
26732            part { name: "clip";
26733                type: RECT;
26734                mouse_events: 0;
26735                description { state: "default" 0.0;
26736                    rel1 {
26737                        to: "base";
26738                        offset: -9999 -9999;
26739                    }
26740                    rel2 {
26741                        to: "base";
26742                        offset: 9999 9999;
26743                    }
26744                    color: 255 255 255 255;
26745                }
26746                description { state: "visible" 0.0;
26747                    inherit: "default" 0.0;
26748                }
26749                description { state: "hidden" 0.0;
26750                    inherit: "default" 0.0;
26751                    color: 255 255 255 0;
26752                    visible: 0;
26753                }
26754            }
26755            part { name: "base0";
26756                mouse_events:  0;
26757                clip_to: "clip_base";
26758                description { state: "default" 0.0;
26759                    image.normal: "dia_grad.png";
26760                    rel1.to: "over";
26761                    rel2.to: "over";
26762                    fill {
26763                        smooth: 0;
26764                        size {
26765                            relative: 0.0 1.0;
26766                            offset: 64 0;
26767                        }
26768                    }
26769                }
26770            }
26771            part { name: "base";
26772                mouse_events:  0;
26773                clip_to: "clip_base";
26774                description { state: "default" 0.0;
26775                    image {
26776                        normal: "frame_2.png";
26777                        border: 5 5 32 26;
26778                        middle: 0;
26779                    }
26780                    fill.smooth : 0;
26781                }
26782            }
26783            part { name: "over";
26784                mouse_events:  0;
26785                clip_to: "clip";
26786                description { state:    "default" 0.0;
26787                    rel1 {
26788                        to: "base";
26789                        offset: 4 4;
26790                    }
26791                    rel2 {
26792                        to: "base";
26793                        offset: -5 -5;
26794                    }
26795                    image {
26796                        normal: "frame_1.png";
26797                        border: 2 2 28 22;
26798                        middle: 0;
26799                    }
26800                    fill.smooth : 0;
26801                }
26802            }
26803            part { name: "elm.swallow.content";
26804                type: SWALLOW;
26805                clip_to: "clip";
26806                description { state: "default" 0.0;
26807                    rel1 {
26808                        to: "base";
26809                        offset: 8 8;
26810                    }
26811                    rel2 {
26812                        to: "base";
26813                        offset: -9 -9;
26814                    }
26815                }
26816            }
26817        }
26818        programs {
26819            program { name: "push_start";
26820                signal: "elm,action,push";
26821                source: "elm";
26822                action:  STATE_SET "hidden" 0.0;
26823                target: "clip";
26824                target: "clip_base";
26825                after: "show_start2";
26826            }
26827            program { name: "show_start";
26828                signal: "elm,action,show";
26829                source: "elm";
26830                action:  STATE_SET "hidden" 0.0;
26831                target: "clip";
26832                target: "clip_base";
26833                after: "show_start2";
26834            }
26835            program { name: "show_start2";
26836                action:  STATE_SET "visible" 0.0;
26837                transition: DECELERATE 0.5;
26838                target: "clip";
26839                target: "clip_base";
26840                after: "show_end";
26841            }
26842            program { name: "show_end";
26843                action: SIGNAL_EMIT "elm,action,show,finished" "";
26844            }
26845            program { name: "pop_start";
26846                signal: "elm,action,pop";
26847                source: "elm";
26848                action:  STATE_SET "visible" 0.0;
26849                target: "clip";
26850                target: "clip_base";
26851                after: "hide_start2";
26852            }
26853            program { name: "hide_start";
26854                signal: "elm,action,hide";
26855                source: "elm";
26856                action:  STATE_SET "visible" 0.0;
26857                target: "clip";
26858                target: "clip_base";
26859                after: "hide_start2";
26860            }
26861            program { name: "hide_start2";
26862                action:  STATE_SET "hidden" 0.0;
26863                transition: DECELERATE 0.5;
26864                target: "clip";
26865                target: "clip_base";
26866                after: "hide_end";
26867            }
26868            program { name: "hide_end";
26869                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26870            }
26871            program { name: "reset";
26872                signal: "elm,action,reset";
26873                source: "elm";
26874                action:  STATE_SET "default" 0.0;
26875                target: "clip_base";
26876                target: "clip";
26877            }
26878        }
26879    }
26880    group { name: "elm/pager/base/fade_translucide";
26881        data.item: "onshow" "raise";
26882        // other options
26883        //      data.item: "onhide" "lower";
26884        //      data.item: "onshow" "lower";
26885        images {
26886            image: "frame_1.png" COMP;
26887            image: "frame_2.png" COMP;
26888            image: "dia_grad.png" COMP;
26889        }
26890        parts {
26891            part { name: "clip_base";
26892                type: RECT;
26893                mouse_events: 0;
26894                description { state: "default" 0.0;
26895                    rel1 {
26896                        to: "base";
26897                        offset: -9999 -9999;
26898                    }
26899                    rel2 {
26900                        to: "base";
26901                        offset: 9999 9999;
26902                    }
26903                    color: 255 255 255 120;
26904                }
26905                description { state: "visible" 0.0;
26906                    inherit: "default" 0.0;
26907                }
26908                description { state: "hidden" 0.0;
26909                    inherit: "default" 0.0;
26910                    color: 255 255 255 0;
26911                    visible: 0;
26912                }
26913            }
26914            part { name: "clip";
26915                type: RECT;
26916                mouse_events: 0;
26917                description { state: "default" 0.0;
26918                    rel1 {
26919                        to: "base";
26920                        offset: -9999 -9999;
26921                    }
26922                    rel2 {
26923                        to: "base";
26924                        offset: 9999 9999;
26925                    }
26926                    color: 255 255 255 255;
26927                }
26928                description { state: "visible" 0.0;
26929                    inherit: "default" 0.0;
26930                }
26931                description { state: "hidden" 0.0;
26932                    inherit: "default" 0.0;
26933                    color: 255 255 255 0;
26934                    visible: 0;
26935                }
26936            }
26937            part { name: "base0";
26938                mouse_events:  0;
26939                clip_to: "clip_base";
26940                description { state: "default" 0.0;
26941                    image.normal: "dia_grad.png";
26942                    rel1.to: "over";
26943                    rel2.to: "over";
26944                    fill {
26945                        smooth: 0;
26946                        size {
26947                            relative: 0.0 1.0;
26948                            offset: 64 0;
26949                        }
26950                    }
26951                }
26952            }
26953            part { name: "base";
26954                mouse_events:  0;
26955                clip_to: "clip_base";
26956                description { state: "default" 0.0;
26957                    image {
26958                        normal: "frame_2.png";
26959                        border: 5 5 32 26;
26960                        middle: 0;
26961                    }
26962                    fill.smooth : 0;
26963                }
26964            }
26965            part { name: "over";
26966                mouse_events:  0;
26967                clip_to: "clip";
26968                description { state:    "default" 0.0;
26969                    rel1 {
26970                        to: "base";
26971                        offset: 4 4;
26972                    }
26973                    rel2 {
26974                        to: "base";
26975                        offset: -5 -5;
26976                    }
26977                    image {
26978                        normal: "frame_1.png";
26979                        border: 2 2 28 22;
26980                        middle: 0;
26981                    }
26982                    fill.smooth : 0;
26983                }
26984            }
26985            part { name: "elm.swallow.content";
26986                type: SWALLOW;
26987                clip_to: "clip";
26988                description { state: "default" 0.0;
26989                    rel1 {
26990                        to: "base";
26991                        offset: 8 8;
26992                    }
26993                    rel2 {
26994                        to: "base";
26995                        offset: -9 -9;
26996                    }
26997                }
26998            }
26999        }
27000        programs {
27001            program { name: "push_start";
27002                signal: "elm,action,push";
27003                source: "elm";
27004                action:  STATE_SET "hidden" 0.0;
27005                target: "clip";
27006                target: "clip_base";
27007                after: "show_start2";
27008            }
27009            program { name: "show_start";
27010                signal: "elm,action,show";
27011                source: "elm";
27012                action:  STATE_SET "hidden" 0.0;
27013                target: "clip";
27014                target: "clip_base";
27015                after: "show_start2";
27016            }
27017            program { name: "show_start2";
27018                action:  STATE_SET "visible" 0.0;
27019                transition: DECELERATE 0.5;
27020                target: "clip";
27021                target: "clip_base";
27022                after: "show_end";
27023            }
27024            program { name: "show_end";
27025                action: SIGNAL_EMIT "elm,action,show,finished" "";
27026            }
27027            program { name: "pop_start";
27028                signal: "elm,action,pop";
27029                source: "elm";
27030                action:  STATE_SET "visible" 0.0;
27031                target: "clip";
27032                target: "clip_base";
27033                after: "hide_start2";
27034            }
27035            program { name: "hide_start";
27036                signal: "elm,action,hide";
27037                source: "elm";
27038                action:  STATE_SET "visible" 0.0;
27039                target: "clip";
27040                target: "clip_base";
27041                after: "hide_start2";
27042            }
27043            program { name: "hide_start2";
27044                action:  STATE_SET "hidden" 0.0;
27045                transition: DECELERATE 0.5;
27046                target: "clip";
27047                target: "clip_base";
27048                after: "hide_end";
27049            }
27050            program { name: "hide_end";
27051                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27052            }
27053            program { name: "reset";
27054                signal: "elm,action,reset";
27055                source: "elm";
27056                action:  STATE_SET "default" 0.0;
27057                target: "clip_base";
27058                target: "clip";
27059            }
27060        }
27061    }
27062    group { name: "elm/pager/base/fade_invisible";
27063        data.item: "onshow" "raise";
27064        // other options
27065        //      data.item: "onhide" "lower";
27066        //      data.item: "onshow" "lower";
27067        parts {
27068            part { name: "clip";
27069                type: RECT;
27070                mouse_events: 0;
27071                description { state: "default" 0.0;
27072                    rel1 {
27073                        offset: -9999 -9999;
27074                    }
27075                    rel2 {
27076                        offset: 9999 9999;
27077                    }
27078                    color: 255 255 255 255;
27079                }
27080                description { state: "visible" 0.0;
27081                    inherit: "default" 0.0;
27082                }
27083                description { state: "hidden" 0.0;
27084                    inherit: "default" 0.0;
27085                    color: 255 255 255 0;
27086                    visible: 0;
27087                }
27088            }
27089            part { name: "elm.swallow.content";
27090                type: SWALLOW;
27091                clip_to: "clip";
27092                description { state: "default" 0.0;
27093                    rel1 {
27094                        offset: 8 8;
27095                    }
27096                    rel2 {
27097                        offset: -9 -9;
27098                    }
27099                }
27100            }
27101        }
27102        programs {
27103            program { name: "push_start";
27104                signal: "elm,action,push";
27105                source: "elm";
27106                action:  STATE_SET "hidden" 0.0;
27107                target: "clip";
27108                after: "show_start2";
27109            }
27110            program { name: "show_start";
27111                signal: "elm,action,show";
27112                source: "elm";
27113                action:  STATE_SET "hidden" 0.0;
27114                target: "clip";
27115                after: "show_start2";
27116            }
27117            program { name: "show_start2";
27118                action:  STATE_SET "visible" 0.0;
27119                transition: DECELERATE 0.5;
27120                target: "clip";
27121                after: "show_end";
27122            }
27123            program { name: "show_end";
27124                action: SIGNAL_EMIT "elm,action,show,finished" "";
27125            }
27126            program { name: "pop_start";
27127                signal: "elm,action,pop";
27128                source: "elm";
27129                action:  STATE_SET "visible" 0.0;
27130                target: "clip";
27131                after: "hide_start2";
27132            }
27133            program { name: "hide_start";
27134                signal: "elm,action,hide";
27135                source: "elm";
27136                action:  STATE_SET "visible" 0.0;
27137                target: "clip";
27138                after: "hide_start2";
27139            }
27140            program { name: "hide_start2";
27141                action:  STATE_SET "hidden" 0.0;
27142                transition: DECELERATE 0.5;
27143                target: "clip";
27144                after: "hide_end";
27145            }
27146            program { name: "hide_end";
27147                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27148            }
27149            program { name: "reset";
27150                signal: "elm,action,reset";
27151                source: "elm";
27152                action:  STATE_SET "default" 0.0;
27153                target: "clip";
27154            }
27155        }
27156    }
27157
27158    group { name: "elm/pager/base/flip";
27159       data.item: "onshow" "raise";
27160       images {
27161          image: "frame_1.png" COMP;
27162          image: "frame_2.png" COMP;
27163          image: "dia_grad.png" COMP;
27164       }
27165       parts {
27166          part { name: "elm.swallow.content";
27167             type: SWALLOW;
27168             description { state: "default" 0.0;
27169                map {
27170                   on: 1;
27171                   smooth: 1;
27172                   backface_cull: 1;
27173                   perspective_on: 1;
27174                }
27175                perspective {
27176                   zplane: 0;
27177                   focal: 1000;
27178                }
27179             }
27180             description { state: "hidden" 0.0;
27181                inherit: "default" 0.0;
27182                visible: 0;
27183                map.rotation.y: 90.0;
27184             }
27185             description { state: "before_hidden" 0.0;
27186                inherit: "default" 0.0;
27187                visible: 0;
27188                map.rotation.y: -90.0;
27189             }
27190          }
27191       }
27192       programs {
27193          program { name: "push_start";
27194             signal: "elm,action,push";
27195             source: "elm";
27196             after: "push1";
27197          }
27198          program { name: "push1";
27199             action:  STATE_SET "hidden" 0.0;
27200             target: "elm.swallow.content";
27201             after: "push2";
27202          }
27203          program { name: "push2";
27204             action:  STATE_SET "default" 0.0;
27205             in: 0.5 0.0;
27206             transition: LINEAR 0.5;
27207             target: "elm.swallow.content";
27208             after: "push3";
27209          }
27210          program { name: "push3";
27211             action: SIGNAL_EMIT "elm,action,show,finished" "";
27212          }
27213
27214          program { name: "show_start";
27215             signal: "elm,action,show";
27216             source: "elm";
27217             after: "show1";
27218          }
27219          program { name: "show1";
27220             action:  STATE_SET "before_hidden" 0.0;
27221             target: "elm.swallow.content";
27222             after: "show2";
27223          }
27224          program { name: "show2";
27225             action:  STATE_SET "default" 0.0;
27226             in: 0.5 0.0;
27227             transition: LINEAR 0.5;
27228             target: "elm.swallow.content";
27229             after: "show3";
27230          }
27231          program { name: "show3";
27232             action: SIGNAL_EMIT "elm,action,show,finished" "";
27233          }
27234
27235          program { name: "pop_start";
27236             signal: "elm,action,pop";
27237             source: "elm";
27238             after: "pop1";
27239          }
27240          program { name: "pop1";
27241             action:  STATE_SET "default" 0.0;
27242             target: "elm.swallow.content";
27243             after: "pop2";
27244          }
27245          program { name: "pop2";
27246             action:  STATE_SET "hidden" 0.0;
27247             transition: LINEAR 0.5;
27248             target: "elm.swallow.content";
27249             after: "pop3";
27250          }
27251          program { name: "pop3";
27252             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27253          }
27254
27255          program { name: "hide_start";
27256             signal: "elm,action,hide";
27257             source: "elm";
27258             after: "hide1";
27259          }
27260          program { name: "hide1";
27261             action:  STATE_SET "default" 0.0;
27262             target: "elm.swallow.content";
27263             after: "hide2";
27264          }
27265          program { name: "hide2";
27266             action:  STATE_SET "before_hidden" 0.0;
27267             transition: LINEAR 0.5;
27268             target: "elm.swallow.content";
27269             after: "hide3";
27270          }
27271          program { name: "hide3";
27272             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27273          }
27274
27275          program { name: "reset";
27276             signal: "elm,action,reset";
27277             source: "elm";
27278             action:  STATE_SET "default" 0.0;
27279             target: "elm.swallow.content";
27280          }
27281       }
27282    }
27283
27284
27285
27286 ///////////////////////////////////////////////////////////////////////////////
27287 // FIXME: this doesn't look too hot. need to fix it up
27288    group { name: "elm/progressbar/horizontal/default";
27289       images {
27290          image: "shelf_inset.png" COMP;
27291          image: "bt_sm_base2.png" COMP;
27292          image: "bt_sm_hilight.png" COMP;
27293          image: "bt_sm_shine.png" COMP;
27294       }
27295       parts {
27296          part { name: "elm.background.progressbar";
27297             type: RECT;
27298             mouse_events: 0;
27299             description {
27300                state: "default" 0.0;
27301                rel1 {
27302                   relative: 0.0 0.0;
27303                   offset: 0 0;
27304                }
27305                rel2 {
27306                   relative: 1.0 1.0;
27307                }
27308             }
27309          }
27310          part { name: "elm.swallow.bar";
27311             mouse_events: 0;
27312             type: SWALLOW;
27313             description {
27314                min: 48 28;
27315                max: 99999 28;
27316                state: "default" 0.0;
27317                rel1 {
27318                   to_x: "elm.text";
27319                   to_y: "elm.background.progressbar";
27320                   relative: 1.0 0.0;
27321                }
27322                rel2 {
27323                   to: "elm.background.progressbar";
27324                   relative: 1.0 1.0;
27325                }
27326             }
27327          }
27328          part { name: "elm.swallow.content";
27329             type: SWALLOW;
27330             description { state: "default" 0.0;
27331                visible: 0;
27332                align: 0.0 0.5;
27333                rel1 {
27334                   offset: 4 0;
27335                   to_y: "elm.background.progressbar";
27336                }
27337                rel2 {
27338                   offset: 3 -1;
27339                   relative: 0.0 1.0;
27340                   to_y: "elm.background.progressbar";
27341                }
27342             }
27343             description { state: "visible" 0.0;
27344                inherit: "default" 0.0;
27345                visible: 1;
27346                aspect: 1.0 1.0;
27347                aspect_preference: VERTICAL;
27348                rel2.offset: 4 -1;
27349             }
27350          }
27351          part { name: "elm.text";
27352             type: TEXT;
27353             mouse_events: 0;
27354             scale: 1;
27355             description { state: "default" 0.0;
27356                visible: 0;
27357                fixed: 1 1;
27358                align: 0.0 0.5;
27359                rel1.to_x: "elm.swallow.content";
27360                rel1.relative: 1.0 0.0;
27361                rel1.offset: -1 4;
27362                rel2.to_x: "elm.swallow.content";
27363                rel2.relative: 1.0 1.0;
27364                rel2.offset: -1 -5;
27365                color: 0 0 0 255;
27366                text {
27367                   font: "Sans,Edje-Vera";
27368                   size: 10;
27369                   min: 0 0;
27370                   align: 0.0 0.5;
27371                }
27372             }
27373             description { state: "visible" 0.0;
27374                inherit: "default" 0.0;
27375                visible: 1;
27376                text.min: 1 1;
27377                rel1.offset: 0 4;
27378                rel2.offset: 0 -5;
27379             }
27380          }
27381
27382          part { name: "background";
27383             mouse_events: 0;
27384             clip_to: "elm.background.progressbar";
27385             description {
27386                state: "default" 0.0;
27387                rel1 {
27388                   to: "elm.swallow.bar";
27389                   relative: 0.0 0.0;
27390                }
27391                rel2 {
27392                   to: "elm.swallow.bar";
27393                   relative: 1.0 1.0;
27394                   offset: -1 -1;
27395                }
27396                image {
27397                   normal: "shelf_inset.png";
27398                   border: 7 7 7 7;
27399                }
27400             }
27401          }
27402
27403          part { name: "elm.text.status";
27404             type: TEXT;
27405             mouse_events: 0;
27406             description { state: "default" 0.0;
27407                fixed: 1 1;
27408                visible: 1;
27409                rel1 {
27410                   to: "background";
27411                   relative: 0.5 0.5;
27412                }
27413                rel2 {
27414                   to: "background";
27415                   relative: 0.5 0.5;
27416                }
27417                text {
27418                   font: "Sans:style=Bold,Edje-Vera-Bold";
27419                   size: 10;
27420                   min: 1 1;
27421                   align: 0.5 0.0;
27422                }
27423                color: 0 0 0 255;
27424             }
27425             description { state: "hidden" 0.0;
27426                inherit: "default" 0.0;
27427                visible: 0;
27428                text.min: 0 0;
27429             }
27430          }
27431
27432          part { name: "elm.progress.progressbar";
27433             mouse_events: 0;
27434             clip_to: "elm.background.progressbar";
27435             description {
27436                state: "default" 0.0;
27437                min: 14 28;
27438                fixed: 1 1;
27439                rel1 {
27440                   to: "elm.swallow.bar";
27441                   relative: 0.0 0.0;
27442                }
27443                rel2 {
27444                   to_y: "elm.swallow.bar";
27445                   to_x: "elm.cur.progressbar";
27446                   offset: -1 -1;
27447                }
27448                image {
27449                   normal: "bt_sm_base2.png";
27450                   border: 6 6 6 6;
27451                }
27452             }
27453             description {
27454                state: "invert" 0.0;
27455                inherit: "default" 0.0;
27456                rel1 {
27457                   to_y: "elm.swallow.bar";
27458                   to_x: "elm.cur.progressbar";
27459                }
27460                rel2 {
27461                   to: "elm.swallow.bar";
27462                   relative: 1.0 1.0;
27463                }
27464             }
27465             description {
27466                state: "state_begin" 0.0;
27467                inherit: "default" 0.0;
27468                rel1 {
27469                   to: "elm.swallow.bar";
27470                   relative: 0.0 0.0;
27471                }
27472                rel2 {
27473                   to: "elm.swallow.bar";
27474                   relative: 0.1 1.0;
27475                }
27476             }
27477             description {
27478                state: "state_end" 0.0;
27479                inherit: "default" 0.0;
27480                rel1 {
27481                   to: "elm.swallow.bar";
27482                   relative: 0.9 0.0;
27483                }
27484                rel2 {
27485                   to: "elm.swallow.bar";
27486                   relative: 1.0 1.0;
27487                }
27488             }
27489          }
27490          part { name: "text-bar";
27491             type: TEXT;
27492             mouse_events: 0;
27493             clip_to: "progress-rect";
27494             effect: SOFT_SHADOW;
27495             scale: 1;
27496             description { state: "default" 0.0;
27497                align: 0.0 0.0;
27498                fixed: 1 1;
27499                visible: 1;
27500                rel1.to: "elm.text.status";
27501                rel1.offset: -1 -1;
27502                rel2.to: "elm.text.status";
27503                text {
27504                   text_source: "elm.text.status";
27505                   font: "Sans:style=Bold,Edje-Vera-Bold";
27506                   size: 10;
27507                   min: 1 1;
27508                   align: 0.0 0.0;
27509                }
27510                color: 224 224 224 255;
27511                color3: 0 0 0 64;
27512             }
27513             description { state: "hidden" 0.0;
27514                inherit: "default" 0.0;
27515                visible: 0;
27516                text.min: 0 0;
27517             }
27518          }
27519
27520          part { name: "over1";
27521             mouse_events: 0;
27522             description { state: "default" 0.0;
27523                rel1.to: "elm.progress.progressbar";
27524                rel2.to: "elm.progress.progressbar";
27525                rel2.relative: 1.0 0.5;
27526                image {
27527                   normal: "bt_sm_hilight.png";
27528                   border: 6 6 6 0;
27529                }
27530             }
27531          }
27532
27533          part { name: "over2";
27534             mouse_events: 1;
27535             repeat_events: 1;
27536             description { state: "default" 0.0;
27537                rel1.to: "elm.progress.progressbar";
27538                rel2.to: "elm.progress.progressbar";
27539                image {
27540                   normal: "bt_sm_shine.png";
27541                   border: 6 6 6 0;
27542                }
27543             }
27544          }
27545
27546          part { name: "elm.cur.progressbar";
27547             mouse_events: 0;
27548             dragable {
27549                confine: "background";
27550                x: 1 1 1;
27551                y: 0 0 0;
27552             }
27553             description { state: "default" 0.0;
27554                min: 14 28;
27555                fixed: 1 1;
27556                visible: 0;
27557                rel1 {
27558                   to: "background";
27559                   relative: 0 0;
27560                }
27561                rel2.to: "background";
27562            }
27563          }
27564          part { name: "progress-rect";
27565             type: RECT;
27566             mouse_events: 0;
27567             description {
27568                state: "default" 0.0;
27569                rel1.to: "elm.progress.progressbar";
27570                rel2.to: "elm.progress.progressbar";
27571             }
27572          }
27573       }
27574       programs {
27575          program { name: "label_show";
27576             signal: "elm,state,text,visible";
27577             source: "elm";
27578             action:  STATE_SET "visible" 0.0;
27579             target: "elm.text";
27580          }
27581          program { name: "label_hide";
27582             signal: "elm,state,text,hidden";
27583             source: "elm";
27584             action:  STATE_SET "default" 0.0;
27585             target: "elm.text";
27586          }
27587          program { name: "icon_show";
27588             signal: "elm,state,icon,visible";
27589             source: "elm";
27590             action:  STATE_SET "visible" 0.0;
27591             target: "elm.swallow.content";
27592          }
27593          program { name: "icon_hide";
27594             signal: "elm,state,icon,hidden";
27595             source: "elm";
27596             action:  STATE_SET "default" 0.0;
27597             target: "elm.swallow.content";
27598          }
27599          program { name: "units_show";
27600             signal: "elm,state,units,visible";
27601             source: "elm";
27602             action:  STATE_SET "default" 0.0;
27603             target: "text-bar";
27604             target: "elm.text.status";
27605          }
27606          program { name: "units_hide";
27607             signal: "elm,state,units,hidden";
27608             source: "elm";
27609             action:  STATE_SET "hidden" 0.0;
27610             target: "text-bar";
27611             target: "elm.text.status";
27612          }
27613          program { name: "slide_to_end";
27614             action:  STATE_SET "state_end" 0.0;
27615             transition: LINEAR 0.5;
27616             target: "elm.progress.progressbar";
27617             after: "slide_to_begin";
27618          }
27619          program { name: "slide_to_begin";
27620             signal: "elm,state,slide,begin";
27621             action: STATE_SET "state_begin" 0.0;
27622             target: "elm.progress.progressbar";
27623             transition: LINEAR 0.5;
27624             after: "slide_to_end";
27625          }
27626          program { name: "start_pulse";
27627             signal: "elm,state,pulse,start";
27628             source: "elm";
27629             after: "slide_to_end";
27630          }
27631          program { name: "stop_pulse";
27632             signal: "elm,state,pulse,stop";
27633             source: "elm";
27634             action: ACTION_STOP;
27635             target: "slide_to_begin";
27636             target: "slide_to_end";
27637             target: "start_pulse";
27638             after: "state_pulse";
27639          }
27640          program { name: "state_pulse";
27641             signal: "elm,state,pulse";
27642             source: "elm";
27643             action: STATE_SET "state_begin" 0.0;
27644             target: "elm.progress.progressbar";
27645             after: "units_hide";
27646          }
27647          program { name: "state_fraction";
27648             signal: "elm,state,fraction";
27649             source: "elm";
27650             action: ACTION_STOP;
27651             target: "slide_to_begin";
27652             target: "slide_to_end";
27653             target: "start_pulse";
27654             action: STATE_SET "default" 0.0;
27655             target: "elm.progress.progressbar";
27656          }
27657          program { name: "set_invert_on";
27658             signal: "elm,state,inverted,on";
27659             source: "elm";
27660             action:  STATE_SET "invert" 0.0;
27661             target: "elm.progress.progressbar";
27662          }
27663          program { name: "set_invert_off";
27664             signal: "elm,state,inverted,off";
27665             source: "elm";
27666             action:  STATE_SET "default" 0.0;
27667             target: "elm.progress.progressbar";
27668          }
27669       }
27670    }
27671
27672 ///////////////////////////////////////////////////////////////////////////////
27673    group { name: "elm/progressbar/vertical/default";
27674       images {
27675          image: "shelf_inset.png" COMP;
27676          image: "bt_sm_base2.png" COMP;
27677          image: "bt_sm_hilight.png" COMP;
27678          image: "bt_sm_shine.png" COMP;
27679       }
27680       parts {
27681          part { name: "elm.background.progressbar";
27682             type: RECT;
27683             mouse_events: 0;
27684             description {
27685                state: "default" 0.0;
27686                rel1 {
27687                   relative: 0.0 0.0;
27688                   offset: 0 0;
27689                }
27690                rel2 {
27691                   relative: 1.0 1.0;
27692                   offset: -1 -1;
27693                }
27694             }
27695          }
27696          part { name: "elm.swallow.bar";
27697             type: SWALLOW;
27698             scale: 1;
27699             description { state: "default" 0.0;
27700                min: 28 48;
27701                max: 28 9999;
27702                align: 0.5 1.0;
27703                rel1 {
27704                   to_y: "elm.text";
27705                   relative: 0.0 1.0;
27706                   offset: 0 2;
27707                }
27708                rel2 {
27709                   to_y: "elm.text.box";
27710                   relative: 1.0 0.0;
27711                   offset: -1 -3;
27712                }
27713             }
27714          }
27715          part { name: "elm.swallow.content";
27716             type: SWALLOW;
27717             description { state: "default" 0.0;
27718                visible: 0;
27719                align: 0.5 0.0;
27720                rel1 {
27721                   offset: 0 4;
27722                   to_x: "elm.swallow.bar";
27723                }
27724                rel2 {
27725                   offset: -1 3;
27726                   relative: 1.0 0.0;
27727                   to_x: "elm.swallow.bar";
27728                }
27729             }
27730             description { state: "visible" 0.0;
27731                inherit: "default" 0.0;
27732                visible: 1;
27733                aspect: 1.0 1.0;
27734                aspect_preference: HORIZONTAL;
27735                rel2.offset: -1 4;
27736             }
27737          }
27738          part { name: "elm.text";
27739             type: TEXT;
27740             mouse_events: 0;
27741             scale: 1;
27742             description { state: "default" 0.0;
27743                visible: 0;
27744                fixed: 1 1;
27745                align: 0.5 0.0;
27746                rel1.to_y: "elm.swallow.content";
27747                rel1.relative: 0.5 1.0;
27748                rel1.offset: 0 -1;
27749                rel2.to_y: "elm.swallow.content";
27750                rel2.relative: 0.5 1.0;
27751                rel2.offset: -1 -1;
27752                color: 0 0 0 255;
27753                text {
27754                   font: "Sans,Edje-Vera";
27755                   size: 10;
27756                   min: 0 0;
27757                   align: 0.5 0.0;
27758                }
27759             }
27760             description { state: "visible" 0.0;
27761                inherit: "default" 0.0;
27762                visible: 1;
27763                text.min: 1 1;
27764                rel1.offset: 4 0;
27765                rel2.offset: -5 0;
27766             }
27767          }
27768
27769          part { name: "background";
27770             mouse_events: 0;
27771             clip_to: "elm.background.progressbar";
27772             description {
27773                state: "default" 0.0;
27774                rel1 {
27775                   to: "elm.swallow.bar";
27776                   relative: 0.0 0.0;
27777                }
27778                rel2 {
27779                   to: "elm.swallow.bar";
27780                   relative: 1.0 1.0;
27781                   offset: -1 -1;
27782                }
27783                image {
27784                   normal: "shelf_inset.png";
27785                   border: 7 7 7 7;
27786                }
27787             }
27788          }
27789
27790          part { name: "elm.progress.progressbar";
27791             mouse_events: 0;
27792             clip_to: "elm.background.progressbar";
27793             description {
27794                state: "default" 0.0;
27795                min: 28 14;
27796                fixed: 1 1;
27797                rel1 {
27798                   to: "elm.swallow.bar";
27799                   relative: 0.0 0.0;
27800                }
27801                rel2 {
27802                   to_x: "elm.swallow.bar";
27803                   to_y: "elm.cur.progressbar";
27804                   offset: -1 -1;
27805                }
27806                image {
27807                   normal: "bt_sm_base2.png";
27808                   border: 6 6 6 6;
27809                }
27810             }
27811             description {
27812                state: "invert" 0.0;
27813                inherit: "default" 0.0;
27814                rel1 {
27815                   to_x: "elm.swallow.bar";
27816                   to_y: "elm.cur.progressbar";
27817                }
27818                rel2 {
27819                   to: "elm.swallow.bar";
27820                   relative: 1.0 1.0;
27821                }
27822             }
27823             description {
27824                state: "state_begin" 0.0;
27825                inherit: "default" 0.0;
27826                rel1 {
27827                   to: "elm.swallow.bar";
27828                   relative: 0.0 0.0;
27829                }
27830                rel2 {
27831                   to: "elm.swallow.bar";
27832                   relative: 1.0 0.1;
27833                }
27834             }
27835             description {
27836                state: "state_end" 0.0;
27837                inherit: "default" 0.0;
27838                rel1 {
27839                   to: "elm.swallow.bar";
27840                   relative: 0.0 0.9;
27841                }
27842                rel2 {
27843                   to: "elm.swallow.bar";
27844                   relative: 1.0 1.0;
27845                }
27846             }
27847          }
27848
27849          part { name: "over1";
27850             mouse_events: 0;
27851             description { state: "default" 0.0;
27852                rel1.to: "elm.progress.progressbar";
27853                rel2.to: "elm.progress.progressbar";
27854                rel2.relative: 1.0 0.5;
27855                image {
27856                   normal: "bt_sm_hilight.png";
27857                   border: 6 6 6 0;
27858                }
27859             }
27860          }
27861
27862          part { name: "over2";
27863             mouse_events: 1;
27864             repeat_events: 1;
27865             description { state: "default" 0.0;
27866                rel1.to: "elm.progress.progressbar";
27867                rel2.to: "elm.progress.progressbar";
27868                image {
27869                   normal: "bt_sm_shine.png";
27870                   border: 6 6 6 0;
27871                }
27872             }
27873          }
27874
27875          part { name: "elm.cur.progressbar";
27876             mouse_events: 0;
27877             dragable {
27878                confine: "background";
27879                x: 0 0 0;
27880                y: 1 1 1;
27881             }
27882             description { state: "default" 0.0;
27883                min: 28 14;
27884                fixed: 1 1;
27885                visible: 0;
27886                rel1 {
27887                   to: "background";
27888                   relative: 0 0;
27889                }
27890                rel2.to: "background";
27891            }
27892          }
27893
27894          part { name: "elm.text.box";
27895             mouse_events: 0;
27896             type: RECT;
27897             description { state: "default" 0.0;
27898                visible: 0;
27899                rel1 {
27900                   to: "elm.text.status";
27901                   offset: -2 -2;
27902                }
27903                rel2 {
27904                   to: "elm.text.status";
27905                   offset: 2 2;
27906                }
27907                color: 255 255 255 0;
27908             }
27909             description { state: "visible" 0.0;
27910                inherit: "default" 0.0;
27911                visible: 1;
27912             }
27913          }
27914          part { name: "elm.text.status";
27915             type: TEXT;
27916             mouse_events: 0;
27917             scale: 1;
27918             description { state: "default" 0.0;
27919                visible: 0;
27920                fixed: 1 1;
27921                align: 0.5 1.0;
27922                rel1.relative: 0.0 1.0;
27923                rel1.offset: 2 0;
27924                rel2.relative: 1.0 1.0;
27925                rel2.offset: -2 0;
27926                color: 0 0 0 255;
27927                text {
27928                   font: "Sans:style=Bold,Edje-Vera-Bold";
27929                   size: 10;
27930                   min: 0 0;
27931                   align: 0.5 0.0;
27932                }
27933             }
27934             description { state: "visible" 0.0;
27935                inherit: "default" 0.0;
27936                fixed: 1 1;
27937                visible: 1;
27938                text.min: 1 1;
27939                rel1.offset: 8 -9;
27940                rel2.offset: -9 -9;
27941             }
27942          }
27943       }
27944       programs {
27945          program { name: "label_show";
27946             signal: "elm,state,text,visible";
27947             source: "elm";
27948             action:  STATE_SET "visible" 0.0;
27949             target: "elm.text";
27950          }
27951          program { name: "label_hide";
27952             signal: "elm,state,text,hidden";
27953             source: "elm";
27954             action:  STATE_SET "default" 0.0;
27955             target: "elm.text";
27956          }
27957          program { name: "icon_show";
27958             signal: "elm,state,icon,visible";
27959             source: "elm";
27960             action:  STATE_SET "visible" 0.0;
27961             target: "elm.swallow.content";
27962          }
27963          program { name: "icon_hide";
27964             signal: "elm,state,icon,hidden";
27965             source: "elm";
27966             action:  STATE_SET "default" 0.0;
27967             target: "elm.swallow.content";
27968          }
27969          program { name: "units_show";
27970             signal: "elm,state,units,visible";
27971             source: "elm";
27972             action:  STATE_SET "visible" 0.0;
27973             target: "elm.text.status";
27974             target: "elm.text.box";
27975          }
27976          program { name: "units_hide";
27977             signal: "elm,state,units,hidden";
27978             source: "elm";
27979             action:  STATE_SET "default" 0.0;
27980             target: "elm.text.status";
27981             target: "elm.text.box";
27982          }
27983          program { name: "slide_to_end";
27984             action:  STATE_SET "state_end" 0.0;
27985             transition: LINEAR 0.5;
27986             target: "elm.progress.progressbar";
27987             after: "slide_to_begin";
27988          }
27989          program { name: "slide_to_begin";
27990             action:  STATE_SET "state_begin" 0.0;
27991             target: "elm.progress.progressbar";
27992             transition: LINEAR 0.5;
27993             after: "slide_to_end";
27994          }
27995          program { name: "start_pulse";
27996             signal: "elm,state,pulse,start";
27997             source: "elm";
27998             action: STATE_SET "state_begin" 0.0;
27999             target: "elm.progress.progressbar";
28000             after: "slide_to_end";
28001          }
28002          program { name: "stop_pulse";
28003             signal: "elm,state,pulse,stop";
28004             source: "elm";
28005             action: ACTION_STOP;
28006             target: "slide_to_begin";
28007             target: "slide_to_end";
28008             target: "start_pulse";
28009             after: "state_pulse";
28010          }
28011          program { name: "state_pulse";
28012             signal: "elm,state,pulse";
28013             source: "elm";
28014             action: STATE_SET "state_begin" 0.0;
28015             target: "elm.progress.progressbar";
28016             after: "units_hide";
28017          }
28018          program { name: "state_fraction";
28019             signal: "elm,state,fraction";
28020             source: "elm";
28021             action: ACTION_STOP;
28022             target: "slide_to_begin";
28023             target: "slide_to_end";
28024             target: "start_pulse";
28025             action: STATE_SET "default" 0.0;
28026             target: "elm.progress.progressbar";
28027          }
28028          program { name: "set_invert_on";
28029             signal: "elm,state,inverted,on";
28030             source: "elm";
28031             action:  STATE_SET "invert" 0.0;
28032             target: "elm.progress.progressbar";
28033             target: "elm.cur.progressbar";
28034          }
28035          program { name: "set_invert_off";
28036             signal: "elm,state,inverted,off";
28037             source: "elm";
28038             action:  STATE_SET "default" 0.0;
28039             target: "elm.progress.progressbar";
28040             target: "elm.cur.progressbar";
28041          }
28042       }
28043    }
28044
28045 ///////////////////////////////////////////////////////////////////////////////
28046    group { name: "elm/separator/horizontal/default";
28047        images {
28048            image: "separator_h.png" COMP;
28049        }
28050        parts {
28051            part { name: "separator"; // separator group
28052                description { state: "default" 0.0;
28053                    min: 2 2;
28054                    rel1.offset: 4 4;
28055                    rel2.offset: -5 -5;
28056                    image {
28057                        normal: "separator_h.png";
28058                    }
28059                    fill {
28060                        smooth: 0;
28061                    }
28062                }
28063            }
28064        }
28065    }
28066
28067    ///////////////////////////////////////////////////////////////////////////////
28068    group { name: "elm/separator/vertical/default";
28069        images {
28070            image: "separator_v.png" COMP;
28071        }
28072        parts {
28073            part { name: "separator"; // separator group
28074                description { state: "default" 0.0;
28075                    min: 2 2;
28076                    rel1.offset: 4 4;
28077                    rel2.offset: -5 -5;
28078                    image {
28079                        normal: "separator_v.png";
28080                    }
28081                    fill {
28082                        smooth: 0;
28083                    }
28084                }
28085            }
28086        }
28087    }
28088
28089    group { name: "elm/progressbar/horizontal/wheel";
28090        images {
28091            image: "busy-1.png" COMP;
28092            image: "busy-2.png" COMP;
28093            image: "busy-3.png" COMP;
28094            image: "busy-4.png" COMP;
28095            image: "busy-5.png" COMP;
28096            image: "busy-6.png" COMP;
28097            image: "busy-7.png" COMP;
28098            image: "busy-8.png" COMP;
28099            image: "busy-9.png" COMP;
28100        }
28101        parts {
28102            part { name: "elm.background.progressbar";
28103                mouse_events: 0;
28104                type: RECT;
28105                description {
28106                    state: "default" 0.0;
28107                }
28108            }
28109            part { name: "elm.swallow.bar";
28110                mouse_events: 0;
28111                type: SWALLOW;
28112                description { state: "default" 0.0;
28113                    min: 0 0;
28114                    max: 0 0;
28115                    visible: 0;
28116                }
28117            }
28118            part { name: "elm.swallow.content";
28119                type: SWALLOW;
28120                description { state: "default" 0.0;
28121                    min: 0 0;
28122                    max: 0 0;
28123                    visible: 0;
28124                }
28125            }
28126            part { name: "background";
28127                mouse_events: 0;
28128                clip_to: "elm.background.progressbar";
28129                description {
28130                    state: "default" 0.0;
28131                    min: 32 32;
28132                    max: 32 32;
28133                    visible: 1;
28134                    aspect: 1.0 1.0;
28135                    aspect_preference: BOTH;
28136                    image {
28137                        normal: "busy-9.png";
28138                        border: 7 7 7 7;
28139                    }
28140                }
28141                description {
28142                    state: "pulse" 0.0;
28143                    inherit: "default" 0.0;
28144                    image {
28145                        normal: "busy-9.png";
28146                        tween:  "busy-1.png";
28147                        tween:  "busy-2.png";
28148                        tween:  "busy-3.png";
28149                        tween:  "busy-4.png";
28150                        tween:  "busy-5.png";
28151                        tween:  "busy-6.png";
28152                        tween:  "busy-7.png";
28153                        tween:  "busy-8.png";
28154                        border: 7 7 7 7;
28155                    }
28156                }
28157            }
28158        }
28159        programs {
28160            program { name: "start_pulse";
28161                signal: "elm,state,pulse,start";
28162                source: "elm";
28163                action: STATE_SET "pulse" 0.0;
28164                target: "background";
28165                transition: LINEAR 0.5;
28166                after: "start_pulse";
28167            }
28168            program { name: "stop_pulse";
28169                signal: "elm,state,pulse,stop";
28170                source: "elm";
28171                action: STATE_SET "default" 0.0;
28172                target: "background";
28173            }
28174        }
28175    }
28176
28177
28178 ///////////////////////////////////////////////////////////////////////////////
28179    group { name: "elm/spinner/base/default";
28180        images {
28181            image: "shelf_inset.png" COMP;
28182            image: "bt_base1.png" COMP;
28183            image: "bt_hilight.png" COMP;
28184            image: "bt_shine.png" COMP;
28185            image: "bt_glow.png" COMP;
28186            image: "bt_dis_base.png" COMP;
28187            image: "bt_dis_hilight.png" COMP;
28188            image: "sp_bt_l.png" COMP;
28189            image: "sp_bt_r.png" COMP;
28190        }
28191        parts {
28192            part { name: "bg";
28193                type: RECT;
28194                description { state: "default" 0.0;
28195                    min: 0 30;
28196                    rel1.offset: 1 1;
28197                    rel2.offset: -2 -2;
28198                    color: 255 255 255 0;
28199                }
28200            }
28201            part { name: "conf_over";
28202                mouse_events:  0;
28203                description { state: "default" 0.0;
28204                    rel1.to: "bg";
28205                    rel2.to: "bg";
28206                    image {
28207                        normal: "shelf_inset.png";
28208                        border: 7 7 7 7;
28209                        middle: 0;
28210                    }
28211                    fill.smooth : 0;
28212                }
28213            }
28214            part { name: "left_bt";
28215                mouse_events:  1;
28216                description { state: "default" 0.0;
28217                    rel1 { to: "bg";
28218                        offset: 3 3;
28219                    }
28220                    rel2 { to: "bg";
28221                        offset: -4 -4;
28222                    }
28223                    align: 0.0 0.5;
28224                    min: 24 24;
28225                    aspect: 1.0 1.0;
28226                    aspect_preference: VERTICAL;
28227                    image {
28228                        normal: "bt_base1.png";
28229                        border: 6 6 6 6;
28230                    }
28231                    fill.smooth : 0;
28232                }
28233                description { state: "clicked" 0.0;
28234                    inherit: "default" 0.0;
28235                    image.normal: "bt_base1.png";
28236                    image.middle: SOLID;
28237                }
28238                description { state: "disabled" 0.0;
28239                    inherit:  "default" 0.0;
28240                    image {
28241                        normal: "bt_dis_base.png";
28242                        border: 4 4 4 4;
28243                    }
28244                }
28245            }
28246            part {          name: "left_over1";
28247                mouse_events: 0;
28248                description { state: "default" 0.0;
28249                    rel1.to: "left_bt";
28250                    rel2 { to: "left_bt";
28251                        relative: 1.0 0.5;
28252                    }
28253                    image {
28254                        normal: "bt_hilight.png";
28255                        border: 7 7 7 0;
28256                    }
28257                }
28258                description { state: "disabled" 0.0;
28259                    inherit:  "default" 0.0;
28260                    image {
28261                        normal: "bt_dis_hilight.png";
28262                        border: 4 4 4 0;
28263                    }
28264                }
28265            }
28266            part { name: "left_over2";
28267                mouse_events: 1;
28268                repeat_events: 1;
28269                ignore_flags: ON_HOLD;
28270                description { state: "default" 0.0;
28271                    rel1.to: "left_bt";
28272                    rel2.to: "left_bt";
28273                    image {
28274                        normal: "bt_shine.png";
28275                        border: 7 7 7 7;
28276                    }
28277                }
28278                description { state: "disabled" 0.0;
28279                    inherit:  "default" 0.0;
28280                    visible: 0;
28281                }
28282            }
28283            part { name: "left_over3";
28284                mouse_events: 1;
28285                repeat_events: 1;
28286                description { state: "default" 0.0;
28287                    color: 255 255 255 0;
28288                    rel1.to: "left_bt";
28289                    rel2.to: "left_bt";
28290                    image {
28291                        normal: "bt_glow.png";
28292                        border: 12 12 12 12;
28293                    }
28294                    fill.smooth : 0;
28295                }
28296                description { state: "clicked" 0.0;
28297                    inherit:  "default" 0.0;
28298                    visible: 1;
28299                    color: 255 255 255 255;
28300                }
28301            }
28302            part { name: "right_bt";
28303                mouse_events:  1;
28304                description { state: "default" 0.0;
28305                    rel1 { to: "bg";
28306                        offset: -26 3;
28307                    }
28308                    rel2 { to: "bg";
28309                        offset: -4 -4;
28310                    }
28311                    align: 1.0 0.5;
28312                    min: 24 24;
28313                    aspect: 1.0 1.0;
28314                    aspect_preference: VERTICAL;
28315                    image {
28316                        normal: "bt_base1.png";
28317                        border: 5 5 4 12;
28318                    }
28319                    fill.smooth : 0;
28320                }
28321                description { state: "clicked" 0.0;
28322                    inherit: "default" 0.0;
28323                    image.normal: "bt_base1.png";
28324                    image.middle: SOLID;
28325                }
28326                description { state: "disabled" 0.0;
28327                    inherit:  "default" 0.0;
28328                    image {
28329                        normal: "bt_dis_base.png";
28330                        border: 4 4 4 4;
28331                    }
28332                }
28333            }
28334            part { name: "right_over1";
28335                mouse_events: 0;
28336                description { state: "default" 0.0;
28337                    rel1.to: "right_bt";
28338                    rel2 { to: "right_bt";
28339                        relative: 1.0 0.5;
28340                    }
28341                    image {
28342                        normal: "bt_hilight.png";
28343                        border: 7 7 7 0;
28344                    }
28345                }
28346                description { state: "disabled" 0.0;
28347                    inherit:  "default" 0.0;
28348                    image {
28349                        normal: "bt_dis_hilight.png";
28350                        border: 4 4 4 0;
28351                    }
28352                }
28353            }
28354            part { name: "right_over2";
28355                mouse_events: 1;
28356                repeat_events: 1;
28357                ignore_flags: ON_HOLD;
28358                description { state: "default" 0.0;
28359                    rel1.to: "right_bt";
28360                    rel2.to: "right_bt";
28361                    image {
28362                        normal: "bt_shine.png";
28363                        border: 7 7 7 7;
28364                    }
28365                }
28366                description { state: "disabled" 0.0;
28367                    inherit:  "default" 0.0;
28368                    visible: 0;
28369                }
28370            }
28371            part { name: "right_over3";
28372                mouse_events: 1;
28373                repeat_events: 1;
28374                description { state: "default" 0.0;
28375                    color: 255 255 255 0;
28376                    rel1.to: "right_bt";
28377                    rel2.to: "right_bt";
28378                    image {
28379                        normal: "bt_glow.png";
28380                        border: 12 12 12 12;
28381                    }
28382                    fill.smooth : 0;
28383                }
28384                description { state: "clicked" 0.0;
28385                    inherit:  "default" 0.0;
28386                    visible: 1;
28387                    color: 255 255 255 255;
28388                }
28389            }
28390            part { name: "left_bt_icon";
28391                repeat_events: 1;
28392                description { state: "default" 0.0;
28393                    rel1.to: "left_bt";
28394                    rel1.offset: 4 4;
28395                    rel2.to: "left_bt";
28396                    rel2.offset: -5 -5;
28397                    align: 0.5 0.5;
28398                    min: 16 16;
28399                    aspect: 1.0 1.0;
28400                    aspect_preference: BOTH;
28401                    image.normal: "sp_bt_l.png";
28402                }
28403                description { state: "rtl" 0.0;
28404                    inherit: "default" 0.0;
28405                    image.normal: "sp_bt_r.png";
28406                }
28407            }
28408            part { name: "right_bt_icon";
28409                repeat_events: 1;
28410                description { state: "default" 0.0;
28411                    rel1.to: "right_bt";
28412                    rel1.offset: 4 4;
28413                    rel2.to: "right_bt";
28414                    rel2.offset: -5 -5;
28415                    align: 0.5 0.5;
28416                    min: 16 16;
28417                    aspect: 1.0 1.0;
28418                    aspect_preference: BOTH;
28419                    image.normal: "sp_bt_r.png";
28420                }
28421                description { state: "rtl" 0.0;
28422                    inherit: "default" 0.0;
28423                    image.normal: "sp_bt_l.png";
28424                }
28425            }
28426            part { name: "elm.text";
28427                type: TEXT;
28428                mouse_events: 0;
28429                scale: 1;
28430                description { state: "default" 0.0;
28431                    visible: 1;
28432                    align: 0.0 0.5;
28433                    rel1 { relative: 1.0 0.0;
28434                        offset: 3 2;
28435                        to_x: "left_bt";
28436                        to_y: "bg";
28437                    }
28438                    rel2 { relative: 0.0 1.0;
28439                        offset: -3 -2;
28440                        to_x: "right_bt";
28441                        to_y: "bg";
28442                    }
28443                    color: 0 0 0 255;
28444                    text {
28445                        font: "Sans,Edje-Vera";
28446                        size: 10;
28447                        min: 1 1;
28448                        align: 0.5 0.5;
28449                    }
28450                }
28451                description { state: "active" 0.0;
28452                    inherit: "default" 0.0;
28453                    visible: 0;
28454                }
28455                description { state: "disabled_active" 0.0;
28456                    inherit: "default" 0.0;
28457                    color: 0 0 0 128;
28458                    color3: 0 0 0 0;
28459                }
28460                description { state: "disabled" 0.0;
28461                    inherit: "default" 0.0;
28462                    color: 0 0 0 128;
28463                    color3: 0 0 0 0;
28464                }
28465            }
28466            part { name: "elm.dragable.slider";
28467                type: RECT;
28468                mouse_events: 0;
28469                scale: 1;
28470                dragable {
28471                    x: 1 1 0;
28472                    y: 0 0 0;
28473                }
28474                description { state: "default" 0.0;
28475                    rel1.to: "bg";
28476                    rel2.to: "bg";
28477                    fixed: 1 1;
28478                    color: 0 0 0 0;
28479                }
28480            }
28481            part { name: "button_events";
28482                type: RECT;
28483                dragable {
28484                    events: "elm.dragable.slider";
28485                }
28486                mouse_events: 1;
28487                description { state: "default" 0.0;
28488                    rel1.to: "elm.text";
28489                    rel2.to: "elm.text";
28490                    color: 0 0 0 0;
28491                }
28492            }
28493            part { name: "elm.swallow.entry";
28494                type: SWALLOW;
28495                description { state: "default" 0.0;
28496                    visible: 0;
28497                    align: 0.5 0.5;
28498                    rel1 { relative: 1.0 0.5;
28499                        offset: 3 2;
28500                        to_x: "left_bt";
28501                        to_y: "bg";
28502                    }
28503                    rel2 { relative: 0.0 0.5;
28504                        offset: -3 -2;
28505                        to_x: "right_bt";
28506                        to_y: "bg";
28507                    }
28508                    fixed: 1 1;
28509                    color: 0 0 0 0;
28510                }
28511                description { state: "active" 0.0;
28512                    inherit: "default" 0.0;
28513                    visible: 1;
28514                    color: 255 255 255 255;
28515                }
28516                description { state: "disabled_active" 0.0;
28517                    inherit: "default" 0.0;
28518                    visible: 0;
28519                }
28520                description { state: "disabled" 0.0;
28521                    inherit: "default" 0.0;
28522                    visible: 0;
28523                }
28524            }
28525            part { name: "disabler";
28526                type: RECT;
28527                description { state: "default" 0.0;
28528                    color: 0 0 0 0;
28529                    visible: 0;
28530                }
28531                description { state: "disabled" 0.0;
28532                    inherit: "default" 0.0;
28533                    visible: 1;
28534                }
28535            }
28536        }
28537        programs {
28538            program { name: "text_show";
28539                signal: "elm,state,text,visible";
28540                source: "elm";
28541                action:  STATE_SET "visible" 0.0;
28542                target: "elm.text";
28543            }
28544            program { name: "text_hide";
28545                signal: "elm,state,text,hidden";
28546                source: "elm";
28547                action:  STATE_SET "default" 0.0;
28548                target: "elm.text";
28549            }
28550            program { name: "dec";
28551                signal: "mouse,down,1";
28552                source: "left_bt";
28553                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28554            }
28555            program { name: "dec2";
28556                signal: "mouse,up,1";
28557                source: "left_bt";
28558                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28559            }
28560            program { name: "inc";
28561                signal: "mouse,down,1";
28562                source: "right_bt";
28563                action: SIGNAL_EMIT "elm,action,increment,start" "";
28564            }
28565            program { name: "inc2";
28566                signal: "mouse,up,1";
28567                source: "right_bt";
28568                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28569            }
28570            program {
28571                name:   "left_bt_click";
28572                signal: "mouse,down,1";
28573                source: "left_over2";
28574                action: STATE_SET "clicked" 0.0;
28575                target: "left_bt";
28576            }
28577            program {
28578                name:   "left_bt_unclick";
28579                signal: "mouse,up,1";
28580                source: "left_over2";
28581                action: STATE_SET "default" 0.0;
28582                target: "left_bt";
28583            }
28584            program {
28585                name:   "left_bt_click2";
28586                signal: "mouse,down,1";
28587                source: "left_over3";
28588                action: STATE_SET "clicked" 0.0;
28589                target: "left_over3";
28590            }
28591            program {
28592                name:   "left_bt_unclick2";
28593                signal: "mouse,up,1";
28594                source: "left_over3";
28595                action: STATE_SET "default" 0.0;
28596                transition: DECELERATE 0.5;
28597                target: "left_over3";
28598            }
28599            program {
28600                name:   "left_bt_unclick3";
28601                signal: "mouse,up,1";
28602                source: "left_over2";
28603                action: SIGNAL_EMIT "elm,action,click" "";
28604            }
28605            program {
28606                name:   "left_bt_pressed_anim";
28607                signal: "elm,left,anim,activate";
28608                source: "elm";
28609                action: STATE_SET "clicked" 0.0;
28610                target: "left_bt";
28611                target: "left_over3";
28612                after: "left_bt_unpressed_anim";
28613            }
28614            program {
28615                name:   "left_bt_unpressed_anim";
28616                action: STATE_SET "default" 0.0;
28617                transition: DECELERATE 0.5;
28618                target: "left_bt";
28619                target: "left_over3";
28620            }
28621
28622            program {
28623                name:   "right_bt_click";
28624                signal: "mouse,down,1";
28625                source: "right_over2";
28626                action: STATE_SET "clicked" 0.0;
28627                target: "right_bt";
28628            }
28629            program {
28630                name:   "right_bt_unclick";
28631                signal: "mouse,up,1";
28632                source: "right_over2";
28633                action: STATE_SET "default" 0.0;
28634                target: "right_bt";
28635            }
28636            program {
28637                name:   "right_bt_click2";
28638                signal: "mouse,down,1";
28639                source: "right_over3";
28640                action: STATE_SET "clicked" 0.0;
28641                target: "right_over3";
28642            }
28643            program {
28644                name:   "right_bt_unclick2";
28645                signal: "mouse,up,1";
28646                source: "right_over3";
28647                action: STATE_SET "default" 0.0;
28648                transition: DECELERATE 0.5;
28649                target: "right_over3";
28650            }
28651            program {
28652                name:   "right_bt_unclick3";
28653                signal: "mouse,up,1";
28654                source: "right_over2";
28655                action: SIGNAL_EMIT "elm,action,click" "";
28656            }
28657            program {
28658                name:   "right_bt_pressed_anim";
28659                signal: "elm,right,anim,activate";
28660                source: "elm";
28661                action: STATE_SET "clicked" 0.0;
28662                target: "right_bt";
28663                target: "right_over3";
28664                after: "right_bt_unpressed_anim";
28665            }
28666            program {
28667                name:   "right_bt_unpressed_anim";
28668                action: STATE_SET "default" 0.0;
28669                transition: DECELERATE 0.5;
28670                target: "right_bt";
28671                target: "right_over3";
28672            }
28673
28674            program { name: "disable";
28675                signal: "elm,state,disabled";
28676                source: "elm";
28677                action: STATE_SET "disabled" 0.0;
28678                target: "left_bt";
28679                target: "left_over1";
28680                target: "left_over2";
28681                target: "right_bt";
28682                target: "right_over1";
28683                target: "right_over2";
28684                target: "disabler";
28685                after: "disable_text";
28686            }
28687            program { name: "disable_text";
28688                script {
28689                    new st[31];
28690                    new Float:vl;
28691                    get_state(PART:"elm.text", st, 30, vl);
28692                    if (!strcmp(st, "active"))
28693                    set_state(PART:"elm.text", "disabled_active", 0.0);
28694                    else
28695                    set_state(PART:"elm.text", "disabled", 0.0);
28696
28697                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28698                    if (!strcmp(st, "active"))
28699                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28700                    else
28701                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28702                }
28703            }
28704            program { name: "enable";
28705                signal: "elm,state,enabled";
28706                source: "elm";
28707                action: STATE_SET "default" 0.0;
28708                target: "left_bt";
28709                target: "left_over1";
28710                target: "left_over2";
28711                target: "right_bt";
28712                target: "right_over1";
28713                target: "right_over2";
28714                target: "disabler";
28715                after: "enable_text";
28716            }
28717            program { name: "enable_text";
28718                script {
28719                    new st[31];
28720                    new Float:vl;
28721                    get_state(PART:"elm.text", st, 30, vl);
28722                    if (!strcmp(st, "disabled_active"))
28723                    set_state(PART:"elm.text", "active", 0.0);
28724                    else
28725                    set_state(PART:"elm.text", "default", 0.0);
28726
28727                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28728                    if (!strcmp(st, "disabled_active"))
28729                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28730                    else
28731                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28732                }
28733            }
28734            program { name: "active";
28735                signal: "elm,state,active";
28736                source: "elm";
28737                action: STATE_SET "active" 0.0;
28738                target: "elm.text";
28739                target: "elm.swallow.entry";
28740            }
28741            program { name: "inactive";
28742                signal: "elm,state,inactive";
28743                source: "elm";
28744                action: STATE_SET "default" 0.0;
28745                target: "elm.text";
28746                target: "elm.swallow.entry";
28747            }
28748            program { name: "toggle_text";
28749                signal: "mouse,up,1";
28750                source: "button_events";
28751                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28752            }
28753            program { name: "to_rtl";
28754                signal: "edje,state,rtl";
28755                source: "edje";
28756                action: STATE_SET "rtl" 0.0;
28757                target: "right_bt_icon";
28758                target: "left_bt_icon";
28759            }
28760            program { name: "to_ltr";
28761                signal: "edje,state,ltr";
28762                source: "edje";
28763                action: STATE_SET "default" 0.0;
28764                target: "right_bt_icon";
28765                target: "left_bt_icon";
28766            }
28767        }
28768    }
28769
28770 ///////////////////////////////////////////////////////////////////////////////
28771    group { name: "elm/spinner/base/vertical";
28772        images {
28773            image: "shelf_inset.png" COMP;
28774            image: "bt_hilight.png" COMP;
28775            image: "bt_shine.png" COMP;
28776            image: "bt_glow.png" COMP;
28777            image: "bt_dis_base.png" COMP;
28778            image: "bt_dis_hilight.png" COMP;
28779            image: "up.png" COMP;
28780            image: "down.png" COMP;
28781            image: "bt_spinner_up.png" COMP;
28782            image: "bt_spinner_down.png" COMP;
28783            image: "bt_spinner_hilight.png" COMP;
28784        }
28785        parts {
28786            part { name: "bg";
28787                type: RECT;
28788                description { state: "default" 0.0;
28789                    min: 0 30;
28790                    rel1.offset: 1 1;
28791                    rel2.offset: -2 -2;
28792                    color: 255 255 255 0;
28793                }
28794            }
28795            part { name: "conf_over";
28796                mouse_events:  0;
28797                description { state: "default" 0.0;
28798                    rel1 {
28799                      to: "bg";
28800                      relative: 0.0 0.0;
28801                    }
28802                    rel2 {
28803                       to: "bg";
28804                    }
28805                    image {
28806                        normal: "shelf_inset.png";
28807                        border: 7 7 7 7;
28808                        middle: 0;
28809                    }
28810                    fill.smooth : 0;
28811                }
28812            }
28813            part { name: "down_bt";
28814                mouse_events:  1;
28815                description { state: "default" 0.0;
28816                    fixed: 1 1;
28817                    rel1 {
28818                        to: "up_bt";
28819                        relative: 0 1;
28820                        offset: 0 1;
28821                    }
28822                    rel2 {
28823                        to_y: "bg";
28824                        to_x: "up_bt";
28825                        relative: 1 1;
28826                        offset: -1 -4;
28827                    }
28828                    align: 1.0 0.5;
28829                    min: 24 16;
28830                    image {
28831                        normal: "bt_spinner_down.png";
28832                        border: 6 6 6 6;
28833                    }
28834                    fill.smooth : 0;
28835                }
28836                description { state: "clicked" 0.0;
28837                    inherit: "default" 0.0;
28838                    image.normal: "bt_spinner_down.png";
28839                    image.middle: SOLID;
28840                }
28841                description { state: "disabled" 0.0;
28842                    inherit:  "default" 0.0;
28843                    image {
28844                        normal: "bt_dis_base.png";
28845                        border: 4 4 4 4;
28846                    }
28847                }
28848            }
28849            part { name: "down_over3";
28850                mouse_events: 1;
28851                repeat_events: 1;
28852                description { state: "default" 0.0;
28853                    color: 255 255 255 0;
28854                    rel1.to: "down_bt";
28855                    rel2.to: "down_bt";
28856                    image {
28857                        normal: "bt_glow.png";
28858                        border: 12 12 12 12;
28859                    }
28860                    fill.smooth : 0;
28861                }
28862                description { state: "clicked" 0.0;
28863                    inherit:  "default" 0.0;
28864                    visible: 1;
28865                    color: 255 255 255 255;
28866                }
28867            }
28868            part { name: "up_bt";
28869                mouse_events:  1;
28870                description { state: "default" 0.0;
28871                    fixed: 1 0;
28872                    rel1 { to: "bg";
28873                        relative: 0 0;
28874                        offset: 0 2;
28875                    }
28876                    rel2 { to: "bg";
28877                        relative: 1 0.5;
28878                        offset: -3 0;
28879                    }
28880                    align: 1.0 0.5;
28881                    min: 24 16;
28882                    aspect: 1.5 1.0;
28883                    aspect_preference: BOTH;
28884                    image {
28885                        normal: "bt_spinner_up.png";
28886                        border: 6 6 6 6;
28887                    }
28888                    fill.smooth : 0;
28889                }
28890                description { state: "clicked" 0.0;
28891                    inherit: "default" 0.0;
28892                    image.normal: "bt_spinner_up.png";
28893                    image.middle: SOLID;
28894                }
28895                description { state: "disabled" 0.0;
28896                    inherit:  "default" 0.0;
28897                    image {
28898                        normal: "bt_dis_base.png";
28899                        border: 4 4 4 4;
28900                    }
28901                }
28902            }
28903            part { name: "up_over1";
28904                mouse_events: 0;
28905                description { state: "default" 0.0;
28906                    rel1.to: "up_bt";
28907                    rel2 { to: "up_bt";
28908                        relative: 1.0 0.5;
28909                    }
28910                    image {
28911                        normal: "bt_spinner_hilight.png";
28912                        border: 7 7 7 0;
28913                    }
28914                }
28915                description { state: "disabled" 0.0;
28916                    inherit:  "default" 0.0;
28917                    image {
28918                        normal: "bt_dis_hilight.png";
28919                        border: 4 4 4 0;
28920                    }
28921                }
28922            }
28923            part { name: "up_over3";
28924                mouse_events: 1;
28925                repeat_events: 1;
28926                description { state: "default" 0.0;
28927                    color: 255 255 255 0;
28928                    rel1.to: "up_bt";
28929                    rel2.to: "up_bt";
28930                    image {
28931                        normal: "bt_glow.png";
28932                        border: 12 12 12 12;
28933                    }
28934                    fill.smooth : 0;
28935                }
28936                description { state: "clicked" 0.0;
28937                    inherit:  "default" 0.0;
28938                    visible: 1;
28939                    color: 255 255 255 255;
28940                }
28941            }
28942            part { name: "down_bt_icon";
28943                repeat_events: 1;
28944                description { state: "default" 0.0;
28945                    rel1.to: "down_bt";
28946                    rel1.offset: 5 3;
28947                    rel2.to: "down_bt";
28948                    rel2.offset: -6 -3;
28949                    align: 0.5 0.5;
28950                    image.normal: "down.png";
28951                }
28952            }
28953            part { name: "up_bt_icon";
28954                repeat_events: 1;
28955                description { state: "default" 0.0;
28956                    rel1.to: "up_bt";
28957                    rel1.offset: 5 3;
28958                    rel2.to: "up_bt";
28959                    rel2.offset: -6 -3;
28960                    align: 0.5 0.5;
28961                    image.normal: "up.png";
28962                }
28963            }
28964            part { name: "elm.text";
28965                type: TEXT;
28966                mouse_events: 0;
28967                scale: 1;
28968                description { state: "default" 0.0;
28969                    visible: 1;
28970                    align: 0.0 0.5;
28971                    rel1 { relative: 0.0 0.0;
28972                        offset: 3 2;
28973                        to_x: "bg";
28974                        to_y: "bg";
28975                    }
28976                    rel2 { relative: 0.0 1.0;
28977                        offset: -3 -2;
28978                        to_x: "down_bt";
28979                        to_y: "bg";
28980                    }
28981                    color: 0 0 0 255;
28982                    text {
28983                        font: "Sans,Edje-Vera";
28984                        size: 10;
28985                        min: 1 1;
28986                        align: 0.5 0.5;
28987                    }
28988                }
28989                description { state: "active" 0.0;
28990                    inherit: "default" 0.0;
28991                    visible: 0;
28992                }
28993                description { state: "disabled_active" 0.0;
28994                    inherit: "default" 0.0;
28995                    color: 0 0 0 128;
28996                    color3: 0 0 0 0;
28997                }
28998                description { state: "disabled" 0.0;
28999                    inherit: "default" 0.0;
29000                    color: 0 0 0 128;
29001                    color3: 0 0 0 0;
29002                }
29003            }
29004            part { name: "elm.dragable.slider";
29005                type: RECT;
29006                mouse_events: 0;
29007                scale: 1;
29008                dragable {
29009                    x: 1 1 0;
29010                    y: 0 0 0;
29011                }
29012                description { state: "default" 0.0;
29013                    rel1.to: "bg";
29014                    rel2.to: "bg";
29015                    fixed: 1 1;
29016                    color: 0 0 0 0;
29017                }
29018            }
29019            part { name: "button_events";
29020                type: RECT;
29021                dragable {
29022                    events: "elm.dragable.slider";
29023                }
29024                mouse_events: 1;
29025                description { state: "default" 0.0;
29026                    rel1.to: "elm.text";
29027                    rel2.to: "elm.text";
29028                    color: 0 0 0 0;
29029                }
29030            }
29031            part { name: "elm.swallow.entry";
29032                type: SWALLOW;
29033                description { state: "default" 0.0;
29034                    visible: 0;
29035                    align: 0.5 0.5;
29036                    rel1 { relative: 0.0 0.5;
29037                        offset: 3 2;
29038                        to: "bg";
29039                    }
29040                    rel2 { relative: 1.0 0.5;
29041                        offset: -3 -2;
29042                        to: "bg";
29043                    }
29044                    fixed: 1 1;
29045                    color: 0 0 0 0;
29046                }
29047                description { state: "active" 0.0;
29048                    inherit: "default" 0.0;
29049                    visible: 1;
29050                    color: 255 255 255 255;
29051                }
29052                description { state: "disabled_active" 0.0;
29053                    inherit: "default" 0.0;
29054                    visible: 0;
29055                }
29056                description { state: "disabled" 0.0;
29057                    inherit: "default" 0.0;
29058                    visible: 0;
29059                }
29060            }
29061            part { name: "disabler";
29062                type: RECT;
29063                description { state: "default" 0.0;
29064                    color: 0 0 0 0;
29065                    visible: 0;
29066                }
29067                description { state: "disabled" 0.0;
29068                    inherit: "default" 0.0;
29069                    visible: 1;
29070                }
29071            }
29072        }
29073        programs {
29074            program { name: "text_show";
29075                signal: "elm,state,text,visible";
29076                source: "elm";
29077                action:  STATE_SET "visible" 0.0;
29078                target: "elm.text";
29079            }
29080            program { name: "text_hide";
29081                signal: "elm,state,text,hidden";
29082                source: "elm";
29083                action:  STATE_SET "default" 0.0;
29084                target: "elm.text";
29085            }
29086            program { name: "dec";
29087                signal: "mouse,down,1";
29088                source: "down_bt";
29089                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29090            }
29091            program { name: "dec2";
29092                signal: "mouse,up,1";
29093                source: "down_bt";
29094                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29095            }
29096            program { name: "inc";
29097                signal: "mouse,down,1";
29098                source: "up_bt";
29099                action: SIGNAL_EMIT "elm,action,increment,start" "";
29100            }
29101            program { name: "inc2";
29102                signal: "mouse,up,1";
29103                source: "up_bt";
29104                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29105            }
29106            program {
29107                name:   "down_bt_click2";
29108                signal: "mouse,down,1";
29109                source: "down_over3";
29110                action: STATE_SET "clicked" 0.0;
29111                target: "down_over3";
29112            }
29113            program {
29114                name:   "down_bt_unclick2";
29115                signal: "mouse,up,1";
29116                source: "down_over3";
29117                action: STATE_SET "default" 0.0;
29118                transition: DECELERATE 0.5;
29119                target: "down_over3";
29120            }
29121            program {
29122                name:   "up_bt_click2";
29123                signal: "mouse,down,1";
29124                source: "up_over3";
29125                action: STATE_SET "clicked" 0.0;
29126                target: "up_over3";
29127            }
29128            program {
29129                name:   "up_bt_unclick2";
29130                signal: "mouse,up,1";
29131                source: "up_over3";
29132                action: STATE_SET "default" 0.0;
29133                transition: DECELERATE 0.5;
29134                target: "up_over3";
29135            }
29136            program { name: "disable";
29137                signal: "elm,state,disabled";
29138                source: "elm";
29139                action: STATE_SET "disabled" 0.0;
29140                target: "down_bt";
29141                target: "up_bt";
29142                target: "disabler";
29143                after: "disable_text";
29144            }
29145            program { name: "disable_text";
29146                script {
29147                    new st[31];
29148                    new Float:vl;
29149                    get_state(PART:"elm.text", st, 30, vl);
29150                    if (!strcmp(st, "active"))
29151                    set_state(PART:"elm.text", "disabled_active", 0.0);
29152                    else
29153                    set_state(PART:"elm.text", "disabled", 0.0);
29154
29155                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29156                    if (!strcmp(st, "active"))
29157                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29158                    else
29159                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29160                }
29161            }
29162            program { name: "enable";
29163                signal: "elm,state,enabled";
29164                source: "elm";
29165                action: STATE_SET "default" 0.0;
29166                target: "down_bt";
29167                target: "up_bt";
29168                target: "disabler";
29169                after: "enable_text";
29170            }
29171            program { name: "enable_text";
29172                script {
29173                    new st[31];
29174                    new Float:vl;
29175                    get_state(PART:"elm.text", st, 30, vl);
29176                    if (!strcmp(st, "disabled_active"))
29177                    set_state(PART:"elm.text", "active", 0.0);
29178                    else
29179                    set_state(PART:"elm.text", "default", 0.0);
29180
29181                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29182                    if (!strcmp(st, "disabled_active"))
29183                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29184                    else
29185                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29186                }
29187            }
29188            program { name: "active";
29189                signal: "elm,state,active";
29190                source: "elm";
29191                action: STATE_SET "active" 0.0;
29192                target: "elm.text";
29193                target: "elm.swallow.entry";
29194            }
29195            program { name: "inactive";
29196                signal: "elm,state,inactive";
29197                source: "elm";
29198                action: STATE_SET "default" 0.0;
29199                target: "elm.text";
29200                target: "elm.swallow.entry";
29201            }
29202            program { name: "toggle_text";
29203                signal: "mouse,up,1";
29204                source: "button_events";
29205                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29206            }
29207        }
29208    }
29209
29210
29211    ///////////////////////////////////////////////////////////////////////////////
29212    group { name: "elm/index/base/vertical/default";
29213        images {
29214            image: "bt_base1.png" COMP;
29215            image: "bt_base2.png" COMP;
29216            image: "bt_hilight.png" COMP;
29217            image: "bt_shine.png" COMP;
29218        }
29219        parts {
29220            part { name: "clip";
29221                type: RECT;
29222                mouse_events:  0;
29223                description { state: "default" 0.0;
29224                    visible:  0;
29225                    color: 255 255 255 0;
29226                }
29227                description { state: "active" 0.0;
29228                    visible:  1;
29229                    color: 255 255 255 255;
29230                }
29231            }
29232            part { name: "clip2";
29233                type: RECT;
29234                mouse_events:  0;
29235                clip_to: "clip";
29236                description { state: "default" 0.0;
29237                    visible: 0;
29238                    color: 255 255 255 0;
29239                }
29240                description { state: "active" 0.0;
29241                    visible:  1;
29242                    color: 255 255 255 255;
29243                }
29244            }
29245            part { name: "elm.swallow.index.0";
29246                type: SWALLOW;
29247                clip_to: "clip";
29248                description { state: "default" 0.0;
29249                    align: 1.0 0.5;
29250                    fixed: 1 1;
29251                    rel1 {
29252                        relative: 1.0 0.5;
29253                        offset: -1 5;
29254                    }
29255                    rel2 {
29256                        relative: 1.0 0.5;
29257                        offset: -1 -6;
29258                    }
29259                }
29260            }
29261            part { name: "button_image";
29262                mouse_events: 1;
29263                clip_to: "clip";
29264                description { state: "default" 0.0;
29265                    rel1 {
29266                        to: "elm.text.body";
29267                        offset: -5 -5;
29268                    }
29269                    rel2 {
29270                        to: "elm.text";
29271                        offset: 4 4;
29272                    }
29273                    image {
29274                        normal: "bt_base2.png";
29275                        border: 7 7 7 7;
29276                    }
29277                    image.middle: SOLID;
29278                }
29279            }
29280            part { name: "elm.text.body";
29281                type: TEXT;
29282                effect: SOFT_SHADOW;
29283                mouse_events: 0;
29284                scale: 1;
29285                clip_to: "clip";
29286                description { state: "default" 0.0;
29287                    align: 1.0 0.5;
29288                    fixed: 1 1;
29289                    rel1 {
29290                        to: "elm.text";
29291                        relative: 0.0 0.0;
29292                        offset: 5 0;
29293                    }
29294                    rel2 {
29295                        to: "elm.text";
29296                        relative: 0.0 1.0;
29297                        offset: 5 -1;
29298                    }
29299                    color: 224 224 224 255;
29300                    color3: 0 0 0 64;
29301                    text {
29302                        font:     "Sans,Edje-Vera";
29303                        size:     20;
29304                        min:      1 1;
29305                        align:    1.0 0.5;
29306                    }
29307                }
29308            }
29309            part { name: "elm.text";
29310                type: TEXT;
29311                effect: SOFT_SHADOW;
29312                mouse_events: 0;
29313                scale: 1;
29314                clip_to: "clip";
29315                description { state: "default" 0.0;
29316                    align: 1.0 0.5;
29317                    fixed: 1 1;
29318                    rel1 {
29319                        to_x: "elm.swallow.event.0";
29320                        to_y: "elm.dragable.pointer";
29321                        relative: 0.0 0.5;
29322                        offset: -16 0;
29323                    }
29324                    rel2 {
29325                        to_x: "elm.swallow.event.0";
29326                        to_y: "elm.dragable.pointer";
29327                        relative: 0.0 0.5;
29328                        offset: -16 -1;
29329                    }
29330                    color: 255 0 0 255;
29331                    color3: 0 0 0 64;
29332                    text {
29333                        font:     "Sans,Edje-Vera";
29334                        size:     20;
29335                        min:      1 1;
29336                        align:    1.0 0.5;
29337                    }
29338                }
29339            }
29340            part {        name: "over1";
29341                mouse_events: 0;
29342                clip_to: "clip";
29343                description { state: "default" 0.0;
29344                    rel1 {
29345                        to: "button_image";
29346                    }
29347                    rel2 {
29348                        to: "button_image";
29349                        relative: 1.0 0.5;
29350                    }
29351                    image {
29352                        normal: "bt_hilight.png";
29353                        border: 7 7 7 0;
29354                    }
29355                }
29356            }
29357            part { name: "over2";
29358                mouse_events: 1;
29359                repeat_events: 1;
29360                ignore_flags: ON_HOLD;
29361                clip_to: "clip";
29362                description { state: "default" 0.0;
29363                    rel1 {
29364                        to: "button_image";
29365                    }
29366                    rel2 {
29367                        to: "button_image";
29368                    }
29369                    image {
29370                        normal: "bt_shine.png";
29371                        border: 7 7 7 7;
29372                    }
29373                }
29374            }
29375            part { name: "elm.dragable.pointer";
29376                type: RECT;
29377                mouse_events: 0;
29378                dragable {
29379                    x: 1 1 0;
29380                    y: 1 1 0;
29381                }
29382                clip_to: "clip";
29383                description { state: "default" 0.0;
29384                    fixed: 1 1;
29385                    min: 8 8;
29386                    max: 8 8;
29387                    visible: 0;
29388                    rel1 {
29389                        relative: 0.0 0.0;
29390                        offset:   0 0;
29391                    }
29392                    rel2 {
29393                        relative: 0.0 0.0;
29394                        offset:   0 0;
29395                    }
29396                }
29397            }
29398            part { name: "elm.swallow.event.0";
29399                type: SWALLOW;
29400                description { state: "default" 0.0;
29401                    align: 1.0 0.5;
29402                    fixed: 1 1;
29403                    rel1 {
29404                        relative: 1.0 0.0;
29405                        offset: -1 0;
29406                    }
29407                    rel2 {
29408                        relative: 1.0 1.0;
29409                        offset: -1 -1;
29410                    }
29411                }
29412            }
29413        }
29414        programs {
29415            program { name: "active";
29416                signal: "elm,state,active";
29417                source: "elm";
29418                action: STATE_SET "active" 0.0;
29419                transition: DECELERATE 0.5;
29420                target: "clip";
29421            }
29422            program { name: "inactive";
29423                signal: "elm,state,inactive";
29424                source: "elm";
29425                action: STATE_SET "default" 0.0;
29426                transition: DECELERATE 0.5;
29427                target: "clip";
29428            }
29429        }
29430    }
29431
29432    group { name: "elm/index/item/vertical/default";
29433        data.item: "stacking" "above";
29434        data.item: "selectraise" "on";
29435        images {
29436            image: "ilist_1.png" COMP;
29437            image: "ilist_item_shadow.png" COMP;
29438        }
29439        parts {
29440            part {
29441                name: "base_sh";
29442                mouse_events: 0;
29443                description {
29444                    state: "default" 0.0;
29445                    align: 0.0 0.0;
29446                    min: 0 10;
29447                    fixed: 1 1;
29448                    rel1 {
29449                        to: "base";
29450                        relative: 0.0 1.0;
29451                        offset: 0 0;
29452                    }
29453                    rel2 {
29454                        to: "base";
29455                        relative: 1.0 1.0;
29456                        offset: -1 0;
29457                    }
29458                    image {
29459                        normal: "ilist_item_shadow.png";
29460                    }
29461                    fill.smooth: 0;
29462                }
29463            }
29464            part {
29465                name: "base";
29466                mouse_events: 0;
29467                description {
29468                    state: "default" 0.0;
29469                    image {
29470                        normal: "ilist_1.png";
29471                        border: 2 2 2 2;
29472                    }
29473                    fill.smooth: 0;
29474                }
29475                description { state: "active" 0.0;
29476                    inherit: "default" 0.0;
29477                    rel1 {
29478                        offset: -16 0;
29479                    }
29480                }
29481            }
29482            part { name: "elm.text";
29483                type:           TEXT;
29484                mouse_events:   0;
29485                scale: 1;
29486                description {
29487                    state: "default" 0.0;
29488                           //               min: 16 16;
29489                    rel1 {
29490                        to: "base";
29491                        relative: 0.0  0.0;
29492                        offset:   4 4;
29493                    }
29494                    rel2 {
29495                        to: "base";
29496                        relative: 0.5  1.0;
29497                        offset:   -1 -1;
29498                    }
29499                    color: 0 0 0 128;
29500                    text {
29501                        font: "Sans";
29502                        size: 10;
29503                        min: 1 1;
29504                             //                  min: 0 1;
29505                        align: 0.5 0.5;
29506                    }
29507                }
29508                description { state: "active" 0.0;
29509                    inherit: "default" 0.0;
29510                    color: 0 0 0 255;
29511                }
29512            }
29513        }
29514        programs {
29515            program { name: "active";
29516                signal: "elm,state,active";
29517                source: "elm";
29518                action: STATE_SET "active" 0.0;
29519                transition: DECELERATE 0.5;
29520                target: "elm.text";
29521                target: "base";
29522            }
29523            program { name: "inactive";
29524                signal: "elm,state,inactive";
29525                source: "elm";
29526                action: STATE_SET "default" 0.0;
29527                transition: DECELERATE 0.5;
29528                target: "elm.text";
29529                target: "base";
29530            }
29531        }
29532    }
29533
29534    group { name: "elm/index/item_odd/vertical/default";
29535        data.item: "stacking" "below";
29536        images {
29537            image: "ilist_2.png" COMP;
29538        }
29539        parts {
29540            part {
29541                name: "base";
29542                mouse_events: 0;
29543                description {
29544                    state: "default" 0.0;
29545                    image {
29546                        normal: "ilist_2.png";
29547                        border: 2 2 2 2;
29548                    }
29549                    fill.smooth: 0;
29550                }
29551                description { state: "active" 0.0;
29552                    inherit: "default" 0.0;
29553                    rel1 {
29554                        offset: -16 0;
29555                    }
29556                }
29557            }
29558            part { name: "elm.text";
29559                type:           TEXT;
29560                mouse_events:   0;
29561                scale: 1;
29562                description {
29563                    state: "default" 0.0;
29564                           //               min: 16 16;
29565                    rel1 {
29566                        to: "base";
29567                        relative: 0.0  0.0;
29568                        offset:   4 4;
29569                    }
29570                    rel2 {
29571                        to: "base";
29572                        relative: 0.5  1.0;
29573                        offset:   -1 -1;
29574                    }
29575                    color: 0 0 0 128;
29576                    text {
29577                        font: "Sans";
29578                        size: 10;
29579                        min: 1 1;
29580                             //                  min: 0 1;
29581                        align: 0.5 0.5;
29582                    }
29583                }
29584                description { state: "active" 0.0;
29585                    inherit: "default" 0.0;
29586                    color: 0 0 0 255;
29587                }
29588            }
29589        }
29590        programs {
29591            program { name: "active";
29592                signal: "elm,state,active";
29593                source: "elm";
29594                action: STATE_SET "active" 0.0;
29595                transition: DECELERATE 0.5;
29596                target: "elm.text";
29597                target: "base";
29598            }
29599            program { name: "inactive";
29600                signal: "elm,state,inactive";
29601                source: "elm";
29602                action: STATE_SET "default" 0.0;
29603                transition: DECELERATE 0.5;
29604                target: "elm.text";
29605                target: "base";
29606            }
29607        }
29608    }
29609
29610 ///////////////////////////////////////////////////////////////////////////////
29611    group { name: "elm/gengrid/item/default/default";
29612       data.item: "labels" "elm.text";
29613       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29614       images {
29615          image: "bt_sm_base1.png" COMP;
29616          image: "bt_sm_shine.png" COMP;
29617          image: "bt_sm_hilight.png" COMP;
29618          image: "ilist_1.png" COMP;
29619          image: "ilist_item_shadow.png" COMP;
29620       }
29621       parts {
29622          part { name: "event";
29623             type: RECT;
29624             repeat_events: 1;
29625             description {
29626                state: "default" 0.0;
29627                color: 0 0 0 0;
29628             }
29629          }
29630          part { name: "reorder_bg";
29631             mouse_events: 0;
29632             description { state: "default" 0.0;
29633                visible: 0;
29634                color: 255 255 255 0;
29635                rel1 {
29636                   relative: 0.0 0.0;
29637                   offset: -10 -10;
29638                }
29639                rel2 {
29640                   relative: 1.0 1.0;
29641                   offset: 12 12;
29642                }
29643                image {
29644                   normal: "bt_bases.png";
29645                   border: 6 6 6 6;
29646                }
29647             }
29648             description { state: "enabled" 0.0;
29649                inherit: "default" 0.0;
29650                visible: 1;
29651                color: 255 255 255 255;
29652             }
29653          }
29654          part { name: "base_sh";
29655             mouse_events: 0;
29656             description { state: "default" 0.0;
29657                align: 0.0 0.0;
29658                min: 0 10;
29659                fixed: 1 1;
29660                rel1 {
29661                   to: "base";
29662                   relative: 0.0 1.0;
29663                   offset: 0 0;
29664                }
29665                rel2 {
29666                   to: "base";
29667                   relative: 1.0 1.0;
29668                   offset: -1 0;
29669                }
29670                image {
29671                   normal: "ilist_item_shadow.png";
29672                }
29673                fill.smooth: 0;
29674             }
29675          }
29676          part { name: "base";
29677             mouse_events: 0;
29678             description { state: "default" 0.0;
29679                image {
29680                   normal: "ilist_1.png";
29681                   border: 2 2 2 2;
29682                }
29683                fill.smooth: 0;
29684             }
29685          }
29686          part { name: "bg";
29687             clip_to: "disclip";
29688             mouse_events: 0;
29689             description { state: "default" 0.0;
29690                visible: 0;
29691                color: 255 255 255 0;
29692                rel1 {
29693                   relative: 0.0 0.0;
29694                   offset: -5 -5;
29695                }
29696                rel2 {
29697                   relative: 1.0 1.0;
29698                   offset: 4 4;
29699                }
29700                image {
29701                   normal: "bt_sm_base1.png";
29702                   border: 6 6 6 6;
29703                }
29704                image.middle: SOLID;
29705             }
29706             description { state: "selected" 0.0;
29707                inherit: "default" 0.0;
29708                visible: 1;
29709                color: 255 255 255 255;
29710                rel1 {
29711                   relative: 0.0 0.0;
29712                   offset: -2 -2;
29713                }
29714                rel2 {
29715                   relative: 1.0 1.0;
29716                   offset: 1 1;
29717                }
29718             }
29719          }
29720          part { name: "elm.swallow.pad";
29721             type: SWALLOW;
29722             description { state: "default" 0.0;
29723                fixed: 1 0;
29724                align: 0.0 0.5;
29725                rel1 {
29726                   relative: 0.0  1.0;
29727                   offset:   0    -10;
29728                }
29729                rel2 {
29730                   to_y: "elm.text";
29731                   relative: 0.0  0.0;
29732                   offset:   -1   -1;
29733                }
29734             }
29735          }
29736          part { name: "elm.swallow.icon";
29737             clip_to: "disclip";
29738             type: SWALLOW;
29739             description { state: "default" 0.0;
29740                fixed: 1 0;
29741                align: 0.5 0.5;
29742                rel1 {
29743                   relative: 0.0  0.0;
29744                   offset:   -1    4;
29745                }
29746                rel2 {
29747                   to_y: "elm.swallow.pad";
29748                   relative: 1.0  0.0;
29749                   offset:   -1   -5;
29750                }
29751             }
29752          }
29753          part { name: "elm.swallow.end";
29754             clip_to: "disclip";
29755             type: SWALLOW;
29756             description { state: "default" 0.0;
29757                fixed: 1 0;
29758                align: 1.0 0.0;
29759                aspect: 1.0 1.0;
29760                aspect_preference: HORIZONTAL;
29761                rel1 {
29762                   relative: 1.0 0.0;
29763                   offset: -5 -5;
29764                }
29765                rel2 {
29766                   relative: 1.0 1.0;
29767                   offset: 5 5;
29768                }
29769             }
29770          }
29771          part { name: "elm.text";
29772             clip_to: "disclip";
29773             type: TEXT;
29774             effect: SOFT_SHADOW;
29775             mouse_events: 0;
29776             scale: 1;
29777             description { state: "default" 0.0;
29778                rel1 {
29779                   relative: 0.0  1.0;
29780                   offset: 0 0;
29781                }
29782                rel2 {
29783                   relative: 1.0  1.0;
29784                   offset: -5 -5;
29785                }
29786                color: 0 0 0 255;
29787                color3: 0 0 0 0;
29788                text {
29789                   font: "Sans";
29790                   size: 10;
29791                   min: 0 1;
29792                   align: 0.5 0.0;
29793                   text_class: "grid_item";
29794                }
29795             }
29796             description { state: "selected" 0.0;
29797                inherit: "default" 0.0;
29798                color: 224 224 224 255;
29799                color3: 0 0 0 64;
29800             }
29801          }
29802          part { name: "fg1";
29803             clip_to: "disclip";
29804             mouse_events: 0;
29805             description { state: "default" 0.0;
29806                visible: 0;
29807                color: 255 255 255 0;
29808                rel1.to: "bg";
29809                rel2.relative: 1.0 0.5;
29810                rel2.to: "bg";
29811                image {
29812                   normal: "bt_sm_hilight.png";
29813                   border: 6 6 6 0;
29814                }
29815             }
29816             description { state: "selected" 0.0;
29817                inherit: "default" 0.0;
29818                visible: 1;
29819                color: 255 255 255 255;
29820             }
29821          }
29822          part { name: "fg2";
29823             clip_to: "disclip";
29824             mouse_events: 0;
29825             description { state: "default" 0.0;
29826                visible: 0;
29827                color: 255 255 255 0;
29828                rel1.to: "bg";
29829                rel2.to: "bg";
29830                image {
29831                   normal: "bt_sm_shine.png";
29832                   border: 6 6 6 0;
29833                }
29834             }
29835             description { state: "selected" 0.0;
29836                inherit: "default" 0.0;
29837                visible: 1;
29838                color: 255 255 255 255;
29839             }
29840          }
29841          part { name: "disclip";
29842             type: RECT;
29843             description { state: "default" 0.0;
29844                rel1.to: "bg";
29845                rel2.to: "bg";
29846             }
29847             description { state: "disabled" 0.0;
29848                inherit: "default" 0.0;
29849                color: 255 255 255 64;
29850             }
29851          }
29852       }
29853       programs {
29854          // signal: elm,state,%s,active
29855          //   a "check" item named %s went active
29856          // signal: elm,state,%s,passive
29857          //   a "check" item named %s went passive
29858          // default is passive
29859          program { name:    "go_active";
29860             signal:  "elm,state,selected";
29861             source:  "elm";
29862             action:  STATE_SET "selected" 0.0;
29863             target:  "bg";
29864             target:  "fg1";
29865             target:  "fg2";
29866             target:  "elm.text";
29867          }
29868          program { name:    "go_passive";
29869             signal:  "elm,state,unselected";
29870             source:  "elm";
29871             action:  STATE_SET "default" 0.0;
29872             target:  "bg";
29873             target:  "fg1";
29874             target:  "fg2";
29875             target:  "elm.text";
29876             transition: LINEAR 0.1;
29877          }
29878          program { name:    "go_disabled";
29879             signal:  "elm,state,disabled";
29880             source:  "elm";
29881             action:  STATE_SET "disabled" 0.0;
29882             target:  "disclip";
29883          }
29884          program { name:    "go_enabled";
29885             signal:  "elm,state,enabled";
29886             source:  "elm";
29887             action:  STATE_SET "default" 0.0;
29888             target:  "disclip";
29889          }
29890          program { name:    "go_reorder_disabled";
29891             signal:  "elm,state,reorder,disabled";
29892             source:  "elm";
29893             action:  STATE_SET "default" 0.0;
29894             target:  "reorder_bg";
29895             transition: DECELERATE 0.5;
29896          }
29897          program { name:    "go_reorder_enabled";
29898             signal:  "elm,state,reorder,enabled";
29899             source:  "elm";
29900             action:  STATE_SET "enabled" 0.0;
29901             target:  "reorder_bg";
29902             transition: DECELERATE 0.5;
29903          }
29904       }
29905    }
29906    group { name: "elm/gengrid/item/default_style/default";
29907        styles
29908        {
29909            style { name: "gengrid_style";
29910                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29911                tag:  "br" "\n";
29912                tag:  "ps" "ps";
29913                tag:  "hilight" "+ font=Sans:style=Bold";
29914                tag:  "b" "+ font=Sans:style=Bold";
29915                tag:  "tab" "\t";
29916            }
29917            style { name: "gengrid_selected_style";
29918                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29919                tag:  "br" "\n";
29920                tag:  "ps" "ps";
29921                tag:  "hilight" "+ font=Sans:style=Bold";
29922                tag:  "b" "+ font=Sans:style=Bold";
29923                tag:  "tab" "\t";
29924            }
29925        }
29926        data.item: "labels" "elm.text";
29927        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29928        images {
29929            image: "bt_sm_base1.png" COMP;
29930            image: "bt_sm_shine.png" COMP;
29931            image: "bt_sm_hilight.png" COMP;
29932            image: "ilist_1.png" COMP;
29933            image: "ilist_item_shadow.png" COMP;
29934        }
29935        parts {
29936            part { name: "event";
29937                type: RECT;
29938                repeat_events: 1;
29939                description { state: "default" 0.0;
29940                    color: 0 0 0 0;
29941                }
29942            }
29943            part { name: "base_sh";
29944                mouse_events: 0;
29945                description { state: "default" 0.0;
29946                    align: 0.0 0.0;
29947                    min: 0 10;
29948                    fixed: 1 1;
29949                    rel1 {
29950                        to: "base";
29951                        relative: 0.0 1.0;
29952                        offset: 0 0;
29953                    }
29954                    rel2 {
29955                        to: "base";
29956                        relative: 1.0 1.0;
29957                        offset: -1 0;
29958                    }
29959                    image {
29960                        normal: "ilist_item_shadow.png";
29961                    }
29962                    fill.smooth: 0;
29963                }
29964            }
29965            part { name: "base";
29966                mouse_events: 0;
29967                description { state: "default" 0.0;
29968                    min: 16 28;
29969                    image {
29970                        normal: "ilist_1.png";
29971                        border: 2 2 2 2;
29972                    }
29973                    fill.smooth: 0;
29974                }
29975            }
29976            part { name: "bg";
29977                clip_to: "disclip";
29978                mouse_events: 0;
29979                description { state: "default" 0.0;
29980                    visible: 0;
29981                    color: 255 255 255 0;
29982                    rel1 {
29983                        relative: 0.0 0.0;
29984                        offset: -5 -5;
29985                    }
29986                    rel2 {
29987                        relative: 1.0 1.0;
29988                        offset: 4 4;
29989                    }
29990                    image {
29991                        normal: "bt_sm_base1.png";
29992                        border: 6 6 6 6;
29993                    }
29994                    image.middle: SOLID;
29995                }
29996                description { state: "selected" 0.0;
29997                    inherit: "default" 0.0;
29998                    visible: 1;
29999                    color: 255 255 255 255;
30000                    rel1 {
30001                        relative: 0.0 0.0;
30002                        offset: -2 -2;
30003                    }
30004                    rel2 {
30005                        relative: 1.0 1.0;
30006                        offset: 1 1;
30007                    }
30008                }
30009            }
30010            part { name: "elm.swallow.pad";
30011                type: SWALLOW;
30012                description { state: "default" 0.0;
30013                    fixed: 1 0;
30014                    align: 0.0 0.5;
30015                    rel1 {
30016                        relative: 0.0  0.0;
30017                        offset:   4    4;
30018                    }
30019                    rel2 {
30020                        relative: 0.0  1.0;
30021                        offset:   4   -5;
30022                    }
30023                }
30024            }
30025            part { name: "elm.swallow.icon";
30026                clip_to: "disclip";
30027                type: SWALLOW;
30028                description { state: "default" 0.0;
30029                    fixed: 1 0;
30030                    align: 0.0 0.5;
30031                    rel1 {
30032                        to_x: "elm.swallow.pad";
30033                        relative: 1.0  0.0;
30034                        offset:   -1    4;
30035                    }
30036                    rel2 {
30037                        to_x: "elm.swallow.pad";
30038                        relative: 1.0  1.0;
30039                        offset:   -1   -5;
30040                    }
30041                }
30042            }
30043            part { name: "elm.swallow.end";
30044                clip_to: "disclip";
30045                type: SWALLOW;
30046                description { state: "default" 0.0;
30047                    fixed: 1 0;
30048                    align: 1.0 0.5;
30049                    aspect: 1.0 1.0;
30050                    aspect_preference: VERTICAL;
30051                    rel1 {
30052                        relative: 1.0  0.0;
30053                        offset:   -5    4;
30054                    }
30055                    rel2 {
30056                        relative: 1.0  1.0;
30057                        offset:   -5   -5;
30058                    }
30059                }
30060            }
30061            part { name: "elm.text";
30062                clip_to: "disclip";
30063                type: TEXTBLOCK;
30064                mouse_events: 0;
30065                scale: 1;
30066                description {
30067                    state: "default" 0.0;
30068                    align: 0.0 0.5;
30069                    fixed: 0 1;
30070                    rel1 {
30071                        to_x: "elm.swallow.icon";
30072                        to_y: "base";
30073                        relative: 1.0  0.5;
30074                        offset:   0 4;
30075                    }
30076                    rel2 {
30077                        to_x: "elm.swallow.end";
30078                        to_y: "base";
30079                        relative: 0.0  0.5;
30080                        offset:   -1 -5;
30081                    }
30082                    text {
30083                        style: "gengrid_style";
30084                        min: 1 1;
30085                    }
30086                }
30087                description { state: "selected" 0.0;
30088                    inherit: "default" 0.0;
30089                    text {
30090                        style: "gengrid_selected_style";
30091                    }
30092                }
30093            }
30094            part { name: "fg1";
30095                clip_to: "disclip";
30096                mouse_events: 0;
30097                description { state: "default" 0.0;
30098                    visible: 0;
30099                    color: 255 255 255 0;
30100                    rel1.to: "bg";
30101                    rel2.relative: 1.0 0.5;
30102                    rel2.to: "bg";
30103                    image {
30104                        normal: "bt_sm_hilight.png";
30105                        border: 6 6 6 0;
30106                    }
30107                }
30108                description { state: "selected" 0.0;
30109                    inherit: "default" 0.0;
30110                    visible: 1;
30111                    color: 255 255 255 255;
30112                }
30113            }
30114            part { name: "fg2";
30115                clip_to: "disclip";
30116                mouse_events: 0;
30117                description { state: "default" 0.0;
30118                    visible: 0;
30119                    color: 255 255 255 0;
30120                    rel1.to: "bg";
30121                    rel2.to: "bg";
30122                    image {
30123                        normal: "bt_sm_shine.png";
30124                        border: 6 6 6 0;
30125                    }
30126                }
30127                description { state: "selected" 0.0;
30128                    inherit: "default" 0.0;
30129                    visible: 1;
30130                    color: 255 255 255 255;
30131                }
30132            }
30133            part { name: "disclip";
30134                type: RECT;
30135                description { state: "default" 0.0;
30136                    rel1.to: "bg";
30137                    rel2.to: "bg";
30138                }
30139                description { state: "disabled" 0.0;
30140                    inherit: "default" 0.0;
30141                    color: 255 255 255 64;
30142                }
30143            }
30144        }
30145        programs {
30146            // signal: elm,state,%s,active
30147            //   a "check" item named %s went active
30148            // signal: elm,state,%s,passive
30149            //   a "check" item named %s went passive
30150            // default is passive
30151            program { name:    "go_active";
30152                signal:  "elm,state,selected";
30153                source:  "elm";
30154                action:  STATE_SET "selected" 0.0;
30155                target:  "bg";
30156                target:  "fg1";
30157                target:  "fg2";
30158                target:  "elm.text";
30159            }
30160            program { name:    "go_passive";
30161                signal:  "elm,state,unselected";
30162                source:  "elm";
30163                action:  STATE_SET "default" 0.0;
30164                target:  "bg";
30165                target:  "fg1";
30166                target:  "fg2";
30167                target:  "elm.text";
30168                transition: LINEAR 0.1;
30169            }
30170            program { name:    "go_disabled";
30171                signal:  "elm,state,disabled";
30172                source:  "elm";
30173                action:  STATE_SET "disabled" 0.0;
30174                target:  "disclip";
30175            }
30176            program { name:    "go_enabled";
30177                signal:  "elm,state,enabled";
30178                source:  "elm";
30179                action:  STATE_SET "default" 0.0;
30180                target:  "disclip";
30181            }
30182        }
30183    }
30184
30185    group { name: "elm/gengrid/item/up/default";
30186       data.item: "labels" "elm.text";
30187       images {
30188           image: "bt_sm_base1.png" COMP;
30189           image: "bt_sm_shine.png" COMP;
30190           image: "bt_sm_hilight.png" COMP;
30191           image: "arrow_up.png" COMP;
30192       }
30193       parts {
30194          part { name: "event";
30195             type: RECT;
30196             repeat_events: 1;
30197             description { state: "default" 0.0;
30198                color: 0 0 0 0;
30199             }
30200          }
30201          part { name: "bg";
30202             clip_to: "disclip";
30203             mouse_events: 0;
30204             description { state: "default" 0.0;
30205                visible: 0;
30206                color: 255 255 255 0;
30207                rel1.offset: -3 -3;
30208                rel2.offset: 2 2;
30209                image { normal: "bt_sm_base1.png";
30210                   border: 6 6 6 6;
30211                   middle: SOLID;
30212                }
30213             }
30214             description { state: "selected" 0.0;
30215                inherit: "default" 0.0;
30216                visible: 1;
30217                color: 255 255 255 255;
30218             }
30219          }
30220          part { name: "image";
30221              type: IMAGE;
30222              mouse_events: 0;
30223              description { state: "default" 0.0;
30224                  aspect_preference: BOTH;
30225                  aspect: 1.0 1.0;
30226                  image.normal: "arrow_up.png";
30227                  rel2 {
30228                      to_y: "elm.text";
30229                      relative: 1.0 0.0;
30230                      offset: -1 -2;
30231                  }
30232              }
30233          }
30234          part { name: "elm.text";
30235             clip_to: "disclip";
30236             type: TEXT;
30237             effect: SOFT_SHADOW;
30238             mouse_events: 0;
30239             scale: 1;
30240             description { state: "default" 0.0;
30241                rel1 {
30242                   relative: 0.0  1.0;
30243                   offset: 20 -25;
30244                }
30245                rel2 {
30246                   relative: 1.0  1.0;
30247                   offset: -21 -3;
30248                }
30249                color: 0 0 0 255;
30250                color3: 0 0 0 0;
30251                text {
30252                   font: "Sans";
30253                   size: 10;
30254                   min: 0 1;
30255                   align: 0.5 0.0;
30256                   text_class: "grid_item";
30257                }
30258             }
30259             description { state: "selected" 0.0;
30260                inherit: "default" 0.0;
30261                color: 224 224 224 255;
30262                color3: 0 0 0 64;
30263             }
30264          }
30265          part { name: "fg1";
30266             clip_to: "disclip";
30267             mouse_events: 0;
30268             description { state: "default" 0.0;
30269                visible: 0;
30270                color: 255 255 255 0;
30271                rel1.offset: -3 -3;
30272                rel2 {
30273                    relative: 1.0 0.5;
30274                    offset: 2 -1;
30275                }
30276                image {
30277                   normal: "bt_sm_hilight.png";
30278                   border: 6 6 6 0;
30279                }
30280             }
30281             description { state: "selected" 0.0;
30282                inherit: "default" 0.0;
30283                visible: 1;
30284                color: 255 255 255 255;
30285             }
30286          }
30287          part { name: "fg2";
30288             clip_to: "disclip";
30289             mouse_events: 0;
30290             description { state: "default" 0.0;
30291                visible: 0;
30292                color: 255 255 255 0;
30293                rel1.offset: -3 -3;
30294                rel2.offset: 2 2;
30295                image {
30296                   normal: "bt_sm_shine.png";
30297                   border: 6 6 6 0;
30298                }
30299             }
30300             description { state: "selected" 0.0;
30301                inherit: "default" 0.0;
30302                visible: 1;
30303                color: 255 255 255 255;
30304             }
30305          }
30306          part { name: "disclip";
30307             type: RECT;
30308             description { state: "default" 0.0;
30309                rel1.to: "bg";
30310                rel2.to: "bg";
30311             }
30312             description { state: "disabled" 0.0;
30313                inherit: "default" 0.0;
30314                color: 255 255 255 64;
30315             }
30316          }
30317       }
30318       programs {
30319          program { name:    "go_active";
30320             signal:  "elm,state,selected";
30321             source:  "elm";
30322             action:  STATE_SET "selected" 0.0;
30323             target:  "bg";
30324             target:  "fg1";
30325             target:  "fg2";
30326             target:  "elm.text";
30327          }
30328          program { name:    "go_passive";
30329             signal:  "elm,state,unselected";
30330             source:  "elm";
30331             action:  STATE_SET "default" 0.0;
30332             target:  "bg";
30333             target:  "fg1";
30334             target:  "fg2";
30335             target:  "elm.text";
30336             transition: LINEAR 0.1;
30337          }
30338          program { name:    "go_disabled";
30339             signal:  "elm,state,disabled";
30340             source:  "elm";
30341             action:  STATE_SET "disabled" 0.0;
30342             target:  "disclip";
30343          }
30344          program { name:    "go_enabled";
30345             signal:  "elm,state,enabled";
30346             source:  "elm";
30347             action:  STATE_SET "default" 0.0;
30348             target:  "disclip";
30349          }
30350       }
30351    }
30352
30353    group { name: "elm/gengrid/item/album-preview/default";
30354       data.item: "labels" "elm.text";
30355       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30356       data.item: "states" "have_files";
30357       images {
30358          image: "bt_sm_base1.png" COMP;
30359          image: "bt_sm_shine.png" COMP;
30360          image: "bt_sm_hilight.png" COMP;
30361          image: "icon_folder.png" COMP;
30362       }
30363       parts {
30364          part { name: "event";
30365             type: RECT;
30366             repeat_events: 1;
30367             description { state: "default" 0.0;
30368                color: 0 0 0 0;
30369             }
30370          }
30371          part { name: "bg";
30372             clip_to: "disclip";
30373             mouse_events: 0;
30374             description { state: "default" 0.0;
30375                visible: 0;
30376                color: 255 255 255 0;
30377                rel1.offset: -3 -3;
30378                rel2.offset: 2 2;
30379                image {
30380                   normal: "bt_sm_base1.png";
30381                   border: 6 6 6 6;
30382                   middle: SOLID;
30383                }
30384             }
30385             description { state: "selected" 0.0;
30386                inherit: "default" 0.0;
30387                visible: 1;
30388                color: 255 255 255 255;
30389             }
30390          }
30391          part { name: "image";
30392              type: IMAGE;
30393              mouse_events: 0;
30394              description { state: "default" 0.0;
30395                  aspect_preference: BOTH;
30396                  aspect: 1.0 1.0;
30397                  image.normal: "icon_folder.png";
30398                  rel2 {
30399                      to_y: "elm.text";
30400                      relative: 1.0 0.0;
30401                      offset: -1 -2;
30402                  }
30403              }
30404          }
30405          part { name: "have-files-clipper";
30406              type: RECT;
30407              description { state: "default" 0.0;
30408                  color: 255 255 255 0;
30409                  visible: 0;
30410              }
30411              description { state: "visible" 0.0;
30412                  inherit: "default" 0.0;
30413                  color: 255 255 255 255;
30414                  visible: 1;
30415              }
30416          }
30417          part { name: "icon_box_margin";
30418              type: RECT;
30419              mouse_events: 0;
30420              clip_to: "have-files-clipper";
30421              description { state: "default" 0.0;
30422                  color: 0 0 0 255;
30423                  rel1 {
30424                      to: "icon_box";
30425                      offset: -1 -1;
30426                  }
30427                  rel2 {
30428                      to: "icon_box";
30429                      offset: 0 0;
30430                  }
30431              }
30432          }
30433          part { name: "icon_box";
30434              type: RECT;
30435              mouse_events: 0;
30436              clip_to: "have-files-clipper";
30437              description { state: "default" 0.0;
30438                  color: 255 255 255 255;
30439                  align: 1.0 1.0;
30440                  min: 32 32;
30441                  rel1 {
30442                      relative: 0.25 0.25;
30443                      offset: 0 0;
30444                  }
30445                  rel2 {
30446                      relative: 1.0 0.0;
30447                      offset: -11 -4;
30448                      to_y: "elm.text";
30449                  }
30450              }
30451          }
30452          part { name: "elm.swallow.icon.1";
30453              type: SWALLOW;
30454              mouse_events: 0;
30455              clip_to: "have-files-clipper";
30456              description { state: "default" 0.0;
30457                rel1 {
30458                   relative: 0.0  0.0;
30459                   to: "icon_box";
30460                }
30461                rel2 {
30462                   relative: 0.5  0.5;
30463                   offset: -1 -1;
30464                   to: "icon_box";
30465                }
30466             }
30467          }
30468          part { name: "elm.swallow.icon.2";
30469              type: SWALLOW;
30470              mouse_events: 0;
30471              clip_to: "have-files-clipper";
30472              description { state: "default" 0.0;
30473                rel1 {
30474                   relative: 0.5  0.0;
30475                   to: "icon_box";
30476                }
30477                rel2 {
30478                   relative: 1.0  0.5;
30479                   offset: -1 -1;
30480                   to: "icon_box";
30481                }
30482             }
30483          }
30484          part { name: "elm.swallow.icon.3";
30485              type: SWALLOW;
30486              mouse_events: 0;
30487              clip_to: "have-files-clipper";
30488              description { state: "default" 0.0;
30489                rel1 {
30490                   relative: 0.0  0.5;
30491                   to: "icon_box";
30492                }
30493                rel2 {
30494                   relative: 0.5  1.0;
30495                   offset: -1 -1;
30496                   to: "icon_box";
30497                }
30498             }
30499          }
30500          part { name: "elm.swallow.icon.4";
30501              type: SWALLOW;
30502              mouse_events: 0;
30503              clip_to: "have-files-clipper";
30504              description { state: "default" 0.0;
30505                rel1 {
30506                   relative: 0.5  0.5;
30507                   to: "icon_box";
30508                }
30509                rel2 {
30510                   relative: 1.0  1.0;
30511                   offset: -1 -1;
30512                   to: "icon_box";
30513                }
30514             }
30515          }
30516          part { name: "elm.text";
30517             clip_to: "disclip";
30518             type: TEXT;
30519             effect: SOFT_SHADOW;
30520             mouse_events: 0;
30521             scale: 1;
30522             description { state: "default" 0.0;
30523                rel1 {
30524                   relative: 0.0  1.0;
30525                   offset: 20 -30;
30526                }
30527                rel2 {
30528                   relative: 1.0  1.0;
30529                   offset: -21 -15;
30530                }
30531                color: 0 0 0 255;
30532                color3: 0 0 0 0;
30533                text {
30534                   font: "Sans";
30535                   size: 10;
30536                   min: 0 1;
30537                   align: 0.5 0.0;
30538                   text_class: "grid_item";
30539                }
30540             }
30541             description { state: "selected" 0.0;
30542                 inherit: "default" 0.0;
30543                 color: 255 255 255 255;
30544             }
30545          }
30546          part { name: "fg1";
30547             clip_to: "disclip";
30548             mouse_events: 0;
30549             description { state: "default" 0.0;
30550                visible: 0;
30551                color: 255 255 255 0;
30552                rel1.offset: -3 -3;
30553                rel2 {
30554                    relative: 1.0 0.5;
30555                    offset: 2 -1;
30556                }
30557                image {
30558                   normal: "bt_sm_hilight.png";
30559                   border: 6 6 6 0;
30560                }
30561             }
30562             description { state: "selected" 0.0;
30563                inherit: "default" 0.0;
30564                visible: 1;
30565                color: 255 255 255 255;
30566             }
30567          }
30568          part { name: "fg2";
30569             clip_to: "disclip";
30570             mouse_events: 0;
30571             description { state: "default" 0.0;
30572                visible: 0;
30573                color: 255 255 255 0;
30574                rel1.offset: -3 -3;
30575                rel2.offset: 2 2;
30576                image {
30577                   normal: "bt_sm_shine.png";
30578                   border: 6 6 6 0;
30579                }
30580             }
30581             description { state: "selected" 0.0;
30582                inherit: "default" 0.0;
30583                visible: 1;
30584                color: 255 255 255 255;
30585             }
30586          }
30587          part { name: "disclip";
30588             type: RECT;
30589             description { state: "default" 0.0;
30590                rel1.to: "bg";
30591                rel2.to: "bg";
30592             }
30593             description { state: "disabled" 0.0;
30594                inherit: "default" 0.0;
30595                color: 255 255 255 64;
30596             }
30597          }
30598       }
30599       programs {
30600          program { name:    "go_active";
30601             signal:  "elm,state,selected";
30602             source:  "elm";
30603             action:  STATE_SET "selected" 0.0;
30604             target:  "bg";
30605             target:  "fg1";
30606             target:  "fg2";
30607             target:  "elm.text";
30608          }
30609          program { name:    "go_passive";
30610             signal:  "elm,state,unselected";
30611             source:  "elm";
30612             action:  STATE_SET "default" 0.0;
30613             target:  "bg";
30614             target:  "fg1";
30615             target:  "fg2";
30616             target:  "elm.text";
30617             transition: LINEAR 0.1;
30618          }
30619          program { name:    "go_disabled";
30620             signal:  "elm,state,disabled";
30621             source:  "elm";
30622             action:  STATE_SET "disabled" 0.0;
30623             target:  "disclip";
30624          }
30625          program { name:    "go_enabled";
30626             signal:  "elm,state,enabled";
30627             source:  "elm";
30628             action:  STATE_SET "default" 0.0;
30629             target:  "disclip";
30630          }
30631          program {
30632              signal: "elm,state,have_files,active";
30633              source: "elm";
30634              action: STATE_SET "visible" 0.0;
30635              target: "have-files-clipper";
30636          }
30637       }
30638    }
30639
30640    group { name: "elm/gengrid/item/thumb/default";
30641        data {
30642            item: "icons" "elm.swallow.icon";
30643            item: "labels" "elm.text";
30644        }
30645        images {
30646            image: "bt_sm_base1.png" COMP;
30647            image: "bt_sm_shine.png" COMP;
30648            image: "bt_sm_hilight.png" COMP;
30649            image: "thumb_shadow.png" COMP;
30650        }
30651        parts {
30652            part { name: "event";
30653                type: RECT;
30654                repeat_events: 1;
30655                description { state: "default" 0.0;
30656                    color: 0 0 0 0;
30657                }
30658            }
30659            part { name: "bg";
30660                mouse_events: 0;
30661                description { state: "default" 0.0;
30662                    visible: 0;
30663                    color: 255 255 255 0;
30664                    rel1.offset: -3 -3;
30665                    rel2.offset: 2 2;
30666                    image {
30667                        normal: "bt_sm_base1.png";
30668                        border: 6 6 6 6;
30669                        middle: SOLID;
30670                    }
30671                }
30672                description { state: "selected" 0.0;
30673                    inherit: "default" 0.0;
30674                    visible: 1;
30675                    color: 255 255 255 255;
30676                }
30677            }
30678            part { name: "border-shadow";
30679                type: IMAGE;
30680                mouse_events: 0;
30681                description { state: "default" 0.0;
30682                    rel1 {
30683                        to: "elm.swallow.icon";
30684                        offset: -18 -18;
30685                    }
30686                    rel2 {
30687                        to_x: "elm.swallow.icon";
30688                        to_y: "elm.text";
30689                        offset: 17 17;
30690                    }
30691                    image {
30692                        normal: "thumb_shadow.png";
30693                        border: 17 17 17 17;
30694                        middle: NONE;
30695                    }
30696                }
30697            }
30698            part { name: "border";
30699                type: RECT;
30700                mouse_events: 0;
30701                description { state: "default" 0.0;
30702                    rel1 {
30703                        to: "border-shadow";
30704                        offset: 16 16;
30705                    }
30706                    rel2 {
30707                        to: "border-shadow";
30708                        offset: -15 -15;
30709                    }
30710                }
30711            }
30712            part { name: "elm.swallow.icon";
30713                type: SWALLOW;
30714                mouse_events: 0;
30715                description { state: "default" 0.0;
30716                    aspect_preference: BOTH;
30717                    aspect: 1.0 1.0;
30718                    rel1.offset: 0 8;
30719                    rel2 {
30720                        to_y: "elm.text";
30721                        relative: 1.0 0.0;
30722                        offset: -1 -2;
30723                    }
30724                }
30725            }
30726            part { name: "elm.text";
30727                type: TEXT;
30728                effect: SOFT_SHADOW;
30729                mouse_events: 0;
30730                scale: 1;
30731                description { state: "default" 0.0;
30732                    color: 0 0 0 255;
30733                    color3: 0 0 0 0;
30734                    align: 0.5 1.0;
30735                    rel1 {
30736                        relative: 0.0 1.0;
30737                        offset: 20 -30;
30738                    }
30739                    rel2 {
30740                        relative: 1.0 1.0;
30741                        offset: -21 -15;
30742                    }
30743                    text {
30744                        font: "Sans";
30745                        size: 10;
30746                        min: 0 1;
30747                        align: 0.5 0.0;
30748                        text_class: "grid_item";
30749                    }
30750                }
30751            }
30752            part { name: "fg1";
30753                mouse_events: 0;
30754                description { state: "default" 0.0;
30755                    visible: 0;
30756                    color: 255 255 255 0;
30757                    rel1.offset: -3 -3;
30758                    rel2 {
30759                        relative: 1.0 0.5;
30760                        offset: 2 -1;
30761                    }
30762                    image {
30763                        normal: "bt_sm_hilight.png";
30764                        border: 6 6 6 0;
30765                    }
30766                }
30767                description { state: "selected" 0.0;
30768                    inherit: "default" 0.0;
30769                    visible: 1;
30770                    color: 255 255 255 255;
30771                }
30772            }
30773            part { name: "fg2";
30774                mouse_events: 0;
30775                description { state: "default" 0.0;
30776                    visible: 0;
30777                    color: 255 255 255 0;
30778                    rel1.offset: -3 -3;
30779                    rel2.offset: 2 2;
30780                    image {
30781                        image: "bt_sm_shine.png";
30782                        border: 6 6 6 0;
30783                    }
30784                }
30785                description { state: "selected" 0.0;
30786                    inherit: "default" 0.0;
30787                    visible: 1;
30788                    color: 255 255 255 255;
30789                }
30790            }
30791        }
30792        programs {
30793            program {
30794                signal: "elm,state,selected";
30795                source: "elm";
30796                action: STATE_SET "selected" 0.0;
30797                target: "bg";
30798                target: "fg1";
30799                target: "fg2";
30800            }
30801            program {
30802                signal: "elm,state,unselected";
30803                source: "elm";
30804                action:  STATE_SET "default" 0.0;
30805                target: "bg";
30806                target: "fg1";
30807                target: "fg2";
30808                transition: LINEAR 0.1;
30809            }
30810        }
30811    }
30812
30813 ///////////////////////////////////////////////////////////////////////////////
30814    group { name: "elm/photocam/base/default";
30815        script {
30816            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30817            public timer0(val) {
30818                new v;
30819                v = get_int(sbvis_v);
30820                if (v) {
30821                    v = get_int(sbalways_v);
30822                    if (!v) {
30823                        emit("do-hide-vbar", "");
30824                        set_int(sbvis_v, 0);
30825                    }
30826                }
30827                v = get_int(sbvis_h);
30828                if (v) {
30829                    v = get_int(sbalways_h);
30830                    if (!v) {
30831                        emit("do-hide-hbar", "");
30832                        set_int(sbvis_h, 0);
30833                    }
30834                }
30835                set_int(sbvis_timer, 0);
30836                return 0;
30837            }
30838        }
30839        images {
30840            image: "shelf_inset.png" COMP;
30841            image: "bt_sm_base2.png" COMP;
30842            image: "bt_sm_shine.png" COMP;
30843            image: "bt_sm_hilight.png" COMP;
30844            image: "busy-1.png" COMP;
30845            image: "busy-2.png" COMP;
30846            image: "busy-3.png" COMP;
30847            image: "busy-4.png" COMP;
30848            image: "busy-5.png" COMP;
30849            image: "busy-6.png" COMP;
30850            image: "busy-7.png" COMP;
30851            image: "busy-8.png" COMP;
30852            image: "busy-9.png" COMP;
30853        }
30854        parts {
30855            part { name: "bg";
30856                type: RECT;
30857                description { state: "default" 0.0;
30858                    rel1.offset: 1 1;
30859                    rel2.offset: -2 -2;
30860                    color: 255 255 255 0;
30861                }
30862            }
30863            part { name: "clipper";
30864                type: RECT;
30865                mouse_events: 0;
30866                description { state: "default" 0.0;
30867                    rel1.to: "bg";
30868                    rel2.to: "bg";
30869                }
30870            }
30871            part { name: "elm.swallow.content";
30872                clip_to: "clipper";
30873                type: SWALLOW;
30874                description { state: "default" 0.0;
30875                    rel1.offset: 1 1;
30876                    rel2.offset: -2 -2;
30877                }
30878            }
30879            part { name: "busy_clip";
30880                type: RECT;
30881                mouse_events: 0;
30882                description { state: "default" 0.0;
30883                    visible: 0;
30884                    color: 255 255 255 0;
30885                }
30886                description { state: "active" 0.0;
30887                    visible: 1;
30888                    color: 255 255 255 255;
30889                }
30890            }
30891            part { name: "busy";
30892                clip_to: "busy_clip";
30893                mouse_events: 0;
30894                description { state: "default" 0.0;
30895                    fixed: 1 1;
30896                    min: 32 32;
30897                    aspect: 1.0 1.0;
30898                    align: 1.0 1.0;
30899                    aspect_preference: BOTH;
30900                    rel1 {
30901                        relative: 0.9 0.9;
30902                        offset:   -9 -9;
30903                    }
30904                    rel2 {
30905                        relative: 0.9 0.9;
30906                        offset:   -9 -9;
30907                    }
30908                    image {
30909                        normal: "busy-9.png";
30910                        tween:  "busy-1.png";
30911                        tween:  "busy-2.png";
30912                        tween:  "busy-3.png";
30913                        tween:  "busy-4.png";
30914                        tween:  "busy-5.png";
30915                        tween:  "busy-6.png";
30916                        tween:  "busy-7.png";
30917                        tween:  "busy-8.png";
30918                    }
30919                }
30920            }
30921            part { name: "conf_over";
30922                mouse_events:  0;
30923                description { state: "default" 0.0;
30924                    rel1.offset: 0 0;
30925                    rel2.offset: -1 -1;
30926                    image {
30927                        normal: "shelf_inset.png";
30928                        border: 7 7 7 7;
30929                        middle: 0;
30930                    }
30931                    fill.smooth : 0;
30932                }
30933            }
30934            part { name: "sb_vbar_clip_master";
30935                type: RECT;
30936                mouse_events: 0;
30937                description { state: "default" 0.0;
30938                }
30939                description { state: "hidden" 0.0;
30940                    visible: 0;
30941                    color: 255 255 255 0;
30942                }
30943            }
30944            part { name: "sb_vbar_clip";
30945                clip_to: "sb_vbar_clip_master";
30946                type: RECT;
30947                mouse_events: 0;
30948                description { state: "default" 0.0;
30949                }
30950                description { state: "hidden" 0.0;
30951                    visible: 0;
30952                    color: 255 255 255 0;
30953                }
30954            }
30955            part { name: "sb_vbar";
30956                type: RECT;
30957                mouse_events: 0;
30958                description { state: "default" 0.0;
30959                    fixed: 1 1;
30960                    visible: 0;
30961                    min: 10 17;
30962                    align: 1.0 0.0;
30963                    rel1 {
30964                        relative: 1.0 0.0;
30965                        offset:   -2 0;
30966                    }
30967                    rel2 {
30968                        relative: 1.0 0.0;
30969                        offset:   -2 -1;
30970                        to_y:     "sb_hbar";
30971                    }
30972                }
30973            }
30974            part { name: "elm.dragable.vbar";
30975                clip_to: "sb_vbar_clip";
30976                mouse_events: 0;
30977                dragable {
30978                    x: 0 0 0;
30979                    y: 1 1 0;
30980                    confine: "sb_vbar";
30981                }
30982                description { state: "default" 0.0;
30983                    fixed: 1 1;
30984                    min: 10 17;
30985                    max: 10 99999;
30986                    rel1 {
30987                        relative: 0.5  0.5;
30988                        offset:   0    0;
30989                        to: "sb_vbar";
30990                    }
30991                    rel2 {
30992                        relative: 0.5  0.5;
30993                        offset:   0    0;
30994                        to: "sb_vbar";
30995                    }
30996                    image {
30997                        normal: "bt_sm_base2.png";
30998                        border: 6 6 6 6;
30999                        middle: SOLID;
31000                    }
31001                }
31002            }
31003            part { name: "sb_vbar_over1";
31004                clip_to: "sb_vbar_clip";
31005                mouse_events: 0;
31006                description { state: "default" 0.0;
31007                    rel1.to: "elm.dragable.vbar";
31008                    rel2.relative: 1.0 0.5;
31009                    rel2.to: "elm.dragable.vbar";
31010                    image {
31011                        normal: "bt_sm_hilight.png";
31012                        border: 6 6 6 0;
31013                    }
31014                }
31015            }
31016            part { name: "sb_vbar_over2";
31017                clip_to: "sb_vbar_clip";
31018                mouse_events: 0;
31019                description { state: "default" 0.0;
31020                    rel1.to: "elm.dragable.vbar";
31021                    rel2.to: "elm.dragable.vbar";
31022                    image {
31023                        normal: "bt_sm_shine.png";
31024                        border: 6 6 6 0;
31025                    }
31026                }
31027            }
31028
31029            part { name: "sb_hbar_clip_master";
31030                type: RECT;
31031                mouse_events: 0;
31032                description { state: "default" 0.0;
31033                }
31034                description { state: "hidden" 0.0;
31035                    visible: 0;
31036                    color: 255 255 255 0;
31037                }
31038            }
31039            part { name: "sb_hbar_clip";
31040                clip_to: "sb_hbar_clip_master";
31041                type: RECT;
31042                mouse_events: 0;
31043                description { state: "default" 0.0;
31044                }
31045                description { state: "hidden" 0.0;
31046                    visible: 0;
31047                    color: 255 255 255 0;
31048                }
31049            }
31050            part { name: "sb_hbar";
31051                type: RECT;
31052                mouse_events: 0;
31053                description { state: "default" 0.0;
31054                    fixed: 1 1;
31055                    visible: 0;
31056                    min: 17 10;
31057                    align: 0.0 1.0;
31058                    rel1 {
31059                        relative: 0.0 1.0;
31060                        offset:   0 -2;
31061                    }
31062                    rel2 {
31063                        relative: 0.0 1.0;
31064                        offset:   -1 -2;
31065                        to_x:     "sb_vbar";
31066                    }
31067                }
31068            }
31069            part { name: "elm.dragable.hbar";
31070                clip_to: "sb_hbar_clip";
31071                mouse_events: 0;
31072                dragable {
31073                    x: 1 1 0;
31074                    y: 0 0 0;
31075                    confine: "sb_hbar";
31076                }
31077                description { state: "default" 0.0;
31078                    fixed: 1 1;
31079                    min: 17 10;
31080                    max: 99999 10;
31081                    rel1 {
31082                        relative: 0.5  0.5;
31083                        offset:   0    0;
31084                        to: "sb_hbar";
31085                    }
31086                    rel2 {
31087                        relative: 0.5  0.5;
31088                        offset:   0    0;
31089                        to: "sb_hbar";
31090                    }
31091                    image {
31092                        normal: "bt_sm_base2.png";
31093                        border: 4 4 4 4;
31094                        middle: SOLID;
31095                    }
31096                }
31097            }
31098            part { name: "sb_hbar_over1";
31099                clip_to: "sb_hbar_clip";
31100                mouse_events: 0;
31101                description { state: "default" 0.0;
31102                    rel1.to: "elm.dragable.hbar";
31103                    rel2.relative: 1.0 0.5;
31104                    rel2.to: "elm.dragable.hbar";
31105                    image {
31106                        normal: "bt_sm_hilight.png";
31107                        border: 4 4 4 0;
31108                    }
31109                }
31110            }
31111            part { name: "sb_hbar_over2";
31112                clip_to: "sb_hbar_clip";
31113                mouse_events: 0;
31114                description { state: "default" 0.0;
31115                    rel1.to: "elm.dragable.hbar";
31116                    rel2.to: "elm.dragable.hbar";
31117                    image {
31118                        normal: "bt_sm_shine.png";
31119                        border: 4 4 4 0;
31120                    }
31121                }
31122            }
31123        }
31124        programs {
31125            program { name: "load";
31126                signal: "load";
31127                source: "";
31128                script {
31129                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31130                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31131                    set_int(sbvis_h, 0);
31132                    set_int(sbvis_v, 0);
31133                    set_int(sbalways_v, 0);
31134                    set_int(sbalways_h, 0);
31135                    set_int(sbvis_timer, 0);
31136                }
31137            }
31138
31139            program { name: "vbar_show";
31140                signal: "elm,action,show,vbar";
31141                source: "elm";
31142                action:  STATE_SET "default" 0.0;
31143                target: "sb_vbar_clip_master";
31144            }
31145            program { name: "vbar_hide";
31146                signal: "elm,action,hide,vbar";
31147                source: "elm";
31148                action:  STATE_SET "hidden" 0.0;
31149                target: "sb_vbar_clip_master";
31150            }
31151            program { name: "vbar_show_always";
31152                signal: "elm,action,show_always,vbar";
31153                source: "elm";
31154                script {
31155                    new v;
31156                    v = get_int(sbvis_v);
31157                    v |= get_int(sbalways_v);
31158                    if (!v) {
31159                        set_int(sbalways_v, 1);
31160                        emit("do-show-vbar", "");
31161                        set_int(sbvis_v, 1);
31162                    }
31163                }
31164            }
31165            program { name: "vbar_show_notalways";
31166                signal: "elm,action,show_notalways,vbar";
31167                source: "elm";
31168                script {
31169                    new v;
31170                    v = get_int(sbalways_v);
31171                    if (v) {
31172                        set_int(sbalways_v, 0);
31173                        v = get_int(sbvis_v);
31174                        if (!v) {
31175                            emit("do-hide-vbar", "");
31176                            set_int(sbvis_v, 0);
31177                        }
31178                    }
31179                }
31180            }
31181            program { name: "sb_vbar_show";
31182                signal: "do-show-vbar";
31183                source: "";
31184                action:  STATE_SET "default" 0.0;
31185                transition: LINEAR 0.5;
31186                target: "sb_vbar_clip";
31187            }
31188            program { name: "sb_vbar_hide";
31189                signal: "do-hide-vbar";
31190                source: "";
31191                action:  STATE_SET "hidden" 0.0;
31192                transition: LINEAR 0.5;
31193                target: "sb_vbar_clip";
31194            }
31195
31196            program { name: "hbar_show";
31197                signal: "elm,action,show,hbar";
31198                source: "elm";
31199                action:  STATE_SET "default" 0.0;
31200                target: "sb_hbar_clip_master";
31201            }
31202            program { name: "hbar_hide";
31203                signal: "elm,action,hide,hbar";
31204                source: "elm";
31205                action:  STATE_SET "hidden" 0.0;
31206                target: "sb_hbar_clip_master";
31207            }
31208            program { name: "hbar_show_always";
31209                signal: "elm,action,show_always,hbar";
31210                source: "elm";
31211                script {
31212                    new v;
31213                    v = get_int(sbvis_h);
31214                    v |= get_int(sbalways_h);
31215                    if (!v) {
31216                        set_int(sbalways_h, 1);
31217                        emit("do-show-hbar", "");
31218                        set_int(sbvis_h, 1);
31219                    }
31220                }
31221            }
31222            program { name: "hbar_show_notalways";
31223                signal: "elm,action,show_notalways,hbar";
31224                source: "elm";
31225                script {
31226                    new v;
31227                    v = get_int(sbalways_h);
31228                    if (v) {
31229                        set_int(sbalways_h, 0);
31230                        v = get_int(sbvis_h);
31231                        if (!v) {
31232                            emit("do-hide-hbar", "");
31233                            set_int(sbvis_h, 0);
31234                        }
31235                    }
31236                }
31237            }
31238            program { name: "sb_hbar_show";
31239                signal: "do-show-hbar";
31240                source: "";
31241                action:  STATE_SET "default" 0.0;
31242                transition: LINEAR 0.5;
31243                target: "sb_hbar_clip";
31244            }
31245            program { name: "sb_hbar_hide";
31246                signal: "do-hide-hbar";
31247                source: "";
31248                action:  STATE_SET "hidden" 0.0;
31249                transition: LINEAR 0.5;
31250                target: "sb_hbar_clip";
31251            }
31252
31253            program { name: "scroll";
31254                signal: "elm,action,scroll";
31255                source: "elm";
31256                script {
31257                    new v;
31258                    v = get_int(sbvis_v);
31259                    v |= get_int(sbalways_v);
31260                    if (!v) {
31261                        emit("do-show-vbar", "");
31262                        set_int(sbvis_v, 1);
31263                    }
31264                    v = get_int(sbvis_h);
31265                    v |= get_int(sbalways_h);
31266                    if (!v) {
31267                        emit("do-show-hbar", "");
31268                        set_int(sbvis_h, 1);
31269                    }
31270                    v = get_int(sbvis_timer);
31271                    if (v > 0) cancel_timer(v);
31272                    v = timer(1.0, "timer0", 0);
31273                    set_int(sbvis_timer, v);
31274                }
31275            }
31276            program { name: "go1";
31277                signal: "elm,state,busy,start";
31278                source: "elm";
31279                action: STATE_SET "active" 0.0;
31280                transition: SINUSOIDAL 1.0;
31281                target:  "busy_clip";
31282            }
31283            program { name: "go2";
31284                signal: "elm,state,busy,start";
31285                source: "elm";
31286                action: STATE_SET "default" 0.0;
31287                transition: LINEAR 0.5;
31288                target: "busy";
31289                after:  "go2";
31290            }
31291            program { name: "stop1";
31292                signal: "elm,state,busy,stop";
31293                source: "elm";
31294                action: STATE_SET "default" 0.0;
31295                transition: SINUSOIDAL 1.0;
31296                target: "busy_clip";
31297                after: "stop2";
31298            }
31299          program { name: "stop2";
31300             action: ACTION_STOP;
31301             target: "go2";
31302          }
31303       }
31304    }
31305
31306    ///////////////////////////////////////////////////////////////////////////////
31307    group { name: "elm/map/base/default";
31308        script {
31309            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31310            public timer0(val) {
31311                new v;
31312                v = get_int(sbvis_v);
31313                if (v) {
31314                    v = get_int(sbalways_v);
31315                    if (!v) {
31316                        emit("do-hide-vbar", "");
31317                        set_int(sbvis_v, 0);
31318                    }
31319                }
31320                v = get_int(sbvis_h);
31321                if (v) {
31322                    v = get_int(sbalways_h);
31323                    if (!v) {
31324                        emit("do-hide-hbar", "");
31325                        set_int(sbvis_h, 0);
31326                    }
31327                }
31328                set_int(sbvis_timer, 0);
31329                return 0;
31330            }
31331        }
31332        images {
31333            image: "shelf_inset.png" COMP;
31334            image: "bt_sm_base2.png" COMP;
31335            image: "bt_sm_shine.png" COMP;
31336            image: "bt_sm_hilight.png" COMP;
31337            image: "busy-1.png" COMP;
31338            image: "busy-2.png" COMP;
31339            image: "busy-3.png" COMP;
31340            image: "busy-4.png" COMP;
31341            image: "busy-5.png" COMP;
31342            image: "busy-6.png" COMP;
31343            image: "busy-7.png" COMP;
31344            image: "busy-8.png" COMP;
31345            image: "busy-9.png" COMP;
31346        }
31347        parts {
31348            part { name: "bg";
31349                type: RECT;
31350                description { state: "default" 0.0;
31351                    rel1.offset: 1 1;
31352                    rel2.offset: -2 -2;
31353                    color: 255 255 255 0;
31354                }
31355            }
31356            part { name: "clipper";
31357                type: RECT;
31358                mouse_events: 0;
31359                description { state: "default" 0.0;
31360                    rel1.to: "bg";
31361                    rel2.to: "bg";
31362                }
31363            }
31364            part { name: "elm.swallow.content";
31365                clip_to: "clipper";
31366                type: SWALLOW;
31367                description { state: "default" 0.0;
31368                    rel1.offset: 1 1;
31369                    rel2.offset: -2 -2;
31370                }
31371            }
31372            part { name: "busy_clip";
31373                type: RECT;
31374                mouse_events: 0;
31375                description { state: "default" 0.0;
31376                    visible: 0;
31377                    color: 255 255 255 0;
31378                }
31379                description { state: "active" 0.0;
31380                    visible: 1;
31381                    color: 255 255 255 255;
31382                }
31383            }
31384            part { name: "busy";
31385                clip_to: "busy_clip";
31386                mouse_events: 0;
31387                description { state: "default" 0.0;
31388                    fixed: 1 1;
31389                    min: 32 32;
31390                    aspect: 1.0 1.0;
31391                    align: 1.0 1.0;
31392                    aspect_preference: BOTH;
31393                    rel1 {
31394                        relative: 0.9 0.9;
31395                        offset:   -9 -9;
31396                    }
31397                    rel2 {
31398                        relative: 0.9 0.9;
31399                        offset:   -9 -9;
31400                    }
31401                    image {
31402                        normal: "busy-9.png";
31403                        tween:  "busy-1.png";
31404                        tween:  "busy-2.png";
31405                        tween:  "busy-3.png";
31406                        tween:  "busy-4.png";
31407                        tween:  "busy-5.png";
31408                        tween:  "busy-6.png";
31409                        tween:  "busy-7.png";
31410                        tween:  "busy-8.png";
31411                    }
31412                }
31413            }
31414            part { name: "conf_over";
31415                mouse_events:  0;
31416                description { state: "default" 0.0;
31417                    rel1.offset: 0 0;
31418                    rel2.offset: -1 -1;
31419                    image {
31420                        normal: "shelf_inset.png";
31421                        border: 7 7 7 7;
31422                        middle: 0;
31423                    }
31424                    fill.smooth : 0;
31425                }
31426            }
31427            part { name: "sb_vbar_clip_master";
31428                type: RECT;
31429                mouse_events: 0;
31430                description { state: "default" 0.0;
31431                }
31432                description { state: "hidden" 0.0;
31433                    visible: 0;
31434                    color: 255 255 255 0;
31435                }
31436            }
31437            part { name: "sb_vbar_clip";
31438                clip_to: "sb_vbar_clip_master";
31439                type: RECT;
31440                mouse_events: 0;
31441                description { state: "default" 0.0;
31442                }
31443                description { state: "hidden" 0.0;
31444                    visible: 0;
31445                    color: 255 255 255 0;
31446                }
31447            }
31448            part { name: "sb_vbar";
31449                type: RECT;
31450                mouse_events: 0;
31451                description { state: "default" 0.0;
31452                    fixed: 1 1;
31453                    visible: 0;
31454                    min: 10 17;
31455                    align: 1.0 0.0;
31456                    rel1 {
31457                        relative: 1.0 0.0;
31458                        offset:   -2 0;
31459                    }
31460                    rel2 {
31461                        relative: 1.0 0.0;
31462                        offset:   -2 -1;
31463                        to_y:     "sb_hbar";
31464                    }
31465                }
31466            }
31467            part { name: "elm.dragable.vbar";
31468                clip_to: "sb_vbar_clip";
31469                mouse_events: 0;
31470                dragable {
31471                    x: 0 0 0;
31472                    y: 1 1 0;
31473                    confine: "sb_vbar";
31474                }
31475                description { state: "default" 0.0;
31476                    fixed: 1 1;
31477                    min: 10 17;
31478                    max: 10 99999;
31479                    rel1 {
31480                        relative: 0.5  0.5;
31481                        offset:   0    0;
31482                        to: "sb_vbar";
31483                    }
31484                    rel2 {
31485                        relative: 0.5  0.5;
31486                        offset:   0    0;
31487                        to: "sb_vbar";
31488                    }
31489                    image {
31490                        normal: "bt_sm_base2.png";
31491                        border: 6 6 6 6;
31492                        middle: SOLID;
31493                    }
31494                }
31495            }
31496            part { name: "sb_vbar_over1";
31497                clip_to: "sb_vbar_clip";
31498                mouse_events: 0;
31499                description { state: "default" 0.0;
31500                    rel1.to: "elm.dragable.vbar";
31501                    rel2.relative: 1.0 0.5;
31502                    rel2.to: "elm.dragable.vbar";
31503                    image {
31504                        normal: "bt_sm_hilight.png";
31505                        border: 6 6 6 0;
31506                    }
31507                }
31508            }
31509            part { name: "sb_vbar_over2";
31510                clip_to: "sb_vbar_clip";
31511                mouse_events: 0;
31512                description { state: "default" 0.0;
31513                    rel1.to: "elm.dragable.vbar";
31514                    rel2.to: "elm.dragable.vbar";
31515                    image {
31516                        normal: "bt_sm_shine.png";
31517                        border: 6 6 6 0;
31518                    }
31519                }
31520            }
31521
31522            part { name: "sb_hbar_clip_master";
31523                type: RECT;
31524                mouse_events: 0;
31525                description { state: "default" 0.0;
31526                }
31527                description { state: "hidden" 0.0;
31528                    visible: 0;
31529                    color: 255 255 255 0;
31530                }
31531            }
31532            part { name: "sb_hbar_clip";
31533                clip_to: "sb_hbar_clip_master";
31534                type: RECT;
31535                mouse_events: 0;
31536                description { state: "default" 0.0;
31537                }
31538                description { state: "hidden" 0.0;
31539                    visible: 0;
31540                    color: 255 255 255 0;
31541                }
31542            }
31543            part { name: "sb_hbar";
31544                type: RECT;
31545                mouse_events: 0;
31546                description { state: "default" 0.0;
31547                    fixed: 1 1;
31548                    visible: 0;
31549                    min: 17 10;
31550                    align: 0.0 1.0;
31551                    rel1 {
31552                        relative: 0.0 1.0;
31553                        offset:   0 -2;
31554                    }
31555                    rel2 {
31556                        relative: 0.0 1.0;
31557                        offset:   -1 -2;
31558                        to_x:     "sb_vbar";
31559                    }
31560                }
31561            }
31562            part { name: "elm.dragable.hbar";
31563                clip_to: "sb_hbar_clip";
31564                mouse_events: 0;
31565                dragable {
31566                    x: 1 1 0;
31567                    y: 0 0 0;
31568                    confine: "sb_hbar";
31569                }
31570                description { state: "default" 0.0;
31571                    fixed: 1 1;
31572                    min: 17 10;
31573                    max: 99999 10;
31574                    rel1 {
31575                        relative: 0.5  0.5;
31576                        offset:   0    0;
31577                        to: "sb_hbar";
31578                    }
31579                    rel2 {
31580                        relative: 0.5  0.5;
31581                        offset:   0    0;
31582                        to: "sb_hbar";
31583                    }
31584                    image {
31585                        normal: "bt_sm_base2.png";
31586                        border: 4 4 4 4;
31587                        middle: SOLID;
31588                    }
31589                }
31590            }
31591            part { name: "sb_hbar_over1";
31592                clip_to: "sb_hbar_clip";
31593                mouse_events: 0;
31594                description { state: "default" 0.0;
31595                    rel1.to: "elm.dragable.hbar";
31596                    rel2.relative: 1.0 0.5;
31597                    rel2.to: "elm.dragable.hbar";
31598                    image {
31599                        normal: "bt_sm_hilight.png";
31600                        border: 4 4 4 0;
31601                    }
31602                }
31603            }
31604            part { name: "sb_hbar_over2";
31605                clip_to: "sb_hbar_clip";
31606                mouse_events: 0;
31607                description { state: "default" 0.0;
31608                    rel1.to: "elm.dragable.hbar";
31609                    rel2.to: "elm.dragable.hbar";
31610                    image {
31611                        normal: "bt_sm_shine.png";
31612                        border: 4 4 4 0;
31613                    }
31614                }
31615            }
31616        }
31617        programs {
31618            program { name: "load";
31619                signal: "load";
31620                source: "";
31621                script {
31622                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31623                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31624                    set_int(sbvis_h, 0);
31625                    set_int(sbvis_v, 0);
31626                    set_int(sbalways_v, 0);
31627                    set_int(sbalways_h, 0);
31628                    set_int(sbvis_timer, 0);
31629                }
31630            }
31631
31632            program { name: "vbar_show";
31633                signal: "elm,action,show,vbar";
31634                source: "elm";
31635                action:  STATE_SET "default" 0.0;
31636                target: "sb_vbar_clip_master";
31637            }
31638            program { name: "vbar_hide";
31639                signal: "elm,action,hide,vbar";
31640                source: "elm";
31641                action:  STATE_SET "hidden" 0.0;
31642                target: "sb_vbar_clip_master";
31643            }
31644            program { name: "vbar_show_always";
31645                signal: "elm,action,show_always,vbar";
31646                source: "elm";
31647                script {
31648                    new v;
31649                    v = get_int(sbvis_v);
31650                    v |= get_int(sbalways_v);
31651                    if (!v) {
31652                        set_int(sbalways_v, 1);
31653                        emit("do-show-vbar", "");
31654                        set_int(sbvis_v, 1);
31655                    }
31656                }
31657            }
31658            program { name: "vbar_show_notalways";
31659                signal: "elm,action,show_notalways,vbar";
31660                source: "elm";
31661                script {
31662                    new v;
31663                    v = get_int(sbalways_v);
31664                    if (v) {
31665                        set_int(sbalways_v, 0);
31666                        v = get_int(sbvis_v);
31667                        if (!v) {
31668                            emit("do-hide-vbar", "");
31669                            set_int(sbvis_v, 0);
31670                        }
31671                    }
31672                }
31673            }
31674            program { name: "sb_vbar_show";
31675                signal: "do-show-vbar";
31676                source: "";
31677                action:  STATE_SET "default" 0.0;
31678                transition: LINEAR 0.5;
31679                target: "sb_vbar_clip";
31680            }
31681            program { name: "sb_vbar_hide";
31682                signal: "do-hide-vbar";
31683                source: "";
31684                action:  STATE_SET "hidden" 0.0;
31685                transition: LINEAR 0.5;
31686                target: "sb_vbar_clip";
31687            }
31688
31689            program { name: "hbar_show";
31690                signal: "elm,action,show,hbar";
31691                source: "elm";
31692                action:  STATE_SET "default" 0.0;
31693                target: "sb_hbar_clip_master";
31694            }
31695            program { name: "hbar_hide";
31696                signal: "elm,action,hide,hbar";
31697                source: "elm";
31698                action:  STATE_SET "hidden" 0.0;
31699                target: "sb_hbar_clip_master";
31700            }
31701            program { name: "hbar_show_always";
31702                signal: "elm,action,show_always,hbar";
31703                source: "elm";
31704                script {
31705                    new v;
31706                    v = get_int(sbvis_h);
31707                    v |= get_int(sbalways_h);
31708                    if (!v) {
31709                        set_int(sbalways_h, 1);
31710                        emit("do-show-hbar", "");
31711                        set_int(sbvis_h, 1);
31712                    }
31713                }
31714            }
31715            program { name: "hbar_show_notalways";
31716                signal: "elm,action,show_notalways,hbar";
31717                source: "elm";
31718                script {
31719                    new v;
31720                    v = get_int(sbalways_h);
31721                    if (v) {
31722                        set_int(sbalways_h, 0);
31723                        v = get_int(sbvis_h);
31724                        if (!v) {
31725                            emit("do-hide-hbar", "");
31726                            set_int(sbvis_h, 0);
31727                        }
31728                    }
31729                }
31730            }
31731            program { name: "sb_hbar_show";
31732                signal: "do-show-hbar";
31733                source: "";
31734                action:  STATE_SET "default" 0.0;
31735                transition: LINEAR 0.5;
31736                target: "sb_hbar_clip";
31737            }
31738            program { name: "sb_hbar_hide";
31739                signal: "do-hide-hbar";
31740                source: "";
31741                action:  STATE_SET "hidden" 0.0;
31742                transition: LINEAR 0.5;
31743                target: "sb_hbar_clip";
31744            }
31745
31746            program { name: "scroll";
31747                signal: "elm,action,scroll";
31748                source: "elm";
31749                script {
31750                    new v;
31751                    v = get_int(sbvis_v);
31752                    v |= get_int(sbalways_v);
31753                    if (!v) {
31754                        emit("do-show-vbar", "");
31755                        set_int(sbvis_v, 1);
31756                    }
31757                    v = get_int(sbvis_h);
31758                    v |= get_int(sbalways_h);
31759                    if (!v) {
31760                        emit("do-show-hbar", "");
31761                        set_int(sbvis_h, 1);
31762                    }
31763                    v = get_int(sbvis_timer);
31764                    if (v > 0) cancel_timer(v);
31765                    v = timer(1.0, "timer0", 0);
31766                    set_int(sbvis_timer, v);
31767                }
31768            }
31769            program { name: "go1";
31770                signal: "elm,state,busy,start";
31771                source: "elm";
31772                action: STATE_SET "active" 0.0;
31773                transition: SINUSOIDAL 1.0;
31774                target:  "busy_clip";
31775            }
31776            program { name: "go2";
31777                signal: "elm,state,busy,start";
31778                source: "elm";
31779                action: STATE_SET "default" 0.0;
31780                transition: LINEAR 0.5;
31781                target: "busy";
31782                after:  "go2";
31783            }
31784            program { name: "stop1";
31785                signal: "elm,state,busy,stop";
31786                source: "elm";
31787                action: STATE_SET "default" 0.0;
31788                transition: SINUSOIDAL 1.0;
31789                target: "busy_clip";
31790                after: "stop2";
31791            }
31792          program { name: "stop2";
31793             action: ACTION_STOP;
31794             target: "go2";
31795          }
31796       }
31797    }
31798    group { name: "elm/map/marker/radio/default";
31799         data {
31800             item: size_w 24;
31801             item: size_h 24;
31802             item: size_max_w 58;
31803             item: size_max_h 58;
31804         }
31805         images {
31806                 image: "map_item.png" COMP;
31807         }
31808         parts {
31809             part { name: "whole";
31810                 description { state: "default" 0.0;
31811                 }
31812             }
31813             part { name: "base";
31814                 ignore_flags: ON_HOLD;
31815                 description { state: "default" 0.0;
31816                     image.normal: "map_item.png";
31817                 }
31818             }
31819             part { name: "elm.icon";
31820                 type: SWALLOW;
31821                 clip_to: "whole";
31822                 mouse_events:  0;
31823                 description { state: "default" 0.0;
31824                     rel1.relative: 0.27 0.27;
31825                     rel2.relative: 0.73 0.73;
31826                 }
31827             }
31828             part { name: "elm.text";
31829                 type:          TEXT;
31830                 effect:        SOFT_SHADOW;
31831                 mouse_events:  0;
31832                 scale: 1;
31833                 description { state: "default" 0.0;
31834                     align:    0.5 0.5;
31835                     color: 224 224 224 255;
31836                     color3: 0 0 0 64;
31837                     rel1.relative: 0.28 0.25;
31838                     rel2.relative: 0.75 0.75;
31839                     text {
31840                         font:     "Sans,Edje-Vera";
31841                         size:     10;
31842                         min:      0 0;
31843                         align:    0.5 0.5;
31844                     }
31845                 }
31846             }
31847        }
31848        programs {
31849             program { name: "open";
31850                 signal: "mouse,clicked,1";
31851                 source: "base";
31852                 action: SIGNAL_EMIT "open" "elm";
31853             }
31854             program { name: "bringin";
31855                 signal: "mouse,down,1,double";
31856                 source: "base";
31857                 action: SIGNAL_EMIT "bringin" "elm";
31858             }
31859        }
31860    }
31861    group { name: "elm/map/marker/radio2/default";
31862         data {
31863             item: size_w 24;
31864             item: size_h 24;
31865             item: size_max_w 58;
31866             item: size_max_h 58;
31867         }
31868         images {
31869                 image: "map_item_2.png" COMP;
31870         }
31871         parts {
31872             part { name: "base";
31873                 ignore_flags: ON_HOLD;
31874                 description { state: "default" 0.0;
31875                     image.normal: "map_item_2.png";
31876                 }
31877             }
31878             part { name: "elm.text";
31879                 type:          TEXT;
31880                 effect:        SOFT_SHADOW;
31881                 mouse_events:  0;
31882                 scale: 1;
31883                 description { state: "default" 0.0;
31884                     align:    0.5 0.5;
31885                     color: 224 224 224 255;
31886                     color3: 0 0 0 64;
31887                     rel1.relative: 0.28 0.25;
31888                     rel2.relative: 0.75 0.75;
31889                     text {
31890                         font:     "Sans,Edje-Vera";
31891                         size:     10;
31892                         min:      0 0;
31893                         align:    0.5 0.5;
31894                     }
31895                 }
31896             }
31897        }
31898        programs {
31899             program { name: "open";
31900                 signal: "mouse,clicked,1";
31901                 source: "base";
31902                 action: SIGNAL_EMIT "open" "elm";
31903             }
31904             program { name: "bringin";
31905                 signal: "mouse,down,1,double";
31906                 source: "base";
31907                 action: SIGNAL_EMIT "bringin" "elm";
31908             }
31909        }
31910    }
31911    group { name: "elm/map/marker/empty/default";
31912         data {
31913             item: size_w 22;
31914             item: size_h 22;
31915             item: size_max_w 64;
31916             item: size_max_h 64;
31917         }
31918         parts {
31919             part { name: "whole";
31920                 description { state: "default" 0.0;
31921                 }
31922             }
31923             part { name: "base";
31924                 ignore_flags: ON_HOLD;
31925                 description { state: "default" 0.0;
31926                 }
31927             }
31928             part { name: "elm.icon";
31929                 type: SWALLOW;
31930                 clip_to: "whole";
31931                 mouse_events:  0;
31932                 description { state: "default" 0.0;
31933                 }
31934             }
31935             part { name: "elm.text";
31936                 type:          TEXT;
31937                 effect:        SOFT_SHADOW;
31938                 mouse_events:  0;
31939                 scale: 1;
31940                 description { state: "default" 0.0;
31941                     align:    0.5 0.5;
31942                     color: 224 224 224 255;
31943                     color3: 0 0 0 64;
31944                     rel1.relative: 0.28 0.25;
31945                     rel2.relative: 0.75 0.75;
31946                     text {
31947                         font:     "Sans,Edje-Vera";
31948                         size:     10;
31949                         min:      0 0;
31950                         align:    0.5 0.5;
31951                     }
31952                 }
31953             }
31954        }
31955        programs {
31956             program { name: "open";
31957                 signal: "mouse,clicked,1";
31958                 source: "base";
31959                 action: SIGNAL_EMIT "open" "elm";
31960             }
31961             program { name: "bringin";
31962                 signal: "mouse,down,1,double";
31963                 source: "base";
31964                 action: SIGNAL_EMIT "bringin" "elm";
31965             }
31966        }
31967    }
31968    group { name: "elm/map/marker_bubble/default";
31969     images {
31970       image: "bubble.png" COMP;
31971       image: "bubble_shine.png" COMP;
31972     }
31973     data {
31974             item: size_w 400;
31975             item: size_h 100;
31976         }
31977     parts {
31978     part { name: "clipper";
31979         mouse_events:  1;
31980         description { state: "default" 0.0;
31981           color: 255 255 255 0;
31982         }
31983         description { state: "show" 0.0;
31984             inherit: "default" 0.0;
31985             color: 255 255 255 255;
31986         }
31987       }
31988      part { name: "base0";
31989         mouse_events:  0;
31990         clip_to: "clipper";
31991         description { state: "default" 0.0;
31992           image {
31993             normal: "bubble.png";
31994             border: 11 36 10 19;
31995           }
31996           image.middle: SOLID;
31997           fill.smooth: 0;
31998         }
31999         description { state: "rtl" 0.0;
32000            inherit: "default" 0.0;
32001            image {
32002               normal: "bubble_4.png";
32003               border: 11 36 18 9;
32004            }
32005         }
32006       }
32007       part { name: "elm.swallow.content";
32008         type: SWALLOW;
32009         clip_to: "clipper";
32010         description { state: "default" 0.0;
32011             align: 0.5 0.5;
32012           rel1 {
32013             offset: 9 8;
32014           }
32015           rel2 {
32016             offset: -10 -17;
32017           }
32018         }
32019       }
32020       part { name: "shine";
32021         mouse_events:  0;
32022         clip_to: "clipper";
32023         description { state:    "default" 0.0;
32024           rel1 {
32025             to: "base0";
32026           }
32027           rel2 {
32028             to: "base0";
32029             relative: 1.0 0.5;
32030           }
32031           image {
32032             normal: "bubble_shine.png";
32033             border: 5 5 5 0;
32034           }
32035           fill.smooth: 0;
32036         }
32037         }
32038     }
32039     programs {
32040         program { name: "show";
32041             signal: "show";
32042             action: STATE_SET "show" 0.0;
32043             target: "clipper";
32044             transition: ACCELERATE 0.5;
32045         }
32046     }
32047   }
32048
32049 /////////////////////////////////////////////////////////////////////////////
32050 // PANES
32051 /////////////////////////////////////////////////////////////////////////////
32052   group {
32053      name: "elm/panes/vertical/default";
32054       images {
32055          image: "bt_base1.png" COMP;
32056          image: "bt_base2.png" COMP;
32057          image: "bt_hilight.png" COMP;
32058          image: "bt_shine.png" COMP;
32059          image: "bt_glow.png" COMP;
32060          image: "bt_dis_base.png" COMP;
32061          image: "bt_dis_hilight.png" COMP;
32062          image: "arrow_right.png" COMP;
32063          image: "arrow_left.png" COMP;
32064       }
32065       script {
32066          public state_pair = 0; //0:both content are not set, 1:both content are set
32067       }
32068      parts
32069        {
32070           part
32071             {
32072                name: "whole";
32073                type: RECT;
32074                mouse_events: 1;
32075                description
32076                  {
32077                     state: "default" 0.0;
32078                     visible: 0;
32079                  }
32080             }
32081
32082          //2 contents
32083           part
32084             {
32085                name: "whole_left";
32086                type: RECT;
32087                mouse_events: 0;
32088                description
32089                  {
32090                     state: "default" 0.0;
32091                     rel2.to_x: "elm.bar";
32092                     rel2.relative: 0.0 1.0;
32093                     visible: 1;
32094                  }
32095             }
32096           part
32097             {
32098                name: "elm.swallow.left";
32099                type: SWALLOW;
32100                clip_to: "whole_left";
32101                description
32102                  {
32103                     state: "default" 0.0;
32104                     rel1.to: "whole_left";
32105                     rel2.to: "whole_left";
32106                  }
32107             }
32108
32109             part
32110             {
32111                name: "whole_right";
32112                type: RECT;
32113                mouse_events: 0;
32114                description
32115                  {
32116                     state: "default" 0.0;
32117                     rel1.to_x: "elm.bar";
32118                     rel1.relative: 1.0 0.0;
32119                     visible: 1;
32120                  }
32121             }
32122           part
32123             {
32124                name: "elm.swallow.right";
32125                type: SWALLOW;
32126                clip_to: "whole_right";
32127                description
32128                  {
32129                     state: "default" 0.0;
32130                     rel1.to: "whole_right";
32131                     rel2.to: "whole_right";
32132                  }
32133             }
32134          //BAR
32135          part { name: "elm.bar";
32136             mouse_events: 1;
32137             dragable {
32138                confine: "whole";
32139                x: 1 1 1;
32140                y: 0 0 0;
32141             }
32142             description { state: "default" 0.0;
32143                max: 0 999;
32144                min: 0 100;
32145                rel1.relative: 0.0 0.5;
32146                rel2.relative: 1.0 0.5;
32147                image {
32148                   normal: "bt_base2.png";
32149                   border: 7 7 7 7;
32150                }
32151                image.middle: SOLID;
32152             }
32153             description { state: "default" 0.1;
32154                inherit: "default" 0.0;
32155                max: 15 999;
32156                min: 15 100;
32157             }
32158             description { state: "clicked" 0.0;
32159                inherit: "default" 0.0;
32160                image.normal: "bt_base1.png";
32161                image.middle: SOLID;
32162             }
32163             description { state: "clicked" 0.1;
32164                inherit: "default" 0.1;
32165                image.normal: "bt_base1.png";
32166                image.middle: SOLID;
32167             }
32168             description { state: "disabled" 0.0;
32169                inherit:  "default" 0.0;
32170                image {
32171                   normal: "bt_dis_base.png";
32172                   border: 4 4 4 4;
32173                }
32174             }
32175             description { state: "disabled" 0.1;
32176                inherit:  "default" 0.1;
32177                image {
32178                   normal: "bt_dis_base.png";
32179                   border: 4 4 4 4;
32180                }
32181             }
32182          }
32183          part {          name: "over1";
32184             mouse_events: 0;
32185             description { state: "default" 0.0;
32186             rel1.to: "elm.bar";
32187             rel2.to: "elm.bar";
32188                rel2.relative: 1.0 0.5;
32189                image {
32190                   normal: "bt_hilight.png";
32191                   border: 7 7 7 0;
32192                }
32193             }
32194             description { state: "disabled" 0.0;
32195                inherit:  "default" 0.0;
32196                image {
32197                   normal: "bt_dis_hilight.png";
32198                   border: 4 4 4 0;
32199                }
32200             }
32201          }
32202          part { name: "over2";
32203             mouse_events: 1;
32204             repeat_events: 1;
32205             ignore_flags: ON_HOLD;
32206             description { state: "default" 0.0;
32207             rel1.to: "elm.bar";
32208             rel2.to: "elm.bar";
32209                image {
32210                   normal: "bt_shine.png";
32211                   border: 7 7 7 7;
32212                }
32213             }
32214             description { state: "disabled" 0.0;
32215                inherit:  "default" 0.0;
32216                visible: 0;
32217             }
32218          }
32219          part { name: "over3";
32220             mouse_events: 1;
32221             repeat_events: 1;
32222             description { state: "default" 0.0;
32223                color: 255 255 255 0;
32224             rel1.to: "elm.bar";
32225             rel2.to: "elm.bar";
32226                image {
32227                   normal: "bt_glow.png";
32228                   border: 12 12 12 12;
32229                }
32230                fill.smooth : 0;
32231             }
32232             description { state: "clicked" 0.0;
32233                inherit:  "default" 0.0;
32234                visible: 1;
32235                color: 255 255 255 255;
32236             }
32237          }
32238
32239          //Arrow
32240          part {
32241             name: "arrow_right";
32242             mouse_events: 0;
32243             description { state: "default" 0.0;
32244                 min: 45 45;
32245                 max: 45 45;
32246                 color: 255 255 255 0;
32247
32248                 rel1.relative: 1.0 0.5;
32249                 rel1.to_x: "elm.bar";
32250                 rel1.offset: 45/2 -45/2;
32251
32252                 rel2.relative: 1.0 0.5;
32253                 rel2.to_x: "elm.bar";
32254                 rel2.offset: 45/2 45/2;
32255
32256                 image.normal: "arrow_right.png";
32257
32258                 fixed: 1 1;
32259             }
32260             description { state: "default" 0.1;
32261                 inherit: "default" 0.0;
32262                 image.normal: "arrow_left.png";
32263             }
32264             description { state: "anim_1" 0.0;
32265                 inherit: "default" 0.0;
32266                 color: 255 255 255 200;
32267                 rel1.offset: (45/2 + 10) -45/2;
32268                 rel2.offset: (45/2 +10) 45/2;
32269             }
32270             description { state: "anim_1" 0.1;
32271                 inherit: "default" 0.0;
32272                 image.normal: "arrow_left.png";
32273                 color: 255 255 255 200;
32274                 rel1.offset: (45/2 + 10) -45/2;
32275                 rel2.offset: (45/2 +10) 45/2;
32276             }
32277             description { state: "anim_2" 0.0;
32278                 inherit: "default" 0.0;
32279                 color: 255 255 255 0;
32280                 rel1.offset: (45/2 + 20) -45/2;
32281                 rel2.offset: (45/2 + 20) 45/2;
32282             }
32283             description { state: "anim_2" 0.1;
32284                 inherit: "default" 0.0;
32285                 image.normal: "arrow_left.png";
32286                 color: 255 255 255 0;
32287                 rel1.offset: (45/2 + 20) -45/2;
32288                 rel2.offset: (45/2 + 20) 45/2;
32289             }
32290          }
32291         part {
32292             name: "arrow_left";
32293             mouse_events: 0;
32294             description { state: "default" 0.0;
32295                 min: 45 45;
32296                 max: 45 45;
32297                 color: 255 255 255 0;
32298
32299                 rel1.relative: 0.0 0.5;
32300                 rel1.to_x: "elm.bar";
32301                 rel1.offset: -45/2 -45/2;
32302
32303                 rel2.relative: 0.0 0.5;
32304                 rel2.to_x: "elm.bar";
32305                 rel2.offset: -45/2 45/2;
32306
32307                 image.normal: "arrow_left.png";
32308
32309                 fixed: 1 1;
32310             }
32311             description { state: "default" 0.1;
32312                 inherit: "default" 0.0;
32313                 image.normal: "arrow_right.png";
32314             }
32315             description { state: "anim_1" 0.0;
32316                 inherit: "default" 0.0;
32317                 color: 255 255 255 200;
32318                 rel1.offset: (-45/2 - 10) -45/2;
32319                 rel2.offset: (-45/2 - 10) 45/2;
32320             }
32321             description { state: "anim_1" 0.1;
32322                 inherit: "default" 0.0;
32323                 image.normal: "arrow_right.png";
32324                 color: 255 255 255 200;
32325                 rel1.offset: (-45/2 - 10) -45/2;
32326                 rel2.offset: (-45/2 - 10) 45/2;
32327             }
32328             description { state: "anim_2" 0.0;
32329                 inherit: "default" 0.0;
32330                 color: 255 255 255 0;
32331                 rel1.offset: (-45/2 - 20) -45/2;
32332                 rel2.offset: (-45/2 - 20) 45/2;
32333             }
32334             description { state: "anim_2" 0.1;
32335                 inherit: "default" 0.0;
32336                 image.normal: "arrow_right.png";
32337                 color: 255 255 255 0;
32338                 rel1.offset: (-45/2 - 20) -45/2;
32339                 rel2.offset: (-45/2 - 20) 45/2;
32340             }
32341          }
32342          part { name: "movement.decider";
32343             mouse_events: 1;
32344             description { state: "default" 0.0;
32345                rel1.to: "elm.bar";
32346                rel2.to: "elm.bar";
32347                visible: 0;
32348             }
32349             description { state: "disabled" 0.0;
32350                inherit: "default" 0.0;
32351                visible: 1;
32352             }
32353          }
32354        }
32355        programs {
32356          program {
32357             name:   "button_click";
32358             signal: "mouse,down,1";
32359             source: "over2";
32360             action: SIGNAL_EMIT "elm,action,press" "";
32361             after: "button_click_anim";
32362             after: "arrow_anim_start";
32363          }
32364          program {
32365             name:   "button_click_anim";
32366             script {
32367                if(get_int(state_pair) == 1)
32368                  set_state(PART:"elm.bar", "clicked", 0.1);
32369                else
32370                  set_state(PART:"elm.bar", "clicked", 0.0);          
32371             }
32372          }
32373          program {
32374             name:   "button_unclick";
32375             signal: "mouse,up,1";
32376             source: "over2";
32377             action: SIGNAL_EMIT "elm,action,unpress" "";
32378             after: "button_unclick_anim";
32379             after: "arrow_anim_stop";
32380          }
32381          program {
32382             name:   "button_unclick_anim";
32383             script {
32384             if(get_int(state_pair) == 1)
32385               set_state(PART:"elm.bar", "default", 0.1);
32386             else
32387               set_state(PART:"elm.bar", "default", 0.0);          
32388             }
32389          }
32390          program {
32391             name:   "button_click2";
32392             signal: "mouse,down,1";
32393             source: "over3";
32394             action: STATE_SET "clicked" 0.0;
32395             target: "over3";
32396          }
32397          program {
32398             name:   "button_unclick2";
32399             signal: "mouse,up,1";
32400             source: "over3";
32401             action: STATE_SET "default" 0.0;
32402             transition: DECELERATE 0.5;
32403             target: "over3";
32404          }
32405          program {
32406             name:   "button_unclick3";
32407             signal: "mouse,up,1";
32408             source: "over2";
32409             action: SIGNAL_EMIT "elm,action,click" "";
32410          }
32411          program {
32412             name:   "button_down_double";
32413             signal: "mouse,down,1,double";
32414             source: "over3";
32415             action: SIGNAL_EMIT "elm,action,click,double" "";
32416          }
32417
32418          //arrows animation
32419          program {
32420             name: "arrow_anim_start";
32421             script {
32422                new st[31];
32423                new Float:vl;
32424                get_state(PART:"arrow_left", st, 30, vl);
32425                if (vl == 0.0) {
32426                   run_program(PROGRAM:"arrow_anim_start_ltr");
32427                }
32428                else {
32429                   run_program(PROGRAM:"arrow_anim_start_rtl");
32430                }
32431             }
32432          }
32433          program {
32434             name: "arrow_anim_stop";
32435             script {
32436                new st[31];
32437                new Float:vl;
32438                get_state(PART:"arrow_left", st, 30, vl);
32439                if (vl == 0.0) {
32440                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32441                }
32442                else {
32443                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32444                }
32445             }
32446          }
32447
32448          program {
32449             name: "arrow_anim_start_ltr";
32450             action: STATE_SET "anim_1" 0.0;
32451             target: "arrow_right";
32452             target: "arrow_left";
32453             transition: LINEAR 0.6;
32454             after: "arrow_anim_1_ltr";
32455          }
32456          program {
32457             name: "arrow_anim_1_ltr";
32458             action: STATE_SET "anim_2" 0.0;
32459             target: "arrow_right";
32460             target: "arrow_left";
32461             transition: LINEAR 0.6;
32462             after: "arrow_anim_2_ltr";
32463          }
32464          program {
32465             name: "arrow_anim_2_ltr";
32466             action: STATE_SET "default" 0.0;
32467             target: "arrow_right";
32468             target: "arrow_left";
32469             after: "arrow_anim_start_ltr";
32470          }
32471          program {
32472             name: "arrow_anim_stop_ltr";
32473             action: ACTION_STOP;
32474             target: "arrow_anim_start_ltr";
32475             target: "arrow_anim_1_ltr";
32476             target: "arrow_anim_2_ltr";
32477             after: "arrow_anim_stop_1_ltr";
32478          }
32479          program {
32480             name: "arrow_anim_stop_1_ltr";
32481             action: STATE_SET "default" 0.0;
32482             target: "arrow_right";
32483             target: "arrow_left";
32484             transition: DECELERATE 0.4;
32485         }
32486          program {
32487             name: "arrow_anim_start_rtl";
32488             action: STATE_SET "anim_1" 0.1;
32489             target: "arrow_right";
32490             target: "arrow_left";
32491             transition: LINEAR 0.6;
32492             after: "arrow_anim_1_rtl";
32493          }
32494          program {
32495             name: "arrow_anim_1_rtl";
32496             action: STATE_SET "anim_2" 0.1;
32497             target: "arrow_right";
32498             target: "arrow_left";
32499             transition: LINEAR 0.6;
32500             after: "arrow_anim_2_rtl";
32501          }
32502          program {
32503             name: "arrow_anim_2_rtl";
32504             action: STATE_SET "default" 0.1;
32505             target: "arrow_right";
32506             target: "arrow_left";
32507             after: "arrow_anim_start_rtl";
32508          }
32509          program {
32510             name: "arrow_anim_stop_rtl";
32511             action: ACTION_STOP;
32512             target: "arrow_anim_start_rtl";
32513             target: "arrow_anim_1_rtl";
32514             target: "arrow_anim_2_rtl";
32515             after: "arrow_anim_stop_1_rtl";
32516          }
32517          program {
32518             name: "arrow_anim_stop_1_rtl";
32519             action: STATE_SET "default" 0.1;
32520             target: "arrow_right";
32521             target: "arrow_left";
32522             transition: DECELERATE 0.4;
32523         }
32524          program { name: "to_rtl";
32525             signal: "edje,state,rtl";
32526             source: "edje";
32527             script {
32528                new st[31];
32529                new Float:vl;
32530                get_state(PART:"arrow_left", st, 30, vl);
32531                if (vl == 0.0) {
32532                   set_state(PART:"arrow_left", st, 0.1);
32533                }
32534                get_state(PART:"arrow_right", st, 30, vl);
32535                if (vl == 0.0) {
32536                   set_state(PART:"arrow_right", st, 0.1);
32537                }
32538             }
32539          }
32540          program { name: "to_ltr";
32541             signal: "edje,state,ltr";
32542             source: "edje";
32543             script {
32544                new st[31];
32545                new Float:vl;
32546                get_state(PART:"arrow_left", st, 30, vl);
32547                if (vl == 0.1) {
32548                   set_state(PART:"arrow_left", st, 0.0);
32549                }
32550                get_state(PART:"arrow_right", st, 30, vl);
32551                if (vl == 0.1) {
32552                   set_state(PART:"arrow_right", st, 0.0);
32553                }
32554             }
32555          }
32556         //fix the pane
32557         program {
32558            name:   "panes_fixed";
32559            signal: "elm.panes.fixed";
32560            source: "elm";
32561            action: STATE_SET "disabled" 0.0;
32562            target: "movement.decider";
32563            target: "elm.bar";
32564         }
32565         //allow the movement by interaction
32566         program {
32567            name:   "panes_unfixed";
32568            signal: "elm.panes.unfixed";
32569            source: "elm";
32570            action: STATE_SET "default" 0.0;
32571            target: "movement.decider";
32572            target: "elm.bar";
32573         }
32574         program {
32575            name:   "panes_pair";
32576            signal: "elm.panes.pair";
32577            source: "elm";
32578            script {
32579               new st[31];
32580               new Float:vl;
32581               set_int(state_pair, 1);
32582               get_state(PART:"elm.bar", st, 30, vl);
32583               set_state(PART:"elm.bar", st, 0.1);
32584            }
32585         }
32586         program {
32587            name:   "panes_unpair";
32588            signal: "elm.panes.unpair";
32589            source: "elm";
32590            script {
32591               new st[31];
32592               new Float:vl;
32593               set_int(state_pair, 0);
32594               get_state(PART:"elm.bar", st, 30, vl);
32595               set_state(PART:"elm.bar", st, 0.0);
32596            }
32597         }
32598       }
32599   }
32600
32601   group {
32602      name: "elm/panes/horizontal/default";
32603       images {
32604          image: "bt_base1.png" COMP;
32605          image: "bt_base2.png" COMP;
32606          image: "bt_hilight.png" COMP;
32607          image: "bt_shine.png" COMP;
32608          image: "bt_glow.png" COMP;
32609          image: "bt_dis_base.png" COMP;
32610          image: "bt_dis_hilight.png" COMP;
32611          image: "arrow_up.png" COMP;
32612          image: "arrow_down.png" COMP;
32613       }
32614      script {
32615         public state_pair = 0; //0:both content are not set, 1:both content are set
32616      }
32617      parts
32618        {
32619           part
32620             {
32621                name: "whole";
32622                type: RECT;
32623                mouse_events: 1;
32624                description
32625                  {
32626                     state: "default" 0.0;
32627                     visible: 0;
32628                  }
32629             }
32630
32631          //2 contents
32632           part
32633             {
32634                name: "whole_left";
32635                type: RECT;
32636                mouse_events: 0;
32637                description
32638                  {
32639                     state: "default" 0.0;
32640                     rel2.to_y: "elm.bar";
32641                     rel2.relative: 1.0 0.0;
32642                     visible: 1;
32643                  }
32644             }
32645           part
32646             {
32647                name: "elm.swallow.left";
32648                type: SWALLOW;
32649                clip_to: "whole_left";
32650                description
32651                  {
32652                     state: "default" 0.0;
32653                     rel1.to: "whole_left";
32654                     rel2.to: "whole_left";
32655                  }
32656             }
32657
32658             part
32659             {
32660                name: "whole_right";
32661                type: RECT;
32662                mouse_events: 0;
32663                description
32664                  {
32665                     state: "default" 0.0;
32666                     rel1.to_y: "elm.bar";
32667                     rel1.relative: 0.0 1.0;
32668                     visible: 1;
32669                  }
32670             }
32671           part
32672             {
32673                name: "elm.swallow.right";
32674                type: SWALLOW;
32675                clip_to: "whole_right";
32676                description
32677                  {
32678                     state: "default" 0.0;
32679                     rel1.to: "whole_right";
32680                     rel2.to: "whole_right";
32681                  }
32682             }
32683          //BAR
32684          part { name: "elm.bar";
32685             mouse_events: 1;
32686             dragable {
32687                confine: "whole";
32688                x: 0 0 0;
32689                y: 1 1 1;
32690             }
32691        description { state: "default" 0.0;
32692                max: 999 0;
32693                min: 100 0;
32694                rel1.relative: 0.5 0.0;
32695                rel2.relative: 0.5 1.0;
32696                image {
32697                   normal: "bt_base2.png";
32698                   border: 7 7 7 7;
32699                }
32700                image.middle: SOLID;
32701        }
32702        description { state: "default" 0.1;
32703           inherit: "default" 0.0;
32704           max: 999 15;
32705           min: 100 15;
32706        }
32707        description { state: "clicked" 0.0;
32708           inherit: "default" 0.0;
32709           image.normal: "bt_base1.png";
32710                image.middle: SOLID;
32711        }
32712        description { state: "clicked" 0.1;
32713           inherit: "default" 0.1;
32714           image.normal: "bt_base1.png";
32715           image.middle: SOLID;
32716        }
32717        description { state: "disabled" 0.0;
32718           inherit:  "default" 0.0;
32719           image {
32720         normal: "bt_dis_base.png";
32721         border: 4 4 4 4;
32722           }
32723        }
32724        description { state: "disabled" 0.1;
32725           inherit:  "default" 0.1;
32726           image {
32727              normal: "bt_dis_base.png";
32728              border: 4 4 4 4;
32729           }
32730        }
32731     }
32732     part {    name: "over1";
32733        mouse_events: 0;
32734        description { state: "default" 0.0;
32735             rel1.to: "elm.bar";
32736             rel2.to: "elm.bar";
32737                rel2.relative: 1.0 0.5;
32738                image {
32739                   normal: "bt_hilight.png";
32740                   border: 7 7 7 0;
32741                }
32742             }
32743             description { state: "disabled" 0.0;
32744                inherit:  "default" 0.0;
32745                image {
32746                   normal: "bt_dis_hilight.png";
32747                   border: 4 4 4 0;
32748                }
32749             }
32750          }
32751          part { name: "over2";
32752             mouse_events: 1;
32753             repeat_events: 1;
32754             ignore_flags: ON_HOLD;
32755             description { state: "default" 0.0;
32756             rel1.to: "elm.bar";
32757             rel2.to: "elm.bar";
32758                image {
32759                   normal: "bt_shine.png";
32760                   border: 7 7 7 7;
32761                }
32762             }
32763             description { state: "disabled" 0.0;
32764                inherit:  "default" 0.0;
32765                visible: 0;
32766             }
32767          }
32768          part { name: "over3";
32769             mouse_events: 1;
32770             repeat_events: 1;
32771             description { state: "default" 0.0;
32772                color: 255 255 255 0;
32773             rel1.to: "elm.bar";
32774             rel2.to: "elm.bar";
32775                image {
32776                   normal: "bt_glow.png";
32777                   border: 12 12 12 12;
32778                }
32779                fill.smooth : 0;
32780             }
32781             description { state: "clicked" 0.0;
32782                inherit:  "default" 0.0;
32783                visible: 1;
32784                color: 255 255 255 255;
32785             }
32786          }
32787
32788          //Arrow
32789          part {
32790             name: "arrow_right";
32791             mouse_events: 0;
32792             description { state: "default" 0.0;
32793                 min: 45 45;
32794                 max: 45 45;
32795                 color: 255 255 255 0;
32796
32797                 rel1.relative: 0.5 1.0;
32798                 rel1.to_y: "elm.bar";
32799                 rel1.offset: -45/2 45/2;
32800
32801                 rel2.relative: 0.5 1.0;
32802                 rel2.to_y: "elm.bar";
32803                 rel2.offset: 45/2 45/2;
32804
32805                 image.normal: "arrow_down.png";
32806
32807                 fixed: 1 1;
32808             }
32809             description { state: "anim_1" 0.0;
32810                 inherit: "default" 0.0;
32811                 color: 255 255 255 200;
32812                 rel1.offset: -45/2 (45/2 +10);
32813                 rel2.offset: 45/2 (45/2 +10);
32814             }
32815             description { state: "anim_2" 0.0;
32816                 inherit: "default" 0.0;
32817                 color: 255 255 255 0;
32818                 rel1.offset: -45/2 (45/2 + 20);
32819                 rel2.offset: 45/2 (45/2 + 20);
32820             }
32821          }
32822         part {
32823             name: "arrow_left";
32824             mouse_events: 0;
32825             description { state: "default" 0.0;
32826                 min: 45 45;
32827                 max: 45 45;
32828                 color: 255 255 255 0;
32829
32830                 rel1.relative: 0.5 0.0;
32831                 rel1.to_y: "elm.bar";
32832                 rel1.offset: -45/2 -45/2;
32833
32834                 rel2.relative: 0.5 0.0;
32835                 rel2.to_y: "elm.bar";
32836                 rel2.offset: 45/2 -45/2;
32837
32838                 image.normal: "arrow_up.png";
32839
32840                 fixed: 1 1;
32841             }
32842             description { state: "anim_1" 0.0;
32843                 inherit: "default" 0.0;
32844                 color: 255 255 255 200;
32845                 rel1.offset: -45/2 (-45/2 - 10);
32846                 rel2.offset: 45/2 (-45/2 - 10);
32847             }
32848             description { state: "anim_2" 0.0;
32849                 inherit: "default" 0.0;
32850                 color: 255 255 255 0;
32851                 rel1.offset: -45/2 (-45/2 - 20);
32852                 rel2.offset: 45/2 (-45/2 - 20);
32853             }
32854          }
32855          part {
32856             name: "movement.decider";
32857             mouse_events: 1;
32858             description { state: "default" 0.0;
32859                rel1.to: "elm.bar";
32860                rel2.to: "elm.bar";
32861                visible: 0;
32862             }
32863             description { state: "disabled" 0.0;
32864                inherit: "default" 0.0;
32865                visible: 1;
32866             }
32867          }
32868        }
32869        programs {
32870           program {
32871              name:   "button_click";
32872              signal: "mouse,down,1";
32873              source: "over2";
32874              action: SIGNAL_EMIT "elm,action,press" "";
32875              after: "button_click_anim";
32876                   after: "arrow_anim_start";
32877           }
32878           program {
32879              name:   "button_click_anim";
32880              script {
32881                 if(get_int(state_pair) == 1)
32882                    set_state(PART:"elm.bar", "clicked", 0.1);
32883                 else
32884                    set_state(PART:"elm.bar", "clicked", 0.0);           
32885              }
32886           }
32887           program {
32888              name:   "button_unclick";
32889              signal: "mouse,up,1";
32890              source: "over2";
32891              action: SIGNAL_EMIT "elm,action,unpress" "";
32892              after: "button_unclick_anim";
32893                   after: "arrow_anim_stop";
32894           }
32895           program {
32896              name:   "button_unclick_anim";
32897              script {
32898                 if(get_int(state_pair) == 1)
32899                    set_state(PART:"elm.bar", "default", 0.1);
32900                 else
32901                    set_state(PART:"elm.bar", "default", 0.0);           
32902              }
32903           }
32904           program {
32905              name:   "button_click2";
32906              signal: "mouse,down,1";
32907              source: "over3";
32908              action: STATE_SET "clicked" 0.0;
32909              target: "over3";
32910           }
32911           program {
32912              name:   "button_unclick2";
32913              signal: "mouse,up,1";
32914              source: "over3";
32915              action: STATE_SET "default" 0.0;
32916                   transition: DECELERATE 0.5;
32917              target: "over3";
32918           }
32919           program {
32920              name:   "button_unclick3";
32921              signal: "mouse,up,1";
32922              source: "over2";
32923              action: SIGNAL_EMIT "elm,action,click" "";
32924           }
32925          program {
32926             name:   "button_down_double";
32927             signal: "mouse,down,1,double";
32928             source: "over3";
32929             action: SIGNAL_EMIT "elm,action,click,double" "";
32930          }
32931
32932          //arrows animation
32933          program {
32934             name: "arrow_anim_start";
32935             action: STATE_SET "anim_1" 0.0;
32936             target: "arrow_right";
32937             target: "arrow_left";
32938             transition: LINEAR 0.6;
32939             after: "arrow_anim_1";
32940          }
32941          program {
32942             name: "arrow_anim_1";
32943             action: STATE_SET "anim_2" 0.0;
32944             target: "arrow_right";
32945             target: "arrow_left";
32946             transition: LINEAR 0.6;
32947             after: "arrow_anim_2";
32948          }
32949          program {
32950             name: "arrow_anim_2";
32951             action: STATE_SET "default" 0.0;
32952             target: "arrow_right";
32953             target: "arrow_left";
32954             after: "arrow_anim_start";
32955          }
32956          program {
32957             name: "arrow_anim_stop";
32958             action: ACTION_STOP;
32959             target: "arrow_anim_start";
32960             target: "arrow_anim_1";
32961             target: "arrow_anim_2";
32962             after: "arrow_anim_stop_1";
32963          }
32964          program {
32965             name: "arrow_anim_stop_1";
32966             action: STATE_SET "default" 0.0;
32967             target: "arrow_right";
32968             target: "arrow_left";
32969             transition: DECELERATE 0.4;
32970         }
32971         //fix the pane
32972         program {
32973            name:   "panes_fixed";
32974            signal: "elm.panes.fixed";
32975            source: "elm";
32976            action: STATE_SET "disabled" 0.0;
32977            target: "movement.decider";
32978            target: "elm.bar";
32979         }
32980         //allow the movement by interaction
32981         program {
32982            name:   "panes_unfixed";
32983            signal: "elm.panes.unfixed";
32984            source: "elm";
32985            action: STATE_SET "default" 0.0;
32986            target: "movement.decider";
32987            target: "elm.bar";
32988         }
32989         program {
32990            name:   "panes_pair";
32991            signal: "elm.panes.pair";
32992            source: "elm";
32993            script {
32994               new st[31];
32995               new Float:vl;
32996               set_int(state_pair, 1);
32997               get_state(PART:"elm.bar", st, 30, vl);
32998               set_state(PART:"elm.bar", st, 0.1);
32999            }
33000         }
33001         program {
33002            name:   "panes_unpair";
33003            signal: "elm.panes.unpair";
33004            source: "elm";
33005            script {
33006               new st[31];
33007               new Float:vl;
33008               set_int(state_pair, 0);
33009               get_state(PART:"elm.bar", st, 30, vl);
33010               set_state(PART:"elm.bar", st, 0.0);
33011            }
33012         }
33013       }
33014   }
33015
33016 /////////////////////////////////////////////////////////////////////////////
33017 // PANEL
33018 /////////////////////////////////////////////////////////////////////////////
33019   group {
33020      name: "elm/panel/base/left";
33021      alias: "elm/panel/base/top";
33022      images
33023        {
33024           image: "bt_base1.png" COMP;
33025           image: "bt_hilight.png" COMP;
33026           image: "bt_shine.png" COMP;
33027           image: "bt_glow.png" COMP;
33028           image: "bt_dis_base.png" COMP;
33029           image: "icon_arrow_left.png" COMP;
33030           image: "icon_arrow_right.png" COMP;
33031        }
33032        data {
33033           item: "focus_highlight" "on";
33034        }
33035      parts
33036        {
33037             part { name: "focus_highlight";
33038                description { state: "default" 0.0;
33039                   visible: 0;
33040                   color: 255 255 255 0;
33041                   rel1 {
33042                      to: "btn";
33043                      offset: -8 -8;
33044                   }
33045                   rel2 {
33046                      to: "btn";
33047                      offset: 7 7;
33048                   }
33049                   image {
33050                      normal: "frame_2.png";
33051                      border: 5 5 32 26;
33052                      middle: 0;
33053                   }
33054                }
33055                description { state: "enabled" 0.0;
33056                   inherit: "default" 0.0;
33057                   visible: 1;
33058                   color: 255 255 255 255;
33059                }
33060             }
33061           part
33062             {
33063                name: "bg";
33064                type: RECT;
33065                mouse_events: 0;
33066                description
33067                  {
33068                     state: "default" 0.0;
33069                     color: 255 255 255 0;
33070                     rel1.relative: 0.0 0.0;
33071                     rel1.offset: 0 0;
33072                     rel2.relative: 1.0 1.0;
33073                     rel2.offset: -1 -1;
33074                  }
33075                description
33076                  {
33077                     state: "hidden" 0.0;
33078                     inherit: "default" 0.0;
33079                     rel1.relative: -1.0 0.0;
33080                     rel1.offset: 21 0;
33081                     rel2.relative: 0.0 1.0;
33082                     rel2.offset: 20 -1;
33083                  }
33084             }
33085           part
33086             {
33087                name: "base";
33088                type: IMAGE;
33089                mouse_events: 0;
33090                description
33091                  {
33092                     state: "default" 0.0;
33093                     rel1.to: "bg";
33094                     rel2.to: "bg";
33095                     rel2.offset: -20 -1;
33096                     image
33097                       {
33098                          normal: "bt_dis_base.png";
33099                          border: 4 4 4 4;
33100                       }
33101                  }
33102             }
33103           part
33104             {
33105                name: "clipper";
33106                type: RECT;
33107                mouse_events: 0;
33108                description
33109                  {
33110                     state: "default" 0.0;
33111                     rel1
33112                       {
33113                          offset: 4 4;
33114                          to: "base";
33115                       }
33116                     rel2
33117                       {
33118                          offset: -5 -5;
33119                          to: "base";
33120                       }
33121                  }
33122             }
33123           part
33124             {
33125                name: "elm.swallow.content";
33126                type: SWALLOW;
33127                clip_to: "clipper";
33128                description
33129                  {
33130                     state: "default" 0.0;
33131                     rel1.to: "clipper";
33132                     rel2.to: "clipper";
33133                  }
33134             }
33135           part
33136             {
33137                name: "btn";
33138                type: IMAGE;
33139                mouse_events: 1;
33140                description
33141                  {
33142                     state: "default" 0.0;
33143                     max: 32 48;
33144                     fixed: 1 1;
33145                     align: 0.0 0.5;
33146                     rel1
33147                       {
33148                          relative: 1.0 0.0;
33149                          offset: -3 0;
33150                          to_x: "base";
33151                       }
33152                     rel2.to_x: "bg";
33153                     image
33154                       {
33155                          normal: "bt_base1.png";
33156                          border: 0 5 4 12;
33157                       }
33158                     fill.smooth: 0;
33159                  }
33160                description
33161                  {
33162                     state: "clicked" 0.0;
33163                     inherit: "default" 0.0;
33164                  }
33165             }
33166           part
33167             {
33168                name: "btn_over";
33169                type: IMAGE;
33170                mouse_events: 0;
33171                description
33172                  {
33173                     state: "default" 0.0;
33174                     rel1.to: "btn";
33175                     rel2
33176                       {
33177                          relative: 1.0 0.5;
33178                          to: "btn";
33179                       }
33180                     image
33181                       {
33182                          normal: "bt_hilight.png";
33183                          border: 0 7 7 0;
33184                       }
33185                  }
33186             }
33187           part
33188             {
33189                name: "btn_over2";
33190                type: IMAGE;
33191                mouse_events: 1;
33192                repeat_events: 1;
33193                ignore_flags: ON_HOLD;
33194                description
33195                  {
33196                     state: "default" 0.0;
33197                     rel1.to: "btn";
33198                     rel2.to: "btn";
33199                     image
33200                       {
33201                          normal: "bt_shine.png";
33202                          border: 0 7 7 7;
33203                     }
33204                  }
33205             }
33206           part
33207             {
33208                name: "btn_over3";
33209                type: IMAGE;
33210                mouse_events: 1;
33211                repeat_events: 1;
33212                description
33213                  {
33214                     state: "default" 0.0;
33215                     color: 255 255 255 0;
33216                     rel1.to: "btn";
33217                     rel2.to: "btn";
33218                     image
33219                       {
33220                        normal: "bt_glow.png";
33221                        border: 12 12 12 12;
33222                     }
33223                   fill.smooth: 0;
33224                }
33225              description
33226                {
33227                   state: "clicked" 0.0;
33228                   inherit: "default" 0.0;
33229                   visible: 1;
33230                   color: 255 255 255 255;
33231                }
33232             }
33233           part
33234             {
33235                name: "btn_icon";
33236                type: IMAGE;
33237                repeat_events: 1;
33238                description
33239                  {
33240                     state: "default" 0.0;
33241                     rel1.to: "btn";
33242                     rel2.to: "btn";
33243                     align: 0.5 0.5;
33244                     min: 16 16;
33245                     max: 16 16;
33246                     image.normal: "icon_arrow_left.png";
33247                  }
33248                description
33249                  {
33250                     state: "hidden" 0.0;
33251                     inherit: "default" 0.0;
33252                     image.normal: "icon_arrow_right.png";
33253                  }
33254             }
33255        }
33256      programs
33257        {
33258           program
33259             {
33260                name: "show";
33261                signal: "elm,action,show";
33262                source: "elm";
33263                action: STATE_SET "default" 0.0;
33264                target: "bg";
33265                target: "btn_icon";
33266                transition: LINEAR 0.5;
33267             }
33268           program
33269             {
33270                name: "hide";
33271                signal: "elm,action,hide";
33272                source: "elm";
33273                action: STATE_SET "hidden" 0.0;
33274                target: "bg";
33275                target: "btn_icon";
33276                transition: LINEAR 0.5;
33277             }
33278           program
33279             {
33280                name: "btn_click";
33281                signal: "mouse,down,1";
33282                source: "btn_over2";
33283                action: STATE_SET "clicked" 0.0;
33284                target: "btn";
33285             }
33286           program
33287             {
33288                name: "btn_unclick";
33289                signal: "mouse,up,1";
33290                source: "btn_over2";
33291                action: STATE_SET "default" 0.0;
33292                target: "btn";
33293             }
33294           program
33295             {
33296                name: "btn_click2";
33297                signal: "mouse,down,1";
33298                source: "btn_over3";
33299                action: STATE_SET "clicked" 0.0;
33300                target: "btn_over3";
33301             }
33302           program
33303             {
33304                name: "btn_unclick2";
33305                signal: "mouse,up,1";
33306                source: "btn_over3";
33307                action: STATE_SET "default" 0.0;
33308                transition: DECELERATE 0.5;
33309                target: "btn_over3";
33310             }
33311           program
33312             {
33313                name: "btn_unclick3";
33314                signal: "mouse,clicked,1";
33315                source: "btn_over2";
33316                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33317             }
33318          program { name: "highlight_show";
33319             signal: "elm,action,focus_highlight,show";
33320             source: "elm";
33321             action: STATE_SET "enabled" 0.0;
33322             transition: ACCELERATE 0.3;
33323             target: "focus_highlight";
33324          }
33325          program { name: "highlight_hide";
33326             signal: "elm,action,focus_highlight,hide";
33327             source: "elm";
33328             action: STATE_SET "default" 0.0;
33329             transition: DECELERATE 0.3;
33330             target: "focus_highlight";
33331          }
33332        }
33333   }
33334
33335   group {
33336      name: "elm/panel/base/right";
33337      alias: "elm/panel/base/bottom";
33338      images
33339        {
33340           image: "bt_base1.png" COMP;
33341           image: "bt_hilight.png" COMP;
33342           image: "bt_shine.png" COMP;
33343           image: "bt_glow.png" COMP;
33344           image: "bt_dis_base.png" COMP;
33345           image: "icon_arrow_left.png" COMP;
33346           image: "icon_arrow_right.png" COMP;
33347        }
33348      parts
33349        {
33350             part { name: "focus_highlight";
33351                description { state: "default" 0.0;
33352                   visible: 0;
33353                   color: 255 255 255 0;
33354                   rel1 {
33355                      to: "btn";
33356                      offset: -8 -8;
33357                   }
33358                   rel2 {
33359                      to: "btn";
33360                      offset: 7 7;
33361                   }
33362                   image {
33363                      normal: "frame_2.png";
33364                      border: 5 5 32 26;
33365                      middle: 0;
33366                   }
33367                }
33368                description { state: "enabled" 0.0;
33369                   inherit: "default" 0.0;
33370                   visible: 1;
33371                   color: 255 255 255 255;
33372                }
33373             }
33374           part
33375             {
33376                name: "bg";
33377                type: RECT;
33378                mouse_events: 0;
33379                description
33380                  {
33381                     state: "default" 0.0;
33382                     color: 255 255 255 0;
33383                     rel1.relative: 0.0 0.0;
33384                     rel1.offset: 0 0;
33385                     rel2.relative: 1.0 1.0;
33386                     rel2.offset: -1 -1;
33387                  }
33388                description
33389                  {
33390                     state: "hidden" 0.0;
33391                     inherit: "default" 0.0;
33392                     rel1.relative: 1.0 0.0;
33393                     rel1.offset: -22 0;
33394                     rel2.relative: 2.0 1.0;
33395                     rel2.offset: -23 -1;
33396                  }
33397             }
33398           part
33399             {
33400                name: "base";
33401                type: IMAGE;
33402                mouse_events: 0;
33403                description
33404                  {
33405                     state: "default" 0.0;
33406                     rel1.to: "bg";
33407                     rel1.offset: 20 0;
33408                     rel2.to: "bg";
33409                     image
33410                       {
33411                          normal: "bt_dis_base.png";
33412                          border: 4 4 4 4;
33413                       }
33414                  }
33415             }
33416           part
33417             {
33418                name: "clipper";
33419                type: RECT;
33420                mouse_events: 0;
33421                description
33422                  {
33423                     state: "default" 0.0;
33424                     rel1
33425                       {
33426                          offset: 4 4;
33427                          to: "base";
33428                       }
33429                     rel2
33430                       {
33431                          offset: -5 -5;
33432                          to: "base";
33433                       }
33434                  }
33435             }
33436           part
33437             {
33438                name: "elm.swallow.content";
33439                type: SWALLOW;
33440                clip_to: "clipper";
33441                description
33442                  {
33443                     state: "default" 0.0;
33444                     rel1.to: "clipper";
33445                     rel2.to: "clipper";
33446                  }
33447             }
33448           part
33449             {
33450                name: "btn";
33451                type: IMAGE;
33452                mouse_events: 1;
33453                description
33454                  {
33455                     state: "default" 0.0;
33456                     max: 32 48;
33457                     fixed: 1 1;
33458                     align: 1 0.5;
33459                     rel1
33460                       {
33461                          to_x: "bg";
33462                       }
33463                     rel2
33464                       {
33465                          offset: 2 0;
33466                          relative: 0.0 1;
33467                          to_x: "base";
33468                       }
33469                     image
33470                       {
33471                          normal: "bt_base1.png";
33472                          border: 5 0 4 12;
33473                       }
33474                     fill.smooth: 0;
33475                  }
33476                description
33477                  {
33478                     state: "clicked" 0.0;
33479                     inherit: "default" 0.0;
33480                  }
33481             }
33482           part
33483             {
33484                name: "btn_over";
33485                type: IMAGE;
33486                mouse_events: 0;
33487                description
33488                  {
33489                     state: "default" 0.0;
33490                     rel1.to: "btn";
33491                     rel2
33492                       {
33493                          relative: 1.0 0.5;
33494                          to: "btn";
33495                       }
33496                     image
33497                       {
33498                          normal: "bt_hilight.png";
33499                          border: 7 0 7 0;
33500                       }
33501                  }
33502             }
33503           part
33504             {
33505                name: "btn_over2";
33506                type: IMAGE;
33507                mouse_events: 1;
33508                repeat_events: 1;
33509                ignore_flags: ON_HOLD;
33510                description
33511                  {
33512                     state: "default" 0.0;
33513                     rel1.to: "btn";
33514                     rel2.to: "btn";
33515                     image
33516                       {
33517                          normal: "bt_shine.png";
33518                          border: 7 0 7 7;
33519                     }
33520                  }
33521             }
33522           part
33523             {
33524                name: "btn_over3";
33525                type: IMAGE;
33526                mouse_events: 1;
33527                repeat_events: 1;
33528                description
33529                  {
33530                     state: "default" 0.0;
33531                     color: 255 255 255 0;
33532                     rel1.to: "btn";
33533                     rel2.to: "btn";
33534                     image
33535                       {
33536                        normal: "bt_glow.png";
33537                        border: 12 12 12 12;
33538                     }
33539                   fill.smooth: 0;
33540                }
33541              description
33542                {
33543                   state: "clicked" 0.0;
33544                   inherit: "default" 0.0;
33545                   visible: 1;
33546                   color: 255 255 255 255;
33547                }
33548             }
33549           part
33550             {
33551                name: "btn_icon";
33552                type: IMAGE;
33553                repeat_events: 1;
33554                description
33555                  {
33556                     state: "default" 0.0;
33557                     rel1.to: "btn";
33558                     rel2.to: "btn";
33559                     align: 0.5 0.5;
33560                     min: 16 16;
33561                     max: 16 16;
33562                     image.normal: "icon_arrow_right.png";
33563                  }
33564                description
33565                  {
33566                     state: "hidden" 0.0;
33567                     inherit: "default" 0.0;
33568                     image.normal: "icon_arrow_left.png";
33569                  }
33570             }
33571        }
33572      programs
33573        {
33574           program
33575             {
33576                name: "show";
33577                signal: "elm,action,show";
33578                source: "elm";
33579                action: STATE_SET "default" 0.0;
33580                target: "bg";
33581                target: "btn_icon";
33582                transition: LINEAR 0.5;
33583             }
33584           program
33585             {
33586                name: "hide";
33587                signal: "elm,action,hide";
33588                source: "elm";
33589                action: STATE_SET "hidden" 0.0;
33590                target: "bg";
33591                target: "btn_icon";
33592                transition: LINEAR 0.5;
33593             }
33594           program
33595             {
33596                name: "btn_click";
33597                signal: "mouse,down,1";
33598                source: "btn_over2";
33599                action: STATE_SET "clicked" 0.0;
33600                target: "btn";
33601             }
33602           program
33603             {
33604                name: "btn_unclick";
33605                signal: "mouse,up,1";
33606                source: "btn_over2";
33607                action: STATE_SET "default" 0.0;
33608                target: "btn";
33609             }
33610           program
33611             {
33612                name: "btn_click2";
33613                signal: "mouse,down,1";
33614                source: "btn_over3";
33615                action: STATE_SET "clicked" 0.0;
33616                target: "btn_over3";
33617             }
33618           program
33619             {
33620                name: "btn_unclick2";
33621                signal: "mouse,up,1";
33622                source: "btn_over3";
33623                action: STATE_SET "default" 0.0;
33624                transition: DECELERATE 0.5;
33625                target: "btn_over3";
33626             }
33627           program
33628             {
33629                name: "btn_unclick3";
33630                signal: "mouse,up,1";
33631                source: "btn_over2";
33632                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33633             }
33634          program { name: "highlight_show";
33635             signal: "elm,action,focus";
33636             source: "elm";
33637             action: STATE_SET "enabled" 0.0;
33638             transition: ACCELERATE 0.3;
33639             target: "focus_highlight";
33640          }
33641          program { name: "highlight_hide";
33642             signal: "elm,action,unfocus";
33643             source: "elm";
33644             action: STATE_SET "default" 0.0;
33645             transition: DECELERATE 0.3;
33646             target: "focus_highlight";
33647          }
33648        }
33649   }
33650
33651 ///////////////////////////////////////////////////////////////////////////////
33652   group { name: "elm/conformant/base/default";
33653      parts {
33654         part { name: "elm.swallow.shelf";
33655            type: SWALLOW;
33656            description { state: "default" 0.0;
33657               fixed: 0 1;
33658               align: 0.0 0.0;
33659               rel2.relative: 1.0 0.0;
33660            }
33661         }
33662         part { name: "elm.swallow.content";
33663            type: SWALLOW;
33664            description { state: "default" 0.0;
33665               fixed: 0 1;
33666               align: 0.5 0.5;
33667               rel1.relative: 0.0 1.0;
33668               rel1.to_y: "elm.swallow.shelf";
33669               rel2.relative: 1.0 0.0;
33670               rel2.to_y: "elm.swallow.virtualkeypad";
33671            }
33672         }
33673         part { name: "elm.swallow.virtualkeypad";
33674            type: SWALLOW;
33675            description { state: "default" 0.0;
33676               fixed: 0 1;
33677               align: 0.0 1.0;
33678               rel2.relative: 1.0 0.0;
33679               rel2.to_y: "elm.swallow.panel";
33680            }
33681         }
33682         part { name: "elm.swallow.panel";
33683            type: SWALLOW;
33684            description { state: "default" 0.0;
33685               fixed: 0 1;
33686               align: 0.0 1.0;
33687               rel1.relative: 0.0 1.0;
33688            }
33689         }
33690      }
33691   }
33692
33693 /////////////////////////////////////////////////////////////////////////////
33694 // CALENDAR
33695 /////////////////////////////////////////////////////////////////////////////
33696 #define CH(_pos) \
33697          part { name: "ch_"#_pos".base"; \
33698             type: RECT; \
33699             description { state: "default" 0.0; \
33700                rel1 { \
33701                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33702                   to: "header"; \
33703                } \
33704                rel2 { \
33705                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33706                   to: "header"; \
33707                } \
33708                color: 0 0 0 0; \
33709                visible: 0; \
33710             } \
33711          } \
33712          part { name: "ch_"#_pos".text"; \
33713             type: TEXT; \
33714             effect: SOFT_SHADOW; \
33715             mouse_events: 0; \
33716             scale: 1; \
33717             clip_to: "ch_"#_pos".clipper"; \
33718             description { \
33719                state: "default" 0.0; \
33720                rel1.to: "ch_"#_pos".base"; \
33721                rel2.to: "ch_"#_pos".base"; \
33722                color: 0 0 0 255; \
33723                color3: 0 0 0 0; \
33724                text { \
33725                   font: "Sans"; \
33726                   size: 10; \
33727                   min: 1 1; \
33728                   align: 0.5 0.5; \
33729                } \
33730             } \
33731          } \
33732          part { name: "ch_"#_pos".clipper"; \
33733             type: RECT; \
33734             description { state: "default" 0.0; \
33735                rel1.to: "ch_"#_pos".base"; \
33736                rel2.to: "ch_"#_pos".base"; \
33737             } \
33738          }
33739
33740 #define CIT(_pos) \
33741          part { name: "cit_"#_pos".rect"; \
33742             type: RECT; \
33743             description { state: "default" 0.0; \
33744                rel1 { \
33745                   relative: (_pos % 7 * 7 / 8 / 6) \
33746                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33747                   to: "base"; \
33748                } \
33749                rel2 { \
33750                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33751                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33752                   to: "base"; \
33753                } \
33754                color: 0 0 0 0; \
33755                visible: 0; \
33756             } \
33757          } \
33758          part { \
33759             name: "cit_"#_pos".event"; \
33760             type: RECT; \
33761             repeat_events: 1; \
33762             description { \
33763                rel1.to: "cit_"#_pos".rect"; \
33764                rel2.to: "cit_"#_pos".rect"; \
33765                state: "default" 0.0; \
33766                color: 0 0 0 0; \
33767             } \
33768          } \
33769          part { name: "cit_"#_pos".shelf"; \
33770             type: RECT; \
33771             mouse_events: 0; \
33772             description { state: "default" 0.0; \
33773                rel1 { \
33774                   to: "cit_"#_pos".bg"; \
33775                   offset: -1 -1; \
33776                } \
33777                rel2 { \
33778                   to: "cit_"#_pos".bg"; \
33779                } \
33780                color: 200 200 200 255; \
33781             } \
33782          } \
33783          part { name: "cit_"#_pos".hd"; \
33784             type: RECT; \
33785             mouse_events: 0; \
33786             description { state: "default" 0.0; \
33787                rel1 { \
33788                   to: "cit_"#_pos".bg"; \
33789                   offset: -1 -1; \
33790                } \
33791                rel2 { \
33792                   to: "cit_"#_pos".bg"; \
33793                } \
33794                visible: 0; \
33795                color: 160 0 0 255; \
33796             } \
33797             description { state: "visible" 0.0; \
33798                inherit: "default" 0.0; \
33799                visible: 1; \
33800             } \
33801          } \
33802          part { \
33803             name: "cit_"#_pos".base_sh"; \
33804             mouse_events: 0; \
33805             description { \
33806                state: "default" 0.0; \
33807                align: 0.0 0.0; \
33808                min: 0 1; \
33809                rel1 { \
33810                   to: "cit_"#_pos".base"; \
33811                   relative: 0.0 1.0; \
33812                   offset: 0 0; \
33813                } \
33814                rel2 { \
33815                   to: "cit_"#_pos".base"; \
33816                   relative: 1.0 1.05; \
33817                   offset: -1 0; \
33818                } \
33819                image { \
33820                   normal: "ilist_item_shadow.png"; \
33821                } \
33822                fill.smooth: 0; \
33823             } \
33824          } \
33825          part { \
33826             name: "cit_"#_pos".base"; \
33827             mouse_events: 0; \
33828             description { \
33829                state: "default" 0.0; \
33830                rel1.to: "cit_"#_pos".rect"; \
33831                rel2.to: "cit_"#_pos".rect"; \
33832                rel2.offset: -1 -1; \
33833                image { \
33834                   normal: "ilist_1.png"; \
33835                   border: 2 2 2 2; \
33836                } \
33837                fill.smooth: 0; \
33838             } \
33839             description { \
33840                state: "today" 0.0; \
33841                inherit: "default" 0.0; \
33842                image.normal: "ilist_2.png"; \
33843                color: 240 240 240 255; \
33844             } \
33845          } \
33846          part { name: "cit_"#_pos".bg"; \
33847             mouse_events: 0; \
33848             description { state: "default" 0.0; \
33849                visible: 0; \
33850                color: 255 255 255 0; \
33851                rel1 { \
33852                   to: "cit_"#_pos".rect"; \
33853                   relative: 0.0 0.0; \
33854                } \
33855                rel2 { \
33856                   to: "cit_"#_pos".rect"; \
33857                   relative: 1.0 1.0; \
33858                   offset: -1 -1; \
33859                } \
33860                image { \
33861                   normal: "bt_sm_base1.png"; \
33862                   border: 6 6 6 6; \
33863                } \
33864                image.middle: SOLID; \
33865             } \
33866             description { state: "selected" 0.0; \
33867                inherit: "default" 0.0; \
33868                visible: 1; \
33869                color: 255 255 255 255; \
33870             } \
33871          } \
33872          part { name: "cit_"#_pos".text"; \
33873             type: TEXT; \
33874             effect: SOFT_SHADOW; \
33875             mouse_events: 0; \
33876             scale: 1; \
33877             description { \
33878                state: "default" 0.0; \
33879                rel1.to: "cit_"#_pos".bg"; \
33880                rel2.to: "cit_"#_pos".bg"; \
33881                color: 0 0 0 255; \
33882                color3: 0 0 0 0; \
33883                text { \
33884                   font: "Sans"; \
33885                   size: 10; \
33886                   min: 1 1; \
33887                   align: 0.5 0.5; \
33888                } \
33889             } \
33890             description { state: "selected" 0.0; \
33891                inherit: "default" 0.0; \
33892                color: 224 224 224 255; \
33893                color3: 0 0 0 64; \
33894             } \
33895          } \
33896          part { name: "cit_"#_pos".fg1"; \
33897             mouse_events: 0; \
33898             description { state: "default" 0.0; \
33899                visible: 0; \
33900                color: 255 255 255 0; \
33901                rel1.to: "cit_"#_pos".bg"; \
33902                rel2.relative: 1.0 0.5; \
33903                rel2.to: "cit_"#_pos".bg"; \
33904                image { \
33905                   normal: "bt_sm_hilight.png"; \
33906                   border: 6 6 6 0; \
33907                } \
33908             } \
33909             description { state: "selected" 0.0; \
33910                inherit: "default" 0.0; \
33911                visible: 1; \
33912                color: 255 255 255 255; \
33913             } \
33914          } \
33915          part { name: "cit_"#_pos".fg2"; \
33916             mouse_events: 0; \
33917             description { state: "default" 0.0; \
33918                visible: 0; \
33919                color: 255 255 255 0; \
33920                rel1.to: "cit_"#_pos".bg"; \
33921                rel2.to: "cit_"#_pos".bg"; \
33922                image { \
33923                   normal: "bt_sm_shine.png"; \
33924                   border: 6 6 6 0; \
33925                } \
33926             } \
33927             description { state: "selected" 0.0; \
33928                inherit: "default" 0.0; \
33929                visible: 1; \
33930                color: 255 255 255 255; \
33931             } \
33932          } \
33933          part { name: "cit_"#_pos".check"; \
33934             mouse_events: 0; \
33935             description { state: "default" 0.0; \
33936                rel1 { \
33937                   to: "cit_"#_pos".bg"; \
33938                   relative: 0.7 0.6; \
33939                   offset: 1 1; \
33940                } \
33941                rel2 { \
33942                   to: "cit_"#_pos".bg"; \
33943                   relative: 1.1 1.2; \
33944                   offset: -2 -2; \
33945                } \
33946                aspect: 1 1; \
33947                visible: 0; \
33948                color: 255 0 0 255; \
33949                image.normal: "check.png"; \
33950             } \
33951             description { state: "visible" 0.0; \
33952                inherit: "default" 0.0; \
33953                visible: 1; \
33954             } \
33955          } \
33956       programs { \
33957          program { \
33958             name:    "cit_"#_pos".go_active"; \
33959             signal:  "cit_"#_pos",selected"; \
33960             source:  "elm"; \
33961             action:  STATE_SET "selected" 0.0; \
33962             target:  "cit_"#_pos".bg"; \
33963             target:  "cit_"#_pos".fg1"; \
33964             target:  "cit_"#_pos".fg2"; \
33965             target:  "cit_"#_pos".text"; \
33966          } \
33967          program { \
33968             name:    "cit_"#_pos".go_passive"; \
33969             signal:  "cit_"#_pos",unselected"; \
33970             source:  "elm"; \
33971             action:  STATE_SET "default" 0.0; \
33972             target:  "cit_"#_pos".bg"; \
33973             target:  "cit_"#_pos".fg1"; \
33974             target:  "cit_"#_pos".fg2"; \
33975             target:  "cit_"#_pos".text"; \
33976          } \
33977          program { \
33978             name:    "cit_"#_pos".is_today"; \
33979             signal:  "cit_"#_pos",today"; \
33980             source:  "elm"; \
33981             action:  STATE_SET "today" 0.0; \
33982             target: "cit_"#_pos".base"; \
33983          } \
33984          program { \
33985             name:    "cit_"#_pos".not_today"; \
33986             signal:  "cit_"#_pos",not_today"; \
33987             source:  "elm"; \
33988             action:  STATE_SET "default" 0.0; \
33989             target: "cit_"#_pos".base"; \
33990          } \
33991          program { \
33992             source: "cit_"#_pos".clicked"; \
33993             signal: "mouse,clicked,1"; \
33994             source: "cit_"#_pos".event"; \
33995             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33996          } \
33997          program { \
33998             name:    "cit_"#_pos".clear"; \
33999             signal:  "cit_"#_pos",clear"; \
34000             source:  "elm"; \
34001             action:  STATE_SET "default" 0.0; \
34002             target: "cit_"#_pos".check"; \
34003             target: "cit_"#_pos".hd"; \
34004          } \
34005          program { \
34006             name:    "cit_"#_pos".checked"; \
34007             signal:  "cit_"#_pos",checked"; \
34008             source:  "elm"; \
34009             action:  STATE_SET "visible" 0.0; \
34010             target: "cit_"#_pos".check"; \
34011          } \
34012          program { \
34013             name:    "cit_"#_pos".holiday"; \
34014             signal:  "cit_"#_pos",holiday"; \
34015             source:  "elm"; \
34016             action:  STATE_SET "visible" 0.0; \
34017             target: "cit_"#_pos".hd"; \
34018          } \
34019       }
34020
34021    group { name: "elm/calendar/base/default";
34022        images {
34023            image: "shelf_inset.png" COMP;
34024            image: "bt_base1.png" COMP;
34025            image: "bt_hilight.png" COMP;
34026            image: "bt_shine.png" COMP;
34027            image: "bt_glow.png" COMP;
34028            image: "bt_dis_base.png" COMP;
34029            image: "bt_dis_hilight.png" COMP;
34030            image: "sp_bt_l.png" COMP;
34031            image: "sp_bt_r.png" COMP;
34032            image: "bt_sm_base1.png" COMP;
34033            image: "bt_sm_shine.png" COMP;
34034            image: "bt_sm_hilight.png" COMP;
34035            image: "ilist_1.png" COMP;
34036            image: "ilist_2.png" COMP;
34037            image: "ilist_item_shadow.png" COMP;
34038            image: "check.png" COMP;
34039        }
34040        parts {
34041            part { name: "bg";
34042                type: RECT;
34043                description { state: "default" 0.0;
34044                    min: 0 30;
34045                    rel1.offset: 1 1;
34046                    rel2.offset: -2 -2;
34047                    color: 255 255 255 0;
34048                    align: 0.0 0.5;
34049                }
34050            }
34051            part { name: "spinner-base";
34052                type: RECT;
34053                mouse_events: 0;
34054                description { state: "default" 0.0;
34055                    min: 24 24;
34056                    max: 999999 24;
34057                    rel1.to: "bg";
34058                    rel1.offset: 6 6;
34059                    rel2.to: "bg";
34060                    rel2.offset: -7 -7;
34061                    color: 255 255 255 0;
34062                    align: 0.0 0.0;
34063                }
34064            }
34065            part { name: "conf_over_spinner";
34066                mouse_events:  0;
34067                description { state: "default" 0.0;
34068                    rel1.to: "spinner-base";
34069                    rel1.offset: -3 -3;
34070                    rel2.to: "spinner-base";
34071                    rel2.offset: 2 2;
34072                    image {
34073                        normal: "shelf_inset.png";
34074                        border: 7 7 7 7;
34075                        middle: 0;
34076                    }
34077                    fill.smooth : 0;
34078                }
34079            }
34080            part { name: "table-base";
34081                type: RECT;
34082                mouse_events: 0;
34083                description { state: "default" 0.0;
34084                    min: 256 220;
34085                    rel1.to_x: "bg";
34086                    rel1.to_y: "spinner-base";
34087                    rel1.offset: 6 6;
34088                    rel1.relative: 0 1;
34089                    rel2.to: "bg";
34090                    rel2.offset: -7 -7;
34091                    color: 255 255 255 0;
34092                }
34093            }
34094            part { name: "conf_over_table";
34095                mouse_events:  0;
34096                description { state: "default" 0.0;
34097                    rel1.to: "table-base";
34098                    rel1.offset: -3 -3;
34099                    rel2.to: "table-base";
34100                    rel2.offset: 2 2;
34101                    image {
34102                        normal: "shelf_inset.png";
34103                        border: 7 7 7 7;
34104                        middle: 0;
34105                    }
34106                    fill.smooth : 0;
34107                }
34108            }
34109            part { name: "header";
34110                type: RECT;
34111                mouse_events: 0;
34112                description { state: "default" 0.0;
34113                    rel1.to: "table-base";
34114                    rel1.relative: 0 0;
34115                    rel2.to: "table-base";
34116                    rel2.relative: 1 0.1;
34117                    color: 255 255 255 0;
34118                }
34119            }
34120            part { name: "base";
34121                type: RECT;
34122                mouse_events: 0;
34123                description { state: "default" 0.0;
34124                    rel1.to_x: "table-base";
34125                    rel1.to_y: "header";
34126                    rel1.relative: 0 1;
34127                    rel1.offset: 3 0;
34128                    rel2.to: "table-base";
34129                    rel2.offset: -3 0;
34130                    color: 255 255 255 0;
34131                }
34132            }
34133            part { name: "left_bt";
34134                mouse_events:  1;
34135                description { state: "default" 0.0;
34136                    rel1 { to: "spinner-base";
34137                        offset: 2 2;
34138                    }
34139                    rel2 { to: "spinner-base";
34140                        offset: -3 -3;
34141                    }
34142                    align: 0.0 0.5;
34143                    min: 24 24;
34144                    max: 24 24;
34145                    fixed: 1 1;
34146                    image {
34147                        normal: "bt_base1.png";
34148                        border: 6 6 6 6;
34149                    }
34150                    fill.smooth : 0;
34151                }
34152                description { state: "clicked" 0.0;
34153                    inherit: "default" 0.0;
34154                    image.normal: "bt_base1.png";
34155                    image.middle: SOLID;
34156                }
34157            }
34158            part { name: "left_over1";
34159                mouse_events: 0;
34160                description { state: "default" 0.0;
34161                    rel1.to: "left_bt";
34162                    rel2 { to: "left_bt";
34163                        relative: 1.0 0.5;
34164                    }
34165                    image {
34166                        normal: "bt_hilight.png";
34167                        border: 7 7 7 0;
34168                    }
34169                }
34170            }
34171            part { name: "left_over2";
34172                mouse_events: 1;
34173                repeat_events: 1;
34174                description { state: "default" 0.0;
34175                    rel1.to: "left_bt";
34176                    rel2.to: "left_bt";
34177                    image {
34178                        normal: "bt_shine.png";
34179                        border: 7 7 7 7;
34180                    }
34181                }
34182            }
34183            part { name: "left_over3";
34184                mouse_events: 1;
34185                repeat_events: 1;
34186                description { state: "default" 0.0;
34187                    color: 255 255 255 0;
34188                    rel1.to: "left_bt";
34189                    rel2.to: "left_bt";
34190                    image {
34191                        normal: "bt_glow.png";
34192                        border: 12 12 12 12;
34193                    }
34194                    fill.smooth : 0;
34195                }
34196                description { state: "clicked" 0.0;
34197                    inherit:  "default" 0.0;
34198                    visible: 1;
34199                    color: 255 255 255 255;
34200                }
34201            }
34202            part { name: "right_bt";
34203                mouse_events:  1;
34204                description { state: "default" 0.0;
34205                    rel1 { to: "spinner-base";
34206                        offset: -27 3;
34207                    }
34208                    rel2 { to: "spinner-base";
34209                        offset: -3 -3;
34210                    }
34211                    align: 1.0 0.5;
34212                    min: 24 24;
34213                    max: 24 24;
34214                    fixed: 1 1;
34215                    image {
34216                        normal: "bt_base1.png";
34217                        border: 5 5 4 12;
34218                    }
34219                    fill.smooth : 0;
34220                }
34221                description { state: "clicked" 0.0;
34222                    inherit: "default" 0.0;
34223                    image.normal: "bt_base1.png";
34224                    image.middle: SOLID;
34225                }
34226            }
34227            part { name: "right_over1";
34228                mouse_events: 0;
34229                description { state: "default" 0.0;
34230                    rel1.to: "right_bt";
34231                    rel2 { to: "right_bt";
34232                        relative: 1.0 0.5;
34233                    }
34234                    image {
34235                        normal: "bt_hilight.png";
34236                        border: 7 7 7 0;
34237                    }
34238                }
34239            }
34240            part { name: "right_over2";
34241                mouse_events: 1;
34242                repeat_events: 1;
34243                description { state: "default" 0.0;
34244                    rel1.to: "right_bt";
34245                    rel2.to: "right_bt";
34246                    image {
34247                        normal: "bt_shine.png";
34248                        border: 7 7 7 7;
34249                    }
34250                }
34251            }
34252            part { name: "right_over3";
34253                mouse_events: 1;
34254                repeat_events: 1;
34255                description { state: "default" 0.0;
34256                    color: 255 255 255 0;
34257                    rel1.to: "right_bt";
34258                    rel2.to: "right_bt";
34259                    image {
34260                        normal: "bt_glow.png";
34261                        border: 12 12 12 12;
34262                    }
34263                    fill.smooth : 0;
34264                }
34265                description { state: "clicked" 0.0;
34266                    inherit:  "default" 0.0;
34267                    visible: 1;
34268                    color: 255 255 255 255;
34269                }
34270            }
34271            part { name: "left_bt_icon";
34272                repeat_events: 1;
34273                description { state: "default" 0.0;
34274                    rel1.to: "left_bt";
34275                    rel2.to: "left_bt";
34276                    align: 0.5 0.5;
34277                    min: 16 16;
34278                    max: 16 16;
34279                    image.normal: "sp_bt_l.png";
34280                }
34281                description { state: "rtl" 0.0;
34282                    inherit: "default" 0.0;
34283                    image.normal: "sp_bt_r.png";
34284                }
34285            }
34286            part { name: "right_bt_icon";
34287                repeat_events: 1;
34288                description { state: "default" 0.0;
34289                    rel1.to: "right_bt";
34290                    rel2.to: "right_bt";
34291                    align: 0.5 0.5;
34292                    min: 16 16;
34293                    max: 16 16;
34294                    image.normal: "sp_bt_r.png";
34295                }
34296                description { state: "rtl" 0.0;
34297                    inherit: "default" 0.0;
34298                    image.normal: "sp_bt_l.png";
34299                }
34300            }
34301            part { name: "month_text";
34302                type: TEXT;
34303                mouse_events: 0;
34304                scale: 1;
34305                description { state: "default" 0.0;
34306                    align: 0 0.5;
34307                    fixed: 1 1;
34308                    rel1 { relative: 1.0 0.0;
34309                        offset: 3 2;
34310                        to: "left_bt";
34311                        to_y: "spinner-base";
34312                    }
34313                    rel2 { relative: 0.0 1.0;
34314                        offset: -3 -2;
34315                        to_x: "right_bt";
34316                        to_y: "spinner-base";
34317                    }
34318                    color: 0 0 0 255;
34319                    text {
34320                        font: "Sans,Edje-Vera";
34321                        size: 12;
34322                        min: 1 1;
34323                        align: 0.5 0.5;
34324                    }
34325                }
34326            }
34327            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34328            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34329            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34330            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34331            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34332            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34333            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34334        }
34335        programs {
34336            program { name: "dec_start";
34337                signal: "mouse,down,1";
34338                source: "left_bt";
34339                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34340            }
34341            program { name: "dec_stop";
34342                signal: "mouse,up,1";
34343                source: "left_bt";
34344                action: SIGNAL_EMIT "elm,action,stop" "";
34345            }
34346            program { name: "inc_start";
34347                signal: "mouse,down,1";
34348                source: "right_bt";
34349                action: SIGNAL_EMIT "elm,action,increment,start" "";
34350            }
34351            program { name: "inc_stop";
34352                signal: "mouse,up,1";
34353                source: "right_bt";
34354                action: SIGNAL_EMIT "elm,action,stop" "";
34355            }
34356            program {
34357                name:   "left_bt_click";
34358                signal: "mouse,down,1";
34359                source: "left_over2";
34360                action: STATE_SET "clicked" 0.0;
34361                target: "left_bt";
34362            }
34363            program {
34364                name:   "left_bt_unclick";
34365                signal: "mouse,up,1";
34366                source: "left_over2";
34367                action: STATE_SET "default" 0.0;
34368                target: "left_bt";
34369            }
34370            program {
34371                name:   "left_bt_click2";
34372                signal: "mouse,down,1";
34373                source: "left_over3";
34374                action: STATE_SET "clicked" 0.0;
34375                target: "left_over3";
34376            }
34377            program {
34378                name:   "left_bt_unclick2";
34379                signal: "mouse,up,1";
34380                source: "left_over3";
34381                action: STATE_SET "default" 0.0;
34382                transition: DECELERATE 0.5;
34383                target: "left_over3";
34384            }
34385            program {
34386                name:   "right_bt_click";
34387                signal: "mouse,down,1";
34388                source: "right_over2";
34389                action: STATE_SET "clicked" 0.0;
34390                target: "right_bt";
34391            }
34392            program {
34393                name:   "right_bt_unclick";
34394                signal: "mouse,up,1";
34395                source: "right_over2";
34396                action: STATE_SET "default" 0.0;
34397                target: "right_bt";
34398            }
34399            program {
34400                name:   "right_bt_click2";
34401                signal: "mouse,down,1";
34402                source: "right_over3";
34403                action: STATE_SET "clicked" 0.0;
34404                target: "right_over3";
34405            }
34406            program {
34407                name:   "right_bt_unclick2";
34408                signal: "mouse,up,1";
34409                source: "right_over3";
34410                action: STATE_SET "default" 0.0;
34411                transition: DECELERATE 0.5;
34412                target: "right_over3";
34413            }
34414            program { name: "to_rtl";
34415                signal: "edje,state,rtl";
34416                source: "edje";
34417                action: STATE_SET "rtl" 0.0;
34418                target: "right_bt_icon";
34419                target: "left_bt_icon";
34420            }
34421            program { name: "to_ltr";
34422                signal: "edje,state,ltr";
34423                source: "edje";
34424                action: STATE_SET "default" 0.0;
34425                target: "right_bt_icon";
34426                target: "left_bt_icon";
34427            }
34428        }
34429    }
34430
34431 #undef CIT
34432 #undef CH
34433
34434 ////////////////////////////////////////////////////////////////////////////////
34435 // colorselector
34436 ////////////////////////////////////////////////////////////////////////////////
34437    group { name: "elm/colorselector/bg/default";
34438       parts {
34439          part { name: "elm.colorbar_0";
34440             type: SWALLOW;
34441             mouse_events: 1;
34442             description { state: "default" 0.0;
34443                min: 120 30;
34444                rel1.relative: 0.0 0.00653594771;
34445                rel2.relative: 1.0 0.254901961;
34446             }
34447          }
34448          part { name: "elm.colorbar_1";
34449             type: SWALLOW;
34450             mouse_events: 1;
34451             description { state: "default" 0.0;
34452                min: 120 30;
34453                rel1.relative: 0.0 0.254901961;
34454                rel2.relative: 1.0 0.503267974;
34455             }
34456          }
34457          part { name: "elm.colorbar_2";
34458             type: SWALLOW;
34459             mouse_events: 1;
34460             description { state: "default" 0.0;
34461                min: 120 30;
34462                rel1.relative: 0.0 0.503267974;
34463                rel2.relative: 1.0 0.751633987;
34464             }
34465          }
34466          part { name: "elm.colorbar_3";
34467             type: SWALLOW;
34468             mouse_events: 1;
34469             description { state: "default" 0.0;
34470                min: 120 30;
34471                rel1.relative: 0.0 0.751633987;
34472                rel2.relative: 1.0 1.0;
34473             }
34474          }
34475       }
34476    }
34477
34478    group { name: "elm/colorselector/base/default";
34479       parts {
34480          part { name: "elm.bar_bg";
34481             type: SWALLOW;
34482             mouse_events: 0;
34483             description { state: "default" 0.0;
34484                min: 60 22;
34485                rel1 {
34486                   relative: 0.0 0.8;
34487                   to_x: "elm.arrow_bg";
34488                   to_y: "elm.arrow_icon";
34489                   offset: 0 0;
34490                }
34491                rel2 {
34492                   relative: 1.0 0.83;
34493                   to_x: "elm.arrow_bg";
34494                   offset: 0 0;
34495                }
34496             }
34497          }
34498          part { name: "elm.bar";
34499             type: SWALLOW;
34500             mouse_events: 0;
34501             description { state: "default" 0.0;
34502                rel1.to: "elm.bar_bg";
34503                rel2.to: "elm.bar_bg";
34504             }
34505          }
34506          part { name: "elm.arrow_bg";
34507             type: SWALLOW;
34508             mouse_events: 1;
34509             description { state: "default" 0.0;
34510                rel1 {
34511                   relative: 1.0 0.17;
34512                   offset: 3 0;
34513                   to_x: "elm.l_button";
34514                }
34515                rel2 {
34516                   relative: 0.0 0.83;
34517                      offset: -4 0;
34518                   to_x: "elm.r_button";
34519                }
34520             }
34521          }
34522          part { name: "elm.arrow";
34523             type: RECT;
34524             mouse_events: 1;
34525             scale: 1;
34526             description { state: "default" 0.0;
34527                min: 1 1;
34528                fixed: 1 1;
34529                align: 0 0;
34530                rel1 {
34531                   to_x: "elm.arrow_bg";
34532                }
34533                rel2 {
34534                   relative: 0.0 0.17;
34535                   to_x: "elm.arrow_bg";
34536                }
34537                color: 0 0 0 0;
34538                visible: 0;
34539             }
34540             dragable {
34541                confine: "elm.arrow_bg";
34542                x: 1 1 0;
34543                y: 0 0 0;
34544             }
34545          }
34546          part { name: "elm.arrow_icon";
34547             type: SWALLOW;
34548             mouse_events: 0;
34549             description { state: "default" 0.0;
34550                min: 25 15;
34551                max: 25 15;
34552                fixed: 1 1;
34553                align: 0.5 0;
34554                rel1 {
34555                   to_x: "elm.arrow";
34556                }
34557                rel2 {
34558                   relative: 1.0 0.0;
34559                   offset: 0 10;
34560                   to_x: "elm.arrow";
34561                }
34562             }
34563          }
34564          part { name: "event";
34565             type: RECT;
34566             mouse_events: 1;
34567             description { state: "default" 0.0;
34568                rel1 {
34569                   to: "elm.arrow_icon";
34570                }
34571                rel2 {
34572                   to_x: "elm.arrow_icon";
34573                   to_y: "elm.arrow_bg";
34574                   offset: 0 0;
34575                }
34576                color: 0 0 0 0;
34577             }
34578             dragable {
34579                events: "elm.arrow";
34580             }
34581          }
34582          part { name: "elm.l_button";
34583             type: SWALLOW;
34584             mouse_events: 1;
34585             scale: 1;
34586             description { state: "default" 0.0;
34587                min: 24 24;
34588                fixed: 1 1;
34589                rel1 {
34590                   relative: 0.0 0.0;
34591                   to_y: "elm.bar_bg";
34592                }
34593                rel2 {
34594                   relative: 0.0 1.0;
34595                   to_y: "elm.bar_bg";
34596                }
34597                align: 0.0 0.5;
34598             }
34599          }
34600          part { name: "elm.r_button";
34601             type: SWALLOW;
34602             mouse_events: 1;
34603             scale: 1;
34604             description {
34605                state: "default" 0.0;
34606                min: 24 24;
34607                fixed: 1 1;
34608                rel1 {
34609                   relative: 1.0 0.0;
34610                   to_y: "elm.bar_bg";
34611                }
34612                rel2 {
34613                   relative: 1.0 1.0;
34614                   to_y: "elm.bar_bg";
34615                }
34616                align: 1.0 0.5;
34617             }
34618          }
34619       }
34620    }
34621
34622    group{ name: "elm/colorselector/image/colorbar_0";
34623       images {
34624          image: "color_picker_color.png" COMP;
34625       }
34626       parts {
34627          part { name: "colorbar_0_image";
34628             type: IMAGE;
34629             mouse_events: 1;
34630             description { state: "default" 0.0;
34631                rel2.offset: -1 -1;
34632                image.normal: "color_picker_color.png";
34633             }
34634          }
34635       }
34636    }
34637
34638    group { name: "elm/colorselector/image/colorbar_1";
34639       images {
34640          image: "color_picker_opacity.png" COMP;
34641       }
34642       parts {
34643          part { name: "colorbar_1_image";
34644             type: IMAGE;
34645             mouse_events: 1;
34646             description { state: "default" 0.0;
34647                rel2.offset: -1 -1;
34648                image.normal: "color_picker_opacity.png";
34649             }
34650          }
34651       }
34652    }
34653
34654    group { name: "elm/colorselector/image/colorbar_2";
34655       images {
34656          image: "color_picker_brightness.png" COMP;
34657       }
34658       parts {
34659          part { name: "colorbar_2_image";
34660             type: IMAGE;
34661             mouse_events: 1;
34662             description { state: "default" 0.0;
34663                rel2.offset: -1 -1;
34664                image.normal: "color_picker_brightness.png";
34665             }
34666          }
34667       }
34668    }
34669
34670    group { name: "elm/colorselector/image/colorbar_3";
34671       images {
34672          image: "color_picker_alpha.png" COMP;
34673       }
34674       parts {
34675          part { name: "colorbar_3_image";
34676             type: IMAGE;
34677             mouse_events: 1;
34678             description { state: "default" 0.0;
34679                rel2.offset: -1 -1;
34680                image.normal: "color_picker_alpha.png";
34681             }
34682          }
34683       }
34684    }
34685
34686    group { name: "elm/colorselector/bg_image/colorbar_3";
34687       images {
34688          image: "color_picker_alpha_bg.png" COMP;
34689       }
34690       parts {
34691          part { name: "colorbar_3_image";
34692             type: IMAGE;
34693             mouse_events: 1;
34694             description { state: "default" 0.0;
34695                rel2.offset: -1 -1;
34696                image.normal: "color_picker_alpha_bg.png";
34697             }
34698          }
34699       }
34700    }
34701
34702    group { name: "elm/colorselector/image/updown";
34703       images {
34704          image: "icon_arrow_down.png" COMP;
34705       }
34706       parts {
34707          part { name: "bg";
34708             type: RECT;
34709             mouse_events: 1;
34710             description { state: "default" 0.0;
34711                color: 0 0 0 0;
34712             }
34713          }
34714          part { name: "arrow_image";
34715             type: IMAGE;
34716             mouse_events: 1;
34717             description { state: "default" 0.0;
34718                image.normal: "icon_arrow_down.png";
34719             }
34720          }
34721       }
34722    }
34723
34724    group { name: "elm/colorselector/button/left";
34725       images {
34726          image: "bt_base1.png" COMP;
34727          image: "bt_shine.png" COMP;
34728          image: "sp_bt_l.png" COMP;
34729       }
34730       parts {
34731          part { name: "button_image";
34732             mouse_events: 1;
34733             description { state: "default" 0.0;
34734                image.normal: "bt_base1.png";
34735                image.border: 6 6 6 6;
34736                image.middle: SOLID;
34737             }
34738
34739             description { state: "clicked" 0.0;
34740                inherit: "default" 0.0;
34741                image.normal: "bt_shine.png";
34742                image.border: 6 6 6 6;
34743                image.middle: SOLID;
34744             }
34745          }
34746          part { name: "btn_over";
34747             type: IMAGE;
34748             mouse_events: 0;
34749             description { state: "default" 0.0;
34750                rel1.to: "button_image";
34751                rel2 {
34752                   relative: 1.0 0.5;
34753                   to: "button_image";
34754                }
34755                image {
34756                   normal: "bt_hilight.png";
34757                   border: 7 7 7 0;
34758                }
34759             }
34760          }
34761          part { name: "btn_over2";
34762             type: IMAGE;
34763             mouse_events: 1;
34764             repeat_events: 1;
34765             ignore_flags: ON_HOLD;
34766             description { state: "default" 0.0;
34767                rel1.to: "button_image";
34768                rel2.to: "button_image";
34769                image {
34770                   normal: "bt_shine.png";
34771                   border: 7 7 7 7;
34772                }
34773             }
34774          }
34775          part { name: "focus_image";
34776             type: IMAGE;
34777             description { state: "default" 0.0;
34778                color: 255 255 255 0;
34779                rel1.to: "button_image";
34780                rel2.to: "button_image";
34781                image {
34782                   normal: "bt_glow.png";
34783                   border: 12 12 12 12;
34784                }
34785                fill.smooth: 0;
34786
34787             }
34788             description { state: "clicked" 0.0;
34789                inherit: "default" 0.0;
34790                visible: 1;
34791                color: 255 255 255 255;
34792             }
34793          }
34794          part { name: "left_arrow";
34795             mouse_events: 1;
34796             description { state: "default" 0.0;
34797                min: 16 16;
34798                max: 16 16;
34799                image.normal: "sp_bt_l.png";
34800             }
34801          }
34802       }
34803
34804       programs {
34805          program {
34806             name:   "button_down";
34807             signal: "elm,state,left,button,down";
34808             source: "left_button";
34809             action: STATE_SET "clicked" 0.0;
34810             target: "button_image";
34811             target: "focus_image";
34812          }
34813          program {
34814             name:   "button_up";
34815             signal: "elm,state,left,button,up";
34816             source: "left_button";
34817             action: STATE_SET "default" 0.0;
34818             target: "button_image";
34819             target: "focus_image";
34820          }
34821       }
34822    }
34823
34824    group { name: "elm/colorselector/button/right";
34825       images {
34826          image: "bt_base1.png" COMP;
34827          image: "bt_shine.png" COMP;
34828          image: "sp_bt_r.png" COMP;
34829       }
34830       parts {
34831          part { name: "button_image";
34832             mouse_events: 1;
34833             description { state: "default" 0.0;
34834                image.normal: "bt_base1.png";
34835                image.border: 6 6 6 6;
34836                image.middle: SOLID;
34837             }
34838
34839             description { state: "clicked" 0.0;
34840                inherit: "default" 0.0;
34841                image.normal: "bt_shine.png";
34842                image.border: 6 6 6 6;
34843                image.middle: SOLID;
34844             }
34845          }
34846          part { name: "btn_over";
34847             type: IMAGE;
34848             mouse_events: 0;
34849             description { state: "default" 0.0;
34850                rel1.to: "button_image";
34851                rel2 {
34852                   relative: 1.0 0.5;
34853                   to: "button_image";
34854                }
34855                image {
34856                   normal: "bt_hilight.png";
34857                   border: 7 7 7 0;
34858                }
34859             }
34860          }
34861          part { name: "btn_over2";
34862             type: IMAGE;
34863             mouse_events: 1;
34864             repeat_events: 1;
34865             ignore_flags: ON_HOLD;
34866             description { state: "default" 0.0;
34867                rel1.to: "button_image";
34868                rel2.to: "button_image";
34869                image {
34870                   normal: "bt_shine.png";
34871                   border: 7 7 7 7;
34872                }
34873             }
34874          }
34875          part { name: "focus_image";
34876             type: IMAGE;
34877             description { state: "default" 0.0;
34878                color: 255 255 255 0;
34879                rel1.to: "button_image";
34880                rel2.to: "button_image";
34881                image {
34882                   normal: "bt_glow.png";
34883                   border: 12 12 12 12;
34884                }
34885                fill.smooth: 0;
34886
34887             }
34888             description { state: "clicked" 0.0;
34889                inherit: "default" 0.0;
34890                visible: 1;
34891                color: 255 255 255 255;
34892             }
34893          }
34894          part { name: "right_arrow";
34895             mouse_events: 1;
34896             description { state: "default" 0.0;
34897                min: 16 16;
34898                max: 16 16;
34899                image.normal: "sp_bt_r.png";
34900             }
34901          }
34902       }
34903
34904       programs {
34905          program {
34906             name:   "button_down";
34907             signal: "elm,state,right,button,down";
34908             source: "right_button";
34909             action: STATE_SET "clicked" 0.0;
34910             target: "button_image";
34911             target: "focus_image";
34912          }
34913          program {
34914             name:   "button_up";
34915             signal: "elm,state,right,button,up";
34916             source: "right_button";
34917             action: STATE_SET "default" 0.0;
34918             target: "button_image";
34919             target: "focus_image";
34920          }
34921       }
34922    }
34923
34924 ///////////////////////////////////////////////////////////////////////////////
34925 #define FLIP_PICKER_MAX_LEN (50)
34926 #define FLIP_PICKER_MAX_LEN_STR "50"
34927
34928    group { name: "elm/flipselector/base/default";
34929       images {
34930          image: "flip_base.png" COMP;
34931          image: "flip_base_shad.png" COMP;
34932          image: "flip_shad.png" COMP;
34933          image: "arrow_up.png" COMP;
34934          image: "arrow_down.png" COMP;
34935          image: "flip_t.png" COMP;
34936          image: "flip_b.png" COMP;
34937       }
34938
34939       data {
34940          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34941       }
34942
34943       //FIXME: quick successive clicks on, say, up, lead to nastiness
34944       script {
34945          public cur, prev, next, lock;
34946
34947          public animator_bottom_down(val, Float:pos) {
34948             new tmp[FLIP_PICKER_MAX_LEN];
34949
34950             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34951             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34952                             0.0);
34953             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34954                             0.0);
34955
34956             if (pos >= 1.0) {
34957                set_state(PART:"shadow", "default", 0.0);
34958                set_int(lock, 0);
34959
34960                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34961                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34962                   replace_str(next, 0, "");
34963                   message(MSG_STRING, 1, tmp);
34964                }
34965             }
34966          }
34967
34968          public animator_top_down(val, Float:pos) {
34969             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34970             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34971                             0.0);
34972             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34973                             0.0);
34974
34975             if (pos >= 1.0)
34976                anim(0.2, "animator_bottom_down", val);
34977          }
34978
34979          public animator_bottom_up(val, Float:pos) {
34980             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34981             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34982                             0.0);
34983             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34984                             0.0);
34985
34986             if (pos >= 1.0)
34987                anim(0.2, "animator_top_up", val);
34988          }
34989
34990          public animator_top_up(val, Float:pos) {
34991             new tmp[FLIP_PICKER_MAX_LEN];
34992
34993             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34994             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34995                             0.0);
34996             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34997                             0.0);
34998
34999             if (pos >= 1.0) {
35000                set_state(PART:"shadow", "default", 0.0);
35001                set_int(lock, 0);
35002
35003                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35004                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35005                   replace_str(next, 0, "");
35006                   message(MSG_STRING, 2, tmp);
35007                }
35008             }
35009          }
35010
35011          public message(Msg_Type:type, id, ...) {
35012             /* flip down */
35013             if ((type == MSG_STRING) && (id == 1)) {
35014                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35015
35016                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35017
35018                if (get_int(lock) == 1) {
35019                   replace_str(next, 0, value);
35020                   return;
35021                }
35022
35023                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35024
35025                set_text(PART:"bottom_b", tmp);
35026
35027                set_state(PART:"top", "shrink", 0.0);
35028                set_text(PART:"top", tmp);
35029                set_state(PART:"top", "default", 0.0);
35030                set_text(PART:"top", tmp);
35031
35032                replace_str(prev, 0, tmp);
35033
35034                set_state(PART:"bottom", "default", 0.0);
35035                set_text(PART:"bottom", value);
35036                set_state(PART:"bottom", "shrink", 0.0);
35037                set_text(PART:"bottom", value);
35038
35039                set_text(PART:"top_b", value);
35040
35041                replace_str(cur, 0, value);
35042
35043                set_state(PART:"bottom_sheet", "shrink", 0.0);
35044                set_state(PART:"top_sheet", "default", 0.0);
35045
35046                set_int(lock, 1);
35047                set_state(PART:"shadow", "default", 0.0);
35048                anim(0.2, "animator_top_down", 1);
35049             }
35050
35051             /* flip up */
35052             if ((type == MSG_STRING) && (id == 2)) {
35053                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35054
35055                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35056
35057                if (get_int(lock) == 1) {
35058                   replace_str(next, 0, value);
35059                   return;
35060                }
35061
35062                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35063
35064                set_text(PART:"top_b", tmp);
35065
35066                set_state(PART:"bottom", "shrink", 0.0);
35067                set_text(PART:"bottom", tmp);
35068                set_state(PART:"bottom", "default", 0.0);
35069                set_text(PART:"bottom", tmp);
35070
35071                replace_str(prev, 0, tmp);
35072
35073                set_state(PART:"top", "default", 0.0);
35074                set_text(PART:"top", value);
35075                set_state(PART:"top", "shrink", 0.0);
35076                set_text(PART:"top", value);
35077
35078                set_text(PART:"bottom_b", value);
35079
35080                replace_str(cur, 0, value);
35081
35082                set_state(PART:"bottom_sheet", "default", 0.0);
35083                set_state(PART:"top_sheet", "shrink", 0.0);
35084
35085                set_int(lock, 1);
35086                set_state(PART:"shadow", "full", 0.0);
35087                anim(0.2, "animator_bottom_up", 1);
35088             }
35089          }
35090       }
35091
35092       parts {
35093          part { name: "shad";
35094             mouse_events: 0;
35095             description { state: "default" 0.0;
35096                rel1.offset: -4 -4;
35097                rel1.to: "base";
35098                rel2.offset: 3 3;
35099                rel2.to: "base";
35100                image {
35101                   normal: "flip_base_shad.png";
35102                   border: 8 8 8 8;
35103                }
35104             }
35105          }
35106
35107          part { name: "base";
35108             scale: 1;
35109             description { state: "default" 0.0;
35110                rel1.offset: 4 4;
35111                rel2.offset: -5 -5;
35112                min: 24 48;
35113                image.normal: "flip_base.png";
35114             }
35115          }
35116
35117          part { name: "b";
35118             type: RECT;
35119             mouse_events: 1;
35120             description { state: "default" 0.0;
35121                rel1.to: "base";
35122                rel1.relative: 0.0 0.5;
35123                rel2.to: "base";
35124                color: 0 0 0 0;
35125             }
35126             description { state: "hidden" 0.0;
35127                inherit: "default" 0.0;
35128                visible: 0;
35129             }
35130          }
35131
35132          part { name: "t";
35133             type: RECT;
35134             mouse_events: 1;
35135             description { state: "default" 0.0;
35136                rel1.to: "base";
35137                rel2.to: "base";
35138                rel2.relative: 1.0 0.5;
35139                color: 0 0 0 0;
35140             }
35141             description { state: "hidden" 0.0;
35142                inherit: "default" 0.0;
35143                visible: 0;
35144             }
35145          }
35146
35147          part { name: "bottom_sheet_static";
35148             mouse_events: 0;
35149             description { state: "default" 0.0;
35150                visible: 1;
35151                rel1.to: "b";
35152                rel2.to: "b";
35153                image.normal: "flip_b.png";
35154             }
35155          }
35156
35157          part { name: "bottom_b";
35158             mouse_events: 0;
35159             clip_to: "bottom_clipper";
35160             type: TEXT;
35161             scale: 1;
35162             description { state: "default" 0.0;
35163                rel1.to: "base";
35164                rel2.to: "base";
35165                color: 0 0 0 255;
35166                color2: 0 0 0 255;
35167                text {
35168                   font: "Sans:style=Bold,Edje-Vera-Bold";
35169                   size: 30;
35170                   min: 1 1;
35171                   align: 0.5 0.5;
35172                }
35173             }
35174          }
35175
35176          part { name: "shadow";
35177             mouse_events: 0;
35178             description { state: "default" 0.0;
35179                rel1.to: "b";
35180                rel2.to: "b";
35181                rel2.relative: 1.0 0.0;
35182                image.normal: "flip_shad.png";
35183             }
35184             description { state: "half" 0.0;
35185                inherit: "default" 0.0;
35186                rel2.relative: 1.0 0.5;
35187             }
35188             description { state: "full" 0.0;
35189                inherit: "default" 0.0;
35190                rel2.relative: 1.0 1.0;
35191             }
35192          }
35193
35194          part { name: "bottom_sheet";
35195             mouse_events: 0;
35196             description { state: "default" 0.0;
35197                visible: 1;
35198                rel1.to: "b";
35199                rel2.to: "b";
35200                image.normal: "flip_b.png";
35201             }
35202             description { state: "shrink" 0.0;
35203                inherit: "default" 0.0;
35204                visible: 0;
35205                rel2.relative: 1.0 0.0;
35206             }
35207          }
35208
35209          part { name: "bottom";
35210             mouse_events: 0;
35211             clip_to: "bottom_clipper";
35212             type: TEXT;
35213             scale: 1;
35214             description { state: "default" 0.0;
35215                rel1.to: "base";
35216                rel2.to: "base";
35217                color: 0 0 0 255;
35218                color2: 0 0 0 255;
35219                text {
35220                   font: "Sans:style=Bold,Edje-Vera-Bold";
35221                   size: 30;
35222                   min: 1 1;
35223                   align: 0.5 0.5;
35224                }
35225             }
35226             description { state: "shrink" 0.0;
35227                inherit: "default" 0.0;
35228                color: 128 128 128 255;
35229                visible: 0;
35230                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35231             }
35232          }
35233
35234          part { name: "top_sheet_static";
35235             mouse_events: 0;
35236             description { state: "default" 0.0;
35237                visible: 1;
35238                rel1.to: "t";
35239                rel2.to: "t";
35240                image.normal: "flip_t.png";
35241             }
35242          }
35243
35244          part { name: "top_b";
35245             mouse_events: 0;
35246             clip_to: "top_clipper";
35247             type: TEXT;
35248             scale: 1;
35249             description { state: "default" 0.0;
35250                rel1.to: "base";
35251                rel2.to: "base";
35252                color: 0 0 0 255;
35253                color2: 0 0 0 255;
35254                text {
35255                   font: "Sans:style=Bold,Edje-Vera-Bold";
35256                   size: 30;
35257                   min: 1 1;
35258                   align: 0.5 0.5;
35259                   source: "top";
35260                }
35261             }
35262          }
35263
35264          part { name: "top_sheet";
35265             mouse_events: 0;
35266             description { state: "default" 0.0;
35267                visible: 1;
35268                rel1.to: "t";
35269                rel2.to: "t";
35270                image.normal: "flip_t.png";
35271             }
35272             description { state: "shrink" 0.0;
35273                inherit: "default" 0.0;
35274                color: 128 128 128 255;
35275                visible: 0;
35276                rel1.relative: 0.0 1.0;
35277             }
35278          }
35279
35280          part { name: "top";
35281             mouse_events: 0;
35282             clip_to: "top_clipper";
35283             type: TEXT;
35284             scale: 1;
35285             description { state: "default" 0.0;
35286                rel1.to: "base";
35287                rel2.to: "base";
35288                color: 0 0 0 255;
35289                color2: 0 0 0 255;
35290                text {
35291                   font: "Sans:style=Bold,Edje-Vera-Bold";
35292                   size: 30;
35293                   min: 1 1;
35294                   align: 0.5 0.5;
35295                }
35296             }
35297             description { state: "shrink" 0.0;
35298                inherit: "default" 0.0;
35299                visible: 0;
35300                rel1.relative: 0.0 0.5;
35301             }
35302          }
35303
35304          part { name: "arrow_top";
35305             mouse_events: 0;
35306             scale: 1;
35307             description { state: "default" 0.0;
35308                min: 15 15;
35309                max: 15 15;
35310                align: 0.5 0.0;
35311                rel1.to: "t";
35312                rel2.to: "t";
35313                image.normal: "arrow_up.png";
35314             }
35315             description { state: "hidden" 0.0;
35316                inherit: "default" 0.0;
35317                visible: 0;
35318             }
35319          }
35320          part { name: "arrow_bottom";
35321             mouse_events: 0;
35322             scale: 1;
35323             description { state: "default" 0.0;
35324                min: 15 15;
35325                max: 15 15;
35326                align: 0.5 1.0;
35327                rel1.to: "b";
35328                rel2.to: "b";
35329                image.normal: "arrow_down.png";
35330             }
35331             description { state: "hidden" 0.0;
35332                inherit: "default" 0.0;
35333                visible: 0;
35334             }
35335          }
35336
35337          part {
35338             type: RECT;
35339             mouse_events: 0;
35340             name: "top_clipper";
35341             description {
35342                state: "default" 0.0;
35343                rel1.to: "t";
35344                rel2.to: "t";
35345                visible: 1;
35346             }
35347          }
35348
35349          part {
35350             type: RECT;
35351             mouse_events: 0;
35352             name: "bottom_clipper";
35353             description {
35354                state: "default" 0.0;
35355                rel1.to: "b";
35356                rel2.to: "b";
35357                visible: 1;
35358             }
35359          }
35360       }
35361
35362       programs {
35363          program { name: "load";
35364             signal: "load";
35365             source: "";
35366             script {
35367                append_str(cur, "");
35368                append_str(prev, "");
35369                append_str(next, "");
35370                set_int(lock, 0);
35371             }
35372          }
35373
35374          program { name: "hide_arrows";
35375             signal: "elm,state,button,hidden";
35376             source: "elm";
35377             action: STATE_SET "hidden" 0.0;
35378             target: "arrow_top";
35379             target: "arrow_bottom";
35380             target: "t";
35381             target: "b";
35382          }
35383
35384          program { name: "show_arrows";
35385             signal: "elm,state,button,visible";
35386             source: "elm";
35387             action: STATE_SET "default" 0.0;
35388             target: "arrow_top";
35389             target: "arrow_bottom";
35390             target: "t";
35391             target: "b";
35392          }
35393
35394          program { name: "up";
35395             signal: "mouse,down,1";
35396             source: "t";
35397             action: SIGNAL_EMIT "elm,action,up,start" "";
35398          }
35399          program { name: "up,stop";
35400             signal: "mouse,up,1";
35401             source: "t";
35402             action: SIGNAL_EMIT "elm,action,up,stop" "";
35403          }
35404          program { name: "down";
35405             signal: "mouse,down,1";
35406             source: "b";
35407             action: SIGNAL_EMIT "elm,action,down,start" "";
35408          }
35409          program { name: "down,stop";
35410             signal: "mouse,up,1";
35411             source: "b";
35412             action: SIGNAL_EMIT "elm,action,down,stop" "";
35413          }
35414       }
35415    }
35416
35417 ////////////////////////////////////////////////////////////////////////////////
35418 // diskselector
35419 ////////////////////////////////////////////////////////////////////////////////
35420    group { name: "elm/diskselector/base/default";
35421       images {
35422          image: "bar_shine.png" COMP;
35423       }
35424
35425       parts {
35426          part { name: "bg";
35427             type: RECT;
35428             mouse_events: 0;
35429             description { state: "default" 0.0;
35430                color: 0 0 0 255;
35431             }
35432          }
35433          part { name: "shine_left";
35434             mouse_events:  0;
35435             description { state: "default" 0.0;
35436                rel1.to: "bg";
35437                rel1.relative: -0.1 0;
35438                rel2.to: "bg";
35439                rel2.relative: 0.1 1;
35440                image.normal: "bar_shine.png";
35441                color: 255 255 255 120;
35442             }
35443          }
35444          part { name: "shine_center";
35445             mouse_events:  0;
35446             description { state: "default" 0.0;
35447                rel1.to: "bg";
35448                rel1.relative: 0.2 0;
35449                rel2.to: "bg";
35450                rel2.relative: 0.8 1;
35451                image.normal: "bar_shine.png";
35452                color: 255 255 255 180;
35453             }
35454          }
35455          part { name: "shine_right";
35456             mouse_events:  0;
35457             description { state: "default" 0.0;
35458                rel1.to: "bg";
35459                rel1.relative: 0.9 0;
35460                rel2.to: "bg";
35461                rel2.relative: 1.1 1;
35462                image.normal: "bar_shine.png";
35463                color: 255 255 255 120;
35464             }
35465          }
35466          part { name: "clipper";
35467             type: RECT;
35468             mouse_events: 0;
35469             description { state: "default" 0.0;
35470                rel1.to: "bg";
35471                rel2.to: "bg";
35472                rel1.offset: 2 2;
35473                rel2.offset: -3 -3;
35474             }
35475          }
35476          part { name: "elm.swallow.content";
35477             clip_to: "clipper";
35478             type: SWALLOW;
35479             description { state: "default" 0.0;
35480                rel1.to: "bg";
35481                rel2.to: "bg";
35482             }
35483          }
35484       }
35485    }
35486
35487    group { name: "elm/diskselector/item/default";
35488
35489       data {
35490          item: "len_threshold" "14";
35491          item: "display_item_num" "3";
35492          item: "min_height" "-1";
35493          item: "min_width" "-1";
35494       }
35495
35496       parts {
35497          part { name: "elm.swallow.icon";
35498             type: SWALLOW;
35499             description { state: "default" 0.0;
35500                fixed: 1 0;
35501                align: 0.0 0.5;
35502                rel1 {
35503                   relative: 0 0;
35504                   offset: 4 4;
35505                }
35506                rel2 {
35507                   relative: 0 1;
35508                   offset: 4 -5;
35509                }
35510             }
35511             description { state: "show" 0.0;
35512                inherit: "default" 0.0;
35513             }
35514             description { state: "default_small" 0.0;
35515                inherit: "default" 0.0;
35516                rel1.relative: 0 0.2;
35517                rel2.relative: 0 0.8;
35518             }
35519             description { state: "left_side" 0.0;
35520                inherit: "default" 0.0;
35521                rel1.relative: 0 0.2;
35522                rel2.relative: 0 0.8;
35523                color: 255 255 255 160;
35524             }
35525             description { state: "right_side" 0.0;
35526                inherit: "left_side" 0.0;
35527                rel1.relative: 0.4 0.2;
35528                rel2.relative: 0.4 0.8;
35529                color: 255 255 255 160;
35530             }
35531          }
35532          part { name: "elm.text";
35533             type: TEXT;
35534             mouse_events: 0;
35535             scale: 1;
35536             description { state: "default" 0.0;
35537                rel1.relative: 1 0.0;
35538                rel1.to_x: "elm.swallow.icon";
35539                rel2.relative: 1.0 1.0;
35540                color: 255 255 255 255;
35541                visible: 0;
35542                text {
35543                   font: "Sans,Edje-Vera";
35544                   size: 13;
35545                   align: 0.5 0.5;
35546                   min: 0 1;
35547                }
35548             }
35549             description { state: "show" 0.0;
35550                inherit: "default" 0.0;
35551                visible: 1;
35552             }
35553             description { state: "default_small" 0.0;
35554                inherit: "default" 0.0;
35555                visible: 1;
35556                text.size: 10;
35557             }
35558             description { state: "left_side" 0.0;
35559                inherit: "default" 0.0;
35560                color: 172 172 172 255;
35561                text.size: 10;
35562                visible: 1;
35563                text.align: 0.2 0.5;
35564             }
35565             description { state: "right_side" 0.0;
35566                inherit: "default" 0.0;
35567                color: 172 172 172 255;
35568                visible: 1;
35569                text.size: 10;
35570                text.align: 0.8 0.5;
35571             }
35572          }
35573       }
35574
35575       programs {
35576          program { name: "center_text";
35577             signal: "elm,state,center";
35578             source: "elm";
35579             action: STATE_SET "show" 0.0;
35580             target: "elm.text";
35581             target: "elm.swallow.icon";
35582          }
35583          program { name: "center_small_text";
35584             signal: "elm,state,center_small";
35585             source: "elm";
35586             action: STATE_SET "default_small" 0.0;
35587             target: "elm.text";
35588             target: "elm.swallow.icon";
35589          }
35590          program { name: "l_side_text";
35591             signal: "elm,state,left_side";
35592             source: "elm";
35593             action: STATE_SET "left_side" 0.0;
35594             target: "elm.text";
35595             target: "elm.swallow.icon";
35596          }
35597          program { name: "r_side_text";
35598             signal: "elm,state,right_side";
35599             source: "elm";
35600             action: STATE_SET "right_side" 0.0;
35601             target: "elm.text";
35602             target: "elm.swallow.icon";
35603          }
35604       }
35605    }
35606
35607    group { name: "elm/entry/path/separator/default";
35608       images.image: "arrow_right.png" COMP;
35609       parts {
35610          part { name: "icon";
35611             mouse_events: 0;
35612             description { state: "default" 0.0;
35613                image.normal: "arrow_right.png";
35614                max: 64 64;
35615                aspect: 1.0 1.0;
35616             }
35617          }
35618       }
35619    }
35620
35621    group { name: "elm/fileselector/base/default";
35622       data {
35623          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35624       }
35625       parts {
35626          part { name: "elm.swallow.up";
35627             type: SWALLOW;
35628             description { state: "default" 0.0;
35629                align: 0.0 0.0;
35630                min: 10 10;
35631                fixed: 1 1;
35632                rel2 {
35633                   relative: 0.0 0.0;
35634                   offset: 0 0;
35635                }
35636             }
35637          }
35638          part { name: "elm.swallow.home";
35639             type: SWALLOW;
35640             description { state: "default" 0.0;
35641                align: 0.0 0.0;
35642                min: 10 10;
35643                fixed: 1 1;
35644                rel1 {
35645                   to: "elm.swallow.up";
35646                   relative: 1.0 0.0;
35647                   offset: 5 0;
35648                }
35649                rel2 {
35650                   to: "elm.swallow.up";
35651                   relative: 1.0 1.0;
35652                   offset: 20 -1;
35653                }
35654             }
35655          }
35656          part { name: "elm.swallow.files";
35657             type: SWALLOW;
35658             description { state: "default" 0.0;
35659                align: 1.0 0.0;
35660                min: 10 10;
35661                fixed: 1 1;
35662                rel1 {
35663                   to_y: "elm.swallow.home";
35664                   relative: 0.0 1.0;
35665                   offset: 0 0;
35666                }
35667                rel2 {
35668                   to_y: "elm.swallow.path";
35669                   relative: 1.0 0.0;
35670                   offset: -1 -1;
35671                }
35672             }
35673          }
35674          part { name: "elm.swallow.path";
35675             type: SWALLOW;
35676             description { state: "default" 0.0;
35677                align: 0.5 1.0;
35678                fixed: 1 1;
35679                rel1 {
35680                   to_y: "elm.swallow.filename";
35681                   relative: 0.0 0.0;
35682                   offset: 0 -1;
35683                }
35684                rel2 {
35685                   to_y: "elm.swallow.filename";
35686                   relative: 1.0 0.0;
35687                   offset: -1 -1;
35688                }
35689             }
35690          }
35691          part { name: "elm.swallow.filename";
35692             type: SWALLOW;
35693             description { state: "default" 0.0;
35694                align: 0.5 1.0;
35695                fixed: 1 1;
35696                rel1 {
35697                   to_y: "elm.swallow.ok";
35698                   relative: 0.0 0.0;
35699                   offset: 0 -1;
35700                }
35701                rel2 {
35702                   to_y: "elm.swallow.ok";
35703                   relative: 1.0 0.0;
35704                   offset: -1 -1;
35705                }
35706             }
35707          }
35708          part { name: "elm.swallow.cancel";
35709             type: SWALLOW;
35710             description { state: "default" 0.0;
35711                align: 1.0 1.0;
35712                fixed: 1 1;
35713                rel1 {
35714                   to: "elm.swallow.ok";
35715                   relative: 0.0 0.0;
35716                   offset: -3 0;
35717                }
35718                rel2 {
35719                   to: "elm.swallow.ok";
35720                   relative: 0.0 1.0;
35721                   offset: -3 -1;
35722                }
35723             }
35724          }
35725          part { name: "elm.swallow.ok";
35726             type: SWALLOW;
35727             description { state: "default" 0.0;
35728                align: 1.0 1.0;
35729                fixed: 1 1;
35730                rel1 {
35731                   relative: 1.0 1.0;
35732                   offset: -1 -1;
35733                }
35734             }
35735          }
35736       }
35737    }
35738
35739    group { name: "elm/fileselector_entry/base/default";
35740       parts {
35741          part { name: "elm.swallow.entry";
35742             type: SWALLOW;
35743             description { state: "default" 0.0;
35744                align: 0.0 0.0;
35745                min: 50 10;
35746                rel2 { to_x: "elm.swallow.button";
35747                   relative: 0.0 1.0;
35748                   offset: -1 -1;
35749                }
35750             }
35751          }
35752          part { name: "elm.swallow.button";
35753             type: SWALLOW;
35754             description { state: "default" 0.0;
35755                align: 1.0 0.0;
35756                min: 10 10;
35757                fixed: 1 1;
35758                rel1 {
35759                   relative: 1.0 0.0;
35760                   offset: -21 0;
35761                }
35762             }
35763          }
35764       }
35765    }
35766
35767 ////////////////////////////////////////////////////////////////////////
35768 // Standard layouts to be used                                        //
35769 ////////////////////////////////////////////////////////////////////////
35770    /* application with toolbar and main content area */
35771    group { name: "elm/layout/application/toolbar-content";
35772       parts {
35773          part { name: "elm.swallow.content";
35774             type: SWALLOW;
35775             description { state: "default" 0.0;
35776                rel1 { to_y: "elm.external.toolbar";
35777                   relative: 0.0 1.0;
35778                   offset: -1 1;
35779                }
35780             }
35781          }
35782
35783          part { name: "elm.external.toolbar";
35784             type: EXTERNAL;
35785             source: "elm/toolbar";
35786             description { state: "default" 0.0;
35787                align: 0.5 0.0;
35788                fixed: 0 1;
35789                rel2 {
35790                   relative: 1.0 0.0;
35791                   offset: -1 47;
35792                }
35793             }
35794          }
35795       }
35796    }
35797
35798    /* application with toolbar and main content area with a back button and title area */
35799    group { name: "elm/layout/application/toolbar-content-back";
35800       parts {
35801          part { name: "elm.swallow.content";
35802             type: SWALLOW;
35803             description { state: "default" 0.0;
35804                rel1 { to_y: "title_clipper";
35805                   relative: 0.0 1.0;
35806                   offset: -1 1;
35807                }
35808             }
35809          }
35810
35811          part { name: "elm.external.toolbar";
35812             type: EXTERNAL;
35813             source: "elm/toolbar";
35814             description { state: "default" 0.0;
35815                fixed: 0 1;
35816                align: 0.5 0.0;
35817                rel2 {
35818                   relative: 1.0 0.0;
35819                   offset: -1 47;
35820                }
35821             }
35822          }
35823          part { name: "title_clipper";
35824             type: RECT;
35825             description { state: "default" 0.0;
35826                visible: 1;
35827                rel1 {
35828                   to_y: "back";
35829                }
35830                rel2 {
35831                   to_y: "back";
35832                }
35833             }
35834             description { state: "hidden" 0.0;
35835                inherit: "default" 0.0;
35836                visible: 0;
35837                rel2 {
35838                   relative: 1.0 0.0;
35839                }
35840             }
35841          }
35842          part { name: "back_clipper";
35843             type: RECT;
35844             clip_to: "title_clipper";
35845             description { state: "default" 0.0;
35846                visible: 1;
35847             }
35848             description { state: "hidden" 0.0;
35849                visible: 0;
35850             }
35851          }
35852          part { name: "back";
35853             type: EXTERNAL;
35854             source: "elm/button";
35855             clip_to: "back_clipper";
35856             description { state: "default" 0.0;
35857                align: 0.0 0.0;
35858                fixed: 1 1;
35859                rel1 { to_y: "elm.external.toolbar";
35860                   relative: 0.0 1.0;
35861                   offset: 0 1;
35862                }
35863                rel2 { to_y: "elm.external.toolbar";
35864                   relative: 0.0 1.0;
35865                   offset: 50 32;
35866                }
35867                params.string: "label" "Back";
35868             }
35869          }
35870          programs {
35871             program {
35872                signal: "clicked";
35873                source: "back";
35874                action: SIGNAL_EMIT "elm,action,back" "";
35875             }
35876             program {
35877                signal: "elm,back,hide";
35878                source: "elm";
35879                action: STATE_SET "hidden" 0.0;
35880                target: "back_clipper";
35881             }
35882             program {
35883                signal: "elm,back,show";
35884                source: "elm";
35885                action: STATE_SET "default" 0.0;
35886                target: "back_clipper";
35887             }
35888             program {
35889                signal: "elm,title,hide";
35890                source: "elm";
35891                action: STATE_SET "hidden" 0.0;
35892                transition: LINEAR 0.1;
35893                target: "title_clipper";
35894             }
35895             program {
35896                signal: "elm,title,show";
35897                source: "elm";
35898                action: STATE_SET "default" 0.0;
35899                target: "title_clipper";
35900             }
35901          }
35902
35903          part { name: "elm.swallow.end";
35904             type: SWALLOW;
35905             description { state: "default" 0.0;
35906                align: 1.0 0.0;
35907                fixed: 1 1;
35908                rel1 { to_y: "elm.external.toolbar";
35909                   relative: 1.0 1.0;
35910                   offset: -2 1;
35911                }
35912                rel2 { to_y: "elm.external.toolbar";
35913                   relative: 1.0 1.0;
35914                   offset: -1 32;
35915                }
35916             }
35917          }
35918
35919          part { name: "elm.text.title";
35920             type: TEXT;
35921             effect: SOFT_SHADOW;
35922             scale: 1;
35923             description { state: "default" 0.0;
35924                rel1 { to_y: "elm.external.toolbar";
35925                   to_x: "back";
35926                   relative: 1.0 1.0;
35927                   offset: 2 1;
35928                }
35929                rel2 { to_y: "back";
35930                   to_x: "elm.swallow.end";
35931                   relative: 0.0 1.0;
35932                   offset: -3 -1;
35933                }
35934                text {
35935                   font: "Sans:style=Bold";
35936                   size: 12;
35937                }
35938             }
35939          }
35940       }
35941    }
35942
35943    /* application with toolbar and main content area with a back and next buttons and title area */
35944    group { name: "elm/layout/application/toolbar-content-back-next";
35945       parts {
35946          part { name: "elm.swallow.content";
35947             type: SWALLOW;
35948             description { state: "default" 0.0;
35949                rel1 { to_y: "title_clipper";
35950                   relative: 0.0 1.0;
35951                   offset: -1 1;
35952                }
35953             }
35954          }
35955
35956          part { name: "elm.external.toolbar";
35957             type: EXTERNAL;
35958             source: "elm/toolbar";
35959             description { state: "default" 0.0;
35960                fixed: 0 1;
35961                align: 0.5 0.0;
35962                rel2 {
35963                   relative: 1.0 0.0;
35964                   offset: -1 47;
35965                }
35966             }
35967          }
35968          part { name: "title_clipper";
35969             type: RECT;
35970             description { state: "default" 0.0;
35971                visible: 1;
35972                rel1 {
35973                   to_y: "back";
35974                }
35975                rel2 {
35976                   to_y: "back";
35977                }
35978             }
35979             description { state: "hidden" 0.0;
35980                inherit: "default" 0.0;
35981                visible: 0;
35982                rel2 {
35983                   relative: 1.0 0.0;
35984                }
35985             }
35986          }
35987          part { name: "back";
35988             type: EXTERNAL;
35989             source: "elm/button";
35990             clip_to: "back_clipper";
35991             description { state: "default" 0.0;
35992                align: 0.0 0.0;
35993                fixed: 1 1;
35994                rel1 { to_y: "elm.external.toolbar";
35995                   relative: 0.0 1.0;
35996                   offset: 0 1;
35997                }
35998                rel2 { to_y: "elm.external.toolbar";
35999                   relative: 0.0 1.0;
36000                   offset: 50 32;
36001                }
36002                params.string: "label" "Back";
36003             }
36004          }
36005          part { name: "back_clipper";
36006             type: RECT;
36007             clip_to: "title_clipper";
36008             description { state: "default" 0.0;
36009                visible: 1;
36010             }
36011             description { state: "hidden" 0.0;
36012                visible: 0;
36013             }
36014          }
36015          part { name: "next";
36016             type: EXTERNAL;
36017             source: "elm/button";
36018             clip_to: "next_clipper";
36019             description { state: "default" 0.0;
36020                align: 1.0 0.0;
36021                fixed: 1 1;
36022                rel1 { to_y: "elm.external.toolbar";
36023                   relative: 1.0 1.0;
36024                   offset: -2 1;
36025                }
36026                rel2 { to_y: "elm.external.toolbar";
36027                   relative: 1.0 1.0;
36028                   offset: -1 32;
36029                }
36030                params.string: "label" "Next";
36031            }
36032          }
36033          part { name: "next_clipper";
36034             type: RECT;
36035             clip_to: "title_clipper";
36036             description { state: "default" 0.0;
36037                visible: 1;
36038             }
36039             description { state: "hidden" 0.0;
36040                visible: 0;
36041             }
36042          }
36043          programs {
36044             program {
36045                signal: "clicked";
36046                source: "back";
36047                action: SIGNAL_EMIT "elm,action,back" "";
36048             }
36049             program {
36050                signal: "elm,title,hide";
36051                source: "elm";
36052                action: STATE_SET "hidden" 0.0;
36053                transition: LINEAR 0.1;
36054                target: "title_clipper";
36055             }
36056             program {
36057                signal: "elm,title,show";
36058                source: "elm";
36059                action: STATE_SET "default" 0.0;
36060                target: "title_clipper";
36061             }
36062             program {
36063                signal: "elm,back,hide";
36064                source: "elm";
36065                action: STATE_SET "hidden" 0.0;
36066                target: "back_clipper";
36067             }
36068             program {
36069                signal: "elm,back,show";
36070                source: "elm";
36071                action: STATE_SET "default" 0.0;
36072                target: "back_clipper";
36073             }
36074             program {
36075                signal: "clicked";
36076                source: "next";
36077                action: SIGNAL_EMIT "elm,action,next" "";
36078             }
36079             program {
36080                signal: "elm,next,hide";
36081                source: "elm";
36082                action: STATE_SET "hidden" 0.0;
36083                target: "next_clipper";
36084             }
36085             program {
36086                signal: "elm,next,show";
36087                source: "elm";
36088                action: STATE_SET "default" 0.0;
36089                target: "next_clipper";
36090             }
36091          }
36092          part { name: "elm.text.title";
36093             type: TEXT;
36094             effect: SOFT_SHADOW;
36095             scale: 1;
36096             clip_to: "title_clipper";
36097             description { state: "default" 0.0;
36098                rel1 { to_y: "elm.external.toolbar";
36099                   to_x: "back";
36100                   relative: 1.0 1.0;
36101                   offset: 2 1;
36102                }
36103                rel2 { to_y: "back";
36104                   to_x: "next";
36105                   relative: 0.0 1.0;
36106                   offset: -3 -1;
36107                }
36108                text {
36109                   font: "Sans:style=Bold";
36110                   size: 12;
36111                }
36112             }
36113          }
36114       }
36115    }
36116    /* application with a main content area with a back button and title area */
36117    group { name: "elm/layout/application/content-back";
36118       parts {
36119          part { name: "elm.swallow.content";
36120             type: SWALLOW;
36121             description { state: "default" 0.0;
36122                rel1 { to_y: "title_clipper";
36123                   relative: 0.0 1.0;
36124                   offset: -1 1;
36125                }
36126             }
36127          }
36128          part { name: "title_clipper";
36129             type: RECT;
36130             description { state: "default" 0.0;
36131                visible: 1;
36132                rel1 {
36133                   to_y: "back";
36134                }
36135                rel2 {
36136                   to_y: "back";
36137                }
36138             }
36139             description { state: "hidden" 0.0;
36140                inherit: "default" 0.0;
36141                visible: 0;
36142                rel2 {
36143                   relative: 1.0 0.0;
36144                }
36145             }
36146          }
36147          part { name: "back_clipper";
36148             type: RECT;
36149             clip_to: "title_clipper";
36150             description { state: "default" 0.0;
36151                visible: 1;
36152             }
36153             description { state: "hidden" 0.0;
36154                visible: 0;
36155             }
36156          }
36157          part { name: "back";
36158             type: EXTERNAL;
36159             source: "elm/button";
36160             clip_to: "back_clipper";
36161             description { state: "default" 0.0;
36162                align: 0.0 0.0;
36163                fixed: 1 1;
36164                rel1 {
36165                   relative: 0.0 0.0;
36166                   offset: 0 1;
36167                }
36168                rel2 {
36169                   relative: 0.0 0.0;
36170                   offset: 50 32;
36171                }
36172                params.string: "label" "Back";
36173             }
36174          }
36175          programs {
36176             program {
36177                signal: "clicked";
36178                source: "back";
36179                action: SIGNAL_EMIT "elm,action,back" "";
36180             }
36181             program {
36182                signal: "elm,back,hide";
36183                source: "elm";
36184                action: STATE_SET "hidden" 0.0;
36185                target: "back_clipper";
36186             }
36187             program {
36188                signal: "elm,back,show";
36189                source: "elm";
36190                action: STATE_SET "default" 0.0;
36191                target: "back_clipper";
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          }
36207
36208          part { name: "elm.swallow.end";
36209             type: SWALLOW;
36210             description { state: "default" 0.0;
36211                align: 1.0 0.0;
36212                fixed: 1 1;
36213                rel1 {
36214                   relative: 1.0 0.0;
36215                   offset: -2 1;
36216                }
36217                rel2 {
36218                   relative: 1.0 1.0;
36219                   offset: -1 32;
36220                }
36221             }
36222          }
36223
36224          part { name: "elm.text.title";
36225             type: TEXT;
36226             effect: SOFT_SHADOW;
36227             scale: 1;
36228             description { state: "default" 0.0;
36229                rel1 {
36230                   to_x: "back";
36231                   relative: 1.0 0.0;
36232                   offset: 2 1;
36233                }
36234                rel2 { to_y: "back";
36235                   to_x: "elm.swallow.end";
36236                   relative: 0.0 1.0;
36237                   offset: -3 -1;
36238                }
36239                text {
36240                   font: "Sans:style=Bold";
36241                   size: 12;
36242                }
36243             }
36244          }
36245       }
36246    }
36247
36248    /* application with a main content area with a back and next buttons and title area */
36249    group { name: "elm/layout/application/content-back-next";
36250       parts {
36251          part { name: "elm.swallow.content";
36252             type: SWALLOW;
36253             description { state: "default" 0.0;
36254                rel1 { to_y: "title_clipper";
36255                   relative: 0.0 1.0;
36256                   offset: -1 1;
36257                }
36258             }
36259          }
36260
36261          part { name: "title_clipper";
36262             type: RECT;
36263             description { state: "default" 0.0;
36264                visible: 1;
36265                rel1 {
36266                   to_y: "back";
36267                }
36268                rel2 {
36269                   to_y: "back";
36270                }
36271             }
36272             description { state: "hidden" 0.0;
36273                inherit: "default" 0.0;
36274                visible: 0;
36275                rel2 {
36276                   relative: 1.0 0.0;
36277                }
36278             }
36279          }
36280          part { name: "back";
36281             type: EXTERNAL;
36282             source: "elm/button";
36283             clip_to: "back_clipper";
36284             description { state: "default" 0.0;
36285                align: 0.0 0.0;
36286                fixed: 1 1;
36287                rel1 {
36288                   relative: 0.0 0.0;
36289                   offset: 0 1;
36290                }
36291                rel2 {
36292                   relative: 0.0 0.0;
36293                   offset: 50 32;
36294                }
36295                params.string: "label" "Back";
36296             }
36297          }
36298          part { name: "back_clipper";
36299             type: RECT;
36300             clip_to: "title_clipper";
36301             description { state: "default" 0.0;
36302                visible: 1;
36303             }
36304             description { state: "hidden" 0.0;
36305                visible: 0;
36306             }
36307          }
36308          part { name: "next";
36309             type: EXTERNAL;
36310             source: "elm/button";
36311             clip_to: "next_clipper";
36312             description { state: "default" 0.0;
36313                align: 1.0 0.0;
36314                fixed: 1 1;
36315                rel1 {
36316                   relative: 1.0 0.0;
36317                   offset: -2 1;
36318                }
36319                rel2 {
36320                   relative: 1.0 0.0;
36321                   offset: -1 32;
36322                }
36323                params.string: "label" "Next";
36324            }
36325          }
36326          part { name: "next_clipper";
36327             type: RECT;
36328             clip_to: "title_clipper";
36329             description { state: "default" 0.0;
36330                visible: 1;
36331             }
36332             description { state: "hidden" 0.0;
36333                visible: 0;
36334             }
36335          }
36336          programs {
36337             program {
36338                signal: "clicked";
36339                source: "back";
36340                action: SIGNAL_EMIT "elm,action,back" "";
36341             }
36342             program {
36343                signal: "elm,title,hide";
36344                source: "elm";
36345                action: STATE_SET "hidden" 0.0;
36346                transition: LINEAR 0.1;
36347                target: "title_clipper";
36348             }
36349             program {
36350                signal: "elm,title,show";
36351                source: "elm";
36352                action: STATE_SET "default" 0.0;
36353                target: "title_clipper";
36354             }
36355             program {
36356                signal: "elm,back,hide";
36357                source: "elm";
36358                action: STATE_SET "hidden" 0.0;
36359                target: "back_clipper";
36360             }
36361             program {
36362                signal: "elm,back,show";
36363                source: "elm";
36364                action: STATE_SET "default" 0.0;
36365                target: "back_clipper";
36366             }
36367             program {
36368                signal: "clicked";
36369                source: "next";
36370                action: SIGNAL_EMIT "elm,action,next" "";
36371             }
36372             program {
36373                signal: "elm,next,hide";
36374                source: "elm";
36375                action: STATE_SET "hidden" 0.0;
36376                target: "next_clipper";
36377             }
36378             program {
36379                signal: "elm,next,show";
36380                source: "elm";
36381                action: STATE_SET "default" 0.0;
36382                target: "next_clipper";
36383             }
36384          }
36385          part { name: "elm.text.title";
36386             type: TEXT;
36387             effect: SOFT_SHADOW;
36388             scale: 1;
36389             clip_to: "title_clipper";
36390             description { state: "default" 0.0;
36391                rel1 {
36392                   to_x: "back";
36393                   relative: 1.0 0.0;
36394                   offset: 2 1;
36395                }
36396                rel2 { to_y: "back";
36397                   to_x: "next";
36398                   relative: 0.0 1.0;
36399                   offset: -3 -1;
36400                }
36401                text {
36402                   font: "Sans:style=Bold";
36403                   size: 12;
36404                }
36405             }
36406          }
36407       }
36408    }
36409
36410    /* application with toolbar and main content area as a vertical box */
36411    group { name: "elm/layout/application/toolbar-vbox";
36412       parts {
36413          part { name: "elm.box.content";
36414             type: BOX;
36415             description { state: "default" 0.0;
36416                rel1 { to_y: "elm.external.toolbar";
36417                   relative: 0.0 1.0;
36418                   offset: -1 1;
36419                }
36420                box.layout: "vertical";
36421             }
36422          }
36423
36424          part { name: "elm.external.toolbar";
36425             type: EXTERNAL;
36426             source: "elm/toolbar";
36427             description { state: "default" 0.0;
36428                align: 0.5 0.0;
36429                fixed: 0 1;
36430                rel2 {
36431                   relative: 1.0 0.0;
36432                   offset: -1 47;
36433                }
36434             }
36435          }
36436       }
36437    }
36438
36439    /* application with toolbar and main content area as a table */
36440    group { name: "elm/layout/application/toolbar-table";
36441       parts {
36442          part { name: "elm.table.content";
36443             type: TABLE;
36444             description { state: "default" 0.0;
36445                rel1 { to_y: "elm.external.toolbar";
36446                   relative: 0.0 1.0;
36447                   offset: -1 1;
36448                }
36449             }
36450          }
36451
36452          part { name: "elm.external.toolbar";
36453             type: EXTERNAL;
36454             source: "elm/toolbar";
36455             description { state: "default" 0.0;
36456                align: 0.5 0.0;
36457                fixed: 0 1;
36458                rel2 {
36459                   relative: 1.0 0.0;
36460                   offset: -1 47;
36461                }
36462             }
36463          }
36464       }
36465    }
36466
36467 ///////////////////////////////////////////////////////////////////////////////
36468    group { name: "elm/segment_control/base/default";
36469 #define SEGMENT_TYPE_SINGLE 1
36470 #define SEGMENT_TYPE_LEFT 2
36471 #define SEGMENT_TYPE_MIDDLE 3
36472 #define SEGMENT_TYPE_RIGHT 4
36473 #define SEGMENT_STATE_NORMAL 1
36474 #define SEGMENT_STATE_PRESSED 2
36475 #define SEGMENT_STATE_SELECTED 3
36476 #define SEGMENT_STATUS_ENABLED 0
36477 #define SEGMENT_STATUS_DISABLED 1
36478       parts {
36479          part { name: "bg";
36480             type: RECT;
36481             mouse_events: 0;
36482             scale: 1;
36483             description {
36484                state: "default" 0.0;
36485                color: 0 0 0 0;
36486                min: 100 40;
36487             }
36488          }
36489       }
36490    }
36491    group { name: "elm/segment_control/item/default";
36492       images {
36493          image: "seg_single_pressed.png" COMP;
36494          image: "seg_single_selected.png" COMP;
36495          image: "seg_single_normal.png" COMP;
36496
36497          image: "seg_left_pressed.png" COMP;
36498          image: "seg_left_selected.png" COMP;
36499          image: "seg_left_normal.png" COMP;
36500
36501          image: "seg_middle_pressed.png" COMP;
36502          image: "seg_middle_selected.png" COMP;
36503          image: "seg_middle_normal.png" COMP;
36504
36505          image: "seg_right_pressed.png" COMP;
36506          image: "seg_right_selected.png" COMP;
36507          image: "seg_right_normal.png" COMP;
36508       }
36509       parts {
36510          part { name: "segment";
36511             mouse_events: 1;
36512             scale: 1;
36513             description { state: "default" 0.0;
36514                min: 1 1;
36515                visible: 0;
36516                image {
36517                   normal: "seg_single_normal.png";
36518                   border: 7 7 7 7;
36519                   border_scale: 1;
36520                   middle: 1;
36521                }
36522             }
36523             description { state: "default_single" 0.0;
36524                inherit: "default" 0.0;
36525                visible: 1;
36526                image {
36527                   normal: "seg_single_normal.png";
36528                   border: 7 7 7 7;
36529                }
36530             }
36531             description { state: "default_left" 0.0;
36532                inherit: "default" 0.0;
36533                visible: 1;
36534                image {
36535                normal: "seg_left_normal.png";
36536                   border:  6 1 7 7;
36537                }
36538             }
36539             description { state: "default_right" 0.0;
36540                inherit: "default" 0.0;
36541                visible: 1;
36542                image {
36543                   normal: "seg_right_normal.png";
36544                   border: 1 6 7 7;
36545                }
36546             }
36547             description { state: "default_middle" 0.0;
36548                inherit: "default" 0.0;
36549                visible: 1;
36550                image {
36551                   normal: "seg_middle_normal.png";
36552                   border: 2 2 2 2;
36553                }
36554             }
36555             description { state: "pressed_single" 0.0;
36556                inherit: "default" 0.0;
36557                visible: 1;
36558                image {
36559                   normal: "seg_single_pressed.png";
36560                   border: 7 7 7 7;
36561                }
36562             }
36563             description { state: "pressed_left" 0.0;
36564                inherit: "default" 0.0;
36565                visible: 1;
36566                image {
36567                   normal: "seg_left_pressed.png";
36568                   border:  6 1 7 7;
36569                }
36570             }
36571             description { state: "pressed_right" 0.0;
36572                inherit: "default" 0.0;
36573                visible: 1;
36574                image {
36575                   normal: "seg_right_pressed.png";
36576                   border: 1 6 7 7;
36577                }
36578             }
36579             description { state: "pressed_middle" 0.0;
36580                inherit: "default" 0.0;
36581                visible: 1;
36582                image {
36583                   normal: "seg_middle_pressed.png";
36584                   border: 1 1 2 2;
36585                }
36586             }
36587             description { state: "selected_single" 0.0;
36588                inherit: "default" 0.0;
36589                visible: 1;
36590                image {
36591                   normal: "seg_single_selected.png";
36592                   border: 7 7 7 7;
36593                }
36594             }
36595             description { state: "selected_left" 0.0;
36596                inherit: "default" 0.0;
36597                visible: 1;
36598                image {
36599                   normal: "seg_left_selected.png";
36600                   border:  6 3 7 7;
36601                }
36602             }
36603             description { state: "selected_right" 0.0;
36604                inherit: "default" 0.0;
36605                visible: 1;
36606                image {
36607                   normal: "seg_right_selected.png";
36608                   border: 3 6 7 7;
36609                }
36610             }
36611             description { state: "selected_middle" 0.0;
36612                inherit: "default" 0.0;
36613                visible: 1;
36614                image {
36615                   normal: "seg_middle_selected.png";
36616                   border: 3 3 3 3;
36617                }
36618             }
36619          }
36620          part { name: "padding_left";
36621             type: RECT;
36622             scale: 1;
36623             mouse_events: 0;
36624             description { state: "default" 0.0;
36625                align: 0.0 0.0;
36626                rel1.relative: 0.0 0.0;
36627                rel2.relative: 0.0 1.0;
36628                min: 2 2;
36629                max: 2 2;
36630                fixed: 1 0;
36631                color: 0 0 0 0;
36632             }
36633          }
36634          part { name: "padding_right";
36635             type: RECT;
36636             scale: 1;
36637             mouse_events: 0;
36638             description { state: "default" 0.0;
36639                align: 1.0 0.0;
36640                rel1.relative: 1.0 0.0;
36641                rel2.relative: 1.0 1.0;
36642                min: 2 2;
36643                max: 2 2;
36644                fixed: 1 0;
36645                color: 0 0 0 0;
36646             }
36647          }
36648          part { name: "padding_top";
36649             type: RECT;
36650             scale: 1;
36651             mouse_events: 0;
36652             description { state: "default" 0.0;
36653                align: 0.0 0.0;
36654                rel1.relative: 0.0 0.0;
36655                rel2.relative: 1.0 0.0;
36656                min: 2 2;
36657                max: 2 2;
36658                fixed: 0 1;
36659                color: 0 0 0 0;
36660             }
36661          }
36662          part { name: "padding_bottom";
36663             type: RECT;
36664             scale: 1;
36665             mouse_events: 0;
36666             description { state: "default" 0.0;
36667                align: 1.0 1.0;
36668                rel1.relative: 0.0 1.0;
36669                rel2.relative: 1.0 1.0;
36670                min: 2 2;
36671                max: 2 2;
36672                fixed: 0 1;
36673                color: 0 0 0 0;
36674             }
36675          }
36676          part { name: "icon.bg";
36677             type: RECT;
36678             scale: 1;
36679             mouse_events: 0;
36680             description { state: "default" 0.0;
36681                visible: 1;
36682                fixed: 1 0;
36683                rel1 {
36684                   to_x: "padding_left";
36685                   to_y: "padding_top";
36686                   relative: 1.0 1.0;
36687                }
36688                rel2 {
36689                   to: "elm.swallow.icon";
36690                   relative: 1.0 1.0;
36691                }
36692                align: 0.0 0.5;
36693                color: 0 0 0 0;
36694             }
36695          }
36696          part { name: "padding_icon_text";
36697             type: RECT;
36698             scale: 1;
36699             mouse_events: 0;
36700             description { state: "default" 0.0; //when only icon or no icon is there
36701                align: 0.0 0.0;
36702                rel1 {
36703                   to: "icon.bg";
36704                   relative: 1.0 0.0;
36705                }
36706                rel2 {
36707                   to: "icon.bg";
36708                   relative: 1.0 1.0;
36709                }
36710                fixed: 1 0;
36711                min: 0 0;
36712                color: 0 0 0 0;
36713             }
36714             description { state: "icononly" 0.0;
36715                inherit: "default" 0.0;
36716             }
36717             description { state: "visible" 0.0; //when icon is visible
36718                inherit: "default" 0.0;
36719                min: 2 0;
36720             }
36721          }
36722          part { name: "elm.swallow.icon";
36723             type: SWALLOW;
36724             scale: 1;
36725             description { state: "default" 0.0;
36726                visible: 0;
36727                align: 0.0 0.5;
36728                rel1 {
36729                   to_x: "padding_left";
36730                   to_y: "padding_top";
36731                   relative: 1.0 1.0;
36732                }
36733                rel2 {
36734                   to_y: "padding_bottom";
36735                   relative: 0.0 0.0;
36736                }
36737                fixed: 1 0;
36738                aspect: 1.0 1.0;
36739                aspect_preference: BOTH;
36740             }
36741             description { state: "visible" 0.0;
36742                inherit: "default" 0.0;
36743                visible: 1;
36744                rel2 {
36745                   to_y: "padding_bottom";
36746                   relative: 0.3 0.0;
36747                }
36748             }
36749             description { state: "icononly" 0.0;
36750                inherit: "default" 0.0;
36751                visible: 1;
36752                rel2 {
36753                   to_x: "padding_right";
36754                   to_y: "padding_bottom";
36755                   relative: 0.0 0.0;
36756                }
36757                align: 0.5 0.5;
36758             }
36759          }
36760          part { name: "elm.text";
36761             type: TEXT;
36762             mouse_events: 0;
36763             scale: 1;
36764             description {
36765                state: "default" 0.0;
36766                visible: 0;
36767                fixed: 1 1;
36768                min: 1 1;
36769                rel1 {
36770                   to_x: "padding_icon_text";
36771                   relative: 1.0 1.0;
36772                }
36773                rel2 {
36774                   to_x: "padding_right";
36775                   relative: 0.0 0.0;
36776                }
36777                color: 224 224 224 255;
36778                color3: 0 0 0 64;
36779                text {
36780                   font: "Sans";
36781                   ellipsis: 0.0;
36782                   fit: 1 1;
36783                   size: 24;
36784                   size_range: 8 36;
36785                   min: 0 1;
36786                }
36787             }
36788             description { state: "normal" 0.0;
36789                inherit: "default" 0.0;
36790                visible: 1;
36791             }
36792             description { state: "pressed" 0.0;
36793                inherit: "default" 0.0;
36794                visible: 1;
36795                color: 0 0 0 255;
36796             }
36797             description { state: "selected" 0.0;
36798                inherit: "default" 0.0;
36799                visible: 1;
36800                color: 50 50 50 255;
36801             }
36802             description { state: "disabled" 0.0;
36803                inherit: "default" 0.0;
36804                visible: 1;
36805                color: 200 200 200 255;
36806             }
36807          }
36808          part { name: "disabler";
36809             repeat_events: 0;
36810             scale: 1;
36811             description { state: "default" 0.0;
36812                visible: 0;
36813                fixed: 1 1;
36814                min: 1 1;
36815                align: 0.0 0.5;
36816                rel1 { relative: 0.0 0.0; to: "segment";}
36817                rel2 { relative: 1.0 1.0; to: "segment";}
36818                color: 255 255 255 150;
36819             }
36820             description { state: "disabled_single" 0.0;
36821                inherit: "default" 0.0;
36822                visible: 1;
36823                image {
36824                   normal: "seg_single_normal.png";
36825                   border: 7 7 7 7;
36826                }
36827             }
36828             description { state: "disabled_left" 0.0;
36829                inherit: "default" 0.0;
36830                visible: 1;
36831                image {
36832                   normal: "seg_left_normal.png";
36833                   border:  6 1 7 7;
36834                }
36835             }
36836             description { state: "disabled_right" 0.0;
36837                inherit: "default" 0.0;
36838                visible: 1;
36839                image {
36840                   normal: "seg_right_normal.png";
36841                   border: 1 6 7 7;
36842                }
36843             }
36844             description { state: "disabled_middle" 0.0;
36845                inherit: "default" 0.0;
36846                visible: 1;
36847                image {
36848                   normal: "seg_middle_normal.png";
36849                   border: 2 2 2 2;
36850                }
36851             }
36852          }
36853       }
36854       programs {
36855          script {
36856             public seg_type; // Single, Left, Middle, Right.
36857             public seg_state; // Normal/Default, Pressed, Selected.
36858             public seg_status;// Enabled/Default, Disabled
36859
36860             public update_state() {
36861                new type, state, disabled;
36862                type = get_int(seg_type);
36863                state = get_int(seg_state);
36864                disabled = get_int(seg_status);
36865
36866                if(state == SEGMENT_STATE_NORMAL)
36867                  {
36868                     if(type == SEGMENT_TYPE_SINGLE)
36869                       set_state(PART:"segment", "default_single", 0.0);
36870                     else if(type == SEGMENT_TYPE_LEFT)
36871                       set_state(PART:"segment", "default_left", 0.0);
36872                     else if(type == SEGMENT_TYPE_MIDDLE)
36873                       set_state(PART:"segment", "default_middle", 0.0);
36874                     else if(type == SEGMENT_TYPE_RIGHT)
36875                       set_state(PART:"segment", "default_right", 0.0);
36876                     set_state(PART:"elm.text", "normal", 0.0);
36877                  }
36878                else if(state == SEGMENT_STATE_PRESSED)
36879                  {
36880                     if(type == SEGMENT_TYPE_SINGLE)
36881                       set_state(PART:"segment", "pressed_single", 0.0);
36882                     else if(type == SEGMENT_TYPE_LEFT)
36883                       set_state(PART:"segment", "pressed_left", 0.0);
36884                     else if(type == SEGMENT_TYPE_MIDDLE)
36885                       set_state(PART:"segment", "pressed_middle", 0.0);
36886                     else if(type == SEGMENT_TYPE_RIGHT)
36887                       set_state(PART:"segment", "pressed_right", 0.0);
36888                     set_state(PART:"elm.text", "pressed", 0.0);
36889                  }
36890                else if(state == SEGMENT_STATE_SELECTED)
36891                  {
36892                     if(type == SEGMENT_TYPE_SINGLE)
36893                       set_state(PART:"segment", "selected_single", 0.0);
36894                     else if(type == SEGMENT_TYPE_LEFT)
36895                       set_state(PART:"segment", "selected_left", 0.0);
36896                     else if(type == SEGMENT_TYPE_MIDDLE)
36897                       set_state(PART:"segment", "selected_middle", 0.0);
36898                     else if(type == SEGMENT_TYPE_RIGHT)
36899                       set_state(PART:"segment", "selected_right", 0.0);
36900                     set_state(PART:"elm.text", "selected", 0.0);
36901                  }
36902                if(disabled == SEGMENT_STATUS_DISABLED)
36903                  {
36904                     if(type == SEGMENT_TYPE_SINGLE)
36905                       set_state(PART:"disabler", "disabled_single", 0.0);
36906                     else if(type == SEGMENT_TYPE_LEFT)
36907                       set_state(PART:"disabler", "disabled_left", 0.0);
36908                     else if(type == SEGMENT_TYPE_MIDDLE)
36909                       set_state(PART:"disabler", "disabled_middle", 0.0);
36910                     else if(type == SEGMENT_TYPE_RIGHT)
36911                       set_state(PART:"disabler", "disabled_right", 0.0);
36912                     set_state(PART:"elm.text", "disabled", 0.0);
36913                  }
36914             }
36915          }
36916          program {
36917             name: "segment_type_s";
36918             signal: "elm,type,segment,single";
36919             source: "elm";
36920             script {
36921                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36922                update_state();
36923             }
36924          }
36925          program {
36926             name: "segment_type_l";
36927             signal: "elm,type,segment,left";
36928             source: "elm";
36929             script {
36930                set_int(seg_type, SEGMENT_TYPE_LEFT);
36931                update_state();
36932             }
36933          }
36934          program {
36935             name: "segment_type_m";
36936             signal: "elm,type,segment,middle";
36937             source: "elm";
36938             script {
36939                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36940                update_state();
36941             }
36942          }
36943          program {
36944             name: "segment_type_r";
36945             signal: "elm,type,segment,right";
36946             source: "elm";
36947             script {
36948                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36949                update_state();
36950             }
36951          }
36952          program {
36953             name: "normal_segment";
36954             signal: "elm,state,segment,normal";
36955             source: "elm";
36956             script {
36957                set_int(seg_state, SEGMENT_STATE_NORMAL);
36958                update_state();
36959             }
36960          }
36961          program {
36962             name: "pressed_segment";
36963             signal: "elm,state,segment,pressed";
36964             source: "elm";
36965             script {
36966                set_int(seg_state, SEGMENT_STATE_PRESSED);
36967                update_state();
36968             }
36969          }
36970          program {
36971             name: "selected_segment";
36972             signal: "elm,state,segment,selected";
36973             source: "elm";
36974             script {
36975                set_int(seg_state, SEGMENT_STATE_SELECTED);
36976                update_state();
36977             }
36978          }
36979          program { name: "disable_segment";
36980             signal: "elm,state,disabled";
36981             source: "elm";
36982             script {
36983                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36984                update_state();
36985             }
36986          }
36987          program { name: "enable_segment";
36988             signal: "elm,state,enabled";
36989             source: "elm";
36990             script {
36991                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36992                update_state();
36993             }
36994          }
36995          program { name: "text_show";
36996             signal: "elm,state,text,visible";
36997             source: "elm";
36998             script {
36999                new st[31];
37000                new Float:vl;
37001                get_state(PART:"elm.swallow.icon", st, 30, vl);
37002                if (!strcmp(st, "icononly"))
37003                  {
37004                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37005                     set_state(PART:"padding_icon_text", "visible", 0.0);
37006                  }
37007                get_state(PART:"elm.text", st, 30, vl);
37008                if (!strcmp(st, "selected"))
37009                   set_state(PART:"elm.text", "selected", 0.0);
37010                else
37011                   set_state(PART:"elm.text", "normal", 0.0);
37012             }
37013          }
37014          program { name: "text_hide";
37015             signal: "elm,state,text,hidden";
37016             source: "elm";
37017             script {
37018                new st[31];
37019                new Float:vl;
37020                get_state(PART:"elm.swallow.icon", st, 30, vl);
37021                if (!strcmp(st, "visible"))
37022                  {
37023                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37024                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37025                  }
37026                set_state(PART:"elm.text", "default", 0.0);
37027             }
37028          }
37029          program { name: "icon_show";
37030             signal: "elm,state,icon,visible";
37031             source: "elm";
37032             script {
37033                new st[31];
37034                new Float:vl;
37035                get_state(PART:"elm.text", st, 30, vl);
37036                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
37037                  {
37038                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37039                     set_state(PART:"padding_icon_text", "visible", 0.0);
37040                  }
37041                else
37042                  {
37043                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37044                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37045                  }
37046             }
37047          }
37048          program { name: "icon_hide";
37049             signal: "elm,state,icon,hidden";
37050             source: "elm";
37051             action:  STATE_SET "default" 0.0;
37052             target: "elm.swallow.icon";
37053          }
37054       }
37055 #undef SEGMENT_TYPE_SINGLE
37056 #undef SEGMENT_TYPE_LEFT
37057 #undef SEGMENT_TYPE_MIDDLE
37058 #undef SEGMENT_TYPE_RIGHT
37059 #undef SEGMENT_STATE_NORMAL
37060 #undef SEGMENT_STATE_PRESSED
37061 #undef SEGMENT_STATE_SELECTED
37062 #undef SEGMENT_STATUS_ENABLED
37063 #undef SEGMENT_STATUS_DISABLED
37064    }
37065
37066    /* a simple title layout, with a label and two icons */
37067    group { name: "elm/layout/application/titlebar";
37068       images {
37069          image: "toolbar_sel.png" COMP;
37070       }
37071       parts {
37072          part { name: "base";
37073             mouse_events: 0;
37074             scale: 1;
37075             description { state: "default" 0.0;
37076                min: 0 33;
37077                max: 99999 33;
37078                align: 0.5 0.0;
37079                rel1.offset: -1 0;
37080                rel2.offset: 1 0;
37081                image {
37082                   normal: "toolbar_sel.png";
37083                   border: 3 3 0 0;
37084                }
37085             }
37086          }
37087          part { name: "elm.swallow.content";
37088             type: SWALLOW;
37089             description { state: "default" 0.0;
37090                visible: 1;
37091                rel1 {
37092                   to: "base";
37093                   relative: 0.0 1.0;
37094                }
37095             }
37096          }
37097          part { name: "elm.swallow.icon";
37098             type: SWALLOW;
37099             scale: 1;
37100             description { state: "default" 0.0;
37101                visible: 0;
37102                fixed: 1 1;
37103                align: 0.0 0.0;
37104                rel1 {
37105                   to: "base";
37106                   relative: 0.0 0.0;
37107                   offset: 4 0;
37108                }
37109                rel2 {
37110                   to: "base";
37111                   relative: 0.0 1.0;
37112                }
37113             }
37114             description { state: "visible" 0.0;
37115                inherit: "default" 0.0;
37116                visible: 1;
37117             }
37118          }
37119          part { name: "elm.swallow.end";
37120             type: SWALLOW;
37121             scale: 1;
37122             description { state: "default" 0.0;
37123                visible: 0;
37124                fixed: 1 1;
37125                align: 1.0 0.0;
37126                rel1 {
37127                   to: "base";
37128                   relative: 1.0 0.0;
37129                   offset: 0 0;
37130                }
37131                rel2 {
37132                   to: "base";
37133                   relative: 1.0 1.0;
37134                   offset: -5 -1;
37135                }
37136             }
37137             description { state: "visible" 0.0;
37138                inherit: "default" 0.0;
37139                visible: 1;
37140             }
37141          }
37142          part { name: "elm.text";
37143             type: TEXT;
37144             effect: SOFT_SHADOW;
37145             mouse_events: 0;
37146             scale: 1;
37147             description { state: "default" 0.0;
37148                fixed: 1 1;
37149                rel1 {
37150                   to_x: "elm.swallow.icon";
37151                   to_y: "base";
37152                   relative: 1.0 0.0;
37153                }
37154                rel2 {
37155                   to_x: "elm.swallow.end";
37156                   to_y: "base";
37157                   relative: 0.0 1.0;
37158                }
37159                text {
37160                   font: "Sans";
37161                   size: 12;
37162                   min: 0 0;
37163                   align: 0.5 0.5;
37164                   text_class: "title_bar";
37165                }
37166             }
37167          }
37168       }
37169       programs {
37170          program { name: "show_icon";
37171             signal: "elm,state,icon,visible";
37172             source: "elm";
37173             action: STATE_SET "visible" 0.0;
37174             target: "elm.swallow.icon";
37175          }
37176          program { name: "hide_icon";
37177             signal: "elm,state,icon,hidden";
37178             source: "elm";
37179             action: STATE_SET "default" 0.0;
37180             target: "elm.swallow.icon";
37181          }
37182          program { name: "show_end";
37183             signal: "elm,state,end,visible";
37184             source: "elm";
37185             action: STATE_SET "visible" 0.0;
37186             target: "elm.swallow.end";
37187          }
37188          program { name: "hide_end";
37189             signal: "elm,state,end,hidden";
37190             source: "elm";
37191             action: STATE_SET "default" 0.0;
37192             target: "elm.swallow.end";
37193          }
37194       }
37195    }
37196
37197    group {
37198       name: "elm/player/base/default";
37199       min: 290 26;
37200
37201       parts {
37202          part {
37203             type: SWALLOW;
37204             name: "media_player/slider";
37205
37206             description {
37207                rel2 {
37208                   relative: 1.0 0.0;
37209                   to_x: "media_player/forward";
37210                }
37211             }
37212          }
37213          part {
37214             type: SWALLOW;
37215             name: "media_player/rewind";
37216
37217             description {
37218                rel1 {
37219                   to_y: "media_player/slider";
37220                   offset: 42 0;
37221                   relative: 0.0 1.0;
37222                }
37223                rel2 {
37224                   relative: 0.0 1.0;
37225                }
37226             }
37227          }
37228          part {
37229             type: SWALLOW;
37230             name: "media_player/prev";
37231
37232             description {
37233                rel1 {
37234                   to: "media_player/rewind";
37235                   relative: 1.0 0.0;
37236                }
37237                rel2 {
37238                   to: "media_player/rewind";
37239                   relative: 2.0 1.0;
37240                }
37241             }
37242          }
37243          part {
37244             type: SWALLOW;
37245             name: "media_player/play";
37246
37247             description {
37248                rel1 {
37249                   to: "media_player/prev";
37250                   relative: 1.0 0.0;
37251                }
37252                rel2 {
37253                   to: "media_player/prev";
37254                   relative: 2.0 1.0;
37255                }
37256             }
37257             description {
37258                state: hidden 0.0;
37259                inherit: default 0.0;
37260                visible: 0;
37261             }
37262          }
37263          part {
37264             type: SWALLOW;
37265             name: "media_player/pause";
37266
37267             description {
37268                rel1.to: "media_player/play";
37269                rel2.to: "media_player/play";
37270             }
37271             description {
37272                state: hidden 0.0;
37273                inherit: default 0.0;
37274                visible: 0;
37275             }
37276          }
37277          part {
37278             type: SWALLOW;
37279             name: "media_player/info";
37280             description {
37281                rel1 {
37282                   to: "media_player/play";
37283                   relative: 1.0 0.0;
37284                }
37285                rel2 {
37286                   to: "media_player/play";
37287                   relative: 2.0 1.0;
37288                }
37289             }
37290          }
37291
37292          part {
37293             type: SWALLOW;
37294             name: "media_player/stop";
37295             description {
37296                rel1 {
37297                   to: "media_player/info";
37298                   relative: 3.0 0.0;
37299                }
37300                rel2 {
37301                   to: "media_player/info";
37302                   relative: 4.0 1.0;
37303                }
37304             }
37305          }
37306          part {
37307             type: SWALLOW;
37308             name: "media_player/next";
37309             description {
37310                rel1 {
37311                   to: "media_player/stop";
37312                   relative: 1.0 0.0;
37313                }
37314                rel2 {
37315                   to: "media_player/stop";
37316                   relative: 2.0 1.0;
37317                }
37318             }
37319          }
37320          part {
37321             type: SWALLOW;
37322             name: "media_player/forward";
37323             description {
37324                rel1 {
37325                   to: "media_player/next";
37326                   relative: 1.0 0.0;
37327                }
37328                rel2 {
37329                   to: "media_player/next";
37330                   relative: 2.0 1.0;
37331                }
37332             }
37333          }
37334       }
37335       programs {
37336          program {
37337             signal: "show";
37338             source: "";
37339             after: "pause/0";
37340          }
37341          program {
37342             signal: "elm,player,play";
37343             source: "elm";
37344             after: "play/0";
37345          }
37346          program {
37347             signal: "elm,player,pause";
37348             source: "elm";
37349             after: "pause/0";
37350          }
37351          program {
37352             name: "play/0";
37353
37354             action: STATE_SET "hidden" 0.0;
37355             target: "media_player/play";
37356
37357             after: "play/1";
37358          }
37359          program {
37360             name: "play/1";
37361
37362             action: STATE_SET "default" 0.0;
37363             target: "media_player/pause";
37364          }
37365          program {
37366             name: "pause/0";
37367
37368             action: STATE_SET "hidden" 0.0;
37369             target: "media_player/pause";
37370
37371             after: "pause/1";
37372          }
37373          program {
37374             name: "pause/1";
37375
37376             action: STATE_SET "default" 0.0;
37377             target: "media_player/play";
37378          }
37379       }
37380    }
37381
37382    group {
37383       name: "elm/video/base/default";
37384
37385       parts {
37386          part {
37387             name: "clipper";
37388             type: RECT;
37389
37390             description {
37391                color: 255 255 255 255;
37392             }
37393             description {
37394                state: "darker" 0.0;
37395                color: 128 128 128 255;
37396             }
37397          }
37398          part {
37399             name: "elm.swallow.video";
37400             type: SWALLOW;
37401
37402             clip_to: "clipper";
37403             mouse_events: 1;
37404             repeat_events: 1;
37405
37406             description {
37407                aspect_preference: BOTH;
37408                aspect: 1 1;
37409             }
37410          }
37411       }
37412
37413       programs {
37414          program {
37415             signal: "elm,video,load";
37416             source: "elm";
37417
37418             action: STATE_SET "darker" 0.0;
37419             target: "clipper";
37420          }
37421          program {
37422             signal: "elm,video,play";
37423             source: "elm";
37424
37425             action: STATE_SET "default" 0.0;
37426             target: "clipper";
37427          }
37428          program {
37429             signal: "elm,video,end";
37430             source: "elm";
37431
37432             action: STATE_SET "darker" 0.0;
37433             target: "clipper";
37434             transition: LINEAR 0.5;
37435          }
37436          program {
37437             signal: "elm,video,pause";
37438             source: "elm";
37439
37440             action: STATE_SET "darker" 0.0;
37441             target: "clipper";
37442          }
37443       }
37444    }
37445 /////////////////////////////////////////////////////////////////////////
37446 group { name:"elm/naviframe/base/default";
37447    images {
37448       image: "frame_1.png" COMP;
37449       image: "frame_2.png" COMP;
37450       image: "dia_grad.png" COMP;
37451    }
37452    parts {
37453       part { name: "base0";
37454          mouse_events:  0;
37455          description { state: "default" 0.0;
37456             image.normal: "dia_grad.png";
37457             fill {
37458                smooth: 0;
37459                size {
37460                   relative: 0.0 1.0;
37461                   offset: 64 0;
37462                }
37463             }
37464          }
37465       }
37466       part { name: "base1";
37467          type: IMAGE;
37468          description { state: "default" 0.0;
37469             image {
37470                normal: "frame_2.png";
37471                border: 5 5 32 26;
37472                middle: 0;
37473             }
37474             fill.smooth : 0;
37475          }
37476       }
37477       part { name: "over";
37478          mouse_events:  0;
37479          description { state: "default" 0.0;
37480             rel1.offset: 4 4;
37481             rel2.offset: 5 5;
37482             image {
37483                normal: "frame_1.png";
37484                border: 2 2 28 22;
37485                middle: 0;
37486             }
37487             fill.smooth : 0;
37488          }
37489       }
37490    }
37491 }
37492 group { name:"elm/naviframe/item/basic/default";
37493    images {
37494       image: "flip_base.png" COMP;
37495       image: "flip_shad.png" COMP;
37496    }
37497    parts {
37498       part { name: "title_clip";
37499          type: RECT;
37500          mouse_events: 0;
37501          description { state: "default" 0.0;
37502             min: 1 50;
37503             align: 0.0 0.0;
37504             fixed: 0 1;
37505             rel1 { relative: 0.0 0.0; }
37506             rel2 { relative: 1.0 0.0; }
37507          }
37508          description { state: "hide" 0.0;
37509             inherit: "default" 0.0;
37510             min: 0 0;
37511             max: 0 0;
37512             fixed: 1 1;
37513          }
37514       }
37515       part { name: "content_clip";
37516          type: RECT;
37517          mouse_events: 0;
37518          description { state: "default" 0.0;
37519             rel1.to_y: "title_clip";
37520             rel1.relative: 0 1;
37521          }
37522       }
37523       part { name: "elm.swallow.content";
37524          type: SWALLOW;
37525          scale: 1;
37526          repeat_events: 0;
37527          clip_to: "content_clip";
37528          description { state: "default" 0.0;
37529             align: 0.0 0.0;
37530             rel1.relative: 1.0 1.0;
37531             rel1.to_y: "title_clip";
37532             rel2.relative: 2.0 1.0;
37533          }
37534          description { state: "show" 0.0;
37535             inherit: "default" 0.0;
37536             rel1.relative: 0.0 1.0;
37537             rel2.relative: 1.0 1.0;
37538          }
37539          description { state: "pushed" 0.0;
37540             inherit: "default" 0.0;
37541             rel1.relative: -1.0 1.0;
37542             rel2.relative: 0.0 1.0;
37543          }
37544          description { state: "popped" 0.0;
37545             inherit: "default" 0.0;
37546             rel1.relative: 1.0 1.0;
37547             rel2.relative: 2.0 1.0;
37548          }
37549       }
37550       part { name: "title_base";
37551          type: IMAGE;
37552          scale: 1;
37553          repeat_events: 0;
37554          clip_to: "title_clip";
37555          description { state: "default" 0.0;
37556             min: 1 50;
37557             align: 0.0 0.0;
37558             fixed: 0 1;
37559             rel1 { relative: 0.0 0.0; }
37560             rel2 { relative: 1.0 0.0; }
37561             image.normal: "flip_base.png";
37562          }
37563       }
37564       part { name: "elm.swallow.prev_btn";
37565          type: SWALLOW;
37566          scale: 1;
37567          clip_to: "title_clip";
37568          description { state: "default" 0.0;
37569             min: 80 40;
37570             max: 80 40;
37571             align: 0 0;
37572             fixed: 1 1;
37573             rel1.offset: 5 5;
37574             rel1.to: "title_base";
37575             rel2.offset: -1 -6;
37576             rel2.to: "title_base";
37577          }
37578       }
37579       part { name: "elm.swallow.next_btn";
37580          type: SWALLOW;
37581          scale: 1;
37582          clip_to: "title_clip";
37583          description { state: "default" 0.0;
37584             min: 80 40;
37585             max: 80 40;
37586             align: 1 0;
37587             fixed: 1 1;
37588             rel1.offset: 0 5;
37589             rel1.to: "title_base";
37590             rel2.offset: -6 -6;
37591             rel2.to: "title_base";
37592          }
37593       }
37594       part { name: "elm.swallow.icon";
37595          type: SWALLOW;
37596          scale: 1;
37597          clip_to: "title_clip";
37598          description { state: "default" 0.0;
37599             min: 40 40;
37600             max: 40 40;
37601             align: 1 0.5;
37602             rel1.to: "elm.text.title";
37603             rel1.relative: 0 0;
37604             rel1.to: "title_base";
37605             rel2.to: "elm.text.title";
37606             rel2.relative: 0 1;
37607             rel2.to: "title_base";
37608          }
37609       }
37610       part { name: "elm.text.title";
37611          type: TEXT;
37612          scale: 1;
37613          repeat_events: 1;
37614          clip_to: "title_clip";
37615          description { state: "default" 0.0;
37616             text { font: "Sans,Edje-Vera";
37617                size: 10;
37618                min: 0 0;
37619                max: 1 0;
37620                align: 0.5 0.5;
37621             }
37622             color: 0 0 0 255;
37623             align: 0.5 0.5;
37624             rel1.to: "title_base";
37625             rel2.to: "title_base";
37626          }
37627       }
37628       part { name: "elm.text.subtitle";
37629          type: TEXT;
37630          scale: 1;
37631          repeat_events: 1;
37632          clip_to: "title_clip";
37633          description { state: "default" 0.0;
37634             text { font: "Sans,Edje-Vera";
37635                size: 8;
37636                min: 0 0;
37637                max: 1 0;
37638                align: 0.5 1;
37639             }
37640             rel1.to_y: "elm.text.title";
37641             rel1.relative: 0 1;
37642             rel1.to: "title_base";
37643             rel2.to: "title_base";
37644             color: 50 50 50 255;
37645             align: 0.5 0;
37646          }
37647       }
37648       part { name: "shade";
37649          type: IMAGE;
37650          mouse_events: 0;
37651          clip_to: "title_clip";
37652          description {
37653             align: 0.5 1;
37654             rel1.to_y: "elm.text.title";
37655             rel1.relative: 0 1;
37656             rel1.offset: 0 0;
37657             rel1.to: "title_base";
37658             rel2.offset: -1 5;
37659             rel2.to: "title_base";
37660             image.normal: "flip_shad.png";
37661          }
37662       }
37663    }
37664    programs {
37665       program { name: "show";
37666          signal: "elm,state,show";
37667          source: "elm";
37668          action: STATE_SET "show" 0.0;
37669          target: "elm.swallow.content";
37670          transition: DECELERATE 0.5;
37671          after: "show_finished";
37672       }
37673       program { name: "pushed";
37674          signal: "elm,state,pushed";
37675          source: "elm";
37676          action: STATE_SET "pushed" 0.0;
37677          target: "elm.swallow.content";
37678          transition: DECELERATE 0.5;
37679          after: "pushed_finished";
37680       }
37681       program { name: "popped";
37682          signal: "elm,state,popped";
37683          source: "elm";
37684          action: STATE_SET "popped" 0.0;
37685          target: "elm.swallow.content";
37686          transition: DECELERATE 0.5;
37687          after: "popped_finished";
37688       }
37689       program { name: "visible";
37690          signal: "elm,state,visible";
37691          source: "elm";
37692          action: STATE_SET "show" 0.0;
37693          target: "elm.swallow.content";
37694       }
37695       program { name: "title_show";
37696          signal: "elm,state,title,show";
37697          source: "elm";
37698          action: STATE_SET "default" 0.0;
37699          target: "title_clip";
37700       }
37701       program { name: "title_hide";
37702          signal: "elm,state,title,hide";
37703          source: "elm";
37704          action: STATE_SET "hide" 0.0;
37705          target: "title_clip";
37706       }
37707       program {
37708          name: "title_clicked";
37709          signal: "mouse,clicked,1";
37710          source: "base";
37711          action: SIGNAL_EMIT "elm,action,clicked" "elm";
37712       }
37713       program { name: "show_finished";
37714          action: SIGNAL_EMIT "elm,action,show,finished" "";
37715       }
37716       program { name: "pushed_finished";
37717          action: SIGNAL_EMIT "elm,action,pushed,finished" "";
37718       }
37719       program { name: "popped_finished";
37720          action: SIGNAL_EMIT "elm,action,popped,finished" "";
37721       }
37722    }
37723 }
37724